/* =================================================================
   Garden Tulip Flowers — florist, Umm Suqeim 3, Dubai
   Concept: "The Bouquet Wall" — an editorial, occasion-led florist
   site built on a vertical "stem" rhythm. Asymmetric split hero,
   layered storefront proof, a full-bleed bouquet-wall band, and an
   enquiry form as the closing step. Mobile-first (375px source of truth).
   Palette + type per research/brand-system.md.
   ================================================================= */

:root {
  --bg:        #FFFDFB;
  --surface:   #FFFFFF;
  --cream:     #FBF3EE;
  --cream-2:   #F6ECEC;
  --ink:       #2B2B2E;
  --muted:     #6B6B72;
  --primary:   #D6486B;  /* rose */
  --primary-d: #B23459;
  --secondary: #2E7D52;  /* botanical green */
  --secondary-d:#1F5E3C;
  --accent:    #F2B705;  /* gold */
  --border:    #EFE6E8;
  --line:      #E7DDDE;
  --maroon:    #480000;  /* deep photo dark */
  --focus:     #D6486B;

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 30px;

  --shadow-sm: 0 1px 2px rgba(43,43,46,.06), 0 2px 8px rgba(43,43,46,.05);
  --shadow-md: 0 6px 18px rgba(72,0,0,.07), 0 2px 6px rgba(43,43,46,.05);
  --shadow-lg: 0 24px 60px -18px rgba(72,0,0,.30), 0 8px 22px -12px rgba(43,43,46,.18);

  --maxw: 1200px;
  --gutter: 20px;
  --header-h: 64px;

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

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

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
ul { list-style: none; padding: 0; }

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

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

/* ---------- layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(48px, 8vw, 104px); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--secondary);
}
.eyebrow::before {
  content: ""; width: 7px; height: 7px; border-radius: 2px;
  background: var(--secondary); transform: rotate(45deg); flex: none;
}
.eyebrow.is-rose { color: var(--primary); }
.eyebrow.is-rose::before { background: var(--primary); }
.eyebrow.is-light { color: rgba(255,255,255,.82); }
.eyebrow.is-light::before { background: var(--accent); }

.section-head { max-width: 640px; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head .idx {
  font-variant-numeric: tabular-nums; font-weight: 600; font-size: 13px;
  color: var(--muted); letter-spacing: .04em;
}
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.04; letter-spacing: -.01em; color: var(--ink); }
.h-display { font-size: clamp(2.6rem, 9vw, 4.6rem); }
.h2 { font-size: clamp(2rem, 6vw, 3.1rem); margin-top: 12px; }
.h3 { font-size: clamp(1.4rem, 4vw, 1.9rem); }
.lead { font-size: clamp(1rem, 2.4vw, 1.18rem); color: var(--muted); line-height: 1.65; }
.text-italic { font-style: italic; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 48px; padding: 0 22px; border-radius: 100px;
  font-weight: 600; font-size: .96rem; letter-spacing: .005em;
  transition: transform .18s var(--ease), background .18s var(--ease), box-shadow .18s var(--ease), color .18s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 8px 20px -8px rgba(214,72,107,.6); }
.btn-primary:hover { background: var(--primary-d); box-shadow: 0 12px 26px -8px rgba(214,72,107,.7); }
.btn-secondary { background: var(--secondary); color: #fff; }
.btn-secondary:hover { background: var(--secondary-d); }
.btn-outline { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-outline:hover { box-shadow: inset 0 0 0 1.5px var(--primary); color: var(--primary); }
.btn-ghost { background: transparent; color: var(--ink); padding-inline: 6px; }
.btn-ghost:hover { color: var(--primary); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #fff; box-shadow: var(--shadow-md); }
.btn-block { width: 100%; }
.btn-lg { min-height: 54px; padding: 0 28px; font-size: 1rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: .92rem;
  color: var(--primary);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* =================================================================
   HEADER
   ================================================================= */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(255,253,251,.86);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); border-bottom-color: var(--border); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }

.brand { display: flex; align-items: center; gap: 11px; }
.brand-chip {
  width: 42px; height: 42px; border-radius: 12px; background: #fff;
  border: 1px solid var(--border); padding: 4px; flex: none;
  box-shadow: var(--shadow-sm); overflow: hidden;
}
.brand-chip img { width: 100%; height: 100%; object-fit: contain; }
.brand-name { display: flex; flex-direction: column; line-height: 1; }
.brand-name b { font-family: var(--display); font-weight: 700; font-size: 1.16rem; letter-spacing: -.01em; }
.brand-name span { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }

.nav-desktop { display: none; }
.nav-desktop ul { display: flex; align-items: center; gap: 26px; }
.nav-desktop a { font-size: .92rem; font-weight: 500; color: var(--ink); position: relative; padding: 6px 0; }
.nav-desktop a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px;
  background: var(--primary); transition: right .25s var(--ease);
}
.nav-desktop a:hover::after { right: 0; }
.header-cta { display: none; }

.menu-btn {
  width: 46px; height: 46px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center;
  background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-sm);
}
.menu-btn svg { width: 22px; height: 22px; }

/* mobile menu overlay */
.mobile-menu {
  position: fixed; inset: 0; z-index: 80; display: flex; flex-direction: column;
  background: var(--bg);
  transform: translateX(100%); transition: transform .36s var(--ease);
  visibility: hidden;
}
.mobile-menu.open { transform: translateX(0); visibility: visible; }
.mm-top { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; padding-inline: var(--gutter); border-bottom: 1px solid var(--border); }
.mm-nav { padding: 18px var(--gutter); display: flex; flex-direction: column; gap: 2px; flex: 1; }
.mm-nav a {
  display: flex; align-items: baseline; gap: 14px; padding: 16px 4px; font-family: var(--display);
  font-size: 1.9rem; font-weight: 600; border-bottom: 1px solid var(--line);
}
.mm-nav a .mi { font-family: var(--body); font-size: 12px; font-weight: 600; color: var(--primary); font-variant-numeric: tabular-nums; }
.mm-foot { padding: 20px var(--gutter) calc(20px + env(safe-area-inset-bottom)); display: grid; gap: 10px; background: var(--cream); }
.mm-foot .row { display: flex; gap: 10px; }
.mm-foot .row .btn { flex: 1; }

/* =================================================================
   HERO
   ================================================================= */
.hero { position: relative; padding-top: calc(var(--header-h) + 26px); overflow: hidden; }
.hero::before {
  /* soft warm wash */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(214,72,107,.07), transparent 55%),
    radial-gradient(90% 70% at 0% 100%, rgba(46,125,82,.06), transparent 55%),
    var(--bg);
}
.hero-grid { display: grid; gap: 28px; }

.hero-lockup { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.hero-lockup .brand-chip { width: 52px; height: 52px; }
.hero-lockup .ar { font-family: var(--display); font-size: 1.2rem; color: var(--secondary); direction: rtl; }
.hero h1 { margin: 14px 0 0; }
.hero h1 .accent { color: var(--primary); font-style: italic; }
.hero-sub { margin-top: 18px; max-width: 36ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 26px; }

.hero-trust {
  margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px;
  padding-top: 22px; border-top: 1px solid var(--line);
}
.trust-item { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--ink); }
.trust-item .ic { color: var(--secondary); display: inline-flex; }
.trust-item .ic svg { width: 17px; height: 17px; }
.stars { color: var(--accent); letter-spacing: 1px; }
.trust-item b { font-weight: 700; }
.trust-item .mut { color: var(--muted); }
.dot-sep { width: 4px; height: 4px; border-radius: 50%; background: var(--line); }

/* hero media collage */
.hero-media { position: relative; }
.hero-media .main {
  position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
}
.hero-media .main img { width: 100%; height: 100%; object-fit: cover; }
.hero-media .stem {
  position: absolute; left: -2px; top: 18%; bottom: 8%; width: 2px;
  background: linear-gradient(var(--secondary), transparent); display: none;
}
.hero-card {
  position: absolute; left: -10px; bottom: -18px; z-index: 2;
  width: 165px; background: #fff; border-radius: var(--r-md); padding: 8px;
  box-shadow: var(--shadow-lg); border: 1px solid var(--border);
}
.hero-card img { width: 100%; height: 84px; object-fit: cover; border-radius: 9px; }
.hero-card .cap { display: flex; align-items: center; gap: 7px; padding: 8px 4px 2px; font-size: 11.5px; color: var(--muted); }
.hero-card .cap .pin { color: var(--primary); }
.hero-card .cap .pin svg { width: 13px; height: 13px; }

.hero-badge {
  position: absolute; right: 12px; top: 12px; z-index: 2;
  background: rgba(255,255,255,.94); backdrop-filter: blur(4px);
  border-radius: 100px; padding: 7px 13px 7px 9px; display: flex; align-items: center; gap: 8px;
  box-shadow: var(--shadow-md); font-size: .82rem; font-weight: 600;
}
.hero-badge .g { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: inset 0 0 0 1px var(--border); font-weight: 700; }
.hero-badge .stars { font-size: .8rem; }

/* =================================================================
   TRUST STRIP
   ================================================================= */
.strip { background: var(--secondary); color: #fff; }
.strip .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; }
.strip-item { padding: 20px 14px; display: flex; flex-direction: column; gap: 4px; position: relative; }
.strip-item .k { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.72); }
.strip-item .k svg { width: 15px; height: 15px; }
.strip-item .v { font-size: 1.02rem; font-weight: 600; line-height: 1.3; }
.strip-item .v.tab { font-variant-numeric: tabular-nums; }

/* =================================================================
   OCCASIONS
   ================================================================= */
.occ-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
.occ-card {
  position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--ink);
  min-height: 230px; display: flex; align-items: flex-end; isolation: isolate;
  box-shadow: var(--shadow-md);
}
.occ-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s var(--ease); }
.occ-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(40,18,24,0) 28%, rgba(40,18,24,.82) 100%); }
.occ-card:hover img { transform: scale(1.06); }
.occ-body { padding: 20px; color: #fff; width: 100%; }
.occ-body .num { font-size: 12px; font-variant-numeric: tabular-nums; color: rgba(255,255,255,.7); letter-spacing: .1em; }
.occ-body h3 { color: #fff; margin: 6px 0 6px; font-size: 1.5rem; }
.occ-body p { font-size: .9rem; color: rgba(255,255,255,.84); margin-bottom: 12px; max-width: 38ch; }
.occ-body .link-arrow { color: #fff; }
.occ-body .link-arrow:hover { color: var(--accent); }

/* =================================================================
   SPLIT — made by hand
   ================================================================= */
.split { background: var(--secondary-d); color: #fff; border-radius: 0; overflow: hidden; }
.split-inner { display: grid; gap: 0; grid-template-columns: 1fr; }
.split-media { position: relative; min-height: 320px; }
.split-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split-text { padding: clamp(34px, 7vw, 70px) var(--gutter); display: flex; flex-direction: column; justify-content: center; max-width: 620px; }
.split-text h2 { color: #fff; }
.split-text .lead { color: rgba(255,255,255,.82); margin-top: 16px; }
.split-points { margin-top: 26px; display: grid; gap: 16px; }
.split-points li { display: flex; gap: 13px; align-items: flex-start; }
.split-points .pi { width: 34px; height: 34px; border-radius: 10px; background: rgba(255,255,255,.12); display: grid; place-items: center; flex: none; color: var(--accent); }
.split-points .pi svg { width: 18px; height: 18px; }
.split-points h4 { font-family: var(--body); font-size: .98rem; font-weight: 600; }
.split-points p { font-size: .88rem; color: rgba(255,255,255,.74); margin-top: 2px; }

/* =================================================================
   BOUQUET WALL BAND
   ================================================================= */
.band { position: relative; min-height: 440px; display: grid; place-items: center; text-align: center; overflow: hidden; isolation: isolate; }
.band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(72,0,0,.5), rgba(72,0,0,.66)); }
.band-inner { padding: 70px var(--gutter); color: #fff; max-width: 760px; }
.band .quote { font-family: var(--display); font-size: clamp(1.7rem, 5.4vw, 3rem); line-height: 1.18; font-weight: 500; }
.band .quote .mk { color: var(--accent); }
.band .qmeta { margin-top: 22px; display: inline-flex; align-items: center; gap: 10px; font-size: .9rem; color: rgba(255,255,255,.86); }
.band .qmeta .stars { color: var(--accent); }

/* =================================================================
   GALLERY
   ================================================================= */
.gal-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.filter {
  min-height: 40px; padding: 0 16px; border-radius: 100px; font-size: .86rem; font-weight: 600;
  background: #fff; color: var(--muted); box-shadow: inset 0 0 0 1px var(--line);
  transition: all .18s var(--ease);
}
.filter:hover { color: var(--ink); }
.filter.active { background: var(--ink); color: #fff; box-shadow: none; }

.gallery { margin-top: 24px; columns: 2; column-gap: 14px; }
.gallery .gitem {
  break-inside: avoid; margin-bottom: 14px; border-radius: var(--r-md); overflow: hidden;
  position: relative; display: block; width: 100%; background: var(--cream-2);
  box-shadow: var(--shadow-sm); cursor: zoom-in;
}
.gallery .gitem img { width: 100%; transition: transform .6s var(--ease); }
.gallery .gitem:hover img { transform: scale(1.05); }
.gallery .gitem .tag {
  position: absolute; left: 8px; bottom: 8px; font-size: 11px; font-weight: 600; color: #fff;
  background: rgba(40,18,24,.6); backdrop-filter: blur(3px); padding: 4px 9px; border-radius: 100px;
  opacity: 0; transform: translateY(4px); transition: all .2s var(--ease);
}
.gallery .gitem:hover .tag { opacity: 1; transform: none; }
.gitem.hide { display: none; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 90; display: none; place-items: center; background: rgba(30,12,16,.92); padding: 20px; }
.lightbox.open { display: grid; }
.lightbox img { max-width: 92vw; max-height: 82vh; border-radius: 10px; box-shadow: var(--shadow-lg); }
.lb-close, .lb-nav { position: absolute; background: rgba(255,255,255,.12); color: #fff; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; backdrop-filter: blur(6px); transition: background .18s; }
.lb-close:hover, .lb-nav:hover { background: rgba(255,255,255,.25); }
.lb-close { top: 18px; right: 18px; }
.lb-close svg, .lb-nav svg { width: 24px; height: 24px; }
.lb-nav.prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-nav.next { right: 14px; top: 50%; transform: translateY(-50%); }
.lb-cap { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; color: rgba(255,255,255,.85); font-size: .9rem; }

/* =================================================================
   ABOUT / VISIT
   ================================================================= */
.about-grid { display: grid; gap: 30px; }
.about-copy p + p { margin-top: 14px; }
.about-copy .lead { color: var(--ink); }
.about-mosaic { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; gap: 12px; }
.about-mosaic .m { border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-sm); position: relative; }
.about-mosaic .m img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1; }
.about-mosaic .m.tall { grid-row: span 2; }
.about-mosaic .m.tall img { aspect-ratio: 1 / 2.06; }

.note {
  display: flex; gap: 12px; align-items: flex-start; margin-top: 24px;
  background: var(--cream); border: 1px solid var(--border); border-radius: var(--r-md); padding: 16px 18px;
}
.note .ni { color: var(--secondary); flex: none; margin-top: 1px; }
.note .ni svg { width: 20px; height: 20px; }
.note p { font-size: .9rem; color: var(--muted); }

/* =================================================================
   CONTACT
   ================================================================= */
.contact { background: var(--cream); }
.contact-grid { display: grid; gap: 26px; }
.contact-info { display: grid; gap: 14px; align-content: start; }
.info-row { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--border); border-radius: var(--r-md); padding: 16px; box-shadow: var(--shadow-sm); }
.info-row .ii { width: 42px; height: 42px; border-radius: 11px; background: var(--cream-2); display: grid; place-items: center; flex: none; color: var(--primary); }
.info-row .ii svg { width: 20px; height: 20px; }
.info-row .k { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.info-row .v { font-weight: 600; margin-top: 3px; line-height: 1.4; }
.info-row .v.tab { font-variant-numeric: tabular-nums; }
.info-row a.v:hover { color: var(--primary); }
.info-row .sub { font-size: .82rem; color: var(--muted); margin-top: 4px; }
.map-ph {
  margin-top: 4px; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--border);
  background:
    repeating-linear-gradient(135deg, rgba(46,125,82,.05) 0 14px, transparent 14px 28px),
    var(--cream-2);
  min-height: 190px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; padding: 24px;
}
.map-ph .mlabel { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.map-ph .mlabel svg { width: 18px; height: 18px; color: var(--secondary); }
.map-ph .maddr { font-size: .9rem; color: var(--ink); max-width: 34ch; }

/* form */
.form-card { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: clamp(22px, 5vw, 34px); box-shadow: var(--shadow-md); }
.form-card h3 { font-size: 1.7rem; }
.form-card .fsub { color: var(--muted); font-size: .92rem; margin-top: 6px; }
.field { margin-top: 16px; }
.field label { display: block; font-size: .82rem; font-weight: 600; margin-bottom: 7px; }
.field label .req { color: var(--primary); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: var(--r-sm);
  background: var(--bg); border: 1.5px solid var(--line); transition: border-color .16s, box-shadow .16s;
}
.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(214,72,107,.14); }
.field.err input, .field.err select, .field.err textarea { border-color: #c0392b; }
.field .msg { font-size: .78rem; color: #c0392b; margin-top: 5px; display: none; }
.field.err .msg { display: block; }
.field-row { display: grid; gap: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-radio { position: relative; }
.chip-radio input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip-radio span { display: inline-flex; min-height: 40px; align-items: center; padding: 0 15px; border-radius: 100px; font-size: .86rem; font-weight: 600; box-shadow: inset 0 0 0 1.5px var(--line); color: var(--muted); transition: all .15s; }
.chip-radio input:checked + span { background: var(--primary); color: #fff; box-shadow: none; }
.chip-radio input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.form-actions { margin-top: 22px; }
.form-fineprint { font-size: .78rem; color: var(--muted); margin-top: 14px; text-align: center; }

.form-success { display: none; text-align: center; padding: 16px 6px; }
.form-success.show { display: block; }
.form-success .check { width: 64px; height: 64px; border-radius: 50%; background: var(--secondary); color: #fff; display: grid; place-items: center; margin: 0 auto 16px; }
.form-success .check svg { width: 32px; height: 32px; }
.form-success h3 { font-size: 1.6rem; }
.form-success p { color: var(--muted); margin-top: 8px; max-width: 40ch; margin-inline: auto; }
.form-success .btn { margin-top: 18px; }
.form-hidden { display: none; }

/* =================================================================
   FOOTER
   ================================================================= */
.site-footer { background: var(--maroon); color: rgba(255,255,255,.78); padding-top: 56px; }
.footer-top { display: grid; gap: 32px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-brand .brand-chip { width: 50px; height: 50px; }
.footer-brand b { font-family: var(--display); font-size: 1.5rem; color: #fff; display: block; margin-top: 14px; }
.footer-brand p { font-size: .9rem; margin-top: 10px; max-width: 34ch; }
.foot-social { display: flex; gap: 10px; margin-top: 18px; }
.foot-social a { width: 42px; height: 42px; border-radius: 11px; background: rgba(255,255,255,.08); display: grid; place-items: center; color: #fff; transition: background .18s; }
.foot-social a:hover { background: rgba(255,255,255,.18); }
.foot-social a svg { width: 20px; height: 20px; }
.footer-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.footer-cols h5 { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 14px; }
.footer-cols a, .footer-cols p { display: block; font-size: .92rem; padding: 5px 0; color: rgba(255,255,255,.8); }
.footer-cols a:hover { color: #fff; }
.footer-cols .tab { font-variant-numeric: tabular-nums; }
.footer-bottom { padding: 22px 0 calc(96px + env(safe-area-inset-bottom)); display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: space-between; font-size: .78rem; color: rgba(255,255,255,.55); }
.footer-bottom a { text-decoration: underline; text-underline-offset: 2px; }

/* =================================================================
   MOBILE ACTION BAR
   ================================================================= */
.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0;
  background: rgba(255,253,251,.94); backdrop-filter: blur(14px);
  border-top: 1px solid var(--border); box-shadow: 0 -6px 20px -10px rgba(72,0,0,.2);
  padding-bottom: env(safe-area-inset-bottom);
}
.action-bar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  min-height: 60px; font-size: 11px; font-weight: 600; color: var(--ink); position: relative;
}
.action-bar a + a::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 1px; background: var(--line); }
.action-bar a svg { width: 21px; height: 21px; }
.action-bar a.primary { color: var(--primary); }
.action-bar a.primary svg { color: var(--primary); }

/* reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* =================================================================
   RESPONSIVE
   ================================================================= */
@media (min-width: 600px) {
  .occ-grid { grid-template-columns: 1fr 1fr; }
  .strip .wrap { grid-template-columns: repeat(4, 1fr); }
  .gallery { columns: 3; }
  .footer-cols { grid-template-columns: 1fr 1fr 1fr; }
}

@media (min-width: 880px) {
  :root { --gutter: 32px; --header-h: 76px; }
  .nav-desktop { display: block; }
  .header-cta { display: inline-flex; }
  .menu-btn { display: none; }

  .hero-grid { grid-template-columns: 1.05fr .95fr; align-items: center; gap: 44px; }
  .hero-media .stem { display: block; }
  .hero-card { width: 200px; left: -28px; bottom: -26px; }
  .hero-card img { height: 104px; }

  .occ-grid { grid-template-columns: repeat(3, 1fr); }
  .occ-card { min-height: 290px; }

  .split-inner { grid-template-columns: 1.05fr .95fr; }
  .split-media { min-height: 100%; }
  .split.rev .split-media { order: 2; }

  .gallery { columns: 4; }

  .about-grid { grid-template-columns: 1fr 1fr; align-items: center; gap: 48px; }

  .contact-grid { grid-template-columns: .9fr 1.1fr; align-items: start; }

  .footer-top { grid-template-columns: 1.2fr 1.6fr; align-items: start; }
  .footer-bottom { padding-bottom: 28px; }
}

@media (min-width: 1040px) {
  .h-display { font-size: clamp(3.4rem, 5vw, 4.8rem); }
}

/* 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}
