/* ═══════════════════════════════════════════════════════════════
   DONE Services — Marketing Site CSS (Light Theme + Dark Mode)
   Brand: Navy #1B263B · Amber #FF6B35
   ═══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ── Light theme (default) ──────────────────────────────────────── */
:root {
  --navy:      #1B263B;
  --navy-l:    #243447;
  --amber:     #FF6B35;
  --amber-d:   #e85c29;
  --amber-l:   rgba(255,107,53,.10);
  --amber-l2:  rgba(255,107,53,.18);
  --white:     #FFFFFF;
  --green:     #16a34a;

  /* Light theme surfaces */
  --bg:        #FFFFFF;
  --bg-alt:    #F8FAFC;
  --bg-alt2:   #F1F5F9;
  --bg-card:   #FFFFFF;
  --bg-nav:    rgba(255,255,255,.96);

  /* Text */
  --text:      #1B263B;
  --text-sub:  #475569;
  --text-muted:#94A3B8;

  /* Borders & shadows */
  --border:    rgba(0,0,0,.08);
  --border-h:  rgba(0,0,0,.14);
  --shadow:    0 1px 4px rgba(0,0,0,.06), 0 4px 16px rgba(0,0,0,.06);
  --shadow-h:  0 8px 32px rgba(0,0,0,.12);
  --shadow-xl: 0 20px 60px rgba(0,0,0,.12);

  --r:   12px;
  --rl:  20px;
  --rxl: 28px;
  --t:   all .22s cubic-bezier(.4,0,.2,1);
}

/* ── Dark theme (optional — respects system preference) ─────────── */
@media (prefers-color-scheme: dark) {
  :root {
    --bg:        #111c2b;
    --bg-alt:    #0d1520;
    --bg-alt2:   #162033;
    --bg-card:   #1e2d40;
    --bg-nav:    rgba(17,28,43,.95);
    --text:      #F8FAFC;
    --text-sub:  #94A3B8;
    --text-muted:#64748B;
    --border:    rgba(255,255,255,.08);
    --border-h:  rgba(255,255,255,.15);
    --shadow:    0 4px 24px rgba(0,0,0,.35);
    --shadow-h:  0 12px 40px rgba(0,0,0,.4);
    --shadow-xl: 0 24px 80px rgba(0,0,0,.5);
    --amber-l:   rgba(255,107,53,.12);
    --amber-l2:  rgba(255,107,53,.2);
  }
  .nav-logo {
    filter: brightness(0) invert(1);
  }
}

/* ── Reset ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img {
  max-width: 100%;
  display: block;
  height: auto;
  /* Performance: let browser optimise decode off main thread */
  content-visibility: auto;
}

/* ── Navigation ─────────────────────────────────────────────────── */
.nav {
  background: var(--bg-nav);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 200;
  padding: 0 40px;
}
.nav-inner {
  max-width: 1180px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; gap: 32px;
}
.nav-logo {
  height: 36px;
  width: auto;
  flex-shrink: 0;
  /* Prevent layout shift */
  aspect-ratio: 3.5 / 1;
  object-fit: contain;
}
.nav-links { display: flex; align-items: center; gap: 4px; flex: 1; justify-content: center; }
.nav-link {
  color: var(--text-sub); font-size: 14px; font-weight: 500;
  padding: 8px 14px; border-radius: 8px; transition: var(--t);
}
.nav-link:hover, .nav-link.active {
  color: var(--navy);
  background: var(--bg-alt2);
}
@media (prefers-color-scheme: dark) {
  .nav-link:hover, .nav-link.active { color: #F8FAFC; background: rgba(255,255,255,.06); }
}
.nav-cta {
  background: linear-gradient(135deg, var(--amber), var(--amber-d));
  color: #fff; font-size: 14px; font-weight: 700;
  padding: 10px 22px; border-radius: 10px;
  transition: var(--t); white-space: nowrap; flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(255,107,53,.25);
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(255,107,53,.4); }

/* ── Hero ────────────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  padding: 120px 40px 100px;
  text-align: center;
  background: linear-gradient(160deg, var(--bg-alt) 0%, var(--bg) 60%);
  border-bottom: 1px solid var(--border);
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% 0%, var(--amber-l), transparent 70%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; max-width: 860px; margin: 0 auto; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--amber-l); border: 1px solid rgba(255,107,53,.25);
  color: var(--amber-d); font-size: 12px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; padding: 8px 18px; border-radius: 100px; margin-bottom: 28px;
}
.hero h1 {
  font-size: clamp(38px, 6vw, 72px);
  font-weight: 900; letter-spacing: -2.5px; line-height: 1.05;
  margin-bottom: 22px; color: var(--navy);
}
@media (prefers-color-scheme: dark) {
  .hero h1 { color: #F8FAFC; }
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--amber), #ff9a6c);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-sub {
  color: var(--text-sub); font-size: clamp(16px, 2vw, 20px);
  max-width: 580px; margin: 0 auto 44px; line-height: 1.7;
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── Buttons ─────────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--amber), var(--amber-d));
  color: #fff; font-size: 15px; font-weight: 700;
  padding: 15px 30px; border-radius: 12px; border: none;
  transition: var(--t); cursor: pointer; font-family: inherit;
  box-shadow: 0 2px 8px rgba(255,107,53,.25);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(255,107,53,.45); }
.btn-primary.lg { font-size: 17px; padding: 18px 36px; border-radius: 14px; }
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--text); font-size: 15px; font-weight: 600;
  padding: 15px 30px; border-radius: 12px; border: 1.5px solid var(--border-h);
  transition: var(--t); cursor: pointer; font-family: inherit;
}
.btn-outline:hover { border-color: var(--navy); background: var(--bg-alt); }
@media (prefers-color-scheme: dark) {
  .btn-outline { color: #F8FAFC; }
  .btn-outline:hover { border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.06); }
}
.btn-white {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: var(--amber-d); font-size: 16px; font-weight: 800;
  padding: 16px 34px; border-radius: 12px;
  transition: var(--t); box-shadow: 0 8px 32px rgba(0,0,0,.15);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 16px 48px rgba(0,0,0,.2); }

/* ── Sections ────────────────────────────────────────────────────── */
.section { padding: 100px 40px; }
.section.alt   { background: var(--bg-alt); }
.section.white { background: var(--bg); }
.section.navy  {
  background: linear-gradient(135deg, var(--navy), var(--navy-l));
  color: #fff;
}
.section-inner { max-width: 1180px; margin: 0 auto; }
.section-label {
  display: inline-block;
  color: var(--amber); font-size: 12px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; margin-bottom: 14px;
}
.section-title {
  font-size: clamp(28px, 4vw, 48px); font-weight: 900; letter-spacing: -1.5px;
  line-height: 1.1; margin-bottom: 16px; color: var(--navy);
}
@media (prefers-color-scheme: dark) {
  .section-title { color: #F8FAFC; }
  .section.navy .section-title { color: #fff; }
}
.section.navy .section-title { color: #fff; }
.section-sub {
  color: var(--text-sub); font-size: 17px; max-width: 560px; line-height: 1.7;
}
.section.navy .section-sub { color: rgba(255,255,255,.75); }
.section-header { margin-bottom: 64px; }
.section-header.center { text-align: center; }
.section-header.center .section-sub { margin: 0 auto; }

/* ── Grids ───────────────────────────────────────────────────────── */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; align-items: center; }

/* ── Cards ───────────────────────────────────────────────────────── */
.feature-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--rl);
  padding: 32px; transition: var(--t);
  box-shadow: var(--shadow);
}
.feature-card:hover {
  border-color: rgba(255,107,53,.25);
  transform: translateY(-4px);
  box-shadow: var(--shadow-h);
}
.feature-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--amber-l); border: 1px solid rgba(255,107,53,.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 20px;
}
.feature-title { font-size: 18px; font-weight: 700; margin-bottom: 10px; color: var(--navy); }
@media (prefers-color-scheme: dark) {
  .feature-title { color: #F8FAFC; }
}
.feature-desc  { color: var(--text-sub); font-size: 14px; line-height: 1.7; }

/* ── Steps ───────────────────────────────────────────────────────── */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; position: relative; }
.steps-grid::before {
  content: ''; position: absolute; top: 28px; left: calc(16.6% + 28px); right: calc(16.6% + 28px);
  height: 2px; background: linear-gradient(90deg, var(--amber), rgba(255,107,53,.2) 50%, var(--amber));
  opacity: .4; pointer-events: none;
}
.step { padding: 40px 32px; text-align: center; }
.step-num {
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--amber), var(--amber-d));
  color: #fff; font-size: 20px; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px; box-shadow: 0 8px 24px rgba(255,107,53,.35);
}
.step-title { font-size: 18px; font-weight: 700; margin-bottom: 10px; color: var(--navy); }
@media (prefers-color-scheme: dark) { .step-title { color: #F8FAFC; } }
.step-desc  { color: var(--text-sub); font-size: 14px; line-height: 1.7; }

/* ── Stats ───────────────────────────────────────────────────────── */
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; }
.stat-box {
  background: var(--bg-card); border: 1px solid var(--border);
  padding: 40px 24px; text-align: center; box-shadow: var(--shadow);
}
.stat-box:first-child { border-radius: var(--rl) 0 0 var(--rl); }
.stat-box:last-child  { border-radius: 0 var(--rl) var(--rl) 0; }
.stat-num   { font-size: 48px; font-weight: 900; color: var(--amber); letter-spacing: -2px; line-height: 1; }
.stat-label { color: var(--text-sub); font-size: 14px; margin-top: 6px; }

/* ── Trust bar ───────────────────────────────────────────────────── */
.trust-bar {
  background: var(--amber-l); border-top: 1px solid rgba(255,107,53,.15);
  border-bottom: 1px solid rgba(255,107,53,.15); padding: 20px 40px;
}
.trust-bar-inner {
  max-width: 1180px; margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
  gap: 48px; flex-wrap: wrap;
}
.trust-item { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--text-sub); }
.trust-item span { font-size: 20px; }

/* ── CTA banner ──────────────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, #243447 60%, #1a2d42 100%);
  padding: 80px 40px; text-align: center; position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(255,107,53,.15), transparent 70%);
}
.cta-banner-inner { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
.cta-banner h2 { font-size: clamp(28px, 4vw, 48px); font-weight: 900; letter-spacing: -1.5px; margin-bottom: 16px; color: #fff; }
.cta-banner p  { font-size: 18px; color: rgba(255,255,255,.8); margin-bottom: 36px; }

/* ── Team cards ──────────────────────────────────────────────────── */
.team-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--rl);
  padding: 36px 28px; text-align: center; transition: var(--t); box-shadow: var(--shadow);
}
.team-card:hover { transform: translateY(-4px); border-color: rgba(255,107,53,.3); box-shadow: var(--shadow-h); }
.team-avatar {
  width: 88px; height: 88px; border-radius: 50%; margin: 0 auto 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; font-weight: 900; color: #fff;
  border: 3px solid rgba(255,107,53,.2);
}
.team-name  { font-size: 18px; font-weight: 700; margin-bottom: 4px; color: var(--navy); }
@media (prefers-color-scheme: dark) { .team-name { color: #F8FAFC; } }
.team-role  { color: var(--amber); font-size: 13px; font-weight: 600; margin-bottom: 12px; }
.team-bio   { color: var(--text-sub); font-size: 13px; line-height: 1.7; }

/* ── Values ──────────────────────────────────────────────────────── */
.value-item {
  display: flex; gap: 20px; align-items: flex-start; padding: 28px;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--rl);
  transition: var(--t); box-shadow: var(--shadow);
}
.value-item:hover { border-color: rgba(255,107,53,.2); box-shadow: var(--shadow-h); }
.value-icon {
  width: 48px; height: 48px; flex-shrink: 0; border-radius: 12px;
  background: var(--amber-l); border: 1px solid rgba(255,107,53,.2);
  display: flex; align-items: center; justify-content: center; font-size: 22px;
}
.value-title { font-size: 16px; font-weight: 700; margin-bottom: 6px; color: var(--navy); }
@media (prefers-color-scheme: dark) { .value-title { color: #F8FAFC; } }
.value-desc  { color: var(--text-sub); font-size: 14px; line-height: 1.7; }

/* ── Contact ─────────────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-detail {
  display: flex; align-items: flex-start; gap: 16px; padding: 24px;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r);
  box-shadow: var(--shadow);
}
.contact-detail-icon {
  width: 44px; height: 44px; border-radius: 10px; flex-shrink: 0;
  background: var(--amber-l); border: 1px solid rgba(255,107,53,.2);
  display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.contact-detail-title { font-size: 12px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 4px; }
.contact-detail-val   { font-size: 15px; font-weight: 600; color: var(--text); }
.form-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--rxl);
  padding: 40px; box-shadow: var(--shadow-xl);
}
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 12px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 8px; }
.form-group input, .form-group textarea, .form-group select {
  background: var(--bg-alt); border: 1.5px solid var(--border);
  border-radius: 10px; padding: 13px 16px; color: var(--text);
  font-size: 15px; font-family: inherit; width: 100%; transition: var(--t);
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--amber); background: var(--amber-l); }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-muted); }
textarea { resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-success {
  background: rgba(22,163,74,.08); border: 1px solid rgba(22,163,74,.25);
  color: #16a34a; border-radius: 10px; padding: 16px; font-size: 14px;
  display: none; margin-top: 16px;
}

/* ── Page hero ───────────────────────────────────────────────────── */
.page-hero {
  padding: 80px 40px 70px; text-align: center;
  background: linear-gradient(160deg, var(--bg-alt), var(--bg));
  border-bottom: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 100%, var(--amber-l), transparent 70%);
}
.page-hero-inner { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
.page-hero h1 {
  font-size: clamp(32px, 5vw, 56px); font-weight: 900; letter-spacing: -2px;
  line-height: 1.1; margin-bottom: 16px; color: var(--navy);
}
@media (prefers-color-scheme: dark) { .page-hero h1 { color: #F8FAFC; } }
.page-hero p { color: var(--text-sub); font-size: 18px; line-height: 1.7; }

/* ── Footer ──────────────────────────────────────────────────────── */
.footer {
  background: var(--navy);
  color: #fff;
  padding: 72px 40px 36px;
}
.footer-inner { max-width: 1180px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 64px; }
.footer-logo { height: 32px; width: auto; object-fit: contain; filter: brightness(0) invert(1); }
.footer-brand p { color: rgba(255,255,255,.55); font-size: 14px; line-height: 1.7; margin-top: 14px; max-width: 280px; }
.footer-col h4 { font-size: 13px; font-weight: 700; color: rgba(255,255,255,.9); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 18px; }
.footer-col a { display: block; color: rgba(255,255,255,.5); font-size: 14px; margin-bottom: 10px; transition: var(--t); }
.footer-col a:hover { color: rgba(255,255,255,.9); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08); padding-top: 28px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { color: rgba(255,255,255,.35); font-size: 13px; }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: rgba(255,255,255,.35); font-size: 13px; transition: var(--t); }
.footer-bottom-links a:hover { color: rgba(255,255,255,.7); }

/* ── Misc ────────────────────────────────────────────────────────── */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(22,163,74,.08); border: 1px solid rgba(22,163,74,.2);
  color: #16a34a; font-size: 12px; font-weight: 600;
  padding: 5px 12px; border-radius: 100px;
}
.highlight { color: var(--amber); }
.text-muted { color: var(--text-muted); }

/* ── Animations ──────────────────────────────────────────────────── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.anim-up  { animation: fadeUp .6s ease forwards; }
.anim-in  { animation: fadeIn .8s ease forwards; }
.delay-1  { animation-delay: .15s; opacity: 0; }
.delay-2  { animation-delay: .30s; opacity: 0; }
.delay-3  { animation-delay: .45s; opacity: 0; }
.delay-4  { animation-delay: .60s; opacity: 0; }

/* ── Image optimisation helpers ──────────────────────────────────── */
.img-lazy { opacity: 0; transition: opacity .4s ease; }
.img-lazy.loaded { opacity: 1; }

/* ── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-4      { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-row   { grid-template-columns: repeat(2, 1fr); }
  .stat-box:first-child { border-radius: var(--rl) var(--rl) 0 0; }
  .stat-box:last-child  { border-radius: 0 0 var(--rl) var(--rl); }
}
@media (max-width: 768px) {
  .nav         { padding: 0 20px; }
  .nav-links   { display: none; }
  .hero        { padding: 72px 20px 56px; }
  .section     { padding: 64px 20px; }
  .grid-3      { grid-template-columns: 1fr; }
  .grid-2      { grid-template-columns: 1fr; }
  .steps-grid  { grid-template-columns: 1fr; }
  .steps-grid::before { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid  { grid-template-columns: 1fr 1fr; gap: 32px; }
  .trust-bar-inner { gap: 24px; }
  .footer      { padding: 48px 20px 28px; }
  .cta-banner  { padding: 64px 20px; }
  .page-hero   { padding: 60px 20px 50px; }
}
@media (max-width: 480px) {
  .footer-grid  { grid-template-columns: 1fr; }
  .stats-row    { grid-template-columns: 1fr 1fr; }
  .form-row     { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: center; }
  .btn-primary.lg, .btn-outline { width: 100%; justify-content: center; }
}
