/* =========================================================
   Alex Foundation Repair — site styles
   Brand: ink black · electric blue · warm concrete grey
   ========================================================= */

:root {
  /* Ink (blacks) */
  --ink: #05070a;
  --ink-2: #0b1016;
  --ink-3: #121922;
  --ink-4: #1b2430;

  /* Blue */
  --blue: #2477ff;
  --blue-600: #155ee8;
  --blue-300: #6fb1ff;
  --sky: #3cc4ff;
  --blue-glow: rgba(36, 119, 255, 0.45);
  --grad: linear-gradient(120deg, #155ee8 0%, #2477ff 45%, #3cc4ff 100%);

  /* Concrete */
  --c-50: #f6f5f3;
  --c-100: #ecebe8;
  --c-200: #dad8d4;
  --c-300: #b9b6b0;
  --c-400: #8e8b86;
  --c-500: #6b6964;

  /* Light surfaces: concrete, never white */
  --surface: #cfcbc4;     /* page background */
  --surface-2: #c3beb6;   /* alternate sections */
  --card: #dcd8d1;        /* cards, inputs, light buttons */
  --card-hover: #e3dfd9;

  --text: #0e1318;
  --muted: #474d55;
  --line: rgba(14, 19, 24, 0.12);
  --line-dark: rgba(255, 255, 255, 0.09);
  --placeholder: #ffd23f;

  --r-sm: 8px;
  --r: 16px;
  --r-lg: 24px;
  --shadow-sm: 0 2px 8px rgba(5, 7, 10, 0.06);
  --shadow: 0 18px 50px -18px rgba(5, 7, 10, 0.28);
  --shadow-blue: 0 18px 40px -14px var(--blue-glow);

  --max: 1240px;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Barlow Condensed", "Manrope", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 84px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background-color: var(--surface);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .14 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  -webkit-font-smoothing: antialiased;
}
html, body { overflow-x: clip; }
/* Ink canvas: browsers (notably iOS Safari) tint the status bar and the
   overscroll areas from the root background, so keep it on-brand dark.
   The body still paints the concrete page background. */
html { background-color: var(--ink); }
img { max-width: 100%; display: block; }
a { color: var(--blue-600); }
::selection { background: var(--blue); color: #fff; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.02;
  margin: 0 0 0.45em;
  letter-spacing: 0.005em;
  text-transform: uppercase;
}
h1 { font-size: clamp(2.9rem, 7vw, 5.6rem); font-weight: 800; }
h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
h3 { font-size: 1.55rem; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 120px 0; position: relative; }
.section--white { background: var(--surface-2); }
.section--dark { background: var(--ink); color: var(--c-200); }
.section--dark h2, .section--dark h3 { color: #fff; }

.text-grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--grad);
  border-radius: 2px;
}
.section--dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--blue-300); }

.section-head { max-width: 760px; margin-bottom: 60px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::after {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--grad);
  border-radius: 2px;
}
.lead { font-size: 1.15rem; color: var(--muted); }
.section--dark .lead { color: var(--c-300); }

/* Concrete texture overlay (subtle noise) */
.texture { position: relative; isolation: isolate; }
.texture::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.35;
  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 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .18 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Placeholders ---------- */
.ph {
  background: var(--placeholder);
  color: var(--ink);
  padding: 0.05em 0.35em;
  border-radius: 4px;
  font-weight: 700;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.ph-block {
  border: 2px dashed var(--placeholder);
  background: rgba(255, 210, 63, 0.1);
  padding: 14px 18px;
  border-radius: var(--r-sm);
  font-size: 0.95rem;
}


/* ---------- Buttons ---------- */
.btn {
  --bg: var(--blue);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 999px;
  font-family: var(--font);
  font-weight: 800;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.25s, color 0.25s;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; transition: transform 0.35s var(--ease); }
.btn:hover svg.arrow { transform: translateX(4px); }
.btn::after {
  /* shine sweep */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,0.35) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.8s var(--ease);
}
.btn:hover::after { transform: translateX(120%); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--grad); background-size: 140% 100%; color: #fff; box-shadow: var(--shadow-blue); }
.btn--primary:hover { box-shadow: 0 22px 50px -12px var(--blue-glow); }
.btn--ghost { background: rgba(255,255,255,0.08); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.35); backdrop-filter: blur(8px); }
.btn--ghost:hover { background: var(--card); color: var(--ink); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--ink-3); box-shadow: var(--shadow); }
.btn--white { background: var(--card); color: var(--ink); }
.btn--white:hover { box-shadow: 0 20px 40px -12px rgba(0,0,0,0.4); }
.btn--lg { padding: 19px 34px; font-size: 1.05rem; }

/* ---------- Scroll progress ---------- */
.progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  z-index: 120;
  background: var(--grad);
  transform-origin: 0 50%;
  transform: scaleX(0);
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
}
/* The frosted bar lives on a pseudo-element, never on the header itself:
   backdrop-filter on .site-header would make it the containing block for the
   fixed full-screen mobile menu and squash the menu into the header bar. */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: rgba(5, 7, 10, 0.82);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 1px 0 var(--line-dark), 0 12px 30px -10px rgba(0,0,0,0.5);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.site-header.scrolled::before { opacity: 1; }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 20px;
  transition: height 0.4s var(--ease);
}
.site-header.scrolled .header-inner { height: 70px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
/* Alex's logo (assets/img/logo.webp): wide mark, sized by height */
.brand .brand-logo { display: block; height: 62px; width: auto; transition: height 0.4s var(--ease), transform 0.5s var(--ease); }
.brand:hover .brand-logo { transform: scale(1.03); }
.site-header.scrolled .brand .brand-logo { height: 52px; }
.site-footer .brand .brand-logo { height: 110px; }
.brand-name {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.brand-name small {
  display: block;
  margin-top: 4px;
  font-family: var(--font);
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--c-300);
  letter-spacing: 0.22em;
}

.nav { display: flex; align-items: center; gap: 6px; }
.nav a:not(.btn) {
  position: relative;
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 10px 14px;
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
}
.nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.nav a:not(.btn):hover { color: #fff; }
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: #fff; }
.nav .btn { margin-left: 10px; padding: 12px 22px; }

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--line-dark);
  color: #fff;
  cursor: pointer;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 13px;
  right: 13px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.4s var(--ease), opacity 0.2s;
}
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 28px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  color: #fff;
  background: var(--ink);
  overflow: hidden;
  padding: calc(var(--header-h) + 60px) 0 110px;
  isolation: isolate;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.15);
  animation: kenburns 18s var(--ease) forwards;
}
@keyframes kenburns { to { transform: scale(1.02); } }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(1200px 600px at 85% 20%, rgba(36,119,255,0.28), transparent 60%),
    linear-gradient(90deg, rgba(5,7,10,0.96) 0%, rgba(5,7,10,0.82) 42%, rgba(5,7,10,0.35) 100%),
    linear-gradient(0deg, rgba(5,7,10,0.95) 0%, transparent 35%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 50px;
  align-items: end;
}
.hero h1 { margin-bottom: 26px; }
.hero h1 .line, .page-hero h1 .line { display: block; overflow: hidden; padding-bottom: 0.04em; }
.hero h1 .line > span, .page-hero h1 .line > span {
  display: inline-block;
  transform: translateY(110%);
  animation: rise 1.1s var(--ease) forwards;
}
.hero h1 .line:nth-child(2) > span, .page-hero h1 .line:nth-child(2) > span { animation-delay: 0.12s; }
.hero h1 .line:nth-child(3) > span { animation-delay: 0.24s; }
@keyframes rise { to { transform: translateY(0); } }
.hero .lead {
  color: var(--c-200);
  font-size: 1.22rem;
  max-width: 600px;
  margin-bottom: 36px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.chips li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px 9px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--c-100);
}
.chips svg { width: 18px; height: 18px; color: var(--sky); }

.fade-in { opacity: 0; animation: fadeUp 1s var(--ease) forwards; }
.fade-in.d1 { animation-delay: 0.35s; }
.fade-in.d2 { animation-delay: 0.5s; }
.fade-in.d3 { animation-delay: 0.65s; }
.fade-in.d4 { animation-delay: 0.85s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

.glass-card {
  background: linear-gradient(160deg, rgba(255,255,255,0.12), rgba(255,255,255,0.04));
  border: 1px solid rgba(255,255,255,0.16);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  border-radius: var(--r-lg);
  padding: 28px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.6);
}
.glass-card .kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 10px;
}
.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 0 rgba(52,211,153,0.7);
  animation: ping 2s infinite;
}
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(52,211,153,0); } 100% { box-shadow: 0 0 0 0 rgba(52,211,153,0); } }
.glass-card h3 { color: #fff; font-size: 1.9rem; margin-bottom: 8px; }
.glass-card p { color: var(--c-200); font-size: 0.95rem; }
.glass-card .phone-big {
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 2.2rem;
  color: #fff;
  text-decoration: none;
  margin: 6px 0 14px;
  letter-spacing: 0.01em;
}
.glass-card .phone-big:hover { color: var(--blue-300); }
.glass-card .btn { width: 100%; }


/* Sub-page hero */
.page-hero {
  position: relative;
  color: #fff;
  background: var(--ink);
  padding: calc(var(--header-h) + 90px) 0 100px;
  overflow: hidden;
  isolation: isolate;
}
.page-hero .hero-media img { animation-duration: 14s; }
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(900px 400px at 90% 0%, rgba(36,119,255,0.3), transparent 60%),
    linear-gradient(90deg, rgba(5,7,10,0.95) 0%, rgba(5,7,10,0.75) 55%, rgba(5,7,10,0.5) 100%);
}
.page-hero .lead { color: var(--c-200); max-width: 640px; margin: 0; }
.crumbs { font-size: 0.85rem; color: var(--c-300); margin-bottom: 18px; font-weight: 600; }
.crumbs a { color: var(--c-300); text-decoration: none; }
.crumbs a:hover { color: #fff; }

/* ---------- Marquee ---------- */
.marquee {
  background: var(--grad);
  color: #fff;
  overflow: hidden;
  padding: 18px 0;
  position: relative;
  z-index: 2;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; }
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  padding-right: 28px;
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.marquee-item::after {
  content: "";
  width: 10px;
  height: 10px;
  background: var(--card);
  transform: rotate(45deg);
  opacity: 0.7;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Grids ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid > *, .split > *, .contact-grid > *, .service-row > *, .hero-grid > * { min-width: 0; }

/* ---------- Service cards ---------- */
.svc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--card);
  border-radius: var(--r);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.3s;
}
.svc-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  border-color: rgba(36,119,255,0.35);
}
.svc-media { position: relative; aspect-ratio: 16 / 11; overflow: hidden; background: var(--c-200); }
.svc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.svc-card:hover .svc-media img { transform: scale(1.08); }
.svc-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(5,7,10,0.55));
}
.svc-icon {
  /* In normal flow inside .svc-body, pulled up with a negative margin so it
     straddles the photo edge. No absolute positioning, so nothing can clip it. */
  position: relative;
  z-index: 2;
  align-self: flex-start;
  flex-shrink: 0;
  margin: -67px 0 13px;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--ink);
  color: var(--sky);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px -8px rgba(5,7,10,0.5);
  transition: background 0.4s, color 0.4s, transform 0.5s var(--ease);
}
.svc-card:hover .svc-icon { background: var(--blue); color: #fff; transform: rotate(-6deg); }
.svc-icon svg { width: 26px; height: 26px; }
.svc-body { padding: 40px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.svc-body h3 { font-size: 1.45rem; margin-bottom: 8px; }
.svc-body p { color: var(--muted); font-size: 0.95rem; margin-bottom: 18px; }
.svc-more {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--blue-600);
}
.svc-more svg { width: 16px; height: 16px; transition: transform 0.4s var(--ease); }
.svc-card:hover .svc-more svg { transform: translateX(5px); }

.svc-card--feature {
  background: var(--ink);
  color: #fff;
  border-color: transparent;
  justify-content: flex-end;
  min-height: 100%;
  isolation: isolate;
}
.svc-card--feature::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(420px 260px at 100% 0%, rgba(60,196,255,0.5), transparent 60%),
    radial-gradient(380px 300px at 0% 100%, rgba(36,119,255,0.55), transparent 65%),
    var(--ink);
  transition: transform 1s var(--ease);
}
.svc-card--feature:hover::before { transform: scale(1.15); }
.svc-card--feature .svc-body { padding: 28px 24px; }
.svc-card--feature p { color: var(--c-200); }
.svc-card--feature .svc-more { color: var(--sky); }
.svc-card--feature .big-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  color: #fff;
}
.svc-card--feature .big-icon svg { width: 30px; height: 30px; }

/* ---------- Stats ---------- */
.stats {
  background: var(--ink);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.stats::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(700px 200px at 50% 0%, rgba(36,119,255,0.25), transparent 70%);
}
.stats-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 54px 20px; text-align: center; border-right: 1px solid var(--line-dark); }
.stat:last-child { border-right: 0; }
.stats-grid.stats-grid--3 { grid-template-columns: repeat(3, 1fr); }
.stat strong {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(3rem, 5.5vw, 4.6rem);
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(180deg, #fff 30%, var(--c-300));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat span { display: block; margin-top: 10px; color: var(--c-300); font-weight: 600; font-size: 0.95rem; }

/* ---------- Split layouts ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }

.check-list { list-style: none; padding: 0; margin: 0 0 30px; }
.check-list li { position: relative; padding-left: 36px; margin-bottom: 14px; }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: var(--grad) ;
  box-shadow: 0 6px 14px -6px var(--blue-glow);
}
.check-list li::after {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 24px;
  height: 24px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.section--dark .check-list li { color: var(--c-200); }

/* Signs section */
.signs-wrap { position: relative; overflow: hidden; isolation: isolate; }
.signs-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.signs-bg img { width: 100%; height: 120%; object-fit: cover; opacity: 0.22; filter: grayscale(0.6); will-change: transform; }
.signs-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, var(--ink) 25%, rgba(5,7,10,0.75) 100%);
}
.signs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.sign {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  border-radius: var(--r);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line-dark);
  color: var(--c-100);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.3;
  transition: background 0.35s, border-color 0.35s, transform 0.45s var(--ease);
}
.sign svg { width: 26px; height: 26px; color: var(--sky); transition: transform 0.5s var(--ease); }
.sign:hover { background: rgba(36,119,255,0.14); border-color: rgba(60,196,255,0.45); transform: translateY(-4px); }
.sign:hover svg { transform: scale(1.15) rotate(-6deg); }

/* Why-us image stack */
.img-stack { position: relative; padding: 0 0 70px 0; }
.img-stack .img-main {
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4 / 4.6;
  box-shadow: var(--shadow);
  width: 82%;
}
.img-stack .img-sub {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 52%;
  aspect-ratio: 1;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 8px solid var(--surface);
  box-shadow: var(--shadow);
}
.section--white .img-stack .img-sub { border-color: var(--surface-2); }
.img-stack img { width: 100%; height: 100%; object-fit: cover; }
.badge-spin {
  position: absolute;
  top: 28px;
  right: 6%;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: var(--ink);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-blue);
}
.badge-spin svg.ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 22s linear infinite; }
.badge-spin text { font-family: var(--font); font-weight: 800; font-size: 11.5px; letter-spacing: 3.6px; fill: var(--c-200); text-transform: uppercase; }
.badge-spin .num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 2.6rem;
  line-height: 1;
  color: #fff;
  text-align: center;
}
.badge-spin .num small { display: block; font-family: var(--font); font-size: 0.6rem; letter-spacing: 0.18em; color: var(--sky); margin-top: 2px; }
@keyframes spin { to { transform: rotate(360deg); } }

.mini-features { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 30px 0 34px; }
.mini-feature {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px;
  background: var(--card);
  border-radius: var(--r);
  border: 1px solid var(--line);
  transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
}
.mini-feature:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.mini-feature .ico {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(36,119,255,0.1);
  color: var(--blue);
}
.mini-feature .ico svg { width: 22px; height: 22px; }
.mini-feature strong { display: block; font-size: 0.98rem; line-height: 1.3; margin-bottom: 2px; }
.mini-feature span { font-size: 0.88rem; color: var(--muted); line-height: 1.45; display: block; }

/* ---------- Process ---------- */
.process { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; counter-reset: step; }
.process::before {
  content: "";
  position: absolute;
  top: 36px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--c-300) 0 8px, transparent 8px 16px);
}
.process::after {
  content: "";
  position: absolute;
  top: 36px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.8s var(--ease) 0.3s;
}
.process.in::after { transform: scaleX(1); }
.step { position: relative; z-index: 1; text-align: center; }
.step-num {
  width: 72px;
  height: 72px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: var(--card);
  border: 2px solid var(--c-200);
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--ink);
  transition: background 0.5s, color 0.5s, border-color 0.5s, box-shadow 0.5s;
}
.step:hover .step-num, .process.in .step-num {
  background: var(--ink);
  color: #fff;
  border-color: var(--blue);
  box-shadow: 0 0 0 8px rgba(36,119,255,0.12);
}
.process.in .step:nth-child(2) .step-num { transition-delay: 0.6s; }
.process.in .step:nth-child(3) .step-num { transition-delay: 1.1s; }
.process.in .step:nth-child(4) .step-num { transition-delay: 1.6s; }
.step h3 { font-size: 1.45rem; }
.step p { color: var(--muted); font-size: 0.97rem; }

/* ---------- Before / After slider ---------- */
.ba {
  --pos: 50%;
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--c-200);
  user-select: none;
  box-shadow: var(--shadow);
  touch-action: pan-y;
}
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba .ba-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); filter: saturate(0.75) contrast(1.05); }
.ba-label {
  position: absolute;
  top: 14px;
  z-index: 2;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(5,7,10,0.7);
  backdrop-filter: blur(6px);
  pointer-events: none;
}
.ba-label.before { left: 14px; }
.ba-label.after { right: 14px; background: var(--blue); }
.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 3px;
  margin-left: -1.5px;
  background: var(--card);
  z-index: 2;
  pointer-events: none;
  box-shadow: 0 0 20px rgba(0,0,0,0.4);
}
.ba-handle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 46px;
  height: 46px;
  translate: -50% -50%;
  border-radius: 50%;
  background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2305070a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l-6 6 6 6M15 6l6 6-6 6'/%3E%3C/svg%3E") center / 22px no-repeat;
  box-shadow: 0 6px 20px rgba(0,0,0,0.35);
  transition: transform 0.3s var(--ease);
}
.ba:hover .ba-handle::after { transform: scale(1.1); }
.ba { cursor: ew-resize; }
.ba.dragging { cursor: grabbing; }
.ba.dragging .ba-handle::after { transform: scale(1.15); }
/* Keyboard-only control: the container handles all pointer dragging */
.ba input[type="range"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  z-index: 3;
}
.ba:focus-within { outline: 3px solid var(--blue); outline-offset: 3px; }
.ba-caption { margin-top: 16px; }
.ba-caption strong { display: block; font-size: 1.05rem; }
.ba-caption span { color: var(--muted); font-size: 0.92rem; }
.section--dark .ba-caption span { color: var(--c-300); }
.section--dark .ba-caption strong { color: #fff; }

/* Gallery filter */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; justify-content: center; }
.filter-bar button {
  border: 1px solid var(--line);
  background: var(--card);
  padding: 10px 20px;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.3s var(--ease);
}
.filter-bar button:hover { transform: translateY(-2px); border-color: var(--blue); }
.filter-bar button.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.gallery-item { transition: opacity 0.4s, transform 0.5s var(--ease); }
.gallery-item.is-hidden { display: none; }

/* Photo strip */
.photo-strip { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 240px 240px; gap: 16px; }
.photo-strip figure { margin: 0; border-radius: var(--r); overflow: hidden; position: relative; }
.photo-strip figure:first-child { grid-row: span 2; }
.photo-strip img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.photo-strip figure:hover img { transform: scale(1.06); }
.photo-strip figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(5,7,10,0.7);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
}

/* ---------- Reviews ---------- */
.review {
  position: relative;
  margin: 0;
  padding: 34px 30px 30px;
  background: var(--card);
  border-radius: var(--r);
  border: 1px solid var(--line);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.review:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.review .quote-mark {
  position: absolute;
  top: 18px;
  right: 24px;
  font-family: Georgia, serif;
  font-size: 5rem;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.35;
}
.stars { display: flex; gap: 3px; color: #fbbc04; margin-bottom: 16px; }
.stars svg { width: 20px; height: 20px; }
.review p { color: var(--text); font-size: 1.02rem; }
.review footer { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #fff;
  background: var(--grad);
}
.review cite { font-style: normal; font-weight: 800; display: block; line-height: 1.2; }
.review footer span { font-size: 0.85rem; color: var(--muted); }
.google-row { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 44px; flex-wrap: wrap; font-weight: 700; }
.google-row svg { width: 26px; height: 26px; }

/* ---------- Service area ---------- */
.area-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; list-style: none; padding: 0; margin: 26px 0 30px; }
.area-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-weight: 700;
  transition: border-color 0.3s, transform 0.4s var(--ease), box-shadow 0.4s;
}
.area-list li:hover { border-color: var(--blue); transform: translateX(4px); box-shadow: var(--shadow-sm); }
.area-list svg { width: 18px; height: 18px; color: var(--blue); flex-shrink: 0; }
.map-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--c-200);
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.85) contrast(1.05); transition: filter 0.6s; }
.map-wrap:hover iframe { filter: none; }
.map-badge {
  position: absolute;
  left: 16px;
  bottom: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(5,7,10,0.85);
  backdrop-filter: blur(10px);
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
  pointer-events: none;
}
.map-badge .pin { width: 38px; height: 38px; border-radius: 10px; background: var(--grad); display: grid; place-items: center; flex-shrink: 0; }
.map-badge .pin svg { width: 20px; height: 20px; }
.map-badge small { display: block; color: var(--c-300); font-weight: 600; }

/* ---------- CTA ---------- */
.cta {
  position: relative;
  padding: 130px 0;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
}
.cta .hero-media img { animation: none; transform: scale(1.1); will-change: transform; }
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(120deg, rgba(21,94,232,0.93), rgba(5,7,10,0.92) 70%);
}
.cta h2 { font-size: clamp(2.6rem, 6vw, 4.8rem); margin-bottom: 18px; }
.cta p { font-size: 1.2rem; color: var(--c-100); max-width: 620px; margin: 0 auto 36px; }
.cta-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ---------- Services page ---------- */
.svc-nav {
  position: sticky;
  top: 70px;
  z-index: 40;
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 20px -14px rgba(5, 7, 10, 0.35);
}
.svc-nav ul { display: flex; gap: 6px; list-style: none; margin: 0; padding: 12px 0; overflow-x: auto; scrollbar-width: none; }
.svc-nav ul::-webkit-scrollbar { display: none; }
.svc-nav a {
  display: block;
  white-space: nowrap;
  padding: 9px 16px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--muted);
  transition: background 0.3s, color 0.3s;
}
.svc-nav a:hover { color: var(--ink); background: var(--card-hover); }
.svc-nav a.active { background: var(--ink); color: #fff; }

.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 100px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 140px;
}
.service-row:last-child { border-bottom: 0; }
.service-row:nth-child(even) .service-media { order: -1; }
.service-media { position: relative; }
.service-media .frame {
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 5 / 4;
  box-shadow: var(--shadow);
}
.service-media .frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.service-media:hover .frame img { transform: scale(1.05); }
.service-media .num {
  position: absolute;
  top: -0.5em;
  left: 24px;
  z-index: 3;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 6rem;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 6px 14px rgba(5, 7, 10, 0.35));
  pointer-events: none;
}
.service-row:nth-child(even) .service-media .num { left: auto; right: 24px; }
.service-media .tagline {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(5,7,10,0.8);
  backdrop-filter: blur(8px);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
}
.service-media .tagline { pointer-events: none; z-index: 3; }
.service-media .ba .ba-label { top: auto; bottom: 14px; }
.service-media .ba { aspect-ratio: 4 / 5; }  /* keep clear of the section number at the top */
.media-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0 0;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--muted);
}
.media-note svg { width: 18px; height: 18px; color: var(--blue); flex-shrink: 0; }
.service-media .tagline svg { width: 16px; height: 16px; color: var(--sky); }
.service-copy .lead { margin-bottom: 24px; }
.warranty-note {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px 18px;
  border-radius: 12px;
  background: var(--card);
  border: 1px solid var(--line);
  font-size: 0.95rem;
  margin-bottom: 24px;
}
.warranty-note svg { width: 24px; height: 24px; color: var(--blue); flex-shrink: 0; }

.type-card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  color: #fff;
  isolation: isolate;
}
.type-card img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.type-card:hover img { transform: scale(1.06); }
.type-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5,7,10,0.1) 20%, rgba(5,7,10,0.92)); }
.type-card .inner { padding: 36px; }
.type-card h3 { font-size: 2.2rem; color: #fff; }
.type-card p { color: var(--c-200); margin: 0; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.faq details[open] { border-color: rgba(36,119,255,0.4); box-shadow: var(--shadow-sm); }
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 26px;
  font-weight: 800;
  font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--c-100);
  position: relative;
  transition: background 0.3s, transform 0.4s var(--ease);
}
.faq summary .pm::before, .faq summary .pm::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 2px;
  background: var(--ink);
  translate: -50% -50%;
  transition: transform 0.4s var(--ease), background 0.3s;
}
.faq summary .pm::after { transform: rotate(90deg); }
.faq details[open] .pm { background: var(--blue); transform: rotate(180deg); }
.faq details[open] .pm::before, .faq details[open] .pm::after { background: var(--card); }
.faq details[open] .pm::after { transform: rotate(0deg); }
.faq .answer { padding: 0 26px 24px; color: var(--muted); }
.faq .answer p { margin: 0; }

/* ---------- About ---------- */
.portrait {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow);
}
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait .name-tag {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 18px 20px;
  border-radius: 14px;
  background: rgba(5,7,10,0.82);
  backdrop-filter: blur(10px);
  color: #fff;
}
.portrait .name-tag strong { display: block; font-family: var(--font-head); font-size: 1.6rem; text-transform: uppercase; line-height: 1.1; }
.portrait .name-tag span { color: var(--sky); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; }
.signature { font-family: "Caveat", cursive; font-size: 2.4rem; color: var(--ink); margin: 6px 0 24px; line-height: 1; }

.value-card {
  padding: 34px 30px;
  border-radius: var(--r);
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line-dark);
  transition: background 0.4s, border-color 0.4s, transform 0.5s var(--ease);
}
.value-card:hover { background: rgba(36,119,255,0.1); border-color: rgba(60,196,255,0.4); transform: translateY(-6px); }
.value-card .ico {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--grad);
  color: #fff;
  margin-bottom: 22px;
  box-shadow: var(--shadow-blue);
}
.value-card .ico svg { width: 26px; height: 26px; }
.value-card p { color: var(--c-300); margin: 0; }

.cred-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 28px;
  background: var(--card);
  border-radius: var(--r);
  border: 1px solid var(--line);
}
.cred-card .ico { width: 48px; height: 48px; flex-shrink: 0; border-radius: 12px; display: grid; place-items: center; background: var(--ink); color: var(--sky); }
.cred-card .ico svg { width: 24px; height: 24px; }
.cred-card h3 { font-size: 1.35rem; margin-bottom: 4px; }
.cred-card p { margin: 0; color: var(--muted); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 40px; align-items: start; }
.form-card {
  background: var(--card);
  border-radius: var(--r-lg);
  padding: 44px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.form { display: grid; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field label { display: block; font-weight: 800; margin-bottom: 8px; font-size: 0.88rem; }
.field input, .field select, .field textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  padding: 14px 16px;
  border: 1.5px solid var(--c-300);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--c-300); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: var(--card-hover);
  box-shadow: 0 0 0 4px rgba(36,119,255,0.14);
}
.field textarea { min-height: 150px; resize: vertical; }
.pill-group { display: flex; flex-wrap: wrap; gap: 8px; }
.pill-group label { margin: 0; position: relative; }
.pill-group input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.pill-group span {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--c-300);
  background: var(--surface);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.25s;
}
.pill-group input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.pill-group input:focus-visible + span { box-shadow: 0 0 0 4px rgba(36,119,255,0.25); }
.form-note { font-size: 0.85rem; color: var(--muted); margin: 0; }
.form-status { font-weight: 700; margin: 0; min-height: 1.5em; }
.form-status.ok { color: #0f8a4a; }
.form-status.err { color: #c62828; }

.contact-card {
  background: var(--ink);
  color: var(--c-200);
  border-radius: var(--r-lg);
  padding: 36px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.contact-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(400px 260px at 100% 0%, rgba(36,119,255,0.4), transparent 60%);
}
.contact-card h3 { color: #fff; font-size: 1.8rem; }
.contact-line { display: flex; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line-dark); }
.contact-line:first-of-type { border-top: 0; }
.contact-line .ico { width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,0.07); display: grid; place-items: center; flex-shrink: 0; color: var(--sky); }
.contact-line .ico svg { width: 22px; height: 22px; }
.contact-line small { display: block; color: var(--c-400); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.contact-line a, .contact-line b { color: #fff; font-weight: 800; text-decoration: none; }
.contact-line a:hover { color: var(--blue-300); }
.big-phone { font-family: var(--font-head); font-size: 2rem; letter-spacing: 0.01em; }
.quick-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.quick-actions .btn { padding: 14px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--c-300);
  padding: 90px 0 0;
  font-size: 0.95rem;
  position: relative;
  overflow: hidden;
}
.footer-big {
  font-family: var(--font-head);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(3.2rem, 11vw, 10rem);
  line-height: 1;
  letter-spacing: 0.01em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255,255,255,0.22);
  white-space: nowrap;
  margin: 40px 0 0;
  padding-bottom: 0.18em;   /* show the whole word: it used to sink below the page edge */
  text-align: center;
  user-select: none;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: 50px; }
.site-footer h4 { color: #fff; font-size: 1.15rem; letter-spacing: 0.06em; margin-bottom: 20px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: var(--c-300); text-decoration: none; transition: color 0.2s; }
.site-footer a:hover { color: #fff; }
.footer-about { margin: 20px 0 24px; max-width: 340px; }
.socials { display: flex; gap: 10px; }
.socials a {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--line-dark);
  display: grid;
  place-items: center;
  color: #fff;
  transition: background 0.3s, transform 0.4s var(--ease);
}
.socials a:hover { background: var(--blue); transform: translateY(-3px); }
.socials svg { width: 19px; height: 19px; }
.footer-call { font-family: var(--font-head); font-size: 1.8rem; font-weight: 800; color: #fff !important; }
.footer-bottom {
  border-top: 1px solid var(--line-dark);
  margin-top: 60px;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.85rem;
}

/* ---------- Floating call / mobile bar ---------- */
.fab-call {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-blue);
  opacity: 0;
  transform: translateY(20px) scale(0.8);
  pointer-events: none;
  transition: opacity 0.4s, transform 0.5s var(--ease);
}
.fab-call.show { opacity: 1; transform: none; pointer-events: auto; }
.fab-call svg { width: 26px; height: 26px; position: relative; z-index: 1; }
.fab-call::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--blue);
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse { 0% { transform: scale(1); opacity: 0.6; } 100% { transform: scale(1.8); opacity: 0; } }

.mobile-bar {
  display: none;
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 95;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 8px;
  border-radius: 20px;
  background: rgba(5,7,10,0.88);
  backdrop-filter: blur(14px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.35);
}
.mobile-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px;
  border-radius: 14px;
  font-weight: 800;
  text-decoration: none;
  color: #fff;
}
.mobile-bar a:first-child { background: var(--grad); }
.mobile-bar a:last-child { background: rgba(255,255,255,0.1); }
.mobile-bar svg { width: 18px; height: 18px; }

/* ---------- Scroll reveal ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--ease), transform 1s var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.js [data-reveal="left"] { transform: translateX(-50px); }
.js [data-reveal="right"] { transform: translateX(50px); }
.js [data-reveal="zoom"] { transform: scale(0.92); }
.js [data-reveal].in { opacity: 1; transform: none; }

.js .img-reveal { clip-path: inset(0 0 100% 0); transition: clip-path 1.3s var(--ease); }
.js .img-reveal.in { clip-path: inset(0 0 0 0); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-grid .glass-card { max-width: 440px; }
  .split, .service-row { gap: 56px; }
}

@media (max-width: 900px) {
  :root { --header-h: 72px; }
  /* Solid header on mobile so Safari samples black for the status bar
     instead of a see-through header over the page. */
  .site-header { background-color: var(--ink); }
  .section { padding: 90px 0; }
  .nav-toggle { display: block; }
  .nav {
    position: fixed;
    inset: 0;
    z-index: -1;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    gap: 4px;
    padding: 100px 28px 40px;
    background: var(--ink);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s var(--ease), visibility 0.4s;
  }
  .nav.open { opacity: 1; visibility: visible; }
  .nav a:not(.btn) {
    font-family: var(--font-head);
    font-size: 2.4rem;
    text-transform: uppercase;
    padding: 8px 0;
    border-radius: 0;
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.6s var(--ease), opacity 0.6s, color 0.2s;
  }
  .nav.open a:not(.btn) { transform: none; opacity: 1; }
  .nav.open a:nth-child(2) { transition-delay: 0.05s; }
  .nav.open a:nth-child(3) { transition-delay: 0.1s; }
  .nav.open a:nth-child(4) { transition-delay: 0.15s; }
  .nav.open a:nth-child(5) { transition-delay: 0.2s; }
  .nav a:not(.btn)::after { left: 0; right: auto; width: 60px; bottom: 6px; }
  .nav .btn {
    margin: 24px 0 0;
    padding: 18px;
    font-size: 1.1rem;
    opacity: 0;
    transform: translateY(20px);
    transition: transform 0.6s var(--ease), opacity 0.6s;
  }
  .nav.open .btn { opacity: 1; transform: none; transition-delay: 0.25s; }
  .nav { overflow-y: auto; overscroll-behavior: contain; }
  .site-header.menu-open::before { opacity: 0; transition: none; }

  .split, .contact-grid, .service-row { grid-template-columns: 1fr; }
  .service-row:nth-child(even) .service-media { order: 0; }
  .service-row { padding: 70px 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line-dark); }
  /* 3-stat row stays 3 across instead of leaving one stat alone */
  .stats-grid.stats-grid--3 { grid-template-columns: repeat(3, 1fr); }
  .stats-grid--3 .stat { border-bottom: 0; border-right: 1px solid var(--line-dark); padding: 40px 8px; }
  .stats-grid--3 .stat:last-child { border-right: 0; }
  .process { grid-template-columns: repeat(2, 1fr); row-gap: 50px; }
  .process::before, .process::after { display: none; }
  .signs { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .photo-strip { grid-template-columns: 1fr 1fr; grid-template-rows: 260px 180px 180px; }
  .photo-strip figure:first-child { grid-column: span 2; grid-row: auto; }
  .img-stack { max-width: 560px; }
  .svc-nav { top: 64px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 18px; }
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 40px; }
  .grid-2, .grid-3, .grid-4, .form-row, .mini-features { grid-template-columns: 1fr; }
  .signs { grid-template-columns: 1fr 1fr; }
  .sign { padding: 16px; font-size: 0.88rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero { padding-bottom: 80px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .brand-name { font-size: 1.15rem; }
  .brand .brand-logo, .site-header.scrolled .brand .brand-logo { height: 48px; }
  .site-footer .brand .brand-logo { height: 96px; }
  .process { grid-template-columns: 1fr; }
  .form-card { padding: 26px 20px; }
  .badge-spin { width: 116px; height: 116px; top: 16px; }
  .badge-spin .num { font-size: 2rem; }
  .badge-spin text { font-size: 10px; letter-spacing: 2.4px; }
  .area-list { grid-template-columns: 1fr 1fr; }
  .fab-call { display: none; }
  .mobile-bar { display: grid; }
  body { padding-bottom: 84px; }
  .cta { padding: 90px 0; }
  .cta-actions .btn { flex: 1 1 100%; }
  .service-media .num { font-size: 4.2rem; left: 16px; }
  .service-row:nth-child(even) .service-media .num { right: 16px; }
  .type-card { min-height: 340px; }
  .type-card .inner { padding: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal], .js .img-reveal { opacity: 1; transform: none; clip-path: none; }
  .hero h1 .line > span, .page-hero h1 .line > span { transform: none; }
  .fade-in { opacity: 1; }
}

/* =========================================================
   Real job photos (added 2026-10-11)
   ========================================================= */

/* Alex's photos are mostly vertical phone shots: give service images a portrait frame */
.service-media .frame { aspect-ratio: 4 / 5; }

/* ---------- Gallery project cards ---------- */
.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.project {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--ink);
  cursor: zoom-in;
  text-align: left;
  font: inherit;
  color: #fff;
  aspect-ratio: 4 / 5;
  isolation: isolate;
  box-shadow: var(--shadow-sm);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.project:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.project:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.project img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.project:hover img { transform: scale(1.06); }
.project::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(5,7,10,0) 40%, rgba(5,7,10,0.92));
}
.project .count {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(5,7,10,0.7);
  backdrop-filter: blur(6px);
  font-size: 0.78rem;
  font-weight: 800;
}
.project .count svg { width: 15px; height: 15px; }
.project .tag {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--blue);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.project .info { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px; }
.project h3 { font-size: 1.5rem; color: #fff; margin-bottom: 6px; }
.project p { margin: 0; color: var(--c-200); font-size: 0.9rem; line-height: 1.45; }
.project .when { display: block; margin-top: 8px; color: var(--sky); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.project.is-hidden { display: none; }

/* Featured before/after (gallery top + home) */
.ba-feature { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 50px; align-items: center; }
.ba-feature > * { min-width: 0; }
.ba-feature .ba { aspect-ratio: 4 / 3; }
.thumbs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 26px 0 30px; }
.thumbs a { position: relative; display: block; aspect-ratio: 1; border-radius: 12px; overflow: hidden; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.thumbs a:hover img { transform: scale(1.08); }
.thumbs span {
  position: absolute; left: 8px; bottom: 8px; padding: 3px 9px; border-radius: 999px;
  background: rgba(5,7,10,0.75); color: #fff; font-size: 0.72rem; font-weight: 800;
}

/* ---------- Lightbox ---------- */
.lightbox {
  width: 100vw;
  height: 100vh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(5,7,10,0.96);
  color: #fff;
}
.lightbox::backdrop { background: rgba(5,7,10,0.9); }
.lightbox[open] { display: grid; grid-template-rows: auto 1fr auto; }
.lb-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 20px; }
.lb-title { font-family: var(--font-head); font-size: 1.4rem; text-transform: uppercase; }
.lb-title small { display: block; font-family: var(--font); font-size: 0.8rem; color: var(--c-300); text-transform: none; letter-spacing: 0; }
.lb-stage { position: relative; min-height: 0; overflow: hidden; padding: 0 70px; }
/* Fill the stage and letterbox: a % max-height can't constrain an image inside a grid row */
.lb-stage img { display: block; width: 100%; height: 100%; object-fit: contain; user-select: none; }
.lb-btn {
  width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08); color: #fff; display: grid; place-items: center; cursor: pointer;
  transition: background 0.2s;
}
.lb-btn:hover { background: var(--blue); }
.lb-btn svg { width: 22px; height: 22px; }
.lb-prev, .lb-next { position: absolute; top: 50%; translate: 0 -50%; }
.lb-prev { left: 12px; }
.lb-next { right: 12px; }
.lb-count { text-align: center; padding: 14px; color: var(--c-300); font-weight: 700; font-size: 0.9rem; }
body.lb-open { overflow: hidden; }

@media (max-width: 900px) {
  .projects { grid-template-columns: repeat(2, 1fr); }
  .ba-feature { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 640px) {
  .projects { grid-template-columns: 1fr; }
  .project { aspect-ratio: 4 / 4.4; }
  .lb-stage { padding: 0 8px; }
  .lb-prev, .lb-next { top: auto; bottom: -58px; translate: none; }
  .lb-prev { left: 16px; }
  .lb-next { right: 16px; }
}
