/* formatdental - sito di presentazione. Un solo foglio di stile, senza dipendenze esterne. */
@font-face { font-family: "Bricolage Grotesque"; src: url("../fonts/bricolage-grotesque-latin-wght-normal.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../fonts/figtree-latin-wght-normal.woff2") format("woff2"); font-weight: 300 900; font-display: swap; }

:root {
  --ink: #13262c;
  --muted: #4f6369;
  --paper: #f6f9f8;
  --card: #ffffff;
  --line: #dbe5e2;
  --teal: #0d4a4a;
  --teal-2: #14605e;
  --mint: #e2f1ec;
  --orange: #e27900;
  --orange-ink: #1c1100;
  --orange-text: #a65200;
  --free: #2b7a4b;
  --plus: #bd3a2c;
  --energy: #1d4ed8;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(19, 38, 44, .06), 0 8px 24px rgba(19, 38, 44, .06);
  --display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --body: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--teal-2); text-underline-offset: 3px; }
a:hover { color: var(--orange-text); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .5em; color: var(--ink); font-weight: 700; }
h1 { font-size: clamp(2.1rem, 4.6vw + .6rem, 3.9rem); font-weight: 800; letter-spacing: -.035em; }
h2 { font-size: clamp(1.6rem, 2.2vw + .8rem, 2.5rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; max-width: 68ch; }
ul { padding-left: 1.2em; }
.wrap { width: min(1180px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.icon { width: 1.5em; height: 1.5em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon.solid { fill: currentColor; stroke: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- pulsanti ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; font: 700 1rem/1 var(--body); padding: .95em 1.4em; border-radius: 999px; border: 2px solid transparent; text-decoration: none; cursor: pointer; transition: transform .12s ease, box-shadow .12s ease, background .12s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--orange); color: var(--orange-ink); box-shadow: 0 6px 18px rgba(226, 121, 0, .28); }
.btn-primary:hover { background: #f08a10; color: var(--orange-ink); }
.btn-ghost { background: transparent; color: var(--teal); border-color: var(--teal); }
.btn-ghost:hover { background: var(--teal); color: #fff; }
.btn-light { background: #fff; color: var(--teal); }
.btn-light:hover { background: var(--mint); color: var(--teal); }
.btn-sm { padding: .7em 1.1em; font-size: .95rem; }

/* ---------- testata ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .bar { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 32px; width: auto; display: block; mix-blend-mode: multiply; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 2px solid var(--line); border-radius: 10px; padding: 8px 10px; color: var(--ink); cursor: pointer; }
#mainnav { display: flex; align-items: center; gap: 4px; flex: 1; }
#mainnav .links { display: flex; gap: 2px; flex: 1; }
#mainnav .links a { text-decoration: none; color: var(--ink); font-weight: 600; padding: .55em .8em; white-space: nowrap; font-size: .97rem; border-radius: 999px; }
#mainnav .links a:hover { background: var(--mint); color: var(--teal); }
#mainnav .links a[aria-current="page"] { background: var(--mint); color: var(--teal); }
.login { position: relative; }
.login summary { list-style: none; cursor: pointer; font-weight: 700; color: var(--teal); padding: .6em 1em; border-radius: 999px; display: inline-flex; align-items: center; gap: .45em; }
.login summary::-webkit-details-marker { display: none; }
.login summary:hover, .login[open] summary { background: var(--mint); }
.login form { position: absolute; right: 0; top: calc(100% + 10px); width: 300px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; display: grid; gap: 12px; }
.login label { font-size: .88rem; font-weight: 600; color: var(--muted); display: grid; gap: 4px; }
.login .forgot { font-size: .88rem; }
.field, .login input[type=text], .login input[type=password] { width: 100%; font: inherit; padding: .7em .85em; border: 1.5px solid #c5d3cf; border-radius: 10px; background: #fff; color: var(--ink); }
.field:focus, .login input:focus { outline: 3px solid rgba(226, 121, 0, .35); border-color: var(--orange); }

/* ---------- sezioni ---------- */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section.tight { padding: clamp(40px, 5vw, 64px) 0; }
.section-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.band-dark { background: var(--teal); color: #e8f3f0; }
.band-dark h2, .band-dark h3 { color: #fff; }
.band-dark a:not(.btn) { color: #ffd39a; }
.band-mint { background: var(--mint); }

/* ---------- home: hero ---------- */
.hero { padding: clamp(40px, 6vw, 88px) 0 clamp(48px, 6vw, 96px); background:
  radial-gradient(900px 420px at 88% -10%, rgba(226, 121, 0, .13), transparent 60%),
  radial-gradient(700px 400px at -10% 110%, rgba(20, 96, 94, .12), transparent 60%), var(--paper); }
.hero .grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero .lead { font-size: 1.2rem; color: var(--muted); max-width: 54ch; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 32px; }
.hero .facts { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; color: var(--ink); font-weight: 600; }
.hero .facts li { display: flex; gap: 10px; align-items: flex-start; }
.hero .facts .icon { color: var(--free); margin-top: 2px; }

/* agenda disegnata in CSS */
.agenda { position: relative; background: #fff; border-radius: 20px; box-shadow: 0 2px 4px rgba(19,38,44,.06), 0 24px 60px rgba(13, 74, 74, .18); border: 1px solid var(--line); padding: 20px 20px 22px; }
.agenda-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.agenda-top strong { font: 700 1.05rem var(--display); }
.agenda-top span { font-size: .85rem; color: var(--muted); }
.agenda-days { display: flex; gap: 6px; margin-bottom: 14px; }
.agenda-days b { flex: 1; text-align: center; padding: 6px 0; border-radius: 10px; background: var(--paper); font-size: .8rem; color: var(--muted); font-weight: 600; }
.agenda-days b.on { background: var(--teal); color: #fff; }
.slots { display: grid; grid-template-columns: 46px 1fr; gap: 0 12px; font-size: .88rem; }
.slots .t { color: var(--muted); padding-top: 2px; border-top: 1px dashed var(--line); height: 54px; }
.slots .s { border-top: 1px dashed var(--line); height: 54px; position: relative; }
.apt { position: absolute; left: 0; right: 0; top: 4px; border-radius: 10px; padding: 7px 10px; font-weight: 600; font-size: .86rem; line-height: 1.25; }
.apt small { display: block; font-weight: 500; opacity: .85; }
.apt.a { background: #d9efe3; color: #174a2e; height: 46px; }
.apt.b { background: #fde6c4; color: #5e3000; height: 100px; }
.apt.c { background: #dbe6fb; color: #17317e; height: 46px; }
.apt.d { background: #f6d9d5; color: #6c1f16; height: 46px; }
.chip { position: absolute; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: 9px 13px; font-size: .85rem; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.chip .icon { width: 1.25em; height: 1.25em; }
.chip.sms { left: -34px; bottom: 18px; color: var(--teal); }
.chip.ok { right: -22px; top: 82px; color: var(--free); }

/* ---------- griglia funzioni ---------- */
.func-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; list-style: none; padding: 0; margin: 0; }
.func-grid a { display: flex; align-items: center; gap: 14px; text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; font-weight: 700; color: var(--ink); height: 100%; transition: border-color .15s, box-shadow .15s; }
.func-grid a:hover { border-color: var(--orange); box-shadow: var(--shadow); color: var(--ink); }
.func-grid .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--mint); color: var(--teal); display: grid; place-items: center; flex: none; }

/* ---------- versioni ---------- */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tier { background: #fff; border: 1px solid var(--line); border-top: 6px solid var(--tc, var(--teal)); border-radius: var(--radius); padding: 26px 24px 28px; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.tier.free { --tc: var(--free); } .tier.plus { --tc: var(--plus); } .tier.energy { --tc: var(--energy); }
.tier h3 { color: var(--tc); font-size: 1.9rem; margin-bottom: .1em; }
.tier .tag { font-weight: 700; margin-bottom: 1em; }
.tier p { color: var(--muted); font-size: 1rem; }
.tier .btn { margin-top: auto; align-self: flex-start; }
.badge { display: inline-flex; align-items: center; font: 800 .8rem/1 var(--display); letter-spacing: .02em; padding: .5em .9em; border-radius: 999px; color: #fff; background: var(--tc, var(--teal)); }
.badge.free { --tc: var(--free); } .badge.plus { --tc: var(--plus); } .badge.energy { --tc: var(--energy); }
.badge.off { background: #e5ecea; color: #8aa0a0; text-decoration: line-through; }

/* ---------- normativa ---------- */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); }
.norm { display: flex; gap: 18px; }
.norm .ico { width: 56px; height: 56px; border-radius: 16px; background: rgba(255, 255, 255, .12); display: grid; place-items: center; flex: none; color: #ffd39a; }
.norm .ico .icon { width: 28px; height: 28px; }

/* ---------- agenda online / supporto ---------- */
.panel { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: clamp(22px, 3vw, 36px); box-shadow: var(--shadow); }
.form-grid { display: grid; gap: 14px; }
.form-grid label { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; }
.support { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.hours { display: grid; gap: 14px; }
.hours .row { display: flex; align-items: center; gap: 14px; font-size: 1.15rem; font-weight: 700; }
.hours .row .icon { color: #ffd39a; width: 1.7em; height: 1.7em; }
.hours .row small { display: block; font: 500 .9rem var(--body); opacity: .8; }

/* ---------- pagine interne ---------- */
.page-head { background: linear-gradient(180deg, var(--mint), var(--paper)); padding: clamp(36px, 5vw, 64px) 0 clamp(28px, 4vw, 44px); border-bottom: 1px solid var(--line); }
.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); }
.page-head .lead { font-size: 1.2rem; color: var(--muted); max-width: 62ch; margin: 0; }
.page-head .title-row { display: flex; align-items: center; gap: 18px; margin-bottom: 14px; }
.page-head .title-row .ico { width: 64px; height: 64px; border-radius: 18px; background: var(--teal); color: #fff; display: grid; place-items: center; flex: none; }
.page-head .title-row .ico .icon { width: 34px; height: 34px; }
.page-head h1 { margin: 0; font-size: clamp(1.9rem, 3.4vw + .5rem, 3rem); }
.with-side { display: grid; grid-template-columns: 1fr 290px; gap: clamp(28px, 4vw, 56px); align-items: start; }
.prose { font-size: 1.08rem; line-height: 1.75; }
.prose h2, .prose h3 { margin-top: 1.4em; }
.prose img { border-radius: 12px; height: auto; }
.prose table { max-width: 100%; }
.prose strong { color: var(--ink); }
.avail { margin-top: 34px; padding: 20px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.avail > span { font-weight: 700; margin-right: 6px; }
.side { position: sticky; top: 90px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; }
.side h2 { font-size: 1rem; padding: 8px 10px 6px; margin: 0; color: var(--muted); font-family: var(--body); font-weight: 700; letter-spacing: 0; }
.side ul { list-style: none; margin: 0; padding: 0; }
.side a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .98rem; }
.side a:hover { background: var(--mint); }
.side a[aria-current="page"] { background: var(--teal); color: #fff; }
.side .icon { width: 1.25em; height: 1.25em; opacity: .9; }

/* ---------- piè di pagina ---------- */
.site-footer { background: #0a2f2f; color: #bcd0cc; padding: clamp(40px, 5vw, 64px) 0 28px; margin-top: 0; font-size: .95rem; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
.site-footer h3 { color: #fff; font-size: 1.05rem; margin-bottom: .7em; font-family: var(--body); letter-spacing: 0; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.site-footer a { color: #d7e6e2; text-decoration: none; }
.site-footer a:hover { color: #ffd39a; text-decoration: underline; }
.site-footer .logo-foot { background: #fff; display: inline-block; padding: 8px 12px; border-radius: 10px; margin-bottom: 14px; }
.site-footer .logo-foot img { height: 26px; display: block; }
.social { display: flex; gap: 10px; margin-top: 14px; }
.social a { width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .1); display: grid; place-items: center; }
.social a:hover { background: var(--orange); color: var(--orange-ink); }
.legal { border-top: 1px solid rgba(255, 255, 255, .14); margin-top: 32px; padding-top: 20px; font-size: .84rem; color: #94afaa; display: grid; gap: 6px; max-width: none; }
.legal p { max-width: 100ch; margin: 0; }

/* ---------- testi liberi / vecchie pagine ---------- */
.legacy { padding: 48px 0 72px; }
.legacy table { border-collapse: collapse; max-width: 100%; }
.legacy td, .legacy th { padding: 6px 8px; vertical-align: top; }
.legacy input[type=text], .legacy input[type=password], .legacy input[type=email], .legacy select, .legacy textarea { font: inherit; padding: .55em .7em; border: 1.5px solid #c5d3cf; border-radius: 10px; max-width: 100%; }
.legacy input[type=submit], .legacy input[type=button] { font: 700 1rem var(--body); padding: .8em 1.4em; border-radius: 999px; border: 0; background: var(--orange); color: var(--orange-ink); cursor: pointer; }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .func-grid { grid-template-columns: repeat(2, 1fr); }
  .tiers { grid-template-columns: 1fr; }
  .with-side { grid-template-columns: 1fr; }
  .side { position: static; order: -1; }
  .side ul { display: flex; flex-wrap: wrap; gap: 4px; }
  .side h2 { width: 100%; }
}
@media (max-width: 860px) {
  .login form { position: static; width: 100%; box-shadow: none; margin-top: 8px; }
  .hero .grid, .two, .support, .site-footer .cols { grid-template-columns: 1fr; }
  .chip.sms { left: 8px; bottom: -18px; }
  .chip.ok { display: none; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .func-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .func-grid a { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; font-size: .95rem; }
  .agenda { padding: 14px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* avviso cookie (inserito da js/cookiechoices.js) */
#cookieChoiceInfo { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 100; max-width: 760px; margin-inline: auto; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 10px 40px rgba(19, 38, 44, .22); padding: 16px 18px; font-size: .95rem; line-height: 1.5; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; }
#cookieChoiceInfo span { flex: 1 1 320px; }
#cookieChoiceInfo a { color: var(--teal-2); }
#cookieChoiceDismiss { margin-left: 0 !important; display: inline-flex; background: var(--orange); color: var(--orange-ink) !important; font-weight: 700; padding: .6em 1.1em; border-radius: 999px; text-decoration: none; }

/* schede caratteristiche (pagina Software gestionale) */
.spec { display: flex; gap: 14px; background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--tc, var(--teal)); border-radius: var(--radius); padding: 18px; height: 100%; }
.spec.free { --tc: var(--free); } .spec.plus { --tc: var(--plus); } .spec.energy { --tc: var(--energy); }
.spec .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--mint); color: var(--tc); display: grid; place-items: center; flex: none; }
.spec h3 { font-size: 1.1rem; margin-bottom: .3em; }
.spec p { font-size: .96rem; color: var(--muted); margin-bottom: .8em; }
.specs > li { display: block; }
@media (max-width: 1020px) { .specs { grid-template-columns: repeat(2, 1fr) !important; } }
@media (max-width: 640px) { .specs { grid-template-columns: 1fr !important; } }

/* chi siamo, contatti */
.stack { display: grid; gap: 16px; }
.prod { display: flex; gap: 14px; text-decoration: none; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.prod:hover { border-color: var(--orange); color: var(--ink); }
.prod .ico { width: 48px; height: 48px; border-radius: 14px; background: var(--teal); color: #fff; display: grid; place-items: center; flex: none; }
.prod h3 { font-size: 1.15rem; margin-bottom: .3em; }
.prod p { font-size: .96rem; color: var(--muted); margin: 0; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .icon { color: var(--teal-2); margin-top: 3px; }
@media (max-width: 1020px) { .with-side[style] { grid-template-columns: 1fr !important; } }

/* modulo di registrazione */
.regwrap { max-width: 860px; }
.regwrap .hint { color: var(--muted); font-size: .92rem; }
.regtable { width: 100%; border-collapse: separate; border-spacing: 0 14px; background: #fff; }
.regtable td { padding: 0 6px; vertical-align: top; }
.regtable td.r { width: 240px; text-align: left; font-weight: 600; padding-top: .7em; }
.regtable td.c { text-align: left; }
.regtable input[type=text], .regtable input[type=password], .regtable select { width: min(100%, 420px); font: inherit; padding: .7em .85em; border: 1.5px solid #c5d3cf; border-radius: 10px; background: #fff; color: var(--ink); height: auto !important; }
.regtable input:focus, .regtable select:focus { outline: 3px solid rgba(226, 121, 0, .35); border-color: var(--orange); }
.regtable input#risultato { width: 90px; }
#inviaReg[disabled] { opacity: .5; cursor: not-allowed; }
.panel-reg { background: #fff; }
.regwrap form { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: clamp(18px, 3vw, 34px); box-shadow: var(--shadow); }
@media (max-width: 700px) { .regtable, .regtable tbody, .regtable tr, .regtable td { display: block; width: 100% !important; } .regtable tr { margin-bottom: 14px; } .regtable td.r { padding-bottom: 4px; } }

/* pagina di accesso all'agenda online */
.agenda-login { background: radial-gradient(800px 400px at 90% -10%, rgba(226,121,0,.12), transparent 60%), var(--paper); }
.login-page { padding: 28px 0 40px; max-width: 980px; }
.login-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; padding: clamp(28px, 6vw, 72px) 0; }
.login-grid h1 { display: flex; align-items: center; gap: 12px; font-size: clamp(2rem, 4vw + .5rem, 3.2rem); }
.login-grid h1 .icon { width: 1.1em; height: 1.1em; color: var(--teal-2); }
.login-grid .lead { font-size: 1.2rem; color: var(--muted); }
.form-error { color: #b3261e; font-weight: 600; margin: 0; }
.agenda-info { max-width: 760px; }
.more { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; margin-top: 18px; }
.more summary { cursor: pointer; font-weight: 700; color: var(--teal); }
.more[open] summary { margin-bottom: 8px; }
.more h2 { font-size: 1.25rem; margin-top: 1.2em; }
.more h3 { font-size: 1.05rem; margin: 1em 0 .3em; font-family: var(--body); }
.login-foot { margin-top: 36px; font-size: .88rem; color: var(--muted); max-width: none; }
@media (max-width: 760px) { .login-grid { grid-template-columns: 1fr; padding: 28px 0; } }

/* mappa del sito */
.map { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.map a { font-weight: 600; }

/* pagine con markup precedente (privacy, recupero password, ecc.): contenitore e tipografia coerenti */
#content, #content_privacy, #contentprod { width: min(960px, 100% - 2 * var(--gutter)); margin: 0 auto; padding: clamp(32px, 5vw, 64px) 0 clamp(48px, 6vw, 88px); }
#content h1, #content h2, #content_privacy h1, #content_privacy h2 { margin-top: 1.2em; }
#content table, #content_privacy table { max-width: 100%; border-collapse: collapse; }
#content td, #content th { padding: 6px 8px; vertical-align: top; }
#content input[type=text], #content input[type=password], #content input[type=email], #content select, #content textarea { font: inherit; padding: .65em .8em; border: 1.5px solid #c5d3cf; border-radius: 10px; max-width: 100%; background: #fff; }
#content input[type=submit], #content input[type=button] { font: 700 1rem var(--body); padding: .8em 1.5em; border-radius: 999px; border: 0; background: var(--orange); color: var(--orange-ink); cursor: pointer; }
#content .c { text-align: center; } #content .r { text-align: right; } #content .l, #content .j { text-align: left; }

/* prezzi, tabella di confronto, faq */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.company { color: #fff; line-height: 1.5; margin-top: 12px; }
.tier .price { color: var(--ink); margin: 0 0 .1em; display: flex; align-items: baseline; flex-wrap: wrap; gap: .4em; }
.tier .price strong { font: 800 2.4rem/1 var(--display); color: var(--ink); }
.tier .price span { font-size: .92rem; color: var(--muted); }
.tier .renew { font-weight: 600; margin-bottom: 1em; }
.ticks { list-style: none; padding: 0; margin: 0 0 1.4em; display: grid; gap: 8px; font-size: .97rem; }
.ticks li { padding-left: 1.6em; position: relative; }
.ticks li::before { content: ""; position: absolute; left: .15em; top: .3em; width: .55em; height: .95em; border: solid var(--tc); border-width: 0 2.5px 2.5px 0; transform: rotate(40deg) scale(.8); }
.fine { font-size: .9rem; color: var(--muted); margin-top: 16px; }
.compare-wrap { position: relative; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.compare { width: 100%; border-collapse: collapse; min-width: 520px; }
.compare th, .compare td { padding: 11px 16px; border-bottom: 1px solid var(--line); text-align: center; }
.compare tbody th { text-align: left; font-weight: 600; }
.compare thead th { position: sticky; top: 0; background: #fff; font: 800 1.05rem var(--display); border-bottom: 2px solid var(--line); }
.compare thead th.free { color: var(--free); } .compare thead th.plus { color: var(--plus); } .compare thead th.energy { color: var(--energy); }
.compare td .icon { width: 22px; height: 22px; stroke-width: 2.6; }
.compare td.free .icon { color: var(--free); } .compare td.plus .icon { color: var(--plus); } .compare td.energy .icon { color: var(--energy); }
.compare tbody tr:hover { background: #f4f8f7; }
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 20px; }
.faq summary { cursor: pointer; font: 700 1.05rem var(--display); padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--teal); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 16px; color: var(--muted); }
.seo-text { max-width: 760px; }
.seo-text h2 { margin-top: 1.4em; }


/* menu a scomparsa sotto i 1200px */
@media (max-width: 1200px) {
  .nav-toggle { display: inline-flex; }
  #mainnav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; background: #fff; border-bottom: 1px solid var(--line); padding: 10px var(--gutter) 20px; box-shadow: var(--shadow); gap: 10px; }
  #mainnav.open { display: flex; }
  #mainnav .links { flex-direction: column; }
  #mainnav .links a { padding: .8em 1em; }
}
/* novità e offerte */
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px 24px; }
.news-card { margin: 0; background: #fff; border: 1px solid var(--line); border-left: 6px solid var(--teal); border-radius: var(--radius); padding: 22px 24px 24px; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.news-card.offerta { border-left-color: var(--orange); }
.news-card h3 { margin: .9em 0 .4em; font-size: 1.25rem; }
.news-card p { color: var(--muted); }
.news-card .btn { margin-top: auto; align-self: flex-start; }
.news-card p:not(.news-meta) { margin: 0 0 1.2em; }
.news-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .88rem; margin: 0; }
.news-tag { font: 800 .78rem/1 var(--display); padding: .45em .8em; border-radius: 999px; background: var(--mint); color: var(--teal); }
.news-card.offerta .news-tag { background: var(--orange); color: var(--orange-ink); }
.news-until { color: var(--orange-text); font-weight: 700; }

/* pagina di dettaglio della notizia */
.news-article, .news-article p, .news-article li, .news-article blockquote, .news-article h2, .news-article h3 { max-width: none; }
.news-article h2 { margin: 1.6em 0 .5em; }
.news-article h3 { margin: 1.3em 0 .4em; }
.news-article ul, .news-article ol { padding-left: 1.3em; }
.news-article li { margin-bottom: .4em; }
.news-article blockquote { margin: 1.4em 0; padding: .4em 0 .4em 1.2em; border-left: 4px solid var(--orange); color: var(--muted); }
.news-intro { font-size: 1.2rem; font-weight: 600; color: var(--ink); }
.news-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2em; }
.news-expired { background: #fdecea; color: #b3261e; padding: .8em 1em; border-radius: 12px; font-weight: 700; }
.news-tag.offerta { background: var(--orange); color: var(--orange-ink); }
.news-figure { margin: 0 0 1.8em; }
.news-figure img { width: 100%; max-height: 480px; object-fit: cover; border-radius: var(--radius); display: block; }
.news-thumb { width: calc(100% + 48px); max-width: none; margin: -22px -24px 18px -24px; height: 180px; object-fit: cover; border-radius: calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0; display: block; }
.ql-align-center { text-align: center; } .ql-align-right { text-align: right; } .ql-align-justify { text-align: justify; }
