/* ============ FONTS ============ */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,600;9..144,800&family=Outfit:wght@300;400;500;600;700&display=swap');

/* ============ ROOT / TOKENS ============ */
:root {
  --navy: #0a1f3d;
  --navy-deep: #061226;
  --blue: #1e5fff;
  --blue-light: #6b8ff0;
  --blue-soft: #e8efff;
  --cream: #faf8f4;
  --paper: #ffffff;
  --ink: #14213d;
  --muted: #5c6b8a;
  --line: #e1e7f0;
  --accent: #ffb547;

  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Outfit', system-ui, sans-serif;

  --radius: 14px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 8px rgba(10, 31, 61, 0.06);
  --shadow-md: 0 10px 30px rgba(10, 31, 61, 0.08);
  --shadow-lg: 0 24px 60px rgba(10, 31, 61, 0.12);

  --max-width: 1180px;
}

/* ============ RESET ============ */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--navy); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ============ LAYOUT HELPERS ============ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============ NAVIGATION ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-weight: 800;
  font-size: 22px;
  color: var(--navy);
  letter-spacing: -0.5px;
}
.nav-logo img { height: 38px; width: auto; }
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  align-items: center;
}
.nav-links a {
  color: var(--ink);
  font-weight: 500;
  font-size: 15px;
  position: relative;
  padding: 4px 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--blue);
  transition: width 0.3s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--navy); font-weight: 600; }
.nav-cta {
  background: var(--navy);
  color: white !important;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.25s ease;
}
.nav-cta:hover {
  background: var(--blue);
  color: white !important;
  transform: translateY(-1px);
}
.nav-cta::after { display: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--navy);
  transition: all 0.3s;
}

@media (max-width: 820px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    gap: 0;
    padding: 0;
    border-bottom: 1px solid var(--line);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .nav-links.open { max-height: 400px; }
  .nav-links li { width: 100%; border-top: 1px solid var(--line); }
  .nav-links a { display: block; padding: 16px 24px; }
  .nav-cta { margin: 12px 24px; text-align: center; }
}

/* ============ HERO ============ */
.hero {
  position: relative;
  padding: 80px 0 100px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(30, 95, 255, 0.08), transparent 60%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(30, 95, 255, 0.05), transparent 60%);
  z-index: 0;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(10, 31, 61, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 31, 61, 0.04) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  z-index: 0;
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue-soft);
  color: var(--blue);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 24px;
  letter-spacing: 0.3px;
}
.hero-eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--blue);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(36px, 5.5vw, 64px);
  line-height: 1.05;
  letter-spacing: -1.5px;
  color: var(--navy);
  margin-bottom: 24px;
}
.hero h1 em {
  font-style: italic;
  color: var(--blue);
  font-weight: 400;
}
.hero p.lead {
  font-size: 19px;
  color: var(--muted);
  margin-bottom: 36px;
  max-width: 540px;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 15px;
  transition: all 0.25s ease;
  font-family: inherit;
}
.btn-primary {
  background: var(--navy);
  color: white !important;
}
.btn-primary:hover {
  background: var(--blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-secondary {
  background: white;
  color: var(--navy) !important;
  border: 1.5px solid var(--line);
}
.btn-secondary:hover {
  border-color: var(--navy);
  transform: translateY(-2px);
}
.btn-arrow {
  transition: transform 0.25s ease;
}
.btn:hover .btn-arrow { transform: translateX(4px); }

/* hero visual card */
.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1.05;
}
.hero-card {
  position: absolute;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 32px;
}
.hero-card-1 {
  top: 0;
  right: 0;
  width: 75%;
  height: 60%;
  z-index: 2;
}
.hero-card-2 {
  bottom: 0;
  left: 0;
  width: 70%;
  height: 55%;
  z-index: 1;
  background: var(--navy);
  color: white;
}
.hero-stat {
  font-family: var(--serif);
  font-size: 56px;
  font-weight: 700;
  line-height: 1;
  color: var(--navy);
  letter-spacing: -1.5px;
}
.hero-stat-label {
  font-size: 14px;
  color: var(--muted);
  margin-top: 8px;
  font-weight: 500;
}
.hero-card-2 .hero-stat { color: white; }
.hero-card-2 .hero-stat-label { color: var(--blue-light); }
.hero-icon-row {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}
.hero-icon-pill {
  background: var(--blue-soft);
  color: var(--blue);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
}
.hero-card-2 .hero-icon-pill {
  background: rgba(255, 255, 255, 0.1);
  color: var(--blue-light);
}

@media (max-width: 820px) {
  .hero-inner { grid-template-columns: 1fr; gap: 50px; }
  .hero { padding: 50px 0 70px; }
  .hero-visual { max-width: 420px; margin: 0 auto; }
}

/* ============ SECTIONS ============ */
.section {
  padding: 100px 0;
  position: relative;
}
.section-light { background: var(--paper); }
.section-dark {
  background: var(--navy);
  color: white;
}
.section-dark h2,
.section-dark h3 { color: white; }
.section-dark p { color: rgba(255, 255, 255, 0.75); }

.section-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
}
.section h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.1;
  letter-spacing: -1px;
  color: var(--navy);
  margin-bottom: 24px;
  max-width: 720px;
}
.section h2 em {
  font-style: italic;
  color: var(--blue);
  font-weight: 400;
}
.section-intro {
  font-size: 18px;
  color: var(--muted);
  max-width: 640px;
  margin-bottom: 56px;
}

/* ============ FEATURE GRID ============ */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  transition: all 0.3s ease;
}
.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue-light);
}
.feature-icon {
  width: 52px;
  height: 52px;
  background: var(--blue-soft);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--blue);
}
.feature h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}
.feature p {
  font-size: 15px;
  color: var(--muted);
}

@media (max-width: 820px) {
  .features { grid-template-columns: 1fr; }
  .section { padding: 70px 0; }
}

/* ============ PROCESS / TIMELINE ============ */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 40px;
}
.process-step {
  position: relative;
  padding: 24px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.process-num {
  font-family: var(--serif);
  font-size: 42px;
  font-weight: 700;
  color: var(--blue-light);
  line-height: 1;
  margin-bottom: 16px;
}
.process-step h4 {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  color: white;
  margin-bottom: 8px;
}
.process-step p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}
@media (max-width: 820px) {
  .process { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 500px) {
  .process { grid-template-columns: 1fr; }
}

/* ============ CTA STRIP ============ */
.cta-strip {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  border-radius: var(--radius-lg);
  padding: 60px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin: 80px auto;
  max-width: var(--max-width);
}
.cta-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(30, 95, 255, 0.25), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(30, 95, 255, 0.15), transparent 50%);
  z-index: 0;
}
.cta-strip > * { position: relative; z-index: 1; }
.cta-strip h2 {
  color: white;
  margin: 0 auto 16px;
  text-align: center;
}
.cta-strip p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 18px;
  margin-bottom: 32px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

/* ============ FOOTER ============ */
.footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.footer-brand img {
  height: 44px;
  width: auto;
  filter: brightness(0) invert(1);
}
.footer-brand-name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 20px;
  color: white;
}
.footer p { font-size: 15px; max-width: 320px; }
.footer h5 {
  font-family: var(--serif);
  font-size: 16px;
  color: white;
  margin-bottom: 16px;
  font-weight: 600;
}
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 10px; }
.footer ul a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 15px;
}
.footer ul a:hover { color: white; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
}
@media (max-width: 820px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}

/* ============ PAGE HEADER (non-home) ============ */
.page-header {
  padding: 70px 0 50px;
  position: relative;
  background: linear-gradient(180deg, var(--blue-soft) 0%, var(--cream) 100%);
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(10, 31, 61, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 31, 61, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(180deg, black, transparent);
  -webkit-mask-image: linear-gradient(180deg, black, transparent);
  opacity: 0.6;
}
.page-header-inner { position: relative; z-index: 1; }
.page-header h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1.05;
  letter-spacing: -1.5px;
  color: var(--navy);
  margin-bottom: 20px;
  max-width: 800px;
}
.page-header h1 em { font-style: italic; color: var(--blue); font-weight: 400; }
.page-header p {
  font-size: 19px;
  color: var(--muted);
  max-width: 600px;
}

/* ============ SERVICES PAGE ============ */
.service-block {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
  padding: 60px 0;
  border-bottom: 1px solid var(--line);
}
.service-block:last-child { border-bottom: none; }
.service-block-tag {
  font-family: var(--serif);
  font-size: 80px;
  font-weight: 700;
  color: var(--blue-soft);
  line-height: 1;
  letter-spacing: -2px;
}
.service-block h2 {
  font-size: 32px;
  margin-bottom: 16px;
}
.service-block ul {
  list-style: none;
  margin-top: 20px;
}
.service-block ul li {
  padding: 12px 0;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--ink);
}
.service-block ul li::before {
  content: '✓';
  color: var(--blue);
  font-weight: 600;
  flex-shrink: 0;
}
@media (max-width: 820px) {
  .service-block { grid-template-columns: 1fr; gap: 24px; padding: 40px 0; }
  .service-block-tag { font-size: 60px; }
}

/* ============ ABOUT PAGE ============ */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-grid h2 { margin-bottom: 24px; }
.about-grid p { margin-bottom: 20px; font-size: 17px; color: var(--ink); }
.about-grid p:last-child { color: var(--muted); }
.about-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}
.about-card h4 {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--navy);
  margin-bottom: 8px;
}
.about-card-row {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.about-card-row:last-child { border-bottom: none; }
.about-card-row p { font-size: 15px; color: var(--muted); margin: 0; }

.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.value {
  padding: 28px;
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.value h4 {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--navy);
  margin-bottom: 10px;
}
.value p { font-size: 15px; color: var(--muted); }

@media (max-width: 820px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .values { grid-template-columns: 1fr; }
}

/* ============ CONTACT PAGE ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
  align-items: start;
}
.contact-info-card {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 40px;
  color: white;
  position: relative;
  overflow: hidden;
}
.contact-info-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 80%;
  height: 100%;
  background: radial-gradient(circle, rgba(30, 95, 255, 0.3), transparent 60%);
}
.contact-info-card > * { position: relative; z-index: 1; }
.contact-info-card h3 {
  font-family: var(--serif);
  font-size: 26px;
  margin-bottom: 12px;
  color: white;
}
.contact-info-card p {
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 32px;
}
.contact-detail {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  align-items: center;
}
.contact-detail:first-of-type { border-top: none; }
.contact-detail-icon {
  width: 40px;
  height: 40px;
  background: rgba(30, 95, 255, 0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--blue-light);
}
.contact-detail-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 2px;
}
.contact-detail-value {
  color: white;
  font-size: 16px;
  font-weight: 500;
}
.contact-detail a { color: white; }
.contact-detail a:hover { color: var(--blue-light); }

.contact-form {
  background: white;
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.contact-form h3 {
  font-family: var(--serif);
  font-size: 26px;
  color: var(--navy);
  margin-bottom: 8px;
}
.contact-form > p {
  color: var(--muted);
  margin-bottom: 28px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.form-field { margin-bottom: 16px; }
.form-field label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 6px;
}
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-family: inherit;
  font-size: 15px;
  background: var(--cream);
  color: var(--ink);
  transition: all 0.2s ease;
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--blue);
  background: white;
  box-shadow: 0 0 0 3px rgba(30, 95, 255, 0.1);
}
.form-field textarea {
  resize: vertical;
  min-height: 120px;
  font-family: inherit;
}
.form-submit {
  width: 100%;
  background: var(--navy);
  color: white;
  padding: 16px;
  border-radius: 10px;
  font-weight: 500;
  font-size: 15px;
  transition: all 0.25s ease;
  margin-top: 8px;
}
.form-submit:hover {
  background: var(--blue);
  transform: translateY(-1px);
}
.form-success {
  display: none;
  background: #e8f5e9;
  border: 1px solid #66bb6a;
  color: #1b5e20;
  padding: 16px;
  border-radius: 10px;
  margin-top: 16px;
  font-size: 15px;
}
.form-success.show { display: block; }

@media (max-width: 820px) {
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form, .contact-info-card { padding: 28px; }
}

/* ============ TRUST BAR ============ */
.trust-bar {
  background: white;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 32px 0;
}
.trust-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.trust-label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--muted);
  font-weight: 500;
}
.trust-items {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
}
.trust-item {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--navy);
  font-weight: 600;
}

/* ============ ANIMATIONS ============ */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease forwards;
}
.fade-up.delay-1 { animation-delay: 0.15s; }
.fade-up.delay-2 { animation-delay: 0.3s; }
.fade-up.delay-3 { animation-delay: 0.45s; }
.fade-up.delay-4 { animation-delay: 0.6s; }
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}
