/* =====================================================================
   Donald Robinson Handyman — Demo
   2026 cinematic / warm / trade-trustworthy
===================================================================== */

:root {
  --bg-deep: #0E1014;
  --bg-deep-2: #15181F;
  --bg-warm: #F2EDE4;
  --bg-warm-2: #E8E1D2;
  --ink: #14110D;
  --ink-soft: #4A4339;
  --ink-mute: #7A6F60;
  --line: rgba(20, 17, 13, 0.10);
  --line-dark: rgba(242, 237, 228, 0.10);
  --light: #F7F4EC;
  --light-mute: rgba(247, 244, 236, 0.66);

  --amber: #E8923C;
  --amber-hover: #D87E26;
  --amber-soft: rgba(232, 146, 60, 0.12);

  --cyan: #2EC4FF;
  --cyan-dim: rgba(46, 196, 255, 0.18);
  --cyan-line: rgba(46, 196, 255, 0.55);

  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 28px;

  --shadow-soft: 0 10px 40px -12px rgba(20, 17, 13, 0.20);
  --shadow-deep: 0 28px 70px -20px rgba(0, 0, 0, 0.55);

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --max: 1240px;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg-warm);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Defence against any single offending element forcing the body wider
     than the viewport on mobile. `clip` is preferable to `hidden` because
     it doesn't break position:sticky on the header. */
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}

/* ------------------------------ Typography */

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin: 0 0 18px;
}
.eyebrow-cyan { color: var(--cyan); }

.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0 0 22px;
  font-variation-settings: "opsz" 96;
}
.section-title.light { color: var(--light); }

.section-sub {
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 60ch;
  margin: 0;
}
.section-sub.light { color: var(--light-mute); }

.section-head {
  max-width: 760px;
  margin: 0 auto 60px;
  text-align: center;
}

/* ------------------------------ Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  padding: 12px 22px;
  cursor: pointer;
  transition: all 0.22s var(--ease);
  white-space: nowrap;
}
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-lg { padding: 16px 28px; font-size: 16px; }

.btn-amber {
  background: var(--amber);
  color: #FFF8EC;
  border-color: var(--amber);
}
.btn-amber:hover { background: var(--amber-hover); border-color: var(--amber-hover); transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--light);
  border-color: rgba(247, 244, 236, 0.28);
}
.btn-ghost:hover { background: rgba(247, 244, 236, 0.08); border-color: rgba(247, 244, 236, 0.55); }

/* ===================================================================
   HEADER
=================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(14, 16, 20, 0.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line-dark);
  color: var(--light);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--amber);
  color: var(--bg-deep);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.04em;
}
.brand-words { display: flex; flex-direction: column; line-height: 1.15; }
.brand-line1 { font-family: var(--font-display); font-weight: 600; font-size: 16px; }
.brand-line2 { font-size: 11px; color: var(--light-mute); letter-spacing: 0.04em; }

.primary-nav {
  display: flex;
  gap: 28px;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
}
.primary-nav a {
  color: var(--light-mute);
  transition: color 0.18s var(--ease);
  padding: 8px 0;
}
.primary-nav a:hover { color: var(--light); }

.header-cta {
  display: flex;
  gap: 12px;
  align-items: center;
}
.phone-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--light-mute);
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-dark);
  transition: all 0.18s var(--ease);
}
.phone-link:hover { color: var(--light); border-color: rgba(247, 244, 236, 0.32); }

.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 6px;
  cursor: pointer;
  width: 36px;
  height: 36px;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--light);
  margin: 0 auto;
  transition: all 0.25s var(--ease);
}
.menu-toggle.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 12px;
  padding: 18px 28px 26px;
  border-top: 1px solid var(--line-dark);
}
.mobile-nav a {
  color: var(--light);
  font-size: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-dark);
}
.mobile-nav a:last-child { border: 0; }
.mobile-nav .btn { width: 100%; }
.mobile-nav.is-open { display: flex; }

/* ===================================================================
   HERO
=================================================================== */

.hero {
  position: relative;
  background: var(--bg-deep);
  color: var(--light);
  overflow: hidden;
  padding: clamp(80px, 11vw, 140px) 0 clamp(72px, 9vw, 120px);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 18% 18%, rgba(232, 146, 60, 0.18), transparent 60%),
    radial-gradient(ellipse 60% 50% at 92% 80%, rgba(46, 196, 255, 0.10), transparent 65%),
    linear-gradient(180deg, #0E1014 0%, #14181F 100%);
}
.hero-grain {
  position: absolute; inset: 0;
  opacity: 0.5;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.22 0'/></filter><rect width='160' height='160' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}

.hero-left .eyebrow { color: var(--light-mute); }

.hero-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(40px, 6.6vw, 80px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 0 0 26px;
  font-variation-settings: "opsz" 144;
}
.hero-accent {
  color: var(--amber);
  font-style: italic;
  font-variation-settings: "opsz" 144;
}

.hero-sub {
  font-size: clamp(17px, 1.4vw, 19px);
  color: var(--light-mute);
  max-width: 50ch;
  margin: 0 0 36px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.hero-badges {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 18px 26px;
  font-size: 13px;
  color: var(--light-mute);
  font-family: var(--font-mono);
}
.hero-badges li { position: relative; padding-left: 18px; }
.hero-badges li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 8px;
  height: 8px;
  background: var(--amber);
  border-radius: 50%;
}
.hero-badges strong { color: var(--light); font-weight: 600; }

/* AR card */

.hero-card {
  position: relative;
  border-radius: var(--r-xl);
  padding: 16px;
  background: linear-gradient(160deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow-deep);
}

.ar-frame {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #0A0E14;
  border: 1px solid rgba(46, 196, 255, 0.20);
}

/* The scene the glasses are looking at — sits underneath all AR chrome */
.ar-scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
/* Subtle cyan tint over the scene to suggest HUD passthrough */
.ar-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 40% 30%, rgba(46, 196, 255, 0.10), transparent 65%),
    linear-gradient(180deg, rgba(46, 196, 255, 0.03), transparent 60%);
  z-index: 1;
  pointer-events: none;
}

.ar-scanline {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(46, 196, 255, 0.18) 50%, transparent 100%);
  height: 30%;
  animation: scan 4.5s var(--ease) infinite;
  pointer-events: none;
  z-index: 2;
}
@keyframes scan {
  0% { transform: translateY(-30%); }
  100% { transform: translateY(330%); }
}

.ar-corner {
  position: absolute;
  width: 22px;
  height: 22px;
  border: 1.5px solid var(--cyan);
  opacity: 0.85;
  z-index: 3;
}
.ar-corner.tl { top: 14px; left: 14px; border-right: 0; border-bottom: 0; }
.ar-corner.tr { top: 14px; right: 14px; border-left: 0; border-bottom: 0; }
.ar-corner.bl { bottom: 14px; left: 14px; border-right: 0; border-top: 0; }
.ar-corner.br { bottom: 14px; right: 14px; border-left: 0; border-top: 0; }

.ar-label {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  background: rgba(8, 12, 18, 0.88);
  border: 1px solid var(--cyan-line);
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--cyan);
  white-space: nowrap;
  animation: fadeUp 0.6s var(--ease) backwards;
  z-index: 4;
  box-shadow: 0 4px 14px rgba(0,0,0,0.4);
}
.ar-label:nth-of-type(2) { animation-delay: 0.5s; }
.ar-label:nth-of-type(3) { animation-delay: 1s; }
.ar-label:nth-of-type(4) { animation-delay: 1.5s; }

.ar-label .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
}
.ar-label .ar-text { color: #BFE9FF; }

@keyframes fadeUp {
  0% { opacity: 0; transform: translateY(8px); }
  100% { opacity: 1; transform: translateY(0); }
}

.ar-readout {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  background: rgba(8, 12, 18, 0.92);
  border: 1px solid var(--cyan-line);
  border-radius: var(--r-sm);
  padding: 10px 14px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--cyan);
  z-index: 4;
  box-shadow: 0 6px 20px rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.ar-readout-row {
  display: flex;
  justify-content: space-between;
  padding: 3px 0;
}
.ar-readout-row span:first-child { color: rgba(191, 233, 255, 0.55); letter-spacing: 0.08em; text-transform: uppercase; font-size: 10px; }
.ar-readout-row span:last-child { color: #BFE9FF; }
.ar-readout-price { color: var(--cyan) !important; font-weight: 500; }

.ar-caption {
  margin: 14px 4px 4px;
  font-size: 12px;
  color: var(--light-mute);
  text-align: center;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}

/* ===================================================================
   TRUST BAR
=================================================================== */

.trust-bar {
  background: var(--bg-deep-2);
  color: var(--light);
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}
.trust-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 28px 28px;
  gap: 18px;
}
.trust-item { text-align: center; }
.trust-num {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 500;
  color: var(--amber);
  letter-spacing: -0.02em;
  margin-bottom: 2px;
}
.trust-label {
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--light-mute);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ===================================================================
   AR SECTION
=================================================================== */

.ar-section {
  background: var(--bg-deep);
  color: var(--light);
  padding: clamp(80px, 9vw, 130px) 0;
  position: relative;
  overflow: hidden;
}
.ar-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(46, 196, 255, 0.08), transparent 60%),
    radial-gradient(ellipse 50% 50% at 80% 100%, rgba(46, 196, 255, 0.05), transparent 60%);
  pointer-events: none;
}

.ar-head {
  max-width: 800px;
  margin: 0 auto 70px;
  text-align: center;
  position: relative;
}
.ar-head .section-title { color: var(--light); }
.ar-head .cyan { color: var(--cyan); font-style: italic; }
.ar-head .section-sub { color: var(--light-mute); margin: 0 auto; }

.ar-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
}

.ar-step {
  padding: 36px 32px;
  border: 1px solid var(--line-dark);
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, rgba(255,255,255,0.03), rgba(255,255,255,0.005));
  transition: all 0.32s var(--ease);
}
.ar-step:hover {
  border-color: var(--cyan-line);
  background: linear-gradient(160deg, rgba(46, 196, 255, 0.06), rgba(46, 196, 255, 0.015));
  transform: translateY(-3px);
}
.ar-step-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--cyan);
  letter-spacing: 0.2em;
  margin-bottom: 18px;
}
.ar-step h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 26px;
  line-height: 1.15;
  margin: 0 0 14px;
  color: var(--light);
}
.ar-step p {
  margin: 0;
  font-size: 15.5px;
  color: var(--light-mute);
  line-height: 1.6;
}

.ar-disclaimer {
  margin: 60px auto 0;
  max-width: 720px;
  text-align: center;
  font-size: 13.5px;
  color: var(--light-mute);
  line-height: 1.55;
  border-top: 1px solid var(--line-dark);
  padding-top: 32px;
  position: relative;
}

/* ===================================================================
   SERVICES
=================================================================== */

.services {
  background: var(--bg-warm);
  padding: clamp(80px, 9vw, 130px) 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card {
  background: #FFF;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px 28px;
  transition: all 0.28s var(--ease);
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(232, 146, 60, 0.32);
}
.service-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--amber-soft);
  color: var(--amber);
  border-radius: 12px;
  margin-bottom: 22px;
}
.service-icon svg { width: 22px; height: 22px; }

.service-card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.2;
  margin: 0 0 10px;
}
.service-card p {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.55;
  margin: 0 0 18px;
  flex-grow: 1;
}
.service-price {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: 0.05em;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.services-note {
  margin: 40px auto 0;
  max-width: 600px;
  text-align: center;
  font-size: 13.5px;
  color: var(--ink-mute);
  font-style: italic;
}

/* ===================================================================
   AREA
=================================================================== */

.area {
  background: var(--bg-warm-2);
  padding: clamp(80px, 9vw, 130px) 0;
}
.area-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.area-list {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 18px;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--ink-soft);
}
.area-list li {
  position: relative;
  padding-left: 18px;
}
.area-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--amber);
}

.area-map {
  border-radius: var(--r-lg);
  background: var(--bg-warm);
  border: 1px solid var(--line);
  padding: 24px;
  aspect-ratio: 1;
  box-shadow: var(--shadow-soft);
  /* iOS Safari needs an explicit min-height fallback when aspect-ratio
     interacts with grid stacking; this keeps the SVG visible if the
     aspect-ratio calculation ever fails. */
  min-height: 300px;
}
.area-map > svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* ===================================================================
   ABOUT
=================================================================== */

.about {
  background: var(--bg-warm);
  padding: clamp(80px, 9vw, 130px) 0;
}
.about-inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}

.about-photo {
  aspect-ratio: 4/5;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: linear-gradient(160deg, var(--bg-warm-2), #D8CFBC);
  box-shadow: var(--shadow-soft);
}
.photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--ink-mute);
  gap: 14px;
}
.photo-placeholder svg { width: 60px; height: 60px; opacity: 0.5; }
.photo-placeholder span { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }

.about-body {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0 0 18px;
  max-width: 56ch;
}

.about-signature {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  color: var(--ink);
  margin: 26px 0 0;
}

/* ===================================================================
   REVIEWS
=================================================================== */

.reviews {
  background: var(--bg-warm-2);
  padding: clamp(80px, 9vw, 130px) 0;
}
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 1080px;
  margin: 0 auto;
}
.review-card {
  background: var(--bg-warm);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px;
  text-align: center;
}
.review-card.pending {
  border-style: dashed;
  background: transparent;
  color: var(--ink-mute);
}
.review-stars {
  color: var(--amber);
  font-size: 18px;
  letter-spacing: 2px;
  margin-bottom: 16px;
  opacity: 0.45;
}
.review-body {
  font-family: var(--font-display);
  font-size: 18px;
  font-style: italic;
  margin: 0 0 18px;
  line-height: 1.4;
}
.review-author {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink-mute);
  margin: 0;
}

/* ===================================================================
   QUOTE FORM
=================================================================== */

.quote {
  background: var(--bg-deep);
  color: var(--light);
  padding: clamp(80px, 9vw, 130px) 0;
  position: relative;
  overflow: hidden;
}
.quote::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 12% 20%, rgba(232, 146, 60, 0.10), transparent 60%),
    radial-gradient(ellipse 60% 50% at 88% 80%, rgba(46, 196, 255, 0.06), transparent 60%);
  pointer-events: none;
}
.quote-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: start;
}

.quote-left .section-title { color: var(--light); }
.quote-contact {
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
}
.quote-contact li {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 18px;
  align-items: baseline;
  padding: 14px 0;
  border-top: 1px solid var(--line-dark);
  min-width: 0;
}
.quote-contact li:last-child { border-bottom: 1px solid var(--line-dark); }
.contact-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--light-mute);
}
.quote-contact a,
.quote-contact > li > span {
  font-size: 16px;
  font-weight: 500;
  color: var(--light);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease);
  min-width: 0;
  /* Long emails / addresses must wrap, not overflow */
  overflow-wrap: anywhere;
  word-break: break-word;
}
.quote-contact a:hover { border-color: var(--amber); }

/* form */

.quote-form {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line-dark);
  border-radius: var(--r-xl);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: var(--shadow-deep);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.quote-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.quote-form span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--light-mute);
}
.quote-form input,
.quote-form textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line-dark);
  color: var(--light);
  font-family: var(--font-body);
  font-size: 15px;
  padding: 14px 14px;
  border-radius: var(--r-md);
  transition: border-color 0.18s var(--ease), background 0.18s var(--ease);
  resize: vertical;
}
.quote-form input:focus,
.quote-form textarea:focus {
  outline: none;
  border-color: var(--amber);
  background: rgba(255,255,255,0.06);
}
.quote-form input:invalid:not(:placeholder-shown),
.quote-form textarea:invalid:not(:placeholder-shown) {
  border-color: rgba(232, 100, 60, 0.55);
}

.form-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.form-note {
  font-size: 13px;
  color: var(--light-mute);
  margin: 0;
}
.form-success {
  background: rgba(46, 196, 255, 0.10);
  border: 1px solid var(--cyan-line);
  color: var(--cyan);
  padding: 16px 20px;
  border-radius: var(--r-md);
  font-size: 15px;
}
.form-success strong { color: #BFE9FF; margin-right: 4px; }

/* ===================================================================
   FOOTER
=================================================================== */

.site-footer {
  background: #08090C;
  color: var(--light-mute);
  padding: 64px 0 36px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 40px;
}
.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.footer-brand strong {
  display: block;
  color: var(--light);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 4px;
}
.footer-brand span {
  font-size: 13px;
  font-family: var(--font-mono);
  color: var(--light-mute);
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.footer-cols h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--light);
  margin: 0 0 14px;
  font-weight: 500;
}
.footer-cols a,
.footer-cols span {
  display: block;
  font-size: 14px;
  padding: 4px 0;
  color: var(--light-mute);
  transition: color 0.18s var(--ease);
}
.footer-cols a:hover { color: var(--light); }
.footer-fine {
  grid-column: 1 / -1;
  margin: 40px 0 0;
  padding-top: 28px;
  border-top: 1px solid var(--line-dark);
  font-size: 12px;
  color: var(--light-mute);
  line-height: 1.6;
}
.footer-fine .muted { opacity: 0.55; }

/* ===================================================================
   RESPONSIVE
=================================================================== */

@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-card { max-width: 520px; margin: 12px auto 0; }
  .ar-steps { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .area-inner { grid-template-columns: 1fr; }
  .area-map { max-width: 480px; margin: 0 auto; }
  .about-inner { grid-template-columns: 1fr; }
  .about-photo { max-width: 360px; margin: 0 auto; }
  .review-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .quote-inner { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .trust-inner { grid-template-columns: repeat(2, 1fr); gap: 26px 18px; }
}

@media (max-width: 760px) {
  .container { padding: 0 20px; }
  .primary-nav, .header-cta { display: none; }
  .menu-toggle { display: flex; }
  .hero { padding: 60px 0 70px; }
  .service-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .area-list { grid-template-columns: 1fr; }
  .quote-form { padding: 24px; }
}

@media (max-width: 480px) {
  .brand-line2 { display: none; }
  .hero-title { font-size: 38px; }
  .section-title { font-size: 32px; }
  .footer-cols { grid-template-columns: 1fr; }

  /* Stack contact label above value at narrow widths so long emails
     don't have to compete for horizontal space */
  .quote-contact li {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 12px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ar-scanline { animation: none; }
  .ar-label { animation: none; }
  html { scroll-behavior: auto; }
}
