/* ==========================================================================
   THE HAPPY HOME HEROES LLC — MASTER STYLESHEET
   Single-Family Home Remodeling, Home Additions, and Residential Repairs
   ========================================================================== */

:root {
  /* Color Palette */
  --color-primary: #18283b;
  --color-primary-light: #2c425c;
  --color-primary-dark: #0f1a27;
  
  --color-forest: #245842;
  --color-forest-hover: #1b4332;
  --color-forest-light: #eaf4ef;
  --color-forest-subtle: #f3f8f5;

  --color-warm-amber: #b46b1d;
  --color-warm-light: #fef7ee;
  --color-warm-border: #f9d8b1;

  --color-bg: #fbfbfa;
  --color-surface: #ffffff;
  --color-surface-muted: #f4f6f8;
  --color-surface-alt: #edf1f5;

  --color-text: #1b2633;
  --color-text-muted: #4e5d6e;
  --color-text-light: #707f90;
  --color-text-inverse: #ffffff;

  --color-border: #e2e7ec;
  --color-border-hover: #cbd5e0;

  --color-success: #15803d;
  --color-success-bg: #f0fdf4;
  --color-warning: #9a3412;
  --color-warning-bg: #fff7ed;
  --color-info: #1e40af;
  --color-info-bg: #eff6ff;

  /* Typography */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Layout & Sizing */
  --container-max: 1200px;
  --container-narrow: 860px;
  --container-padding: 1.5rem;
  --header-height: 80px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 10px 25px rgba(15, 23, 42, 0.1);
  --shadow-card: 0 2px 8px rgba(15, 23, 42, 0.06);
  --shadow-hover: 0 12px 30px rgba(15, 23, 42, 0.12);

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.15s ease-in-out;
  --transition-normal: 0.25s ease-in-out;
}

/* --------------------------------------------------------------------------
   RESET & BASE STYLES
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.65;
  font-weight: 400;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
}

main {
  flex: 1 0 auto;
}

img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

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

a:hover {
  color: var(--color-forest-hover);
  text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--color-primary);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.015em;
  margin-bottom: 0.75rem;
}

h1 {
  font-size: clamp(2rem, 4vw + 1rem, 2.75rem);
  letter-spacing: -0.025em;
}

h2 {
  font-size: clamp(1.6rem, 2.5vw + 0.8rem, 2.2rem);
}

h3 {
  font-size: 1.35rem;
}

h4 {
  font-size: 1.15rem;
}

p {
  margin-bottom: 1.25rem;
  color: var(--color-text-muted);
}

p.lead {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--color-text);
}

ul, ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
  color: var(--color-text-muted);
}

li {
  margin-bottom: 0.5rem;
}

strong {
  color: var(--color-text);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   ACCESSIBILITY & FOCUS
   -------------------------------------------------------------------------- */
.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;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--color-primary);
  color: #ffffff;
  padding: 0.75rem 1.5rem;
  z-index: 10000;
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 1rem;
  outline: 3px solid var(--color-forest);
}

:focus-visible {
  outline: 3px solid var(--color-forest);
  outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   CONTAINERS & LAYOUT
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
  box-sizing: border-box;
}

.container-narrow {
  width: 100%;
  max-width: var(--container-narrow);
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

.section {
  padding: 4.5rem 0;
  width: 100%;
  box-sizing: border-box;
}

.section-sm {
  padding: 2.5rem 0;
  width: 100%;
  box-sizing: border-box;
}

.section-muted {
  background-color: var(--color-surface-muted);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.section-forest-light {
  background-color: var(--color-forest-subtle);
  border-top: 1px solid rgba(36, 88, 66, 0.15);
  border-bottom: 1px solid rgba(36, 88, 66, 0.15);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem auto;
  width: 100%;
  box-sizing: border-box;
}

.section-header .badge {
  margin-bottom: 0.75rem;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--color-text-muted);
}

/* Grid Utilities */
.grid {
  display: grid;
  gap: 2rem;
  width: 100%;
  box-sizing: border-box;
}

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

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

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

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

@media (max-width: 680px) {
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
    justify-items: center;
  }
  .grid > * {
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
  }
  .section {
    padding: 3rem 0;
  }
}

/* --------------------------------------------------------------------------
   BUTTONS & BADGES
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-fast);
  line-height: 1.3;
  text-align: center;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background-color: var(--color-forest);
  color: #ffffff;
  border-color: var(--color-forest);
  box-shadow: 0 2px 6px rgba(36, 88, 66, 0.25);
}

.btn-primary:hover {
  background-color: var(--color-forest-hover);
  border-color: var(--color-forest-hover);
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(36, 88, 66, 0.35);
}

.btn-secondary {
  background-color: #ffffff;
  color: var(--color-primary);
  border-color: var(--color-border-hover);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background-color: var(--color-surface-muted);
  border-color: var(--color-primary-light);
  color: var(--color-primary);
}

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

.btn-outline-forest:hover {
  background-color: var(--color-forest);
  color: #ffffff;
}

.btn-lg {
  padding: 0.9rem 1.8rem;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: 0.775rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.badge-forest {
  background-color: var(--color-forest-light);
  color: var(--color-forest);
  border: 1px solid rgba(36, 88, 66, 0.2);
}

.badge-amber {
  background-color: var(--color-warm-light);
  color: var(--color-warm-amber);
  border: 1px solid var(--color-warm-border);
}

.badge-slate {
  background-color: var(--color-surface-alt);
  color: var(--color-primary);
  border: 1px solid var(--color-border);
}

/* --------------------------------------------------------------------------
   SITE HEADER & NAVIGATION
   -------------------------------------------------------------------------- */
.top-bar {
  background-color: var(--color-primary-dark);
  color: #cbd5e1;
  font-size: 0.825rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #cbd5e1;
}

.top-bar-item a {
  color: #ffffff;
  text-decoration: none;
}

.top-bar-item a:hover {
  text-decoration: underline;
  color: #5eead4;
}

.top-bar-icon {
  width: 14px;
  height: 14px;
  stroke: #5eead4;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #ffffff;
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-fast);
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.brand-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo:hover {
  text-decoration: none;
}

.brand-logo img {
  height: 44px;
  width: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.nav-link {
  color: var(--color-text);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.5rem 0.25rem;
  position: relative;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.nav-link:hover {
  color: var(--color-forest);
  text-decoration: none;
}

.nav-link.active {
  color: var(--color-forest);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-forest);
  border-radius: 2px;
}

.nav-cta {
  display: flex;
  align-items: center;
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 0.5rem;
  cursor: pointer;
  color: var(--color-primary);
}

.menu-toggle:hover {
  background-color: var(--color-surface-muted);
}

.menu-toggle-icon {
  width: 24px;
  height: 24px;
}

/* Mobile Nav Drawer */
/* Mobile Nav Drawer */
@media (max-width: 860px) {
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background: #ffffff;
    flex-direction: column;
    align-items: stretch;
    padding: 1.5rem;
    gap: 1.25rem;
    border-bottom: 2px solid var(--color-border);
    box-shadow: var(--shadow-lg);
    display: none;
    max-height: calc(100vh - var(--header-height) - 20px);
    overflow-y: auto;
    box-sizing: border-box;
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    width: 100%;
  }

  .nav-link {
    display: block;
    width: 100%;
    padding: 0.75rem 0.5rem;
    border-radius: var(--radius-sm);
    font-size: 1.05rem;
  }

  .nav-link:hover, .nav-link.active {
    background-color: var(--color-forest-subtle);
  }

  .nav-link.active::after {
    display: none;
  }

  .nav-cta {
    width: 100%;
    padding-top: 0.5rem;
  }

  .nav-cta .btn {
    width: 100%;
  }
}

/* --------------------------------------------------------------------------
   HERO SECTION
   -------------------------------------------------------------------------- */
.hero {
  background: linear-gradient(180deg, #f3f7f5 0%, #ffffff 100%);
  padding: 4rem 0 5rem 0;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--color-border);
  width: 100%;
  box-sizing: border-box;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3.5rem;
  width: 100%;
  box-sizing: border-box;
}

.hero-content {
  width: 100%;
  box-sizing: border-box;
}

.hero-content h1 {
  margin-bottom: 1.25rem;
}

.hero-content .lead {
  font-size: 1.2rem;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero-feature-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text);
  background: #ffffff;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
}

.hero-pill-icon {
  width: 14px;
  height: 14px;
  color: var(--color-forest);
}

.hero-media {
  position: relative;
  width: 100%;
  box-sizing: border-box;
}

.hero-image-wrapper {
  background: #ffffff;
  padding: 0.75rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  width: 100%;
  max-width: 100%;
  margin-inline: auto;
  box-sizing: border-box;
}

.hero-image-wrapper img {
  border-radius: var(--radius-md);
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    justify-items: center;
  }
  .hero-content {
    width: 100%;
    max-width: 100%;
  }
  .hero-media {
    width: 100%;
    max-width: 600px;
    margin-inline: auto;
  }
  .hero {
    padding: 3rem 0;
  }
}

/* --------------------------------------------------------------------------
   PAGE HERO / BANNER
   -------------------------------------------------------------------------- */
.page-hero {
  background: linear-gradient(135deg, #18283b 0%, #245842 100%);
  color: #ffffff;
  padding: 3.5rem 0;
  position: relative;
}

.page-hero h1 {
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.page-hero p {
  color: #e2e8f0;
  font-size: 1.15rem;
  max-width: 700px;
  margin-bottom: 0;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  margin-bottom: 1rem;
  color: #94a3b8;
  list-style: none;
  padding: 0;
}

.breadcrumbs a {
  color: #cbd5e1;
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.breadcrumbs span {
  color: #64748b;
}

/* --------------------------------------------------------------------------
   CARDS & SERVICE COMPONENTS
   -------------------------------------------------------------------------- */
.card {
  background-color: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  margin-inline: auto;
  box-sizing: border-box;
}

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

.card-padded {
  padding: 1.5rem 2rem;
}

.card-media {
  position: relative;
  background-color: var(--color-surface-muted);
  border-bottom: 1px solid var(--color-border);
  width: 100%;
  box-sizing: border-box;
}

.card-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.card-body {
  padding: 1.75rem;
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.card-icon-box {
  width: 48px;
  height: 48px;
  background-color: var(--color-forest-light);
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(36, 88, 66, 0.2);
}

.card-icon-box img {
  width: 28px;
  height: 28px;
}

.card-body h3 {
  margin-bottom: 0.75rem;
}

.card-body p {
  flex: 1 0 auto;
  margin-bottom: 1.25rem;
}

.card-footer {
  padding: 1.25rem 1.75rem;
  background-color: var(--color-surface-muted);
  border-top: 1px solid var(--color-border);
  box-sizing: border-box;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  color: var(--color-forest);
}

.card-link img {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
}

.card-link:hover img {
  transform: translateX(4px);
}

/* Service Detail Sections */
.service-detail-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  margin-bottom: 4.5rem;
  width: 100%;
  box-sizing: border-box;
}

.service-detail-block:last-child {
  margin-bottom: 0;
}

.service-detail-block.reverse {
  direction: rtl;
}

.service-detail-block.reverse > * {
  direction: ltr;
}

.service-detail-media {
  background: #ffffff;
  padding: 0.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  width: 100%;
  max-width: 100%;
  margin-inline: auto;
  box-sizing: border-box;
}

.service-detail-media img {
  border-radius: var(--radius-md);
  width: 100%;
  height: auto;
  display: block;
}

.service-detail-content {
  width: 100%;
  box-sizing: border-box;
}

.service-detail-content h2 {
  margin-bottom: 1rem;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 2rem 0;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  color: var(--color-text);
}

.feature-list-icon {
  width: 20px;
  height: 20px;
  min-width: 20px;
  margin-top: 2px;
}

@media (max-width: 860px) {
  .service-detail-block, .service-detail-block.reverse {
    grid-template-columns: 1fr;
    gap: 2rem;
    direction: ltr;
    justify-items: center;
  }
  .service-detail-media {
    width: 100%;
    max-width: 580px;
    margin-inline: auto;
  }
  .service-detail-content {
    width: 100%;
    max-width: 100%;
  }
}

/* --------------------------------------------------------------------------
   APPROACH / STEP CARDS
   -------------------------------------------------------------------------- */
.step-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
  margin-inline: auto;
  box-sizing: border-box;
}

.step-badge {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background-color: var(--color-forest);
  color: #ffffff;
  font-weight: 800;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.step-card h3 {
  margin-bottom: 0.75rem;
}

.step-card p {
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   ACCORDION (FAQ)
   -------------------------------------------------------------------------- */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 820px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

.accordion-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition-fast);
  width: 100%;
  max-width: 100%;
  margin-inline: auto;
  box-sizing: border-box;
}

.accordion-item[open] {
  border-color: var(--color-forest);
}

.accordion-summary {
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--color-primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  user-select: none;
  box-sizing: border-box;
}

.accordion-summary::-webkit-details-marker {
  display: none;
}

.accordion-icon {
  width: 20px;
  height: 20px;
  min-width: 20px;
  transition: transform var(--transition-fast);
  stroke: var(--color-forest);
  flex-shrink: 0;
}

.accordion-item[open] .accordion-icon {
  transform: rotate(180deg);
}

.accordion-content {
  padding: 0 1.5rem 1.5rem 1.5rem;
  color: var(--color-text-muted);
  border-top: 1px solid var(--color-surface-muted);
  padding-top: 1rem;
  box-sizing: border-box;
}

.accordion-content p:last-child {
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   CONTACT FORM & INFO BLOCKS
   -------------------------------------------------------------------------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.5rem;
  align-items: flex-start;
  width: 100%;
  box-sizing: border-box;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
  max-width: 100%;
  margin-inline: auto;
  box-sizing: border-box;
}

.contact-info-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  width: 100%;
  max-width: 100%;
  margin-inline: auto;
  box-sizing: border-box;
}

.contact-info-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0 0;
  width: 100%;
  box-sizing: border-box;
}

.contact-info-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
  box-sizing: border-box;
}

.contact-info-list li:last-child {
  margin-bottom: 0;
}

.contact-icon-pill {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  background-color: var(--color-forest-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon-pill img {
  width: 20px;
  height: 20px;
}

.contact-detail-text {
  flex: 1 1 auto;
  min-width: 0;
  overflow-wrap: break-word;
  word-break: break-word;
}

.contact-detail-text strong {
  display: block;
  font-size: 0.85rem;
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.2rem;
}

.contact-detail-text a {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text);
  word-break: break-word;
}

.contact-detail-text a:hover {
  color: var(--color-forest);
}

.contact-form-panel {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-md);
  width: 100%;
  max-width: 100%;
  margin-inline: auto;
  box-sizing: border-box;
}

.form-group {
  margin-bottom: 1.35rem;
  width: 100%;
  box-sizing: border-box;
}

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-primary);
  margin-bottom: 0.4rem;
}

.form-label .required {
  color: #dc2626;
}

.form-control {
  width: 100%;
  max-width: 100%;
  padding: 0.75rem 1rem;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--color-text);
  background-color: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-sizing: border-box;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-forest);
  box-shadow: 0 0 0 3px rgba(36, 88, 66, 0.2);
}

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

.form-help {
  font-size: 0.8rem;
  color: var(--color-text-light);
  margin-top: 0.35rem;
  display: block;
}

.form-notice {
  background-color: var(--color-surface-muted);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 0.9rem 1.1rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
  box-sizing: border-box;
}

.form-feedback {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
  display: none;
  box-sizing: border-box;
  word-break: break-word;
}

.form-feedback.is-visible {
  display: block;
}

.form-feedback-success {
  background-color: var(--color-success-bg);
  border: 1px solid rgba(21, 128, 61, 0.25);
  color: var(--color-success);
}

.form-feedback-error {
  background-color: var(--color-warning-bg);
  border: 1px solid rgba(154, 52, 18, 0.25);
  color: var(--color-warning);
}

/* --------------------------------------------------------------------------
   FORM SUBMISSION CONFIRMATION STATE (DEMO UI)
   -------------------------------------------------------------------------- */
.form-success-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2.25rem 1rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  animation: fadeInSuccess 0.35s ease-in-out;
}

@keyframes fadeInSuccess {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.success-icon-wrapper {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background-color: var(--color-forest-light);
  border: 2px solid rgba(36, 88, 66, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 14px rgba(36, 88, 66, 0.15);
  flex-shrink: 0;
}

.success-icon {
  width: 38px;
  height: 38px;
  stroke: var(--color-forest);
}

.success-title {
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.85rem;
  line-height: 1.3;
}

.success-message {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text-muted);
  max-width: 480px;
  margin: 0 auto 1.5rem auto;
}

.demo-disclaimer-box {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 1.1rem;
  background-color: var(--color-surface-muted);
  border: 1px dashed var(--color-border-hover);
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  color: var(--color-text-light);
  max-width: 480px;
  margin: 0 auto;
  text-align: left;
  box-sizing: border-box;
}

.demo-disclaimer-box svg {
  flex-shrink: 0;
  stroke: var(--color-text-light);
}

.success-btn-reset {
  margin-top: 1.75rem;
  width: 100%;
  max-width: 320px;
  justify-content: center;
}

@media (max-width: 860px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    justify-items: center;
  }
  .contact-info-panel,
  .contact-form-panel {
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
  }
  .contact-form-panel {
    padding: 1.75rem 1.5rem;
  }
}

/* --------------------------------------------------------------------------
   LEGAL / POLICY / COMPLIANCE PAGES
   -------------------------------------------------------------------------- */
.policy-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 2rem;
  width: 100%;
  max-width: 100%;
  margin-inline: auto;
  box-sizing: border-box;
}

.policy-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  padding-bottom: 1.5rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.875rem;
  color: var(--color-text-light);
  box-sizing: border-box;
}

.policy-section {
  margin-bottom: 2.5rem;
  width: 100%;
  box-sizing: border-box;
}

.policy-section:last-child {
  margin-bottom: 0;
}

.policy-section h2 {
  font-size: 1.4rem;
  margin-bottom: 0.85rem;
  color: var(--color-primary);
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--color-surface-muted);
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.95rem;
  box-sizing: border-box;
}

.legal-table th, .legal-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
  word-break: break-word;
  box-sizing: border-box;
}

.legal-table th {
  background-color: var(--color-surface-muted);
  color: var(--color-primary);
  font-weight: 600;
  width: 35%;
}

.legal-table td {
  color: var(--color-text);
}

.callout-box {
  background-color: var(--color-forest-subtle);
  border-left: 4px solid var(--color-forest);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  width: 100%;
  max-width: 100%;
  margin-inline: auto;
  box-sizing: border-box;
}

.callout-box p:last-child {
  margin-bottom: 0;
}

.callout-box-warning {
  background-color: var(--color-warm-light);
  border-left-color: var(--color-warm-amber);
}

/* --------------------------------------------------------------------------
   CTA SECTION
   -------------------------------------------------------------------------- */
.cta-section {
  background: linear-gradient(135deg, #18283b 0%, #245842 100%);
  color: #ffffff;
  text-align: center;
  padding: 4.5rem 0;
}

.cta-section h2 {
  color: #ffffff;
  margin-bottom: 1rem;
}

.cta-section p {
  color: #e2e8f0;
  font-size: 1.15rem;
  max-width: 680px;
  margin: 0 auto 2rem auto;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.cta-buttons .btn-primary {
  background-color: #ffffff;
  color: var(--color-primary-dark);
  border-color: #ffffff;
}

.cta-buttons .btn-primary:hover {
  background-color: #f1f5f9;
  color: var(--color-forest);
}

.cta-buttons .btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
}

.cta-buttons .btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
}

/* --------------------------------------------------------------------------
   SITE FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--color-primary-dark);
  color: #cbd5e1;
  padding: 4rem 0 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer strong {
  color: #ffffff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand img {
  height: 42px;
  margin-bottom: 1.25rem;
}

.footer-brand p {
  color: #cbd5e1;
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.65rem;
}

.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: #5eead4;
  text-decoration: underline;
}

.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  font-size: 0.875rem;
  color: #ffffff;
}

.footer-contact-list strong {
  color: #ffffff;
}

.footer-contact-list a {
  color: #ffffff;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-contact-list a:hover,
.footer-contact-list a:focus-visible {
  color: #5eead4;
  text-decoration: underline;
}

.footer-contact-list span {
  color: #ffffff;
}

.footer-icon {
  width: 16px;
  height: 16px;
  min-width: 16px;
  stroke: #5eead4;
  margin-top: 3px;
}

.footer-compliance-note {
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2.5rem;
  font-size: 0.825rem;
  color: #cbd5e1;
  line-height: 1.6;
}

.footer-compliance-note strong {
  color: #ffffff;
}

.footer-compliance-note a {
  color: #5eead4;
  text-decoration: underline;
  transition: color var(--transition-fast);
}

.footer-compliance-note a:hover,
.footer-compliance-note a:focus-visible {
  color: #ffffff;
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.825rem;
  color: #94a3b8;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-bottom-links a {
  color: #94a3b8;
  transition: color var(--transition-fast);
}

.footer-bottom-links a:hover,
.footer-bottom-links a:focus-visible {
  color: #5eead4;
}

@media (max-width: 960px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

/* --------------------------------------------------------------------------
   RESPONSIVE MEDIA QUERIES & MOBILE CENTERING REFINEMENTS
   -------------------------------------------------------------------------- */
@media (max-width: 680px) {
  :root {
    --container-padding: 1.25rem;
  }
  .section {
    padding: 3rem 0;
  }
  .section-header {
    margin-bottom: 2rem;
  }
  .policy-card {
    padding: 1.75rem 1.25rem;
  }
  .callout-box {
    padding: 1.1rem 1.25rem;
  }
  .card-body {
    padding: 1.5rem 1.25rem;
  }
  .card-footer {
    padding: 1rem 1.25rem;
  }
  .step-card {
    padding: 1.5rem 1.25rem;
  }
  .contact-info-card {
    padding: 1.5rem 1.25rem;
  }
  .contact-form-panel {
    padding: 1.75rem 1.25rem;
  }
  .card-padded {
    padding: 1.5rem 1.25rem;
  }
}

@media (max-width: 560px) {
  .top-bar-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.35rem;
  }
  .top-bar-inner > div {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
  }
  .top-bar-item {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  :root {
    --container-padding: 1rem;
    --header-height: 70px;
  }
  .brand-logo img {
    height: 38px;
    max-width: 100%;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .cta-buttons {
    flex-direction: column;
    width: 100%;
  }
  .cta-buttons .btn {
    width: 100%;
  }
  .card-body {
    padding: 1.35rem 1rem;
  }
  .card-padded {
    padding: 1.25rem 1rem;
  }
  .card-footer {
    padding: 0.9rem 1rem;
  }
  .card-icon-box {
    width: 42px;
    height: 42px;
    margin-bottom: 1rem;
  }
  .step-card {
    padding: 1.35rem 1rem;
  }
  .step-badge {
    width: 36px;
    height: 36px;
    font-size: 1rem;
    margin-bottom: 1rem;
  }
  .contact-info-card {
    padding: 1.35rem 1rem;
  }
  .contact-form-panel {
    padding: 1.5rem 1rem;
  }
  .policy-card {
    padding: 1.35rem 1rem;
  }
  .callout-box {
    padding: 1rem;
  }
  .legal-table {
    display: block;
    width: 100%;
  }
  .legal-table tbody {
    display: block;
    width: 100%;
  }
  .legal-table tr {
    display: block;
    width: 100%;
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--color-border);
  }
  .legal-table th, .legal-table td {
    display: block;
    width: 100%;
    padding: 0.15rem 0;
    border-bottom: none;
  }
  .legal-table th {
    background-color: transparent;
    font-size: 0.8rem;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }
  .legal-table td {
    font-size: 0.95rem;
  }
}

@media (max-width: 360px) {
  :root {
    --container-padding: 0.75rem;
    --header-height: 64px;
  }
  .brand-logo img {
    height: 32px;
  }
  .btn {
    padding: 0.65rem 1rem;
    font-size: 0.875rem;
  }
  .hero-pill {
    font-size: 0.775rem;
    padding: 0.25rem 0.5rem;
  }
  .card-body,
  .step-card,
  .contact-info-card,
  .contact-form-panel,
  .policy-card,
  .card-padded {
    padding: 1.15rem 0.75rem;
  }
  .accordion-summary {
    padding: 1rem 0.75rem;
    font-size: 0.95rem;
  }
  .accordion-content {
    padding: 0 0.75rem 1rem 0.75rem;
    font-size: 0.9rem;
  }
}

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