/* ============================================================
   ARCADIA — Construction & Development
   Design System & Styles — Light-First with Dark Mode
   ============================================================ */

/* ---------- Google Fonts loaded via <link> in HTML ---------- */

/* ---------- CSS Custom Properties — LIGHT (Default) ---------- */
:root {
  /* Brand — always the same */
  --blue-deep:    #1B3A8C;
  --blue-mid:     #2E5BD6;
  --blue-light:   #4A7AFF;
  --blue-glow:    rgba(46, 91, 214, .12);
  --orange:       #E8752A;
  --orange-light: #F5A623;
  --orange-glow:  rgba(232, 117, 42, .10);

  /* Backgrounds */
  --bg-body:      #F8F7F4;
  --bg-section:   #FFFFFF;
  --bg-card:      #FFFFFF;
  --bg-elevated:  #F1F0EC;
  --bg-glass:     rgba(255, 255, 255, .70);
  --bg-hero-overlay-top:    rgba(248,247,244,.3);
  --bg-hero-overlay-bottom: rgba(248,247,244,.92);
  --bg-hero-overlay-side:   rgba(248,247,244,.5);
  --bg-hero-gradient-horizontal: linear-gradient(90deg, rgba(248, 247, 244, 0.98) 0%, rgba(248, 247, 244, 0.8) 35%, rgba(248, 247, 244, 0) 70%);

  /* Text */
  --text-primary:   #1A1A2E;
  --text-secondary: #555566;
  --text-muted:     #8E8E9E;
  --text-accent:    var(--orange);
  --text-on-dark:   #F0EDE8;

  /* Borders */
  --border-subtle:  rgba(0, 0, 0, .07);
  --border-glass:   rgba(0, 0, 0, .08);
  --border-hover:   rgba(0, 0, 0, .15);

  /* Shadows */
  --shadow-card: 0 4px 24px rgba(0,0,0,.06);
  --shadow-card-hover: 0 12px 40px rgba(0,0,0,.10);
  --shadow-glow-blue: 0 0 40px var(--blue-glow);
  --shadow-glow-orange: 0 0 40px var(--orange-glow);

  /* Architectural pattern */
  --pattern-color: rgba(0, 0, 0, .04);
  --pattern-color-strong: rgba(0, 0, 0, .07);

  /* Nav */
  --nav-bg: rgba(248, 247, 244, .92);
  --nav-border: rgba(0, 0, 0, .06);

  /* Footer */
  --footer-bg: #1A1A2E;
  --footer-text: #9B97A0;
  --footer-heading: #F0EDE8;

  /* Spacing scale */
  --s-xs:  .25rem;
  --s-sm:  .5rem;
  --s-md:  1rem;
  --s-lg:  1.5rem;
  --s-xl:  2rem;
  --s-2xl: 3rem;
  --s-3xl: 4rem;
  --s-4xl: 6rem;
  --s-5xl: 8rem;

  /* Typography */
  --ff-heading: 'Playfair Display', Georgia, serif;
  --ff-body:    'DM Sans', system-ui, sans-serif;

  --fs-xs:   .75rem;
  --fs-sm:   .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.25rem;
  --fs-5xl:  4rem;
  --fs-hero: clamp(2.8rem, 6.5vw, 6rem);

  /* Misc */
  --radius-sm:  .5rem;
  --radius-md:  .75rem;
  --radius-lg:  1rem;
  --radius-xl:  1.5rem;
  --radius-full: 9999px;

  --transition-fast:   .2s cubic-bezier(.4,0,.2,1);
  --transition-base:   .35s cubic-bezier(.4,0,.2,1);
  --transition-smooth: .5s cubic-bezier(.22,1,.36,1);
  --transition-slow:   .7s cubic-bezier(.22,1,.36,1);

  --nav-height: 110px;
  --container-max: 1280px;
}


/* ---------- DARK THEME ---------- */
[data-theme="dark"] {
  --bg-body:      #06060B;
  --bg-section:   #0A0A0F;
  --bg-card:      #101018;
  --bg-elevated:  #16161F;
  --bg-glass:     rgba(16, 16, 24, .60);
  --bg-hero-overlay-top:    rgba(6,6,11,.4);
  --bg-hero-overlay-bottom: rgba(6,6,11,.95);
  --bg-hero-overlay-side:   rgba(6,6,11,.6);
  --bg-hero-gradient-horizontal: linear-gradient(90deg, rgba(6, 6, 11, 0.98) 0%, rgba(6, 6, 11, 0.8) 35%, rgba(6, 6, 11, 0) 70%);

  --text-primary:   #F0EDE8;
  --text-secondary: #9B97A0;
  --text-muted:     #5E5B63;

  --border-subtle:  rgba(255, 255, 255, .06);
  --border-glass:   rgba(255, 255, 255, .08);
  --border-hover:   rgba(255, 255, 255, .14);

  --shadow-card: 0 4px 30px rgba(0,0,0,.3);
  --shadow-card-hover: 0 12px 40px rgba(0,0,0,.4);
  --shadow-glow-blue: 0 0 40px rgba(46, 91, 214, .25);
  --shadow-glow-orange: 0 0 40px rgba(232, 117, 42, .20);

  --pattern-color: rgba(255, 255, 255, .025);
  --pattern-color-strong: rgba(255, 255, 255, .04);

  --nav-bg: rgba(6, 6, 11, .92);
  --nav-border: rgba(255, 255, 255, .06);

  --footer-bg: #0A0A0F;
  --footer-text: #5E5B63;
  --footer-heading: #F0EDE8;

  --blue-glow: rgba(46, 91, 214, .25);
  --orange-glow: rgba(232, 117, 42, .20);
}

/* Auto dark from system disabled — light mode locked */


/* ============================================================
   RESET & BASE
   ============================================================ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--ff-body);
  background: var(--bg-body);
  color: var(--text-primary);
  line-height: 1.8;
  overflow-x: hidden;
  transition: background var(--transition-base), color var(--transition-base);
  font-size: var(--fs-base);
}

p {
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
}

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

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

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

ul { list-style: none; }

::selection {
  background: var(--orange);
  color: #fff;
}


/* ============================================================
   ARCHITECTURAL BACKGROUND PATTERN
   ============================================================ */
.arch-bg {
  position: relative;
}

.arch-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    linear-gradient(90deg, var(--pattern-color) 1px, transparent 1px),
    linear-gradient(0deg, var(--pattern-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--pattern-color) .5px, transparent .5px),
    linear-gradient(0deg, var(--pattern-color) .5px, transparent .5px),
    linear-gradient(45deg, var(--pattern-color) .5px, transparent .5px),
    linear-gradient(-45deg, var(--pattern-color) .5px, transparent .5px);
  background-size:
    120px 120px,
    120px 120px,
    40px 40px,
    40px 40px,
    60px 60px,
    60px 60px;
}

.arch-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400' fill='none'%3E%3Ccircle cx='200' cy='200' r='30' stroke='%23000' stroke-opacity='.03' stroke-width='.5'/%3E%3Ccircle cx='200' cy='200' r='50' stroke='%23000' stroke-opacity='.02' stroke-width='.5'/%3E%3Cline x1='200' y1='145' x2='200' y2='255' stroke='%23000' stroke-opacity='.03' stroke-width='.5'/%3E%3Cline x1='145' y1='200' x2='255' y2='200' stroke='%23000' stroke-opacity='.03' stroke-width='.5'/%3E%3Crect x='30' y='280' width='60' height='90' stroke='%23000' stroke-opacity='.025' stroke-width='.5' rx='1'/%3E%3Crect x='35' y='290' width='12' height='16' stroke='%23000' stroke-opacity='.02' stroke-width='.4'/%3E%3Crect x='52' y='290' width='12' height='16' stroke='%23000' stroke-opacity='.02' stroke-width='.4'/%3E%3Crect x='35' y='315' width='12' height='16' stroke='%23000' stroke-opacity='.02' stroke-width='.4'/%3E%3Crect x='52' y='315' width='12' height='16' stroke='%23000' stroke-opacity='.02' stroke-width='.4'/%3E%3Cline x1='300' y1='50' x2='380' y2='50' stroke='%23000' stroke-opacity='.03' stroke-width='.5' stroke-dasharray='4 3'/%3E%3Cline x1='300' y1='46' x2='300' y2='54' stroke='%23000' stroke-opacity='.03' stroke-width='.5'/%3E%3Cline x1='380' y1='46' x2='380' y2='54' stroke='%23000' stroke-opacity='.03' stroke-width='.5'/%3E%3Cpolygon points='340,100 310,160 370,160' stroke='%23000' stroke-opacity='.025' stroke-width='.5' fill='none'/%3E%3Cpath d='M 50 50 A 30 30 0 0 1 80 50' stroke='%23000' stroke-opacity='.025' stroke-width='.5' fill='none'/%3E%3Cline x1='50' y1='50' x2='50' y2='20' stroke='%23000' stroke-opacity='.025' stroke-width='.5'/%3E%3Cline x1='50' y1='50' x2='80' y2='50' stroke='%23000' stroke-opacity='.025' stroke-width='.5'/%3E%3C/svg%3E");
  background-size: 400px 400px;
}

[data-theme="dark"] .arch-bg::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400' fill='none'%3E%3Ccircle cx='200' cy='200' r='30' stroke='%23fff' stroke-opacity='.02' stroke-width='.5'/%3E%3Ccircle cx='200' cy='200' r='50' stroke='%23fff' stroke-opacity='.015' stroke-width='.5'/%3E%3Cline x1='200' y1='145' x2='200' y2='255' stroke='%23fff' stroke-opacity='.02' stroke-width='.5'/%3E%3Cline x1='145' y1='200' x2='255' y2='200' stroke='%23fff' stroke-opacity='.02' stroke-width='.5'/%3E%3Crect x='30' y='280' width='60' height='90' stroke='%23fff' stroke-opacity='.018' stroke-width='.5' rx='1'/%3E%3Crect x='35' y='290' width='12' height='16' stroke='%23fff' stroke-opacity='.015' stroke-width='.4'/%3E%3Crect x='52' y='290' width='12' height='16' stroke='%23fff' stroke-opacity='.015' stroke-width='.4'/%3E%3Crect x='35' y='315' width='12' height='16' stroke='%23fff' stroke-opacity='.015' stroke-width='.4'/%3E%3Crect x='52' y='315' width='12' height='16' stroke='%23fff' stroke-opacity='.015' stroke-width='.4'/%3E%3Cline x1='300' y1='50' x2='380' y2='50' stroke='%23fff' stroke-opacity='.02' stroke-width='.5' stroke-dasharray='4 3'/%3E%3Cline x1='300' y1='46' x2='300' y2='54' stroke='%23fff' stroke-opacity='.02' stroke-width='.5'/%3E%3Cline x1='380' y1='46' x2='380' y2='54' stroke='%23fff' stroke-opacity='.02' stroke-width='.5'/%3E%3Cpolygon points='340,100 310,160 370,160' stroke='%23fff' stroke-opacity='.018' stroke-width='.5' fill='none'/%3E%3Cpath d='M 50 50 A 30 30 0 0 1 80 50' stroke='%23fff' stroke-opacity='.018' stroke-width='.5' fill='none'/%3E%3Cline x1='50' y1='50' x2='50' y2='20' stroke='%23fff' stroke-opacity='.018' stroke-width='.5'/%3E%3Cline x1='50' y1='50' x2='80' y2='50' stroke='%23fff' stroke-opacity='.018' stroke-width='.5'/%3E%3C/svg%3E");
}


/* ---------- Utilities ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--s-xl);
  position: relative;
  z-index: 1;
}

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

.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--s-sm);
  font-family: var(--ff-body);
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .25em;
  color: var(--orange);
  margin-bottom: var(--s-lg);
  text-align: left;
}

.section-label::before {
  content: '';
  width: 28px;
  height: 2px;
  background: linear-gradient(90deg, var(--orange), var(--orange-light));
  border-radius: 1px;
}

.section-title {
  font-family: var(--ff-heading);
  font-size: clamp(2.2rem, 4.5vw, var(--fs-4xl));
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: var(--s-lg);
  text-align: left;
  font-style: normal;
}

.section-subtitle {
  font-size: var(--fs-md);
  color: var(--text-secondary);
  max-width: 640px;
  line-height: 1.8;
  text-align: justify;
}

.accent { color: var(--orange); }
.accent-blue { color: var(--blue-mid); }

.gradient-text {
  background: linear-gradient(135deg, var(--blue-light), var(--orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}


/* ============================================================
   PARALLAX BANNER SECTIONS
   ============================================================ */
.parallax-banner {
  position: relative;
  height: 340px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.parallax-banner-bg {
  position: absolute;
  inset: -80px 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  will-change: transform;
  z-index: 0;
}

.parallax-banner-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* Light mode overlay */
.parallax-banner-overlay {
  background: linear-gradient(
    135deg,
    rgba(248,247,244,.82) 0%,
    rgba(248,247,244,.7) 50%,
    rgba(248,247,244,.82) 100%
  );
}

[data-theme="dark"] .parallax-banner-overlay {
  background: linear-gradient(
    135deg,
    rgba(6,6,11,.82) 0%,
    rgba(6,6,11,.65) 50%,
    rgba(6,6,11,.82) 100%
  );
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .parallax-banner-overlay {
    background: linear-gradient(
      135deg,
      rgba(6,6,11,.82) 0%,
      rgba(6,6,11,.65) 50%,
      rgba(6,6,11,.82) 100%
    );
  }
}

.parallax-banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 var(--s-xl);
}

.parallax-banner-content .quote {
  font-family: var(--ff-heading);
  font-size: clamp(1.4rem, 3vw, var(--fs-3xl));
  font-weight: 600;
  font-style: italic;
  line-height: 1.4;
  max-width: 700px;
  margin: 0 auto;
  color: var(--text-primary);
}

.parallax-banner-content .quote-attr {
  margin-top: var(--s-md);
  font-family: var(--ff-body);
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--orange);
  font-style: normal;
}


/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s-sm);
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: var(--fs-sm);
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .9rem 2.2rem;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

/* Premium shining sweep hover effect */
.btn::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transition: left 0.6s ease;
  z-index: -1;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  color: #fff;
  box-shadow: 0 4px 20px var(--orange-glow);
}

.btn-primary:hover {
  transform: translateY(-2.5px) scale(1.02);
  box-shadow: 0 8px 30px rgba(232, 117, 42, .38);
}

.btn-secondary {
  background: var(--bg-glass);
  color: var(--text-primary);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: var(--bg-elevated);
  border-color: var(--orange);
  color: var(--orange);
  transform: translateY(-2.5px) scale(1.02);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.btn-outline-blue {
  background: transparent;
  color: var(--blue-mid);
  border: 1px solid var(--blue-mid);
  transition: all var(--transition-fast);
}

.btn-outline-blue:hover {
  background: var(--blue-mid);
  color: #fff;
  transform: translateY(-2px);
}


/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  transition: all var(--transition-base);
}

.navbar.scrolled {
  background: var(--nav-bg);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--nav-border);
  height: 90px;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--s-md);
  z-index: 1001;
}

.nav-logo img {
  height: 100px;
  width: auto;
  transition: height var(--transition-base);
}

.navbar.scrolled .nav-logo img {
  height: 75px;
}

.nav-logo-text {
  display: none;
}

.nav-center {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  margin: 0 var(--s-3xl);
}

.nav-link {
  font-family: var(--ff-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  position: relative;
  padding: var(--s-xs) 0;
  transition: color var(--transition-fast);
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--orange), var(--orange-light));
  border-radius: 1px;
  transition: width var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
}

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

.nav-right {
  display: flex;
  align-items: center;
  gap: var(--s-lg);
}

/* Language Toggle */
.lang-toggle {
  display: flex;
  align-items: center;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 3px;
  gap: 0;
  transition: all var(--transition-fast);
}

.lang-btn {
  font-family: var(--ff-body);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: .05em;
  padding: .35rem .7rem;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  color: var(--text-muted);
  cursor: pointer;
}

.lang-btn.active {
  background: linear-gradient(135deg, var(--blue-deep), var(--blue-mid));
  color: #fff;
  box-shadow: 0 2px 8px var(--blue-glow);
}

.lang-btn:not(.active):hover {
  color: var(--text-primary);
}

/* Theme Toggle */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: all var(--transition-fast);
  font-size: 1.1rem;
}

.theme-toggle:hover {
  border-color: var(--orange);
  background: var(--bg-glass);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  width: 28px;
  z-index: 1001;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-base);
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--nav-bg);
  backdrop-filter: blur(30px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--s-xl);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-smooth);
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu .nav-link {
  font-size: var(--fs-xl);
  font-weight: 600;
  font-family: var(--ff-heading);
}

.mobile-controls {
  display: flex;
  align-items: center;
  gap: var(--s-lg);
  margin-top: var(--s-lg);
}


/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-video-wrapper {
  position: absolute;
  inset: 0;
  z-index: 0;
  will-change: transform;
}

.hero-video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      var(--bg-hero-overlay-top) 0%,
      transparent 30%,
      rgba(0,0,0,0.05) 70%,
      var(--bg-hero-overlay-bottom) 100%
    ),
    var(--bg-hero-gradient-horizontal);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: left;
  max-width: 750px;
  padding: var(--s-xl) 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--s-sm);
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-full);
  padding: .5rem 1.25rem;
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: var(--s-2xl);
}

.hero-badge .dot {
  width: 6px; height: 6px;
  background: var(--orange);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

.hero-title {
  font-family: var(--ff-heading);
  font-size: var(--fs-hero);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: var(--s-xl);
  letter-spacing: -.01em;
  text-align: left;
}

.hero-title .line {
  display: block;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeSlideUp .8s cubic-bezier(.22,1,.36,1) forwards;
}

.hero-title .line:nth-child(1) { animation-delay: .3s; }
.hero-title .line:nth-child(2) { animation-delay: .5s; }
.hero-title .line:nth-child(3) { animation-delay: .7s; }

.hero-subtitle {
  font-size: clamp(1rem, 2vw, var(--fs-lg));
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 600px;
  margin: 0 0 var(--s-2xl) 0;
  opacity: 0;
  animation: fadeSlideUp .8s cubic-bezier(.22,1,.36,1) .9s forwards;
  text-align: left;
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: var(--s-lg);
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeSlideUp .8s cubic-bezier(.22,1,.36,1) 1.1s forwards;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-sm);
  color: var(--text-muted);
  font-size: var(--fs-xs);
  letter-spacing: .1em;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeSlideUp .8s ease 1.5s forwards;
}

.scroll-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid var(--text-muted);
  border-radius: 12px;
  position: relative;
}

.scroll-mouse::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 8px;
  background: var(--orange);
  border-radius: 2px;
  animation: scrollDown 2s ease-in-out infinite;
}


/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about {
  padding: var(--s-5xl) 0;
  position: relative;
  background: var(--bg-body);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-4xl);
  align-items: center;
}

.about-text p {
  font-size: var(--fs-md);
  color: var(--text-secondary);
  margin-bottom: var(--s-lg);
  line-height: 1.85;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-xl);
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--s-2xl) var(--s-xl);
  text-align: center;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue-mid), var(--orange));
  opacity: 0;
  transition: opacity var(--transition-base);
}

.stat-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.stat-card:hover::before { opacity: 1; }

.stat-number {
  font-family: var(--ff-heading);
  font-size: var(--fs-4xl);
  font-weight: 800;
  background: linear-gradient(135deg, var(--blue-light), var(--orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: var(--s-sm);
}

.stat-label {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-family: var(--ff-body);
  text-align: center;
}


/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services {
  padding: var(--s-5xl) 0;
  background: var(--bg-section);
  position: relative;
}

.services-header {
  text-align: center;
  margin-bottom: var(--s-4xl);
}

.services-header .section-label,
.services-header .section-title {
  text-align: center;
}

.services-header .section-subtitle {
  margin: 0 auto;
  text-align: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-xl);
  position: relative;
  z-index: 1;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  padding: var(--s-2xl);
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(46,91,214,.05), rgba(232,117,42,.03));
  opacity: 0;
  transition: opacity var(--transition-base);
}

.service-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-8px);
  box-shadow: var(--shadow-card-hover), var(--shadow-glow-blue);
}

.service-card:hover::before { opacity: 1; }

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--blue-deep), var(--blue-mid));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: var(--s-xl);
  position: relative;
  z-index: 1;
}

.service-card:nth-child(2) .service-icon {
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
}

.service-card:nth-child(3) .service-icon {
  background: linear-gradient(135deg, #7C3AED, #A855F7);
}

.service-card:nth-child(4) .service-icon {
  background: linear-gradient(135deg, #059669, #34D399);
}

.service-title {
  font-family: var(--ff-heading);
  font-size: var(--fs-lg);
  font-weight: 600;
  margin-bottom: var(--s-md);
  position: relative;
  z-index: 1;
}

.service-desc {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: var(--s-lg);
  position: relative;
  z-index: 1;
}

.service-features {
  position: relative;
  z-index: 1;
}

.service-features li {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  padding: var(--s-xs) 0;
  display: flex;
  align-items: center;
  gap: var(--s-sm);
  transition: color var(--transition-fast);
  text-align: left;
}

.service-features li::before {
  content: '→';
  color: var(--orange);
  font-weight: 600;
  font-size: var(--fs-xs);
}

.service-card:hover .service-features li {
  color: var(--text-secondary);
}

/* Capabilities */
.capabilities {
  margin-top: var(--s-4xl);
  padding-top: var(--s-3xl);
  border-top: 1px solid var(--border-subtle);
  position: relative;
  z-index: 1;
}

.capabilities h3 {
  font-family: var(--ff-heading);
  font-size: var(--fs-xl);
  font-weight: 600;
  text-align: center;
  margin-bottom: var(--s-2xl);
}

.capabilities-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--s-md);
}

.capability-tag {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  padding: .5rem 1.25rem;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  background: var(--bg-elevated);
  text-align: center;
}

.capability-tag:hover {
  border-color: var(--orange);
  color: var(--orange);
  background: rgba(232, 117, 42, .06);
}


/* ============================================================
   PROJECTS SECTION
   ============================================================ */
.projects {
  padding: var(--s-5xl) 0;
  position: relative;
  background: var(--bg-body);
}

.projects-header {
  text-align: center;
  margin-bottom: var(--s-3xl);
}

.projects-header .section-label,
.projects-header .section-title {
  text-align: center;
}

.projects-header .section-subtitle {
  margin: 0 auto;
  text-align: center;
}

.project-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--s-sm);
  margin-bottom: var(--s-3xl);
}

.filter-btn {
  font-family: var(--ff-body);
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--text-muted);
  padding: .5rem 1.5rem;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  color: var(--text-secondary);
  border-color: var(--border-subtle);
}

.filter-btn.active {
  color: var(--text-primary);
  background: var(--bg-elevated);
  border-color: var(--border-hover);
}

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

.project-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  transition: all var(--transition-smooth);
  box-shadow: var(--shadow-card);
}

.project-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: var(--shadow-card-hover);
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.project-card:hover img {
  transform: scale(1.08);
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, transparent 40%, rgba(10,10,15,.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--s-2xl);
  transition: all var(--transition-base);
}

.project-card:hover .project-overlay {
  background: linear-gradient(180deg, rgba(10,10,15,.2) 0%, rgba(10,10,15,.9) 100%);
}

.project-meta {
  display: flex;
  align-items: center;
  gap: var(--s-md);
  margin-bottom: var(--s-sm);
}

.project-meta span {
  font-size: var(--fs-xs);
  color: var(--orange);
  letter-spacing: .06em;
  text-transform: uppercase;
  font-weight: 500;
}

.project-meta .divider {
  width: 3px; height: 3px;
  background: rgba(255,255,255,.5);
  border-radius: 50%;
}

.project-name {
  font-family: var(--ff-heading);
  font-size: var(--fs-xl);
  font-weight: 700;
  margin-bottom: var(--s-xs);
  color: #fff;
  text-align: left;
}

.project-location {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,.7);
  text-align: left;
}

.project-desc {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,.65);
  margin-top: var(--s-sm);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all var(--transition-base);
  text-align: left;
}

.project-card:hover .project-desc {
  max-height: 100px;
  opacity: 1;
}


/* ============================================================
   ARTICLES SECTION
   ============================================================ */
.articles {
  padding: var(--s-5xl) 0;
  background: var(--bg-section);
  position: relative;
}

.articles-header {
  text-align: center;
  margin-bottom: var(--s-4xl);
}

.articles-header .section-label,
.articles-header .section-title {
  text-align: center;
}

.articles-header .section-subtitle {
  margin: 0 auto;
  text-align: center;
}

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

.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition-smooth);
  box-shadow: var(--shadow-card);
}

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

.article-image {
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.article-card:hover .article-image img {
  transform: scale(1.06);
}

.article-body {
  padding: var(--s-xl) var(--s-xl) var(--s-2xl);
}

.article-tag {
  display: inline-block;
  font-family: var(--ff-body);
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--orange);
  margin-bottom: var(--s-md);
  text-align: left;
}

.article-title {
  font-family: var(--ff-heading);
  font-size: var(--fs-lg);
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: var(--s-md);
  color: var(--text-primary);
  transition: color var(--transition-fast);
  text-align: left;
}

.article-card:hover .article-title {
  color: var(--blue-mid);
}

.article-excerpt {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: var(--s-lg);
}

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

.article-date {
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

.article-link {
  font-family: var(--ff-body);
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--blue-mid);
  display: inline-flex;
  align-items: center;
  gap: var(--s-xs);
  transition: gap var(--transition-fast), color var(--transition-fast);
}

.article-link:hover {
  gap: var(--s-sm);
  color: var(--orange);
}


/* ============================================================
   CAREERS SECTION
   ============================================================ */
.careers {
  padding: var(--s-5xl) 0;
  background: var(--bg-body);
  position: relative;
}

.careers-header {
  text-align: center;
  margin-bottom: var(--s-4xl);
}

.careers-header .section-label,
.careers-header .section-title {
  text-align: center;
}

.careers-header .section-subtitle {
  margin: 0 auto;
  text-align: center;
}

.careers-grid {
  display: flex;
  flex-direction: column;
  gap: var(--s-lg);
  max-width: 900px;
  margin: 0 auto;
}

.career-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-card);
}

.career-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-card-hover);
}

.career-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--s-xl) var(--s-2xl);
  cursor: pointer;
  gap: var(--s-xl);
}

.career-card-header:hover {
  background: var(--bg-elevated);
}

.career-info {
  flex: 1;
}

.career-title {
  font-family: var(--ff-heading);
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--s-xs);
  text-align: left;
}

.career-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-sm);
}

.career-tag {
  font-size: var(--fs-xs);
  font-weight: 500;
  padding: .2rem .7rem;
  border-radius: var(--radius-full);
  background: var(--bg-elevated);
  color: var(--text-muted);
  letter-spacing: .03em;
}

.career-tag.dept {
  color: var(--blue-mid);
  background: rgba(46, 91, 214, .08);
}

.career-tag.location {
  color: var(--orange);
  background: rgba(232, 117, 42, .08);
}

.career-expand-icon {
  font-size: var(--fs-xl);
  color: var(--text-muted);
  transition: transform var(--transition-base);
  flex-shrink: 0;
}

.career-card.open .career-expand-icon {
  transform: rotate(45deg);
}

.career-card-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-smooth);
}

.career-card.open .career-card-body {
  max-height: 600px;
}

.career-card-body-inner {
  padding: 0 var(--s-2xl) var(--s-2xl);
  border-top: 1px solid var(--border-subtle);
  padding-top: var(--s-xl);
}

.career-card-body-inner p {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  margin-bottom: var(--s-md);
  line-height: 1.75;
}

.career-card-body-inner h4 {
  font-family: var(--ff-body);
  font-size: var(--fs-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-primary);
  margin-bottom: var(--s-sm);
  margin-top: var(--s-lg);
  text-align: left;
}

.career-card-body-inner ul {
  padding-left: var(--s-lg);
  margin-bottom: var(--s-md);
}

.career-card-body-inner ul li {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.75;
  list-style: none;
  position: relative;
  padding-left: var(--s-md);
  text-align: left;
}

.career-card-body-inner ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 600;
  font-size: var(--fs-xs);
}

.career-card-body-inner .btn {
  margin-top: var(--s-md);
}

.careers-cta {
  text-align: center;
  margin-top: var(--s-3xl);
  padding: var(--s-2xl);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: var(--shadow-card);
}

.careers-cta p {
  font-size: var(--fs-md);
  color: var(--text-secondary);
  margin-bottom: var(--s-lg);
  text-align: center;
}

.careers-cta .section-title {
  text-align: center;
  font-size: var(--fs-2xl);
}


/* ============================================================
   VALUES SECTION
   ============================================================ */
.values {
  padding: var(--s-5xl) 0;
  background: var(--bg-section);
  position: relative;
  overflow: hidden;
}

.values-header {
  text-align: center;
  margin-bottom: var(--s-4xl);
  position: relative;
  z-index: 1;
}

.values-header .section-label,
.values-header .section-title {
  text-align: center;
}

.values-statement {
  font-family: var(--ff-heading);
  font-size: clamp(1.4rem, 2.8vw, var(--fs-2xl));
  font-weight: 500;
  font-style: italic;
  line-height: 1.5;
  max-width: 800px;
  margin: 0 auto var(--s-3xl);
  text-align: center;
  position: relative;
  z-index: 1;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-xl);
  position: relative;
  z-index: 1;
}

.value-card {
  text-align: center;
  padding: var(--s-2xl);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  transition: all var(--transition-base);
  box-shadow: var(--shadow-card);
}

.value-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.value-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--s-lg);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border-glass);
}

.value-title {
  font-family: var(--ff-heading);
  font-size: var(--fs-md);
  font-weight: 600;
  margin-bottom: var(--s-sm);
  text-align: center;
}

.value-desc {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.75;
}


/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact {
  padding: var(--s-5xl) 0;
  background: var(--bg-body);
  position: relative;
}

.contact-header {
  text-align: center;
  margin-bottom: var(--s-4xl);
}

.contact-header .section-label,
.contact-header .section-title {
  text-align: center;
}

.contact-header .section-subtitle {
  margin: 0 auto;
  text-align: center;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--s-4xl);
  position: relative;
  z-index: 1;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--s-2xl);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--s-lg);
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-item-label {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: var(--s-xs);
  text-align: left;
}

.contact-item-value {
  font-size: var(--fs-md);
  color: var(--text-primary);
  font-weight: 500;
  text-align: left;
}

.contact-item-value a {
  transition: color var(--transition-fast);
}

.contact-item-value a:hover {
  color: var(--orange);
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: var(--s-3xl);
  box-shadow: var(--shadow-card);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-lg);
  margin-bottom: var(--s-lg);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--s-xs);
  margin-bottom: var(--s-lg);
}

.form-row .form-group { margin-bottom: 0; }

.form-label {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: .02em;
  text-align: left;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: .85rem 1rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  font-family: var(--ff-body);
  font-size: var(--fs-base);
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--blue-mid);
  box-shadow: 0 0 0 3px var(--blue-glow);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-muted);
}

.form-select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%235E5B63' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-select option {
  background: var(--bg-card);
  color: var(--text-primary);
}

.form-textarea {
  resize: vertical;
  min-height: 140px;
}

.form-submit {
  width: 100%;
  padding: 1rem;
  font-size: var(--fs-base);
}


/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  padding: var(--s-3xl) 0 var(--s-xl);
  border-top: 1px solid var(--border-subtle);
  background: var(--footer-bg);
  color: var(--footer-text);
}

.footer .nav-logo-text { display: none; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--s-3xl);
  margin-bottom: var(--s-3xl);
}

.footer-brand p {
  font-size: var(--fs-sm);
  color: var(--footer-text);
  line-height: 1.75;
  margin-top: var(--s-md);
  max-width: 300px;
}

.footer-heading {
  font-family: var(--ff-heading);
  font-size: var(--fs-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--footer-heading);
  margin-bottom: var(--s-lg);
  text-align: left;
}

.footer-links li { margin-bottom: var(--s-sm); }

.footer-links a, .footer-links li {
  font-size: var(--fs-sm);
  color: var(--footer-text);
  transition: color var(--transition-fast);
  text-align: left;
}

.footer-links a:hover { color: var(--orange); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--s-xl);
  border-top: 1px solid rgba(255,255,255,.08);
}

.footer-bottom p {
  font-size: var(--fs-sm);
  color: var(--footer-text);
  text-align: left;
}


/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.stagger > *:nth-child(1) { transition-delay: 0s; }
.stagger > *:nth-child(2) { transition-delay: .1s; }
.stagger > *:nth-child(3) { transition-delay: .2s; }
.stagger > *:nth-child(4) { transition-delay: .3s; }
.stagger > *:nth-child(5) { transition-delay: .35s; }
.stagger > *:nth-child(6) { transition-delay: .4s; }


/* ============================================================
   KEYFRAMES
   ============================================================ */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes scrollDown {
  0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
  50%      { opacity: .4; transform: translateX(-50%) translateY(10px); }
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .5; transform: scale(1.5); }
}


/* ============================================================
   CAREERS PAGE
   ============================================================ */
.careers-hero {
  padding-top: calc(var(--nav-height) + var(--s-4xl));
  padding-bottom: var(--s-4xl);
  background: var(--bg-body);
  position: relative;
}

.careers-hero-content {
  max-width: 700px;
}

.careers-hero-title {
  font-size: clamp(2.4rem, 5vw, var(--fs-5xl));
}

.careers-positions {
  padding: var(--s-3xl) 0 var(--s-5xl);
  background: var(--bg-section);
  position: relative;
}

.careers-positions-header {
  margin-bottom: var(--s-3xl);
}

.careers-why {
  padding: var(--s-5xl) 0;
  background: var(--bg-body);
  position: relative;
}

.careers-why-header {
  text-align: center;
  margin-bottom: var(--s-4xl);
}

.careers-why-header .section-label,
.careers-why-header .section-title {
  text-align: center;
}


/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1200px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .articles-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 992px) {
  .about-grid { grid-template-columns: 1fr; gap: var(--s-3xl); }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: var(--s-3xl); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--s-2xl); }
}

@media (max-width: 768px) {
  :root { --nav-height: 85px; }

  .nav-center, .nav-right .nav-cta-desktop { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: flex; }

  .nav-logo img { height: 75px; }

  .services-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .articles-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: var(--s-2xl); }
  .footer-bottom { flex-direction: column; gap: var(--s-md); text-align: center; }

  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; }

  .parallax-banner { height: 250px; }

  .career-card-header { padding: var(--s-lg); flex-wrap: wrap; }
  .career-card-body-inner { padding: 0 var(--s-lg) var(--s-lg); padding-top: var(--s-lg); }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .container { padding: 0 var(--s-md); }
  .filter-btn { padding: .4rem 1rem; font-size: var(--fs-xs); }
}
