/* ==========================================================================
   Eterna Clinic — design system
   Luxe-tech: espresso darks, champagne-gold light, glass surfaces, soft aurora.
   Legacy custom-property names (--gold, --text-light, …) are kept on purpose:
   existing page markup uses them in inline styles.
   ========================================================================== */

@font-face { font-family: "Jost"; src: url("/assets/fonts/jost-latin.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url("/assets/fonts/playfair-display-latin.woff2") format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url("/assets/fonts/playfair-display-italic-latin.woff2") format("woff2"); font-weight: 400 900; font-style: italic; font-display: swap; }

:root {
  /* Brand */
  --gold: #8A5C0B;            /* AA on white, cream and pearl */
  --gold-dark: #7A520C;
  --gold-light: #C4920D;
  --gold-pale: #E8C97A;
  --champagne: #F3D9A4;
  --rose: #E7B7A3;
  --dark: #120C08;
  --dark-mid: #1E150F;
  --dark-soft: #2A1F17;
  --cream: #FFF8F1;
  --cream-dark: #F2E6D6;
  --pearl: #FBF7F2;
  --text: #221710;
  --text-mid: #5A4636;
  --text-light: #7C5A3E;
  --on-dark: #F6EDE2;
  --on-dark-mid: #CDBBA7;
  --on-dark-soft: #A8927E;
  --white: #FFFFFF;
  --line: rgba(154, 105, 15, .16);
  --line-dark: rgba(232, 201, 122, .18);

  --grad-gold: linear-gradient(135deg, #F6E1B3 0%, #DDB45E 35%, #C4920D 65%, #9A690F 100%);
  --grad-gold-text: linear-gradient(100deg, #F6E1B3 0%, #E8C97A 30%, #D4A437 60%, #F3D9A4 100%);
  --grad-dark: linear-gradient(160deg, #1E150F 0%, #120C08 55%, #0B0705 100%);

  --font-sans: "Jost", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Playfair Display", "Iowan Old Style", Georgia, "Times New Roman", serif;

  --radius: 20px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --radius-pill: 999px;
  --shadow: 0 12px 32px -14px rgba(34, 23, 16, .28);
  --shadow-lg: 0 32px 80px -32px rgba(34, 23, 16, .5);
  --glow: 0 0 0 1px rgba(232, 201, 122, .22), 0 18px 48px -18px rgba(196, 146, 13, .55);
  --transition: .35s cubic-bezier(.2, .7, .2, 1);

  --container: 1200px;
  --header-h: 72px;
  --section-y: clamp(64px, 9vw, 120px);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; font-family: var(--font-sans); font-size: 1.0625rem; line-height: 1.7; color: var(--text);
  background: var(--cream); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
picture { display: contents; }
a { color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color var(--transition); }
a:hover { color: var(--gold-dark); }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.25em; }
strong { font-weight: 600; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--gold-pale); color: var(--dark); }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.15; letter-spacing: -.01em; margin: 0 0 .6em; color: inherit; }
h1 { font-size: clamp(2.3rem, 5.6vw, 4.4rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }
h4 { font-size: 1.15rem; }
h1 em, h2 em, h3 em, .grad-text {
  font-style: italic; background: var(--grad-gold-text); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.on-light h1 em, .on-light h2 em, .on-light h3 em, h1.on-light em, h2.on-light em, h3.on-light em {
  background: linear-gradient(100deg, #B07A12 0%, #8C5E0B 55%, #A87417 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
}

.container { width: min(var(--container), 100% - 40px); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 1000; background: var(--dark); color: var(--on-dark); padding: 10px 18px; border-radius: var(--radius-pill); text-decoration: none; }
.skip-link:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: transparent; display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .8em 1.6em; border-radius: var(--radius-pill); border: 1.5px solid transparent;
  font-family: var(--font-sans); font-weight: 600; font-size: 1rem; letter-spacing: .01em; line-height: 1.2;
  text-decoration: none; cursor: pointer; transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
  white-space: nowrap; max-width: 100%;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn-primary { background: var(--grad-gold); color: #1A0F05; box-shadow: var(--glow); }
.btn-primary:hover { color: #1A0F05; box-shadow: 0 0 0 1px rgba(243, 217, 164, .5), 0 22px 56px -16px rgba(196, 146, 13, .75); }
.btn-outline { border-color: rgba(232, 201, 122, .55); color: var(--on-dark); background: rgba(255, 255, 255, .04); backdrop-filter: blur(6px); }
.btn-outline:hover { border-color: var(--gold-pale); color: #fff; background: rgba(255, 255, 255, .08); }
.on-light .btn-outline, .btn-outline-dark { border-color: var(--gold); color: var(--gold-dark); background: transparent; }
.on-light .btn-outline:hover, .btn-outline-dark:hover { background: var(--gold); color: #fff; }
.btn-white { background: #fff; color: var(--dark); box-shadow: var(--shadow); }
.btn-white:hover { color: var(--dark); box-shadow: var(--shadow-lg); }
.btn-ghost { color: var(--gold-pale); padding-inline: .4em; min-height: 44px; }
.btn-lg { min-height: 56px; padding: .95em 2em; font-size: 1.06rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  background: rgba(18, 12, 8, .55); backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid transparent; transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
  color: var(--on-dark);
}
.site-header.is-scrolled { background: rgba(18, 12, 8, .86); border-bottom-color: var(--line-dark); box-shadow: 0 10px 40px -20px rgba(0, 0, 0, .6); }
.header-bar { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--on-dark); flex: none; }
.brand-logo { display: block; height: 44px; width: auto; }
.brand-name { font-family: var(--font-display); font-size: 1.35rem; letter-spacing: .01em; color: var(--on-dark); }
.brand-name em { font-style: italic; color: var(--gold-pale); }
.brand:hover { color: #fff; }

.main-nav { margin-left: auto; }
.main-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.main-nav a, .nav-trigger {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border-radius: var(--radius-pill);
  color: var(--on-dark-mid); text-decoration: none; font-weight: 500; font-size: .96rem; background: none; border: 0; transition: color var(--transition), background var(--transition);
}
.main-nav a:hover, .nav-trigger:hover, .nav-trigger[aria-expanded="true"], .main-nav a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .07); }
.nav-trigger svg { width: 12px; height: 12px; transition: transform var(--transition); }
.has-mega { display: flex; align-items: center; }
.main-nav .nav-mega-link { padding-right: 4px; }
.main-nav .nav-trigger { min-width: 32px; padding: 0 10px 0 4px; }
.mega-col h3 a { color: inherit; text-decoration: none; }
.mega-col h3 a:hover { color: #fff; }
.nav-trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav-ai { color: var(--gold-pale) !important; }
.nav-ai::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold-pale); box-shadow: 0 0 10px 2px rgba(232, 201, 122, .8); }
.has-mega { position: static; }
.mega {
  position: absolute; left: 0; right: 0; top: var(--header-h); padding: 28px 0 32px;
  background: rgba(16, 11, 7, .97); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .25s ease, transform .25s ease, visibility .25s;
}
.mega.is-open { opacity: 1; visibility: visible; transform: none; }
.mega-grid { display: grid; grid-template-columns: repeat(3, 1fr) 1.15fr; gap: 32px; }
.mega-col h3 { font-family: var(--font-sans); font-size: .74rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-pale); margin: 0 0 12px; }
.mega-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.mega-col a { display: block; padding: 7px 10px; margin-inline: -10px; border-radius: 10px; color: var(--on-dark); text-decoration: none; font-size: .95rem; line-height: 1.35; min-height: 0; }
.mega-col a span { display: block; font-size: .8rem; color: var(--on-dark-soft); margin-top: 1px; }
.mega-col a:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.mega-feature {
  position: relative; border-radius: var(--radius); padding: 22px; overflow: hidden; color: var(--on-dark);
  background: radial-gradient(120% 90% at 100% 0%, rgba(196, 146, 13, .35), transparent 55%), linear-gradient(160deg, #2A1F17, #150E09);
  border: 1px solid var(--line-dark);
}
.mega-feature h3 { font-family: var(--font-display); text-transform: none; letter-spacing: -.01em; font-size: 1.3rem; color: #fff; margin: 6px 0 8px; }
.mega-feature p { font-size: .92rem; color: var(--on-dark-mid); margin-bottom: 16px; }
.mega-all { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line-dark); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.mega-all a { color: var(--gold-pale); font-weight: 600; text-decoration: none; }
.mega-all a:hover { color: #fff; }

.header-cta { display: flex; align-items: center; gap: 10px; flex: none; }
.header-phone { color: var(--on-dark-mid); text-decoration: none; font-weight: 500; font-size: .95rem; padding: 0 8px; min-height: 44px; display: inline-flex; align-items: center; }
.header-phone:hover { color: #fff; }
.header-cta .btn { min-height: 42px; padding: .6em 1.2em; font-size: .93rem; }
.menu-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-dark); background: rgba(255, 255, 255, .05); color: var(--on-dark); align-items: center; justify-content: center; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { display: block; width: 18px; height: 1.5px; background: currentColor; border-radius: 2px; position: relative; transition: transform var(--transition), background var(--transition); }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; } .menu-toggle span::after { top: 6px; }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 99; overflow-y: auto; padding: 18px 20px 120px;
  background: rgba(14, 9, 6, .98); color: var(--on-dark);
}
.mobile-nav[hidden] { display: none; }
.mobile-nav details { border-bottom: 1px solid var(--line-dark); }
.mobile-nav summary { list-style: none; display: flex; justify-content: space-between; align-items: center; min-height: 56px; font-family: var(--font-display); font-size: 1.35rem; cursor: pointer; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav summary::after { content: "+"; font-family: var(--font-sans); font-size: 1.5rem; color: var(--gold-pale); transition: transform var(--transition); }
.mobile-nav details[open] summary::after { transform: rotate(45deg); }
.mobile-nav details ul { list-style: none; margin: 0 0 14px; padding: 0; }
.mobile-nav details li a { display: block; padding: 10px 4px; color: var(--on-dark-mid); text-decoration: none; }
.mobile-nav .m-group { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-pale); margin: 14px 4px 4px; }
.mobile-nav > a { display: flex; align-items: center; min-height: 56px; border-bottom: 1px solid var(--line-dark); color: var(--on-dark); text-decoration: none; font-family: var(--font-display); font-size: 1.35rem; }
.mobile-nav .m-actions { display: grid; gap: 12px; margin-top: 24px; }

/* ---------- Dark aurora surfaces ---------- */
.surface-dark, .page-hero, .hero-home, .cta-band, .blog-hero {
  position: relative; isolation: isolate; color: var(--on-dark); background: var(--grad-dark); overflow: hidden;
}
.aurora, .page-hero::before, .blog-hero::before, .cta-band::before {
  content: ""; position: absolute; inset: -20% -10% auto -10%; height: 140%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(40% 50% at 18% 30%, rgba(196, 146, 13, .30), transparent 70%),
    radial-gradient(35% 45% at 82% 18%, rgba(231, 183, 163, .20), transparent 70%),
    radial-gradient(45% 55% at 60% 90%, rgba(154, 105, 15, .28), transparent 70%);
  filter: blur(10px); animation: aurora 22s ease-in-out infinite alternate;
}
.page-hero::after, .hero-home::after, .blog-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(232, 201, 122, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(232, 201, 122, .07) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(70% 60% at 50% 40%, #000 20%, transparent 80%); -webkit-mask-image: radial-gradient(70% 60% at 50% 40%, #000 20%, transparent 80%);
}
@keyframes aurora { 0% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(3%, -4%, 0) scale(1.06); } 100% { transform: translate3d(-3%, 3%, 0) scale(1.02); } }

.eyebrow, .hero-badge, .section-label, .section-tag {
  display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-sans); font-size: .76rem; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px;
}
.eyebrow::before, .section-label::before, .section-tag::before { content: ""; width: 26px; height: 1px; background: currentColor; opacity: .8; }
.surface-dark .eyebrow, .page-hero .hero-badge, .hero-home .eyebrow, .cta-band .eyebrow { color: var(--gold-pale); }
.hero-badge { padding: 8px 16px; border-radius: var(--radius-pill); border: 1px solid var(--line-dark); background: rgba(255, 255, 255, .04); backdrop-filter: blur(8px); letter-spacing: .14em; }
.hero-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-pale); box-shadow: 0 0 10px 2px rgba(232, 201, 122, .8); }

/* ---------- Content-page hero (all inner pages) ---------- */
.page-hero { padding: calc(var(--header-h) + clamp(48px, 8vw, 96px)) 0 clamp(56px, 8vw, 96px); }
.page-hero .container { position: relative; }
.page-hero .container > * { max-width: 860px; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: .86rem; color: var(--on-dark-soft); margin-bottom: 26px; }
.breadcrumb a { color: var(--on-dark-mid); text-decoration: none; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span, .breadcrumb li { color: var(--on-dark-soft); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 10px; margin: 0; padding: 0; }
.breadcrumb li + li::before { content: "›"; margin-right: 10px; color: var(--gold-pale); }
.page-hero h1, .hero-title { color: #fff; font-size: clamp(2.1rem, 5vw, 3.8rem); margin-bottom: .45em; }
.page-hero h1 em, .hero-title em, .hero-title-gold { font-style: italic; background: var(--grad-gold-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.page-hero p, .hero-subtitle { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--on-dark-mid); max-width: 720px; }
.page-hero p strong, .hero-subtitle strong { color: #fff !important; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.page-hero .btn-outline, .page-hero .btn-white { border-color: rgba(232, 201, 122, .55); color: var(--on-dark); background: rgba(255, 255, 255, .04); box-shadow: none; }
.page-hero .btn-outline:hover, .page-hero .btn-white:hover { color: #fff; border-color: var(--gold-pale); background: rgba(255, 255, 255, .09); }
.page-hero [style*="color:var(--gold)"], .page-hero [style*="color: var(--gold)"] { color: var(--gold-pale) !important; }
.page-hero [style*="text-light"], .page-hero [style*="text-mid"] { color: var(--on-dark-soft) !important; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; font-size: .9rem; color: var(--on-dark-soft); }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--gold-pale); }

/* ---------- Sections & article body ---------- */
main { display: block; }
section { position: relative; }
.section { padding-block: var(--section-y); }
.section-alt, .content-section-alt { background: var(--pearl); }
.content-section, .content-section-alt { padding-block: clamp(56px, 7vw, 96px); }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p, .section-subtitle { font-size: 1.12rem; color: var(--text-mid); }
.section-title { font-size: clamp(1.8rem, 3.6vw, 2.9rem); }

.article-body, .prose { max-width: 780px; margin-inline: auto; padding-block: clamp(48px, 7vw, 88px); }
main > .container > .article-body:first-child, main .article-body { padding-top: clamp(40px, 6vw, 72px); }
.article-body h2, .prose h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); margin-top: 1.8em; padding-top: .9em; position: relative; }
.article-body h2::before, .prose h2::before { content: ""; position: absolute; top: 0; left: 0; width: 48px; height: 2px; background: var(--grad-gold); border-radius: 2px; }
.article-body h2:first-child, .prose h2:first-child { margin-top: 0; }
.article-body h3, .prose h3 { margin-top: 1.6em; }
.article-body ul, .prose ul { list-style: none; padding-left: 0; }
.article-body ul li, .prose ul li { position: relative; padding-left: 1.6em; margin-bottom: .55em; }
.article-body ul li::before, .prose ul li::before { content: ""; position: absolute; left: .2em; top: .72em; width: 8px; height: 8px; border-radius: 50%; background: var(--grad-gold); box-shadow: 0 0 0 3px rgba(196, 146, 13, .14); }
.article-body ol li, .prose ol li { margin-bottom: .55em; padding-left: .3em; }
.article-body ol li::marker, .prose ol li::marker { color: var(--gold); font-weight: 600; }
.article-body img, .prose img { border-radius: var(--radius); box-shadow: var(--shadow); margin: 1.6em 0; }
.article-body blockquote { margin: 1.8em 0; padding: 1.2em 1.6em; border-left: 3px solid var(--gold-light); background: #fff; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-family: var(--font-display); font-size: 1.2rem; }

.info-box, .answer-box {
  position: relative; margin: 1.8em 0; padding: 1.4em 1.6em 1.4em 1.8em; border-radius: var(--radius);
  background: linear-gradient(135deg, #FFFFFF 0%, #FFF4E6 100%); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.info-box::before, .answer-box::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 3px; border-radius: 3px; background: var(--grad-gold); }
.answer-box { background: linear-gradient(135deg, #FFFDF8, #F8EEDF); }
.info-box p:last-child, .answer-box p:last-child { margin-bottom: 0; }

.benefit-grid, .treatment-grid, .zones-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; margin: 1.8em 0; }
.benefit-card, .treatment-card, .zone-card, .service-mini, .sidebar-card {
  position: relative; padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset, var(--shadow); transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.benefit-card:hover, .treatment-card:hover, .zone-card:hover, .service-mini:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(196, 146, 13, .35); }
.benefit-card h3, .benefit-card h4, .treatment-card h3, .zone-card h3 { font-size: 1.18rem; margin: 0 0 .45em; }
.benefit-card p, .treatment-card p, .zone-card p, .service-mini p { font-size: .97rem; color: var(--text-mid); margin: 0; }
.benefit-card > div:first-child:not(:only-child), .benefit-icon { font-size: 1.6rem; margin-bottom: 10px; }

.comparison-table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 1.8em 0; font-size: .96rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.comparison-table th, .comparison-table td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.comparison-table thead th { background: var(--dark); color: var(--on-dark); font-weight: 600; font-size: .86rem; letter-spacing: .04em; }
.comparison-table tbody tr:last-child td { border-bottom: 0; }
.comparison-table tbody tr:nth-child(even) td { background: #FFFBF6; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 1.8em 0; border-radius: var(--radius); }
.table-wrap .comparison-table { margin: 0; min-width: 560px; }
.tag-green, .tag-warn, .zone-tag { display: inline-flex; align-items: center; padding: 4px 12px; border-radius: var(--radius-pill); font-size: .82rem; font-weight: 600; }
.tag-green { background: #E7F5EC; color: #1E6B3A; }
.tag-warn { background: #FFF1DE; color: #8A4B00; }
.zone-tag { background: #fff; border: 1px solid var(--line); color: var(--text-mid); margin: 0 6px 8px 0; }

.cta-box {
  position: relative; isolation: isolate; overflow: hidden; margin: 2.4em 0; padding: clamp(28px, 4vw, 44px); border-radius: var(--radius-lg);
  background: var(--grad-dark); color: var(--on-dark); box-shadow: var(--shadow-lg); text-align: left;
}
.cta-box::before { content: ""; position: absolute; inset: -40% -20% auto auto; width: 70%; height: 180%; z-index: -1; background: radial-gradient(closest-side, rgba(196, 146, 13, .4), transparent); }
.cta-box h2, .cta-box h3 { color: #fff; margin-top: 0; padding-top: 0; }
.cta-box h2::before, .cta-box h3::before { display: none; }
.cta-box p { color: var(--on-dark-mid); }
.cta-box .btn-white, .cta-box .btn-outline { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(232, 201, 122, .5); box-shadow: none; }
.cta-box [style*="color:var(--gold)"], .cta-box [style*="text-light"] { color: var(--gold-pale) !important; }
.cta-section { padding-block: var(--section-y); }

.distance-box { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin: 1.6em 0; }
.dist-item { padding: 18px; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--line); text-align: center; }
.dist-time { display: block; font-family: var(--font-display); font-size: 1.6rem; color: var(--gold); }
.dist-label { font-size: .9rem; color: var(--text-mid); }

/* ---------- FAQ accordion (works with legacy .faq-item markup) ---------- */
.faq-list, .faq-wide { max-width: 860px; margin: 1.6em auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-of-type { border-top: 1px solid var(--line); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 4px; margin: 0;
  background: none; border: 0; text-align: left; font-family: var(--font-display); font-size: clamp(1.05rem, 1.6vw, 1.22rem); font-weight: 500; color: var(--text); cursor: pointer; line-height: 1.35;
}
.faq-q::after { content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239A690F' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center/14px no-repeat; transition: transform var(--transition), background-color var(--transition); }
.faq-item.open .faq-q::after, .faq-q[aria-expanded="true"]::after { transform: rotate(45deg); background-color: var(--cream-dark); }
.faq-arrow { display: none !important; }
.faq-a { display: none; padding: 0 4px 22px; color: var(--text-mid); }
.faq-item.open .faq-a { display: block; animation: fadeUp .35s ease; }
.faq-a p:last-child { margin-bottom: 0; }
.surface-dark .faq-item, .surface-dark .faq-item:first-of-type { border-color: var(--line-dark); }
.surface-dark .faq-q { color: var(--on-dark); }
.surface-dark .faq-q::after { background-color: transparent; border-color: var(--line-dark); }
.surface-dark .faq-a { color: var(--on-dark-mid); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- Home: hero ---------- */
.hero-home { min-height: min(100svh, 920px); display: flex; align-items: center; padding: calc(var(--header-h) + 40px) 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-home h1 { color: #fff; font-size: clamp(2.5rem, 6vw, 4.9rem); line-height: 1.03; margin-bottom: 22px; }
.hero-lead { font-size: clamp(1.08rem, 1.7vw, 1.28rem); color: var(--on-dark-mid); max-width: 600px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 12px 26px; margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line-dark); font-size: .93rem; color: var(--on-dark-mid); }
.hero-trust a { color: var(--on-dark); text-decoration: none; }
.hero-trust a:hover { color: var(--gold-pale); }
.hero-trust .stars { color: var(--gold-pale); letter-spacing: 2px; }
.hero-visual { position: relative; }
.hero-frame { position: relative; border-radius: 32px; overflow: hidden; aspect-ratio: 4 / 5; box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .9), 0 0 0 1px rgba(232, 201, 122, .22); }
.hero-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(18, 12, 8, .65)); }
.scanline { position: absolute; left: 0; right: 0; top: 0; height: 2px; z-index: 2; background: linear-gradient(90deg, transparent, rgba(243, 217, 164, .95), transparent); box-shadow: 0 0 18px 4px rgba(232, 201, 122, .55); animation: scan 5.5s cubic-bezier(.45, 0, .55, 1) infinite; }
@keyframes scan { 0% { transform: translateY(0); opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { transform: translateY(var(--scan-h, 560px)); opacity: 0; } }
.chip {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 16px;
  background: rgba(20, 14, 10, .62); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--line-dark);
  color: var(--on-dark); font-size: .86rem; line-height: 1.25; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .8);
}
.chip strong { display: block; font-family: var(--font-display); font-size: 1.25rem; font-weight: 500; color: #fff; }
.chip .dot { width: 10px; height: 10px; border-radius: 50%; flex: none; box-shadow: 0 0 12px 3px currentColor; }
.chip-a { left: -26px; top: 16%; } .chip-a .dot { color: #E8C97A; background: #E8C97A; }
.chip-b { right: -18px; top: 46%; } .chip-b .dot { color: #E7B7A3; background: #E7B7A3; }
.chip-c { left: 8%; bottom: 7%; }

/* ---------- Trust bar ---------- */
.trust-bar { background: var(--dark-mid); color: var(--on-dark-mid); border-block: 1px solid var(--line-dark); }
.trust-items { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.trust-item { display: flex; align-items: center; gap: 14px; padding: 22px 18px; border-right: 1px solid var(--line-dark); font-size: .93rem; line-height: 1.35; }
.trust-item:last-child { border-right: 0; }
.trust-item svg { width: 28px; height: 28px; flex: none; color: var(--gold-pale); }
.trust-item strong { display: block; color: var(--on-dark); font-weight: 600; }

/* ---------- Bento services ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.bento-card {
  position: relative; isolation: isolate; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 34px);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.bento-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(196, 146, 13, .35); }
.bento-card.span-4 { grid-column: span 4; } .bento-card.span-3 { grid-column: span 3; } .bento-card.span-2 { grid-column: span 2; }
.bento-card.is-dark { background: var(--grad-dark); color: var(--on-dark); border-color: var(--line-dark); }
.bento-card.is-dark::before { content: ""; position: absolute; inset: auto -30% -50% auto; width: 90%; height: 120%; z-index: -1; background: radial-gradient(closest-side, rgba(196, 146, 13, .38), transparent); }
.bento-card.has-media { padding: 0; background: var(--grad-dark); color: var(--on-dark); border-color: var(--line-dark); }
.bento-card.has-media img { width: 100%; height: clamp(200px, 22vw, 280px); object-fit: cover; object-position: center 30%; }
.bento-card.has-media .bento-body { padding: clamp(24px, 3vw, 34px); flex: 1; display: flex; flex-direction: column; }
.bento-card h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); margin-bottom: .35em; }
.bento-card .kicker { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; color: var(--gold); margin-bottom: 10px; }
.bento-card.is-dark .kicker, .bento-card.has-media .kicker { color: var(--gold-pale); }
.bento-card p { color: var(--text-mid); }
.bento-card.is-dark p, .bento-card.has-media p { color: var(--on-dark-mid); }
.svc-list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 2px; }
.svc-list a { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); color: inherit; text-decoration: none; }
.bento-card.is-dark .svc-list a, .bento-card.has-media .svc-list a { border-top-color: var(--line-dark); }
.svc-list a strong { font-weight: 600; }
.svc-list a span { grid-column: 1; font-size: .88rem; color: var(--text-light); line-height: 1.4; }
.bento-card.is-dark .svc-list a span, .bento-card.has-media .svc-list a span { color: var(--on-dark-soft); }
.svc-list a::after { content: "→"; grid-row: 1 / span 2; grid-column: 2; color: var(--gold); transition: transform var(--transition); }
.bento-card.is-dark .svc-list a::after, .bento-card.has-media .svc-list a::after { color: var(--gold-pale); }
.svc-list a:hover::after { transform: translateX(4px); }
.bento-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: auto; padding-top: 22px; }

/* ---------- AI advisor panel ---------- */
.ai-section { background: var(--grad-dark); color: var(--on-dark); overflow: hidden; isolation: isolate; }
.ai-section .aurora { opacity: .9; }
.ai-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.ai-points { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.ai-points li { display: flex; gap: 14px; align-items: flex-start; color: var(--on-dark-mid); }
.ai-points li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 3px; border-radius: 50%; background: radial-gradient(circle, #F3D9A4 0 30%, rgba(243, 217, 164, .15) 32%); box-shadow: 0 0 14px rgba(232, 201, 122, .5); }
.ai-disclaimer { font-size: .82rem; color: var(--on-dark-soft); margin-top: 18px; }
.ai-console {
  position: relative; border-radius: var(--radius-lg); padding: 2px; background: linear-gradient(140deg, rgba(243, 217, 164, .6), rgba(196, 146, 13, .15) 40%, rgba(231, 183, 163, .45));
  box-shadow: 0 60px 120px -50px rgba(0, 0, 0, .9);
}
.ai-console-inner { border-radius: calc(var(--radius-lg) - 2px); background: rgba(16, 11, 8, .92); backdrop-filter: blur(20px); padding: clamp(22px, 3vw, 32px); min-height: 420px; }
.ai-console-head { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--line-dark); }
.ai-orb { width: 36px; height: 36px; border-radius: 50%; flex: none; background: radial-gradient(circle at 35% 30%, #FFF3D6, #E8C97A 30%, #9A690F 70%); box-shadow: 0 0 24px rgba(232, 201, 122, .7); animation: orb 4s ease-in-out infinite; }
@keyframes orb { 50% { box-shadow: 0 0 40px rgba(232, 201, 122, .95); transform: scale(1.05); } }
.ai-console-head strong { display: block; color: #fff; font-weight: 600; }
.ai-console-head span { font-size: .82rem; color: var(--on-dark-soft); }

/* ---------- Technology / spectrum ---------- */
.tech-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.tech-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 5; }
.tech-media img { width: 100%; height: 100%; object-fit: cover; }
.spectrum { margin: 28px 0; }
.spectrum-bar { position: relative; height: 12px; border-radius: 12px; background: linear-gradient(90deg, #6C4AB6 0%, #3B7DD8 16%, #2FA86B 32%, #E6C84B 48%, #E07B39 62%, #B3261E 76%, #5A1010 88%, #2A0707 100%); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); }
.spectrum-mark { position: absolute; top: -9px; width: 2px; height: 30px; background: var(--dark); }
.spectrum-mark::after { content: attr(data-nm); position: absolute; top: 36px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: .8rem; font-weight: 600; color: var(--gold-dark); }
.spectrum-labels { display: flex; justify-content: space-between; font-size: .75rem; color: var(--text-light); margin-top: 38px; }
.laser-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 8px; }
.laser-card { padding: 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.laser-card .nm { font-family: var(--font-display); font-size: 2rem; color: var(--gold); line-height: 1; }
.laser-card h3 { font-size: 1.15rem; margin: 8px 0 6px; }
.laser-card p { font-size: .93rem; color: var(--text-mid); margin: 0; }
.laser-card-badge { display: inline-block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--gold-dark); background: var(--cream-dark); padding: 4px 10px; border-radius: var(--radius-pill); }

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.steps li { position: relative; padding: 28px 24px 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); counter-increment: step; }
.steps li::before { content: "0" counter(step); display: block; font-family: var(--font-display); font-size: 2.4rem; line-height: 1; background: var(--grad-gold-text); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 14px; }
.steps h3 { font-size: 1.2rem; margin-bottom: .4em; }
.steps p { font-size: .96rem; color: var(--text-mid); margin: 0; }

/* ---------- Packs / offer ---------- */
.offer {
  position: relative; isolation: isolate; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(32px, 5vw, 60px);
  background: linear-gradient(120deg, #FFF3DF 0%, #F6E1B3 45%, #EBCB86 100%); color: var(--dark);
  display: grid; grid-template-columns: 1.3fr .7fr; gap: 32px; align-items: center; box-shadow: var(--shadow-lg);
}
.offer::after { content: ""; position: absolute; inset: -40% -10% auto auto; width: 50%; height: 200%; z-index: -1; background: radial-gradient(closest-side, rgba(255, 255, 255, .8), transparent); }
.offer h2 { margin-bottom: .3em; }
.offer p { color: #4A3726; margin: 0; }
.offer .big { font-family: var(--font-display); font-size: clamp(3.4rem, 8vw, 6rem); line-height: .9; color: var(--gold-dark); text-align: center; }
.offer .big small { display: block; font-family: var(--font-sans); font-size: .95rem; letter-spacing: .1em; text-transform: uppercase; margin-top: 10px; color: #4A3726; }

/* ---------- Reviews ---------- */
.reviews-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 32px; }
.rating-pill { display: inline-flex; align-items: center; gap: 12px; padding: 12px 20px; border-radius: var(--radius-pill); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); text-decoration: none; color: var(--text); }
.rating-pill .score { font-family: var(--font-display); font-size: 1.7rem; line-height: 1; }
.rating-pill .stars { color: var(--gold-light); letter-spacing: 2px; }
.reviews-embed { min-height: 320px; border-radius: var(--radius-lg); }
.reviews-placeholder { display: grid; place-items: center; min-height: 260px; border: 1px dashed var(--line); border-radius: var(--radius-lg); color: var(--text-light); text-align: center; padding: 24px; }

/* ---------- Location ---------- */
.location-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px; align-items: stretch; }
.location-card { padding: clamp(26px, 4vw, 40px); border-radius: var(--radius-lg); background: var(--grad-dark); color: var(--on-dark); box-shadow: var(--shadow-lg); }
.location-card h3 { color: #fff; }
.location-card dl { margin: 0; display: grid; gap: 18px; }
.location-card dt { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-pale); font-weight: 600; margin-bottom: 4px; }
.location-card dd { margin: 0; color: var(--on-dark-mid); }
.location-card a { color: var(--on-dark); }
.hours { display: grid; grid-template-columns: auto auto; gap: 2px 18px; justify-content: start; }
.map-slot { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 380px; background: #E9DFD2 center/cover no-repeat; border: 1px solid var(--line); box-shadow: var(--shadow); display: grid; place-items: center; text-align: center; }
.map-slot iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-consent { position: relative; z-index: 1; max-width: 360px; padding: 26px; border-radius: var(--radius); background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); box-shadow: var(--shadow); }
.map-consent p { font-size: .88rem; color: var(--text-mid); }

/* ---------- CTA band ---------- */
.cta-band { padding-block: clamp(64px, 9vw, 110px); text-align: center; }
.cta-band h2 { color: #fff; max-width: 820px; margin-inline: auto; }
.cta-band p { color: var(--on-dark-mid); max-width: 640px; margin-inline: auto; font-size: 1.12rem; }
.cta-band .hero-actions { justify-content: center; }

/* ---------- Services hub ---------- */
.hub-nav { position: sticky; top: var(--header-h); z-index: 50; background: rgba(255, 248, 241, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.hub-nav ul { list-style: none; margin: 0; padding: 12px 0; display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; }
.hub-nav a { display: inline-flex; align-items: center; min-height: 42px; padding: 0 18px; border-radius: var(--radius-pill); border: 1px solid var(--line); background: #fff; color: var(--text); text-decoration: none; font-weight: 500; white-space: nowrap; }
.hub-nav a:hover { border-color: var(--gold); color: var(--gold-dark); }
.hub-category { padding-block: clamp(56px, 8vw, 96px); }
.hub-category + .hub-category { border-top: 1px solid var(--line); }
.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.svc-card {
  position: relative; display: flex; flex-direction: column; padding: 28px; border-radius: var(--radius-lg); background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(196, 146, 13, .35); }
.svc-card .kicker { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--gold); margin-bottom: 8px; }
.svc-card h3 { font-size: 1.5rem; margin-bottom: .4em; }
.svc-card .hook { font-weight: 500; color: var(--text); margin-bottom: .7em; }
.svc-card p { color: var(--text-mid); font-size: .98rem; }
.svc-facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 18px; padding: 0; list-style: none; }
.svc-facts li { font-size: .8rem; padding: 5px 12px; border-radius: var(--radius-pill); background: var(--pearl); border: 1px solid var(--line); color: var(--text-mid); }
.svc-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 8px; }
.svc-actions .btn { min-height: 44px; padding: .6em 1.2em; font-size: .93rem; }
.svc-card.is-featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; padding: 0; overflow: hidden; background: var(--grad-dark); color: var(--on-dark); border-color: var(--line-dark); }
.svc-card.is-featured .svc-body { padding: clamp(28px, 4vw, 44px); display: flex; flex-direction: column; }
.svc-card.is-featured h3 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.4rem); }
.svc-card.is-featured .hook { color: var(--on-dark); }
.svc-card.is-featured p { color: var(--on-dark-mid); }
.svc-card.is-featured .kicker { color: var(--gold-pale); }
.svc-card.is-featured .svc-facts li { background: rgba(255, 255, 255, .05); border-color: var(--line-dark); color: var(--on-dark-mid); }
.svc-card.is-featured .svc-media { position: relative; min-height: 320px; }
.svc-card.is-featured .svc-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Blog index ---------- */
.blog-hero { padding: calc(var(--header-h) + 64px) 0 72px; text-align: center; }
.blog-hero h1 { color: #fff; }
.blog-hero p { color: var(--on-dark-mid); max-width: 680px; margin-inline: auto; }
.blog-grid-section { padding-block: clamp(48px, 7vw, 88px); }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; margin-bottom: 48px; }
.blog-section-title { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 8px 0 22px; }
.blog-section-divider { height: 1px; background: var(--line); margin: 8px 0 40px; border: 0; }
.blog-card { display: flex; flex-direction: column; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; text-decoration: none; color: var(--text); transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition); }
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(196, 146, 13, .35); color: var(--text); }
.blog-card-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.blog-card-tag { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--gold); margin-bottom: 10px; }
.blog-card-title { font-family: var(--font-display); font-size: 1.3rem; line-height: 1.25; margin: 0 0 10px; color: var(--text); }
.blog-card-desc { font-size: .95rem; color: var(--text-mid); flex: 1; }
.blog-card-read { font-weight: 600; color: var(--gold); margin-top: 14px; font-size: .92rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: var(--on-dark-soft); padding: clamp(56px, 8vw, 88px) 0 32px; position: relative; overflow: hidden; isolation: isolate; }
.site-footer::before { content: ""; position: absolute; inset: auto -20% -60% -20%; height: 120%; z-index: -1; background: radial-gradient(40% 40% at 20% 30%, rgba(154, 105, 15, .18), transparent 70%); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.1fr; gap: 36px; }
.footer-brand p { font-size: .95rem; margin: 16px 0 20px; max-width: 320px; }
.site-footer h2 { font-family: var(--font-sans); font-size: .74rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-pale); margin: 6px 0 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--on-dark-mid); text-decoration: none; font-size: .95rem; }
.site-footer a:hover { color: #fff; }
.footer-hours { display: grid; grid-template-columns: auto auto; gap: 4px 16px; font-size: .9rem; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-dark); color: var(--on-dark-mid); }
.footer-social a:hover { border-color: var(--gold-pale); color: var(--gold-pale); }
.footer-social svg { width: 18px; height: 18px; }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line-dark); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; }
.footer-bottom nav { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------- Floating actions & mobile CTA ---------- */
.fab-stack { position: fixed; right: 20px; bottom: 22px; z-index: 90; display: flex; flex-direction: column; gap: 12px; align-items: flex-end; }
.fab { display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 20px 0 16px; border-radius: var(--radius-pill); border: 0; text-decoration: none; font-weight: 600; font-size: .95rem; box-shadow: 0 18px 40px -14px rgba(0, 0, 0, .55); transition: transform var(--transition), box-shadow var(--transition); }
.fab:hover { transform: translateY(-3px); }
.fab svg { width: 24px; height: 24px; flex: none; }
.fab-wa { background: #1FAF5A; color: #fff; }
.fab-ig { width: 56px; padding: 0; justify-content: center; color: #fff; background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.fab-ig:hover { color: #fff; }
.fab-ig svg { width: 26px; height: 26px; }
.fab-wa:hover { color: #fff; }
.fab-ai { background: rgba(18, 12, 8, .92); color: var(--on-dark); border: 1px solid rgba(232, 201, 122, .45); backdrop-filter: blur(10px); }
.fab-ai .ai-orb { width: 24px; height: 24px; }
.mobile-cta { display: none; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Legal pages ---------- */
.legal { max-width: 820px; margin-inline: auto; padding-block: clamp(48px, 7vw, 88px); }
.legal h2 { font-size: 1.6rem; margin-top: 1.6em; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .main-nav, .header-phone { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-cta { margin-left: auto; }
  .header-cta + .menu-toggle { margin-left: 0; }
  .mega-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  :root { --header-h: 64px; }
  body { font-size: 1.02rem; }
  .hero-grid, .ai-grid, .tech-grid, .location-grid, .offer { grid-template-columns: 1fr; }
  .hero-home { min-height: auto; padding-top: calc(var(--header-h) + 28px); }
  .hero-visual { max-width: 460px; margin-inline: auto; width: 100%; }
  .chip-a { left: -6px; } .chip-b { right: -6px; }
  .trust-items { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line-dark); }
  .bento-card.span-4, .bento-card.span-3, .bento-card.span-2 { grid-column: 1 / -1; }
  .steps { grid-template-columns: 1fr 1fr; }
  .svc-card.is-featured { grid-template-columns: 1fr; }
  .svc-card.is-featured .svc-media { min-height: 240px; order: -1; }
  .laser-cards { grid-template-columns: 1fr; }
  .fab-stack { display: none; }
  .mobile-cta {
    display: grid; grid-template-columns: 1fr 1.3fr 1fr 1fr; gap: 6px; position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 90;
    padding: 8px; border-radius: 22px; background: rgba(18, 12, 8, .9); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid var(--line-dark); box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .8);
  }
  .mobile-cta a, .mobile-cta button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 52px; border-radius: 16px; border: 0; background: transparent; color: var(--on-dark); text-decoration: none; font-size: .74rem; font-weight: 600; }
  .mobile-cta svg { width: 22px; height: 22px; }
  .mobile-cta .is-primary { background: #1FAF5A; color: #fff; font-size: .82rem; }
  .mobile-cta .ai-orb { width: 22px; height: 22px; }
  .site-footer { padding-bottom: 110px; }
}
@media (max-width: 600px) {
  .container { width: min(var(--container), 100% - 32px); }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .btn { white-space: normal; text-align: center; }
  .brand-logo { height: 38px; }
  .header-cta .btn { display: none; }
  .comparison-table { font-size: .88rem; }
  .comparison-table th, .comparison-table td { padding: 10px 12px; }
  .chip { font-size: .78rem; padding: 10px 12px; }
  .chip strong { font-size: 1.05rem; }
  .svc-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .scanline { display: none; }
}
@media print {
  .site-header, .site-footer, .fab-stack, .mobile-cta, .mega, .mobile-nav { display: none !important; }
  .page-hero, .hero-home { color: #000; background: none; padding-top: 0; }
  .page-hero h1, .hero-home h1 { color: #000; }
}

/* ---------- Page-hero photography by treatment family (set by tools/migrate-content.mjs) ---------- */
.page-hero[class*="hero-img-"] {
  background: linear-gradient(100deg, rgba(14, 9, 6, .97) 0%, rgba(14, 9, 6, .9) 42%, rgba(14, 9, 6, .55) 100%), var(--hero-img) right center / cover no-repeat, var(--grad-dark);
}
.hero-img-laser { --hero-img: url("/images/opt/laser-brazo-700.webp"); }
.hero-img-facial { --hero-img: url("/images/opt/facial-piel-1125.webp"); }
.hero-img-body { --hero-img: url("/images/opt/corporal-bienestar-1200.webp"); }
.hero-img-diverse { --hero-img: url("/images/opt/piel-diversa-700.webp"); }
.hero-img-tech { --hero-img: url("/images/opt/laser-brazo-700.webp"); }
@supports (background-image: image-set(url("x.avif") type("image/avif"))) {
  .hero-img-laser { --hero-img: image-set(url("/images/opt/laser-brazo-700.avif") type("image/avif"), url("/images/opt/laser-brazo-700.webp") type("image/webp")); }
  .hero-img-facial { --hero-img: image-set(url("/images/opt/facial-piel-1125.avif") type("image/avif"), url("/images/opt/facial-piel-1125.webp") type("image/webp")); }
  .hero-img-body { --hero-img: image-set(url("/images/opt/corporal-bienestar-1200.avif") type("image/avif"), url("/images/opt/corporal-bienestar-1200.webp") type("image/webp")); }
  .hero-img-diverse { --hero-img: image-set(url("/images/opt/piel-diversa-700.avif") type("image/avif"), url("/images/opt/piel-diversa-700.webp") type("image/webp")); }
  .hero-img-tech { --hero-img: image-set(url("/images/opt/laser-brazo-700.avif") type("image/avif"), url("/images/opt/laser-brazo-700.webp") type("image/webp")); }
}
@media (max-width: 900px) {
  .page-hero[class*="hero-img-"] { background: linear-gradient(180deg, rgba(14, 9, 6, .82) 0%, rgba(14, 9, 6, .94) 60%), var(--hero-img) center / cover no-repeat, var(--grad-dark); }
}

/* ---------- Single-page legacy components (kept styled after removing per-page <style> blocks) ---------- */
.service-cards, .services-grid, .treatments-grid, .checklist-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin: 1.8em 0; }
.service-card { padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.service-card h3 { font-size: 1.2rem; margin-bottom: .4em; }
.related-links { display: flex; flex-wrap: wrap; gap: 10px; margin: 1.6em 0; padding: 0; list-style: none; }
.related-links a { display: inline-flex; padding: 8px 16px; border-radius: var(--radius-pill); border: 1px solid var(--line); background: #fff; text-decoration: none; }
.legal-updated, .meta-info, .meta-item { font-size: .88rem; color: var(--text-light); }
.meta-info { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 1.4em; }
.machine-showcase { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin: 1.8em 0; }
.machine-showcase img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); margin: 0; }
.checklist-block, .warning-box, .verdict-box { margin: 1.8em 0; padding: 1.4em 1.6em; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.warning-box { background: #FFF6EA; border-color: rgba(138, 75, 0, .25); }
.verdict-box { background: var(--grad-dark); color: var(--on-dark); border-color: var(--line-dark); }
.verdict-box h2, .verdict-box h3 { color: #fff; padding-top: 0; }
.verdict-box h2::before, .verdict-box h3::before { display: none; }
.verdict-box p { color: var(--on-dark-mid); }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; padding-left: 0 !important; }
.checklist li::before { display: none !important; }
.check-icon, .check-yes, .check-no, .yes, .no { flex: none; font-weight: 700; }
.check-yes, .yes { color: #1E6B3A; }
.check-no, .no { color: #9B2C1C; }
.partial, .tag-mid { color: #8A4B00; }
.tag, .tag-mid { display: inline-flex; padding: 3px 10px; border-radius: var(--radius-pill); font-size: .8rem; font-weight: 600; background: var(--cream-dark); }
.badge-tecnica, .badge-analitica, .badge-terceros, .cookie-type-badge { display: inline-flex; padding: 3px 10px; border-radius: var(--radius-pill); font-size: .78rem; font-weight: 600; background: var(--cream-dark); color: var(--text-mid); }
.zone-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: .88rem; color: var(--text-light); }
.skin-row { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.skin-swatch { width: 44px; height: 44px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1); }
.skin-laser { font-weight: 600; color: var(--gold-dark); font-size: .92rem; }
.toc { margin: 1.6em 0; padding: 1.2em 1.4em; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.toc ol, .toc ul { margin: .4em 0 0; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; align-items: start; }
.sidebar { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 16px; }
.steps-list { counter-reset: s; list-style: none; padding: 0; }
.steps-list li { counter-increment: s; position: relative; padding-left: 3em !important; margin-bottom: 1em; }
.steps-list li::before { content: counter(s) !important; position: absolute; left: 0; top: 0 !important; width: 2em !important; height: 2em !important; border-radius: 50%; display: grid; place-items: center; background: var(--grad-gold) !important; color: #1A0F05; font-weight: 700; font-size: .9rem; box-shadow: none !important; }
@media (max-width: 900px) { .article-layout { grid-template-columns: 1fr; } .sidebar { position: static; } }
.map-slot-sm { min-height: 260px; margin: 1.4em 0; }
.map-consent a { display: inline-block; margin-left: 12px; font-weight: 600; }

/* ---------- Real photos: technology + clinic gallery ---------- */
.tech-media-machine { aspect-ratio: 2 / 3; max-width: 520px; width: 100%; justify-self: center; background: #F3F0EC; }
.clinic-gallery { display: grid; grid-template-columns: 1.1fr 1fr; grid-template-rows: auto auto; gap: 18px; }
.clinic-gallery figure { position: relative; margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.clinic-gallery figure.g-tall { grid-row: span 2; }
.clinic-gallery img { width: 100%; height: 100%; object-fit: cover; }
.clinic-gallery figure:not(.g-tall) { aspect-ratio: 16 / 10; }
.clinic-gallery figcaption { position: absolute; left: 14px; bottom: 14px; padding: 6px 14px; border-radius: var(--radius-pill); background: rgba(18, 12, 8, .72); color: var(--on-dark); font-size: .85rem; backdrop-filter: blur(8px); }
@media (max-width: 700px) { .clinic-gallery { grid-template-columns: 1fr; } .clinic-gallery figure.g-tall { grid-row: auto; aspect-ratio: 3 / 4; } }
.clinic-gallery figure.g-tall img { position: absolute; inset: 0; }

/* ---------- Bento v2: category titles first, full lists, compact advisor card ---------- */
.bento-card h3 a { color: inherit; text-decoration: none; }
.bento-card h3 a:hover { color: var(--gold); }
.bento-card.is-dark h3 a:hover, .bento-card.has-media h3 a:hover { color: var(--gold-pale); }
.bento-sub { font-family: var(--font-display); font-style: italic; font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--gold); margin: -.15em 0 .9em; }
.bento-card.is-dark .bento-sub, .bento-card.has-media .bento-sub { color: var(--gold-pale); }
.svc-list.compact { grid-template-columns: 1fr 1fr; column-gap: 22px; }
.svc-list.compact a { padding: 10px 0; }
.bento-advisor { justify-content: center; }
.bento-advisor .bento-cta { margin-top: 20px; padding-top: 0; }
.skin-scale { display: flex; gap: 8px; margin: 14px 0 8px; flex-wrap: wrap; }
.skin-scale span { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-size: .72rem; font-weight: 600; box-shadow: 0 0 0 2px rgba(255, 255, 255, .08), 0 6px 14px -6px rgba(0, 0, 0, .6); }
.skin-caption { font-size: .88rem; color: var(--on-dark-soft) !important; margin: 0; }
@media (max-width: 600px) { .svc-list.compact { grid-template-columns: 1fr; } }

/* ---------- Candela page photo pairs ---------- */
.machine-showcase { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.machine-showcase > picture { display: block; }
.machine-showcase img { aspect-ratio: 3 / 4; box-shadow: var(--shadow); }
@media (max-width: 600px) { .machine-showcase { grid-template-columns: 1fr; } }
/* "Tratamientos" link + chevron behave as one pill */
.has-mega { border-radius: var(--radius-pill); transition: background var(--transition); }
.has-mega:hover, .has-mega:focus-within, .has-mega:has(.nav-trigger[aria-expanded="true"]) { background: rgba(255, 255, 255, .07); }
.main-nav .has-mega > .nav-mega-link, .main-nav .has-mega > .nav-trigger { background: none; }
.main-nav .has-mega > .nav-mega-link:hover, .main-nav .has-mega > .nav-trigger:hover { color: #fff; }
.mega-col a { padding: 6px 10px; }

/* ---------- Laser tiers: Candela GentleMax Pro (Alejandrita + Nd:YAG) first, diode as a complement ---------- */
.svc-grid.has-tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.svc-card.is-principal { overflow: hidden; border-color: rgba(196, 146, 13, .38); box-shadow: var(--shadow-lg); }
.svc-card.is-principal::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, var(--gold), #E6C77E); }
.svc-card.is-secondary { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 8px 36px; align-items: center; padding: 24px 28px; background: var(--pearl); box-shadow: none; }
.svc-card.is-secondary:hover { transform: none; box-shadow: var(--shadow); }
.svc-card.is-secondary h3 { font-size: 1.25rem; }
.svc-card.is-secondary .kicker { color: var(--text-light); }
.svc-card.is-secondary .svc-body p:last-child { margin-bottom: 0; font-size: .93rem; }
.svc-card.is-secondary .svc-side .svc-facts { margin-top: 0; }
.svc-list-label { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--gold); margin: 4px 0 -4px; }
.bento-card.is-dark .svc-list-label, .bento-card.has-media .svc-list-label { color: var(--gold-pale); }
.svc-also { margin: 10px 0 0; padding-top: 12px; border-top: 1px solid var(--line); font-size: .88rem; color: var(--text-light); }
.bento-card.is-dark .svc-also, .bento-card.has-media .svc-also { border-top-color: var(--line-dark); color: var(--on-dark-soft); }
.svc-also a { font-weight: 600; color: inherit; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.bento-card.has-media .svc-also a { color: var(--on-dark); }
.mega-col li.is-secondary { margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--line-dark); }
.mega-col li.is-secondary a { font-size: .88rem; color: var(--on-dark-mid); }
@media (max-width: 760px) {
  .svc-grid.has-tiers { grid-template-columns: 1fr; }
  .svc-card.is-secondary { grid-template-columns: 1fr; padding: 22px; }
}
