/* ===========================================================
   M Le Diamant Beauty Lounge — JBR Dubai
   Design system + components
   Palette source: research/brand-system.md
   =========================================================== */

:root {
  --bg:        #FFF7F5;   /* warm blush surface */
  --surface:   #FFFFFF;
  --surface-2: #FBEDEA;   /* soft rose tint panel */
  --text:      #2A2426;
  --muted:     #786A6D;
  --primary:   #B66A7A;   /* rose */
  --primary-d: #8E4D5C;
  --secondary: #2F3A35;   /* deep forest */
  --secondary-d:#212823;
  --accent:    #C79A4A;   /* gold (darkened from #D9B56F for AA contrast) */
  --accent-2:  #D9B56F;   /* light gold for lines on dark */
  --border:    #EADDE0;
  --focus:     #B66A7A;

  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 64px);

  --ff-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --ff-body: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --shadow-sm: 0 1px 2px rgba(42,36,38,.06), 0 2px 8px rgba(42,36,38,.04);
  --shadow-md: 0 8px 30px rgba(80,40,50,.10);
  --shadow-lg: 0 24px 60px rgba(60,30,40,.18);

  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;

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

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  font-family: var(--ff-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -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; color: inherit; cursor: pointer; border: 0; background: none; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 3px; }
ul { list-style: none; padding: 0; }

/* ---------- type ---------- */
h1, h2, h3, h4 { font-family: var(--ff-display); font-weight: 600; line-height: 1.05; letter-spacing: -0.01em; }
.eyebrow {
  font-family: var(--ff-body);
  font-size: clamp(11px, 1.1vw, 13px);
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--primary);
}
.eyebrow.on-dark { color: var(--accent-2); }
.serif-italic { font-style: italic; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
section { position: relative; }
.section-pad { padding-block: clamp(64px, 9vw, 132px); }
.center { text-align: center; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--ff-body); font-weight: 600; font-size: 15px;
  letter-spacing: .01em;
  padding: 14px 26px; border-radius: 100px;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
  min-height: 48px;
}
.btn svg { width: 17px; height: 17px; flex: none; }
.btn-primary { background: var(--secondary); color: #fff; }
.btn-primary:hover { background: var(--secondary-d); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-gold { background: var(--accent); color: #2A1E08; }
.btn-gold:hover { background: #b8893c; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { border: 1.5px solid var(--text); color: var(--text); background: transparent; }
.btn-outline:hover { background: var(--text); color: var(--bg); transform: translateY(-2px); }
.btn-ghost-light { border: 1.5px solid rgba(255,255,255,.45); color: #fff; }
.btn-ghost-light:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-sm { padding: 11px 20px; font-size: 14px; min-height: 42px; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  transition: background .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header .bar {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px; gap: 24px;
}
.site-header.scrolled {
  background: rgba(255,247,245,.86);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: var(--border);
  box-shadow: 0 2px 20px rgba(60,30,40,.05);
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 42px; width: auto; }
.brand .brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand .brand-text b {
  font-family: var(--ff-display); font-weight: 600; font-size: 20px; letter-spacing: .01em; color: var(--text);
}
.brand .brand-text span {
  font-family: var(--ff-body); font-size: 9.5px; letter-spacing: .32em; text-transform: uppercase; color: var(--muted); margin-top: 3px;
}
.nav-desktop { display: none; align-items: center; gap: 34px; }
.nav-desktop a { font-weight: 500; font-size: 15px; color: var(--text); position: relative; padding: 4px 0; }
.nav-desktop a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 1.5px;
  background: var(--accent); transition: right .3s var(--ease);
}
.nav-desktop a:hover::after { right: 0; }
.header-cta { display: none; align-items: center; gap: 12px; }
.header-actions { display: flex; align-items: center; gap: 10px; }

/* hamburger */
.hamburger {
  display: inline-flex; flex-direction: column; gap: 5px; padding: 10px; border-radius: 10px;
}
.hamburger span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
body.nav-open .hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .hamburger span:nth-child(2) { opacity: 0; }
body.nav-open .hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mobile drawer */
.mobile-nav {
  position: fixed; inset: 0; z-index: 55; background: var(--bg);
  display: flex; flex-direction: column; padding: 96px var(--gutter) 40px;
  transform: translateY(-100%); transition: transform .5s var(--ease);
  visibility: hidden;
}
body.nav-open .mobile-nav { transform: translateY(0); visibility: visible; }
.mobile-nav a.m-link {
  font-family: var(--ff-display); font-size: 34px; font-weight: 600; padding: 14px 0;
  border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between;
}
.mobile-nav a.m-link .idx { font-family: var(--ff-body); font-size: 12px; color: var(--accent); letter-spacing: .2em; }
.mobile-nav .m-foot { margin-top: auto; display: grid; gap: 12px; padding-top: 28px; }
.mobile-nav .m-foot .row { display: flex; gap: 12px; }
.mobile-nav .m-foot .btn { flex: 1; }

/* ---------- hero ---------- */
.hero { position: relative; padding-top: 110px; overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: 1fr; gap: clamp(32px, 5vw, 56px); align-items: center;
  padding-bottom: clamp(48px, 8vw, 96px);
}
.hero-copy { max-width: 620px; }
.hero h1 {
  font-size: clamp(46px, 9vw, 92px); line-height: .98; margin-top: 22px; color: var(--text);
}
.hero h1 em { font-style: italic; color: var(--primary); }
.hero .lede {
  font-size: clamp(16px, 2vw, 19px); color: var(--muted); margin-top: 24px; max-width: 50ch; text-wrap: pretty;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.rating-chip {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 30px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 100px;
  padding: 9px 9px 9px 16px; box-shadow: var(--shadow-sm); width: fit-content;
}
.rating-chip .stars { color: var(--accent); letter-spacing: 2px; font-size: 15px; }
.rating-chip b { font-weight: 700; }
.rating-chip .src {
  font-size: 12px; color: var(--muted); background: var(--surface-2);
  padding: 5px 12px; border-radius: 100px;
}
.hero-figure { position: relative; }
.hero-figure .frame {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); aspect-ratio: 4 / 5; background: var(--surface-2);
}
.hero-figure .frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-figure::before {
  content: ""; position: absolute; inset: 14px -14px -14px 14px; border: 1.5px solid var(--accent);
  border-radius: var(--r-lg); z-index: -1;
}
.hero-badge {
  position: absolute; left: -8px; bottom: 22px; background: var(--secondary); color: #fff;
  padding: 16px 22px; border-radius: var(--r-md); box-shadow: var(--shadow-md); max-width: 220px;
}
.hero-badge .n { font-family: var(--ff-display); font-size: 30px; line-height: 1; color: var(--accent-2); }
.hero-badge .t { font-size: 12.5px; color: rgba(255,255,255,.82); margin-top: 6px; line-height: 1.4; }

/* ---------- marquee / trust ---------- */
.trust {
  border-block: 1px solid var(--border); background: var(--surface);
  padding-block: 22px; overflow: hidden;
}
.trust-row {
  display: flex; align-items: center; gap: clamp(28px, 6vw, 70px); flex-wrap: wrap; justify-content: center;
}
.trust-item { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14px; font-weight: 500; }
.trust-item b { color: var(--text); font-weight: 700; }
.trust-item .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.trust-brands { color: var(--muted); font-size: 13px; letter-spacing: .04em; }
.trust-brands b { font-weight: 700; color: var(--secondary); font-family: var(--ff-display); font-size: 17px; letter-spacing: 0; }

/* ---------- section heading ---------- */
.sec-head { max-width: 720px; }
.sec-head.center { margin-inline: auto; }
.sec-head h2 { font-size: clamp(34px, 5.4vw, 60px); margin-top: 16px; color: var(--text); }
.sec-head h2 em { font-style: italic; color: var(--primary); }
.sec-head p { color: var(--muted); margin-top: 18px; font-size: clamp(15px, 1.7vw, 18px); text-wrap: pretty; }
.rule { width: 46px; height: 2px; background: var(--accent); margin: 0 0 0 0; }
.sec-head.center .rule { margin-inline: auto; }

/* ---------- services ---------- */
.services-grid {
  display: grid; grid-template-columns: 1fr; gap: 18px; margin-top: 52px;
}
.svc-card {
  position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--secondary);
  min-height: 420px; display: flex; flex-direction: column; justify-content: flex-end;
  isolation: isolate; box-shadow: var(--shadow-sm);
}
.svc-card img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
  transition: transform .9s var(--ease);
}
.svc-card::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(33,40,35,0) 28%, rgba(33,40,35,.34) 56%, rgba(25,30,26,.86) 100%);
}
.svc-card:hover img { transform: scale(1.06); }
.svc-body { padding: 28px; color: #fff; }
.svc-body .k { font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--accent-2); }
.svc-body h3 { font-size: 30px; margin-top: 10px; }
.svc-body p { font-size: 14.5px; color: rgba(255,255,255,.85); margin-top: 10px; max-width: 38ch; text-wrap: pretty; }
.svc-body .tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.svc-body .tags span {
  font-size: 12px; padding: 5px 12px; border: 1px solid rgba(255,255,255,.32); border-radius: 100px;
  color: rgba(255,255,255,.92);
}
.svc-note {
  margin-top: 30px; font-size: 13.5px; color: var(--muted); display: flex; align-items: center; gap: 9px;
}
.svc-note svg { width: 16px; height: 16px; color: var(--accent); flex: none; }

/* ---------- inside / editorial band ---------- */
.inside { background: var(--secondary); color: #fff; overflow: hidden; }
.inside .eyebrow { color: var(--accent-2); }
.inside-grid { display: grid; grid-template-columns: 1fr; gap: clamp(34px, 5vw, 64px); align-items: center; }
.inside h2 { font-size: clamp(34px, 5.4vw, 58px); margin-top: 16px; }
.inside h2 em { font-style: italic; color: var(--accent-2); }
.inside p { color: rgba(255,255,255,.8); margin-top: 18px; font-size: clamp(15px,1.7vw,18px); max-width: 46ch; text-wrap: pretty; }
.inside .pulls { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-top: 36px; }
.inside .pull .n { font-family: var(--ff-display); font-size: 40px; color: var(--accent-2); line-height: 1; }
.inside .pull .t { font-size: 13.5px; color: rgba(255,255,255,.72); margin-top: 8px; }
.inside-figs { display: grid; grid-template-columns: 1.1fr .9fr; grid-template-rows: auto auto; gap: 16px; }
.inside-figs figure { border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-md); }
.inside-figs figure img { width: 100%; height: 100%; object-fit: cover; }
.inside-figs .tall { grid-row: span 2; aspect-ratio: 3/4.4; }
.inside-figs .wide { aspect-ratio: 4/3; }

/* ---------- gallery ---------- */
.gallery-head { display: flex; flex-direction: column; gap: 24px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button {
  font-size: 13.5px; font-weight: 600; padding: 9px 18px; border-radius: 100px;
  border: 1px solid var(--border); background: var(--surface); color: var(--muted);
  transition: all .25s var(--ease);
}
.filters button:hover { border-color: var(--accent); color: var(--text); }
.filters button.active { background: var(--secondary); border-color: var(--secondary); color: #fff; }
.masonry { columns: 2; column-gap: 14px; margin-top: 38px; }
.masonry .tile {
  break-inside: avoid; margin-bottom: 14px; border-radius: var(--r-md); overflow: hidden;
  position: relative; background: var(--surface-2); cursor: zoom-in; display: block; width: 100%;
}
.masonry .tile img { width: 100%; height: auto; transition: transform .8s var(--ease), filter .4s; }
.masonry .tile::after {
  content: ""; position: absolute; inset: 0; background: rgba(33,40,35,0); transition: background .35s var(--ease);
}
.masonry .tile:hover img { transform: scale(1.05); }
.masonry .tile:hover::after { background: rgba(33,40,35,.14); }
.masonry .tile .cap {
  position: absolute; left: 12px; bottom: 12px; z-index: 2; color: #fff; font-size: 12px; font-weight: 600;
  letter-spacing: .04em; opacity: 0; transform: translateY(6px); transition: all .35s var(--ease);
  text-shadow: 0 1px 8px rgba(0,0,0,.5);
}
.masonry .tile:hover .cap { opacity: 1; transform: translateY(0); }
.tile.is-hidden { display: none; }

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 90; background: rgba(22,16,18,.92);
  display: flex; align-items: center; justify-content: center; padding: 24px;
  opacity: 0; visibility: hidden; transition: opacity .3s var(--ease);
  backdrop-filter: blur(6px);
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: min(94vw, 1100px); max-height: 86vh; border-radius: 8px; box-shadow: var(--shadow-lg); }
.lb-btn {
  position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,.12); color: #fff; display: grid; place-items: center; transition: background .25s;
}
.lb-btn:hover { background: rgba(255,255,255,.24); }
.lb-prev { left: 18px; } .lb-next { right: 18px; }
.lb-close { position: absolute; top: 18px; right: 18px; width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.12); color:#fff; display: grid; place-items: center; }
.lb-close:hover { background: rgba(255,255,255,.24); }
.lb-count { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.8); font-size: 13px; letter-spacing: .1em; }
.lb-btn svg, .lb-close svg { width: 22px; height: 22px; }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: 1fr; gap: clamp(36px,5vw,64px); align-items: center; }
.about-fig { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 4/5; }
.about-fig img { width: 100%; height: 100%; object-fit: cover; }
.about-copy h2 { font-size: clamp(32px,5vw,56px); margin-top: 16px; }
.about-copy h2 em { font-style: italic; color: var(--primary); }
.about-copy p { color: var(--muted); margin-top: 18px; font-size: clamp(15px,1.7vw,17.5px); text-wrap: pretty; }
.about-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-top: 34px; }
.about-stats .stat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); padding: 20px 16px; }
.about-stats .n { font-family: var(--ff-display); font-size: 32px; color: var(--primary); line-height: 1; }
.about-stats .t { font-size: 12px; color: var(--muted); margin-top: 8px; letter-spacing: .02em; }

/* ---------- visit ---------- */
.visit { background: var(--surface-2); }
.visit-grid { display: grid; grid-template-columns: 1fr; gap: 36px; }
.visit-panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.info-list { padding: 30px; display: grid; gap: 22px; }
.info-item { display: flex; gap: 16px; }
.info-item .ic { width: 42px; height: 42px; border-radius: 50%; background: var(--surface-2); display: grid; place-items: center; flex: none; color: var(--primary); }
.info-item .ic svg { width: 19px; height: 19px; }
.info-item .k { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.info-item .v { font-size: 16.5px; font-weight: 600; margin-top: 4px; color: var(--text); }
.info-item .v.tab { font-variant-numeric: tabular-nums; }
.info-item .v a:hover { color: var(--primary); }
.info-item small { display: block; color: var(--muted); font-weight: 400; font-size: 13px; margin-top: 3px; }
.map-placeholder {
  position: relative; aspect-ratio: 16/10; background:
    repeating-linear-gradient(135deg, #efe4e0 0 14px, #f6eeeb 14px 28px);
  border-top: 1px solid var(--border); display: grid; place-items: center; text-align: center;
}
.map-placeholder .pin { color: var(--primary); }
.map-placeholder .pin svg { width: 34px; height: 34px; }
.map-placeholder .lbl { font-family: var(--ff-body); font-size: 13px; color: var(--muted); margin-top: 8px; letter-spacing: .04em; }
.map-placeholder .addr { font-weight: 600; color: var(--text); font-size: 15px; margin-top: 4px; }
.map-actions { padding: 20px 30px; border-top: 1px solid var(--border); display: flex; gap: 12px; flex-wrap: wrap; }

/* form */
.enquiry { background: var(--secondary); color: #fff; border-radius: var(--r-lg); padding: clamp(26px,4vw,40px); box-shadow: var(--shadow-md); }
.enquiry .eyebrow { color: var(--accent-2); }
.enquiry h3 { font-size: clamp(26px,3.4vw,38px); margin-top: 12px; }
.enquiry p.sub { color: rgba(255,255,255,.72); font-size: 14.5px; margin-top: 10px; }
.form-grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 26px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.field input, .field select, .field textarea {
  font-family: var(--ff-body); font-size: 15px; color: #fff; background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.18); border-radius: 10px; padding: 13px 15px; transition: border .25s, background .25s;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,.4); }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23D9B56F' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 15px center; padding-right: 38px; }
.field select option { color: #2A2426; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent-2); background: rgba(255,255,255,.12); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #e6889a; background: rgba(230,136,154,.1); }
.field .err { font-size: 12px; color: #f0a6b3; display: none; }
.field.invalid .err { display: block; }
.contact-pref { display: flex; gap: 8px; flex-wrap: wrap; }
.contact-pref label {
  flex: 1; min-width: 90px; text-transform: none; letter-spacing: 0; font-size: 14px; color: #fff;
  border: 1px solid rgba(255,255,255,.2); border-radius: 10px; padding: 11px 12px; text-align: center; cursor: pointer;
  transition: all .2s; font-weight: 500;
}
.contact-pref input { position: absolute; inset: 0 auto auto 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.contact-pref label:has(input:checked) { background: var(--accent); color: #2A1E08; border-color: var(--accent); }
.enquiry .btn-submit { margin-top: 4px; width: 100%; background: var(--accent); color: #2A1E08; }
.enquiry .btn-submit:hover { background: #e8c47e; }
.enquiry .legal { font-size: 12px; color: rgba(255,255,255,.5); margin-top: 14px; text-align: center; }
.form-success {
  display: none; text-align: center; padding: 30px 10px;
}
.form-success.show { display: block; }
.form-success .ok { width: 64px; height: 64px; border-radius: 50%; background: var(--accent); color: var(--secondary); display: grid; place-items: center; margin: 0 auto 18px; }
.form-success .ok svg { width: 30px; height: 30px; }
.form-success h3 { font-size: 30px; }
.form-success p { color: rgba(255,255,255,.78); margin-top: 10px; font-size: 15px; }

/* ---------- footer ---------- */
.site-footer { background: var(--secondary-d); color: rgba(255,255,255,.74); padding-top: clamp(56px,7vw,84px); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 40px; padding-bottom: 48px; }
.footer-brand .brand .brand-text b { color: #fff; }
.footer-brand .brand .brand-text span { color: rgba(255,255,255,.5); }
.footer-brand p { margin-top: 18px; font-size: 14.5px; max-width: 38ch; line-height: 1.7; }
.footer-col h4 { font-family: var(--ff-body); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent-2); font-weight: 700; }
.footer-col ul { margin-top: 16px; display: grid; gap: 11px; }
.footer-col a, .footer-col li { font-size: 14.5px; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-block: 24px; display: flex; flex-direction: column; gap: 14px; }
.footer-bottom .fine { font-size: 12.5px; color: rgba(255,255,255,.5); line-height: 1.6; }
.footer-bottom .demo-note { font-size: 11.5px; color: rgba(255,255,255,.38); }
.footer-logo-img { height: 40px; opacity: .9; }

/* ---------- mobile action bar ---------- */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  background: rgba(255,247,245,.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--border); display: grid; grid-template-columns: repeat(3,1fr);
  padding: 8px max(10px, env(safe-area-inset-left)) calc(8px + env(safe-area-inset-bottom));
  gap: 6px;
}
.mobile-bar a {
  display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 4px; border-radius: 12px;
  font-size: 11.5px; font-weight: 600; color: var(--secondary);
}
.mobile-bar a svg { width: 21px; height: 21px; }
.mobile-bar a.primary { background: var(--secondary); color: #fff; }
.mobile-bar a:active { transform: scale(.96); }

/* ---------- reveal ---------- */
.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; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ===========================================================
   responsive
   =========================================================== */
@media (min-width: 600px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .masonry { columns: 3; }
}
@media (min-width: 900px) {
  .nav-desktop { display: flex; }
  .header-cta { display: flex; }
  .hamburger { display: none; }
  .mobile-bar { display: none; }
  body { padding-bottom: 0 !important; }
  .hero-grid { grid-template-columns: 1.05fr .95fr; }
  .inside-grid { grid-template-columns: 1fr 1.05fr; }
  .about-grid { grid-template-columns: .92fr 1.08fr; }
  .visit-grid { grid-template-columns: 1fr 1fr; align-items: start; }
  .form-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; }
  .footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; }
  .services-grid { grid-template-columns: repeat(4, 1fr); }
  .masonry { columns: 4; }
}
@media (max-width: 899px) {
  body { padding-bottom: 78px; } /* room for mobile bar */
}
@media (min-width: 1100px) {
  .hero h1 { margin-top: 26px; }
}
