/* ============================================================
   MyPace Life — Global Stylesheet
   Palette: #0047AB · #A2E4B8 · #8EA4D2 · #496F5D · #FFFFFF
   ============================================================ */

/* --- Reset & Base ----------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-charcoal);
  background: var(--color-mist);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--color-blue);
  text-decoration: none;
  transition: color 0.25s ease;
}

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

ul, ol {
  padding-left: 1.5em;
}

/* --- Custom Properties ------------------------------------ */
:root {
  /* Palette */
  --color-blue:        #0047AB;
  --color-blue-dark:   #003080;
  --color-blue-darker: #001B44;
  --color-mint:        #A2E4B8;
  --color-periwinkle:  #8EA4D2;
  --color-forest:      #496F5D;
  --color-white:       #FFFFFF;

  /* Derived tones */
  --color-mist:        #F0F3F9;
  --color-ice:         #E4EAF5;
  --color-charcoal:    #1A1A2E;
  --color-gray:        #5C6578;
  --color-gray-light:  #D5DAE6;
  --color-forest-dark: #3A5A4A;
  --color-mint-dark:   #7BCFA0;

  /* Legacy aliases */
  --color-green:       #496F5D;
  --color-green-light: #A2E4B8;
  --color-cream:       #F0F3F9;

  /* Type */
  --font-display: 'Outfit', system-ui, -apple-system, sans-serif;
  --font-body:    'Outfit', system-ui, -apple-system, sans-serif;
  --font-mono:    'JetBrains Mono', 'Fira Code', monospace;

  /* Layout */
  --max-width:     1140px;
  --header-height: 76px;
  --radius:        12px;
  --radius-sm:     6px;
  --shadow:        0 2px 16px rgba(0, 45, 128, 0.06);
  --shadow-lg:     0 8px 32px rgba(0, 45, 128, 0.11);
}

/* --- Typography ------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-blue-dark);
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }

p + p { margin-top: 1em; }

.text-muted {
  color: var(--color-gray);
}

.mono {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: -0.02em;
}

/* --- Layout ----------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section--cream {
  background: var(--color-mist);
}

.section--white {
  background: var(--color-white);
}

.section--blue {
  background: linear-gradient(135deg, var(--color-blue-darker) 0%, var(--color-blue-dark) 40%, var(--color-blue) 100%);
  color: var(--color-white);
}

.section--blue h1,
.section--blue h2,
.section--blue h3,
.section--blue h4,
.section--blue h5,
.section--blue p,
.section--blue a {
  color: var(--color-white);
}

.section--blue a:hover {
  color: var(--color-mint);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3rem;
  align-items: center;
}

.grid-2--reverse .grid-2__text { order: 2; }
.grid-2--reverse .grid-2__image { order: 1; }

/* --- Gradient Divider ------------------------------------- */
.divider {
  height: 2px;
  background: linear-gradient(90deg, var(--color-blue), var(--color-periwinkle), var(--color-mint), var(--color-periwinkle), var(--color-blue));
  border: none;
  margin: 0;
  opacity: 0.45;
}

/* --- Header / Navigation ---------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(240, 243, 249, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
  border-bottom-color: var(--color-gray-light);
  box-shadow: 0 1px 10px rgba(0, 45, 128, 0.06);
}

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

.site-header__logo img {
  height: 47px;
  width: auto;
}

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

.site-nav a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--color-charcoal);
  position: relative;
  padding: 0.25rem 0;
}

.site-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-forest);
  transition: width 0.3s ease;
}

.site-nav a:hover::after,
.site-nav a.active::after {
  width: 100%;
}

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  position: relative;
  width: 28px;
  height: 24px;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--color-charcoal);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav-toggle span {
  position: relative;
  top: 0;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  position: absolute;
  left: 0;
}

.nav-toggle span::before { top: -8px; }
.nav-toggle span::after  { top: 8px; }

.nav-toggle.open span {
  background: transparent;
}

.nav-toggle.open span::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle.open span::after {
  top: 0;
  transform: rotate(-45deg);
}

/* --- Language Toggle --------------------------------------- */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 0;
  margin-left: 1.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid var(--color-gray-light);
  border-radius: 20px;
  overflow: hidden;
}

.lang-toggle a {
  padding: 0.3rem 0.65rem;
  color: var(--color-gray);
  text-decoration: none;
  transition: all 0.25s ease;
  line-height: 1;
}

.lang-toggle a:hover {
  color: var(--color-blue);
}

.lang-toggle a.active {
  background: var(--color-blue);
  color: var(--color-white);
}

.lang-toggle a.active:hover {
  color: var(--color-white);
}

@media (max-width: 767px) {
  .lang-toggle {
    margin-left: auto;
    margin-right: 0;
    order: 2;
  }
}

/* --- Hero ------------------------------------------------- */
.hero {
  position: relative;
  padding: 6rem 0 5rem;
  overflow: hidden;
  text-align: center;
}

.hero--home {
  padding: 8rem 0 6rem;
}

.hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(142, 164, 210, 0.15) 0%, transparent 70%);
  transform: translate(-50%, -60%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(162, 228, 184, 0.10) 0%, transparent 70%);
  pointer-events: none;
}

.hero h1 {
  color: var(--color-white);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.hero .subtitle {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--color-periwinkle);
  margin-bottom: 2rem;
  font-weight: 300;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-info-box {
  background: rgba(142, 164, 210, 0.12);
  border: 1px solid rgba(142, 164, 210, 0.25);
  border-radius: 16px;
  padding: 2rem 2.5rem;
  max-width: 700px;
  margin: 1.5rem auto 0;
  text-align: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero-info-box p {
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
}

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

.hero-info-box strong {
  color: var(--color-white);
}

.section--blue .hero-info-box a,
.section--blue .hero-info-box a strong {
  color: var(--color-green-light);
  font-weight: 700;
}

.hero-info-box a:hover {
  color: var(--color-white);
}

.hero__cta-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1.1rem 2.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.hero__cta--primary,
.section--blue .hero__cta--primary {
  background: var(--color-mint);
  color: var(--color-blue);
}

.hero__cta--primary:hover {
  background: rgba(142, 164, 210, 0.35);
  color: var(--color-mint);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(142, 164, 210, 0.3);
}

.hero__cta--secondary,
.section--blue .hero__cta--secondary {
  background: var(--color-mint);
  color: var(--color-blue);
}

.hero__cta--secondary:hover {
  background: rgba(142, 164, 210, 0.35);
  color: var(--color-mint);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(142, 164, 210, 0.3);
}

/* Page hero (smaller, for inner pages) */
.hero--page {
  padding: 4.5rem 0 3rem;
}

.hero--page h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
}

/* --- Content Sections ------------------------------------- */
.section__header {
  margin-bottom: 2rem;
}

.section__header h2 {
  margin-bottom: 0.75rem;
}

.section__header p {
  color: var(--color-gray);
  max-width: 640px;
}

.grid-2__image {
  padding-top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.section-image {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.section-image:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
}

.section__text ul {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.section__text li {
  margin-bottom: 0.5rem;
}

.section__text li strong {
  color: var(--color-charcoal);
}

.section__link {
  display: inline-block;
  margin-top: 1.25rem;
  font-weight: 600;
  font-style: italic;
  color: var(--color-blue);
  border-bottom: 2px solid var(--color-periwinkle);
  padding-bottom: 2px;
  transition: border-color 0.3s ease, color 0.3s ease;
}

.section__link:hover {
  color: var(--color-forest);
  border-bottom-color: var(--color-forest);
}

/* --- Two-Column Feature ----------------------------------- */
.feature-pair {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.feature-pair__item {
  padding: 2.5rem;
  background: var(--color-white);
  border-radius: var(--radius);
  border-left: 4px solid var(--color-blue);
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-pair__item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.feature-pair__item:nth-child(2) {
  border-left-color: var(--color-forest);
}

.feature-pair--stacked {
  margin-top: 2rem;
}

.feature-pair--horizontal {
  grid-template-columns: 1fr 1fr;
}

.feature-pair__item h3 {
  margin-bottom: 0.75rem;
}

/* --- Shareholders ----------------------------------------- */
.shareholders {
  text-align: center;
}

.shareholders h2 {
  margin-bottom: 1rem;
}

.shareholders__text {
  max-width: 640px;
  margin: 0 auto 2.5rem;
  color: var(--color-gray);
}

.shareholders__logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.shareholders__logo {
  transition: transform 0.3s ease;
}

.shareholders__logo:hover {
  transform: scale(1.08);
}

.shareholders__logo img {
  height: 104px;
  width: auto;
  object-fit: contain;
}

.shareholders__logos .shareholders__logo:nth-child(1) img {
  height: 135px;
}

.shareholders__logos .shareholders__logo:nth-child(2) img {
  height: 73px;
}

/* --- Card (News articles) --------------------------------- */
.card {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  height: 100%;
}

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

.card--horizontal {
  display: flex;
  min-height: 280px;
}

.card__content {
  flex: 0 0 60%;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card__image-box {
  flex: 0 0 40%;
  position: relative;
  overflow: hidden;
}

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

.card:hover .card__image-box img {
  transform: scale(1.05);
}

.card__date {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-gray);
  margin-bottom: 0.75rem;
}

.card__title {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 600;
  color: var(--color-blue-dark);
  line-height: 1.4;
  margin-bottom: 1.5rem;
}

.card__title a {
  color: inherit;
  text-decoration: none;
}

.card__read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--color-blue);
  font-size: 0.95rem;
}

.card__read-more::before {
  content: '→';
  display: inline-block;
  width: 24px;
  height: 24px;
  border: 1px solid var(--color-blue);
  border-radius: 50%;
  text-align: center;
  line-height: 22px;
  transition: all 0.3s ease;
}

.card:hover .card__read-more::before {
  background: var(--color-blue);
  color: var(--color-white);
}

/* --- News Carousel ---------------------------------------- */
.news-carousel-container {
  margin-bottom: 4rem;
}

.news-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.news-header h2 {
  margin-bottom: 0;
}

.carousel-controls {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.carousel-index {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--color-blue-dark);
  font-size: 1.1rem;
}

.carousel-index span {
  color: var(--color-gray);
  font-weight: 400;
}

.carousel-nav {
  display: flex;
  gap: 0.75rem;
}

.carousel-btn {
  width: 40px;
  height: 40px;
  border: 1px solid var(--color-gray-light);
  border-radius: 50%;
  background: var(--color-white);
  color: var(--color-blue);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-size: 1.2rem;
}

.carousel-btn:hover {
  background: var(--color-blue);
  color: var(--color-white);
  border-color: var(--color-blue);
}

.carousel-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.news-carousel-wrapper {
  overflow: hidden;
  margin: 0 -0.75rem; /* Match gap */
}

.news-carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
  flex: 0 0 50%; /* Show 2 per view on desktop */
  padding: 0 0.75rem;
}

@media (max-width: 1024px) {
  .carousel-slide {
    flex: 0 0 100%; /* Show 1 per view on tablet/mobile */
  }
}

@media (max-width: 767px) {
  .card--horizontal {
    flex-direction: column;
    min-height: auto;
  }
  
  .card__content {
    flex: 0 0 100%;
    order: 1;
  }
  
  .card__image-box {
    flex: 0 0 100%;
    aspect-ratio: 16/9;
    order: 2;
  }
  
  .card__image-box img {
    border-radius: var(--radius);
  }
}

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

/* --- Article --------------------------------------------- */
.article {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 3rem;
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
}

.article__date {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--color-gray);
  margin-bottom: 0.5rem;
}

.article h2 {
  margin-bottom: 1.25rem;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
}

.article p {
  margin-bottom: 1rem;
}

.article .update-notice {
  background: linear-gradient(135deg, var(--color-blue-dark), var(--color-blue));
  color: var(--color-white);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.article ol {
  margin: 1.5rem 0;
  padding-left: 1.75rem;
}

.article ol li {
  margin-bottom: 0.65rem;
  line-height: 1.5;
}

.article ol li a {
  border-bottom: 1px solid var(--color-gray-light);
  padding-bottom: 1px;
}

.article ol li a:hover {
  border-bottom-color: var(--color-forest);
}

.article__meta {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-gray-light);
  font-size: 0.9rem;
  color: var(--color-gray);
}

/* --- Legal Pages ------------------------------------------ */
.legal-content {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 3rem;
  box-shadow: var(--shadow);
}

.legal-content h2 {
  font-size: 1.25rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: var(--color-blue);
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  margin-bottom: 1rem;
}

.legal-content .effective-date {
  margin-top: 2rem;
  font-weight: 600;
  color: var(--color-charcoal);
}

/* --- Team ------------------------------------------------- */
.team {
  text-align: center;
}

.team__heading {
  margin-bottom: 3rem;
}

.team-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem 2rem;
}

.team-member {
  text-align: center;
  width: 200px;
}

.team-member__photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1rem;
  position: relative;
}

.team-member__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.team-member__photo--blue {
  background: var(--color-blue);
}

.team-member__photo--mint {
  background: var(--color-mint);
}

.team-member__name {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
  color: var(--color-charcoal);
}

.team-member__role {
  font-size: 0.85rem;
  color: var(--color-gray);
  line-height: 1.4;
}

@media (max-width: 767px) {
  .team-member {
    width: 140px;
  }

  .team-member__photo {
    width: 130px;
    height: 130px;
  }

  .team-grid {
    gap: 2rem 1.5rem;
  }
}

/* --- Contact Section -------------------------------------- */
.contact-section {
  background: linear-gradient(135deg, var(--color-blue-darker) 0%, var(--color-blue-dark) 50%, var(--color-blue) 100%);
  color: var(--color-white);
  padding: 4.5rem 0;
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(142, 164, 210, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.contact-section h3 {
  color: var(--color-white);
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.contact-section .address {
  color: var(--color-white);
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.contact-section .address a {
  color: var(--color-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.contact-card {
  background: rgba(142, 164, 210, 0.1);
  border: 1px solid rgba(142, 164, 210, 0.2);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.contact-card:hover {
  background: rgba(142, 164, 210, 0.18);
  border-color: rgba(142, 164, 210, 0.35);
}

.contact-card h4 {
  color: var(--color-mint);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.contact-card ul {
  list-style: none;
  padding: 0;
}

.contact-card li {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
}

.contact-card a {
  color: var(--color-mint);
}

.contact-card a:hover {
  color: var(--color-white);
}

.contact-logo img {
  height: 32px;
  width: auto;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.contact-logo:hover img {
  opacity: 1;
}

/* --- Footer ---------------------------------------------- */
.site-footer {
  background: var(--color-blue-darker);
  color: rgba(255, 255, 255, 0.55);
  padding: 1.5rem 0;
  font-size: 0.85rem;
}

.site-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.25s ease;
}

.site-footer a:hover {
  color: var(--color-mint);
}

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

/* --- Animations ------------------------------------------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-animate {
  opacity: 0;
  animation: fadeInUp 0.7s ease forwards;
}

.hero-animate:nth-child(1) { animation-delay: 0.1s; }
.hero-animate:nth-child(2) { animation-delay: 0.25s; }
.hero-animate:nth-child(3) { animation-delay: 0.4s; }
.hero-animate:nth-child(4) { animation-delay: 0.55s; }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive ------------------------------------------- */

/* Tablet */
@media (max-width: 1024px) {
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .grid-2__image {
    padding-top: 0;
  }

  .grid-2--reverse .grid-2__text { order: 1; }
  .grid-2--reverse .grid-2__image { order: 2; }

  .feature-pair {
    grid-template-columns: 1fr;
  }

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

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

  .hero--home {
    padding: 6rem 0 4rem;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--color-mist);
    flex-direction: column;
    padding: 1.5rem;
    gap: 0;
    border-bottom: 1px solid var(--color-gray-light);
    box-shadow: 0 4px 12px rgba(0, 45, 128, 0.08);
  }

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

  .site-nav li {
    width: 100%;
  }

  .site-nav a {
    display: block;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--color-gray-light);
    font-size: 1rem;
  }

  .site-nav a::after {
    display: none;
  }

  .nav-toggle {
    display: block;
    order: 3;
  }

  .site-nav {
    order: 4;
  }

  .hero--home {
    padding: 4rem 0 3rem;
  }

  .hero--page {
    padding: 3rem 0 2rem;
  }

  .section {
    padding: 3rem 0;
  }

  .article {
    padding: 1.5rem;
  }

  .legal-content {
    padding: 1.5rem;
  }

  .feature-pair__item {
    padding: 1.5rem;
  }

  .shareholders__logos {
    gap: 2rem;
  }

  .shareholders__logo img {
    height: 78px;
  }

  .site-footer .container {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }
}

@media (max-width: 767px) {
  .hero__cta--secondary {
    background: var(--color-blue);
    color: var(--color-white);
  }
}


/* ===== Mobile fixes ===== */
@media (max-width: 767px) {

  .carousel-index {
    white-space: nowrap;
  }


  .card__content {
    justify-content: flex-start;
  }

  .card__image-box {
    aspect-ratio: unset;
    min-height: 0;
  }

  .card__image-box img {
    max-height: 220px;
    object-fit: cover;
  }
}