/* ==========================================================================
   AVIRA ADHARSH GLOBAL LIMITED — Primary Stylesheet
   Premium New Zealand home-textile trading company
   Palette: Warm Ivory / Natural Beige / Soft Sand / Rich Black /
            Charcoal / Muted Gold (accent)
   Typography: Playfair Display (serif headings) + Inter (sans body)
   ========================================================================== */

/* -------------------------------------------------------------------------
   1. CSS CUSTOM PROPERTIES / DESIGN TOKENS
   ------------------------------------------------------------------------- */
:root{
  /* Colour palette */
  --color-ivory:        #FAF6EF;
  --color-ivory-dark:   #F3ECDF;
  --color-beige:        #E9DCC9;
  --color-sand:         #D6C2A0;
  --color-sand-deep:    #C6AC7E;
  --color-forest:       #181818;
  --color-forest-deep:  #0A0A0A;
  --color-charcoal:     #2A2A26;
  --color-charcoal-80:  rgba(42,42,38,.8);
  --color-gold:         #C99A2E;
  --color-gold-soft:    #E7C465;
  --color-white:        #FFFFFF;
  --gold-gradient:      linear-gradient(135deg, #FFF3C4 0%, #F6D778 20%, #D4A828 45%, #B8860B 72%, #7A5A0C 100%);
  --gold-gradient-soft: linear-gradient(135deg, #FFFAE8 0%, #FBE9A8 30%, #EFC85B 60%, #D4A828 100%);

  /* Semantic tokens */
  --bg-body:             var(--color-ivory);
  --bg-alt:               var(--color-ivory-dark);
  --bg-dark:              var(--color-forest);
  --bg-darker:            var(--color-forest-deep);
  --text-primary:        var(--color-charcoal);
  --text-muted:          #5C594F;
  --text-on-dark:        var(--color-ivory);
  --text-on-dark-muted:  rgba(250,246,239,.72);
  --border-soft:         rgba(42,42,38,.12);
  --border-on-dark:      rgba(250,246,239,.18);
  --accent:               var(--color-gold);

  /* Typography — Playfair Display (matching the logo's wordmark) for headings, Inter for body copy */
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing scale */
  --space-xxs: .4rem;
  --space-xs:  .8rem;
  --space-sm:  1.2rem;
  --space-md:  2rem;
  --space-lg:  3.2rem;
  --space-xl:  5.6rem;
  --space-xxl: 8.8rem;

  /* Layout */
  --container-max: 1320px;
  --container-pad: 6vw;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  /* Motion */
  --ease: cubic-bezier(.4,0,.2,1);
  --ease-soft: cubic-bezier(.16,1,.3,1);
  --dur-fast: .25s;
  --dur-med: .5s;
  --dur-slow: .9s;

  /* Header height */
  --header-h: 96px;
  --header-h-scrolled: 72px;
}

/* -------------------------------------------------------------------------
   2. RESET
   ------------------------------------------------------------------------- */
*, *::before, *::after{ box-sizing: border-box; margin:0; padding:0; }
html{ font-size: 62.5%; scroll-behavior: smooth; }
body{
  font-family: var(--font-sans);
  font-size: 1.6rem;
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--bg-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, picture, video{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul, ol{ list-style: none; }
button, input, select, textarea{ font-family: inherit; font-size: inherit; color: inherit; }
button{ cursor: pointer; background: none; border: none; }
h1, h2, h3, h4, h5{
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.16;
  color: var(--text-primary);
  letter-spacing: -.02em;
}
p{ margin: 0 0 1.2em; }
:focus-visible{ outline: 2px solid var(--color-gold); outline-offset: 3px; }
.visually-hidden{
  position:absolute!important; width:1px;height:1px;overflow:hidden;
  clip:rect(0 0 0 0); white-space:nowrap; border:0; padding:0; margin:-1px;
}
::selection{ background: var(--color-sand-deep); color: var(--color-forest-deep); }

/* -------------------------------------------------------------------------
   3. LAYOUT HELPERS
   ------------------------------------------------------------------------- */
.container{
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}
.section{ padding-block: var(--space-xxl); }
.section--tight{ padding-block: var(--space-xl); }
.section--alt{ background: var(--bg-alt); }
.section--has-bg{ position: relative; overflow: hidden; }
.section--has-bg > .container{ position: relative; z-index: 1; }
.section-bg-media{ position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.section-bg-media img{ width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.section-bg-media::after{ content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg-alt) 0%, rgba(243,236,223,.3) 22%, rgba(243,236,223,.3) 78%, var(--bg-alt) 100%); }
.section--dark{ background: var(--bg-dark); color: var(--text-on-dark); }
.section--dark h1, .section--dark h2, .section--dark h3{ color: var(--text-on-dark); }
.section-head{ max-width: 720px; margin-bottom: var(--space-lg); }
.section-head--center{ margin-inline: auto; text-align: center; }
.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  font-family: var(--font-sans);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 1.4rem;
}
.eyebrow::before{
  content: "";
  width: 32px; height: 1px;
  background: var(--gold-gradient);
  display: inline-block;
}
.section--dark .eyebrow, .section--dark .eyebrow::before{ color: var(--color-gold-soft); background: var(--color-gold-soft); }
.section-title{ font-size: clamp(2.4rem, 2.6vw, 3.4rem); margin-bottom: 1.6rem; }
.section-subtitle{ font-size: 1.8rem; color: var(--text-muted); max-width: 62ch; }
.section--dark .section-subtitle{ color: var(--text-on-dark-muted); }
.grid{ display: grid; gap: var(--space-md); }

/* -------------------------------------------------------------------------
   4. BUTTONS
   ------------------------------------------------------------------------- */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .8rem;
  padding: 1.5rem 3.2rem;
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: transform var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
  white-space: nowrap;
}
.btn:active{ transform: translateY(1px); }
.btn-primary{ background: var(--color-forest); color: var(--color-ivory); }
.btn-primary:hover{ background: var(--color-forest-deep); box-shadow: 0 10px 26px -10px rgba(10,10,10,.55); }
.btn-outline{ border-color: currentColor; color: var(--text-primary); background: transparent; }
.btn-outline:hover{ background: var(--text-primary); color: var(--bg-body); }
.section--dark .btn-outline{ color: var(--text-on-dark); }
.section--dark .btn-outline:hover{ background: var(--text-on-dark); color: var(--bg-darker); }
.btn-gold{ background: var(--gold-gradient); color: var(--color-forest-deep); }
.btn-gold:hover{ background: var(--gold-gradient-soft); box-shadow: 0 10px 26px -12px rgba(176,141,87,.6); }
.btn-light{ background: var(--color-ivory); color: var(--color-forest-deep); }
.btn-light:hover{ background: var(--color-white); }
.btn-block{ width: 100%; }
.btn-sm{ padding: 1.1rem 2rem; font-size: 1.2rem; }
.btn[disabled]{ opacity: .55; cursor: not-allowed; }

/* -------------------------------------------------------------------------
   5. HEADER
   ------------------------------------------------------------------------- */
.site-header{
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 900;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(10,10,10,.92);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: height var(--dur-med) var(--ease), background-color var(--dur-med) var(--ease), border-color var(--dur-med) var(--ease), box-shadow var(--dur-med) var(--ease);
}
.site-header.is-scrolled{
  height: var(--header-h-scrolled);
  background: rgba(10,10,10,.98);
  border-bottom-color: var(--border-on-dark);
  box-shadow: 0 8px 30px -20px rgba(0,0,0,.5);
}
.site-header .container{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  width: 100%;
}
.brand{
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand-name{
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.9rem;
  letter-spacing: .03em;
  color: var(--color-forest-deep);
}
.brand-tagline{
  font-size: 1rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-top: .3rem;
}
/* --logo-header-height-base / --logo-footer-height-base default to the
   original fixed pixel values below and can be overridden per-site from
   Admin → Settings (see initSiteLogo() in js/main.js) — every rule that
   derives a size from them keeps the same proportions as before, just
   scaled from whatever base an admin has set instead of a hard-coded 84px. */
:root{
  --logo-header-height-base: 84px;
  --logo-footer-height-base: 46px;
}
.brand-logo{
  height: var(--logo-header-height-base);
  width: auto;
  display: block;
  background: none;
  transition: height var(--dur-med) var(--ease);
}
.site-header.is-scrolled .brand-logo{ height: calc(var(--logo-header-height-base) * 0.738); }
.brand-logo--mobile{ height: 52px; }
.brand-logo--footer{ height: var(--logo-footer-height-base); margin-bottom: .2rem; }
.brand-logo--admin{ height: 34px; margin-bottom: .8rem; }
.brand-logo--auth{ height: 52px; margin-inline: auto; margin-bottom: .8rem; }
.main-nav{ display: flex; }
/* Scoped to the direct child so this doesn't also style nested <ul>s, like
   the mega-menu's per-category lists a few levels down — those need their
   own left-aligned flex-column layout, not this top-level row's centering. */
.main-nav > ul{ display: flex; align-items: center; gap: var(--space-lg); }
.main-nav > ul > li{ display: flex; align-items: center; }
.main-nav a{
  position: relative;
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--text-on-dark);
  padding-block: .4rem;
}
.main-nav > ul > li > a::after{
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -2px;
  height: 1.5px;
  background: var(--gold-gradient);
  transition: right var(--dur-fast) var(--ease-soft);
}
.main-nav > ul > li > a:hover::after, .main-nav > ul > li > a.is-active::after{ right: 0; }
.main-nav > ul > li > a.is-active{ color: var(--color-gold-soft); }
.header-actions{ display: flex; align-items: center; gap: 1.6rem; }

/* ------------------------------------------------------- PRODUCTS MEGA MENU */
.main-nav li.has-mega{
  position: static; /* keeps .mega-menu's containing block at .site-header, not this li */
  height: var(--header-h);
}
.site-header.is-scrolled .main-nav li.has-mega{ height: var(--header-h-scrolled); }
.main-nav li.has-mega > a{
  display: flex;
  align-items: center;
  gap: .4rem;
}
.mega-caret{ width: 11px; height: 11px; transition: transform var(--dur-fast) var(--ease-soft); }
.main-nav li.has-mega:hover .mega-caret,
.main-nav li.has-mega:focus-within .mega-caret{ transform: rotate(180deg); }
.mega-menu{
  position: absolute;
  top: 100%;
  /* Left-aligned to the page's own content edge (same left edge as .container)
     rather than centered on the viewport — matches the site's left-aligned
     layout language. max() keeps it flush with container padding on narrow
     desktop widths, and with the container's real left edge once it's
     narrower than --container-max and starts floating away from the edge. */
  left: max(var(--container-pad), calc((100vw - var(--container-max)) / 2 + var(--container-pad)));
  transform: translateY(6px);
  width: min(960px, 92vw);
  background: var(--color-ivory);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  box-shadow: 0 30px 70px -24px rgba(0,0,0,.55);
  padding: 2.6rem 3rem 2.2rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--dur-fast) var(--ease-soft), transform var(--dur-fast) var(--ease-soft), visibility var(--dur-fast);
  z-index: 950;
}
.main-nav li.has-mega:hover > .mega-menu,
.main-nav li.has-mega:focus-within > .mega-menu{
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.mega-menu-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2.2rem;
}
/* Specificity note: `.main-nav a` (0,1,1) sets a white/ivory color+size for the
   dark header's top-level links. Everything inside the light .mega-menu card
   needs to win that cascade, so these rules are scoped under .mega-menu
   (or given an explicit !important on color) rather than relying on class
   count alone. */
.mega-menu .mega-col-heading{
  display: block;
  font-family: var(--font-serif) !important;
  font-size: 1.55rem !important;
  font-weight: 700;
  color: var(--color-forest-deep) !important;
  padding-block: 0 .7rem !important;
  margin-bottom: .8rem;
  border-bottom: 2px solid var(--color-gold-soft);
}
.mega-menu .mega-col-heading:hover{ color: var(--color-gold) !important; }
.mega-col ul{ display: flex; flex-direction: column; align-items: flex-start; gap: .55rem; }
.mega-menu .mega-col ul a{ font-size: 1.25rem !important; color: var(--text-muted) !important; line-height: 1.4; padding-block: 0 !important; }
.mega-menu .mega-col ul a:hover{ color: var(--color-gold) !important; }
.mega-menu-footer{
  margin-top: 2.2rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--border-soft);
  text-align: center;
}
.mega-menu-footer .btn{ color: var(--text-primary) !important; }
.mega-menu-footer .btn:hover{ color: var(--bg-body) !important; }
.mega-menu-error{ font-size: 1.3rem; color: var(--text-muted); text-align: center; }
.site-header .btn-primary{
  background: var(--gold-gradient);
  color: var(--color-forest-deep);
  border-color: transparent;
}
.site-header .btn-primary:hover{
  background: var(--gold-gradient-soft);
  box-shadow: 0 10px 26px -12px rgba(176,141,87,.6);
}
.whatsapp-chip{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(250,246,239,.08);
  border: 1px solid var(--color-gold);
  color: var(--color-gold-soft);
  transition: background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.whatsapp-chip:hover{ background: #25D366; border-color: #25D366; color: var(--color-ivory); transform: translateY(-2px); }
.whatsapp-chip svg{ width: 20px; height: 20px; }
.nav-toggle{
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 34px; height: 26px;
  justify-content: center;
}
.nav-toggle span{
  display: block;
  height: 2px;
  background: var(--text-on-dark);
  transition: transform var(--dur-fast) var(--ease), opacity var(--dur-fast) 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: 0;
  top: 0;
  background: var(--color-forest-deep);
  color: var(--text-on-dark);
  z-index: 950;
  display: flex;
  flex-direction: column;
  padding: var(--space-md) 8vw;
  transform: translateX(100%);
  transition: transform var(--dur-med) var(--ease-soft);
  visibility: hidden;
  overflow-y: auto;
}
.mobile-nav.is-open{ transform: translateX(0); visibility: visible; }
.mobile-nav-top{ display: flex; align-items: center; justify-content: space-between; height: var(--header-h-scrolled); flex-shrink: 0; }
.mobile-nav-close{ width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; color: var(--text-on-dark); }
.mobile-nav-close svg{ width: 24px; height: 24px; }
.mobile-nav ul{ margin-top: var(--space-lg); display: flex; flex-direction: column; gap: var(--space-md); }
.mobile-nav ul > li{ min-width: 0; }
.mobile-nav a{ font-family: var(--font-serif); font-size: 3.2rem; color: var(--text-on-dark); }
.mobile-nav-footer{ margin-top: auto; padding-top: var(--space-lg); padding-bottom: var(--space-sm); flex-shrink: 0; display: flex; flex-direction: column; gap: var(--space-sm); }
.mobile-nav-footer a{ font-size: 1.6rem; color: var(--text-on-dark-muted); }

/* --------------------------------------------------- MOBILE PRODUCTS ACCORDION */
.mobile-nav-row{ display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.mobile-nav-row a{ flex: 1; }
.mobile-submenu-toggle{
  flex-shrink: 0;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-on-dark);
  border: 1px solid var(--border-on-dark);
  border-radius: 50%;
}
.mobile-submenu-toggle svg{ width: 16px; height: 16px; transition: transform var(--dur-fast) var(--ease-soft); }
.mobile-submenu-toggle[aria-expanded="true"] svg{ transform: rotate(180deg); }
.mobile-submenu{
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--dur-med) var(--ease-soft);
}
.mobile-submenu.is-open{ grid-template-rows: 1fr; }
.mobile-submenu-inner{ overflow: hidden; }
.mobile-submenu-viewall{
  display: inline-block;
  font-family: var(--font-sans) !important;
  font-size: 1.3rem !important;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--color-gold-soft) !important;
  margin: 1.4rem 0 1rem;
}
.mobile-cat-item{ padding-block: .9rem; border-top: 1px solid var(--border-on-dark); }
.mobile-cat-item:first-of-type{ border-top: none; }
.mobile-cat-row{ display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.mobile-cat-row a{ font-family: var(--font-sans) !important; font-size: 1.7rem !important; font-weight: 600; color: var(--text-on-dark) !important; }
.mobile-subcat-toggle{
  flex-shrink: 0;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-on-dark-muted);
}
.mobile-subcat-toggle svg{ width: 13px; height: 13px; transition: transform var(--dur-fast) var(--ease-soft); }
.mobile-subcat-toggle[aria-expanded="true"] svg{ transform: rotate(180deg); }
.mobile-subcat-panel{
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--dur-med) var(--ease-soft);
}
.mobile-subcat-panel.is-open{ grid-template-rows: 1fr; }
.mobile-subcat-inner{
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: .3rem;
  padding-left: 1.4rem;
}
.mobile-subcat-inner a{
  font-family: var(--font-sans) !important;
  font-size: 1.4rem !important;
  color: var(--text-on-dark-muted) !important;
  padding-block: .5rem;
}
body.nav-open{ overflow: hidden; }

/* -------------------------------------------------------------------------
   6. HERO SLIDER
   Multiple .hero-slide layers crossfade inside one .hero container. Slides
   are admin-managed (see js/api.js getSlides / Admin → Sliders) and
   rendered by initHeroSlider() in js/main.js.
   ------------------------------------------------------------------------- */
.hero{
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  color: var(--text-on-dark);
}
.hero-slide{
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.2s var(--ease), visibility 0s linear 1.2s;
  z-index: 0;
}
.hero-slide.is-active{
  opacity: 1;
  visibility: visible;
  z-index: 1;
  transition: opacity 1.2s var(--ease), visibility 0s linear 0s;
}
.hero-media{ position: absolute; inset: 0; z-index: 0; }
.hero-media img{
  width: 100%; height: 100%; object-fit: cover;
  animation: heroZoom 16s ease-in-out infinite alternate;
}
@keyframes heroZoom{ from{ transform: scale(1);} to{ transform: scale(1.09);} }
.hero-media::after{
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,.35) 0%, rgba(10,10,10,.35) 40%, rgba(10,10,10,.86) 100%);
}
.hero-inner{
  position: relative;
  z-index: 1;
  width: 100%;
  padding-block: var(--space-xxl) var(--space-xl);
}
.hero-eyebrow,
.hero-title,
.hero-text,
.hero-actions{
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease-soft), transform .8s var(--ease-soft);
}
.hero-slide.is-active .hero-eyebrow{ opacity: 1; transform: none; transition-delay: .3s; }
.hero-slide.is-active .hero-title{ opacity: 1; transform: none; transition-delay: .45s; }
.hero-slide.is-active .hero-text{ opacity: 1; transform: none; transition-delay: .6s; }
.hero-slide.is-active .hero-actions{ opacity: 1; transform: none; transition-delay: .75s; }
.hero-eyebrow{
  font-size: 1.3rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--color-gold-soft); margin-bottom: 2rem;
}
.hero-title{
  font-size: clamp(3.2rem, 5.2vw, 6.2rem);
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--text-on-dark);
  max-width: 18ch;
  white-space: pre-line;
}
.hero-title em{ font-style: italic; color: var(--color-gold-soft); }
.hero-text{
  margin-top: 2.4rem;
  font-size: 1.9rem;
  max-width: 52ch;
  color: var(--text-on-dark-muted);
}
.hero-actions{
  margin-top: 3.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
}
.hero-scroll{
  position: absolute;
  right: var(--container-pad);
  bottom: var(--space-lg);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--text-on-dark-muted);
  font-size: 1.1rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}
.hero-scroll::after{
  content: "";
  width: 1px; height: 60px;
  background: var(--text-on-dark-muted);
  display: block;
  animation: scrollLine 2.2s var(--ease) infinite;
}
@keyframes scrollLine{ 0%{ transform: scaleY(0); transform-origin: top;} 50%{ transform: scaleY(1); transform-origin: top;} 50.01%{ transform-origin: bottom;} 100%{ transform: scaleY(0); transform-origin: bottom;} }
@keyframes fadeUp{ from{ opacity: 0; transform: translateY(28px);} to{ opacity: 1; transform: translateY(0);} }

/* Hero slider controls: dot indicators + prev/next arrows */
.hero-dots{
  position: absolute;
  left: 50%;
  bottom: var(--space-lg);
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  gap: 1rem;
}
.hero-dot{
  width: 9px; height: 9px;
  border-radius: 50%;
  background: rgba(250,246,239,.4);
  transition: background var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.hero-dot:hover{ background: rgba(250,246,239,.7); }
.hero-dot.is-active{ background: var(--color-gold-soft); transform: scale(1.35); }
.hero-arrow{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: rgba(250,246,239,.1);
  border: 1px solid rgba(250,246,239,.32);
  color: var(--text-on-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.hero-arrow svg{ width: 20px; height: 20px; }
.hero-arrow:hover{ background: rgba(250,246,239,.22); border-color: rgba(250,246,239,.55); }
.hero-arrow--prev{ left: 2.4rem; }
.hero-arrow--next{ right: 2.4rem; }

/* Page (non-home) hero — shorter, used on inner pages */
.page-hero{
  position: relative;
  min-height: 46vh;
  display: flex;
  align-items: center;
  color: var(--text-on-dark);
  overflow: hidden;
  margin-top: 0;
}
.page-hero .hero-media img{ animation: none; }
/* Page-hero background crossfade: any number of admin-managed images
   (Admin → Page Headers) cross-fade by toggling .is-active — rendered by
   initPageHeroSlider() in js/main.js, same technique as the category card
   crossfade. Replaces the old fixed-2-image, CSS-only keyframe version so
   a page can have anywhere from 1 to many header photos. */
.page-hero .hero-media{ display: block; }
.page-hero .hero-media img.page-hero-bg{
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1.8s var(--ease);
}
.page-hero .hero-media img.page-hero-bg.is-active{ opacity: 1; }
@media (prefers-reduced-motion: reduce){
  .page-hero .hero-media img.page-hero-bg{ transition: none; }
}
.page-hero-inner{ position: relative; z-index: 1; padding-top: var(--header-h); padding-bottom: var(--space-lg); }
.page-hero .eyebrow{ color: var(--color-gold-soft); }
.page-hero h1{ color: var(--text-on-dark); font-size: clamp(2.6rem, 3.4vw, 4.2rem); max-width: 22ch; }
.page-hero p{ margin-top: 1.6rem; max-width: 60ch; color: var(--text-on-dark-muted); font-size: 1.8rem; }
.breadcrumb{ font-size: 1.2rem; letter-spacing: .06em; color: var(--text-on-dark-muted); margin-bottom: 1.6rem; }
.breadcrumb a{ color: var(--color-gold-soft); }
.breadcrumb a:hover{ text-decoration: underline; }

/* -------------------------------------------------------------------------
   7. SPLIT / INTRO SECTION
   ------------------------------------------------------------------------- */
.split{
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(3rem, 6vw, 8rem);
}
.split-media{
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
}
.split-media img{ width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-soft); }
.split-media:hover img{ transform: scale(1.06); }
.split-media-badge{
  position: absolute;
  left: -1px; bottom: 2.4rem;
  background: var(--color-ivory);
  color: var(--color-forest-deep);
  padding: 1.6rem 2.4rem;
  font-family: var(--font-serif);
  font-size: 1.6rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  box-shadow: 0 20px 40px -18px rgba(10,10,10,.4);
}
.split-media-badge strong{ display: block; font-size: 2.6rem; color: var(--color-gold); }
.split-body p{ font-size: 1.75rem; color: var(--text-muted); }
.split-body .btn{ margin-top: var(--space-sm); }
.split.split--reverse{ grid-template-columns: 1fr 1fr; direction: rtl; }
.split.split--reverse > *{ direction: ltr; }

/* -------------------------------------------------------------------------
   8. PRODUCT CATEGORY CARDS
   ------------------------------------------------------------------------- */
.category-grid{
  display: grid;
  grid-template-columns: repeat(6, 1fr); /* 1st two cards = 3+3 (one full row); rest = 2+2+2 (a second row of three) */
  gap: var(--space-md);
}
.category-card{
  position: relative;
  grid-column: span 2;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  color: var(--text-on-dark);
  isolation: isolate;
}
.category-card:nth-child(1),
.category-card:nth-child(2){ grid-column: span 3; aspect-ratio: 5 / 4; }
.category-card-img{
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s var(--ease-soft), opacity 1.6s var(--ease);
  z-index: -2;
  opacity: 0;
}
.category-card-img.is-active{ opacity: 1; z-index: -1; }
.category-card::before{
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,.05) 0%, rgba(10,10,10,.78) 88%);
  z-index: 0;
  transition: background var(--dur-med) var(--ease);
}
.category-card:hover .category-card-img{ transform: scale(1.08); }
.category-card-body{
  position: absolute;
  inset-inline: 0; bottom: 0;
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: .8rem;
  transform: translateY(6px);
  transition: transform var(--dur-med) var(--ease-soft);
}
.category-card:hover .category-card-body{ transform: translateY(0); }
.category-number{
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--color-gold-soft);
  letter-spacing: .08em;
}
.category-card h3{ font-size: clamp(2rem, 1.8vw, 2.4rem); color: var(--text-on-dark); }
.category-card p{
  color: var(--text-on-dark-muted);
  max-width: 46ch;
  font-size: 1.4rem;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height var(--dur-med) var(--ease), opacity var(--dur-med) var(--ease), margin var(--dur-med) var(--ease);
  margin: 0;
}
.category-card:hover p{ max-height: 6em; opacity: 1; margin-bottom: .4rem; }
.category-card-link{
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-on-dark);
  width: fit-content;
  border-bottom: 1px solid var(--color-gold-soft);
  padding-bottom: .3rem;
}
.category-card-link svg{ width: 14px; height: 14px; transition: transform var(--dur-fast) var(--ease); }
.category-card:hover .category-card-link svg{ transform: translateX(4px); }

/* -------------------------------------------------------------------------
   9. PRODUCT GRID (products.html listing per category)
   ------------------------------------------------------------------------- */
.filter-bar{
  display: flex; flex-wrap: wrap; gap: 1rem;
  margin-bottom: var(--space-lg);
}
.filter-chip{
  padding: 1rem 2.2rem;
  border: 1px solid var(--border-soft);
  border-radius: 50px;
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: all var(--dur-fast) var(--ease);
}
.filter-chip:hover{ border-color: var(--color-gold); color: var(--text-primary); }
.filter-chip.is-active{ background: var(--color-forest); border-color: var(--color-forest); color: var(--color-ivory); }

.product-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}
.product-card{
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-soft);
  transition: transform var(--dur-med) var(--ease), box-shadow var(--dur-med) var(--ease);
  opacity:0; animation: fadeUp .7s var(--ease-soft) forwards;
}
.product-card:hover{ transform: translateY(-6px); box-shadow: 0 30px 50px -30px rgba(10,10,10,.35); }
.product-card-media{ position: relative; aspect-ratio: 4/5; overflow: hidden; background: var(--color-beige); }
.product-card-media img{ width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-soft); }
.product-card:hover .product-card-media img{ transform: scale(1.07); }
.product-card-category{
  position: absolute; top: 1.4rem; left: 1.4rem;
  background: rgba(250,246,239,.92);
  color: var(--color-forest-deep);
  font-size: 1rem; letter-spacing: .1em; text-transform: uppercase;
  padding: .6rem 1.2rem; border-radius: 50px;
}
.product-card-body{ padding: var(--space-sm) var(--space-md) var(--space-md); }
.product-card-body h3{ font-size: 2rem; margin-bottom: .6rem; }
.product-card-body p{ font-size: 1.4rem; color: var(--text-muted); margin-bottom: 1.6rem; }
.product-card-footer{ display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.product-card-footer .btn{ padding: 1.1rem 2rem; font-size: 1.1rem; }
.no-results{ text-align: center; padding: var(--space-xl) 0; color: var(--text-muted); font-size: 1.8rem; grid-column: 1/-1; }

/* Square gallery tiles — products.html now shows a plain photo gallery per
   category instead of individual product cards / a detail page. */
.gallery-tile{
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--color-beige);
  border: 1px solid var(--border-soft);
  cursor: zoom-in;
  opacity: 0; animation: fadeUp .7s var(--ease-soft) forwards;
  transition: transform var(--dur-med) var(--ease), box-shadow var(--dur-med) var(--ease);
}
.gallery-tile:hover{ transform: translateY(-6px); box-shadow: 0 30px 50px -30px rgba(10,10,10,.35); }
.gallery-tile img{ width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s var(--ease-soft); }
.gallery-tile:hover img{ transform: scale(1.07); }
.gallery-tile-category{
  position: absolute; top: 1.4rem; left: 1.4rem;
  background: rgba(250,246,239,.92);
  color: var(--color-forest-deep);
  font-size: 1rem; letter-spacing: .1em; text-transform: uppercase;
  padding: .6rem 1.2rem; border-radius: 50px;
  pointer-events: none;
}

/* Lightbox for the gallery tiles above */
.gallery-lightbox{
  position: fixed; inset: 0; z-index: 999;
  display: flex; align-items: center; justify-content: center;
  padding: 5rem 2rem;
  background: rgba(15,13,10,.94);
  opacity: 0; visibility: hidden;
  transition: opacity var(--dur-med) var(--ease);
}
.gallery-lightbox.is-open{ opacity: 1; visibility: visible; }
.gallery-lightbox img{
  max-width: 100%; max-height: 100%;
  border-radius: var(--radius-sm);
  box-shadow: 0 40px 90px rgba(0,0,0,.5);
}
.gallery-lightbox-close{
  position: absolute; top: 2.4rem; right: 2.4rem;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(250,246,239,.14);
  color: var(--color-ivory);
  transition: background var(--dur-fast) var(--ease);
}
.gallery-lightbox-close:hover{ background: rgba(250,246,239,.28); }
.gallery-lightbox-close svg{ width: 20px; height: 20px; }
.gallery-lightbox-nav{
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(250,246,239,.14);
  color: var(--color-ivory);
  transition: background var(--dur-fast) var(--ease);
}
.gallery-lightbox-nav:hover{ background: rgba(250,246,239,.28); }
.gallery-lightbox-nav svg{ width: 22px; height: 22px; }
.gallery-lightbox-prev{ left: 2rem; }
.gallery-lightbox-next{ right: 2rem; }

/* -------------------------------------------------------------------------
   10. PRODUCT DETAIL PAGE
   ------------------------------------------------------------------------- */
.product-detail{
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(3rem, 5vw, 7rem);
  align-items: flex-start;
}
.product-gallery-main{
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--color-beige);
}
.product-gallery-main img{ width: 100%; height: 100%; object-fit: cover; transition: opacity .35s var(--ease); }
.product-thumbs{ display: flex; gap: 1.2rem; margin-top: 1.6rem; flex-wrap: wrap; }
.product-thumb{
  width: 88px; height: 88px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  opacity: .7;
  transition: all var(--dur-fast) var(--ease);
}
.product-thumb img{ width: 100%; height: 100%; object-fit: cover; }
.product-thumb:hover, .product-thumb.is-active{ opacity: 1; border-color: var(--color-gold); }
.product-info-category{
  display: inline-block;
  font-size: 1.2rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--color-gold); margin-bottom: 1.2rem;
}
.product-info h1{ font-size: clamp(2.6rem, 2.6vw, 3.4rem); margin-bottom: 1.6rem; }
.product-info-desc{ font-size: 1.7rem; color: var(--text-muted); margin-bottom: var(--space-md); }
.product-spec-table{ width: 100%; border-collapse: collapse; margin-bottom: var(--space-md); }
.product-spec-table tr{ border-bottom: 1px solid var(--border-soft); }
.product-spec-table th, .product-spec-table td{ text-align: left; padding: 1.4rem 0; font-size: 1.45rem; }
.product-spec-table th{ width: 160px; font-weight: 600; color: var(--text-primary); }
.product-spec-table td{ color: var(--text-muted); }
.swatch-list{ display: flex; gap: .8rem; flex-wrap: wrap; }
.swatch{
  padding: .6rem 1.4rem;
  border: 1px solid var(--border-soft);
  border-radius: 50px;
  font-size: 1.25rem;
  color: var(--text-muted);
}
.product-actions{ display: flex; flex-wrap: wrap; gap: 1.4rem; margin-top: var(--space-md); }
.btn-whatsapp{ background: #25D366; color: #0B3D22; }
.btn-whatsapp:hover{ background: #1EBE59; }
.product-full-desc{ margin-top: var(--space-xl); max-width: 80ch; }
.product-full-desc h2{ font-size: 2.6rem; margin-bottom: 1.4rem; }
.product-full-desc p{ font-size: 1.6rem; color: var(--text-muted); }
.related-products{ margin-top: var(--space-xxl); }

/* -------------------------------------------------------------------------
   11. WHY CHOOSE US
   ------------------------------------------------------------------------- */
.feature-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}
.feature-card{
  padding: var(--space-md);
  background: var(--color-white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  transition: transform var(--dur-med) var(--ease), box-shadow var(--dur-med) var(--ease), border-color var(--dur-med) var(--ease);
}
.feature-card:hover{
  transform: translateY(-8px);
  box-shadow: 0 30px 60px -30px rgba(10,10,10,.3);
  border-color: var(--color-gold);
}
.feature-icon{
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--color-ivory-dark);
  color: var(--color-forest);
  margin-bottom: var(--space-sm);
  transition: background var(--dur-med) var(--ease), color var(--dur-med) var(--ease);
}
.feature-card:hover .feature-icon{ background: var(--color-forest); color: var(--color-ivory); }
.feature-icon svg{ width: 26px; height: 26px; }
.feature-card h3{ font-size: 2rem; margin-bottom: .8rem; }
.feature-card p{ font-size: 1.45rem; color: var(--text-muted); margin: 0; }
.feature-grid--4{ grid-template-columns: repeat(4, 1fr); }

/* -------------------------------------------------------------------------
   11b. PROCESS STEPS ("How We Source")
   ------------------------------------------------------------------------- */
.process-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  position: relative;
}
.process-grid--3{ grid-template-columns: repeat(3, 1fr); }
.process-grid::before{
  content: "";
  position: absolute;
  top: 32px;
  left: 12%;
  right: 12%;
  height: 1px;
  background: var(--border-soft);
  z-index: 0;
}
.process-step{
  position: relative;
  z-index: 1;
  text-align: center;
  padding-inline: var(--space-sm);
}
.process-step-number{
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--color-forest);
  color: var(--color-ivory);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: 2.1rem;
  margin: 0 auto 1.8rem;
  box-shadow: 0 0 0 6px var(--bg-body);
  transition: background var(--dur-med) var(--ease), transform var(--dur-med) var(--ease);
}
.process-step:hover .process-step-number{ background: var(--color-gold); transform: translateY(-4px); }
.section--alt .process-step-number{ box-shadow: 0 0 0 6px var(--bg-alt); }
.process-step h3{ font-size: 1.9rem; margin-bottom: .8rem; }
.process-step p{ font-size: 1.4rem; color: var(--text-muted); margin: 0; max-width: 32ch; margin-inline: auto; }

/* -------------------------------------------------------------------------
   11c. MISSION TEASER (condensed, links through to the full mission)
   ------------------------------------------------------------------------- */
.mission-teaser-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}
.mission-teaser-item{
  border-left: 2px solid var(--color-gold);
  padding-left: 1.8rem;
}
.mission-teaser-item span{
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--color-gold);
  letter-spacing: .04em;
}
.mission-teaser-item h3{ font-size: 1.9rem; margin: .6rem 0 .6rem; }
.mission-teaser-item p{ font-size: 1.4rem; color: var(--text-muted); margin: 0; }

/* -------------------------------------------------------------------------
   12. VISION (full width editorial)
   ------------------------------------------------------------------------- */
.vision{
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-on-dark);
  overflow: hidden;
}
.vision-media{ position: absolute; inset: 0; }
.vision-media img{ width: 100%; height: 100%; object-fit: cover; }
.vision-media::after{ content: ""; position: absolute; inset: 0; background: rgba(10,10,10,.72); }
.vision-inner{ position: relative; z-index: 1; max-width: 900px; padding-inline: var(--container-pad); }
.vision-inner .eyebrow{ justify-content: center; color: var(--color-gold-soft); }
.vision-inner .eyebrow::before{ display:none; }
.vision-inner h2{ font-size: clamp(2.2rem, 2.6vw, 3.2rem); color: var(--text-on-dark); margin-bottom: 2rem; }
.vision-inner p{ font-size: 2.1rem; color: var(--text-on-dark-muted); font-family: var(--font-serif); font-style: italic; }

/* -------------------------------------------------------------------------
   13. MISSION (numbered)
   ------------------------------------------------------------------------- */
.mission-list{ display: flex; flex-direction: column; }
.mission-item{
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: var(--space-md);
  padding-block: var(--space-md);
  border-top: 1px solid var(--border-soft);
  align-items: center;
}
.mission-item:last-child{ border-bottom: 1px solid var(--border-soft); }
.mission-index{
  font-family: var(--font-serif);
  font-size: 4.4rem;
  color: var(--color-sand-deep);
  line-height: 1;
}
.mission-item h3{ font-size: 2.2rem; margin-bottom: .6rem; }
.mission-item p{ color: var(--text-muted); font-size: 1.5rem; margin: 0; max-width: 70ch; }

/* -------------------------------------------------------------------------
   14. PROMISE (minimalist statement)
   ------------------------------------------------------------------------- */
.promise{
  position: relative;
  padding-block: var(--space-xxl);
  text-align: center;
  color: var(--text-on-dark);
  overflow: hidden;
}
.promise-media{ position: absolute; inset: 0; }
.promise-media img{ width: 100%; height: 100%; object-fit: cover; }
.promise-media::after{ content:""; position:absolute; inset:0; background: rgba(10,10,10,.82); }
.promise-inner{ position: relative; z-index: 1; max-width: 1000px; margin-inline: auto; padding-inline: var(--container-pad); }
.promise h2{
  font-size: clamp(2.2rem, 3vw, 3.6rem);
  color: var(--text-on-dark);
  line-height: 1.2;
}
.promise p{ margin-top: var(--space-md); font-size: 1.9rem; color: var(--text-on-dark-muted); max-width: 62ch; margin-inline: auto; }

/* -------------------------------------------------------------------------
   15. ENQUIRY / CONTACT FORM
   ------------------------------------------------------------------------- */
.enquiry-layout{ display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(3rem, 5vw, 6rem); }
.enquiry-info p{ font-size: 1.8rem; color: var(--text-muted); }
.enquiry-info-list{ margin-top: var(--space-lg); display: flex; flex-direction: column; gap: var(--space-md); }
.enquiry-info-item{ display: flex; gap: 1.6rem; align-items: flex-start; }
.enquiry-info-icon{
  width: 46px; height: 46px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--color-ivory-dark); color: var(--color-forest);
}
.enquiry-info-icon svg{ width: 22px; height: 22px; }
.enquiry-info-item h4{ font-size: 1.6rem; margin-bottom: .3rem; }
.enquiry-info-item p{ font-size: 1.4rem; color: var(--text-muted); margin: 0; }

.form-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-sm) var(--space-md); }
.form-group{ display: flex; flex-direction: column; gap: .7rem; }
.form-group.full{ grid-column: 1 / -1; }
.form-group label{ font-size: 1.3rem; font-weight: 600; letter-spacing: .02em; }
.form-group .req{ color: var(--color-gold); }
.form-group input, .form-group select, .form-group textarea{
  padding: 1.4rem 1.6rem;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  background: var(--color-white);
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus{
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(176,141,87,.16);
  outline: none;
}
.form-group textarea{ resize: vertical; min-height: 130px; }
.form-error{ font-size: 1.2rem; color: #B0453E; min-height: 1.6rem; }
.form-group.has-error input, .form-group.has-error select, .form-group.has-error textarea{ border-color: #B0453E; }
.form-submit-row{ grid-column: 1/-1; display: flex; align-items: center; gap: 2rem; margin-top: .8rem; flex-wrap: wrap; }
.form-note{ font-size: 1.25rem; color: var(--text-muted); }
.form-success{
  display: none;
  align-items: center;
  gap: 1.4rem;
  background: var(--color-ivory-dark);
  border: 1px solid var(--color-gold);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  margin-top: var(--space-md);
}
.form-success.is-visible{ display: flex; }
.form-success svg{ width: 30px; height: 30px; color: var(--color-forest); flex-shrink: 0; }
.form-success p{ margin: 0; font-size: 1.5rem; }

/* -------------------------------------------------------------------------
   16. CONTACT DETAILS + MAP
   ------------------------------------------------------------------------- */
.contact-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-lg); }
/* Used when the map/second column has been removed (e.g. no public address
   to show) — centers the remaining Contact Details card at a readable width
   instead of stretching it across the full section. */
.contact-grid--single{ grid-template-columns: minmax(0, 640px); justify-content: center; }
.contact-card{ background: var(--color-white); border: 1px solid var(--border-soft); border-radius: var(--radius-lg); padding: var(--space-lg); }
.contact-card h3{ font-size: 2.4rem; margin-bottom: var(--space-sm); }
.contact-detail-list{ display: flex; flex-direction: column; gap: var(--space-md); margin-top: var(--space-md); }
.contact-detail-item{ display: flex; gap: 1.6rem; }
.contact-detail-item .icon{
  width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%;
  background: var(--color-ivory-dark); color: var(--color-forest);
  display: flex; align-items: center; justify-content: center;
}
.contact-detail-item .icon svg{ width: 20px; height: 20px; }
.contact-detail-item h4{ font-size: 1.4rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); margin-bottom: .4rem; }
.contact-detail-item p, .contact-detail-item a{ font-size: 1.6rem; }
.contact-detail-item a:hover{ color: var(--color-gold); }
.map-embed{ border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3; border: 1px solid var(--border-soft); }
.map-embed iframe{ width: 100%; height: 100%; border: 0; }
.social-links{ display: flex; gap: 1.2rem; margin-top: var(--space-md); }
.social-links a{
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--border-soft);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-primary);
  transition: all var(--dur-fast) var(--ease);
}
.social-links a:hover{ background: var(--color-forest); border-color: var(--color-forest); color: var(--color-ivory); }
.social-links svg{ width: 18px; height: 18px; }

/* -------------------------------------------------------------------------
   17. FOOTER
   ------------------------------------------------------------------------- */
.site-footer{ background: var(--color-forest-deep); color: var(--text-on-dark); }
.footer-top{
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: var(--space-lg);
  padding-block: var(--space-xl);
  border-bottom: 1px solid var(--border-on-dark);
}
.footer-brand .brand-name{ color: var(--text-on-dark); font-size: 2.1rem; }
.footer-brand p{ margin-top: 1.4rem; color: var(--color-gold-soft); font-family: var(--font-serif); font-style: italic; font-size: 1.6rem; max-width: 30ch; }
.footer-col h4{ font-size: 1.3rem; letter-spacing: .12em; text-transform: uppercase; color: var(--color-gold-soft); margin-bottom: 1.8rem; }
.footer-col ul{ display: flex; flex-direction: column; gap: 1.1rem; }
.footer-col a, .footer-col address{ color: var(--text-on-dark-muted); font-size: 1.45rem; font-style: normal; }
.footer-col a:hover{ color: var(--text-on-dark); }
.footer-col address p{ margin: 0 0 .3rem; }
.footer-social{ display: flex; gap: 1rem; margin-top: 1.6rem; }
.footer-social a{
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--border-on-dark);
  display: flex; align-items: center; justify-content: center;
}
.footer-social svg{ width: 16px; height: 16px; }
.footer-social a:hover{ background: var(--color-gold); border-color: var(--color-gold); }
.footer-bottom{
  display: flex; align-items: center; justify-content: space-between;
  padding-block: var(--space-sm);
  font-size: 1.25rem;
  color: var(--text-on-dark-muted);
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom-links{ display: flex; gap: 2rem; }
.footer-bottom-links a:hover{ color: var(--text-on-dark); }

/* -------------------------------------------------------------------------
   18. WHATSAPP FLOATING BUTTON
   ------------------------------------------------------------------------- */
.whatsapp-float{
  position: fixed;
  right: 2.4rem; bottom: 2.4rem;
  z-index: 800;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 30px -10px rgba(37,211,102,.6);
}
.whatsapp-float svg{ width: 28px; height: 28px; }
.whatsapp-float::before{
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
  background: #25D366;
  animation: pulse 2.2s var(--ease) infinite;
  z-index: -1;
}
@keyframes pulse{
  0%{ transform: scale(1); opacity: .6; }
  100%{ transform: scale(1.9); opacity: 0; }
}
.whatsapp-float .tooltip{
  position: absolute;
  right: 72px;
  background: var(--color-charcoal);
  color: var(--color-ivory);
  padding: .9rem 1.6rem;
  border-radius: var(--radius-sm);
  font-size: 1.3rem;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(6px);
  transition: opacity var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
  pointer-events: none;
}
.whatsapp-float:hover .tooltip, .whatsapp-float:focus-visible .tooltip{ opacity: 1; transform: translateX(0); }

.instagram-float{
  position: fixed;
  left: 2.4rem; bottom: 2.4rem;
  z-index: 800;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: linear-gradient(45deg, #f9ce34 0%, #ee2a7b 50%, #6228d7 100%);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 30px -10px rgba(204,35,102,.6);
}
.instagram-float svg{ width: 28px; height: 28px; }
.instagram-float::before{
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
  background: linear-gradient(45deg, #f9ce34 0%, #ee2a7b 50%, #6228d7 100%);
  animation: pulse 2.2s var(--ease) infinite;
  z-index: -1;
}
.instagram-float .tooltip{
  position: absolute;
  left: 72px;
  background: var(--color-charcoal);
  color: var(--color-ivory);
  padding: .9rem 1.6rem;
  border-radius: var(--radius-sm);
  font-size: 1.3rem;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
  pointer-events: none;
}
.instagram-float:hover .tooltip, .instagram-float:focus-visible .tooltip{ opacity: 1; transform: translateX(0); }

/* -------------------------------------------------------------------------
   19. SCROLL / REVEAL ANIMATIONS
   ------------------------------------------------------------------------- */
.reveal{ opacity: 0; transform: translateY(36px); transition: opacity .8s var(--ease-soft), transform .8s var(--ease-soft); }
.reveal.is-visible{ opacity: 1; transform: translateY(0); }
.reveal-delay-1.is-visible{ transition-delay: .1s; }
.reveal-delay-2.is-visible{ transition-delay: .2s; }
.reveal-delay-3.is-visible{ transition-delay: .3s; }
.reveal-delay-4.is-visible{ transition-delay: .4s; }
.reveal-delay-5.is-visible{ transition-delay: .5s; }
@media (prefers-reduced-motion: reduce){
  .reveal{ opacity: 1; transform: none; transition: none; }
  .hero-media img{ animation: none; }
  .hero-eyebrow, .hero-title, .hero-text, .hero-actions{ opacity: 1; animation: none; }
}

/* -------------------------------------------------------------------------
   20. MISC / UTILITIES
   ------------------------------------------------------------------------- */
.skip-link{
  position: absolute; left: -999px; top: 0;
  background: var(--color-forest); color: var(--color-ivory);
  padding: 1.2rem 2rem; z-index: 9999; border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus{ left: 0; }
.text-center{ text-align: center; }
.mt-lg{ margin-top: var(--space-lg); }
.mb-lg{ margin-bottom: var(--space-lg); }
.badge{
  display: inline-block; padding: .5rem 1.2rem; border-radius: 50px;
  font-size: 1.1rem; letter-spacing: .06em; text-transform: uppercase;
  background: var(--color-ivory-dark); color: var(--color-forest);
}
.divider{ height: 1px; background: var(--border-soft); border: 0; margin-block: var(--space-lg); }
.lazy-img{ background: var(--color-beige); }
.stats-strip{
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: var(--space-md);
  padding-block: var(--space-lg);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}
.stat-item{ text-align: center; }
.stat-item strong{ display: block; font-family: var(--font-serif); font-size: 3.6rem; color: var(--color-forest); }
.stat-item span{ font-size: 1.3rem; color: var(--text-muted); letter-spacing: .04em; text-transform: uppercase; }

/* Page loader-free content shift avoidance */
img{ background: var(--color-beige); }

/* 404 / empty states */
.empty-state{ text-align: center; padding: var(--space-xxl) 0; }
.empty-state h2{ margin-bottom: 1.2rem; }
.empty-state p{ color: var(--text-muted); margin-bottom: var(--space-md); }
