﻿/* jezstav — modern industrial service site */
:root {
  --ink: #111110;
  --charcoal: #1a1918;
  --steel: #2b2a28;
  --stone: #f0eeeb;
  --fog: #e4e1dc;
  --white: #fafaf8;
  --copper: #c4783f;
  --copper-deep: #a35f2d;
  --copper-glow: #e0a06a;
  --muted: rgba(250, 250, 248, 0.7);
  --muted-ink: rgba(17, 17, 16, 0.62);
  --line: rgba(250, 250, 248, 0.12);
  --line-ink: rgba(17, 17, 16, 0.1);
  --radius: 2px;
  --radius-md: 12px;
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --header-h: 80px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 1180px;
  --pad: clamp(1.25rem, 4vw, 2rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--stone);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 0.45em;
}
h1 { font-size: clamp(2.75rem, 8vw, 5.5rem); }
h2 { font-size: clamp(2rem, 5vw, 3.4rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); letter-spacing: -0.02em; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.container {
  width: min(100% - (var(--pad) * 2), var(--max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 2000;
  background: var(--copper);
  color: #fff;
  padding: 0.75rem 1rem;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.95rem 1.6rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.35s var(--ease), background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
.btn__icon { width: 1rem; height: 1rem; }
.btn:hover { transform: translateY(-2px); }
.btn--accent { background: var(--copper); color: #fff; }
.btn--accent:hover { background: var(--copper-deep); }
.btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}
.btn--ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}
.btn--lg { padding: 1.05rem 1.9rem; }
.btn--block { width: 100%; }

.text-link {
  display: inline-flex;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.15rem;
  transition: color 0.2s ease;
}
.text-link:hover { color: var(--copper-deep); }

.eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--copper);
  margin: 0 0 0.85rem;
}
.eyebrow--light { color: var(--copper-glow); }

.section-head {
  max-width: 34rem;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}
.section-head--split {
  max-width: none;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: end;
}
.section-head__text {
  color: var(--muted-ink);
  font-size: 1.05rem;
  margin-top: 0.75rem;
}
.section-head--split .section-head__text { margin-top: 0; max-width: 36ch; }
.section-head--invert { color: #fff; }
.section-head--invert .section-head__text { color: var(--muted); }

/* Header */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  overflow: visible;
  transition: background 0.35s ease, backdrop-filter 0.35s ease, box-shadow 0.35s ease;
}
.header.is-solid {
  background: rgba(240, 238, 235, 0.94);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--line-ink);
}
.header:not(.is-solid) { color: #fff; }
.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  z-index: 2;
}
.brand__logos {
  position: relative;
  display: grid;
  width: clamp(108px, 18vw, 132px);
  max-height: calc(var(--header-h) - 20px);
}
.brand__logo {
  grid-area: 1 / 1;
  display: block;
  width: 100%;
  max-height: calc(var(--header-h) - 20px);
  height: auto;
  object-fit: contain;
  object-position: left center;
}
.brand__logo--white {
  opacity: 1;
  transition: opacity 0.25s ease;
}
.brand__logo--dark {
  opacity: 0;
  transition: opacity 0.25s ease;
}
.header.is-solid .brand__logo--white,
.header.is-open .brand__logo--white {
  opacity: 0;
}
.header.is-solid .brand__logo--dark,
.header.is-open .brand__logo--dark {
  opacity: 1;
}
.brand__logo--footer {
  width: clamp(140px, 22vw, 180px);
  height: auto;
}
.brand__mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
}
.brand__mark svg { width: 100%; height: 100%; }
.brand__name {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  font-style: italic;
  letter-spacing: -0.03em;
  text-transform: lowercase;
}

.hero__logo {
  width: min(220px, 55vw);
  height: auto;
  margin-bottom: 1.25rem;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.35));
}
.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav__list { display: flex; gap: 1.75rem; }
.nav a {
  font-size: 0.92rem;
  font-weight: 500;
  opacity: 0.78;
  transition: opacity 0.2s ease, color 0.2s ease;
}
.nav a:hover { opacity: 1; }
.header.is-solid .nav a:hover { color: var(--copper-deep); }
.nav__cta { flex-shrink: 0; }
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 12px 10px;
  z-index: 2;
}
.nav-toggle span {
  display: block;
  height: 1.5px;
  background: currentColor;
  margin: 7px 0;
  transition: 0.3s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4.25px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-4.25px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  color: #fff;
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; }
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Keep plumber + pipes in frame (portrait photo in wide/tall viewports) */
  object-position: 42% 38%;
  transform: scale(1.06);
  animation: heroZoom 20s var(--ease) forwards;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(10, 9, 8, 0.82) 0%, rgba(10, 9, 8, 0.45) 48%, rgba(10, 9, 8, 0.2) 100%),
    linear-gradient(0deg, rgba(10, 9, 8, 0.7) 0%, transparent 42%);
}
.hero__grain {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}
.hero__deco {
  position: absolute;
  right: 8%;
  bottom: 12%;
  width: min(160px, 18vw);
  color: rgba(224, 160, 106, 0.55);
  z-index: 1;
  pointer-events: none;
  animation: decoFloat 8s ease-in-out infinite;
}
.hero__content {
  position: relative;
  z-index: 1;
  width: min(100% - (var(--pad) * 2), var(--max));
  margin: 0 auto;
  padding: calc(var(--header-h) + 2rem) 0 clamp(4.5rem, 10vw, 7rem);
  max-width: 40rem;
  margin-left: max(var(--pad), calc((100% - var(--max)) / 2));
}
.hero__brand {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.15rem);
  font-weight: 700;
  font-style: italic;
  letter-spacing: -0.02em;
  margin: 0 0 0.85rem;
}
.hero__title { margin-bottom: 1rem; }
.hero__lead {
  color: var(--muted);
  max-width: 32ch;
  font-size: 1.08rem;
  margin-bottom: 2rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero__scroll {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 20px;
  z-index: 2;
}
.hero__scroll span {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: #fff;
  animation: scrollDot 1.6s ease-in-out infinite;
}

@keyframes heroZoom { to { transform: scale(1); } }
@keyframes decoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes scrollDot {
  0% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(16px); }
}

.reveal-hero {
  opacity: 0;
  transform: translateY(28px);
  animation: rise 0.9s var(--ease) forwards;
}
.reveal-hero:nth-child(1) { animation-delay: 0.1s; }
.reveal-hero:nth-child(2) { animation-delay: 0.22s; }
.reveal-hero:nth-child(3) { animation-delay: 0.34s; }
.reveal-hero:nth-child(4) { animation-delay: 0.46s; }
@keyframes rise { to { opacity: 1; transform: translateY(0); } }

/* Marquee */
.marquee {
  background: var(--copper);
  color: #fff;
  overflow: hidden;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.marquee__track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  animation: marquee 32s linear infinite;
  white-space: nowrap;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* Trust */
.trust {
  background: var(--ink);
  color: #fff;
  padding: 1.5rem 0;
}
.trust__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.trust__item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.9rem;
}
.trust__icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  color: var(--copper-glow);
}
.trust__icon svg { width: 100%; height: 100%; }
.trust strong {
  color: var(--copper-glow);
  font-weight: 700;
  margin-right: 0.2rem;
}

/* Service tiles */
.services {
  padding: clamp(4.5rem, 10vw, 7.5rem) 0;
  background:
    radial-gradient(ellipse at 100% 0%, rgba(196, 120, 63, 0.1), transparent 45%),
    var(--stone);
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.15rem;
}
.service-tile {
  display: grid;
  grid-template-rows: 220px 1fr;
  background: #fff;
  border: 1px solid var(--line-ink);
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s ease;
}
.service-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}
.service-tile__media {
  position: relative;
  overflow: hidden;
  background: var(--steel);
}
.service-tile__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.service-tile:hover .service-tile__media img { transform: scale(1.06); }
.service-tile__icon {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: rgba(17, 17, 16, 0.72);
  color: var(--copper-glow);
  backdrop-filter: blur(8px);
}
.service-tile__icon svg { width: 28px; height: 28px; }
.service-tile__body {
  padding: 1.35rem 1.35rem 1.5rem;
  display: grid;
  gap: 0.35rem;
}
.service-tile__num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--copper);
  letter-spacing: 0.06em;
}
.service-tile__body h3 { margin: 0; }
.service-tile__body p {
  color: var(--muted-ink);
  font-size: 0.95rem;
}

/* Work */
.work { background: var(--charcoal); }
.work__panel {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: min(72vh, 640px);
}
.work__panel--light {
  background: var(--fog);
  color: var(--ink);
}
.work__panel--dark { color: #fff; }
.work__media {
  position: relative;
  overflow: hidden;
  min-height: 320px;
}
.work__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}
.work__panel:hover .work__media img { transform: scale(1.04); }
.work__badge {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.85rem;
  background: rgba(17, 17, 16, 0.78);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}
.work__badge svg { width: 14px; height: 14px; color: var(--copper-glow); }
.work__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 6vw, 4.5rem);
}
.work__copy > p:not(.eyebrow) {
  margin: 0.5rem 0 1.25rem;
  max-width: 34ch;
  opacity: 0.78;
}
.work__points {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 1.75rem;
}
.work__points li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.92rem;
  opacity: 0.85;
}
.work__points li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--copper);
  flex-shrink: 0;
}
.work__panel--light .text-link { color: var(--ink); }
.work__panel--dark .text-link { color: #fff; }

/* Gallery bento */
.gallery {
  padding: clamp(4.5rem, 10vw, 7.5rem) 0;
  background: var(--stone);
}
.bento {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: 280px 220px;
  gap: 0.85rem;
}
.bento__item {
  position: relative;
  overflow: hidden;
  background: var(--steel);
}
.bento__item--lg {
  grid-row: 1 / 3;
}
.bento__item--wide {
  grid-column: 2 / 4;
}
.bento__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.bento__item:hover img { transform: scale(1.05); }
.bento__item figcaption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  padding: 0.4rem 0.7rem;
  background: rgba(17, 17, 16, 0.72);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}

/* Why */
.why {
  padding: clamp(4.5rem, 10vw, 7.5rem) 0;
  background: linear-gradient(160deg, #ebe6df 0%, #f2efe9 55%, #e7e1d8 100%);
}
.why__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.why__item {
  padding: 1.5rem 1.25rem;
  background: rgba(255, 255, 255, 0.55);
  border-top: 2px solid var(--copper);
}
.why__icon {
  display: block;
  width: 40px;
  height: 40px;
  color: var(--copper-deep);
  margin-bottom: 1rem;
}
.why__icon svg { width: 100%; height: 100%; }
.why__item p {
  color: var(--muted-ink);
  font-size: 0.95rem;
}

/* Process */
.process {
  padding: clamp(4.5rem, 10vw, 7.5rem) 0;
  background: var(--ink);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.process::before {
  content: "";
  position: absolute;
  inset: auto -10% -30% 40%;
  height: 60%;
  background: radial-gradient(circle, rgba(196, 120, 63, 0.18), transparent 65%);
  pointer-events: none;
}
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}
.steps__item { position: relative; padding-right: 1rem; }
.steps__visual {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin-bottom: 1rem;
  border: 1px solid rgba(196, 120, 63, 0.4);
  border-radius: 50%;
  color: var(--copper-glow);
  background: rgba(196, 120, 63, 0.08);
}
.steps__visual svg { width: 40px; height: 40px; }
.steps__num {
  display: block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--copper);
  letter-spacing: 0.08em;
  margin-bottom: 0.55rem;
}
.steps__item h3 { margin-bottom: 0.4rem; }
.steps__item p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Quote */
.quote {
  padding: clamp(4.5rem, 10vw, 7rem) 0;
  background: var(--stone);
}
.quote__layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
  align-items: center;
}
.quote__visual {
  overflow: hidden;
  min-height: 320px;
  background: var(--steel);
}
.quote__visual img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  filter: grayscale(0.25) contrast(1.05);
}
.quote__stars {
  color: var(--copper);
  letter-spacing: 0.2em;
  margin-bottom: 1.25rem;
}
.quote blockquote p {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.25;
  letter-spacing: -0.025em;
  font-weight: 600;
}
.quote cite {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1.5rem;
  font-style: normal;
  font-size: 0.92rem;
  color: var(--muted-ink);
}
.quote__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--charcoal);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

/* Pricing */
.pricing {
  padding: 0 0 clamp(3rem, 6vw, 4.5rem);
  background: var(--stone);
}
.pricing__layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding: clamp(2rem, 4vw, 3rem);
  background: #fff;
  border: 1px solid var(--line-ink);
}
.pricing__layout > div > p:not(.eyebrow) {
  color: var(--muted-ink);
  margin-bottom: 1.5rem;
  max-width: 32ch;
}
.pricing__list li {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  align-items: center;
  gap: 0.85rem;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--line-ink);
  font-size: 0.98rem;
}
.pricing__list li:first-child { border-top: 1px solid var(--line-ink); }
.pricing__icon {
  width: 24px;
  height: 24px;
  color: var(--copper);
}
.pricing__icon svg { width: 100%; height: 100%; }
.pricing__list strong {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  color: var(--copper-deep);
  white-space: nowrap;
}

/* Emergency */
.emergency {
  padding: 0 0 clamp(4rem, 8vw, 6rem);
  background: var(--stone);
}
.emergency__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(2rem, 4vw, 2.75rem);
  background:
    linear-gradient(120deg, rgba(17, 17, 16, 0.88), rgba(17, 17, 16, 0.7)),
    url("https://images.unsplash.com/photo-1607472586893-edb57bdc0e39?auto=format&fit=crop&w=1400&q=70") center/cover;
  color: #fff;
}
.emergency__copy h2 { margin-bottom: 0.4rem; }
.emergency__copy p:not(.eyebrow) {
  color: var(--muted);
  max-width: 36ch;
  margin: 0;
}

/* Contact */
.contact {
  padding: clamp(4.5rem, 10vw, 7.5rem) 0;
  background: linear-gradient(155deg, #161412 0%, var(--charcoal) 50%, #0f0e0d 100%);
  color: #fff;
}
.contact__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.contact__intro h2 { max-width: 10ch; }
.contact__intro > p {
  color: var(--muted);
  max-width: 32ch;
}
.contact__phone {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 1.75rem 0 0.35rem;
  color: var(--copper-glow);
  transition: letter-spacing 0.35s var(--ease);
}
.contact__phone:hover { letter-spacing: 0.02em; }
.contact__mail {
  opacity: 0.65;
  font-size: 0.95rem;
}
.contact__mail:hover { opacity: 1; color: var(--copper-glow); }
.contact__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}
.contact__chips span {
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--line);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact__form {
  display: grid;
  gap: 1rem;
  padding: 1.75rem;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
}
.contact__form label { display: grid; gap: 0.4rem; }
.contact__form label span {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.65;
}
.contact__form input,
.contact__form textarea,
.contact__form select {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.28);
  color: #fff;
  border-radius: var(--radius);
  padding: 0.95rem 1rem;
  font: inherit;
  resize: vertical;
  transition: border-color 0.2s ease;
}
.contact__form select option {
  color: #111;
  background: #fff;
}
.contact__form input::placeholder,
.contact__form textarea::placeholder { color: rgba(255, 255, 255, 0.32); }
.contact__form input:focus,
.contact__form textarea:focus {
  outline: none;
  border-color: var(--copper);
}
.form-note {
  min-height: 1.2em;
  font-size: 0.9rem;
  color: var(--copper-glow);
}

/* Footer */
.footer {
  background: #0a0908;
  color: #fff;
  padding-top: 3.25rem;
}
.footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 2.5rem;
}
.footer__tag {
  opacity: 0.5;
  font-size: 0.9rem;
  margin: 0;
}
.brand--footer { color: #fff; }
.footer__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.3fr;
  gap: 2rem;
  padding-bottom: 3rem;
}
.footer h3 {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--copper-glow);
  margin-bottom: 1rem;
}
.footer ul li {
  margin-bottom: 0.45rem;
  font-size: 0.92rem;
  opacity: 0.65;
}
.footer a:hover { opacity: 1; color: var(--copper-glow); }
.footer__map {
  min-height: 170px;
  border: 1px solid var(--line);
  overflow: hidden;
}
.footer__map iframe {
  width: 100%;
  height: 100%;
  min-height: 170px;
  border: 0;
  filter: grayscale(1) contrast(1.08) brightness(0.85);
}
.footer__bottom {
  border-top: 1px solid var(--line);
  padding: 1.15rem 0;
}
.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.82rem;
  opacity: 0.5;
}
.footer__social { display: flex; gap: 1.25rem; }

/* FAB */
.fab {
  position: fixed;
  right: 1.15rem;
  bottom: 1.15rem;
  z-index: 90;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  background: var(--copper);
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
  transition: transform 0.3s var(--ease), background 0.2s ease;
}
.fab svg { width: 22px; height: 22px; }
.fab:hover {
  transform: scale(1.06);
  background: var(--copper-deep);
}

/* Reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}
[data-reveal].is-in {
  opacity: 1;
  transform: translateY(0);
}
html:not(.js-ready) [data-reveal] {
  opacity: 1;
  transform: none;
}

/* Responsive */
@media (max-width: 980px) {
  .section-head--split,
  .trust__inner,
  .why__grid,
  .steps,
  .footer__grid,
  .quote__layout,
  .service-grid {
    grid-template-columns: 1fr 1fr;
  }
  .bento {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 240px 200px 200px;
  }
  .bento__item--lg {
    grid-row: auto;
    grid-column: 1 / -1;
    min-height: 260px;
  }
  .bento__item--wide { grid-column: 1 / -1; }
  .work__panel,
  .work__panel--light { grid-template-columns: 1fr; }
  .work__panel--light .work__media { order: -1; }
  .pricing__layout,
  .contact__layout { grid-template-columns: 1fr; }
  .footer__map { grid-column: 1 / -1; min-height: 200px; }
  .emergency__inner { flex-direction: column; align-items: flex-start; }
  .hero__deco { display: none; }
}

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed;
    inset: 0;
    margin: 0;
    padding: calc(var(--header-h) + 1.5rem) var(--pad) 2rem;
    background: var(--ink);
    color: #fff;
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.35s var(--ease);
  }
  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .nav__list {
    flex-direction: column;
    gap: 1.25rem;
  }
  .nav a {
    font-size: 1.5rem;
    font-family: var(--font-display);
    font-weight: 600;
    opacity: 1;
  }
  .header:not(.is-solid) .nav-toggle { color: #fff; }
  .header.is-solid .nav-toggle { color: var(--ink); }
  .header.is-open { color: #fff; }
  .header.is-open .nav-toggle { color: #fff; }
}

@media (max-width: 640px) {
  .trust__inner,
  .why__grid,
  .steps,
  .footer__grid,
  .service-grid,
  .section-head--split,
  .quote__layout,
  .bento {
    grid-template-columns: 1fr;
  }
  .bento {
    grid-template-rows: none;
  }
  .bento__item,
  .bento__item--lg,
  .bento__item--wide {
    grid-column: auto;
    grid-row: auto;
    min-height: 220px;
  }
  .trust__inner { gap: 1rem; }
  .hero { align-items: center; }
  .hero__media img {
    object-position: 38% 32%;
  }
  .hero__scrim {
    background: linear-gradient(180deg, rgba(10, 9, 8, 0.35) 0%, rgba(10, 9, 8, 0.78) 48%, rgba(10, 9, 8, 0.92) 100%);
  }
  .hero__content { margin-left: auto; margin-right: auto; }
  .footer__top,
  .footer__bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero__scroll { display: none; }
  .service-tile { grid-template-rows: 180px 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__media img,
  .reveal-hero,
  [data-reveal],
  .hero__scroll span,
  .work__media img,
  .marquee__track,
  .hero__deco,
  .service-tile__media img,
  .bento__item img {
    animation: none !important;
    transition: none !important;
  }
  .reveal-hero,
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
  .marquee__track { transform: none; }
}

/* ========== Multi-page ========== */
.nav a.is-active {
  opacity: 1;
  color: var(--copper-deep);
}
.header:not(.is-solid) .nav a.is-active {
  color: var(--copper-glow);
}

.page-hero {
  position: relative;
  min-height: min(52vh, 480px);
  display: grid;
  align-items: end;
  color: #fff;
  overflow: hidden;
  padding-top: var(--header-h);
}
.page-hero__media {
  position: absolute;
  inset: 0;
}
.page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}
.page-hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(10, 9, 8, 0.88) 0%, rgba(10, 9, 8, 0.55) 55%, rgba(10, 9, 8, 0.35) 100%),
    linear-gradient(0deg, rgba(10, 9, 8, 0.55), transparent 50%);
}
.page-hero__content {
  position: relative;
  z-index: 1;
  width: min(100% - (var(--pad) * 2), var(--max));
  margin: 0 auto;
  padding: 3.5rem 0 3rem;
}
.page-hero__content h1 {
  max-width: 14ch;
  margin-bottom: 0.65rem;
}
.page-hero__content p {
  color: var(--muted);
  max-width: 42ch;
  margin: 0;
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 1rem;
}
.breadcrumb a:hover { color: var(--copper-glow); opacity: 1; }
.breadcrumb span[aria-hidden] { opacity: 0.5; }

.page-section {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}
.page-section--alt {
  background: linear-gradient(160deg, #ebe6df 0%, #f2efe9 55%, #e7e1d8 100%);
}
.page-section--dark {
  background: var(--ink);
  color: #fff;
}

.detail {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  margin-bottom: clamp(3rem, 6vw, 4.5rem);
}
.detail:last-child { margin-bottom: 0; }
.detail--flip .detail__media { order: 2; }
.detail--flip .detail__copy { order: 1; }
.detail__media {
  overflow: hidden;
  min-height: 320px;
  background: var(--steel);
}
.detail__media img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}
.detail__copy h2 { margin-bottom: 0.75rem; }
.detail__copy > p {
  color: var(--muted-ink);
  margin-bottom: 1.25rem;
}
.page-section--dark .detail__copy > p { color: var(--muted); }
.detail__list {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.detail__list li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.95rem;
}
.detail__list li::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-top: 0.45rem;
  border-radius: 50%;
  background: var(--copper);
  flex-shrink: 0;
}

.prose {
  max-width: 62ch;
}
.prose p {
  color: var(--muted-ink);
  margin-bottom: 1.1rem;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}
.stats__item {
  padding: 1.35rem 1.1rem;
  background: rgba(255, 255, 255, 0.55);
  border-top: 2px solid var(--copper);
}
.stats__num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--copper-deep);
  margin-bottom: 0.25rem;
}
.stats__item p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted-ink);
}

.faq { display: grid; gap: 0; border-top: 1px solid var(--line-ink); }
.faq__item { border-bottom: 1px solid var(--line-ink); }
.faq__item button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 0;
  border: 0;
  background: transparent;
  font: inherit;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-align: left;
  cursor: pointer;
  color: var(--ink);
}
.faq__item button span {
  font-size: 1.4rem;
  color: var(--copper);
  line-height: 1;
}
.faq__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease), padding 0.35s ease;
}
.faq__item.is-open .faq__panel {
  max-height: 240px;
  padding-bottom: 1.2rem;
}
.faq__panel p {
  color: var(--muted-ink);
  max-width: 60ch;
  margin: 0;
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(1.75rem, 4vw, 2.5rem);
  background: var(--charcoal);
  color: #fff;
}
.cta-band h2 { margin: 0 0 0.35rem; font-size: clamp(1.5rem, 3vw, 2rem); }
.cta-band p { margin: 0; color: var(--muted); }

.price-table {
  background: #fff;
  border: 1px solid var(--line-ink);
}
.price-table__row {
  display: grid;
  grid-template-columns: 1.4fr 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--line-ink);
}
.price-table__row:last-child { border-bottom: 0; }
.price-table__row strong {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--copper-deep);
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.price-table__row p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted-ink);
}
.price-table__head {
  background: var(--ink);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.price-table__head strong { color: #fff; font-size: 0.72rem; }

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}
.filter-bar a,
.filter-bar span {
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--line-ink);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: #fff;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.filter-bar a:hover,
.filter-bar a.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}
.team-card {
  background: #fff;
  border: 1px solid var(--line-ink);
  overflow: hidden;
}
.team-card__media {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--steel);
}
.team-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.team-card__body { padding: 1.2rem 1.25rem 1.4rem; }
.team-card__body p {
  margin: 0.35rem 0 0;
  font-size: 0.92rem;
  color: var(--muted-ink);
}

@media (max-width: 980px) {
  .detail,
  .detail--flip,
  .stats,
  .team-grid,
  .price-table__row {
    grid-template-columns: 1fr;
  }
  .detail--flip .detail__media,
  .detail--flip .detail__copy { order: unset; }
  .detail--flip .detail__media { order: -1; }
  .cta-band { flex-direction: column; align-items: flex-start; }
}

/* CMS edit mode (admin preview) */
.cms-edit [data-reveal] {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}
.cms-edit .reveal-hero {
  opacity: 1 !important;
  animation: none !important;
}
.cms-edit .cms-block {
  position: relative;
  outline: 2px solid transparent;
  outline-offset: -2px;
  transition: outline-color 0.2s ease;
  cursor: pointer;
}
.cms-edit .cms-block:hover {
  outline-color: rgba(196, 120, 63, 0.55);
}
.cms-edit .cms-block.is-selected {
  outline-color: var(--copper);
}
.cms-edit .cms-block.is-selected::before {
  content: attr(data-block-type);
  position: absolute;
  z-index: 40;
  top: 0.65rem;
  left: 0.65rem;
  padding: 0.28rem 0.55rem;
  background: var(--copper);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  pointer-events: none;
}
.cms-edit a,
.cms-edit button {
  pointer-events: none;
}
