/* Christian Famà — osteopata e istruttore di tennis
   Layout: colonna unica larga 1120px, sezioni separate da "righe di campo" sottili,
   elenchi segnati da piccole vertebre (pillole) riprese dal logo. */
:root {
  --petrol: #17494D;
  --petrol-deep: #0F3336;
  --amber: #F2B544;
  --amber-deep: #D9992A;
  --ground: #F3F7F1;
  --paper: #FFFFFF;
  --ink: #12302F;
  --muted: #47605E;
  --line: #CCDAD1;
  --font-display: "Outfit", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-body: "Outfit", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --wrap: 1120px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  font-weight: 400;
}
img, svg { max-width: 100%; }
a { color: var(--petrol); text-underline-offset: 3px; }
a:hover { color: var(--petrol-deep); }
:focus-visible { outline: 3px solid var(--amber-deep); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.1; margin: 0; text-wrap: balance; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 600; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.eyebrow { font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600; color: var(--petrol); }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 60ch; }
.stack { display: flex; flex-direction: column; gap: 20px; }

/* Header */
.site-header { background: var(--ground); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 12px; padding-bottom: 12px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--petrol); }
.brand svg { width: 46px; height: 46px; flex: none; }
.brand-name { font-weight: 700; font-size: 1.25rem; line-height: 1.05; letter-spacing: -0.01em; }
.brand-sub { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 500; }
.nav { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.nav a { text-decoration: none; font-weight: 500; font-size: 1rem; color: var(--ink); }
.nav a:hover { color: var(--petrol); text-decoration: underline; }
.nav-toggle { display: none; background: none; border: 1px solid var(--petrol); color: var(--petrol); border-radius: 8px; padding: 10px 14px; font: inherit; font-weight: 600; cursor: pointer; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 24px; border-radius: 999px; font: inherit; font-weight: 600; text-decoration: none; border: 2px solid transparent; cursor: pointer; }
.btn-primary, .nav a.btn-primary { background: var(--amber); color: var(--petrol-deep); }
.btn-primary:hover, .nav a.btn-primary:hover { background: var(--amber-deep); color: var(--petrol-deep); text-decoration: none; }
.btn-ghost { border-color: var(--petrol); color: var(--petrol); background: transparent; }
.btn-ghost:hover { background: var(--petrol); color: var(--ground); }
.on-dark .btn-ghost { border-color: var(--ground); color: var(--ground); }
.on-dark .btn-ghost:hover { background: var(--ground); color: var(--petrol-deep); }

/* Sections */
section { padding: 80px 0; }
.court-line { border: 0; border-top: 2px solid var(--line); margin: 0; }
.section-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 40px; }

/* Hero */
.hero { padding: 64px 0 80px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 48px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 24px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-facts { display: flex; gap: 28px; flex-wrap: wrap; padding-top: 20px; border-top: 2px solid var(--line); font-size: 0.98rem; color: var(--muted); }
.hero-facts strong { display: block; color: var(--petrol); font-size: 1.15rem; }
.photo { background: var(--petrol); color: var(--ground); border-radius: 28px 28px 28px 120px; min-height: 420px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 32px; text-align: center; font-size: 0.95rem; }
.photo svg { width: 200px; height: 200px; }
.photo.small { min-height: 300px; border-radius: 24px; }

/* Pills list (vertebrae) */
.pills { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.pills li { position: relative; padding-left: 38px; }
.pills li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 24px; height: 8px; border-radius: 4px; background: var(--amber); }

/* Cards */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.card .price { font-size: 1.05rem; color: var(--muted); }
.card .price strong { font-size: 1.7rem; color: var(--petrol); font-variant-numeric: tabular-nums; }
.card .btn { align-self: flex-start; margin-top: auto; }
.step-num { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.12em; color: var(--petrol); border: 2px solid var(--petrol); border-radius: 999px; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.chips li { background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: 0.98rem; }
.note { font-size: 0.95rem; color: var(--muted); max-width: 70ch; }

/* Dark band */
.on-dark { background: var(--petrol); color: var(--ground); }
.on-dark .eyebrow { color: var(--amber); }
.on-dark .lead, .on-dark .note { color: #D6E4DC; }
.on-dark a { color: var(--ground); }
.on-dark .card { background: var(--petrol-deep); border-color: #2C6166; color: var(--ground); }
.on-dark .card .price, .on-dark .card p { color: #D6E4DC; }
.on-dark .card .price strong { color: var(--amber); }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; align-items: center; }

/* Booking */
.booking { background: var(--paper); border: 1px solid var(--line); border-radius: 24px; padding: 32px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 24px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 0.95rem; }
.field input, .field select, .field textarea { font: inherit; color: var(--ink); background: var(--ground); border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; min-height: 48px; width: 100%; }
.field textarea { min-height: 96px; resize: vertical; }
.booking-actions { grid-column: 1 / -1; display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.form-msg { grid-column: 1 / -1; font-size: 0.95rem; color: var(--petrol); font-weight: 500; min-height: 1.4em; }
.calendar-embed { grid-column: 1 / -1; border: 0; width: 100%; height: 720px; border-radius: 16px; background: var(--ground); }

/* Reviews */
.rating { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.rating .score { font-size: 3.4rem; font-weight: 700; color: var(--amber); line-height: 1; font-variant-numeric: tabular-nums; }

/* Blog */
.post-card { text-decoration: none; color: inherit; }
.post-card:hover h3 { text-decoration: underline; }
.post-meta { font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.article { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 22px; }
.article h1 { font-size: clamp(2rem, 5vw, 3rem); }
.article h2 { font-size: 1.6rem; margin-top: 16px; }
.article ol { padding-left: 22px; display: flex; flex-direction: column; gap: 10px; font-size: 0.95rem; }
.draft { background: var(--amber); color: var(--petrol-deep); font-weight: 600; padding: 10px 16px; border-radius: 12px; font-size: 0.95rem; }

/* FAQ */
details { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 18px 22px; }
summary { font-weight: 600; cursor: pointer; }
details p { margin-top: 10px; color: var(--muted); }

/* Footer */
.site-footer { background: var(--petrol-deep); color: #D6E4DC; padding: 48px 0; font-size: 0.95rem; }
.site-footer a { color: var(--ground); }
.footer-grid { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer-grid > div { display: flex; flex-direction: column; gap: 8px; }

@media (max-width: 900px) {
  .hero-grid, .split, .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-grid, .split { grid-template-columns: minmax(0, 1fr); }
  .photo { min-height: 280px; }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  section { padding: 56px 0; }
  .grid-2, .grid-3, .grid-4, .booking { grid-template-columns: minmax(0, 1fr); }
  .nav-toggle { display: inline-flex; }
  .nav { display: none; width: 100%; flex-direction: column; align-items: flex-start; gap: 14px; padding: 8px 0 12px; }
  .nav.open { display: flex; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
[hidden] { display: none !important; }
.hours { list-style: none; margin: 0; padding: 12px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; font-size: 0.95rem; font-variant-numeric: tabular-nums; }
.hours li { display: flex; justify-content: space-between; gap: 12px; }
.hours li span:first-child { font-weight: 600; }
.cal-wrap { display: flex; flex-direction: column; gap: 18px; margin-bottom: 28px; }
.cal-wrap .calendar-embed { background: var(--paper); height: 680px; }
.on-dark a.btn-primary, .on-dark a.btn-primary:hover { color: var(--petrol-deep); }
