:root {
  --bg: #08090d;
  --panel: #0f121b;
  --panel-2: #131827;
  --line: #242a3b;
  --text: #f4f7ff;
  --muted: #a9b3c9;
  --red: #c8102e;
  --red-2: #ef304f;
  --ok: #22c55e;
  --radius: 18px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  --container: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: linear-gradient(180deg, #08090d, #0a0d15 40%, #08090d);
  color: var(--text);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    Segoe UI,
    Arial,
    sans-serif;
  line-height: 1.5;
}

img {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

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

.topbar {
  background: #09101f;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: #c8d2e8;
}

.topbar .inner {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
  flex-wrap: wrap;
}

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(8, 9, 13, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo img,
.logo-dark {
  height: auto;
  max-height: 56px;
  width: auto;
  display: block;
}

.nav {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.cta-group {
  display: flex;
  gap: 10px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--panel);
  font-weight: 700;
  cursor: pointer;
}

.btn.primary {
  background: linear-gradient(135deg, var(--red), var(--red-2));
  border-color: #ff5c74;
  color: white;
}

.btn.ghost {
  background: transparent;
}

/* --- LEVEL 10 HERO (BRUTALIST & ASYMMETRIC) --- */
.hero-brutalist {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 80px 0;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-video-bg {
  position: absolute;
  inset: 0;
  background: url("tag-card-light.png") center/cover no-repeat;
  z-index: 1;
}

.hero-video-bg .bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 9, 13, 0.3) 0%, #08090d 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 22px;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 40px;
  align-items: end;
}

.hero-massive {
  font-size: clamp(60px, 8vw, 130px);
  line-height: 0.9;
  font-weight: 900;
  margin: 0;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.text-hollow {
  color: transparent;
  -webkit-text-stroke: 1px var(--text);
}

.hero-tension-box {
  background: rgba(15, 18, 27, 0.6);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  padding: 32px;
  border-radius: 0px;
  /* Brutalist sharp edge */
}

.btn-large {
  padding: 16px 32px;
  font-size: 16px;
  width: 100%;
}

/* --- QUOTE OVERLAY (CONVERSATIONAL) --- */
.quote-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.quote-overlay[aria-hidden="false"] {
  opacity: 1;
  pointer-events: all;
}

.quote-overlay-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 9, 13, 0.95);
  backdrop-filter: blur(8px);
}

.quote-overlay-content {
  position: relative;
  z-index: 101;
  width: 100%;
  max-width: 600px;
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 60px 40px;
  border-radius: 0px;
  /* Sharp */
  transform: translateY(20px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.quote-overlay[aria-hidden="false"] .quote-overlay-content {
  transform: translateY(0);
}

.close-overlay {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 24px;
  cursor: pointer;
}

.quote-step {
  display: none;
  animation: fadeIn 0.4s ease forwards;
}

.quote-step.active {
  display: block;
}

.step-counter {
  font-size: 12px;
  color: var(--red);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 16px;
}

.quote-options {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.quote-opt {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
  padding: 16px;
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s;
}

.quote-opt:hover {
  border-color: var(--red);
  background: rgba(200, 16, 46, 0.1);
}

.back-btn {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 14px;
  padding: 0;
  margin-bottom: 24px;
  cursor: pointer;
}

.back-btn:hover {
  color: var(--text);
}

.overlay-form {
  margin-top: 24px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.proof-line {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 16px 0 0;
}

.chip {
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #111727;
  color: #c5cee2;
}

.hero-card {
  background: linear-gradient(145deg, #171f33, #111725);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 16px;
  box-shadow: var(--shadow);
}

.hero-image {
  height: 340px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(130deg, #252d46, #111729);
  display: grid;
  place-items: center;
  color: #93a0c2;
  font-weight: 700;
  letter-spacing: 1px;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 10px;
}

.hero-kpi {
  background: #101627;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px;
}

.hero-kpi .n {
  font-size: 20px;
  font-weight: 800;
}

.hero-kpi .l {
  color: var(--muted);
  font-size: 12px;
}

.quick-quote {
  margin: 18px 0 0;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  display: grid;
  grid-template-columns: 2fr 1.3fr 1.3fr auto;
  gap: 10px;
}

.quick-quote input,
.quick-quote select {
  width: 100%;
  border: 1px solid var(--line);
  background: #0d1220;
  color: var(--text);
  border-radius: 10px;
  padding: 11px 12px;
}

.section {
  padding: 54px 0;
}

.section h2 {
  font-size: 34px;
  line-height: 1.1;
  margin: 0 0 8px;
}

.section .sub {
  color: var(--muted);
  margin: 0;
}

/* --- LEVEL 10 SERVICES (STICKY PARALLAX) --- */
.services-narrative {
  display: flex;
  flex-direction: column;
}

.service-strip {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 80px 22px;
  overflow: hidden;
  clip-path: inset(0 0 0 0);
  /* Create stacking context for fixed child */
}

.strip-sticky-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  will-change: transform;
}

#strip-interior .strip-sticky-bg {
  background-image: url("Interior-Residential-image.png");
}

/* Placeholder img */
#strip-cabinets .strip-sticky-bg {
  background-image: url("Final-kitchen-cabinets.png");
}

/* Placeholder img */
#strip-commercial .strip-sticky-bg {
  background-image: url("Final-Commercial-painting.png");
}

/* Placeholder img */

.strip-sticky-bg .bg-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 9, 13, 0.75);
}

.strip-content {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.massive-service {
  font-size: clamp(48px, 6vw, 100px);
  line-height: 0.95;
  margin: 0;
  font-weight: 900;
  text-transform: uppercase;
  color: #fff;
}

.strip-details {
  max-width: 400px;
  background: rgba(15, 18, 27, 0.85);
  backdrop-filter: blur(16px);
  padding: 24px;
  border-left: 4px solid var(--red);
}

.strip-details p {
  color: var(--muted);
  margin: 12px 0 0;
  font-size: 16px;
}

/* --- LEVEL 10 PROJECTS (INTERACTIVE SLIDER) --- */
.slider-section {
  padding: 100px 22px;
  background: var(--panel-2);
}

.slider-header-container {
  max-width: var(--container);
  margin: 0 auto 40px;
  text-align: center;
}

.comparison-slider {
  position: relative;
  width: 100%;
  max-width: 1000px;
  height: 60vh;
  min-height: 400px;
  margin: 0 auto;
  border-radius: 0px;
  /* Sharp */
  overflow: hidden;
  border: 1px solid var(--line);
  cursor: ew-resize;
}

.img-after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.img-before-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
  z-index: 2;
}

.img-before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  max-width: 1000px;
  /* Must match container max-width */
  height: 100%;
  object-fit: cover;
  display: block;
}

.slider-handle {
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  background: var(--red);
  z-index: 3;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.slider-handle-button {
  width: 48px;
  height: 48px;
  background: var(--text);
  color: var(--bg);
  border-radius: 50%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 8px;
  box-shadow: var(--shadow);
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.comparison-slider:hover .slider-handle-button {
  transform: scale(1.1);
}

.slider-handle-button svg {
  width: 16px;
  height: 16px;
}

/* --- LEVEL 10 REVIEWS (EDITORIAL PULL-QUOTE) --- */
.editorial-reviews {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding: 100px 22px;
  background: var(--bg);
  overflow: hidden;
}

.editorial-grain {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
}

.editorial-content {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  /* Asymmetric right alignment */
  text-align: right;
}

.stars-large {
  font-size: 32px;
  color: var(--red);
  letter-spacing: 4px;
  margin-bottom: 24px;
  line-height: 1;
}

.massive-quote {
  font-family: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
  /* Contrast serif */
  font-size: clamp(32px, 5vw, 64px);
  line-height: 1.1;
  font-weight: 500;
  margin: 0 0 32px 0;
  max-width: 85%;
  color: #fff;
}

.quote-author {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.quote-author strong {
  font-size: 18px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.quote-author span {
  font-size: 14px;
  color: var(--muted);
}

.stars {
  color: #ffd166;
  font-size: 14px;
  letter-spacing: 1px;
}

.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  background: #2b1320;
  border: 1px solid #5f1a2d;
  color: #ff8ba4;
  margin-bottom: 8px;
}

.faq {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 18px;
}

.faq-item button {
  width: 100%;
  text-align: left;
  background: #10172a;
  border: 1px solid var(--line);
  color: var(--text);
  padding: 12px;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
}

.faq-item .answer {
  display: none;
  padding: 10px 4px 2px;
  color: var(--muted);
}

.faq-item.open .answer {
  display: block;
}

.contact-wrap {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 16px;
  margin-top: 18px;
}

form {
  display: grid;
  gap: 10px;
}

.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  background: #0d1220;
  color: var(--text);
  border-radius: 10px;
  padding: 12px;
}

textarea {
  min-height: 130px;
  resize: vertical;
}

.coverage {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.town {
  border: 1px dashed #32405f;
  background: #10172a;
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 13px;
  color: #d3dcf1;
}

.floating-call {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 45;
}

.floating-call a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--ok), #16a34a);
  color: #04180b;
  font-weight: 800;
  box-shadow: 0 10px 28px rgba(34, 197, 94, 0.35);
  border: 1px solid #5ee38f;
}

.footer {
  margin-top: 80px;
  padding: 60px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}

.footer-col h4 {
  color: var(--text);
  margin-top: 0;
  margin-bottom: 16px;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.footer-col p,
.footer-col a {
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 8px 0;
  display: block;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--red);
}

.social-links {
  display: flex;
  gap: 20px;
  margin-top: 16px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  /* Square-like with rounded corners */
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--muted);
}

.social-links a:hover {
  background: linear-gradient(
    45deg,
    #f09433 0%,
    #e6683c 25%,
    #dc2743 50%,
    #cc2366 75%,
    #bc1888 100%
  );
  color: #fff;
  transform: translateY(-4px) scale(1.05);
  border-color: transparent;
  box-shadow: 0 12px 24px rgba(220, 39, 67, 0.3);
}

.social-links svg {
  width: 32px;
  height: 32px;
}

.footer-bottom {
  margin-top: 60px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 13px;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

@media (max-width: 1050px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .quick-quote {
    grid-template-columns: 1fr 1fr;
  }

  .process {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-wrap {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 46px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 760px) {
  .nav {
    display: none;
  }

  .services,
  .reviews,
  .faq,
  .coverage,
  .split {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .quick-quote,
  .two {
    grid-template-columns: 1fr;
  }

  /* Typography Scaling for Mobile */
  h1 {
    font-size: 42px;
    line-height: 1.1;
  }

  .hero-massive {
    font-size: clamp(40px, 11vw, 60px);
    word-break: break-word;
  }

  h2 {
    font-size: 32px;
  }

  .massive-quote {
    font-size: 28px;
    line-height: 1.3;
  }

  .hero-tension-box {
    padding: 24px 16px;
  }

  /* Structural Padding Reduction */
  .section {
    padding: 60px 0;
  }

  .hero {
    min-height: auto;
    padding: 100px 0 60px;
  }

  .hero-image {
    height: 320px;
    margin-top: 24px;
  }

  .slider-container {
    height: 400px;
  }

  .quote-overlay-content {
    padding: 40px 24px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
  }

  .step-questions {
    grid-template-columns: 1fr;
  }

  /* Footer Fixes */
  .footer-inner {
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}
