/* =========================================================================
   ROYAL STAR AUTO SERVICES — Design System
   Technical / premium-workshop direction. High contrast, crisp, engineered.
   Palette + type from research/brand-system.md
   ========================================================================= */

:root {
  /* Brand palette */
  --primary: #D62828;
  --primary-600: #B91E1E;
  --primary-700: #9c1717;
  --accent: #F5A300;
  --accent-600: #d98c00;

  /* Neutrals */
  --bg: #F5F6F8;
  --white: #FFFFFF;
  --ink: #111318;
  --charcoal: #14171C;       /* deep panels */
  --charcoal-2: #1C2026;
  --steel: #36485A;          /* photo accent */
  --muted: #6B7280;
  --muted-2: #9AA3AF;
  --border: #D9DEE5;
  --border-dark: #2A2F37;
  --focus: #F5A300;

  /* Type */
  --display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Space Grotesk", ui-monospace, "SFMono-Regular", monospace;

  /* Spacing rhythm */
  --r-xs: 3px;
  --r-sm: 5px;
  --r-md: 8px;
  --r-lg: 14px;

  --shadow-sm: 0 1px 2px rgba(17,19,24,.06), 0 1px 3px rgba(17,19,24,.08);
  --shadow-md: 0 6px 18px rgba(17,19,24,.10), 0 2px 6px rgba(17,19,24,.06);
  --shadow-lg: 0 24px 60px rgba(17,19,24,.22);

  --maxw: 1200px;
  --gut: clamp(20px, 5vw, 56px);
  --nav-h: 72px;
}

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

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

/* ---------- Layout ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gut); }
.section { padding-block: clamp(56px, 8vw, 110px); }
.section--tight { padding-block: clamp(40px, 5vw, 64px); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.04; letter-spacing: -0.02em; margin: 0; color: var(--ink); }
.display { font-size: clamp(2.6rem, 6.4vw, 5.1rem); line-height: 0.98; letter-spacing: -0.035em; }
h2.title { font-size: clamp(1.9rem, 4vw, 3.1rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); letter-spacing: -0.01em; }
p { margin: 0 0 1em; text-wrap: pretty; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: #3a4150; line-height: 1.55; }

/* Eyebrow / kicker */
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--body); font-weight: 700;
  font-size: .74rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--primary);
}
.kicker::before {
  content: ""; width: 26px; height: 2px; background: var(--primary); display: inline-block;
}
.kicker--light { color: var(--accent); }
.kicker--light::before { background: var(--accent); }
.kicker--muted { color: var(--muted); }
.kicker--muted::before { background: var(--muted-2); }

.tnum { font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }

/* ---------- Buttons ---------- */
.btn {
  --bg-btn: var(--primary);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 22px; border: 1.5px solid transparent; border-radius: var(--r-sm);
  font-family: var(--body); font-weight: 600; font-size: .98rem; letter-spacing: .01em;
  background: var(--bg-btn); color: #fff; white-space: nowrap;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--primary); }
.btn--primary:hover { background: var(--primary-600); }
.btn--accent { background: var(--accent); color: var(--charcoal); }
.btn--accent:hover { background: var(--accent-600); }
.btn--dark { background: var(--charcoal); color: #fff; }
.btn--dark:hover { background: #000; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--border); }
.btn--ghost:hover { background: var(--white); border-color: var(--ink); }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.32); }
.btn--ghost-light:hover { background: rgba(255,255,255,.08); border-color: #fff; }
.btn--lg { padding: 17px 30px; font-size: 1.05rem; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); gap: 18px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 46px; width: auto; }
.brand__txt { display: none; }
.nav__links { display: none; align-items: center; gap: 4px; }
.nav__links a {
  padding: 9px 14px; border-radius: var(--r-sm); font-weight: 500; font-size: .95rem; color: #2b313c;
  position: relative; transition: color .15s ease, background .15s ease;
}
.nav__links a:hover { color: var(--ink); background: #eef0f3; }
.nav__links a[aria-current="page"] { color: var(--primary); font-weight: 600; }
.nav__right { display: flex; align-items: center; gap: 12px; }
.nav__phone { display: none; align-items: center; gap: 9px; font-weight: 600; color: var(--ink); }
.nav__phone svg { width: 18px; height: 18px; color: var(--primary); }
.nav__phone span { font-family: var(--display); letter-spacing: .01em; }
.nav__cta { display: none; }

.burger {
  display: inline-flex; flex-direction: column; gap: 5px; justify-content: center;
  width: 46px; height: 42px; padding: 0 11px; background: var(--charcoal); border: none; border-radius: var(--r-sm);
}
.burger span { height: 2px; background: #fff; border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.drawer {
  position: fixed; inset: var(--nav-h) 0 0 0; z-index: 55;
  background: var(--charcoal); color: #fff;
  transform: translateX(100%); transition: transform .32s cubic-bezier(.4,0,.1,1);
  display: flex; flex-direction: column; padding: 22px var(--gut) 40px;
  overflow-y: auto;
}
.drawer.open { transform: translateX(0); }
.drawer a.drawer__link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 4px; font-family: var(--display); font-size: 1.5rem; font-weight: 700;
  border-bottom: 1px solid var(--border-dark); color: #fff;
}
.drawer a.drawer__link[aria-current="page"] { color: var(--accent); }
.drawer a.drawer__link span.idx { font-family: var(--body); font-size: .8rem; font-weight: 600; color: var(--muted-2); }
.drawer__cta { margin-top: 26px; display: grid; gap: 12px; }
.drawer__meta { margin-top: 28px; color: var(--muted-2); font-size: .9rem; line-height: 1.7; }
.drawer__meta strong { color: #fff; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--charcoal); color: #fff; overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,13,16,.72) 0%, rgba(11,13,16,.55) 40%, rgba(11,13,16,.86) 100%);
}
.hero__inner { position: relative; z-index: 2; padding-block: clamp(56px, 11vw, 120px); }
.hero h1 { color: #fff; max-width: 16ch; }
.hero h1 .hl { color: var(--accent); }
.hero__sub { color: #d6dae1; max-width: 52ch; margin-top: 22px; font-size: clamp(1.05rem,1.6vw,1.28rem); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__strip {
  position: relative; z-index: 2; border-top: 1px solid rgba(255,255,255,.12);
  display: grid; grid-template-columns: repeat(2, 1fr);
}
.hero__strip .cell { padding: 18px var(--gut); border-right: 1px solid rgba(255,255,255,.10); }
.hero__strip .cell:last-child { border-right: none; }
.hero__strip .num { font-family: var(--display); font-weight: 700; font-size: 1.6rem; color: #fff; line-height: 1; }
.hero__strip .lbl { color: var(--muted-2); font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; margin-top: 6px; }

/* Rating inline */
.rating { display: inline-flex; align-items: center; gap: 10px; }
.rating .stars { color: var(--accent); letter-spacing: 1px; font-size: 1rem; }
.rating .val { font-family: var(--display); font-weight: 700; }
.rating small { color: var(--muted-2); }

/* ---------- Service cards ---------- */
.grid { display: grid; gap: 18px; }
.svc-grid { grid-template-columns: 1fr; }
.svc-card {
  position: relative; overflow: hidden; border-radius: var(--r-md);
  background: var(--charcoal); color: #fff; min-height: 230px;
  display: flex; flex-direction: column; justify-content: flex-end;
  isolation: isolate; border: 1px solid var(--border-dark);
}
.svc-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s cubic-bezier(.2,.6,.2,1); }
.svc-card::after { content:""; position:absolute; inset:0; z-index:-1; background: linear-gradient(180deg, rgba(17,19,24,.05) 0%, rgba(17,19,24,.45) 55%, rgba(17,19,24,.92) 100%); }
.svc-card:hover img { transform: scale(1.06); }
.svc-card__body { padding: 22px; }
.svc-card__num { font-family: var(--display); font-size: .8rem; color: var(--accent); letter-spacing: .1em; }
.svc-card h3 { color: #fff; margin-top: 6px; }
.svc-card p { color: #c7ccd4; font-size: .94rem; margin: 8px 0 0; }
.svc-card__more { display:inline-flex; align-items:center; gap:7px; margin-top:14px; color:#fff; font-weight:600; font-size:.9rem; }
.svc-card__more svg { width: 16px; height: 16px; color: var(--primary); transition: transform .2s ease; }
.svc-card:hover .svc-card__more svg { transform: translateX(4px); }

/* tag chip */
.chip {
  display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 100px;
  font-size: .82rem; font-weight: 600; background: var(--white); border: 1px solid var(--border); color: #2b313c;
}
.chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--primary); }

/* ---------- Feature / why ---------- */
.feat { display: grid; gap: 22px; }
.feat__item { display: flex; gap: 16px; align-items: flex-start; }
.feat__ic {
  flex: none; width: 48px; height: 48px; border-radius: var(--r-md);
  display: grid; place-items: center; background: #fff; border: 1px solid var(--border);
  color: var(--primary);
}
.feat__ic svg { width: 24px; height: 24px; }
.feat__item h3 { font-size: 1.12rem; }
.feat__item p { margin: 5px 0 0; color: var(--muted); font-size: .96rem; }

/* hex bolt motif */
.hexmark { width: 16px; height: 18px; display:inline-block; background: currentColor;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }

/* ---------- Section heading block ---------- */
.sec-head { max-width: 60ch; }
.sec-head .title { margin-top: 14px; }
.sec-head p { margin-top: 14px; color: var(--muted); font-size: 1.05rem; }
.sec-head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }

/* ---------- Stats band ---------- */
.band-dark { background: var(--charcoal); color: #fff; }
.band-dark .title, .band-dark h3 { color: #fff; }
.stats { display: grid; grid-template-columns: repeat(2,1fr); gap: 1px; background: var(--border-dark); border: 1px solid var(--border-dark); border-radius: var(--r-md); overflow: hidden; }
.stats .stat { background: var(--charcoal); padding: 26px 22px; }
.stats .stat .n { font-family: var(--display); font-weight: 700; font-size: clamp(2rem,4vw,2.8rem); line-height: 1; }
.stats .stat .n .accent { color: var(--accent); }
.stats .stat .t { color: var(--muted-2); margin-top: 9px; font-size: .9rem; }

/* ---------- Gallery ---------- */
.gal-filters { display: flex; flex-wrap: wrap; gap: 9px; }
.gal-filters button {
  padding: 9px 16px; border-radius: 100px; border: 1px solid var(--border); background: var(--white);
  font-weight: 600; font-size: .9rem; color: #3a4150; transition: all .15s ease;
}
.gal-filters button:hover { border-color: var(--ink); }
.gal-filters button[aria-pressed="true"] { background: var(--charcoal); color: #fff; border-color: var(--charcoal); }
.gal-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; grid-auto-flow: dense; }
.gal-item {
  position: relative; overflow: hidden; border-radius: var(--r-md); background: var(--charcoal);
  cursor: pointer; aspect-ratio: 4/3;
}
.gal-item.tall { grid-row: span 2; aspect-ratio: 3/4; }
.gal-item.wide { grid-column: span 2; aspect-ratio: 16/9; }
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gal-item:hover img { transform: scale(1.05); }
.gal-item__cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 14px 12px;
  background: linear-gradient(transparent, rgba(11,13,16,.82)); color: #fff;
  font-size: .82rem; font-weight: 600; opacity: 0; transform: translateY(8px); transition: all .25s ease;
}
.gal-item:hover .gal-item__cap { opacity: 1; transform: translateY(0); }
.gal-item.hide { display: none; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(8,9,12,.94); display: none; align-items: center; justify-content: center; padding: 20px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 82vh; border-radius: var(--r-md); box-shadow: var(--shadow-lg); }
.lb-cap { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; color: #d6dae1; font-size: .92rem; }
.lb-btn { position: absolute; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); color:#fff; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; transition: background .15s; }
.lb-btn:hover { background: rgba(255,255,255,.22); }
.lb-btn svg { width: 22px; height: 22px; }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }

/* ---------- Process steps ---------- */
.steps { display: grid; gap: 16px; counter-reset: step; }
.step {
  position: relative; background: var(--white); border: 1px solid var(--border); border-radius: var(--r-md);
  padding: 26px 24px 26px 78px;
}
.step::before {
  counter-increment: step; content: "0" counter(step);
  position: absolute; left: 22px; top: 24px;
  font-family: var(--display); font-weight: 700; font-size: 1.5rem; color: var(--primary);
}
.step h3 { font-size: 1.15rem; }
.step p { margin: 6px 0 0; color: var(--muted); font-size: .96rem; }

/* ---------- Accordion ---------- */
.acc { border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; background: var(--white); }
.acc__item + .acc__item { border-top: 1px solid var(--border); }
.acc__head {
  width: 100%; display: flex; align-items: center; gap: 16px; justify-content: space-between;
  padding: 22px 24px; background: none; border: none; text-align: left;
}
.acc__head h3 { font-size: 1.1rem; }
.acc__head .ico { flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--border); display: grid; place-items: center; color: var(--ink); transition: all .2s ease; }
.acc__head .ico svg { width: 16px; height: 16px; transition: transform .25s ease; }
.acc__item.open .acc__head .ico { background: var(--primary); border-color: var(--primary); color: #fff; }
.acc__item.open .acc__head .ico svg { transform: rotate(45deg); }
.acc__panel { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.acc__panel-in { padding: 0 24px 24px; color: var(--muted); }
.acc__panel-in ul { margin: 4px 0 0; padding-left: 18px; }
.acc__panel-in li { margin: 4px 0; }

/* ---------- Location / contact ---------- */
.map-ph {
  position: relative; border-radius: var(--r-md); overflow: hidden; min-height: 280px;
  background:
    repeating-linear-gradient(45deg, #e7eaef 0 14px, #eef1f4 14px 28px);
  border: 1px solid var(--border); display: grid; place-items: center; text-align: center;
}
.map-ph__tag { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-sm); padding: 14px 18px; box-shadow: var(--shadow-sm); max-width: 80%; }
.map-ph__tag .pin { color: var(--primary); }
.map-ph__tag small { color: var(--muted); display:block; margin-top: 4px; }

.info-list { display: grid; gap: 2px; }
.info-row { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--border); }
.info-row .ic { flex: none; width: 40px; height: 40px; border-radius: var(--r-sm); background: #fff; border: 1px solid var(--border); display: grid; place-items: center; color: var(--primary); }
.info-row .ic svg { width: 20px; height: 20px; }
.info-row .k { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.info-row .v { font-weight: 600; color: var(--ink); margin-top: 2px; }
.info-row .v a:hover { color: var(--primary); }

/* ---------- Form ---------- */
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 7px; }
.field label { font-weight: 600; font-size: .9rem; }
.field label .req { color: var(--primary); }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 1rem; padding: 13px 14px; border: 1.5px solid var(--border); border-radius: var(--r-sm);
  background: var(--white); color: var(--ink); transition: border-color .15s ease, box-shadow .15s ease; width: 100%;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(214,40,40,.12); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--primary); }
.field .err { color: var(--primary); font-size: .82rem; display: none; }
.field.invalid .err { display: block; }
.form__row { display: grid; gap: 16px; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label {
  padding: 10px 16px; border: 1.5px solid var(--border); border-radius: 100px; font-weight: 600; font-size: .9rem;
  cursor: pointer; transition: all .15s ease; background: #fff;
}
.seg input:checked + label { background: var(--charcoal); color: #fff; border-color: var(--charcoal); }
.seg input:focus-visible + label { outline: 3px solid var(--focus); outline-offset: 2px; }

.form-success {
  display: none; text-align: center; padding: 40px 24px; background: var(--white);
  border: 1px solid var(--border); border-radius: var(--r-md);
}
.form-success.show { display: block; }
.form-success .check { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; background: #e8f6ee; color: #1f8a4d; display: grid; place-items: center; }
.form-success .check svg { width: 32px; height: 32px; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--primary); color: #fff; border-radius: var(--r-lg); padding: clamp(36px, 6vw, 64px); }
.cta-band::before { content:""; position:absolute; right:-60px; top:-60px; width: 260px; height: 260px; border-radius: 50%; background: rgba(255,255,255,.08); }
.cta-band h2 { color: #fff; font-size: clamp(1.8rem,3.6vw,2.8rem); position: relative; }
.cta-band p { color: rgba(255,255,255,.9); position: relative; max-width: 50ch; }
.cta-band__btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; position: relative; }

/* ---------- Footer ---------- */
.site-footer { background: var(--charcoal); color: #c2c8d0; padding-top: clamp(48px,7vw,80px); }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; gap: 38px; grid-template-columns: 1fr; }
.footer-brand img { height: 52px; background: #fff; padding: 8px 12px; border-radius: var(--r-sm); }
.footer-brand p { margin-top: 16px; max-width: 38ch; color: var(--muted-2); font-size: .94rem; }
.footer-col h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col ul a { color: #c2c8d0; font-size: .96rem; }
.footer-bottom { margin-top: clamp(40px,6vw,64px); border-top: 1px solid var(--border-dark); padding: 22px 0 30px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; color: var(--muted-2); font-size: .85rem; }
.footer-note { font-size: .78rem; color: #6b7280; max-width: 70ch; line-height: 1.6; }

/* ---------- Mobile action bar ---------- */
.actionbar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 50;
  display: grid; grid-template-columns: repeat(3,1fr);
  background: var(--charcoal); border-top: 1px solid var(--border-dark);
  padding-bottom: env(safe-area-inset-bottom);
}
.actionbar a {
  display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 11px 6px;
  color: #fff; font-size: .72rem; font-weight: 600; border-right: 1px solid var(--border-dark);
}
.actionbar a:last-child { border-right: none; }
.actionbar a svg { width: 21px; height: 21px; }
.actionbar a.primary { background: var(--primary); }
.actionbar a.accent { color: var(--accent); }

/* ---------- Misc utility ---------- */
.split { display: grid; gap: clamp(28px,5vw,56px); align-items: center; }
.muted { color: var(--muted); }
.mt-s { margin-top: 12px; } .mt-m { margin-top: 24px; } .mt-l { margin-top: 40px; }
.center { text-align: center; }
.divlines { border:0; border-top: 1px solid var(--border); margin: 0; }
.tag-row { display: flex; flex-wrap: wrap; gap: 9px; }
.bleed-pad { padding-bottom: 92px; } /* room for mobile action bar */

/* image card with diagonal */
.framed { border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-md); }
.framed img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Reveal animation ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
  .reveal.in { opacity: 1; transform: none; }
  .reveal.d1 { transition-delay: .08s; }
  .reveal.d2 { transition-delay: .16s; }
  .reveal.d3 { transition-delay: .24s; }
}

/* =================== Responsive =================== */
@media (min-width: 600px) {
  .svc-grid { grid-template-columns: repeat(2,1fr); }
  .form__row { grid-template-columns: 1fr 1fr; }
  .gal-grid { grid-template-columns: repeat(3,1fr); }
}
@media (min-width: 900px) {
  .brand__txt { display: block; }
  .nav__links { display: flex; }
  .nav__phone { display: flex; }
  .nav__cta { display: inline-flex; }
  .burger { display: none; }
  .drawer { display: none; }
  .actionbar { display: none; }
  .bleed-pad { padding-bottom: 0; }
  .hero__strip { grid-template-columns: repeat(4,1fr); }
  .stats { grid-template-columns: repeat(4,1fr); }
  .svc-grid { grid-template-columns: repeat(3,1fr); }
  .split.two { grid-template-columns: 1fr 1fr; }
  .split.media-left { grid-template-columns: 1.1fr 1fr; }
  .feat { grid-template-columns: 1fr 1fr; gap: 30px 40px; }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; }
  .steps { grid-template-columns: repeat(2,1fr); }
  .gal-grid { grid-template-columns: repeat(4,1fr); }
}
@media (min-width: 1100px) {
  .steps.four { grid-template-columns: repeat(4,1fr); }
}

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