/* Pagine e blocchi aggiunti per la SEO (piano del 30 nov 2026): pagine dei trattamenti, contatti, guide per i pazienti
   e i blocchi «Cosa curiamo» e «Per approfondire» nelle pagine del prototipo. Stessi colori e caratteri del sito:
   --ink #102d4d, --muted #536d83, --line #d6e2ed, --blue #e7f0f7, --heading Sora, --body Source Sans 3. */

/* hero delle pagine nuove: titolo piu' lungo di quello dei trattamenti, pulsanti chiari sul fondo blu */
.seo-page .services-hero h1 { font-size: clamp(32px, 3.4vw, 48px); line-height: 1.12; margin: 14px 0 18px; }
.seo-page .services-hero-copy > p:not(.eyebrow) { color: #dfeaf3; max-width: 34em; }
.seo-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.seo-hero-actions .button { background: #fff; color: var(--ink); border-color: #fff; }
.seo-hero-actions .button.seo-button-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.seo-hero-actions .button:hover, .seo-hero-actions .button:focus-visible { background: #e7f0f7; color: var(--ink); }
.seo-hero-actions .button.seo-button-ghost:hover, .seo-hero-actions .button.seo-button-ghost:focus-visible { background: rgba(255, 255, 255, .12); color: #fff; }
.services-hero.seo-hero-testo { grid-template-columns: minmax(0, 1fr); }
.services-hero.seo-hero-testo .services-hero-copy { max-width: 900px; }
.seo-page .services-hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.seo-page .services-index a { font-size: .9375rem; }

/* corpo del testo */
.seo-layout { display: grid; grid-template-columns: minmax(0, 1fr); margin-top: clamp(30px, 4vw, 54px); }
.seo-body { max-width: 760px; }
.seo-body h2 { font-size: clamp(25px, 2.3vw, 32px); line-height: 1.2; margin: clamp(38px, 4vw, 56px) 0 14px; scroll-margin-top: calc(var(--header) + 20px); }
.seo-body h3 { font-family: var(--heading); font-size: 1.0625rem; margin: 22px 0 10px; }
.seo-body p { margin: 0 0 14px; color: var(--ink); }
.seo-body a, .seo-text-link, .seo-band a:not(.button), .seo-box a { color: var(--ink); text-decoration: underline; text-decoration-color: #7faac6; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.seo-body a:hover, .seo-text-link:hover, .seo-band a:not(.button):hover, .seo-box a:hover { text-decoration-color: var(--ink); }
.seo-lead { font-size: 1.1875rem; line-height: 1.6; }
.seo-list { margin: 0 0 16px; padding: 0; list-style: none; }
.seo-list li { position: relative; padding-left: 26px; margin-bottom: 9px; }
.seo-list li::before { content: ""; position: absolute; left: 4px; top: .72em; width: 9px; height: 9px; border-radius: 50%; background: #7faac6; }
.seo-meta { color: var(--muted); font-size: .9375rem; margin: 0 0 22px; }
.seo-text-link { display: inline-block; margin-top: 14px; font-weight: 600; min-height: 44px; line-height: 44px; }

/* riquadri: in breve, servizio collegato, avvertenze */
.seo-box { margin: 26px 0; padding: clamp(18px, 2.4vw, 26px); background: #eaf3f9; border: 1px solid #c7dce9; border-radius: 12px; }
.seo-box h2, .seo-box h3 { margin-top: 0; font-size: 1.1875rem; }
.seo-box p:last-child, .seo-box ul:last-child { margin-bottom: 0; }
.seo-nota { font-size: .9375rem; color: var(--muted); }
.seo-fonti { font-size: .9375rem; color: var(--muted); }
.seo-fonti li { margin-bottom: 6px; }
.seo-marchio { font-size: .8125rem; color: var(--muted); margin: 18px 0 0; }

/* schemi (impianto, ponte, protesi) */
.seo-figure-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 18px 0 22px; align-items: start; }
.seo-figure-row figure { margin: 0; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.seo-figure-row img { display: block; width: 100%; height: auto; }
.seo-figure-row figcaption { font-size: .875rem; color: var(--muted); margin-top: 8px; }

/* schede di collegamento (guide, trattamenti, percorsi) */
.seo-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); margin-top: 22px; }
.seo-card { position: relative; display: flex; flex-direction: column; gap: 8px; padding: clamp(17px, 2vw, 24px); background: #fff; border: 1px solid #cbdfe9; border-top: 3px solid #7faac6; border-radius: 10px; }
.seo-card h3 { font-family: var(--heading); font-size: 1.125rem; line-height: 1.3; margin: 0; }
.seo-card h3 a { color: var(--ink); text-decoration: none; }
.seo-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: 10px; }
.seo-card h3 a:focus-visible { outline: none; }
.seo-card:focus-within { outline: 3px solid #7faac6; outline-offset: 2px; }
.seo-card:hover { border-color: #7faac6; }
.seo-card p { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.55; }
.seo-card .seo-card-kicker { font-size: 11px; font-weight: 600; letter-spacing: .075em; text-transform: uppercase; color: #45647d; }

/* fasce aggiunte nelle pagine del prototipo e nelle pagine nuove */
.seo-band { padding-block: clamp(46px, 6vw, 84px); color: var(--ink); }
.seo-band .eyebrow { color: #45647d; }
.seo-band--paper { background: #fff; border-block: 1px solid var(--line); }
.seo-band h2 { margin: 8px 0 10px; }
.seo-band .seo-band-intro { max-width: 46em; color: var(--muted); margin: 0; }
.seo-band .seo-body h2:first-child { margin-top: 0; }
.seo-band-actions { display: flex; flex-wrap: wrap; gap: 12px 22px; align-items: center; margin-top: 24px; }
.seo-group { margin-top: clamp(34px, 4vw, 52px); scroll-margin-top: calc(var(--header) + 20px); }
.seo-group h2 { font-size: clamp(25px, 2.3vw, 32px); margin: 0; }

/* trattamenti: link alla pagina di ogni scheda */
.service-card-more { display: inline-flex; align-items: center; min-height: 44px; margin: 2px 0 10px; font-weight: 600; color: var(--ink); text-decoration: underline; text-decoration-color: #7faac6; text-underline-offset: 3px; }

/* contatti */
.seo-nap { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 22px 0; }
.seo-nap > div { padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.seo-nap h3 { margin: 0 0 6px; font-size: 1rem; }
.seo-nap p, .seo-nap address { margin: 0; font-style: normal; }
.seo-nap a { display: inline-block; min-height: 44px; line-height: 44px; }

@media (max-width: 900px) {
  .seo-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .seo-page .services-hero { grid-template-columns: minmax(0, 1fr); }
  .seo-page .services-hero-photo { min-height: 240px; }
  .seo-cards, .seo-nap { grid-template-columns: minmax(0, 1fr); }
  .seo-figure-row { grid-template-columns: minmax(0, 1fr); }
}
