/* =========================================================
   PT MUDA JAYA MULTINIAGA
   FINAL RESPONSIVE SYSTEM
   Loaded after page styles.
   ========================================================= */

/* =========================================================
   00. GLOBAL SAFETY + ACCESSIBILITY
   ========================================================= */

html,
body {
  max-width: 100%;
  overflow-x: clip;
}

section[id],
#partnership {
  scroll-margin-top: calc(var(--header-height, 88px) + 18px);
}

img,
video,
iframe,
svg {
  max-width: 100%;
}

.site-nav__link.is-current::after {
  transform: scaleX(1);
  transform-origin: left center;
}

.is-disabled-link {
  opacity: 0.45;
  cursor: default;
  pointer-events: none;
}

:where(a, button, input, textarea, select):focus-visible {
  outline: 2px solid var(--color-gold, #a78b4f);
  outline-offset: 3px;
}

body.is-nav-open {
  overflow: hidden;
}

.site-nav-toggle,
.site-nav__mobile-cta {
  display: none;
}

/* =========================================================
   01. LARGE TABLET / SMALL LAPTOP — <= 1180px
   ========================================================= */

@media (max-width: 1180px) {
  .container {
    width: min(
      calc(100% - (var(--page-padding-tablet, 32px) * 2)),
      var(--container-max, 1200px)
    );
  }

  .site-header__inner {
    gap: 24px;
  }

  .site-header__logo {
    width: 142px;
  }

  .site-nav {
    gap: 18px;
  }

  .site-nav__link,
  .business-menu__toggle {
    font-size: 0.74rem;
  }

  .site-header__actions {
    gap: 10px;
  }

  .site-header__cta {
    padding-inline: 14px;
  }

  /* HOME */
  .home-hero__inner {
    grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
    column-gap: 40px;
  }

  .home-about__grid,
  .home-value__grid,
  .home-reach__content {
    column-gap: 60px;
  }

  .home-about__grid {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  }

  .home-value__grid {
    grid-template-columns: minmax(0, 1fr) minmax(380px, 0.9fr);
  }

  .home-services__grid {
    gap: 20px 14px;
  }

  .service-card {
    padding: 28px 26px 30px;
  }

  .home-reach__content {
    grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  }

  /* ABOUT */
  .about-intro__inner,
  .about-purpose__inner {
    gap: 72px;
  }

  .about-leadership__inner {
    grid-template-columns: 190px minmax(0, 1fr);
    column-gap: 44px;
  }
}

/* =========================================================
   02. MOBILE NAV + TABLET LAYOUT — <= 1024px
   ========================================================= */

@media (max-width: 1024px) {
  :root {
    --header-height: 76px;
  }

  .site-header {
    height: var(--header-height);
  }

  .site-header__inner {
    grid-template-columns: auto 1fr auto;
    gap: 16px;
  }

  .site-header__logo {
    width: 138px;
    position: relative;
    z-index: 2;
  }

  .site-header__actions {
    grid-column: 3;
    justify-self: end;
    position: relative;
    z-index: 2;
  }

  .site-header__cta {
    display: none;
  }

  .site-nav-toggle {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
    border: 1px solid rgba(10, 10, 10, 0.12);
    border-radius: 50%;
    background: #fff;
    color: #111;
  }

  .site-nav-toggle span {
    display: block;
    width: 17px;
    height: 1.5px;
    border-radius: 999px;
    background: currentColor;
    transform-origin: center;
    transition: transform 280ms var(--ease-standard), opacity 220ms ease;
  }

  .site-header.is-nav-open .site-nav-toggle span:first-child {
    transform: translateY(3.75px) rotate(45deg);
  }

  .site-header.is-nav-open .site-nav-toggle span:last-child {
    transform: translateY(-3.75px) rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    top: calc(var(--header-height) + 10px);
    left: 20px;
    right: 20px;
    z-index: 1050;

    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;

    max-height: calc(100svh - var(--header-height) - 30px);
    padding: 14px 18px 18px;
    overflow-y: auto;

    border: 1px solid rgba(10, 10, 10, 0.08);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.985);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.14);
    backdrop-filter: blur(18px);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-12px) scale(0.985);
    transform-origin: top center;
    transition:
      opacity 260ms var(--ease-standard),
      visibility 260ms var(--ease-standard),
      transform 260ms var(--ease-standard);
  }

  .site-header.is-nav-open .site-nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  .site-nav__link {
    width: 100%;
    min-height: 50px;
    padding: 0 4px;
    border-bottom: 1px solid rgba(10, 10, 10, 0.07);
    font-size: 0.95rem;
  }

  .site-nav__link::after {
    left: 4px;
    right: auto;
    bottom: 8px;
    width: 34px;
  }

  .business-menu {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    border-bottom: 1px solid rgba(10, 10, 10, 0.07);
  }

  .business-menu__toggle {
    width: 100%;
    min-height: 50px;
    justify-content: space-between;
    padding: 0 4px;
    font-size: 0.95rem;
  }

  .business-dropdown {
    position: static;
    display: none;
    width: 100%;
    padding: 4px 10px 12px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }

  .business-menu.is-open .business-dropdown {
    display: flex;
  }

  .business-dropdown__link,
  .business-dropdown__item {
    min-height: 40px;
    font-size: 0.82rem;
  }

  .site-nav__mobile-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 46px;
    margin-top: 16px;
    padding: 0 18px;
    border-radius: 999px;
    background: var(--color-green, #003b2f);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 500;
  }

  /* HOME — HERO */
  .home-hero,
  .home-hero__inner {
    min-height: auto;
  }

  .home-hero__inner {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    column-gap: 0;
    padding-top: 74px;
    padding-bottom: 26px;
  }

  .home-hero__content {
    align-self: start;
    max-width: 680px;
  }

  .home-hero__title {
    max-width: 650px;
    font-size: clamp(2.75rem, 6vw, 3.7rem);
    line-height: 1.22;
  }

  .home-hero__description {
    max-width: 560px;
  }

  .btn--hero {
    margin-top: 38px;
  }

  .home-hero__stats {
    grid-row: 2;
    width: min(100%, 640px);
    margin-top: 64px;
    padding-bottom: 0;
  }

  .home-hero__navigation {
    grid-row: 3;
    margin-top: 54px;
  }

  /* HOME — ABOUT */
  .home-about,
  .home-value {
    padding-top: 78px;
    padding-bottom: 88px;
  }

  .home-about__grid,
  .home-value__grid,
  .home-reach__content {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .home-about__right {
    padding-top: 0;
  }

  .home-about__copy,
  .home-about__title,
  .home-value__title,
  .home-reach__title,
  .home-reach__intro p {
    max-width: 680px;
  }

  .home-about__button {
    margin-top: 36px;
  }

  /* HOME — SERVICES */
  .home-services {
    padding-top: 74px;
    padding-bottom: 88px;
  }

  .home-services__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .service-card,
  .service-card:nth-child(1),
  .service-card:nth-child(2),
  .service-card:nth-child(3),
  .service-card:nth-child(4),
  .service-card:nth-child(5) {
    grid-column: auto;
  }

  .service-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    width: calc(50% - 8px);
    justify-self: center;
  }

  /* HOME — VALUE */
  .home-value__right {
    max-width: 720px;
  }

  .value-process {
    border-radius: 40px;
  }

  /* HOME — SELECTED PROJECTS */
  .home-projects {
    padding-top: 64px;
    padding-bottom: 84px;
  }

  .project-showcase,
  .project-showcase__content {
    min-height: 400px;
  }

  .project-showcase__content {
    padding: 48px 46px 40px;
  }

  .selected-projects__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* HOME — REACH */
  .home-reach {
    padding-top: 70px;
    padding-bottom: 84px;
  }

  .home-reach__content {
    margin-top: 40px;
  }

  .home-reach__details {
    max-width: 720px;
  }

  /* PARTNERS / VALUES — generic safe reflow */
  .home-partners__row {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px 24px !important;
  }

  .partner-logo {
    min-width: 0 !important;
    width: 100% !important;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .partner-logo img {
    max-width: min(100%, 130px);
    max-height: 64px;
    object-fit: contain;
  }

  .home-values__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px !important;
  }

  /* ABOUT */
  .about-hero {
    min-height: 540px;
  }

  .about-hero__inner {
    min-height: 464px;
    padding-top: 64px;
    padding-bottom: 42px;
  }

  .about-intro,
  .about-purpose {
    padding-top: 78px;
    padding-bottom: 88px;
  }

  .about-intro__inner,
  .about-purpose__inner {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .about-intro__title,
  .about-intro__copy,
  .about-purpose__vision,
  .about-purpose__mission {
    max-width: 680px;
  }

  .about-leadership__inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .about-leadership__heading {
    min-height: auto;
  }

  .about-leadership__title {
    white-space: normal;
    max-width: 520px;
  }

  .leadership-accordion {
    width: 100%;
    max-width: 100%;
    justify-self: stretch;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 46px 12px 14px 34px;
    scrollbar-width: none;
  }

  .leadership-accordion::-webkit-scrollbar {
    display: none;
  }

  .leadership-accordion::before {
    left: 34px;
  }

  .about-leadership__next {
    left: 2px;
    bottom: 42px;
  }

  /* PROJECT DETAIL / CONTACT refinements */
  .project-detail-intro__inner,
  .contact-main__grid {
    min-width: 0;
  }

  .project-detail-intro__media,
  .contact-map {
    max-width: 100%;
  }

  /* CTA */
  .home-cta__inner {
    padding-top: 78px !important;
    padding-bottom: 78px !important;
  }

  .home-cta__title,
  .home-cta__description {
    max-width: 680px !important;
  }

  /* FOOTER */
  .site-footer__top {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 52px 36px !important;
  }

  .site-footer__brand {
    grid-column: 1 / -1;
    max-width: 520px;
  }
}

/* =========================================================
   03. TABLET / LARGE MOBILE — <= 768px
   ========================================================= */

@media (max-width: 768px) {
  :root {
    --page-padding-mobile: 20px;
  }

  .container {
    width: calc(100% - (var(--page-padding-mobile, 20px) * 2));
  }

  .section,
  .section--large,
  .section--small {
    padding-block: 72px;
  }

  /* HEADER */
  .site-nav {
    left: 14px;
    right: 14px;
  }

  .language-switcher {
    min-width: 42px;
    min-height: 42px;
  }

  /* HOME HERO */
  .home-hero__inner {
    padding-top: 58px;
  }

  .home-hero__title {
    font-size: clamp(2.35rem, 9vw, 3.3rem);
    line-height: 1.18;
  }

  .home-hero__description {
    margin-top: 22px;
    font-size: 0.86rem;
    line-height: 1.68;
  }

  .home-hero__stats {
    gap: 18px;
    margin-top: 50px;
  }

  .hero-stat__number {
    font-size: clamp(2rem, 8vw, 3.2rem);
  }

  .hero-stat__label {
    font-size: 0.62rem;
  }

  .home-hero__navigation {
    gap: 12px;
    margin-top: 42px;
  }

  .hero-project__name {
    font-size: 0.62rem;
  }

  /* HOME ABOUT */
  .home-about,
  .home-services,
  .home-value,
  .home-projects,
  .home-reach {
    padding-top: 64px;
    padding-bottom: 72px;
  }

  .home-about__label,
  .home-value__label {
    margin-bottom: 30px;
  }

  .home-about__title,
  .home-value__title,
  .home-reach__title {
    font-size: clamp(2rem, 8vw, 2.8rem);
    line-height: 1.22;
  }

  .home-about__values,
  .about-intro__values {
    width: 100%;
    max-width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }

  /* SERVICES */
  .home-services__title {
    margin-top: 28px;
  }

  .home-services__grid {
    margin-top: 42px;
  }

  .service-card {
    min-height: 220px;
    border-radius: 28px;
  }

  .service-card::after {
    width: 66px;
    height: 66px;
  }

  /* VALUE */
  .value-card {
    grid-template-columns: minmax(0, 1fr) 145px;
  }

  .value-process {
    padding: 42px 34px 38px;
    column-gap: 34px;
    row-gap: 34px;
    border-radius: 34px;
  }

  /* PROJECTS HOME */
  .project-showcase,
  .project-showcase__content {
    min-height: 360px;
  }

  .project-showcase {
    border-radius: 28px;
  }

  .project-showcase__content {
    padding: 36px 30px 30px;
  }

  .project-showcase__title {
    margin-top: 32px;
    font-size: clamp(1.8rem, 7vw, 2.55rem);
  }

  .project-showcase__dots {
    right: 28px;
    bottom: 30px;
  }

  .selected-project-card,
  .selected-project-card__content {
    min-height: 250px;
  }

  /* REACH */
  .home-reach__map {
    margin-top: 24px;
  }

  .reach-locations {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 28px;
  }

  .reach-stats {
    gap: 18px;
    margin-top: 42px;
  }

  /* PARTNERS */
  .home-partners__row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px 18px !important;
  }

  /* VALUES */
  .home-values__heading {
    align-items: flex-start !important;
    gap: 20px !important;
  }

  .home-values__heading-line {
    width: 100% !important;
  }

  .home-values__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  /* ABOUT */
  .about-hero {
    min-height: 500px;
  }

  .about-hero__inner {
    min-height: 424px;
    padding-top: 54px;
    padding-bottom: 34px;
  }

  .about-hero__title {
    font-size: clamp(3rem, 12vw, 4.4rem);
  }

  .about-stat__number {
    font-size: clamp(2.35rem, 9vw, 3.6rem);
  }

  .about-stat__label {
    font-size: 0.7rem;
  }

  .about-intro,
  .about-purpose,
  .about-leadership {
    padding-top: 64px;
    padding-bottom: 72px;
  }

  .about-intro__title,
  .about-purpose__title {
    font-size: clamp(2rem, 8vw, 2.8rem);
    line-height: 1.2;
  }

  .about-purpose__mission {
    gap: 18px;
    margin-top: 34px;
  }

  .about-purpose__vision {
    margin-top: 34px;
  }

  .about-leadership__title {
    font-size: clamp(2.8rem, 11vw, 4rem);
  }

  .leadership-card {
    flex-basis: 88px;
    height: 295px;
  }

  .leadership-card.is-active {
    flex-basis: 238px;
  }

  .about-leadership__next {
    width: 56px;
    height: 56px;
  }

  /* PROJECTS ARCHIVE */
  .projects-hero,
  .projects-hero__inner {
    min-height: 640px !important;
  }

  .projects-hero__inner {
    padding-bottom: 22px !important;
  }

  .projects-hero__navigation {
    gap: 12px !important;
  }

  .projects-list {
    padding-top: 60px !important;
  }

  .projects-list__heading {
    margin-bottom: 44px !important;
  }

  .projects-list__heading h2 {
    font-size: clamp(2.25rem, 10vw, 3.2rem) !important;
  }

  /* PROJECT DETAIL */
  .project-detail-intro {
    padding-top: 106px !important;
    padding-bottom: 64px !important;
  }

  .project-detail-intro__title {
    font-size: clamp(2.8rem, 11vw, 4.2rem) !important;
  }

  html[lang="id"] .project-detail-intro__title {
    font-size: clamp(2.55rem, 10vw, 3.75rem) !important;
  }

  .project-detail-intro__media {
    border-radius: 22px !important;
  }

  .project-snapshot__heading h2,
  .project-next__heading h2 {
    font-size: clamp(2.15rem, 9vw, 3rem) !important;
  }

  /* CONTACT */
  .contact-hero__title-wrap {
    min-height: 180px !important;
  }

  .contact-map {
    height: 390px !important;
  }

  .contact-main {
    padding-top: 64px !important;
    padding-bottom: 76px !important;
  }

  /* CTA */
  .home-cta__inner {
    padding-top: 68px !important;
    padding-bottom: 68px !important;
  }

  .home-cta__actions {
    flex-wrap: wrap !important;
  }

  /* FOOTER */
  .site-footer__top {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 42px 28px !important;
  }

  .site-footer__bottom {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 18px !important;
  }
}

/* =========================================================
   04. MOBILE — <= 600px
   ========================================================= */

@media (max-width: 600px) {
  :root {
    --header-height: 70px;
  }

  .container {
    width: calc(100% - 32px);
  }

  .site-header__logo {
    width: 126px;
  }

  .site-header__actions {
    gap: 6px;
  }

  .language-switcher__code {
    display: none;
  }

  .language-switcher__flag {
    width: 22px;
    height: 22px;
  }

  .site-nav-toggle {
    width: 40px;
    height: 40px;
  }

  .site-nav {
    top: calc(var(--header-height) + 8px);
    left: 10px;
    right: 10px;
    border-radius: 20px;
  }

  /* HOME HERO */
  .home-hero__inner {
    padding-top: 46px;
    padding-bottom: 20px;
  }

  .home-hero__title {
    font-size: clamp(2.2rem, 11vw, 2.9rem);
    line-height: 1.16;
  }

  .home-hero__description {
    font-size: 0.82rem;
  }

  .btn--hero {
    margin-top: 30px;
  }

  .home-hero__stats {
    gap: 10px;
    margin-top: 42px;
  }

  .hero-stat__number {
    font-size: clamp(1.85rem, 9vw, 2.6rem);
  }

  .hero-stat__label {
    font-size: 0.56rem;
  }

  .home-hero__navigation {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 34px;
  }

  .hero-project {
    min-height: 35px;
  }

  .hero-project__name {
    font-size: 0.68rem;
  }

  /* HOME ABOUT */
  .home-about__values,
  .about-intro__values {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .home-about__value,
  .about-intro-value {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    column-gap: 14px;
    align-items: start;
  }

  .home-about__value-icon,
  .about-intro-value__icon {
    grid-row: 1 / span 2;
    margin-bottom: 0;
  }

  .home-about__value strong,
  .about-intro-value h3 {
    align-self: end;
  }

  .home-about__value span,
  .about-intro-value p {
    align-self: start;
  }

  /* SERVICES */
  .home-services__grid {
    grid-template-columns: 1fr;
  }

  .service-card,
  .service-card:last-child:nth-child(odd) {
    width: 100%;
    grid-column: auto;
    min-height: 205px;
  }

  .service-card__content p {
    max-width: calc(100% - 56px);
    padding-top: 38px;
  }

  /* VALUE */
  .value-card {
    grid-template-columns: minmax(0, 1fr) 105px;
    min-height: 130px;
    border-radius: 22px;
  }

  .value-card__content {
    padding: 18px 18px 18px 20px;
  }

  .value-process {
    grid-template-columns: 1fr;
    padding: 34px 26px;
    border-radius: 28px;
  }

  .value-process__item--last {
    grid-column: auto;
  }

  /* HOME PROJECTS */
  .project-showcase,
  .project-showcase__content {
    min-height: 390px;
  }

  .project-showcase__overlay {
    background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.12) 0%,
      rgba(0, 0, 0, 0.36) 46%,
      rgba(0, 0, 0, 0.8) 100%
    ) !important;
  }

  .project-showcase__content {
    padding: 30px 22px 26px;
  }

  .project-showcase__button {
    margin-bottom: 34px;
  }

  .project-showcase__dots {
    right: 22px;
    bottom: 24px;
  }

  .selected-projects__grid {
    grid-template-columns: 1fr;
  }

  .selected-project-card,
  .selected-project-card__content {
    min-height: 280px;
  }

  /* REACH */
  .home-reach__label {
    justify-content: flex-start;
  }

  .reach-locations {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .reach-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .reach-stat__number {
    font-size: clamp(1.8rem, 9vw, 2.4rem);
  }

  .reach-stat__label {
    font-size: 0.52rem;
  }

  /* PARTNERS */
  .home-partners__row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 18px !important;
  }

  .partner-logo img {
    max-width: min(100%, 110px);
    max-height: 54px;
  }

  /* VALUES */
  .home-values__grid {
    grid-template-columns: 1fr !important;
  }

  /* ABOUT */
  .about-hero {
    min-height: 470px;
  }

  .about-hero__inner {
    min-height: 400px;
    padding-top: 48px;
    padding-bottom: 30px;
  }

  .about-hero__stats {
    gap: 8px;
  }

  .about-stat__number {
    font-size: clamp(2.1rem, 10vw, 2.9rem);
  }

  .about-stat__label {
    font-size: 0.58rem;
  }

  .leadership-accordion {
    gap: 8px;
    padding-left: 28px;
  }

  .leadership-card {
    flex-basis: 70px;
    height: 286px;
  }

  .leadership-card.is-active {
    flex-basis: min(220px, 68vw);
  }

  .leadership-accordion::before {
    left: 28px;
  }

  .about-leadership__next {
    left: 0;
    bottom: 38px;
    width: 52px;
    height: 52px;
  }

  /* PROJECTS */
  .projects-hero,
  .projects-hero__inner {
    min-height: 700px !important;
  }

  .projects-hero__navigation {
    grid-template-columns: 1fr !important;
  }

  .projects-hero__control-name {
    white-space: normal !important;
  }

  .projects-card,
  .projects-card__content {
    min-height: 390px !important;
  }

  /* PROJECT DETAIL */
  .project-detail-intro__meta {
    grid-template-columns: 1fr 72px !important;
    gap: 16px !important;
  }

  .project-detail-intro__description {
    font-size: 0.84rem !important;
    line-height: 1.68 !important;
  }

  .project-detail-intro__media {
    aspect-ratio: 16 / 10 !important;
  }

  .project-snapshot__grid {
    grid-template-rows: 285px 100px !important;
  }

  .project-next__card,
  .project-next__content {
    min-height: 380px !important;
  }

  .project-next__content {
    padding: 24px 20px 22px !important;
  }

  /* CONTACT */
  .contact-hero {
    padding-top: 84px !important;
  }

  .contact-hero__title {
    font-size: clamp(3.7rem, 19vw, 5.4rem) !important;
  }

  .contact-map {
    height: 350px !important;
  }

  .contact-info-card {
    grid-template-columns: 44px minmax(0, 1fr) 20px !important;
  }

  .contact-form-card {
    padding: 26px 18px 28px !important;
  }

  .contact-submit {
    width: 100%;
  }

  /* CTA */
  .home-cta__inner {
    padding-top: 60px !important;
    padding-bottom: 60px !important;
  }

  .home-cta__title {
    font-size: clamp(2.1rem, 10vw, 3rem) !important;
  }

  .home-cta__actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    width: 100%;
    max-width: 360px;
  }

  .home-cta__button {
    width: 100%;
  }

  /* FOOTER */
  .site-footer__top {
    grid-template-columns: 1fr !important;
    gap: 36px !important;
  }

  .site-footer__brand {
    grid-column: auto;
  }

  .site-footer__legal {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 20px !important;
  }
}

/* =========================================================
   05. SMALL MOBILE — <= 430px
   ========================================================= */

@media (max-width: 430px) {
  .container {
    width: calc(100% - 28px);
  }

  .site-header__logo {
    width: 118px;
  }

  .home-hero__title {
    font-size: clamp(2rem, 11.5vw, 2.65rem);
  }

  .home-hero__stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-stat__number {
    font-size: clamp(1.65rem, 9vw, 2.2rem);
  }

  .service-card {
    padding: 26px 22px 28px;
  }

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

  .value-card__image {
    height: 120px;
    order: -1;
  }

  .reach-locations {
    grid-template-columns: 1fr 1fr;
    column-gap: 14px;
  }

  .reach-location {
    font-size: 0.62rem;
  }

  .project-snapshot__grid {
    grid-template-rows: 260px 86px !important;
    gap: 7px !important;
  }

  .contact-map {
    height: 320px !important;
  }
}

/* =========================================================
   06. TOUCH DEVICES — REMOVE HOVER-ONLY MOVEMENT
   ========================================================= */

@media (hover: none) {
  .service-card:hover,
  .selected-project-card:hover,
  .contact-info-card:hover,
  .project-next__card:hover,
  .projects-card:hover,
  .home-cta__button:hover,
  .project-showcase__button:hover {
    transform: none !important;
  }

  .contact-info-card__arrow {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* =========================================================
   07. REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
