/* ============================================================
   Kurtains | Curtains and Blinds in Dubai
   Brand system — interior-editorial, warm, craft-led
   Palette + type tokens per research/brand-system.md
   ============================================================ */

:root {
  --bg:        #F7F1E8;   /* warm cream surface */
  --paper:     #FBF7F0;   /* lighter paper for cards/sections */
  --surface:   #F7F1E8;
  --text:      #2A211B;   /* primary type */
  --muted:     #756B60;   /* captions, secondary */
  --primary:   #8A6A4A;   /* bronze taupe — mark, accents, rules */
  --secondary: #2F4A3C;   /* deep green — panels, footer */
  --secondary-deep:#26month; /* placeholder removed below */
  --accent:    #C77E4F;   /* terracotta — CTA */
  --accent-ink:#A45F36;   /* darker terracotta for text/hover */
  --border:    #E2D5C4;   /* hairlines */
  --green-tint:#E7EAE2;
  --focus:     #2F4A3C;

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

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

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

  --ease: cubic-bezier(.22,.61,.36,1);
  --shadow-sm: 0 1px 2px rgba(42,33,27,.05), 0 6px 18px -10px rgba(42,33,27,.18);
  --shadow-md: 0 8px 24px -12px rgba(42,33,27,.28), 0 2px 6px rgba(42,33,27,.06);
  --shadow-lg: 0 30px 70px -30px rgba(42,33,27,.45);
}

/* secondary-deep fix */
:root { --secondary-deep: #233a2e; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -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; }

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

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 10vw, 132px); }

.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent-ink);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--accent);
  display: inline-block;
}
.eyebrow.center { justify-content: center; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.04; letter-spacing: -.01em; margin: 0; color: var(--text); }
.display { font-size: clamp(2.6rem, 6.4vw, 5.3rem); font-weight: 600; }
h2.title { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.28rem); color: var(--muted); line-height: 1.55; max-width: 60ch; }
.serif-em { font-style: italic; color: var(--primary); }

.section-head { max-width: 720px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .lead { margin-top: 18px; }

/* ---------- Buttons ---------- */
.btn {
  --bg-btn: var(--accent);
  --fg-btn: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--sans);
  font-weight: 600; font-size: 15px; letter-spacing: .01em;
  padding: 15px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--bg-btn);
  color: var(--fg-btn);
  transition: transform .35s var(--ease), background .25s var(--ease), box-shadow .35s var(--ease), border-color .25s;
  box-shadow: var(--shadow-sm);
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }
.btn .ic { width: 18px; height: 18px; flex: none; }

.btn--ghost {
  background: transparent; color: var(--text);
  border-color: var(--border);
  box-shadow: none;
}
.btn--ghost:hover { border-color: var(--primary); background: rgba(138,106,74,.06); }

.btn--ink { background: var(--secondary); color: #fff; }
.btn--ink:hover { background: var(--secondary-deep); }

.btn--light { background: #fff; color: var(--text); border-color: var(--border); box-shadow: none; }
.btn--light:hover { border-color: rgba(255,255,255,.0); }

.btn--lg { padding: 17px 30px; font-size: 16px; }
.btn--block { width: 100%; }

.linkarrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 15px; color: var(--primary);
  position: relative;
}
.linkarrow .ic { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.linkarrow:hover .ic { transform: translateX(5px); }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 80;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
  border-bottom: 1px solid transparent;
}
.site-header.on-dark {
  background: linear-gradient(180deg, rgba(20,15,11,.78) 0%, rgba(20,15,11,.42) 60%, rgba(20,15,11,0) 100%);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  height: 84px;
}
.site-header.scrolled:not(.on-dark) {
  background: rgb(247,241,232);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  border-bottom-color: var(--border);
  box-shadow: 0 8px 30px -22px rgba(42,33,27,.5);
}
.brand { display: flex; align-items: center; gap: 13px; }
.brand__badge {
  width: 46px; height: 46px; flex: none;
  border-radius: 11px;
  background: #fff;
  border: 1px solid var(--border);
  overflow: hidden;
  display: grid; place-items: center;
  box-shadow: var(--shadow-sm);
}
.brand__badge img { width: 150%; height: 150%; object-fit: cover; object-position: 50% 30%; }
.brand__txt { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--serif); font-weight: 600; font-size: 23px; letter-spacing: .01em; color: var(--text); }
.brand__sub { font-size: 10px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }

.site-header.on-dark .brand__name { color: #fff; }
.site-header.on-dark .brand__sub { color: rgba(255,255,255,.72); }
.site-header.on-dark .nav__link { color: rgba(255,255,255,.86); }
.site-header.on-dark .nav__link:hover { color: #fff; }
.site-header.on-dark .burger span { background: #fff; }
.site-header.on-dark .header-phone { color:#fff; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav__link {
  font-size: 14.5px; font-weight: 600; color: var(--text);
  padding: 9px 15px; border-radius: 999px;
  transition: color .2s, background .2s;
  position: relative;
}
.nav__link:hover { color: var(--accent-ink); }

.header-cta { display: flex; align-items: center; gap: 14px; }
.header-phone {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 14.5px; color: var(--text);
  font-variant-numeric: tabular-nums;
}
.header-phone .ic { width: 16px; height: 16px; color: var(--accent-ink); }

.burger {
  display: none;
  width: 46px; height: 46px; border-radius: 12px;
  background: transparent; border: 1px solid var(--border);
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.burger span { width: 19px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 75;
  background: var(--bg);
  padding: 110px var(--gutter) 40px;
  display: flex; flex-direction: column;
  transform: translateY(-12px);
  opacity: 0; pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.mobile-menu.open { opacity: 1; pointer-events: auto; transform: none; }
.mobile-menu a.m-link {
  font-family: var(--serif); font-size: 2rem; font-weight: 600;
  padding: 14px 0; border-bottom: 1px solid var(--border); color: var(--text);
}
.mobile-menu .m-actions { margin-top: auto; display: grid; gap: 12px; padding-top: 28px; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: flex-end;
  color: #fff;
  isolation: isolate;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(25,20,15,.55) 0%, rgba(25,20,15,.12) 45%, rgba(25,20,15,0) 70%),
    linear-gradient(180deg, rgba(30,24,18,.55) 0%, rgba(30,24,18,.15) 30%, rgba(28,22,16,.45) 62%, rgba(20,15,11,.92) 100%);
}
.hero__inner { width: 100%; padding-bottom: clamp(40px, 7vw, 86px); padding-top: 120px; }
.hero__grid { display: grid; grid-template-columns: 1.5fr .9fr; gap: 40px; align-items: end; }
.hero h1 { color: #fff; max-width: 14ch; text-shadow: 0 2px 36px rgba(0,0,0,.5); }
.hero .eyebrow { color: #f1d8c4; }
.hero .eyebrow::before { background: var(--accent); }
.hero__sub { color: rgba(255,255,255,.94); font-size: clamp(1.05rem,1.5vw,1.25rem); max-width: 46ch; margin: 24px 0 0; text-shadow: 0 1px 22px rgba(0,0,0,.55); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__aside { padding-bottom: 6px; }
.hero-rating {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-radius: var(--r-lg);
  padding: 22px 24px;
}
.hero-rating__top { display: flex; align-items: baseline; gap: 10px; }
.hero-rating__score { font-family: var(--serif); font-size: 2.6rem; font-weight: 600; line-height: 1; }
.stars { display: inline-flex; gap: 2px; color: #E8B873; }
.stars .ic { width: 16px; height: 16px; }
.hero-rating__meta { font-size: 13.5px; color: rgba(255,255,255,.82); margin-top: 10px; }
.hero-rating__meta b { color:#fff; font-weight: 700; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 10.5px; letter-spacing: .25em; text-transform: uppercase; color: rgba(255,255,255,.75);
}
.scroll-cue .dot { width: 1px; height: 38px; background: linear-gradient(rgba(255,255,255,.7), rgba(255,255,255,0)); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { 0%{transform:scaleY(0);transform-origin:top} 40%{transform:scaleY(1);transform-origin:top} 60%{transform:scaleY(1);transform-origin:bottom} 100%{transform:scaleY(0);transform-origin:bottom} }

/* ============================================================
   Marquee trust strip
   ============================================================ */
.trust {
  background: var(--secondary);
  color: #fff;
  border-block: 1px solid var(--secondary-deep);
}
.trust__row {
  display: flex; align-items: stretch; flex-wrap: wrap;
}
.trust__item {
  flex: 1 1 200px;
  display: flex; align-items: center; gap: 14px;
  padding: 26px 28px;
  border-right: 1px solid rgba(255,255,255,.12);
}
.trust__item:last-child { border-right: 0; }
.trust__ic { width: 30px; height: 30px; flex: none; color: var(--accent); }
.trust__ic .ic { width: 30px; height: 30px; }
.trust__k { font-family: var(--serif); font-size: 1.45rem; font-weight: 600; line-height: 1.05; }
.trust__v { font-size: 12.5px; color: rgba(255,255,255,.72); letter-spacing: .04em; margin-top: 2px; }

/* ============================================================
   Intro / about split
   ============================================================ */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(36px, 6vw, 86px); align-items: center; }
.split__media { position: relative; }
.figure {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--green-tint);
}
.figure img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }
.figure--wide img { aspect-ratio: 3/2; }

.stat-chip {
  position: absolute; bottom: 22px; left: 22px;
  background: var(--paper); color: var(--text);
  border-radius: var(--r-md); padding: 16px 20px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}
.stat-chip b { font-family: var(--serif); font-size: 1.7rem; font-weight: 600; display: block; line-height: 1; }
.stat-chip span { font-size: 12px; color: var(--muted); letter-spacing: .04em; }

.prose p { margin: 0 0 18px; color: #463a30; }
.prose p:last-child { margin-bottom: 0; }
.signature-list { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 14px; }
.signature-list li { display: flex; gap: 13px; align-items: flex-start; font-size: 15.5px; }
.signature-list .tick { width: 22px; height: 22px; border-radius: 999px; background: var(--green-tint); color: var(--secondary); display: grid; place-items: center; flex: none; margin-top: 1px; }
.signature-list .tick .ic { width: 13px; height: 13px; }

/* ============================================================
   Services
   ============================================================ */
.services { background: var(--paper); }
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 54px; }
.svc {
  position: relative; overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--bg);
  border: 1px solid var(--border);
  min-height: 340px;
  display: flex; flex-direction: column; justify-content: flex-end;
  color: #fff;
  isolation: isolate;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.svc:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.svc__img { position: absolute; inset: 0; z-index: -2; }
.svc__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.svc:hover .svc__img img { transform: scale(1.06); }
.svc::after { content:""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20,16,12,.05) 30%, rgba(20,16,12,.4) 60%, rgba(18,14,10,.9) 100%); }
.svc__body { padding: 28px; }
.svc__kicker { font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #f0d3bd; }
.svc h3 { color: #fff; margin: 10px 0 8px; }
.svc__desc { font-size: 14.5px; color: rgba(255,255,255,.84); line-height: 1.5; max-width: 42ch; }
.svc__tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.svc__tags span { font-size: 11.5px; font-weight: 600; letter-spacing: .02em; color: #fff; padding: 5px 11px; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.2); }
.svc--tall { grid-row: span 2; }

@media (min-width: 880px) {
  .svc-grid { grid-template-columns: 1.15fr .85fr .85fr; grid-auto-rows: 1fr; }
  .svc--feature { grid-column: 1; grid-row: span 2; }
}

/* ============================================================
   Gallery
   ============================================================ */
.gallery { background: var(--bg); }
.gallery__head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 22px; }
.filters { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 26px; }
.filter {
  font-size: 13px; font-weight: 600; letter-spacing: .02em;
  padding: 9px 17px; border-radius: 999px;
  background: transparent; border: 1px solid var(--border); color: var(--muted);
  transition: all .2s var(--ease);
}
.filter:hover { border-color: var(--primary); color: var(--text); }
.filter.active { background: var(--secondary); border-color: var(--secondary); color: #fff; }

.grid-gallery {
  margin-top: 34px;
  columns: 3; column-gap: 18px;
}
.shot {
  break-inside: avoid; margin-bottom: 18px;
  position: relative; border-radius: var(--r-md); overflow: hidden;
  cursor: zoom-in; background: var(--green-tint);
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), opacity .4s var(--ease);
  display: block; width: 100%;
}
.shot img { width: 100%; height: auto; transition: transform .7s var(--ease); }
.shot::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,16,12,0) 55%, rgba(20,16,12,.55) 100%);
  opacity: 0; transition: opacity .4s var(--ease);
}
.shot:hover img { transform: scale(1.05); }
.shot:hover::after { opacity: 1; }
.shot__cap {
  position: absolute; left: 16px; bottom: 14px; z-index: 2;
  color: #fff; font-size: 13px; font-weight: 600; letter-spacing: .02em;
  opacity: 0; transform: translateY(6px); transition: all .4s var(--ease);
  display: flex; align-items: center; gap: 8px;
}
.shot:hover .shot__cap { opacity: 1; transform: none; }
.shot__cap .ic { width: 15px; height: 15px; }
.shot.is-hidden { display: none; }

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 120;
  background: rgba(22,17,12,.93);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  display: grid; place-items: center;
  opacity: 0; pointer-events: none; transition: opacity .3s var(--ease);
  padding: 30px;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox__img { max-width: min(1100px, 92vw); max-height: 84vh; border-radius: 10px; box-shadow: var(--shadow-lg); transform: scale(.97); transition: transform .35s var(--ease); }
.lightbox.open .lightbox__img { transform: none; }
.lightbox__cap { position: absolute; bottom: 26px; left: 0; right: 0; text-align: center; color: rgba(255,255,255,.85); font-size: 14px; letter-spacing: .03em; }
.lb-btn {
  position: absolute; top: 22px; right: 24px;
  width: 50px; height: 50px; border-radius: 999px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); color: #fff;
  display: grid; place-items: center;
  transition: background .2s;
}
.lb-btn:hover { background: rgba(255,255,255,.24); }
.lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 54px; height: 54px; border-radius: 999px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); color: #fff;
  display: grid; place-items: center; transition: background .2s;
}
.lb-nav:hover { background: rgba(255,255,255,.22); }
.lb-nav.prev { left: 20px; } .lb-nav.next { right: 20px; }
.lb-btn .ic, .lb-nav .ic { width: 22px; height: 22px; }

/* ============================================================
   Process
   ============================================================ */
.process { background: var(--secondary); color: #fff; position: relative; overflow: hidden; }
.process .eyebrow { color: #E8B873; }
.process .eyebrow::before { background: #E8B873; }
.process h2.title { color: #fff; }
.process .lead { color: rgba(255,255,255,.74); }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin-top: 60px; counter-reset: step; }
.step { position: relative; padding: 0 22px; }
.step:not(:last-child)::after { content: ""; position: absolute; top: 23px; left: 50%; right: -50%; height: 1px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.3) 0 6px, transparent 6px 12px); }
.step__num {
  width: 48px; height: 48px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.32);
  background: var(--secondary-deep);
  display: grid; place-items: center; position: relative; z-index: 2;
  font-family: var(--serif); font-size: 1.3rem; font-weight: 600; color: #E8B873;
  margin-bottom: 22px;
}
.step h3 { color: #fff; font-size: 1.3rem; margin-bottom: 8px; }
.step p { font-size: 14px; color: rgba(255,255,255,.72); line-height: 1.5; margin: 0; }
.process__cta { margin-top: 64px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.process__cta .note { font-size: 13.5px; color: rgba(255,255,255,.6); }

/* ============================================================
   Review band
   ============================================================ */
.review { background: var(--paper); }
.review__card {
  max-width: 880px; margin-inline: auto; text-align: center;
}
.review .stars { color: var(--accent); justify-content: center; margin-bottom: 26px; }
.review .stars .ic { width: 22px; height: 22px; }
.review blockquote {
  font-family: var(--serif); font-size: clamp(1.6rem, 3.2vw, 2.5rem); line-height: 1.25;
  font-weight: 500; margin: 0; color: var(--text); letter-spacing: -.01em;
}
.review blockquote .q { color: var(--primary); }
.review__meta { margin-top: 28px; font-size: 14px; color: var(--muted); letter-spacing: .04em; }
.review__meta b { color: var(--text); }

/* ============================================================
   Contact
   ============================================================ */
.contact { background: var(--bg); }
.contact__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(34px, 5vw, 70px); }
.info-card { display: grid; gap: 20px; }
.info-row { display: flex; gap: 16px; align-items: flex-start; padding: 20px 0; border-bottom: 1px solid var(--border); }
.info-row:first-of-type { padding-top: 4px; }
.info-row .ic-wrap { width: 44px; height: 44px; border-radius: 12px; background: var(--green-tint); color: var(--secondary); display: grid; place-items: center; flex: none; }
.info-row .ic-wrap .ic { width: 20px; height: 20px; }
.info-row h4 { margin: 0 0 4px; font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.info-row p { margin: 0; font-size: 16px; color: var(--text); line-height: 1.45; }
.info-row a.big { font-weight: 700; font-size: 19px; color: var(--text); font-variant-numeric: tabular-nums; }
.info-row a.big:hover { color: var(--accent-ink); }
.info-row .sub { font-size: 13.5px; color: var(--muted); margin-top: 3px; }

.map-ph {
  margin-top: 6px; border-radius: var(--r-md); overflow: hidden;
  border: 1px solid var(--border); position: relative; min-height: 190px;
  background:
    linear-gradient(135deg, rgba(138,106,74,.07), rgba(47,74,60,.07)),
    repeating-linear-gradient(45deg, var(--paper) 0 14px, var(--bg) 14px 28px);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 24px;
}
.map-ph__label { display: flex; align-items: center; gap: 12px; }
.map-ph__pin { width: 42px; height: 42px; border-radius: 999px; background: var(--accent); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-sm); flex: none; }
.map-ph__pin .ic { width: 20px; height: 20px; }
.map-ph__t { font-weight: 700; font-size: 15px; }
.map-ph__s { font-size: 12.5px; color: var(--muted); font-family: var(--sans); }

/* form */
.form-card {
  background: var(--paper); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: clamp(24px, 3vw, 38px);
  box-shadow: var(--shadow-sm);
}
.form-card h3 { margin-bottom: 6px; }
.form-card .lead { font-size: 15px; margin-bottom: 26px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.field .req { color: var(--accent-ink); }
.input, .select, .textarea {
  width: 100%; font-family: var(--sans); font-size: 15.5px; color: var(--text);
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-sm);
  padding: 13px 15px; transition: border-color .2s, box-shadow .2s, background .2s;
}
.input::placeholder, .textarea::placeholder { color: #a99e90; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(138,106,74,.14); background: #fff; }
.textarea { min-height: 110px; resize: vertical; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.seg { display: flex; gap: 8px; flex-wrap: wrap; }
.seg label {
  flex: 1; min-width: 100px; text-align: center; cursor: pointer;
  font-size: 13.5px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--muted);
  padding: 11px 10px; border: 1px solid var(--border); border-radius: var(--r-sm); background: var(--bg);
  transition: all .18s var(--ease); margin: 0;
}
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg input:checked + label, .seg label:hover { border-color: var(--primary); color: var(--text); background: rgba(138,106,74,.07); }
.seg input:checked + label { background: var(--secondary); color: #fff; border-color: var(--secondary); }
.field-error { display: none; color: var(--accent-ink); font-size: 12.5px; margin-top: 6px; font-weight: 600; }
.field.invalid .input, .field.invalid .select, .field.invalid .textarea { border-color: var(--accent-ink); box-shadow: 0 0 0 3px rgba(164,95,54,.12); }
.field.invalid .field-error { display: block; }
.form-note { font-size: 12px; color: var(--muted); margin-top: 14px; line-height: 1.5; }

.form-success {
  display: none; text-align: center; padding: 30px 10px;
}
.form-success.show { display: block; animation: pop .5s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.form-success .check { width: 64px; height: 64px; border-radius: 999px; background: var(--green-tint); color: var(--secondary); display: grid; place-items: center; margin: 0 auto 20px; }
.form-success .check .ic { width: 30px; height: 30px; }
.form-success h3 { margin-bottom: 10px; }

/* ============================================================
   Footer
   ============================================================ */
.footer { background: var(--secondary-deep); color: rgba(255,255,255,.78); padding-top: clamp(56px, 7vw, 86px); }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer__brand .brand__name { color: #fff; }
.footer__brand .brand__sub { color: rgba(255,255,255,.6); }
.footer__brand p { font-size: 14px; line-height: 1.6; margin: 18px 0 0; max-width: 34ch; color: rgba(255,255,255,.66); }
.footer h5 { font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.5); margin: 0 0 18px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer ul a, .footer__contact a, .footer__contact p { font-size: 14.5px; color: rgba(255,255,255,.8); transition: color .2s; }
.footer ul a:hover { color: #fff; }
.footer__contact { display: grid; gap: 12px; font-size: 14.5px; }
.footer__contact .ln { display: flex; gap: 10px; align-items: flex-start; }
.footer__contact .ic { width: 17px; height: 17px; color: var(--accent); flex: none; margin-top: 2px; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 40px; height: 40px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); display: grid; place-items: center; color: rgba(255,255,255,.85); transition: all .2s; }
.socials a:hover { background: var(--accent); border-color: var(--accent); color: #fff; transform: translateY(-2px); }
.socials .ic { width: 18px; height: 18px; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding: 26px 0 30px; font-size: 12.5px; color: rgba(255,255,255,.5); }
.footer__bottom a:hover { color: #fff; }
.footer__bottom .disc { max-width: 70ch; line-height: 1.5; }

/* ============================================================
   Mobile action bar
   ============================================================ */
.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: none;
  background: rgba(251,247,240,.94);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--border);
  padding: 9px 12px calc(9px + env(safe-area-inset-bottom));
  grid-template-columns: repeat(3, 1fr); gap: 9px;
  box-shadow: 0 -10px 30px -18px rgba(42,33,27,.4);
}
.action-bar a {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  font-size: 11px; font-weight: 700; letter-spacing: .03em; color: var(--text);
  padding: 7px 4px; border-radius: 12px;
}
.action-bar a .ic { width: 20px; height: 20px; }
.action-bar a.primary { background: var(--accent); color: #fff; }
.action-bar a.ink { background: var(--secondary); color:#fff; }

/* ============================================================
   Reveal animation
   ============================================================ */
.reveal { opacity: 0; transform: translateY(24px); 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; } .reveal.d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .scroll-cue, .hero-rating { } }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1080px) {
  .footer__top { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer__contact-col { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .nav, .header-cta .header-phone { display: none; }
  .burger { display: flex; }
  .hero__grid { grid-template-columns: 1fr; gap: 28px; }
  .hero__aside { max-width: 340px; }
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: -1; }
  .contact__grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .step:not(:last-child)::after { display: none; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .action-bar { display: grid; }
  .footer { padding-bottom: 92px; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer__brand { grid-column: 1 / -1; }
  .grid-gallery { columns: 2; column-gap: 12px; }
  .shot { margin-bottom: 12px; }
  .svc-grid { grid-template-columns: 1fr; }
  .svc--feature, .svc--tall { grid-row: auto; }
  .row-2 { grid-template-columns: 1fr; }
  .trust__item { flex-basis: 50%; border-right: 1px solid rgba(255,255,255,.12); }
  .hero__inner { padding-top: 100px; }
  .lb-nav { width: 44px; height: 44px; }
  .lb-nav.prev { left: 8px; } .lb-nav.next { right: 8px; }
}
@media (max-width: 480px) {
  .steps { grid-template-columns: 1fr; }
  .trust__item { flex-basis: 100%; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .footer__top { grid-template-columns: 1fr; }
  .grid-gallery { columns: 1; }
  .hero-rating__score { font-size: 2.2rem; }
}

/* BytesGlue mobile QA patch */
@media (max-width: 760px){.hero__inner,.hero__content,.hero-copy,.hero .wrap{transform:translateY(-30px)!important}}

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