/**
 * OPTION B - TRADITIONAL MULTI-PAGE WEBSITE STYLES
 * Nwestco Website Redesign
 *
 * Comprehensive styles for traditional multi-page corporate site
 * Uses design system variables from ../shared/css/variables.css
 */

/* ============================================================
   GLOBAL STYLES & RESETS
   ============================================================ */

* {
  box-sizing: border-box;
}

body {
  font-family: var(--font-secondary);
  color: var(--nwestco-neutral-900);
  line-height: var(--leading-normal);
  background-color: var(--nwestco-white);
}

.container {
  max-width: var(--container-xl);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.container-wide {
  max-width: var(--container-2xl);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

/* Skip Navigation */
.skip-nav {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--nwestco-blue);
  color: var(--nwestco-white);
  padding: var(--space-2) var(--space-4);
  text-decoration: none;
  z-index: 100;
}

.skip-nav:focus {
  top: 0;
}


/* ============================================================
   HEADER & NAVIGATION
   ============================================================ */

header {
  background-color: var(--header-background);
  border-bottom: 1px solid var(--header-border);
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  box-shadow: var(--shadow-sm);
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) 0;
  min-height: var(--header-height);
}

.nav-brand img {
  height: 55px;
  width: auto;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-2);
}

.hamburger {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--nwestco-gray);
  position: relative;
  transition: var(--transition-normal);
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: var(--nwestco-gray);
  transition: var(--transition-normal);
}

.hamburger::before {
  top: -8px;
}

.hamburger::after {
  bottom: -8px;
}

.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: var(--space-6);
  align-items: center;
}

.nav-menu li {
  position: relative;
}

.nav-menu a {
  text-decoration: none;
  color: var(--nwestco-neutral-700);
  font-weight: var(--font-semibold);
  font-size: var(--text-base);
  transition: color var(--transition-fast);
  display: block;
  padding: var(--space-2) 0;
}

.nav-menu a:hover,
.nav-menu a[aria-current="page"] {
  color: var(--nwestco-blue);
}

/* Dropdown Navigation */
.nav-dropdown {
  position: relative;
}

.nav-dropdown > a::after {
  content: ' ▼';
  font-size: 0.7em;
  margin-left: var(--space-1);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--nwestco-white);
  border: 1px solid var(--nwestco-neutral-100);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  min-width: 250px;
  padding: var(--space-4);
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all var(--transition-normal);
  z-index: var(--z-dropdown);
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  padding: var(--space-2) var(--space-3);
  display: block;
  color: var(--nwestco-neutral-700);
  border-radius: var(--radius-base);
}

.dropdown-menu a:hover {
  background-color: var(--nwestco-blue-tint);
  color: var(--nwestco-blue);
}

/* CTA Buttons in Nav */
.nav-cta {
  display: flex;
  gap: var(--space-3);
  margin-left: var(--space-6);
}

.nav-cta .btn-primary,
.nav-cta .btn-secondary {
  font-size: var(--text-sm);
  padding: var(--button-padding-y-sm) var(--button-padding-x-sm);
}


/* ============================================================
   BREADCRUMBS
   ============================================================ */

.breadcrumbs {
  background-color: var(--nwestco-neutral-25);
  padding: var(--space-3) 0;
  font-size: var(--text-sm);
}

.breadcrumbs nav {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.breadcrumbs a {
  color: var(--nwestco-blue);
  text-decoration: none;
}

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

.breadcrumbs span {
  color: var(--nwestco-neutral-500);
}

.breadcrumbs .separator {
  color: var(--nwestco-neutral-300);
}


/* ============================================================
   BUTTONS
   ============================================================ */

.btn,
.cta-button {
  display: inline-block;
  padding: var(--button-padding-y) var(--button-padding-x);
  font-family: var(--font-primary);
  font-weight: var(--font-semibold);
  font-size: var(--text-base);
  text-decoration: none;
  text-align: center;
  border-radius: var(--radius-base);
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition-normal);
  line-height: 1;
}

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

.btn-primary:hover {
  background-color: var(--nwestco-blue-dark);
  border-color: var(--nwestco-blue-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: var(--nwestco-green);
  color: var(--nwestco-white);
  border-color: var(--nwestco-green);
}

.btn-secondary:hover {
  background-color: var(--nwestco-green-dark);
  border-color: var(--nwestco-green-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

.btn-outline:hover {
  background-color: var(--nwestco-blue);
  color: var(--nwestco-white);
}

.btn-ghost {
  background-color: transparent;
  color: var(--nwestco-white);
  border: 2px solid var(--nwestco-white);
}

.btn-ghost:hover {
  background-color: var(--nwestco-white);
  color: var(--nwestco-blue);
}

.btn-large {
  padding: var(--button-padding-y-lg) var(--button-padding-x-lg);
  font-size: var(--text-lg);
}

.btn-phone {
  background-color: var(--nwestco-white);
  color: var(--nwestco-blue);
  border: 2px solid var(--nwestco-blue);
  font-weight: var(--font-bold);
  font-size: var(--text-xl);
}

.btn-phone:hover {
  background-color: var(--nwestco-blue);
  color: var(--nwestco-white);
}


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

.hero-section {
  background: linear-gradient(135deg, rgba(37, 97, 124, 0.65) 0%, rgba(26, 68, 86, 0.7) 100%),
              url('../../shared/assets/images/Image_202512030939.jpeg') center/cover no-repeat;
  color: var(--nwestco-white);
  padding: calc(var(--header-height) + var(--space-16)) 0 var(--space-20);
  min-height: 100vh;
  display: flex;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.hero-section .container {
  position: relative;
  z-index: 1;
}

.hero-section h1 {
  font-family: var(--font-primary);
  font-size: 5rem;
  font-weight: var(--font-black);
  line-height: 1.1;
  margin: 0 0 var(--space-6) 0;
  color: var(--nwestco-white);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  margin: 0 auto var(--space-10);
  max-width: 600px;
  color: var(--nwestco-white);
  font-weight: var(--font-normal);
  opacity: 0.9;
}

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

.hero-cta .btn-large {
  min-width: 200px;
}

.emergency-phone {
  margin-top: var(--space-6);
  font-size: var(--text-lg);
}

.emergency-phone a {
  color: var(--nwestco-white);
  text-decoration: none;
  font-weight: var(--font-bold);
  border-bottom: 2px solid var(--nwestco-white);
  transition: var(--transition-fast);
}

.emergency-phone a:hover {
  color: var(--nwestco-green-light);
  border-color: var(--nwestco-green-light);
}


/* ============================================================
   SECTIONS & CONTENT BLOCKS
   ============================================================ */

section {
  padding: var(--section-padding-y) 0;
}

section:nth-child(even) {
  background-color: var(--nwestco-neutral-25);
}

.section-label {
  font-size: var(--text-sm);
  font-weight: var(--font-bold);
  color: var(--nwestco-blue);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  margin-bottom: var(--space-2);
}

section h2 {
  font-family: var(--font-primary);
  font-size: var(--text-4xl);
  font-weight: var(--font-bold);
  color: var(--nwestco-gray);
  margin: 0 0 var(--space-6) 0;
  line-height: var(--leading-tight);
}

section h3 {
  font-family: var(--font-primary);
  font-size: var(--text-2xl);
  font-weight: var(--font-semibold);
  color: var(--nwestco-gray);
  margin: 0 0 var(--space-4) 0;
}

.section-intro {
  font-size: var(--text-lg);
  color: var(--nwestco-neutral-600);
  max-width: 800px;
  margin: 0 auto var(--space-12);
  text-align: center;
}

/* Blue Background Sections */
.section-blue {
  background: linear-gradient(135deg, var(--nwestco-blue) 0%, var(--nwestco-blue-dark) 100%);
  color: var(--nwestco-white);
}

.section-blue h2,
.section-blue h3 {
  color: var(--nwestco-white);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.section-blue p {
  color: var(--nwestco-white);
  opacity: 0.95;
}

.section-blue .section-label {
  color: var(--nwestco-green-light);
  font-weight: var(--font-bold);
}

/* Content sections on blue background */
.content-section.section-blue h2 {
  color: var(--nwestco-white);
}

.content-section.section-blue p,
.content-section.section-blue li {
  color: var(--nwestco-white);
  opacity: 0.95;
}


/* ============================================================
   CARD GRIDS
   ============================================================ */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-8);
  margin-top: var(--space-8);
}

.cards-grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

.cards-grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.card {
  background-color: var(--nwestco-white);
  border: 1px solid var(--nwestco-neutral-100);
  border-radius: var(--card-border-radius);
  padding: var(--card-padding);
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

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

.card h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-3);
  color: var(--nwestco-blue);
}

.card p {
  color: var(--nwestco-neutral-600);
  margin-bottom: var(--space-4);
  line-height: var(--leading-relaxed);
}

/* Ensure card text is visible on blue section backgrounds */
.section-blue .card h3 {
  color: var(--nwestco-blue);
}

.section-blue .card p {
  color: var(--nwestco-neutral-700);
}

.card-link {
  color: var(--nwestco-blue);
  text-decoration: none;
  font-weight: var(--font-semibold);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  transition: var(--transition-fast);
}

.card-link:hover {
  color: var(--nwestco-blue-dark);
  gap: var(--space-3);
}


/* ============================================================
   MARKET CARDS (Homepage)
   ============================================================ */

.market-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--space-8);
}

.market-card {
  background-color: var(--nwestco-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
}

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

.market-card-image {
  height: 200px;
  background-color: var(--nwestco-neutral-100);
  background-size: cover;
  background-position: center;
}

.market-card-content {
  padding: var(--space-6);
}

.market-card h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-3);
  color: var(--nwestco-blue);
  line-height: 1.2;
  word-wrap: break-word;
  overflow-wrap: break-word;
}


/* ============================================================
   SERVICES OVERVIEW - OLD GRID (kept for reference)
   ============================================================ */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-6);
  margin-top: var(--space-8);
}

.service-card {
  background-color: var(--nwestco-white);
  padding: var(--space-4);
  border-radius: var(--radius-md);
  border: 1px solid var(--nwestco-neutral-100);
  transition: all var(--transition-normal);
  overflow: hidden;
}

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

.service-card h3 {
  color: var(--nwestco-green);
  margin-bottom: var(--space-2);
  font-size: 1rem;
  line-height: 1.3;
}

.service-card p {
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--nwestco-neutral-600);
}


/* ============================================================
   LIFECYCLE SECTION - Interactive Timeline
   ============================================================ */

.lifecycle-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--nwestco-blue) 0%, #001F28 100%);
  color: var(--nwestco-white);
}

.lifecycle-section .section-label {
  color: var(--nwestco-green-light);
}

.lifecycle-section .section-title,
.lifecycle-section h2 {
  color: var(--nwestco-white);
}

.lifecycle-section .section-intro {
  color: rgba(255, 255, 255, 0.8);
}

.timeline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 3rem 0;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%);
  z-index: 0;
}

.timeline-point {
  position: relative;
  z-index: 1;
  text-align: center;
}

.timeline-dot {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: 3px solid var(--nwestco-white);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--nwestco-white);
  font-weight: var(--font-bold);
  font-size: var(--text-lg);
}

.timeline-dot:hover,
.timeline-dot.active {
  background: var(--nwestco-white);
  color: var(--nwestco-blue);
  transform: scale(1.2);
}

.timeline-label {
  display: block;
  margin-top: 1rem;
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  color: var(--nwestco-white);
}

.timeline-details {
  margin-top: 3rem;
  min-height: 300px;
}

.timeline-detail {
  display: none;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.timeline-detail.active {
  display: block;
  animation: fadeInTimeline 0.3s ease;
}

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

.timeline-detail h3 {
  font-size: var(--text-2xl);
  margin-bottom: 1.5rem;
  color: var(--nwestco-white);
  font-weight: var(--font-bold);
}

.timeline-detail ul {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.timeline-detail li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--nwestco-white);
}

.timeline-detail li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--nwestco-green);
}

.detail-stat {
  background: rgba(255, 255, 255, 0.1);
  padding: 1rem;
  border-radius: var(--radius-base);
  margin: 1.5rem 0;
  font-weight: var(--font-semibold);
  color: var(--nwestco-white);
}

/* Timeline Responsive */
@media (max-width: 1023px) {
  .timeline {
    flex-wrap: wrap;
    gap: var(--space-4);
    justify-content: center;
  }

  .timeline::before {
    display: none;
  }

  .timeline-dot {
    width: 50px;
    height: 50px;
  }

  .timeline-label {
    font-size: 0.7rem;
  }
}

@media (max-width: 767px) {
  .lifecycle-section {
    padding: 3rem 0;
  }

  .timeline {
    flex-direction: column;
    gap: var(--space-2);
  }

  .timeline-point {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    width: 100%;
  }

  .timeline-dot {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
  }

  .timeline-label {
    margin-top: 0;
    text-align: left;
    font-size: var(--text-sm);
  }

  .timeline-detail {
    padding: 1.5rem;
  }

  .timeline-detail h3 {
    font-size: var(--text-xl);
  }
}


/* ============================================================
   STATISTICS / METRICS
   ============================================================ */

.stats-section {
  text-align: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-8);
  margin-top: var(--space-12);
}

.stat {
  text-align: center;
}

.stat-number {
  font-size: var(--text-6xl);
  font-weight: var(--font-black);
  color: var(--nwestco-blue);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.stat-label {
  font-size: var(--text-lg);
  color: var(--nwestco-neutral-600);
  font-weight: var(--font-medium);
}


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

.testimonials {
  background-color: var(--nwestco-neutral-25);
  padding: var(--space-16) 0;
}

.testimonial-card {
  background-color: var(--nwestco-white);
  padding: var(--space-8);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-quote {
  font-size: var(--text-xl);
  font-style: italic;
  color: var(--nwestco-neutral-700);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-6);
}

.testimonial-quote::before {
  content: '"';
  font-size: 3rem;
  color: var(--nwestco-blue);
  line-height: 0;
  margin-right: var(--space-2);
}

.testimonial-author {
  font-weight: var(--font-semibold);
  color: var(--nwestco-gray);
}

.testimonial-role {
  color: var(--nwestco-neutral-500);
  font-size: var(--text-sm);
}


/* ============================================================
   BRAND PARTNERS / LOGO GRID
   ============================================================ */

.brand-logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--space-6);
  align-items: center;
  margin-top: var(--space-12);
}

.brand-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
  opacity: 0.6;
  transition: opacity var(--transition-normal);
  filter: grayscale(100%);
}

.brand-logo:hover {
  opacity: 1;
  filter: grayscale(0%);
}

.brand-logo img {
  max-width: 100%;
  max-height: 90px;
  width: auto;
  height: auto;
}


/* ============================================================
   CTA SECTIONS
   ============================================================ */

.cta-section {
  background: linear-gradient(135deg, var(--nwestco-blue-dark) 0%, var(--nwestco-blue) 100%);
  color: var(--nwestco-white);
  text-align: center;
  padding: var(--space-20) 0;
}

.cta-section h2 {
  font-family: var(--font-primary);
  font-size: clamp(1.75rem, 4vw + 0.5rem, 2.75rem);  /* Large, commanding headline */
  font-weight: var(--font-bold);
  color: var(--nwestco-white);
  margin-bottom: var(--space-6);
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.cta-section p {
  font-size: var(--text-base);  /* Smaller body text for hierarchy */
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-8);
  color: var(--nwestco-white);
  opacity: 0.9;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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


/* ============================================================
   BENEFITS / FEATURES LIST
   ============================================================ */

.benefits-list {
  list-style: none;
  padding: 0;
  margin: var(--space-8) 0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.benefits-list li {
  padding: var(--space-4) 0 var(--space-4) var(--space-12);
  position: relative;
  font-size: var(--text-lg);
  color: var(--nwestco-neutral-700);
  line-height: var(--leading-relaxed);
  border-bottom: 1px solid var(--nwestco-neutral-100);
}

.benefits-list li:last-child {
  border-bottom: none;
}

.benefits-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: var(--space-4);
  width: var(--space-8);
  height: var(--space-8);
  background-color: var(--nwestco-green);
  color: var(--nwestco-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--font-bold);
  font-size: var(--text-sm);
}


/* ============================================================
   PAGE HEADERS (Subpages)
   ============================================================ */

.page-header {
  background: linear-gradient(135deg, var(--nwestco-blue) 0%, var(--nwestco-blue-dark) 100%);
  color: var(--nwestco-white);
  padding: calc(var(--header-height) + var(--space-16)) 0 var(--space-16);
  text-align: center;
}

.page-header h1 {
  font-family: var(--font-primary);
  font-size: clamp(2.5rem, 5vw + 1rem, 4rem);  /* 40px → 64px responsive */
  font-weight: var(--font-black);
  margin: 0 0 var(--space-6);
  color: var(--nwestco-white);
  line-height: 1.1;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  letter-spacing: -0.02em;
}

.page-header .subtitle {
  font-size: var(--text-base);  /* 16px - much smaller than h1 */
  color: var(--nwestco-white);
  opacity: 0.95;
  max-width: 600px;
  margin: 0 auto;
  line-height: var(--leading-relaxed);
  font-weight: var(--font-normal);
}

/* Content Sections for Subpages */
.content-section {
  padding: var(--space-16) 0;
}

.content-section:nth-child(even) {
  background-color: var(--nwestco-neutral-25);
}

.content-section h2 {
  font-family: var(--font-primary);
  font-size: clamp(1.75rem, 3vw + 0.5rem, 2.5rem);  /* 28px → 40px responsive */
  font-weight: var(--font-bold);
  color: var(--nwestco-blue);
  margin-bottom: var(--space-6);
  line-height: 1.2;
}

.content-section h3 {
  font-family: var(--font-primary);
  font-size: var(--text-xl);  /* 20px */
  font-weight: var(--font-bold);
  color: var(--nwestco-gray);
  margin-bottom: var(--space-4);
  margin-top: var(--space-8);
}

.content-section h4 {
  font-family: var(--font-primary);
  font-size: var(--text-lg);  /* 18px */
  font-weight: var(--font-semibold);
  color: var(--nwestco-gray);
  margin-bottom: var(--space-3);
  margin-top: var(--space-6);
}

.content-section p {
  font-size: var(--text-base);  /* 16px - slightly smaller for better hierarchy */
  color: var(--nwestco-neutral-700);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-4);
}

.content-section ul {
  margin: var(--space-4) 0;
  padding-left: var(--space-6);
}

.content-section li {
  font-size: var(--text-base);  /* 16px */
  color: var(--nwestco-neutral-700);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-2);
}

/* Two Column Layout */
.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: start;
}

.two-column-reverse {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: start;
}

.two-column-reverse > *:first-child {
  order: 2;
}

.two-column-reverse > *:last-child {
  order: 1;
}

@media (max-width: 767px) {
  .page-header {
    padding: calc(var(--header-height) + var(--space-10)) 0 var(--space-10);
  }

  .page-header h1 {
    font-size: clamp(2rem, 8vw, 2.5rem);  /* Still large on mobile */
  }

  .page-header .subtitle {
    font-size: var(--text-sm);  /* Smaller on mobile */
  }

  .content-section h2 {
    font-size: var(--text-2xl);  /* 24px on mobile */
  }

  .two-column,
  .two-column-reverse {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .two-column-reverse > *:first-child,
  .two-column-reverse > *:last-child {
    order: unset;
  }
}

/* Feature Grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-5);
  margin-top: var(--space-8);
}

.feature-item {
  background: var(--nwestco-white);
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  border: 1px solid var(--nwestco-neutral-100);
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.feature-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--nwestco-blue-light);
}

.feature-item h4 {
  font-family: var(--font-primary);
  font-size: var(--text-lg);
  color: var(--nwestco-blue);
  margin-bottom: var(--space-2);
  font-weight: var(--font-bold);
  line-height: 1.3;
}

.feature-item p {
  font-size: var(--text-sm);
  color: var(--nwestco-neutral-600);
  margin-bottom: 0;
  line-height: var(--leading-relaxed);
}

/* Ensure feature items on blue sections have visible content */
.section-blue .feature-item h4 {
  color: var(--nwestco-blue);
}

.section-blue .feature-item p {
  color: var(--nwestco-neutral-700);
}

/* Related Services Grid */
.related-services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-6);
  margin-top: var(--space-8);
}

.related-service-card {
  background: var(--nwestco-white);
  padding: var(--space-5);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--nwestco-green);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.related-service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.related-service-card h4 {
  font-size: var(--text-base);
  color: var(--nwestco-gray);
  margin-bottom: var(--space-2);
  font-weight: var(--font-semibold);
}

.related-service-card p {
  font-size: var(--text-sm);
  color: var(--nwestco-neutral-600);
  margin-bottom: var(--space-3);
}

/* Pain Points / Challenges */
.pain-points {
  background: var(--nwestco-neutral-25);
  padding: var(--space-8);
  border-radius: var(--radius-lg);
  margin: var(--space-8) 0;
}

.pain-point {
  margin-bottom: var(--space-6);
}

.pain-point:last-child {
  margin-bottom: 0;
}

.pain-point h4 {
  font-size: var(--text-lg);
  color: var(--nwestco-gray);
  margin-bottom: var(--space-2);
  font-weight: var(--font-bold);
}

.pain-point p {
  font-size: var(--text-base);
  margin-bottom: 0;
}


/* ============================================================
   FORMS
   ============================================================ */

.form-section {
  background-color: var(--nwestco-white);
  padding: var(--space-12);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-width: 800px;
  margin: 0 auto;
}

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

.form-group label {
  display: block;
  font-weight: var(--font-semibold);
  color: var(--nwestco-gray);
  margin-bottom: var(--space-2);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: var(--input-padding-y) var(--input-padding-x);
  border: var(--input-border-width) solid var(--input-border-color);
  border-radius: var(--input-border-radius);
  font-family: var(--font-secondary);
  font-size: var(--text-base);
  transition: border-color var(--transition-normal);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--input-border-color-focus);
  box-shadow: var(--shadow-focus);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.form-required {
  color: var(--nwestco-error);
  margin-left: var(--space-1);
}

.form-helper {
  font-size: var(--text-sm);
  color: var(--nwestco-neutral-500);
  margin-top: var(--space-1);
}


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

footer {
  background-color: var(--nwestco-gray);
  color: var(--nwestco-neutral-100);
  padding: var(--space-16) 0 var(--space-8);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-8);
  margin-bottom: var(--space-12);
}

.footer-column h3 {
  color: var(--nwestco-white);
  font-size: var(--text-lg);
  font-weight: var(--font-bold);
  margin-bottom: var(--space-4);
}

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

.footer-column li {
  margin-bottom: var(--space-2);
}

.footer-column a {
  color: var(--nwestco-neutral-200);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-column a:hover {
  color: var(--nwestco-white);
}

.copyright {
  text-align: center;
  padding-top: var(--space-6);
  border-top: 1px solid var(--nwestco-neutral-600);
  color: var(--nwestco-neutral-300);
  font-size: var(--text-sm);
}


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

@media (max-width: 1023px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--nwestco-white);
    flex-direction: column;
    padding: var(--space-4);
    box-shadow: var(--shadow-lg);
    gap: 0;
  }

  .nav-menu.active {
    display: flex;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-left: 2px solid var(--nwestco-blue);
    margin-left: var(--space-4);
    margin-top: var(--space-2);
  }

  .nav-cta {
    flex-direction: column;
    width: 100%;
    margin-left: 0;
    margin-top: var(--space-4);
  }

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

@media (max-width: 767px) {
  section {
    padding: var(--section-padding-y-mobile) 0;
  }

  .hero-section {
    padding: calc(var(--header-height) + var(--space-12)) var(--space-4) var(--space-12);
    min-height: calc(100vh - var(--header-height));
  }

  .hero-section h1 {
    font-size: var(--text-5xl);
  }

  .hero-subtitle {
    font-size: var(--text-sm);
  }

  section h2 {
    font-size: var(--text-3xl);
  }

  section h3 {
    font-size: var(--text-xl);
  }

  .cards-grid,
  .market-cards,
  .services-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .hero-cta {
    flex-direction: column;
  }

  .hero-cta .btn-large {
    width: 100%;
  }

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

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

/* Small mobile devices */
@media (max-width: 480px) {
  .container {
    padding-left: var(--space-4);
    padding-right: var(--space-4);
  }

  .hero-section h1 {
    font-size: var(--text-4xl);
  }

  .hero-subtitle {
    font-size: var(--text-sm);
  }

  .stat-number {
    font-size: var(--text-4xl);
  }

  .btn-large {
    padding: var(--space-3) var(--space-6);
    font-size: var(--text-base);
  }
}

/* ============================================================
   ACCESSIBILITY ENHANCEMENTS
   ============================================================ */

/* Reduced motion preference */
@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;
  }
}

/* High contrast mode */
@media (prefers-contrast: high) {
  .hero-overlay {
    background: rgba(0, 0, 0, 0.8);
  }

  .btn {
    border-width: 3px;
  }

  .service-card,
  .market-card,
  .testimonial-card {
    border: 2px solid var(--nwestco-neutral-900);
  }
}

/* Focus visible for keyboard navigation */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--nwestco-blue);
  outline-offset: 2px;
}


/* ============================================================
   UTILITY CLASSES
   ============================================================ */

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

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: var(--space-2); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }
.mb-12 { margin-bottom: var(--space-12); }

.mt-0 { margin-top: 0; }
.mt-2 { margin-top: var(--space-2); }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mt-12 { margin-top: var(--space-12); }

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


/* ============================================================
   LOGO CAROUSEL
   ============================================================ */

.logo-carousel {
  width: 100%;
  overflow: hidden;
  padding: var(--space-6) 0;
  position: relative;
  background: linear-gradient(
    90deg,
    var(--nwestco-white) 0%,
    transparent 5%,
    transparent 95%,
    var(--nwestco-white) 100%
  );
}

.logo-carousel::before,
.logo-carousel::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}

.logo-carousel::before {
  left: 0;
  background: linear-gradient(90deg, var(--nwestco-white) 0%, transparent 100%);
}

.logo-carousel::after {
  right: 0;
  background: linear-gradient(90deg, transparent 0%, var(--nwestco-white) 100%);
}

.logo-carousel-track {
  display: flex;
  gap: var(--space-10);
  width: max-content;
  animation: scrollLeft 60s linear infinite;
}

.logo-carousel-reverse .logo-carousel-track {
  animation: scrollRight 55s linear infinite;
}

.logo-carousel:hover .logo-carousel-track {
  animation-play-state: paused;
}

.carousel-logo {
  width: 180px;
  height: 100px;
  object-fit: contain;
  flex-shrink: 0;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: all var(--transition-normal);
  padding: var(--space-2);
}

.carousel-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

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

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

.brands-subtitle {
  color: var(--nwestco-neutral-600);
  margin-top: var(--space-6);
}

@media (max-width: 768px) {
  .logo-carousel-track {
    gap: var(--space-6);
  }

  .logo-carousel {
    padding: var(--space-4) 0;
  }

  .carousel-logo {
    width: 140px;
    height: 80px;
  }

  .logo-carousel::before,
  .logo-carousel::after {
    width: 50px;
  }
}
