/* ============================================================
   Marhaba Jewellery — brochure / lead-gen showcase
   Palette keyed to brand concept logo: emerald + gold on ivory
   ============================================================ */

:root {
  --bg: #FBF7F0;        /* warm ivory page background */
  --surface: #FFFFFF;   /* cards / product tiles */
  --text: #23201B;      /* near-black warm ink */
  --muted: #6E665A;     /* secondary text / captions */
  --primary: #134A3E;   /* deep emerald jewel-green */
  --primary-deep: #0E382F;
  --secondary: #9C7A3C; /* antique / deep gold */
  --accent: #C9A24B;    /* bright gold (CTAs, highlights) */
  --accent-soft: #E9D7Ac;
  --border: #E7DECF;    /* warm hairline borders */
  --focus: #134A3E;

  --maxw: 1200px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(35,32,27,.05), 0 2px 8px rgba(35,32,27,.04);
  --shadow-md: 0 8px 30px rgba(19,74,62,.10), 0 2px 8px rgba(35,32,27,.05);
  --shadow-lg: 0 24px 60px rgba(14,56,47,.18);

  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, sans-serif;

  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

::selection { background: var(--accent); color: #fff; }

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

/* ---------- Typography ---------- */
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--text);
}
h1 { font-size: clamp(2.6rem, 7vw, 5rem); }
h2 { font-size: clamp(2rem, 5vw, 3.4rem); }
h3 { font-size: clamp(1.4rem, 3vw, 1.9rem); }

p { margin: 0 0 1em; text-wrap: pretty; }

.eyebrow {
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--secondary);
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: .65em;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--accent);
  display: inline-block;
}
.eyebrow.center::before { display: none; }

.lede { font-size: clamp(1.05rem, 1.6vw, 1.28rem); color: var(--muted); line-height: 1.6; }

/* ---------- Layout ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 820px; margin: 0 auto; padding: 0 24px; }
section { position: relative; }
.section-pad { padding: 72px 0; }
@media (min-width: 768px) { .section-pad { padding: 110px 0; } }

.center { text-align: center; }
.stack { display: flex; flex-direction: column; }

/* ---------- Buttons ---------- */
.btn {
  font-family: var(--sans);
  font-weight: 600;
  font-size: .98rem;
  letter-spacing: .01em;
  border: 1px solid transparent;
  border-radius: 100px;
  padding: 14px 26px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  transition: transform .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease), color .25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: 0 0 auto; }
.btn-gold {
  background: linear-gradient(135deg, var(--accent), var(--secondary));
  color: #fff;
  box-shadow: 0 6px 18px rgba(156,122,60,.32);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(156,122,60,.42); }
.btn-emerald { background: var(--primary); color: #F7F2E7; }
.btn-emerald:hover { background: var(--primary-deep); transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--border);
}
.btn-outline:hover { border-color: var(--accent); color: var(--secondary); background: #fff; }
.btn-ghost-light {
  background: rgba(255,255,255,.10);
  color: #fff;
  border-color: rgba(255,255,255,.45);
  backdrop-filter: blur(4px);
}
.btn-ghost-light:hover { background: rgba(255,255,255,.2); }
.btn-wa { background: #25D366; color: #fff; box-shadow: 0 6px 18px rgba(37,211,102,.3); }
.btn-wa:hover { background: #1eb858; transform: translateY(-2px); }
.btn-block { width: 100%; }

/* ---------- Confirm / placeholder flag ---------- */
.confirm-flag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--sans);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--secondary);
  background: #fbf2dd;
  border: 1px dashed var(--accent);
  border-radius: 6px;
  padding: 2px 7px;
  vertical-align: middle;
  cursor: help;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 24px;
  height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.nav.solid { background: rgba(251,247,240,.92); backdrop-filter: blur(14px); border-bottom-color: var(--border); box-shadow: 0 2px 20px rgba(35,32,27,.04); }
.nav-links { display: none; align-items: center; gap: 34px; }
.nav-link {
  font-size: .82rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--text); position: relative; padding: 6px 0; transition: color .2s;
}
.nav.on-hero:not(.solid) .nav-link, .nav.on-hero:not(.solid) .wordmark-name, .nav.on-hero:not(.solid) .wordmark-sub { color: #fff; }
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1.5px; width: 0; background: var(--accent); transition: width .3s var(--ease);
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-link.active { color: var(--secondary); }
.nav.on-hero:not(.solid) .nav-link.active { color: var(--accent-soft); }
.nav-cta { display: none; }
.nav-burger {
  display: inline-flex; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 10px; margin: -10px;
}
.nav-burger span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s var(--ease); }
.nav.on-hero:not(.solid) .nav-burger span { background: #fff; }

@media (min-width: 900px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-burger { display: none; }
}

/* Wordmark */
.wordmark { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.wordmark-badge {
  width: 42px; height: 42px; border-radius: 50%; flex: 0 0 auto;
  display: grid; place-items: center;
  border: 1.5px solid var(--primary);
  background: var(--surface);
  overflow: hidden;
}
.wordmark-badge img { width: 100%; height: 100%; object-fit: contain; }
.wordmark-text { display: flex; flex-direction: column; line-height: 1; }
.wordmark-name {
  font-family: var(--serif); font-weight: 700; font-size: 1.45rem; letter-spacing: .02em; color: var(--primary);
}
.wordmark-sub {
  font-family: var(--sans); font-weight: 600; font-size: .56rem; letter-spacing: .42em; text-transform: uppercase; color: var(--secondary); margin-top: 2px;
}

/* Mobile menu overlay */
.mobile-menu {
  position: fixed; inset: 0; z-index: 200; background: var(--primary-deep);
  display: flex; flex-direction: column; padding: 28px 28px 40px;
  transform: translateY(-100%); transition: transform .45s var(--ease); visibility: hidden;
}
.mobile-menu.open { transform: translateY(0); visibility: visible; }
.mobile-menu-top { display: flex; align-items: center; justify-content: space-between; }
.mobile-menu .wordmark-name { color: #F7F2E7; }
.mobile-menu .wordmark-sub { color: var(--accent); }
.mm-close { background: none; border: none; color: #fff; font-size: 2rem; cursor: pointer; line-height: 1; padding: 6px; }
.mobile-menu-links { display: flex; flex-direction: column; gap: 4px; margin-top: 44px; }
.mm-link {
  font-family: var(--serif); font-size: 2.4rem; color: #F7F2E7; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.12);
  display: flex; align-items: baseline; gap: 16px; transition: color .2s, padding-left .25s var(--ease);
}
.mm-link:hover { color: var(--accent); padding-left: 10px; }
.mm-link .idx { font-family: var(--sans); font-size: .8rem; color: var(--accent); font-weight: 700; }
.mobile-menu-foot { margin-top: auto; display: flex; flex-direction: column; gap: 12px; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(14,56,47,.55) 0%, rgba(14,56,47,.15) 35%, rgba(14,56,47,.55) 72%, rgba(14,56,47,.94) 100%);
}
.hero-content { position: relative; z-index: 2; padding-bottom: 56px; width: 100%; }
.hero h1 { color: #fff; max-width: 16ch; }
.hero h1 em { font-style: italic; color: var(--accent-soft); }
.hero-line { max-width: 46ch; color: rgba(255,255,255,.9); font-size: clamp(1.05rem, 1.8vw, 1.3rem); margin: 22px 0 30px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-meta { position: absolute; top: 100px; right: 24px; z-index: 2; text-align: right; display: none; }
@media (min-width: 768px){ .hero-meta { display: block; } }
.hero-meta .ar { font-family: var(--serif); font-size: 1.6rem; color: rgba(255,255,255,.85); letter-spacing: .04em; }
.hero-scroll { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 2; font-size: .68rem; letter-spacing: .25em; text-transform: uppercase; color: rgba(255,255,255,.7); display: flex; flex-direction: column; align-items: center; gap: 8px; }
.hero-scroll::after { content: ""; width: 1px; height: 32px; background: linear-gradient(rgba(255,255,255,.6), transparent); animation: scrollpulse 2s var(--ease) infinite; }
@keyframes scrollpulse { 0%,100%{ opacity:.3; transform: scaleY(.6);} 50%{opacity:1; transform: scaleY(1);} }

/* ============================================================
   GENERIC SECTION HEADINGS
   ============================================================ */
.sec-head { max-width: 640px; }
.sec-head.center { margin: 0 auto; }
.sec-head h2 { margin: 14px 0 0; }
.sec-head .lede { margin-top: 18px; }
.divider-gold { width: 54px; height: 2px; background: linear-gradient(90deg, var(--accent), transparent); margin: 22px 0 0; }
.center .divider-gold { margin-left: auto; margin-right: auto; background: linear-gradient(90deg, transparent, var(--accent), transparent); }

/* ============================================================
   INTRO STRIP (home)
   ============================================================ */
.intro { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.intro-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px){ .intro-grid { grid-template-columns: 1.1fr .9fr; gap: 72px; } }
.intro-figure { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 4/3; }
.intro-figure img { width: 100%; height: 100%; object-fit: cover; }
.intro-figure .frame-edge { position: absolute; inset: 10px; border: 1px solid rgba(255,255,255,.45); border-radius: 14px; pointer-events: none; }

/* stat-ish honest pillars (NO numbers) */
.pillars { display: grid; gap: 18px; margin-top: 30px; }
@media (min-width: 560px){ .pillars { grid-template-columns: repeat(3,1fr); } }
.pillar { }
.pillar .pi { color: var(--accent); margin-bottom: 8px; }
.pillar .pi svg { width: 26px; height: 26px; }
.pillar h4 { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; margin: 0 0 4px; }
.pillar p { font-size: .9rem; color: var(--muted); margin: 0; }

/* ============================================================
   COLLECTIONS GRID
   ============================================================ */
.coll-grid { display: grid; gap: 18px; margin-top: 44px; grid-template-columns: 1fr; }
@media (min-width: 600px){ .coll-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 980px){ .coll-grid { grid-template-columns: repeat(3,1fr); } }

.coll-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface);
  box-shadow: var(--shadow-sm); border: 1px solid var(--border); cursor: pointer;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.coll-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.coll-media { position: relative; aspect-ratio: 4/5; overflow: hidden; background: #efe7d8; }
.coll-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.coll-card:hover .coll-media img { transform: scale(1.06); }
.coll-media.tall { aspect-ratio: 4/5; }
.coll-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(14,56,47,.82) 100%); }
.coll-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px; color: #fff; z-index: 2; }
.coll-body h3 { color: #fff; font-size: 1.5rem; }
.coll-body p { font-size: .86rem; color: rgba(255,255,255,.82); margin: 4px 0 0; }
.coll-enquire { margin-top: 14px; display: inline-flex; align-items: center; gap: 8px; font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-soft); transition: gap .25s var(--ease); }
.coll-card:hover .coll-enquire { gap: 14px; }
.coll-enquire svg { width: 15px; height: 15px; }

/* placeholder tile (honest, no fake photo) */
.coll-media.placeholder { display: grid; place-items: center; background:
  repeating-linear-gradient(135deg, #efe7d8, #efe7d8 14px, #e7dcc6 14px, #e7dcc6 28px); }
.ph-note { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: .72rem; color: var(--secondary); background: rgba(255,255,255,.78); padding: 6px 10px; border-radius: 6px; letter-spacing: .02em; }

/* category chips (the rest of the range) */
.cat-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.cat-chip {
  font-size: .82rem; font-weight: 600; letter-spacing: .04em; color: var(--primary);
  border: 1px solid var(--border); background: var(--surface); border-radius: 100px; padding: 10px 18px;
  display: inline-flex; align-items: center; gap: 8px; transition: .25s var(--ease); cursor: default;
}
.cat-chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

/* ============================================================
   HERITAGE / WHY STRIP
   ============================================================ */
.heritage { background: var(--primary); color: #F2EFE6; overflow: hidden; }
.heritage .eyebrow { color: var(--accent); }
.heritage h2 { color: #fff; }
.heritage h2 em { font-style: italic; color: var(--accent-soft); }
.heritage .lede { color: rgba(242,239,230,.82); }
.why-grid { display: grid; gap: 8px; margin-top: 46px; }
@media (min-width: 760px){ .why-grid { grid-template-columns: repeat(3,1fr); gap: 0; } }
.why-card { padding: 30px 0; }
@media (min-width: 760px){ .why-card { padding: 8px 34px; border-left: 1px solid rgba(255,255,255,.14); } .why-card:first-child { padding-left: 0; border-left: none; } }
.why-card .wi { color: var(--accent); margin-bottom: 14px; }
.why-card .wi svg { width: 30px; height: 30px; }
.why-card h3 { color: #fff; font-size: 1.35rem; margin-bottom: 8px; }
.why-card p { color: rgba(242,239,230,.74); font-size: .94rem; margin: 0; }

/* ============================================================
   VISIT TEASER
   ============================================================ */
.visit-grid { display: grid; gap: 28px; align-items: stretch; }
@media (min-width: 900px){ .visit-grid { grid-template-columns: 1fr 1fr; gap: 40px; } }
.info-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow-sm); }
.info-row { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--border); align-items: flex-start; }
.info-row:last-child { border-bottom: none; }
.info-row .ic { color: var(--secondary); flex: 0 0 auto; margin-top: 2px; }
.info-row .ic svg { width: 20px; height: 20px; }
.info-row .lbl { font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 0 0 2px; }
.info-row .val { font-size: 1rem; color: var(--text); margin: 0; font-weight: 500; }
.info-row a.val:hover { color: var(--secondary); }

/* MAP placeholder */
.map-box {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 320px; height: 100%;
  border: 1px solid var(--border);
  background:
    radial-gradient(circle at 30% 30%, rgba(201,162,75,.10), transparent 60%),
    repeating-linear-gradient(135deg, #f3ecdd, #f3ecdd 22px, #efe6d4 22px, #efe6d4 44px);
  display: grid; place-items: center; text-align: center; padding: 30px;
}
.map-box:has(iframe) { padding: 0; display: block; background: none; }
.map-box iframe { width: 100%; max-width: 100%; height: 100%; min-height: 320px; display: block; border: 0; }
.map-box .map-note { z-index: 2; }
.map-pin { color: var(--primary); margin-bottom: 14px; }
.map-pin svg { width: 40px; height: 40px; }
.map-box h3 { color: var(--primary); font-size: 1.5rem; }
.map-box p { color: var(--muted); font-size: .92rem; max-width: 38ch; margin: 8px auto 0; }
.map-grid-lines { position: absolute; inset: 0; opacity: .5; background-image:
  linear-gradient(rgba(19,74,62,.06) 1px, transparent 1px),
  linear-gradient(90deg, rgba(19,74,62,.06) 1px, transparent 1px);
  background-size: 38px 38px; }

/* ============================================================
   GALLERY / INSTAGRAM STRIP
   ============================================================ */
.ig-strip { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; margin-top: 40px; }
@media (min-width: 700px){ .ig-strip { grid-template-columns: repeat(4,1fr); } }
.ig-tile { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 12px; background: #efe7d8; }
.ig-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.ig-tile:hover img { transform: scale(1.07); }
.ig-tile .ig-hover { position: absolute; inset: 0; background: rgba(14,56,47,.5); display: grid; place-items: center; opacity: 0; transition: opacity .3s; color: #fff; }
.ig-tile:hover .ig-hover { opacity: 1; }
.ig-tile .ig-hover svg { width: 26px; height: 26px; }

/* ============================================================
   ENQUIRY FORM
   ============================================================ */
.form-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-md); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--sans); font-size: 1rem; color: var(--text);
  background: var(--bg); border: 1px solid var(--border); border-radius: 10px; padding: 13px 15px;
  transition: border-color .2s, box-shadow .2s; min-height: 50px;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(19,74,62,.1); }
.field.err input, .field.err select, .field.err textarea { border-color: #c0492f; box-shadow: 0 0 0 3px rgba(192,73,47,.1); }
.field .err-msg { color: #c0492f; font-size: .78rem; margin-top: 6px; display: block; }
.form-row { display: grid; gap: 18px; }
@media (min-width: 560px){ .form-row { grid-template-columns: 1fr 1fr; } }
.form-note { font-size: .78rem; color: var(--muted); margin-top: 4px; }
.form-success { text-align: center; padding: 26px 10px; }
.form-success .ok-ring { width: 64px; height: 64px; border-radius: 50%; background: rgba(19,74,62,.08); display: grid; place-items: center; margin: 0 auto 18px; color: var(--primary); }
.form-success .ok-ring svg { width: 30px; height: 30px; }
.form-success h3 { color: var(--primary); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--primary-deep); color: rgba(242,239,230,.7); padding: 64px 0 0; }
.footer-grid { display: grid; gap: 38px; }
@media (min-width: 760px){ .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 50px; } }
.footer .wordmark-name { color: #F7F2E7; }
.footer .wordmark-sub { color: var(--accent); }
.footer h4 { font-family: var(--sans); font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin: 0 0 18px; }
.footer p { font-size: .92rem; line-height: 1.7; margin: 0 0 10px; }
.footer a { color: rgba(242,239,230,.7); transition: color .2s; }
.footer a:hover { color: var(--accent); }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-social { display: flex; gap: 12px; margin-top: 16px; }
.footer-social a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); display: grid; place-items: center; transition: .25s var(--ease); }
.footer-social a:hover { border-color: var(--accent); background: var(--accent); color: var(--primary-deep); }
.footer-social svg { width: 19px; height: 19px; }
.footer-bottom { margin-top: 54px; border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0 30px; }
.footer-bottom .wrap { display: flex; flex-direction: column; gap: 10px; font-size: .78rem; }
@media (min-width: 700px){ .footer-bottom .wrap { flex-direction: row; justify-content: space-between; align-items: center; } }
.footer-disc { font-size: .72rem; color: rgba(242,239,230,.45); max-width: 70ch; }

/* ============================================================
   MOBILE STICKY CONTACT BAR + FAB
   ============================================================ */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: grid; grid-template-columns: repeat(3,1fr);
  background: var(--surface); border-top: 1px solid var(--border);
  box-shadow: 0 -6px 24px rgba(35,32,27,.10);
  padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
}
.mobile-bar a {
  display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 4px;
  font-size: .68rem; font-weight: 700; letter-spacing: .04em; color: var(--primary); min-height: 52px; justify-content: center;
  border-radius: 12px; transition: background .2s;
}
.mobile-bar a:active { background: var(--bg); }
.mobile-bar a.wa { color: #1eaa52; }
.mobile-bar svg { width: 22px; height: 22px; }
@media (min-width: 900px){ .mobile-bar { display: none; } }

.fab {
  position: fixed; right: 24px; bottom: 24px; z-index: 90;
  width: 60px; height: 60px; border-radius: 50%; background: #25D366; color: #fff;
  display: none; place-items: center; box-shadow: 0 10px 30px rgba(37,211,102,.45);
  transition: transform .3s var(--ease);
}
.fab:hover { transform: scale(1.08); }
.fab svg { width: 30px; height: 30px; }
@media (min-width: 900px){ .fab { display: grid; } }

/* page content needs bottom room for mobile bar */
.app-main { padding-bottom: 72px; }
@media (min-width: 900px){ .app-main { padding-bottom: 0; } }

/* ============================================================
   ENTRANCE ANIMATIONS
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce){ .reveal { opacity: 1 !important; transform: none !important; } .hero-scroll::after { animation: none; } }

/* page transition */
.page-fade { animation: pageFade .5s var(--ease); }
@keyframes pageFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* breadcrumb / page header for inner pages */
.page-hero { padding: 130px 0 60px; background: var(--surface); border-bottom: 1px solid var(--border); position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; border: 1px solid var(--border); }
.page-hero::before { content: ""; position: absolute; right: 20px; top: 20px; width: 220px; height: 220px; border-radius: 50%; border: 1px solid var(--border); }
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
.crumb { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.crumb a:hover { color: var(--secondary); }

/* about timeline-ish values */
.values-grid { display: grid; gap: 22px; margin-top: 40px; }
@media (min-width: 700px){ .values-grid { grid-template-columns: repeat(2,1fr); } }
.value-item { display: flex; gap: 18px; padding: 24px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.value-item .vnum { font-family: var(--serif); font-size: 2rem; color: var(--accent); line-height: 1; flex: 0 0 auto; }
.value-item h3 { font-size: 1.25rem; margin-bottom: 6px; }
.value-item p { font-size: .92rem; color: var(--muted); margin: 0; }

/* branch cards */
.branch-grid { display: grid; gap: 18px; margin-top: 40px; }
@media (min-width: 600px){ .branch-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 980px){ .branch-grid { grid-template-columns: repeat(3,1fr); } }
.branch-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.branch-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.branch-card .bmedia { aspect-ratio: 4/3; overflow: hidden; }
.branch-card .bmedia img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.branch-card:hover .bmedia img { transform: scale(1.05); }
.branch-card .bbody { padding: 20px 22px 24px; }
.branch-card .bbody h3 { font-size: 1.3rem; }
.branch-card .btag { font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--secondary); }
.branch-card .bbody p { font-size: .88rem; color: var(--muted); margin: 6px 0 0; }

/* flagship highlight */
.flagship { display: grid; gap: 0; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-md); background: var(--surface); }
@media (min-width: 860px){ .flagship { grid-template-columns: 1.1fr 1fr; } }
.flagship-media { aspect-ratio: 16/11; overflow: hidden; }
.flagship-media img { width: 100%; height: 100%; object-fit: cover; }
.flagship-body { padding: 36px; }
@media (min-width: 860px){ .flagship-body { padding: 48px; } }

/* CTA band */
.cta-band { background: linear-gradient(135deg, var(--primary), var(--primary-deep)); color: #fff; text-align: center; border-radius: var(--radius-lg); padding: 56px 28px; }
.cta-band h2 { color: #fff; }
.cta-band h2 em { font-style: italic; color: var(--accent-soft); }
.cta-band p { color: rgba(255,255,255,.8); max-width: 50ch; margin: 16px auto 28px; }
.cta-band .hero-ctas { justify-content: center; }

/* small print helper */
.note-block { background: #fbf2dd; border: 1px dashed var(--accent); border-radius: var(--radius); padding: 16px 18px; font-size: .84rem; color: var(--secondary); display: flex; gap: 12px; align-items: flex-start; }
.note-block svg { width: 20px; height: 20px; flex: 0 0 auto; margin-top: 2px; }
