/* ═══════════════════════════════════════════════════
       RESPONSIVE — TABLET 768–1439
    ══════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .benefits__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .logo-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ═══════════════════════════════════════════════════
       RESPONSIVE — MOBILE 0–767
    ══════════════════════════════════════════════════ */
@media (max-width: 767px) {
  .section {
    padding: 48px 0;
  }

  /* Hero */
  .hero {
    padding: 56px 0 56px;
  }
  .hero__inner {
    width: 100%;
    display: block;
  }
  .hero__visual {
    position: static;
    margin-top: 20px;
    width: 100%;
  }
  .hero__h1 {
    font-size: clamp(32px, 8vw, 48px);
  }
  .hero__actions {
    flex-direction: column;
    align-items: flex-start;
  }

  /* What / Participate */
  .what__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* Promise */
  .promise__inner {
    flex-direction: column;
    text-align: center;
  }
  .promise__text p {
    max-width: 100%;
  }

  /* Measure */
  .dimensions {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  /* Partners */
  .partners__layout {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 28px;
  }
  .logo-grid {
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
  }

  /* Stats */
  .stats__layout {
    grid-template-columns: 1fr;
  }

  /* Build */
  .build__inner {
    grid-template-columns: 1fr;
  }
  .build__visual {
    display: none;
  }

  /* Criteria */
  .criteria__inner {
    flex-direction: column;
    text-align: center;
  }
  .criteria__item {
    text-align: left;
  }

  /* Badging */
  .badging__grid {
    grid-template-columns: 1fr;
  }
  .badge-visual {
    order: -1;
  }

  /* Benefits */
  .benefits__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Footer */
  .footer__inner {
    flex-direction: column;
    gap: 20px;
  }
  .footer__divider {
    display: none;
  }
}

@media (max-width: 479px) {
  .benefits__grid {
    grid-template-columns: 1fr;
  }
  .stats__grid {
    grid-template-columns: 1fr;
  }
  .logo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE — TABLET
═══════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .process__flow {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px 20px;
  }
  .hex-grid {
    max-width: 420px;
  }
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE — MOBILE
═══════════════════════════════════════════════════════ */
@media (max-width: 767px) {
  /* Meta principles */
  .meta__top {
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: stretch;
  }
  .meta__image {
    height: 200px;
    order: -1;
  }
  .pillars {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  /* Enablers — drop honeycomb offset, stack as simple cards */
  .enablers__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hex-grid {
    max-width: 320px;
  }
  .hex-grid .hex-col {
    flex-direction: column;
  }
  .hex-grid .hex-col--offset {
    margin-top: 0;
  }
  .hex {
    clip-path: none;
    border-radius: var(--r-12);
    aspect-ratio: unset;
    flex-direction: row;
    justify-content: flex-start;
    text-align: left;
    padding: 16px 18px;
    gap: 14px;
  }
  .hex__inner {
    flex-direction: row;
    align-items: center;
    gap: 14px;
  }
  .hex__title {
    font-size: 13.5px;
  }

  /* Process flow — vertical timeline */
  .process__flow {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .process__step {
    padding-left: 20px;
    padding-bottom: 28px;
  }
  .process__step:last-child {
    padding-bottom: 0;
  }
  .process__step-title {
    min-height: 0;
  }

  /* FAQ */
  .faq-item__q {
    padding: 15px 16px;
    font-size: 13.5px;
  }
  .faq-item__a {
    padding: 0 16px 16px;
  }

  /* Footer badge */
  .footer__badge {
    width: 60px;
    height: 60px;
    font-size: 24px;
  }
}
@media (max-width: 768px) {
  .process__flow {
    flex-direction: column;
  }
  .process__step,
  .process__step.is-active {
    flex: 1 1 auto;
  }
  .process__step-title {
    max-height: 100px;
    opacity: 1;
    margin-top: 6px;
  }
}

@media only screen and (max-width: 1700px) {
}
@media only screen and (max-width: 1500px) {
  h1 {
    font-size: 40px;
  }
  .footer__contact-item h3 {
    font-size: 24px;
  }
  .container {
    max-width: 1300px;
  }
}
@media only screen and (max-width: 1300px) {
}
@media only screen and (max-width: 1199px) {
  h1 {
    font-size: 40px;
  }
  h3 {
    font-size: 36px;
  }
  .footer__inner {
    gap: 20px;
    grid-template-columns: 0.3fr 1fr 1fr 1fr;
  }
  .footer__logo-icon {
    width: 100%;
  }
  .footer__contact-item h3 {
    font-size: 20px;
  }
  .footer__contact-item a,
  .footer__contact-item P {
    font-size: 16px;
  }
  .faq-list {
    width: 80%;
  }
}
@media only screen and (max-width: 1023px) {
  .stats__layout {
    grid-template-columns: 1fr;
  }
  .badging__grid {
    grid-template-columns: 1fr;
  }
  .what__grid {
    grid-template-columns: 1fr;
  }
  .build__content {
    width: 100%;
  }
  .promise__inner {
    grid-template-columns: 0.5fr 1fr;
  }
  .promise__text {
    grid-template-columns: 0.5fr 1fr;
    height: auto;
  }
  .promise__text p {
    font-size: 16px;
  }
  .build__content {
    width: 70%;
  }
  .build__content {
    padding: 100px 0 50px 0;
  }
  .hero__content{gap:8px;}
  .hero__inner{width: 100%;display: block;}
  .hero__visual{position: static;margin-top: 50px;width: 100%;}
}

@media only screen and (max-width: 750px) {
  .footer__inner {
    grid-template-columns: 1fr;
  }
  .criteria__inner {
    grid-template-columns: 1fr;
  }
  .criteria__badge img {
    position: static;
  }
  .criteria__badge {
    align-items: center;
  }
  .partners__layout {
    grid-template-columns: 1fr;
  }
}
@media only screen and (max-width: 467px) {
  h2 {
    font-size: 32px;
  }
  .section-promise img {
    display: none;
  }
  .section-promise {
    background-color: var(--navy-dark);
  }
  .promise__inner {
    position: static;
    grid-template-columns: 1fr;
  }
  .promise__text {
    padding: 0;
    grid-template-columns: 1fr;
    gap: 5px;
    align-items: center;
  }
  .promise__badge img {
    display: flex;
    width: 150px;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
  }

  .footer__logo-icon {
    width: 30%;
  }
  .footer__contact-item {
    border-right: none;
    border-bottom: 2px solid var(--white);
  }
  .footer__contact-item {
    padding-bottom: 15px;
  }
  .faq-list {
    width: 100%;
  }
  .process__header p {
    width: auto;
  }
  .build__content {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .process__flow {
    flex-direction: column;
    gap: 12px;
  }
  .process-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .process-des {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .process__step {
    background-image: none; /* drop the desktop line decoration */
    flex: none;
    height: auto;
    padding: 0;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    overflow: visible;
  }
   .process__step.is-active .process-content{padding: 10px 16px;}
  .process-content,.process-info{padding: 10px 16px;}
  .process__step.is-active .process-info{background-color: var(--light-blue);}
  .process__step,
  .process__step.is-active {
    flex: 1 1 auto;
    flex-direction: column-reverse;
  }
  .process__step-header {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
  }

  .process__icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    margin: 0;
  }

  .process__label {
    font-size: 16px;
    width: auto;
    flex: 1;
    margin: 0;
  }

  .process__toggle {
    font-size: 20px;
    font-weight: 300;
    color: var(--text-dark);
    transition: transform 0.3s ease;
    display: block;
  }

  .process__step.is-active .process__toggle {
    transform: rotate(90deg); /* turns + into an × , common accordion pattern */
  }

  .process__num {
    display: none; /* optional: hide the 001/002 numbers on mobile to match your reference, which doesn't show them */
  }

  .process__step-title {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    margin-top: 0;
    transition:
      max-height 0.4s ease,
      opacity 0.35s ease,
      margin 0.4s ease;
  }

  .process__step.is-active .process__step-title {
    max-height: 200px;
    opacity: 1;
    margin-top: 10px;
  }
}

/* ═══ LEAN FOOTER — responsive (overrides old footer rules) ═══ */
@media only screen and (max-width: 900px) {
  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }
  .footer__powered a {
    font-size: 24px;
    width: auto;
    max-width: 100%;
  }
  .footer__logo-icon img {
    height: 80px;
  }
}
@media only screen and (max-width: 479px) {
  .footer__brand {
    gap: 16px;
  }
  .footer__powered a {
    font-size: 20px;
    max-width: 100%;
  }
}
/* Tablet — 2 columns, divider only between the pair */
@media only screen and (min-width: 768px) and (max-width: 1100px) {
  .benefit-card:nth-child(4n) { border-right: 1px solid #a0bee4; }
  .benefit-card:nth-child(2n) { border-right: none; }
}

/* Mobile — no dividers at all */
@media only screen and (max-width: 767px) {
  .benefit-card,
  .benefit-card:nth-child(4n) {
    border-right: none;
  }
}

@media only screen and (max-width: 767px) {
  .contact-page { padding: 110px 0 70px; }
  .contact-page__title { font-size: 26px; }
}