/* ============================================================
   BELADAMAZ JEWELLERY — Design System
   Palette + type per research/brand-system.md
   ============================================================ */

:root {
  /* Brand palette */
  --gold:        #C9A227;
  --gold-soft:   #E3C766;
  --gold-ink:    #8C6E18;   /* accessible gold for text on cream */
  --crimson:     #7A2533;
  --green:       #1F4D3A;

  /* Surfaces & ink */
  --paper:       #FBF7F0;
  --paper-2:     #F4EAD9;
  --card:        #FFFFFF;
  --ink:         #241A14;
  --muted:       #746457;
  --border:      #E5D7BE;
  --hairline:    #EADFC8;

  /* Dark showcase */
  --dark:        #16110C;
  --dark-2:      #211910;
  --dark-line:   rgba(201,162,39,0.30);
  --on-dark:     #F3E9D6;
  --on-dark-dim: #C8B79A;

  --focus:       #C9A227;

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:  "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1180px;
  --gut: clamp(18px, 5vw, 56px);

  --shadow-sm: 0 1px 2px rgba(36,26,20,.06), 0 4px 14px rgba(36,26,20,.05);
  --shadow-md: 0 8px 30px rgba(36,26,20,.10);
  --shadow-lg: 0 24px 70px rgba(20,14,8,.28);

  --r: 4px;          /* sharp, jewellery-case corners */
  --r-lg: 8px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.04;
  margin: 0;
  letter-spacing: .002em;
}

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.section { padding-block: clamp(56px, 9vw, 120px); }
.center { text-align: center; }

.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold-ink);
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.eyebrow.center { justify-content: center; }
.eyebrow::before, .eyebrow.center::after {
  content: "";
  width: 26px; height: 1px;
  background: var(--gold);
  opacity: .7;
}
.eyebrow:not(.center)::after { display: none; }

.h-display { font-size: clamp(2.6rem, 7vw, 5rem); }
.h-xl { font-size: clamp(2.1rem, 5vw, 3.4rem); }
.h-lg { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }

.lede { font-size: clamp(1.05rem, 1.7vw, 1.22rem); color: var(--muted); max-width: 60ch; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink); --fg: var(--paper); --bd: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 48px;
  padding: 0 24px;
  background: var(--bg); color: var(--fg);
  border: 1px solid var(--bd);
  border-radius: 999px;
  font-size: 14px; font-weight: 600; letter-spacing: .02em;
  transition: transform .25s ease, background .25s ease, color .25s ease, box-shadow .25s ease;
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; flex: none; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }

.btn--gold  { --bg: var(--gold); --fg: #2A2207; --bd: var(--gold); }
.btn--green { --bg: var(--green); --fg: #EAF3EE; --bd: var(--green); }
.btn--wa    { --bg: #1FA855; --fg: #fff; --bd: #1FA855; }
.btn--ghost { --bg: transparent; --fg: var(--ink); --bd: var(--border); }
.btn--ghost:hover { --bg: var(--ink); --fg: var(--paper); }
.btn--on-dark { --bg: transparent; --fg: var(--on-dark); --bd: rgba(243,233,214,.34); }
.btn--on-dark:hover { --bg: var(--gold); --fg: #2A2207; --bd: var(--gold); }

.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  display: flex; align-items: center;
  height: 76px;
  transition: background .3s ease, box-shadow .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; width: 100%; }
.site-header.scrolled {
  background: rgba(251,247,240,.92);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--hairline);
  box-shadow: 0 6px 24px rgba(36,26,20,.06);
}
/* While over the dark hero (is-light), keep the bar transparent even if
   "scrolled" is set — otherwise the cream background sits under light text
   and becomes unreadable. The light text needs the dark hero behind it. */
.site-header.is-light.scrolled {
  background: transparent;
  backdrop-filter: none;
  border-bottom-color: transparent;
  box-shadow: none;
}

.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand__chip {
  width: 44px; height: 44px; border-radius: 8px;
  background: var(--paper);
  display: grid; place-items: center;
  overflow: hidden; flex: none;
  box-shadow: inset 0 0 0 1px var(--border);
}
.brand__chip img { width: 100%; height: 100%; object-fit: cover; }
.brand__name { display: flex; flex-direction: column; line-height: 1; }
.brand__name b {
  font-family: var(--serif); font-weight: 600; font-size: 25px;
  letter-spacing: .04em; color: var(--ink);
}
.brand__name span {
  font-size: 9.5px; font-weight: 600; letter-spacing: .28em;
  text-transform: uppercase; color: var(--gold-ink); margin-top: 4px;
}
.is-light .brand__name b { color: var(--on-dark); }
.is-light .brand__name span { color: var(--gold-soft); }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  font-size: 13.5px; font-weight: 500; letter-spacing: .03em; color: var(--ink);
  position: relative; padding: 6px 0;
}
.is-light .nav a { color: var(--on-dark); }
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1.5px; width: 0;
  background: var(--gold); transition: width .28s ease;
}
.nav a:hover::after { width: 100%; }

.header-cta { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none; width: 46px; height: 46px;
  border: 1px solid var(--border); border-radius: 8px; background: var(--paper);
  flex-direction: column; gap: 5px; align-items: center; justify-content: center;
}
.nav-toggle span { width: 20px; height: 1.8px; background: var(--ink); transition: .3s; }
.is-light .nav-toggle { background: rgba(255,255,255,.08); border-color: rgba(243,233,214,.3); }
.is-light .nav-toggle span { background: var(--on-dark); }

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 80;
  background: var(--dark);
  display: flex; flex-direction: column;
  padding: 24px var(--gut) 40px;
  transform: translateY(-100%);
  transition: transform .42s cubic-bezier(.7,0,.2,1);
  visibility: hidden;
}
.drawer.open { transform: translateY(0); visibility: visible; }
.drawer__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 30px; }
.drawer__close {
  width: 46px; height: 46px; border-radius: 8px; background: transparent;
  border: 1px solid rgba(243,233,214,.3); color: var(--on-dark); font-size: 22px;
}
.drawer nav { display: flex; flex-direction: column; gap: 4px; }
.drawer nav a {
  font-family: var(--serif); font-size: 2rem; color: var(--on-dark);
  padding: 12px 0; border-bottom: 1px solid rgba(243,233,214,.1);
  display: flex; justify-content: space-between; align-items: center;
}
.drawer nav a span { font-family: var(--sans); font-size: 12px; color: var(--gold-soft); letter-spacing: .2em; }
.drawer__cta { margin-top: auto; padding-top: 28px; display: grid; gap: 12px; }

/* ============================================================
   HERO — dark display case + cream slab
   ============================================================ */
.hero { position: relative; background: var(--dark); color: var(--on-dark); overflow: hidden; }
.hero__grid {
  display: grid; grid-template-columns: 1.05fr 1fr;
  align-items: center; gap: clamp(24px, 4vw, 64px);
  padding-top: 130px; padding-bottom: 96px;
}
.hero__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 78% 18%, rgba(201,162,39,.16), transparent 55%),
    radial-gradient(80% 70% at 8% 92%, rgba(122,37,51,.20), transparent 60%);
  pointer-events: none;
}
.hero__copy { position: relative; }
.hero__eyebrow { color: var(--gold-soft); }
.hero__eyebrow::before { background: var(--gold-soft); }
.hero h1 { color: var(--on-dark); font-size: clamp(3rem, 7.2vw, 5.4rem); margin-bottom: 8px; }
.hero h1 em { font-style: italic; color: var(--gold-soft); }
.hero__sub {
  font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  color: var(--on-dark-dim); margin: 0 0 22px;
}
.hero__lede { color: var(--on-dark-dim); max-width: 46ch; margin: 0 0 30px; font-size: 1.05rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }

.hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.rating-chip { display: inline-flex; align-items: center; gap: 9px; }
.stars { color: var(--gold-soft); letter-spacing: 2px; font-size: 14px; }
.rating-chip b { font-weight: 600; }
.rating-chip small { color: var(--on-dark-dim); font-size: 12.5px; }
.meta-dot { width: 4px; height: 4px; border-radius: 50%; background: rgba(243,233,214,.4); }
.hero__loc { font-size: 12.5px; color: var(--on-dark-dim); display: inline-flex; align-items: center; gap: 7px; }
.hero__loc svg { width: 14px; height: 14px; color: var(--gold-soft); }

/* Display-case framed image (signature motif) */
.case {
  position: relative; padding: 16px;
  border: 1px solid var(--dark-line);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(201,162,39,.06), rgba(0,0,0,.2));
}
.case::before, .case::after {
  content: ""; position: absolute; width: 18px; height: 18px; border: 1px solid var(--gold); opacity: .65;
}
.case::before { top: 7px; left: 7px; border-right: 0; border-bottom: 0; }
.case::after { bottom: 7px; right: 7px; border-left: 0; border-top: 0; }
.case__inner { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 4/5; }
.case__inner img { width: 100%; height: 100%; object-fit: cover; }
.case__tag {
  position: absolute; left: 14px; bottom: 14px; z-index: 2;
  background: rgba(22,17,12,.78); backdrop-filter: blur(6px);
  border: 1px solid var(--dark-line);
  padding: 9px 14px; border-radius: 999px;
  font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark);
}
.case__shine {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,.16) 50%, transparent 60%);
  background-size: 220% 100%; background-position: 120% 0;
}

/* Cream info slab below hero */
.slab { background: var(--card); border-top: 1px solid var(--hairline); }
.slab__row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  divide: var(--hairline);
}
.slab__item { padding: 26px var(--gut); border-left: 1px solid var(--hairline); }
.slab__item:first-child { border-left: 0; }
.slab__item .k { font-family: var(--serif); font-size: 1.5rem; color: var(--ink); display: flex; align-items: baseline; gap: 8px; }
.slab__item .k em { font-style: normal; color: var(--gold-ink); font-size: 1rem; }
.slab__item .v { font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 5px; }

/* ============================================================
   GENERIC SECTION HEADER
   ============================================================ */
.sec-head { max-width: 720px; }
.sec-head.center { margin-inline: auto; }
.sec-head p { margin: 16px 0 0; }

/* ============================================================
   COLLECTIONS
   ============================================================ */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 34px 0 36px; }
.tab {
  border: 1px solid var(--border); background: transparent; color: var(--muted);
  padding: 10px 18px; border-radius: 999px; font-size: 13px; font-weight: 600; letter-spacing: .02em;
  transition: .22s;
}
.tab:hover { border-color: var(--ink); color: var(--ink); }
.tab[aria-selected="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.col-grid {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px;
}
.col-card {
  position: relative; overflow: hidden; border-radius: var(--r-lg);
  background: var(--card); border: 1px solid var(--hairline);
  grid-column: span 4; cursor: pointer;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s;
}
.col-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--border); }
.col-card.span-6 { grid-column: span 6; }
.col-card__img { position: relative; aspect-ratio: 1/1; overflow: hidden; }
.col-card.span-6 .col-card__img { aspect-ratio: 16/11; }
.col-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.col-card:hover .col-card__img img { transform: scale(1.05); }
.col-card__body { padding: 18px 20px 22px; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.col-card__body h3 { font-size: 1.5rem; }
.col-card__body p { margin: 5px 0 0; font-size: 13px; color: var(--muted); }
.col-card__plus {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--border);
  display: grid; place-items: center; color: var(--gold-ink); flex: none; transition: .25s;
}
.col-card:hover .col-card__plus { background: var(--gold); color: #2A2207; border-color: var(--gold); }
.col-badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: var(--crimson); color: #F6E7E9; font-size: 10.5px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; padding: 6px 11px; border-radius: 999px;
}

/* ============================================================
   DIAMOND SHAPES (signature motif)
   ============================================================ */
.shapes { background: var(--dark); color: var(--on-dark); position: relative; overflow: hidden; }
.shapes__bg {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(70% 60% at 50% 0%, rgba(201,162,39,.14), transparent 60%);
}
.shapes .eyebrow { color: var(--gold-soft); }
.shapes .eyebrow::before, .shapes .eyebrow::after { background: var(--gold-soft); }
.shapes h2 { color: var(--on-dark); }
.shapes__sub { color: var(--on-dark-dim); }
.shape-row {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 44px;
}
.shape {
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.01));
  border: 1px solid rgba(243,233,214,.12); border-radius: var(--r-lg);
  padding: 22px 14px 18px; text-align: center;
  transition: .3s; cursor: pointer;
}
.shape:hover { border-color: var(--gold); transform: translateY(-4px); background: rgba(201,162,39,.07); }
.shape__img { width: 84px; height: 84px; margin: 0 auto 16px; border-radius: 50%; overflow: hidden; background: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.3); }
.shape__img img { width: 100%; height: 100%; object-fit: cover; }
.shape b { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; display: block; }
.shape span { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-dim); }
.shapes__foot { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.shapes__foot p { margin: 0; color: var(--on-dark-dim); font-size: 14px; }

/* ============================================================
   BESPOKE / SERVICES — alternating band
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.split__media { position: relative; min-height: 440px; overflow: hidden; }
.split__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split__body { padding: clamp(40px, 6vw, 84px) clamp(28px, 5vw, 76px); display: flex; flex-direction: column; justify-content: center; }
.split--crimson { background: var(--crimson); color: #F6E7E9; }
.split--crimson .eyebrow { color: var(--gold-soft); } .split--crimson .eyebrow::before { background: var(--gold-soft); }
.split--crimson h2 { color: #FBF2F3; }
.split--crimson .lede { color: #E7C9CE; }
.steps { list-style: none; margin: 28px 0 32px; padding: 0; display: grid; gap: 2px; }
.steps li { display: flex; gap: 16px; padding: 14px 0; border-top: 1px solid rgba(246,231,233,.18); }
.steps li:last-child { border-bottom: 1px solid rgba(246,231,233,.18); }
.steps .n { font-family: var(--serif); font-size: 1.3rem; color: var(--gold-soft); flex: none; width: 30px; }
.steps b { font-weight: 600; font-size: 15px; }
.steps p { margin: 3px 0 0; font-size: 13.5px; color: #E7C9CE; }

/* ============================================================
   ABOUT
   ============================================================ */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px,5vw,80px); align-items: center; }
.about__media { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.about__media .tall { grid-row: span 2; }
.about__media figure { margin: 0; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--hairline); }
.about__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3/4; }
.about__media .wide img { aspect-ratio: 4/3; }
.about p + p { margin-top: 18px; }
.about__stats { display: flex; gap: 34px; margin-top: 30px; flex-wrap: wrap; }
.about__stats .k { font-family: var(--serif); font-size: 2.2rem; color: var(--gold-ink); line-height: 1; }
.about__stats .v { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }

/* ============================================================
   EMOTIONAL BAND
   ============================================================ */
.band { position: relative; min-height: 70vh; display: grid; place-items: center; text-align: center; color: #fff; overflow: hidden; }
.band img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,14,8,.35), rgba(20,14,8,.62)); }
.band__inner { position: relative; z-index: 2; padding: 80px var(--gut); max-width: 760px; }
.band__inner .eyebrow { color: var(--gold-soft); justify-content: center; }
.band__inner .eyebrow::before, .band__inner .eyebrow::after { background: var(--gold-soft); }
.band h2 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.6rem); }
.band p { color: rgba(255,255,255,.86); margin: 18px auto 28px; max-width: 52ch; }

/* ============================================================
   VISIT / CONTACT
   ============================================================ */
.visit { background: var(--card); border-top: 1px solid var(--hairline); }
.visit__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 70px); }
.contact-list { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 4px; }
.contact-list li { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--hairline); align-items: flex-start; }
.contact-list .ico { width: 40px; height: 40px; border-radius: 50%; background: var(--paper); display: grid; place-items: center; flex: none; color: var(--gold-ink); border: 1px solid var(--border); }
.contact-list .ico svg { width: 18px; height: 18px; }
.contact-list .lab { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.contact-list .val { font-size: 15.5px; color: var(--ink); margin-top: 3px; font-weight: 500; }
.contact-list a.val:hover { color: var(--gold-ink); }
.hours-note { font-size: 13px; color: var(--muted); font-style: italic; margin-top: 3px; }

.map-ph {
  margin-top: 26px; border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden;
  position: relative; aspect-ratio: 16/8; background:
    repeating-linear-gradient(45deg, #F1E7D4 0 14px, #EFE3CD 14px 28px);
  display: grid; place-items: center; text-align: center;
}
.map-ph__chip { background: var(--card); border: 1px solid var(--border); border-radius: 999px; padding: 9px 18px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); display: inline-flex; gap: 9px; align-items: center; }
.map-ph__chip svg { width: 15px; height: 15px; color: var(--crimson); }
.map-ph .directions { margin-top: 14px; }

/* Form */
.form { background: var(--paper); border: 1px solid var(--border); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 38px); }
.form h3 { font-size: 1.7rem; }
.form p.sub { margin: 8px 0 24px; font-size: 14px; color: var(--muted); }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin-bottom: 7px; }
.field .req { color: var(--crimson); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; font-family: inherit; font-size: 15px; color: var(--ink);
  background: var(--card); border: 1px solid var(--border); border-radius: var(--r);
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,162,39,.16); outline: none; }
.field textarea { resize: vertical; min-height: 96px; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--crimson); box-shadow: 0 0 0 3px rgba(122,37,51,.12); }
.field .err { color: var(--crimson); font-size: 12px; margin-top: 6px; display: none; }
.field.invalid .err { display: block; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-radio { position: relative; }
.chip-radio input { position: absolute; opacity: 0; pointer-events: none; }
.chip-radio span { display: inline-flex; padding: 9px 15px; border: 1px solid var(--border); border-radius: 999px; font-size: 13px; color: var(--muted); transition: .2s; }
.chip-radio input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip-radio input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }
.form__success { text-align: center; padding: 30px 10px; display: none; }
.form__success.show { display: block; }
.form__success .tick { width: 64px; height: 64px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; margin: 0 auto 18px; }
.form__success .tick svg { width: 28px; height: 28px; }
.form__success h3 { color: var(--green); }
.form.sent .form__inner { display: none; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--dark); color: var(--on-dark); padding-top: clamp(56px, 7vw, 90px); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid rgba(243,233,214,.12); }
.footer__brand { display: flex; gap: 14px; align-items: center; margin-bottom: 20px; }
.footer__brand .brand__chip { width: 52px; height: 52px; }
.footer__brand b { font-family: var(--serif); font-size: 1.7rem; letter-spacing: .04em; }
.footer p { color: var(--on-dark-dim); font-size: 14px; max-width: 38ch; }
.footer h4 { font-family: var(--sans); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 18px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer ul a { color: var(--on-dark-dim); font-size: 14px; }
.footer ul a:hover { color: var(--on-dark); }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(243,233,214,.2); display: grid; place-items: center; color: var(--on-dark-dim); transition: .25s; }
.socials a:hover { background: var(--gold); color: #2A2207; border-color: var(--gold); }
.socials svg { width: 17px; height: 17px; }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; padding: 24px 0 30px; font-size: 12.5px; color: var(--on-dark-dim); }
.footer__bottom .disc { max-width: 60ch; }

/* ============================================================
   MOBILE STICKY ACTION BAR
   ============================================================ */
.mbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  display: none; grid-template-columns: repeat(3, 1fr);
  background: rgba(22,17,12,.96); backdrop-filter: blur(10px);
  border-top: 1px solid var(--dark-line);
  padding-bottom: env(safe-area-inset-bottom);
}
.mbar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  padding: 11px 4px 12px; color: var(--on-dark); font-size: 11px; font-weight: 600; letter-spacing: .02em;
  border-left: 1px solid rgba(243,233,214,.1);
}
.mbar a:first-child { border-left: 0; }
.mbar a svg { width: 19px; height: 19px; color: var(--gold-soft); }
.mbar a.wa svg { color: #4ad07d; }

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(16,11,7,.92); display: none; place-items: center; padding: 24px; }
.lightbox.open { display: grid; }
.lightbox img { max-width: min(92vw, 900px); max-height: 86vh; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.lightbox__cap { position: absolute; bottom: 26px; left: 0; right: 0; text-align: center; color: var(--on-dark); font-size: 13px; letter-spacing: .1em; }
.lightbox__close { position: absolute; top: 20px; right: 22px; width: 48px; height: 48px; border-radius: 50%; background: rgba(243,233,214,.1); border: 1px solid rgba(243,233,214,.25); color: var(--on-dark); font-size: 22px; }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.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; }
  .case__shine { display: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1000px) {
  .hero__grid { grid-template-columns: 1fr; padding-top: 116px; padding-bottom: 64px; }
  .hero__media { max-width: 460px; }
  .slab__row { grid-template-columns: repeat(2, 1fr); }
  .slab__item:nth-child(odd) { border-left: 0; }
  .slab__item:nth-child(n+3) { border-top: 1px solid var(--hairline); }
  .about__grid, .visit__grid, .split { grid-template-columns: 1fr; }
  .split__media { min-height: 320px; order: -1; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav, .header-cta .btn { display: none; }
  .nav-toggle { display: flex; }
  .mbar { display: grid; }
  body { padding-bottom: 64px; }
  .col-card, .col-card.span-6 { grid-column: span 6; }
  .shape-row { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .shape:last-child { grid-column: span 2; }
}
@media (max-width: 560px) {
  .slab__row { grid-template-columns: 1fr; }
  .slab__item { border-left: 0 !important; border-top: 1px solid var(--hairline); }
  .slab__item:first-child { border-top: 0; }
  .col-grid { gap: 14px; }
  .col-card, .col-card.span-6 { grid-column: span 12; }
  .about__media { grid-template-columns: 1fr 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .hero__cta .btn { flex: 1 1 auto; }
}

/* BytesGlue QA map patch */
.bg-map-embed{display:block!important;position:relative!important;width:100%!important;min-height:240px!important;border-radius:12px!important;overflow:hidden!important;background:#e9edf1!important;box-shadow:0 0 0 1px rgba(0,0,0,.08) inset!important}
.bg-map-embed iframe{display:block!important;width:100%!important;min-height:260px!important;border:0!important}
.bg-map-embed + .bg-map-embed,
.bg-map-embed + .pin,
.bg-map-embed + .lbl,
.bg-map-embed + .corner-note,
.bg-map-embed + .placeholder,
.bg-map-embed + .center,
.bg-map-embed + [class*="map-note"],
.bg-map-embed + [class*="map-tag"]{display:none!important}
.map .placeholder .pin,.map-ph .pin,.map-pin,.map-marker,.map-ph__pin,.map-ph__pin .dot,.map-ph__pin .pin,.map-ph .mi{max-width:18px!important;max-height:18px!important;width:18px!important;height:18px!important;box-shadow:none!important}
.map .placeholder .pin svg,.map-ph .pin svg,.map-pin svg,.map-marker svg,.map-ph__pin svg,.map-ph .mi{width:12px!important;height:12px!important}
.map-note,.map-tag,[class*="map-note"],[class*="map-tag"]{display:none!important}
