/* ==========================================================================
   MEEM Creative Group — Design System & Styles
   Brand Colors: Navy #00215C, Ink #0A1930, Sand #C6A15B, Cloud #EEF2F8
   Font: Cairo (Google Fonts)
   ========================================================================== */

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Brand palette */
  --navy: #00215C;
  --navy-rgb: 0, 33, 92;
  --ink: #0A1930;
  --ink-rgb: 10, 25, 48;
  --sand: #C6A15B;
  --sand-rgb: 198, 161, 91;
  --cloud: #EEF2F8;
  --cloud-rgb: 238, 242, 248;
  --white: #FFFFFF;
  --white-rgb: 255, 255, 255;

  /* Extended palette */
  --navy-light: #0a3a7d;
  --navy-dark: #001540;
  --sand-light: #d4b87a;
  --sand-dark: #a88940;
  --glass-bg: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-bg-dark: rgba(0, 33, 92, 0.06);
  --glass-border-dark: rgba(0, 33, 92, 0.1);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 33, 92, 0.06);
  --shadow-md: 0 4px 20px rgba(0, 33, 92, 0.08);
  --shadow-lg: 0 8px 40px rgba(0, 33, 92, 0.12);
  --shadow-xl: 0 16px 64px rgba(0, 33, 92, 0.16);
  --shadow-glow: 0 0 30px rgba(198, 161, 91, 0.3);

  /* Typography */
  --font-family: 'Cairo', sans-serif;
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: 1.25rem;
  --fs-xl: 1.5rem;
  --fs-2xl: 2rem;
  --fs-3xl: 2.5rem;
  --fs-4xl: 3.5rem;
  --fs-5xl: 4.5rem;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-extrabold: 800;
  --fw-black: 900;
  --lh-tight: 1.2;
  --lh-normal: 1.6;
  --lh-relaxed: 1.8;
  --ls-tight: -0.02em;
  --ls-normal: 0;
  --ls-wide: 0.15em;
  --ls-wider: 0.25em;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* Layout */
  --container-max: 1200px;
  --container-wide: 1400px;
  --nav-height: 100px;
  --border-radius-sm: 8px;
  --border-radius-md: 12px;
  --border-radius-lg: 20px;
  --border-radius-xl: 32px;
  --border-radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-family);
  font-size: var(--fs-base);
  font-weight: var(--fw-regular);
  line-height: var(--lh-normal);
  color: var(--ink);
  background-color: var(--white);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul, ol {
  list-style: none;
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
}

/* ---------- Utility Classes ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.container--wide {
  max-width: var(--container-wide);
}

.section {
  padding: var(--space-5xl) 0;
  position: relative;
}

.section--navy {
  background-color: var(--navy);
  color: var(--white);
}

.section--cloud {
  background-color: var(--cloud);
}

.section--dark {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  color: var(--white);
}

.text-center {
  text-align: center;
}

.text-sand {
  color: var(--sand);
}

.text-navy {
  color: var(--navy);
}

/* ---------- Section Headers ---------- */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: var(--space-lg);
}

.section-eyebrow::before,
.section-eyebrow::after {
  content: '';
  width: 24px;
  height: 2px;
  background-color: var(--sand);
  border-radius: 1px;
}

.section-title {
  font-size: var(--fs-3xl);
  font-weight: var(--fw-extrabold);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
  margin-bottom: var(--space-lg);
}

.section-subtitle {
  font-size: var(--fs-lg);
  font-weight: var(--fw-regular);
  line-height: var(--lh-relaxed);
  max-width: 700px;
  margin: 0 auto var(--space-3xl);
  opacity: 0.85;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 14px 32px;
  font-weight: var(--fw-bold);
  font-size: var(--fs-sm);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  border-radius: var(--border-radius-full);
  cursor: pointer;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.btn:hover::after {
  opacity: 1;
}

.btn--primary {
  background: var(--navy);
  color: var(--white);
  border: 2px solid var(--navy);
}

.btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  color: var(--white) !important;
}
.btn--primary::after {
  background: linear-gradient(135deg, var(--navy-light), var(--navy));
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn--outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}

.btn--outline:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}

.btn--sand {
  background: var(--sand);
  color: var(--navy-dark);
  border: 2px solid var(--sand);
  font-weight: var(--fw-bold);
  box-shadow: 0 4px 20px rgba(198, 161, 91, 0.35);
}

.btn--sand:hover {
  background: var(--sand-light);
  border-color: var(--sand-light);
  color: var(--navy-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(198, 161, 91, 0.5);
}

.btn--light {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border: 2px solid var(--white);
  font-weight: var(--fw-bold);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.btn--light:hover {
  background: var(--white);
  color: var(--navy-dark);
  border-color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.25);
}

.btn__icon {
  width: 18px;
  height: 18px;
  transition: transform var(--transition-base);
}

.btn:hover .btn__icon {
  transform: translateX(4px);
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: all var(--transition-base);
  background: transparent;
}

.nav--scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid rgba(0, 33, 92, 0.06);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.nav__logo {
  display: flex;
  align-items: center;
  z-index: 1001;
}

.nav__logo img {
  height: 75px;
  width: auto;
  transition: filter var(--transition-base);
}

/* Logo white on hero, navy when scrolled */
.nav:not(.nav--scrolled) .nav__logo img {
  filter: brightness(0) invert(1);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav__link {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.03em;
  color: var(--white);
  position: relative;
  padding: var(--space-xs) 0;
  transition: all var(--transition-fast);
}

.nav--scrolled .nav__link {
  color: var(--ink);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--sand);
  border-radius: 1px;
  transition: width var(--transition-base);
}

.nav__link:hover::after,
.nav__link--active::after {
  width: 100%;
}

.nav__link:hover {
  color: var(--sand);
}

.nav--scrolled .nav__link:hover {
  color: var(--sand);
}

.nav__cta {
  padding: 10px 24px;
  font-size: var(--fs-xs);
}

.nav:not(.nav--scrolled) .nav__cta {
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--white);
}

.nav:not(.nav--scrolled) .nav__cta:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

/* Mobile hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
  padding: 8px;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.nav--scrolled .nav__hamburger span {
  background: var(--navy);
}

.nav__hamburger--open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav__hamburger--open span:nth-child(2) {
  opacity: 0;
}

.nav__hamburger--open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* When mobile menu is open, remove scrolled white background and backdrop-filter */
.nav.nav--menu-open {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;
  border-bottom: none !important;
}

.nav.nav--menu-open .nav__logo img {
  filter: brightness(0) invert(1) !important;
}

.nav.nav--menu-open .nav__hamburger span {
  background: var(--white) !important;
}

/* Mobile menu */
.nav__mobile {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background: #001233;
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  padding: calc(var(--nav-height) + 15px) var(--space-lg) calc(var(--space-xl) + 15px);
  gap: 2px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--transition-base), visibility var(--transition-base);
}

.nav__mobile--open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nav__mobile .nav__link {
  font-size: var(--fs-lg);
  font-weight: var(--fw-semibold);
  color: var(--white);
  padding: 8px 16px;
  width: 100%;
  max-width: 320px;
  text-align: center;
  border-radius: var(--border-radius-sm);
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav__mobile .nav__link:hover,
.nav__mobile .nav__link--active {
  color: var(--sand);
  background: rgba(255, 255, 255, 0.06);
}

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy) 40%, var(--navy-light) 100%);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

/* Geometric background shapes */
.hero__shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.06;
  background: var(--white);
}

.hero__shape--1 {
  width: 600px;
  height: 600px;
  top: -200px;
  right: -150px;
  animation: float 20s ease-in-out infinite;
}

.hero__shape--2 {
  width: 400px;
  height: 400px;
  bottom: -100px;
  left: -100px;
  animation: float 15s ease-in-out infinite reverse;
}

.hero__shape--3 {
  width: 200px;
  height: 200px;
  top: 40%;
  left: 20%;
  animation: float 18s ease-in-out infinite 3s;
}

/* Geometric grid pattern */
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black, transparent);
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  padding: var(--space-3xl) var(--space-xl);
}

.hero__logo {
  width: 320px;
  height: auto;
  margin: 0 auto var(--space-2xl);
  filter: brightness(0) invert(1);
  opacity: 0;
  transform: scale(0.8) translateY(20px);
  animation: heroLogoReveal 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s forwards;
}

.hero__title {
  font-size: var(--fs-4xl);
  font-weight: var(--fw-black);
  color: var(--white);
  line-height: 1.1;
  margin-bottom: var(--space-lg);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease-out 0.8s forwards;
}

.hero__title-accent {
  color: var(--sand);
  position: relative;
  display: inline-block;
}

.hero__tagline {
  font-size: var(--fs-md);
  font-weight: var(--fw-medium);
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  margin-bottom: var(--space-2xl);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease-out 1.1s forwards;
}

.hero__tagline .dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--sand);
  border-radius: 50%;
  margin: 0 12px;
  vertical-align: middle;
}

.hero__actions {
  display: flex;
  gap: var(--space-lg);
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease-out 1.4s forwards;
}

.hero__scroll-indicator {
  position: absolute;
  bottom: var(--space-2xl);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 1.8s forwards;
  z-index: 2;
  pointer-events: none;
}

.hero__scroll-indicator span {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.2em;
  padding-left: 0.2em;
  text-transform: uppercase;
  text-align: center;
}

.hero__scroll-line {
  width: 2px;
  height: 40px;
  background: linear-gradient(to bottom, var(--sand), transparent);
  border-radius: 1px;
  margin: 0 auto;
  animation: scrollPulse 2s ease-in-out infinite;
}

/* ---------- About Section ---------- */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: start;
}

.about__content h3 {
  font-size: var(--fs-2xl);
  font-weight: var(--fw-bold);
  margin-bottom: var(--space-lg);
  color: var(--navy);
}

.about__content p {
  font-size: var(--fs-md);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-lg);
  color: var(--ink);
  opacity: 0.85;
}

.about__beliefs {
  background: var(--cloud);
  border-radius: var(--border-radius-lg);
  padding: var(--space-2xl);
  position: relative;
  overflow: hidden;
}

.about__beliefs::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--sand), var(--navy));
  border-radius: 2px;
}

.about__beliefs h3 {
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  color: var(--navy);
  margin-bottom: var(--space-xl);
}

.belief-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.belief-item:last-child {
  margin-bottom: 0;
}

.belief-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.belief-icon svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: var(--sand);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.belief-item p {
  font-size: var(--fs-base);
  font-weight: var(--fw-medium);
  color: var(--ink);
  line-height: var(--lh-normal);
}

.belief-item--highlight p {
  font-weight: var(--fw-bold);
  color: var(--navy);
}

/* ---------- Vision & Mission Section ---------- */
.vm__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  margin-top: var(--space-2xl);
}

.vm__card {
  padding: var(--space-2xl) var(--space-2xl);
  border-radius: var(--border-radius-lg);
  position: relative;
  overflow: hidden;
  transition: all var(--transition-base);
}

.vm__card--vision {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  color: var(--white);
}

.vm__card--mission {
  background: var(--white);
  border: 2px solid var(--cloud);
  color: var(--ink);
}

.vm__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.vm__card-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 6px 16px;
  border-radius: var(--border-radius-full);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  margin-bottom: var(--space-xl);
}

.vm__card--vision .vm__card-badge {
  background: rgba(198, 161, 91, 0.2);
  color: var(--sand);
}

.vm__card--mission .vm__card-badge {
  background: rgba(0, 33, 92, 0.08);
  color: var(--navy);
}

.vm__card h3 {
  font-size: var(--fs-2xl);
  font-weight: var(--fw-extrabold);
  margin-bottom: var(--space-lg);
}

.vm__card p,
.vm__card li {
  font-size: var(--fs-md);
  line-height: var(--lh-relaxed);
  opacity: 0.9;
}

.vm__card ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.vm__card li {
  padding-left: var(--space-lg);
  position: relative;
}

.vm__card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.vm__card--vision li::before {
  background: var(--sand);
}

.vm__card--mission li::before {
  background: var(--navy);
}

/* ---------- Services / Ecosystem ---------- */
.services__header {
  text-align: center;
  margin-bottom: var(--space-4xl);
}

.services__motto {
  font-size: var(--fs-lg);
  font-weight: var(--fw-semibold);
  color: var(--sand);
  margin-bottom: var(--space-xs);
  font-style: italic;
}

.divisions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2xl);
  margin-bottom: var(--space-4xl);
}

.division-card {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  padding: var(--space-2xl);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 33, 92, 0.08);
  transition: all var(--transition-base);
  cursor: default;
}

.division-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--navy);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.division-card:hover::before {
  transform: scaleX(1);
}

.division-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 33, 92, 0.15);
}

.division-card__number {
  font-size: var(--fs-4xl);
  font-weight: var(--fw-black);
  color: var(--cloud);
  line-height: 1;
  margin-bottom: var(--space-lg);
  transition: color var(--transition-base);
}

.division-card:hover .division-card__number {
  color: rgba(0, 33, 92, 0.08);
}

.division-card__icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: var(--border-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
}

.division-card__icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: var(--white);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.division-card h3 {
  font-size: var(--fs-xl);
  font-weight: var(--fw-extrabold);
  color: var(--navy);
  margin-bottom: var(--space-lg);
}

.division-card__services {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.division-card__service {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--fs-base);
  font-weight: var(--fw-medium);
  color: var(--ink);
  padding: var(--space-xs) 0;
  border-bottom: 1px solid rgba(0, 33, 92, 0.06);
  transition: all var(--transition-fast);
}

.division-card__service:last-child {
  border-bottom: none;
}

.division-card__service::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--sand);
  border-radius: 50%;
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.division-card:hover .division-card__service::before {
  transform: scale(1.5);
}

/* ---------- Detailed Services ---------- */
.services-detailed {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-xl);
}

.service-block {
  flex: 1 1 340px;
  max-width: calc(33.333% - (var(--space-xl) * 2 / 3));
  background: var(--white);
  border: 1px solid rgba(0, 33, 92, 0.08);
  border-radius: var(--border-radius-lg);
  padding: var(--space-xl);
  position: relative;
  overflow: hidden;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
}

.service-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--sand), var(--navy));
  opacity: 0.6;
  transition: opacity var(--transition-fast);
}

.service-block:hover::before {
  opacity: 1;
}

.service-block:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 33, 92, 0.15);
}

.service-block__header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.service-block__icon {
  width: 44px;
  height: 44px;
  background: var(--cloud);
  border-radius: var(--border-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.service-block__icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--navy);
  transition: stroke var(--transition-fast);
}

.service-block:hover .service-block__icon {
  background: var(--navy);
}

.service-block:hover .service-block__icon svg {
  stroke: var(--sand);
}

.service-block h4 {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--navy);
  margin-bottom: 0;
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.service-block h4 .num {
  font-size: var(--fs-xs);
  font-weight: var(--fw-extrabold);
  background: rgba(0, 33, 92, 0.08);
  color: var(--navy);
  padding: 2px 8px;
  border-radius: var(--border-radius-full);
  letter-spacing: 0.05em;
}

.service-block__items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.service-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  background: var(--cloud);
  border-radius: var(--border-radius-full);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--ink);
  border: 1px solid transparent;
  transition: all var(--transition-fast);
}

.service-tag:hover {
  background: var(--white);
  border-color: var(--sand);
  color: var(--navy);
  transform: translateY(-1px);
}

/* ---------- Process Section ---------- */
.process__timeline {
  display: flex;
  gap: 0;
  position: relative;
  padding: var(--space-2xl) 0;
}

.process__timeline::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-50%);
  border-radius: 2px;
}

.process__step {
  flex: 1;
  text-align: center;
  position: relative;
  padding: var(--space-2xl) var(--space-md);
  cursor: pointer;
  transition: all var(--transition-base);
}

.process__step-number {
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--white);
  position: relative;
  z-index: 2;
  transition: all var(--transition-base);
}

.process__step:hover .process__step-number,
.process__step--active .process__step-number {
  background: var(--sand);
  border-color: var(--sand);
  color: var(--navy-dark);
  transform: scale(1.15);
  box-shadow: 0 0 30px rgba(198, 161, 91, 0.4);
}

.process__step h4 {
  font-size: var(--fs-md);
  font-weight: var(--fw-bold);
  color: var(--white);
  margin-bottom: var(--space-xs);
  transition: color var(--transition-fast);
}

.process__step:hover h4 {
  color: var(--sand);
}

.process__step-desc {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.6);
  line-height: var(--lh-normal);
  max-height: 0;
  overflow: hidden;
  transition: all var(--transition-slow);
  opacity: 0;
}

.process__step:hover .process__step-desc,
.process__step--active .process__step-desc {
  max-height: 300px;
  opacity: 1;
  margin-top: var(--space-sm);
}

/* Arrow connectors */
.process__arrow {
  position: absolute;
  right: -12px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  color: rgba(255, 255, 255, 0.3);
  font-size: var(--fs-lg);
}

.process__step:last-child .process__arrow {
  display: none;
}

/* ---------- Industries Section ---------- */
.industries__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-lg);
}

.industry-card {
  background: var(--white);
  border: 1px solid rgba(0, 33, 92, 0.08);
  border-radius: var(--border-radius-md);
  padding: var(--space-xl) var(--space-lg);
  text-align: center;
  transition: all var(--transition-base);
  cursor: default;
}

.industry-card:hover {
  transform: translateY(-4px);
  border-color: var(--sand);
  box-shadow: var(--shadow-md);
}

.industry-card__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto var(--space-md);
  background: var(--cloud);
  border-radius: var(--border-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
}

.industry-card:hover .industry-card__icon {
  background: var(--navy);
}

.industry-card__icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--navy);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke var(--transition-base);
}

.industry-card:hover .industry-card__icon svg {
  stroke: var(--sand);
}

.industry-card h4 {
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  color: var(--navy);
  letter-spacing: 0.02em;
}

/* ---------- Why MEEM Section ---------- */
.why__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.why__content p {
  font-size: var(--fs-md);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-lg);
  color: rgba(255, 255, 255, 0.85);
}

.why__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.why__stat {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-md);
  backdrop-filter: blur(10px);
  transition: all var(--transition-base);
}

.why__stat:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--sand);
  transform: translateY(-3px);
}

.why__stat-icon {
  width: 48px;
  height: 48px;
  margin: 0;
  flex-shrink: 0;
  background: rgba(198, 161, 91, 0.15);
  border-radius: var(--border-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.why__stat-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--sand);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.why__stat-info {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.why__stat h4 {
  font-size: var(--fs-base);
  font-weight: var(--fw-bold);
  color: var(--white);
  margin-bottom: 2px;
}

.why__stat p {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.65);
}

/* ---------- Contact Section ---------- */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
}

.contact__info h3 {
  font-size: var(--fs-2xl);
  font-weight: var(--fw-extrabold);
  color: var(--navy);
  margin-bottom: var(--space-lg);
}

.contact__info p {
  font-size: var(--fs-md);
  line-height: var(--lh-relaxed);
  color: var(--ink);
  opacity: 0.85;
  margin-bottom: var(--space-2xl);
}

.contact__channels {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.contact__channel {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  padding: var(--space-lg);
  background: var(--cloud);
  border-radius: var(--border-radius-md);
  transition: all var(--transition-base);
}

.contact__channel:hover {
  background: var(--white);
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.contact__channel-icon {
  width: 48px;
  height: 48px;
  background: var(--navy);
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact__channel-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--sand);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact__channel-text h4 {
  font-size: var(--fs-base);
  font-weight: var(--fw-bold);
  color: var(--navy);
  margin-bottom: 2px;
}

.contact__channel-text span {
  font-size: var(--fs-sm);
  color: var(--ink);
  opacity: 0.7;
}

/* Contact form */
.contact__form-card {
  background: var(--white);
  border: 1px solid rgba(0, 33, 92, 0.08);
  border-radius: var(--border-radius-lg);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-md);
}

.contact__form-card h3 {
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  color: var(--navy);
  margin-bottom: var(--space-xl);
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-group label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--ink);
  margin-bottom: var(--space-xs);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid rgba(0, 33, 92, 0.1);
  border-radius: var(--border-radius-sm);
  font-size: var(--fs-base);
  color: var(--ink);
  background: var(--white);
  transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 4px rgba(0, 33, 92, 0.08);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--navy-dark);
  color: var(--white);
  padding: var(--space-4xl) 0 var(--space-xl);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-3xl);
}

.footer__brand img {
  height: 60px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: var(--space-lg);
}

.footer__brand p {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.6);
  line-height: var(--lh-relaxed);
  max-width: 300px;
}

.footer__col h4 {
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: var(--space-lg);
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer__col a {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.6);
  transition: all var(--transition-fast);
}

.footer__col a:hover {
  color: var(--white);
  padding-left: 4px;
}

.footer__divider {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin-bottom: var(--space-xl);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer__copy {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.5);
}

.footer__tagline {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: var(--ls-wide);
}

.footer__tagline .dot {
  display: inline-block;
  width: 4px;
  height: 4px;
  background: var(--sand);
  border-radius: 50%;
  margin: 0 8px;
  vertical-align: middle;
}

/* ---------- Scroll Reveal Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal--visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }
.reveal--delay-4 { transition-delay: 0.4s; }
.reveal--delay-5 { transition-delay: 0.5s; }

.reveal--scale {
  opacity: 0;
  transform: scale(0.95);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal--scale.reveal--visible {
  opacity: 1;
  transform: scale(1);
}

.reveal--left {
  opacity: 0;
  transform: translateX(-40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal--left.reveal--visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal--right {
  opacity: 0;
  transform: translateX(40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal--right.reveal--visible {
  opacity: 1;
  transform: translateX(0);
}

/* ---------- Keyframe Animations ---------- */
@keyframes heroLogoReveal {
  0% {
    opacity: 0;
    transform: scale(0.8) translateY(20px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% {
    transform: translate(0, 0);
  }
  33% {
    transform: translate(15px, -20px);
  }
  66% {
    transform: translate(-10px, 10px);
  }
}

@keyframes scrollPulse {
  0%, 100% {
    opacity: 1;
    transform: scaleY(1);
  }
  50% {
    opacity: 0.5;
    transform: scaleY(0.6);
    transform-origin: top;
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% center;
  }
  100% {
    background-position: 200% center;
  }
}

/* NEW: Typewriter cursor blink */
@keyframes typewriterBlink {
  0%, 100% { border-right-color: var(--sand); }
  50% { border-right-color: transparent; }
}

/* NEW: Shimmer sweep across CTA button */
@keyframes shimmerSweep {
  0% { left: -100%; }
  100% { left: 200%; }
}

/* NEW: Icon bounce on reveal */
@keyframes iconBounce {
  0% { transform: scale(0.5) translateY(10px); opacity: 0; }
  60% { transform: scale(1.15) translateY(-4px); opacity: 1; }
  80% { transform: scale(0.95) translateY(1px); }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}

/* NEW: Particle drift */
@keyframes particleDrift1 {
  0% { transform: translate(0, 0); opacity: 0; }
  10% { opacity: 0.6; }
  90% { opacity: 0.6; }
  100% { transform: translate(120px, -200px); opacity: 0; }
}

@keyframes particleDrift2 {
  0% { transform: translate(0, 0); opacity: 0; }
  10% { opacity: 0.4; }
  90% { opacity: 0.4; }
  100% { transform: translate(-100px, -180px); opacity: 0; }
}

@keyframes particleDrift3 {
  0% { transform: translate(0, 0); opacity: 0; }
  10% { opacity: 0.5; }
  90% { opacity: 0.5; }
  100% { transform: translate(80px, -250px); opacity: 0; }
}

/* NEW: Stat icon pulse glow */
@keyframes statPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(198, 161, 91, 0.4); }
  50% { box-shadow: 0 0 16px 4px rgba(198, 161, 91, 0.25); }
}

/* NEW: Curtain reveal slide */
@keyframes curtainSlide {
  0% { transform: scaleY(1); }
  100% { transform: scaleY(0); }
}

/* NEW: Progress line fill */
@keyframes progressFill {
  from { width: 0%; }
  to { width: 100%; }
}

/* ========== NEW VISUAL ENHANCEMENTS ========== */

/* --- 1. Typewriter effect for hero accent text --- */
.hero__title-accent {
  display: inline;
  border-right: 3px solid var(--sand);
  animation: typewriterBlink 0.8s steps(1) 2.5s infinite;
}

.hero__title-accent.typewriter-done {
  border-right-color: transparent;
  animation: none;
}

/* --- 2. Floating particles in hero background --- */
.hero__particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero__particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(198, 161, 91, 0.5);
  border-radius: 50%;
}

.hero__particle:nth-child(1) { bottom: 20%; left: 15%; animation: particleDrift1 8s linear infinite; }
.hero__particle:nth-child(2) { bottom: 30%; left: 35%; animation: particleDrift2 10s linear infinite 2s; }
.hero__particle:nth-child(3) { bottom: 10%; left: 55%; animation: particleDrift3 12s linear infinite 4s; }
.hero__particle:nth-child(4) { bottom: 25%; left: 75%; animation: particleDrift1 9s linear infinite 1s; }
.hero__particle:nth-child(5) { bottom: 15%; left: 90%; animation: particleDrift2 11s linear infinite 3s; }
.hero__particle:nth-child(6) { bottom: 40%; left: 10%; animation: particleDrift3 14s linear infinite 5s; }
.hero__particle:nth-child(7) { bottom: 5%; left: 45%; animation: particleDrift1 10s linear infinite 6s; }
.hero__particle:nth-child(8) { bottom: 35%; left: 65%; animation: particleDrift2 13s linear infinite 7s; }

/* --- 3. SVG wave section dividers --- */
.wave-divider {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  line-height: 0;
  z-index: 1;
}

.wave-divider svg {
  display: block;
  width: 100%;
  height: 60px;
}

.wave-divider--top {
  bottom: auto;
  top: -1px;
  transform: rotate(180deg);
}

.wave-divider--flip svg {
  transform: scaleX(-1);
}

/* --- 4. Division cards glassmorphism glow --- */
.division-card {
  position: relative;
}

.division-card::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(198, 161, 91, 0.3), transparent 40%, transparent 60%, rgba(0, 33, 92, 0.2));
  z-index: -1;
  opacity: 0;
  transition: opacity var(--transition-base);
  filter: blur(6px);
}

.division-card:hover::after {
  opacity: 1;
}

/* --- 5. Process timeline animated progress line --- */
.process__timeline-progress {
  position: absolute;
  top: 50%;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--sand), rgba(198, 161, 91, 0.6));
  border-radius: 2px;
  transform: translateY(-50%);
  width: 0%;
  transition: width 2s ease-in-out;
  z-index: 1;
}

.process__timeline.timeline--in-view .process__timeline-progress {
  width: 100%;
}

.process__step-number {
  transition: all var(--transition-base), box-shadow 0.4s ease;
}

.process__step.step--in-view .process__step-number {
  box-shadow: 0 0 20px rgba(198, 161, 91, 0.4);
  border-color: var(--sand);
  background: rgba(198, 161, 91, 0.2);
  color: var(--sand);
}

/* --- 6. Industry card icon bounce --- */
.industry-card__icon {
  transition: all var(--transition-base), transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.industry-card.reveal--visible .industry-card__icon {
  animation: iconBounce 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* --- 7. Page load curtain --- */
.page-curtain {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--navy-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transform-origin: top;
  transition: transform 0.8s cubic-bezier(0.65, 0, 0.35, 1);
}

.page-curtain.curtain--hidden {
  transform: scaleY(0);
  pointer-events: none;
}

.page-curtain__logo {
  width: 120px;
  height: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
  animation: heroLogoReveal 0.6s ease-out forwards;
}

/* --- 8. Button shimmer sweep --- */
.btn--sand {
  position: relative;
  overflow: hidden;
}

.btn--sand::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transform: skewX(-20deg);
  animation: shimmerSweep 3s ease-in-out 2.5s infinite;
  z-index: 1;
  pointer-events: none;
}

/* --- 9. Why MEEM stat icon pulse --- */
.why__stat-icon {
  transition: all var(--transition-base);
}

.why__stat.stat--in-view .why__stat-icon {
  animation: statPulse 2s ease-in-out infinite;
}

/* --- 10. Navbar logo shrink on scroll --- */
.nav__logo img {
  transition: height var(--transition-base), filter var(--transition-base);
}

.nav--scrolled .nav__logo img {
  height: 55px;
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero__logo,
  .hero__title,
  .hero__tagline,
  .hero__actions {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .hero__scroll-indicator {
    opacity: 1;
    animation: none;
    /* Keep the original transform for centering */
    transform: translateX(-50%);
  }

  /* Disable new enhancements for reduced motion */
  .hero__particles { display: none; }
  .hero__title-accent { border-right: none; animation: none; }
  .btn--sand::before { display: none; }
  .page-curtain { display: none; }
  .why__stat.stat--in-view .why__stat-icon { animation: none; }
  .industry-card.reveal--visible .industry-card__icon { animation: none; }
  .process__timeline-progress { display: none; }
  .division-card::after { display: none; }
}

/* ==========================================================================
   RESPONSIVE — Tablet (≤1024px)
   ========================================================================== */
@media (max-width: 1024px) {
  :root {
    --fs-5xl: 3rem;
    --fs-4xl: 2.25rem;
    --fs-3xl: 1.875rem;
    --fs-2xl: 1.5rem;
    --space-5xl: 5rem;
    --space-4xl: 3.5rem;
    --nav-height: 70px;
  }

  .nav__links { display: none; }
  .nav__hamburger { display: flex; }
  .nav__mobile { display: flex; }

  .hero__content { max-width: 720px; }

  .about__grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .vm__grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .divisions {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
  }

  .divisions .division-card:last-child {
    grid-column: 1 / -1;
    max-width: 500px;
    justify-self: center;
    width: 100%;
  }

  .process__timeline {
    flex-direction: column;
    gap: 0;
    padding: var(--space-lg) 0;
  }

  .process__timeline::before {
    top: 0;
    bottom: 0;
    left: 27px;
    right: auto;
    width: 2px;
    height: auto;
    transform: none;
  }

  .process__step {
    text-align: left;
    display: flex;
    align-items: flex-start;
    gap: var(--space-lg);
    padding: var(--space-md) 0;
  }

  .process__step-number {
    margin: 0;
    flex-shrink: 0;
    width: 52px;
    height: 52px;
  }

  .process__step-desc {
    max-height: none;
    opacity: 0.7;
    margin-top: var(--space-xs);
  }

  .process__arrow { display: none; }

  .industries__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
  }

  .why__grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .contact__grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
  }

  .service-block {
    max-width: calc(50% - (var(--space-xl) / 2));
  }
}


/* ==========================================================================
   RESPONSIVE — Mobile (≤768px)
   ========================================================================== */
@media (max-width: 768px) {
  :root {
    --fs-5xl: 2rem;
    --fs-4xl: 1.75rem;
    --fs-3xl: 1.375rem;
    --fs-2xl: 1.25rem;
    --fs-xl: 1.125rem;
    --fs-lg: 1rem;
    --fs-md: 0.9375rem;
    --space-5xl: 3.5rem;
    --space-4xl: 2.5rem;
    --space-3xl: 2rem;
    --space-2xl: 1.5rem;
    --nav-height: 60px;
  }

  .container {
    padding: 0 20px;
  }

  .section {
    padding: var(--space-3xl) 0;
  }

  /* --- Section Headers --- */
  .section-eyebrow {
    font-size: 0.6875rem;
    gap: var(--space-xs);
    margin-bottom: var(--space-sm);
  }

  .section-eyebrow::before,
  .section-eyebrow::after {
    width: 14px;
  }

  .section-title {
    font-size: var(--fs-3xl);
    margin-bottom: var(--space-sm);
    letter-spacing: -0.01em;
  }

  .section-subtitle {
    font-size: var(--fs-md);
    margin-bottom: var(--space-xl);
    line-height: 1.65;
  }

  /* --- Buttons --- */
  .btn {
    padding: 14px 24px;
    font-size: 0.75rem;
    min-height: 48px;
    letter-spacing: 0.1em;
  }

  /* --- Navigation --- */
  .nav {
    height: var(--nav-height);
  }

  .nav__inner {
    padding: 0 16px;
  }

  .nav__logo img {
    height: 50px;
  }

  .nav__hamburger {
    padding: 10px;
    margin-right: -10px;
  }

  .nav__hamburger span {
    width: 22px;
    height: 2px;
  }

  /* Force hamburger white when mobile menu is open */
  .nav__hamburger--open span {
    background: var(--white) !important;
  }

  .nav__mobile {
    justify-content: space-evenly;
    padding: calc(var(--nav-height) + 10px) var(--space-md) calc(var(--space-lg) + 10px);
  }

  .nav__mobile .nav__link {
    font-size: var(--fs-lg);
    padding: 8px 16px;
    min-height: 42px;
  }

  .nav__mobile .nav__cta {
    margin-top: 4px;
    padding: 14px 36px;
    font-size: var(--fs-sm);
  }

  /* --- HERO --- */
  .hero {
    min-height: 100svh;
    min-height: 100vh;
    padding-top: var(--nav-height);
  }

  /* --- NEW: Mobile enhancement adjustments --- */
  .hero__particle { width: 3px; height: 3px; }
  .hero__particle:nth-child(n+6) { display: none; } /* fewer particles on mobile */

  .wave-divider svg { height: 30px; }

  .page-curtain__logo { width: 80px; }

  .nav--scrolled .nav__logo img { height: 40px; }

  .btn--sand::before { animation-delay: 3s; }

  .hero__title-accent { border-right-width: 2px; }

  /* Hide process progress line on mobile (cards are vertical) */
  .process__timeline-progress { display: none; }

  /* Division card glow disabled on mobile for performance */
  .division-card::after { display: none; }

  .hero__content {
    padding: var(--space-xl) 20px var(--space-2xl);
    max-width: 100%;
  }

  .hero__logo {
    width: 180px;
    margin-bottom: var(--space-lg);
  }

  .hero__title {
    font-size: var(--fs-4xl);
    line-height: 1.2;
    margin-bottom: var(--space-sm);
  }


  .hero__tagline {
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    margin-bottom: var(--space-xl);
  }

  .hero__tagline .dot {
    width: 4px;
    height: 4px;
    margin: 0 8px;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero__scroll-indicator {
    bottom: 16px;
  }

  .hero__scroll-indicator span {
    font-size: 0.625rem;
  }

  .hero__scroll-line {
    height: 28px;
  }

  .hero__shape--1 { width: 300px; height: 300px; top: -100px; right: -80px; }
  .hero__shape--2 { width: 200px; height: 200px; bottom: -50px; left: -50px; }
  .hero__shape--3 { width: 100px; height: 100px; }

  /* --- ABOUT --- */
  .about__grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .about__content h3 {
    font-size: var(--fs-xl);
    margin-bottom: var(--space-sm);
  }

  .about__content p {
    font-size: var(--fs-md);
    margin-bottom: var(--space-md);
    line-height: 1.7;
  }

  .about__beliefs {
    padding: var(--space-lg) var(--space-md) var(--space-lg) calc(var(--space-md) + 4px);
    border-radius: var(--border-radius-md);
  }

  .about__beliefs::before {
    width: 3px;
  }

  .about__beliefs h3 {
    font-size: var(--fs-lg);
    margin-bottom: var(--space-md);
  }

  .belief-item {
    gap: 10px;
    margin-bottom: 12px;
  }

  .belief-icon {
    width: 22px;
    height: 22px;
    margin-top: 3px;
  }

  .belief-icon svg {
    width: 11px;
    height: 11px;
  }

  .belief-item p {
    font-size: var(--fs-md);
    line-height: 1.5;
  }

  /* --- VISION & MISSION --- */
  .section-title:last-child {
    margin-bottom: var(--space-lg);
  }

  .vm__grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: var(--space-xl);
  }

  .vm__card {
    padding: var(--space-lg);
    border-radius: var(--border-radius-md);
  }

  .vm__card:hover {
    transform: none;
    box-shadow: none;
  }

  .vm__card-badge {
    padding: 5px 12px;
    font-size: 0.625rem;
    margin-bottom: var(--space-md);
  }

  .vm__card h3 {
    font-size: var(--fs-lg);
    margin-bottom: var(--space-sm);
  }

  .vm__card p,
  .vm__card li {
    font-size: var(--fs-md);
    line-height: 1.65;
  }

  .vm__card ul {
    gap: 10px;
  }

  .vm__card li {
    padding-left: var(--space-md);
  }

  .vm__card li::before {
    width: 6px;
    height: 6px;
    top: 8px;
  }

  /* --- DIVISIONS: swipeable horizontal strip --- */
  .divisions {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 14px;
    padding: 8px 7.5vw 20px;
    margin: 0 -20px;
    margin-bottom: var(--space-lg);
  }

  .divisions::-webkit-scrollbar { display: none; }

  .divisions .division-card {
    flex: 0 0 85%;
    min-width: 0;
    max-width: none;
    scroll-snap-align: center;
  }

  .divisions .division-card:last-child {
    grid-column: unset;
    justify-self: unset;
    margin-right: 0;
  }

  .division-card {
    padding: var(--space-lg);
    border-radius: var(--border-radius-md);
  }

  .division-card::before {
    transform: scaleX(1);
    height: 3px;
    background: linear-gradient(90deg, var(--sand), var(--navy));
  }

  .division-card:hover {
    transform: none;
    box-shadow: none;
  }

  .division-card__number {
    font-size: var(--fs-2xl);
    margin-bottom: var(--space-sm);
  }

  .division-card__icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    margin-bottom: var(--space-sm);
  }

  .division-card__icon svg {
    width: 22px;
    height: 22px;
  }

  .division-card h3 {
    font-size: var(--fs-lg);
    margin-bottom: var(--space-sm);
  }

  .division-card__service {
    font-size: var(--fs-md);
    padding: 6px 0;
  }

  /* --- SERVICES DETAILED --- */
  .services-detailed {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 12px;
    padding: 8px 7.5vw 20px;
    margin: 0 -20px;
  }

  .services-detailed::-webkit-scrollbar { display: none; }

  .service-block {
    flex: 0 0 85%;
    max-width: none;
    scroll-snap-align: center;
    padding: var(--space-md);
    border-radius: var(--border-radius-sm);
  }

  .service-block:last-child {
    margin-right: 0;
  }

  .service-block h4 {
    font-size: var(--fs-md);
    margin-bottom: 8px;
    gap: 8px;
  }

  .service-block h4 .num {
    width: 24px;
    height: 24px;
    font-size: 0.6875rem;
  }

  .service-tag {
    font-size: 0.6875rem;
    padding: 4px 10px;
  }

  .service-block__items {
    gap: 6px;
  }

  /* --- PROCESS --- */
  .process__timeline {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 14px;
    padding: var(--space-md) 7.5vw 20px;
    margin: 0 -20px;
  }

  .process__timeline::-webkit-scrollbar { display: none; }

  .process__timeline::before {
    display: none;
  }

  .process__arrow {
    display: none;
  }

  .process__step {
    flex: 0 0 85%;
    max-width: none;
    scroll-snap-align: center;
    gap: 16px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-md);
    text-align: left;
    transition: all var(--transition-fast);
  }

  .process__step:last-child {
    margin-right: 0;
  }

  .process__step:hover,
  .process__step--active {
    background: rgba(255, 255, 255, 0.07);
    border-color: var(--sand);
  }

  .process__step-number {
    width: 42px;
    height: 42px;
    font-size: 0.875rem;
    font-weight: 800;
    border-width: 1.5px;
    background: rgba(198, 161, 91, 0.15);
    border-color: var(--sand);
    color: var(--sand);
    flex-shrink: 0;
  }

  .process__step-content {
    display: flex;
    flex-direction: column;
    text-align: left;
  }

  .process__step h4 {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 2px;
  }

  .process__step-desc {
    font-size: 0.8125rem;
    line-height: 1.55;
    max-height: none;
    opacity: 0.75;
    margin-top: 2px;
    color: rgba(255, 255, 255, 0.7);
  }

  /* --- INDUSTRIES --- */
  .industries__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .industry-card {
    padding: 16px 12px;
    border-radius: var(--border-radius-sm);
  }

  .industry-card:hover {
    transform: none;
  }

  .industry-card__icon {
    width: 38px;
    height: 38px;
    margin-bottom: 8px;
    border-radius: 8px;
  }

  .industry-card__icon svg {
    width: 18px;
    height: 18px;
  }

  .industry-card h4 {
    font-size: 0.75rem;
    letter-spacing: 0;
  }

  /* --- WHY MEEM --- */
  .why__grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .why__content p {
    font-size: var(--fs-md);
    margin-bottom: var(--space-md);
    line-height: 1.7;
  }

  .why__stats {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .why__stat {
    display: flex;
    align-items: center;
    text-align: left;
    gap: 16px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-md);
  }

  .why__stat:hover {
    transform: none;
  }

  .why__stat-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 0;
    border-radius: 10px;
    flex-shrink: 0;
  }

  .why__stat-icon svg {
    width: 22px;
    height: 22px;
  }

  .why__stat h4 {
    font-size: 0.9375rem;
    margin-bottom: 2px;
  }

  .why__stat p {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.65);
  }

  /* --- CONTACT --- */
  .contact__grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .contact__info h3 {
    font-size: var(--fs-xl);
    margin-bottom: var(--space-sm);
  }

  .contact__info p {
    font-size: var(--fs-md);
    margin-bottom: var(--space-lg);
    line-height: 1.65;
  }

  .contact__channels {
    gap: 10px;
  }

  .contact__channel {
    padding: 14px;
    gap: 12px;
    border-radius: var(--border-radius-sm);
  }

  .contact__channel:hover {
    transform: none;
  }

  .contact__channel-icon {
    width: 42px;
    height: 42px;
    border-radius: 8px;
  }

  .contact__channel-icon svg {
    width: 20px;
    height: 20px;
  }

  .contact__channel-text h4 {
    font-size: var(--fs-md);
  }

  .contact__channel-text span {
    font-size: 0.75rem;
  }

  .contact__form-card {
    padding: var(--space-lg);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
  }

  .contact__form-card h3 {
    font-size: var(--fs-lg);
    margin-bottom: var(--space-md);
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .form-group {
    margin-bottom: 14px;
  }

  .form-group label {
    font-size: 0.8125rem;
    margin-bottom: 6px;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 12px 14px;
    font-size: 16px;
    border-radius: 8px;
    border-width: 1.5px;
  }

  .form-group textarea {
    min-height: 90px;
  }

  /* --- FOOTER --- */
  .footer {
    padding: var(--space-2xl) 0 var(--space-lg);
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
    text-align: center;
  }

  .footer__brand {
    text-align: center;
    margin-bottom: var(--space-sm);
  }

  .footer__brand img {
    height: 44px;
    margin: 0 auto var(--space-sm);
  }

  .footer__brand p {
    max-width: 320px;
    margin: 0 auto;
    font-size: 0.8125rem;
    line-height: 1.6;
  }

  .footer__col {
    text-align: center;
  }

  .footer__col h4 {
    font-size: 0.6875rem;
    margin-bottom: var(--space-sm);
  }

  .footer__col ul {
    gap: 6px;
  }

  .footer__col a {
    font-size: 0.8125rem;
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .footer__col a:hover {
    padding-left: 0;
  }

  .footer__divider {
    margin-bottom: var(--space-md);
  }

  .footer__bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .footer__copy {
    font-size: 0.75rem;
  }

  .footer__tagline {
    font-size: 0.6875rem;
    letter-spacing: 0.08em;
  }

  .footer__tagline .dot {
    width: 3px;
    height: 3px;
    margin: 0 6px;
  }

  /* --- Animations --- */
  .reveal { transform: translateY(20px); }
  .reveal--left { transform: translateX(-20px); }
  .reveal--right { transform: translateX(20px); }

  .reveal--delay-1,
  .reveal--delay-2,
  .reveal--delay-3,
  .reveal--delay-4,
  .reveal--delay-5 {
    transition-delay: 0s !important;
  }
}


/* ==========================================================================
   RESPONSIVE — Small Phones (≤480px)
   ========================================================================== */
@media (max-width: 480px) {
  :root {
    --fs-5xl: 1.75rem;
    --fs-4xl: 1.5rem;
    --fs-3xl: 1.25rem;
    --fs-2xl: 1.125rem;
    --fs-xl: 1rem;
    --space-5xl: 3rem;
    --space-4xl: 2rem;
    --space-3xl: 1.75rem;
    --nav-height: 56px;
  }

  .container { padding: 0 16px; }
  .section { padding: var(--space-2xl) 0; }

  /* Small phone enhancement adjustments */
  .wave-divider svg { height: 20px; }
  .hero__particle:nth-child(n+4) { display: none; }
  .page-curtain__logo { width: 60px; }
  .nav--scrolled .nav__logo img { height: 36px; }

  .hero__logo {
    width: 140px;
    margin-bottom: var(--space-md);
  }

  .hero__title {
    font-size: var(--fs-3xl);
    line-height: 1.25;
  }

  .hero__tagline {
    font-size: 0.625rem;
    margin-bottom: var(--space-md);
  }

  .hero__actions {
    max-width: 260px;
    gap: 8px;
  }

  .hero__actions .btn {
    padding: 12px 18px;
    font-size: 0.6875rem;
    min-height: 44px;
  }

  .hero__scroll-indicator { display: none; }

  .divisions {
    padding: 8px 16px 12px;
    margin: 0 -16px;
    gap: 10px;
  }

  .divisions .division-card { flex: 0 0 88%; }
  .division-card { padding: var(--space-md); }

  .process__timeline::before { left: 17px; }
  .process__step-number { width: 34px; height: 34px; font-size: 0.8125rem; }
  .process__step { gap: 10px; padding: 10px 0; }
  .process__step h4 { font-size: 0.875rem; }
  .process__step-desc { font-size: 0.75rem; }

  .industries__grid { gap: 8px; }
  .industry-card { padding: 12px 8px; }
  .industry-card__icon { width: 34px; height: 34px; margin-bottom: 6px; }
  .industry-card__icon svg { width: 16px; height: 16px; }
  .industry-card h4 { font-size: 0.6875rem; }

  .why__stats { grid-template-columns: 1fr; gap: 8px; }
  .why__stat {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    text-align: left;
    padding: 14px;
  }
  .why__stat-icon { margin-bottom: 0; flex-shrink: 0; }
  .why__stat h4 { margin-bottom: 0; }

  .vm__card { padding: var(--space-md); }
  .vm__card h3 { font-size: var(--fs-md); }
  .vm__card p, .vm__card li { font-size: 0.875rem; }

  .contact__form-card { padding: var(--space-md); }
  .contact__channel { padding: 12px 10px; }
  .contact__channel-icon { width: 38px; height: 38px; }

  .footer__brand img { height: 38px; }
  .footer__brand p { font-size: 0.75rem; }

  .about__beliefs {
    padding: var(--space-md) var(--space-sm) var(--space-md) calc(var(--space-sm) + 4px);
  }
  .belief-icon { width: 20px; height: 20px; }
  .belief-icon svg { width: 10px; height: 10px; }
  .belief-item p { font-size: 0.8125rem; }

  .service-block { padding: 12px; }
  .service-tag { font-size: 0.625rem; padding: 3px 8px; }
}


/* ==========================================================================
   RESPONSIVE — Ultra-Small (≤360px)
   ========================================================================== */
@media (max-width: 360px) {
  :root {
    --fs-5xl: 1.5rem;
    --fs-4xl: 1.375rem;
    --fs-3xl: 1.125rem;
  }

  .container { padding: 0 12px; }
  .nav__inner { padding: 0 12px; }
  .nav__logo img { height: 42px; }
  .hero__logo { width: 120px; }
  .hero__actions { max-width: 100%; }

  .divisions { padding: 6px 12px 12px; margin: 0 -12px; }
  .divisions .division-card { flex: 0 0 92%; }

  .industries__grid { gap: 6px; }
  .industry-card { padding: 10px 6px; }
  .industry-card__icon { width: 30px; height: 30px; }
  .industry-card h4 { font-size: 0.625rem; }

  .why__stat { padding: 12px; }
  .why__stat-icon { width: 32px; height: 32px; }
  .vm__card { padding: 14px 12px; }

  .section-eyebrow::before,
  .section-eyebrow::after { width: 10px; }
}


/* ==========================================================================
   Touch Device Optimizations
   ========================================================================== */
@media (hover: none) and (pointer: coarse) {
  .division-card:hover,
  .vm__card:hover,
  .industry-card:hover,
  .why__stat:hover,
  .service-block:hover,
  .contact__channel:hover {
    transform: none !important;
    box-shadow: none;
  }

  .process__step-desc {
    max-height: none;
    opacity: 0.6;
    margin-top: 4px;
  }

  .nav__link,
  .footer__col a,
  .btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .btn:active {
    transform: scale(0.97) !important;
    opacity: 0.9;
  }

  .division-card:active {
    transform: scale(0.98) !important;
    box-shadow: var(--shadow-sm);
    transition-duration: 0.1s;
  }

  .industry-card:active {
    transform: scale(0.96) !important;
    border-color: var(--sand);
  }

  .contact__channel:active {
    background: var(--white);
    box-shadow: var(--shadow-sm);
  }
}


/* ==========================================================================
   Landscape Phone
   ========================================================================== */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding: calc(var(--nav-height) + 20px) 0 var(--space-xl);
  }

  .hero__logo { width: 100px; margin-bottom: var(--space-sm); }
  .hero__title { font-size: var(--fs-xl); }
  .hero__tagline { margin-bottom: var(--space-sm); }

  .hero__actions {
    flex-direction: row;
    max-width: none;
  }

  .hero__actions .btn {
    padding: 10px 20px;
    min-height: 40px;
  }

  .hero__scroll-indicator { display: none; }

  .nav__mobile {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-md);
    padding: var(--space-xl);
  }

  .nav__mobile .nav__link { font-size: var(--fs-base); }
}


/* ==========================================================================
   Multi-Page Styles
   ========================================================================== */

/* ---------- Page Header (Sub-pages) ---------- */
.page-header {
  position: relative;
  padding: 160px 0 70px;
  background: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy) 40%, var(--navy-light) 100%);
  overflow: hidden;
  text-align: center;
}

.page-header__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.page-header .container {
  position: relative;
  z-index: 1;
}

.page-header .section-eyebrow {
  color: var(--sand);
  margin-bottom: var(--space-lg);
}

.page-header .section-eyebrow::before,
.page-header .section-eyebrow::after {
  background-color: var(--sand);
}

.page-header__title {
  font-size: var(--fs-4xl);
  font-weight: var(--fw-black);
  color: var(--white);
  line-height: var(--lh-tight);
  margin-bottom: var(--space-md);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease-out 0.3s forwards;
}

.page-header__subtitle {
  font-size: var(--fs-lg);
  color: rgba(255, 255, 255, 0.75);
  max-width: 650px;
  margin: 0 auto;
  line-height: var(--lh-relaxed);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease-out 0.5s forwards;
}

/* ---------- Coming Soon Page ---------- */
.coming-soon {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy) 40%, var(--navy-light) 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: var(--nav-height) var(--space-xl) var(--space-xl);
}

.coming-soon__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.coming-soon__content {
  position: relative;
  z-index: 1;
  max-width: 600px;
}

.coming-soon__icon {
  width: 100px;
  height: 100px;
  background: rgba(198, 161, 91, 0.12);
  border: 2px solid rgba(198, 161, 91, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-2xl);
  animation: comingSoonPulse 3s ease-in-out infinite;
}

.coming-soon__icon svg {
  width: 40px;
  height: 40px;
  fill: none;
  stroke: var(--sand);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.coming-soon__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 8px 20px;
  background: rgba(198, 161, 91, 0.15);
  border: 1px solid rgba(198, 161, 91, 0.25);
  border-radius: var(--border-radius-full);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: var(--space-xl);
}

.coming-soon__badge-dot {
  width: 8px;
  height: 8px;
  background: var(--sand);
  border-radius: 50%;
  animation: comingSoonDot 1.5s ease-in-out infinite;
}

.coming-soon__title {
  font-size: var(--fs-4xl);
  font-weight: var(--fw-black);
  color: var(--white);
  line-height: var(--lh-tight);
  margin-bottom: var(--space-md);
}

.coming-soon__title span {
  color: var(--sand);
}

.coming-soon__text {
  font-size: var(--fs-lg);
  color: rgba(255, 255, 255, 0.65);
  max-width: 480px;
  margin: 0 auto var(--space-2xl);
  line-height: var(--lh-relaxed);
}

.coming-soon__actions {
  display: flex;
  gap: var(--space-lg);
  justify-content: center;
  flex-wrap: wrap;
}

@keyframes comingSoonPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(198, 161, 91, 0.2);
  }
  50% {
    transform: scale(1.08);
    box-shadow: 0 0 40px 15px rgba(198, 161, 91, 0.08);
  }
}

@keyframes comingSoonDot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* ---------- Explore More CTA ---------- */
.explore-more {
  padding: var(--space-3xl) 0;
  text-align: center;
  background: var(--cloud);
}

.explore-more__title {
  font-size: var(--fs-2xl);
  font-weight: var(--fw-bold);
  color: var(--navy);
  margin-bottom: var(--space-xl);
}

.explore-more__links {
  display: flex;
  gap: var(--space-lg);
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Multi-Page Nav Responsive ---------- */
@media (max-width: 1200px) {
  .nav__links {
    gap: var(--space-md);
  }
}

@media (max-width: 1024px) {
  .page-header {
    padding: 120px 0 50px;
  }
}

@media (max-width: 768px) {
  .page-header {
    padding: 100px 0 40px;
  }

  .page-header__title {
    font-size: var(--fs-3xl);
  }

  .page-header__subtitle {
    font-size: var(--fs-md);
  }

  .coming-soon {
    padding: var(--nav-height) 20px var(--space-xl);
  }

  .coming-soon__icon {
    width: 70px;
    height: 70px;
  }

  .coming-soon__icon svg {
    width: 30px;
    height: 30px;
  }

  .coming-soon__title {
    font-size: var(--fs-3xl);
  }

  .coming-soon__text {
    font-size: var(--fs-md);
  }

  .coming-soon__actions {
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
  }

  .explore-more {
    padding: var(--space-2xl) 0;
  }

  .explore-more__title {
    font-size: var(--fs-xl);
  }
}

@media (max-width: 480px) {
  .page-header {
    padding: 90px 0 30px;
  }

  .coming-soon__icon {
    width: 60px;
    height: 60px;
  }

  .coming-soon__icon svg {
    width: 26px;
    height: 26px;
  }

  .coming-soon__badge {
    font-size: 0.625rem;
    padding: 6px 14px;
  }
}
