/* ==========================================================
   Oasi Pilates - EliPilates Studio di Elisa Pagni
   Foglio di stile principale
   ========================================================== */

/* ─── Reset & Base ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --clay:     #b4674c;
  --clay-dk:  #8a4632;
  --clay-lt:  #e9cfc4;
  --cream:    #f7f4ef;
  --warm:     #e8e0d0;
  --text:     #2e2e2e;
  --text-lt:  #666;
  --gold:     #b0894f;
  --white:    #ffffff;
  --radius:   6px;
  --shadow:   0 4px 24px rgba(0,0,0,.08);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--text);
  background: var(--cream);
  font-size: 15px;
  line-height: 1.7;
}

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  letter-spacing: .03em;
}

a { color: inherit; text-decoration: none; }

/* l'attributo hidden deve vincere anche su display:flex delle classi */
[hidden] { display: none !important; }
img { max-width: 100%; display: block; }

/* ─── Navbar ─────────────────────────────────────────── */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 244, 239, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--warm);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: .7rem;
  flex-shrink: 0;
}

.nav-logo img {
  height: 44px;
  width: auto;
  display: block;
}

.nav-logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.45rem;
  letter-spacing: .12em;
  color: var(--clay-dk);
  font-style: italic;
  line-height: 1;
}

.nav-logo-text span { font-style: normal; font-weight: 600; }

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

nav a {
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-lt);
  transition: color .25s;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}

nav a:hover {
  color: var(--clay-dk);
  border-color: var(--clay-dk);
}

/* hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--clay-dk);
  transition: .3s;
}

/* ─── Hero ───────────────────────────────────────────── */
.hero {
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5rem 2rem;
  background: linear-gradient(to bottom, rgba(62,33,24,.55) 0%, rgba(40,21,15,.48) 100%);
  position: relative;
  overflow: hidden;
}

/* blurred background image via pseudo-element */
.hero::before {
  content: '';
  position: absolute;
  inset: -30px;
  background: url('images/hero_back.jpg') center / cover no-repeat;
  filter: blur(6px);
  z-index: -1;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(62,33,24,.55) 0%, rgba(40,21,15,.48) 100%);
  z-index: -1;
  pointer-events: none;
}

.hero-tag {
  font-size: .68rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--clay-lt);
  margin-bottom: 1.2rem;
}

.hero h1 {
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 1.05;
  color: var(--white);
  margin-bottom: .5rem;
  text-shadow: 0 2px 24px rgba(0,0,0,.3);
}

.hero-sub {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: var(--gold);
  margin-bottom: 1.8rem;
  letter-spacing: .06em;
}

.hero-desc {
  max-width: 600px;
  font-size: .9rem;
  color: rgba(255,255,255,.82);
  line-height: 1.85;
  margin-bottom: 2.5rem;
}

.hero .btn {
  border-color: rgba(255,255,255,.75);
  color: var(--white);
}

.hero .btn:hover {
  background: rgba(255,255,255,.15);
  border-color: var(--white);
}

.hero .btn-filled {
  background: var(--clay-dk);
  border-color: var(--clay-dk);
  color: var(--white);
}

.hero .btn-filled:hover {
  background: var(--clay);
  border-color: var(--clay);
}

.btn {
  display: inline-block;
  padding: .8rem 2.2rem;
  border: 1.5px solid var(--clay-dk);
  color: var(--clay-dk);
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: background .25s, color .25s;
  font-family: 'Montserrat', sans-serif;
}

.btn:hover {
  background: var(--clay-dk);
  color: var(--white);
}

.btn-filled {
  background: var(--clay-dk);
  color: var(--white);
}
.btn-filled:hover {
  background: var(--clay);
  border-color: var(--clay);
}

/* ─── Section base ───────────────────────────────────── */
section { padding: 6rem 2rem; }

.section-inner { max-width: 1100px; margin: 0 auto; }

.section-tag {
  font-size: .65rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .8rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--clay-dk);
  margin-bottom: 1.2rem;
}

.divider {
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 2rem;
}

.divider-center { margin: 0 auto 2rem; }

/* ─── About / Intro ──────────────────────────────────── */
#about { background: var(--white); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-text p { color: var(--text-lt); margin-bottom: 1.2rem; }

.about-highlight {
  background: var(--clay-lt);
  border-left: 3px solid var(--clay-dk);
  padding: 1.2rem 1.5rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-style: italic;
  color: var(--clay-dk);
  margin: 1.5rem 0;
}

/* decorative box */
.about-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-box {
  width: 100%;
  aspect-ratio: 4/5;
  max-width: 380px;
  background: linear-gradient(135deg, var(--clay-lt) 0%, var(--warm) 100%);
  border-radius: 120px 24px 120px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.5rem;
  text-align: center;
}

.about-box .big-letter {
  font-family: 'Cormorant Garamond', serif;
  font-size: 6rem;
  line-height: 1;
  color: var(--clay-dk);
  opacity: .25;
  margin-bottom: .5rem;
}

.about-box p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-style: italic;
  color: var(--clay-dk);
  line-height: 1.5;
}

/* ─── Services ───────────────────────────────────────── */
#servizi { background: var(--cream); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.service-card {
  background: var(--white);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow);
  transition: transform .3s, box-shadow .3s;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--clay), var(--gold));
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(0,0,0,.12);
}

.service-icon {
  margin-bottom: 1rem;
  line-height: 0;
}

.service-icon-img {
  width: 34px;
  height: 34px;
}

.service-card h3 {
  font-size: 1rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--clay-dk);
  margin-bottom: .6rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: .8rem;
}

.service-card p {
  font-size: .8rem;
  color: var(--text-lt);
  font-style: italic;
}

/* ─── Obiettivi ──────────────────────────────────────── */
#obiettivi { background: var(--white); }

.obiettivi-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 5rem;
  align-items: center;
}

.obiettivi-text p { color: var(--text-lt); margin-bottom: 1.2rem; }

.stat-row {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.stat-item { text-align: center; }

.stat-item .num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.8rem;
  color: var(--clay-dk);
  line-height: 1;
}

.stat-item .lbl {
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-lt);
  margin-top: .3rem;
}

.features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .9rem;
}

.features-list li {
  display: flex;
  align-items: flex-start;
  gap: .8rem;
  font-size: .88rem;
  color: var(--text-lt);
}

.features-list li::before {
  content: '✦';
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ─── Methods ────────────────────────────────────────── */
#metodi {
  background: linear-gradient(135deg, var(--clay-dk) 0%, #5e2c1e 100%);
  color: var(--white);
}

#metodi .section-tag { color: var(--clay-lt); }
#metodi .section-title { color: var(--white); }
#metodi .divider { background: var(--clay-lt); }

.metodi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 3rem;
}

.metodo-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  backdrop-filter: blur(4px);
}

.metodo-card h3 {
  font-size: 1.7rem;
  color: var(--white);
  margin-bottom: 1rem;
}

.metodo-card p {
  opacity: .8;
  font-size: .88rem;
  line-height: 1.85;
}

.badge {
  display: inline-block;
  background: var(--gold);
  color: var(--white);
  font-size: .65rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .25rem .8rem;
  border-radius: 20px;
  margin-bottom: 1rem;
}

/* ─── Team ───────────────────────────────────────────── */
#team { background: var(--cream); text-align: center; }

.team-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 2rem;
  margin-top: 3rem;
}

.team-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1 1 340px;
  max-width: 380px;
  background: var(--white);
  border-radius: 24px;
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow);
}

.team-card .btn { margin-top: auto; }

.team-avatar {
  width: 120px;
  height: 120px;
  overflow: hidden;
  flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--clay-lt), var(--warm));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.8rem;
  color: var(--clay-dk);
  font-style: italic;
  margin-bottom: 1.5rem;
  border: 3px solid var(--clay-lt);
}

.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  /* la foto e' un piano intero: zoom sul viso per leggere bene nel cerchio */
  transform: scale(2.4);
  transform-origin: 46% 20%;
}

.team-card h3 {
  font-size: 1.8rem;
  color: var(--clay-dk);
  margin-bottom: .3rem;
}

.team-card .role {
  font-size: .7rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}

.team-card .role-logo {
  display: inline-block;
  transition: opacity .2s, transform .2s;
}

.team-card .role-logo:hover,
.team-card .role-logo:focus-visible {
  opacity: .8;
  transform: translateY(-2px);
}

.team-card .role-logo img {
  display: block;
  width: 120px;
  height: auto;
}

.team-card p {
  font-size: .88rem;
  color: var(--text-lt);
  text-align: center;
  line-height: 1.8;
}

/* credenziali / certificazioni */
.team-creds {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .45rem;
  margin-bottom: 1.2rem;
}

.cred {
  font-size: .62rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .3rem .7rem;
  border-radius: 999px;
  border: 1px solid var(--clay-lt);
  color: var(--clay-dk);
  background: rgba(233,207,196,.35);
  white-space: nowrap;
}

.cred-main {
  background: var(--clay-dk);
  border-color: var(--clay-dk);
  color: var(--white);
  font-weight: 600;
}

/* ─── Contact ────────────────────────────────────────── */
#contatti { background: var(--white); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 3rem;
}

.contact-info { display: flex; flex-direction: column; gap: 2rem; }

.contact-block h4 {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-family: 'Montserrat', sans-serif;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--clay-dk);
  margin-bottom: .6rem;
}

.contact-block p, .contact-block a {
  font-size: .9rem;
  color: var(--text-lt);
  display: block;
}

.contact-block a:hover { color: var(--clay-dk); }

/* hours table */
/* contact form */
.contact-form-wrap {
  background: var(--cream);
  border-radius: 20px;
  padding: 2.5rem;
}

.contact-form-wrap h3 {
  font-size: 1.8rem;
  color: var(--clay-dk);
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-lt);
  margin-bottom: .4rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid var(--warm);
  border-radius: var(--radius);
  background: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-size: .88rem;
  color: var(--text);
  outline: none;
  transition: border-color .25s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--clay);
}

.form-group textarea { resize: vertical; min-height: 110px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  margin-bottom: 1.4rem;
}

.form-consent input {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: .2rem;
  accent-color: var(--clay-dk);
  cursor: pointer;
}

.form-consent label {
  font-size: .78rem;
  color: var(--text-lt);
  line-height: 1.6;
  cursor: pointer;
}

.form-consent a { color: var(--clay-dk); text-decoration: underline; }

/* ─── Map placeholder ────────────────────────────────── */
.map-wrap {
  margin-top: 4rem;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.map-wrap iframe {
  width: 100%;
  height: 340px;
  border: none;
  display: block;
}

/* ─── Segnaposto contenuti Google (prima del consenso) ─ */
.consent-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  text-align: center;
  padding: 2rem 1.5rem;
}

.map-wrap .consent-placeholder {
  min-height: 340px;
  background: linear-gradient(135deg, var(--clay-lt) 0%, var(--warm) 100%);
}

.consent-placeholder img { width: 32px; height: 32px; }

.consent-placeholder p {
  max-width: 440px;
  font-size: .88rem;
  color: var(--text-lt);
}

.consent-placeholder a.consent-alt {
  font-size: .8rem;
  color: var(--clay-dk);
  text-decoration: underline;
}

/* ─── Banner cookie ──────────────────────────────────── */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 900; /* sotto la modale privacy (1000), che si apre dal banner */
  max-width: 560px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--warm);
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(0,0,0,.18);
  padding: 1.6rem 1.8rem;
}

.cookie-banner h2 {
  font-size: 1.4rem;
  color: var(--clay-dk);
  margin-bottom: .5rem;
}

.cookie-banner p {
  font-size: .82rem;
  color: var(--text-lt);
  line-height: 1.7;
  margin-bottom: 1.2rem;
}

.cookie-banner p a { color: var(--clay-dk); text-decoration: underline; }

.cookie-actions {
  display: flex;
  justify-content: flex-end;
}

.cookie-actions .btn { cursor: pointer; }

.cookie-close {
  position: absolute;
  top: .8rem; right: 1rem;
  background: none; border: none;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  color: var(--text-lt);
}

.cookie-close:hover { color: var(--clay-dk); }

/* ─── Privacy modal ──────────────────────────────────── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.modal-overlay.active { display: flex; }

.modal-box {
  background: var(--white);
  border-radius: 20px;
  padding: 3rem;
  max-width: 660px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
}

.modal-box h2 {
  font-size: 2rem;
  color: var(--clay-dk);
  margin-bottom: 1.5rem;
}

.modal-box p, .modal-box li {
  font-size: .88rem;
  color: var(--text-lt);
  margin-bottom: .9rem;
  line-height: 1.8;
}

.modal-box ul { padding-left: 1.2rem; margin-bottom: 1rem; }

.modal-close {
  position: absolute;
  top: 1.2rem; right: 1.5rem;
  background: none; border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-lt);
  line-height: 1;
}

.modal-close:hover { color: var(--clay-dk); }

/* ─── Social & App ───────────────────────────────────── */
/* NB: selettori con specificita' alta per battere
   `.contact-block a { display:block }` e `footer a { text-decoration:underline }` */
.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  align-items: center;
}

.social-row a.social-link {
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border: 1px solid var(--clay-lt);
  color: var(--clay-dk);
  background: var(--white);
  text-decoration: none;
  line-height: 0;
  transition: background .25s, color .25s, transform .25s, border-color .25s;
}

.social-row a.social-link svg {
  width: 18px;
  height: 18px;
  display: block;
  fill: currentColor;
}

.social-row a.social-link:hover,
.social-row a.social-link:focus-visible {
  background: var(--clay-dk);
  border-color: var(--clay-dk);
  color: var(--white);
  transform: translateY(-2px);
}

.app-links {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin-top: .6rem;
}

a.app-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  width: auto;
  font-size: .8rem;
  letter-spacing: .04em;
  font-weight: 500;
  color: var(--gold);
  padding: .75rem 1.4rem;
  border-radius: 999px;
  border: 1px solid var(--gold);
  text-decoration: none;
  transition: background .25s, color .25s;
}

a.app-link svg {
  width: 15px;
  height: 15px;
  display: block;
  fill: currentColor;
  flex-shrink: 0;
}

a.app-link:hover,
a.app-link:focus-visible { background: var(--gold); color: var(--white); }

/* varianti footer */
footer .social-row { justify-content: center; margin: 1.2rem 0 .4rem; }

footer .social-row a.social-link {
  background: transparent;
  border-color: rgba(255,255,255,.25);
  color: rgba(255,255,255,.7);
}

footer .social-row a.social-link:hover,
footer .social-row a.social-link:focus-visible {
  background: var(--white);
  border-color: var(--white);
  color: var(--text);
}

/* ─── Footer ─────────────────────────────────────────── */
footer {
  background: var(--text);
  color: rgba(255,255,255,.55);
  text-align: center;
  padding: 2.5rem 2rem;
}

footer .footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-style: italic;
  color: rgba(255,255,255,.8);
  margin-bottom: .6rem;
}

footer p { font-size: .75rem; line-height: 1.8; }

footer a {
  color: rgba(255,255,255,.7);
  text-decoration: underline;
  cursor: pointer;
}

footer a:hover { color: var(--white); }

/* ─── Icone SVG (images/icons/) ───────────────────────── */
/* NB: il colore del tratto e' definito dentro ai file .svg,
   non qui: un <img> non eredita currentColor.               */
.h4-icon {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.check-icon {
  /* il reset globale usa img { display: block }: qui serve in linea col testo */
  display: inline-block;
  width: 14px;
  height: 14px;
  vertical-align: -2px;
  margin-right: .15rem;
}

/* ─── Utility & regole estratte dagli style inline ────── */
.text-center { text-align: center; }

.accent-lt { color: var(--clay-lt); }

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-block {
  width: 100%;
  text-align: center;
  cursor: pointer;
}

/* messaggio di conferma form: mostrato via JS (element.style vince sul foglio) */
#form-success {
  display: none;
  margin-top: 1rem;
  color: var(--clay-dk);
  font-size: .85rem;
  text-align: center;
}

#form-error {
  display: none;
  margin-top: 1rem;
  color: #a12a1f;
  font-size: .85rem;
  text-align: center;
}

/* Campo trappola anti-spam: fuori schermo ma non display:none,
   cosi' i bot che ignorano i campi nascosti lo compilano comunque */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.reviews-error {
  color: var(--text-lt);
  font-size: .88rem;
}

/* fallback quando l'autore non ha foto profilo */
.review-avatar-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  color: var(--clay-dk);
}

.modal-box h3 {
  font-size: 1.2rem;
  color: var(--clay-dk);
  margin: .8rem 0 .4rem;
}

footer p.footer-links { margin-top: .5rem; }

footer p.footer-copy {
  margin-top: .8rem;
  font-size: .7rem;
  opacity: .5;
}

/* ─── Responsive ─────────────────────────────────────── */
@media (max-width: 820px) {
  .about-grid,
  .obiettivi-grid,
  .metodi-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-box { display: none; }

  .form-row { grid-template-columns: 1fr; }

  nav ul { display: none; flex-direction: column; }
  nav ul.open { display: flex; }
  .hamburger { display: flex; }

  .nav-inner { flex-wrap: wrap; height: auto; padding: 1rem 1.5rem; gap: .5rem; }

  .nav-logo img { height: 36px; }
  .nav-logo-text { font-size: 1.25rem; }

  nav { width: 100%; }
  nav ul {
    flex-direction: column;
    padding: .5rem 0 1rem;
    gap: .8rem;
  }
}

@media (max-width: 500px) {
  .services-grid { grid-template-columns: 1fr; }
  .stat-row { justify-content: center; }
  .team-card { padding: 2.5rem 1.5rem; }
  .team-grid { gap: 1.5rem; }
}

/* ─── Scroll Animations ──────────────────────────────── */
[data-animate] {
  opacity: 0;
  transition: opacity .75s cubic-bezier(.22,.61,.36,1), transform .75s cubic-bezier(.22,.61,.36,1);
  will-change: opacity, transform;
}
[data-animate="fade-up"]    { transform: translateY(40px); }
[data-animate="fade-left"]  { transform: translateX(-44px); }
[data-animate="fade-right"] { transform: translateX(44px); }
[data-animate="fade-in"]    { transform: none; }

[data-delay="100"] { transition-delay: .10s; }
[data-delay="150"] { transition-delay: .15s; }
[data-delay="200"] { transition-delay: .20s; }
[data-delay="250"] { transition-delay: .25s; }
[data-delay="300"] { transition-delay: .30s; }
[data-delay="350"] { transition-delay: .35s; }
[data-delay="400"] { transition-delay: .40s; }

[data-animate].visible {
  opacity: 1;
  transform: translate(0, 0);
}

@media (prefers-reduced-motion: reduce) {
  [data-animate] { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ─── Recensioni ─────────────────────────────────────── */
#recensioni { background: var(--cream); }

.reviews-summary {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  margin-bottom: 3rem;
}

.review-overall-score {
  font-family: 'Cormorant Garamond', serif;
  font-size: 5rem;
  line-height: 1;
  color: var(--clay-dk);
}

.reviews-summary .stars {
  font-size: 1.8rem;
  color: var(--gold);
  letter-spacing: .1em;
}

.reviews-summary .count {
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-lt);
}

.reviews-grid {
  display: none;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.review-card {
  background: var(--white);
  border-radius: 16px;
  padding: 1.8rem 1.6rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: .9rem;
  position: relative;
  overflow: hidden;
}

.review-card::before {
  content: '\201C';
  position: absolute;
  top: -.3rem;
  right: 1rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 6rem;
  color: var(--clay-lt);
  line-height: 1;
  pointer-events: none;
}

.review-header {
  display: flex;
  align-items: center;
  gap: .9rem;
}

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--clay-lt);
}

.review-author {
  font-weight: 600;
  font-size: .88rem;
  color: var(--text);
}

.review-date {
  font-size: .75rem;
  color: var(--text-lt);
  margin-top: .1rem;
}

.review-stars-small {
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: .05em;
}

.review-text {
  font-size: .86rem;
  color: var(--text-lt);
  line-height: 1.75;
}

.reviews-loading {
  text-align: center;
  padding: 3rem 0;
}

.spinner {
  width: 38px;
  height: 38px;
  border: 3px solid var(--warm);
  border-top-color: var(--clay-dk);
  border-radius: 50%;
  animation: spin .8s linear infinite;
  margin: 0 auto 1rem;
}

@keyframes spin { to { transform: rotate(360deg); } }

.reviews-loading p {
  font-size: .82rem;
  color: var(--text-lt);
  letter-spacing: .05em;
}

.reviews-cta {
  text-align: center;
  margin-top: 2.5rem;
}
