/* ========================================
   DFW Coatings — Main Stylesheet
   Inspired by Integrity Concrete Coatings
   ======================================== */

:root {
  --color-primary: #22335c;
  --color-primary-light: #34589a;
  --color-accent: #3b5998;
  --color-accent-light: #5277bd;
  --color-accent-dark: #2c4373;
  --color-accent-on-dark: #9db8e8;
  --color-cta: #f2a007;
  --color-cta-hover: #d98c00;
  --color-cta-text: #412402;
  --color-white: #ffffff;
  --color-off-white: #f8f7f4;
  --color-light-gray: #f0eeeb;
  --color-mid-gray: #d1cdc6;
  --color-dark-gray: #6b6b6b;
  --color-text: #2c2c2c;
  --color-text-light: #5a5a5a;
  --color-border: #e5e2dd;

  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Archivo', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Shadows tinted toward the brand navy (34,51,92) rather than flat black —
     reads as cohesive depth instead of a generic grey drop shadow. */
  --shadow-sm: 0 1px 3px rgba(34,51,92,0.08), 0 1px 2px rgba(34,51,92,0.05);
  --shadow-md: 0 4px 14px rgba(34,51,92,0.10);
  --shadow-lg: 0 14px 40px rgba(34,51,92,0.14);
  --shadow-xl: 0 24px 60px rgba(34,51,92,0.16);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Re-theme: on dark/navy sections, lighten the blue accent so small text/icons stay legible */
.features-marquee,
.footer,
.vision__video-placeholder {
  --color-accent: var(--color-accent-on-dark);
}
.nav__mobile-phone,
.nav__mobile-links a:hover,
.contact__badge svg {
  color: var(--color-accent-on-dark);
}
/* Hero "Call Us" button: filled white with brand-blue text so it stays
   readable over the bright animated floor */
.hero__buttons .btn--accent {
  background: var(--color-white);
  color: var(--color-accent);
  border-color: var(--color-white);
  box-shadow: 0 4px 18px rgba(10, 17, 36, 0.35);
}
.hero__buttons .btn--accent:hover {
  background: var(--color-off-white);
  color: var(--color-accent-dark);
  border-color: var(--color-off-white);
}

/* Reset */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-primary);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

ul {
  list-style: none;
}

/* ========================================
   Utility Classes
   ======================================== */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.15;
  margin-bottom: 14px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--color-text-light);
  max-width: 650px;
  margin-bottom: 32px;
  line-height: 1.6;
}

.text-accent {
  color: var(--color-accent);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-family: var(--font-primary);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--color-cta);
  color: var(--color-cta-text);
  border-color: var(--color-cta);
}

.btn--primary:hover {
  background: var(--color-cta-hover);
  border-color: var(--color-cta-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(242, 160, 7, 0.35);
}

.btn--accent {
  background: transparent;
  color: var(--color-accent);
  border-color: var(--color-accent);
}

.btn--accent:hover {
  background: var(--color-accent);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn--white {
  background: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-white);
}

.btn--white:hover {
  background: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
}

.btn--outline:hover {
  background: var(--color-white);
  color: var(--color-primary);
  transform: translateY(-2px);
}

.btn--full {
  width: 100%;
}

.btn--lg {
  padding: 18px 36px;
  font-size: 1.05rem;
}

/* ----- CTA conversion optimizations ----- */
/* Directional arrow nudges forward on hover (forward motion lifts click-through) */
.btn__arrow {
  width: 16px;
  height: 16px;
  margin-left: 8px;
  flex-shrink: 0;
  transition: transform var(--transition);
}
.btn--primary:hover .btn__arrow,
.nav__cta:hover .btn__arrow,
.mobile-cta__quote:hover .btn__arrow {
  transform: translateX(4px);
}

/* Stronger affordance on the amber primary CTA: lift + glow on hover, press on click */
.btn--primary {
  box-shadow: 0 2px 10px rgba(242, 160, 7, 0.25);
}
.btn--primary:active {
  transform: translateY(0);
  box-shadow: 0 1px 4px rgba(242, 160, 7, 0.3);
}

/* TEST: hero social-proof trust pill above the CTA */
.hero__rating {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  backdrop-filter: blur(4px);
}
.hero__rating-stars {
  display: inline-flex;
  gap: 2px;
  color: var(--color-cta);
}
.hero__rating-stars svg {
  width: 17px;
  height: 17px;
}
.hero__rating-text {
  font-size: 0.85rem;
  color: var(--color-white);
  font-weight: 500;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}
.hero__rating-text strong {
  font-weight: 800;
}

/* Reassurance / risk-reversal microcopy beneath the hero CTAs */
.hero__reassurance {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 10px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55);
}
/* Frosted navy pills: the microcopy stays readable over the bright animated
   floor no matter which frame is behind it */
.hero__reassurance span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(13, 21, 44, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.hero__reassurance svg {
  width: 15px;
  height: 15px;
  color: var(--color-cta);
}

/* Visible keyboard-focus ring (accessibility = conversions for AT/keyboard users) */
.btn--primary:focus-visible,
.nav__cta:focus-visible,
.mobile-cta__quote:focus-visible,
.nav__mobile-cta:focus-visible {
  outline: 3px solid var(--color-cta);
  outline-offset: 3px;
}

/* ========================================
   Navigation
   ======================================== */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: all var(--transition);
}

.nav--scrolled {
  background: rgba(34, 51, 92, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

.nav__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 92px;
}

.nav__logo {
  display: flex;
  align-items: center;
  z-index: 10;
}

.nav__logo-img {
  height: 76px;
  width: auto;
  object-fit: contain;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav__links a {
  white-space: nowrap;
}

.nav__links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.02em;
  position: relative;
  padding: 4px 0;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width var(--transition);
}

.nav__links a:hover {
  color: var(--color-white);
}

.nav__links a:hover::after {
  width: 100%;
}

.nav__right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav__phone {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-white);
}

.nav__phone:hover {
  color: var(--color-accent);
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  padding: 11px 24px;
  font-size: 0.85rem;
  font-weight: 700;
  background: var(--color-cta);
  color: var(--color-cta-text);
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 10px rgba(242, 160, 7, 0.3);
  transition: all var(--transition);
}

.nav__cta:hover {
  background: var(--color-cta-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(242, 160, 7, 0.45);
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 10;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: all var(--transition);
}

.nav__hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav__hamburger.active span:nth-child(2) {
  opacity: 0;
}

.nav__hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.nav__mobile {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-primary);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.nav__mobile.active {
  opacity: 1;
  pointer-events: all;
}

.nav__mobile-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.nav__mobile-links a {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-white);
}

.nav__mobile-links a:hover {
  color: var(--color-accent);
}

.nav__mobile-cta {
  display: inline-block;
  padding: 12px 28px;
  background: var(--color-cta);
  color: var(--color-cta-text) !important;
  border-radius: var(--radius-sm);
  margin-top: 8px;
}

.nav__mobile-phone {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-accent);
  margin-top: 12px;
}

/* ========================================
   Hero Section
   ======================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /* Top padding clears the fixed 92px nav so the title never rides up under
     the logo on short or narrow viewports; box grows to fit when content is tall. */
  padding: 120px 0 64px;
  background: var(--color-primary);
  overflow: hidden;
}

.hero__image-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}

/* --- Animated hero floor scene ---
   JS paints a perspective garage floor onto .hero__canvas and animates the
   coating system going down layer by layer. The canvas fades in over the
   fallback photo once the scene has drawn its first frame (.hero--live). */
.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.hero--live .hero__canvas {
  opacity: 1;
}

.hero--live .hero__image {
  visibility: hidden;
}

@media (prefers-reduced-motion: no-preference) {
  .hero--live .hero__canvas {
    animation: heroSettle 3s cubic-bezier(0.16, 1, 0.3, 1) both;
  }
}

@keyframes heroSettle {
  from { transform: scale(1.05); }
  to   { transform: scale(1); }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  /* Heavier up top where the headline sits, lighter below so the animated
     floor build still reads — the finished gloss floor is bright, so the
     bottom keeps a modest wash for text contrast. */
  background: linear-gradient(
    180deg,
    rgba(34, 51, 92, 0.55) 0%,
    rgba(20, 32, 66, 0.4) 45%,
    rgba(20, 32, 66, 0.22) 78%,
    rgba(20, 32, 66, 0.2) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  max-width: 960px;
  padding: 0 24px;
}

/* Soft navy scrim pooled behind the hero copy: keeps the headline, buttons
   and microcopy readable over the bright finished floor without dimming the
   rest of the animation. */
.hero__content::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -14% -18%;
  background: radial-gradient(
    closest-side,
    rgba(13, 21, 44, 0.5),
    rgba(13, 21, 44, 0.3) 55%,
    rgba(13, 21, 44, 0) 100%
  );
  pointer-events: none;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 8vw, 5.5rem);
  font-weight: 900;
  color: var(--color-white);
  line-height: 1.08;
  margin-bottom: 36px;
  text-transform: uppercase;
  letter-spacing: 0.005em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5), 0 1px 3px rgba(0, 0, 0, 0.3);
}

.hero__title-accent {
  display: inline-block;
  position: relative;
  color: var(--color-cta);
  padding-bottom: 0.12em;
}

.hero__title-accent::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 88%;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--color-cta) 20%, var(--color-cta) 80%, transparent);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255,255,255,0.9);
  max-width: 700px;
  margin: 0 auto 36px;
  line-height: 1.8;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

.hero__buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__transform-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 20px 24px;
  background: var(--color-accent);
  color: var(--color-white);
  font-size: 1.1rem;
  font-weight: 700;
  transition: all var(--transition);
}

.hero__transform-bar:hover {
  background: var(--color-accent-light);
}

.hero__transform-btn {
  padding: 8px 24px;
  background: var(--color-cta);
  color: var(--color-cta-text);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
}

/* ========================================
   Services Section
   ======================================== */

.services {
  padding: 60px 0;
  background: var(--color-white);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.services__card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
  transition: all var(--transition);
}

.services__card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.services__card-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  transition: transform var(--transition);
}

.services__card:hover .services__card-bg {
  transform: scale(1.05);
}

.services__card-bg--residential {
  background: linear-gradient(135deg, #34589a, #4f6db0);
}

.services__card-bg--commercial {
  background: linear-gradient(135deg, #1f2d52, #3b5998);
}

.services__card-bg--patio {
  background: linear-gradient(135deg, #2c4373, #5277bd);
}

.services__card-bg--garage {
  background: linear-gradient(135deg, #22335c, #466aa8);
}

.services__card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.7) 100%);
  z-index: 1;
}

.services__card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 28px;
}

.services__card-content h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-white);
}

.services__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 48px;
  flex-wrap: wrap;
}

/* ========================================
   Vision Section
   ======================================== */

.vision {
  padding: 60px 0;
  background: var(--color-off-white);
}

.vision__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.vision__text p {
  font-size: 1.05rem;
  color: var(--color-text-light);
  line-height: 1.8;
  margin-bottom: 32px;
}

.vision__cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.vision__media {
  display: flex;
  align-items: center;
  justify-content: center;
}

.vision__video-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--color-primary);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: all var(--transition);
}

.vision__video-placeholder:hover {
  color: var(--color-accent);
  box-shadow: var(--shadow-xl);
}

.vision__video-placeholder span {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ========================================
   Process Section
   ======================================== */

.process {
  padding: 64px 0;
  background: var(--color-white);
}

.process__intro {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.process__intro .section-title {
  margin-bottom: 16px;
}

.process__intro .section-subtitle {
  margin: 0 auto 18px;
}

.process__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: 999px;
  background: rgba(59, 89, 152, 0.1);
  color: var(--color-accent-dark);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.process__badge svg {
  width: 18px;
  height: 18px;
  color: var(--color-cta);
  fill: var(--color-cta);
  stroke: var(--color-cta);
}

/* Coating System section */
.system {
  padding: 64px 0;
  background: var(--color-off-white);
}

.system__card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-top: 48px;
  padding: 40px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.system__visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

/* .btn sets display:inline-flex, which would defeat the hidden attribute. */
.system__try-btn[hidden] {
  display: none;
}

.system__img {
  width: 100%;
  max-width: 440px;
  height: auto;
  filter: drop-shadow(0 16px 28px rgba(34, 51, 92, 0.22));
}

.layer-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.layer-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.layer-list__swatch {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  flex-shrink: 0;
  margin-top: 2px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: var(--shadow-sm);
}

/* Glassy, high-gloss clear topcoat */
.layer-list__swatch--topcoat {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0) 40%),
    linear-gradient(135deg, #eff5fe 0%, #cfdcf1 55%, #b2c6e4 100%);
}

/* Blue + white + gray decorative flake blend */
.layer-list__swatch--flakes {
  background:
    radial-gradient(circle at 20% 24%, #ffffff 0 1.6px, transparent 1.7px),
    radial-gradient(circle at 68% 18%, #1c2f6b 0 2px, transparent 2.1px),
    radial-gradient(circle at 38% 54%, #c9d5ec 0 1.8px, transparent 1.9px),
    radial-gradient(circle at 82% 58%, #2f57b5 0 2px, transparent 2.1px),
    radial-gradient(circle at 52% 82%, #ffffff 0 1.6px, transparent 1.7px),
    radial-gradient(circle at 14% 78%, #6f86c0 0 2px, transparent 2.1px),
    radial-gradient(circle at 90% 88%, #1c2f6b 0 1.8px, transparent 1.9px),
    #34529a;
}

/* Smooth light-gray polyurea base slab */
.layer-list__swatch--base {
  background: linear-gradient(135deg, #fdfdfe 0%, #e3e5e9 58%, #ced1d7 100%);
}

/* Warm sandy-tan speckled concrete */
.layer-list__swatch--concrete {
  background:
    radial-gradient(circle at 25% 28%, #8c8270 0 1.6px, transparent 1.7px),
    radial-gradient(circle at 64% 24%, #5f574c 0 1.4px, transparent 1.5px),
    radial-gradient(circle at 44% 60%, #b3a890 0 1.8px, transparent 1.9px),
    radial-gradient(circle at 80% 70%, #6f6657 0 1.5px, transparent 1.6px),
    radial-gradient(circle at 16% 82%, #9c917a 0 1.6px, transparent 1.7px),
    linear-gradient(135deg, #e5dac4, #d0c3a8);
}

/* ========================================
   "Coat Your Floor" mini-game
   ======================================== */

.coat-game {
  width: 100%;
  max-width: 500px;
}

.coat-game[hidden] {
  display: none;
}

.coat-game__banner {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.coat-game__step-label {
  flex-shrink: 0;
  padding: 4px 10px;
  background: var(--color-accent);
  color: var(--color-white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  white-space: nowrap;
}

.coat-game__instruction {
  flex: 1;
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.4;
}

.coat-game__skip {
  flex-shrink: 0;
  background: none;
  border: none;
  padding: 4px;
  font-family: var(--font-primary);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-accent);
  text-decoration: underline;
  cursor: pointer;
}

.coat-game__skip:focus-visible {
  outline: 3px solid var(--color-cta);
  outline-offset: 2px;
  border-radius: 4px;
}

.coat-game__canvas-wrap {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
}

.coat-game__canvas {
  display: block;
  width: 100%;
  height: auto;
  cursor: crosshair;
  /* Drags paint instead of scrolling; the page still scrolls from
     everywhere outside the canvas. */
  touch-action: none;
}

/* Completion overlay */
.coat-game__done {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 20px;
  text-align: center;
  background: rgba(34, 51, 92, 0.9);
  color: var(--color-white);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.coat-game__done.visible {
  opacity: 1;
  pointer-events: auto;
}

.coat-game__done-img {
  max-height: 130px;
  width: auto;
  margin-bottom: 4px;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.3));
}

.coat-game__done-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
}

.coat-game__done-sub {
  font-size: 0.85rem;
  opacity: 0.85;
  margin-bottom: 10px;
}

.coat-game__replay {
  background: none;
  border: none;
  margin-top: 8px;
  padding: 4px;
  font-family: var(--font-primary);
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: underline;
  cursor: pointer;
}

.coat-game__replay:hover,
.coat-game__replay:focus-visible {
  color: var(--color-white);
}

/* Exit back to the static diagram */
.coat-game__exit {
  display: block;
  margin: 12px auto 0;
  background: none;
  border: none;
  padding: 4px;
  font-family: var(--font-primary);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text-light);
  text-decoration: underline;
  cursor: pointer;
}

.coat-game__exit:hover {
  color: var(--color-accent);
}

.coat-game__exit:focus-visible {
  outline: 3px solid var(--color-cta);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Coverage progress under the canvas */
.coat-game__progress {
  height: 6px;
  margin-top: 12px;
  background: var(--color-light-gray);
  border-radius: 3px;
  overflow: hidden;
}

.coat-game__progress-fill {
  width: 0;
  height: 100%;
  background: var(--color-cta);
  border-radius: 3px;
  transition: width 0.2s ease;
}

/* Layer list doubles as the game's step tracker: the active step's row is
   tinted, completed rows earn a check badge. */
.system__card.game-on .layer-list li {
  padding: 8px 12px;
  margin: -8px -12px;
  border-radius: 10px;
  transition: background-color 0.3s ease;
}

.system__card.game-on .layer-list li.is-active {
  background: rgba(59, 89, 152, 0.09);
}

.system__card.game-on .layer-list li.is-active .layer-list__swatch {
  box-shadow: 0 0 0 3px rgba(59, 89, 152, 0.3);
}

.layer-list__status {
  margin-left: auto;
  align-self: center;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-cta);
  color: var(--color-cta-text);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.4);
  transition: opacity 0.25s ease,
              transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.layer-list__status svg {
  width: 12px;
  height: 12px;
}

.layer-list li.is-done .layer-list__status {
  opacity: 1;
  transform: scale(1);
}

.layer-list li strong {
  display: block;
  font-size: 1rem;
  color: var(--color-primary);
  font-weight: 700;
}

.layer-list li span {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.5;
}

.process__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 56px;
  position: relative;
}

.process__step {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--color-off-white);
  border-radius: var(--radius-lg);
  padding: 36px 32px 34px;
  transition: all var(--transition);
  border: 1px solid var(--color-border);
}

.process__step:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-accent);
  background: var(--color-white);
}

/* Forward arrow connecting the steps (desktop 3-col only) */
.process__step:not(:last-child)::after {
  content: '→';
  position: absolute;
  top: 50%;
  right: -16px;
  transform: translate(50%, -50%);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-white);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1;
  box-shadow: var(--shadow-md);
  z-index: 2;
}

.process__step-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.process__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
  color: var(--color-white);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
  /* Playfair defaults to old-style figures ("3" descends below the baseline),
     which makes the digits sit unevenly in the circle. Force lining figures so
     all three share a baseline. Flexbox centers the glyph box, but serif figures
     read slightly high within it, so nudge down 2px to optically center them. */
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1;
  transform: translateY(2px);
  box-shadow: 0 8px 18px rgba(59, 89, 152, 0.32);
}

.process__step h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0;
  line-height: 1.2;
}

.process__step > p {
  font-size: 0.95rem;
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: 22px;
  flex: 1 1 auto;
}

.process__step-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 22px;
  border-top: 1px solid var(--color-border);
}

.process__step-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--color-text);
  font-weight: 500;
}

.process__step-list li::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-white);
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}

.process__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 56px;
  padding: 34px 40px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent-dark));
  color: var(--color-white);
}

.process__cta-text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.process__cta-text span {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.98rem;
}

.process__cta-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ========================================
   Gallery Section
   ======================================== */

.gallery {
  padding: 60px 0;
  background: var(--color-off-white);
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 240px;
  grid-auto-flow: dense;
  gap: 20px;
  margin-top: 48px;
  margin-bottom: 40px;
}

.gallery__item {
  position: relative;
  height: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition);
}

.gallery__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition);
}

.gallery__item:hover .gallery__img {
  transform: scale(1.04);
}

.gallery__item--large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery__item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.gallery__placeholder {
  height: 100%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: rgba(255,255,255,0.4);
}

.gallery__placeholder svg {
  width: 40px;
  height: 40px;
}

.gallery__placeholder span {
  font-size: 0.85rem;
  font-weight: 500;
}

/* ========================================
   Story Section (Family Owned)
   ======================================== */

.story {
  padding: 60px 0;
  background: var(--color-white);
}

.story__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.story__image-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.story__badge {
  width: 100%;
  height: 100%;
  display: block;
}

.story__text p {
  font-size: 1.05rem;
  color: var(--color-text-light);
  line-height: 1.8;
  margin-bottom: 32px;
}

.story__cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ========================================
   Testimonials Section
   ======================================== */

/* Light scheme: the contact section below is navy, so reviews stay bright
   for contrast between the two. */
.testimonials {
  padding: 60px 0;
  background: var(--color-off-white);
}

.testimonials .section-label {
  color: var(--color-accent);
}

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

.testimonial-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.testimonial-card__stars {
  font-size: 1.1rem;
  color: var(--color-cta);
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.testimonial-card blockquote {
  font-size: 0.95rem;
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}

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

.testimonial-card__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
  flex-shrink: 0;
}

.testimonial-card__author cite {
  display: block;
  font-style: normal;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-primary);
}

.testimonial-card__author span {
  font-size: 0.8rem;
  color: var(--color-dark-gray);
}

/* ========================================
   Finishes Section
   ======================================== */

.finishes {
  padding: 60px 0;
  background: var(--color-off-white);
}

.finishes__header {
  text-align: center;
  margin-bottom: 48px;
}

.finishes__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.15;
}

.finishes__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 40px;
}

.finishes__card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  transition: all var(--transition);
}

.finishes__card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.finishes__card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.finishes__card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.8));
  color: var(--color-white);
}

.finishes__card-content h4 {
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.finishes__card-content p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
}

.finishes__explore {
  display: block;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.finishes__explore:hover {
  color: var(--color-accent-light);
}

/* ========================================
   Flake Colors Page
   ======================================== */

.flake-hero {
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent-dark));
  color: var(--color-white);
  padding: 156px 0 64px;
  text-align: center;
}

.flake-hero__breadcrumb {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
}

.flake-hero__breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition);
}

.flake-hero__breadcrumb a:hover {
  color: var(--color-white);
}

.flake-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 16px;
}

.flake-hero__subtitle {
  font-size: 1.1rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.85);
  max-width: 680px;
  margin: 0 auto;
}

.flake-colors {
  padding: 72px 0;
  background: var(--color-white);
  text-align: center;
}

.flake-colors--premium {
  background: var(--color-off-white);
}

.flake-colors .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

.flake-colors__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 16px;
}

.flake-color {
  text-align: center;
}

.flake-color__frame {
  position: relative;
}

.flake-color__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  transition: transform var(--transition), box-shadow var(--transition);
}

.flake-color:hover .flake-color__img {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.flake-colors__price-tag {
  display: inline-block;
  vertical-align: middle;
  background: var(--color-cta);
  color: var(--color-cta-text);
  font-family: var(--font-primary);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0;
  padding: 6px 14px;
  border-radius: 999px;
  margin-left: 10px;
  transform: translateY(-3px);
}

.flake-color__badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--color-cta);
  color: var(--color-cta-text);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  pointer-events: none;
}

.flake-color__name {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-primary);
  margin-top: 14px;
}

.flake-colors__note {
  margin-top: 40px;
  font-size: 1rem;
  color: var(--color-text-light);
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

.flake-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(15, 22, 40, 0.88);
  padding: 24px;
}

.flake-lightbox.is-open {
  display: flex;
}

.flake-lightbox__figure {
  margin: 0;
  text-align: center;
  max-width: min(80vh, 90vw);
  width: 100%;
}

.flake-lightbox__img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 78vh;
  object-fit: contain;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}

.flake-lightbox__caption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
  color: var(--color-white);
  font-size: 1.15rem;
  font-weight: 700;
}

.flake-lightbox__tag {
  background: var(--color-cta);
  color: var(--color-cta-text);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
}

.flake-lightbox__close,
.flake-lightbox__arrow {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: var(--color-white);
  cursor: pointer;
  transition: background var(--transition);
}

.flake-lightbox__close:hover,
.flake-lightbox__arrow:hover {
  background: rgba(255, 255, 255, 0.25);
}

.flake-lightbox__close {
  top: 20px;
  right: 20px;
}

.flake-lightbox__close svg,
.flake-lightbox__arrow svg {
  width: 22px;
  height: 22px;
}

.flake-lightbox__arrow {
  top: 50%;
  transform: translateY(-50%);
}

.flake-lightbox__arrow--prev {
  left: 20px;
}

.flake-lightbox__arrow--next {
  right: 20px;
}

@media (max-width: 640px) {
  .flake-lightbox__arrow--prev {
    left: 8px;
  }
  .flake-lightbox__arrow--next {
    right: 8px;
  }
  .flake-lightbox__close,
  .flake-lightbox__arrow {
    width: 42px;
    height: 42px;
  }
}

.flake-cta {
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent-dark));
  color: var(--color-white);
  padding: 72px 0;
  text-align: center;
}

.flake-cta__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.flake-cta__subtitle {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 560px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

.flake-cta__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

@media (max-width: 900px) {
  .flake-colors__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .flake-hero {
    padding: 132px 0 48px;
  }
  .flake-colors__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
}

/* ========================================
   Features Marquee
   ======================================== */

.features-marquee {
  background: var(--color-primary);
  padding: 28px 0;
  overflow: hidden;
}

.features-marquee__track {
  display: flex;
  animation: marquee 30s linear infinite;
  width: max-content;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.features-marquee__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 48px;
  white-space: nowrap;
  color: var(--color-white);
  border-right: 1px solid rgba(255,255,255,0.1);
}

.features-marquee__item svg {
  flex-shrink: 0;
  color: var(--color-accent);
}

.features-marquee__item strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
}

.features-marquee__item span {
  display: block;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
}

/* ========================================
   Service Area Section
   ======================================== */

.service-area {
  padding: 60px 0;
  background: var(--color-white);
}

.service-area__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.service-area__text p {
  font-size: 1.05rem;
  color: var(--color-text-light);
  line-height: 1.8;
  margin-bottom: 20px;
}

.service-area__phone {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--color-accent);
  margin-bottom: 32px;
}

.service-area__phone:hover {
  color: var(--color-accent-light);
}

.service-area__cities h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 16px;
}

.service-area__cities-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.service-area__cities-list span {
  padding: 6px 14px;
  background: var(--color-off-white);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text);
  border: 1px solid var(--color-border);
  transition: all var(--transition);
}

.service-area__cities-list span:hover {
  background: var(--color-accent);
  color: var(--color-primary);
  border-color: var(--color-accent);
}

.service-area__map-placeholder {
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--color-off-white), var(--color-light-gray));
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--color-mid-gray);
  border: 2px solid var(--color-border);
}

.service-area__map-placeholder span {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-light);
}

/* ========================================
   FAQs Section
   ======================================== */

.faqs {
  padding: 60px 0;
  background: var(--color-off-white);
}

.faqs__list {
  max-width: 800px;
  margin: 0 auto;
}

.faq {
  border-bottom: 1px solid var(--color-border);
}

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 24px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-primary);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-primary);
  transition: color var(--transition);
}

.faq__question:hover {
  color: var(--color-accent);
}

.faq__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--color-accent);
  transition: transform var(--transition);
}

.faq.active .faq__icon {
  transform: rotate(180deg);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq.active .faq__answer {
  max-height: 300px;
  padding-bottom: 24px;
}

.faq__answer p {
  font-size: 0.95rem;
  color: var(--color-text-light);
  line-height: 1.8;
}

/* ========================================
   Contact Section
   ======================================== */

.contact {
  padding: 60px 0;
  background: var(--color-primary);
}

.contact__wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.15;
  margin-bottom: 16px;
}

.contact__subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-bottom: 40px;
}

.contact__badges {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact__badge {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: var(--color-white);
}

.contact__badge svg {
  flex-shrink: 0;
  color: var(--color-accent);
  margin-top: 2px;
}

.contact__badge strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.contact__badge span {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

.contact__form-wrap {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.contact__form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact__form-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.contact__form-sub {
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin-bottom: 20px;
}

.contact__form-group {
  margin-bottom: 14px;
}

.contact__form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 6px;
}

.contact__form-group input,
.contact__form-group select,
.contact__form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-primary);
  font-size: 0.95rem;
  color: var(--color-text);
  background: var(--color-off-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  outline: none;
}

.contact__form-group input:focus,
.contact__form-group select:focus,
.contact__form-group textarea:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(59, 89, 152, 0.15);
}

.contact__form-group textarea {
  resize: vertical;
  min-height: 64px;
}

.contact__form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b6b6b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.contact__form .btn {
  margin-top: 8px;
}

.contact__form-disclaimer {
  margin-top: 12px;
  font-size: 0.75rem;
  color: var(--color-text-light);
  text-align: center;
}

/* ========================================
   Footer
   ======================================== */

.footer {
  padding: 48px 0 24px;
  background: #1a2747;
}

.footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  flex-wrap: wrap;
  gap: 24px;
}

.footer__logo {
  display: inline-block;
  margin-bottom: 12px;
}

.footer__logo-img {
  height: 100px;
  width: auto;
  object-fit: contain;
}

.footer__brand p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  max-width: 300px;
  line-height: 1.6;
  margin-bottom: 8px;
}

.footer__phone {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-accent);
}

.footer__phone:hover {
  color: var(--color-accent-light);
}

.footer__social {
  display: flex;
  gap: 12px;
}

.footer__social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  color: rgba(255,255,255,0.6);
  transition: all var(--transition);
}

.footer__social-link:hover {
  background: var(--color-accent);
  color: var(--color-primary);
}

.footer__bottom {
  padding-top: 24px;
  text-align: center;
}

.footer__bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}

.footer__bottom a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer__bottom a:hover {
  color: var(--color-accent-on-dark);
}

/* Parent-company link in the story paragraph */
.story__link {
  color: var(--color-accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.story__link:hover {
  color: var(--color-accent-dark);
}

/* ========================================
   Quote Modal
   ======================================== */

.quote-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.quote-modal.active {
  opacity: 1;
  visibility: visible;
}

.quote-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 20, 0.75);
  backdrop-filter: blur(4px);
}

.quote-modal__container {
  position: relative;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.quote-modal.active .quote-modal__container {
  transform: translateY(0) scale(1);
}

.quote-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-off-white);
  border: 1px solid var(--color-border);
  border-radius: 50%;
  cursor: pointer;
  transition: all var(--transition);
}

.quote-modal__close svg {
  width: 18px;
  height: 18px;
  color: var(--color-text);
}

.quote-modal__close:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
}

.quote-modal__close:hover svg {
  color: var(--color-primary);
}

.quote-modal__header {
  text-align: center;
  margin-bottom: 28px;
}

.quote-modal__title {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.quote-modal__subtitle {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.6;
}

.quote-modal__form-group {
  margin-bottom: 16px;
}

.quote-modal__form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 6px;
}

.quote-modal__form-group input,
.quote-modal__form-group select,
.quote-modal__form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-primary);
  font-size: 0.95rem;
  color: var(--color-text);
  background: var(--color-off-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  outline: none;
}

.quote-modal__form-group input:focus,
.quote-modal__form-group select:focus,
.quote-modal__form-group textarea:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(59, 89, 152, 0.15);
}

.quote-modal__form-group textarea {
  resize: vertical;
  min-height: 70px;
}

.quote-modal__form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b6b6b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.quote-modal__form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.quote-modal__form .btn {
  margin-top: 8px;
}

.quote-modal__disclaimer {
  margin-top: 12px;
  font-size: 0.75rem;
  color: var(--color-text-light);
  text-align: center;
}

@media (max-width: 580px) {
  .quote-modal__container {
    padding: 32px 20px;
  }

  .quote-modal__form-row,
  .contact__form-row {
    grid-template-columns: 1fr;
  }

  .quote-modal__title {
    font-size: 1.4rem;
  }
}

/* ========================================
   Sticky Mobile CTA Bar
   ======================================== */

.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: var(--color-primary);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
  padding: 10px 12px;
  gap: 10px;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-cta.visible {
  transform: translateY(0);
}

.mobile-cta__call,
.mobile-cta__quote {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 16px;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-align: center;
}

.mobile-cta__call {
  background: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255,255,255,0.3);
}

.mobile-cta__call svg {
  width: 18px;
  height: 18px;
}

.mobile-cta__quote {
  background: var(--color-cta);
  color: var(--color-cta-text);
}

/* ========================================
   Animations (scroll reveal)
   ======================================== */

/* Scroll reveal + hero entrance.
   Default state is fully visible — content NEVER hides if JS or motion is off.
   The hidden/animated states live inside `prefers-reduced-motion: no-preference`
   so users who ask for less motion get a clean, static, instantly-legible page. */
.reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: no-preference) {

  /* --- Scroll reveal (cards + section headers cascade up on enter) --- */
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
  }

  .reveal.visible {
    opacity: 1;
    transform: none;
  }

  /* Gentle row-stagger so grid items arrive in sequence, not all at once. */
  .process__grid .process__step:nth-child(2),
  .testimonials__grid .testimonial-card:nth-child(2),
  .finishes__grid .finishes__card:nth-child(2),
  .contact__badges .contact__badge:nth-child(2) { transition-delay: 0.09s; }

  .process__grid .process__step:nth-child(3),
  .testimonials__grid .testimonial-card:nth-child(3),
  .finishes__grid .finishes__card:nth-child(3),
  .contact__badges .contact__badge:nth-child(3) { transition-delay: 0.18s; }

  /* Coating layers arrive one at a time, echoing the exploded diagram:
     topcoat → flakes → base → concrete. */
  .layer-list li:nth-child(2) { transition-delay: 0.12s; }
  .layer-list li:nth-child(3) { transition-delay: 0.24s; }
  .layer-list li:nth-child(4) { transition-delay: 0.36s; }

  /* The exploded cross-section gently levitates, reinforcing the 3D
     "pulled apart" feel of the render. */
  .system__img {
    animation: layersFloat 7s ease-in-out infinite;
  }

  /* The big $8 price anchor springs in just after its card reveals. */
  .pricing__card.visible .pricing__price {
    animation: pricePop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s both;
  }

  /* Applied by JS while the estimator total counts up to a new value. */
  .estimator__result-total--pop {
    animation: totalPop 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
  }
}

@keyframes layersFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

@keyframes pricePop {
  from { opacity: 0; transform: scale(0.7); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes totalPop {
  0%   { transform: scale(0.96); }
  40%  { transform: scale(1.045); }
  100% { transform: scale(1); }
}

  /* --- Hero entrance (staggered rise on first paint) --- */
  .hero__title      { animation: heroRise 0.9s cubic-bezier(0.16, 1, 0.3, 1) both; }
  .hero__buttons    { animation: heroRise 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.16s both; }
  .hero__reassurance{ animation: heroRise 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.30s both; }
  .hero__transform-bar { animation: heroSlideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both; }
}

@keyframes heroRise {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: none; }
}

@keyframes heroSlideUp {
  from { opacity: 0; transform: translateY(100%); }
  to   { opacity: 1; transform: none; }
}

/* ========================================
   Responsive Design
   ======================================== */

/* Switch the top nav to a hamburger before the 8 links start to crowd. */
@media (max-width: 1180px) {
  .nav__links {
    display: none;
  }

  .nav__right {
    display: none;
  }

  .nav__hamburger {
    display: flex;
  }

  .nav__mobile {
    display: flex;
  }
}

@media (max-width: 1024px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  /* arrow connectors only make sense in the 3-up desktop layout */
  .process__step:not(:last-child)::after {
    display: none;
  }

  .vision__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .story__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .gallery__item--large {
    grid-column: span 1;
    grid-row: span 1;
  }

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

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

  .service-area__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact__wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .mobile-cta {
    display: flex;
  }
}

@media (max-width: 768px) {
  html {
    scroll-padding-top: 70px;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .section-subtitle {
    font-size: 1rem;
  }

  .services,
  .vision,
  .process,
  .gallery,
  .story,
  .testimonials,
  .finishes,
  .service-area,
  .faqs,
  .contact {
    padding: 52px 0;
  }

  .hero__title {
    font-size: 2.6rem;
  }

  .hero__buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero__buttons .btn {
    width: 100%;
  }

  .hero__transform-bar {
    flex-direction: column;
    gap: 12px;
    padding: 16px 24px;
    font-size: 1rem;
  }

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

  .services__card {
    aspect-ratio: 1;
  }

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

  .system__card {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 28px 24px;
  }

  .system__visual {
    order: -1;
  }

  .process__cta {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding: 28px 24px;
  }

  .process__cta-buttons {
    width: 100%;
  }

  .process__cta-buttons .btn {
    flex: 1;
  }

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

  .testimonials__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .testimonial-card {
    padding: 24px;
  }

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

  .contact__form-wrap {
    padding: 28px 20px;
  }

  .footer__top {
    flex-direction: column;
    align-items: flex-start;
  }

  body {
    padding-bottom: 70px;
  }

  .features-marquee__item {
    padding: 0 24px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero__title {
    font-size: 2rem;
  }

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

  .services__card {
    aspect-ratio: 3/2;
  }

  .process__step {
    padding: 28px 20px;
  }

  .services__cta,
  .vision__cta,
  .process__cta,
  .story__cta {
    flex-direction: column;
    width: 100%;
  }

  .services__cta .btn,
  .vision__cta .btn,
  .process__cta .btn,
  .story__cta .btn {
    width: 100%;
  }
}

/* ========================================
   Reordered flow — section background rhythm
   (keep alternating light/dark so adjacent
   sections never share the same background)
   ======================================== */
.gallery { background: var(--color-white); }
.faqs { background: var(--color-white); }
.story { background: var(--color-off-white); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ========================================
   Pricing Section
   ======================================== */
.pricing {
  padding: 60px 0;
  background: var(--color-off-white);
}

.pricing__card {
  position: relative;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  max-width: 920px;
  margin: 32px auto 0;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.pricing__price-block {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 48px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.pricing__price-label {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 4px;
}

.pricing__price {
  font-family: var(--font-display);
  font-size: 4.5rem;
  font-weight: 900;
  line-height: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
}

.pricing__currency {
  font-size: 2.4rem;
  margin-top: 0.4em;
  opacity: 0.9;
}

.pricing__unit {
  align-self: flex-end;
  font-size: 1.05rem;
  font-weight: 600;
  opacity: 0.85;
  margin-bottom: 0.55em;
  margin-left: 4px;
}

.pricing__price-note {
  margin-top: 14px;
  font-size: 0.9rem;
  line-height: 1.4;
  opacity: 0.82;
  max-width: 220px;
}

.pricing__details {
  padding: 40px;
}

.pricing__included-title {
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 16px;
}

.pricing__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.pricing__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--color-text);
  font-size: 0.98rem;
}

.pricing__list svg {
  width: 20px;
  height: 20px;
  color: var(--color-cta);
  flex-shrink: 0;
  margin-top: 2px;
}

.pricing__addon {
  background: var(--color-light-gray);
  border-left: 3px solid var(--color-cta);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--color-text-light);
  margin-bottom: 24px;
}

.pricing__addon strong {
  color: var(--color-primary);
}

.pricing__reassurance {
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin-top: 12px;
}

/* ---- Instant Estimator ---- */
.estimator {
  max-width: 920px;
  margin: 40px auto 0;
}

.estimator__intro {
  text-align: center;
  margin-bottom: 20px;
}

.estimator__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.2;
}

.estimator__panel {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.estimator__form {
  padding: 32px;
}

.estimator__label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.estimator__input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.estimator__input {
  width: 100%;
  font-family: var(--font-primary);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-text);
  padding: 14px 60px 14px 16px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-off-white);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
  -moz-appearance: textfield;
}

.estimator__input::-webkit-outer-spin-button,
.estimator__input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.estimator__input::placeholder {
  color: var(--color-mid-gray);
  font-weight: 400;
  opacity: 1;
}

.estimator__input:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(59, 89, 152, 0.15);
  background: var(--color-white);
}

.estimator__suffix {
  position: absolute;
  right: 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-dark-gray);
  pointer-events: none;
}

.estimator__dims {
  display: flex;
  align-items: flex-end;
  gap: 12px;
}

.estimator__dim {
  flex: 1;
}

.estimator__times {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-dark-gray);
  padding-bottom: 14px;
}

.estimator__hint {
  margin-top: 12px;
  font-size: 0.88rem;
  color: var(--color-text-light);
}

.estimator__hint strong {
  color: var(--color-primary);
  font-weight: 700;
}

.estimator__addon-toggle {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 24px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: var(--color-light-gray);
  border-left: 3px solid var(--color-cta);
  cursor: pointer;
}

.estimator__addon-toggle input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.estimator__checkbox {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border: 1.5px solid var(--color-mid-gray);
  border-radius: 6px;
  background: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.estimator__checkbox svg {
  width: 15px;
  height: 15px;
  color: var(--color-white);
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.estimator__addon-toggle input:checked + .estimator__checkbox {
  background: var(--color-cta);
  border-color: var(--color-cta);
}

.estimator__addon-toggle input:checked + .estimator__checkbox svg {
  opacity: 1;
  transform: scale(1);
}

.estimator__addon-toggle input:focus-visible + .estimator__checkbox {
  box-shadow: 0 0 0 3px rgba(59, 89, 152, 0.25);
}

.estimator__addon-text {
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--color-text-light);
}

.estimator__addon-text strong {
  color: var(--color-primary);
}

.estimator__result {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 32px;
  display: flex;
  flex-direction: column;
}

.estimator__result-label {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.7;
}

.estimator__result-total {
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1.05;
  color: var(--color-cta);
  margin: 4px 0 20px;
  /* Fixed-width digits keep the number steady while it counts up. */
  font-variant-numeric: tabular-nums;
}

.estimator__breakdown {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 16px;
  margin-bottom: 20px;
}

.estimator__breakdown li {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  padding: 6px 0;
}

.estimator__breakdown li span:first-child {
  opacity: 0.75;
}

.estimator__breakdown li span:last-child {
  font-weight: 700;
}

.estimator__disclaimer {
  font-size: 0.78rem;
  line-height: 1.5;
  opacity: 0.7;
  margin-bottom: 20px;
  margin-top: auto;
}

.estimator__result .btn {
  margin-top: 0;
}

/* ========================================
   Referral Section
   ======================================== */
.referral {
  padding: 56px 0;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent-dark));
  color: var(--color-white);
}

.referral__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.referral__text {
  flex: 1;
  min-width: 280px;
}

.referral__label {
  color: var(--color-cta);
}

.referral__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.15;
}

.referral__amount {
  color: var(--color-cta);
}

.referral__sub {
  margin-top: 16px;
  font-size: 1.05rem;
  opacity: 0.9;
  max-width: 560px;
  line-height: 1.6;
}

.referral__btn {
  flex-shrink: 0;
}

/* ========================================
   Featured Gallery Band
   ======================================== */
.featured-band {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--color-primary) url('../images/hero-garage.jpg') center/cover no-repeat;
  background-attachment: fixed;
}

.featured-band__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(34, 51, 92, 0.72), rgba(20, 32, 66, 0.8));
}

.featured-band__content {
  position: relative;
  z-index: 2;
  padding: 0 24px;
}

.featured-band__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.15;
  margin-bottom: 28px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

/* ========================================
   Newsletter Section
   ======================================== */
.newsletter {
  padding: 52px 0;
  background: var(--color-off-white);
  border-top: 1px solid var(--color-border);
}

.newsletter__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.newsletter__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--color-primary);
}

.newsletter__sub {
  margin-top: 8px;
  color: var(--color-text-light);
  max-width: 480px;
}

.newsletter__form {
  display: flex;
  gap: 12px;
  flex: 1;
  min-width: 300px;
  max-width: 520px;
}

.newsletter__input {
  flex: 1;
  padding: 14px 18px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-primary);
  font-size: 1rem;
  color: var(--color-text);
}

.newsletter__input:focus {
  outline: none;
  border-color: var(--color-accent);
}

.newsletter__btn {
  flex-shrink: 0;
}

/* ----- Responsive for reordered/new sections ----- */
@media (max-width: 768px) {
  .pricing,
  .referral,
  .newsletter {
    padding-left: 0;
    padding-right: 0;
  }

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

  .pricing__price-block {
    padding: 36px 24px;
  }

  .pricing__details {
    padding: 32px 24px;
  }

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

  .estimator__form {
    padding: 28px 24px;
  }

  .estimator__result {
    padding: 28px 24px;
  }

  .referral__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .referral__btn {
    width: 100%;
  }

  .featured-band {
    background-attachment: scroll;
    min-height: 320px;
  }

  .newsletter__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .newsletter__form {
    width: 100%;
    max-width: none;
  }
}

@media (max-width: 480px) {
  .pricing__price {
    font-size: 3.6rem;
  }

  .newsletter__form {
    flex-direction: column;
  }

  .newsletter__btn {
    width: 100%;
  }
}
