/* ==========================================================================
   Strong Service, LLC — design system
   Graphite + paper, with a split red/ice "thermal" accent taken from the logo.
   Display: Archivo (expanded) · Body: Geist · Labels: Geist Mono
   ========================================================================== */

:root {
  --ink: #0c0e11;
  --ink-2: #121519;
  --ink-3: #1a1e24;
  --steel: #262b33;
  --paper: #f4f3ef;
  --paper-2: #eae8e2;
  --white: #ffffff;

  --text: #14161a;
  --text-2: #4a505a;
  --text-3: #767c86;
  --on-dark: #f2f1ed;
  --on-dark-2: #a9aeb6;
  --on-dark-3: #6f757e;

  --red: #d8301f;
  --red-deep: #a8241a;
  --ice: #48a3e0;
  --ice-deep: #24609c;

  --line: rgba(20, 22, 26, 0.12);
  --line-strong: rgba(20, 22, 26, 0.22);
  --line-dark: rgba(255, 255, 255, 0.09);
  --line-dark-strong: rgba(255, 255, 255, 0.18);

  --f-display: "Archivo", "Arial Black", sans-serif;
  --f-body: "Geist", "Segoe UI", sans-serif;
  --f-mono: "Geist Mono", ui-monospace, "Cascadia Mono", monospace;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --spring: cubic-bezier(0.34, 1.4, 0.64, 1);

  --r: 6px;
  --r-sm: 4px;
  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --sec: clamp(84px, 10vw, 144px);
  --header-h: 78px;

  --shadow-1: 0 1px 2px rgba(12, 14, 17, 0.05), 0 6px 16px -6px rgba(12, 14, 17, 0.08);
  --shadow-2: 0 2px 4px rgba(12, 14, 17, 0.04), 0 18px 40px -16px rgba(12, 14, 17, 0.22), 0 40px 80px -40px rgba(36, 96, 156, 0.22);
  --shadow-3: 0 30px 80px -24px rgba(0, 0, 0, 0.7), 0 10px 28px -10px rgba(0, 0, 0, 0.45);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--ice); outline-offset: 3px; border-radius: 2px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--white); color: var(--ink); padding: 10px 16px; border-radius: var(--r-sm);
  font-weight: 600;
}
.skip-link:focus { top: 16px; }

/* ---------- Typography ---------- */
.display, h1, h2, h3 {
  font-family: var(--f-display);
  font-stretch: 112%;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.02;
}
h1 { font-size: clamp(2.5rem, 5.6vw, 4.9rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.35rem); letter-spacing: -0.015em; line-height: 1.2; font-weight: 750; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.7; color: var(--text-2); max-width: 60ch; }
.on-dark .lead, .lead.on-dark { color: var(--on-dark-2); }
.accent-red { color: var(--red); }
.accent-ice { color: var(--ice); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--f-mono); font-size: 12px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-2);
}
.on-dark .eyebrow { color: var(--on-dark-2); }

/* Signature: split red | ice rule (heat / cool) */
.split-rule { display: inline-flex; gap: 3px; width: 44px; height: 3px; flex: none; }
.split-rule::before, .split-rule::after { content: ""; flex: 1; border-radius: 1px; }
.split-rule::before { background: var(--red); }
.split-rule::after { background: var(--ice); }
.split-rule.lg { width: 72px; }

.mono { font-family: var(--f-mono); }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sec { padding: var(--sec) 0; position: relative; }
.sec-tight { padding: calc(var(--sec) * 0.65) 0; }
.bg-paper { background: var(--paper); }
.bg-white { background: var(--white); }
.bg-ink { background: var(--ink); color: var(--on-dark); }
.bg-ink-2 { background: var(--ink-2); color: var(--on-dark); }

.sec-head { display: grid; gap: 22px; margin-bottom: clamp(44px, 6vw, 72px); max-width: 780px; }
.sec-head.split {
  max-width: none; grid-template-columns: 1fr auto; align-items: end; gap: 22px 48px;
}
.sec-head.split > div { display: grid; gap: 22px; max-width: 720px; }
.sec-head p { color: var(--text-2); max-width: 58ch; }
.on-dark .sec-head p { color: var(--on-dark-2); }
@media (max-width: 820px) { .sec-head.split { grid-template-columns: 1fr; } }

/* Atmosphere for dark sections: layered glows + blueprint grid + grain */
.atmos { position: relative; isolation: isolate; overflow: hidden; }
.atmos::before {
  content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(60% 55% at 88% 8%, rgba(36, 96, 156, 0.28), transparent 70%),
    radial-gradient(45% 50% at 4% 100%, rgba(216, 48, 31, 0.16), transparent 70%),
    radial-gradient(35% 30% at 50% 50%, rgba(255, 255, 255, 0.025), transparent 70%);
}
.atmos::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 160px 160px, 88px 88px, 88px 88px;
  opacity: 0.55;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 30%, #000 30%, transparent 85%);
  mask-image: radial-gradient(ellipse 80% 70% at 60% 30%, #000 30%, transparent 85%);
}

/* ---------- Buttons ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px;
  font-family: var(--f-body); font-size: 15px; font-weight: 600; letter-spacing: 0.005em; line-height: 1;
  border-radius: var(--r-sm);
  transition: transform 0.35s var(--spring);
  white-space: nowrap;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  opacity: 0; transition: opacity 0.3s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform 0.35s var(--spring); }
.btn:hover { transform: translateY(-2px); }
.btn:hover svg.arrow { transform: translateX(4px); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn:focus-visible { outline: 2px solid var(--ice); outline-offset: 3px; }

.btn-red { background: var(--red); color: #fff; box-shadow: 0 10px 28px -10px rgba(216, 48, 31, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.18); }
.btn-red::before { background: linear-gradient(180deg, #e2402e, var(--red-deep)); }
.btn-red:hover::before { opacity: 1; }

.btn-ghost { color: var(--on-dark); box-shadow: inset 0 0 0 1px var(--line-dark-strong); }
.btn-ghost::before { background: rgba(255, 255, 255, 0.08); }
.btn-ghost:hover::before { opacity: 1; }

.btn-dark { background: var(--ink); color: var(--on-dark); box-shadow: 0 12px 28px -14px rgba(12, 14, 17, 0.7); }
.btn-dark::before { background: var(--steel); }
.btn-dark:hover::before { opacity: 1; }

.btn-line { color: var(--text); box-shadow: inset 0 0 0 1px var(--line-strong); }
.btn-line::before { background: var(--ink); }
.btn-line:hover { color: var(--on-dark); }
.btn-line:hover::before { opacity: 1; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.text-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 15px;
  padding-bottom: 4px;
  background: linear-gradient(90deg, var(--red) 50%, var(--ice) 50%) left bottom / 100% 2px no-repeat;
}
.text-link svg { width: 18px; height: 18px; transition: transform 0.35s var(--spring); }
.text-link:hover svg { transform: translateX(5px); }
.text-link:active svg { transform: translateX(2px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  color: var(--on-dark);
}
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(12, 14, 17, 0.86);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  box-shadow: 0 1px 0 var(--line-dark);
  opacity: 0; transition: opacity 0.4s var(--ease);
}
.site-header.is-scrolled::before, .nav-open .site-header::before { opacity: 1; }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand-mark { width: 38px; height: 38px; flex: none; transition: transform 0.5s var(--spring); }
.brand:hover .brand-mark { transform: rotate(-6deg) scale(1.04); }
.brand-word { display: grid; line-height: 1; }
.brand-word b {
  font-family: var(--f-display); font-stretch: 125%; font-weight: 900;
  font-size: 19px; letter-spacing: 0.01em;
}
.brand-word span {
  font-family: var(--f-mono); font-size: 9.5px; font-weight: 500;
  letter-spacing: 0.46em; color: var(--on-dark-2); margin-top: 5px;
}

.nav { display: flex; align-items: center; gap: 4px; }
.nav > a, .nav-drop > a {
  position: relative; display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; font-size: 14.5px; font-weight: 500; color: var(--on-dark-2);
  border-radius: var(--r-sm);
}
.nav > a::after, .nav-drop > a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
  background: linear-gradient(90deg, var(--red) 50%, var(--ice) 50%);
  transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease);
}
.nav > a:hover, .nav-drop > a:hover, .nav > a[aria-current="page"], .nav-drop.is-current > button { color: var(--on-dark); }
.nav > a:hover::after, .nav > a[aria-current="page"]::after, .nav-drop.is-current > button::after { transform: scaleX(1); }
.nav-drop { position: relative; }
.nav-drop > a svg { width: 14px; height: 14px; transition: transform 0.3s var(--ease); }
.nav-drop:hover > button svg, .nav-drop:focus-within > button svg { transform: rotate(180deg); }
.drop-panel {
  position: absolute; top: calc(100% + 8px); left: -12px; width: 340px;
  padding: 10px; border-radius: var(--r);
  background: var(--ink-3); box-shadow: var(--shadow-3), inset 0 0 0 1px var(--line-dark);
  opacity: 0; transform: translateY(-6px); pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.35s var(--ease);
}
.drop-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav-drop:hover .drop-panel, .nav-drop:focus-within .drop-panel { opacity: 1; transform: none; pointer-events: auto; }
.drop-panel a {
  position: relative; display: grid; grid-template-columns: 30px 1fr; gap: 2px 10px;
  padding: 12px 12px; border-radius: var(--r-sm);
}
.drop-panel a::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; background: rgba(255, 255, 255, 0.05);
  opacity: 0; transition: opacity 0.2s var(--ease);
}
.drop-panel a:hover::before, .drop-panel a:focus-visible::before { opacity: 1; }
.drop-panel .n { grid-row: span 2; font-family: var(--f-mono); font-size: 11px; color: var(--on-dark-3); padding-top: 3px; }
.drop-panel b { font-size: 14.5px; font-weight: 600; color: var(--on-dark); }
.drop-panel small { font-size: 12.5px; color: var(--on-dark-3); line-height: 1.45; }
.drop-panel .all {
  display: flex; justify-content: space-between; grid-template-columns: none;
  margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--line-dark);
  font-size: 13.5px; font-weight: 600; color: var(--on-dark);
  border-radius: 0 0 var(--r-sm) var(--r-sm);
}

.header-cta { display: flex; align-items: center; gap: 18px; flex: none; }
.header-phone {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--f-mono); font-size: 14px; font-weight: 500; color: var(--on-dark);
  transition: opacity 0.2s var(--ease);
}
.header-phone:hover { opacity: 0.75; }
.header-phone .dot { width: 7px; height: 7px; border-radius: 50%; background: #3ecf6e; box-shadow: 0 0 0 4px rgba(62, 207, 110, 0.16); }
.header-cta .btn { min-height: 44px; padding: 0 18px; font-size: 14px; }

.menu-btn { display: none; width: 44px; height: 44px; border-radius: var(--r-sm); box-shadow: inset 0 0 0 1px var(--line-dark-strong); position: relative; }
.menu-btn span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--on-dark); transition: transform 0.4s var(--ease), opacity 0.2s; }
.menu-btn span:nth-child(1) { top: 16px; }
.menu-btn span:nth-child(2) { top: 21px; }
.menu-btn span:nth-child(3) { top: 26px; }
.nav-open .menu-btn span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-open .menu-btn span:nth-child(2) { opacity: 0; }
.nav-open .menu-btn span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
  background: var(--ink); color: var(--on-dark);
  padding: 20px var(--gutter) 40px; overflow-y: auto;
  opacity: 0; transform: translateY(-10px); pointer-events: none; visibility: hidden;
  transition: opacity 0.3s var(--ease), transform 0.4s var(--ease), visibility 0s 0.4s;
}
.nav-open .mobile-nav { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition: opacity 0.3s var(--ease), transform 0.4s var(--ease); }
.nav-open { overflow: hidden; }
.mobile-nav a.m-link {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 0; border-bottom: 1px solid var(--line-dark);
  font-family: var(--f-display); font-stretch: 112%; font-weight: 750; font-size: 22px; letter-spacing: -0.015em;
}
.mobile-nav a.m-sub { padding: 11px 0 11px 18px; font-family: var(--f-body); font-size: 16px; font-weight: 500; color: var(--on-dark-2); border-bottom: 1px solid var(--line-dark); display: block; }
.mobile-nav .btn-row { margin-top: 28px; }
.mobile-nav .btn { flex: 1 1 100%; }

@media (max-width: 1080px) {
  .nav, .header-phone { display: none; }
  .menu-btn { display: block; }
}
@media (max-width: 560px) {
  .header-cta .btn { display: none; }
}

/* ---------- Hero (home) ---------- */
.hero {
  min-height: min(100svh, 980px);
  padding: calc(var(--header-h) + clamp(40px, 7vw, 96px)) 0 clamp(64px, 8vw, 110px);
  display: flex; align-items: center;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.hero h1 { margin: 26px 0 26px; font-size: clamp(2.6rem, 4.9vw, 4.3rem); }
.hero h1 .thin { display: block; color: var(--on-dark-2); font-weight: 500; font-stretch: 100%; }
.hero .lead { max-width: 52ch; }
.hero .btn-row { margin-top: 38px; }
.trust-row {
  display: flex; flex-wrap: wrap; gap: 12px 26px; margin-top: 46px; padding-top: 26px;
  border-top: 1px solid var(--line-dark);
  font-family: var(--f-mono); font-size: 12.5px; letter-spacing: 0.04em; color: var(--on-dark-2);
}
.trust-row li { display: inline-flex; align-items: center; gap: 10px; }
.trust-row svg { width: 16px; height: 16px; color: var(--ice); flex: none; }

.hero-media { position: relative; aspect-ratio: 5 / 6; max-width: 560px; justify-self: end; width: 100%; }
.frame {
  position: absolute; overflow: hidden; border-radius: var(--r);
  background: var(--ink-3);
  box-shadow: var(--shadow-3);
}
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(12, 14, 17, 0.5), transparent 45%);
}
.tint::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(160deg, rgba(36, 96, 156, 0.22), rgba(216, 48, 31, 0.08));
  mix-blend-mode: multiply;
}
.hero-media .f1 { right: 0; top: 0; width: 76%; height: 88%; }
.hero-media .f1 .cap { left: auto; right: 16px; }
.hero-media .f2 { left: 0; bottom: 0; width: 50%; aspect-ratio: 4 / 3; box-shadow: var(--shadow-3), 0 0 0 6px var(--ink); }
.hero-media .f2::after { background: linear-gradient(to top, rgba(12, 14, 17, 0.35), transparent 60%); }
.hero-badge {
  position: absolute; z-index: 3; left: 4%; top: 10%;
  display: flex; align-items: center; gap: 12px;
  padding: 10px 16px 10px 10px; border-radius: 999px;
  background: rgba(18, 21, 25, 0.78);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: inset 0 0 0 1px var(--line-dark-strong), 0 18px 40px -16px rgba(0, 0, 0, 0.8);
}
.hero-badge img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; }
.hero-badge b { display: block; font-size: 13.5px; font-weight: 600; line-height: 1.2; }
.hero-badge span { display: block; font-family: var(--f-mono); font-size: 11px; color: var(--on-dark-2); letter-spacing: 0.04em; margin-top: 3px; }
.cap {
  position: absolute; z-index: 2; left: 16px; bottom: 14px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.86);
  display: flex; align-items: center; gap: 8px;
}
.cap::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ice); }
.cap.hot::before { background: var(--red); }

@media (max-width: 960px) {
  .hero { min-height: 0; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { justify-self: start; max-width: 520px; }
}

/* Page-load choreography */
.js .load { opacity: 0; transform: translateY(18px); animation: rise 0.9s var(--ease) forwards; }
.js .load.d1 { animation-delay: 0.08s; }
.js .load.d2 { animation-delay: 0.18s; }
.js .load.d3 { animation-delay: 0.28s; }
.js .load.d4 { animation-delay: 0.4s; }
.js .load.d5 { animation-delay: 0.55s; }
.js .load.d6 { animation-delay: 0.7s; }
@keyframes rise { to { opacity: 1; transform: none; } }
.js .load-img { opacity: 0; transform: scale(0.96) translateY(14px); animation: settle 1.2s var(--ease) forwards; }
.js .load-img.d2 { animation-delay: 0.25s; }
.js .load-img.d4 { animation-delay: 0.5s; }
.js .load-img.d6 { animation-delay: 0.8s; }
@keyframes settle { to { opacity: 1; transform: none; } }

/* Reveal on scroll (content stays visible without JS) */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.r2 { transition-delay: 0.08s; }
.js .reveal.r3 { transition-delay: 0.16s; }
.js .reveal.r4 { transition-delay: 0.24s; }

/* ---------- Services index (editorial list) ---------- */
.svc-index { border-top: 1px solid var(--line-strong); counter-reset: svc; }
.svc-row {
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: 70px minmax(0, 1.2fr) minmax(0, 1fr) 132px 44px; gap: 28px; align-items: center;
  padding: 26px 0; border-bottom: 1px solid var(--line-strong);
}
.svc-row::before {
  content: ""; position: absolute; inset: 0 calc(var(--gutter) * -0.5); z-index: -1; border-radius: var(--r);
  background: var(--white); box-shadow: var(--shadow-2);
  opacity: 0; transform: scaleY(0.92); transition: opacity 0.35s var(--ease), transform 0.45s var(--ease);
}
.svc-row:hover::before, .svc-row:focus-visible::before { opacity: 1; transform: none; }
.svc-num { font-family: var(--f-mono); font-size: 13px; color: var(--text-3); }
.svc-name {
  font-family: var(--f-display); font-stretch: 112%; font-weight: 800; letter-spacing: -0.02em; line-height: 1.08;
  font-size: clamp(1.35rem, 2.4vw, 2rem); transition: transform 0.45s var(--ease);
}
.svc-row:hover .svc-name { transform: translateX(8px); }
.svc-desc { font-size: 15px; line-height: 1.6; color: var(--text-2); }
.svc-thumb { position: relative; width: 132px; aspect-ratio: 4 / 3; border-radius: var(--r-sm); overflow: hidden; background: var(--paper-2); }
.svc-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.svc-row:hover .svc-thumb img { transform: scale(1.08); }
.svc-arrow {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  box-shadow: inset 0 0 0 1px var(--line-strong); transition: transform 0.45s var(--spring);
  position: relative; overflow: hidden;
}
.svc-arrow::before { content: ""; position: absolute; inset: 0; background: var(--red); border-radius: 50%; opacity: 0; transform: scale(0.4); transition: opacity 0.3s var(--ease), transform 0.4s var(--spring); }
.svc-arrow svg { position: relative; width: 18px; height: 18px; transition: transform 0.4s var(--spring); }
.svc-row:hover .svc-arrow { transform: rotate(-45deg); }
.svc-row:hover .svc-arrow::before { opacity: 1; transform: none; }
.svc-row:hover .svc-arrow svg { color: #fff; }
.svc-row:active .svc-arrow { transform: rotate(-45deg) scale(0.92); }
.svc-tag { display: block; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); margin-top: 8px; font-weight: 500; }
@media (max-width: 960px) {
  .svc-row { grid-template-columns: 44px minmax(0, 1fr) 96px; gap: 8px 18px; padding: 22px 0; }
  .svc-num { grid-row: span 2; align-self: start; padding-top: 6px; }
  .svc-desc { grid-column: 2; grid-row: 2; }
  .svc-thumb { grid-column: 3; grid-row: 1 / span 2; width: 96px; align-self: start; }
  .svc-arrow { display: none; }
}

/* ---------- Split (image + copy) ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 104px); align-items: center; }
.split.flip > :first-child { order: 2; }
.split-copy { display: grid; gap: 24px; align-content: start; }
.split-copy p { color: var(--text-2); }
.on-dark .split-copy p { color: var(--on-dark-2); }
.split-media { position: relative; }
.stack { position: relative; aspect-ratio: 1 / 1.08; }
.stack .s1 { position: absolute; left: 0; top: 0; width: 80%; height: 86%; }
.stack .s2 { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 3 / 4; box-shadow: var(--shadow-2), 0 0 0 6px var(--paper); }
.bg-white .stack .s2 { box-shadow: var(--shadow-2), 0 0 0 6px var(--white); }
.photo { position: relative; overflow: hidden; border-radius: var(--r); background: var(--paper-2); box-shadow: var(--shadow-2); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, rgba(12, 14, 17, 0.42), transparent 42%); }
.photo.plain::after { display: none; }
.ratio-45 { aspect-ratio: 4 / 5; }
.ratio-43 { aspect-ratio: 4 / 3; }
.ratio-11 { aspect-ratio: 1; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split.flip > :first-child { order: 0; }
}

.checks { display: grid; gap: 12px; }
.checks li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; color: var(--text-2); }
.on-dark .checks li { color: var(--on-dark-2); }
.checks svg { width: 20px; height: 20px; margin-top: 4px; color: var(--red); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-strong); margin-top: 12px; }
.stat { padding: 22px 18px 4px 0; }
.stat + .stat { padding-left: 22px; border-left: 1px solid var(--line); }
.stat b { display: block; font-family: var(--f-display); font-stretch: 118%; font-weight: 850; font-size: clamp(2rem, 3.4vw, 2.8rem); letter-spacing: -0.03em; line-height: 1; }
.stat b sup { font-size: 0.5em; color: var(--red); margin-left: 2px; top: -0.75em; }
.stat span { display: block; font-size: 13.5px; line-height: 1.45; color: var(--text-2); margin-top: 10px; }
@media (max-width: 560px) {
  .stats { grid-template-columns: 1fr; }
  .stat + .stat { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .stat { padding-bottom: 18px; }
}

/* ---------- Feature grid (numbered) ---------- */
.features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-strong); }
.on-dark .features { border-top-color: var(--line-dark-strong); }
.feature { padding: 34px 28px 10px 0; display: grid; gap: 14px; align-content: start; }
.feature + .feature { padding-left: 28px; border-left: 1px solid var(--line); }
.on-dark .feature + .feature { border-left-color: var(--line-dark); }
.feature .n { font-family: var(--f-mono); font-size: 12px; color: var(--text-3); display: flex; align-items: center; gap: 12px; }
.on-dark .feature .n { color: var(--on-dark-3); }
.feature .icon { width: 46px; height: 46px; border-radius: var(--r-sm); display: grid; place-items: center; background: var(--ink); color: var(--on-dark); margin: 6px 0 4px; }
.on-dark .feature .icon { background: var(--ink-3); box-shadow: inset 0 0 0 1px var(--line-dark-strong); }
.feature .icon svg { width: 22px; height: 22px; }
.feature p { font-size: 15.5px; color: var(--text-2); line-height: 1.65; }
.on-dark .feature p { color: var(--on-dark-2); }
@media (max-width: 1000px) {
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature:nth-child(3) { padding-left: 0; border-left: 0; }
  .feature:nth-child(n+3) { border-top: 1px solid var(--line); }
  .on-dark .feature:nth-child(n+3) { border-top-color: var(--line-dark); }
}
@media (max-width: 600px) {
  .features { grid-template-columns: 1fr; }
  .feature + .feature { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .on-dark .feature + .feature { border-top-color: var(--line-dark); }
}

/* ---------- Work mosaic ---------- */
.mosaic { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 17vw, 230px); gap: 14px; }
.tile { position: relative; overflow: hidden; border-radius: var(--r); background: var(--paper-2); box-shadow: var(--shadow-1); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(12, 14, 17, 0.62), transparent 50%); pointer-events: none; }
.tile:hover img { transform: scale(1.05); }
.tile .cap { transition: transform 0.45s var(--ease); }
.tile:hover .cap { transform: translateY(-3px); }
.t-a { grid-column: span 7; grid-row: span 2; }
.t-b { grid-column: span 5; grid-row: span 2; }
.t-c { grid-column: span 4; grid-row: span 2; }
.t-d { grid-column: span 4; grid-row: span 2; }
.t-e { grid-column: span 4; grid-row: span 2; }
@media (max-width: 760px) {
  .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 170px; gap: 10px; }
  .t-a { grid-column: span 2; grid-row: span 2; }
  .t-b, .t-c, .t-d, .t-e { grid-column: span 1; grid-row: span 2; }
  .t-e { grid-column: span 2; }
}

/* ---------- Chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 13px; border-radius: 999px;
  font-size: 13.5px; font-weight: 500; line-height: 1.2;
  background: var(--white); box-shadow: inset 0 0 0 1px var(--line);
}
.chip.mono { font-family: var(--f-mono); font-size: 12.5px; letter-spacing: 0.02em; }
.on-dark .chip { background: rgba(255, 255, 255, 0.04); box-shadow: inset 0 0 0 1px var(--line-dark-strong); color: var(--on-dark); }
.chip.ice { box-shadow: inset 0 0 0 1px rgba(72, 163, 224, 0.45); }
.chip-label { display: block; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); margin-bottom: 12px; }
.on-dark .chip-label { color: var(--on-dark-3); }

/* ---------- Owner spotlight ---------- */
.spot { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(40px, 7vw, 100px); align-items: center; }
.spot-photo { position: relative; }
.spot-photo .photo { aspect-ratio: 4 / 5; }
.spot-photo .tag {
  position: absolute; right: -18px; bottom: 34px; z-index: 2;
  background: var(--ink); color: var(--on-dark); border-radius: var(--r);
  padding: 18px 20px; box-shadow: var(--shadow-3); display: grid; gap: 6px; min-width: 190px;
}
.spot-photo .tag b { font-family: var(--f-display); font-stretch: 118%; font-weight: 850; font-size: 34px; letter-spacing: -0.03em; line-height: 1; }
.spot-photo .tag b sup { color: var(--ice); font-size: 0.55em; top: -0.6em; }
.spot-photo .tag span { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 0.06em; color: var(--on-dark-2); text-transform: uppercase; }
.spot-copy { display: grid; gap: 24px; }
.spot-copy p { color: var(--text-2); }
@media (max-width: 900px) {
  .spot { grid-template-columns: 1fr; }
  .spot-photo { max-width: 460px; }
  .spot-photo .tag { right: 12px; }
}

/* ---------- CTA band ---------- */
.cta { padding: clamp(88px, 11vw, 150px) 0; }
.cta-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 48px clamp(40px, 6vw, 90px); align-items: end; }
.cta h2 { font-size: clamp(2.2rem, 5vw, 4.2rem); max-width: 15ch; margin-top: 22px; }
.cta p { color: var(--on-dark-2); max-width: 54ch; }
.cta-side { display: grid; gap: 22px; }
.cta-phone { font-family: var(--f-display); font-stretch: 115%; font-weight: 800; font-size: clamp(1.8rem, 3.2vw, 2.6rem); letter-spacing: -0.02em; line-height: 1; display: inline-block; transition: transform 0.4s var(--spring); }
.cta-phone:hover { transform: translateX(6px); }
.cta-phone small { display: block; font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-dark-3); margin-bottom: 12px; font-stretch: 100%; }
.areas { margin-top: clamp(56px, 7vw, 88px); padding-top: 30px; border-top: 1px solid var(--line-dark); display: grid; grid-template-columns: 200px 1fr; gap: 20px 40px; }
.areas h3 { font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-dark-3); font-stretch: 100%; line-height: 1.6; }
.areas ul { display: flex; flex-wrap: wrap; gap: 6px 0; color: var(--on-dark-2); font-size: 15px; }
.areas li { display: inline-flex; align-items: center; }
.areas li:not(:last-child)::after { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--on-dark-3); margin: 0 13px; }
.areas .es { grid-column: 2; font-size: 15px; color: var(--on-dark); display: flex; align-items: center; gap: 10px; }
.areas .es .flag { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.1em; padding: 4px 8px; border-radius: 3px; background: var(--red); color: #fff; }
@media (max-width: 900px) {
  .cta-grid { grid-template-columns: 1fr; align-items: start; }
  .areas { grid-template-columns: 1fr; }
  .areas .es { grid-column: 1; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: calc(var(--header-h) + clamp(48px, 7vw, 96px)) 0 clamp(64px, 8vw, 104px); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.page-hero.solo .page-hero-grid { grid-template-columns: 1fr; }
.page-hero h1 { font-size: clamp(2.3rem, 5vw, 4.3rem); margin: 22px 0 24px; max-width: 16ch; }
.page-hero .lead { max-width: 58ch; }
.page-hero .btn-row { margin-top: 34px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.06em; color: var(--on-dark-3); margin-bottom: 26px; }
.crumbs a { color: var(--on-dark-2); transition: opacity 0.2s; }
.crumbs a:hover { opacity: 0.7; }
.crumbs li + li::before { content: "/"; margin-right: 10px; color: var(--on-dark-3); }
.page-hero .frame-solo { position: relative; aspect-ratio: 4 / 4.4; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-3); background: var(--ink-3); }
.page-hero .frame-solo img { width: 100%; height: 100%; object-fit: cover; }
.page-hero .frame-solo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(12, 14, 17, 0.5), transparent 45%); }
@media (max-width: 900px) {
  .page-hero-grid { grid-template-columns: 1fr; }
  .page-hero .frame-solo { aspect-ratio: 4 / 3; max-width: 560px; }
}

/* ---------- Cards (service overview) ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  border-radius: var(--r); background: var(--white); box-shadow: var(--shadow-1), inset 0 0 0 1px var(--line);
  transition: transform 0.5s var(--ease);
}
.card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: var(--shadow-2); opacity: 0; transition: opacity 0.4s var(--ease); pointer-events: none; }
.card:hover { transform: translateY(-4px); }
.card:hover::after { opacity: 1; }
.card:active { transform: translateY(-1px); }
.card-img { position: relative; aspect-ratio: 16 / 11; overflow: hidden; background: var(--paper-2); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.card:hover .card-img img { transform: scale(1.05); }
.card-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(12, 14, 17, 0.4), transparent 50%); }
.card-body { padding: 24px 24px 26px; display: grid; gap: 10px; flex: 1; align-content: start; }
.card-body .n { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 0.1em; color: var(--text-3); text-transform: uppercase; }
.card-body p { font-size: 15px; color: var(--text-2); line-height: 1.6; }
.card-body .more { margin-top: 8px; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14.5px; }
.card-body .more svg { width: 16px; height: 16px; transition: transform 0.35s var(--spring); }
.card:hover .more svg { transform: translateX(4px); }
@media (max-width: 980px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .cards { grid-template-columns: 1fr; } }

/* Anchored service blocks (services page) */
.blocks { display: grid; gap: clamp(64px, 9vw, 120px); }
.block-num { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.12em; color: var(--text-3); text-transform: uppercase; }

/* Emergency band */
.alert-band { border-radius: var(--r); padding: clamp(32px, 5vw, 56px); display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 28px 40px; align-items: center; }
.alert-band .pulse { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: rgba(216, 48, 31, 0.14); color: var(--red); position: relative; }
.alert-band .pulse::before { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 0 rgba(216, 48, 31, 0.45); animation: pulse 2.2s var(--ease) infinite; }
.alert-band .pulse svg { width: 28px; height: 28px; }
@keyframes pulse { 0% { transform: scale(1); opacity: 1; box-shadow: 0 0 0 0 rgba(216, 48, 31, 0.45); } 100% { transform: scale(1.5); opacity: 0; box-shadow: 0 0 0 10px rgba(216, 48, 31, 0); } }
.alert-band h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 10px; }
.alert-band p { color: var(--on-dark-2); max-width: 62ch; }
@media (max-width: 860px) { .alert-band { grid-template-columns: 1fr; } }

/* ---------- Service list (handyman) ---------- */
.svc-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.svc-group { background: var(--white); border-radius: var(--r); padding: 28px 28px 24px; box-shadow: var(--shadow-1), inset 0 0 0 1px var(--line); }
.svc-group h3 { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; font-size: 1.15rem; }
.svc-group h3 .ix { font-family: var(--f-mono); font-size: 11px; font-weight: 500; color: var(--text-3); letter-spacing: 0.06em; font-stretch: 100%; }
.svc-group ul { display: grid; gap: 0; }
.svc-group li { padding: 9px 0; border-top: 1px solid var(--line); font-size: 15px; color: var(--text-2); display: flex; align-items: center; gap: 12px; }
.svc-group li::before { content: ""; width: 5px; height: 5px; flex: none; border-radius: 1px; background: var(--red); transform: rotate(45deg); }
.svc-group:nth-child(even) li::before { background: var(--ice); }
@media (max-width: 1000px) { .svc-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .svc-groups { grid-template-columns: 1fr; } }

/* ---------- Spec panels (HVAC) ---------- */
.specs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.spec { border-radius: var(--r); padding: 30px 28px; display: grid; gap: 14px; align-content: start; background: var(--white); box-shadow: var(--shadow-1), inset 0 0 0 1px var(--line); }
.spec .k { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); display: flex; align-items: center; justify-content: space-between; }
.spec .k i { width: 9px; height: 9px; border-radius: 50%; background: var(--ice); font-style: normal; }
.spec .k i.hot { background: var(--red); }
.spec p { font-size: 15.5px; color: var(--text-2); }
.spec .chips { margin-top: 4px; }
.spec .chip { background: var(--paper); }
@media (max-width: 1000px) { .specs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .specs { grid-template-columns: 1fr; } }

/* ---------- Gallery strip ---------- */
.strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.strip .tile { aspect-ratio: 3 / 4; }
@media (max-width: 800px) { .strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }

/* ---------- Portfolio ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.filter {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 18px; border-radius: 999px; font-size: 14.5px; font-weight: 500;
  background: var(--white); box-shadow: inset 0 0 0 1px var(--line-strong);
  transition: transform 0.3s var(--spring);
}
.filter .ct { font-family: var(--f-mono); font-size: 11.5px; color: var(--text-3); }
.filter:hover { transform: translateY(-2px); }
.filter:active { transform: scale(0.97); }
.filter[aria-pressed="true"] { background: var(--ink); color: var(--on-dark); box-shadow: none; }
.filter[aria-pressed="true"] .ct { color: var(--on-dark-2); }
.gallery { columns: 4 260px; column-gap: 14px; }
.g-item { break-inside: avoid; margin-bottom: 14px; display: block; width: 100%; text-align: left; position: relative; overflow: hidden; border-radius: var(--r); background: var(--paper-2); box-shadow: var(--shadow-1); }
.g-item img { width: 100%; height: auto; transition: transform 0.9s var(--ease); }
.g-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(12, 14, 17, 0.6), transparent 40%); opacity: 0; transition: opacity 0.4s var(--ease); }
.g-item .cap { opacity: 0; transform: translateY(6px); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); }
.g-item:hover img { transform: scale(1.04); }
.g-item:hover::after, .g-item:focus-visible::after { opacity: 1; }
.g-item:hover .cap, .g-item:focus-visible .cap { opacity: 1; transform: none; }
.g-item[hidden] { display: none; }
@media (hover: none) { .g-item::after, .g-item .cap { opacity: 1; transform: none; } }

.lightbox { width: min(1100px, 94vw); max-height: 92vh; padding: 0; border: 0; border-radius: var(--r); background: var(--ink); color: var(--on-dark); box-shadow: var(--shadow-3); overflow: hidden; }
.lightbox::backdrop { background: rgba(8, 9, 11, 0.86); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.lightbox[open] { animation: lb-in 0.45s var(--ease); }
@keyframes lb-in { from { opacity: 0; transform: scale(0.96); } }
.lightbox figure { display: grid; grid-template-rows: minmax(0, 1fr) auto; max-height: 92vh; }
.lightbox img { width: 100%; max-height: calc(92vh - 64px); object-fit: contain; background: #000; }
.lightbox figcaption { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 18px; font-size: 14px; color: var(--on-dark-2); }
.lb-btns { display: flex; gap: 6px; }
.lb-btns button { width: 40px; height: 40px; border-radius: var(--r-sm); display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-dark-strong); transition: transform 0.3s var(--spring); }
.lb-btns button:hover { transform: translateY(-2px); }
.lb-btns button:active { transform: scale(0.94); }
.lb-btns svg { width: 18px; height: 18px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(28px, 4vw, 48px); align-items: start; }
.form-card { background: var(--white); border-radius: var(--r); padding: clamp(28px, 4vw, 48px); box-shadow: var(--shadow-2), inset 0 0 0 1px var(--line); }
.form-card h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: 10px; }
.form-card > p { color: var(--text-2); margin-bottom: 30px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--text); }
.field label .opt { font-weight: 400; color: var(--text-3); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--text);
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 13px 14px; outline: none;
}
.field textarea { min-height: 150px; resize: vertical; line-height: 1.6; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a505a' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--line-strong); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { border-color: var(--ice-deep); box-shadow: 0 0 0 3px rgba(72, 163, 224, 0.25); background: var(--white); outline: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-top: 6px; }
.form-foot .btn { min-width: 200px; }
.form-note { grid-column: 1 / -1; font-size: 13px; color: var(--text-3); }
.status { grid-column: 1 / -1; display: none; padding: 14px 16px; border-radius: var(--r-sm); font-size: 15px; font-weight: 500; }
.status.ok { display: block; background: rgba(62, 207, 110, 0.12); color: #17633a; box-shadow: inset 0 0 0 1px rgba(62, 207, 110, 0.35); }
.status.err { display: block; background: rgba(216, 48, 31, 0.08); color: var(--red-deep); box-shadow: inset 0 0 0 1px rgba(216, 48, 31, 0.3); }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }

.info-card { border-radius: var(--r); padding: clamp(28px, 3.5vw, 40px); display: grid; gap: 26px; }
.info-item { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
.info-item .ic { width: 44px; height: 44px; border-radius: var(--r-sm); display: grid; place-items: center; background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px var(--line-dark-strong); color: var(--ice); }
.info-item .ic.hot { color: var(--red); }
.info-item .ic svg { width: 20px; height: 20px; }
.info-item small { display: block; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-dark-3); margin-bottom: 4px; }
.info-item a, .info-item span { display: block; color: var(--on-dark); font-size: 16px; line-height: 1.5; }
.info-item a { transition: opacity 0.2s; }
.info-item a:hover { opacity: 0.75; }
.info-item a.big { font-family: var(--f-display); font-stretch: 112%; font-weight: 800; font-size: 24px; letter-spacing: -0.015em; }
.pay { display: flex; flex-wrap: wrap; gap: 6px; }
.pay span { display: inline-block; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.06em; padding: 5px 8px; border-radius: 3px; box-shadow: inset 0 0 0 1px var(--line-dark-strong); color: var(--on-dark-2); font-size: 11px; }

/* ---------- Quote block ---------- */
.quote { font-family: var(--f-display); font-stretch: 108%; font-weight: 700; font-size: clamp(1.5rem, 2.8vw, 2.25rem); letter-spacing: -0.02em; line-height: 1.22; max-width: 28ch; }
.quote::before { content: ""; display: block; width: 44px; height: 3px; margin-bottom: 26px; background: linear-gradient(90deg, var(--red) 0 calc(50% - 1.5px), transparent calc(50% - 1.5px) calc(50% + 1.5px), var(--ice) calc(50% + 1.5px)); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-dark-2); padding: clamp(64px, 8vw, 96px) 0 0; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-bottom: 56px; }
.foot-brand { display: grid; gap: 22px; align-content: start; }
.foot-brand .logo-badge { width: 170px; border-radius: var(--r); overflow: hidden; box-shadow: 0 0 0 1px var(--line-dark-strong), 0 18px 40px -18px rgba(0, 0, 0, 0.8); }
.foot-brand p { max-width: 34ch; line-height: 1.6; }
.foot-brand .tagline { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.08em; color: var(--on-dark); text-transform: uppercase; }
.foot-col h4 { font-family: var(--f-mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-dark-3); margin-bottom: 18px; }
.foot-col ul { display: grid; gap: 10px; }
.foot-col a { position: relative; transition: color 0.2s; }
.foot-col a:hover { color: var(--on-dark); }
.foot-col .phone { font-family: var(--f-display); font-stretch: 112%; font-weight: 800; font-size: 20px; color: var(--on-dark); letter-spacing: -0.01em; }
.social { display: flex; gap: 8px; margin-top: 6px; }
.social a { width: 40px; height: 40px; border-radius: var(--r-sm); display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-dark-strong); color: var(--on-dark); transition: transform 0.3s var(--spring); }
.social a:hover { transform: translateY(-2px); }
.social svg { width: 18px; height: 18px; }
.foot-bar { border-top: 1px solid var(--line-dark); padding: 24px 0 30px; display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; font-size: 13px; color: var(--on-dark-3); }
.foot-bar .mono { letter-spacing: 0.04em; }
@media (max-width: 980px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 540px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------- Mobile call bar ---------- */
.call-bar { display: none; }
@media (max-width: 720px) {
  .call-bar {
    position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90;
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px;
    border-radius: 10px; background: rgba(12, 14, 17, 0.92);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.6), inset 0 0 0 1px var(--line-dark-strong);
    transform: translateY(140%); transition: transform 0.5s var(--ease);
  }
  .call-bar.show { transform: none; }
  .call-bar .btn { min-height: 46px; padding: 0 12px; font-size: 14px; }
  .site-footer { padding-bottom: 76px; }
}

/* ---------- 404 ---------- */
.nf { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: calc(var(--header-h) + 40px) 0 80px; }
.nf .code { font-family: var(--f-display); font-stretch: 125%; font-weight: 900; font-size: clamp(6rem, 18vw, 13rem); letter-spacing: -0.04em; line-height: 0.9; background: linear-gradient(90deg, var(--red) 50%, var(--ice) 50%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Utilities ---------- */
.mt-s { margin-top: 16px; }
.mt-m { margin-top: 32px; }
.mt-l { margin-top: clamp(48px, 6vw, 80px); }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js .reveal, .js .load, .js .load-img { opacity: 1; transform: none; }
}

/* Dark "anything else" card on the services overview */
.card-dark { background: var(--ink); color: var(--on-dark); box-shadow: var(--shadow-2); }
.card-dark .card-body { align-content: end; padding: 30px 28px; }
.card-dark .card-body p { color: var(--on-dark-2); }
.card-dark .card-body .n { color: var(--on-dark-3); }
.card-dark .cta-phone { font-size: clamp(1.6rem, 2.4vw, 2rem); margin-top: 10px; }
.card-dark .more { color: var(--on-dark); }
.card-dark .more:hover svg { transform: translateX(4px); }
.card-dark:hover { transform: none; }

/* Compact dark panels: keep the grain, drop the blueprint grid (reads as stray lines at small sizes) */
.info-card.atmos::after, .alert-band.atmos::after { background-size: 160px 160px, 0 0, 0 0; }

/* Balanced headline wrapping avoids one-word last lines */
h1, h2, .quote { text-wrap: balance; }

/* ---------- Mobile refinements ---------- */
.info-item a, .info-item span, .foot-col a { overflow-wrap: anywhere; }
@media (max-width: 960px) {
  .svc-desc { grid-column: 2 / 4; }
  .svc-thumb { grid-row: 1; }
}
@media (max-width: 760px) {
  .t-e { grid-column: span 1; }
}
@media (max-width: 600px) {
  .hero-media .f1 .cap { display: none; }
}
@media (max-width: 640px) {
  .gallery { columns: 2; column-gap: 8px; }
  .g-item { margin-bottom: 8px; }
  .filters { gap: 6px; }
  .filter { padding: 9px 14px; font-size: 13.5px; }
}
