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

:root {
  --navy: #0d1b2a;
  --navy-mid: #12243a;
  --navy-light: #1a3450;
  --teal: #2cb5a0;
  --teal-light: #4ecdc4;
  --gold: #c9933a;
  --gold-light: #e5b96a;
  --white: #f5f0e8;
  --white-dim: rgba(245,240,232,0.7);
  --white-subtle: rgba(245,240,232,0.12);
  --border: rgba(201,147,58,0.18);
  --border-teal: rgba(44,181,160,0.2);
}

html { scroll-behavior: smooth; color-scheme: dark; }

body {
  background-color: var(--navy);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ─── NOISE TEXTURE OVERLAY ─── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

/* ─── NAV ─── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.25rem 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(13,27,42,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 0.5px solid var(--border);
}

.nav-logo {
  height: 36px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--white-dim);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--gold-light); }

.nav-cta {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold-light) !important;
  padding: 0.5rem 1.25rem;
  border-radius: 2px;
  transition: background 0.2s, color 0.2s !important;
}

.nav-cta:hover {
  background: var(--gold) !important;
  color: var(--navy) !important;
}

/* ─── HERO ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 5vw 5rem;
  overflow: hidden;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(44,181,160,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(44,181,160,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 30%, transparent 100%);
}

.hero-glow {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(44,181,160,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal-light);
  border: 1px solid var(--border-teal);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.hero-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero h1 {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(1.8rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 1;
  margin-bottom: 1.5rem;
  max-width: 1000px;
}

.hero h1 .accent-gold { color: var(--gold-light); }
.hero h1 .accent-teal { color: var(--teal-light); }

.hero-sub {
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--white-dim);
  max-width: 1000px;
  position: relative;
  z-index: 1;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--navy);
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.9rem 2rem;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: opacity 0.2s, transform 0.15s;
}

.btn-primary:hover { opacity: 0.9; transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--white-dim);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  padding: 0.9rem 2rem;
  border: 1px solid rgba(245,240,232,0.2);
  border-radius: 2px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: border-color 0.2s, color 0.2s;
}

.btn-ghost:hover { border-color: var(--white-dim); color: var(--white); }

/* ─── SCROLL INDICATOR ─── */
.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 1;
  pointer-events: none;
}

@media (max-height: 700px) {
  .scroll-hint { display: none; }
}

.scroll-hint span {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white-dim);
  opacity: 0.5;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrolldown 1.8s ease-in-out infinite;
}

@keyframes scrolldown {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ─── SECTION SHARED ─── */
section { position: relative; z-index: 1; }

.section-label {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1rem;
  display: block;
}

.section-title {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
}

.section-body {
  color: var(--white-dim);
  max-width: 520px;
  font-size: 1rem;
  line-height: 1.8;
}

/* ─── SERVICES ─── */
.services {
  padding: 8rem 5vw;
}

.services-header {
  max-width: 820px;
  margin: 0 auto 5rem;
  text-align: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5px;
  max-width: 1100px;
  margin: 0 auto;
  border: 1.5px solid var(--border);
}

.service-card {
  background: var(--navy-mid);
  padding: 3rem 2.5rem;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}

.service-card:hover { background: var(--navy-light); }

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

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

.service-num {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: 1.5rem;
  display: block;
}

.service-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.5rem;
  color: var(--teal-light);
}

.service-card h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.service-card p {
  color: var(--white-dim);
  font-size: 0.9rem;
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  background: var(--white-subtle);
  color: var(--white-dim);
  border: 1px solid rgba(245,240,232,0.1);
}

.tag.teal {
  background: rgba(44,181,160,0.1);
  color: var(--teal-light);
  border-color: var(--border-teal);
}

/* ─── ABOUT / DIFFERENTIATOR ─── */
.about {
  padding: 8rem 5vw;
  background: var(--navy-mid);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.about-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.stat-block {
  border-left: 2px solid var(--gold);
  padding-left: 1.25rem;
}

.stat-num {
  font-family: 'DM Sans', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-num span { color: var(--gold-light); }

.stat-label {
  font-size: 0.8rem;
  color: var(--white-dim);
  line-height: 1.4;
}

/* ─── PROCESS ─── */
.process {
  padding: 8rem 5vw;
}

.process-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.process-header {
  max-width: 520px;
  margin-bottom: 4rem;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), var(--border), transparent);
}

.process-step {
  padding: 0 2rem 2rem 0;
  position: relative;
}

.step-dot {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--navy-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'DM Sans', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  color: var(--gold);
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.process-step h4 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.process-step p {
  font-size: 0.85rem;
  color: var(--white-dim);
  line-height: 1.7;
}

/* ─── CTA SECTION ─── */
.cta-section {
  padding: 8rem 5vw;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 100%, rgba(44,181,160,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section .section-title {
  margin-bottom: 1rem;
}

.cta-section .section-body {
  max-width: 480px;
  margin: 0 auto 2.5rem;
}

/* ─── FOOTER ─── */
footer {
  padding: 3rem 5vw;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-logo { height: 28px; }

.footer-text {
  font-size: 0.8rem;
  color: var(--white-dim);
  opacity: 0.5;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  font-size: 0.8rem;
  color: var(--white-dim);
  text-decoration: none;
  opacity: 0.5;
  transition: opacity 0.2s;
}

.footer-links a:hover { opacity: 1; }

/* ─── ANIMATIONS ─── */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ─── DIVIDER LINE ─── */
.gold-divider {
  width: 40px;
  height: 2px;
  background: var(--gold);
  margin: 1.25rem 0;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  .about-inner { grid-template-columns: 1fr; gap: 3rem; }
  .nav-links { display: none; }
  .hero h1 { font-size: 2.4rem; }
}

/* ─── CAS CLIENTS ─── */
.case-study {
  border: 1px solid var(--border-teal);
  border-radius: 4px;
  padding: 1.25rem 1.5rem;
  background: rgba(44,181,160,0.04);
  margin-top: 1.5rem;
}

.case-title {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1rem;
}

.case-rows {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.case-row {
  display: flex;
  flex-direction: row;
  gap: 0.75rem;
  align-items: baseline;
}

.case-row-label {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.85;
  min-width: 70px;
  flex-shrink: 0;
}

.case-row-value {
  font-size: 0.8rem;
  color: var(--white-dim);
  line-height: 1.45;
}

.contact-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8rem 5vw 5rem;
    position: relative;
  }
  .contact-page::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 60% at 50% 40%, rgba(44,181,160,0.06) 0%, transparent 70%);
    pointer-events: none;
  }
  .contact-box {
    width: 100%;
    max-width: 580px;
    position: relative;
    z-index: 1;
  }
  .contact-box .section-label { margin-bottom: 0.75rem; }
  .contact-box h1 {
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.01em;
    margin-bottom: 0.75rem;
  }
  .contact-box .intro {
    color: var(--white-dim);
    font-size: 0.95rem;
    line-height: 1.75;
    margin-bottom: 2.5rem;
  }
  .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 1.25rem;
  }
  .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  label {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--white-dim);
  }
  input, textarea {
    background: var(--navy-mid);
    border: 1px solid var(--border);
    border-radius: 2px;
    color: var(--white);
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 300;
    padding: 0.8rem 1rem;
    outline: none;
    transition: border-color 0.2s;
    width: 100%;
  }
  input::placeholder, textarea::placeholder { color: rgba(245,240,232,0.25); }
  input:focus, textarea:focus { border-color: var(--teal); }
  textarea {
    resize: vertical;
    min-height: 140px;
    line-height: 1.6;
  }
  .form-submit { margin-top: 0.5rem; }
  .btn-submit {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    color: var(--navy);
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.9rem 2rem;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    width: 100%;
    transition: opacity 0.2s, transform 0.15s;
  }
  .btn-submit:hover { opacity: 0.9; transform: translateY(-1px); }
  .form-note {
    text-align: center;
    font-size: 0.75rem;
    color: var(--white-dim);
    opacity: 0.5;
    margin-top: 1rem;
  }
  .success-msg {
    text-align: center;
    padding: 2.5rem 2rem;
    border: 1px solid var(--border-teal);
    border-radius: 4px;
    background: rgba(44,181,160,0.06);
  }
  .success-msg h2 {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--teal-light);
  }
  .success-msg p {
    font-size: 0.9rem;
    color: var(--white-dim);
    margin-bottom: 1.5rem;
  }
  .error-banner {
    background: rgba(226,114,114,0.08);
    border: 1px solid rgba(226,114,114,0.3);
    border-radius: 2px;
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
    color: #e27272;
    margin-bottom: 1.5rem;
  }
  .back-link {
    font-size: 0.8rem;
    color: var(--white-dim);
    text-decoration: none;
    opacity: 0.6;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: opacity 0.2s;
    margin-bottom: 2rem;
  }
  .back-link:hover { opacity: 1; }
  @media (max-width: 600px) {
    .form-row { grid-template-columns: 1fr; }
  }