/* ==========================================================================
   DIAMOND LOJİSTİK — Design System (Navy Blue Theme)
   ========================================================================== */

:root {
  /* Core Navy Blue (Lacivert) Brand Palette */
  --navy-primary: #0B1F4D;
  --navy-deep: #071538;
  --navy-mid: #122E6E;
  --navy-accent: #1E4FD6;
  --navy-bright: #2B62F6;
  --navy-tint: #D6E4FF;
  --navy-tint-soft: rgba(30, 79, 214, 0.10);

  /* Neutrals & Surfaces */
  --surface-white: #FFFFFF;
  --surface-grey: #F4F6FA;
  --surface-grey-2: #EAEFF6;
  --surface-glass: rgba(255, 255, 255, 0.88);
  --surface-glass-strong: rgba(255, 255, 255, 0.95);

  /* Text Colors */
  --text-01: #0A1120;
  --text-02: #243047;
  --text-03: #525E73;
  --text-07: #FFFFFF;

  /* Borders & Dividers */
  --border-light: rgba(11, 31, 77, 0.12);
  --border-card: rgba(11, 31, 77, 0.08);
  --border-white: rgba(255, 255, 255, 0.28);

  /* Layout & Spacing */
  --nav-height: 3.35rem;
  --container-max: 1440px;
  --gutter: clamp(1rem, 2.5vw, 2.5rem);
  --radius-sm: 0.5rem;
  --radius-md: 0.85rem;
  --radius-lg: 1.25rem;
  --radius-pill: 9999px;

  /* Transitions */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: auto; /* Controlled by Lenis */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Clash Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--surface-white);
  color: var(--text-01);
  line-height: 1.45;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

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

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

/* Typography Scale */
.text-h0 {
  font-size: clamp(2.4rem, 4.6vw, 4.75rem);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.025em;
}

.text-h1 {
  font-size: clamp(1.85rem, 2.75vw, 2.85rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.text-h2 {
  font-size: clamp(1.65rem, 2.6vw, 2.65rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.text-h3 {
  font-size: clamp(1.2rem, 1.55vw, 1.55rem);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.text-body {
  font-size: clamp(0.95rem, 1.02vw, 1.05rem);
  font-weight: 400;
  line-height: 1.55;
  color: var(--text-02);
}

.text-sm {
  font-size: 0.875rem;
  line-height: 1.45;
}

/* Section Tag Pill (● tag) */
.section_tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.75rem;
  border-radius: 0.35rem;
  background-color: var(--surface-white);
  border: 1px solid var(--border-light);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-01);
  letter-spacing: 0.01em;
}

.section_tag--grey {
  background-color: var(--surface-grey);
}

.section_tag::before {
  content: '';
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
  background-color: var(--navy-primary);
  flex-shrink: 0;
}

/* ==========================================================================
   Split-Pill & Standard Pill Buttons
   ========================================================================== */
.pill_btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 500;
  transition: transform 0.3s var(--ease-out-expo), background-color 0.25s ease, box-shadow 0.25s ease;
}

.pill_btn--accent {
  background-color: var(--navy-accent);
  color: var(--text-07);
}

.pill_btn--accent:hover {
  background-color: var(--navy-primary);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(11, 31, 77, 0.22);
}

.pill_btn--navy {
  background-color: var(--navy-primary);
  color: var(--text-07);
}

.pill_btn--navy:hover {
  background-color: var(--navy-accent);
  transform: translateY(-1px);
}

.pill_btn--white {
  background-color: var(--surface-white);
  color: var(--text-01);
  border: 1px solid var(--border-light);
}

.pill_btn--white:hover {
  border-color: var(--navy-primary);
  color: var(--navy-primary);
}

/* Dual-part Split Pill (Text Pill + Connected Circle Arrow) */
.split_pill {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  group: true;
}

.split_pill_label {
  display: inline-flex;
  align-items: center;
  padding: 0.65rem 1.2rem;
  border-radius: var(--radius-pill);
  background-color: var(--navy-accent);
  color: var(--text-07);
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background-color 0.25s ease, transform 0.3s var(--ease-out-expo);
}

.split_pill_arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  background-color: var(--navy-accent);
  color: var(--text-07);
  transition: background-color 0.25s ease, transform 0.3s var(--ease-out-expo);
}

.split_pill:hover .split_pill_label,
.split_pill:hover .split_pill_arrow {
  background-color: var(--navy-primary);
}

.split_pill:hover .split_pill_arrow {
  transform: translateX(3px);
}

.split_pill--translucent .split_pill_label,
.split_pill--translucent .split_pill_arrow {
  background-color: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
  color: var(--text-07);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.split_pill--translucent:hover .split_pill_label,
.split_pill--translucent:hover .split_pill_arrow {
  background-color: rgba(255, 255, 255, 0.36);
}

/* ==========================================================================
   GSAP Animated Underline Link
   ========================================================================== */
.gsap-underline {
  position: relative;
  display: inline-block;
}

.gsap-underline::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background-color: currentColor;
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.35s var(--ease-out-expo);
}

.gsap-underline:hover::after {
  transform: scaleX(1);
  transform-origin: left center;
}

/* ==========================================================================
   1. FIXED TOP NAVIGATION BAR & MEGA-MENUS
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  padding: 0.6rem var(--gutter) 0;
  pointer-events: none;
}

.navbar_inner {
  pointer-events: auto;
  display: flex;
  align-items: stretch;
  height: 100%;
  background-color: var(--surface-white);
  border: 1px solid var(--border-light);
  border-radius: 0.45rem;
  box-shadow: 0 4px 20px rgba(7, 21, 56, 0.06);
  overflow: visible;
  position: relative;
}

.nav_logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.9rem;
  height: 100%;
  background-color: transparent;
  border-right: 1px solid var(--border-light);
  border-radius: 0.4rem 0 0 0.4rem;
  flex-shrink: 0;
  transition: background-color 0.25s ease;
}

.nav_logo:hover {
  background-color: rgba(11, 31, 77, 0.04);
}

.nav_logo_img {
  height: 2.35rem;
  max-height: calc(var(--nav-height) - 1.25rem);
  width: auto;
  display: block;
  object-fit: contain;
}

.nav_links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0 1rem;
  border-right: 1px solid var(--border-light);
}

.nav_item {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.nav_link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text-01);
  border-radius: 0.3rem;
  transition: color 0.2s ease, background-color 0.2s ease;
  white-space: nowrap;
}

.nav_link:hover,
.nav_item.is-open .nav_link {
  color: var(--navy-accent);
  background-color: var(--navy-tint-soft);
}

.nav_spacer {
  flex: 1;
}

/* Search Box */
.nav_search_wrap {
  display: flex;
  align-items: center;
  border-left: 1px solid var(--border-light);
  position: relative;
}

.nav_search_btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 100%;
  color: var(--text-01);
  transition: color 0.2s ease, background-color 0.2s ease;
}

.nav_search_btn:hover {
  color: var(--navy-accent);
  background-color: var(--surface-grey);
}

.nav_search_panel {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  width: 22rem;
  background: var(--surface-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 0.65rem;
  box-shadow: 0 16px 40px rgba(7, 21, 56, 0.14);
  display: none;
  gap: 0.5rem;
  align-items: center;
  z-index: 1010;
}

.nav_search_panel.is-open {
  display: flex;
}

.nav_search_input {
  flex: 1;
  border: 1px solid var(--border-light);
  border-radius: 0.35rem;
  padding: 0.5rem 0.75rem;
  font-family: inherit;
  font-size: 0.875rem;
  outline: none;
}

.nav_search_input:focus {
  border-color: var(--navy-accent);
}

/* Language Switcher */
.nav_lang_wrap {
  position: relative;
  border-left: 1px solid var(--border-light);
  display: flex;
  align-items: stretch;
}

.nav_lang_btn {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0 1rem;
  background-color: var(--surface-grey);
  font-size: 0.85rem;
  font-weight: 500;
  transition: background-color 0.2s ease;
}

.nav_lang_btn:hover {
  background-color: var(--surface-grey-2);
}

.nav_lang_menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  min-width: 10.5rem;
  background: var(--surface-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  box-shadow: 0 16px 36px rgba(7, 21, 56, 0.14);
  padding: 0.4rem;
  display: none;
  flex-direction: column;
  z-index: 1010;
}

.nav_lang_menu.is-open {
  display: flex;
}

.nav_lang_option {
  text-align: left;
  padding: 0.45rem 0.75rem;
  font-size: 0.85rem;
  border-radius: 0.3rem;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.nav_lang_option:hover,
.nav_lang_option.is-active {
  background-color: var(--navy-tint-soft);
  color: var(--navy-primary);
  font-weight: 500;
}

/* Navbar Right CTAs */
.nav_tracking_btn {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0 1.15rem;
  border-left: 1px solid var(--border-light);
  font-size: 0.875rem;
  font-weight: 400;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav_tracking_btn:hover {
  background-color: var(--surface-grey);
  color: var(--navy-primary);
}

.nav_inquiry_btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 1.45rem;
  background-color: var(--navy-primary);
  color: var(--text-07);
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  border-radius: 0 0.4rem 0.4rem 0;
  transition: background-color 0.25s ease;
}

.nav_inquiry_btn:hover {
  background-color: var(--navy-accent);
}

/* Mega Menu Dropdown */
.mega_menu {
  position: absolute;
  top: calc(100% + 0.55rem);
  left: 0;
  right: 0;
  background: var(--surface-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: 0 24px 60px rgba(7, 21, 56, 0.15);
  padding: 1.75rem;
  display: none;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: 2rem;
  z-index: 999;
}

.mega_menu.is-open {
  display: grid;
  animation: fadeSlideDown 0.25s var(--ease-out-expo);
}

@keyframes fadeSlideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mega_col_title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-03);
  margin-bottom: 0.85rem;
  font-weight: 600;
}

.mega_list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mega_list a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: var(--text-01);
  padding: 0.25rem 0;
  transition: color 0.2s ease, transform 0.2s ease;
}

.mega_list a:hover {
  color: var(--navy-accent);
  transform: translateX(4px);
}

.mega_promo_cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.mega_promo_card {
  background: var(--surface-grey);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 9rem;
  transition: border-color 0.2s ease, transform 0.25s ease;
}

.mega_promo_card:hover {
  border-color: var(--navy-accent);
  transform: translateY(-2px);
}

.mega_promo_card--navy {
  background: linear-gradient(135deg, var(--navy-primary), var(--navy-mid));
  color: var(--text-07);
}

.nav_mobile_toggle {
  display: none;
  align-items: center;
  gap: 0.5rem;
  padding: 0 1rem;
  border-left: 1px solid var(--border-light);
  font-size: 0.875rem;
  font-weight: 500;
}

.mobile_drawer {
  position: fixed;
  top: calc(var(--nav-height) + 0.5rem);
  left: var(--gutter);
  right: var(--gutter);
  max-height: calc(100vh - var(--nav-height) - 1.5rem);
  overflow-y: auto;
  background: var(--surface-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: 0 24px 60px rgba(7, 21, 56, 0.2);
  padding: 1.5rem;
  z-index: 998;
  display: none;
  flex-direction: column;
  gap: 1.25rem;
}

.mobile_drawer.is-open {
  display: flex;
  animation: fadeSlideDown 0.25s var(--ease-out-expo);
}

.mobile_drawer_group_title {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-03);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.mobile_drawer_links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.45rem 1rem;
}

.mobile_drawer_links a {
  font-size: 0.92rem;
  padding: 0.35rem 0;
  color: var(--text-01);
}

.mobile_drawer_links a:hover {
  color: var(--navy-accent);
}

/* ==========================================================================
   2. HERO SECTION (Full-bleed 100vh 3D Video, Hotspots, Frosted Card, 5 Tabs)
   ========================================================================== */
.hero_s {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 680px;
  overflow: hidden;
  background-color: var(--navy-deep);
}

.hero_video_wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.hero_video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.5s ease;
}

.hero_3d_stage {
  transform-origin: center center;
  will-change: transform;
}

.hero_video_scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(7, 21, 56, 0.22) 0%,
    rgba(7, 21, 56, 0.08) 45%,
    rgba(7, 21, 56, 0.48) 100%
  );
  pointer-events: none;
}

/* Interactive Hotspot Triggers (+) */
.hero_hotspots {
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
}

.hero_hotspot {
  position: absolute;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.85);
  transition: opacity 0.35s ease, transform 0.35s var(--ease-out-expo);
}

.hero_hotspot.is-visible {
  pointer-events: auto;
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.hero_hotspot.is-open .hero_card_trigger {
  background-color: var(--navy-accent);
}

.hero_hotspot.is-open .hero_card_svg {
  transform: rotate(135deg);
}

.hero_hotspot.is-open .hero_card_wrap {
  max-height: 28rem;
  opacity: 1;
  padding: 1.25rem;
  pointer-events: auto;
}

.hero_card_head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.4rem;
}

.hero_card_tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.hero_card_tag {
  font-size: 0.7rem;
  font-weight: 500;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: var(--navy-tint);
  color: var(--navy-primary);
}

.hero_card_sub {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-01);
  margin-bottom: 0.35rem;
}

.hero_card_body {
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--text-02);
  margin-bottom: 0.7rem;
}

.hero_card_glance {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-03);
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.hero_card_list li {
  justify-content: space-between;
  gap: 0.75rem;
}

.hero_card_list li::before {
  display: none;
}

.hero_card_list li span {
  color: var(--text-03);
}

.hero_card_list li strong {
  color: var(--text-01);
  font-weight: 600;
  text-align: right;
}

.hero_card_trigger {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: var(--navy-primary);
  color: var(--text-07);
  border: 2px solid rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(7, 21, 56, 0.35);
  transition: transform 0.35s var(--ease-out-expo), background-color 0.25s ease;
  position: relative;
}

.hero_card_trigger::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1.5px solid rgba(214, 228, 255, 0.7);
  animation: pulseRing 2.2s infinite ease-out;
}

@keyframes pulseRing {
  0% { transform: scale(0.9); opacity: 0.9; }
  100% { transform: scale(1.45); opacity: 0; }
}

.hero_card_svg {
  transition: transform 0.35s var(--ease-out-expo);
}

.hero_card_trigger.is-active {
  background-color: var(--navy-accent);
}

.hero_card_trigger.is-active .hero_card_svg {
  transform: rotate(135deg);
}

.hero_card_wrap {
  position: absolute;
  top: 3rem;
  left: 50%;
  transform: translateX(-50%);
  width: 17.5rem;
  background: var(--surface-glass-strong);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: 0 20px 45px rgba(7, 21, 56, 0.25);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  transition: max-height 0.45s var(--ease-out-expo), opacity 0.3s ease, padding 0.3s ease;
}

.hero_card_wrap.is-active {
  max-height: 26rem;
  opacity: 1;
  padding: 1.15rem;
  pointer-events: auto;
}

.hero_card_title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy-primary);
  margin-bottom: 0.6rem;
}

.hero_card_list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.84rem;
  color: var(--text-02);
  margin-bottom: 0.85rem;
}

.hero_card_list li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.hero_card_list li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--navy-accent);
  flex-shrink: 0;
}

.hero_card_link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--navy-accent);
}

/* Hero Overlay Layout (Bottom Left Glass Card + Bottom Timeline Bar) */
.hero_overlay {
  position: relative;
  z-index: 5;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: calc(var(--nav-height) + 1rem) var(--gutter) 1.5rem;
  pointer-events: none;
}

.hero_glass_wrap {
  pointer-events: auto;
  max-width: 34rem;
  margin-bottom: 1.1rem;
}

.hero_chapter_badges {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 0.65rem;
}

.hero_badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: var(--surface-white);
  color: var(--text-01);
  font-size: 0.78rem;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(7, 21, 56, 0.14);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.hero_badge.is-active {
  background: var(--navy-primary);
  color: var(--text-07);
}

.hero_glass_card {
  background: var(--surface-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: var(--radius-md);
  padding: 1.85rem;
  box-shadow: 0 24px 48px rgba(7, 21, 56, 0.18);
}

.hero_glass_card h1 {
  font-size: clamp(1.75rem, 2.55vw, 2.55rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--text-01);
  margin-bottom: 0.9rem;
}

.hero_glass_card p {
  font-size: 0.93rem;
  line-height: 1.55;
  color: var(--text-02);
  margin-bottom: 1.4rem;
}

.hero_ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Bottom 5-Chapter Timeline Bar */
.hero_timeline_bar {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.15rem;
  padding-right: 4.5rem;
  position: relative;
}

.hero_tabs {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
  position: relative;
}

.hero_tab_icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hero_tab_label {
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  white-space: nowrap;
  transition: max-width 0.35s var(--ease-out-expo), opacity 0.25s ease, margin-left 0.25s ease;
}

.hero_tab.is-active .hero_tab_label {
  max-width: 10rem;
  opacity: 1;
  margin-left: 0.15rem;
}

.hero_progress_track {
  position: absolute;
  left: 0;
  right: 4.5rem;
  top: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.55);
  border-radius: 999px;
}

.hero_progress_fill {
  width: 5%;
  height: 100%;
  background: var(--navy-primary);
  transition: width 0.4s var(--ease-out-expo);
}

.hero_progress_dots {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
}

.hero_progress_dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  border: 1.5px solid var(--navy-primary);
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.hero_progress_dot.is-active {
  background: var(--navy-primary);
  transform: scale(1.25);
}

.hero_tab {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(10px);
  color: var(--text-01);
  font-size: 0.82rem;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.5);
  transition: all 0.25s var(--ease-out-expo);
}

.hero_tab:hover {
  background: var(--navy-tint);
  color: var(--navy-primary);
}

.hero_tab.is-active {
  background: var(--navy-primary);
  color: var(--text-07);
  border-color: var(--navy-primary);
  box-shadow: 0 6px 18px rgba(11, 31, 77, 0.3);
}

.hero_tab_num {
  font-size: 0.74rem;
  opacity: 0.8;
  font-weight: 600;
}

/* ==========================================================================
   3. INTRO SECTION (.home_intro_s)
   ========================================================================== */
.home_intro_s {
  position: relative;
  padding: 5.5rem 0 6.5rem;
  background-color: var(--surface-white);
  overflow: hidden;
}

.intro_bg_curves {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
}

.intro_grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 3rem;
  align-items: end;
}

.intro_truck_wrap {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  justify-content: flex-end;
  margin-bottom: -1.5rem;
}

.intro_truck_img {
  width: min(100%, 42rem);
  height: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
  -webkit-mask-image: linear-gradient(to bottom, black 82%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 82%, transparent 100%);
}

.intro_heading_col {
  grid-column: 1;
  grid-row: 2;
}

.intro_copy_col {
  grid-column: 2;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.intro_ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ==========================================================================
   4. STICKY GLOBE STATS SECTION (.home_sticky_s)
   ========================================================================== */
.home_sticky_s {
  position: relative;
  background-color: var(--surface-grey);
  height: 210vh;
  padding: 0;
  overflow: clip;
  border-top: 1px solid var(--border-card);
  border-bottom: 1px solid var(--border-card);
}

.stats_sticky_inner {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.stats_header {
  position: absolute;
  top: 5.5rem;
  left: 0;
  right: 0;
  z-index: 4;
  pointer-events: none;
}

.stats_kpi_container {
  position: relative;
  z-index: 3;
  pointer-events: none;
}

.stats_kpi_grid {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.25rem 0;
  width: 100%;
  max-width: 36rem;
  margin: 0 auto;
}

.stats_kpi_item {
  text-align: center;
  padding: 0 1.5rem;
  position: relative;
}

.stats_kpi_item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background-color: var(--border-light);
}

.stats_kpi_num {
  font-size: clamp(2rem, 3.2vw, 3.35rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--text-01);
  margin-bottom: 0.35rem;
}

.stats_kpi_label {
  font-size: 0.84rem;
  color: var(--text-03);
}

.stats_globe_wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  z-index: 1;
  overflow: hidden;
  display: flex;
  justify-content: center;
}

.stats_globe_canvas {
  width: 100%;
  height: 100%;
  display: block;
  cursor: grab;
  touch-action: none;
}

.stats_globe_img {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(100%) contrast(1.12) brightness(1.06);
  mix-blend-mode: multiply;
  -webkit-mask-image: radial-gradient(ellipse 72% 88% at 50% 62%, black 46%, transparent 86%);
  mask-image: radial-gradient(ellipse 72% 88% at 50% 62%, black 46%, transparent 86%);
}

/* Animated Navy Orbital Arcs Overlay */
.stats_orbital_svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

.orbital_arc {
  fill: none;
  stroke: var(--navy-accent);
  stroke-width: 2;
  stroke-dasharray: 6 6;
  animation: dashMove 18s linear infinite;
}

@keyframes dashMove {
  to {
    stroke-dashoffset: -240;
  }
}

.orbital_node {
  fill: var(--navy-accent);
}

.orbital_pulse {
  fill: var(--navy-accent);
  opacity: 0.35;
  transform-origin: center;
  animation: nodePulse 2.4s ease-out infinite;
}

@keyframes nodePulse {
  0% { r: 4; opacity: 0.65; }
  100% { r: 16; opacity: 0; }
}

/* ==========================================================================
   5. SERVICES 8-CARD GRID & FREIGHT / WAREHOUSING SPLITS (.services_s)
   ========================================================================== */
.services_s {
  padding: 6rem 0;
  background-color: var(--surface-white);
}

.services_top_head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.services_grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background-color: var(--surface-white);
  margin-bottom: 6rem;
}

.service_card {
  background-color: #F4F5F7;
  border: none;
  border-radius: 0;
  padding: 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 19.5rem;
  transition: background-color 0.25s ease;
  position: relative;
  overflow: hidden;
}

.service_card:hover {
  background-color: #EAEFF6;
}

.service_card_visual {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 0 0.75rem;
  transition: transform 0.45s var(--ease-out-expo);
}

.service_card_visual svg {
  width: 100%;
  height: auto;
  max-height: 11.5rem;
}

.service_card:hover .service_card_visual {
  transform: scale(1.05);
}

.service_card_footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-01);
}

.service_card_arrow {
  opacity: 0;
  transform: translateX(-6px);
  color: var(--navy-accent);
  transition: opacity 0.25s ease, transform 0.3s var(--ease-out-expo);
}

.service_card:hover .service_card_arrow {
  opacity: 1;
  transform: translateX(0);
}

/* Freight Forwarding Split Block */
.split_block {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 4rem;
  align-items: start;
  margin-bottom: 6.5rem;
}

.split_block:last-child {
  margin-bottom: 0;
}

.split_left {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.feature_stack {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.feature_card {
  background-color: var(--surface-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 1.65rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.feature_card:hover {
  border-color: var(--navy-accent);
  box-shadow: 0 12px 28px rgba(11, 31, 77, 0.06);
}

.feature_card_head {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 0.75rem;
}

.feature_icon {
  width: 2.15rem;
  height: 2.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-primary);
  flex-shrink: 0;
}

.feature_card_title {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-01);
}

.warehousing_photo_wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--surface-grey);
  border: 1px solid var(--border-card);
}

.warehousing_photo_wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out-expo);
}

.warehousing_photo_wrap:hover img {
  transform: scale(1.03);
}

/* ==========================================================================
   6. ABOUT DIAMOND LOJİSTİK 5-PHOTO COLLAGE (.home_about_s)
   ========================================================================== */
.home_about_s {
  padding: 6rem 0;
  background-color: var(--surface-grey);
  border-top: 1px solid var(--border-card);
}

.about_collage {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
  margin: 2.25rem 0 4rem;
}

.collage_item {
  border-radius: var(--radius-sm);
  overflow: hidden;
  background-color: var(--navy-deep);
  position: relative;
}

.collage_item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s var(--ease-out-expo);
}

.collage_item:hover img {
  transform: scale(1.04);
}

.collage_1 { grid-column: span 5; height: 17rem; }
.collage_2 { grid-column: span 4; height: 17rem; }
.collage_3 { grid-column: span 3; height: 17rem; }
.collage_4 { grid-column: span 7; height: 18rem; }
.collage_5 { grid-column: span 5; height: 18rem; }

.about_copy_grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3.5rem;
  align-items: start;
}

.about_ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* ==========================================================================
   7. NEWS SECTION & SPLIDE CAROUSEL (.home_news_s)
   ========================================================================== */
.home_news_s {
  padding: 6.5rem 0 5.5rem;
  background-color: var(--surface-white);
}

.news_header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 42rem;
  margin-bottom: 3rem;
}

.news_featured {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  background-color: var(--surface-grey);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 3rem;
}

.news_featured_media {
  position: relative;
  min-height: 22rem;
  background: linear-gradient(135deg, var(--navy-primary), var(--navy-accent));
  overflow: hidden;
}

.news_featured_media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: luminosity;
  opacity: 0.72;
}

.news_featured_badge {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  background: rgba(7, 21, 56, 0.85);
  backdrop-filter: blur(8px);
  color: var(--text-07);
  padding: 0.5rem 0.9rem;
  border-radius: 0.4rem;
  font-size: 0.82rem;
  font-weight: 500;
}

.news_featured_body {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
}

.news_meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.82rem;
  color: var(--text-03);
}

/* Splide Carousel Cards */
.news_card {
  background-color: var(--surface-grey);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s ease, transform 0.3s var(--ease-out-expo);
}

.news_card:hover {
  border-color: var(--navy-accent);
  transform: translateY(-3px);
}

.news_card_img {
  height: 12.5rem;
  background: linear-gradient(135deg, var(--navy-primary), var(--navy-mid));
  position: relative;
  overflow: hidden;
}

.news_card_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.78;
}

.news_card_body {
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
  gap: 0.9rem;
}

.news_card_title {
  font-size: 1.08rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--text-01);
}

.news_card_link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--navy-accent);
}

.splide_controls_row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.75rem;
}

.splide__pagination {
  position: static !important;
  display: flex !important;
  gap: 0.45rem;
  justify-content: flex-start !important;
}

.splide__pagination__page {
  width: 0.55rem !important;
  height: 0.55rem !important;
  background: var(--border-light) !important;
  opacity: 1 !important;
  margin: 0 !important;
  transition: background-color 0.2s ease, width 0.25s ease !important;
}

.splide__pagination__page.is-active {
  background: var(--navy-primary) !important;
  width: 1.5rem !important;
  border-radius: 999px !important;
  transform: none !important;
}

.splide_nav_btns {
  display: flex;
  gap: 0.65rem;
}

/* ==========================================================================
   8. FAQ ACCORDION SECTION (.services_faq_s)
   ========================================================================== */
.services_faq_s {
  padding: 6rem 0;
  background-color: var(--surface-grey);
  border-top: 1px solid var(--border-card);
}

.faq_grid {
  display: grid;
  grid-template-columns: 0.9fr 1.25fr;
  gap: 4rem;
  align-items: start;
}

.faq_list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border-light);
}

.faq_item {
  border-bottom: 1px solid var(--border-light);
}

.faq_trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.45rem 0;
  text-align: left;
  font-size: 1.12rem;
  font-weight: 500;
  color: var(--text-01);
  outline: none;
  transition: color 0.2s ease;
}

.faq_trigger:focus-visible {
  outline: 2px solid var(--navy-accent);
  outline-offset: 4px;
  border-radius: 4px;
}

.faq_trigger:hover {
  color: var(--navy-accent);
}

.accordion_icon {
  position: relative;
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
}

.accordion_arrow {
  position: absolute;
  top: 50%;
  left: 50%;
  background-color: currentColor;
  transform: translate(-50%, -50%);
  transition: transform 0.35s var(--ease-out-expo), opacity 0.25s ease;
}

.accordion_arrow.is-hor {
  width: 100%;
  height: 1.5px;
}

.accordion_arrow.is-vert {
  width: 1.5px;
  height: 100%;
}

.faq_item.is-open .accordion_arrow.is-vert {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.faq_panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease-out-expo), padding-bottom 0.35s ease;
}

.faq_item.is-open .faq_panel {
  max-height: 22rem;
  padding-bottom: 1.4rem;
}

/* ==========================================================================
   9. FOOTER (.page_footer — Navy Warehouse Banner + Bottom Directory)
   ========================================================================== */
.footer_top_s {
  position: relative;
  background-color: var(--navy-primary);
  color: var(--text-07);
  min-height: 28rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 5rem var(--gutter);
}

.footer_top_bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.32;
  pointer-events: none;
}

.footer_top_content {
  position: relative;
  z-index: 2;
  max-width: 44rem;
}

.footer_top_content h2 {
  font-size: clamp(2rem, 3.6vw, 3.6rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
}

.footer_top_ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
}

.footer_bottom_s {
  background-color: var(--surface-grey);
  padding: 4.5rem 0 4.5rem;
  color: var(--text-01);
}

.footer_top_row {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr 0.8fr;
  gap: 2.5rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid var(--border-light);
}

.footer_logo_badge {
  display: inline-flex;
  align-items: center;
  background-color: transparent;
  border: none;
  padding: 0;
  width: fit-content;
}

.footer_logo_img {
  height: 4.5rem;
  width: auto;
  display: block;
  object-fit: contain;
}

.footer_label {
  font-size: 0.78rem;
  color: var(--text-03);
  margin-bottom: 0.45rem;
  text-transform: lowercase;
}

.footer_links_row {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding: 3.5rem 0;
}

.footer_col_title {
  font-size: 1.35rem;
  font-weight: 400;
  margin-bottom: 1.15rem;
}

.footer_nav_list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  font-size: 0.9rem;
  color: var(--text-03);
}

.footer_nav_list a:hover {
  color: var(--navy-primary);
}

.footer_bottom_bar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-light);
}

.footer_certs {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.cert_badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.85rem;
  background: var(--surface-white);
  border: 1px solid var(--border-light);
  border-radius: 0.4rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--navy-primary);
}

.footer_legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.8rem;
  color: var(--text-03);
  padding-right: 4.5rem;
}

.footer_legal a:hover {
  color: var(--navy-primary);
}

/* ==========================================================================
   FLOATING WIDGETS (Navy Chat Bubble & Cookie Button)
   ========================================================================== */
.floating_widgets {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 990;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.65rem;
}

.float_btn {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--surface-white);
  color: var(--navy-primary);
  border: 1px solid var(--border-light);
  box-shadow: 0 8px 24px rgba(7, 21, 56, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.float_btn--navy {
  background: var(--navy-primary);
  color: var(--text-07);
  border-color: var(--navy-primary);
}

.float_btn:hover {
  transform: scale(1.07);
}

.chat_drawer {
  position: fixed;
  bottom: 5.5rem;
  right: 1.25rem;
  width: 21rem;
  background: var(--surface-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: 0 24px 50px rgba(7, 21, 56, 0.22);
  z-index: 995;
  display: none;
  flex-direction: column;
  overflow: hidden;
}

.chat_drawer.is-open {
  display: flex;
  animation: fadeSlideDown 0.25s var(--ease-out-expo);
}

.chat_header {
  background: var(--navy-primary);
  color: var(--text-07);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 500;
}

.chat_body {
  padding: 1.25rem;
  font-size: 0.88rem;
  color: var(--text-02);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

/* ==========================================================================
   MODAL (Freight Inquiry Quick Modal)
   ========================================================================== */
.modal_backdrop {
  position: fixed;
  inset: 0;
  background: rgba(7, 21, 56, 0.55);
  backdrop-filter: blur(6px);
  z-index: 1200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal_backdrop.is-open {
  display: flex;
}

.modal_card {
  width: 100%;
  max-width: 34rem;
  background: var(--surface-white);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: 0 32px 64px rgba(7, 21, 56, 0.28);
  position: relative;
}

.form_grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin: 1.25rem 0;
}

.form_field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form_field--full {
  grid-column: span 2;
}

.form_field label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-02);
}

.form_field input,
.form_field select,
.form_field textarea {
  padding: 0.6rem 0.8rem;
  border: 1px solid var(--border-light);
  border-radius: 0.4rem;
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
}

.form_field input:focus,
.form_field select:focus,
.form_field textarea:focus {
  border-color: var(--navy-accent);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1100px) {
  .nav_links,
  .nav_tracking_btn,
  .nav_inquiry_btn {
    display: none;
  }
  .nav_mobile_toggle {
    display: flex;
  }
  .services_grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .split_block,
  .faq_grid,
  .news_featured,
  .intro_grid,
  .about_copy_grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }
  .intro_truck_wrap {
    grid-column: 1;
    grid-row: 1;
  }
  .intro_heading_col { grid-row: 2; }
  .intro_copy_col { grid-column: 1; grid-row: 3; }
  .footer_top_row,
  .footer_links_row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .services_grid,
  .stats_kpi_grid,
  .footer_top_row,
  .footer_links_row,
  .form_grid {
    grid-template-columns: 1fr;
  }
  .form_field--full { grid-column: span 1; }
  .stats_kpi_item:not(:nth-child(3n))::after { display: none; }
  .collage_1, .collage_2, .collage_3, .collage_4, .collage_5 {
    grid-column: span 12;
    height: 14rem;
  }
  .hero_hotspots { display: none; }
  .hero_glass_card { padding: 1.35rem; }
  .hero_timeline_bar { padding-right: 0; flex-direction: column; align-items: flex-start; }
  .floating_widgets { bottom: 0.75rem; right: 0.75rem; transform: scale(0.86); transform-origin: bottom right; }
}

/* ==========================================================================
   HERO 5-SCENE STAGE (camera-style transitions between 3D renders)
   ========================================================================== */
.hero_stage {
  position: absolute;
  inset: -16px;
  will-change: transform;
}

.hero_scene {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
}

.hero_scene img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: 50% 55%;
}

.hero_scene.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.hero_scene.is-active img {
  animation: heroDrift 22s ease-in-out infinite alternate;
}

@keyframes heroDrift {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to { transform: scale(1.07) translate3d(-1.2%, -0.8%, 0); }
}

/* entering: starts pulled back + soft focus, settles in */
.hero_scene.is-entering {
  animation: heroSceneIn 1.25s cubic-bezier(0.65, 0, 0.35, 1) both;
}
.hero_scene.is-entering img {
  animation: heroImgIn 1.25s cubic-bezier(0.65, 0, 0.35, 1) both;
}

/* leaving: camera pushes forward through it */
.hero_scene.is-leaving {
  visibility: visible;
  z-index: 1;
  animation: heroSceneOut 1.25s cubic-bezier(0.65, 0, 0.35, 1) both;
}
.hero_scene.is-leaving img {
  animation: heroImgOut 1.25s cubic-bezier(0.65, 0, 0.35, 1) both;
}

/* scrolling up reverses the camera direction */
.hero_scene.is-entering.dir-back img { animation-name: heroImgOut; animation-direction: reverse; }
.hero_scene.is-leaving.dir-back img { animation-name: heroImgIn; animation-direction: reverse; }

@keyframes heroSceneIn {
  0% { opacity: 0; }
  45% { opacity: 0.6; }
  100% { opacity: 1; }
}
@keyframes heroSceneOut {
  0% { opacity: 1; }
  100% { opacity: 1; }
}
@keyframes heroImgIn {
  0% { transform: scale(0.9) translate3d(4%, 3%, 0); filter: blur(8px) brightness(1.08); }
  100% { transform: scale(1.02) translate3d(0, 0, 0); filter: blur(0) brightness(1); }
}
@keyframes heroImgOut {
  0% { transform: scale(1.04) translate3d(0, 0, 0); filter: blur(0); }
  100% { transform: scale(1.35) translate3d(-6%, -4%, 0); filter: blur(10px) brightness(1.1); }
}

@media (prefers-reduced-motion: reduce) {
  .hero_scene.is-active img,
  .hero_scene.is-entering, .hero_scene.is-entering img,
  .hero_scene.is-leaving, .hero_scene.is-leaving img { animation: none !important; }
}

/* ==========================================================================
   SUBPAGES (Services, About, Contact, Careers — Reference-matched Layout)
   ========================================================================== */
.subpage_hero {
  padding: calc(var(--nav-height) + 4.5rem) 0 4rem;
  background: linear-gradient(180deg, var(--surface-grey) 0%, var(--surface-white) 100%);
  border-bottom: 1px solid var(--border-card);
}

.subpage_breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-03);
  margin-bottom: 1.5rem;
}

.subpage_breadcrumb a:hover {
  color: var(--navy-accent);
}

.subpage_hero_grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3.5rem;
  align-items: center;
}

.subpage_hero_media {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface-grey);
  border: 1px solid var(--border-card);
  aspect-ratio: 16 / 10;
}

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

.subpage_section {
  padding: 5.5rem 0;
}

.subpage_section--grey {
  background: var(--surface-grey);
  border-top: 1px solid var(--border-card);
  border-bottom: 1px solid var(--border-card);
}

.subpage_cards_3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.subpage_info_card {
  background: var(--surface-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact_grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3.5rem;
  align-items: start;
}

@media (max-width: 980px) {
  .subpage_hero_grid,
  .subpage_cards_3,
  .contact_grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ==========================================================================
   ENHANCED SUBPAGE COMPONENTS (Tabs, Filters, Timeline, Job Cards)
   ========================================================================== */
.filter_pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.5rem 0 2rem;
}

.filter_pill {
  padding: 0.5rem 1.15rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-light);
  background: var(--surface-white);
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--text-02);
  transition: all 0.2s ease;
}

.filter_pill:hover {
  border-color: var(--navy-accent);
  color: var(--navy-primary);
}

.filter_pill.is-active {
  background: var(--navy-primary);
  border-color: var(--navy-primary);
  color: var(--text-07);
}

.mode_showcase_card {
  background: var(--surface-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}

.mode_specs_grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.25rem;
}

.mode_spec_box {
  background: var(--surface-grey);
  padding: 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-card);
}

.mode_spec_label {
  font-size: 0.76rem;
  color: var(--text-03);
  margin-bottom: 0.2rem;
}

.mode_spec_val {
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy-primary);
}

.timeline_grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin-top: 2.25rem;
}

.timeline_card {
  background: var(--surface-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.timeline_year {
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--navy-accent);
  letter-spacing: -0.02em;
}

.subpage_cards_2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.subpage_cards_4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.job_card {
  background: var(--surface-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 1.65rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.job_card:hover {
  border-color: var(--navy-accent);
  box-shadow: 0 12px 26px rgba(11, 31, 77, 0.06);
}

.job_meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  font-size: 0.82rem;
  color: var(--text-03);
  margin-top: 0.45rem;
}

.hub_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.hub_card {
  background: var(--surface-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

@media (max-width: 1024px) {
  .timeline_grid { grid-template-columns: repeat(2, 1fr); }
  .subpage_cards_4 { grid-template-columns: repeat(2, 1fr); }
  .hub_grid { grid-template-columns: repeat(2, 1fr); }
  .mode_showcase_card { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .timeline_grid,
  .subpage_cards_2,
  .subpage_cards_4,
  .hub_grid,
  .mode_specs_grid {
    grid-template-columns: 1fr;
  }
  .job_card {
    flex-direction: column;
    align-items: flex-start;
  }
}
