/* ================= RESPONSIVE SYSTEM (match old version mobile look) ================= */

@media (max-width: 992px) {

  :root {
    --section-pad: 72px;
  }

  /*
   * Homepage hero only (this project): fill visual viewport + safe areas + buffer so the
   * next section never peeks above the fold (mobile URL bar / dvh / subpixel gaps).
   */
  .hero {
    max-height: none;
    min-height: calc(var(--app-height, 1vh) * 100 + env(safe-area-inset-bottom, 0px) + 12px);
    height: calc(var(--app-height, 1vh) * 100 + env(safe-area-inset-bottom, 0px) + 12px);
  }

  /* Hero slides: full-bleed frame; photo is .hero-bg-img (no slide background paints) */
  .slide {
    width: 100%;
    left: 0;
    right: 0;
    transition: none;
  }

  /* ================= NAVIGATION – same as laptop: idle = logo left / menus right; scroll = join in centered pill ================= */
  .nav {
    padding: 20px 6%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transition: padding 0.5s var(--ease-primary);
  }

  .nav.scrolled {
    padding: 10px 6%;
  }

  /* Idle: full-width bar, logo left / hamburger right. No glass. */
  .nav-inner {
    position: relative;
    overflow: visible;
    width: 100%;
    max-width: 100%;
    height: 56px;
    min-height: 56px;
    padding: 0 6%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 9999px;
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transition:
      max-width 0.55s var(--ease-primary),
      padding 0.5s var(--ease-primary),
      background 0.5s ease,
      backdrop-filter 0.5s ease,
      -webkit-backdrop-filter 0.5s ease,
      box-shadow 0.5s ease,
      border 0.4s ease;
  }

  /* Scrolled: pill shrinks & centers (join), same liquid glass as laptop. Overflow visible so dropdown shows. */
  .nav.scrolled .nav-inner {
    max-width: 480px;
    margin: 0 auto;
    padding: 10px 24px;
    height: 56px;
    min-height: 56px;
    overflow: visible;
    background: rgba(12, 20, 38, 0.52);
    backdrop-filter: blur(6px) saturate(1.12);
    -webkit-backdrop-filter: blur(6px) saturate(1.12);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: none;
  }

  /* scroll-idle: lighter glass (less backdrop work than desktop) */
  .nav.scrolled.scroll-idle .nav-inner {
    background: rgba(12, 20, 38, 0.5);
    backdrop-filter: blur(4px) saturate(1.08);
    -webkit-backdrop-filter: blur(4px) saturate(1.08);
    border: none;
    box-shadow: none;
  }

  .logo {
    flex-shrink: 0;
    position: relative;
    z-index: 1;
  }

  .logo img {
    height: 50px;
    width: auto;
    display: block;
    vertical-align: middle;
    transition: transform 0.6s var(--ease-primary);
  }

  .logo:hover img {
    transform: scale(1.06);
  }

  /* Dropdown: lower position + strong opening animation */
  .nav-links {
    flex-direction: column;
    gap: 2px;
    position: absolute;
    top: 100%;
    left: 50%;
    width: calc(100vw - 32px);
    max-width: 380px;
    margin-top: 28px;
    padding: 0 14px 20px;
    box-sizing: border-box;
    background: rgba(12, 20, 38, 0.97);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    box-shadow:
      inset 0 0 0 1px rgba(255, 255, 255, 0.05),
      0 18px 40px rgba(0, 0, 0, 0.42);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 1001;
    transform: translate(-50%, -12px) scale(0.9);
    transform-origin: top center;
    transition:
      opacity 0.38s var(--ease-soft),
      transform 0.4s var(--ease-soft),
      visibility 0s linear 0.4s;
  }

  .nav.open .nav-links {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0) scale(1);
    transition:
      opacity 0.38s var(--ease-soft),
      transform 0.4s var(--ease-soft),
      visibility 0s linear 0s;
  }

  /* Tradea Monde logo – staggered reveal */
  .nav-links .dropdown-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 12px 16px;
    margin: 0 -2px 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px 12px 0 0;
    transition: opacity 0.45s var(--ease-soft),
                transform 0.45s var(--ease-soft);
    transition-delay: 0.06s;
    opacity: 0;
    transform: translateY(-14px);
  }

  .nav.open .nav-links .dropdown-logo {
    opacity: 1;
    transform: translateY(0);
  }

  .nav-links .dropdown-logo img {
    height: 44px;
    width: auto;
    display: block;
    pointer-events: none;
  }

  .nav-links .dropdown-logo:hover,
  .nav-links .dropdown-logo:focus {
    background: rgba(255, 255, 255, 0.04);
  }

  /* Menu links – clear staggered slide-up */
  .nav-links a:not(.dropdown-logo) {
    display: block;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 17px;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    padding: 15px 18px;
    border-radius: 12px;
    transition: color 0.3s ease, background 0.3s ease,
                opacity 0.5s var(--ease-soft),
                transform 0.5s var(--ease-soft);
    opacity: 0;
    transform: translateY(-12px);
  }

  .nav.open .nav-links a:nth-child(2) { transition-delay: 0.1s; }
  .nav.open .nav-links a:nth-child(3) { transition-delay: 0.16s; }
  .nav.open .nav-links a:nth-child(4) { transition-delay: 0.22s; }
  .nav.open .nav-links a:nth-child(5) { transition-delay: 0.28s; }
  .nav.open .nav-links a:nth-child(6) { transition-delay: 0.34s; }

  .nav.open .nav-links a:not(.dropdown-logo) {
    opacity: 1;
    transform: translateY(0);
  }

  .nav-links a:not(.dropdown-logo)::after {
    display: none;
  }

  .nav-links a:not(.dropdown-logo):hover,
  .nav-links a:not(.dropdown-logo):focus {
    color: rgba(255, 255, 255, 1);
    background: rgba(255, 255, 255, 0.08);
  }

  /* Hamburger: same as nav – var(--text), no yellow */
  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    flex-shrink: 0;
    padding: 0;
    font-size: 0;
    color: var(--text);
    cursor: pointer;
    position: relative;
    z-index: 1;
    -webkit-tap-highlight-color: transparent;
    transition: color 0.4s var(--ease-primary);
  }

  .nav-toggle:hover,
  .nav-toggle:focus {
    color: rgba(255, 255, 255, 0.95);
  }

  .nav.open .nav-toggle {
    color: var(--text);
  }

  /* ================= HERO ARROWS MOBILE CLEAN ================= */

  .arrow {
    width: 44px;
    height: 44px;
    top: 60%;
    opacity: 0.85;
    transform: translateY(-50%) scale(1);
  }

  .arrow.left { left: 14px; }
  .arrow.right { right: 14px; }

  /* ================= HERO CONTENT ================= */

  .hero-content {
    margin-top: 40px;
    padding: 0 6%;
    text-align: center;
  }

  .hero-content h1,
  .hero-content h2 {
    font-size: 28px;
    line-height: 1.25;
  }

  .hero-content h1 span:last-child,
  .hero-content h2 span:last-child {
    font-size: 18px;
  }

  .hero-content p {
    font-size: 14.5px;
    margin-bottom: 34px;
    line-height: 1.6;
  }

  /* ================= HERO BUTTONS ================= */

  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 24px;
    margin-top: 36px;
  }

  .hero-buttons .btn {
    width: 90%;
    max-width: 300px;
    margin: 0 auto;
    padding: 18px 20px;
  }

  .hero-buttons .btn-outline {
    margin-top: 4px;
  }

  /* ================= MOBILE HERO INDICATOR ================= */

  .slide-indicator {
    right: 20px;
    bottom: 30px;
    opacity: 0.85;
  }

  .slide-indicator .current {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 2px;
  }

  .slide-indicator .line {
    height: 24px;
    margin: 6px 0;
    background: rgba(255, 255, 255, 0.2);
  }

  .slide-indicator .total {
    font-size: 10px;
    opacity: 0.4;
  }

  /* ================= MOBILE HERO: static photo scale (no continuous keyframe drift on <img>) ================= */

  .hero .hero-bg-img {
    will-change: auto;
    transform: translate(-50%, -50%) scale(1.1);
  }

  .slide {
    transition:
      opacity 2.2s cubic-bezier(0.23, 1, 0.32, 1),
      transform 2.8s cubic-bezier(0.23, 1, 0.32, 1);
  }

  .slide.active {
    transition:
      opacity 2.2s cubic-bezier(0.23, 1, 0.32, 1),
      transform 2.8s cubic-bezier(0.23, 1, 0.32, 1),
      filter 2s ease;
  }

  .hero .slide.active .hero-bg-img {
    transform: translate(-50%, -50%) scale(1.06);
  }

  .slide::after {
    background:
      linear-gradient(to right, rgba(10, 18, 34, 0.95), rgba(10, 18, 34, 0.65)),
      radial-gradient(circle at center, transparent 50%, rgba(0, 0, 0, 0.7));
  }

  /*
   * iOS Safari: stable hero height + fill/cover image (no translate(-50%,-50%) / slide scale),
   * avoids first-load jump when dvh / chrome height settles.
   */
  @supports (-webkit-touch-callout: none) {
    .hero {
      min-height: calc(var(--app-height, 1vh) * 100 + env(safe-area-inset-bottom, 0px) + 12px);
      height: calc(var(--app-height, 1vh) * 100 + env(safe-area-inset-bottom, 0px) + 12px);
      max-height: none;
      transform: none;
    }
    .hero .slide {
      left: 0;
      right: 0;
      transform: none;
      filter: none;
      will-change: opacity;
      transition: opacity 1.6s ease-in-out;
    }
    .hero .slide.active {
      transform: none;
      filter: none;
      transition: opacity 1.6s ease-in-out;
    }
    .hero .hero-media {
      inset: 0;
    }
    .hero .hero-bg-img {
      position: absolute;
      inset: 0;
      left: auto;
      top: auto;
      width: 100%;
      height: 100%;
      transform: scale(1.04);
      object-fit: cover;
      object-position: center center;
      transition: filter 0.5s ease;
      will-change: auto;
    }
    .hero .slide.active .hero-bg-img {
      transform: scale(1.04);
    }
    .hero .slide[data-hero="2"] .hero-bg-img {
      object-position: center 32%;
    }
    .hero .slide[data-hero="3"] .hero-bg-img {
      object-position: center 35%;
    }
  }

  /* ================= ABOUT – compact on phone, match others ================= */

  .about {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .about.inquiry-page-section {
    padding-top: clamp(84px, 20vw, 112px);
    padding-bottom: clamp(48px, 9vw, 72px);
  }

  .about .container {
    padding-left: 28px;
    padding-right: 28px;
    max-width: 100%;
  }

  .about-inner {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 28px 0;
    text-align: center;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  .about.inquiry-page-section .about-inner {
    padding-top: 32px;
    padding-bottom: 36px;
    gap: clamp(28px, 5vw, 40px);
  }

  .inquiry-page-section .about-left h1::after {
    margin-left: auto;
    margin-right: auto;
  }

  .about-left h2 {
    font-size: 28px;
  }

  .about-left h2::after {
    margin-left: auto;
    margin-right: auto;
  }

  .about-left p {
    font-size: 15px;
    line-height: 1.7;
  }

  .about-right {
    gap: 14px;
  }

  .about-card {
    padding: 14px 18px;
    font-size: 14px;
    transform: none;
  }

  .page-intro-section .page-intro-inner {
    padding: 44px 0 40px;
  }

  body:is(.kitchen-page, .oil-gas-page) .page-intro-section .page-intro-inner {
    padding: 36px 24px 16px;
  }

  body:is(.kitchen-page, .oil-gas-page) .about.page-intro-section {
    padding-top: 110px !important;
  }

  .page-intro-section .page-intro-heading {
    font-size: 24px;
  }

  .page-intro-section .page-intro-subheading {
    font-size: 13px;
    letter-spacing: 0.15em;
    margin-bottom: 22px;
  }

  body:is(.kitchen-page, .oil-gas-page) .page-intro-section .page-intro-subheading {
    font-size: 10.5px;
    letter-spacing: 0.22em;
    margin-bottom: 18px;
  }

  .page-intro-section .page-intro-body p {
    font-size: 15px;
    line-height: 1.8;
  }

  /* ================= DIVISIONS – compact on phone, match execution/why ================= */

  .divisions {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .divisions .container {
    padding-left: 28px;
    padding-right: 28px;
    max-width: 100%;
  }

  .divisions .section-title {
    margin-bottom: 28px;
  }

  .division-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  .divisions .division-card {
    height: 340px;
    position: relative;
    overflow: hidden;
    transition:
      opacity 0.75s var(--ease-soft),
      transform 0.82s var(--ease-luxury),
      box-shadow 0.82s var(--ease-luxury),
      border-color 0.55s var(--ease-soft);
  }

  .divisions .division-card img {
    transition:
      transform 0.9s var(--ease-luxury),
      filter 0.9s var(--ease-luxury);
  }

  .divisions .division-card .division-overlay {
    transition: background 0.75s var(--ease-luxury);
  }

  /* Mobile/touch: premium depth reveal + glass edge for service cards */
  .divisions .division-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    border-radius: inherit;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.12),
      inset 0 0 0 1px rgba(255, 255, 255, 0.04),
      inset 0 -12px 22px rgba(10, 18, 34, 0.16);
    opacity: 0;
    transition: opacity 0.68s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .divisions .division-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.08) 0%,
      rgba(255, 255, 255, 0.03) 18%,
      rgba(255, 255, 255, 0) 42%
    );
    opacity: 0;
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .divisions .division-card .division-content h3 {
    opacity: 0;
    transform: translateY(24px);
    filter: none;
    transition:
      opacity 0.68s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.68s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .divisions .division-card .division-content p {
    opacity: 0;
    transform: translateY(28px);
    filter: none;
    transition:
      opacity 0.72s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.72s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .divisions .division-card .division-btn {
    opacity: 0;
    transform: translate3d(0, 22px, 0) scale(0.97);
    transition:
      opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.65s cubic-bezier(0.22, 1, 0.36, 1),
      box-shadow 0.34s var(--ease-soft),
      background-color 0.34s var(--ease-soft);
  }

  .divisions .division-card.in-view {
    transform: translate3d(0, -9px, 0) scale(1.012);
    border-color: rgba(255, 255, 255, 0.11);
    box-shadow:
      0 20px 40px rgba(0, 0, 0, 0.4),
      0 0 0 1px rgba(255, 255, 255, 0.12),
      0 0 32px rgba(200, 166, 70, 0.1),
      inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  }

  .divisions .division-card.in-view img {
    transform: scale(1.065);
    filter: saturate(calc(var(--img-grade-sat) + 0.04)) contrast(var(--img-grade-contrast))
      brightness(calc(var(--img-grade-brightness) + 0.06));
  }

  /* Second card: slight stagger so the pair feels choreographed */
  .divisions .division-grid .division-card:nth-child(2).in-view {
    transition-delay: 0.1s;
  }

  .divisions .division-grid .division-card:nth-child(2).in-view img {
    transition-delay: 0.14s;
  }

  .divisions .division-grid .division-card:nth-child(2).in-view .division-content h3 {
    transition-delay: 0.14s;
  }

  .divisions .division-grid .division-card:nth-child(2).in-view .division-content p {
    transition-delay: 0.22s;
  }

  .divisions .division-grid .division-card:nth-child(2).in-view .division-btn {
    transition-delay: 0.32s;
  }

  .divisions .division-card.in-view .division-content h3 {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.08s;
  }

  .divisions .division-card.in-view .division-content p {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.18s;
  }

  .divisions .division-card.in-view .division-btn {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    transition-delay: 0.28s;
  }

  .divisions .division-card.in-view::before {
    opacity: 0.82;
  }

  .divisions .division-card.in-view::after {
    opacity: 0.26;
  }

  /* Touch: quick press feedback on service cards */
  @media (hover: none) {
    .divisions .division-card.in-view:active {
      transform: translate3d(0, -5px, 0) scale(1.006);
      transition-duration: 0.14s;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .divisions .division-card,
    .divisions .division-card.in-view,
    .divisions .division-card img,
    .divisions .division-card.in-view img {
      transform: none !important;
      transition-delay: 0s !important;
    }

    .divisions .division-card.in-view img {
      filter: saturate(var(--img-grade-sat)) contrast(var(--img-grade-contrast))
        brightness(var(--img-grade-brightness)) !important;
    }
  }

  /* ================= EXECUTION – compact on phone, better spacing ================= */

  .execution {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .execution .container {
    padding-left: 28px;
    padding-right: 28px;
    max-width: 100%;
  }

  .execution .section-title {
    margin-bottom: 28px;
  }

  .execution-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  .execution-item {
    padding: 18px 20px;
    border-radius: 14px;
    text-align: center;
  }

  .execution-item h3 {
    font-size: 17px;
    margin-bottom: 6px;
    line-height: 1.3;
  }

  .execution-item p {
    font-size: 14px;
    line-height: 1.55;
    margin: 0;
  }

  /* ================= OUR APPROACH – match execution grid ================= */

  .approach {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .approach .container {
    padding-left: 28px;
    padding-right: 28px;
    max-width: 100%;
  }

  .approach .section-title {
    margin-bottom: 28px;
  }

  .approach-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  .approach-item {
    padding: 18px 20px;
    border-radius: 14px;
    text-align: center;
  }

  .approach-item h3 {
    font-size: 17px;
    margin-bottom: 6px;
    line-height: 1.3;
  }

  .approach-item p {
    font-size: 14px;
    line-height: 1.55;
    margin: 0;
  }

  /* ================= WHY – compact on phone, better spacing ================= */

  .why {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .why.contact-page-section {
    padding-top: clamp(84px, 20vw, 112px);
    padding-bottom: clamp(56px, 10vw, 88px);
  }

  .why.contact-page-section .contact-intro {
    margin-bottom: 32px;
  }

  .why.contact-page-section .contact-grid {
    margin-bottom: 36px;
  }

  .why .container {
    padding-left: 28px;
    padding-right: 28px;
    max-width: 100%;
  }

  .why .section-title {
    margin-bottom: 28px;
  }

  .why-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  .why-item {
    padding: 18px 20px;
    border-radius: 14px;
    text-align: center;
  }

  .why-item h4 {
    font-size: 17px;
    margin-bottom: 6px;
    line-height: 1.3;
  }

  .why-item p {
    font-size: 14px;
    line-height: 1.55;
    margin: 0;
  }

  /* ================= CTA (old style) ================= */

  .cta {
    padding: 64px 0;
  }

  .cta h2 {
    font-size: 26px;
  }

  /* ================= KITCHEN PAGE MOBILE – Flow contained, follows scroll, completes all points ================= */
  .kitchen-page .timeline-section {
    margin-top: 88px;
    padding: 0 0 0 20px;
    overflow: hidden;
  }

  .kitchen-page .timeline-header {
    max-width: 100%;
    margin: 0 auto 32px;
    padding: 0 24px;
    text-align: center;
  }

  .kitchen-page .timeline-label {
    font-size: 10px;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.5);
  }

  .kitchen-page .timeline-title {
    font-size: 24px;
    margin-top: 6px;
    line-height: 1.25;
  }

  .kitchen-page .timeline-subtitle {
    font-size: 14px;
    line-height: 1.55;
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.65);
  }

  /* Contain flow in a left strip so it doesn’t go out of margin; path fills strip and completes with scroll */
  .kitchen-page .timeline-svg-wrap {
    width: 72px;
    left: 0;
    overflow: hidden;
  }

  .kitchen-page .timeline-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 100%;
    opacity: 0.9;
    pointer-events: none;
    transform: none;
  }

  /* Text to the right of the flow strip */
  .kitchen-page .timeline-content {
    max-width: 100%;
    padding: 0 20px 0 92px;
    position: relative;
    z-index: 2;
  }

  /* No static line – flow is the animated SVG path */
  .kitchen-page .timeline-content::before {
    display: none;
  }

  .kitchen-page .timeline-item {
    margin: 44px 0;
    display: flex;
    justify-content: flex-start;
    text-align: left;
  }

  .kitchen-page .timeline-item:first-child {
    margin-top: 24px;
  }

  .kitchen-page .timeline-item.left .timeline-block,
  .kitchen-page .timeline-item.right .timeline-block {
    margin-left: 0;
    margin-right: 0;
    max-width: 100%;
    text-align: left;
    align-items: flex-start;
  }

  .kitchen-page .timeline-item .timeline-num::before {
    display: none;
  }

  .kitchen-page .timeline-num {
    font-size: 12px;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 6px;
    letter-spacing: 0.02em;
  }

  .kitchen-page .timeline-text h2 {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
    line-height: 1.3;
    letter-spacing: 0.01em;
  }

  .kitchen-page .timeline-text p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.55;
  }

  .kitchen-page .timeline-item.active .timeline-text p {
    color: rgba(255, 255, 255, 0.75);
  }

  body:is(.kitchen-page, .oil-gas-page) .kitchen-cta {
    padding: 48px 24px 40px;
    align-items: center;
  }

  .kitchen-page .cta-box {
    max-width: 100%;
    padding: 0 16px;
    transition: opacity 0.6s ease, transform 0.6s ease;
  }

  .kitchen-page .cta-box.active {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  .kitchen-page .cta-box h2 {
    font-size: 24px;
    margin-bottom: 10px;
    line-height: 1.25;
  }

  .kitchen-page .cta-box p {
    font-size: 14px;
    line-height: 1.55;
  }

  .kitchen-page .cta-box .cta-btn {
    margin-top: 20px;
    transition: box-shadow 0.5s ease, transform 0.4s ease;
  }

  .kitchen-page .cta-box .cta-btn.glow {
    box-shadow: 0 0 28px rgba(200, 166, 70, 0.85), 0 0 50px rgba(200, 166, 70, 0.4);
  }

  .kitchen-page .footer {
    padding: 40px 24px 32px;
  }

  /* ================= OIL & GAS PAGE MOBILE – same as kitchen (flow contained, left strip, CTA) ================= */
  .oil-gas-page .timeline-section {
    margin-top: 88px;
    padding: 0 0 0 20px;
    overflow: hidden;
  }

  .oil-gas-page .timeline-header {
    max-width: 100%;
    margin: 0 auto 32px;
    padding: 0 24px;
    text-align: center;
  }

  .oil-gas-page .timeline-label {
    font-size: 10px;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.5);
  }

  .oil-gas-page .timeline-title {
    font-size: 24px;
    margin-top: 6px;
    line-height: 1.25;
  }

  .oil-gas-page .timeline-subtitle {
    font-size: 14px;
    line-height: 1.55;
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.65);
  }

  .oil-gas-page .timeline-svg-wrap {
    width: 72px;
    left: 0;
    overflow: hidden;
  }

  .oil-gas-page .timeline-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 100%;
    opacity: 0.9;
    pointer-events: none;
    transform: none;
  }

  .oil-gas-page .timeline-content {
    max-width: 100%;
    padding: 0 20px 0 92px;
    position: relative;
    z-index: 2;
  }

  .oil-gas-page .timeline-content::before {
    display: none;
  }

  .oil-gas-page .timeline-item {
    margin: 44px 0;
    display: flex;
    justify-content: flex-start;
    text-align: left;
  }

  .oil-gas-page .timeline-item:first-child {
    margin-top: 24px;
  }

  .oil-gas-page .timeline-item.left .timeline-block,
  .oil-gas-page .timeline-item.right .timeline-block {
    margin-left: 0;
    margin-right: 0;
    max-width: 100%;
    text-align: left;
    align-items: flex-start;
  }

  .oil-gas-page .timeline-item .timeline-num::before {
    display: none;
  }

  .oil-gas-page .timeline-num {
    font-size: 12px;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 6px;
    letter-spacing: 0.02em;
  }

  .oil-gas-page .timeline-text h2 {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
    line-height: 1.3;
    letter-spacing: 0.01em;
  }

  .oil-gas-page .timeline-text p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.55;
  }

  .oil-gas-page .timeline-item.active .timeline-text p {
    color: rgba(255, 255, 255, 0.75);
  }

  .oil-gas-page .oil-gas-cta {
    padding: 48px 24px 40px;
    align-items: center;
  }

  .oil-gas-page .cta-box {
    max-width: 100%;
    padding: 0 16px;
    transition: opacity 0.6s ease, transform 0.6s ease;
  }

  .oil-gas-page .cta-box.active {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  .oil-gas-page .cta-box h2 {
    font-size: 24px;
    margin-bottom: 10px;
    line-height: 1.25;
  }

  .oil-gas-page .cta-box p {
    font-size: 14px;
    line-height: 1.55;
  }

  .oil-gas-page .cta-box .cta-btn {
    margin-top: 20px;
    transition: box-shadow 0.5s ease, transform 0.4s ease;
  }

  .oil-gas-page .cta-box .cta-btn.glow {
    box-shadow: 0 0 28px rgba(200, 166, 70, 0.85), 0 0 50px rgba(200, 166, 70, 0.4);
  }

  .oil-gas-page .footer {
    padding: 40px 24px 32px;
  }

  /* ================= FOOTER MOBILE ================= */
  .footer {
    padding: 50px 0 36px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

/* ================= EXTRA SMALL (old version had no 480px; keep proportional) ================= */
@media (max-width: 480px) {
  :root {
    --section-pad: 64px;
  }

  .container {
    padding: 0 20px;
  }

  .nav-inner {
    padding: 0 5%;
    height: 52px;
    min-height: 52px;
  }

  .nav.scrolled .nav-inner {
    max-width: 94%;
    padding: 10px 20px;
    height: 52px;
    min-height: 52px;
  }

  .logo img {
    height: 44px;
  }

  .nav-links {
    width: calc(100vw - 24px);
    padding: 0 12px 18px;
  }

  .nav-links .dropdown-logo {
    padding: 16px 8px 12px;
    margin-bottom: 6px;
  }

  .nav-links .dropdown-logo img {
    height: 40px;
  }

  .nav-links a:not(.dropdown-logo) {
    font-size: 16px;
    padding: 13px 16px;
  }

  .hero-content h1 {
    font-size: 24px;
  }

  .hero-content h1 span:last-child {
    font-size: 16px;
  }

  .hero-content p {
    font-size: 14px;
  }

  .about .container {
    padding-left: 24px;
    padding-right: 24px;
  }

  .about-inner {
    gap: 24px;
    padding: 24px 0;
  }

  .about-left h2 {
    font-size: 26px;
  }

  .about-card {
    padding: 12px 16px;
    font-size: 13.5px;
  }

  .divisions .container {
    padding-left: 24px;
    padding-right: 24px;
  }

  .division-grid {
    max-width: 100%;
    gap: 20px;
  }

  .division-card {
    height: 320px;
  }

  .section-title {
    font-size: 26px;
    margin-bottom: 40px;
  }

  .execution .container {
    padding-left: 24px;
    padding-right: 24px;
  }

  .execution-grid {
    max-width: 100%;
    gap: 16px;
  }

  .approach .container {
    padding-left: 24px;
    padding-right: 24px;
  }

  .approach-grid {
    max-width: 100%;
    gap: 16px;
  }

  .why .container {
    padding-left: 24px;
    padding-right: 24px;
  }

  .why-grid {
    max-width: 100%;
    gap: 16px;
  }

  .execution-item,
  .why-item,
  .approach-item {
    padding: 14px 16px;
    border-radius: 12px;
  }

  .execution-item h3,
  .why-item h4 {
    font-size: 16px;
    margin-bottom: 4px;
  }

  .execution-item p,
  .why-item p,
  .approach-item p {
    font-size: 13px;
  }

  .approach-item h3 {
    font-size: 16px;
    margin-bottom: 4px;
  }

  .execution,
  .why,
  .approach {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .cta h2 {
    font-size: 22px;
  }

  /* Kitchen page – extra small (flow contained in strip) */
  .kitchen-page .timeline-section {
    margin-top: 72px;
    padding-left: 16px;
  }

  .kitchen-page .timeline-svg-wrap {
    width: 64px;
  }

  .kitchen-page .timeline-svg {
    height: 100%;
    min-height: 100%;
  }

  .kitchen-page .timeline-header {
    margin-bottom: 28px;
    padding: 0 20px;
  }

  .kitchen-page .timeline-title {
    font-size: 22px;
  }

  .kitchen-page .timeline-subtitle {
    font-size: 13px;
  }

  .kitchen-page .timeline-content {
    padding: 0 16px 0 84px;
  }

  .kitchen-page .timeline-item {
    margin: 36px 0;
  }

  .kitchen-page .timeline-item:first-child {
    margin-top: 20px;
  }

  .kitchen-page .timeline-num {
    font-size: 11px;
  }

  .kitchen-page .timeline-text h2 {
    font-size: 18px;
    margin-bottom: 6px;
  }

  .kitchen-page .timeline-text p {
    font-size: 13px;
  }

  body:is(.kitchen-page, .oil-gas-page) .kitchen-cta {
    padding: 40px 20px 32px;
  }

  .kitchen-page .cta-box h2 {
    font-size: 20px;
  }

  .kitchen-page .cta-box p {
    font-size: 13px;
  }

  .kitchen-page .footer {
    padding: 36px 20px 28px;
  }

  /* Oil & Gas page – extra small */
  .oil-gas-page .timeline-section {
    margin-top: 72px;
    padding-left: 16px;
  }

  .oil-gas-page .timeline-svg-wrap {
    width: 64px;
  }

  .oil-gas-page .timeline-svg {
    height: 100%;
    min-height: 100%;
  }

  .oil-gas-page .timeline-header {
    margin-bottom: 28px;
    padding: 0 20px;
  }

  .oil-gas-page .timeline-title {
    font-size: 22px;
  }

  .oil-gas-page .timeline-subtitle {
    font-size: 13px;
  }

  .oil-gas-page .timeline-content {
    padding: 0 16px 0 84px;
  }

  .oil-gas-page .timeline-item {
    margin: 36px 0;
  }

  .oil-gas-page .timeline-item:first-child {
    margin-top: 20px;
  }

  .oil-gas-page .timeline-num {
    font-size: 11px;
  }

  .oil-gas-page .timeline-text h2 {
    font-size: 18px;
    margin-bottom: 6px;
  }

  .oil-gas-page .timeline-text p {
    font-size: 13px;
  }

  .oil-gas-page .oil-gas-cta {
    padding: 40px 20px 32px;
  }

  .oil-gas-page .cta-box h2 {
    font-size: 20px;
  }

  .oil-gas-page .cta-box p {
    font-size: 13px;
  }

  .oil-gas-page .footer {
    padding: 36px 20px 28px;
  }
}

/* Tablet polish: smoother reveal rhythm for Core Services + Why Tradea Monde */
@media (min-width: 601px) and (max-width: 992px) {
  /* Kitchen + Oil & Gas intro sizing: tablet-optimized (not phone-tight) */
  body:is(.kitchen-page, .oil-gas-page) .about.page-intro-section {
    padding-top: 124px !important;
  }

  body:is(.kitchen-page, .oil-gas-page) .page-intro-section .page-intro-inner {
    padding: 52px 28px 26px;
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
  }

  body:is(.kitchen-page, .oil-gas-page) .page-intro-section .page-intro-heading {
    font-size: clamp(32px, 4.3vw, 42px);
    line-height: 1.14;
  }

  body:is(.kitchen-page, .oil-gas-page) .page-intro-section .page-intro-subheading {
    font-size: 12.5px;
    letter-spacing: 0.2em;
    margin-bottom: 20px;
  }

  body:is(.kitchen-page, .oil-gas-page) .page-intro-section .page-intro-body p {
    font-size: 16px;
    line-height: 1.78;
    max-width: 66ch;
    margin-left: auto;
    margin-right: auto;
  }

  /* Kitchen + Oil & Gas timeline: upscale tablet rhythm */
  body:is(.kitchen-page, .oil-gas-page) #kitchen-timeline {
    padding: 132px 0 64px !important;
  }

  .kitchen-timeline-header {
    max-width: 860px;
    margin: 0 auto 42px;
    padding: 0 20px;
  }

  .kitchen-timeline-label {
    font-size: 10.5px;
    letter-spacing: 0.22em;
  }

  .kitchen-timeline-title {
    font-size: clamp(26px, 3.3vw, 34px);
    line-height: 1.16;
    margin-bottom: 12px;
  }

  .kitchen-timeline-intro {
    font-size: 15px;
    line-height: 1.72;
    max-width: 62ch;
  }

  .kitchen-flow-mobile {
    width: 72px;
  }

  .kitchen-timeline-steps {
    margin-left: 72px;
    padding-left: 20px;
    gap: 62px;
    max-width: 92%;
  }

  .kitchen-step {
    padding: 14px 4px;
  }

  .kitchen-step-meta {
    font-size: 10.5px;
    letter-spacing: 0.2em;
  }

  .kitchen-step-title {
    font-size: 19px;
    margin-bottom: 6px;
  }

  .kitchen-step-body {
    font-size: 14px;
    line-height: 1.7;
  }

  body:is(.kitchen-page, .oil-gas-page) .kitchen-cta {
    padding: 104px 0 40px;
  }

  .kitchen-cta-inner {
    max-width: 760px;
    margin: 0 auto;
    padding: 24px 28px 34px;
  }

  .kitchen-cta-inner .kitchen-cta-lede {
    font-size: 15px;
    line-height: 1.72;
    max-width: 44ch;
  }

  /* Hero alignment polish for tablets (iPad/Pro included) */
  .hero .slide {
    justify-content: flex-start;
    align-items: center;
    padding-left: clamp(44px, 6.5vw, 76px);
    padding-right: clamp(36px, 4.8vw, 58px);
  }

  .hero-content {
    margin-top: clamp(54px, 7vw, 78px);
    max-width: min(680px, 82vw);
    padding: 0;
    text-align: left;
  }

  .hero-content h1,
  .hero-content h2 {
    font-size: clamp(34px, 4.4vw, 48px);
    line-height: 1.14;
  }

  .hero-content h1 span:last-child,
  .hero-content h2 span:last-child {
    font-size: clamp(18px, 2.2vw, 24px);
    letter-spacing: 0.08em;
  }

  .hero-content p {
    max-width: 42ch;
    margin-bottom: 24px;
  }

  .hero-buttons {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    margin-top: 30px;
  }

  .hero-buttons .btn {
    width: auto;
    max-width: none;
    min-width: 200px;
    margin: 0;
    padding: 16px 26px;
  }

  .hero-buttons .btn-outline {
    margin-top: 0;
  }

  /* Inquiry page: center submit button on tablets */
  .inquiry-page-section .inquiry-submit {
    align-self: center;
    margin-left: auto;
    margin-right: auto;
    display: block;
  }

  .slide-indicator {
    right: 26px;
    bottom: 30px;
  }

  .divisions .container,
  .execution .container,
  .approach .container,
  .why .container {
    max-width: 900px;
  }

  .division-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 100%;
    gap: 22px;
  }

  .division-card {
    height: 360px;
  }

  .execution-grid,
  .approach-grid,
  .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 100%;
    gap: 22px;
  }

  .execution-item,
  .approach-item,
  .why-item {
    padding: 22px 22px;
  }

  .execution-item h3,
  .approach-item h3,
  .why-item h4 {
    font-size: 18px;
  }

  .execution-item p,
  .approach-item p,
  .why-item p {
    font-size: 14px;
    line-height: 1.6;
  }

  .divisions.reveal-init .division-card {
    opacity: 0;
    transform: translateY(24px) scale(0.988);
  }

  .divisions .division-card {
    transition:
      opacity 0.95s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.82s var(--ease-luxury),
      box-shadow 0.82s var(--ease-luxury),
      border-color 0.55s var(--ease-soft);
  }

  .divisions.reveal-active .division-grid .division-card:nth-child(1) { transition-delay: 0.14s; }
  .divisions.reveal-active .division-grid .division-card:nth-child(2) { transition-delay: 0.3s; }

  .divisions.reveal-active .division-card {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  .why.reveal-init .why-item {
    opacity: 0;
    transform: translateY(20px) scale(0.992);
  }

  .why-item {
    transition:
      transform 0.9s cubic-bezier(0.22, 1, 0.36, 1),
      background 0.42s var(--ease-soft),
      box-shadow 0.42s var(--ease-soft),
      border-color 0.42s var(--ease-soft),
      opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .why.reveal-active .why-grid .why-item:nth-child(1) { transition-delay: 0.12s; }
  .why.reveal-active .why-grid .why-item:nth-child(2) { transition-delay: 0.22s; }
  .why.reveal-active .why-grid .why-item:nth-child(3) { transition-delay: 0.32s; }
  .why.reveal-active .why-grid .why-item:nth-child(4) { transition-delay: 0.42s; }

  .why.reveal-active .why-item {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  /* iPad Pro 11 and similar large tablets: keep nav pill proportionate */
  .nav.scrolled .nav-inner {
    max-width: 620px;
  }

  /* Tablet nav/dropdown density (less airy, still touch-friendly) */
  .nav-links {
    margin-top: 22px;
    max-width: 360px;
    padding: 0 12px 16px;
  }

  .nav-links a:not(.dropdown-logo) {
    padding: 13px 16px;
    font-size: 16px;
  }

  .nav-links .dropdown-logo {
    padding: 16px 10px 12px;
    margin-bottom: 6px;
  }

  /* Tablet long-form readability lock */
  .about-left p,
  .page-intro-section .page-intro-body p,
  .contact-intro,
  .cta-intro,
  .kitchen-step-body {
    max-width: 64ch;
    margin-left: auto;
    margin-right: auto;
    font-size: var(--type-body-tablet);
    line-height: 1.7;
  }

  body.privacy-page .why p {
    max-width: 68ch;
    font-size: var(--type-body-tablet);
    line-height: 1.72;
  }

  /* Timeline active emphasis: keep premium, reduce glow intensity on tablets */
  .kitchen-flow-mobile-progress.pulse {
    stroke-width: 4.8;
    filter:
      drop-shadow(0 0 4px rgba(200,166,70,0.5))
      drop-shadow(0 0 9px rgba(200,166,70,0.25));
  }

  .kitchen-step.active,
  .kitchen-step.is-active {
    transform: translateY(-2px);
    opacity: 0.96;
  }

  /* Contact page tablet fix: stable card rhythm + proper spacing */
  body.contact-page .why.contact-page-section {
    padding-top: clamp(112px, 13vw, 136px);
    padding-bottom: clamp(72px, 8vw, 96px);
  }

  body.contact-page .why.contact-page-section .container {
    max-width: 860px;
  }

  body.contact-page .why.contact-page-section .contact-intro {
    max-width: 60ch;
    margin-bottom: 36px;
    text-align: center;
  }

  body.contact-page .why.contact-page-section .contact-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    max-width: 900px;
    margin: 0 auto 36px;
    align-items: stretch;
  }

  body.contact-page .why.contact-page-section .contact-grid .contact-card:nth-child(3) {
    grid-column: auto;
    justify-self: stretch;
    width: auto;
  }

  body.contact-page .why.contact-page-section .contact-card {
    padding: 20px 18px;
    min-height: 158px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }

  body.contact-page .why.contact-page-section .contact-card p {
    margin-top: 8px;
  }

  body.contact-page .why.contact-page-section .contact-cta {
    margin-top: 6px;
  }

  body.contact-page .why.contact-page-section .contact-cta .btn {
    min-width: 210px;
  }
}

/* ================= GLOBAL CROSS-DEVICE POLISH (safe overrides) ================= */

/* Desktop/wide: improve reading comfort on text-heavy blocks */
@media (min-width: 1200px) {
  .page-intro-section .page-intro-body p,
  .about-left p,
  .execution-item p,
  .approach-item p,
  .why-item p,
  .kitchen-step-body {
    max-width: 68ch;
  }
}

/* Tablet: unify typography rhythm and spacing across shared components */
@media (min-width: 601px) and (max-width: 992px) {
  .section-title {
    font-size: clamp(34px, 4.1vw, 42px);
    line-height: 1.2;
    margin-bottom: 34px;
  }

  .about-left p,
  .page-intro-section .page-intro-body p,
  .execution-item p,
  .approach-item p,
  .why-item p,
  .kitchen-step-body {
    font-size: 15px;
    line-height: 1.68;
  }

  .footer-inner {
    gap: 14px;
  }
}

/* Mid-size phones: cleaner visual hierarchy and tappable controls */
@media (min-width: 481px) and (max-width: 600px) {
  .section-title {
    font-size: clamp(25px, 6.6vw, 30px);
    line-height: 1.22;
    margin-bottom: 32px;
  }

  .btn,
  .division-btn {
    min-height: 48px;
  }

  .page-intro-section .page-intro-heading {
    text-wrap: balance;
  }

  .page-intro-section .page-intro-body p,
  .about-left p,
  .execution-item p,
  .approach-item p,
  .why-item p,
  .kitchen-step-body {
    line-height: 1.65;
  }
}

/* Small phones: preserve legibility and avoid cramped wrapping */
@media (max-width: 480px) {
  .btn,
  .division-btn {
    min-height: 46px;
  }

  .page-intro-section .page-intro-heading,
  .footer-left,
  .footer-right {
    text-wrap: balance;
  }
}

/* Very small phones: prevent cramped nav/hero/content */
@media (max-width: 360px) {
  .container,
  .about .container,
  .divisions .container,
  .execution .container,
  .approach .container,
  .why .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .nav-links {
    width: calc(100vw - 16px);
    margin-top: 18px;
  }

  .hero-content h1,
  .hero-content h2 {
    font-size: 21px;
    line-height: 1.22;
  }

  .hero-content h1 span:last-child,
  .hero-content h2 span:last-child {
    font-size: 14px;
    letter-spacing: 0.05em;
  }

  .hero-buttons {
    gap: 14px;
    margin-top: 26px;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 100%;
    padding: 14px 14px;
  }

  .section-title {
    font-size: 22px;
    line-height: 1.2;
    margin-bottom: 24px;
  }
}

/* Wide desktop polish: avoid over-stretched spacing */
@media (min-width: 1400px) {
  .hero .slide {
    padding-left: clamp(88px, 7vw, 150px);
    padding-right: clamp(64px, 5vw, 120px);
  }

  .hero-content {
    max-width: 760px;
  }

  .slide-indicator {
    right: clamp(34px, 3.2vw, 64px);
  }

  .divisions .container,
  .execution .container,
  .approach .container,
  .why .container {
    max-width: 1240px;
  }
}
