/* ============================================
   HOME PAGE STYLES - Tafel Totaal
   Brutalist Corporate Design System
   ============================================ */

/* ============================================
   LOCATIONS SECTION
   ============================================ */

.locations-section {
  padding: var(--space-5xl) 0;
  background: linear-gradient(135deg, var(--color-concrete) 0%, var(--color-off-white) 100%);
  border-top: 1px solid var(--color-black);
}

.locations-section .section-header {
  text-align: center;
  margin-bottom: var(--space-4xl);
}

.locations-section .section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
  line-height: 1.1;
}

.locations-section .section-subtitle {
  font-size: var(--font-size-lg);
  color: var(--color-gray);
  max-width: 600px;
  margin: 0 auto;
}

.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
  margin-bottom: var(--space-3xl);
}

.location-card {
  display: block;
  padding: var(--space-xl);
  background: var(--color-white);
  border: 1px solid var(--color-black);
  text-decoration: none;
  color: inherit;
  transition: all 0.3s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}

.location-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--color-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out-expo);
  z-index: 0;
}

.location-card:hover::before {
  transform: scaleX(1);
}

.location-card:hover {
  transform: translateY(-4px);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.1);
  color: var(--color-white);
}

.location-card > * {
  position: relative;
  z-index: 1;
}

.location-card__icon {
  width: 48px;
  height: 48px;
  background: var(--color-black);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  transition: background-color 0.3s ease;
}

.location-card:hover .location-card__icon {
  background: var(--color-white);
}

.location-card:hover .location-card__icon svg {
  stroke: var(--color-primary);
}

.location-card__name {
  font-family: var(--font-display);
  font-size: var(--font-size-xl);
  text-transform: uppercase;
  margin-bottom: var(--space-xs);
  line-height: 1.2;
}

.location-card__province {
  font-size: var(--font-size-sm);
  color: var(--color-gray);
  margin-bottom: var(--space-md);
  transition: color 0.3s ease;
}

.location-card:hover .location-card__province {
  color: rgba(255, 255, 255, 0.8);
}

.location-card__info {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--font-size-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.location-skeleton {
  height: 200px;
  background: var(--color-off-white);
  border: 1px solid var(--color-light-gray);
  animation: skeleton-pulse 1.5s infinite ease-in-out;
}

@keyframes skeleton-pulse {
  0% { opacity: 1; }
  50% { opacity: 0.5; }
  100% { opacity: 1; }
}

.locations-cta {
  text-align: center;
  padding-top: var(--space-xl);
  border-top: 1px solid var(--color-black);
}

@media (max-width: 768px) {
  .locations-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   HERO SECTION v2 - Architectural Brutalism
   ============================================ */

/* 1. Marquee (Ticker) */
.marquee-section {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: var(--space-sm) 0;
  overflow: hidden;
  z-index: 10;
  position: relative;
}

.marquee-track {
  display: flex;
  width: fit-content;
  gap: 0; /* Gap handled by padding in content for seamless loop */
}

.marquee-content {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  white-space: nowrap;
  animation: marquee 40s linear infinite;
  padding-right: var(--space-xl); /* Spacing between loop items */
  will-change: transform;
}

.marquee-content span {
  font-family: var(--font-body);
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-xs);
  letter-spacing: var(--letter-spacing-wider);
  text-transform: uppercase;
}

.marquee-content .separator {
  opacity: 0.4;
}

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

/* 2. Hero Grid */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  background-color: var(--color-white);
  border-bottom: var(--border-width) solid var(--border-color);
  position: relative;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: repeat(12, 1fr);
    /* Asymmetric rows: Main content height + CTA bar height */
    grid-template-rows: minmax(500px, 65vh) auto;
  }
}

/* Cells styling */
.hero-cell {
  padding: var(--space-lg) var(--space-xl);
  border-bottom: var(--border-width) solid var(--border-color);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .hero-cell {
    padding: var(--space-xl) var(--space-2xl);
  }
}

@media (min-width: 1200px) {
  .hero-cell {
    padding: var(--space-2xl) var(--space-3xl);
  }
}

@media (min-width: 1024px) {
  /* Grid Borders Logic for Desktop */
  .hero-cell {
    border-bottom: none;
    border-right: var(--border-width) solid var(--border-color);
  }
  
  /* Block 1: Main Title (Top Left - Large) */
  .hero-cell--title {
    grid-column: 1 / 8;
    grid-row: 1 / 2;
    padding: var(--space-xl) var(--space-xl); /* Reduced padding for responsiveness */
    align-items: flex-start;
    border-bottom: var(--border-width) solid var(--border-color);
  }

  /* Block 2: Visual (Right Column - Full Height) */
  .hero-cell--visual {
    grid-column: 8 / -1;
    grid-row: 1 / -1;
    padding: 0;
    border-right: none;
    background-color: var(--color-black);
    max-height: 52rem;
  }

  /* Block 3: Intro (Bottom Left) */
  .hero-cell--intro {
    grid-column: 1 / 5;
    grid-row: 2 / 3;
    padding: var(--space-xl);
    background-color: var(--color-off-white);
  }

  /* Block 4: CTA (Bottom Center) */
  .hero-cell--cta {
    grid-column: 5 / 8;
    grid-row: 2 / 3;
    justify-content: center;
    flex-direction: row;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-xl);
  }
}

/* 3. Typography & Elements */
.hero-subtitle {
  font-family: var(--font-body);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-bold);
  color: var(--color-dark-gray);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin: 0;
  max-width: 600px;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.status-dot {
  width: 8px;
  height: 8px;
  background-color: #2ecc71;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(46, 204, 113, 0.2);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(46, 204, 113, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(46, 204, 113, 0); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 7rem); /* Slightly larger */
  line-height: 0.85;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: var(--color-black);
  margin: 0;
  z-index: 2;
  position: relative;
}

.hero-title .dim {
  opacity: 0.4;
  font-weight: 300;
}

/* Tech Elements */
.tech-marker {
  position: absolute;
  font-family: monospace;
  font-weight: 300;
  color: var(--color-gray);
  font-size: 1rem;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.tech-marker.tl { top: var(--space-sm); left: var(--space-sm); }
.tech-marker.tr { top: var(--space-sm); right: var(--space-sm); }

.tech-label {
  font-family: 'Roboto Mono', monospace; /* Fallback to monospace if Roboto Mono not loaded */
  font-size: 0.65rem;
  color: var(--color-gray);
  letter-spacing: 0.1em;
  opacity: 0.7;
}

.tech-badge {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  background: var(--color-white);
  color: var(--color-black);
  font-family: var(--font-display);
  font-size: 0.75rem;
  padding: var(--space-xs) var(--space-sm);
  border: 1px solid var(--color-black);
  z-index: 10;
  letter-spacing: 0.1em;
}

/* Hero Tagline (Deprecated - replaced by subtitle) */
.hero-tagline {
  display: none;
}

/* Outline Text Effect */
.text-stroke {
  color: transparent;
  -webkit-text-stroke: 2px var(--color-primary);
  display: block;
  position: relative;
}

/* Visual Image */
.hero-cell--visual .img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.9;
  transition: transform 1.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-cell--visual:hover .img-cover {
  transform: scale(1.05);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.4), transparent);
  pointer-events: none;
}

/* Intro Text */
.hero-lead {
  font-size: var(--font-size-md);
  color: var(--color-dark-gray);
  margin-bottom: var(--space-lg);
  line-height: var(--line-height-relaxed);
}

/* Stats */
.hero-stats {
  display: flex;
  gap: var(--space-xl);
  margin-top: auto;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-value {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 6vw, 5.5rem); /* Even larger for more impact */
  color: transparent;
  -webkit-text-stroke: 2px var(--color-primary); /* Outline style */
  line-height: 0.85;
  font-weight: 700;
  text-shadow: 0 0 20px rgba(144, 61, 62, 0.2); /* Subtle glow effect */
}

.stat-label {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-primary); /* Primary color for more emphasis */
  margin-top: var(--space-sm);
}

/* ============================================
   HERO CATEGORY GRID - Brutalist Minimal Style
   ============================================ */

.categories-section {
  padding: var(--space-3xl) 0;
  background-color: var(--color-white);
}

.hero__categories {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  max-width: 1000px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .hero__categories {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-3xl);
  }
}

@media (min-width: 1024px) {
  .hero__categories {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
  }
}

.category-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  padding: var(--space-xl);
  text-decoration: none;
  background-color: var(--color-off-white);
  color: var(--color-black);
  border: 1px solid var(--color-light-gray);
  transition: color 0.3s ease-in-out, transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  overflow: hidden;
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-primary);
  transition: transform 0.4s ease-in-out;
  z-index: 0;
}

/* Direction-aware positions (default: from top) */
.category-card::before {
  transform: translateY(-100%);
}

.category-card[data-hover-from="top"]::before {
  transform: translateY(-100%);
}

.category-card[data-hover-from="right"]::before {
  transform: translateX(100%);
}

.category-card[data-hover-from="bottom"]::before {
  transform: translateY(100%);
}

.category-card[data-hover-from="left"]::before {
  transform: translateX(-100%);
}

/* Hovering state - overlay slides to center */
.category-card.is-hovering::before {
  transform: translate(0, 0);
}

.category-card.is-hovering {
  color: var(--color-white);
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.category-card__content {
  position: relative;
  z-index: 1;
}

.category-card--spacer {
  pointer-events: none;
  background-color: transparent;
  border: 1px solid transparent;
}

.category-card--spacer::before {
  display: none;
}

@media (max-width: 1023px) {
  .category-card--spacer {
    display: none;
  }
}

.category-card__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  z-index: 2;
}

.category-card__icon {
  width: 40px; /* Slightly smaller for lighter look */
  height: 40px;
  margin-bottom: var(--space-md);
  stroke-width: 1px; /* Thinner stroke for lighter look */
  color: var(--color-charcoal);
  transition: transform 0.4s var(--ease-out-expo), color 0.4s var(--ease-out-expo);
}

.category-card:hover .category-card__icon {
  transform: scale(1.1) translateY(-4px);
  color: var(--color-white);
}

.category-card__title {
  font-family: var(--font-body); /* Matching header link font */
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wide);
  margin: 0;
  line-height: 1.2;
}

.category-card__desc {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: var(--font-weight-medium);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: var(--space-xs);
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.category-card:hover .category-card__desc {
  opacity: 0.9;
}

/* Remove old styles */
.category-card__bg,
.category-card__overlay,
.category-card__shine {
  display: none;
}

/* ============================================
   PARTNERS SECTION - Brutalist Logobar
   ============================================ */

.partners {
  border-bottom: var(--border-width) solid var(--border-color);
  background-color: var(--color-white);
}

.partners__label {
  width:13rem;
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wide);
  color: var(--color-gray);
  border-bottom: var(--border-width) solid var(--border-color);
}

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

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

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

.partner-cell {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: var(--border-width) solid var(--border-color);
  border-bottom: var(--border-width) solid var(--border-color);
  font-family: var(--font-display);
  color: var(--color-light-gray);
  font-size: var(--font-size-lg);
  transition: all var(--transition-base);
}

.partner-cell:hover {
  background-color: var(--color-off-white);
  color: var(--color-black);
}

@media (min-width: 1024px) {
  .partner-cell {
    border-bottom: none;
    padding: 1rem;
  }
  .partner-cell:last-child {
    border-right: none;
  }
}

/* ============================================
   INSPIRATION GALLERY - Architectural Masonry
   ============================================ */

.gallery {
  padding: var(--space-6xl) 0;
  background-color: var(--color-white);
  border-bottom: var(--border-width) solid var(--border-color);
}

.gallery__header {
  margin-bottom: var(--space-3xl);
  padding-left: var(--space-xl);
  border-left: 4px solid var(--color-primary);
}

.gallery__header h2 {
  font-size: var(--font-size-xxxl);
  margin: 0;
  line-height: 1;
}

.gallery__header p {
  margin-top: var(--space-sm);
  color: var(--color-dark-gray);
}

.gallery__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  padding: 0 var(--space-md);
}

@media (min-width: 768px) {
  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 300px;
  }
}

@media (min-width: 1024px) {
  .gallery__grid {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 300px);
    gap: var(--space-lg);
    padding: 0 var(--space-xl);
  }
}

.gallery-item {
  position: relative;
  overflow: hidden;
  background-color: var(--color-charcoal);
  min-height: 300px;
}

/* Masonry Layout Logic */
@media (min-width: 1024px) {
  .gallery-item--large {
    grid-column: span 2;
    grid-row: span 2;
  }
  
  .gallery-item--wide {
    grid-column: span 2;
  }
}

.gallery-item__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.8s var(--ease-out-quart);
}

.gallery-item:hover .gallery-item__bg {
  transform: scale(1.05);
}

.gallery-item__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  background-color: var(--color-white);
  padding: var(--space-sm) var(--space-lg);
  font-family: var(--font-display);
  font-size: var(--font-size-lg);
  color: var(--color-black);
  transform: translateY(100%);
  transition: transform 0.4s var(--ease-out-expo);
}

.gallery-item:hover .gallery-item__caption {
  transform: translateY(0);
}

/* ============================================
   FAQ SNIPPET - Brutalist Accordion
   ============================================ */

.faq-snippet {
  padding: var(--space-6xl) 0;
  background-color: var(--color-off-white);
  border-bottom: var(--border-width) solid var(--border-color);
}

.faq-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3xl);
}

@media (min-width: 1024px) {
  .faq-layout {
    grid-template-columns: 1fr 2fr;
    align-items: start;
  }
}

.faq-header h2 {
  font-size: var(--font-size-xxl);
  margin-bottom: var(--space-md);
}

.faq-header p {
  color: var(--color-dark-gray);
  margin-bottom: var(--space-lg);
}

.btn-link {
  display: inline-block;
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wide);
  font-size: var(--font-size-sm);
  transition: transform var(--transition-base);
}

.btn-link:hover {
  transform: translateX(5px);
}

.faq-list {
  display: flex;
  flex-direction: column;
  border-top: var(--border-width) solid var(--border-color);
}

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

.faq-item summary {
  list-style: none;
  padding: var(--space-lg) 0;
  font-family: var(--font-display);
  font-size: var(--font-size-lg);
  cursor: pointer;
  position: relative;
  padding-right: 40px;
  transition: color var(--transition-base);
}

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

.faq-item summary:hover {
  color: var(--color-primary);
}

/* Plus/Minus Icon */
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 2rem;
  color: var(--color-gray);
  transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-content {
  padding-bottom: var(--space-lg);
  color: var(--color-dark-gray);
  line-height: 1.6;
  max-width: 90%;
}

/* ============================================
   USPs SECTION - Refined Spacing
   ============================================ */

.usps {
  padding: var(--space-5xl) 0;
  background-color: var(--color-white);
  border-bottom: var(--border-width) solid var(--border-color);
}

.usps__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border: var(--border-width) solid var(--border-color);
}

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

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

.usp {
  text-align: left;
  padding: var(--space-xl);
  border-bottom: var(--border-width) solid var(--border-color);
  transition: background-color var(--transition-base);
}

@media (min-width: 768px) {
  .usp {
    border-right: var(--border-width) solid var(--border-color);
    border-bottom: none;
  }
  
  .usp:nth-child(2),
  .usp:nth-child(4) {
    border-right: none;
  }
  
  .usp:nth-child(1),
  .usp:nth-child(2) {
    border-bottom: var(--border-width) solid var(--border-color);
  }
}

@media (min-width: 1024px) {
  .usp {
    border-bottom: none;
  }
  
  .usp:nth-child(1),
  .usp:nth-child(2) {
    border-bottom: none;
  }
  
  .usp:last-child {
    border-right: none;
  }
}

.usp:hover {
  background-color: var(--color-concrete);
}

.usp__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: var(--space-lg);
  background-color: var(--color-black);
  color: var(--color-white);
}

.usp__icon svg {
  width: 28px;
  height: 28px;
}

.usp__title {
  font-family: var(--font-display);
  font-size: var(--font-size-lg);
  font-weight: 400;
  margin-bottom: var(--space-sm);
  color: var(--color-black);
  line-height: var(--line-height-tight);
}

.usp__text {
  font-size: var(--font-size-sm);
  color: var(--color-dark-gray);
  margin: 0;
  line-height: var(--line-height-relaxed);
}

/* ============================================
   STATEMENT SECTION - USP Highlight (No Dishwashing)
   ============================================ */

.statement-section {
  padding: var(--space-6xl) 0;
  background-color: var(--color-black);
  color: var(--color-white);
  text-align: center;
  border-bottom: var(--border-width) solid var(--border-color);
}

.statement-content {
  max-width: 900px;
  margin: 0 auto;
}

.statement-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 6rem);
  line-height: 0.9;
  margin-bottom: var(--space-lg);
  color: var(--color-white);
  text-transform: uppercase;
}

.statement-text {
  font-size: var(--font-size-lg);
  color: var(--color-light-gray);
  line-height: 1.6;
}

.statement-text .highlight {
  color: var(--color-primary);
  font-weight: var(--font-weight-bold);
  display: block;
  font-family: var(--font-display);
  font-size: var(--font-size-xl);
  margin-top: var(--space-sm);
  text-transform: uppercase;
}

/* ============================================
   STATEMENT SECTION - USP Highlight (No Dishwashing)
   ============================================ */

.statement-section {
  background-color: var(--color-primary);
  color: var(--color-white);
  border-bottom: var(--border-width) solid var(--color-black);
  position: relative;
  z-index: 5;
}

.statement-grid {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

@media (min-width: 1024px) {
  .statement-grid {
    grid-template-columns: 1.5fr 1fr;
  }
}

.statement-cell {
  padding: var(--space-3xl) var(--space-xl);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

@media (min-width: 1024px) {
  .statement-cell {
    border-bottom: none;
    padding: var(--space-4xl) var(--space-3xl);
  }
  
  .statement-cell--main {
    border-right: 1px solid rgba(255, 255, 255, 0.2);
  }
}

.statement-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 0.85;
  margin: 0;
  text-transform: uppercase;
  color: var(--color-white);
}

.text-stroke-white {
  color: transparent;
  -webkit-text-stroke: 2px var(--color-white);
  display: block;
}

.statement-text {
  font-size: var(--font-size-lg);
  line-height: 1.5;
  color: var(--color-light-gray);
  max-width: 500px;
  margin: 0;
}

.statement-text strong {
  color: var(--color-white);
  font-weight: 700;
}

/* Override tech markers for dark bg */
.statement-section .tech-marker {
  color: rgba(255, 255, 255, 0.5);
}

.statement-section .tech-marker--tl {
  border-color: rgba(255, 255, 255, 0.5);
}

.statement-section .tech-marker--tr {
  border-color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   FEATURED PACKAGES SECTION - Architectural Grid
   ============================================ */

.featured {
  padding: var(--space-5xl) 0;
  background-color: var(--color-white);
  border-bottom: var(--border-width) solid var(--border-color);
}

.featured__header {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-bottom: var(--space-3xl);
  padding-left: var(--space-xl); /* Align with grid padding if needed */
}

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

.featured__header h2 {
  font-size: var(--font-size-xxxl);
  margin: 0;
  line-height: var(--line-height-none);
}

.featured__header p {
  font-size: var(--font-size-md);
  color: var(--color-dark-gray);
  margin: 0;
  max-width: 400px;
  text-align: right;
}

/* Gapless Grid Logic */
.featured__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0; /* Gapless */
  border-top: var(--border-width) solid var(--border-color);
  border-left: var(--border-width) solid var(--border-color);
}

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

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

.featured__loading {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-3xl);
  color: var(--color-dark-gray);
  border-right: var(--border-width) solid var(--border-color);
  border-bottom: var(--border-width) solid var(--border-color);
}

.featured__cta {
  text-align: center;
  margin-top: var(--space-3xl);
}

/* Architectural Package Card */
.package-card {
  background-color: var(--color-white);
  /* Borders on right and bottom to create grid */
  border-right: var(--border-width) solid var(--border-color);
  border-bottom: var(--border-width) solid var(--border-color);
  border-top: none;
  border-left: none;
  border-radius: 0; /* Strict */
  overflow: hidden;
  transition: z-index 0s, transform 0.4s var(--ease-out-expo), box-shadow 0.4s var(--ease-out-expo);
  position: relative;
  z-index: 1;
}

.package-card:hover {
  z-index: 10; /* Bring to front */
  transform: scale(1.02);
  box-shadow: var(--shadow-xl);
  border-color: transparent; /* Hide borders to avoid glitch during scale */
}

.package-card__image {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--color-white);
}

.package-card__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.8s var(--ease-out-quart);
}

.package-card:hover .package-card__image img {
  transform: scale(1.1);
}

.package-card__badge {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  font-family: var(--font-body);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--letter-spacing-wider);
  text-transform: uppercase;
  padding: var(--space-xs) var(--space-md);
  background-color: var(--color-black);
  color: var(--color-white);
}

.package-card__content {
  padding: var(--space-lg);
  background-color: var(--color-white);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.package-card__title {
  font-family: var(--font-display);
  font-size: var(--font-size-xl);
  margin: 0;
  color: var(--color-black);
  line-height: var(--line-height-tight);
}

.package-card__description {
  font-size: var(--font-size-sm);
  color: var(--color-gray);
  margin-bottom: var(--space-md);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.package-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-light-gray);
}

.package-card__price {
  font-family: var(--font-display);
  font-size: var(--font-size-lg);
  color: var(--color-primary);
}

.package-card__price span {
  font-family: var(--font-body);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-normal);
  color: var(--color-gray);
}

.package-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

/* ============================================
   HOW IT WORKS SECTION - Sticky Split Layout
   ============================================ */

.how-it-works {
  padding: var(--space-6xl) 0;
  background-color: var(--color-off-white);
}

.how-it-works .container {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3xl);
}

@media (min-width: 1024px) {
  .how-it-works .container {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

/* Left Column: Sticky Title & Intro */
.how-it-works__header {
  position: relative;
  text-align: left;
  margin-bottom: var(--space-xl);
}

@media (min-width: 1024px) {
  .how-it-works__header {
    position: sticky;
    top: calc(var(--header-height) + var(--space-3xl));
    margin-bottom: 0;
    padding-right: var(--space-3xl);
  }
}

.how-it-works__header h2 {
  font-size: var(--font-size-display);
  line-height: 0.9;
  margin-bottom: var(--space-lg);
  color: var(--color-black);
}

.how-it-works__header p {
  font-size: var(--font-size-lg);
  color: var(--color-dark-gray);
  margin-bottom: var(--space-xl);
  max-width: 90%;
}

/* Right Column: Steps List */
.how-it-works__steps {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  border: none; /* Reset from previous */
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-lg);
  padding: var(--space-xl);
  background-color: var(--color-white);
  border: var(--border-width) solid var(--border-color);
  transition: transform 0.3s var(--ease-out-expo), box-shadow 0.3s var(--ease-out-expo);
  text-align: left;
}

.step:hover {
  transform: translateX(-10px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-black);
}

.step__number {
  font-family: var(--font-display);
  font-size: var(--font-size-xxxl);
  color: var(--color-primary-light);
  line-height: 0.8;
  opacity: 0.5;
  margin: 0;
  width: auto;
  height: auto;
  background: none;
}

.step__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.step__title {
  font-family: var(--font-display);
  font-size: var(--font-size-xl);
  margin: 0;
  color: var(--color-black);
}

.step__text {
  font-size: var(--font-size-base);
  color: var(--color-gray);
  margin: 0;
  line-height: 1.6;
}

/* Reset media queries from previous simple grid */
@media (min-width: 768px) { .step { border: var(--border-width) solid var(--border-color); } }
@media (min-width: 1024px) { .step { border: var(--border-width) solid var(--border-color); } }

/* CTA in Sticky Header */
.how-it-works__cta {
  text-align: left;
  margin-top: 0;
}

/* ============================================
   CTA SECTION - Brutalist Dark
   ============================================ */

.cta-section {
  padding: var(--space-5xl) 0;
  background-color: var(--color-black);
  color: var(--color-white);
}

.cta-section__content {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
}

@media (min-width: 768px) {
  .cta-section__content {
    grid-template-columns: 1fr auto;
  }
}

.cta-section__content h2 {
  font-size: var(--font-size-xxxl);
  color: var(--color-white);
  margin: 0;
  line-height: var(--line-height-tight);
}

.cta-section__content p {
  font-size: var(--font-size-md);
  color: var(--color-light-gray);
  margin: 0;
  max-width: 500px;
}
