/* ============================================================
   AESTHEFORA — theme.css
   Shared design system for the whole site (single source of truth).
   Derived from the CONFIRMED clinical-demo-v17 glass language.
   Load order:  theme.css  →  home.css | products.css | product-page.css
   ============================================================ */

/* ---------- 1. TOKENS ---------- */
:root{
  /* type */
  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;

  /* ink & surface (unified from styles.css #171717 / product-page.css #171b1c) */
  --ink:#171717;
  --ink-cool:#171b1c;
  --muted:#717171;
  --muted-cool:#6c7475;
  --line:#d8d8d4;
  --line-cool:rgba(45,56,58,.16);
  --paper:#f5f5f1;      /* warm content bg */
  --surface:#f4f6f7;    /* cooler glass bg */
  --white:#fff;

  /* brand red: fixed for chrome/CTAs. --accent stays JS-mutable per product. */
  --brand:#971a23;
  --brand-deep:#4d080e;
  --accent:var(--brand);
  --accent-deep:var(--brand-deep);
  --panel-bg:#fbf2f1;

  /* clinical green (dark sections) */
  --forest-1:#10211e;
  --forest-2:#1b3933;
  --forest-3:#112824;
  --teal:#408b7c;

  /* glass recipe */
  --glass-border:rgba(255,255,255,.78);
  --glass-fill:linear-gradient(135deg, rgba(255,255,255,.72), rgba(236,240,235,.34));
  --glass-shadow:inset 0 1px 0 rgba(255,255,255,.95), inset 0 -1px 0 rgba(60,70,64,.08), 0 8px 24px rgba(35,47,40,.1);
  --shadow:0 28px 70px rgba(23,23,23,.13), 0 4px 14px rgba(23,23,23,.08);

  /* product-card fallbacks — demo sets these only via JS, so static reuse broke */
  --card-bg:#5b6b66;
  --pack:#7a8a85;

  /* layout */
  --maxw:1440px;
  --gutter:40px;
  --nav-h:76px;

  color:var(--ink);
  background:var(--paper);
  font-synthesis:none;
}

*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
img{display:block;max-width:100%}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit}

/* ---------- 2. BASE + LIQUID GLASS BACKGROUND ---------- */
body{
  font-family:var(--sans);
  font-size:15px;
  line-height:1.6;
  color:var(--ink);
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
  background-color:#f5f7f5;
  background-image:none;
  background-attachment:scroll;
}
body.modal-open{overflow:hidden}

/* The artwork lives behind the page, never over photography or video. */
body::before{
  display:none;
}

/* ---------- 3. PRIMITIVES ---------- */
.wrap{width:min(var(--maxw), 100%); margin-inline:auto; padding-inline:var(--gutter)}
.serif{font-family:var(--serif)}

/* eyebrow / small-caps label — the system's most consistent convention */
.eyebrow{
  font-size:10px; font-weight:700; letter-spacing:.2em; text-transform:uppercase;
  color:var(--muted);
}
.eyebrow--accent{color:var(--brand)}
.eyebrow--light{color:rgba(255,255,255,.66)}

/* centered section heading (lifted out of product-page.css) */
.section-heading{width:min(850px,100%); margin-inline:auto; text-align:center}
.section-heading .eyebrow{display:block; margin-bottom:18px}
.section-heading h2{
  font-size:clamp(34px,4.4vw,62px); font-weight:400; line-height:.99; letter-spacing:-.055em;
}
.section-heading h2 em{font-family:var(--serif); font-style:italic; letter-spacing:-.03em; color:var(--brand)}
.section-heading p{margin-top:20px; color:var(--muted); font-size:15px}

/* glass panel (lifted) */
.glass-panel{
  border:1px solid var(--glass-border); border-radius:28px;
  background:linear-gradient(145deg, rgba(255,255,255,.56), rgba(255,255,255,.19));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.96), 0 18px 45px rgba(54,82,72,.09);
  backdrop-filter:blur(22px) saturate(145%); -webkit-backdrop-filter:blur(22px) saturate(145%);
}

/* glass feature card grid (lifted) */
.benefit-grid{display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px}
.benefit-card{
  border:1px solid var(--glass-border); border-radius:24px; padding:28px 24px;
  background:linear-gradient(150deg, rgba(255,255,255,.6), rgba(255,255,255,.22));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.9), 0 14px 34px rgba(54,82,72,.07);
  backdrop-filter:blur(18px) saturate(140%); -webkit-backdrop-filter:blur(18px) saturate(140%);
}
.benefit-card .bnum{font-family:var(--serif); font-size:13px; color:var(--brand)}
.benefit-card h3{font-size:16px; font-weight:600; margin-top:12px; letter-spacing:-.01em}
.benefit-card p{font-size:13.5px; color:var(--muted); margin-top:8px; line-height:1.65}

/* decorative glass orb */
.orb{
  position:absolute; border-radius:50%; pointer-events:none;
  border:1px solid rgba(255,255,255,.5);
  background:rgba(255,255,255,.08);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.6);
  backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px);
}

/* ---------- 4. BUTTONS ---------- */
.btn{
  display:inline-flex; align-items:center; gap:12px; cursor:pointer;
  border:0; border-radius:999px; padding:14px 12px 14px 26px;
  font-size:13.5px; font-weight:700; letter-spacing:.01em; white-space:nowrap;
  transition:transform .22s ease, box-shadow .22s ease, filter .22s ease, background .22s ease, color .22s ease;
}
.btn i{
  display:grid; place-items:center; width:30px; height:30px; border-radius:50%;
  font-style:normal; font-size:13px; transition:transform .22s ease;
}
.btn:hover{transform:translateY(-2px)}
.btn:hover i{transform:translateX(3px)}

.btn--accent{background:var(--accent); color:#fff; box-shadow:0 14px 30px -14px rgba(151,26,35,.7)}
.btn--accent i{background:rgba(255,255,255,.18)}
.btn--accent:hover{filter:saturate(1.08)}

.btn--glass{
  border:1px solid var(--glass-border); color:var(--ink);
  background:var(--glass-fill); box-shadow:var(--glass-shadow);
  backdrop-filter:blur(20px) saturate(150%); -webkit-backdrop-filter:blur(20px) saturate(150%);
}
.btn--glass i{background:rgba(23,23,23,.08)}

.btn--onDark{
  border:1px solid rgba(255,255,255,.4); color:#fff;
  background:rgba(255,255,255,.1);
  backdrop-filter:blur(16px) saturate(130%); -webkit-backdrop-filter:blur(16px) saturate(130%);
}
.btn--onDark i{background:rgba(255,255,255,.16)}
.btn--onDark:hover{background:rgba(255,255,255,.18)}

.btn--light{background:#fff; color:var(--ink); box-shadow:0 16px 36px -18px rgba(23,23,23,.5)}
.btn--light i{background:rgba(23,23,23,.08)}

.textlink{
  display:inline-flex; align-items:center; gap:9px;
  font-size:13.5px; font-weight:700; color:var(--brand);
  transition:gap .22s ease;
}
.textlink:hover{gap:14px}

/* ---------- 5. HEADER / GLASS PILL NAV ---------- */
.site-header{
  position:fixed; inset:0 0 auto 0; z-index:100; height:var(--nav-h);
  display:grid; grid-template-columns:220px minmax(420px,1fr) auto; align-items:center; gap:20px;
  padding-inline:var(--gutter);
  background:linear-gradient(180deg, rgba(245,245,241,.72), rgba(245,245,241,.45));
  backdrop-filter:blur(18px) saturate(145%); -webkit-backdrop-filter:blur(18px) saturate(145%);
  border-bottom:1px solid rgba(255,255,255,.52);
  box-shadow:0 6px 24px rgba(43,54,46,.04);
  transition:background .4s ease, border-color .4s ease, box-shadow .4s ease, color .4s ease;
}
/* transparent over a hero, glass on scroll */
.site-header.is-transparent{
  background:transparent; border-bottom-color:transparent; box-shadow:none;
  backdrop-filter:none; -webkit-backdrop-filter:none; color:#fff;
}
.site-header.is-transparent.is-scrolled{
  background:linear-gradient(180deg, rgba(245,245,241,.82), rgba(245,245,241,.55));
  backdrop-filter:blur(18px) saturate(145%); -webkit-backdrop-filter:blur(18px) saturate(145%);
  border-bottom-color:rgba(255,255,255,.52);
  box-shadow:0 6px 24px rgba(43,54,46,.04);
  color:var(--ink);
}

.brand{display:inline-flex; align-items:center; gap:11px; font-size:14px; font-weight:700; letter-spacing:.16em}
.brand-mark{
  display:grid; place-items:center; width:32px; height:32px; border-radius:50%;
  font-family:var(--serif); font-size:16px; font-weight:400; letter-spacing:0;
  color:#fff; background:var(--brand);
}

.main-nav{
  justify-self:center; position:relative; display:flex; align-items:center; gap:4px;
  padding:6px; border:1px solid var(--glass-border); border-radius:999px;
  background:var(--glass-fill); box-shadow:var(--glass-shadow);
  backdrop-filter:blur(22px) saturate(155%); -webkit-backdrop-filter:blur(22px) saturate(155%);
}
.main-nav::before{
  content:""; position:absolute; z-index:-1; left:10%; right:10%; top:0; height:1px;
  background:linear-gradient(90deg, transparent, rgba(255,255,255,.98), transparent);
}
.main-nav a{
  padding:9px 16px; border-radius:999px; font-size:13px; font-weight:600; color:var(--ink);
  transition:background .2s ease, color .2s ease;
}
.main-nav a:hover{background:rgba(255,255,255,.5)}
.main-nav a.active{
  background:linear-gradient(135deg, rgba(255,255,255,.94), rgba(255,255,255,.56));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.95);
}

.header-actions{display:flex; align-items:center; gap:12px; justify-self:end}
.language{
  display:flex; align-items:center; gap:2px; padding:5px;
  border:1px solid var(--glass-border); border-radius:999px;
  background:var(--glass-fill); box-shadow:var(--glass-shadow);
  backdrop-filter:blur(20px) saturate(150%); -webkit-backdrop-filter:blur(20px) saturate(150%);
  font-size:11px; font-weight:700; letter-spacing:.06em;
}
.language span{padding:6px 10px; border-radius:999px; color:var(--muted); cursor:pointer}
.language .selected{color:#fff; background:linear-gradient(135deg, var(--teal), #2c6a5d)}

.partner-link{
  display:inline-flex; align-items:center; gap:10px; padding:9px 9px 9px 18px;
  border:1px solid var(--glass-border); border-radius:999px;
  background:linear-gradient(135deg, rgba(64,139,124,.22), rgba(255,255,255,.4));
  box-shadow:var(--glass-shadow);
  backdrop-filter:blur(20px) saturate(150%); -webkit-backdrop-filter:blur(20px) saturate(150%);
  font-size:12px; font-weight:700; color:var(--ink);
  transition:transform .2s ease;
}
.partner-link span{
  display:grid; place-items:center; width:26px; height:26px; border-radius:50%;
  background:var(--teal); color:#fff; font-size:12px;
}
.partner-link:hover{transform:translateY(-1px)}

/* hamburger — the demo had NO mobile nav at all */
.hamburger{
  display:none; flex-direction:column; gap:5px; justify-self:end;
  padding:10px; border:1px solid var(--glass-border); border-radius:999px;
  background:var(--glass-fill); box-shadow:var(--glass-shadow);
  backdrop-filter:blur(20px); -webkit-backdrop-filter:blur(20px);
  cursor:pointer;
}
.hamburger i{display:block; width:20px; height:1.5px; background:var(--ink); transition:.3s}

.mobile-menu{
  position:fixed; inset:0; z-index:200; display:flex; flex-direction:column;
  padding:24px var(--gutter);
  background:linear-gradient(160deg, rgba(16,33,30,.96), rgba(27,57,51,.96));
  backdrop-filter:blur(24px); -webkit-backdrop-filter:blur(24px);
  color:#fff; transform:translateY(-100%);
  transition:transform .5s cubic-bezier(.2,.8,.2,1);
}
.mobile-menu.open{transform:none}
.mobile-menu .mtop{display:flex; align-items:center; justify-content:space-between}
.mobile-menu .mclose{background:none; border:0; color:#fff; font-size:32px; line-height:1; cursor:pointer}
.mobile-menu nav{display:flex; flex-direction:column; margin-top:44px}
.mobile-menu nav a{
  padding:16px 0; font-size:26px; font-weight:400; letter-spacing:-.03em;
  border-bottom:1px solid rgba(255,255,255,.14);
}
.mobile-menu .mfoot{margin-top:auto; padding-top:24px; font-size:12px; color:rgba(255,255,255,.5)}

/* language switcher inside the mobile menu — the desktop pill is hidden at <=860px,
   so without this there is no way to change language on a phone at all. */
.language--mobile{
  display:flex; align-self:flex-start; margin-top:30px;
  background:rgba(255,255,255,.08); border-color:rgba(255,255,255,.22);
  box-shadow:none; backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px);
}
.language--mobile span{color:rgba(255,255,255,.62); padding:9px 16px; font-size:12px}
.language--mobile .selected{color:#fff; background:linear-gradient(135deg, var(--teal), #2c6a5d)}
@media(max-width:860px){
  /* the desktop pill hides here; the mobile-menu one must stay visible */
  .mobile-menu .language--mobile{display:flex}
}
/* detail page keeps its own inline switcher (that header has no mobile menu) */
.language--detail{display:flex}
@media(max-width:860px){ .language--detail{display:flex} }

/* ---------- 6. HOME HERO (new — demo had no hero pattern, no video support) ---------- */
.home-hero{position:relative; min-height:100svh; display:flex; align-items:flex-end; overflow:hidden; color:#fff}
.home-hero .hero-media{position:absolute; inset:0}
.home-hero .hero-media video,
.home-hero .hero-media img{width:100%; height:100%; object-fit:cover}
.home-hero .hero-veil{
  position:absolute; inset:0;
  background:
    linear-gradient(180deg, rgba(9,14,13,.44) 0%, rgba(9,14,13,0) 26%),
    linear-gradient(0deg, rgba(9,14,13,.8) 0%, rgba(9,14,13,0) 52%);
}
.home-hero .hero-inner{position:relative; width:100%; padding-block:0 64px}
.home-hero .hero-kicker{
  font-size:11px; font-weight:700; letter-spacing:.22em; text-transform:uppercase;
  color:rgba(255,255,255,.82); margin-bottom:20px;
}
.home-hero h1{
  font-size:clamp(40px,5.6vw,84px); font-weight:300; line-height:.94; letter-spacing:-.06em;
  max-width:15ch;
}
.home-hero h1 em{font-family:var(--serif); font-style:italic; letter-spacing:-.035em}
.home-hero .hero-row{
  display:flex; align-items:flex-end; justify-content:space-between; gap:40px;
  margin-top:32px; flex-wrap:wrap;
}
.home-hero .hero-row p{max-width:46ch; font-size:15px; color:rgba(255,255,255,.82)}
.home-hero .hero-cta{display:flex; gap:12px; flex-wrap:wrap}
.scrollcue{
  position:absolute; right:var(--gutter); bottom:30px;
  display:flex; align-items:center; gap:10px;
  font-size:10px; font-weight:700; letter-spacing:.2em; text-transform:uppercase;
  color:rgba(255,255,255,.68);
}
.scrollcue::before{content:""; width:34px; height:1px; background:currentColor}

/* ---------- 7. DARK SECTION UTILITY (demo hardcoded this per component) ---------- */
.section--dark{
  position:relative; color:#fff; overflow:hidden;
  background:
    radial-gradient(circle at 12% 10%, rgba(64,139,124,.46), transparent 29%),
    linear-gradient(135deg, var(--forest-1), var(--forest-2) 58%, var(--forest-3));
}
.section--dark .eyebrow{color:rgba(255,255,255,.62)}
.section--dark h2 em{color:#fff}
.section--dark p{color:rgba(255,255,255,.7)}

/* image-backed dark band */
.band-media{position:absolute; inset:0}
.band-media img{width:100%; height:100%; object-fit:cover}
.band-media::after{
  content:""; position:absolute; inset:0;
  background:linear-gradient(90deg, rgba(8,15,13,.92), rgba(8,15,13,.6) 55%, rgba(8,15,13,.28));
}

/* ---------- 8. SECTION RHYTHM + REVEAL ---------- */
.section{padding-block:100px}
.section--tight{padding-block:70px}
/* Scroll-reveal is a PROGRESSIVE ENHANCEMENT. It is gated behind .js, which an
   inline <script> in <head> sets. If scripting fails for any reason the content
   simply renders visible instead of leaving the page blank below the hero. */
.js .reveal{opacity:0; transform:translateY(24px); transition:opacity .85s cubic-bezier(.2,.8,.2,1), transform .85s cubic-bezier(.2,.8,.2,1)}
.js .reveal.in{opacity:1; transform:none}

/* ---------- 9. FOOTER (glass) ---------- */
.site-footer{position:relative; margin-top:0; padding:70px var(--gutter) 34px; overflow:hidden}
.site-footer::before{
  content:""; position:absolute; inset:0; pointer-events:none;
  background:
    radial-gradient(circle at 8% 0%, rgba(64,139,124,.14), transparent 34%),
    radial-gradient(circle at 92% 100%, rgba(151,26,35,.08), transparent 38%);
}
.site-footer .footer-main{
  position:relative; width:min(var(--maxw),100%); margin-inline:auto;
  display:grid; grid-template-columns:minmax(0,1.55fr) minmax(200px,.66fr) minmax(200px,.7fr) minmax(200px,.7fr);
  gap:36px; padding-bottom:44px; border-bottom:1px solid rgba(23,23,23,.1);
}
.site-footer .footer-logo{display:inline-flex; align-items:center; gap:11px; font-size:15px; font-weight:700; letter-spacing:.16em}
.site-footer .fabout{margin-top:16px; max-width:34ch; font-size:13.5px; color:var(--muted); line-height:1.7}
.site-footer h4{font-size:9px; font-weight:700; letter-spacing:.17em; text-transform:uppercase; color:var(--muted); margin-bottom:16px}
.site-footer ul{list-style:none; display:flex; flex-direction:column; gap:10px; font-size:13.5px}
.site-footer ul a{color:var(--ink); opacity:.75; transition:opacity .2s}
.site-footer ul a:hover{opacity:1}
.site-footer .footer-address{
  position:relative; width:min(var(--maxw),100%); margin-inline:auto;
  display:flex; align-items:center; gap:18px; flex-wrap:wrap;
  padding:20px 0; border-bottom:1px solid rgba(23,23,23,.1);
  font-size:12.5px; color:var(--muted);
}
.site-footer .footer-address span{font-weight:700; letter-spacing:.14em; text-transform:uppercase; font-size:9px}
.site-footer .footer-bottom{
  position:relative; width:min(var(--maxw),100%); margin-inline:auto;
  display:flex; justify-content:space-between; gap:14px; flex-wrap:wrap;
  padding-top:22px; font-size:11.5px; color:var(--muted);
}

/* ---------- 10. RESPONSIVE ---------- */
@media(max-width:1150px){
  .site-header{grid-template-columns:auto 1fr auto}
  .main-nav a{padding-inline:11px}
  .partner-link{display:none}
  .site-footer .footer-main{grid-template-columns:1fr 1fr}
  .benefit-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:860px){
  :root{--gutter:20px}
  .site-header{grid-template-columns:1fr auto}
  /* Hide the DESKTOP nav + language pill only. The --mobile / --detail variants
     are the sole way to change language on a phone, so they must survive. */
  .main-nav,.language:not(.language--mobile):not(.language--detail){display:none}
  .hamburger{display:flex}
  .section{padding-block:70px}
  /* fixed background is janky on mobile Safari */
  body{background-attachment:scroll, scroll}
  .band-media::after{background:linear-gradient(180deg, rgba(8,15,13,.5), rgba(8,15,13,.9))}
  .scrollcue{display:none}
}
@media(max-width:560px){
  .site-footer .footer-main{grid-template-columns:1fr}
  .benefit-grid{grid-template-columns:1fr}
  .home-hero .hero-row{gap:24px}
  /* lighter blur on low-end devices */
  .glass-panel,.benefit-card{backdrop-filter:blur(12px) saturate(130%); -webkit-backdrop-filter:blur(12px) saturate(130%)}
}
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto}
  *{transition:none !important; animation:none !important}
  .js .reveal{opacity:1; transform:none}
}

/* Shared translucent navigation — matches the homepage masthead on internal pages. */
.site-header{
  position:absolute !important; inset:0 0 auto 0 !important; z-index:80 !important;
  display:grid !important; grid-template-columns:1fr auto 1fr !important;
  align-items:center !important; height:124px !important; padding:0 64px !important;
  color:#f8fbfa !important; border-bottom:1px solid rgba(255,255,255,.20) !important;
  background:rgba(28,43,56,.46) !important;
  box-shadow:0 8px 28px rgba(14,23,31,.10) !important;
  backdrop-filter:blur(11px) saturate(115%) !important;
  -webkit-backdrop-filter:blur(11px) saturate(115%) !important;
}
.site-header .brand{display:block !important; color:#f8fbfa !important; font-size:25px !important; font-weight:400 !important; letter-spacing:.27em !important; white-space:nowrap}
.site-header .brand-mark{display:none !important}
.site-header .main-nav{display:flex !important; align-items:stretch !important; justify-self:center !important; gap:clamp(22px,2.8vw,54px) !important; height:124px !important; padding:0 !important; overflow:visible !important; border:0 !important; border-radius:0 !important; background:transparent !important; box-shadow:none !important; backdrop-filter:none !important}
.site-header .main-nav::before{display:none !important}
.site-header .main-nav a{display:flex !important; align-items:center !important; padding:0 !important; border:0 !important; border-radius:0 !important; background:transparent !important; box-shadow:none !important; color:rgba(248,251,250,.92) !important; font-size:12px !important; font-weight:600 !important; letter-spacing:.025em !important; line-height:1 !important; text-transform:uppercase !important; white-space:nowrap !important}
.site-header .main-nav a:hover,.site-header .main-nav a.active{color:#fff !important; background:transparent !important; border-color:transparent !important; box-shadow:none !important}
.site-header .header-actions{justify-self:end !important; display:flex !important; align-items:center !important; gap:0 !important}
.site-header .partner-link{display:none !important}
.site-header .hamburger{display:none !important}
.site-header .language{position:relative !important; isolation:auto !important; display:block !important; width:54px !important; height:30px !important; overflow:hidden !important; padding:0 !important; border:0 !important; border-radius:999px !important; background:rgba(42,58,71,.74) !important; box-shadow:0 0 15px rgba(255,255,255,.16),0 2px 9px rgba(18,28,37,.20) !important; backdrop-filter:none !important}
.site-header .language::before{display:none !important}
.site-header .language:hover,.site-header .language:focus-within{overflow:visible !important}
.site-header .language span{position:absolute !important; left:0 !important; display:flex !important; align-items:center !important; justify-content:center !important; width:54px !important; min-width:54px !important; height:30px !important; padding:0 !important; border:0 !important; border-radius:0 !important; background:rgba(42,58,71,.94) !important; box-shadow:none !important; color:rgba(248,251,250,.78) !important; font-size:11px !important; font-weight:600 !important; letter-spacing:.10em !important; line-height:1 !important}
.site-header .language .selected{top:0 !important; border-radius:999px 999px 0 0 !important; color:#fff !important}
.site-header .language span:nth-child(2){top:30px !important; border-top:1px solid rgba(255,255,255,.12) !important}
.site-header .language span:nth-child(3){top:60px !important; border-top:1px solid rgba(255,255,255,.12) !important; border-radius:0 0 999px 999px !important}
.site-header .language .selected::after{content:"⌄"; margin-left:5px; font-size:9px}
@media(max-width:980px){
  .site-header{height:86px !important; padding:0 24px !important; grid-template-columns:1fr auto !important}
  .site-header .brand{font-size:18px !important}
  .site-header .main-nav,.site-header .header-actions .language{display:none !important}
  .site-header .hamburger{display:flex !important}
}

/* Internal pages follow the original AESTHEFORA editorial site: light, calm, and precise. */
:root{
  --ink:#141b1a;
  --muted:#667271;
  --line:rgba(20,27,26,.16);
  --paper:#f8f9f7;
  --surface:#f1f4f2;
  --brand:#1d584b;
  --brand-deep:#123c33;
  --forest-1:#123b32;
  --forest-2:#1c5044;
  --forest-3:#102f29;
  --teal:#4d8175;
}
body:not(.af-home){
  background-color:#f8f9f7;
  background-image:
    radial-gradient(ellipse 75% 33% at 13% 14%, rgba(221,229,227,.66), transparent 70%),
    radial-gradient(ellipse 58% 25% at 85% 36%, rgba(230,236,233,.55), transparent 72%),
    linear-gradient(180deg,#fbfcfa 0%,#f5f7f5 100%);
  background-attachment:fixed;
}
.site-header{
  height:72px !important;
  padding:0 31px !important;
  grid-template-columns:175px 1fr auto !important;
  border-bottom:1px solid rgba(20,27,26,.08) !important;
  background:rgba(252,253,251,.94) !important;
  box-shadow:none !important;
  color:#141b1a !important;
  backdrop-filter:blur(12px) !important;
  -webkit-backdrop-filter:blur(12px) !important;
}
.site-header .brand{
  color:#141b1a !important;
  font-size:14px !important;
  font-weight:600 !important;
  letter-spacing:.20em !important;
}
.site-header .main-nav{
  justify-self:center !important;
  gap:clamp(16px,2vw,34px) !important;
  height:72px !important;
}
.site-header .main-nav a{
  position:relative;
  color:#1a2020 !important;
  font-size:11px !important;
  font-weight:400 !important;
  letter-spacing:-.01em !important;
  text-transform:none !important;
}
.site-header .main-nav a.active::after{
  content:""; position:absolute; right:0; bottom:18px; left:0;
  height:1px; background:#141b1a;
}
.site-header .header-actions{gap:17px !important}
.site-header .partner-link{
  display:inline-flex !important;
  align-items:center !important;
  min-height:42px !important;
  padding:0 17px !important;
  border:0 !important;
  border-radius:0 !important;
  background:#153657 !important;
  box-shadow:none !important;
  color:#fff !important;
  font-size:10px !important;
  font-weight:600 !important;
  letter-spacing:.04em !important;
  text-transform:uppercase !important;
}
.site-header .partner-link::before{display:none !important}
.site-header .partner-link span{
  width:auto !important; height:auto !important; margin-left:11px !important;
  border:0 !important; border-radius:0 !important; background:transparent !important;
  box-shadow:none !important; color:#fff !important;
}
.site-header .language{
  display:flex !important; align-items:center !important;
  width:auto !important; height:auto !important; overflow:visible !important;
  border:1px solid rgba(20,27,26,.10) !important; border-radius:999px !important;
  background:#fff !important; box-shadow:none !important;
}
.site-header .language span{
  position:static !important; display:flex !important;
  width:30px !important; min-width:30px !important; height:30px !important;
  border:0 !important; border-radius:999px !important; background:transparent !important;
  color:#6d7574 !important; font-size:9px !important; font-weight:500 !important;
}
.site-header .language .selected{color:#fff !important; background:#101313 !important}
.site-header .language .selected::after{display:none}
.page-hero h1 em,.section h2 em{color:var(--brand) !important}
.page-hero .eyebrow,.section .eyebrow{color:#4b7d72 !important}
@media(max-width:980px){
  .site-header{height:70px !important; padding:0 24px !important; grid-template-columns:1fr auto !important}
  .site-header .main-nav,.site-header .header-actions .language,.site-header .partner-link{display:none !important}
  .site-header .hamburger{display:flex !important}
  .site-header .hamburger i{background:#141b1a !important}
}

/* Final shared header: identical to the translucent masthead on the homepage. */
.site-header{
  height:124px !important;
  padding:0 64px !important;
  grid-template-columns:1fr auto 1fr !important;
  border-bottom:1px solid rgba(255,255,255,.20) !important;
  background:rgba(39,55,69,.40) !important;
  box-shadow:none !important;
  color:#f8fbfa !important;
  backdrop-filter:blur(9px) saturate(115%) !important;
  -webkit-backdrop-filter:blur(9px) saturate(115%) !important;
}
.site-header .brand{
  color:#f8fbfa !important;
  font-size:25px !important;
  font-weight:400 !important;
  letter-spacing:.27em !important;
  text-shadow:0 0 16px rgba(255,255,255,.50),0 1px 4px rgba(25,38,37,.42) !important;
}
.site-header .main-nav{
  height:124px !important;
  gap:clamp(24px,3vw,58px) !important;
}
.site-header .main-nav a{
  color:#f8fbfa !important;
  font-size:12px !important;
  font-weight:600 !important;
  letter-spacing:.035em !important;
  text-transform:uppercase !important;
  text-shadow:0 0 13px rgba(255,255,255,.48),0 1px 4px rgba(25,38,37,.38) !important;
}
.site-header .main-nav a.active::after{display:none !important}
.site-header .partner-link{display:none !important}
.site-header .header-actions{gap:0 !important}
.site-header .language{
  position:relative !important;
  display:block !important;
  width:54px !important;
  height:30px !important;
  overflow:hidden !important;
  padding:0 !important;
  border:0 !important;
  border-radius:999px !important;
  background:rgba(42,58,71,.74) !important;
  box-shadow:0 0 15px rgba(255,255,255,.16),0 2px 9px rgba(18,28,37,.20) !important;
}
.site-header .language:hover,.site-header .language:focus-within{overflow:visible !important}
.site-header .language span{
  position:absolute !important;
  left:0 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:54px !important;
  min-width:54px !important;
  height:30px !important;
  border:0 !important;
  border-radius:0 !important;
  background:rgba(42,58,71,.94) !important;
  color:rgba(248,251,250,.78) !important;
  font-size:11px !important;
  font-weight:600 !important;
  letter-spacing:.10em !important;
}
.site-header .language .selected{top:0 !important;border-radius:999px 999px 0 0 !important;color:#fff !important;background:rgba(42,58,71,.90) !important}
.site-header .language .selected::after{display:inline !important;content:"⌄";margin-left:5px;font-size:9px}
.site-header .language span:nth-child(2){top:30px !important;border-top:1px solid rgba(255,255,255,.12) !important}
.site-header .language span:nth-child(3){top:60px !important;border-top:1px solid rgba(255,255,255,.12) !important;border-radius:0 0 999px 999px !important}
@media(max-width:980px){
  .site-header{height:86px !important;padding:0 24px !important;grid-template-columns:1fr auto !important}
  .site-header .brand{font-size:18px !important}
  .site-header .main-nav,.site-header .header-actions .language{display:none !important}
  .site-header .hamburger{display:flex !important}
  .site-header .hamburger i{background:#f8fbfa !important;box-shadow:0 0 12px rgba(255,255,255,.46)}
}

/* Canonical site footer — shared by every public page. */
.af-unified-footer{display:block!important;margin:0!important;padding:0!important;border-top:1px solid rgba(39,89,111,.16)!important;background:#f4f8fa!important;color:#173b52!important;font-family:Inter,"Helvetica Neue",Arial,sans-serif!important}
.af-unified-footer *{box-sizing:border-box}.af-unified-footer__inner{display:grid;grid-template-columns:1.18fr 1.02fr .82fr;gap:0;width:min(1420px,calc(100% - 80px));margin:0 auto;padding:80px 0 62px}.af-unified-footer__brand{padding-right:72px}.af-unified-footer__logo{display:inline-flex;align-items:center;gap:17px;color:#123f5f!important;font-size:20px;font-weight:700;letter-spacing:.19em;line-height:1;text-decoration:none}.af-unified-footer__logo i{display:grid;width:47px;height:47px;place-items:center;border:1px solid #2e6082;color:#123f5f;font-family:Georgia,serif;font-size:24px;font-style:italic;font-weight:400;letter-spacing:0}.af-unified-footer__brand p{margin:38px 0 0;color:#577b92;font-size:17px;line-height:1.58}.af-unified-footer__site,.af-unified-footer__contact{min-height:199px;padding:12px 0 0 76px;border-left:1px solid rgba(39,89,111,.18)}.af-unified-footer h3{margin:0 0 43px;color:#547993;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px;font-weight:600;letter-spacing:.24em;line-height:1;text-transform:uppercase}.af-unified-footer__site>div{display:grid;grid-template-columns:1fr 1fr;gap:20px 42px}.af-unified-footer a{color:#123f5f;text-decoration:none}.af-unified-footer__site a{font-size:17px;line-height:1.22}.af-unified-footer__site a:hover,.af-unified-footer__contact a:hover{color:#3f789d}.af-unified-footer__contact{display:flex;flex-direction:column;align-items:flex-start}.af-unified-footer__contact a{font-size:17px;line-height:1.35}.af-unified-footer__contact a+a{margin-top:20px;color:#123f5f;font-weight:700}@media(max-width:900px){.af-unified-footer__inner{grid-template-columns:1fr 1fr;width:calc(100% - 52px);padding:54px 0;gap:38px}.af-unified-footer__brand{grid-column:1/-1;padding:0 0 30px;border-bottom:1px solid rgba(39,89,111,.16)}.af-unified-footer__brand p{margin-top:26px}.af-unified-footer__site,.af-unified-footer__contact{min-height:0;padding:0;border:0}.af-unified-footer h3{margin-bottom:25px}}@media(max-width:560px){.af-unified-footer__inner{grid-template-columns:1fr;width:calc(100% - 40px);padding:42px 0;gap:32px}.af-unified-footer__logo{font-size:17px}.af-unified-footer__logo i{width:40px;height:40px;font-size:20px}.af-unified-footer__brand p{font-size:15px}.af-unified-footer__site>div{gap:17px 26px}.af-unified-footer__site a,.af-unified-footer__contact a{font-size:16px}.af-unified-footer__contact{padding-top:28px;border-top:1px solid rgba(39,89,111,.16)}}

/* Compact footer refinement — brand-green palette on every page. */
.af-unified-footer{border-top-color:rgba(20,60,50,.14)!important;background:#f6faf8!important;color:#143c32!important}.af-unified-footer__inner{padding:64px 0 52px}.af-unified-footer__brand{padding-right:64px}.af-unified-footer__logo{gap:14px;color:#143c32!important;font-size:18px}.af-unified-footer__logo i{width:43px;height:43px;border-color:#286653;color:#143c32;font-size:22px}.af-unified-footer__brand p{margin-top:30px;color:#58776e;font-size:15px;line-height:1.55}.af-unified-footer__site,.af-unified-footer__contact{min-height:174px;padding:10px 0 0 64px;border-left-color:rgba(20,60,50,.15)}.af-unified-footer h3{margin-bottom:32px;color:#5d8376;font-size:10px;letter-spacing:.22em}.af-unified-footer__site>div{gap:17px 36px}.af-unified-footer a{color:#143c32}.af-unified-footer__site a,.af-unified-footer__contact a{font-size:15px}.af-unified-footer__site a:hover,.af-unified-footer__contact a:hover{color:#1d6857}.af-unified-footer__contact a+a{margin-top:16px;color:#143c32}@media(max-width:900px){.af-unified-footer__inner{padding:48px 0}.af-unified-footer__brand{padding-bottom:26px;border-bottom-color:rgba(20,60,50,.14)}.af-unified-footer__site,.af-unified-footer__contact{padding:0}.af-unified-footer h3{margin-bottom:22px}}@media(max-width:560px){.af-unified-footer__inner{padding:38px 0}.af-unified-footer__logo{font-size:16px}.af-unified-footer__logo i{width:38px;height:38px;font-size:19px}.af-unified-footer__brand p{font-size:14px}.af-unified-footer__site a,.af-unified-footer__contact a{font-size:15px}.af-unified-footer__contact{border-top-color:rgba(20,60,50,.14)}}
