/* ============================================================
   NicoEra — Design Tokens
   Direction: clinical / pharma-lab precision. Cold, exact, quiet.
   ============================================================ */
:root{
  --void:#EDEDED;
  --void-2:#FFFFFF;
  --plate:#EDEDED;
  --plate-2:#E2E2E2;
  --paper:#FBFBFB;
  --ink:#1B2430;
  --steel:#57666F;
  --steel-2:#6B7880;
  --line:#DBDBDB;
  --line-dark:#DBDBDB;
  --signal:#00B49A;
  --signal-bright:#00A38B;
  --signal-dim:#0A6E60;
  --warn:#C4801F;
  --gold:#B4923E;
  --gold-bright:#D4AF37;
  --gold-deep:#8C6D24;

  --font-display:'Cormorant Garamond', Georgia, serif;
  --font-body:'DM Sans', 'Helvetica Neue', Arial, sans-serif;
  --font-mono:'IBM Plex Mono', 'Courier New', monospace;

  --maxw:1180px;
  --radius:2px;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:var(--font-body);
  font-size:16px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
h1,h2,h3,h4{ font-family:var(--font-display); margin:0; letter-spacing:-0.01em; }
p{ margin:0; }
ul{ margin:0; padding:0; list-style:none; }
button{ font-family:inherit; cursor:pointer; }

@media (prefers-reduced-motion: reduce){
  *{ animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important; scroll-behavior:auto !important; }
}

:focus-visible{ outline:2px solid var(--signal); outline-offset:3px; }

.container{
  max-width:100%;
  margin:0 auto;
  padding:0 64px;
}

/* ---------- eyebrow / mono labels ---------- */
.eyebrow{
  font-family:var(--font-mono);
  font-size:12px;
  letter-spacing:0.14em;
  text-transform:uppercase;
  color:var(--gold-deep);
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:16px;
}
.eyebrow::before{
  content:'';
  width:7px; height:7px;
  background:var(--gold-bright);
  border-radius:50%;
  box-shadow:0 0 0 3px rgba(180,146,62,0.18);
  flex:none;
}
.eyebrow.on-dark{ color:var(--gold-bright); }

/* ---------- buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:14px 26px;
  font-family:var(--font-mono);
  font-size:13px;
  letter-spacing:0.06em;
  text-transform:uppercase;
  border:1px solid transparent;
  border-radius:var(--radius);
  transition:background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
  white-space:nowrap;
}
.btn:hover{ transform:translateY(-1px); }
.btn-primary{
  background:linear-gradient(155deg, var(--gold-bright) 0%, var(--gold) 55%, var(--gold-deep) 100%);
  color:#2B2007;
  border-color:var(--gold-deep);
  box-shadow:0 2px 8px rgba(140,109,36,0.25);
}
.btn-primary:hover{ background:linear-gradient(155deg, var(--gold-bright) 0%, var(--gold-bright) 55%, var(--gold) 100%); border-color:var(--gold-bright); box-shadow:0 4px 14px rgba(140,109,36,0.35); }
.btn-ghost{
  background:transparent;
  color:var(--ink);
  border-color:rgba(0,0,0,0.22);
}
.btn-ghost:hover{ border-color:var(--gold-deep); color:var(--gold-deep); }
.btn-outline-dark{
  background:transparent;
  color:var(--ink);
  border-color:var(--line-dark);
  border-color:#232323;
}
.btn-outline-dark{ border-color:#1c2530; color:var(--ink); }
.btn-outline-dark:hover{ border-color:var(--signal); color:var(--gold-deep); }
.btn-row{ display:flex; flex-wrap:wrap; gap:14px; align-items:center; }

/* ============================================================
   NAV
   ============================================================ */
.warning-bar{
  background:linear-gradient(90deg, var(--gold-deep) 0%, var(--gold) 50%, var(--gold-deep) 100%);
  color:#FCF8ED;
  text-align:center;
  font-family:var(--font-body);
  font-weight:700;
  font-size:13px;
  letter-spacing:0.02em;
  padding:12px 20px;
}
.site-nav{
  position:sticky; top:0; z-index:100;
  background:var(--void);
  border-bottom:1px solid var(--line-dark);
}
.nav-inner{
  max-width:100%;
  margin:0 auto;
  padding:0 64px;
  height:72px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-family:var(--font-display);
  font-weight:700;
  font-size:22px;
  color:var(--ink);
}
.brand img{ height:64px; width:auto; display:block; mix-blend-mode:multiply; }
.brand .leaf{
  width:9px; height:9px;
  border-radius:0 60% 0 60%;
  background:var(--gold-deep);
  display:inline-block;
  transform:rotate(-8deg);
}
.brand .e-mark{ color:var(--gold-deep); }
.nav-links{
  display:flex;
  align-items:center;
  gap:34px;
}
.nav-links a{
  font-family:var(--font-mono);
  font-size:12.5px;
  letter-spacing:0.08em;
  text-transform:uppercase;
  color:var(--steel);
  padding:6px 0;
  border-bottom:1px solid transparent;
  transition:color .15s ease, border-color .15s ease;
}
.nav-links a:hover, .nav-links a.active{
  color:var(--ink);
  border-color:var(--signal);
}
.nav-links .btn-primary{ display:none; }
.nav-cta{ display:flex; align-items:center; gap:22px; }
.nav-toggle{
  display:none;
  background:none; border:1px solid var(--line-dark); color:var(--ink);
  width:40px; height:40px; border-radius:var(--radius);
  align-items:center; justify-content:center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after{
  content:''; display:block; width:16px; height:1.5px; background:var(--ink); position:relative;
  transition:transform .2s ease, opacity .2s ease;
}
.nav-toggle span::before{ position:absolute; top:-5px; }
.nav-toggle span::after{ position:absolute; top:5px; }

@media (max-width: 880px){
  .nav-links{
    position:fixed; top:72px; left:0; right:0; bottom:0;
    background:var(--void);
    flex-direction:column;
    align-items:flex-start;
    padding:32px 28px;
    gap:26px;
    transform:translateX(100%);
    transition:transform .25s ease;
    overflow-y:auto;
  }
  .nav-links.open{ transform:translateX(0); }
  .nav-toggle{ display:flex; }
  .nav-cta .btn-primary{ display:none; }
  .nav-links .btn-primary{ display:inline-flex; margin-top:8px; }
}

/* ============================================================
   HERO (home)
   ============================================================ */
.hero{
  position:relative;
  overflow:hidden;
  color:var(--ink);
  padding:0;
  border-bottom:1px solid var(--line);
  background:#ECECEC;
}
.hero .container{
  max-width:100%;
  padding-left:64px;
  padding-right:64px;
}
.hero-grid{
  position:relative; z-index:2;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:100px;
  align-items:start;
}
.hero-text{
  max-width:none;
  position:relative;
  z-index:2;
  padding-top:56px;
  padding-bottom:70px;
}
.hero-video{
  position:relative;
  align-self:start;
  height:700px;
  margin-right:-64px;
  overflow:hidden;
}
.hero-video video{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit:cover;
  object-position:center 48%;
  display:block;
  transform:scale(1.03);
}
@media (max-width:900px){
  .hero-grid{ grid-template-columns:1fr; gap:24px; }
  .hero-text{ padding-bottom:32px; }
  .hero-video{ height:380px; margin-right:0; }
}
.hero h1{
  font-size:clamp(40px, 5.4vw, 68px);
  line-height:1.05;
  color:var(--ink);
  margin-bottom:22px;
}
.hero h1 em{ font-style:italic; color:var(--gold-deep); }
.hero-sub{
  font-size:17px;
  color:var(--steel);
  max-width:52ch;
  margin-bottom:32px;
}
.hero-readout{
  margin-top:40px;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  border-top:1px solid var(--line);
  padding-top:18px;
  max-width:640px;
}
.hero-readout div{ padding-right:14px; }
.hero-readout .num{
  font-family:var(--font-mono);
  font-size:20px;
  color:var(--gold-deep);
  display:block;
}
.hero-readout .lbl{
  font-family:var(--font-mono);
  font-size:10.5px;
  letter-spacing:0.08em;
  text-transform:uppercase;
  color:var(--steel);
  display:block;
  margin-top:4px;
}

/* plate: signature spec card w/ corner ticks */
.plate{
  position:relative;
  border:1px solid var(--line-dark);
  background:var(--void-2);
  padding:22px;
}
.plate::before,.plate::after,
.plate .tick-br,.plate .tick-bl{ content:''; position:absolute; width:14px; height:14px; }
.plate::before{ top:-1px; left:-1px; border-top:2px solid var(--gold); border-left:2px solid var(--gold); }
.plate::after{ top:-1px; right:-1px; border-top:2px solid var(--gold); border-right:2px solid var(--gold); }
.plate .tick-bl{ bottom:-1px; left:-1px; border-bottom:2px solid var(--gold); border-left:2px solid var(--gold); }
.plate .tick-br{ bottom:-1px; right:-1px; border-bottom:2px solid var(--gold); border-right:2px solid var(--gold); }
.plate-light{
  background:var(--paper);
  border-color:var(--line);
}
.plate-light::before,.plate-light::after,.plate-light .tick-bl,.plate-light .tick-br{
  border-color:var(--gold-deep) !important;
}

.plate-label{
  font-family:var(--font-mono);
  font-size:10.5px;
  letter-spacing:0.1em;
  text-transform:uppercase;
  color:var(--gold-deep);
  display:flex; align-items:center; gap:8px;
  margin-bottom:14px;
}
.plate-light .plate-label{ color:var(--gold-deep); }
.plate-label .dot{
  width:6px; height:6px; border-radius:50%; background:var(--signal);
  box-shadow:0 0 0 3px rgba(0,180,154,0.18);
  animation:pulse 2.4s ease-in-out infinite;
}
@keyframes pulse{ 0%,100%{ opacity:1;} 50%{ opacity:0.35;} }

/* ============================================================
   PAGE HEADER (for inner pages)
   ============================================================ */
.page-header{
  position:relative;
  overflow:hidden;
  color:var(--ink);
  padding:96px 0 88px;
  border-bottom:1px solid var(--line);
  background:#ECECEC;
}
.page-header-photo{
  background:
    linear-gradient(100deg, rgba(251,252,252,0.95) 0%, rgba(251,252,252,0.84) 32%, rgba(251,252,252,0.22) 64%, rgba(251,252,252,0.48) 100%),
    var(--header-bg);
  background-size:110% auto;
  background-position:center 40%;
  background-repeat:no-repeat;
}
.page-header-photo .container{ position:relative; z-index:2; max-width:560px; margin-left:0; margin-right:auto; }
@media (max-width:700px){
  .page-header-photo{
    background:
      linear-gradient(rgba(251,252,252,0.93), rgba(251,252,252,0.93)),
      var(--header-bg);
    background-size:cover;
    background-position:center;
  }
}
.page-header-grid{
  display:grid;
  grid-template-columns:0.9fr 1.05fr;
  align-items:center;
  gap:48px;
}
.page-header-text{ padding:52px 0; max-width:480px; }
.page-header-video{
  align-self:center;
  height:300px;
  margin-right:-32px;
  overflow:visible;
  position:relative;
}
.page-header-video video{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit:contain;
  object-position:right center;
  display:block;
}
@media (max-width:900px){
  .page-header-grid{ grid-template-columns:1fr; gap:24px; }
  .page-header-text{ padding-bottom:24px; }
  .page-header-video{ height:220px; margin-right:0; margin-bottom:24px; }
}
.page-header h1{
  font-size:clamp(30px,3.6vw,44px);
  color:var(--ink);
  max-width:22ch;
}
.page-header .sub{
  margin-top:16px;
  color:var(--steel);
  max-width:60ch;
  font-size:16px;
}

/* ============================================================
   SECTIONS
   ============================================================ */
section{ padding:112px 0; }
.section-tight{ padding:56px 0; }
.section-alt{ background:var(--plate); }
.section-head{ max-width:640px; margin-bottom:52px; }
.section-head h2{ font-size:clamp(30px,3.6vw,44px); color:var(--ink); }
.section-head p{ margin-top:14px; color:var(--steel); font-size:16px; }

/* product pillar cards on home */
.pillars{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:28px;
}
.pillar-card{
  background:var(--paper);
  border:1px solid var(--line);
  display:flex;
  flex-direction:column;
}
.pillar-media{
  aspect-ratio:4/3;
  overflow:hidden;
  border-bottom:1px solid var(--line);
  background:#dfe6e9;
}
.pillar-media img{ width:100%; height:100%; object-fit:cover; }
.pillar-body{ padding:26px 28px 28px; display:flex; flex-direction:column; gap:14px; flex:1; }
.pillar-body h3{ font-size:22px; }
.pillar-body p{ color:var(--steel); font-size:15px; }
.spec-list{ margin-top:auto; padding-top:14px; border-top:1px solid var(--line); display:grid; gap:7px; }
.spec-list li{
  display:flex; justify-content:space-between; gap:12px;
  font-family:var(--font-mono); font-size:12px; color:var(--steel);
}
.spec-list li b{ color:var(--ink); font-weight:500; text-align:right; }
.pillar-body .btn{ align-self:flex-start; margin-top:6px; }

/* facilities strip */
.fac-strip{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:1px;
  background:var(--line-dark);
  border:1px solid var(--line-dark);
}
.fac-strip-item{
  background:var(--void-2);
  color:var(--ink);
  padding:30px 26px;
}
.fac-strip-item .tag{
  font-family:var(--font-mono); font-size:11px; letter-spacing:0.08em;
  color:var(--gold-deep); text-transform:uppercase; margin-bottom:10px; display:block;
}
.fac-strip-item h4{ font-size:19px; margin-bottom:8px; }
.fac-strip-item p{ font-size:13.5px; color:var(--steel); }

/* process ticket */
.process-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px;
}
.process-step{
  border:1px solid var(--line);
  background:var(--paper);
  padding:22px 20px;
  position:relative;
}
.process-step .idx{
  font-family:var(--font-mono);
  font-size:12px; color:var(--gold-deep); letter-spacing:0.08em;
  display:block; margin-bottom:14px;
}
.process-step h4{ font-size:17px; margin-bottom:8px; }
.process-step p{ font-size:13.5px; color:var(--steel); }

/* CTA band */
.cta-band{
  background:var(--plate);
  color:var(--ink);
  padding:64px 0;
  text-align:center;
  border-top:1px solid var(--line);
}
.cta-band h2{ font-size:clamp(24px,3vw,34px); margin-bottom:10px; }
.cta-band p{ color:var(--steel); margin-bottom:28px; }
.cta-band .btn-row{ justify-content:center; }
.cta-band .btn-ghost{ color:var(--ink); border-color:var(--line-dark); }

/* ============================================================
   FOOTER
   ============================================================ */
footer{
  background:var(--void);
  color:var(--steel);
  border-top:1px solid var(--line);
  padding:56px 0 28px;
}
.footer-grid{
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr 1fr;
  gap:40px;
  padding-bottom:36px;
  border-bottom:1px solid var(--line);
}
.footer-brand .brand{ margin-bottom:14px; }
.footer-brand .brand img{ height:80px; }
.footer-brand p{ font-size:13.5px; line-height:1.7; max-width:34ch; }
.footer-col h5{
  font-family:var(--font-mono); font-size:11px; letter-spacing:0.1em; text-transform:uppercase;
  color:var(--ink); margin-bottom:16px;
}
.footer-col ul{ display:grid; gap:10px; }
.footer-col a{ font-size:13.5px; transition:color .15s ease; }
.footer-col a:hover{ color:var(--gold-deep); }
.footer-bottom{
  padding-top:24px;
  display:flex; justify-content:space-between; align-items:flex-start; gap:20px;
  font-size:12px;
}
.footer-bottom .legal{ max-width:70ch; color:var(--steel); line-height:1.6; }

@media (max-width: 980px){
  .hero-grid{ grid-template-columns:1fr; }
  .pillars{ grid-template-columns:1fr; }
  .fac-strip{ grid-template-columns:1fr; }
  .process-grid{ grid-template-columns:1fr 1fr; }
  .footer-grid{ grid-template-columns:1fr 1fr; }
  .hero-readout{ grid-template-columns:1fr 1fr; row-gap:16px; }
}
@media (max-width: 560px){
  .process-grid{ grid-template-columns:1fr; }
  .footer-grid{ grid-template-columns:1fr; }
  .footer-bottom{ flex-direction:column; }
}

/* ============================================================
   AGE GATE
   ============================================================ */
.age-gate{
  position:fixed; inset:0; z-index:1000;
  background:rgba(30,42,52,0.55);
  display:flex; align-items:center; justify-content:center;
  padding:24px;
}
.age-gate.hidden{ display:none; }
.age-panel{ max-width:520px; width:100%; text-align:center; padding:44px 40px; }
.age-panel h1{ font-size:28px; color:var(--ink); margin:14px 0 16px; }
.age-panel p{ color:var(--steel); font-size:14.5px; margin-bottom:6px; }
.age-actions{ display:flex; gap:14px; justify-content:center; margin-top:26px; flex-wrap:wrap; }

/* ---------- trust strip (after hero) ---------- */
.trust-strip{
  display:grid; grid-template-columns:repeat(4,1fr); gap:1px;
  background:var(--line-dark); border-bottom:1px solid var(--line-dark);
}
.trust-strip .item{ background:var(--void-2); color:var(--ink); padding:28px 26px; }
.trust-strip .item strong{ font-family:var(--font-display); font-size:16.5px; display:block; margin-bottom:8px; font-weight:600; }
.trust-strip .item span{ font-size:12.5px; color:var(--steel); line-height:1.5; }
@media (max-width:900px){ .trust-strip{ grid-template-columns:1fr 1fr; } }

/* ---------- program tiers ---------- */
.tier-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.tier-card{ border:1px solid rgba(180,146,62,0.35); background:var(--paper); padding:26px 22px; display:flex; flex-direction:column; }
.tier-card.featured{ border-color:var(--gold); position:relative; padding-top:38px; }
.tier-card.featured::before{
  content:'RECOMMENDED'; position:absolute; top:-1px; left:-1px; right:-1px;
  background:linear-gradient(155deg, var(--gold-bright) 0%, var(--gold) 55%, var(--gold-deep) 100%); color:#2B2007; font-family:var(--font-mono); font-size:10px;
  letter-spacing:0.06em; padding:5px 8px; text-align:center;
}
.tier-label{ font-family:var(--font-mono); font-size:11px; letter-spacing:0.1em; text-transform:uppercase; color:var(--gold-deep); margin-bottom:10px; }
.tier-card h3{ font-size:20px; margin-bottom:16px; }
.tier-card ul{ display:grid; gap:9px; margin-top:auto; padding-top:6px; }
.tier-card li{ font-size:13px; color:var(--steel); padding-left:16px; position:relative; }
.tier-card li::before{ content:'✓'; position:absolute; left:0; color:var(--gold-deep); font-size:11px; top:2px; }
@media (max-width:900px){ .tier-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .tier-grid{ grid-template-columns:1fr; } }

/* ---------- FAQ ---------- */
.faq-list{ display:grid; gap:0; border-top:1px solid var(--line); }
.faq-list details{ border-bottom:1px solid var(--line); padding:22px 0; }
.faq-list summary{
  font-family:var(--font-display); font-weight:600; font-size:18px; cursor:pointer;
  list-style:none; display:flex; justify-content:space-between; align-items:center; gap:16px;
  color:var(--ink);
}
.faq-list summary::-webkit-details-marker{ display:none; }
.faq-list summary::after{ content:'+'; font-size:22px; color:var(--gold-deep); flex:none; }
.faq-list details[open] summary::after{ content:'\2212'; }
.faq-list details p{ margin-top:14px; font-size:14.5px; color:var(--steel); max-width:72ch; }

/* ---------- whatsapp float ---------- */
.whatsapp-float{
  position:fixed; left:24px; bottom:24px; z-index:200;
  width:56px; height:56px; border-radius:50%;
  background:#25D366;
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 6px 20px rgba(0,0,0,0.35);
  transition:transform .18s ease;
}
.whatsapp-float:hover{ transform:translateY(-2px) scale(1.04); }
.whatsapp-float svg{ width:28px; height:28px; }
@media (max-width:600px){
  .whatsapp-float{ width:48px; height:48px; left:16px; bottom:16px; }
  .whatsapp-float svg{ width:24px; height:24px; }
}

/* ---------- language switcher ---------- */
.lang-switcher{ position:relative; }
.lang-current{
  display:flex; align-items:center; gap:6px;
  background:transparent; border:1px solid var(--line-dark);
  color:var(--steel); padding:8px 12px;
  font-family:var(--font-mono); font-size:12px; letter-spacing:0.04em;
  border-radius:var(--radius);
  transition:border-color .15s ease, color .15s ease;
}
.lang-current:hover{ border-color:var(--signal); color:var(--ink); }
.lang-current svg{ width:14px; height:14px; flex:none; }
.lang-current .chev{ width:9px; height:9px; margin-left:2px; transition:transform .15s ease; }
.lang-switcher.open .lang-current .chev{ transform:rotate(180deg); }
.lang-dropdown{
  position:absolute; top:calc(100% + 8px); right:0;
  background:var(--paper); border:1px solid var(--line);
  min-width:168px; padding:6px; display:none; z-index:150;
  box-shadow:0 12px 28px rgba(20,30,40,0.14);
}
.lang-dropdown.open{ display:block; }
.lang-dropdown button{
  width:100%; text-align:left; background:none; border:none;
  padding:9px 10px; font-size:13.5px; color:var(--steel);
  border-radius:2px; font-family:var(--font-body);
  display:flex; justify-content:space-between; align-items:center;
}
.lang-dropdown button:hover{ background:var(--plate); color:var(--ink); }
.lang-dropdown button.active{ color:var(--gold-deep); font-weight:600; }
#google_translate_element{ display:none; }
.goog-te-banner-frame{ display:none !important; }
body{ top:0 !important; }

/* utility */
.mt-lg{ margin-top:56px; }
.two-col{ display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:center; }
.two-col.reverse .col-media{ order:2; }
@media (max-width:900px){ .two-col{ grid-template-columns:1fr; } .two-col.reverse .col-media{ order:0; } }
.col-media img{ width:100%; border:1px solid var(--line); }
.col-text h2{ font-size:clamp(24px,2.8vw,32px); margin-bottom:16px; }
.col-text p{ color:var(--steel); font-size:15.5px; margin-bottom:8px; }
.readout-grid{
  display:grid; grid-template-columns:1fr 1fr; gap:8px 24px; margin-top:20px;
}
.readout-grid div{
  display:flex; justify-content:space-between; gap:10px;
  border-bottom:1px dotted var(--line);
  padding-bottom:6px;
  font-family:var(--font-mono); font-size:12.5px;
}
.readout-grid div b{ color:var(--ink); font-weight:500; text-align:right; }
.readout-grid div span{ color:var(--steel); }
.plate .readout-grid div{ border-bottom-color:var(--line); }
.plate .readout-grid div b{ color:var(--ink); }
.plate .readout-grid div span{ color:var(--steel); }
