/* ==========================================================================
   INNER PAGES - Shared Design System
   Tabbed page layout, hero sections, content blocks, CTA banner
   ========================================================================== */

/* Prevent layout shift from scrollbar on inner pages only */
.site-main {
  scrollbar-gutter: stable;
}

/* ==========================================================================
   1. PAGE HERO
   ========================================================================== */

.page-hero {
  position: relative;
  height: 740px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  padding: 232px var(--space-lg) 0;
  overflow: hidden;
}

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

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

.page-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0) 39%, rgba(0, 0, 0, 0.85) 100%),
    rgba(0, 0, 0, 0.3);
}


#journey-hero {
  justify-content: center;
  padding-top: 0;
}

#journey-hero .page-hero__bg img {
  transform: none;
}

#journey-hero .page-hero__overlay {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0) 39%, rgba(0, 0, 0, 1) 100%),
    rgba(0, 0, 0, 0.3);
}

#journey-hero .page-hero__subtitle {
  max-width: 1086px;
}

.page-hero__content {
  position: relative;
  z-index: 2;
  max-width: 768px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.page-hero__title {
  font-family: var(--font-heading);
  font-size: 80px;
  font-weight: 300;
  color: var(--color-white);
  line-height: 1.1em;
  letter-spacing: -0.02em;
}

.page-hero__subtitle {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  color: #FFFFFF;
  line-height: 1.4em;
  letter-spacing: 0.01em;
  text-align: center;
  max-width: 768px;
  margin: 0 auto;
}

#sustainability-hero {
  padding-top: 160px;
}

#sustainability-hero .page-hero__content {
  gap: 14px;
  max-width: 1086px;
}

#sustainability-hero .page-hero__subtitle {
  font-size: 17px;
  max-width: 1086px;
}

.page-hero__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 20px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 500;
  color: #FFFFFF;
  letter-spacing: 0.01em;
}

.page-hero__list li {
  position: relative;
  padding-left: 14px;
}

.page-hero__list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--color-gold, #c9a84c);
}


/* ==========================================================================
   2. TAB NAVIGATION
   ========================================================================== */

.tab-nav {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0;
  max-width: 1152px;
  margin: -90px auto 0;
  padding: 24px 0 0;
  overflow-x: auto;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  width: 100%;
  background: transparent;
}

.tab-nav::-webkit-scrollbar {
  display: none;
}

.tab-nav__item {
  position: relative;
  padding: 11px 23px;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 600;
  color: #838282;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  background: none;
  border: none;
  transition: color 0.3s ease;
  letter-spacing: 0.05em;
}

.tab-nav__item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-white);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.tab-nav__item:hover {
  color: rgba(255, 255, 255, 0.8);
}

.tab-nav__item.is-active {
  color: var(--color-white);
  font-weight: 700;
}

.tab-nav__item.is-active::after {
  opacity: 1;
}


/* ==========================================================================
   3. TAB CONTENT PANELS
   ========================================================================== */

.tab-panels {
  background: #050505;
  margin-top: 90px;
}

.tab-panel {
  display: none;
  padding: 0;
  opacity: 0;
  animation: tabFadeIn 0.4s ease forwards;
}

.tab-panel.is-active {
  display: block;
}

@keyframes tabFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* ==========================================================================
   4. CONTENT BLOCKS
   ========================================================================== */

/* --- Container --- */
.inner-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* --- Content Block: Text + Image side by side --- */
.content-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: start;
  margin-bottom: var(--space-3xl);
}

.content-block--reverse {
  direction: rtl;
}

.content-block--reverse > * {
  direction: ltr;
}

.content-block__text {
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 300;
  line-height: 1.8em;
  letter-spacing: 0.01em;
}

.content-block__text h2 {
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 48px;
  line-height: 1.5em;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
}

.content-block__text h3 {
  color: var(--color-white);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 40px;
  line-height: 1.5em;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
}

.content-block__text p {
  margin-bottom: var(--space-sm);
}

.content-block__text ul {
  list-style: none;
  padding: 0;
  margin: var(--space-sm) 0;
}

.content-block__text ul li {
  position: relative;
  padding-left: 1.5em;
  margin-bottom: var(--space-2xs);
}

.content-block__text ul li::before {
  content: '\2022';
  position: absolute;
  left: 0;
  color: var(--color-accent);
}

.content-block__image {
  border-radius: 8px;
  overflow: hidden;
}

.content-block__image img {
  width: 100%;
  display: block;
  border-radius: 8px;
}


/* --- Section Title (standalone) --- */
.section-title {
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: var(--fs-h2);
  font-weight: var(--fw-semibold);
  margin-bottom: var(--space-lg);
}

.section-title--center {
  text-align: center;
}

.section-title--light {
  font-family: 'Baloo Bhaijaan 2', 'Inter', sans-serif;
  font-size: 40px;
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.5em;
  margin-bottom: 32px;
}

.section-title--light + .feature-grid {
  margin-top: 0;
  gap: 32px;
}

.feature-grid--white-checks .feature-grid__title .checkmark {
  color: #FFFFFF;
}


/* ==========================================================================
   5. QUOTE CARD
   ========================================================================== */

.quote-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: var(--space-xl) var(--space-2xl);
  margin: var(--space-3xl) auto;
  max-width: 900px;
  text-align: center;
}

.quote-card__text {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.2vw + 0.5rem, 1.25rem);
  font-style: italic;
  font-weight: var(--fw-regular);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
}


/* ==========================================================================
   6. FEATURE GRID (3-column with checkmarks)
   ========================================================================== */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  margin: var(--space-2xl) 0;
}

.feature-grid__item {
  padding: var(--space-sm) 0;
}

.feature-grid__title {
  display: flex;
  align-items: center;
  gap: var(--space-2xs);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: var(--fs-h4);
  font-weight: var(--fw-semibold);
  margin-bottom: var(--space-xs);
}

.feature-grid__title .checkmark {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--color-accent);
}

.feature-grid__desc {
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--fs-caption);
  line-height: var(--lh-body);
}


/* ==========================================================================
   7. STATS SECTION
   ========================================================================== */

.stats-section {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: var(--space-xl) var(--space-2xl);
  margin: var(--space-2xl) auto;
  max-width: 900px;
  text-align: center;
}

.stats-section__title {
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: var(--fs-h3);
  font-weight: var(--fw-semibold);
  margin-bottom: var(--space-xl);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.stats-grid__item {
  text-align: center;
}

.stats-grid__number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3vw + 0.5rem, 3rem);
  font-weight: var(--fw-bold);
  color: var(--color-white);
  line-height: 1;
  margin-bottom: var(--space-2xs);
}

.stats-grid__label {
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: var(--ls-caps);
}


/* ==========================================================================
   8. INFO CARDS (bordered grid items)
   ========================================================================== */

.info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-md);
  margin: var(--space-2xl) 0;
}

.info-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: var(--space-lg);
}

.info-card__icon {
  width: 32px;
  height: 32px;
  color: var(--color-white);
  margin-bottom: var(--space-sm);
}

.info-card__title {
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: var(--fs-h4);
  font-weight: var(--fw-semibold);
  margin-bottom: var(--space-2xs);
}

.info-card__text {
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--fs-caption);
  line-height: var(--lh-body);
}


/* ==========================================================================
   9. ORG CHART / HIERARCHY
   ========================================================================== */

.org-chart {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 48px;
  margin: var(--space-2xl) 0;
}

.org-chart__title {
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: var(--fs-h3);
  font-weight: 300;
  text-align: center;
  margin-bottom: 40px;
}

.org-chart__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.org-chart__role {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 24px;
}

.org-chart__role--full {
  grid-column: 1 / -1;
}

.org-chart__role--full:first-child {
  text-align: center;
}

.org-chart__role-title {
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 400;
}

.org-chart__subroles {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
}

.org-chart__subroles li {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.875rem;
  line-height: 1.7;
}

.org-chart__subroles li::before {
  content: '• ';
  color: rgba(255, 255, 255, 0.4);
}

.org-chart__subroles-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 40px;
  margin-top: 12px;
}


/* ==========================================================================
   9b. EXECUTIVE TEAM CARDS
   ========================================================================== */

.executive-team {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: var(--space-lg) 0 var(--space-2xl);
}

.executive-team__card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 24px;
}

.executive-team__photo {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 16px;
}

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

.executive-team__title {
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 8px;
}

.executive-team__name {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  font-weight: 400;
  margin-bottom: 4px;
}

.executive-team__experience {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.8125rem;
}

.executive-team--2col {
  grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 768px) {
  .executive-team,
  .executive-team--2col {
    grid-template-columns: 1fr;
  }
}


/* ==========================================================================
   10. CERTIFICATION BADGES
   ========================================================================== */

.cert-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 49px;
  margin: var(--space-2xl) 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.cert-card__title {
  color: var(--color-white);
  font-family: 'Baloo Bhaijaan 2', 'Inter', sans-serif;
  font-size: 40px;
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.5em;
  margin: 0;
}

.cert-badges {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 0;
}

.cert-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  border-radius: 6px;
  padding: 0;
  overflow: hidden;
  height: 114px;
}

.cert-badge img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

.cert-badge__text {
  color: var(--color-white);
  font-family: 'Baloo Bhaijaan 2', 'Inter', sans-serif;
  font-size: 40px;
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.5em;
}


/* ==========================================================================
   11. CTA BANNER
   ========================================================================== */

.cta-banner {
  position: relative;
  padding: var(--space-4xl) var(--space-lg);
  text-align: center;
  overflow: hidden;
}

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

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

.cta-banner__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.5) 50%,
    rgba(0, 0, 0, 0.7) 100%
  );
}

.cta-banner__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 37px;
}

.cta-banner__title {
  font-family: var(--font-body);
  font-size: clamp(2rem, 4vw + 0.5rem, 4rem);
  font-weight: 300;
  color: var(--color-white);
  line-height: 1.1;
  letter-spacing: -0.02em;
  max-width: 612px;
  margin: 0;
}

.cta-banner__text {
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.2vw + 0.25rem, 1.5rem);
  font-weight: 300;
  line-height: 1.8;
  letter-spacing: 0.01em;
  max-width: 650px;
  margin: 0;
}

.cta-banner__btn {
  display: inline-block;
  padding: 15px 48px;
  background: var(--color-white);
  color: var(--color-black);
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: var(--fw-regular);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: background 0.3s ease, color 0.3s ease;
  border: none;
}

.cta-banner__btn:hover {
  background: rgba(255, 255, 255, 0.85);
  color: var(--color-black);
}

.cta-banner__info {
  color: rgba(255, 255, 255, 0.6);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: 0.05em;
  margin: 0;
}


/* ==========================================================================
   12. FOOTER MATCH (Figma 3-column)
   ========================================================================== */

.site-footer--figma .footer__grid {
  grid-template-columns: 1.5fr 1fr 1fr;
}


/* ==========================================================================
   13. DARK PAGE BODY
   ========================================================================== */

.page-template-page-about .site-main,
.page-template-page-journey .site-main,
.page-template-page-safety .site-main,
.page-template-page-sustainability .site-main,
.page-template-page-beyond .site-main,
.page-template-page-contact .site-main {
  background: #050505;
  color: rgba(255, 255, 255, 0.75);
}


/* ==========================================================================
   14. HOW IT WORKS (numbered list)
   ========================================================================== */

.how-it-works {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: var(--space-xl) var(--space-2xl);
  margin: var(--space-2xl) auto;
  max-width: 800px;
}

.how-it-works__title {
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: var(--fs-h3);
  font-weight: var(--fw-semibold);
  margin-bottom: var(--space-md);
}

.how-it-works__list {
  list-style: none;
  padding: 0;
  counter-reset: steps;
}

.how-it-works__list li {
  counter-increment: steps;
  position: relative;
  padding-left: 2em;
  margin-bottom: var(--space-sm);
  color: rgba(255, 255, 255, 0.75);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}

.how-it-works__list li::before {
  content: counter(steps) '.';
  position: absolute;
  left: 0;
  color: var(--color-white);
  font-weight: var(--fw-semibold);
}


/* ==========================================================================
   15. CONTACT GRID
   ========================================================================== */

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: var(--space-xl);
  margin: var(--space-2xl) 0;
}

.contact-info-grid__title {
  grid-column: 1 / -1;
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: var(--fs-h3);
  font-weight: var(--fw-semibold);
  text-align: center;
  margin-bottom: var(--space-sm);
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
}

.contact-info-item__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: var(--color-white);
  margin-top: 2px;
}

.contact-info-item__label {
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: var(--fw-semibold);
  margin-bottom: 2px;
}

.contact-info-item__sublabel {
  color: rgba(255, 255, 255, 0.5);
  font-size: var(--fs-small);
  margin-bottom: 4px;
}

.contact-info-item__value {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--fs-body);
}

.contact-info-item__value a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s ease;
}

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


/* ==========================================================================
   16. SERVICE GRID (6-item with checkmarks)
   ========================================================================== */

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin: var(--space-2xl) 0;
}

.service-grid__item {
  padding: var(--space-sm) 0;
}

.service-grid__title {
  display: flex;
  align-items: center;
  gap: var(--space-2xs);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: var(--fw-semibold);
  margin-bottom: var(--space-xs);
}

.service-grid__title .checkmark {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  color: var(--color-accent);
}

.service-grid__desc {
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--fs-caption);
  line-height: var(--lh-body);
}


/* ==========================================================================
   17. PARTNERS ROW
   ========================================================================== */

.partners-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xl);
  flex-wrap: wrap;
  margin: var(--space-xl) 0;
}

.partners-row__item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 100px;
}

.partners-row__item img {
  max-height: 48px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.partners-row__item img:hover {
  opacity: 1;
}


/* ==========================================================================
   18. MAP SECTION
   ========================================================================== */

.map-section {
  margin: var(--space-2xl) 0;
  text-align: center;
}

.map-section__title {
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: var(--fs-h3);
  font-weight: var(--fw-semibold);
  text-align: center;
  margin-bottom: var(--space-xs);
}

.map-section__subtitle {
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--fs-body);
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--space-lg);
}

.map-section__embed {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.map-section__embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}


/* ==========================================================================
   19. CONTACT INFORMATION CARD (Figma match)
   ========================================================================== */

.contact-info-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 48px;
  margin: var(--space-2xl) 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.contact-info-card__title {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: 2rem;
  color: var(--color-white);
  text-align: center;
  margin: 0;
}

.contact-info-card__items {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 48px;
  width: 100%;
}

.contact-info-card__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.contact-info-card__header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.contact-info-card__icon {
  width: 20px;
  height: 20px;
  color: rgba(255, 255, 255, 0.7);
  flex-shrink: 0;
}

.contact-info-card__label {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-white);
  letter-spacing: 0.05em;
}

.contact-info-card__value {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
}

.contact-info-card__value a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
}

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


/* ==========================================================================
   20. NEWS GRID
   ========================================================================== */

.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  margin: var(--space-2xl) 0;
}

.news-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: var(--space-lg);
}

.news-card__date {
  font-size: var(--fs-small);
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: var(--ls-caps);
  margin-bottom: var(--space-xs);
}

.news-card__title {
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: var(--fs-h4);
  font-weight: var(--fw-semibold);
  margin-bottom: var(--space-xs);
}

.news-card__excerpt {
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--fs-caption);
  line-height: var(--lh-body);
}


/* ==========================================================================
   21. QUOTE FORM
   ========================================================================== */

.quote-form-section {
  margin: var(--space-2xl) 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.quote-form-section__title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: var(--fs-h3);
  font-weight: var(--fw-semibold);
  margin-bottom: var(--space-xs);
}

.quote-form-section__subtitle {
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--fs-body);
  text-align: center;
  max-width: none;
  margin-bottom: var(--space-xl);
}

.quote-form-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 49px;
  width: 100%;
  max-width: 768px;
  margin: 0 auto;
  box-sizing: border-box;
}

.quote-form {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  background: transparent;
  box-shadow: none;
  padding: 0;
  border-radius: 0;
}

.quote-form::before {
  display: none;
}

/* Quote & Contact page — 3 separate contact cards */
.quote-contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-3xl);
}

.quote-contact-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 33px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  text-decoration: none;
  color: inherit;
}

.quote-contact-card__icon {
  width: 32px;
  height: 32px;
  color: var(--color-white);
  flex-shrink: 0;
}

.quote-contact-card__title {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 20px;
  color: var(--color-white);
  margin: 0;
}

.quote-contact-card__value {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.quote-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.quote-form__row--full {
  grid-template-columns: 1fr;
}

.quote-form__field {
  display: flex;
  flex-direction: column;
}

.quote-form__label {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--fs-caption);
  margin-bottom: var(--space-3xs);
}

.quote-form__input,
.quote-form__textarea,
.quote-form__select {
  width: 100%;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  padding: var(--space-xs) var(--space-sm);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  transition: border-color 0.2s ease;
}

.quote-form__input::placeholder,
.quote-form__textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.quote-form__input:focus,
.quote-form__textarea:focus,
.quote-form__select:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.4);
}

.quote-form__textarea {
  min-height: 120px;
  resize: vertical;
}

.quote-form__submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2xs);
  width: 100%;
  padding: var(--space-sm) var(--space-xl);
  background: var(--color-white);
  border: 1px solid var(--color-white);
  border-radius: 6px;
  color: var(--color-black);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: var(--fw-medium);
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
  margin-top: var(--space-md);
}

.quote-form__submit:hover {
  background: transparent;
  color: var(--color-white);
}


/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 1024px) {
  .content-block {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .content-block--reverse {
    direction: ltr;
  }

  .content-block__image {
    order: -1;
  }

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

  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
  }

  .tab-nav {
    justify-content: flex-start;
    padding: 24px 0 0 var(--space-sm);
  }

  .tab-nav__item {
    padding: 11px 16px;
    font-size: 14px;
  }

  .org-chart__grid {
    grid-template-columns: 1fr;
  }

  .org-chart__subroles-grid {
    grid-template-columns: 1fr;
  }

  .org-chart {
    padding: 24px;
  }
}

@media (max-width: 1024px) {
  .cosmic-heading-wrapper {
    max-width: 100% !important;
  }
}

@media (max-width: 768px) {
  :root {
    --space-3xl: 24px;
    --space-4xl: 32px;
    --space-2xl: 20px;
  }

  .page-hero {
    height: 350px !important;
    min-height: auto;
    padding: var(--space-2xl) var(--space-sm) var(--space-lg);
  }

  .page-hero__bg img {
    object-fit: cover !important;
    object-position: center;
  }

  .cta-banner {
    padding: var(--space-xl) var(--space-sm);
  }

  .page-hero__title {
    font-size: 1.75rem;
  }

  .page-hero__subtitle {
    font-size: 14px;
    line-height: 1.3;
    max-width: 90%;
  }

  /* ============================================================
     MOBILE TYPOGRAPHY — CONSISTENT HIERARCHY
     Page title:    28px (hero)
     H2 headings:   22px (all section headings)
     H3 headings:   18px (sub-section headings)
     Card titles:   16px (news cards, feature items, exec titles)
     Body text:     14px (paragraphs, descriptions)
     Small text:    13px (excerpts, captions)
     Labels/dates:  11px
     ============================================================ */

  /* H2 — ALL section headings */
  .content-block__text h2,
  .section-title,
  .section-title--center,
  .section-title--light,
  .cta-banner__title,
  .stats-section__title,
  .inner-container h2,
  .inner-container h2[style],
  h2 {
    font-size: 22px !important;
    line-height: 1.3 !important;
  }

  .section-title,
  .content-block__text h2 {
    margin-bottom: 12px !important;
  }

  /* H3 — sub-section headings */
  .content-block__text h3,
  .quote-form-section__title,
  .inner-container h3,
  .inner-container h3[style],
  h3 {
    font-size: 18px !important;
    line-height: 1.3 !important;
    margin-bottom: 10px !important;
  }

  /* H4 — card-level headings */
  h4,
  .quote-contact-card__title,
  .contact-info-item__label {
    font-size: 16px !important;
  }

  /* Card/item titles */
  .feature-grid__title,
  .news-card__title,
  .executive-team__title {
    font-size: 16px !important;
    line-height: 1.3 !important;
  }

  /* Body text — all paragraphs */
  .content-block__text p,
  .inner-container p,
  .inner-container p[style],
  .cta-banner__text,
  .quote-card__text,
  .contact-info-item__value {
    font-size: 14px !important;
    line-height: 1.6 !important;
  }

  /* Small text — excerpts, descriptions */
  .feature-grid__desc,
  .news-card__excerpt,
  .executive-team__name,
  .inner-container ul[style] {
    font-size: 13px !important;
    line-height: 1.5 !important;
  }

  /* Labels, dates, captions */
  .news-card__date,
  .cta-banner__info {
    font-size: 11px !important;
  }

  /* CTA button — scale for mobile */
  .cta-banner__btn {
    padding: 10px 32px !important;
    font-size: 14px !important;
  }

  /* Hero subtitle — consistent */
  .page-hero__subtitle,
  #sustainability-hero .page-hero__subtitle,
  #journey-hero .page-hero__subtitle {
    font-size: 13px !important;
    line-height: 1.4 !important;
  }

  /* Mobile spacing — reduce all desktop gaps */
  .content-block {
    margin-bottom: 32px !important;
    gap: 20px !important;
  }

  .feature-grid {
    margin-top: 24px !important;
    margin-bottom: 24px !important;
    gap: 16px !important;
  }

  .feature-grid__item {
    padding: 12px 0 !important;
  }

  .quote-card {
    margin-top: 32px !important;
    margin-bottom: 32px !important;
    padding: 20px !important;
  }

  .tab-panel {
    padding-top: 24px !important;
    padding-bottom: 24px !important;
  }

  .section-title {
    margin-bottom: 16px !important;
  }

  .executive-team {
    gap: 16px !important;
    margin-bottom: 24px !important;
  }

  .contact-info-card {
    margin-top: 24px !important;
    padding: 20px !important;
  }

  .contact-info-card__items {
    gap: 20px !important;
  }

  .map-section {
    margin-top: 32px !important;
  }

  .cert-card {
    margin-top: 24px !important;
    padding: 20px !important;
  }

  /* Form spacing */
  .quote-form-card {
    padding: 20px !important;
  }

  .quote-form__row {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
    margin-bottom: 12px !important;
  }

  .quote-form__field {
    margin-bottom: 8px !important;
  }

  .quote-form__label {
    margin-bottom: 4px !important;
    font-size: 12px !important;
  }

  .quote-form__input,
  .quote-form__textarea,
  .quote-form__select {
    padding: 10px 12px !important;
    font-size: 15px !important;
  }

  .quote-form__submit {
    margin-top: 12px !important;
    padding: 12px 24px !important;
    font-size: 14px !important;
  }

  .quote-form-section__subtitle {
    font-size: 13px !important;
    margin-bottom: 16px !important;
  }

  /* Gap between hero/tab nav and content */
  .tab-panels,
  div.tab-panels,
  div.tab-panels[style] {
    margin-top: 0 !important;
    padding-top: 24px !important;
  }

  .tab-nav {
    margin-bottom: 20px !important;
  }

  /* News grid bottom margin */
  .news-grid {
    margin-bottom: 24px !important;
  }

  /* Inline styled elements — override font sizes */
  .inner-container h2[style] {
    font-size: 20px !important;
    margin-bottom: 8px !important;
  }

  .inner-container p[style] {
    font-size: 15px !important;
  }

  .inner-container ul[style] {
    font-size: 14px !important;
    margin-bottom: 24px !important;
  }

  /* All grid/list items — tighten gaps globally on mobile */
  .service-grid,
  .news-grid,
  .plexus-cards {
    gap: 12px !important;
  }

  .service-grid__item,
  .plexus-card,
  .news-card {
    padding: 16px !important;
    margin-bottom: 0 !important;
  }

  .news-card__title {
    font-size: 17px !important;
    line-height: 1.3 !important;
    margin-bottom: 6px !important;
  }

  .news-card__excerpt {
    font-size: 13px !important;
    line-height: 1.5 !important;
  }

  .news-card__date {
    font-size: 10px !important;
    margin-bottom: 6px !important;
  }

  /* News page heading gap */
  .news-grid {
    margin-top: 16px !important;
  }

  /* Strategic Collaborations heading — too big */
  .news-partners-content h2,
  .inner-container > div > h2 {
    font-size: 24px !important;
  }

  /* Gap between hero and first content section */
  .page-hero + section,
  .page-hero + .tab-nav + .tab-panels,
  .page-hero + div {
    margin-top: 0 !important;
  }

  /* Content block top margin (first one after hero) */
  .tab-panel .content-block:first-child,
  .inner-container > .content-block:first-child {
    margin-top: 0 !important;
  }

  /* Reduce large section gaps globally */
  section + section {
    margin-top: 0 !important;
  }

  .inner-container > *:first-child {
    margin-top: 0 !important;
  }

  /* News page specific */
  .section-title + .news-grid {
    margin-top: 16px !important;
  }

  .cert-description {
    width: auto !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 0 16px !important;
  }

  #journey-hero .page-hero__subtitle,
  #sustainability-hero .page-hero__subtitle {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  #sustainability-hero {
    padding-top: 80px !important;
  }

  .page-hero__list {
    display: none !important;
  }

  .quote-contact-cards {
    grid-template-columns: 1fr !important;
    gap: var(--space-md);
    margin-top: var(--space-lg);
    margin-bottom: var(--space-xl);
  }

  .quote-contact-card {
    padding: 20px;
  }

  .tab-nav {
    gap: 4px;
    padding: 16px 0 0 var(--space-xs);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
  }

  .tab-nav__item {
    padding: 8px 12px;
    font-size: 12px;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .tab-panel {
    padding: var(--space-xl) 0;
  }

  .inner-container {
    padding: 0 var(--space-sm);
  }

  .feature-grid,
  .service-grid,
  .bottom-cards {
    grid-template-columns: 1fr;
  }

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

  .stats-section {
    padding: var(--space-lg);
  }

  .quote-card {
    padding: var(--space-lg);
  }

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

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

  .quote-form__row {
    grid-template-columns: 1fr;
  }

  .cert-badges {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    height: auto;
  }

  .cert-badge {
    height: 80px;
  }

  .cta-banner {
    padding: var(--space-2xl) var(--space-xs);
  }
}

@media (max-width: 480px) {
  .page-hero {
    height: 280px !important;
    padding: var(--space-xl) var(--space-xs) var(--space-md);
  }

  .page-hero__title {
    font-size: 1.375rem;
  }

  .page-hero__subtitle {
    font-size: 11px;
  }

  /* 480px hierarchy: hero 22px, h2 20px, h3 16px, card 15px, body 13px, small 12px */
  h2, .section-title, .content-block__text h2, .inner-container h2[style] {
    font-size: 20px !important;
  }

  h3, .content-block__text h3, .inner-container h3[style] {
    font-size: 16px !important;
  }

  .feature-grid__title, .news-card__title, .executive-team__title {
    font-size: 15px !important;
  }

  .content-block__text p, .inner-container p[style], .cta-banner__text, .quote-card__text {
    font-size: 13px !important;
  }

  .feature-grid__desc, .news-card__excerpt, .executive-team__name {
    font-size: 12px !important;
  }

  .feature-grid__title {
    font-size: 14px !important;
  }

  .tab-nav__item {
    font-size: 11px;
    padding: 6px 8px;
  }
}

/* Legal pages (Privacy Policy, Terms of Service) */
.legal-content,
.legal-content p,
.legal-content li,
.legal-content td,
.legal-content th,
.legal-content span,
.legal-content div {
  color: rgba(255, 255, 255, 0.8) !important;
}

.legal-content h1,
.legal-content h2,
.legal-content h3,
.legal-content h4,
.legal-content h5,
.legal-content h6 {
  color: #fff !important;
  font-family: var(--font-heading);
}

.legal-content a {
  color: var(--color-primary-light) !important;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-content a:hover {
  color: var(--color-white) !important;
}

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

.legal-content li {
  margin-bottom: 0.5em;
}
