/* =========================================================
   AUREVA — Design System
   ========================================================= */

:root{
  /* Brand palette — official AUREVA identity (IDENTITY.pdf): Quiet Luxury / Modern Beauty / Refined & Inclusive */
  --c-navy:        #641F32; /* primary — wine */
  --c-navy-deep:   #3B2927; /* deep ink-brown, used for darkest surfaces & body text */
  --c-gold:        #C7A77A; /* accent — warm sand/gold */
  --c-gold-light:  #D3BEA3; /* accent light — sand, sampled directly from the official company profile's panel backgrounds */
  --c-cream:       #F4EEE6; /* background cream */
  --c-white:       #FFFFFF;
  --c-ink:         #3B2927;
  --c-ink-soft:    #7A6459;
  --c-line:        #E3D6CB;

  /* Category accents (derived from identity palette) */
  --c-rose:   #8C4A56;
  --c-teal:   #5C6B4F;
  --c-lilac:  #6E5A66;
  --c-sand:   #C7A77A;

  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body-ar: "Cairo", "Segoe UI", Tahoma, sans-serif;
  --font-display-ar: "Cairo", "Segoe UI", Tahoma, sans-serif;

  --container: 1240px;
  --radius: 2px;
  --shadow-sm: 0 1px 3px rgba(18,35,61,.08);
  --shadow-md: 0 8px 30px rgba(18,35,61,.10);
  --ease: cubic-bezier(.22,.61,.36,1);

  --space-1: .5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.25rem;
  --space-5: clamp(2rem,5vw,3rem);
  --space-6: clamp(2.75rem,6vw,4.5rem);

  --c-bg: var(--c-white);
  --c-surface: var(--c-white);
  --c-header-bg: rgba(255,255,255,.92);

  /* Fixed brand-panel colors: always the wine/ink pair, independent of theme —
     used for solid brand blocks (hero, footer, CTA banners, primary buttons)
     so white panel text stays legible in both light and dark mode. */
  --c-brand:      #641F32;
  --c-brand-deep: #3B2927;
}
:root[data-theme]{ color-scheme: light; }
:root[data-theme="dark"]{ color-scheme: dark; }
@media (prefers-color-scheme: dark){ :root:not([data-theme="light"]){ color-scheme: dark; } }

/* ---- Dark mode: system preference (unset explicit theme) ---- */
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]){
    --c-navy:      #E8C79E;
    --c-gold:      #D8B98A;
    --c-gold-light:#8C6A46;
    --c-cream:     #241A17;
    --c-ink:       #EFE6DD;
    --c-ink-soft:  #C9BAAE;
    --c-line:      #3A2C27;
    --c-bg:        #16100E;
    --c-surface:   #211815;
    --c-header-bg: rgba(22,16,14,.9);
    --shadow-sm: 0 1px 3px rgba(0,0,0,.4);
    --shadow-md: 0 8px 30px rgba(0,0,0,.5);
  }
}
/* ---- Dark mode: explicit toggle ---- */
:root[data-theme="dark"]{
  --c-navy:      #E8C79E;
  --c-gold:      #D8B98A;
  --c-gold-light:#8C6A46;
  --c-cream:     #241A17;
  --c-ink:       #EFE6DD;
  --c-ink-soft:  #C9BAAE;
  --c-line:      #3A2C27;
  --c-bg:        #16100E;
  --c-surface:   #211815;
  --c-header-bg: rgba(22,16,14,.9);
  --shadow-sm: 0 1px 3px rgba(0,0,0,.4);
  --shadow-md: 0 8px 30px rgba(0,0,0,.5);
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *,*::before,*::after{ animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; scroll-behavior:auto !important; }
}

html{ overflow-x:hidden; }
body{
  margin:0;
  overflow-x:hidden;
  font-family:var(--font-body);
  color:var(--c-ink);
  background:var(--c-bg);
  line-height:1.6;
  font-size:clamp(15px,1.5vw,17px);
  -webkit-font-smoothing:antialiased;
}
html[lang="ar"] body{ font-family:var(--font-body-ar); }
html[dir="rtl"] body{ direction:rtl; }

img{ max-width:100%; height:auto; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
button{ font:inherit; cursor:pointer; }
input,select,textarea{ font:inherit; }

h1,h2,h3,h4{
  font-family:var(--font-display);
  font-weight:600;
  color:var(--c-navy);
  line-height:1.15;
  margin:0 0 var(--space-2);
  letter-spacing:.01em;
}
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3, html[lang="ar"] h4{
  font-family:var(--font-display-ar);
  font-weight:600;
  line-height:1.3;
}
h1{ font-size:clamp(1.9rem,3.6vw,3rem); }
h2{ font-size:clamp(1.55rem,2.6vw,2.15rem); }
h3{ font-size:clamp(1.15rem,1.8vw,1.4rem); }
/* Cairo (Arabic) runs visually larger/taller per character than the Latin display
   face at the same font-size, which was making AR headings wrap and inflating
   section height — trim the AR scale a notch so hero/section heights line up
   with the EN layout. */
html[lang="ar"] h1{ font-size:clamp(1.7rem,3.1vw,2.5rem); }
html[lang="ar"] h2{ font-size:clamp(1.4rem,2.3vw,1.85rem); }
html[lang="ar"] h3{ font-size:clamp(1.05rem,1.6vw,1.25rem); }
p{ margin:0 0 var(--space-2); color:var(--c-ink-soft); }

.eyebrow{
  display:inline-block; font-size:.78rem; letter-spacing:.18em; text-transform:uppercase;
  color:var(--c-gold); font-weight:600; margin-bottom:var(--space-1);
}

.container{ max-width:var(--container); margin-inline:auto; padding-inline:clamp(1.25rem,4vw,2.5rem); }
.section{ padding-block:var(--space-6); }
.section--tight{ padding-block:var(--space-5); }
.section--alt{ background:var(--c-cream); }
.section--navy{ background:var(--c-brand); color:var(--c-white); }
.section--navy h2, .section--navy h3{ color:var(--c-white); }
.section--navy p{ color:#C7CEDA; }

.section-head{ max-width:640px; margin-bottom:var(--space-4); }
.section-head--center{ margin-inline:auto; text-align:center; }

/* Buttons */
.btn{
  display:inline-flex; align-items:center; gap:.5rem;
  padding:.9rem 1.9rem; border-radius:var(--radius);
  font-size:.85rem; letter-spacing:.06em; text-transform:uppercase; font-weight:600;
  border:1px solid transparent; transition:background .25s var(--ease),color .25s var(--ease),border-color .25s var(--ease),transform .25s var(--ease);
  white-space:nowrap;
}
.btn:hover{ transform:translateY(-1px); }
.btn-primary{ background:var(--c-brand); color:var(--c-white); }
.btn-primary:hover{ background:var(--c-brand-deep); }
.btn-gold{ background:var(--c-gold); color:var(--c-white); }
.btn-gold:hover{ background:#a17f3f; }
.btn-outline{ border-color:var(--c-navy); color:var(--c-navy); }
.btn-outline:hover{ background:var(--c-brand); color:var(--c-white); border-color:var(--c-brand); }
.btn-outline-light{ border-color:rgba(255,255,255,.5); color:var(--c-white); }
.btn-outline-light:hover{ background:var(--c-white); color:var(--c-navy); }

/* =========== Header =========== */
.site-header{
  position:sticky; top:0; z-index:100;
  background:var(--c-header-bg); backdrop-filter:saturate(160%) blur(10px);
  border-bottom:1px solid transparent;
  transition:border-color .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease);
}
.site-header.is-scrolled{ border-color:var(--c-line); box-shadow:var(--shadow-sm); }
.site-header__row{ display:flex; align-items:center; justify-content:space-between; height:78px; gap:clamp(.5rem,2vw,1.5rem); flex-wrap:nowrap; }
.brand{ display:flex; align-items:center; gap:.5rem; font-family:var(--font-display); font-size:clamp(1.05rem,4.2vw,1.5rem); color:var(--c-navy); font-weight:700; letter-spacing:.02em; white-space:nowrap; flex:none; }
.brand img{ height:clamp(32px,9vw,44px); width:auto; flex:none; }
.brand--wordless img{ height:48px; }

/* ---- Logo theme swap: wrap a .logo-dark and a .logo-light <img> in an element
   with class="logo-swap" and the right one shows for the current theme. Use this
   anywhere the surrounding surface flips light/dark with the theme (header, cream
   sections). Surfaces that are ALWAYS dark (e.g. the footer) skip the wrapper and
   just embed the .logo-light image directly — it's untouched by these rules. ---- */
.logo-swap .logo-light{ display:none; }
:root[data-theme="dark"] .logo-swap .logo-dark{ display:none; }
:root[data-theme="dark"] .logo-swap .logo-light{ display:block; }
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]) .logo-swap .logo-dark{ display:none; }
  :root:not([data-theme="light"]) .logo-swap .logo-light{ display:block; }
}
.brand-chip{
  display:inline-flex; align-items:center; justify-content:center; background:var(--c-surface);
  padding:.4rem .7rem; border-radius:6px; line-height:0;
}
.brand-chip img{ height:34px; width:auto; }

.main-nav{ display:none; }
.main-nav ul{ display:flex; align-items:center; gap:clamp(1rem,2vw,1.8rem); }
.main-nav a{
  font-size:.86rem; letter-spacing:.03em; text-transform:uppercase; font-weight:600; color:var(--c-ink);
  padding:.4rem 0; position:relative;
}
.main-nav a::after{
  content:""; position:absolute; left:0; bottom:-2px; width:0; height:2px; background:var(--c-gold);
  transition:width .3s var(--ease);
}
.main-nav a:hover::after, .main-nav a.is-active::after{ width:100%; }
.main-nav a.is-active{ color:var(--c-navy); }

.header-actions{ display:flex; align-items:center; gap:clamp(.4rem,2vw,1rem); flex:none; }
.lang-switch{ display:flex; align-items:center; gap:.3rem; font-size:clamp(.68rem,2.4vw,.82rem); font-weight:700; letter-spacing:.02em; white-space:nowrap; }
.lang-switch button{ background:none; border:none; color:var(--c-ink-soft); padding:.6rem .2rem; min-height:44px; }
.lang-switch button.is-active{ color:var(--c-navy); border-bottom:2px solid var(--c-gold); }

.theme-toggle{
  display:inline-flex; align-items:center; justify-content:center;
  width:38px; height:38px; border-radius:50%; border:1px solid var(--c-line);
  background:var(--c-surface); color:var(--c-navy); padding:0; flex:none;
  transition:background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}
.theme-toggle:hover{ border-color:var(--c-gold); color:var(--c-gold); }
.theme-toggle svg{ width:18px; height:18px; stroke:currentColor; fill:none; }
.theme-toggle .icon-moon{ display:none; }
:root[data-theme="dark"] .theme-toggle .icon-sun{ display:none; }
:root[data-theme="dark"] .theme-toggle .icon-moon{ display:block; }
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]) .theme-toggle .icon-sun{ display:none; }
  :root:not([data-theme="light"]) .theme-toggle .icon-moon{ display:block; }
}

.nav-toggle{
  display:inline-flex; flex-direction:column; gap:5px; background:none; border:none; padding:.5rem;
}
.nav-toggle span{ width:24px; height:2px; background:var(--c-navy); transition:transform .3s var(--ease),opacity .3s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2){ opacity:0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }

.mobile-nav{
  position:fixed; inset:78px 0 0 0; background:var(--c-bg); z-index:99;
  transform:translateY(-8px); opacity:0; visibility:hidden; pointer-events:none;
  transition:opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear .25s;
  overflow-y:auto;
}
.mobile-nav.is-open{ transform:translateY(0); opacity:1; visibility:visible; pointer-events:auto; transition:opacity .25s var(--ease), transform .25s var(--ease); }
.mobile-nav ul{ display:flex; flex-direction:column; padding:var(--space-3) clamp(1.25rem,4vw,2.5rem); }
.mobile-nav a{ display:block; padding:1rem 0; border-bottom:1px solid var(--c-line); font-size:1.05rem; font-weight:600; color:var(--c-navy); }

@media (min-width: 960px){
  .main-nav{ display:block; }
  .nav-toggle{ display:none; }
  .mobile-nav{ display:none; }
}

/* Small-mobile header: extra safety margin so brand + lang + theme + burger never wrap/overflow */
@media (max-width: 400px){
  .theme-toggle{ width:32px; height:32px; }
  .theme-toggle svg{ width:16px; height:16px; }
  .nav-toggle{ padding:.4rem .3rem; }
  .lang-switch button{ padding:.6rem .1rem; }
}
@media (max-width: 340px){
  .lang-switch span[aria-hidden]{ display:none; }
}

/* =========== Hero =========== */
.hero{
  position:relative; min-height:min(56vh,560px); padding-block:var(--space-6); display:flex; align-items:center;
  background:linear-gradient(160deg,var(--c-brand) 0%,var(--c-brand-deep) 100%); color:var(--c-white); overflow:hidden;
}
.hero::after{
  content:""; position:absolute; inset:0; opacity:.5;
  background: radial-gradient(60% 60% at 85% 20%, rgba(184,147,75,.28), transparent 60%),
              radial-gradient(50% 50% at 10% 90%, rgba(139,123,184,.20), transparent 60%);
}
.hero__inner{ position:relative; z-index:1; max-width:760px; }
.hero p.lead{ color:#D6DCE7; font-size:clamp(1.05rem,1.6vw,1.25rem); max-width:560px; }
.hero__actions{ display:flex; flex-wrap:wrap; gap:var(--space-2); margin-top:var(--space-3); }
.hero h1{ color:var(--c-white); }

/* =========== Grids / Cards =========== */
.grid{ display:grid; gap:var(--space-3); }
.grid-2{ grid-template-columns:1fr; }
.grid-3{ grid-template-columns:1fr; }
.grid-4{ grid-template-columns:1fr; }
@media (min-width:640px){ .grid-2{ grid-template-columns:1fr 1fr; } .grid-4{ grid-template-columns:1fr 1fr; } }
@media (min-width:900px){ .grid-3{ grid-template-columns:repeat(3,1fr); } .grid-4{ grid-template-columns:repeat(4,1fr); } }

.card{
  background:var(--c-surface); border:1px solid var(--c-line); border-radius:var(--radius);
  overflow:hidden; transition:box-shadow .3s var(--ease), transform .3s var(--ease);
}
.card:hover{ box-shadow:var(--shadow-md); transform:translateY(-3px); }
/* Product photos are portrait bottle/label shots — cropping them to fill a
   landscape 4:3 box (object-fit:cover) cuts off label text unpredictably
   depending on each photo's own proportions. contain + padding shows the
   whole label every time.
   The photos themselves are shot on white, which is fine in light mode but
   reads as a harsh, broken-looking box in dark mode. Rather than trying to
   match the card background exactly, the white area is framed on purpose —
   inset with a margin, rounded corners, and a lifted shadow — so it reads
   as an intentional photo card floating on the surface, not a mismatched
   background. The margin gutter shows the card's own surface color, which
   is where the dark-mode contrast actually gets resolved. */
.card__media{ aspect-ratio:4/3; overflow:hidden; display:flex; align-items:center; justify-content:center; padding:var(--space-2); }
.card__media__frame{
  background:var(--c-white); border-radius:calc(var(--radius) + 4px);
  box-shadow:0 1px 4px rgba(18,35,61,.10);
  width:100%; height:100%; display:flex; align-items:center; justify-content:center;
  padding:var(--space-2);
}
:root[data-theme="dark"] .card__media__frame{ box-shadow:0 4px 18px rgba(0,0,0,.45); }
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]) .card__media__frame{ box-shadow:0 4px 18px rgba(0,0,0,.45); }
}
.card__media img{ width:100%; height:100%; object-fit:contain; transition:transform .5s var(--ease); }
.card:hover .card__media img{ transform:scale(1.05); }
.card__body{ padding:var(--space-3); }
.card__body h3{ margin-bottom:.35rem; font-size:1.15rem; }
.card__meta{ font-size:.75rem; letter-spacing:.08em; text-transform:uppercase; color:var(--c-gold); font-weight:700; margin-bottom:.5rem; display:block; }
.card__media{ position:relative; }
.badge-new{
  position:absolute; top:.65rem; inset-inline-start:.65rem; z-index:1;
  background:var(--c-brand); color:var(--c-white); font-size:.68rem; font-weight:700;
  letter-spacing:.06em; text-transform:uppercase; padding:.3rem .6rem; border-radius:999px;
}

.category-tile{
  position:relative; border-radius:var(--radius); overflow:hidden; min-height:260px;
  display:flex; align-items:flex-end; padding:var(--space-3); color:var(--c-white);
}
.category-tile::before{ content:""; position:absolute; inset:0; background:linear-gradient(0deg, rgba(10,22,38,.82), rgba(10,22,38,.15)); }
.category-tile__content{ position:relative; z-index:1; }
.category-tile h3{ color:var(--c-white); margin-bottom:.25rem; }
.category-tile p{ color:#DCE2EC; margin:0; }

/* Feature list */
.feature{ display:flex; gap:var(--space-2); align-items:flex-start; }
.feature__icon{
  flex:none; width:48px; height:48px; border-radius:50%; background:var(--c-cream);
  display:flex; align-items:center; justify-content:center; color:var(--c-gold);
  border:1px solid var(--c-line);
}
.feature h4{ margin-bottom:.25rem; font-size:1.05rem; }
.feature p{ margin:0; font-size:.92rem; }

/* Stats / values */
.value-card{ padding:var(--space-3); border:1px solid var(--c-line); border-radius:var(--radius); background:var(--c-surface); height:100%; }
.value-card .eyebrow{ margin-bottom:.75rem; }

/* CTA banner */
.cta-banner{
  text-align:center; padding:var(--space-6) var(--space-3); background:var(--c-brand); color:var(--c-white);
  border-radius:var(--radius);
}
.cta-banner h2{ color:var(--c-white); }
.cta-banner p{ color:#C7CEDA; max-width:560px; margin-inline:auto; }
.cta-banner__actions{ display:flex; flex-wrap:wrap; gap:var(--space-2); justify-content:center; margin-top:var(--space-3); }

/* Breadcrumb */
.breadcrumb{ font-size:.8rem; color:var(--c-ink-soft); padding-block:var(--space-2); }
.breadcrumb a{ color:var(--c-ink-soft); }
.breadcrumb a:hover{ color:var(--c-navy); }

/* Page hero (interior pages) */
.page-hero{ background:var(--c-cream); padding-block:var(--space-5); border-bottom:1px solid var(--c-line); }
.page-hero p{ max-width:640px; }

/* =========== Products =========== */
.product-toolbar{
  display:flex; flex-direction:column; gap:var(--space-2); margin-bottom:var(--space-4);
}
@media (min-width:768px){ .product-toolbar{ flex-direction:row; align-items:center; justify-content:space-between; } }
.filter-pills{ display:flex; flex-wrap:wrap; gap:.5rem; }
.filter-pill{
  padding:.5rem 1.1rem; border:1px solid var(--c-line); border-radius:999px; font-size:.82rem; font-weight:600;
  background:var(--c-surface); color:var(--c-ink-soft); transition:.25s var(--ease);
}
.filter-pill.is-active, .filter-pill:hover{ background:var(--c-brand); color:var(--c-white); border-color:var(--c-brand); }
.search-box{ position:relative; min-width:0; width:100%; }
@media (min-width:768px){ .search-box{ width:auto; min-width:240px; } }
.search-box input{
  width:100%; padding:.75rem 1rem; border:1px solid var(--c-line); border-radius:var(--radius); background:var(--c-surface); color:var(--c-ink);
}
.search-box input:focus{ outline:2px solid var(--c-gold); outline-offset:1px; }

.empty-state{ text-align:center; padding:var(--space-5); color:var(--c-ink-soft); }

/* Product detail — same "intentional photo frame" treatment as .card__media__frame:
   a lifted shadow in dark mode keeps the white product shot from reading as a
   broken/clashing box against the dark page background. */
.pd-gallery{ background:var(--c-white); border-radius:var(--radius); overflow:hidden; aspect-ratio:1/1; display:flex; align-items:center; justify-content:center; border:1px solid var(--c-line); padding:var(--space-4); box-shadow:0 1px 4px rgba(18,35,61,.10); }
:root[data-theme="dark"] .pd-gallery{ box-shadow:0 6px 24px rgba(0,0,0,.5); }
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]) .pd-gallery{ box-shadow:0 6px 24px rgba(0,0,0,.5); }
}
.pd-gallery img{ width:100%; height:100%; object-fit:contain; }
.pd-specs{ margin-top:var(--space-3); border-top:1px solid var(--c-line); }
.pd-specs__row{ display:flex; flex-wrap:wrap; gap:.25rem var(--space-2); padding:.85rem 0; border-bottom:1px solid var(--c-line); }
.pd-specs__row dt{ flex:0 0 40%; font-weight:600; color:var(--c-navy); font-size:.9rem; }
@media (max-width:420px){ .pd-specs__row dt{ flex:0 0 100%; } .pd-specs__row dd{ flex:0 0 100%; } }
.pd-specs__row dd{ margin:0; color:var(--c-ink-soft); font-size:.9rem; }
.chip-list{ display:flex; flex-wrap:wrap; gap:.5rem; }
.chip{ padding:.4rem .85rem; border:1px solid var(--c-line); border-radius:999px; font-size:.8rem; color:var(--c-ink-soft); }

/* =========== Forms =========== */
.form-grid{ display:grid; gap:var(--space-2); grid-template-columns:1fr; }
@media (min-width:640px){ .form-grid{ grid-template-columns:1fr 1fr; } }
.form-field{ display:flex; flex-direction:column; gap:.4rem; }
.form-field--full{ grid-column:1/-1; }
.form-field label{ font-size:.82rem; font-weight:600; color:var(--c-navy); }
.form-field input, .form-field select, .form-field textarea{
  padding:.85rem 1rem; border:1px solid var(--c-line); border-radius:var(--radius); background:var(--c-surface); color:var(--c-ink);
  transition:border-color .2s;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus{ outline:none; border-color:var(--c-gold); }
.form-field .req{ color:var(--c-rose); }
.form-note{ font-size:.8rem; color:var(--c-ink-soft); margin-top:.5rem; }
.form-success{ display:none; padding:var(--space-3); background:#F0F5EE; border:1px solid #BFD8B8; border-radius:var(--radius); color:#2F5233; }
.form-success.is-shown{ display:block; }

/* Contact info list */
.contact-list{ display:flex; flex-direction:column; gap:var(--space-3); }
.contact-list .feature p{ color:var(--c-ink); }

/* Placeholder tag */
.placeholder-tag{
  display:inline-block; font-size:.7rem; letter-spacing:.04em; text-transform:uppercase; font-weight:700;
  color:#9A4A2E; background:#FBEAE0; border:1px solid #F0C6AE; padding:.2rem .55rem; border-radius:3px; margin-inline-start:.4rem;
}

/* =========== Footer =========== */
.site-footer{ background:var(--c-brand-deep); color:#B9C1CF; padding-block:var(--space-6) var(--space-3); }
.footer-grid{ display:grid; gap:var(--space-4); grid-template-columns:1fr; }
@media (min-width:820px){ .footer-grid{ grid-template-columns:1.5fr 1fr 1fr 1.2fr; } }
.footer-brand .brand{ color:var(--c-white); margin-bottom:var(--space-2); }
.footer-col h5{ color:var(--c-white); font-size:.82rem; letter-spacing:.08em; text-transform:uppercase; margin-bottom:var(--space-2); }
.footer-col ul{ display:flex; flex-direction:column; gap:.65rem; }
.footer-col a{ font-size:.9rem; color:#B9C1CF; }
.footer-col a:hover{ color:var(--c-gold-light); }
.footer-social{ display:flex; align-items:center; gap:.75rem; margin-top:var(--space-2); flex-wrap:wrap; }
.footer-social a{ width:44px; height:44px; border:1px solid rgba(255,255,255,.2); border-radius:50%; display:flex; align-items:center; justify-content:center; color:#fff; transition:background .25s var(--ease), border-color .25s var(--ease); }
.footer-social a:hover{ background:rgba(255,255,255,.12); border-color:rgba(255,255,255,.4); }
.footer-social a svg{ width:16px; height:16px; fill:currentColor; }
.footer-social .placeholder-tag{ margin-inline-start:0; }
/* .footer-social is also reused outside the dark footer (e.g. contact.html) — the white/transparent
   icon color above is invisible on light backgrounds, so give it ink-colored icons there. */
section .footer-social a{ color:var(--c-ink); border-color:var(--c-line); }
section .footer-social a:hover{ background:var(--c-cream); border-color:var(--c-gold); }
.footer-bottom{ margin-top:var(--space-5); padding-top:var(--space-3); border-top:1px solid rgba(255,255,255,.12); display:flex; flex-wrap:wrap; gap:var(--space-2); justify-content:space-between; font-size:.8rem; }
.footer-legal{ display:flex; gap:var(--space-2); flex-wrap:wrap; }

/* =========== Reveal animation =========== */
.reveal{ opacity:0; transform:translateY(18px); transition:opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible{ opacity:1; transform:translateY(0); }

/* =========== Utilities =========== */
.text-center{ text-align:center; }
.mt-0{ margin-top:0; }
.visually-hidden{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
.skip-link{
  /* inset-inline-start (logical), not left: a physical "left:-999px" in an RTL
     document inflates scrollWidth far past the visible content, which can shift
     the page's initial scroll anchor and push real content off-screen. */
  position:absolute; inset-inline-start:-999px; top:0; background:var(--c-brand); color:var(--c-white); padding:.75rem 1.25rem; z-index:1000;
}
.skip-link:focus{ inset-inline-start:1rem; top:1rem; }

:focus-visible{ outline:2px solid var(--c-gold); outline-offset:2px; }
