/* Fisio con Te — stile sito */
@font-face { font-family: "Montserrat"; font-weight: 700; font-display: swap; src: url("assets/fonts/montserrat-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 800; font-display: swap; src: url("assets/fonts/montserrat-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Open Sans"; font-weight: 400; font-display: swap; src: url("assets/fonts/open-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Open Sans"; font-weight: 600; font-display: swap; src: url("assets/fonts/open-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Open Sans"; font-weight: 700; font-display: swap; src: url("assets/fonts/open-sans-latin-700-normal.woff2") format("woff2"); }

:root {
  /* Colori del brand */
  --petrol: #076066;
  --terracotta: #D05D36;
  --cream: #F6F2EC;
  --light: #F7F8F9;
  /* Tonalità derivate */
  --petrol-deep: #054a4f;
  --terracotta-dark: #b84c28;
  --ink: #0b2e31;
  --text: #33494b;
  --card: #ECE6DD;
  --line: rgba(7, 96, 102, .16);
  --radius: 22px;
  --max: 1200px;
  --head: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --body: "Open Sans", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; background: var(--cream); color: var(--text); font-family: var(--body); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.container { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }
.section { padding: 110px 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.skip-link { position: fixed; z-index: 9999; left: 16px; top: -80px; background: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 16px; }

/* Tipografia */
h1, h2, h3 { font-family: var(--head); color: var(--petrol); margin: 0; letter-spacing: -.035em; }
h1 { font-weight: 800; font-size: clamp(2.7rem, 6.4vw, 5.6rem); line-height: 1.02; }
h2 { font-weight: 800; font-size: clamp(2.1rem, 4.4vw, 3.8rem); line-height: 1.06; }
h3 { font-weight: 700; font-size: clamp(1.35rem, 2vw, 1.75rem); line-height: 1.15; letter-spacing: -.02em; color: var(--ink); }
.eyebrow { margin: 0 0 18px; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--terracotta-dark); }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.3rem); color: var(--petrol); margin: 26px 0 0; }
.center { text-align: center; }
.center .lead { margin-inline: auto; max-width: 640px; }

/* Header flottante */
.site-header { position: sticky; top: 0; z-index: 100; padding: 14px 12px 0; pointer-events: none; }
.site-header > * { pointer-events: auto; }
.header-inner { display: flex; align-items: center; gap: 28px; height: 72px; padding: 0 12px 0 26px; background: #fff; border-radius: 18px; box-shadow: 0 8px 30px rgba(7, 96, 102, .09); }
.brand { margin-right: auto; }
.brand img { width: 190px; height: auto; }
.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a { font-size: .98rem; color: var(--ink); position: relative; }
.main-nav a[aria-current="page"], .main-nav a:hover { color: var(--petrol); }
.main-nav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--terracotta); border-radius: 2px; }
.social { display: flex; align-items: center; gap: 14px; padding-left: 22px; border-left: 1px solid rgba(11,46,49,.25); }
.social a { display: grid; place-items: center; width: 26px; height: 26px; color: var(--ink); }
.social a:hover { color: var(--terracotta); }
.social svg { width: 20px; height: 20px; }
.menu-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.menu-toggle > span:not(.sr-only) { display: block; width: 24px; height: 2px; margin: 5px 0; background: var(--petrol); transition: transform .25s, opacity .25s; }
.menu-toggle[aria-expanded="true"] > span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] > span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Bottoni */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 14px 28px; border: 2px solid var(--terracotta); border-radius: 14px; background: var(--terracotta); color: #fff; font-weight: 700; line-height: 1.15; cursor: pointer; transition: background .2s, border-color .2s, transform .2s; }
.button:hover, .button:focus-visible { background: var(--terracotta-dark); border-color: var(--terracotta-dark); transform: translateY(-2px); }
.button svg { width: 18px; height: 18px; flex: 0 0 auto; }
.button-small { min-height: 50px; padding: 11px 20px; font-size: .95rem; }
.button-petrol { background: var(--petrol); border-color: var(--petrol); }
.button-petrol:hover, .button-petrol:focus-visible { background: var(--petrol-deep); border-color: var(--petrol-deep); }
.button-ghost { background: transparent; color: var(--petrol); border-color: var(--petrol); }
.button-ghost:hover, .button-ghost:focus-visible { background: var(--petrol); color: #fff; border-color: var(--petrol); }
.button-light { background: #fff; color: var(--petrol); border-color: #fff; }
.button-light:hover, .button-light:focus-visible { background: var(--cream); border-color: var(--cream); }
.button-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.button-outline-light:hover, .button-outline-light:focus-visible { background: #fff; color: var(--petrol); border-color: #fff; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 36px; }
.center .actions { justify-content: center; }
.text-link { font-weight: 700; color: var(--petrol); border-bottom: 2px solid var(--terracotta); padding-bottom: 2px; }

/* Hero home (split con foto) */
.hero-split { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100vh - 20px); margin-top: -86px; background: var(--light); }
.hero-split .hero-copy { display: flex; flex-direction: column; justify-content: center; padding: 150px clamp(24px, 5vw, 80px) 80px max(24px, calc((100vw - var(--max)) / 2)); }
.hero-split .hero-copy p.eyebrow { color: var(--petrol); text-transform: none; letter-spacing: 0; font-size: 1.05rem; font-weight: 600; }
.hero-split h1 { font-size: clamp(2.6rem, 4.7vw, 4.8rem); }
.hero-split .hero-media { position: relative; min-height: 520px; }
.hero-split .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 34px 0 0; padding: 0; list-style: none; font-size: .95rem; font-weight: 600; color: var(--ink); }
.trust li::before { content: "✓"; color: var(--terracotta); font-weight: 800; margin-right: 8px; }

/* Hero centrato (pagine interne) */
.hero-center { padding: 150px 0 110px; margin-top: -86px; text-align: center; }
.hero-center h1 { max-width: 980px; margin-inline: auto; }
.hero-center .lead { max-width: 640px; margin-inline: auto; }

/* Blocchi */
.bg-cream { background: var(--cream); }
.bg-light { background: var(--light); }
.bg-petrol { background: var(--petrol); color: #e3efef; }
.bg-deep { background: var(--petrol-deep); color: #e3efef; }
.bg-petrol h2, .bg-deep h2, .bg-petrol h3, .bg-deep h3 { color: #fff; }
.bg-petrol .eyebrow, .bg-deep .eyebrow { color: #f3b79f; }
.split-head { display: grid; grid-template-columns: 1.1fr .9fr; gap: 70px; align-items: end; margin-bottom: 64px; }
.split-head p { margin: 0; font-size: 1.12rem; color: var(--petrol); }
.bg-petrol .split-head p, .bg-deep .split-head p { color: #d6e7e7; }
.split-head.no-margin { margin-bottom: 0; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { display: flex; flex-direction: column; min-height: 340px; padding: 38px; border-radius: var(--radius); background: var(--card); }
.card h3 { margin-bottom: auto; padding-bottom: 40px; }
.card p { margin: 0; color: var(--text); }
.card .num { font-family: var(--head); font-weight: 800; color: var(--terracotta); font-size: .95rem; margin-bottom: 18px; letter-spacing: .08em; }

/* Percorsi */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; margin-top: 60px; }
.plan { border-radius: var(--radius); background: var(--card); padding: 10px; }
.plan-top { padding: 30px 30px 32px; border-radius: 16px; background: #E3DCD1; }
.plan-top h3 { margin-bottom: 14px; }
.plan-top p { margin: 0; }
.plan-body { padding: 30px; }
.plan-tag { display: inline-block; margin-bottom: 18px; padding: 6px 14px; border-radius: 999px; background: #fff; font-size: .82rem; font-weight: 600; color: var(--petrol); }
.plan-label { font-family: var(--head); font-weight: 800; font-size: clamp(1.7rem, 2.6vw, 2.3rem); line-height: 1.05; color: var(--petrol); letter-spacing: -.03em; margin: 0 0 22px; }
.plan .button { width: 100%; }
.plan ul { list-style: none; margin: 24px 0 0; padding: 22px 0 0; border-top: 1px solid rgba(11,46,49,.25); }
.plan ul::before { content: "Cosa comprende:"; display: block; margin-bottom: 12px; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: #5b6e70; }
.plan li { display: flex; gap: 12px; padding: 5px 0; color: var(--ink); }
.plan li::before { content: "✓"; color: var(--petrol); font-weight: 800; }
.plan.featured { background: var(--petrol); }
.plan.featured .plan-top { background: #0b6d73; }
.plan.featured .plan-top h3, .plan.featured .plan-top p, .plan.featured .plan-label, .plan.featured li { color: #fff; }
.plan.featured li::before { color: #f3b79f; }
.plan.featured ul { border-color: rgba(255,255,255,.3); }
.plan.featured ul::before { color: #cfe3e3; }
.plan.featured .button-ghost { color: #fff; border-color: #fff; }

/* FAQ */
.faq-title { text-align: center; margin-bottom: 64px; }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.accordion { display: grid; gap: 16px; }
.accordion details { border-radius: 18px; background: var(--card); transition: background .2s; }
.bg-petrol .accordion details, .bg-deep .accordion details { background: rgba(255,255,255,.09); }
.accordion summary { position: relative; list-style: none; cursor: pointer; padding: 26px 64px 26px 30px; font-weight: 700; font-size: 1.08rem; color: var(--ink); }
.bg-petrol .accordion summary, .bg-deep .accordion summary { color: #fff; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: ""; position: absolute; right: 30px; top: 50%; width: 9px; height: 9px; margin-top: -7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .2s; }
.accordion details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.accordion details p { margin: 0; padding: 0 30px 28px; }
.bg-petrol .accordion details p, .bg-deep .accordion details p { color: #e3efef; }
.faq-photo { position: sticky; top: 120px; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; }
.faq-photo img { width: 100%; height: 100%; object-fit: cover; }
.faq-photo.landscape { aspect-ratio: 4 / 5; }

/* Recensioni */
.reviews-head { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; margin-bottom: 56px; }
.reviews-head p { margin: 0 0 22px; font-size: 1.1rem; }
.review-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.review { display: flex; flex-direction: column; padding: 38px; border-radius: var(--radius); background: #fff; box-shadow: 0 1px 0 rgba(7,96,102,.06); }
.review .quote { font-family: var(--head); font-size: 3rem; line-height: .6; color: var(--terracotta); height: 26px; }
.review .stars { color: #e0a100; letter-spacing: .15em; margin: 10px 0 8px; }
.review blockquote { margin: 0 0 28px; font-size: 1.08rem; color: var(--ink); }
.reviewer { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.avatar { flex: 0 0 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: var(--petrol); color: #fff; font-family: var(--head); font-weight: 700; font-size: 1.2rem; }
.avatar.t { background: var(--terracotta); }
.reviewer strong { display: block; color: var(--ink); font-weight: 600; }
.reviewer small { color: #5b6e70; }

/* Contatti */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: start; }
.contact-list { display: grid; gap: 16px; margin: 34px 0 0; padding: 0; list-style: none; }
.contact-list a, .contact-list li > span { display: flex; align-items: center; gap: 16px; color: var(--ink); }
.contact-list svg { width: 22px; height: 22px; flex: 0 0 22px; color: var(--petrol); }
.contact-list a:hover { color: var(--terracotta-dark); }
.hours { margin-top: 30px; padding: 24px 28px; border-radius: 18px; background: var(--card); }
.hours strong { display: block; margin-bottom: 8px; font-family: var(--head); color: var(--petrol); }
.hours dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 20px; margin: 0; }
.hours dt { font-weight: 600; color: var(--ink); }
.hours dd { margin: 0; }
.form { display: grid; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: .92rem; color: var(--ink); }
.field input, .field select, .field textarea { width: 100%; min-height: 60px; padding: 14px 18px; border: 1px solid rgba(11,46,49,.55); border-radius: 14px; background: transparent; color: var(--ink); outline: none; transition: border-color .2s, box-shadow .2s; }
.bg-light .field input, .bg-light .field select, .bg-light .field textarea { background: #fff; }
.field textarea { min-height: 170px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--petrol); box-shadow: 0 0 0 4px rgba(7,96,102,.14); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; }
.consent input { margin-top: 5px; accent-color: var(--petrol); width: 18px; height: 18px; flex: 0 0 auto; }
.consent a { color: var(--petrol); text-decoration: underline; }
.form-note { margin: 0; font-size: .86rem; color: #5b6e70; }
.form .button { justify-self: start; }
.map { border-radius: var(--radius); overflow: hidden; min-height: 460px; background: #dfe9e9; }
.map iframe { display: block; width: 100%; height: 100%; min-height: 460px; border: 0; }

/* CTA box */
.cta-box { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding: clamp(40px, 7vw, 100px); border-radius: 28px; background: var(--card); }
.cta-box h2 { font-size: clamp(2rem, 3.8vw, 3.2rem); }
.cta-box p { margin: 22px 0 0; font-size: 1.1rem; color: var(--petrol); }
.cta-box .cta-img { border-radius: 20px; overflow: hidden; aspect-ratio: 1; }
.cta-box .cta-img img { width: 100%; height: 100%; object-fit: cover; }
.cta-box.dark { background: rgba(255,255,255,.07); }
.cta-box.dark h2 { color: #fff; }
.cta-box.dark p { color: #d6e7e7; }
.bg-terracotta { background: var(--terracotta); }
.cta-box.warm { background: rgba(0,0,0,.07); }
.cta-box.warm h2 { color: #fff; }
.cta-box.warm p { color: #fff; }
.final { padding: 120px 0; text-align: center; }
.final h2 { max-width: 820px; margin-inline: auto; }
.final p { max-width: 680px; margin: 26px auto 0; font-size: 1.15rem; color: var(--ink); }

/* Studio: valori */
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.value-list { display: grid; gap: 26px; margin: 40px 0 0; padding: 0; list-style: none; }
.value-list li { display: grid; grid-template-columns: 48px 1fr; gap: 18px; }
.value-list .ic { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: var(--petrol); color: #fff; font-family: var(--head); font-weight: 800; }
.value-list strong { display: block; font-family: var(--head); color: var(--ink); font-size: 1.15rem; margin-bottom: 4px; }
.value-list p { margin: 0; }
.photo-tall { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; }
.photo-tall img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }

/* Footer */
.site-footer { background: var(--petrol); color: #d6e7e7; padding: 80px 0 30px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,.35); }
.footer-top img { width: 190px; height: auto; margin-bottom: 18px; }
.footer-top p { margin: 0; font-size: .95rem; }
.footer-top strong { display: block; margin-bottom: 12px; color: #fff; font-family: var(--head); }
.footer-top nav, .footer-top .col { display: flex; flex-direction: column; gap: 8px; font-size: .95rem; }
.footer-top a:hover { color: #fff; text-decoration: underline; }
.footer-bottom p { margin: 0; }
.footer-bottom { align-items: center; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; padding-top: 26px; font-size: .88rem; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-bottom a { text-decoration: underline; }

/* WhatsApp flottante */
.floating-wa { position: fixed; z-index: 90; right: 20px; bottom: 20px; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 12px 30px rgba(0,0,0,.22); transition: transform .2s; }
.floating-wa:hover { transform: scale(1.06); }
.floating-wa svg { width: 30px; height: 30px; }

/* Legale */
.legal { max-width: 820px; padding: 150px 0 90px; margin-top: -86px; }
.legal h1 { font-size: clamp(2.4rem, 6vw, 4rem); margin-bottom: 28px; }
.legal h2 { font-size: 1.5rem; margin: 40px 0 10px; }
.legal a { color: var(--petrol); text-decoration: underline; }

/* Animazioni */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.visible { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1080px) {
  .social { display: none; }
  .header-cta { display: none; }
  .menu-toggle { display: block; }
  .main-nav { position: fixed; top: 96px; left: 12px; right: 12px; display: grid; gap: 0; padding: 14px 24px 24px; background: #fff; border-radius: 18px; box-shadow: 0 20px 50px rgba(7,96,102,.18); transform: translateY(-12px); opacity: 0; visibility: hidden; transition: all .25s ease; }
  .main-nav.open { transform: none; opacity: 1; visibility: visible; }
  .main-nav a { padding: 13px 0; font-size: 1.1rem; border-bottom: 1px solid var(--line); }
  .main-nav a[aria-current="page"]::after { display: none; }
  .main-nav .nav-cta { display: flex; margin-top: 16px; border: 0; color: #fff; }
}
@media (min-width: 1081px) { .main-nav .nav-cta { display: none; } }
@media (max-width: 900px) {
  .section { padding: 80px 0; }
  .hero-split { grid-template-columns: 1fr; min-height: 0; }
  .hero-split .hero-copy { padding: 140px 24px 56px; }
  .hero-split .hero-media { min-height: 0; aspect-ratio: 4 / 4.2; }
  .split-head, .reviews-head, .faq-grid, .contact-grid, .values, .cta-box { grid-template-columns: 1fr; gap: 28px; }
  .split-head { margin-bottom: 44px; }
  .cards, .plans, .review-grid { grid-template-columns: 1fr; }
  .card { min-height: 0; }
  .card h3 { padding-bottom: 22px; }
  .faq-photo { position: static; aspect-ratio: 4 / 3; order: -1; }
  .faq-title { margin-bottom: 40px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-top > div:first-child { grid-column: 1 / -1; }
  .hero-center { padding: 140px 0 80px; }
  .map, .map iframe { min-height: 340px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .container { width: calc(100% - 32px); }
  .site-header { padding: 8px 8px 0; }
  .header-inner { height: 64px; padding: 0 6px 0 16px; }
  .brand img { width: 150px; }
  .main-nav { top: 80px; left: 8px; right: 8px; }
  .card, .review { padding: 28px; }
  .plan-top, .plan-body { padding: 24px; }
  .accordion summary { padding: 22px 54px 22px 22px; font-size: 1rem; }
  .accordion summary::after { right: 22px; }
  .accordion details p { padding: 0 22px 24px; }
  .actions .button { width: 100%; }
  .form .button { justify-self: stretch; }
  .cta-box { padding: 34px 24px; }
  .footer-top { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

.hero-center .actions { justify-content: center; }
.cta-box.solo { grid-template-columns: 1fr; }
.cta-box.solo > div { max-width: 780px; }
