/* ========================================
   NovaWave Logistics — Stylesheet
   ========================================
   1. CSS Custom Properties (Design Tokens)
   2. CSS Reset
   3. Base Typography & Global Styles
   4. Utility Classes
   5. Navigation
   6. Hero Section
   7. About Section
   8. Services Section
   9. Why Choose Us Section
   10. How It Works Section
   11. Experience Section
   12. Contact Section
   13. Footer
   14. Animations
   15. Responsive — Tablet Landscape (≤1024px)
   16. Responsive — Tablet Portrait (≤768px)
   17. Responsive — Mobile (≤600px)
   18. Responsive — Small Mobile (≤380px)
   ======================================== */


/* ========================================
   1. CSS CUSTOM PROPERTIES
   ======================================== */

:root {
  /* Colors — Primary */
  --color-primary: #0f1b4c;
  --color-primary-light: #1a2d6d;
  --color-primary-dark: #0a1235;

  /* Colors — Accent */
  --color-accent: #2563eb;
  --color-accent-hover: #1d4ed8;
  --color-accent-light: #3b82f6;

  /* Colors — Neutrals */
  --color-white: #ffffff;
  --color-gray-50: #f8fafc;
  --color-gray-100: #f1f5f9;
  --color-gray-200: #e2e8f0;
  --color-gray-300: #cbd5e1;
  --color-gray-500: #64748b;
  --color-gray-700: #334155;
  --color-gray-900: #0f172a;

  /* Colors — Semantic */
  --color-hero-overlay: rgba(10, 18, 53, 0.78);
  --color-text-on-dark: #ffffff;
  --color-text-on-dark-muted: rgba(255, 255, 255, 0.7);

  /* Typography — Fonts */
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Typography — Fluid Sizes */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.83rem + 0.2vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1.05rem + 0.375vw, 1.25rem);
  --text-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
  --text-2xl: clamp(1.5rem, 1.25rem + 1.25vw, 2rem);
  --text-3xl: clamp(1.875rem, 1.5rem + 1.875vw, 2.5rem);
  --text-4xl: clamp(2.25rem, 1.75rem + 2.5vw, 3.25rem);
  --text-hero: clamp(2.5rem, 1.75rem + 3.75vw, 4.25rem);

  /* Line Heights */
  --leading-tight: 1.2;
  --leading-snug: 1.35;
  --leading-normal: 1.6;
  --leading-relaxed: 1.8;

  /* 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-section: clamp(4rem, 3rem + 5vw, 7rem);

  /* Layout */
  --container-max: 1200px;
  --container-padding: clamp(1.25rem, 0.75rem + 2.5vw, 2rem);
  --nav-height: 100px;

  /* Borders & Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.875rem;
  --radius-xl: 1.25rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.1);
  --shadow-card: 0 1px 3px rgba(15, 27, 76, 0.04), 0 4px 12px rgba(15, 27, 76, 0.06);
  --shadow-card-hover: 0 8px 24px rgba(15, 27, 76, 0.12), 0 2px 8px rgba(15, 27, 76, 0.06);
  --shadow-nav: 0 1px 3px rgba(0, 0, 0, 0.08);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 300ms ease;
  --transition-slow: 500ms ease;

  /* Z-index */
  --z-nav: 1000;
  --z-mobile-menu: 1100;
}


/* ========================================
   2. CSS RESET
   ======================================== */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--color-gray-700);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

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

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

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: var(--leading-tight);
  color: var(--color-gray-900);
}


/* ========================================
   3. BASE TYPOGRAPHY & GLOBAL
   ======================================== */

.section {
  padding: var(--space-section) 0;
}

.section--light {
  background-color: var(--color-gray-50);
}

.section--white {
  background-color: var(--color-white);
}

.section--dark {
  background-color: var(--color-primary);
}

.section__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-3xl);
}

.section__label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
}

.section__label--light {
  color: var(--color-accent-light);
}

.section__title {
  font-size: var(--text-4xl);
  font-weight: 800;
  margin-bottom: var(--space-lg);
  color: var(--color-gray-900);
}

.section__title--light {
  color: var(--color-text-on-dark);
}

.section__subtitle {
  font-size: var(--text-lg);
  color: var(--color-gray-500);
  line-height: var(--leading-relaxed);
}


/* ========================================
   4. UTILITY CLASSES
   ======================================== */

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  white-space: nowrap;
  min-height: 48px;
  border: 2px solid transparent;
}

.btn--primary {
  background-color: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
}

.btn--primary:hover {
  background-color: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn--secondary {
  background-color: var(--color-gray-100);
  color: var(--color-gray-700);
  border-color: var(--color-gray-200);
}

.btn--secondary:hover {
  background-color: var(--color-gray-200);
  color: var(--color-gray-900);
}

.btn--accent {
  background-color: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
  padding: 1rem 2.5rem;
  font-size: var(--text-base);
}

.btn--accent:hover {
  background-color: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
}

.btn--outline-light {
  background-color: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.4);
  padding: 1rem 2.5rem;
  font-size: var(--text-base);
}

.btn--outline-light:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
  transform: translateY(-2px);
}

.btn--sm {
  padding: 0.625rem 1.5rem;
  font-size: var(--text-xs);
  min-height: 40px;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-accent);
  color: var(--color-white);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  z-index: 9999;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: var(--space-md);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}


/* ========================================
   5. NAVIGATION
   ======================================== */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-nav);
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background-color: transparent;
  transition: background-color var(--transition-base), box-shadow var(--transition-base);
}

.nav--scrolled {
  background-color: var(--color-primary);
  box-shadow: var(--shadow-nav);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--color-white);
  z-index: var(--z-mobile-menu);
}

.nav__logo-icon {
  flex-shrink: 0;
  height: 72px;
  width: auto;
}

.nav__logo-text {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav__link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  transition: color var(--transition-fast);
  position: relative;
  padding: 0.25rem 0;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-accent-light);
  transition: width var(--transition-base);
}

.nav__link:hover,
.nav__link--active {
  color: var(--color-white);
}

.nav__link:hover::after,
.nav__link--active::after {
  width: 100%;
}

.nav__cta-item .btn {
  color: var(--color-white);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  z-index: var(--z-mobile-menu);
}

.nav__toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-white);
  border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-fast);
}

/* Hamburger → X animation */
.nav__toggle--active .nav__toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__toggle--active .nav__toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav__toggle--active .nav__toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}


/* ========================================
   6. HERO SECTION
   ======================================== */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh;
  min-height: 100dvh;
  background-image: url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(37, 99, 235, 0.12) 0%, transparent 60%),
    linear-gradient(
      160deg,
      rgba(10, 18, 53, 0.92) 0%,
      rgba(12, 22, 60, 0.88) 20%,
      rgba(15, 27, 76, 0.82) 40%,
      rgba(18, 32, 85, 0.76) 60%,
      rgba(22, 38, 95, 0.72) 80%,
      rgba(26, 45, 109, 0.68) 100%
    );
}

.hero__content {
  position: relative;
  z-index: 1;
  padding-top: calc(var(--nav-height) + var(--space-3xl));
  padding-bottom: var(--space-3xl);
  max-width: 780px;
}

.hero__title {
  font-size: var(--text-4xl);
  font-weight: 800;
  color: var(--color-text-on-dark);
  line-height: var(--leading-tight);
  margin-bottom: var(--space-lg);
  letter-spacing: -0.02em;
}

.hero__subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-on-dark-muted);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-2xl);
  max-width: 620px;
}

.hero__actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}


/* ========================================
   7. ABOUT SECTION
   ======================================== */

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
  margin-bottom: var(--space-3xl);
}

.about__text .section__label {
  margin-bottom: var(--space-sm);
}

.about__text .section__title {
  margin-bottom: var(--space-lg);
}

.about__description {
  font-size: var(--text-base);
  color: var(--color-gray-500);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-md);
}

.about__highlights {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.about__highlight {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-gray-700);
}

.about__highlight-icon {
  flex-shrink: 0;
  color: var(--color-accent);
  width: 20px;
  height: 20px;
}

.about__image-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.about__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-xl);
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  padding: var(--space-2xl);
  background: var(--color-white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-gray-200);
}

.stats__item {
  text-align: center;
  padding: var(--space-md);
}

.stats__number {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--color-primary);
  display: inline;
}

.stats__plus {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-accent);
}

.stats__label {
  display: block;
  font-size: var(--text-sm);
  color: var(--color-gray-500);
  margin-top: var(--space-xs);
}


/* ========================================
   8. SERVICES SECTION
   ======================================== */

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.card {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  border: 1px solid var(--color-gray-200);
  border-top: 3px solid transparent;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-top-color: var(--color-accent);
}

.card__icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-lg);
}

.card__icon {
  color: var(--color-white);
}

.card__title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-gray-900);
  margin-bottom: var(--space-sm);
}

.card__text {
  font-size: var(--text-base);
  color: var(--color-gray-500);
  line-height: var(--leading-relaxed);
}


/* ========================================
   9. WHY CHOOSE US SECTION
   ======================================== */

.why__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.why__list {
  margin-top: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.why__item {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}

.why__item-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  color: var(--color-accent-light);
}

.why__item-title {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text-on-dark);
  margin-bottom: 0.25rem;
}

.why__item-text {
  font-size: var(--text-sm);
  color: var(--color-text-on-dark-muted);
  line-height: var(--leading-normal);
}

.why__image-wrapper {
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.why__image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-xl);
}


/* ========================================
   10. HOW IT WORKS SECTION
   ======================================== */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  position: relative;
  counter-reset: step;
}

/* Connecting line between steps */
.steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: calc(16.67% + var(--space-xl));
  right: calc(16.67% + var(--space-xl));
  height: 2px;
  background: var(--color-gray-200);
  z-index: 0;
}

.steps__item {
  text-align: center;
  position: relative;
  z-index: 1;
}

.steps__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 800;
  border-radius: var(--radius-full);
  margin: 0 auto var(--space-lg);
  box-shadow: 0 4px 12px rgba(15, 27, 76, 0.2);
}

.steps__title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-gray-900);
  margin-bottom: var(--space-md);
}

.steps__details {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.steps__details li {
  font-size: var(--text-sm);
  color: var(--color-gray-500);
  line-height: var(--leading-normal);
}

.steps__details li::before {
  content: '•';
  color: var(--color-accent);
  margin-right: 0.5rem;
  font-weight: 700;
}


/* ========================================
   11. EXPERIENCE SECTION
   ======================================== */

.experience__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.experience__image-wrapper {
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.experience__image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-xl);
}

.experience__text .section__label {
  margin-bottom: var(--space-sm);
}

.experience__text .section__title {
  margin-bottom: var(--space-lg);
}

.experience__description {
  font-size: var(--text-base);
  color: var(--color-gray-500);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-md);
}

.experience__text .btn {
  margin-top: var(--space-lg);
}


/* ========================================
   12. CONTACT SECTION
   ======================================== */

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.contact__card {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  padding: var(--space-xl);
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-gray-200);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-base);
}

.contact__card:hover {
  box-shadow: var(--shadow-md);
}

.contact__card-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  border-radius: var(--radius-md);
  color: var(--color-white);
}

.contact__card-title {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-gray-900);
  margin-bottom: 0.25rem;
}

.contact__card-link {
  font-size: var(--text-base);
  color: var(--color-accent);
  font-weight: 500;
  transition: color var(--transition-fast);
}

.contact__card-link:hover {
  color: var(--color-accent-hover);
  text-decoration: underline;
}

.contact__card-text {
  font-size: var(--text-sm);
  color: var(--color-gray-500);
}

/* Contact Map */
.contact__map {
  border-radius: var(--radius-xl);
  overflow: hidden;
  min-height: 400px;
}

.contact__map iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  display: block;
  border-radius: var(--radius-xl);
}

.contact__card-address {
  line-height: var(--leading-normal);
  display: block;
}


/* ========================================
   13. FOOTER
   ======================================== */

.footer {
  background-color: var(--color-primary-dark);
  padding: var(--space-3xl) 0 0;
  color: var(--color-text-on-dark-muted);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-3xl);
  padding-bottom: var(--space-3xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__brand .nav__logo {
  margin-bottom: var(--space-md);
}

.footer__brand .nav__logo-icon {
  height: 62px;
}

.footer__tagline {
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  color: var(--color-text-on-dark-muted);
  max-width: 300px;
}

.footer__heading {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-on-dark);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-lg);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer__link {
  font-size: var(--text-sm);
  color: var(--color-text-on-dark-muted);
  transition: color var(--transition-fast);
}

.footer__link:hover {
  color: var(--color-text-on-dark);
}

.footer__social {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  color: var(--color-text-on-dark-muted);
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.footer__social-link:hover {
  background: var(--color-accent);
  color: var(--color-white);
}

.footer__bottom {
  padding: var(--space-xl) 0;
  text-align: center;
  font-size: var(--text-xs);
  color: var(--color-text-on-dark-muted);
}

.footer__legal {
  margin-top: var(--space-sm);
}

.footer__legal-link {
  font-size: var(--text-xs);
  color: var(--color-text-on-dark-muted);
  transition: color var(--transition-fast);
}

.footer__legal-link:hover {
  color: var(--color-text-on-dark);
}

.footer__legal-divider {
  margin: 0 var(--space-sm);
  opacity: 0.4;
}


/* ========================================
   13b. LEGAL PAGES
   ======================================== */

.legal-page {
  padding-top: calc(var(--nav-height) + var(--space-3xl));
}

.legal-page__title {
  font-size: var(--text-4xl);
  font-weight: 800;
  margin-bottom: var(--space-sm);
}

.legal-page__updated {
  font-size: var(--text-sm);
  color: var(--color-gray-500);
  margin-bottom: var(--space-3xl);
}

.legal-page__body {
  max-width: 780px;
}

.legal-page__body h2 {
  font-size: var(--text-2xl);
  font-weight: 700;
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
  color: var(--color-gray-900);
}

.legal-page__body h3 {
  font-size: var(--text-lg);
  font-weight: 600;
  margin-top: var(--space-xl);
  margin-bottom: var(--space-sm);
  color: var(--color-gray-900);
}

.legal-page__body p {
  font-size: var(--text-base);
  color: var(--color-gray-700);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-md);
}

.legal-page__body ul {
  margin-bottom: var(--space-md);
  padding-left: var(--space-xl);
}

.legal-page__body li {
  font-size: var(--text-base);
  color: var(--color-gray-700);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-xs);
  list-style: disc;
}

.legal-page__body a {
  color: var(--color-accent);
  text-decoration: underline;
  transition: color var(--transition-fast);
}

.legal-page__body a:hover {
  color: var(--color-accent-hover);
}


/* ========================================
   14. COOKIE CONSENT BANNER
   ======================================== */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9000;
  background: var(--color-primary-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  animation: slideUp 0.4s ease;
}

@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.cookie-banner__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--space-lg) var(--container-padding);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xl);
}

.cookie-banner__text {
  font-size: var(--text-sm);
  color: var(--color-text-on-dark-muted);
  line-height: var(--leading-normal);
  flex: 1;
}

.cookie-banner__actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-shrink: 0;
}

.cookie-banner__link {
  font-size: var(--text-sm);
  color: var(--color-accent-light);
  white-space: nowrap;
  transition: color var(--transition-fast);
}

.cookie-banner__link:hover {
  color: var(--color-white);
  text-decoration: underline;
}

.cookie-banner__decline {
  font-size: var(--text-sm);
  color: var(--color-text-on-dark-muted);
  white-space: nowrap;
  transition: color var(--transition-fast);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
}

.cookie-banner__decline:hover {
  color: var(--color-white);
}


/* ========================================
   15. ANIMATIONS
   ======================================== */

[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].animate-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Focus visible for keyboard users */
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  [data-animate] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}


/* ========================================
   15. RESPONSIVE — TABLET LANDSCAPE (≤1024px)
   ======================================== */

@media (max-width: 1024px) {

  /* Navigation — hamburger shows */
  .nav__toggle {
    display: flex;
  }

  .nav__links {
    position: fixed;
    top: 0;
    right: 0;
    width: 320px;
    height: 100vh;
    height: 100dvh;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: var(--space-lg);
    padding: var(--space-3xl);
    background: var(--color-primary-dark);
    transform: translateX(100%);
    transition: transform var(--transition-base);
    z-index: var(--z-nav);
    box-shadow: -8px 0 30px rgba(0, 0, 0, 0.3);
  }

  .nav__links--open {
    transform: translateX(0);
  }

  .nav__link {
    font-size: var(--text-xl);
    color: var(--color-text-on-dark);
    padding: var(--space-xs) 0;
  }

  .nav__link::after {
    display: none;
  }

  .nav__cta-item {
    margin-top: var(--space-md);
  }

  .nav__cta-item .btn {
    width: 100%;
    justify-content: center;
  }

  /* About — tighter grid */
  .about__grid {
    gap: var(--space-2xl);
  }

  /* Services — keep 3 col but tighter */
  .services__grid {
    gap: var(--space-lg);
  }

  .card {
    padding: var(--space-xl);
  }

  /* Why Us */
  .why__grid {
    gap: var(--space-2xl);
  }

  /* Footer */
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
  }

  .footer__brand {
    grid-column: 1 / -1;
  }
}


/* ========================================
   16. RESPONSIVE — TABLET PORTRAIT (≤768px)
   ======================================== */

@media (max-width: 768px) {

  :root {
    --nav-height: 90px;
  }

  .nav__logo-icon {
    height: 62px;
  }

  .footer__brand .nav__logo-icon {
    height: 55px;
  }

  /* About — single column */
  .about__grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .about__image-wrapper {
    order: -1;
  }

  /* Stats — 2 columns */
  .stats {
    grid-template-columns: repeat(2, 1fr);
    padding: var(--space-xl);
  }

  /* Services — 2 columns */
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Why Us — single column */
  .why__grid {
    grid-template-columns: 1fr;
  }

  .why__image-wrapper {
    order: -1;
    max-height: 360px;
  }

  /* Steps — single column */
  .steps {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    max-width: 480px;
    margin: 0 auto;
  }

  .steps::before {
    top: 0;
    bottom: 0;
    left: 31px;
    right: auto;
    width: 2px;
    height: auto;
  }

  .steps__item {
    text-align: left;
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: var(--space-md);
    align-items: start;
  }

  .steps__number {
    margin: 0;
    width: 56px;
    height: 56px;
    font-size: var(--text-lg);
  }

  /* Experience — single column */
  .experience__grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  /* Contact — single column */
  .contact__grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  /* Footer */
  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    text-align: center;
  }

  .footer__brand {
    grid-column: auto;
  }

  .footer__brand .nav__logo {
    justify-content: center;
  }

  .footer__tagline {
    max-width: none;
    margin: 0 auto;
  }

  .footer__social {
    justify-content: center;
  }
}


/* ========================================
   17. RESPONSIVE — MOBILE (≤600px)
   ======================================== */

@media (max-width: 600px) {

  :root {
    --nav-height: 78px;
  }

  .nav__logo-icon {
    height: 53px;
  }

  .footer__brand .nav__logo-icon {
    height: 48px;
  }

  /* Nav mobile menu takes full width */
  .nav__links {
    width: 100%;
  }

  /* Hero */
  .hero {
    min-height: 90vh;
  }

  .hero__title {
    font-size: clamp(2rem, 1.5rem + 2.5vw, 3rem);
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }

  /* Stats — 2 col still but tighter */
  .stats {
    padding: var(--space-lg);
    gap: var(--space-md);
  }

  .stats__number {
    font-size: var(--text-2xl);
  }

  /* Services — single column */
  .services__grid {
    grid-template-columns: 1fr;
  }

  /* Cookie banner — stack */
  .cookie-banner__inner {
    flex-direction: column;
    text-align: center;
    gap: var(--space-md);
  }

  /* Steps — tighter */
  .steps {
    max-width: none;
  }

  /* Contact map */
  .contact__map {
    min-height: 300px;
  }

  .contact__map iframe {
    min-height: 300px;
  }
}


/* ========================================
   18. RESPONSIVE — SMALL MOBILE (≤380px)
   ======================================== */

@media (max-width: 380px) {

  .stats {
    grid-template-columns: 1fr;
  }

  .hero__content {
    padding-top: calc(var(--nav-height) + var(--space-2xl));
  }

  .card {
    padding: var(--space-lg);
  }

  .contact__card {
    flex-direction: column;
    text-align: center;
    padding: var(--space-lg);
  }
}
