/* ===== DESIGN TOKENS ===== */
:root {
  --navy: #0B1F3F;
  --navy-light: #122B54;
  --navy-mid: #163264;
  --teal: #00BFA6;
  --teal-dark: #00A891;
  --teal-light: #33CCBB;
  --teal-glow: rgba(0, 191, 166, 0.15);
  --white: #FFFFFF;
  --off-white: #F4F7FA;
  --gray-100: #E8ECF1;
  --gray-200: #D1D8E0;
  --gray-400: #8896A7;
  --gray-600: #5A6A7E;
  --gray-800: #2C3E50;
  --text-primary: #0B1F3F;
  --text-secondary: #5A6A7E;
  --text-light: rgba(255,255,255,0.85);
  --text-white: #FFFFFF;
  --shadow-sm: 0 2px 8px rgba(11,31,63,0.06);
  --shadow-md: 0 4px 20px rgba(11,31,63,0.08);
  --shadow-lg: 0 8px 40px rgba(11,31,63,0.12);
  --shadow-xl: 0 16px 60px rgba(11,31,63,0.16);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 100px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1320px;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-primary);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition-fast); }
ul, ol { list-style: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4vw, 2.8rem); letter-spacing: -0.015em; }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }

p { color: var(--text-secondary); font-size: 1.05rem; }

/* ===== EYEBROW BADGE ===== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.eyebrow .icon {
  width: 20px;
  height: 20px;
  color: var(--teal);
}

.eyebrow--dark {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
  color: var(--text-white);
  backdrop-filter: blur(8px);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
  opacity: 0;
  transition: var(--transition);
}

.btn:hover::after { opacity: 1; }

.btn--primary {
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: var(--white);
  box-shadow: 0 4px 20px rgba(0, 191, 166, 0.3);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(0, 191, 166, 0.4);
}

.btn--outline {
  background: transparent;
  color: var(--teal);
  border: 2px solid var(--teal);
}

.btn--outline:hover {
  background: var(--teal);
  color: var(--white);
  transform: translateY(-2px);
}

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

.btn--white:hover {
  background: var(--off-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn .arrow {
  transition: transform var(--transition);
}

.btn:hover .arrow {
  transform: translateX(4px);
}

/* ===== HEADER / NAV ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 24px;
  transition: var(--transition);
}

.header--scrolled {
  background: rgba(11, 31, 63, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

.header__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--white);
}

.logo__icon {
  width: auto;
  height: 46px;
  flex-shrink: 0;
}

.logo__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1;
}

.logo__name {
  font-family: 'Inter', -apple-system, 'Segoe UI', sans-serif;
  font-size: 1.6rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.logo__ortho { font-weight: 700; color: var(--white); }
.logo__bridge { font-weight: 300; color: #3FA9F5; }

.logo__tagline {
  margin-top: 6px;
  font-family: 'Inter', -apple-system, 'Segoe UI', sans-serif;
  font-size: 0.56rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #9DB2CE;
  white-space: nowrap;
}

.nav { display: flex; align-items: center; gap: 8px; }

.nav__link {
  padding: 8px 18px;
  color: rgba(255,255,255,0.8);
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: var(--radius-full);
  transition: var(--transition-fast);
}

.nav__link:hover, .nav__link--active {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}

.header__cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header__phone {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  font-weight: 500;
}

.header__phone:hover { color: var(--teal-light); }

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  margin: 6px 0;
  transition: var(--transition);
  border-radius: 2px;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(11, 31, 63, 0.92) 0%,
    rgba(11, 31, 63, 0.75) 50%,
    rgba(11, 31, 63, 0.5) 100%
  );
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 120px 0 80px;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 24px;
}

.hero__body {
  color: var(--text-light);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 600px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 48px;
}

.hero__contact {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
}

.hero__contact-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero__contact-icon svg { width: 20px; height: 20px; color: var(--white); }

.hero__contact-text {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
}

.hero__contact-number {
  display: block;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  margin-top: 2px;
}

/* Decorative shapes */
.hero__shapes {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.hero__shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(0, 191, 166, 0.08);
  animation: float 8s ease-in-out infinite;
}

.hero__shape--1 { width: 400px; height: 400px; top: -100px; right: -100px; animation-delay: 0s; }
.hero__shape--2 { width: 250px; height: 250px; bottom: -50px; left: -80px; animation-delay: 2s; }
.hero__shape--3 { width: 150px; height: 150px; top: 50%; right: 20%; animation-delay: 4s; }

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -20px) scale(1.05); }
}

/* ===== SECTION COMMON ===== */
.section {
  padding: 100px 0;
}

.section--gray { background: var(--off-white); }
.section--dark {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-light) 100%);
}
.section--dark h2, .section--dark h3, .section--dark h4 { color: var(--white); }
.section--dark p { color: var(--text-light); }

.section__header {
  margin-bottom: 64px;
}

.section__header--center {
  text-align: center;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.section__header h2 { margin-bottom: 16px; }
.section__header p { font-size: 1.1rem; }

/* ===== ABOUT / ECOSYSTEM SECTION ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about__text h2 { margin-bottom: 20px; }
.about__text p { margin-bottom: 20px; }

.about__highlight {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--off-white);
  border-radius: var(--radius-md);
  margin-top: 24px;
}

.about__highlight-icon {
  width: 48px;
  height: 48px;
  background: var(--teal-glow);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.about__highlight-icon svg { width: 24px; height: 24px; color: var(--teal); }

.about__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.about-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  cursor: default;
}

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

.about-card--image {
  position: relative;
  grid-row: span 2;
}

.about-card--image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.about-card--image .play-btn {
  position: absolute;
  bottom: 24px;
  left: 24px;
  width: 50px;
  height: 50px;
  background: var(--teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 191, 166, 0.4);
  transition: var(--transition);
}

.about-card--image .play-btn:hover { transform: scale(1.1); }
.about-card--image .play-btn svg { width: 18px; height: 18px; color: var(--white); margin-left: 2px; }

.about-card--stat {
  background: var(--navy);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.about-card--stat .stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--white);
}

.about-card--stat .stat-label {
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  font-weight: 500;
}

.about-card--stat hr {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.12);
  margin: 16px 0;
}

.about-card--stat .stat-bullet {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--teal-light);
  font-weight: 600;
  font-size: 0.95rem;
}

.about-card--stat .stat-bullet::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--teal);
  border-radius: 50%;
}

.about-card--stat .stat-desc {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  margin-top: 8px;
  line-height: 1.6;
}

.about-card--stat .learn-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  margin-top: 16px;
}

.about-card--stat .learn-more:hover { color: var(--teal-light); }
.about-card--stat .learn-more svg { width: 16px; height: 16px; transition: transform var(--transition); }
.about-card--stat .learn-more:hover svg { transform: translateX(4px); }

.about-card--tags {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.about-card--tags img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-card--tags .tags-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 31, 63, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.about-card--tags .tags-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.about-card--tags .tag {
  padding: 8px 18px;
  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(--white);
  font-size: 0.85rem;
  font-weight: 500;
}

/* ===== THREE PILLARS (Services) ===== */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.pillar-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--teal);
}

.pillar-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 28px 0;
}

.pillar-card__number {
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gray-400);
}

.pillar-card__icon {
  width: 48px;
  height: 48px;
  background: var(--teal-glow);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pillar-card__icon svg { width: 24px; height: 24px; color: var(--teal); }

.pillar-card__body { padding: 20px 28px 24px; flex: 1; }
.pillar-card__body h3 { font-size: 1.3rem; margin-bottom: 12px; }
.pillar-card__body p { font-size: 0.95rem; line-height: 1.7; }

.pillar-card__image {
  padding: 0 20px 20px;
}

.pillar-card__image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.pillar-card:hover .pillar-card__image img {
  transform: scale(1.03);
}

/* CTA Banner */
.cta-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 20px;
  margin-top: 48px;
}

.cta-banner__avatar {
  width: 40px;
  height: 40px;
  background: var(--teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-banner__avatar svg { width: 20px; height: 20px; color: var(--white); }

.cta-banner p {
  font-size: 1rem;
  color: var(--text-secondary);
}

.cta-banner a {
  color: var(--teal);
  font-weight: 600;
}

.cta-banner a:hover { text-decoration: underline; }

/* ===== WHY CHOOSE US / ECOSYSTEM SECTION ===== */
.ecosystem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.ecosystem__text h2 { margin-bottom: 20px; }
.ecosystem__text > p { margin-bottom: 32px; }

.ecosystem__feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  margin-bottom: 16px;
  border: 1px solid var(--gray-100);
  transition: var(--transition);
}

.ecosystem__feature:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--teal);
}

.ecosystem__feature-icon {
  width: 52px;
  height: 52px;
  background: var(--teal-glow);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ecosystem__feature-icon svg { width: 26px; height: 26px; color: var(--teal); }

.ecosystem__feature h4 { margin-bottom: 6px; }
.ecosystem__feature p { font-size: 0.9rem; }

.ecosystem__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}

.stat-box {
  padding: 20px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
}

.stat-box__number {
  font-family: 'Outfit', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--teal);
}

.stat-box__label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

.ecosystem__images {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  grid-template-rows: auto auto;
  gap: 16px;
}

.ecosystem__img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.ecosystem__img img { width: 100%; height: 100%; object-fit: cover; }
.ecosystem__img--main { grid-row: span 2; }

.ecosystem__img--stat {
  background: var(--navy);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: var(--radius-lg);
}

/* ===== JOURNEY / PROCESS SECTION ===== */
.journey {
  position: relative;
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-light) 100%);
  overflow: hidden;
}

.journey__bg {
  position: absolute;
  inset: 0;
  opacity: 0.1;
}

.journey__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.journey__content {
  position: relative;
  z-index: 2;
}

.journey-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 64px;
}

.journey-step {
  padding: 32px 24px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(8px);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.journey-step::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), transparent);
  opacity: 0;
  transition: var(--transition);
}

.journey-step:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-4px);
  border-color: rgba(0, 191, 166, 0.3);
}

.journey-step:hover::before { opacity: 1; }

.journey-step__icon {
  width: 56px;
  height: 56px;
  background: rgba(0, 191, 166, 0.12);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.journey-step__icon svg { width: 28px; height: 28px; color: var(--teal); }

.journey-step h4 {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.journey-step p {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Stats row */
.journey-stats {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 24px;
  align-items: center;
  padding: 40px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.journey-stats__text h3 {
  color: var(--white);
  font-size: 1.3rem;
  line-height: 1.4;
}

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

.journey-stat__number {
  font-family: 'Outfit', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--white);
}

.journey-stat__label {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  margin-top: 4px;
}

/* ===== DETAIL SECTIONS (Academy, Planning, Platform) ===== */
.detail-section { scroll-margin-top: 80px; }

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.detail-grid--reverse { direction: rtl; }
.detail-grid--reverse > * { direction: ltr; }

.detail__content { }
.detail__content .eyebrow { margin-bottom: 16px; }

.detail__content h2 {
  margin-bottom: 8px;
}

.detail__subtitle {
  font-size: 1.15rem;
  font-style: italic;
  color: var(--teal);
  font-weight: 500;
  margin-bottom: 24px;
}

.detail__content > p { margin-bottom: 16px; }

.detail__who {
  padding: 20px 24px;
  background: var(--teal-glow);
  border-left: 4px solid var(--teal);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 24px 0;
}

.detail__who h4 { color: var(--teal-dark); margin-bottom: 6px; }
.detail__who p { font-size: 0.95rem; }

.detail__list {
  margin: 24px 0;
}

.detail__list h4 { margin-bottom: 16px; }

.detail__list-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-100);
}

.detail__list-item:last-child { border-bottom: none; }

.detail__list-check {
  width: 22px;
  height: 22px;
  background: var(--teal-glow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.detail__list-check svg { width: 12px; height: 12px; color: var(--teal); }

.detail__list-item p {
  font-size: 0.95rem;
  color: var(--text-primary);
}

.detail__list-item strong { font-weight: 600; }
.detail__list-item span { color: var(--text-secondary); }

/* How it works (numbered steps) */
.detail__steps {
  margin: 24px 0;
}

.detail__steps h4 { margin-bottom: 16px; }

.detail__step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
}

.detail__step-number {
  width: 36px;
  height: 36px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.detail__step p { font-size: 0.95rem; color: var(--text-primary); }

/* Why this matters */
.detail__evidence {
  margin: 32px 0;
  padding: 24px;
  background: var(--off-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-100);
}

.detail__evidence h4 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--navy);
}

.detail__evidence h4 svg { width: 20px; height: 20px; color: var(--teal); }

.detail__evidence p {
  font-size: 0.9rem;
  line-height: 1.8;
}

.detail__evidence .source {
  display: block;
  margin-top: 12px;
  font-size: 0.8rem;
  color: var(--gray-400);
  font-style: italic;
}

/* Detail CTA */
.detail__cta {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: var(--radius-lg);
  margin-top: 32px;
}

.detail__cta-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.detail__cta-icon svg { width: 22px; height: 22px; color: var(--white); }

.detail__cta h4 { color: var(--white); margin-bottom: 4px; }
.detail__cta p { color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.detail__cta a { color: var(--teal-light); font-weight: 600; }
.detail__cta a:hover { text-decoration: underline; }

/* Detail imagery */
.detail__media {
  position: sticky;
  top: 100px;
}

.detail__media-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.detail__media-main img {
  width: 100%;
  height: auto;
}

/* ===== IMPACT / DARK STATS SECTION ===== */
.impact {
  background: linear-gradient(180deg, var(--navy) 0%, #0D2440 100%);
}

.impact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 20px;
}

.impact-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
}

.impact-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(0, 191, 166, 0.2);
  transform: translateY(-2px);
}

.impact-card--large {
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
}

.impact-card--large img {
  width: 100%;
  height: 55%;
  object-fit: cover;
}

.impact-card--large .impact-card__body {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.impact-card__icon {
  width: 48px;
  height: 48px;
  background: rgba(0, 191, 166, 0.12);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.impact-card__icon svg { width: 24px; height: 24px; color: var(--teal); }

.impact-card__stat {
  display: flex;
  align-items: center;
  gap: 16px;
}

.impact-card__number {
  font-family: 'Outfit', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--white);
}

.impact-card__label {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  line-height: 1.4;
}

/* Explore More spinner */
.explore-spinner {
  width: 100px;
  height: 100px;
  position: relative;
  margin: 20px auto 0;
}

.explore-spinner__circle {
  animation: spin 12s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.explore-spinner__arrow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  background: var(--teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.explore-spinner__arrow svg { width: 18px; height: 18px; color: var(--white); }

/* ===== REFERENCES SECTION ===== */
.references {
  border-top: 1px solid var(--gray-100);
}

.references h3 { margin-bottom: 24px; }

.ref-list { }

.ref-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-100);
}

.ref-item:last-child { border-bottom: none; }

.ref-bullet {
  width: 8px;
  height: 8px;
  background: var(--teal);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 8px;
}

.ref-item p {
  font-size: 0.9rem;
  line-height: 1.7;
}

.ref-item a {
  color: var(--teal);
  word-break: break-all;
}

.ref-item a:hover { text-decoration: underline; }

.ref-note {
  margin-top: 24px;
  padding: 20px;
  background: rgba(0, 191, 166, 0.06);
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 191, 166, 0.15);
}

.ref-note p {
  font-size: 0.85rem;
  font-style: italic;
  color: var(--gray-600);
}

/* ===== FOUNDERS SECTION ===== */
.founders {
  background: var(--off-white);
  padding: 100px 0;
}

.founder-card {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
  align-items: center;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-md);
  margin-bottom: 48px;
  border: 1px solid var(--gray-100);
}

.founder-card:last-child {
  margin-bottom: 0;
}

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

.founder-card__image-container {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 1/1;
}

.founder-card__image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

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

.founder-card__content h3 {
  font-size: 2rem;
  color: var(--navy);
  margin-bottom: 8px;
}

.founder-card__role {
  display: inline-block;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}

.founder-card__content p {
  margin-bottom: 20px;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.founder-card__content p:last-child {
  margin-bottom: 0;
}

@media (max-width: 992px) {
  .founder-card,
  .founder-card--reverse {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 32px;
  }
  
  .founder-card--reverse .founder-card__image-container {
    order: -1;
  }
  
  .founder-card__image-container {
    max-width: 400px;
    margin: 0 auto;
  }
}

/* ===== FOOTER ===== */
.footer {
  background: var(--navy);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer__brand { }

.footer__brand .logo { margin-bottom: 20px; }

.footer__brand p {
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  line-height: 1.8;
  max-width: 320px;
}

.footer__col h5 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer__link {
  display: block;
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  padding: 6px 0;
  transition: var(--transition-fast);
}

.footer__link:hover {
  color: var(--teal-light);
  transform: translateX(4px);
}

.footer__contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
}

.footer__contact-icon {
  width: 32px;
  height: 32px;
  background: rgba(0, 191, 166, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.footer__contact-icon svg { width: 14px; height: 14px; color: var(--teal); }

.footer__contact-item span {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
}

.footer__bottom p {
  color: rgba(255,255,255,0.35);
  font-size: 0.85rem;
}

.footer__bottom a {
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
}

.footer__bottom a:hover { color: var(--teal-light); }

/* ===== SCROLL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }
.reveal--delay-4 { transition-delay: 0.4s; }

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  box-shadow: 0 4px 20px rgba(0, 191, 166, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 999;
}

.back-to-top--visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 28px rgba(0, 191, 166, 0.5);
}

.back-to-top svg { width: 20px; height: 20px; color: var(--white); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .pillars-grid { grid-template-columns: 1fr; gap: 24px; }
  .about-grid { grid-template-columns: 1fr; }
  .detail-grid, .detail-grid--reverse { grid-template-columns: 1fr; direction: ltr; }
  .detail__media { position: static; order: -1; }
  .ecosystem-grid { grid-template-columns: 1fr; }
  .ecosystem__images { order: -1; }
  .impact-grid { grid-template-columns: 1fr 1fr; }
  .impact-card--large { grid-row: auto; }
  .journey-steps { grid-template-columns: repeat(2, 1fr); }
  .journey-stats { grid-template-columns: 1fr; gap: 16px; text-align: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav { display: none; }
  .header__phone { display: none; }
  .mobile-toggle { display: block; }

  .hero__content { padding: 100px 0 60px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  .section { padding: 64px 0; }

  .about__cards { grid-template-columns: 1fr; }
  .about-card--image { grid-row: auto; }

  .pillars-grid { grid-template-columns: 1fr; }
  .journey-steps { grid-template-columns: 1fr; }
  .impact-grid { grid-template-columns: 1fr; }
  .ecosystem__images { grid-template-columns: 1fr; }
  .ecosystem__stats { grid-template-columns: 1fr 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; gap: 12px; text-align: center; }

  .hero__actions { flex-direction: column; }
  .hero__contact { flex-direction: row; }

  .detail__cta { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero__content { padding: 90px 0 48px; }
  .hero__body { font-size: 1rem; }
  .btn { padding: 12px 24px; font-size: 0.9rem; }
  .ecosystem__stats { grid-template-columns: 1fr; }
}

/* ===== 2026-10 CONTENT UPDATE: journey (5 steps), detail blocks, assure grid ===== */
.journey-steps--5 { grid-template-columns: repeat(5, 1fr); }

.detail__block { margin: 28px 0; }
.detail__block h4 { margin-bottom: 10px; }
.detail__block p { font-size: 0.95rem; margin-bottom: 12px; }
.detail__block p:last-child { margin-bottom: 0; }

.detail__list--boxed {
  padding: 20px 24px 8px;
  background: var(--teal-glow);
  border-left: 4px solid var(--teal);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.detail__list--boxed h4 { color: var(--teal-dark); margin-bottom: 8px; }
.detail__list--boxed .detail__list-item { border-bottom-color: rgba(0, 191, 166, 0.18); }
.detail__list--boxed .detail__list-check { background: var(--white); }

.detail__smallnote {
  font-size: 0.8rem;
  color: var(--gray-400);
  font-style: italic;
  margin-top: -8px;
}

.assure { margin: 32px 0; }
.assure > h4 { margin-bottom: 16px; }
.assure__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.assure__col {
  padding: 20px 20px 8px;
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-100);
  background: var(--white);
}
.assure__col h5 {
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.assure__col--yes { border-top: 3px solid var(--teal); }
.assure__col--yes h5 { color: var(--teal-dark); }
.assure__col--no { border-top: 3px solid #D9534F; }
.assure__col--no h5 { color: #C0392B; }
.assure__col .detail__list-item p { font-size: 0.9rem; }
.detail__list-check--no { background: rgba(217, 83, 79, 0.12); }
.detail__list-check--no svg { color: #D9534F; }

/* ===== BEFORE / AFTER PLANNING GALLERY ===== */
.ba { margin-top: 72px; }
.ba__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.ba__header h3 { margin: 12px 0 8px; }
.ba__header p { color: var(--text-secondary); max-width: 620px; font-size: 0.95rem; }
.ba__controls { display: flex; align-items: center; gap: 12px; }
.ba__btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--gray-200);
  background: var(--white);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}
.ba__btn svg { width: 18px; height: 18px; }
.ba__btn:hover:not(:disabled) { background: var(--navy); color: var(--white); border-color: var(--navy); }
.ba__btn:disabled { opacity: 0.35; cursor: default; }
.ba__btn:focus-visible, .ba__track:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.ba__count {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  min-width: 56px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.ba__track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  background: #717274;
}
.ba__track::-webkit-scrollbar { display: none; }
.ba__slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}
.ba__fig { position: relative; margin: 0; background: #717274; }
.ba__fig img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; }
.ba__tag {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(11, 31, 63, 0.85);
}
.ba__tag--after { background: var(--teal-dark); }
.ba__note { margin-top: 14px; font-size: 0.78rem; color: var(--gray-400); line-height: 1.6; }

@media (max-width: 1200px) {
  .journey-steps--5 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1024px) {
  .journey-steps--5 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .journey-steps--5 { grid-template-columns: 1fr; }
  .assure__grid { grid-template-columns: 1fr; }
  .ba { margin-top: 48px; }
  .ba__tag { top: 10px; font-size: 0.65rem; padding: 4px 10px; }
}
@media (max-width: 560px) {
  .ba__slide { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .ba__track { scroll-behavior: auto; }
}

/* ===== LOGO: responsive ===== */
@media (max-width: 1200px) {
  .header .logo__tagline { display: none; }
}
@media (max-width: 480px) {
  .logo { gap: 10px; }
  .logo__icon { height: 36px; }
  .logo__name { font-size: 1.25rem; }
}
@media (max-width: 560px) {
  .header__cta .btn { padding: 10px 14px; font-size: 0.8rem; white-space: nowrap; }
  .header__cta .btn .arrow { display: none; }
}
@media (max-width: 400px) {
  .logo__icon { height: 30px; }
  .logo__name { font-size: 1.1rem; }
  .header__cta .btn { padding: 8px 12px; }
}

/* ===== ABOUT & CONTACT ===== */
.detail__source {
  display: block;
  margin-top: 4px;
  font-size: 0.8rem;
  color: var(--gray-400);
  font-style: italic;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.contact-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.contact-card__photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center top;
}
.contact-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.contact-card__body h4 { font-size: 1.2rem; }
.contact-card__role { font-size: 0.85rem; color: var(--teal-dark); font-weight: 600; margin-bottom: 6px; }
.contact-card__line {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-primary);
  overflow-wrap: anywhere;
}
.contact-card__line svg { width: 18px; height: 18px; color: var(--teal); flex-shrink: 0; }
a.contact-card__line:hover { color: var(--teal-dark); }
.contact-card--general { background: var(--navy); border-color: var(--navy); }
.contact-card--general .contact-card__body { justify-content: center; padding: 32px; }
.contact-card--general h4, .contact-card--general .contact-card__line { color: var(--white); }
.contact-card--general .contact-card__role { color: var(--teal-light); }
.contact-card__btn { margin-top: 14px; align-self: flex-start; }

@media (max-width: 1024px) {
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-card--general { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* ===== BEFORE / AFTER: actions + case details dialog ===== */
.ba__actions { display: flex; justify-content: center; margin-top: 24px; }

.ba-modal {
  width: min(1040px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  margin: auto;
  padding: 0;
  border: none;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  color: var(--text-primary);
  background: var(--white);
  overflow: hidden;
}
.ba-modal[open] { display: flex; flex-direction: column; }
.ba-modal::backdrop { background: rgba(11, 31, 63, 0.7); }
.ba-modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 28px 18px;
  border-bottom: 1px solid var(--gray-100);
}
.ba-modal__head h3 { font-size: 1.35rem; margin-bottom: 4px; }
.ba-modal__head p { font-size: 0.9rem; color: var(--text-secondary); }
.ba-modal__close {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--gray-200);
  background: var(--white);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}
.ba-modal__close svg { width: 16px; height: 16px; }
.ba-modal__close:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.ba-modal__close:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.ba-modal__body { overflow-y: auto; padding: 8px 28px; flex: 1; min-height: 0; }
.ba-modal__foot {
  padding: 12px 28px;
  border-top: 1px solid var(--gray-100);
  font-size: 0.75rem;
  color: var(--gray-400);
}

.ba-case { padding: 24px 0; border-bottom: 1px solid var(--gray-100); scroll-margin-top: 8px; }
.ba-case:last-child { border-bottom: none; }
.ba-case__head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.ba-case__head h4 { font-size: 1.05rem; }
.ba-case__num {
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: var(--navy);
  color: var(--white);
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.ba-case__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ba-case__fig { margin: 0; border-radius: var(--radius-md); overflow: hidden; background: #717274; }
.ba-case__fig img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; }
.ba-case__cap {
  display: block;
  padding: 8px 12px;
  text-align: center;
  font-family: 'Outfit', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--navy);
}
.ba-case__cap--after { background: var(--teal-dark); }
.ba-case__facts { margin-top: 14px; display: grid; gap: 6px; }
.ba-case__facts > div { display: grid; grid-template-columns: 150px 1fr; gap: 12px; font-size: 0.9rem; }
.ba-case__facts dt { color: var(--text-secondary); }
.ba-case__facts dd { color: var(--text-primary); }

@media (max-width: 640px) {
  .ba-modal__head { padding: 18px 18px 14px; }
  .ba-modal__body { padding: 4px 18px; }
  .ba-modal__foot { padding: 10px 18px; }
  .ba-case__facts > div { grid-template-columns: 1fr; gap: 0; }
  .ba-case__facts dt { font-size: 0.78rem; }
}
@media (max-width: 480px) {
  .ba-case__pair { grid-template-columns: 1fr; }
}

/* ===== HEADER: laptop widths (logo + nav + CTA must not collide) ===== */
.header__cta .btn, .header__phone { white-space: nowrap; }
@media (max-width: 1280px) {
  .header__phone { display: none; }
}
@media (max-width: 1100px) {
  .nav__link { padding: 8px 12px; }
  .logo__name { font-size: 1.4rem; }
}

/* ===== REGISTER NOW: header button + slide-over form ===== */
.header__call { border-color: rgba(255,255,255,0.35); color: var(--white); }
.header__call:hover { background: rgba(255,255,255,0.1); }
@media (max-width: 1100px) {
  .header__call { display: none; }
}

.reg {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(560px, 100vw);
  height: 100dvh;
  max-height: 100dvh;
  margin: 0;
  padding: 0;
  border: none;
  background: var(--white);
  color: var(--text-primary);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}
.reg[open] { display: flex; flex-direction: column; animation: reg-in 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
.reg::backdrop { background: rgba(11, 31, 63, 0.65); }
@keyframes reg-in { from { transform: translateX(100%); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .reg[open] { animation: none; } }

.reg__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 28px 20px;
  background: var(--navy);
  color: var(--white);
}
.reg__head h3 { color: var(--white); font-size: 1.4rem; margin: 6px 0; }
.reg__head p { color: rgba(255,255,255,0.75); font-size: 0.9rem; }
.reg__eyebrow {
  font-family: 'Outfit', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-light);
}
.reg__head .ba-modal__close { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.35); }
.reg__head .ba-modal__close:hover { background: var(--white); color: var(--navy); }

.reg__form { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.reg__body { flex: 1; min-height: 0; overflow-y: auto; padding: 24px 28px; display: grid; gap: 16px; align-content: start; }
.reg__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.reg__field { display: grid; gap: 6px; min-width: 0; border: 0; padding: 0; margin: 0; }
.reg__field > label, .reg__checks legend { font-size: 0.85rem; font-weight: 600; color: var(--navy); }
.reg__field input[type="text"], .reg__field input[type="tel"], .reg__field input[type="email"], .reg__field select {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--text-primary);
  font: inherit;
  font-size: 0.95rem;
}
.reg__field input:focus-visible, .reg__field select:focus-visible { outline: 2px solid var(--teal); outline-offset: 1px; border-color: var(--teal); }
.reg__field [aria-invalid="true"] { border-color: #D9534F; }
.reg__msg { font-size: 0.8rem; color: #C0392B; min-height: 0; }
.reg__msg:empty { display: none; }
.reg__checks { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.reg__checks legend { margin-bottom: 8px; padding: 0; }
.reg__checks label, .reg__consent label { display: flex; align-items: flex-start; gap: 8px; font-size: 0.9rem; font-weight: 400; cursor: pointer; }
.reg__checks input, .reg__consent input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--teal-dark); flex-shrink: 0; }
.reg__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.reg__error {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: rgba(217, 83, 79, 0.1);
  color: #A93226;
  font-size: 0.9rem;
}
.reg__foot { padding: 16px 28px 20px; border-top: 1px solid var(--gray-100); display: grid; gap: 10px; }
.reg__foot .btn { justify-content: center; width: 100%; }
.reg__foot .btn:disabled { opacity: 0.6; cursor: progress; }
.reg__foot p { font-size: 0.75rem; color: var(--gray-400); line-height: 1.5; }

.reg__done { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 12px; padding: 40px 28px; }
.reg__done[hidden], .reg__form[hidden] { display: none; }
.reg__done h3:focus { outline: none; }
.reg__done-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--teal-glow);
  color: var(--teal-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}
.reg__done-icon svg { width: 30px; height: 30px; }
.reg__done p { color: var(--text-secondary); max-width: 320px; }

@media (max-width: 560px) {
  .reg__head { padding: 18px 18px 16px; }
  .reg__body { padding: 18px; }
  .reg__foot { padding: 14px 18px 18px; }
  .reg__row { grid-template-columns: 1fr; }
  .header__register { padding: 10px 14px; font-size: 0.8rem; }
}
.reg { max-width: 100vw; }
.reg [hidden] { display: none !important; }
@media (max-width: 480px) {
  .header__inner { gap: 10px; }
  .header__register { padding: 9px 12px; font-size: 0.78rem; }
  .logo__name { font-size: 1.1rem; }
  .logo__icon { height: 30px; }
}

/* ===== "A partner at every step": image collage beside the text ===== */
#ecosystem .ecosystem-grid { align-items: stretch; }
.eco-collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1.35fr 1fr 1fr;
  gap: 16px;
  height: 100%;
  min-height: 560px;
}
.eco-collage__item {
  position: relative;
  margin: 0;
  min-height: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--gray-100);
}
.eco-collage__item--wide { grid-column: 1 / -1; }
.eco-collage__item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}
.eco-collage__item:hover img { transform: scale(1.04); }
.eco-collage__item figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(11, 31, 63, 0.85);
  color: var(--white);
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
@media (max-width: 1024px) {
  .eco-collage { order: -1; height: auto; min-height: 0; grid-template-rows: none; grid-auto-rows: auto; }
  .eco-collage__item { aspect-ratio: 4 / 3; }
  .eco-collage__item--wide { aspect-ratio: 16 / 9; }
}
@media (prefers-reduced-motion: reduce) {
  .eco-collage__item img { transition: none; }
}
.journey-steps--5 { margin-bottom: 0; }
[data-register-open][hidden] { display: none; }
/* Call Now is the only header button while registration is hidden, so keep it visible */
.header__register[hidden] + .header__call { display: inline-flex; }

/* ===== Detail section without a side image: content spans the full width ===== */
.detail-grid--full { grid-template-columns: 1fr; }
.detail-grid--full .detail__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 56px;
  align-items: start;
}
.detail-grid--full .detail__content > * { margin: 0; min-width: 0; }
.detail-grid--full .detail__content > .eyebrow,
.detail-grid--full .detail__content > h2,
.detail-grid--full .detail__content > .detail__subtitle,
.detail-grid--full .detail__content > p,
.detail-grid--full .detail__content > .assure,
.detail-grid--full .detail__content > .detail__evidence,
.detail-grid--full .detail__content > .detail__cta { grid-column: 1 / -1; }
.detail-grid--full .detail__content > .eyebrow { justify-self: start; }
.detail-grid--full .detail__content > h2 { margin-top: -12px; }
.detail-grid--full .detail__content > .detail__subtitle { margin-top: -16px; }
.detail-grid--full .detail__content > p { max-width: 900px; margin-top: -8px; }
@media (max-width: 900px) {
  .detail-grid--full .detail__content { grid-template-columns: 1fr; gap: 28px; }
}

/* ===== Detail section with a narrower image column (35% instead of 50%) ===== */
.detail-grid--text-wide { grid-template-columns: 1.86fr 1fr; gap: 56px; }
/* One tall image that always fits the viewport while it stays pinned */
.detail__media--tall {
  height: calc(100vh - 132px);
  max-height: 760px;
  min-height: 420px;
}
.detail__media--tall figure {
  height: 100%;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.detail__media--tall img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
@media (max-width: 1024px) {
  .detail-grid--text-wide { grid-template-columns: 1fr; }
  .detail__media--tall { height: auto; max-height: none; min-height: 0; }
  .detail__media--tall figure { height: auto; aspect-ratio: 16 / 10; }
  .detail__media--tall img { object-position: center; }
}

/* Leadership flows straight into About & Contact: no double section padding between them */
#founders { padding-bottom: 0; }
#founders .founder-card:last-child { margin-bottom: 0; }
#about-us { padding-top: 72px; }

/* Gallery pause / play */
.ba__btn--pause .ba__icon-play, .ba__btn--pause.is-paused .ba__icon-pause { display: none; }
.ba__btn--pause.is-paused .ba__icon-play { display: block; }
