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

:root {
  --navy: #0f1e35;
  --navy-mid: #1a2f4a;
  --slate: #4a5568;
  --muted: #718096;
  --border: #e2e8f0;
  --bg: #ffffff;
  --bg-soft: #f8f9fb;
  --accent: #1a56db;
  --accent-light: #ebf0fd;
  --text: #1a202c;

  --font-body: 'Inter', sans-serif;
  --font-display: 'Playfair Display', serif;

  --radius: 12px;
  --shadow: 0 4px 24px rgba(15,30,53,0.08);
  --shadow-lg: 0 12px 48px rgba(15,30,53,0.14);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Typography ── */
h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.2;
  color: var(--navy);
}
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 400; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 400; }
h3 { font-size: 1.15rem; font-weight: 500; font-family: var(--font-body); }

em { font-style: italic; color: var(--accent); }

p { color: var(--slate); font-size: 1rem; line-height: 1.75; }

.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.eyebrow-light { color: #93b4e8; }

/* ── Layout ── */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section { padding: 7rem 0; }
.section-dark { background: var(--navy); }

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 4rem;
}
.section-header h2 { color: var(--navy); }

/* ── Nav ── */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 2rem;
  transition: background 0.3s, box-shadow 0.3s;
}
#nav.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
}
.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.logo span { color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--slate);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--navy); }

.nav-cta {
  background: var(--navy) !important;
  color: #fff !important;
  padding: 0.55rem 1.2rem !important;
  border-radius: 6px;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--accent) !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: 0.3s;
}

/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 9rem 2rem 5rem;
  max-width: 1160px;
  margin: 0 auto;
  gap: 4rem;
}
.hero-content { flex: 1; }
.hero-content p {
  max-width: 480px;
  font-size: 1.05rem;
  margin: 1.5rem 0 2.5rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-visual {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-end;
}

.hero-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  box-shadow: var(--shadow);
  min-width: 220px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.hero-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card-1 { align-self: flex-start; margin-left: 2rem; }
.card-2 { align-self: center; }
.card-3 { align-self: flex-end; }

.card-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.card-stat {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--navy);
  font-weight: 400;
}

/* ── Buttons ── */
.btn-primary {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  text-decoration: none;
  padding: 0.85rem 2rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  font-family: var(--font-body);
}
.btn-primary:hover { background: var(--accent); transform: translateY(-1px); }

.btn-ghost {
  display: inline-block;
  color: var(--navy);
  text-decoration: none;
  padding: 0.85rem 2rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1.5px solid var(--border);
  transition: border-color 0.2s, color 0.2s;
}
.btn-ghost:hover { border-color: var(--navy); }

.btn-full { width: 100%; }

/* ── Trust Bar ── */
.trust-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2rem;
  text-align: center;
  background: var(--bg-soft);
}
.trust-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 1.2rem;
  font-weight: 600;
}
.trust-logos {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2.5rem;
}
.trust-logos span {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--slate);
  opacity: 0.6;
  font-style: italic;
}

/* ── Services ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.service-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: box-shadow 0.2s, transform 0.2s;
}
.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.service-icon {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 1rem;
}
.service-card h3 { margin-bottom: 0.6rem; color: var(--navy); }
.service-card p { font-size: 0.92rem; }

/* ── Why Us ── */
.why-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.why-text h2 { color: #fff; margin-bottom: 1.2rem; }
.why-text p { color: #a0b4cc; margin-bottom: 2rem; }

.why-list { list-style: none; display: flex; flex-direction: column; gap: 0.9rem; }
.why-list li {
  display: flex;
  gap: 0.8rem;
  font-size: 0.92rem;
  color: #c8d8e8;
}
.why-list li span { color: #4ade80; font-weight: 700; flex-shrink: 0; }

.why-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.stat-block {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.stat-number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: #fff;
  font-weight: 400;
}
.stat-desc { font-size: 0.82rem; color: #7a9cb8; font-weight: 500; }

/* ── Process ── */
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 760px;
  margin: 0 auto;
}
.step {
  display: flex;
  gap: 2rem;
  position: relative;
  padding-bottom: 3rem;
}
.step:last-child { padding-bottom: 0; }
.step:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 23px;
  top: 48px;
  bottom: 0;
  width: 1px;
  background: var(--border);
}
.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-light);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  z-index: 1;
}
.step-content { padding-top: 0.6rem; }
.step-content h3 { color: var(--navy); margin-bottom: 0.5rem; }
.step-content p { font-size: 0.95rem; }

/* ── Founder ── */
.founders-header {
  text-align: center;
  margin-bottom: 3rem;
}
.founders-grid {
  display: flex;
  gap: 3rem;
  justify-content: center;
  align-items: flex-start;
}
.founder-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 420px;
  flex: 1;
}
@media (max-width: 768px) {
  .founders-grid {
    flex-direction: column;
    align-items: center;
  }
  .founder-card {
    max-width: 600px;
    width: 100%;
  }
}

.founder-headshot-wrap {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(15,30,53,0.16);
  border: 4px solid var(--border);
  margin-bottom: 1.8rem;
  flex-shrink: 0;
}
.founder-headshot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.founder-name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 0.3rem;
}
.founder-title {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 1.4rem;
}
.founder-bio {
  font-size: 1rem;
  color: var(--slate);
  line-height: 1.8;
  margin-bottom: 0;
}
.founder-quote {
  margin-top: 2rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--navy);
  line-height: 1.7;
  position: relative;
  padding: 0 1rem;
}
.founder-quote::before {
  content: '\201C';
  font-size: 4rem;
  color: var(--accent);
  opacity: 0.25;
  position: absolute;
  top: -1.2rem;
  left: -0.5rem;
  font-family: var(--font-display);
  line-height: 1;
}

/* ── Contact ── */
.section-contact { background: var(--bg-soft); }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: start;
}
.contact-text h2 { margin-bottom: 1rem; }
.contact-text p { margin-bottom: 2rem; }
.contact-details { display: flex; flex-direction: column; gap: 1.2rem; }
.contact-details p { font-size: 0.9rem; color: var(--slate); }
.contact-details strong { display: block; color: var(--navy); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.2rem; }

.contact-form { display: flex; flex-direction: column; gap: 1.2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }

label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.02em;
}
input, textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
  resize: vertical;
}
input:focus, textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(26,86,219,0.1);
}
input::placeholder, textarea::placeholder { color: #b0bec5; }

.form-success {
  text-align: center;
  font-size: 0.9rem;
  color: #166534;
  background: #dcfce7;
  border-radius: 8px;
  padding: 0.9rem;
  font-weight: 500;
}
.hidden { display: none; }

/* ── Footer ── */
.footer {
  background: var(--navy);
  padding: 3rem 2rem;
  text-align: center;
}
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 0.6rem; }
.footer .logo { color: #fff; }
.footer-tagline { color: #7a9cb8; font-size: 0.85rem; }
.footer-copy { color: #4a6880; font-size: 0.78rem; }

/* ── Animations ── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero { flex-direction: column; text-align: center; min-height: auto; padding-top: 7rem; }
  .hero-content p { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { width: 100%; align-items: center; flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .hero-card { min-width: 160px; }
  .card-1, .card-2, .card-3 { align-self: auto; margin: 0; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .why-inner { grid-template-columns: 1fr; gap: 3rem; }
  .contact-inner { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
  .why-stats { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .section { padding: 5rem 0; }
}
