/* =========================================================================
   Pak Darbar Restaurant — Al Barsha
   Design tokens + base styles. Palette/type from research/brand-system.md
   ========================================================================= */

:root{
  /* palette (brand-system.md) */
  --bg:        #FFF8EF;   /* warm cream surface */
  --surface:   #FFFDF8;   /* card / raised */
  --surface-2: #F6EADA;   /* soft block */
  --text:      #271A12;   /* primary type */
  --muted:     #7A6654;   /* captions, secondary */
  --primary:   #B64A2E;   /* terracotta */
  --primary-d: #8F3722;
  --secondary: #17453B;   /* deep green */
  --secondary-d:#0E2F28;
  --accent:    #E7A93B;   /* saffron */
  --accent-d:  #C98A1E;
  --border:    #EADCCB;
  --border-2:  #E0CDB6;
  --focus:     #B64A2E;

  /* fonts */
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --ui: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* rhythm */
  --maxw: 1200px;
  --gut: clamp(20px, 5vw, 64px);
  --r-s: 8px;
  --r-m: 14px;
  --r-l: 22px;
  --shadow-s: 0 1px 2px rgba(39,26,18,.05), 0 2px 8px rgba(39,26,18,.04);
  --shadow-m: 0 4px 14px rgba(39,26,18,.08), 0 14px 40px rgba(39,26,18,.07);
  --shadow-l: 0 18px 50px rgba(39,26,18,.16);
}

*{ 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:var(--ui);
  font-size:17px;
  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(--display);
  font-weight:600;
  line-height:1.04;
  margin:0;
  letter-spacing:-.01em;
  font-optical-sizing:auto;
}

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

.wrap{ width:100%; max-width:var(--maxw); margin:0 auto; padding-inline:var(--gut); }

/* ---- shared section heads --------------------------------------------- */
.eyebrow{
  display:inline-flex; align-items:center; gap:9px;
  font-size:12.5px; font-weight:600; letter-spacing:.18em; text-transform:uppercase;
  color:var(--primary);
  margin:0 0 18px;
}
.eyebrow::before{
  content:""; width:26px; height:2px; background:var(--accent); border-radius:2px;
}
.eyebrow.center::after{
  content:""; width:26px; height:2px; background:var(--accent); border-radius:2px;
}
.section-title{
  font-size:clamp(30px, 4.6vw, 50px);
  max-width:18ch;
}
.section-lead{
  color:var(--muted); font-size:clamp(16px,1.7vw,18.5px); max-width:52ch; margin:16px 0 0;
  text-wrap:pretty;
}

/* ---- buttons ---------------------------------------------------------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:9px;
  padding:14px 24px; border-radius:999px; border:1.5px solid transparent;
  font-weight:600; font-size:15.5px; letter-spacing:.01em;
  transition:transform .18s ease, background .18s ease, box-shadow .18s ease, color .18s ease, border-color .18s ease;
  white-space:nowrap;
}
.btn:active{ transform:translateY(1px); }
.btn-primary{ background:var(--primary); color:#fff; box-shadow:0 6px 18px rgba(182,74,46,.28); }
.btn-primary:hover{ background:var(--primary-d); transform:translateY(-2px); box-shadow:0 10px 26px rgba(182,74,46,.34); }
.btn-dark{ background:var(--secondary); color:#fff; }
.btn-dark:hover{ background:var(--secondary-d); transform:translateY(-2px); }
.btn-ghost{ background:transparent; color:var(--text); border-color:var(--border-2); }
.btn-ghost:hover{ border-color:var(--secondary); color:var(--secondary); transform:translateY(-2px); }
.btn-accent{ background:var(--accent); color:var(--secondary-d); }
.btn-accent:hover{ background:var(--accent-d); transform:translateY(-2px); }
.btn svg{ width:18px; height:18px; }

/* ---- reveal on scroll ------------------------------------------------- */
.reveal{ opacity:0; transform:translateY(26px); transition:opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1); }
.reveal.in{ opacity:1; transform:none; }
@media (prefers-reduced-motion: reduce){ .reveal{ opacity:1; transform:none; } }

/* =======================================================================
   HEADER
   ======================================================================= */
.hdr{
  position:fixed; top:0; left:0; right:0; z-index:60;
  transition:background .3s ease, box-shadow .3s ease, padding .3s ease, border-color .3s;
  padding:18px 0; border-bottom:1px solid transparent;
}
.hdr.scrolled{
  background:color-mix(in oklab, var(--bg) 86%, transparent);
  backdrop-filter:saturate(1.4) blur(14px);
  -webkit-backdrop-filter:saturate(1.4) blur(14px);
  box-shadow:var(--shadow-s);
  border-color:var(--border);
  padding:11px 0;
}
.hdr-row{ display:flex; align-items:center; justify-content:space-between; gap:20px; }
.brand{ display:flex; align-items:center; gap:13px; }
.brand img{ height:46px; width:auto; transition:height .3s ease; }
.hdr.scrolled .brand img{ height:40px; }
.brand-tx{ display:flex; flex-direction:column; line-height:1; }
.brand-tx b{ font-family:var(--display); font-weight:600; font-size:18px; letter-spacing:-.01em; }
.brand-tx span{ font-size:10.5px; letter-spacing:.16em; text-transform:uppercase; color:var(--muted); margin-top:4px; }
.nav{ display:flex; align-items:center; gap:4px; }
.nav a{
  padding:9px 15px; border-radius:999px; font-size:15px; font-weight:500; color:var(--text);
  position:relative; transition:color .18s, background .18s;
}
.nav a:hover{ color:var(--primary); }
.nav a.active{ color:var(--primary); }
.nav a.active::after{
  content:""; position:absolute; left:15px; right:15px; bottom:3px; height:2px;
  background:var(--accent); border-radius:2px;
}
.hdr-cta{ display:flex; align-items:center; gap:10px; }
.menu-toggle{ display:none; background:transparent; border:1.5px solid var(--border-2); border-radius:11px; width:46px; height:46px; align-items:center; justify-content:center; color:var(--text); }
.menu-toggle svg{ width:22px; height:22px; }

/* mobile drawer */
.drawer{
  position:fixed; inset:0; z-index:70; display:none;
}
.drawer.open{ display:block; }
.drawer-scrim{ position:absolute; inset:0; background:rgba(20,12,6,.42); backdrop-filter:blur(3px); animation:fade .3s ease; }
.drawer-panel{
  position:absolute; top:0; right:0; bottom:0; width:min(86vw,360px);
  background:var(--bg); box-shadow:var(--shadow-l); padding:24px;
  display:flex; flex-direction:column; gap:6px; animation:slideIn .32s cubic-bezier(.22,.61,.36,1);
  border-left:1px solid var(--border);
}
@keyframes fade{ from{opacity:0} to{opacity:1} }
@keyframes slideIn{ from{transform:translateX(100%)} to{transform:none} }
.drawer-top{ display:flex; justify-content:space-between; align-items:center; margin-bottom:14px; }
.drawer-panel a{ padding:14px 12px; border-radius:12px; font-size:18px; font-weight:500; font-family:var(--display); border-bottom:1px solid var(--border); }
.drawer-panel a:hover{ background:var(--surface-2); }
.drawer-foot{ margin-top:auto; display:flex; flex-direction:column; gap:10px; padding-top:18px; }
.icon-btn{ background:transparent; border:1.5px solid var(--border-2); border-radius:11px; width:44px; height:44px; display:flex; align-items:center; justify-content:center; color:var(--text); }

@media (max-width: 920px){
  .nav, .hdr-cta .btn{ display:none; }
  .menu-toggle{ display:flex; }
}

/* =======================================================================
   HERO
   ======================================================================= */
.hero{ position:relative; padding-top:150px; padding-bottom:70px; overflow:hidden; }
.hero-grid{ display:grid; grid-template-columns:1.05fr .95fr; gap:clamp(28px,5vw,68px); align-items:center; }
.hero-l{ position:relative; z-index:2; }
.rating-pill{
  display:inline-flex; align-items:center; gap:10px; padding:8px 16px 8px 10px; border-radius:999px;
  background:var(--surface); border:1px solid var(--border); box-shadow:var(--shadow-s); font-size:14px; font-weight:500; margin-bottom:26px;
}
.rating-pill .stars{ color:var(--accent); letter-spacing:1px; font-size:14px; }
.rating-pill b{ font-weight:700; }
.rating-pill .g{ display:inline-flex; align-items:center; justify-content:center; width:24px; height:24px; border-radius:50%; background:#fff; border:1px solid var(--border); font-family:var(--display); font-weight:700; color:var(--primary); font-size:14px; }
.hero h1{
  font-size:clamp(44px, 7.2vw, 86px);
  letter-spacing:-.025em;
}
.hero h1 em{ font-style:italic; color:var(--primary); }
.hero-sub{ font-size:clamp(17px,2vw,21px); color:var(--muted); max-width:46ch; margin:24px 0 0; text-wrap:pretty; }
.hero-cta{ display:flex; flex-wrap:wrap; gap:14px; margin-top:34px; }
.hero-meta{ display:flex; flex-wrap:wrap; gap:10px 26px; margin-top:34px; padding-top:28px; border-top:1px solid var(--border); }
.hero-meta div{ display:flex; align-items:center; gap:10px; font-size:14.5px; color:var(--muted); }
.hero-meta b{ color:var(--text); font-weight:600; }
.hero-meta svg{ width:18px; height:18px; color:var(--primary); flex:none; }

/* hero imagery */
.hero-r{ position:relative; }
.hero-photo{
  position:relative; border-radius:var(--r-l); overflow:hidden; box-shadow:var(--shadow-l);
  aspect-ratio:4/4.4; background:var(--surface-2);
  transform:rotate(1.4deg);
}
.hero-photo img{ width:100%; height:100%; object-fit:cover; }
.hero-badge{
  position:absolute; left:-26px; bottom:34px; z-index:3;
  background:var(--secondary); color:#fff; border-radius:var(--r-m); padding:16px 20px;
  box-shadow:var(--shadow-m); transform:rotate(-3deg);
  display:flex; flex-direction:column; gap:2px; max-width:200px;
}
.hero-badge b{ font-family:var(--display); font-size:20px; font-weight:600; }
.hero-badge span{ font-size:12.5px; opacity:.82; letter-spacing:.02em; }
.hero-chip{
  position:absolute; right:-14px; top:26px; z-index:3;
  background:var(--accent); color:var(--secondary-d); font-weight:700; font-size:13px;
  padding:11px 16px; border-radius:999px; box-shadow:var(--shadow-m); transform:rotate(4deg);
  letter-spacing:.02em;
}
.hero-deco{
  position:absolute; z-index:0; pointer-events:none; border-radius:50%;
  filter:blur(2px); opacity:.5;
}

@media (max-width: 880px){
  .hero{ padding-top:128px; }
  .hero-grid{ grid-template-columns:1fr; gap:40px; }
  .hero-r{ order:-1; max-width:440px; }
  .hero-photo{ transform:none; aspect-ratio:4/3.3; }
  .hero-badge{ left:14px; }
}

/* =======================================================================
   STRIP / marquee of offerings
   ======================================================================= */
.strip{ background:var(--secondary); color:#fff; padding:18px 0; overflow:hidden; }
.strip-track{ display:flex; gap:48px; white-space:nowrap; width:max-content; animation:marquee 32s linear infinite; }
.strip:hover .strip-track{ animation-play-state:paused; }
@keyframes marquee{ to{ transform:translateX(-50%); } }
.strip-track span{ display:inline-flex; align-items:center; gap:48px; font-family:var(--display); font-size:21px; font-weight:500; opacity:.92; }
.strip-track span::after{ content:"✦"; color:var(--accent); font-size:14px; }
@media (prefers-reduced-motion: reduce){ .strip-track{ animation:none; } }

/* =======================================================================
   SECTION wrapper
   ======================================================================= */
section[id]{ scroll-margin-top:84px; }
.block{ padding:clamp(64px, 9vw, 118px) 0; }
.block-head{ margin-bottom:clamp(34px,5vw,58px); }
.block-head.center{ text-align:center; display:flex; flex-direction:column; align-items:center; }
.block-head-row{ display:flex; align-items:flex-end; justify-content:space-between; gap:30px; flex-wrap:wrap; }

/* =======================================================================
   HIGHLIGHTS (why us)
   ======================================================================= */
.why{ background:var(--surface-2); }
.why-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
.why-card{ background:var(--surface); border:1px solid var(--border); border-radius:var(--r-m); padding:26px 24px; box-shadow:var(--shadow-s); transition:transform .25s ease, box-shadow .25s ease; }
.why-card:hover{ transform:translateY(-5px); box-shadow:var(--shadow-m); }
.why-ic{ width:50px; height:50px; border-radius:13px; background:color-mix(in oklab, var(--primary) 12%, var(--surface)); display:flex; align-items:center; justify-content:center; color:var(--primary); margin-bottom:18px; }
.why-ic svg{ width:25px; height:25px; }
.why-card h3{ font-size:20px; margin-bottom:8px; }
.why-card p{ margin:0; font-size:15px; color:var(--muted); line-height:1.55; }
@media (max-width: 880px){ .why-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width: 520px){ .why-grid{ grid-template-columns:1fr; } }

/* =======================================================================
   MENU / signature dishes
   ======================================================================= */
.menu-tabs{ display:flex; flex-wrap:wrap; gap:9px; margin-bottom:34px; }
.menu-tab{
  padding:10px 19px; border-radius:999px; border:1.5px solid var(--border-2); background:transparent;
  font-size:14.5px; font-weight:600; color:var(--muted); transition:all .18s ease;
}
.menu-tab:hover{ border-color:var(--secondary); color:var(--secondary); }
.menu-tab.active{ background:var(--secondary); border-color:var(--secondary); color:#fff; }
.dish-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.dish{
  background:var(--surface); border:1px solid var(--border); border-radius:var(--r-m); overflow:hidden;
  box-shadow:var(--shadow-s); transition:transform .28s ease, box-shadow .28s ease;
  display:flex; flex-direction:column;
}
.dish:hover{ transform:translateY(-6px); box-shadow:var(--shadow-m); }
.dish-img{ aspect-ratio:4/3; overflow:hidden; background:var(--surface-2); position:relative; }
.dish-img img{ width:100%; height:100%; object-fit:cover; transition:transform .5s ease; }
.dish:hover .dish-img img{ transform:scale(1.06); }
.dish-tag{ position:absolute; top:12px; left:12px; background:rgba(255,253,248,.94); color:var(--secondary); font-size:11.5px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; padding:6px 11px; border-radius:999px; box-shadow:var(--shadow-s); }
.dish-body{ padding:20px 22px 24px; display:flex; flex-direction:column; gap:7px; flex:1; }
.dish-body h3{ font-size:22px; }
.dish-body p{ margin:0; font-size:14.5px; color:var(--muted); line-height:1.5; }
.dish-foot{ margin-top:auto; padding-top:14px; display:flex; align-items:center; gap:8px; font-size:13px; color:var(--accent-d); font-weight:600; }
.dish-foot svg{ width:15px; height:15px; }
@media (max-width: 880px){ .dish-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width: 560px){ .dish-grid{ grid-template-columns:1fr; } }
.menu-note{ margin-top:30px; font-size:14px; color:var(--muted); display:flex; align-items:center; gap:10px; }
.menu-note svg{ width:17px; height:17px; color:var(--primary); flex:none; }

/* =======================================================================
   GALLERY
   ======================================================================= */
.gallery{ background:var(--secondary); color:#fff; position:relative; }
.gallery .eyebrow{ color:var(--accent); }
.gallery .eyebrow::before{ background:var(--accent); }
.gallery .section-lead{ color:rgba(255,255,255,.72); }
.gal-grid{ display:grid; grid-template-columns:repeat(4,1fr); grid-auto-rows:200px; gap:14px; }
.gal-item{ position:relative; overflow:hidden; border-radius:var(--r-m); cursor:pointer; background:var(--secondary-d); }
.gal-item img{ width:100%; height:100%; object-fit:cover; transition:transform .55s ease; }
.gal-item:hover img{ transform:scale(1.07); }
.gal-item::after{ content:""; position:absolute; inset:0; background:linear-gradient(to top, rgba(14,47,40,.5), transparent 55%); opacity:0; transition:opacity .3s; }
.gal-item:hover::after{ opacity:1; }
.gal-cap{ position:absolute; left:14px; bottom:12px; z-index:2; font-size:13.5px; font-weight:600; color:#fff; opacity:0; transform:translateY(6px); transition:all .3s; }
.gal-item:hover .gal-cap{ opacity:1; transform:none; }
.gal-zoom{ position:absolute; top:12px; right:12px; z-index:2; width:34px; height:34px; border-radius:50%; background:rgba(255,255,255,.16); backdrop-filter:blur(4px); display:flex; align-items:center; justify-content:center; opacity:0; transition:opacity .3s; }
.gal-zoom svg{ width:16px; height:16px; color:#fff; }
.gal-item:hover .gal-zoom{ opacity:1; }
.gw-2{ grid-column:span 2; }
.gh-2{ grid-row:span 2; }
@media (max-width: 880px){ .gal-grid{ grid-template-columns:repeat(2,1fr); grid-auto-rows:160px; } .gw-2{ grid-column:span 1; } .gh-2{ grid-row:span 1; } }

/* lightbox */
.lb{ position:fixed; inset:0; z-index:90; background:rgba(14,9,5,.92); display:flex; align-items:center; justify-content:center; padding:24px; animation:fade .25s ease; }
.lb img{ max-width:min(92vw,1100px); max-height:84vh; border-radius:10px; box-shadow:var(--shadow-l); }
.lb-cap{ position:absolute; bottom:26px; left:0; right:0; text-align:center; color:#fff; font-size:15px; opacity:.85; }
.lb-x{ position:absolute; top:20px; right:22px; width:50px; height:50px; border-radius:50%; border:1.5px solid rgba(255,255,255,.3); background:rgba(255,255,255,.06); color:#fff; display:flex; align-items:center; justify-content:center; }
.lb-x:hover{ background:rgba(255,255,255,.15); }
.lb-nav{ position:absolute; top:50%; transform:translateY(-50%); width:54px; height:54px; border-radius:50%; border:1.5px solid rgba(255,255,255,.3); background:rgba(255,255,255,.06); color:#fff; display:flex; align-items:center; justify-content:center; }
.lb-nav:hover{ background:rgba(255,255,255,.15); }
.lb-nav.prev{ left:18px; } .lb-nav.next{ right:18px; }
.lb-nav svg, .lb-x svg{ width:24px; height:24px; }
@media (max-width:620px){ .lb-nav{ width:44px; height:44px; top:auto; bottom:24px; transform:none; } .lb-nav.prev{ left:28%; } .lb-nav.next{ right:28%; } }

/* =======================================================================
   ABOUT
   ======================================================================= */
.about-grid{ display:grid; grid-template-columns:1fr 1fr; gap:clamp(34px,6vw,80px); align-items:center; }
.about-imgs{ position:relative; display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.about-imgs img{ width:100%; height:100%; object-fit:cover; border-radius:var(--r-m); box-shadow:var(--shadow-m); }
.about-imgs .tall{ grid-row:span 2; aspect-ratio:3/4.4; }
.about-imgs .sq{ aspect-ratio:1/1; }
.about-stat{
  position:absolute; right:-8px; bottom:-22px; background:var(--primary); color:#fff;
  border-radius:var(--r-m); padding:18px 22px; box-shadow:var(--shadow-l); text-align:center;
}
.about-stat b{ font-family:var(--display); font-size:34px; font-weight:600; display:block; line-height:1; }
.about-stat span{ font-size:12px; letter-spacing:.04em; opacity:.9; }
.about-body p{ color:var(--muted); font-size:17px; margin:0 0 16px; text-wrap:pretty; }
.about-body p strong{ color:var(--text); font-weight:600; }
.about-feat{ display:flex; flex-direction:column; gap:14px; margin:28px 0 0; }
.about-feat li{ display:flex; gap:14px; align-items:flex-start; list-style:none; }
.about-feat .tick{ flex:none; width:28px; height:28px; border-radius:50%; background:color-mix(in oklab, var(--secondary) 12%, var(--surface)); color:var(--secondary); display:flex; align-items:center; justify-content:center; margin-top:1px; }
.about-feat .tick svg{ width:16px; height:16px; }
.about-feat b{ font-weight:600; }
.about-feat p{ margin:2px 0 0; font-size:14.5px; }
.about-body ul{ padding:0; margin:28px 0 0; }
@media (max-width: 880px){ .about-grid{ grid-template-columns:1fr; } .about-imgs{ max-width:480px; } }

/* =======================================================================
   VISIT / contact + form
   ======================================================================= */
.visit{ background:var(--surface-2); }
.visit-grid{ display:grid; grid-template-columns:1fr 1fr; gap:clamp(28px,5vw,56px); align-items:start; }
.info-card{ background:var(--surface); border:1px solid var(--border); border-radius:var(--r-l); padding:clamp(26px,3.5vw,40px); box-shadow:var(--shadow-s); }
.info-row{ display:flex; gap:16px; padding:18px 0; border-bottom:1px solid var(--border); }
.info-row:last-of-type{ border-bottom:0; }
.info-ic{ flex:none; width:46px; height:46px; border-radius:12px; background:color-mix(in oklab, var(--primary) 11%, var(--surface)); color:var(--primary); display:flex; align-items:center; justify-content:center; }
.info-ic svg{ width:22px; height:22px; }
.info-row h4{ font-family:var(--ui); font-size:13px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--muted); margin:0 0 5px; }
.info-row p{ margin:0; font-size:16.5px; font-weight:500; }
.info-row a{ color:var(--text); }
.info-row a:hover{ color:var(--primary); }
.info-row .sub{ font-size:13.5px; color:var(--muted); font-weight:400; margin-top:3px; }
.hours-tag{ display:inline-flex; align-items:center; gap:7px; margin-top:8px; font-size:13px; font-weight:600; color:var(--secondary); background:color-mix(in oklab, var(--secondary) 10%, var(--surface)); padding:5px 11px; border-radius:999px; }
.hours-tag .dot{ width:8px; height:8px; border-radius:50%; background:#2fa36b; box-shadow:0 0 0 3px rgba(47,163,107,.2); }
.map-ph{
  margin-top:22px; border-radius:var(--r-m); overflow:hidden; position:relative;
  border:1px solid var(--border); background:
    repeating-linear-gradient(45deg, var(--surface-2) 0 14px, var(--surface) 14px 28px);
  aspect-ratio:16/8; display:flex; align-items:center; justify-content:center; text-align:center;
}
.map-ph-inner{ background:var(--surface); border:1px solid var(--border); border-radius:999px; padding:9px 18px; font-size:13.5px; font-weight:600; color:var(--muted); display:flex; align-items:center; gap:9px; box-shadow:var(--shadow-s); }
.map-ph-inner svg{ width:17px; height:17px; color:var(--primary); }
.map-pin{ position:absolute; left:50%; top:38%; transform:translate(-50%,-50%); width:18px; height:18px; border-radius:50%; background:var(--primary); border:3px solid #fff; box-shadow:var(--shadow-m); }
.map-pin::after{ content:""; position:absolute; inset:-9px; border-radius:50%; border:2px solid var(--primary); opacity:.4; animation:ping 2.4s ease-out infinite; }
@keyframes ping{ 0%{ transform:scale(.6); opacity:.6;} 100%{ transform:scale(1.8); opacity:0; } }

/* form */
.form-card{ background:var(--surface); border:1px solid var(--border); border-radius:var(--r-l); padding:clamp(26px,3.5vw,40px); box-shadow:var(--shadow-s); }
.form-card h3{ font-size:26px; margin-bottom:6px; }
.form-card .sub{ color:var(--muted); font-size:15px; margin:0 0 24px; }
.field{ margin-bottom:16px; }
.field label{ display:block; font-size:13px; font-weight:600; letter-spacing:.02em; margin-bottom:7px; color:var(--text); }
.field label .req{ color:var(--primary); }
.field input, .field select, .field textarea{
  width:100%; padding:13px 15px; border-radius:11px; border:1.5px solid var(--border-2); background:var(--bg);
  font-family:inherit; font-size:15.5px; color:var(--text); transition:border-color .18s, box-shadow .18s;
}
.field textarea{ resize:vertical; min-height:104px; }
.field input:focus, .field select:focus, .field textarea:focus{ outline:none; border-color:var(--primary); box-shadow:0 0 0 3px color-mix(in oklab, var(--primary) 18%, transparent); }
.field.err input, .field.err select, .field.err textarea{ border-color:#c0392b; }
.field .msg{ font-size:12.5px; color:#c0392b; margin-top:6px; display:none; }
.field.err .msg{ display:block; }
.form-row2{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.chips{ display:flex; flex-wrap:wrap; gap:9px; }
.chip{ padding:9px 15px; border-radius:999px; border:1.5px solid var(--border-2); background:var(--bg); font-size:14px; font-weight:500; color:var(--muted); transition:all .16s; }
.chip.active{ background:var(--primary); border-color:var(--primary); color:#fff; }
.form-submit{ width:100%; margin-top:8px; }
.form-ok{ text-align:center; padding:40px 20px; }
.form-ok .check{ width:64px; height:64px; border-radius:50%; background:color-mix(in oklab, var(--secondary) 14%, var(--surface)); color:var(--secondary); display:flex; align-items:center; justify-content:center; margin:0 auto 18px; }
.form-ok .check svg{ width:32px; height:32px; }
.form-ok h3{ margin-bottom:8px; }
.form-ok p{ color:var(--muted); margin:0 auto; max-width:34ch; }
.form-disc{ font-size:12px; color:var(--muted); margin-top:14px; text-align:center; }
@media (max-width: 880px){ .visit-grid{ grid-template-columns:1fr; } .form-row2{ grid-template-columns:1fr; } }

/* =======================================================================
   FOOTER
   ======================================================================= */
.ft{ background:var(--secondary-d); color:rgba(255,255,255,.82); padding:64px 0 0; }
.ft-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr; gap:40px; padding-bottom:48px; }
.ft-brand img{ height:54px; margin-bottom:18px; }
.ft-brand p{ font-size:14.5px; line-height:1.6; max-width:36ch; color:rgba(255,255,255,.66); }
.ft h5{ font-family:var(--ui); font-size:12.5px; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color:var(--accent); margin:0 0 18px; }
.ft-links{ display:flex; flex-direction:column; gap:11px; }
.ft-links a{ color:rgba(255,255,255,.78); font-size:15px; transition:color .16s; width:fit-content; }
.ft-links a:hover{ color:#fff; }
.ft-contact div{ display:flex; gap:11px; font-size:15px; margin-bottom:13px; color:rgba(255,255,255,.78); }
.ft-contact svg{ width:18px; height:18px; color:var(--accent); flex:none; margin-top:2px; }
.ft-social{ display:flex; gap:10px; margin-top:18px; }
.ft-social a{ width:42px; height:42px; border-radius:11px; border:1px solid rgba(255,255,255,.18); display:flex; align-items:center; justify-content:center; transition:all .18s; }
.ft-social a:hover{ background:var(--accent); border-color:var(--accent); color:var(--secondary-d); transform:translateY(-3px); }
.ft-social svg{ width:19px; height:19px; }
.ft-bot{ border-top:1px solid rgba(255,255,255,.12); padding:22px 0; display:flex; justify-content:space-between; gap:14px; flex-wrap:wrap; font-size:13px; color:rgba(255,255,255,.55); }
.ft-bot a:hover{ color:#fff; }
@media (max-width: 820px){ .ft-grid{ grid-template-columns:1fr 1fr; } .ft-brand{ grid-column:1/-1; } }
@media (max-width: 520px){ .ft-grid{ grid-template-columns:1fr; } }

/* =======================================================================
   MOBILE bottom action bar
   ======================================================================= */
.mbar{
  position:fixed; left:0; right:0; bottom:0; z-index:55; display:none;
  background:color-mix(in oklab, var(--bg) 92%, transparent); backdrop-filter:blur(14px);
  border-top:1px solid var(--border); box-shadow:0 -4px 20px rgba(39,26,18,.08);
  padding:9px 12px calc(9px + env(safe-area-inset-bottom));
  grid-template-columns:1fr 1fr 1fr; gap:9px;
}
.mbar 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(--text); transition:background .16s; }
.mbar a:active{ background:var(--surface-2); }
.mbar a.primary{ background:var(--primary); color:#fff; }
.mbar a svg{ width:21px; height:21px; }
@media (max-width: 720px){ .mbar{ display:grid; } body{ padding-bottom:74px; } }

/* utilities */
.fade-img{ background:linear-gradient(120deg,var(--surface-2),var(--surface)); }

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