/* ==========================================================================
   HOMEPAGE.CSS — CV-KETEL ONDERHOUD
   Premium homepage layout - elke sectie uniek
   Kleurpalet: Rood (#E63946), Zacht cyan (#4DB8D1), Pastel cyan (#A0E4F1)
   ========================================================================== */

/* ========== HERO - DIAGONAL SPLIT ========== */
.hero-split {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 65vh;
  min-height: 65svh;
  overflow: hidden;
}

.hero-split__dark {
  position: relative;
  z-index: 2;
  background: var(--gradient-hero);
  color: #fff;
  display: flex;
  align-items: center;
  padding: 80px var(--space-lg) 48px;
  width: 100%;
}

@media (min-width: 1024px) {
  .hero-split__dark {
    width: 60%;
    clip-path: polygon(0 0, 100% 0, 85% 100%, 0 100%);
    padding: 80px 80px 48px 40px;
  }
}

@media (min-width: 1200px) {
  .hero-split__dark {
    padding-left: 80px;
  }
}

.hero-split__content {
  max-width: 560px;
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
  will-change: transform, opacity;
}

.hero-split__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  padding: 8px 20px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-lg);
  backdrop-filter: blur(4px);
}

.hero-split__badge svg {
  width: 16px;
  height: 16px;
  color: var(--color-accent);
}

.hero-split__content h1 {
  color: #fff;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.12;
  margin-bottom: var(--space-lg);
  letter-spacing: -0.02em;
}

.hero-split__content h1 span {
  color: var(--color-accent);
}

.hero-split__subtitle {
  font-size: 1.125rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-xl);
  max-width: 480px;
}

.hero-split__cta {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
}

@media (min-width: 480px) {
  .hero-split__cta {
    flex-direction: row;
    gap: var(--space-md);
  }
}

.hero-split__cta .btn-primary {
  padding: 16px 36px;
  font-size: 1.0625rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(230, 57, 70, 0.4);
}

.hero-split__btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 36px;
  font-size: 1.0625rem;
  font-weight: 700;
  font-family: var(--font-body);
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 12px;
  color: #fff;
  background: transparent;
  text-decoration: none;
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
  cursor: pointer;
}

.hero-split__btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
}

.hero-split__trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-md) var(--space-lg);
}

.hero-split__trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.75);
}

.hero-split__trust-item svg {
  width: 18px;
  height: 18px;
  color: var(--color-accent);
}

.hero-split__stars {
  color: var(--color-stars);
  letter-spacing: 2px;
}

/* Hero visual (right side) */
.hero-split__visual {
  display: none;
}

@media (min-width: 1024px) {
  .hero-split__visual {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 50%;
    background: linear-gradient(170deg, #E8F7FA 0%, #CCF0F7 50%, #A0E4F1 100%);
    z-index: 1;
  }
}

.hero-split__ketel {
  width: 320px;
  animation: float 8s ease-in-out infinite;
  opacity: 0.85;
}

.hero-split__ketel svg {
  width: 100%;
  height: auto;
}

/* Gestapelde foto's in hero visual */
.hero-split__photos {
  display: none;
}

@media (min-width: 1024px) {
  .hero-split__photos {
    display: block;
    position: absolute;
    bottom: 16%;
    left: 8%;
    transform: translateX(-50%);
    z-index: 2;
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both;
  }
}

.hero-split__photo {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.16);
  border: 3px solid #fff;
}

.hero-split__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-split__photo--main {
  width: 340px;
  height: 230px;
  position: relative;
  z-index: 2;
  transform: rotate(-2deg);
}

.hero-split__photo--secondary {
  width: 240px;
  height: 165px;
  position: absolute;
  bottom: -44px;
  right: -80px;
  z-index: 3;
  transform: rotate(3deg);
  border-color: var(--color-accent);
}

@media (min-width: 1400px) {
  .hero-split__photo--main {
    width: 400px;
    height: 270px;
  }
  .hero-split__photo--secondary {
    width: 280px;
    height: 190px;
    bottom: -52px;
    right: -96px;
  }
}

.hero-split__photo-badge {
  display: none;
}

@media (min-width: 1024px) {
  .hero-split__photo-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    position: absolute;
    top: -20px;
    right: -32px;
    z-index: 4;
    background: #fff;
    border-radius: 28px;
    padding: 8px 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    white-space: nowrap;
  }
}

.hero-split__photo-badge svg {
  width: 18px;
  height: 18px;
  color: var(--color-primary);
  flex-shrink: 0;
}

.hero-split__photo-badge span {
  font-size: 0.75rem;
  font-weight: 700;
  color: #1E3A4F;
}

/* ========== WAVE DIVIDER ========== */
.wave-divider {
  position: relative;
  z-index: 3;
  margin-top: -1px;
  line-height: 0;
}

.wave-divider svg {
  display: block;
  width: 100%;
  height: 40px;
}

@media (min-width: 768px) {
  .wave-divider svg {
    height: 60px;
  }
}

/* ========== USP STRIP ========== */
.usp-strip {
  background: #fff;
  padding: var(--space-xl) 0;
  position: relative;
  z-index: 3;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.usp-strip__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

@media (min-width: 768px) {
  .usp-strip__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
  }
}

.usp-strip__item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
}

.usp-strip__icon {
  width: 48px;
  height: 48px;
  background: var(--gradient-cyan);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
}

.usp-strip__icon svg {
  width: 22px;
  height: 22px;
}

.usp-strip__text h3 {
  font-size: 0.9375rem;
  color: #1E3A4F;
  margin-bottom: 2px;
}

.usp-strip__text p {
  font-size: 0.8125rem;
  color: var(--color-text-light);
  margin-bottom: 0;
  line-height: 1.5;
}

/* ========== DIENSTEN - 3 GELIJKE KAARTEN ========== */
.diensten-cards-section {
  padding: 80px 0;
  background: #fff;
}

@media (min-width: 768px) {
  .diensten-cards-section {
    padding: 100px 0;
  }
}

.diensten-cards__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

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

.diensten-card {
  background: #fff;
  border-radius: 20px;
  border: 1px solid var(--color-border);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
  overflow: hidden;
  will-change: transform, box-shadow;
}

.diensten-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.1);
  border-color: var(--color-accent-light);
}

.diensten-card__image {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
}

@media (min-width: 768px) {
  .diensten-card__image {
    height: 240px;
  }
}

.diensten-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.diensten-card:hover .diensten-card__image img {
  transform: scale(1.06);
}

.diensten-card__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--color-primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.diensten-card__body {
  padding: var(--space-xl) var(--space-xl) var(--space-2xl);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.diensten-card__body h3 {
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
  color: #1E3A4F;
}

.diensten-card__body > p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.diensten-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-lg);
}

.diensten-card__features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}

.diensten-card__features li svg {
  width: 18px;
  height: 18px;
  color: var(--color-primary);
  flex-shrink: 0;
}

.diensten-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--color-secondary);
  margin-top: auto;
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border);
  transition: gap 0.3s ease, color 0.3s ease;
}

.diensten-card:hover .diensten-card__link {
  gap: 12px;
  color: var(--color-primary);
}

/* ========== OVER ONS - FULL-BLEED SPLIT ========== */
.about-split {
  display: grid;
  grid-template-columns: 1fr;
  background: #F0F9FB;
}

@media (min-width: 1024px) {
  .about-split {
    grid-template-columns: 1fr 1fr;
    min-height: 560px;
  }
}

.about-split__image {
  position: relative;
  min-height: 300px;
  overflow: hidden;
}

.about-split__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-split__image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(30, 58, 79, 0.3) 0%, transparent 60%);
}

.about-split__content {
  padding: var(--space-2xl) var(--space-lg);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 1024px) {
  .about-split__content {
    padding: var(--space-3xl) var(--space-3xl) var(--space-3xl) var(--space-2xl);
  }
}

.about-split__content h2 {
  margin-bottom: var(--space-md);
  color: #1E3A4F;
}

.about-split__content > p {
  color: var(--color-text-muted);
  font-size: 1.0625rem;
  line-height: 1.75;
  margin-bottom: var(--space-xl);
}

.about-split__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

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

.about-split__stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 4px;
}

.about-split__stat-label {
  font-size: 0.8125rem;
  color: var(--color-text-light);
  font-weight: 600;
}

/* ========== WERKWIJZE - HORIZONTALE TIMELINE ========== */
.timeline-horizontal {
  padding: 80px 0;
  background: #fff;
}

@media (min-width: 768px) {
  .timeline-horizontal {
    padding: 100px 0;
  }
}

.timeline-horizontal__track {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  position: relative;
}

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

/* Connecting line */
.timeline-horizontal__line {
  display: none;
}

@media (min-width: 768px) {
  .timeline-horizontal__line {
    display: block;
    position: absolute;
    top: 32px;
    left: calc(16.67% + 32px);
    right: calc(16.67% + 32px);
    height: 2px;
    background: repeating-linear-gradient(
      90deg,
      var(--color-accent) 0,
      var(--color-accent) 8px,
      transparent 8px,
      transparent 16px
    );
    z-index: 0;
  }
}

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

.timeline-horizontal__circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 3px solid var(--color-secondary);
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-horizontal__circle span {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-secondary);
  transition: color 0.3s ease;
}

.timeline-horizontal__step:hover .timeline-horizontal__circle {
  background: var(--color-secondary);
  transform: scale(1.1);
  box-shadow: 0 8px 28px rgba(77, 184, 209, 0.3);
}

.timeline-horizontal__step:hover .timeline-horizontal__circle span {
  color: #fff;
}

.timeline-horizontal__photo {
  width: 100%;
  max-width: 280px;
  height: 160px;
  border-radius: 12px;
  overflow: hidden;
  margin: 0 auto var(--space-md);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.timeline-horizontal__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.timeline-horizontal__step:hover .timeline-horizontal__photo img {
  transform: scale(1.05);
}

.timeline-horizontal__step h3 {
  font-size: 1.125rem;
  margin-bottom: var(--space-xs);
  color: #1E3A4F;
}

.timeline-horizontal__step p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  max-width: 280px;
  margin: 0 auto;
  line-height: 1.65;
}

/* Mobiel: verticale lijn */
@media (max-width: 767px) {
  .timeline-horizontal__track {
    padding-left: 40px;
  }

  .timeline-horizontal__track::before {
    content: '';
    position: absolute;
    left: 31px;
    top: 32px;
    bottom: 32px;
    width: 2px;
    background: repeating-linear-gradient(
      180deg,
      var(--color-accent) 0,
      var(--color-accent) 8px,
      transparent 8px,
      transparent 16px
    );
  }

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

  .timeline-horizontal__circle {
    position: absolute;
    left: -40px;
    top: 0;
    width: 48px;
    height: 48px;
  }

  .timeline-horizontal__circle span {
    font-size: 1.125rem;
  }

  .timeline-horizontal__step h3 {
    margin-top: 4px;
  }

  .timeline-horizontal__step p {
    margin: 0;
  }

  .timeline-horizontal__photo {
    max-width: 100%;
    height: 140px;
    margin: 0 0 var(--space-md);
  }
}

/* ========== REVIEWS - SHOWCASE ========== */
.reviews-showcase {
  padding: 80px 0;
  background: #1E3A4F;
  color: #fff;
}

@media (min-width: 768px) {
  .reviews-showcase {
    padding: 100px 0;
  }
}

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

@media (min-width: 1024px) {
  .reviews-showcase__layout {
    grid-template-columns: 280px 1fr;
    gap: 60px;
  }
}

/* Score display */
.reviews-showcase__score {
  text-align: center;
  padding: var(--space-2xl);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 1024px) {
  .reviews-showcase__score {
    text-align: center;
  }
}

.reviews-showcase__score-number {
  display: block;
  font-family: var(--font-display);
  font-size: 4.5rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.reviews-showcase__score-stars {
  display: block;
  color: var(--color-stars);
  font-size: 1.5rem;
  letter-spacing: 4px;
  margin-bottom: var(--space-sm);
}

.reviews-showcase__score-count {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Review cards - staggered */
.reviews-showcase__cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

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

.reviews-showcase .review-card {
  background: #fff;
  border-radius: 20px;
  padding: var(--space-xl);
  border: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  will-change: transform, box-shadow;
}

.reviews-showcase .review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

/* Staggered positioning */
@media (min-width: 768px) {
  .review-card--stagger-1 { transform: translateY(0); }
  .review-card--stagger-2 { transform: translateY(16px); }
  .review-card--stagger-3 { transform: translateY(-8px); }
  .review-card--stagger-1:hover { transform: translateY(-4px); }
  .review-card--stagger-2:hover { transform: translateY(12px); }
  .review-card--stagger-3:hover { transform: translateY(-12px); }
}

.review-card__stars {
  color: var(--color-stars);
  font-size: 1.125rem;
  letter-spacing: 2px;
  margin-bottom: var(--space-md);
  display: block;
}

.review-card__quote {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin-bottom: var(--space-lg);
  font-style: italic;
  position: relative;
  padding-top: var(--space-lg);
}

.review-card__quote::before {
  content: '\201C';
  font-size: 3rem;
  color: var(--color-accent);
  opacity: 0.5;
  position: absolute;
  top: -4px;
  left: 0;
  font-family: Georgia, serif;
  line-height: 1;
}

.review-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border);
}

.review-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-accent-light);
}

.review-card__name {
  font-weight: 700;
  font-size: 0.9375rem;
  color: #1E3A4F;
  display: block;
}

.review-card__role {
  font-size: 0.8125rem;
  color: var(--color-text-light);
}

/* ========== WAAROM ONS - STATS BAR + FEATURE CARDS ========== */
.why-premium {
  padding-bottom: 80px;
  background: var(--color-bg-alt);
}

@media (min-width: 768px) {
  .why-premium {
    padding-bottom: 100px;
  }
}

.why-premium__stats-bar {
  background: var(--gradient-hero);
  padding: var(--space-2xl) 0;
  margin-bottom: 60px;
}

.why-premium__stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

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

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

.why-premium__stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 4px;
}

@media (min-width: 768px) {
  .why-premium__stat-number {
    font-size: 3rem;
  }
}

.why-premium__stat-label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
}

/* Feature cards with colored top borders */
.why-premium__cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

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

.why-premium__card {
  background: #fff;
  border-radius: 16px;
  padding: 0;
  border-top: 4px solid transparent;
  box-shadow: var(--shadow-premium);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  will-change: transform, box-shadow;
}

.why-premium__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.1);
}

.why-premium__card--red { border-top-color: var(--color-primary); }
.why-premium__card--cyan { border-top-color: var(--color-secondary); }
.why-premium__card--gold { border-top-color: var(--color-stars); }

.why-premium__card-image {
  width: 100%;
  height: 180px;
  overflow: hidden;
}

.why-premium__card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.why-premium__card:hover .why-premium__card-image img {
  transform: scale(1.05);
}

.why-premium__card-body {
  padding: var(--space-lg) var(--space-xl) var(--space-xl);
}

.why-premium__card h3 {
  font-size: 1.125rem;
  margin-bottom: var(--space-sm);
  color: #1E3A4F;
}

.why-premium__card p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: 0;
}

/* ========== PROJECTEN - MAGAZINE GRID ========== */
.projects-magazine {
  padding: 80px 0;
  background: #fff;
}

@media (min-width: 768px) {
  .projects-magazine {
    padding: 100px 0;
  }
}

.projects-magazine__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

@media (min-width: 768px) {
  .projects-magazine__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
  }
}

.project-magazine-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  min-height: 280px;
  cursor: pointer;
}

@media (min-width: 768px) {
  .project-magazine-card--large {
    grid-row: 1 / 3;
    min-height: 100%;
  }
}

.project-magazine-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  inset: 0;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-magazine-card:hover img {
  transform: scale(1.06);
}

.project-magazine-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(30, 58, 79, 0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-xl);
  color: #fff;
  transition: background 0.3s ease;
}

.project-magazine-card:hover .project-magazine-card__overlay {
  background: linear-gradient(180deg, transparent 20%, rgba(30, 58, 79, 0.75) 100%);
}

.project-magazine-card__badge {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: var(--space-sm);
  width: fit-content;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.project-magazine-card__badge--lopend {
  background: rgba(244, 211, 94, 0.3);
  color: #F4D35E;
}

.project-magazine-card__overlay h3 {
  color: #fff;
  font-size: 1.25rem;
  margin-bottom: var(--space-xs);
}

.project-magazine-card__overlay p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0;
  line-height: 1.5;
  transform: translateY(4px);
  opacity: 0.8;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.project-magazine-card:hover .project-magazine-card__overlay p {
  transform: translateY(0);
  opacity: 1;
}

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

/* ========== CTA - ANGLED ========== */
.cta-angled {
  position: relative;
  padding: 80px 0;
  background: var(--color-primary);
  color: #fff;
  text-align: center;
  clip-path: polygon(0 40px, 100% 0, 100% 100%, 0 100%);
  margin-top: -40px;
}

@media (min-width: 768px) {
  .cta-angled {
    padding: 120px 0 100px;
    clip-path: polygon(0 60px, 100% 0, 100% 100%, 0 100%);
    margin-top: -60px;
  }
}

.cta-angled::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 85% 30%, rgba(255, 255, 255, 0.04) 0%, transparent 40%);
  pointer-events: none;
}

.cta-angled .container {
  position: relative;
  z-index: 1;
}

.cta-angled h2 {
  color: #fff;
  font-size: 2rem;
  margin-bottom: var(--space-md);
}

@media (min-width: 768px) {
  .cta-angled h2 {
    font-size: 2.5rem;
  }
}

.cta-angled__subtitle {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 550px;
  margin: 0 auto var(--space-xl);
  line-height: 1.7;
}

.cta-angled__buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
}

@media (min-width: 480px) {
  .cta-angled__buttons {
    flex-direction: row;
    justify-content: center;
    gap: var(--space-md);
  }
}

.cta-angled__btn-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  font-size: 1.0625rem;
  font-weight: 700;
  font-family: var(--font-body);
  background: #fff;
  color: var(--color-primary);
  border-radius: 12px;
  text-decoration: none;
  transition: background-color 0.25s ease, color 0.25s ease;
  border: 2px solid #fff;
}

.cta-angled__btn-white:hover {
  background: transparent;
  color: #fff;
}

.cta-angled__btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  font-size: 1.0625rem;
  font-weight: 700;
  font-family: var(--font-body);
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 12px;
  text-decoration: none;
  transition: border-color 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.cta-angled__btn-outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.cta-angled__trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md) var(--space-xl);
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.75);
}

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

.cta-angled__trust svg {
  width: 18px;
  height: 18px;
  color: #fff;
}

/* ========== SECTION HEADER ========== */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-2xl);
}

.section-header h2 {
  margin-bottom: var(--space-sm);
}

.section-header p {
  font-size: 1.0625rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ========== SECTION HELPERS ========== */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--color-secondary);
  margin-bottom: var(--space-md);
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--color-secondary);
  border-radius: 1px;
}

/* Section label/header in reviews (wit) */
.reviews-showcase .section-label {
  color: var(--color-accent);
}
.reviews-showcase .section-label::before {
  background: var(--color-accent);
}
.reviews-showcase .section-header h2 {
  color: #fff;
}
.reviews-showcase .section-header p {
  color: rgba(255, 255, 255, 0.7);
}
