/* Plan B Performance — site styles */
:root {
  --bg: #0d0f13;
  --bg-2: #12151a;
  --panel: #161a20;
  --panel-2: #1b2027;
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .16);
  --text: #f4f5f7;
  --muted: #a3a9b3;
  --dim: #6f7680;
  --red: #e3262d;
  --red-2: #c81d23;
  --wa: #25d366;
  --head: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --maxw: 1240px;
  --gut: clamp(16px, 4vw, 48px);
  --hdr: 84px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut); }
.red { color: var(--red); }

/* ---------- Type ---------- */
h1, h2, h3, h4 {
  font-family: var(--head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .005em;
  line-height: 1.02;
  margin: 0;
}
h2 { font-size: clamp(30px, 4vw, 46px); }
h3 { font-size: 18px; line-height: 1.15; letter-spacing: .02em; }
p { margin: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font: 500 11px/1 var(--body);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--red); }
.eyebrow::after { content: ""; width: 40px; height: 1px; background: var(--line-2); }
.kicker {
  font: 500 12px/1.4 var(--body);
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--muted);
}
.lede { color: var(--muted); font-size: 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 26px;
  font: 600 12.5px/1 var(--body);
  letter-spacing: .14em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  transition: background .25s, border-color .25s, color .25s, transform .25s;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-2); }
.btn--line { border-color: rgba(255, 255, 255, .5); color: #fff; background: rgba(0, 0, 0, .15); }
.btn--line:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }
.btn--wa { background: var(--wa); color: #06210f; }
.btn--wa:hover { background: #1fbb59; }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 11.5px; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font: 500 11px/1 var(--body);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text);
  transition: color .2s;
}
.link-arrow svg { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.link-arrow:hover { color: var(--red); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.hdr {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--hdr);
  transition: background .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.hdr.is-solid {
  background: rgba(11, 13, 16, .94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-color: var(--line);
}
.hdr__in {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
  max-width: 1320px;
}
.logo { display: inline-flex; flex-direction: column; line-height: .9; font-family: var(--head); font-style: italic; text-transform: uppercase; }
.logo__main { font-weight: 800; font-size: 30px; letter-spacing: -.01em; color: #fff; }
.logo__main b { color: var(--red); font-weight: 800; }
.logo__sub { font-weight: 700; font-size: 15.5px; letter-spacing: .04em; color: var(--red); margin-top: 1px; }
.nav { margin: 0 auto; display: flex; gap: 6px; }
.nav a {
  position: relative;
  padding: 10px 16px;
  font: 500 11.5px/1 var(--body);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .78);
  transition: color .2s;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 16px; right: 16px; bottom: -4px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform .3s var(--ease);
}
.nav a:hover, .nav a[aria-current="page"] { color: #fff; }
.nav a[aria-current="page"]::after, .nav a:hover::after { transform: scaleX(1); }
.hdr__cta { flex: none; }
.burger {
  display: none;
  width: 46px; height: 46px;
  margin-left: auto;
  border: 1px solid var(--line-2);
  background: transparent;
  border-radius: 2px;
  cursor: pointer;
  position: relative;
}
.burger span, .burger::before, .burger::after {
  content: "";
  position: absolute;
  left: 12px; right: 12px;
  height: 2px;
  background: #fff;
  transition: transform .3s var(--ease), opacity .2s;
}
.burger::before { top: 15px; }
.burger span { top: 22px; }
.burger::after { top: 29px; }
.menu-open .burger::before { transform: translateY(7px) rotate(45deg); }
.menu-open .burger span { opacity: 0; }
.menu-open .burger::after { transform: translateY(-7px) rotate(-45deg); }

.mnav {
  position: fixed;
  inset: 0;
  z-index: 45;
  background: rgba(10, 12, 15, .98);
  padding: calc(var(--hdr) + 24px) var(--gut) 32px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s;
}
.menu-open .mnav { opacity: 1; visibility: visible; }
.mnav a.mnav__link {
  font: 700 30px/1.1 var(--head);
  text-transform: uppercase;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mnav a.mnav__link[aria-current="page"] { color: var(--red); }
.mnav__foot { margin-top: auto; display: grid; gap: 10px; }
.mnav__foot p { color: var(--muted); font-size: 14px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(100svh, 820px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg);
  isolation: isolate;
}
.hero__media {
  position: absolute;
  inset: 0 0 0 auto;
  width: 64%;
  z-index: -1;
}
.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.1s ease;
}
.hero__slide.is-active { opacity: 1; }
.hero__slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 7s linear;
}
.hero__slide.is-active img { transform: scale(1); }
.hero__media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg, var(--bg) 0%, rgba(13, 15, 19, .82) 18%, rgba(13, 15, 19, .25) 45%, rgba(13, 15, 19, 0) 70%),
    linear-gradient(0deg, rgba(13, 15, 19, .85) 0%, rgba(13, 15, 19, 0) 30%),
    linear-gradient(180deg, rgba(13, 15, 19, .7) 0%, rgba(13, 15, 19, 0) 24%);
}
.hero__in { position: relative; padding-top: calc(var(--hdr) + 40px); padding-bottom: 56px; }
.hero__copy { max-width: 520px; }
.hero h1 {
  font-size: clamp(46px, 6.6vw, 88px);
  line-height: .96;
  margin: 22px 0 26px;
  letter-spacing: -.005em;
}
.hero .lede { color: #e2e5ea; font-size: 16.5px; max-width: 420px; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__dots { display: flex; gap: 16px; margin-top: 52px; }
.hero__dot {
  background: none;
  border: 0;
  padding: 0;
  width: 46px;
  text-align: left;
  cursor: pointer;
  font: 500 10.5px/1 var(--body);
  letter-spacing: .1em;
  color: var(--dim);
}
.hero__dot i {
  display: block;
  margin-top: 10px;
  height: 3px;
  background: rgba(255, 255, 255, .14);
  position: relative;
  overflow: hidden;
}
.hero__dot i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
}
.hero__dot.is-active { color: #fff; }
.hero__dot.is-active i::after { animation: dotfill var(--slide-ms, 6500ms) linear forwards; }
.hero__dot.is-done i::after { transform: scaleX(1); }
@keyframes dotfill { to { transform: scaleX(1); } }

.badge {
  position: absolute;
  right: 0;
  bottom: 56px;
  z-index: 3;
  background: rgba(13, 15, 19, .9);
  border: 1px solid var(--line);
  border-right: 0;
  padding: 24px 40px 24px 26px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 16px;
  align-items: center;
  backdrop-filter: blur(6px);
}
.badge svg { width: 30px; height: 30px; color: #fff; grid-row: 1; }
.badge strong { font: 700 14px/1.25 var(--head); text-transform: uppercase; letter-spacing: .04em; }
.badge span { grid-column: 1 / -1; margin-top: 14px; font: 500 10.5px/1.7 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

/* Inner page banner */
.pagehero {
  position: relative;
  padding: calc(var(--hdr) + 90px) 0 80px;
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid var(--line);
}
.pagehero__img { position: absolute; inset: 0 0 0 auto; width: 60%; z-index: -1; }
.pagehero__img img { width: 100%; height: 100%; object-fit: cover; }
.pagehero__img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--bg) 0%, rgba(13, 15, 19, .7) 35%, rgba(13, 15, 19, .35) 100%), linear-gradient(0deg, rgba(13,15,19,.8), rgba(13,15,19,0) 50%);
}
.pagehero h1 { font-size: clamp(40px, 6vw, 76px); margin: 18px 0 18px; max-width: 760px; }
.pagehero .lede { max-width: 520px; color: #d9dce1; }
.crumbs { font: 500 11px/1 var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--dim); }
.crumbs a:hover { color: #fff; }
.crumbs span { color: var(--red); margin: 0 8px; }

/* Photo placeholders (no photos on the site yet) */
.ph {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px;
  text-align: center;
  background: radial-gradient(120% 90% at 30% 20%, #1d222a 0%, #13161b 70%);
  color: #4a515b;
}
.ph::before { content: ""; position: absolute; inset: 10px; border: 1px dashed rgba(255, 255, 255, .1); border-radius: 2px; pointer-events: none; }
.ph svg { width: 30px; height: 30px; }
.ph em { font: 500 10.5px/1.4 var(--body); font-style: normal; letter-spacing: .16em; text-transform: uppercase; color: #5d646e; }
.hero__media { background: radial-gradient(60% 70% at 70% 45%, rgba(227, 38, 45, .16) 0%, rgba(227, 38, 45, 0) 70%), linear-gradient(135deg, #171b21 0%, #0d0f13 75%); }
.cta__bg { background: radial-gradient(50% 120% at 85% 50%, rgba(227, 38, 45, .18), rgba(227, 38, 45, 0) 70%), #111419; }
.cta__bg::after { display: none; }
.pagehero { background: radial-gradient(50% 90% at 85% 30%, rgba(227, 38, 45, .14), rgba(227, 38, 45, 0) 70%), var(--bg); }
.photo-stack .ps { position: relative; border-radius: 3px; overflow: hidden; border: 1px solid var(--line); }
.photo-stack .ps--a { width: 82%; aspect-ratio: 4 / 3; }
.photo-stack .ps--b { position: absolute; right: 0; bottom: 0; width: 44%; aspect-ratio: 3 / 4; border: 4px solid var(--bg); }
.tile { cursor: default; }
.card:hover .ph { color: var(--red); }

/* ---------- Sections ---------- */
.section { padding: 96px 0; border-top: 1px solid var(--line); }
.section--tight { padding: 72px 0; }
.section--alt { background: var(--bg-2); }
.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.sec-head p { margin-top: 14px; color: var(--muted); }

/* Service cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 3px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color .3s, transform .35s var(--ease);
}
.card:hover { border-color: rgba(227, 38, 45, .55); transform: translateY(-4px); }
.card__img { aspect-ratio: 16 / 8.6; overflow: hidden; position: relative; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card__img img { transform: scale(1.05); }
.card__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--panel) 0%, rgba(22, 26, 32, 0) 55%); }
.card__body { padding: 0 22px 24px; margin-top: -14px; position: relative; display: flex; flex-direction: column; flex: 1; }
.card__icon { width: 26px; height: 26px; color: var(--red); margin-bottom: 16px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 14px; line-height: 1.5; margin-bottom: 22px; }
.card .link-arrow { margin-top: auto; }
.card__link { position: absolute; inset: 0; z-index: 1; }

/* Why split */
.why { display: grid; grid-template-columns: 53% 1fr; border-top: 1px solid var(--line); background: var(--bg-2); }
.why__media { position: relative; min-height: 440px; overflow: hidden; }
.why__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.why__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10, 12, 15, .85) 0%, rgba(10, 12, 15, 0) 55%), linear-gradient(90deg, rgba(10,12,15,.45), rgba(10,12,15,0) 60%); }
.why__tag {
  position: absolute;
  left: clamp(24px, 4.5vw, 48px);
  bottom: 44px;
  z-index: 2;
  font: 600 clamp(15px, 1.6vw, 19px)/1.5 var(--head);
  letter-spacing: .2em;
  text-transform: uppercase;
}
.why__tag::after { content: ""; display: block; width: 38px; height: 3px; background: var(--red); margin-top: 16px; }
.why__copy { padding: clamp(48px, 6vw, 80px) clamp(24px, 4vw, 56px); align-self: center; max-width: 700px; }
.why__copy h2 { font-size: clamp(30px, 2.9vw, 42px); }
.why__copy > p { color: var(--muted); margin: 18px 0 40px; }
.feats { display: grid; grid-template-columns: 1fr 1fr; }
.feat { display: flex; gap: 22px; align-items: center; padding: 18px 20px 18px 0; }
.feat:nth-child(odd) { border-right: 1px solid var(--line); }
.feat:nth-child(even) { padding-left: 26px; }
.feat svg { width: 34px; height: 34px; color: var(--red); flex: none; }
.feat span { font: 500 11px/1.6 var(--body); letter-spacing: .16em; text-transform: uppercase; color: #cfd3d9; }

/* Builds strip */
.filters { display: flex; gap: 6px; flex-wrap: wrap; }
.filter {
  background: none;
  border: 0;
  padding: 8px 14px;
  cursor: pointer;
  font: 500 10.5px/1 var(--body);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--dim);
  position: relative;
  transition: color .2s;
}
.filter::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 0; height: 2px; background: var(--red); transform: scaleX(0); transition: transform .3s var(--ease); }
.filter:hover { color: #fff; }
.filter.is-active { color: var(--red); }
.filter.is-active::after { transform: scaleX(1); }

.strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 4 * 8px) / 5);
  gap: 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0 16px 6px;
  scrollbar-width: thin;
  scrollbar-color: var(--red) transparent;
}
.tile {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 2px;
  scroll-snap-align: start;
  cursor: zoom-in;
  background: var(--panel);
  border: 0;
  padding: 0;
}
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), filter .4s; }
.tile:hover img { transform: scale(1.06); }
.tile__cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 30px 14px 12px;
  text-align: left;
  background: linear-gradient(0deg, rgba(0, 0, 0, .8), rgba(0, 0, 0, 0));
  font: 500 10.5px/1.3 var(--body);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fff;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .3s, transform .3s;
}
.tile:hover .tile__cap, .tile:focus-visible .tile__cap { opacity: 1; transform: none; }
.tile.is-hidden { display: none; }

/* CTA band */
.cta {
  position: relative;
  padding: 72px 0;
  overflow: hidden;
  isolation: isolate;
  border-top: 1px solid var(--line);
}
.cta__bg { position: absolute; inset: 0; z-index: -1; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; filter: saturate(.85); }
.cta__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13, 15, 19, .96) 0%, rgba(13, 15, 19, .86) 45%, rgba(13, 15, 19, .6) 100%); }
.cta__in { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta h2 { font-size: clamp(28px, 3.4vw, 40px); }
.cta p { color: #d4d8de; margin-top: 12px; }
.cta__btns { display: flex; gap: 16px; flex-wrap: wrap; }

/* Find us / map */
.findus { display: grid; grid-template-columns: 1fr 1.25fr; gap: 0; border: 1px solid var(--line); background: var(--panel); border-radius: 3px; overflow: hidden; }
.findus__info { padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; gap: 26px; }
.findus__info h2 { font-size: clamp(26px, 3vw, 36px); }
.map { position: relative; min-height: 380px; background: #1a1d22; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.85) invert(.9) contrast(.9) hue-rotate(180deg); }
.map__open {
  position: absolute; right: 14px; bottom: 14px; z-index: 2;
}
.info-list { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; }
.info-list li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.info-list .ico { width: 40px; height: 40px; border: 1px solid var(--line-2); display: grid; place-items: center; border-radius: 2px; color: var(--red); }
.info-list .ico svg { width: 18px; height: 18px; }
.info-list small { display: block; font: 500 10.5px/1 var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--dim); margin-bottom: 7px; }
.info-list a:hover { color: var(--red); }
.hours { display: grid; grid-template-columns: auto auto; gap: 2px 18px; justify-content: start; font-size: 15px; }
.hours dt { color: var(--muted); }
.hours dd { margin: 0; }

/* ---------- Footer ---------- */
.ftr { background: #090a0d; border-top: 1px solid var(--line); padding: 72px 0 0; }
.ftr__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.ftr p, .ftr li { color: var(--muted); font-size: 14.5px; }
.ftr h4 { font-size: 13px; letter-spacing: .14em; margin-bottom: 18px; color: #fff; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ftr a:hover { color: #fff; }
.ftr__brand p { margin: 18px 0 22px; max-width: 300px; }
.ftr__bar { margin-top: 56px; border-top: 1px solid var(--line); padding: 22px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--dim); }

/* Floating WhatsApp */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 58px;
  padding: 0 20px 0 16px;
  background: var(--wa);
  color: #06210f;
  border-radius: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .45);
  font: 600 13px/1 var(--body);
  transition: transform .25s var(--ease), box-shadow .25s;
}
.wa-float svg { width: 26px; height: 26px; }
.wa-float:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(0, 0, 0, .55); }

/* ---------- Services page ---------- */
.svc { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; padding: 72px 0; border-top: 1px solid var(--line); }
.svc:first-of-type { border-top: 0; padding-top: 24px; }
.svc:nth-of-type(even) .svc__img { order: 2; }
.svc__img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 3px; border: 1px solid var(--line); }
.svc__img img { width: 100%; height: 100%; object-fit: cover; }
.svc__num { font: 700 13px/1 var(--head); color: var(--red); letter-spacing: .1em; display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.svc__num svg { width: 26px; height: 26px; }
.svc h2 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 16px; }
.svc > div > p:not(.svc__num) { color: var(--muted); margin-bottom: 26px; }
.ticks { list-style: none; margin: 0 0 30px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.ticks li { position: relative; padding-left: 22px; font-size: 14.5px; color: #dfe2e6; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 9px; width: 10px; height: 2px; background: var(--red); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.step { background: var(--panel); border: 1px solid var(--line); padding: 30px 24px; border-radius: 3px; position: relative; }
.step::before { counter-increment: step; content: "0" counter(step); font: 700 34px/1 var(--head); color: rgba(255, 255, 255, .08); position: absolute; right: 18px; top: 18px; }
.step svg { width: 28px; height: 28px; color: var(--red); margin-bottom: 18px; }
.step h3 { margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 14px; }

/* ---------- About page ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.split p + p { margin-top: 16px; }
.split .copy p { color: var(--muted); }
.split .copy h2 { margin-bottom: 22px; }
.photo-stack { position: relative; padding-bottom: 18%; }
.photo-stack img { border-radius: 3px; border: 1px solid var(--line); }
.photo-stack img:first-child { width: 82%; aspect-ratio: 4 / 3; object-fit: cover; }
.photo-stack img:last-child { position: absolute; right: 0; bottom: 0; width: 44%; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 52%; box-shadow: 0 20px 50px rgba(0, 0, 0, .6); border: 4px solid var(--bg); }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.value { border-top: 2px solid var(--red); background: var(--panel); padding: 30px 24px; }
.value svg { width: 32px; height: 32px; color: var(--red); margin-bottom: 18px; }
.value h3 { margin-bottom: 10px; }
.value p { color: var(--muted); font-size: 14px; }

/* ---------- Gallery page ---------- */
.grid-gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: min(22vw, 280px); grid-auto-flow: dense; gap: 10px; }
.grid-gallery .tile { aspect-ratio: auto; }
.grid-gallery .tile--tall { grid-row: span 2; aspect-ratio: auto; }
.grid-gallery .tile--wide { grid-column: span 2; aspect-ratio: auto; }

.lightbox {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(5, 6, 8, .95);
  display: grid; place-items: center;
  padding: 60px var(--gut);
  opacity: 0; visibility: hidden;
  transition: opacity .3s, visibility .3s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: min(1200px, 100%); max-height: 80vh; object-fit: contain; border-radius: 2px; }
.lightbox p { margin-top: 14px; text-align: center; font: 500 11px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.lb-btn { position: absolute; width: 50px; height: 50px; border: 1px solid var(--line-2); background: rgba(0,0,0,.4); color: #fff; cursor: pointer; display: grid; place-items: center; border-radius: 2px; }
.lb-btn:hover { border-color: var(--red); color: var(--red); }
.lb-btn svg { width: 20px; height: 20px; }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%) rotate(180deg); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: 24px; align-items: start; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 3px; padding: clamp(24px, 3.5vw, 44px); }
.panel h2 { font-size: clamp(24px, 2.8vw, 32px); margin-bottom: 10px; }
.panel > p { color: var(--muted); margin-bottom: 28px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font: 500 10.5px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%;
  background: #0f1216;
  border: 1px solid var(--line-2);
  border-radius: 2px;
  padding: 14px 14px;
  font-size: 15px;
  transition: border-color .2s;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #aaa 50%), linear-gradient(135deg, #aaa 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.field select option { background: #15181d; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); }
.field input::placeholder, .field textarea::placeholder { color: #5d636c; }
.field.is-invalid input, .field.is-invalid select { border-color: var(--red); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 10px 14px; border: 1px solid var(--line-2); border-radius: 2px; font-size: 13px; cursor: pointer; transition: all .2s; color: #cfd3d9; }
.chip input:checked + span { background: var(--red); border-color: var(--red); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }
.form__note { grid-column: 1 / -1; font-size: 13px; color: var(--dim); display: flex; gap: 10px; align-items: center; }
.form__note svg { width: 16px; height: 16px; color: var(--wa); flex: none; }
.form__err { grid-column: 1 / -1; color: #ff8a8e; font-size: 14px; display: none; }
.form__err.is-on { display: block; }
.side { display: grid; gap: 24px; }
.side .map { min-height: 300px; border-radius: 3px; overflow: hidden; border: 1px solid var(--line); }

/* 404 */
.nf { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: var(--hdr) var(--gut) 40px; }
.nf h1 { font-size: clamp(90px, 18vw, 200px); color: var(--red); }
.nf p { color: var(--muted); margin: 10px 0 30px; }

/* Reveal */
.rv { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.rv.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps, .values { grid-template-columns: repeat(2, 1fr); }
  .ftr__grid { grid-template-columns: 1fr 1fr; }
  .strip { grid-auto-columns: calc((100% - 2 * 8px) / 3.2); }
  .why { grid-template-columns: 1fr; }
  .why__media { min-height: 380px; }
  .why__copy { max-width: none; }
}
@media (max-width: 960px) {
  .nav, .hdr__cta { display: none; }
  .burger { display: block; }
  .hero__media { width: 100%; }
  .hero__media::before {
    background: linear-gradient(0deg, var(--bg) 10%, rgba(13, 15, 19, .9) 44%, rgba(13, 15, 19, .1) 72%, rgba(13, 15, 19, .5) 100%);
  }
  .hero { align-items: flex-end; min-height: 100svh; }
  .badge { display: none; }
  .findus, .contact-grid, .split, .svc { grid-template-columns: 1fr; }
  .svc:nth-of-type(even) .svc__img { order: 0; }
  .contact-grid > .panel { order: -1; }
  .pagehero__img { width: 100%; }
  .pagehero__img::after { background: linear-gradient(0deg, var(--bg) 0%, rgba(13, 15, 19, .78) 50%, rgba(13, 15, 19, .55) 100%); }
  .grid-gallery { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 30vw; }
}
@media (max-width: 640px) {
  :root { --hdr: 70px; }
  .logo__main { font-size: 25px; }
  .logo__sub { font-size: 13px; }
  .section { padding: 72px 0; }
  .cards, .steps, .values { grid-template-columns: 1fr; }
  .ticks { grid-template-columns: 1fr; }
  .hero__btns .btn { flex: 1 1 100%; }
  .hero__dots { margin-top: 36px; }
  .feats { grid-template-columns: 1fr; }
  .feat:nth-child(odd) { border-right: 0; }
  .feat:nth-child(even) { padding-left: 0; }
  .feat { border-bottom: 1px solid var(--line); padding-right: 0; }
  .strip { grid-auto-columns: 72%; }
  .cta__btns { width: 100%; }
  .cta__btns .btn { flex: 1; }
  .form { grid-template-columns: 1fr; }
  .ftr__grid { grid-template-columns: 1fr; }
  .grid-gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 44vw; }
  .grid-gallery .tile--wide { grid-column: span 2; }
  .wa-float { padding: 0; width: 58px; justify-content: center; right: 16px; bottom: 16px; }
  .wa-float span { display: none; }
  .photo-stack .ps--a { width: 88%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
