/* ================================================================
   VENTUS INSURANCE AGENCY — About Us Stylesheet
   File: css/about.css
   Version: 2.1 — Hero 3-stat fix, marquee single-row, responsive polish
   Description: Styles exclusive to about.html
   Note: Inherits all design tokens from css/index.css
================================================================ */

/* ----------------------------------------------------------------
   TABLE OF CONTENTS
   1.  Page Hero (Banner)
   2.  Our Story Section
   3.  Mission, Vision & Values (MVV)
   4.  Timeline — Our Journey
   5.  Team Section
   6.  Trust / Carriers Section
   7.  Responsive — Tablet (max 1024px)
   8.  Responsive — Mobile (max 768px)
   9.  Responsive — Small Mobile (max 480px)
   10. Reduced Motion
---------------------------------------------------------------- */


/* ================================================================
   1. PAGE HERO (BANNER)
================================================================ */
.page-hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background-color: #0d1830; /* fallback while image loads */
}

/* ── Background image + overlay container ── */
.page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero__bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

/* Multi-layer overlay for legibility on any photo */
.page-hero__bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to right,
      rgba(8, 16, 40, 0.90) 0%,
      rgba(8, 16, 40, 0.75) 40%,
      rgba(8, 16, 40, 0.45) 70%,
      rgba(8, 16, 40, 0.15) 100%
    ),
    linear-gradient(
      to top,
      rgba(5, 10, 25, 0.88) 0%,
      rgba(5, 10, 25, 0.55) 22%,
      transparent 50%
    ),
    rgba(8, 16, 40, 0.30);
}

/* ── Decorative geometric shapes ── */
.page-hero__shape {
  position: absolute;
  border-radius: 50%;
  z-index: 1;
  pointer-events: none;
}

.page-hero__shape--1 {
  width: 500px; height: 500px;
  background: rgba(59, 82, 131, 0.10);
  top: -180px; right: -80px;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  animation: morphShape 12s ease-in-out infinite alternate;
}

.page-hero__shape--2 {
  width: 280px; height: 280px;
  background: rgba(197, 171, 98, 0.06);
  bottom: -100px; right: 20%;
  animation: morphShape 16s ease-in-out infinite alternate-reverse;
}

.page-hero__shape--3 {
  width: 160px; height: 160px;
  background: rgba(167, 196, 231, 0.08);
  top: 40%; left: 8%;
  animation: floatShape 8s ease-in-out infinite;
}

@keyframes morphShape {
  0%   { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; transform: rotate(0deg) scale(1); }
  50%  { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
  100% { border-radius: 40% 60% 60% 40% / 70% 60% 40% 60%; transform: rotate(8deg) scale(1.05); }
}

@keyframes floatShape {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%       { transform: translateY(-20px) rotate(15deg); }
}

/* ── Hero content ── */
.page-hero__content {
  position: relative;
  z-index: 2;
  padding-top: var(--space-16);
  padding-bottom: 0;
  width: 100%;
}

/* Breadcrumb */
.breadcrumb { margin-bottom: var(--space-8); }

.breadcrumb ol {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.breadcrumb li {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.breadcrumb a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-secondary);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color var(--transition-fast);
}
.breadcrumb a:hover { color: var(--color-gold-light); }
.breadcrumb a i { font-size: var(--fs-sm); }

.breadcrumb i.ri-arrow-right-s-line {
  color: rgba(255, 255, 255, 0.25);
  font-size: var(--fs-md);
}

.breadcrumb span[aria-current] {
  font-family: var(--font-secondary);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Main text block */
.page-hero__text {
  max-width: 740px;
  margin-bottom: var(--space-12);
}

.page-hero__title {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: var(--fw-black);
  color: var(--color-white);
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin-bottom: var(--space-5);
  margin-top: var(--space-4);
  text-shadow: 0 2px 16px rgba(5, 10, 25, 0.50);
}

.page-hero__title--accent {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-hero__desc {
  font-size: clamp(var(--fs-base), 2vw, var(--fs-lg));
  color: rgba(255, 255, 255, 0.80);
  line-height: var(--lh-loose);
  max-width: 600px;
  text-shadow: 0 1px 8px rgba(5, 10, 25, 0.40);
}

/*
 * ── STATS BAR (3 items) ──
 * FIX: Removed 4th stat "5 Insurance Products".
 * Now evenly distributes 3 stats across the bar.
 * Uses flex with equal flex:1 columns.
 */
.page-hero__stats {
  display: flex;
  align-items: stretch;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: none;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  padding: var(--space-6) var(--space-8);
  gap: 0;
  overflow: hidden;
  margin-bottom: -1px;
  /* Constrain max width for cleaner look with 3 items */
  max-width: 680px;
}

.ph-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  padding-inline: var(--space-5);
}

.ph-stat strong {
  display: block;
  font-family: var(--font-primary);
  font-size: clamp(var(--fs-xl), 2.5vw, var(--fs-3xl));
  font-weight: var(--fw-black);
  color: var(--color-white);
  line-height: 1;
}

.ph-stat span {
  font-family: var(--font-secondary);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.ph-stat__divider {
  width: 1px;
  background: rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
  align-self: stretch;
  margin-block: var(--space-2);
}


/* ================================================================
   2. OUR STORY SECTION
================================================================ */
.story-section { background: var(--color-bg); }

.story__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}

.story__visual {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: var(--space-4);
}

.story__img-main {
  grid-column: 1 / -1;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  aspect-ratio: 16/10;
}

.story__img-secondary {
  grid-column: 2 / 3;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4/3;
  position: relative;
  margin-top: calc(-1 * var(--space-16));
  margin-left: auto;
  width: 85%;
  border: 4px solid var(--color-white);
}

.story__img-main img,
.story__img-secondary img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s ease;
}

.story__img-main:hover img,
.story__img-secondary:hover img { transform: scale(1.04); }

.story__badge {
  position: absolute;
  bottom: var(--space-4);
  left: var(--space-4);
  background: var(--gradient-navy);
  border: 2px solid rgba(197, 171, 98, 0.40);
  border-radius: var(--radius-xl);
  padding: var(--space-4) var(--space-6);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  box-shadow: var(--shadow-lg);
  animation: fadeInLeft 0.8s ease 0.5s both;
}

.story__badge-number {
  font-family: var(--font-primary);
  font-size: var(--fs-3xl);
  font-weight: var(--fw-black);
  color: var(--color-white);
  line-height: 1;
}

.story__badge-number sup {
  font-size: var(--fs-xl);
  color: var(--color-gold);
  vertical-align: super;
}

.story__badge-text {
  font-family: var(--font-secondary);
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  color: rgba(255, 255, 255, 0.80);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: var(--lh-snug);
}

.story__content { padding-block: var(--space-4); }

.story__lead {
  font-size: var(--fs-lg);
  font-weight: var(--fw-medium);
  color: var(--color-navy-darkest);
  line-height: var(--lh-snug);
  margin-bottom: var(--space-5);
  padding-left: var(--space-5);
  border-left: 3px solid var(--color-gold);
}

.story__body {
  font-size: var(--fs-base);
  color: var(--color-text-light);
  line-height: var(--lh-loose);
  margin-bottom: var(--space-5);
}

.story__highlights {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  margin-top: var(--space-8);
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-border);
}

.story__highlight-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
}

.story__highlight-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  min-width: 48px;
  background: linear-gradient(135deg, rgba(18, 33, 71, 0.07), rgba(197, 171, 98, 0.08));
  border: 1px solid rgba(197, 171, 98, 0.25);
  border-radius: var(--radius-lg);
  color: var(--color-gold-dark);
  font-size: var(--fs-xl);
  transition: background var(--transition-normal), color var(--transition-normal), transform var(--transition-bounce);
}

.story__highlight-item:hover .story__highlight-icon {
  background: var(--gradient-gold);
  color: var(--color-white);
  transform: scale(1.1) rotate(-4deg);
}

.story__highlight-item > div strong {
  display: block;
  font-size: var(--fs-base);
  font-weight: var(--fw-bold);
  color: var(--color-navy-darkest);
  margin-bottom: 3px;
}
.story__highlight-item > div p {
  font-size: var(--fs-sm);
  color: var(--color-text-light);
  line-height: var(--lh-snug);
}


/* ================================================================
   3. MISSION, VISION & VALUES (MVV)
================================================================ */
.mvv-section { background: var(--color-bg-alt); }

.mvv__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  align-items: stretch;
}

.mvv-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  padding: var(--space-10) var(--space-8);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.mvv-card::after {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 100px; height: 100px;
  background: radial-gradient(circle at 100% 100%, rgba(197, 171, 98, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.mvv-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.mvv-card--featured {
  background: var(--gradient-navy);
  border-color: transparent;
  box-shadow: var(--shadow-lg);
}

.mvv-card--featured::after          { background: radial-gradient(circle at 100% 100%, rgba(197, 171, 98, 0.12) 0%, transparent 70%); }
.mvv-card--featured .mvv-card__label { color: rgba(255, 255, 255, 0.55); }
.mvv-card--featured .mvv-card__title { color: var(--color-white); }
.mvv-card--featured .mvv-card__desc  { color: rgba(255, 255, 255, 0.72); }
.mvv-card--featured .mvv-card__icon-wrap {
  background: rgba(197, 171, 98, 0.18);
  border-color: rgba(197, 171, 98, 0.35);
  color: var(--color-gold-light);
}

.mvv-card__icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px; height: 64px;
  background: linear-gradient(135deg, rgba(18, 33, 71, 0.08), rgba(197, 171, 98, 0.07));
  border: 1px solid rgba(197, 171, 98, 0.25);
  border-radius: var(--radius-xl);
  color: var(--color-gold-dark);
  font-size: 1.75rem;
  margin-bottom: var(--space-6);
  transition: background var(--transition-normal), transform var(--transition-bounce);
}

.mvv-card:not(.mvv-card--featured):hover .mvv-card__icon-wrap {
  background: var(--gradient-gold);
  color: var(--color-white);
  transform: rotate(-5deg) scale(1.08);
}

.mvv-card__line {
  width: 40px; height: 3px;
  background: var(--gradient-gold);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-4);
}

.mvv-card__label {
  font-family: var(--font-secondary);
  font-size: var(--fs-xs);
  font-weight: var(--fw-black);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold-dark);
  margin-bottom: var(--space-2);
}

.mvv-card__title {
  font-size: var(--fs-lg);
  font-weight: var(--fw-extrabold);
  color: var(--color-navy-darkest);
  line-height: var(--lh-snug);
  margin-bottom: var(--space-4);
}

.mvv-card__desc {
  font-size: var(--fs-sm);
  color: var(--color-text-light);
  line-height: var(--lh-loose);
  flex: 1;
}

.mvv-card__values-list { display: flex; flex-direction: column; gap: var(--space-3); flex: 1; }
.mvv-card__values-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--fs-sm);
  color: var(--color-text-light);
  line-height: var(--lh-snug);
}
.mvv-card__values-list li i {
  color: var(--color-gold-dark);
  font-size: var(--fs-md);
  flex-shrink: 0;
  margin-top: 2px;
}
.mvv-card__values-list li strong { font-weight: var(--fw-bold); color: var(--color-navy-darkest); }


/* ================================================================
   4. TIMELINE — OUR JOURNEY
================================================================ */
.timeline-section { background: var(--color-bg); }

.timeline {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  padding-left: var(--space-10);
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: var(--space-3);
  bottom: var(--space-3);
  width: 2px;
  background: linear-gradient(to bottom, var(--color-gold) 0%, var(--color-navy-mid) 60%, rgba(197, 171, 98, 0.3) 100%);
  border-radius: var(--radius-full);
}

.timeline__item {
  position: relative;
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: var(--space-6);
  align-items: flex-start;
  padding-bottom: var(--space-12);
}

.timeline__item:last-child { padding-bottom: 0; }

.timeline__marker {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--space-2);
  padding-top: var(--space-1);
  position: relative;
}

.timeline__year {
  font-family: var(--font-secondary);
  font-size: var(--fs-sm);
  font-weight: var(--fw-black);
  color: var(--color-navy-mid);
  letter-spacing: 0.04em;
  line-height: 1;
}

.timeline__dot {
  width: 14px; height: 14px;
  background: var(--color-white);
  border: 3px solid var(--color-navy-mid);
  border-radius: 50%;
  position: absolute;
  right: calc(-1 * var(--space-10) - 6px);
  top: 4px;
  transition: border-color var(--transition-normal), background var(--transition-normal);
  z-index: 2;
}

.timeline__item:hover .timeline__dot {
  background: var(--color-gold);
  border-color: var(--color-gold);
  box-shadow: 0 0 0 4px rgba(197, 171, 98, 0.20);
}

.timeline__dot--current {
  background: var(--gradient-gold);
  border-color: var(--color-gold-dark);
  width: 18px; height: 18px;
  right: calc(-1 * var(--space-10) - 8px);
  box-shadow: 0 0 0 4px rgba(197, 171, 98, 0.25), 0 0 0 8px rgba(197, 171, 98, 0.10);
}

.timeline__item--current .timeline__year { color: var(--color-gold-dark); font-size: var(--fs-base); }

.timeline__content {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6) var(--space-8);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
  position: relative;
}

.timeline__content::before {
  content: '';
  position: absolute;
  left: -8px; top: 16px;
  width: 14px; height: 14px;
  background: var(--color-white);
  border-left: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  transform: rotate(45deg);
}

.timeline__item:hover .timeline__content {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(197, 171, 98, 0.35);
}

.timeline__item--current .timeline__content {
  border-color: var(--color-gold);
  background: linear-gradient(160deg, #fff 0%, rgba(197, 171, 98, 0.04) 100%);
}

.timeline__event-title { font-size: var(--fs-md); font-weight: var(--fw-bold); color: var(--color-navy-darkest); margin-bottom: var(--space-3); }
.timeline__item--current .timeline__event-title { color: var(--color-gold-dark); }
.timeline__event-desc { font-size: var(--fs-sm); color: var(--color-text-light); line-height: var(--lh-loose); }


/* ================================================================
   5. TEAM SECTION
================================================================ */
.team-section { background: var(--color-bg-alt); }

.team__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

.team-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.team-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-xl); }

.team-card__img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 7/8;
}

.team-card__img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.7s ease;
}

.team-card:hover .team-card__img-wrap img { transform: scale(1.06); }

.team-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(18, 33, 71, 0.85) 0%, rgba(18, 33, 71, 0.40) 50%, transparent 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: var(--space-5);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.team-card:hover .team-card__overlay { opacity: 1; }

.team-card__social {
  display: flex;
  gap: var(--space-3);
  transform: translateY(12px);
  transition: transform var(--transition-normal) 0.05s;
}

.team-card:hover .team-card__social { transform: translateY(0); }

.team-card__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-full);
  color: var(--color-white);
  font-size: var(--fs-lg);
  transition: background var(--transition-fast), transform var(--transition-bounce);
}

.team-card__social a:hover { background: var(--gradient-gold); transform: scale(1.12); }

.team-card__body { padding: var(--space-6); display: flex; flex-direction: column; flex: 1; }
.team-card__name { font-size: var(--fs-md); font-weight: var(--fw-bold); color: var(--color-navy-darkest); margin-bottom: var(--space-1); }

.team-card__role {
  display: block;
  font-family: var(--font-secondary);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-gold-dark);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--color-border);
}

.team-card__bio { font-size: var(--fs-sm); color: var(--color-text-light); line-height: var(--lh-loose); flex: 1; margin-bottom: var(--space-5); }
.team-card__creds { display: flex; flex-direction: column; gap: var(--space-2); }
.team-card__creds span {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-secondary);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  color: var(--color-text-light);
}
.team-card__creds i { color: var(--color-gold-dark); font-size: var(--fs-md); }


/* ================================================================
   6. TRUST / CARRIERS SECTION
   FIX: Marquee is a true single-row, infinite scroll right-to-left.
   The track contains the 12 items + 12 duplicates so the loop is
   seamless. The animation translates exactly -50% (= one full set).
================================================================ */
.trust-section { background: var(--color-bg); }

/* ── Outer wrapper: clips the overflow ── */
.carriers__marquee-wrapper {
  position: relative;
  overflow: hidden;
  padding-block: var(--space-8);
  margin-bottom: var(--space-12);
}

/* Fade-out edges (purely decorative) */
.carriers__marquee-wrapper::before,
.carriers__marquee-wrapper::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.carriers__marquee-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--color-bg) 0%, transparent 100%);
}
.carriers__marquee-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--color-bg) 0%, transparent 100%);
}

/* ── Marquee container: clips and hides scrollbar ── */
.carriers__marquee {
  overflow: hidden;
  width: 100%;
}

/*
 * ── Track: single row, no wrap, animates right-to-left ──
 *
 * HOW THE SEAMLESS LOOP WORKS:
 * The track contains 12 original items + 12 duplicates (total 24).
 * The animation translates from 0 to -50% of the total track width.
 * At -50% the visual position is identical to 0%, so the loop
 * is perfectly seamless with no jump.
 *
 * width: max-content ensures the row never wraps.
 */
.carriers__track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;       /* CRITICAL: single row always */
  align-items: center;
  gap: var(--space-5);
  width: max-content;      /* natural width of all items in one line */
  animation: marqueeScroll 32s linear infinite;
  will-change: transform;
}

/* Pause on hover for desktop users */
.carriers__marquee-wrapper:hover .carriers__track {
  animation-play-state: paused;
}

/*
 * @keyframes marqueeScroll was removed.
 * The scroll animation is now driven entirely by js/about.js
 * using requestAnimationFrame for guaranteed right-to-left movement.
 * The CSS animation property on .carriers__track is overridden by JS.
 */

/* ── Individual logo cards ── */
.carrier__logo-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;            /* never shrink — single row */
  padding: var(--space-3) var(--space-5);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
  transition: box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.carrier__logo-item:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(197, 171, 98, 0.40);
}

.carrier__logo-item img {
  height: 36px;
  width: auto;
  object-fit: contain;
  display: block;
  filter: grayscale(60%) opacity(0.70);
  transition: filter var(--transition-normal);
  /* Prevent images from affecting row height */
  flex-shrink: 0;
}

.carrier__logo-item:hover img { filter: grayscale(0%) opacity(1); }

/* ── Trust badges row ── */
.trust__badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-border);
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xs);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
  white-space: nowrap;
}

.trust-badge:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(197, 171, 98, 0.40);
}

.trust-badge__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  background: linear-gradient(135deg, rgba(18, 33, 71, 0.07), rgba(197, 171, 98, 0.07));
  border-radius: var(--radius-md);
  color: var(--color-gold-dark);
  font-size: var(--fs-xl);
  flex-shrink: 0;
  transition: background var(--transition-normal), color var(--transition-normal);
}

.trust-badge:hover .trust-badge__icon {
  background: var(--gradient-gold);
  color: var(--color-white);
}

.trust-badge__text strong {
  display: block;
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  color: var(--color-navy-darkest);
  line-height: 1.3;
}
.trust-badge__text span {
  font-family: var(--font-secondary);
  font-size: var(--fs-xs);
  color: var(--color-text-light);
}


/* ================================================================
   7. RESPONSIVE — TABLET (max-width: 1024px)
================================================================ */
@media (max-width: 1024px) {

  .page-hero { min-height: 480px; }
  .page-hero__bg-img { object-position: 60% 30%; }
  .page-hero__stats { max-width: 100%; padding: var(--space-5) var(--space-6); }

  .story__grid { grid-template-columns: 1fr; gap: var(--space-12); }
  .story__visual { max-width: 600px; margin-inline: auto; }
  .story__badge { bottom: var(--space-4); left: var(--space-4); }

  .mvv__grid { grid-template-columns: 1fr; max-width: 600px; margin-inline: auto; }

  .timeline { padding-left: var(--space-8); }

  .team__grid { grid-template-columns: repeat(2, 1fr); }

  .trust__badges { gap: var(--space-4); }

  .carriers__marquee-wrapper::before,
  .carriers__marquee-wrapper::after { width: 80px; }
}


/* ================================================================
   8. RESPONSIVE — MOBILE (max-width: 768px)
================================================================ */
@media (max-width: 768px) {

  .page-hero { min-height: 460px; }
  .page-hero__bg-img { object-position: center center; }

  /* Darker overlay on mobile for any photo */
  .page-hero__bg-overlay {
    background:
      linear-gradient(
        to right,
        rgba(8, 16, 40, 0.95) 0%,
        rgba(8, 16, 40, 0.85) 100%
      ),
      linear-gradient(
        to top,
        rgba(5, 10, 25, 0.92) 0%,
        rgba(5, 10, 25, 0.60) 25%,
        transparent 55%
      ),
      rgba(8, 16, 40, 0.40);
  }

  .page-hero__title { font-size: 2rem; }
  .page-hero__desc  { font-size: var(--fs-base); }
  .page-hero__text  { margin-bottom: var(--space-8); }

  /* Stats bar: vertical stack on small screens */
  .page-hero__stats {
    flex-direction: column;
    align-items: stretch;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    padding: var(--space-5);
    gap: var(--space-4);
    max-width: 100%;
  }

  .ph-stat {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: var(--space-4);
    padding-inline: 0;
  }

  .ph-stat strong { font-size: var(--fs-xl); }

  .ph-stat__divider {
    width: 100%;
    height: 1px;
    margin-block: 0;
    align-self: auto;
  }

  .story__img-secondary { display: none; }
  .story__img-main { aspect-ratio: 16/9; }
  .story__badge { bottom: var(--space-3); left: var(--space-3); padding: var(--space-3) var(--space-4); }
  .story__badge-number { font-size: var(--fs-2xl); }

  .timeline { padding-left: var(--space-6); }
  .timeline__item { grid-template-columns: 70px 1fr; gap: var(--space-4); }
  .timeline__dot { right: calc(-1 * var(--space-6) - 5px); }
  .timeline__dot--current { right: calc(-1 * var(--space-6) - 7px); }
  .timeline__content { padding: var(--space-5); }

  .team__grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-4); }

  .trust__badges { flex-direction: column; align-items: stretch; gap: var(--space-3); }
  .trust-badge { width: 100%; white-space: normal; }

  .carriers__marquee-wrapper::before,
  .carriers__marquee-wrapper::after { width: 48px; }

  /* Slightly faster scroll on mobile */
  .carriers__track { animation-duration: 24s; }
}


/* ================================================================
   9. RESPONSIVE — SMALL MOBILE (max-width: 480px)
================================================================ */
@media (max-width: 480px) {

  .page-hero { min-height: 420px; }
  .page-hero__bg-img { object-position: center top; }
  .page-hero__title { font-size: 1.75rem; }
  .page-hero__stats { border-radius: var(--radius-lg) var(--radius-lg) 0 0; }

  .story__highlight-item { flex-direction: column; }

  .mvv-card { padding: var(--space-8) var(--space-6); }

  .timeline__item { grid-template-columns: 58px 1fr; gap: var(--space-3); }
  .timeline__year { font-size: var(--fs-xs); }

  .team__grid { grid-template-columns: 1fr; max-width: 340px; margin-inline: auto; }

  /* Even smaller edge fades on very small screens */
  .carriers__marquee-wrapper::before,
  .carriers__marquee-wrapper::after { width: 32px; }
}


/* ================================================================
   10. PREFERS REDUCED MOTION — Accessibility
================================================================ */
@media (prefers-reduced-motion: reduce) {
  /* Stop decorative shape animations */
  .page-hero__shape { animation: none !important; }

  /* Marquee: JS detects prefers-reduced-motion and shows static grid instead */
  .carriers__track { animation: none !important; }
}