/* =====================================================================
   STUDIO ODONTOIATRICO DOTT. OSCAR BRASIELLO — Design System
   Elegant · Professional · Refined Glassmorphism
   Typography: Poppins (UI/display) + Sacramento (wordmark)
   ===================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Sacramento&display=swap');

/* ---------- Design Tokens ---------- */
:root {
  /* Brand palette — warm taupe/sand + muted slate-blue (studio's real identity) */
  --char-950: #20262c;
  --char-900: #262e36;
  --char-800: #333d48;
  --char-700: #3f4a56;
  --accent:   #516e8c;   /* muted slate-blue — the single accent */
  --accent-strong: #3e576f;
  --accent-soft: #7d96ad;
  --accent-tint: #e8e6de; /* soft warm tint for small highlights */

  /* Aliases kept for inline references in markup */
  --teal-700: #3e576f;
  --teal-600: #516e8c;
  --teal-500: #516e8c;
  --teal-400: #7d96ad;
  --cyan-400: #95a9bb;
  --mint-200: #cdbfa8;   /* warm sand — tagline on dark surfaces */
  --navy-950: #20262c; --navy-900: #262e36; --navy-800: #333d48; --navy-700: #3f4a56; --navy-600: #516e8c;
  --accent-2: #7d96ad; --accent-3: #a9bccc;
  --gold: #516e8c;
  --gold-2: #7d96ad;
  --gold-soft: #e8e6de;

  /* Neutrals — warm taupe / sand */
  --ink: #3f4a55;
  --ink-soft: #5b6671;
  --muted: #9a9384;
  --line: #e6ddce;
  --line-soft: #efe9dd;
  --bg: #f5f0e8;
  --bg-2: #fcfaf5;
  --white: #ffffff;

  /* Glass — warm frosted cream */
  --glass-bg: rgba(255, 254, 251, 0.72);
  --glass-bg-strong: rgba(252, 250, 246, 0.85);
  --glass-border: rgba(255, 255, 255, 0.72);
  --glass-border-dark: rgba(255, 255, 255, 0.10);
  --glass-bg-dark: rgba(255, 255, 255, 0.05);

  /* Shadows — soft, warm-tinted */
  --shadow-sm: 0 4px 14px -8px rgba(70, 64, 54, 0.20);
  --shadow-md: 0 14px 32px -22px rgba(70, 64, 54, 0.28);
  --shadow-lg: 0 30px 60px -34px rgba(70, 64, 54, 0.34);
  --shadow-glass: 0 18px 42px -30px rgba(70, 64, 54, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.7);
  --shadow-glow: 0 14px 32px -18px rgba(81, 110, 140, 0.40);

  /* Gradients */
  --grad-brand: linear-gradient(135deg, #516e8c 0%, #44607d 100%);
  --grad-brand-soft: linear-gradient(135deg, rgba(81,110,140,.10), rgba(81,110,140,.04));
  --grad-dark: linear-gradient(155deg, #262e36 0%, #333d48 60%, #3c4753 100%);
  --grad-text: linear-gradient(100deg, #3e576f 0%, #516e8c 100%);
  --grad-gold: linear-gradient(135deg, #5d7a96, #516e8c);

  /* Radii — refined */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 18px;
  --r-xl: 24px;
  --r-pill: 999px;

  --container: 1180px;
  --nav-h: 84px;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-bounce: cubic-bezier(.34, 1.4, .64, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.72;
  font-size: 16px;
  font-weight: 400;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

::selection { background: var(--accent); color: #fff; }

::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--navy-700); border-radius: 99px; border: 3px solid var(--bg); }

/* ---------- Ambient background (subtle) ---------- */
.bg-canvas {
  position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(1100px 640px at 82% -8%, rgba(81,110,140,.06), transparent 60%),
    radial-gradient(820px 560px at -8% 18%, rgba(176,162,136,.10), transparent 55%),
    linear-gradient(180deg, var(--bg-2), var(--bg));
}
.blob {
  position: fixed; border-radius: 50%; filter: blur(90px);
  opacity: .12; z-index: -1; pointer-events: none;
  animation: float 26s ease-in-out infinite;
}
.blob.b1 { width: 460px; height: 460px; background: radial-gradient(circle, #516e8c, transparent 70%); top: -130px; right: -90px; }
.blob.b2 { width: 540px; height: 540px; background: radial-gradient(circle, #93a7bc, transparent 70%); bottom: -180px; left: -130px; animation-delay: -9s; }
.blob.b3 { width: 360px; height: 360px; background: radial-gradient(circle, #c9bca6, transparent 70%); top: 46%; left: 56%; animation-delay: -16s; opacity: .07; }

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(28px, -22px) scale(1.05); }
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 26px; }
.section { padding: clamp(86px, 10.5vw, 162px) 0; position: relative; }
.section--tight { padding: clamp(60px, 7vw, 104px) 0; }

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: 'Poppins', sans-serif;
  font-size: .72rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 26px;
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--accent); display: inline-block; }
.section-head.center .eyebrow { gap: 16px; }
.section-head.center .eyebrow::after { content: ''; width: 28px; height: 1px; background: var(--accent); display: inline-block; }

/* ---------- Typography ---------- */
h1, h2, h3, .display {
  font-family: 'Poppins', sans-serif;
  font-weight: 700; line-height: 1.14; letter-spacing: -.018em; color: var(--ink);
}
h4, h5 { font-family: 'Poppins', sans-serif; }

.section-title { font-size: clamp(2.1rem, 4.4vw, 3.45rem); font-weight: 600; margin-bottom: 20px; letter-spacing: -.03em; line-height: 1.12; }
.section-title .accent { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section-lead { font-size: 1.13rem; color: var(--ink-soft); max-width: 60ch; font-weight: 400; line-height: 1.78; }
.section-head { max-width: 740px; margin-bottom: 66px; }
.section-head.center { margin-inline: auto; text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px; border-radius: var(--r-sm);
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: .9rem; letter-spacing: .03em;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .35s, color .35s, border-color .35s;
  position: relative; overflow: hidden; white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; }
.btn-primary { color: #fff; background: var(--grad-brand); box-shadow: var(--shadow-glow); }
.btn-primary::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.22), transparent);
  transform: translateX(-130%); transition: transform .7s var(--ease);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 24px 46px -18px rgba(31,48,82,.65); }
.btn-primary:hover::after { transform: translateX(130%); }

.btn-ghost {
  color: var(--navy-800); background: rgba(255,255,255,.6);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { transform: translateY(-3px); background: #fff; border-color: var(--accent-3); box-shadow: var(--shadow-md); }

.btn-light { background: rgba(255,255,255,.10); color: #fff; border: 1px solid rgba(255,255,255,.30); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn-light:hover { background: rgba(255,255,255,.20); transform: translateY(-3px); border-color: rgba(255,255,255,.5); }

/* ---------- Glass surfaces ---------- */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(135%); -webkit-backdrop-filter: blur(20px) saturate(135%);
  border: 1px solid var(--glass-border); border-radius: 0; box-shadow: var(--shadow-glass);
}
.glass-card {
  position: relative; background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(135%); -webkit-backdrop-filter: blur(20px) saturate(135%);
  border: 1px solid var(--glass-border); border-radius: 0; box-shadow: var(--shadow-glass);
  padding: 42px 34px;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s;
  overflow: hidden;
}
.glass-card::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background:
    radial-gradient(440px circle at var(--mx, 50%) var(--my, -30%), rgba(81,110,140,.13), transparent 55%),
    linear-gradient(145deg, rgba(255,255,255,.45), transparent 42%);
  opacity: .85; transition: opacity .4s var(--ease);
}
.glass-card::after {
  content: ''; position: absolute; left: 0; top: 0; height: 3px; width: 0;
  background: var(--grad-gold); transition: width .55s var(--ease); border-radius: 3px 3px 0 0;
}
.glass-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: rgba(132,160,198,.45); }
.glass-card:hover::after { width: 100%; }

/* ---------- Navbar ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--nav-h);
  display: flex; align-items: center;
  transition: background .45s var(--ease), box-shadow .45s, height .45s, border-color .45s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  height: 70px; background: rgba(248, 250, 252, 0.80);
  backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%);
  border-bottom: 1px solid var(--line); box-shadow: 0 8px 26px -22px rgba(24,37,60,.5);
}
.nav .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; gap: 14px; }
.brand-mark {
  display: flex; align-items: center; flex: 0 0 auto; padding: 0 2px;
  font-family: 'Sacramento', cursive; font-size: 2.7rem; line-height: .7; color: var(--accent);
}
.brand-mark b { font-family: 'Sacramento', cursive; font-weight: 400; font-size: inherit; letter-spacing: 0; color: inherit; }
.footer .brand-mark { color: var(--mint-200); }
.brand-text { line-height: 1.1; }
.brand-text b { font-family: 'Poppins', sans-serif; font-size: 1.04rem; font-weight: 700; letter-spacing: .01em; display: block; color: var(--ink); }
.brand-text span { font-size: .64rem; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); font-weight: 600; font-family: 'Poppins', sans-serif; }

.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  font-family: 'Poppins', sans-serif; font-weight: 500; font-size: .86rem; letter-spacing: .02em;
  color: var(--ink-soft); padding: 10px 16px; border-radius: var(--r-sm); position: relative;
  transition: color .3s;
}
.nav-links a:hover { color: var(--navy-800); }
.nav-links a.active { color: var(--navy-800); }
.nav-links a.active::after {
  content: ''; position: absolute; left: 16px; right: 16px; bottom: 3px; height: 1.5px;
  background: var(--gold); border-radius: 2px;
}
.nav-cta { display: flex; align-items: center; gap: 16px; }
.nav-phone { display: inline-flex; align-items: center; gap: 8px; font-family: 'Poppins', sans-serif; font-weight: 600; color: var(--navy-800); font-size: .88rem; }
.nav-phone svg { width: 17px; height: 17px; color: var(--gold); }

.burger { display: none; width: 46px; height: 46px; border-radius: 11px; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--navy-800); border-radius: 2px; transition: .35s var(--ease); }
.burger span:nth-child(1) { top: 16px; } .burger span:nth-child(2) { top: 22px; } .burger span:nth-child(3) { top: 28px; }
.burger.open span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* ---------- Hero (full-bleed studio photo + Ken Burns) ---------- */
.hero {
  position: relative; min-height: 92vh; display: flex; align-items: center;
  padding-top: calc(var(--nav-h) + 50px); padding-bottom: 96px; overflow: hidden;
  background-color: var(--char-900);
}
.hero::before {
  content: ''; position: absolute; inset: -3%; z-index: 0;
  background: url('../img/studio-riunito.jpg') center 30% / cover no-repeat;
  animation: kenburns 28s ease-in-out infinite alternate;
}
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(14,18,23,.55), transparent 16%),
    linear-gradient(105deg, rgba(14,18,23,.93) 0%, rgba(14,18,23,.84) 42%, rgba(16,21,27,.74) 100%),
    linear-gradient(to bottom, transparent 80%, var(--bg) 100%);
}
@keyframes kenburns { 0% { transform: scale(1.05) translate(0, 0); } 100% { transform: scale(1.16) translate(-1.6%, -1.2%); } }
.hero-inner { max-width: 660px; position: relative; z-index: 2; }
.hero .eyebrow { color: #a7bdd2; }
.hero .eyebrow::before { background: #a7bdd2; }
.hero h1 { font-size: clamp(2.7rem, 5.6vw, 4.6rem); font-weight: 600; color: #fff; margin-bottom: 26px; letter-spacing: -.032em; line-height: 1.08; }
.hero h1 .accent { background: none; -webkit-background-clip: initial; background-clip: initial; -webkit-text-fill-color: #93b4d2; color: #93b4d2; }
.hero-lead { font-size: 1.16rem; color: rgba(255,255,255,.84); max-width: 54ch; margin-bottom: 38px; font-weight: 400; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-scroll {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 2;
  display: grid; place-items: center; gap: 8px; color: rgba(255,255,255,.6);
  font-family: 'Poppins', sans-serif; font-size: .62rem; letter-spacing: .26em; text-transform: uppercase;
}
.hero-scroll svg { width: 22px; height: 22px; animation: bob 2.2s ease-in-out infinite; }

@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(7px); } }

/* ---------- Trust strip ---------- */
.trust-strip { padding: 30px 0; border-block: 1px solid var(--line); background: rgba(255,255,255,.45); backdrop-filter: blur(6px); }
.trust-strip .row { display: flex; align-items: center; justify-content: space-around; gap: 28px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 11px; color: var(--navy-800); font-family: 'Poppins', sans-serif; font-weight: 500; font-size: .86rem; letter-spacing: .01em; }
.trust-item svg { width: 21px; height: 21px; color: var(--gold); flex: 0 0 auto; }

/* ---------- Grids ---------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Feature / treatment card ---------- */
.feature-ico {
  width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center;
  background: var(--grad-brand-soft); color: var(--accent); margin-bottom: 22px;
  border: 1px solid rgba(81,110,140,.18); position: relative; overflow: hidden;
  transition: transform .5s var(--ease-bounce), background .4s, color .4s, box-shadow .4s, border-color .4s;
}
.feature-ico svg { width: 30px; height: 30px; }
.feature-ico svg > * { stroke-width: 1.6; }
.feature-ico::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 38%, rgba(255,255,255,.5), transparent 62%);
  transform: translateX(-140%); transition: transform .75s var(--ease);
}
.glass-card:hover .feature-ico {
  background: var(--grad-brand); color: #fff; border-color: transparent;
  transform: scale(1.08) translateY(-2px); box-shadow: 0 12px 24px -10px rgba(81,110,140,.5);
}
.glass-card:hover .feature-ico::after { transform: translateX(140%); }
/* keep text crisp above the subtle card spotlight */
.glass-card h3, .glass-card p, .glass-card .card-link { position: relative; z-index: 1; }
.glass-card h3 { font-size: 1.22rem; font-weight: 700; margin-bottom: 11px; letter-spacing: -.01em; }
.glass-card p { color: var(--ink-soft); font-size: .96rem; }
.card-link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 20px;
  font-family: 'Poppins', sans-serif; font-weight: 600; color: var(--navy-700); font-size: .82rem; letter-spacing: .04em; text-transform: uppercase;
}
.card-link svg { width: 15px; height: 15px; transition: transform .3s; }
.glass-card:hover .card-link { color: var(--gold); }
.glass-card:hover .card-link svg { transform: translateX(5px); }
.card-tag {
  position: absolute; top: 22px; right: 22px; font-family: 'Poppins', sans-serif;
  font-size: .62rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent); background: var(--accent-tint); padding: 5px 11px; border-radius: 99px; border: 1px solid rgba(81,110,140,.20);
}

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 880px; margin-inline: auto; }
.stat { text-align: center; padding: 36px 18px; }
.stat .num { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: clamp(2.3rem, 5vw, 3.2rem); line-height: 1; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat .lab { color: var(--ink-soft); font-weight: 500; margin-top: 12px; font-size: .9rem; letter-spacing: .02em; }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.rev .split-media { order: 2; }
.split-media { position: relative; }
.split-media .photo { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--glass-border); aspect-ratio: 5/4; background: var(--grad-dark); }
.split-media .photo img { width: 100%; height: 100%; object-fit: cover; }
.checklist { display: grid; gap: 15px; margin: 28px 0 34px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; color: var(--ink-soft); }
.checklist .ck { width: 25px; height: 25px; border-radius: 7px; flex: 0 0 auto; display: grid; place-items: center; background: var(--grad-brand); color: #fff; margin-top: 3px; }
.checklist .ck svg { width: 14px; height: 14px; }
.checklist b { color: var(--ink); font-weight: 600; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step { position: relative; overflow: hidden; }
.step.glass-dark { padding: 30px 26px; }
.step .n {
  position: absolute; top: -16px; right: 6px; z-index: 0; pointer-events: none;
  font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 6rem; line-height: 1;
  color: var(--accent); opacity: .10; text-shadow: 0 14px 28px rgba(81,110,140,.22);
}
.dark .step .n { color: #d3dde8; opacity: .09; text-shadow: 0 14px 30px rgba(0,0,0,.4); }
.step h3 { position: relative; z-index: 1; margin-top: 34px; font-size: 1.16rem; font-weight: 700; margin-bottom: 9px; }
.step p { position: relative; z-index: 1; color: var(--ink-soft); font-size: .93rem; }

/* ---------- Dark section ---------- */
.dark { background: var(--grad-dark); color: #d6deea; position: relative; overflow: hidden; }
.dark h1, .dark h2, .dark h3 { color: #fff; }
.dark .section-lead, .dark p { color: rgba(214,222,234,.78); }
.dark .eyebrow { color: var(--gold-2); }
.dark .eyebrow::before { background: var(--gold-2); }
.dark::before { content: ''; position: absolute; width: 480px; height: 480px; border-radius: 50%; background: radial-gradient(circle, rgba(90,123,170,.22), transparent 70%); top: -150px; right: -100px; }
.dark::after { content: ''; position: absolute; width: 400px; height: 400px; border-radius: 50%; background: radial-gradient(circle, rgba(124,152,173,.12), transparent 70%); bottom: -150px; left: -120px; }
.glass-dark {
  background: var(--glass-bg-dark); border: 1px solid var(--glass-border-dark);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-radius: 0; box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}

/* ---------- Testimonials ---------- */
.quote-card { padding: 38px 34px; }
.quote-card .stars { color: var(--gold); letter-spacing: 3px; margin-bottom: 16px; }
.quote-card p { font-size: 1.02rem; color: var(--ink); font-weight: 400; line-height: 1.7; }
.quote-author { display: flex; align-items: center; gap: 13px; margin-top: 24px; }
.quote-author .av { width: 46px; height: 46px; border-radius: 50%; background: var(--grad-brand); color: #fff; display: grid; place-items: center; font-family: 'Poppins', sans-serif; font-weight: 700; flex: 0 0 auto; }
.quote-author b { display: block; font-family: 'Poppins', sans-serif; font-weight: 600; font-size: .95rem; }
.quote-author span { font-size: .82rem; color: var(--muted); }

/* ---------- Page header ---------- */
.page-head { padding-top: calc(var(--nav-h) + 76px); padding-bottom: 76px; text-align: center; position: relative; }
.page-head h1 { font-size: clamp(2.5rem, 5.4vw, 4rem); font-weight: 600; margin-bottom: 20px; letter-spacing: -.032em; line-height: 1.1; }
.page-head h1 .accent { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.page-head p { color: var(--ink-soft); font-size: 1.1rem; max-width: 62ch; margin-inline: auto; }
.crumbs { display: inline-flex; gap: 8px; align-items: center; font-family: 'Poppins', sans-serif; font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 24px; font-weight: 500; }
.crumbs a:hover { color: var(--gold); }
.crumbs svg { width: 13px; height: 13px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 42px; align-items: start; }
.info-list { display: grid; gap: 18px; }
.info-card { display: flex; gap: 18px; align-items: flex-start; padding: 26px 28px; }
.info-card .ico { width: 50px; height: 50px; border-radius: 12px; display: grid; place-items: center; background: var(--grad-brand-soft); color: var(--accent); border: 1px solid rgba(63,95,143,.18); flex: 0 0 auto; }
.info-card .ico svg { width: 23px; height: 23px; }
.info-card h4 { font-family: 'Poppins', sans-serif; font-size: .98rem; font-weight: 600; margin-bottom: 4px; color: var(--ink); }
.info-card p, .info-card a { color: var(--ink-soft); font-size: .95rem; }
.info-card a:hover { color: var(--gold); }

.form-card { padding: 40px 36px; }
.form-card h2 { font-family: 'Poppins', sans-serif; font-weight: 700; }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: 'Poppins', sans-serif; font-weight: 500; font-size: .82rem; letter-spacing: .03em; margin-bottom: 8px; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: var(--r-sm);
  border: 1px solid var(--line); background: rgba(255,255,255,.7);
  font-family: 'Poppins', sans-serif; font-size: .96rem; color: var(--ink);
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px rgba(63,95,143,.13);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: .8rem; color: var(--muted); margin-top: 6px; }
.form-msg { padding: 14px 18px; border-radius: var(--r-sm); background: var(--accent-tint); border: 1px solid rgba(81,110,140,.28); color: var(--accent-strong); font-weight: 500; margin-top: 16px; display: none; }
.form-msg.show { display: block; animation: fadeUp .5s var(--ease); }
.form-msg.error { background: #fef2f2; border-color: #fca5a5; color: #b91c1c; }

.hours { display: grid; gap: 2px; }
.hours-row { display: flex; justify-content: space-between; padding: 12px 4px; border-bottom: 1px solid var(--line-soft); font-size: .92rem; }
.hours-row:last-child { border-bottom: none; }
.hours-row span:first-child { color: var(--ink-soft); font-weight: 500; }
.hours-row.closed span:last-child { color: var(--muted); }
.hours-row span:last-child { font-family: 'Poppins', sans-serif; font-weight: 500; color: var(--ink); font-size: .86rem; }

.map-wrap { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--glass-border); height: 100%; min-height: 340px; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; min-height: 340px; filter: grayscale(.2) contrast(1.02); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 14px; max-width: 820px; margin-inline: auto; }
.faq-item { padding: 0; overflow: hidden; }
.faq-q { width: 100%; text-align: left; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 24px 28px; font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 1.02rem; color: var(--ink); }
.faq-q .pm { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold); flex: 0 0 auto; transition: transform .4s var(--ease); }
.faq-q .pm svg { width: 17px; height: 17px; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .45s var(--ease); }
.faq-a p { padding: 0 28px 26px; color: var(--ink-soft); }
.faq-item.open .faq-q .pm { transform: rotate(135deg); }

/* ---------- CTA banner ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--r-xl); padding: clamp(46px, 6vw, 78px); text-align: center; }
.cta-band h2 { color: #fff; font-size: clamp(2rem, 4.2vw, 3.2rem); font-weight: 600; margin-bottom: 16px; letter-spacing: -.03em; }
.cta-band p { color: rgba(214,222,234,.82); max-width: 56ch; margin: 0 auto 32px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-950); color: rgba(214,222,234,.66); padding: 78px 0 32px; position: relative; overflow: hidden; }
.footer::before { content: ''; position: absolute; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(63,95,143,.14), transparent 70%); top: -220px; left: 50%; transform: translateX(-50%); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 42px; position: relative; }
.footer .brand-text b { color: #fff; }
.footer-about p { margin: 20px 0; max-width: 34ch; font-size: .92rem; line-height: 1.7; }
.footer h5 { color: #fff; font-family: 'Poppins', sans-serif; font-weight: 600; font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 22px; }
.footer-links { display: grid; gap: 12px; }
.footer-links a { font-size: .92rem; transition: color .3s, padding .3s; }
.footer-links a:hover { color: var(--gold-2); padding-left: 5px; }
.socials { display: flex; gap: 11px; }
.socials a { width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.10); color: #fff; transition: .35s var(--ease); }
.socials a:hover { background: var(--accent); color: #fff; transform: translateY(-4px); border-color: transparent; }
.socials svg { width: 19px; height: 19px; }
.foot-contact { display: grid; gap: 13px; }
.foot-contact a { display: flex; gap: 11px; align-items: flex-start; font-size: .92rem; }
.foot-contact svg { width: 17px; height: 17px; color: var(--gold-2); flex: 0 0 auto; margin-top: 3px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 52px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.08); font-size: .82rem; }
.footer-bottom a:hover { color: var(--gold-2); }

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed; inset: 0; z-index: 99; background: rgba(248,250,252,.97);
  backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
  display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 44px;
  transform: translateX(100%); transition: transform .5s var(--ease); visibility: hidden;
}
.mobile-menu.open { transform: translateX(0); visibility: visible; }
.mobile-menu a { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 1.55rem; color: var(--ink); padding: 14px 0; border-bottom: 1px solid var(--line); transition: color .3s, padding .3s; }
.mobile-menu a:hover, .mobile-menu a.active { color: var(--gold); padding-left: 10px; }
.mobile-menu .btn { margin-top: 28px; font-size: .95rem; }

/* ---------- Scroll reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(30px); transition: opacity .85s var(--ease), transform .85s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: .09s; }
[data-reveal][data-delay="2"] { transition-delay: .18s; }
[data-reveal][data-delay="3"] { transition-delay: .27s; }
[data-reveal][data-delay="4"] { transition-delay: .36s; }
[data-reveal][data-delay="5"] { transition-delay: .45s; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.scroll-bar { position: fixed; top: 0; left: 0; height: 2px; width: 0; background: var(--grad-gold); z-index: 200; transition: width .1s linear; }

/* Image fallback */
.ph-fallback { background: var(--grad-dark); position: relative; }
.ph-fallback::after {
  content: attr(data-ph); position: absolute; inset: 0; display: grid; place-items: center;
  color: rgba(255,255,255,.5); font-size: .82rem; font-weight: 500; letter-spacing: .04em; text-align: center; padding: 20px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero { min-height: 80vh; }
  .hero::before { background-position: center; }
  .split { grid-template-columns: 1fr; gap: 44px; }
  .split.rev .split-media { order: 0; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav-links, .nav-phone { display: none; }
  .burger { display: block; }
  .nav-cta .btn { display: none; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .steps, .stats { grid-template-columns: 1fr 1fr; }
  .hero { min-height: 74vh; padding-bottom: 76px; }
  .hero::after { background: linear-gradient(180deg, rgba(14,18,23,.88) 0%, rgba(14,18,23,.74) 55%, var(--bg) 100%); }
  .footer-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 460px) {
  .stats { grid-template-columns: 1fr; }
  .hero-scroll { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* =====================================================================
   WOW ENHANCEMENTS — tasteful motion, hover & micro-interactions
   ===================================================================== */

/* Reveal direction variants (JS toggles .in) */
[data-reveal="left"]  { opacity: 0; transform: translateX(-48px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
[data-reveal="right"] { opacity: 0; transform: translateX(48px);  transition: opacity .9s var(--ease), transform .9s var(--ease); }
[data-reveal="zoom"]  { opacity: 0; transform: scale(.93); transition: opacity .9s var(--ease), transform .9s var(--ease); }
[data-reveal="left"].in, [data-reveal="right"].in, [data-reveal="zoom"].in { opacity: 1; transform: none; }

/* Accent words get an underline drawn on reveal */
.section-title .accent { position: relative; }
.section-title .accent::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -5px; height: 3px; border-radius: 3px;
  background: var(--accent); opacity: .5; transform: scaleX(0); transform-origin: left;
  transition: transform .85s var(--ease) .25s;
}
[data-reveal].in .section-title .accent::after { transform: scaleX(1); }

/* Nav links — animated hover underline */
.nav-links a { position: relative; }
.nav-links a::before {
  content: ''; position: absolute; left: 16px; right: 16px; bottom: 3px; height: 1.5px;
  background: var(--accent); border-radius: 2px; transform: scaleX(0); transform-origin: center;
  transition: transform .35s var(--ease);
}
.nav-links a:hover::before { transform: scaleX(1); }
.nav-links a.active::before { display: none; }

/* Brand mark playful tilt */
.brand-mark { transition: transform .5s var(--ease-bounce), color .4s; }
.brand:hover .brand-mark { transform: scale(1.05); }

/* Buttons — icon nudge + magnetic helper */
.btn svg { transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
[data-magnetic] { transition: transform .2s var(--ease); }

/* Split photos — zoom + tint on hover */
.split-media .photo { position: relative; }
.split-media .photo img { transition: transform 1.2s var(--ease); }
.split-media .photo:hover img { transform: scale(1.07); }
.split-media .photo::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .55s var(--ease);
  background: linear-gradient(120deg, rgba(81,110,140,0), rgba(81,110,140,.22));
}
.split-media .photo:hover::after { opacity: 1; }

/* Feature icon — large faded watermark on the left (styled in base rules) */
.glass-card { will-change: transform; }

/* Trust strip — lively hover */
.trust-item { transition: transform .35s var(--ease), color .35s; cursor: default; }
.trust-item:hover { transform: translateY(-3px); color: var(--accent); }
.trust-item svg { transition: transform .4s var(--ease-bounce); }
.trust-item:hover svg { transform: scale(1.18) rotate(-4deg); }

/* Dark sections — ambient cursor spotlight (JS sets --mx/--my) */
.dark { background-image: radial-gradient(620px circle at var(--mx, 72%) var(--my, 16%), rgba(124,152,173,.16), transparent 55%), var(--grad-dark); }

/* Stats — premium: soft glow behind the figure + hover pop */
.stat { position: relative; transition: transform .45s var(--ease); border-radius: var(--r-lg); }
.stat::before {
  content: ''; position: absolute; top: 24px; left: 50%; transform: translateX(-50%);
  width: 130px; height: 130px; border-radius: 50%; z-index: 0; pointer-events: none;
  background: radial-gradient(circle, rgba(124,152,173,.20), transparent 70%);
  transition: opacity .5s var(--ease), transform .5s var(--ease); opacity: .8;
}
.stat:hover { transform: translateY(-8px); }
.stat:hover::before { opacity: 1; transform: translateX(-50%) scale(1.15); }
.stat .num, .stat .lab { position: relative; z-index: 1; }
.stat .num { transition: letter-spacing .4s; }
.stat:hover .num { letter-spacing: .5px; }

/* Process steps — big watermark number reacts on hover */
.step .n { transition: opacity .5s var(--ease), transform .5s var(--ease); }
.step:hover .n { opacity: .2; transform: translateY(-4px) scale(1.05); }
.dark .step:hover .n { opacity: .16; }

/* Testimonials — avatar bounce */
.quote-author .av { transition: transform .45s var(--ease-bounce); }
.quote-card:hover .av { transform: scale(1.1) rotate(-4deg); }

/* FAQ — slide on hover */
.faq-item { transition: border-color .35s, box-shadow .35s, transform .35s var(--ease); }
.faq-item:hover { border-color: rgba(81,110,140,.35); transform: translateX(4px); }

/* Contact info cards — slide + icon */
.info-card { transition: transform .45s var(--ease), box-shadow .45s; }
.info-card:hover { transform: translateX(6px); box-shadow: var(--shadow-md); }
.info-card .ico { transition: transform .45s var(--ease-bounce); }
.info-card:hover .ico { transform: scale(1.1) rotate(-5deg); }

/* Opening hours rows — hover highlight */
.hours-row { transition: padding-left .3s var(--ease), background .3s; border-radius: 6px; }
.hours-row:hover { padding-left: 12px; background: var(--accent-tint); }

/* Footer socials & links already animate; add scroll-bar glow */
.scroll-bar { box-shadow: 0 0 10px rgba(81,110,140,.6); }

/* Homepage: transparent navbar over the dark hero — light text until scrolled */
.nav.nav-over:not(.scrolled) .brand-mark { color: #fff; }
.nav.nav-over:not(.scrolled) .brand-text b { color: #fff; }
.nav.nav-over:not(.scrolled) .brand-text span { color: rgba(255,255,255,.82); }
.nav.nav-over:not(.scrolled) .nav-links a { color: rgba(255,255,255,.85); }
.nav.nav-over:not(.scrolled) .nav-links a:hover,
.nav.nav-over:not(.scrolled) .nav-links a.active { color: #fff; }
.nav.nav-over:not(.scrolled) .nav-links a::before,
.nav.nav-over:not(.scrolled) .nav-links a.active::after { background: #fff; }
.nav.nav-over:not(.scrolled) .nav-phone,
.nav.nav-over:not(.scrolled) .nav-phone svg { color: #fff; }
.nav.nav-over:not(.scrolled) .burger span { background: #fff; }
.nav.nav-over:not(.scrolled) .burger.open span { background: var(--navy-800); } /* dark X over the open light menu */
.nav.nav-over:not(.scrolled) .brand-text b,
.nav.nav-over:not(.scrolled) .nav-links a,
.nav.nav-over:not(.scrolled) .nav-phone { text-shadow: 0 1px 10px rgba(0,0,0,.28); }

/* =====================================================================
   v2 — Accessibility, legal pages, cookie banner, mobile CTA
   ===================================================================== */

/* Keyboard focus visibility */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* Skip link */
.skip-link {
  position: fixed; top: -70px; left: 16px; z-index: 300;
  background: var(--accent); color: #fff; padding: 11px 18px; border-radius: 8px;
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: .85rem;
  transition: top .3s var(--ease);
}
.skip-link:focus { top: 16px; }

/* Sub-page header — a touch more character (subtle glow + hairline) */
.page-head { background: radial-gradient(900px 420px at 50% -45%, rgba(81,110,140,.08), transparent 70%); border-bottom: 1px solid var(--line-soft); }

/* Legal / prose pages */
.legal { padding: 30px 0 24px; }
.legal-wrap { max-width: 820px; margin-inline: auto; }
.legal .updated { color: var(--muted); font-size: .85rem; margin-bottom: 26px; }
.legal h2 { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: clamp(1.3rem, 2.6vw, 1.7rem); margin: 40px 0 12px; letter-spacing: -.02em; }
.legal h3 { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 1.06rem; margin: 24px 0 8px; }
.legal p, .legal li { color: var(--ink-soft); margin-bottom: 12px; line-height: 1.75; }
.legal ul { padding-left: 22px; list-style: disc; display: grid; gap: 6px; margin-bottom: 16px; }
.legal a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.legal .note-box { background: var(--accent-tint); border: 1px solid rgba(81,110,140,.18); border-radius: var(--r-md); padding: 16px 20px; color: var(--ink-soft); font-size: .92rem; margin: 8px 0 24px; }
.legal table { width: 100%; border-collapse: collapse; margin: 8px 0 20px; font-size: .92rem; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); color: var(--ink-soft); vertical-align: top; }
.legal th { font-family: 'Poppins', sans-serif; font-weight: 600; color: var(--ink); }

/* Cookie banner */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 250; max-width: 580px; margin-inline: auto;
  background: rgba(255,255,255,.88); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid var(--glass-border); border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  padding: 20px 22px; transform: translateY(180%); transition: transform .55s var(--ease); visibility: hidden;
}
.cookie-banner.show { transform: translateY(0); visibility: visible; }
.cookie-banner p { font-size: .9rem; color: var(--ink-soft); margin-bottom: 14px; line-height: 1.6; }
.cookie-banner a { color: var(--accent); text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-actions .btn { padding: 11px 22px; font-size: .82rem; }
.btn-soft {
  background: transparent; border: 1px solid var(--line); color: var(--ink-soft);
  border-radius: var(--r-sm); padding: 11px 22px; font-family: 'Poppins', sans-serif; font-weight: 600; font-size: .82rem;
  transition: border-color .3s, color .3s;
}
.btn-soft:hover { border-color: var(--accent); color: var(--accent); }

/* Map consent gate (Google Maps loaded only after consent) */
.map-wrap { position: relative; }
.map-consent { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; text-align: center; padding: 26px; background: var(--grad-dark); color: rgba(255,255,255,.86); }
.map-consent p { margin-bottom: 16px; font-size: .95rem; max-width: 34ch; }

/* Mobile sticky CTA bar */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 120; display: none;
  grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line);
  box-shadow: 0 -8px 24px -16px rgba(0,0,0,.45);
}
.mobile-cta a {
  display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 11px 6px;
  background: #fff; color: var(--navy-800); font-family: 'Poppins', sans-serif; font-weight: 600; font-size: .7rem; letter-spacing: .02em;
}
.mobile-cta a svg { width: 20px; height: 20px; color: var(--accent); }
.mobile-cta a.cta-accent { background: var(--accent); color: #fff; }
.mobile-cta a.cta-accent svg { color: #fff; }
@media (max-width: 760px) {
  .mobile-cta { display: grid; }
  body { padding-bottom: 64px; }
}

/* Treatments grouped by category */
.treat-group + .treat-group { margin-top: clamp(54px, 6.5vw, 90px); }

/* Silhouette placeholder (foto persona non ancora disponibile) */
.photo-silhouette { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(160deg, #e9edf3, #dce3ec); }
.photo-silhouette svg { width: 46%; max-width: 190px; color: #b6c1d0; }
.photo-silhouette .lbl { position: absolute; left: 0; right: 0; bottom: 18px; text-align: center; font-family: 'Poppins', sans-serif; font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.avatar-silhouette { background: linear-gradient(160deg, #efeae1, #e2dacd) !important; display: grid; place-items: center; }
.avatar-silhouette svg { width: 54%; color: #b9af9d; }

/* Dark sections — keep eyebrow, accent words and figures legible on slate */
.dark .eyebrow { color: var(--mint-200); }
.dark .eyebrow::before { background: var(--mint-200); }
.dark .section-title .accent { background-image: linear-gradient(100deg, #aebfd0, #cdbfa8); }
.dark .stat .num { background-image: linear-gradient(100deg, #d6c7ad, #aebfd0); }

/* Real extracted logo lockup (image) */
.brand-logo { height: 44px; width: auto; display: block; transition: height .4s var(--ease), filter .4s; }
.nav.scrolled .brand-logo { height: 38px; }
.footer .brand-logo { height: 50px; filter: brightness(0) invert(1); opacity: .92; }
.nav.nav-over:not(.scrolled) .brand-logo { filter: brightness(0) invert(1); }
@media (max-width: 760px) { .brand-logo { height: 38px; } }

/* CTA — pulsanti chiari, larghi e centrati, ben visibili sui fondi scuri */
.hero .btn-primary, .dark .btn-primary, .cta-band .btn-primary {
  background: #fff; color: var(--accent-strong); box-shadow: 0 14px 30px -14px rgba(0,0,0,.55);
}
.hero .btn-primary:hover, .dark .btn-primary:hover, .cta-band .btn-primary:hover {
  background: #fff; box-shadow: 0 22px 44px -16px rgba(0,0,0,.6);
}
.cta-actions { justify-content: center; gap: 16px; }
.cta-actions .btn { padding: 16px 36px; font-size: .95rem; min-width: 210px; }
@media (max-width: 460px) { .cta-actions .btn { min-width: 0; width: 100%; } }

/* Sub-page headers (hero) — tema scuro su tutte le pagine */
.page-head { background: radial-gradient(820px 380px at 50% -30%, rgba(124,152,173,.18), transparent 70%), var(--grad-dark); border-bottom: 0; }
.page-head h1 { color: #fff; }
.page-head h1 .accent { background-image: linear-gradient(100deg, #aebfd0, #cdbfa8); }
.page-head p { color: rgba(255,255,255,.84); }
.page-head .crumbs { color: rgba(255,255,255,.62); }
.page-head .crumbs a:hover { color: #cdbfa8; }

/* === Card servizi — stile editoriale minimale === */
/* icona a linea, senza riquadro */
.feature-ico { width: auto; height: auto; background: none !important; border: 0; box-shadow: none; border-radius: 0; margin-bottom: 18px; color: var(--accent); overflow: visible; transform: none; }
.feature-ico svg { width: 42px; height: 42px; }
.feature-ico svg > * { stroke-width: 1.5; }
.feature-ico::after { content: none; }
.glass-card:hover .feature-ico { background: none !important; color: var(--accent-strong); border-color: transparent; transform: none; box-shadow: none; }
/* nessun filetto inferiore: lo stile editoriale lo sostituisce con un indicatore "scopri" sulle treatments */
.glass-card::after { display: none; }
/* numero servizio (solo pagina Trattamenti) */
.treatments { counter-reset: treat; }
.treatments .glass-card { counter-increment: treat; cursor: pointer; }
.treatments .glass-card::before {
  content: counter(treat, decimal-leading-zero);
  inset: auto; top: 20px; right: 24px; background: none; opacity: .16; border-radius: 0;
  font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.55rem; color: var(--accent);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.treatments .glass-card:hover::before { opacity: .42; transform: translateY(-2px); }
/* etichetta "Scopri" che appare in basso-destra in hover — minimale, niente icona */
.treatments .glass-card::after {
  content: 'Scopri';
  position: absolute; bottom: 24px; right: 26px;
  font-family: 'Poppins', sans-serif; font-weight: 600;
  font-size: .72rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--accent);
  opacity: 0; transform: translateY(6px);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
  pointer-events: none;
}
.treatments .glass-card:hover::after { opacity: 1; transform: none; }

/* ============== TREATMENT MODAL ============== */
.trat-modal { position: fixed; inset: 0; z-index: 9999; display: none; align-items: center; justify-content: center; padding: 20px; }
.trat-modal.open { display: flex; }
.trat-modal-backdrop { position: absolute; inset: 0; background: rgba(28, 36, 46, .68); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .3s var(--ease); }
.trat-modal.open .trat-modal-backdrop { opacity: 1; }
.trat-modal-card {
  position: relative; z-index: 1;
  background: #fff;
  border-radius: var(--r-xl);
  max-width: 560px; width: 100%;
  padding: 44px 38px 36px;
  box-shadow: 0 32px 80px -18px rgba(20, 28, 38, .55);
  transform: translateY(24px) scale(.96); opacity: 0;
  transition: transform .35s var(--ease), opacity .35s var(--ease);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
}
.trat-modal.open .trat-modal-card { transform: none; opacity: 1; }
.trat-modal-close {
  position: absolute; top: 14px; right: 14px;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--accent-tint); color: var(--ink);
  border: 0; cursor: pointer;
  display: grid; place-items: center;
  font-size: 1.4rem; line-height: 1;
  transition: background .25s, color .25s, transform .25s;
}
.trat-modal-close:hover { background: var(--accent); color: #fff; transform: rotate(90deg); }
.trat-modal-ico { width: 60px; height: 60px; color: var(--accent); margin-bottom: 18px; display: grid; place-items: center; background: var(--accent-tint); border-radius: var(--r-md); }
.trat-modal-ico svg { width: 32px; height: 32px; }
.trat-modal-eyebrow { font-family: 'Poppins', sans-serif; text-transform: uppercase; letter-spacing: .18em; font-size: .72rem; color: var(--accent); font-weight: 600; margin-bottom: 8px; display: block; }
.trat-modal-title { font-size: 1.65rem; line-height: 1.2; margin-bottom: 12px; color: var(--ink); }
.trat-modal-summary { color: var(--ink-soft); line-height: 1.65; margin-bottom: 22px; font-size: 1rem; }
.trat-modal-bullets { display: grid; gap: 12px; margin-bottom: 28px; padding: 0; list-style: none; }
.trat-modal-bullets li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); font-size: .96rem; line-height: 1.5; }
.trat-modal-bullets li svg { flex-shrink: 0; width: 20px; height: 20px; color: var(--accent); margin-top: 2px; }
.trat-modal-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.trat-modal-cta .btn { flex: 1 1 auto; justify-content: center; }
body.trat-modal-open { overflow: hidden; }
@media (max-width: 540px) {
  .trat-modal-card { padding: 38px 24px 28px; }
  .trat-modal-title { font-size: 1.4rem; }
}

/* ============== PHOTO BANNER (full-width) ============== */
.photo-banner { width: 100%; overflow: hidden; position: relative; }
.photo-banner img { width: 100%; height: clamp(220px, 38vw, 380px); object-fit: cover; display: block; transition: transform 1.4s var(--ease); }
.photo-banner::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(38,46,54,.12), transparent 30%, transparent 70%, rgba(245,240,232,.5));
  pointer-events: none;
}
.photo-banner:hover img { transform: scale(1.04); }

/* =====================================================================
   MOBILE OPTIMIZATIONS — fine tuning su 760px e 460px
   ===================================================================== */
@media (max-width: 760px) {
  /* Spaziature globali piu compatte */
  .section { padding: clamp(56px, 9vw, 110px) 0; }
  .section--tight { padding: clamp(42px, 7vw, 80px) 0; }
  .container { padding-inline: 22px; }

  /* Tipografia titoli ridotta */
  .section-title { font-size: clamp(1.85rem, 6vw, 2.6rem); letter-spacing: -.025em; }
  .section-lead { font-size: 1.02rem; line-height: 1.7; }
  .section-head { margin-bottom: 44px; }
  .eyebrow { font-size: .68rem; margin-bottom: 18px; }

  /* Hero compatto */
  .hero { min-height: 78vh; padding-top: calc(var(--nav-h) + 24px); padding-bottom: 70px; }
  .hero h1 { font-size: clamp(2.05rem, 7.4vw, 3.2rem); margin-bottom: 18px; line-height: 1.12; }
  .hero-lead { font-size: 1.02rem; margin-bottom: 28px; line-height: 1.65; }
  .hero-actions { gap: 10px; width: 100%; }
  .hero-actions .btn { flex: 1 1 100%; justify-content: center; min-width: 0; padding: 14px 22px; font-size: .92rem; }
  .hero-inner { max-width: 100%; }
  .hero .eyebrow { font-size: .65rem; }

  /* Page-head subpagine */
  .page-head { padding-top: calc(var(--nav-h) + 36px); padding-bottom: 52px; }
  .page-head h1 { font-size: clamp(1.95rem, 7vw, 3rem); margin-bottom: 16px; }
  .page-head p { font-size: 1.02rem; line-height: 1.65; }
  .crumbs { font-size: .68rem; margin-bottom: 18px; }

  /* Trust strip — scroll orizzontale fluido */
  .trust-strip { padding: 22px 0; overflow-x: auto; scrollbar-width: none; }
  .trust-strip::-webkit-scrollbar { display: none; }
  .trust-strip .row { justify-content: flex-start; gap: 26px; flex-wrap: nowrap; padding-inline: 22px; }
  .trust-item { font-size: .82rem; white-space: nowrap; flex: 0 0 auto; }

  /* Glass card — padding piu compatto */
  .glass-card { padding: 32px 26px; }
  .glass-card h3 { font-size: 1.13rem; }
  .glass-card p { font-size: .94rem; }
  .feature-ico { width: 54px; height: 54px; margin-bottom: 18px; }
  .feature-ico svg { width: 26px; height: 26px; }

  /* Stats: numero piu equilibrato */
  .stat .num { font-size: clamp(2.6rem, 11vw, 3.6rem); }

  /* CTA band */
  .cta-band { padding: clamp(42px, 8vw, 64px) clamp(22px, 5vw, 40px); border-radius: var(--r-lg); }
  .cta-band h2 { font-size: clamp(1.6rem, 5.6vw, 2.4rem); }
  .cta-band p { font-size: .98rem; }

  /* Form contatti */
  .form-card { padding: 28px 22px; }
  .form-card h2 { font-size: 1.35rem; }
  .field input, .field select, .field textarea { font-size: 16px; /* evita zoom iOS */ }

  /* Mappa altezza ridotta */
  .map-wrap { min-height: 280px; }
  .map-wrap iframe { min-height: 280px; }

  /* Photo banner */
  .photo-banner img { height: clamp(180px, 36vw, 280px); }

  /* FAQ */
  .faq-q { padding: 20px 22px; font-size: .96rem; }
  .faq-a p { padding: 0 22px 22px; font-size: .95rem; }

  /* Footer compattato */
  .footer { padding: 52px 0 28px; }
  .footer-grid { gap: 36px; }
  .socials a { width: 40px; height: 40px; }
  .footer-about p { max-width: none; }

  /* Modal trattamenti */
  .trat-modal { padding: 14px; }
  .trat-modal-card { padding: 40px 24px 26px; }
  .trat-modal-title { font-size: 1.35rem; }
  .trat-modal-summary { font-size: .96rem; }

  /* Mobile menu padding e font */
  .mobile-menu { padding: 36px 28px; }
  .mobile-menu a { font-size: 1.3rem; padding: 13px 0; }

  /* Treatments numero servizio piu discreto su mobile */
  .treatments .glass-card::before { font-size: 1.3rem; top: 16px; right: 18px; }
  .treatments .glass-card::after { bottom: 20px; right: 22px; }

  /* Steps "Il percorso di cura" — compatti su mobile */
  .step.glass-dark, .step.glass-card { padding: 26px 22px; }
  .step .n { font-size: 4.4rem; top: -10px; right: 8px; opacity: .14; }
  .dark .step .n { opacity: .12; }
  .step h3 { margin-top: 28px; font-size: 1.05rem; }
  .step p { font-size: .92rem; line-height: 1.6; }
  .steps { gap: 16px; }
  .section.dark { padding: clamp(54px, 8.5vw, 100px) 0; }

  /* Cookie banner */
  .cookie-banner { left: 12px; right: 12px; bottom: 76px; padding: 18px 20px; }
  .cookie-banner p { font-size: .85rem; }
  .cookie-actions .btn { font-size: .8rem; padding: 10px 16px; }

  /* ===== Pagina Contatti ===== */
  /* form card titolo (override degli inline style) */
  .form-card h2 { font-size: 1.32rem !important; line-height: 1.25; margin-bottom: 6px !important; }
  .form-card > p { font-size: .92rem !important; margin-bottom: 18px !important; }
  /* Hours: stack verticale per leggibilità (giorno sopra, orari sotto) */
  .hours-row { flex-direction: column; align-items: flex-start; gap: 2px; padding: 10px 4px; }
  .hours-row span:first-child { font-size: .92rem; color: var(--ink); font-weight: 600; }
  .hours-row span:last-child { font-size: .84rem; }
  /* Info card: layout interno piu fluido + email lunga gestita */
  .info-card { gap: 14px; }
  .info-card h4 { font-size: .96rem; }
  .info-card p, .info-card a { font-size: .9rem; line-height: 1.55; word-wrap: break-word; overflow-wrap: anywhere; }
  /* Privacy checkbox + label */
  .form-card .field label[for="privacy"] { font-size: .82rem !important; line-height: 1.55; }
  /* Photo banner piu sottile su mobile */
  .photo-banner img { height: clamp(170px, 34vw, 260px); }
  /* CTA actions: bottoni full-width anche su 760 in pagina contatti (testo lungo "Chiama 351...") */
  .cta-actions { gap: 12px; }
  .cta-actions .btn { width: 100%; min-width: 0; justify-content: center; padding: 14px 20px; font-size: .92rem; }
  .cta-band h2 { line-height: 1.18; }
  /* Map ridotta */
  .map-wrap { min-height: 250px; }
  .map-wrap iframe { min-height: 250px; }
  .map-consent { padding: 24px; }
  .map-consent p { font-size: .88rem; }
}

@media (max-width: 460px) {
  .container { padding-inline: 18px; }
  .steps { grid-template-columns: 1fr; }
  .section-title { font-size: clamp(1.7rem, 7vw, 2.2rem); }
  .glass-card { padding: 28px 22px; }
  .cta-band { padding: 38px 22px; }
  .cta-band h2 { font-size: 1.5rem; }
  .stat .num { font-size: clamp(2.4rem, 13vw, 3.2rem); }
  .mobile-menu a { font-size: 1.18rem; }
  .form-card { padding: 24px 18px; }
  .hero h1 { font-size: clamp(1.9rem, 8.4vw, 2.7rem); }
  .page-head h1 { font-size: clamp(1.75rem, 7.8vw, 2.5rem); }
  .info-card { padding: 22px 20px; gap: 14px; }
  .info-card .ico { width: 44px; height: 44px; }
  .info-card .ico svg { width: 20px; height: 20px; }

  /* Steps extra-small: padding ulteriormente ridotto + numero piu compatto */
  .step.glass-dark, .step.glass-card { padding: 22px 18px; }
  .step .n { font-size: 3.8rem; top: -8px; right: 6px; }
  .step h3 { margin-top: 22px; font-size: 1rem; }

  /* Contatti — extra small */
  .form-card h2 { font-size: 1.18rem !important; }
  .photo-banner img { height: clamp(140px, 38vw, 210px); }
  .hours-row { padding: 9px 4px; }
  .hours-row span:first-child { font-size: .88rem; }
  .hours-row span:last-child { font-size: .8rem; }
  .map-wrap { min-height: 220px; }
  .map-wrap iframe { min-height: 220px; }
  .cta-band p { font-size: .9rem; }
}
