/* base.css — Big Dog Roofing Design System */

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

html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  hanging-punctuation: first last;
  scroll-padding-top: 5rem;
}

body {
  min-height: 100dvh;
  line-height: 1.6;
  font-family: var(--font-body, sans-serif);
  font-size: var(--text-base);
  color: var(--color-text);
  background-color: var(--color-bg);
}

img, svg { display: block; max-width: 100%; height: auto; }
ul[role="list"] { list-style: none; }
input, button, textarea, select { font: inherit; color: inherit; }

/* Bot-trap field: present in markup, inaccessible and invisible to people. */
.form-honeypot-input {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

h1, h2, h3 { text-wrap: balance; line-height: 1.15; }
p, li, figcaption { text-wrap: pretty; max-width: 72ch; }

::selection {
  background: rgba(15, 45, 58, 0.18);
  color: var(--color-text);
}

:focus-visible {
  outline: 2.5px solid var(--color-navy);
  outline-offset: 4px;
  border-radius: var(--radius-sm);
  box-shadow: 0 0 0 5px rgba(15, 45, 58, 0.12);
}

/* Override focus ring for elements on dark backgrounds */
.hero :focus-visible,
.cta-banner :focus-visible,
.trust-bar :focus-visible,
.footer :focus-visible {
  outline-color: #FFFFFF;
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.20);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

button { cursor: pointer; background: none; border: none; }
table { border-collapse: collapse; width: 100%; }

a, button, [role="button"], [role="link"], input, textarea, select {
  transition: color var(--transition-interactive),
              background var(--transition-interactive),
              border-color var(--transition-interactive),
              box-shadow var(--transition-interactive);
}

/* Type Scale */
:root {
  --text-xs:   clamp(0.8125rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm:   clamp(0.9375rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem,     0.95rem + 0.25vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 1rem    + 0.75vw, 1.5rem);
  --text-xl:   clamp(1.5rem,   1.2rem  + 1.25vw, 2.25rem);
  --text-2xl:  clamp(2rem,     1.2rem  + 2.5vw,  3.5rem);
  --text-3xl:  clamp(2.5rem,   1rem    + 4vw,    5rem);

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;

  /* Transitions — base (overridden in :root palette block below) */
  --transition-interactive: 200ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Content widths */
  --content-narrow: 640px;
  --content-default: 960px;
  --content-wide: 1200px;
  --content-full: 100%;
}

/* Art direction: Fort Wayne roofing contractor → strong, trustworthy, authoritative
   Palette: Light/warm, deep roofline blue, green conversion actions
   Typography: Plus Jakarta Sans (display, 700-800) + Inter (body, 400-600)
   Density: Spacious — generous whitespace, premium feel */

/* ========================================
   CUSTOM PALETTE — Big Dog Roofing
   ======================================== */

:root {
  --font-display: 'Plus Jakarta Sans', 'Helvetica Neue', sans-serif;
  --font-body: 'Inter', 'Helvetica Neue', sans-serif;

  /* Light mode */
  --color-bg:             #F5F4F0;
  --color-surface:        #FFFFFF;
  --color-surface-2:      #F0EFEB;
  --color-surface-alt:    #F0EFEB;
  --color-surface-offset: #E8E7E3;
  --color-border:         #E0DDD8;
  --color-divider:        #D4D1CA;

  --color-text:           #1A1A1A;
  --color-text-muted:     #5C5C58;
  --color-text-faint:     #9A9A96;
  --color-text-inverse:   #F0EFEB;

  --color-primary:        #C41230;
  --color-primary-hover:  #A30F28;
  --color-primary-active: #8A0C22;

  --color-gold:           #C5A55A;
  --color-gold-hover:     #B8953E;

  --color-navy:           #0F2D3A;
  --color-navy-light:     #133847;
  --color-navy-dark:      #081E27;

  --color-success:        #4CAF50;
  --color-error:          #C41230;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.14), 0 4px 12px rgba(0,0,0,0.06);
  --shadow-xl: 0 32px 80px rgba(0,0,0,0.18), 0 8px 24px rgba(0,0,0,0.08);
  --shadow-primary-glow: 0 8px 32px rgba(196, 18, 48, 0.40), 0 2px 8px rgba(196, 18, 48, 0.20);
  --shadow-card-hover: 0 20px 60px rgba(0,0,0,0.14), 0 6px 16px rgba(0,0,0,0.06);

  /* Transition upgrade — more deliberate, premium feel */
  --transition-fast:        120ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-interactive: 200ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth:      320ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* ========================================
   LAYOUT UTILITIES
   ======================================== */

.container {
  width: 100%;
  max-width: var(--content-wide);
  margin: 0 auto;
  padding-inline: var(--space-6);
}

@media (min-width: 768px) {
  .container { padding-inline: var(--space-8); }
}

.section-padding {
  padding-block: clamp(var(--space-12), 8vw, var(--space-24));
}

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

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 244, 240, 0.94);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid rgba(224, 221, 216, 0.7);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.header--scrolled {
  background: rgba(245, 244, 240, 0.97);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06), 0 4px 20px rgba(0,0,0,0.07);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  height: 5rem;
}

.header__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--color-text);
  flex-shrink: 0;
}

.header__logo-lockup,
.header__logo-shield {
  display: block;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.18));
}

.header__logo-lockup {
  height: 68px;
}

.header__logo-shield {
  display: none;
  height: 56px;
}

@media (max-width: 1320px) {
  .header__logo-lockup {
    height: 60px;
  }
}

@media (max-width: 1180px) {
  .header__logo-lockup {
    height: 54px;
  }
}

@media (max-width: 767px) {
  .header__logo-lockup {
    display: none;
  }

  .header__logo-shield {
    display: block;
  }
}

.header__nav {
  display: none;
  align-items: center;
  gap: var(--space-6);
}

@media (min-width: 1024px) {
  .header__nav { display: flex; }
}

.header__nav a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: none;
  letter-spacing: 0.01em;
  position: relative;
  padding-bottom: 2px;
  transition: color var(--transition-interactive);
  white-space: nowrap;
}

.header__nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 100%;
  height: 1.5px;
  background: var(--color-navy);
  transition: right var(--transition-interactive);
  border-radius: 2px;
}

.header__nav a:hover {
  color: var(--color-text);
}

.header__nav a:hover::after {
  right: 0;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.header__phone {
  display: none;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--color-text);
  text-decoration: none;
  transition: color var(--transition-interactive);
}

.header__phone:hover { color: var(--color-primary); }

@media (min-width: 1024px) {
  .header__phone { display: flex; }
}

.header__phone svg {
  width: 18px;
  height: 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--text-sm);
  padding: calc(var(--space-3) + 1px) var(--space-6);
  border-radius: var(--radius-md);
  text-decoration: none;
  cursor: pointer;
  border: none;
  letter-spacing: 0.01em;
  position: relative;
  overflow: hidden;
  transition: background var(--transition-interactive),
              color var(--transition-interactive),
              transform var(--transition-interactive),
              box-shadow var(--transition-interactive);
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--color-primary);
  background-image: linear-gradient(
    135deg,
    rgba(255,255,255,0.08) 0%,
    transparent 60%
  );
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(196, 18, 48, 0.22),
              inset 0 1px 0 rgba(255,255,255,0.12);
}

.btn--primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.10) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition-interactive);
  border-radius: inherit;
}

.btn--primary:hover {
  background: var(--color-primary-hover);
  box-shadow: var(--shadow-primary-glow);
}

.btn--primary:hover::before {
  opacity: 1;
}

.btn--primary:active {
  background: var(--color-primary-active);
  box-shadow: 0 2px 8px rgba(196, 18, 48, 0.30);
}

.btn--lg {
  padding: var(--space-4) var(--space-10);
  font-size: var(--text-base);
  font-weight: 700;
  border-radius: var(--radius-lg);
  letter-spacing: 0.015em;
}

.header__cta {
  display: none;
  white-space: nowrap;
  padding-inline: var(--space-4);
}

@media (min-width: 1360px) {
  .header__cta { display: inline-flex; }
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  min-height: 44px;
  padding: 4px 8px;
  margin-right: -8px;
  cursor: pointer;
}

@media (min-width: 1024px) {
  .hamburger { display: none; }
}

.hamburger span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu — lives outside <header> to avoid backdrop-filter containing block */
.mobile-menu {
  display: none;
  position: fixed;
  top: 4.5rem;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-bg);
  z-index: 101;
  padding: var(--space-8) var(--space-6);
  overflow-y: auto;
}

.mobile-menu.active {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.mobile-menu a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-xl);
  color: var(--color-text);
  text-decoration: none;
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--color-border);
  display: block;
}

.mobile-menu__phone {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-lg);
  color: var(--color-primary);
  text-decoration: none;
  margin-top: var(--space-4);
}

.mobile-menu__phone svg {
  width: 22px;
  height: 22px;
}

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

.hero {
  position: relative;
  overflow: hidden;
  background: var(--color-navy);
  min-height: 100vh;
  display: flex;
  align-items: center;
}

@media (max-width: 767px) {
  .hero { min-height: auto; padding-block: var(--space-16) var(--space-12); }
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 45%;
  filter: saturate(1.06) contrast(1.05);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      105deg,
      rgba(15, 45, 58, 0.86) 0%,
      rgba(15, 45, 58, 0.66) 45%,
      rgba(15, 45, 58, 0.28) 100%
    ),
    linear-gradient(
      to bottom,
      transparent 50%,
      rgba(15, 45, 58, 0.25) 100%
    );
}

@media (max-width: 767px) {
  .hero__overlay {
    background: linear-gradient(
      180deg,
      rgba(15, 45, 58, 0.82) 0%,
      rgba(15, 45, 58, 0.65) 100%
    );
  }
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  align-items: center;
  width: 100%;
}

@media (min-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1.2fr 1fr;
    gap: var(--space-12);
  }
}

.hero__content {
  max-width: 640px;
  min-width: 0;
}

.hero__headline {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-2xl);
  color: #FFFFFF;
  letter-spacing: -0.03em;
  line-height: 1.06;
  margin-bottom: var(--space-6);
  text-shadow: 0 2px 24px rgba(0,0,0,0.25);
}

.hero__subheadline {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--text-base);
  color: rgba(240, 239, 235, 0.82);
  line-height: 1.75;
  margin-bottom: var(--space-8);
  text-shadow: 0 1px 8px rgba(0,0,0,0.20);
}

.hero__cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-5);
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.hero__badge {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-xs);
  color: rgba(240, 239, 235, 0.72);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: var(--space-2) var(--space-3);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius-full);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero__badge svg {
  width: 16px;
  height: 16px;
  color: var(--color-gold);
  flex-shrink: 0;
  filter: drop-shadow(0 0 4px rgba(197, 165, 90, 0.40));
}

/* Lead Form */
.lead-form-card {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.44),
    0 8px 24px rgba(0, 0, 0, 0.20),
    inset 0 1px 0 rgba(255,255,255,0.95),
    0 0 0 1px rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.20);
  position: relative;
}

.lead-form-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    145deg,
    rgba(255,255,255,0.06) 0%,
    transparent 50%
  );
  pointer-events: none;
}

@media (max-width: 767px) {
  .lead-form-card { padding: var(--space-6); }
}

.lead-form-card h2,
.lead-form-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-lg);
  color: #1A1A1A;
  margin-bottom: var(--space-1);
}

.lead-form-card p {
  font-size: var(--text-sm);
  color: #6B6B67;
  margin-bottom: var(--space-6);
}

.lead-form .form-group {
  margin-bottom: var(--space-4);
}

.lead-form label {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--text-xs);
  color: #1A1A1A;
  margin-bottom: var(--space-1);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.lead-form input,
.lead-form textarea,
.lead-form select {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  border: 1.5px solid #E0DDD8;
  border-radius: var(--radius-md);
  font-size: var(--text-base);
  color: #1A1A1A;
  background: #FAFAF8;
  transition: border-color var(--transition-interactive),
              box-shadow var(--transition-interactive),
              background var(--transition-interactive);
}

.lead-form input:hover,
.lead-form textarea:hover,
.lead-form select:hover {
  border-color: #C8C5BE;
}

.lead-form input:focus,
.lead-form textarea:focus,
.lead-form select:focus {
  outline: none;
  border-color: var(--color-navy);
  background: #FFFFFF;
  box-shadow: 0 0 0 4px rgba(15, 45, 58, 0.10);
}

.lead-form input::placeholder,
.lead-form textarea::placeholder {
  color: #9A9A96;
}

.lead-form textarea {
  resize: vertical;
  min-height: 80px;
}

.lead-form .btn--primary {
  width: 100%;
  padding: var(--space-4) var(--space-6);
  font-size: var(--text-base);
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 20px rgba(196, 18, 48, 0.28),
              inset 0 1px 0 rgba(255,255,255,0.12);
}

.lead-form__response-note {
  text-align: center;
  font-size: var(--text-xs);
  color: #9A9A96;
  margin-top: var(--space-3);
}

.form-success {
  text-align: center;
  padding: var(--space-8) var(--space-4);
}

.form-success svg {
  width: 56px;
  height: 56px;
  color: var(--color-success);
  margin: 0 auto var(--space-4);
}

.form-success h3 {
  color: #1A1A1A;
  margin-bottom: var(--space-2);
}

.form-success p {
  color: #6B6B67;
}

.form-error {
  display: block;
  color: var(--color-primary);
  font-size: var(--text-sm);
  margin-top: var(--space-1);
  font-weight: 500;
}

.form-error--submit {
  text-align: center;
  margin-top: var(--space-3);
}

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

.trust-bar {
  background: linear-gradient(
    105deg,
    var(--color-navy-dark) 0%,
    var(--color-navy) 40%,
    var(--color-navy-light) 70%,
    var(--color-navy-dark) 100%
  );
  padding-block: var(--space-6);
  position: relative;
  overflow: hidden;
}

.trust-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0.06) 0%,
    transparent 50%,
    rgba(0,0,0,0.08) 100%
  );
  pointer-events: none;
}

.trust-bar::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(0,0,0,0.15);
}

.trust-bar__inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}

@media (min-width: 768px) {
  .trust-bar__inner { grid-template-columns: repeat(5, 1fr); }
}

.trust-bar__item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  justify-content: center;
  text-align: left;
  position: relative;
  z-index: 1;
}

.trust-bar__item svg {
  width: 26px;
  height: 26px;
  color: rgba(255,255,255,0.95);
  flex-shrink: 0;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.20));
}

.trust-bar__item span {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-sm);
  color: #FFFFFF;
  letter-spacing: 0.015em;
  text-shadow: 0 1px 3px rgba(0,0,0,0.18);
}

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

.services {
  background: var(--color-bg);
  position: relative;
}

.section-label {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-navy);
  margin-bottom: var(--space-3);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 2px;
  background: var(--color-navy);
  border-radius: 2px;
  flex-shrink: 0;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-xl);
  color: var(--color-text);
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: var(--space-4);
}

.section-subtitle {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 600px;
  margin-bottom: var(--space-12);
  line-height: 1.7;
}

.content-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: border-color var(--transition-interactive),
              box-shadow var(--transition-interactive);
}

.content-card-link:hover,
.content-card-link:focus-visible {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

.preferred-source-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(1.25rem, 4vw, 3rem);
  margin: 0 0 var(--space-8);
  padding: clamp(1.35rem, 3vw, 2rem);
  overflow: hidden;
  background: linear-gradient(135deg, #f8fbfc 0%, #eef4f6 100%);
  border: 1px solid rgba(15, 45, 58, 0.16);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.preferred-source-card::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--color-primary);
}

.preferred-source-card__copy {
  max-width: 680px;
}

.preferred-source-card__copy .section-label {
  margin-bottom: var(--space-2);
}

.preferred-source-card__copy h2,
.preferred-source-card__copy h3 {
  margin: 0 0 var(--space-2);
  color: var(--color-text);
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  line-height: 1.2;
}

.preferred-source-card__copy p:last-child {
  margin: 0;
  color: var(--color-text-muted);
  line-height: 1.65;
}

.preferred-source-card__action {
  display: grid;
  min-width: 230px;
  justify-items: end;
}

.preferred-source-card__action noscript a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1rem;
  color: var(--color-text);
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 999px;
}

@media (max-width: 720px) {
  .preferred-source-card {
    grid-template-columns: 1fr;
  }

  .preferred-source-card__action {
    min-width: 0;
    justify-items: start;
  }
}

.nw-guide-feature {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: var(--space-8);
  align-items: end;
  min-height: 430px;
  margin-top: var(--space-8);
  padding: clamp(2rem, 6vw, 4.5rem);
  color: #fff;
  background:
    linear-gradient(90deg, rgba(8, 27, 36, 0.97) 0%, rgba(8, 27, 36, 0.86) 52%, rgba(8, 27, 36, 0.58) 100%),
    url('/assets/authentic/drone-3-1280.jpg') center / cover no-repeat;
  border-radius: var(--radius-lg);
}

.nw-guide-feature__content {
  position: relative;
  z-index: 1;
  max-width: 620px;
}

.nw-guide-feature .section-label {
  color: #fff;
}

.nw-guide-feature .section-label::before {
  background: var(--color-primary);
}

.nw-guide-feature h3 {
  max-width: 590px;
  margin: 0 0 var(--space-4);
  color: #fff;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.05;
}

.nw-guide-feature p:not(.section-label) {
  max-width: 590px;
  margin-bottom: var(--space-6);
  color: rgba(255, 255, 255, 0.82);
  font-size: var(--text-base);
}

.nw-guide-feature__links {
  position: relative;
  z-index: 1;
  display: grid;
  align-self: end;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
}

.nw-guide-feature__links a {
  display: flex;
  gap: var(--space-3);
  align-items: center;
  padding: var(--space-4) 0;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  transition: color var(--transition-interactive), transform var(--transition-interactive);
}

.nw-guide-feature__links a:hover,
.nw-guide-feature__links a:focus-visible {
  color: #f6c85f;
  transform: translateX(4px);
}

.nw-guide-feature__links span {
  color: #f6c85f;
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
}

@media (min-width: 860px) {
  .nw-guide-feature {
    grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.75fr);
  }
}

@media (max-width: 639px) {
  .nw-guide-feature {
    min-height: 0;
    padding: var(--space-8) var(--space-6);
    background:
      linear-gradient(rgba(8, 27, 36, 0.91), rgba(8, 27, 36, 0.97)),
      url('/assets/authentic/drone-3-640.jpg') center / cover no-repeat;
  }
}

.services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

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

.service-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-smooth),
              box-shadow var(--transition-smooth),
              border-color var(--transition-smooth);
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-navy), var(--color-gold));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--transition-smooth);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(15, 45, 58, 0.25);
}

.service-card:hover::after {
  transform: scaleX(1);
}

.service-card__icon {
  width: 52px;
  height: 52px;
  color: var(--color-navy);
  margin-bottom: var(--space-5);
  padding: var(--space-3);
  background: rgba(15, 45, 58, 0.07);
  border-radius: var(--radius-md);
  transition: background var(--transition-smooth), transform var(--transition-smooth);
}

.service-card:hover .service-card__icon {
  background: rgba(15, 45, 58, 0.12);
  transform: scale(1.05);
}

.service-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-lg);
  color: var(--color-text);
  margin-bottom: var(--space-3);
}

.service-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: var(--space-5);
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--color-navy);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: gap var(--transition-interactive),
              opacity var(--transition-interactive);
}

.service-card__link:hover {
  gap: var(--space-3);
  opacity: 0.82;
}

.service-card__link svg {
  width: 16px;
  height: 16px;
}

/* Services featured image */
.services__featured {
  margin-top: var(--space-10);
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.services__featured::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15, 45, 58, 0.30) 0%,
    transparent 60%
  );
  pointer-events: none;
}

.services__featured img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

@media (min-width: 768px) {
  .services__featured img { height: 400px; }
}

/* ========================================
   PROCESS SECTION
   ======================================== */

.process {
  background: var(--color-bg);
}

.process__timeline {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  margin-top: var(--space-10);
}

@media (min-width: 768px) {
  .process__timeline {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
  }
}

.process-step {
  position: relative;
  text-align: center;
  padding: var(--space-6);
  transition: transform var(--transition-smooth);
}

.process-step:hover {
  transform: translateY(-3px);
}

@media (min-width: 768px) {
  .process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 32px;
    right: -12px;
    width: 24px;
    height: 2px;
    background: linear-gradient(90deg, var(--color-border), rgba(15, 45, 58, 0.25));
    border-radius: 2px;
  }
}

.process-step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--color-navy) 0%,
    var(--color-navy-dark) 100%
  );
  color: #FFFFFF;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-lg);
  margin-bottom: var(--space-5);
  box-shadow: 0 4px 16px rgba(15, 45, 58, 0.40),
              inset 0 1px 0 rgba(255,255,255,0.15);
}

.process-step h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-base);
  color: var(--color-text);
  margin-bottom: var(--space-3);
}

.process-step p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
  max-width: 280px;
  margin: 0 auto;
}

/* ========================================
   TESTIMONIALS
   ======================================== */

.testimonials {
  background: var(--color-surface);
  position: relative;
}

.testimonials::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--color-divider) 30%,
    var(--color-divider) 70%,
    transparent
  );
}

.testimonials__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  margin-top: var(--space-10);
}

@media (min-width: 768px) {
  .testimonials__grid { grid-template-columns: repeat(3, 1fr); }
}

/* Scrollable testimonials — horizontal scroll on desktop, stacked on mobile */
.testimonials__scroll-wrapper {
  position: relative;
  margin-top: var(--space-10);
}

.testimonials__grid--scrollable {
  display: flex;
  gap: var(--space-6);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none; /* Firefox */
  padding-bottom: var(--space-4);
  margin-top: 0;
}

.testimonials__grid--scrollable::-webkit-scrollbar {
  display: none;
}

.testimonials__grid--scrollable .testimonial-card {
  min-width: 340px;
  max-width: 400px;
  flex-shrink: 0;
  scroll-snap-align: start;
}

@media (max-width: 767px) {
  .testimonials__grid--scrollable .testimonial-card {
    min-width: 280px;
    max-width: 85vw;
  }
}

.testimonial-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: transform var(--transition-smooth),
              box-shadow var(--transition-smooth),
              border-color var(--transition-smooth);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(197, 165, 90, 0.30);
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: var(--space-5);
  right: var(--space-6);
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: 1;
  color: rgba(15, 45, 58, 0.07);
  font-weight: 800;
  pointer-events: none;
  user-select: none;
}

.testimonial-card__stars {
  display: flex;
  gap: 2px;
  margin-bottom: var(--space-4);
  color: #E6A000;
  filter: drop-shadow(0 1px 2px rgba(230, 160, 0, 0.25));
}

.testimonial-card__stars svg {
  width: 18px;
  height: 18px;
}

.testimonial-card blockquote {
  font-size: var(--text-sm);
  color: var(--color-text);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: var(--space-5);
}

.testimonial-card__author {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--color-text);
}

.testimonial-card__location {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: var(--space-1);
}

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

.about {
  background: var(--color-surface);
}

/* FAQ Accordion */
.faq {
  margin-top: var(--space-10);
}

.faq h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-lg);
  color: var(--color-text);
  margin-bottom: var(--space-6);
}

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

.faq-item:first-of-type {
  border-top: 1px solid var(--color-border);
}

.faq-item__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-5) 0;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-base);
  color: var(--color-text);
  text-align: left;
  cursor: pointer;
  background: none;
  border: none;
  gap: var(--space-4);
}

.faq-item__question svg {
  width: 20px;
  height: 20px;
  color: var(--color-text-muted);
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.active .faq-item__question svg {
  transform: rotate(180deg);
}

.faq-item__answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.active .faq-item__answer {
  max-height: 80rem;
}

.faq-item__answer p {
  padding-bottom: var(--space-5);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ========================================
   CTA BANNER
   ======================================== */

.cta-banner {
  background: linear-gradient(
    135deg,
    var(--color-navy-dark) 0%,
    var(--color-navy) 50%,
    var(--color-navy-dark) 100%
  );
  padding-block: clamp(var(--space-12), 6vw, var(--space-20));
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -15%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(196, 18, 48, 0.18) 0%, rgba(196, 18, 48, 0.06) 50%, transparent 70%);
  pointer-events: none;
}

.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: -15%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(197, 165, 90, 0.08) 0%, transparent 65%);
  pointer-events: none;
}

.cta-banner h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-xl);
  color: #FFFFFF;
  letter-spacing: -0.025em;
  margin-bottom: var(--space-6);
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 20px rgba(0,0,0,0.30);
}

.cta-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: center;
  align-items: center;
}

.cta-banner__phone {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.88);
  text-decoration: none;
  letter-spacing: 0.01em;
  position: relative;
  z-index: 1;
  transition: color var(--transition-interactive);
}

.cta-banner__phone:hover {
  color: #FFFFFF;
}

.cta-banner__divider {
  color: rgba(255,255,255,0.3);
  font-size: var(--text-sm);
}

@media (max-width: 640px) {
  .cta-banner__divider { display: none; }
  .cta-banner__actions { flex-direction: column; }
}

/* ========================================
   CONTACT SECTION
   ======================================== */

.contact {
  background: var(--color-bg);
}

.contact__info h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-lg);
  color: var(--color-text);
  margin-bottom: var(--space-6);
}

/* Contact Form */
.contact-form-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-md);
}

@media (max-width: 767px) {
  .contact-form-card { padding: var(--space-6); }
}

.contact-form-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-lg);
  color: var(--color-text);
  margin-bottom: var(--space-6);
}

.contact-form .form-group {
  margin-bottom: var(--space-4);
}

.contact-form label {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--text-xs);
  color: var(--color-text);
  margin-bottom: var(--space-1);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: var(--text-base);
  color: var(--color-text);
  background: var(--color-bg);
  transition: border-color var(--transition-interactive),
              box-shadow var(--transition-interactive),
              background var(--transition-interactive);
}

.contact-form input:hover,
.contact-form textarea:hover,
.contact-form select:hover {
  border-color: var(--color-divider);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--color-navy);
  background: var(--color-surface);
  box-shadow: 0 0 0 4px rgba(15, 45, 58, 0.10);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--color-text-faint);
}

.contact-form textarea {
  resize: vertical;
  min-height: 100px;
}

.contact-form .btn--primary {
  width: 100%;
  padding: var(--space-4);
  font-size: var(--text-base);
  font-weight: 700;
}

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

.footer {
  background: linear-gradient(
    180deg,
    var(--color-navy-dark) 0%,
    var(--color-navy) 40%,
    var(--color-navy-light) 100%
  );
  padding-block: var(--space-16) var(--space-10);
  color: rgba(240, 239, 235, 0.8);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(240, 239, 235, 0.18) 30%,
    rgba(197, 165, 90, 0.35) 60%,
    transparent
  );
}

.footer::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 500px;
  height: 300px;
  background: radial-gradient(circle at top right, rgba(240, 239, 235, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}

@media (min-width: 768px) {
  .footer__inner { grid-template-columns: 1.4fr 0.85fr 1fr 1fr; }
}

.footer__brand {
  max-width: 360px;
}

.footer__brand .header__logo {
  margin-bottom: var(--space-5);
}

.footer__brand .header__logo-shield {
  display: block;
  height: 74px;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.45));
}

.footer__brand .header__logo-lockup {
  display: none;
}

@media (max-width: 767px) {
  .footer__brand .header__logo-lockup {
    display: none;
  }

  .footer__brand .header__logo-shield {
    height: 64px;
  }
}

.footer__brand p {
  font-size: var(--text-sm);
  color: rgba(240, 239, 235, 0.58);
  line-height: 1.7;
  margin-bottom: var(--space-5);
}

.footer__tagline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--color-gold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer__links h3,
.footer__links h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.9);
  margin-bottom: var(--space-5);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.footer__links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer__links a {
  font-size: var(--text-sm);
  color: rgba(240, 239, 235, 0.55);
  text-decoration: none;
  transition: color var(--transition-interactive),
              padding-left var(--transition-interactive);
}


/* Larger touch targets for footer links on small screens */
@media (max-width: 768px) {
  .footer__links a {
    display: inline-block;
    padding: 10px 0;
  }
}

.footer__links a:hover {
  color: rgba(240, 239, 235, 0.95);
  padding-left: var(--space-2);
}

.footer__social {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-5);
}

.footer__social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(240, 239, 235, 0.55);
  transition: background var(--transition-interactive),
              color var(--transition-interactive),
              border-color var(--transition-interactive),
              transform var(--transition-interactive);
}

.footer__social a:hover {
  background: var(--color-navy-light);
  border-color: var(--color-navy-light);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.footer__social svg {
  width: 20px;
  height: 20px;
}

.footer__bottom {
  margin-top: var(--space-12);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: space-between;
  align-items: center;
}

.footer__bottom p,
.footer__bottom a {
  font-size: var(--text-xs);
  color: rgba(240, 239, 235, 0.4);
}

.footer__bottom a {
  text-decoration: none;
  transition: color var(--transition-interactive);
}

.footer__bottom a:hover {
  color: rgba(240, 239, 235, 0.7);
}

/* ========================================
   SCROLL ANIMATIONS (CSS-only)
   ======================================== */

.fade-in { opacity: 1; }

@supports (animation-timeline: scroll()) {
  .fade-in:not(.testimonial-card):not(.service-card):not(.process-step):not(.faq):not(.contact-form-card):not(.contact__info):not(.services__featured) {
    opacity: 0;
    animation: reveal-fade linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 50%;
  }
}

@keyframes reveal-fade {
  to { opacity: 1; }
}

.reveal-up { opacity: 1; }

@supports (animation-timeline: scroll()) {
  .reveal-up {
    clip-path: inset(100% 0 0 0);
    animation: reveal-clip linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 50%;
  }
}

@keyframes reveal-clip {
  to { clip-path: inset(0 0 0 0); }
}

/* ========================================
   SKIP LINK
   ======================================== */

.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  z-index: 200;
  padding: var(--space-3) var(--space-6);
  background: var(--color-primary);
  color: #FFFFFF;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: var(--space-4);
}

/* ========================================
   NAV DROPDOWN (Desktop Locations)
   ======================================== */

.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-dropdown__trigger {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: var(--space-1);
  cursor: pointer;
  transition: color var(--transition-interactive);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.nav-dropdown__trigger:hover,
.nav-dropdown__trigger.nav-active {
  color: var(--color-text);
}

.nav-dropdown__trigger svg {
  transition: transform 0.2s ease;
}

.nav-dropdown.open .nav-dropdown__trigger svg {
  transform: rotate(180deg);
}

.nav-dropdown__menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-surface);
  border: 1px solid rgba(224, 221, 216, 0.7);
  border-radius: var(--radius-lg);
  padding: var(--space-2);
  padding-top: calc(var(--space-2) + 12px);
  min-width: 220px;
  max-height: 70vh;
  overflow-y: auto;
  box-shadow: 0 16px 48px rgba(0,0,0,0.14),
              0 4px 12px rgba(0,0,0,0.06),
              0 0 0 1px rgba(255,255,255,0.8) inset;
  z-index: 110;
}

/* Invisible bridge between trigger and menu prevents hover dropout */
.nav-dropdown__menu::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

.nav-dropdown.open .nav-dropdown__menu {
  display: block;
}

.nav-dropdown__menu a {
  display: block;
  padding: var(--space-2) var(--space-4);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: background var(--transition-interactive),
              color var(--transition-interactive);
}

.nav-dropdown__menu a:hover {
  background: rgba(15, 45, 58, 0.08);
  color: var(--color-text);
}

/* Nav active state */
.header__nav a.nav-active {
  color: var(--color-text);
}

/* ========================================
   MOBILE MENU — Locations Submenu
   ======================================== */

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

.mobile-menu__locations-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-xl);
  color: var(--color-text);
  padding: var(--space-3) 0;
  cursor: pointer;
}

.mobile-menu__locations-toggle svg {
  transition: transform 0.2s ease;
}

.mobile-menu__locations-toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.mobile-menu__locations-list {
  display: none;
  padding-left: var(--space-4);
  padding-bottom: var(--space-3);
}

.mobile-menu__locations-list.open {
  display: flex;
  flex-direction: column;
}

.mobile-menu__locations-list a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--text-base);
  color: var(--color-text-muted);
  padding: var(--space-2) 0;
  border-bottom: none;
}

/* ========================================
   PAGE HERO (Sub-pages)
   ======================================== */

/* Light hero variant used by service, article, and utility pages */

/* Breadcrumb */

/* ========================================
   SERVICES DETAIL PAGE
   ======================================== */

/* CTA Banner subtitle */
.cta-banner__sub {
  font-size: var(--text-base);
  color: rgba(255,255,255,0.6);
  margin-bottom: var(--space-6);
  margin-top: calc(-1 * var(--space-3));
}

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

/* About Values */

/* FAQ Section standalone */
.faq-section {
  background: var(--color-bg);
  padding: var(--space-16) 0;
}

/* ========================================
   PORTFOLIO PAGE
   ======================================== */

.portfolio {
  background: var(--color-bg);
}

.portfolio__filter {
  padding: var(--space-2) var(--space-5);
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  cursor: pointer;
  transition: background var(--transition-interactive),
              color var(--transition-interactive),
              border-color var(--transition-interactive),
              box-shadow var(--transition-interactive);
}

.portfolio__filter:hover {
  border-color: var(--color-text-muted);
  color: var(--color-text);
}

.portfolio__filter.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #FFFFFF;
}

.portfolio-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-smooth),
              box-shadow var(--transition-smooth),
              border-color var(--transition-smooth);
}

.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(15, 45, 58, 0.20);
}

/* ========================================
   LOCATIONS HUB PAGE
   ======================================== */

/* ========================================
   LOCATION SUB-PAGES
   ======================================== */

/* Location Why Section */

/* Location Testimonial */

/* FAQ Accordion */
.faq-item { border-bottom: 1px solid var(--color-border); }

/* Roofing Challenges */

/* Location Process */


/* Comparison table: fit small screens without clipping the third column */
@media (max-width: 480px) {
  .comparison-table {
    font-size: 0.875rem !important;
  }
  .comparison-table th,
  .comparison-table td {
    padding: var(--space-3) var(--space-2) !important;
  }
}

/* ========================================
   STICKY MOBILE CTA BAR
   ======================================== */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(245, 244, 240, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(224, 221, 216, 0.8);
  padding: var(--space-3) max(var(--space-4), env(safe-area-inset-right))
           calc(var(--space-3) + env(safe-area-inset-bottom))
           max(var(--space-4), env(safe-area-inset-left));
  gap: var(--space-3);
  box-shadow: 0 -4px 32px rgba(0,0,0,0.14), 0 -1px 4px rgba(0,0,0,0.06);
}

@media (max-width: 768px) {
  .mobile-cta-bar {
    display: flex;
    transform: translateY(calc(100% + var(--space-4)));
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.25s ease,
                visibility 0.25s ease;
  }
  /* Add padding to body so footer isn't hidden behind the bar */
  body {
    padding-bottom: calc(72px + env(safe-area-inset-bottom));
  }
}

.mobile-cta-bar.visible {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-cta-bar a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  border-radius: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.2s, transform 0.1s;
}

.mobile-cta-bar a:active {
  transform: scale(0.97);
}

.mobile-cta-bar__call {
  background: var(--color-primary);
  background-image: linear-gradient(
    135deg,
    rgba(255,255,255,0.08) 0%,
    transparent 60%
  );
  color: #fff;
  box-shadow: 0 2px 12px rgba(196, 18, 48, 0.30);
  flex: 1.2 !important;
}

.mobile-cta-bar__call svg {
  width: 20px;
  height: 20px;
}

.mobile-cta-bar__estimate {
  background: var(--color-surface-2);
  color: var(--color-text);
  border: 1px solid var(--color-border);
  flex: 0.8 !important;
}

/* Portfolio card image — hover zoom */

/* Outline button style */
.btn--outline {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.28);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-lg);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  color: rgba(255,255,255,0.88);
  transition: background var(--transition-interactive),
              border-color var(--transition-interactive),
              color var(--transition-interactive);
  cursor: pointer;
}

.btn--outline:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.50);
  color: #FFFFFF;
}

/* ========================================
   SOCIAL PROOF COUNTER BAR
   ======================================== */

.proof-bar {
  background: var(--color-surface);
  padding-block: var(--space-12);
  border-bottom: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
}

.proof-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15, 45, 58, 0.03) 0%,
    transparent 50%,
    rgba(197, 165, 90, 0.018) 100%
  );
  pointer-events: none;
}

.proof-bar__inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-8);
  text-align: center;
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .proof-bar__inner { grid-template-columns: repeat(4, 1fr); }
}

.proof-bar__item {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-4);
  position: relative;
}

.proof-bar__item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  bottom: 20%;
  width: 1px;
  background: var(--color-divider);
}

@media (max-width: 767px) {
  .proof-bar__item:not(:last-child)::after { display: none; }
}

.proof-bar__number {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 1.2rem + 3.5vw, 3.8rem);
  color: var(--color-navy);
  letter-spacing: -0.04em;
  line-height: 1;
}

.proof-bar__label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ========================================
   TRUST REEL
   ======================================== */

.trust-reel {
  background: var(--color-surface-alt, var(--color-surface));
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.trust-reel__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  align-items: center;
}

@media (min-width: 1024px) {
  .trust-reel__inner {
    grid-template-columns: minmax(0, 0.88fr) minmax(520px, 1.12fr);
    gap: var(--space-10);
  }
}

.trust-reel__copy {
  max-width: 620px;
}

.trust-reel__copy .section-title,
.trust-reel__copy .section-subtitle {
  margin-inline: 0;
}

.trust-reel__points {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin: var(--space-6) 0 var(--space-6);
}

.trust-reel__points span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: var(--space-2) var(--space-3);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-surface);
  color: var(--color-text);
  font-size: var(--text-xs);
  font-weight: 700;
}

.trust-reel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.trust-reel__actions .btn--outline {
  border-color: var(--color-border);
  color: var(--color-text);
}

.trust-reel__media {
  position: relative;
  border-radius: 8px;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.trust-reel__video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  background: #0f2d3a;
}

.trust-reel__play {
  position: absolute;
  top: calc(50% - 20px);
  left: 50%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 48px;
  padding: var(--space-3) var(--space-5);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-full);
  color: #0f2d3a;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.26);
  font-weight: 800;
  line-height: 1.2;
}

.trust-reel__play:hover {
  background: #fff;
  transform: translate(-50%, -50%) scale(1.02);
}

.trust-reel__play[hidden] {
  display: none;
}

.trust-reel__fallback {
  padding: var(--space-3);
  text-align: center;
}

.trust-reel__disclosure {
  margin: 0;
  padding: 10px 14px;
  color: var(--color-text-muted);
  font-size: 0.75rem;
  line-height: 1.45;
}

.testimonials__grid--scrollable .testimonial-card:nth-child(n + 4) {
  display: none;
}

@media (max-width: 767px) {
  .trust-reel__actions .btn {
    width: 100%;
  }
}

/* ========================================
   GUARANTEE SECTION
   ======================================== */

/* ========================================
   FLOATING CTA
   ======================================== */

.floating-cta {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  z-index: 90;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-5) var(--space-6);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  max-width: 300px;
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.floating-cta.visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 1024px) {
  .floating-cta {
    display: none; /* Smaller screens already have an in-flow CTA path */
  }
}

.floating-cta__dismiss {
  position: absolute;
  top: var(--space-2);
  right: var(--space-2);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--color-text-muted);
  cursor: pointer;
  transition: color var(--transition-interactive);
}

.floating-cta__dismiss:hover {
  color: var(--color-text);
}

.floating-cta__text {
  font-size: var(--text-sm);
  color: var(--color-text);
  line-height: 1.5;
  padding-right: var(--space-6);
}

.floating-cta__text strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: var(--space-1);
}

.btn--sm {
  padding: var(--space-2) var(--space-5);
  font-size: var(--text-sm);
}

/* ========================================
   UTILITY CLASSES — Extracted from inline styles
   ======================================== */

/* Section centering */

/* Hero stats grid */
.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  margin: var(--space-6) 0;
  width: 100%;
}

.hero__stat {
  text-align: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  padding: var(--space-4) var(--space-3);
}

.hero__stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  font-family: var(--font-display);
  line-height: 1;
  color: #fff;
}

.hero__stat-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.7);
  margin-top: 4px;
}

@media (max-width: 520px) {
  .hero__cta-group {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__cta-group .btn {
    width: 100%;
  }

  /* The review line in the form repeats the key proof. Removing the taller
     three-card strip brings the lead form into the first mobile scroll. */
  .hero__stats { display: none; }

  .hero__badges {
    gap: var(--space-2);
  }

  .hero__badge {
    min-width: 0;
    letter-spacing: 0.04em;
  }

  .hero__eyebrow {
    max-width: 100%;
    white-space: normal;
    line-height: 1.35;
  }
}

/* Trust signal icon circles */

/* Pricing cards */
.pricing-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: var(--space-6);
}

.pricing-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.pricing-card__price {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-primary);
  font-family: var(--font-display);
}

.pricing-card__desc {
  margin-top: var(--space-3);
  color: var(--color-text-muted);
}

/* Trust flex row */

/* CTA banner check items */
.cta-checks {
  margin-top: var(--space-5);
  font-size: 0.875rem;
  color: rgba(255,255,255,0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-5);
  flex-wrap: wrap;
}

.cta-checks span {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Form trust signals row */
.form-trust-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  margin-top: var(--space-2);
  flex-wrap: wrap;
}

.form-trust-row .form-trust {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-align: center;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Authentic imagery galleries */
.authentic-gallery__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-4);
}

.authentic-gallery__item {
  margin: 0;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  overflow: hidden;
  background: var(--color-surface);
}

.authentic-gallery__item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 16 / 10;
  transition: transform 0.35s ease;
}

.authentic-gallery__item:hover img {
  transform: scale(1.03);
}

.authentic-gallery__item figcaption {
  padding: var(--space-3) var(--space-4);
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

.authentic-gallery__item--wide {
  grid-column: span 7;
}

.authentic-gallery__item--tall {
  grid-column: span 5;
}

.authentic-gallery__item--tall img {
  aspect-ratio: 4 / 5;
}

.authentic-gallery__item--half {
  grid-column: span 12;
}

.authentic-gallery__item--half img {
  aspect-ratio: 21 / 8;
}

@media (max-width: 1024px) {
  .authentic-gallery__item--wide,
  .authentic-gallery__item--tall {
    grid-column: span 6;
  }
  .authentic-gallery__item--half {
    grid-column: span 12;
  }
  .authentic-gallery__item--half img {
    aspect-ratio: 16 / 7;
  }
}

@media (max-width: 700px) {
  .authentic-gallery__grid {
    grid-template-columns: 1fr;
  }

  .authentic-gallery__item--wide,
  .authentic-gallery__item--tall,
  .authentic-gallery__item--half {
    grid-column: span 1;
  }

  .authentic-gallery__item--tall img {
    aspect-ratio: 16 / 10;
  }
}

/* ========================================
   PRINT STYLES
   ======================================== */

@media print {
  /* Hide non-essential UI */
  .header,
  .mobile-menu,
  .mobile-cta-bar,
  .floating-cta,
  .footer__social,
  .skip-link,
  [data-dismiss-cta] {
    display: none !important;
  }

  /* Reset backgrounds for print */
  body {
    background: white;
    color: black;
    font-size: 12pt;
    line-height: 1.5;
  }

  /* Ensure content fills the page */
  .container {
    max-width: 100%;
    padding: 0;
  }

  /* Show URLs after links */
  a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
    color: #666;
  }

  /* Don't show URL for tel and internal links */
  a[href^="tel"]::after {
    content: none;
  }

  /* Keep footer visible but simplified */
  .footer {
    background: white;
    color: black;
    border-top: 1px solid #ccc;
    padding: 1rem 0;
  }

  /* Ensure images print */
  img {
    max-width: 100% !important;
    page-break-inside: avoid;
  }

  /* Avoid page breaks inside key elements */
  .faq-item,
  .service-card,
  .testimonial-card {
    page-break-inside: avoid;
  }

  /* Force text colors for print */
  h1, h2, h3 {
    color: black;
  }

  p, li {
    color: #333;
  }
}

/* ========================================
   MOBILE CONVERSION TUNING (2026-07-19)
   ======================================== */

/* Anchor jumps to the hero form land clear of the sticky header */
#hero-form,
.lead-form-card {
  scroll-margin-top: 100px;
}

/* Trust bar chips duplicate the hero badges on phones — hide to shorten the scroll */
@media (max-width: 767px) {
  .trust-bar {
    display: none;
  }
}

/* Compact service cards on phones */
@media (max-width: 639px) {
  .services__grid {
    gap: var(--space-4);
  }

  .service-card {
    padding: var(--space-5);
  }

  .service-card__icon {
    width: 40px;
    height: 40px;
    padding: var(--space-2);
    margin-bottom: var(--space-3);
  }

  .service-card p {
    font-size: 0.95rem;
  }
}

/* ========================================
   REVIEW STRIPS (2026-07-19)
   One-line customer quotes at decision points.
   ======================================== */

.review-strip {
  max-width: 640px;
  margin: var(--space-6) auto 0;
  text-align: center;
}

.review-strip__stars {
  color: #FBBC04;
  letter-spacing: 3px;
  font-size: 0.9rem;
  margin: 0 0 var(--space-2);
}

.review-strip blockquote {
  font-style: italic;
  color: var(--color-text-muted);
  font-size: 1.05rem;
  line-height: 1.65;
  margin: 0 0 var(--space-2);
}

.review-strip cite {
  font-style: normal;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

/* Mobile header: show the full lockup (mark + wordmark) so visitors
   always see the company name, not just the shield (2026-07-19) */
@media (max-width: 767px) {
  .header__logo-lockup {
    display: block;
    height: 46px;
  }

  .header__logo-shield {
    display: none;
  }
}

/* September 2026 brand refinement: navy, warm white, red actions. */
:root { --space-7: 1.75rem; --space-9: 2.25rem; --color-text: #142e3b; --color-text-muted: #53616a; }
.btn, .mobile-cta-bar a { border-radius: 4px; min-height: 48px; }
.btn--primary, .btn--convert.btn--primary, .lead-form .btn--convert.btn--primary,
.mobile-cta-bar .mobile-cta-bar__estimate { background: #b51d35; background-image: none; color: #fff; box-shadow: none; }
.btn--primary:hover, .btn--convert.btn--primary:hover, .lead-form .btn--convert.btn--primary:hover,
.mobile-cta-bar .mobile-cta-bar__estimate:hover { background: #92162a; box-shadow: none; }
.btn--primary:active, .btn--convert.btn--primary:active { background: #7e1223; box-shadow: none; }
.btn--blue.btn--primary, .mobile-cta-bar .mobile-cta-bar__call { background: #0f2d3a; background-image: none; box-shadow: none; color: #fff; }
.btn--blue.btn--primary:hover, .mobile-cta-bar .mobile-cta-bar__call:hover { background: #081e27; box-shadow: none; }
.btn:disabled { opacity: .65; cursor: wait; }
.header { background: #f7f6f2; backdrop-filter: none; }
.header__logo-lockup { height: 54px; }
.header__inner { min-height: 80px; }
.text-link { display: inline-flex; align-items: center; gap: 12px; padding: 10px 0; color: #142e3b; font-weight: 600; text-decoration: none; text-underline-offset: 5px; }
.text-link:hover { text-decoration: underline; }
.section-title { letter-spacing: -.035em; }
.form-group input, .form-group select, .form-group textarea { font-size: 16px; min-height: 50px; border-radius: 3px; }
form { scroll-margin-top: 112px; }
form :focus-visible { outline: 3px solid #173d50; outline-offset: 3px; }
.form-error { color: #a5182d; }
.mobile-cta-bar { box-shadow: 0 -2px 12px #0f2d3a12; }
.mobile-cta-bar[hidden] { display: none !important; }
.service-refresh .service-page-hero { min-height: 390px; display: flex; align-items: center; }
.service-refresh .service-page-hero__inner { max-width: 1200px !important; text-align: left !important; }
.service-refresh .service-page-hero__inner > p { margin-inline: 0 !important; max-width: 620px !important; }
.service-refresh .service-page-hero__inner h1 { max-width: 670px; font-size: clamp(2rem, 4vw, 3.4rem) !important; letter-spacing: -.04em; }
.service-refresh .service-page-hero__actions { justify-content: flex-start !important; }
.service-refresh .service-page-hero__media::after { background: linear-gradient(90deg, #0b2734f5 0%, #0b2734d9 48%, #0b27344d 100%); }
.service-decision { background: #fff; }
.service-decision__inner { display: grid; grid-template-columns: 1.12fr 1fr; gap: clamp(28px, 5vw, 70px); align-items: start; }
.service-decision__inner > aside { display: block !important; margin: 0 !important; padding: 0 !important; border: 0 !important; }
.service-decision__inner figure { margin-bottom: 24px !important; }
.service-decision__inner figure img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 2px; }
.service-decision__inner figcaption { font-size: .8rem; }
.service-decision__inner h2 { font-size: clamp(1.35rem, 2.3vw, 1.85rem); letter-spacing: -.035em; }
.service-decision__inner .inline-lead-card { margin: 0; padding: clamp(24px, 3vw, 40px); border: 1px solid #d9dfdf; border-radius: 4px; box-shadow: none; background: #f7f6f2; scroll-margin-top: 110px; }
.service-decision__inner .inline-lead-card form { margin-top: 24px; }
.service-refresh .floating-cta { display: none; }
@media (max-width: 767px) {
  .header__inner { min-height: 72px; }
  .header__logo-lockup { height: 46px; }
  .service-decision__inner { grid-template-columns: 1fr; }
  .service-decision__inner .inline-lead-card { order: -1; }
  .service-refresh .service-page-hero { min-height: 390px; }
  .service-refresh .service-page-hero__media::after { background: #0b2734d9; }
  .service-decision__inner > aside { min-width: 0; }
  .service-page-hero__actions .btn { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Homepage: real photography, editorial project proof, a short inspection request. */
.home-refresh { background: #f7f6f2; }
.home-refresh .container { max-width: 1280px; padding-inline: clamp(22px, 5.5vw, 80px); }
.home-refresh .section-padding { padding-block: clamp(52px, 6.5vw, 88px); }
.home-hero { min-height: min(650px, calc(100svh - 80px)); padding: 0; }
.home-hero .hero__bg img { object-position: 70% 54%; filter: none; }
.home-hero .hero__overlay { background: linear-gradient(90deg, #081e27ed 0%, #081e27c9 37%, #081e2738 74%, #081e270d 100%); }
.home-hero__inner { position: relative; z-index: 1; width: 100%; padding-block: 58px; }
.home-hero__copy { max-width: 650px; color: #fff; }
.home-hero__brand { font-size: .8rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; margin-bottom: 25px; }
.home-hero__brand span { display: block; font-size: .68rem; letter-spacing: .12em; margin-top: 6px; color: #d6e0e2; }
.home-hero h1 { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.4rem, 4.5vw, 3.85rem); line-height: 1.09; letter-spacing: -.05em; max-width: 620px; color: #fff; }
.home-hero__intro { font-size: clamp(1.04rem, 1.4vw, 1.2rem); color: #e5ebed; line-height: 1.6; max-width: 390px; margin: 25px 0; }
.home-hero__actions { display: flex; flex-wrap: wrap; gap: 16px 26px; align-items: center; }
.home-hero__call { padding: 12px 0; color: #fff; font-size: .94rem; text-decoration: none; font-weight: 600; }
.home-hero__call:hover { text-decoration: underline; text-underline-offset: 5px; }
.home-hero__rating { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px; color: #e9eded; font-size: .78rem; margin-top: 26px; padding-block: 5px; text-decoration: none; }
.home-hero__rating span { color: #edc776; letter-spacing: 2px; }
.home-hero__caption { position: absolute; right: clamp(24px, 5vw, 80px); bottom: 32px; color: #fff; font-size: .76rem; text-shadow: 0 1px 4px #000; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 32px; }
.section-heading .section-title { max-width: 620px; margin-bottom: 0; }
.section-heading > .text-link { white-space: nowrap; }
.home-refresh .section-title { font-size: clamp(1.85rem, 3.2vw, 2.75rem); }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.project-story__image { display: block; overflow: hidden; background: #d8dedc; }
.project-story__image img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 450ms ease; }
.project-story__image:hover img { transform: scale(1.04); }
.project-story__location { color: #69716f; font-size: .71rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; margin: 19px 0 12px; }
.project-story h3 { font-family: var(--font-display); font-size: clamp(1.2rem, 1.6vw, 1.45rem); letter-spacing: -.025em; line-height: 1.25; }
.project-story > p:not(.project-story__location) { color: var(--color-text-muted); font-size: .91rem; line-height: 1.65; margin-top: 12px; }
.project-story .text-link { font-size: .88rem; margin-top: 10px; }
.home-paths { background: #0f2d3a; color: #fff; }
.home-paths .section-label { color: #ecc5c9; }
.home-paths .section-title { color: #fff; }
.home-path { display: grid; grid-template-columns: 56px 1fr 40px; gap: 20px; align-items: center; padding: 28px 0; border-top: 1px solid #ffffff30; color: #fff; text-decoration: none; }
.home-path:last-child { border-bottom: 1px solid #ffffff30; }
.home-path__number { font-size: .82rem; color: #b4c5cc; }
.home-path h3 { font-size: clamp(1.35rem, 2.5vw, 2rem); letter-spacing: -.03em; }
.home-path p { margin-top: 8px; color: #c7d5d9; font-size: .94rem; }
.home-path__arrow { font-size: 1.6rem; transition: transform 200ms; }
.home-path:hover .home-path__arrow { transform: translate(4px,-4px); }
.home-path:hover h3 { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.home-path:focus-visible { outline-color: #fff; }
.home-inspection { background: #fff; }
.home-inspection__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 7vw, 100px); align-items: start; }
.home-inspection__copy > p:not(.section-label) { color: var(--color-text-muted); }
.home-inspection__copy ul { margin: 25px 0; display: grid; gap: 12px; font-size: .94rem; }
.home-inspection__copy li { padding-left: 24px; position: relative; }
.home-inspection__copy li::before { content: '✓'; position: absolute; left: 0; color: #b51d35; }
.home-inspection__proof { font-size: .85rem; line-height: 1.8; border-top: 1px solid #d9dfdf; padding-top: 24px; }
.home-inspection__form { padding-left: clamp(24px, 4vw, 48px); border-left: 1px solid #d9dfdf; }
.home-inspection__form > h3 { font-size: 1.5rem; letter-spacing: -.03em; }
.home-inspection__form > p { margin: 12px 0 25px; color: var(--color-text-muted); font-size: .94rem; }
.home-inspection__form .form-group { margin-bottom: 20px; }
.home-inspection__form .lead-form > .btn { width: 100%; font-size: 1rem; padding: 16px; }
.home-inspection__form .form-trust-row { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 8px 18px; margin-top: 18px; }
.home-inspection__form .form-trust { font-size: .76rem; }
.home-inspection__form .lead-form__response-note { font-size: .8rem; text-align: left; }
.home-review-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.home-review-grid figure { padding-top: 24px; border-top: 2px solid #b51d35; }
.home-review-grid blockquote { font-size: clamp(1.08rem, 1.7vw, 1.3rem); line-height: 1.65; letter-spacing: -.015em; }
.home-review-grid figcaption { margin-top: 22px; font-size: .88rem; font-weight: 600; }
.home-review-grid figcaption span { display: block; font-weight: 400; color: var(--color-text-muted); font-size: .78rem; }
.home-budget { background: #eaece7; }
.home-budget .section-heading > p { max-width: 370px; color: var(--color-text-muted); font-size: .94rem; }
.home-prices { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
.home-prices > div { border-top: 1px solid #acb6b4; padding-top: 22px; }
.home-prices dt { font-weight: 600; font-size: .9rem; }
.home-prices dd { font-size: clamp(1.35rem, 2.5vw, 2rem); font-family: var(--font-display); font-weight: 800; margin: 10px 0; letter-spacing: -.04em; }
.home-prices p { color: var(--color-text-muted); font-size: .87rem; }
.home-budget__links { display: flex; gap: 30px; flex-wrap: wrap; margin-top: 25px; font-size: .9rem; }
.home-process__steps { display: grid; grid-template-columns: repeat(4,1fr); list-style: none; counter-reset: steps; gap: 28px; margin-top: 35px; }
.home-process__steps li { counter-increment: steps; }
.home-process__steps li::before { content: '0' counter(steps); display: block; font-size: .8rem; color: #b51d35; margin-bottom: 18px; }
.home-process__steps h3 { font-size: 1.1rem; }
.home-process__steps p { font-size: .87rem; color: var(--color-text-muted); margin-top: 12px; }
.home-experience { margin-top: 32px; font-size: .8rem; color: var(--color-text-muted); }
.home-resources { background: #fff; }
.home-resource-links { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; margin-top: 26px; }
.home-resource-links a { padding: 20px 0; border-bottom: 1px solid #d9dfdf; color: #142e3b; font-size: .94rem; text-decoration: none; }
.home-resource-links a:hover { text-decoration: underline; }
.home-resources .preferred-source-card { margin-top: 40px; border: 0; border-radius: 0; padding: 24px 0 0; box-shadow: none; background: none; }
.home-resources .preferred-source-card h3 { font-size: 1.2rem; }
.home-resources .preferred-source-card p { font-size: .88rem; }
.home-refresh .cta-banner { background: #0f2d3a; background-image: none; padding-block: 70px; }
.home-refresh .cta-banner::before, .home-refresh .cta-banner::after { display: none; }
.home-refresh .cta-banner .section-label { color: #d8e1e4; font-size: .72rem; }
.home-refresh .cta-banner h2 { max-width: 750px; margin-inline: auto; font-size: clamp(2rem,4vw,3.4rem); letter-spacing: -.04em; }
.home-refresh .cta-banner__phone { font-size: 1rem; }
.home-refresh .trust-reel__points { display: none; }
.home-hero__brand, .home-hero h1, .home-hero__intro, .home-hero__actions { animation: home-entrance 600ms both; }
.home-hero h1 { animation-delay: 60ms; }.home-hero__intro { animation-delay: 120ms; }.home-hero__actions { animation-delay: 180ms; }
@keyframes home-entrance { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (max-width: 900px) {
 .home-hero__caption { display: none; }
 .section-heading { align-items: start; flex-direction: column; gap: 12px; }
 .home-review-grid { gap: 30px; }
 .home-process__steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
 .home-hero { min-height: min(620px, calc(100svh - 72px)); }
 .home-hero__inner { padding-block: 38px; }
 .home-hero .hero__overlay { background: linear-gradient(90deg,#081e27e8,#081e27a6); }
 .home-hero .hero__bg img { object-position: 58% center; }
 .home-hero h1 { font-size: clamp(2.05rem,8.6vw,3.25rem); max-width: 520px; }
 .home-hero__brand { margin-bottom: 22px; }
 .home-hero__intro { margin-block: 22px; max-width: 290px; }
 .home-hero__actions { gap: 8px; align-items: flex-start; flex-direction: column; }
 .home-hero__actions .btn { padding: 15px 20px; font-size: .94rem; }
 .home-hero__rating { font-size: .7rem; margin-top: 14px; gap: 7px; }
 .project-grid, .home-inspection__inner, .home-review-grid, .home-prices, .home-resource-links { grid-template-columns: 1fr; }
 .project-grid { gap: 36px; }.project-story__image img { aspect-ratio: 16 / 10; }
 .home-path { grid-template-columns: 25px 1fr 24px; gap: 12px; padding-block: 24px; }
 .home-path p { font-size: .86rem; }
 .home-inspection__form { padding: 30px 0 0; border-left: 0; border-top: 1px solid #d9dfdf; }
 .home-review-grid { gap: 36px; }
 .home-budget__links { gap: 4px; flex-direction: column; }
 .home-refresh .cta-banner { padding-block: 54px; }
}
@media (max-height: 700px) and (max-width: 767px) {
 .home-hero { min-height: 560px; }.home-hero__inner { padding-block: 28px; }
}

.home-inspection__form #hero-form { scroll-margin-top: 220px; }
.home-prices dd p { font-family: var(--font-body); font-weight: 400; letter-spacing: normal; margin-top: 12px; }

.project-story .project-story__caption { font-size: .7rem; color: #65706f; margin: 8px 0 0; }
.project-story .project-story__location { margin-top: 16px; }

/* Featured September metal roof: original project photography, uncropped gallery. */
.home-metal-feature { background: #fff; scroll-margin-top: 80px; }
.home-metal-feature .section-heading { margin-bottom: 18px; }
.home-metal-feature__intro { color: var(--color-text-muted); max-width: 620px; margin-bottom: 30px; }
.metal-photo-grid { display: grid; grid-template-columns: 2.08fr 1fr; gap: 22px; align-items: start; }
.metal-photo { margin: 0; min-width: 0; }
.metal-photo--main { grid-row: span 2; align-self: center; }
.metal-photo a { display: block; background: #e7ebe9; transition: opacity 200ms ease; }
.metal-photo a:hover { opacity: .9; }
.metal-photo img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; }
.metal-photo figcaption { color: #53616a; font-size: .75rem; margin-top: 9px; letter-spacing: .015em; }
.home-metal-feature__footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 26px; }
.home-metal-feature__footer p { color: #53616a; font-size: .8rem; }
a.home-hero__caption { text-underline-offset: 5px; }
@media (max-width: 767px) {
  .metal-photo-grid { grid-template-columns: 1fr 1fr; gap: 18px 14px; }
  .metal-photo--main { grid-column: 1 / -1; grid-row: auto; }
  .metal-photo figcaption { font-size: .7rem; }
  .home-metal-feature__footer { align-items: start; flex-direction: column; gap: 4px; }
}
