@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;1,300;1,400&family=Jost:wght@300;400;500&display=swap');

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

:root {
  --navy:    #040810;
  --navy2:   #060C14;
  --navy3:   #0A1628;
  --blue:    #1A4FC4;
  --blue2:   #4A7EE8;
  --silver:  #C8D4E8;
  --white:   #FFFFFF;
  --steel:   rgba(200, 212, 232, 0.55);
  --px: clamp(20px, 5vw, 64px);
  --py: clamp(56px, 8vw, 96px);
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: 'Jost', sans-serif; background: var(--navy); color: var(--white); overflow-x: hidden; }
img  { max-width: 100%; height: auto; display: block; }

/* ── NAV ───────────────────────────────────────── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(4, 8, 16, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(26, 79, 196, 0.2);
  padding: 0 var(--px);
  display: flex; align-items: center; justify-content: space-between;
  height: 62px;
  transition: border-color 0.3s;
}
nav.scrolled { border-bottom-color: rgba(26, 79, 196, 0.45); }
.nav-logo {
  font-family: 'Cormorant Garamond', serif; font-size: clamp(17px, 2.5vw, 22px);
  font-weight: 400; color: var(--white); letter-spacing: 1px;
  text-decoration: none; flex-shrink: 0;
}
.nav-logo span { color: var(--blue2); }
.nav-links { display: flex; gap: clamp(18px, 3vw, 38px); }
.nav-links a {
  font-family: 'Jost', sans-serif; font-size: 10px; font-weight: 300;
  color: var(--silver); letter-spacing: 2.5px; text-transform: uppercase;
  text-decoration: none; transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }
.nav-cta {
  background: transparent; border: 1px solid var(--blue);
  color: var(--white); font-family: 'Jost', sans-serif;
  font-size: 10px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase;
  padding: 9px clamp(16px, 2vw, 24px); cursor: pointer; transition: all 0.25s;
  flex-shrink: 0;
}
.nav-cta:hover { background: var(--blue); }
@media(max-width: 640px) { .nav-links { display: none; } }

/* ── HERO ──────────────────────────────────────── */
.hero {
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 92vh; background: var(--navy);
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 70% at 25% 50%, rgba(26,79,196,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero-left {
  padding: clamp(48px, 8vw, 100px) var(--px);
  display: flex; flex-direction: column; justify-content: center;
  position: relative; z-index: 2;
}
.eyebrow {
  font-family: 'Jost', sans-serif; font-size: 10px; font-weight: 300;
  letter-spacing: 5px; text-transform: uppercase; color: var(--blue2);
  margin-bottom: clamp(18px, 3vw, 28px);
}
.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 5.5vw, 60px); font-weight: 300;
  color: var(--white); line-height: 1.06;
}
.hero-title em { color: var(--silver); font-style: italic; }
.blue-rule {
  width: 52px; height: 1px; margin: clamp(20px, 3vw, 32px) 0;
  background: linear-gradient(90deg, var(--blue), var(--blue2));
  box-shadow: 0 0 10px rgba(26,79,196,0.5);
}
.hero-sub {
  font-family: 'Jost', sans-serif; font-size: clamp(12px, 1.8vw, 13px);
  font-weight: 300; color: var(--steel); line-height: 1.9;
  max-width: 400px; margin-bottom: clamp(28px, 4vw, 44px);
}
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-primary {
  background: var(--blue); color: var(--white); border: none;
  font-family: 'Jost', sans-serif; font-size: 10px; font-weight: 500;
  letter-spacing: 2px; text-transform: uppercase;
  padding: clamp(12px, 1.8vw, 15px) clamp(22px, 3vw, 34px);
  cursor: pointer; transition: background 0.25s;
}
.btn-primary:hover { background: #2560D8; }
.btn-outline {
  background: transparent; color: var(--silver);
  border: 1px solid rgba(200,212,232,0.25);
  font-family: 'Jost', sans-serif; font-size: 10px; font-weight: 300;
  letter-spacing: 2px; text-transform: uppercase;
  padding: clamp(12px, 1.8vw, 15px) clamp(22px, 3vw, 34px);
  cursor: pointer; transition: all 0.25s;
}
.btn-outline:hover { border-color: var(--blue2); color: var(--white); }
.hero-stats {
  display: flex; gap: clamp(24px, 4vw, 48px);
  margin-top: clamp(36px, 5vw, 56px);
  padding-top: clamp(24px, 3vw, 36px);
  border-top: 1px solid rgba(26,79,196,0.15);
  flex-wrap: wrap;
}
.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 3.5vw, 36px); font-weight: 300;
  color: var(--white); line-height: 1;
}
.stat-label {
  font-family: 'Jost', sans-serif; font-size: 9px; font-weight: 300;
  letter-spacing: 2px; text-transform: uppercase; color: var(--steel); margin-top: 5px;
}
.hero-right { position: relative; overflow: hidden; min-height: 320px; }
.hero-right img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--navy) 0%, rgba(4,8,16,0) 35%);
}
@media(max-width: 768px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-right { min-height: 280px; order: -1; }
  .hero-overlay { background: linear-gradient(to top, var(--navy) 0%, rgba(4,8,16,0.1) 60%, transparent 100%); }
  .hero-left { padding: 36px var(--px) 52px; }
}

/* ── SECTIONS ──────────────────────────────────── */
.sec { padding: var(--py) var(--px); }
.sec-navy  { background: var(--navy);  }
.sec-navy2 { background: var(--navy2); }
.sec-navy3 { background: var(--navy3); }

.sec-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 4.5vw, 44px); font-weight: 300;
  color: var(--white); line-height: 1.1; margin-bottom: 12px;
}
.sec-title em { color: var(--silver); font-style: italic; }
.sec-sub {
  font-family: 'Jost', sans-serif; font-size: clamp(12px, 1.8vw, 13px);
  font-weight: 300; color: var(--steel); line-height: 1.85;
  max-width: 500px; margin-bottom: clamp(36px, 5vw, 56px);
}

/* ── SERVICES ──────────────────────────────────── */
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: rgba(26,79,196,0.06);
}
@media(max-width: 768px) { .services-grid { grid-template-columns: 1fr 1fr; } }
@media(max-width: 480px) { .services-grid { grid-template-columns: 1fr; } }
.srv-card {
  background: var(--navy2);
  padding: clamp(28px, 4vw, 44px) clamp(22px, 3vw, 34px);
  border-top: 2px solid transparent;
  transition: border-color 0.3s, transform 0.25s;
}
.srv-card:hover { border-top-color: var(--blue); transform: translateY(-3px); }
.srv-accent {
  width: 32px; height: 1px;
  background: linear-gradient(90deg, var(--blue), var(--blue2));
  box-shadow: 0 0 8px rgba(26,79,196,0.4);
  margin-bottom: clamp(16px, 2.5vw, 26px);
  transition: width 0.35s;
}
.srv-card:hover .srv-accent { width: 52px; }
.srv-title {
  font-family: 'Cormorant Garamond', serif; font-size: clamp(17px, 2.2vw, 21px);
  font-weight: 400; color: var(--white); margin-bottom: 10px;
}
.srv-desc {
  font-family: 'Jost', sans-serif; font-size: clamp(11px, 1.6vw, 12px);
  font-weight: 300; color: var(--steel); line-height: 1.75;
}

/* ── PORTFOLIO ─────────────────────────────────── */
.proj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; }
@media(max-width: 600px) { .proj-grid { grid-template-columns: 1fr 1fr; } }
@media(max-width: 380px) { .proj-grid { grid-template-columns: 1fr; } }
.proj-card { position: relative; overflow: hidden; cursor: pointer; }
.proj-card img { width: 100%; aspect-ratio: 1/1; object-fit: cover; transition: transform 0.5s; }
.proj-card:hover img { transform: scale(1.06); }
.proj-overlay {
  position: absolute; inset: 0; background: rgba(4,8,16,0);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  transition: background 0.3s; padding: 12px;
}
.proj-card:hover .proj-overlay { background: rgba(4,8,16,0.72); }
.proj-title {
  font-family: 'Cormorant Garamond', serif; font-size: clamp(14px, 2.2vw, 19px);
  font-weight: 400; color: var(--white); opacity: 0;
  transform: translateY(10px); transition: all 0.3s; text-align: center;
}
.proj-sub {
  font-family: 'Jost', sans-serif; font-size: 9px; font-weight: 300;
  letter-spacing: 2px; text-transform: uppercase; color: var(--blue2);
  margin-top: 6px; opacity: 0; transform: translateY(10px);
  transition: all 0.3s 0.06s;
}
.proj-card:hover .proj-title,
.proj-card:hover .proj-sub { opacity: 1; transform: translateY(0); }
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; margin-top: 3px; }
@media(max-width: 520px) { .feature-row { grid-template-columns: 1fr; } }
.feature-img { position: relative; overflow: hidden; }
.feature-img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform 0.5s; }
.feature-img:hover img { transform: scale(1.04); }
.feature-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: clamp(16px, 2vw, 22px) clamp(18px, 2vw, 26px);
  background: linear-gradient(transparent, rgba(4,8,16,0.9));
}
.feature-label-title {
  font-family: 'Cormorant Garamond', serif; font-size: clamp(15px, 2.2vw, 20px);
  font-weight: 400; color: var(--white);
}
.feature-label-sub {
  font-family: 'Jost', sans-serif; font-size: 9px; font-weight: 300;
  letter-spacing: 2px; text-transform: uppercase; color: var(--blue2); margin-top: 4px;
}

/* ── PROCESS ───────────────────────────────────── */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(26,79,196,0.06); }
@media(max-width: 768px) { .process-grid { grid-template-columns: 1fr 1fr; } }
@media(max-width: 440px) { .process-grid { grid-template-columns: 1fr; } }
.proc-step {
  background: var(--navy3);
  padding: clamp(26px, 4vw, 44px) clamp(20px, 3vw, 30px);
  transition: background 0.25s;
}
.proc-step:hover { background: #0D1E38; }
.proc-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(38px, 5vw, 54px); font-weight: 300;
  color: var(--blue2); opacity: 0.3; margin-bottom: 14px;
}
.proc-title {
  font-family: 'Cormorant Garamond', serif; font-size: clamp(16px, 2.2vw, 20px);
  font-weight: 400; color: var(--white); margin-bottom: 10px;
}
.proc-desc {
  font-family: 'Jost', sans-serif; font-size: clamp(11px, 1.6vw, 12px);
  font-weight: 300; color: var(--steel); line-height: 1.7;
}

/* ── TESTIMONIALS ──────────────────────────────── */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 2vw, 24px); }
@media(max-width: 768px) { .testi-grid { grid-template-columns: 1fr; } }
@media(min-width: 480px) and (max-width: 768px) { .testi-grid { grid-template-columns: 1fr 1fr; } }
.testi-card {
  background: var(--navy2);
  padding: clamp(22px, 3vw, 34px);
  border-left: 2px solid var(--blue);
  transition: transform 0.25s;
}
.testi-card:hover { transform: translateY(-4px); }
.testi-stars { color: var(--blue2); font-size: 13px; letter-spacing: 3px; margin-bottom: 14px; }
.testi-text {
  font-family: 'Cormorant Garamond', serif; font-size: clamp(13px, 1.8vw, 15px);
  font-style: italic; font-weight: 300; color: var(--white);
  line-height: 1.65; margin-bottom: 18px;
}
.testi-author {
  font-family: 'Jost', sans-serif; font-size: 10px; font-weight: 500;
  letter-spacing: 2px; text-transform: uppercase; color: var(--blue2);
}
.testi-loc {
  font-family: 'Jost', sans-serif; font-size: 10px; font-weight: 300;
  color: var(--steel); margin-top: 3px;
}

/* ── CTA ───────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, #071540 0%, #1A4FC4 50%, #0D3590 100%);
  padding: clamp(48px, 7vw, 80px) var(--px);
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap; position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 30% 50%, rgba(255,255,255,0.06) 0%, transparent 60%);
  pointer-events: none;
}
.cta-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(24px, 4vw, 40px); font-weight: 300;
  color: var(--white); line-height: 1.2; position: relative;
}
.cta-sub {
  font-family: 'Jost', sans-serif; font-size: clamp(11px, 1.6vw, 12px);
  font-weight: 300; color: rgba(200,212,232,0.7); margin-top: 10px; position: relative;
}
.btn-white {
  background: var(--white); color: var(--blue); border: none;
  font-family: 'Jost', sans-serif; font-size: 10px; font-weight: 500;
  letter-spacing: 2px; text-transform: uppercase;
  padding: clamp(14px, 2vw, 18px) clamp(24px, 3.5vw, 40px);
  cursor: pointer; white-space: nowrap; transition: all 0.25s;
  flex-shrink: 0; position: relative;
}
.btn-white:hover { background: var(--silver); }

/* ── FOOTER ────────────────────────────────────── */
footer {
  background: var(--navy2); padding: clamp(44px, 6vw, 64px) var(--px);
  border-top: 1px solid rgba(26,79,196,0.15);
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(24px, 4vw, 52px); margin-bottom: clamp(36px, 5vw, 52px);
}
@media(max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media(max-width: 460px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-logo {
  font-family: 'Cormorant Garamond', serif; font-size: clamp(20px, 2.8vw, 26px);
  color: var(--white); margin-bottom: 12px;
}
.footer-logo span { color: var(--blue2); }
.footer-desc {
  font-family: 'Jost', sans-serif; font-size: clamp(11px, 1.6vw, 12px);
  font-weight: 300; color: var(--steel); line-height: 1.8; max-width: 260px;
}
.footer-contact { margin-top: 18px; }
.footer-contact a {
  font-family: 'Jost', sans-serif; font-size: clamp(11px, 1.6vw, 12px);
  font-weight: 300; color: var(--blue2); display: block;
  margin-bottom: 6px; text-decoration: none;
}
.f-heading {
  font-family: 'Jost', sans-serif; font-size: 9px; font-weight: 500;
  letter-spacing: 3px; text-transform: uppercase; color: var(--blue2); margin-bottom: 16px;
}
.f-link {
  font-family: 'Jost', sans-serif; font-size: clamp(11px, 1.6vw, 12px);
  font-weight: 300; color: var(--steel); display: block;
  margin-bottom: 10px; text-decoration: none; transition: color 0.2s;
}
.f-link:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(26,79,196,0.1);
  padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
}
.f-copy {
  font-family: 'Jost', sans-serif; font-size: 10px; font-weight: 300; color: var(--steel);
}

/* ── REVEAL ────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.12s; }
.reveal-d2 { transition-delay: 0.22s; }
