/* ============================================================
   Eleven Signature Beauty Salon — Dubai Marina
   Design system: blush warm-white surface, rose/green/gold,
   Cormorant Garamond (display) + Manrope (UI).
   Signature motif: arched mirror-frame geometry.
   ============================================================ */

:root {
  --bg: #FFF7F5;
  --surface: #FFFFFF;
  --surface-2: #FBEEEC;
  --text: #2A2426;
  --muted: #786A6D;
  --primary: #B66A7A;     /* rose */
  --primary-deep: #95495b;
  --secondary: #2F3A35;   /* deep green */
  --accent: #D9B56F;      /* gold */
  --accent-deep: #b6924b;
  --border: #EADDE0;
  --focus: #B66A7A;
  --shadow-sm: 0 1px 2px rgba(47,58,53,.06), 0 2px 8px rgba(149,73,91,.05);
  --shadow-md: 0 8px 30px rgba(47,58,53,.10), 0 2px 8px rgba(149,73,91,.06);
  --shadow-lg: 0 24px 60px rgba(47,58,53,.16);
  --maxw: 1200px;
  --header-h: 68px;
  --arch: 50% 50% 14px 14px / 46% 46% 14px 14px; /* rounded mirror arch */
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Manrope", system-ui, -apple-system, sans-serif;
  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, .display {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: .003em;
  margin: 0;
  text-wrap: balance;
}

.eyebrow {
  font-family: "Manrope", sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--primary-deep);
  margin: 0;
}

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

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 0 22px;
  border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: .95rem; letter-spacing: .01em;
  transition: transform .18s var(--ease), box-shadow .2s var(--ease), background .2s, color .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: var(--secondary); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: #263029; box-shadow: var(--shadow-md); }
.btn-accent { background: var(--accent); color: #3a2f17; box-shadow: var(--shadow-sm); }
.btn-accent:hover { background: #e6c483; box-shadow: var(--shadow-md); }
.btn-rose { background: var(--primary); color: #fff; }
.btn-rose:hover { background: var(--primary-deep); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary-deep); background: var(--surface); }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(255,247,245,.72);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s, border-color .25s, background .25s;
}
.header.scrolled { box-shadow: var(--shadow-sm); border-color: var(--border); background: rgba(255,247,245,.9); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }

.brand { display: flex; align-items: center; gap: 11px; }
.brand-emblem {
  width: 40px; height: 40px; border-radius: 11px; flex: none;
  background: var(--surface-2); border: 1px solid var(--border);
  display: grid; place-items: center; overflow: hidden; box-shadow: var(--shadow-sm);
}
.brand-emblem img { width: 100%; height: 100%; object-fit: cover; }
.brand-name { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name b {
  font-family: "Cormorant Garamond", serif; font-weight: 600;
  font-size: 1.22rem; letter-spacing: .01em; color: var(--text);
}
.brand-name span {
  font-size: .58rem; letter-spacing: .24em; text-transform: uppercase;
  color: var(--muted); font-weight: 600;
}

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 9px 14px; border-radius: 999px; font-size: .9rem; font-weight: 600;
  color: var(--text); transition: background .18s, color .18s;
}
.nav a:hover { background: var(--surface-2); color: var(--primary-deep); }
.header-cta { display: flex; align-items: center; gap: 10px; }

.hamburger {
  display: none; width: 46px; height: 46px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--border);
  align-items: center; justify-content: center; flex-direction: column; gap: 4px;
}
.hamburger span { width: 19px; height: 2px; background: var(--text); border-radius: 2px; transition: .25s var(--ease); }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 70; visibility: hidden; pointer-events: none;
}
.drawer__scrim {
  position: absolute; inset: 0; background: rgba(42,36,38,.42);
  opacity: 0; transition: opacity .3s var(--ease);
}
.drawer__panel {
  position: absolute; top: 0; right: 0; height: 100%; width: min(86vw, 360px);
  background: var(--bg); box-shadow: var(--shadow-lg);
  transform: translateX(100%); transition: transform .34s var(--ease);
  display: flex; flex-direction: column; padding: 18px;
}
.drawer.open { visibility: visible; pointer-events: auto; }
.drawer.open .drawer__scrim { opacity: 1; }
.drawer.open .drawer__panel { transform: translateX(0); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.drawer__close { width: 44px; height: 44px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); font-size: 1.3rem; color: var(--text); display:grid; place-items:center; }
.drawer__panel nav { display: flex; flex-direction: column; margin-top: 10px; }
.drawer__panel nav a {
  padding: 15px 12px; font-size: 1.18rem; font-family: "Cormorant Garamond", serif; font-weight: 600;
  border-bottom: 1px solid var(--border); color: var(--text);
}
.drawer__panel nav a:last-child { border-bottom: 0; }
.drawer__cta { margin-top: auto; display: grid; gap: 10px; }
.drawer__cta .btn { width: 100%; }

/* ---------- Section scaffolding ---------- */
section { position: relative; }
.section { padding: clamp(56px, 9vw, 110px) 0; }
.section-head { max-width: 640px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head h2 { font-size: clamp(2.1rem, 6vw, 3.4rem); margin-top: 10px; }
.section-head p { color: var(--muted); font-size: 1.05rem; margin: 14px 0 0; }

/* ---------- Hero ---------- */
.hero { padding-top: calc(var(--header-h) + 22px); padding-bottom: 0; }
.hero__grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
.hero__card { max-width: 560px; }
.rating-pill {
  display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px 7px 10px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 999px;
  box-shadow: var(--shadow-sm); font-size: .82rem; font-weight: 600; color: var(--text);
}
.rating-pill .stars { color: var(--accent-deep); letter-spacing: 1px; }
.rating-pill b { color: var(--text); }
.rating-pill span { color: var(--muted); font-weight: 600; }

.hero h1 { font-size: clamp(2.9rem, 9vw, 5.4rem); margin: 22px 0 0; }
.hero h1 .ital { font-style: italic; color: var(--primary); font-weight: 500; }
.hero__cat {
  margin: 18px 0 0; font-size: 1.06rem; color: var(--secondary); font-weight: 600;
  display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center;
}
.hero__cat .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); display:inline-block; }
.hero__lede { margin: 20px 0 0; font-size: 1.1rem; color: var(--muted); max-width: 480px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__meta {
  display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px;
  padding-top: 22px; border-top: 1px solid var(--border);
  font-size: .9rem; color: var(--muted);
}
.hero__meta div { display: flex; align-items: center; gap: 8px; }
.hero__meta svg { width: 17px; height: 17px; color: var(--primary); flex: none; }
.hero__meta b { color: var(--text); font-weight: 700; }

/* Arched mirror image frame */
.arch {
  position: relative; border-radius: var(--arch);
  overflow: hidden; background: var(--surface-2);
  box-shadow: var(--shadow-md);
}
.arch::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  border: 1px solid rgba(255,255,255,.5); pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(149,73,91,.06);
}
.arch img { width: 100%; height: 100%; object-fit: cover; }

.hero__media { position: relative; }
.hero__media .arch { aspect-ratio: 3/4.05; }
.hero__media .arch img { transition: transform 6s var(--ease); }
.hero__frame-accent {
  position: absolute; inset: -14px -14px auto auto; width: 64%; height: 100%;
  border-radius: var(--arch); border: 1.5px solid var(--accent);
  z-index: -1; opacity: .55;
}
.hero__chip {
  position: absolute; left: -14px; bottom: 26px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
  box-shadow: var(--shadow-lg); padding: 12px 16px; display: flex; align-items: center; gap: 12px;
  max-width: 230px;
}
.hero__chip .em { width: 42px; height: 42px; border-radius: 10px; overflow: hidden; flex: none; border: 1px solid var(--border); }
.hero__chip .em img { width: 100%; height: 100%; object-fit: cover; }
.hero__chip .t { line-height: 1.25; }
.hero__chip .t b { font-size: .82rem; }
.hero__chip .t span { display: block; font-size: .72rem; color: var(--muted); }

/* ---------- Marquee trust strip ---------- */
.trust {
  margin-top: clamp(44px, 6vw, 80px);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: var(--surface-2);
  overflow: hidden;
}
.trust__row {
  display: flex; align-items: center; gap: 14px; padding: 16px 0; flex-wrap: wrap; justify-content: center;
}
.trust__item { display: flex; align-items: center; gap: 9px; font-size: .92rem; color: var(--secondary); font-weight: 600; }
.trust__item svg { width: 18px; height: 18px; color: var(--primary); }
.trust__sep { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
@media (max-width: 640px){ .trust__sep { display:none; } .trust__row{ gap: 10px 18px; } }

/* ---------- Services ---------- */
.services__grid {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px;
}
.svc {
  position: relative; overflow: hidden;
  border-radius: 20px; border: 1px solid var(--border); background: var(--surface);
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.svc:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.svc__media { position: relative; overflow: hidden; }
/* standard cards: fixed media ratio so portrait & landscape shots crop to one size */
.svc:not(.svc--feature) .svc__media { aspect-ratio: 3 / 2; }
.svc__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .8s var(--ease); }
.svc:hover .svc__media img { transform: scale(1.06); }
.svc__num {
  position: absolute; top: 12px; left: 12px; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,247,245,.92); display: grid; place-items: center;
  font-family: "Cormorant Garamond", serif; font-weight: 700; font-size: 1.05rem; color: var(--primary-deep);
  border: 1px solid var(--border);
}
.svc__body { padding: 18px 18px 20px; flex: 1; display: flex; flex-direction: column; }
.svc__body h3 { font-size: 1.55rem; }
.svc__body p { margin: 7px 0 0; color: var(--muted); font-size: .92rem; }
.svc__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.svc__tags span {
  font-size: .72rem; font-weight: 600; color: var(--secondary);
  background: var(--surface-2); border: 1px solid var(--border);
  padding: 4px 10px; border-radius: 999px;
}
/* span layout: feature card + 4 standard */
.svc--feature { grid-column: span 12; }
.svc--feature .svc__inner { display: grid; grid-template-columns: 1.1fr 1fr; }
.svc--feature .svc__media { min-height: 100%; }
.svc { grid-column: span 6; }
.svc__note {
  grid-column: span 12; display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  background: var(--secondary); color: #fff; border-radius: 20px; padding: 20px 24px;
}
.svc__note .em { width: 44px; height: 44px; border-radius: 11px; overflow: hidden; flex: none; }
.svc__note .em img { width: 100%; height: 100%; object-fit: cover; }
.svc__note p { margin: 0; flex: 1; min-width: 220px; font-size: .98rem; }
.svc__note b { color: var(--accent); }

/* ---------- Gallery ---------- */
.gallery__scroll {
  display: grid; grid-auto-flow: column; grid-auto-columns: 78%;
  gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 4px 20px 18px; margin: 0 -20px;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.gallery__scroll::-webkit-scrollbar { display: none; }
.g-item {
  scroll-snap-align: center; position: relative; overflow: hidden;
  border-radius: 18px; aspect-ratio: 4/5; background: var(--surface-2);
  box-shadow: var(--shadow-sm); border: 0; padding: 0; width: 100%;
}
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.g-item:hover img { transform: scale(1.05); }
.g-item__cap {
  position: absolute; inset: auto 0 0 0; padding: 26px 14px 12px;
  background: linear-gradient(to top, rgba(42,36,38,.62), transparent);
  color: #fff; font-size: .82rem; font-weight: 600; text-align: left;
  opacity: 0; transition: opacity .25s;
}
.g-item:hover .g-item__cap, .g-item:focus-visible .g-item__cap { opacity: 1; }

/* desktop mosaic */
@media (min-width: 880px) {
  .gallery__scroll {
    grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); grid-auto-columns: auto;
    overflow: visible; margin: 0; padding: 0; gap: 16px;
  }
  .g-item { aspect-ratio: auto; height: 100%; }
  .g-item--tall { grid-row: span 2; }
  .g-item--wide { grid-column: span 2; }
  .g-item__cap { opacity: 0; }
}

/* ---------- About / story ---------- */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.about__media { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.about__media .arch { aspect-ratio: 3/4; }
.about__media .arch:nth-child(2) { margin-top: 36px; }
.about__copy h2 { font-size: clamp(2rem, 5.5vw, 3.3rem); }
.about__copy p { color: var(--muted); margin: 18px 0 0; font-size: 1.05rem; }
.about__stats { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--border); }
.about__stats .stat b { font-family: "Cormorant Garamond", serif; font-size: 2.5rem; font-weight: 600; color: var(--primary); display: block; line-height: 1; }
.about__stats .stat span { font-size: .82rem; color: var(--muted); font-weight: 600; letter-spacing: .02em; }

/* ---------- Amenities ---------- */
.amenities { background: var(--secondary); color: #F4EEE9; }
.amenities .eyebrow { color: var(--accent); }
.amenities .section-head h2 { color: #fff; }
.amenities .section-head p { color: rgba(244,238,233,.72); }
.am__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.am {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px; padding: 24px 20px; transition: background .25s, transform .25s var(--ease);
}
.am:hover { background: rgba(255,255,255,.09); transform: translateY(-4px); }
.am__icon { width: 46px; height: 46px; border-radius: 12px; background: rgba(217,181,111,.16); display: grid; place-items: center; margin-bottom: 16px; }
.am__icon svg { width: 23px; height: 23px; color: var(--accent); }
.am h3 { font-size: 1.4rem; color: #fff; }
.am p { margin: 8px 0 0; font-size: .9rem; color: rgba(244,238,233,.7); }

/* ---------- Visit / contact ---------- */
.visit__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.info-card { background: var(--surface); border: 1px solid var(--border); border-radius: 22px; box-shadow: var(--shadow-sm); overflow: hidden; }
.map {
  position: relative; aspect-ratio: 16/11; background:
    radial-gradient(120% 120% at 30% 20%, #eef1ee 0%, #e3e7e4 45%, #d7dcd9 100%);
  border-bottom: 1px solid var(--border);
}
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.18) saturate(.9); }
.map__badge {
  position: absolute; top: 12px; left: 12px; z-index: 2; font-size: .68rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: var(--secondary);
  background: rgba(255,247,245,.92); border: 1px solid var(--border); padding: 6px 11px; border-radius: 999px;
}
.info-card__body { padding: 22px 22px 24px; }
.info-row { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.info-row:last-of-type { border-bottom: 0; }
.info-row__ic { width: 40px; height: 40px; border-radius: 11px; background: var(--surface-2); display: grid; place-items: center; flex: none; }
.info-row__ic svg { width: 19px; height: 19px; color: var(--primary); }
.info-row .k { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.info-row .v { font-size: 1rem; color: var(--text); font-weight: 600; margin-top: 2px; }
.info-row .v a:hover { color: var(--primary-deep); }
.info-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.info-actions .btn { width: 100%; }

/* form */
.form-card { background: var(--surface); border: 1px solid var(--border); border-radius: 22px; box-shadow: var(--shadow-sm); padding: clamp(22px, 3vw, 34px); }
.form-card h3 { font-size: 1.9rem; }
.form-card > p { color: var(--muted); margin: 8px 0 22px; font-size: .96rem; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .8rem; font-weight: 700; letter-spacing: .03em; color: var(--text); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; font-family: inherit; font-size: .98rem; color: var(--text);
  background: var(--bg); border: 1px solid var(--border); border-radius: 12px;
  padding: 13px 14px; transition: border-color .18s, box-shadow .18s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(182,106,122,.16);
}
.field--err input, .field--err select, .field--err textarea { border-color: #c2566a; }
.field__err { display: none; color: #b23a52; font-size: .78rem; margin-top: 6px; font-weight: 600; }
.field--err .field__err { display: block; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.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; align-items: center; min-height: 40px; padding: 0 15px;
  border-radius: 999px; border: 1px solid var(--border); background: var(--bg);
  font-size: .86rem; font-weight: 600; color: var(--text); transition: .18s;
}
.chip-radio input:checked + span { background: var(--secondary); color: #fff; border-color: var(--secondary); }
.chip-radio input:focus-visible + span { outline: 2.5px solid var(--focus); outline-offset: 2px; }
.form-card .btn { width: 100%; margin-top: 6px; }
.form-note { font-size: .76rem; color: var(--muted); margin-top: 12px; text-align: center; }
.form-success {
  display: none; text-align: center; padding: 26px 10px;
}
.form-success.show { display: block; animation: pop .4s var(--ease); }
.form-success .tick { width: 60px; height: 60px; border-radius: 50%; background: var(--surface-2); display: grid; place-items: center; margin: 0 auto 16px; }
.form-success .tick svg { width: 30px; height: 30px; color: var(--primary); }
.form-success h3 { font-size: 1.8rem; }
.form-success p { color: var(--muted); margin: 8px 0 0; }
@keyframes pop { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: scale(1); } }

/* ---------- Footer ---------- */
.footer { background: var(--surface-2); border-top: 1px solid var(--border); padding: clamp(44px, 6vw, 72px) 0 28px; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
.footer__brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer__brand .em { width: 48px; height: 48px; border-radius: 12px; overflow: hidden; border: 1px solid var(--border); flex: none; }
.footer__brand .em img { width: 100%; height: 100%; object-fit: cover; }
.footer__brand b { font-family: "Cormorant Garamond", serif; font-size: 1.5rem; font-weight: 600; }
.footer__brand span { font-size: .6rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); display: block; }
.footer p.f-desc { color: var(--muted); font-size: .92rem; max-width: 300px; }
.footer h4 { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--secondary); margin: 0 0 14px; font-weight: 700; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer ul a, .footer ul li { color: var(--muted); font-size: .92rem; }
.footer ul a:hover { color: var(--primary-deep); }
.footer__bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: 10px 20px; justify-content: space-between; font-size: .8rem; color: var(--muted); }
.footer__bottom a { text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Floating call chip (desktop) ---------- */
.call-fab {
  position: fixed; right: 22px; bottom: 24px; z-index: 50;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--secondary); color: #fff; padding: 13px 20px 13px 15px; border-radius: 999px;
  box-shadow: var(--shadow-lg); font-weight: 700; font-size: .92rem;
  transform: translateY(140%); opacity: 0; transition: transform .4s var(--ease), opacity .3s, background .2s;
}
.call-fab.show { transform: translateY(0); opacity: 1; }
.call-fab:hover { background: #263029; }
.call-fab svg { width: 19px; height: 19px; color: var(--accent); }

/* ---------- Mobile bottom action bar ---------- */
.mobilebar {
  position: fixed; inset: auto 0 0 0; z-index: 55;
  display: none; grid-template-columns: 1fr 1fr 1fr;
  background: rgba(255,247,245,.94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--border); box-shadow: 0 -6px 24px rgba(47,58,53,.10);
  padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
}
.mobilebar a {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 8px 4px; border-radius: 12px; font-size: .68rem; font-weight: 700; color: var(--text);
  letter-spacing: .02em;
}
.mobilebar a svg { width: 21px; height: 21px; color: var(--primary); }
.mobilebar a.primary { background: var(--secondary); color: #fff; margin: -2px 0; }
.mobilebar a.primary svg { color: var(--accent); }
.mobilebar a:active { transform: scale(.97); }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 90; display: none; }
.lightbox.open { display: block; }
.lightbox__scrim { position: absolute; inset: 0; background: rgba(28,22,24,.92); animation: fade .25s; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.lightbox__stage { position: absolute; inset: 0; display: grid; place-items: center; padding: 4vh 4vw; }
.lightbox__img { max-width: 92vw; max-height: 86vh; border-radius: 14px; box-shadow: var(--shadow-lg); animation: pop .3s var(--ease); }
.lightbox__cap { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: rgba(255,255,255,.86); font-size: .9rem; font-weight: 600; }
.lb-btn {
  position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); color: #fff; font-size: 1.4rem;
  display: grid; place-items: center; backdrop-filter: blur(6px); transition: background .2s;
}
.lb-btn:hover { background: rgba(255,255,255,.22); }
.lb-prev { left: 14px; } .lb-next { right: 14px; }
.lb-close { position: absolute; top: 16px; right: 16px; transform: none; width: 48px; height: 48px; }
.lb-count { position: absolute; top: 22px; left: 20px; color: rgba(255,255,255,.8); font-size: .85rem; font-weight: 600; letter-spacing: .04em; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
  .hero__media .arch img { transition: none; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  .nav { display: none; }
  .header-cta .btn-ghost { display: none; }
  .hamburger { display: flex; }
  .hero__grid { grid-template-columns: 1fr; gap: 30px; }
  .hero__media { max-width: 460px; }
  .hero__frame-accent { display: none; }
  .about__grid { grid-template-columns: 1fr; }
  .visit__grid { grid-template-columns: 1fr; }
  .am__grid { grid-template-columns: repeat(2, 1fr); }
  .svc--feature .svc__inner { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand-col { grid-column: span 2; }
}

@media (max-width: 720px) {
  :root { --header-h: 62px; }
  body { padding-bottom: 78px; } /* room for mobile bar */
  .mobilebar { display: grid; }
  .call-fab { display: none; }
  .svc { grid-column: span 12; }
  .am__grid { grid-template-columns: 1fr; }
  .hero__chip { left: 8px; }
  .footer__top { grid-template-columns: 1fr; gap: 26px; }
  .footer__brand-col { grid-column: auto; }
  .form-row { grid-template-columns: 1fr; }
  .about__stats { gap: 20px; }
  .about__stats .stat b { font-size: 2.1rem; }
}

@media (max-width: 380px) {
  .hero h1 { font-size: 2.7rem; }
  .hero__actions .btn { flex: 1; }
}
