:root {
  --navy: #12233d;
  --navy-light: #1c3a63;
  --teal: #1a8a8a;
  --teal-light: #22a6a6;
  --amber: #e0a63c;
  --bg: #f7f8fa;
  --white: #ffffff;
  --ink: #1a2230;
  --ink-soft: #55606f;
  --border: #e3e7ed;
  --shadow: 0 8px 24px rgba(18,35,61,0.08);
  --radius: 14px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; color: var(--navy); }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 10px;
  display: block;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--teal); color: var(--white); }
.btn-primary:hover { background: var(--teal-light); transform: translateY(-2px); box-shadow: 0 10px 20px rgba(26,138,138,0.25); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.55); }
.btn-outline:hover { background: rgba(255,255,255,0.12); transform: translateY(-2px); }
.btn-dark { background: var(--navy); color: var(--white); }
.btn-dark:hover { background: var(--navy-light); transform: translateY(-2px); box-shadow: 0 10px 20px rgba(18,35,61,0.25); }
.btn-ghost { background: var(--bg); color: var(--navy); border-color: var(--border); }
.btn-ghost:hover { background: white; border-color: var(--teal); color: var(--teal); transform: translateY(-2px); }

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--navy);
}
.logo-mark {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--teal), var(--navy));
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 800; font-size: 1.1rem;
}
nav.main-nav { display: flex; gap: 34px; }
nav.main-nav a {
  font-weight: 600; font-size: 0.95rem; color: var(--ink-soft);
  position: relative; padding: 4px 0;
  transition: color 0.15s ease;
}
nav.main-nav a:hover { color: var(--navy); }
nav.main-nav a.active { color: var(--navy); }
nav.main-nav a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--teal); border-radius: 2px;
}
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-phone { font-weight: 600; font-size: 0.92rem; color: var(--navy); display: flex; align-items: center; gap: 6px; }
.menu-toggle {
  display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px;
}
.menu-toggle span { width: 24px; height: 2px; background: var(--navy); border-radius: 2px; }

/* Hero (home) */
.hero {
  background: radial-gradient(1100px 600px at 80% -10%, #234b7a 0%, var(--navy) 55%, #0d1a2e 100%);
  color: white;
  padding: 92px 0 110px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  right: -120px; bottom: -160px;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26,138,138,0.35), transparent 70%);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero h1 { color: white; font-size: 3rem; letter-spacing: -0.02em; margin-bottom: 20px; }
.hero h1 span { color: var(--teal-light); }
.hero p.lead { font-size: 1.15rem; color: #cfd9e8; max-width: 520px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 44px; }
.hero-stats { display: flex; gap: 36px; flex-wrap: wrap; }
.hero-stat b { display: block; font-size: 1.9rem; color: white; }
.hero-stat span { font-size: 0.85rem; color: #a9b8cc; }

.hero-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  padding: 28px;
  backdrop-filter: blur(6px);
}
.hero-card h3 { color: white; font-size: 1.05rem; margin-bottom: 18px; }
.quick-form { display: flex; flex-direction: column; gap: 12px; }
.quick-form input, .quick-form select {
  padding: 12px 14px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08); color: white; font-size: 0.92rem;
}
.quick-form input::placeholder { color: #b7c2d3; }
.quick-form select option { color: #111; }
.hero-form-success {
  display: none; background: rgba(34,166,166,0.18); border: 1px solid rgba(34,166,166,0.4); color: #d8f5f5;
  padding: 12px 14px; border-radius: 8px; font-size: 0.85rem; font-weight: 600; margin-bottom: 12px;
}
.hero-form-success.show { display: block; }

/* Interior page header (About / Services / Careers / Contact / legal) */
.page-header {
  background: radial-gradient(1100px 500px at 80% -20%, #234b7a 0%, var(--navy) 60%, #0d1a2e 100%);
  color: white;
  padding: 64px 0 56px;
  text-align: center;
}
.page-header .eyebrow { color: #7fd6d6; text-align: center; }
.page-header h1 { color: white; font-size: 2.3rem; margin-bottom: 12px; }
.page-header p { color: #cfd9e8; max-width: 580px; margin: 0 auto; font-size: 1.05rem; }

/* Section shared */
section { padding: 92px 0; }
.section-head { max-width: 640px; margin: 0 auto 52px; text-align: center; }
.section-head h2 { font-size: 2.2rem; letter-spacing: -0.01em; margin-bottom: 14px; }
.section-head p { color: var(--ink-soft); font-size: 1.05rem; }

/* Trust bar */
.trust-bar {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 26px 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.trust-grid div b { display: block; font-size: 1.6rem; color: var(--navy); }
.trust-grid div span { font-size: 0.85rem; color: var(--ink-soft); }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}
.about-visual {
  background: linear-gradient(135deg, #eaf3f3, #dfe8f5);
  border-radius: var(--radius);
  padding: 40px;
  display: grid;
  gap: 18px;
}
.about-visual .mini-card {
  background: white; border-radius: 12px; padding: 18px 20px;
  box-shadow: var(--shadow); display: flex; gap: 14px; align-items: flex-start;
}
.about-visual .mini-card .ic {
  width: 40px; height: 40px; border-radius: 10px; background: var(--teal);
  color: white; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0;
}
.about-visual .mini-card h4 { font-size: 0.98rem; margin-bottom: 3px; }
.about-visual .mini-card p { font-size: 0.85rem; color: var(--ink-soft); }

.about-copy h2 { font-size: 2.1rem; margin-bottom: 18px; }
.about-copy p { color: var(--ink-soft); margin-bottom: 16px; }
.value-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.value-list li { display: flex; gap: 10px; font-size: 0.92rem; color: var(--ink); font-weight: 600; }
.value-list li .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); margin-top: 7px; flex-shrink: 0; }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.team-card { text-align: center; }
.team-avatar {
  width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 14px;
  background: linear-gradient(135deg, var(--teal-light), var(--navy));
  display: flex; align-items: center; justify-content: center; color: white; font-weight: 800; font-size: 1.3rem;
}
.team-card h4 { font-size: 0.98rem; margin-bottom: 3px; }
.team-card span { font-size: 0.85rem; color: var(--ink-soft); }

/* Services */
.services { background: var(--white); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 26px;
  background: var(--bg);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  scroll-margin-top: 100px;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; background: white; }
.service-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: linear-gradient(135deg, var(--teal), var(--navy));
  color: white; display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 20px;
}
.service-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.service-card p { color: var(--ink-soft); font-size: 0.95rem; margin-bottom: 14px; }
.service-card a.learn { font-weight: 700; font-size: 0.88rem; color: var(--teal); }

/* Process */
.process { background: var(--bg); }
.process-tabs { display: flex; justify-content: center; gap: 10px; margin-bottom: 46px; }
.tab-btn {
  padding: 10px 22px; border-radius: 999px; border: 1px solid var(--border);
  background: white; font-weight: 700; font-size: 0.9rem; cursor: pointer; color: var(--ink-soft);
  transition: all 0.15s ease;
}
.tab-btn.active { background: var(--navy); color: white; border-color: var(--navy); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.steps.hidden { display: none; }
.step {
  background: white; border-radius: var(--radius); padding: 26px 22px; text-align: left;
  border: 1px solid var(--border); position: relative;
}
.step .num {
  width: 34px; height: 34px; border-radius: 50%; background: var(--teal); color: white;
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 0.9rem;
  margin-bottom: 16px;
}
.step h4 { font-size: 1rem; margin-bottom: 8px; }
.step p { font-size: 0.88rem; color: var(--ink-soft); }

/* Testimonials */
.testimonials { background: var(--navy); color: white; }
.testimonials .section-head h2 { color: white; }
.testimonials .section-head p { color: #b6c2d4; }
.t-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.t-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 28px;
}
.t-card .stars { color: var(--amber); letter-spacing: 3px; margin-bottom: 14px; font-size: 0.95rem; }
.t-card p.quote { font-size: 0.95rem; color: #dbe2ee; margin-bottom: 22px; }
.t-person { display: flex; align-items: center; gap: 12px; }
.t-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--teal-light), var(--amber));
  display: flex; align-items: center; justify-content: center; font-weight: 800; color: var(--navy); font-size: 0.9rem;
}
.t-person b { display: block; font-size: 0.9rem; }
.t-person span { font-size: 0.8rem; color: #9fb0c6; }

/* CTA banner */
.cta-banner {
  background: linear-gradient(120deg, var(--teal), #147373);
  color: white;
  padding: 56px 0;
}
.cta-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
}
.cta-inner h2 { color: white; font-size: 1.7rem; max-width: 480px; }
.cta-inner p { color: #e3f5f5; margin-top: 8px; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.cta-actions .btn-primary { background: var(--navy); }
.cta-actions .btn-primary:hover { background: var(--navy-light); }

/* Careers / job listings */
.job-filters { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 44px; }
.job-list { display: grid; gap: 18px; max-width: 840px; margin: 0 auto 20px; }
.job-card {
  background: white; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 28px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.job-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.job-tag {
  display: inline-block; padding: 4px 12px; border-radius: 999px; background: #eaf3f3; color: var(--teal);
  font-size: 0.78rem; font-weight: 700; margin-bottom: 10px;
}
.job-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.job-meta { display: flex; gap: 16px; flex-wrap: wrap; font-size: 0.85rem; color: var(--ink-soft); }
.job-meta span { display: flex; align-items: center; gap: 5px; }
.job-empty-note {
  max-width: 640px; margin: 0 auto; text-align: center; color: var(--ink-soft); font-size: 0.92rem;
  background: white; border: 1px dashed var(--border); border-radius: var(--radius); padding: 22px;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 50px;
}
.contact-info { display: flex; flex-direction: column; gap: 22px; }
.info-item { display: flex; gap: 16px; align-items: flex-start; }
.info-icon {
  width: 44px; height: 44px; border-radius: 12px; background: var(--white);
  border: 1px solid var(--border); display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem; flex-shrink: 0; color: var(--teal);
}
.info-item h4 { font-size: 0.98rem; margin-bottom: 3px; }
.info-item p, .info-item a { color: var(--ink-soft); font-size: 0.92rem; }
.social-row { display: flex; gap: 12px; margin-top: 8px; }
.social-row a {
  width: 38px; height: 38px; border-radius: 50%; background: var(--white); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--navy); font-size: 0.85rem;
  transition: background 0.15s ease, color 0.15s ease;
}
.social-row a:hover { background: var(--navy); color: white; }

.contact-form {
  background: white; border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 0.85rem; font-weight: 700; color: var(--navy); }
.form-field input, .form-field select, .form-field textarea {
  padding: 12px 14px; border-radius: 8px; border: 1px solid var(--border); font-size: 0.92rem;
  font-family: inherit; background: var(--bg);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--teal); background: white;
}
.form-field textarea { resize: vertical; min-height: 100px; }
.contact-form .btn { width: 100%; justify-content: center; margin-top: 6px; }
.form-note { font-size: 0.8rem; color: var(--ink-soft); margin-top: 12px; text-align: center; }
.form-success {
  display: none; background: #eafaf2; border: 1px solid #b7e8cd; color: #1b6b3d;
  padding: 14px 16px; border-radius: 10px; font-size: 0.9rem; font-weight: 600; margin-bottom: 16px;
}
.form-success.show { display: block; }

/* Legal pages */
.legal-content { max-width: 780px; margin: 0 auto; }
.legal-content h2 { font-size: 1.25rem; margin: 34px 0 12px; }
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content p, .legal-content li { color: var(--ink-soft); margin-bottom: 14px; font-size: 0.95rem; }
.legal-content ul { list-style: disc; padding-left: 22px; }
.legal-content .updated { color: var(--ink-soft); font-size: 0.85rem; margin-bottom: 30px; }

/* Footer */
footer { background: #0d1a2e; color: #9fb0c6; padding: 56px 0 26px; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px;
}
.footer-brand .logo { color: white; margin-bottom: 14px; }
.footer-brand p { font-size: 0.88rem; color: #8b9bb2; max-width: 280px; }
footer h5 { color: white; font-size: 0.92rem; margin-bottom: 16px; }
footer ul li { margin-bottom: 10px; }
footer ul li a { font-size: 0.88rem; color: #9fb0c6; transition: color 0.15s ease; }
footer ul li a:hover { color: white; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding-top: 22px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 0.8rem; color: #7488a3;
}
.footer-bottom a { color: #9fb0c6; }
.footer-bottom a:hover { color: white; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { order: 2; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .t-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  nav.main-nav { display: none; }
  .menu-toggle { display: flex; }
  .nav-phone { display: none; }
  .hero { padding: 60px 0 70px; }
  .hero h1 { font-size: 2.1rem; }
  .page-header { padding: 48px 0 40px; }
  .page-header h1 { font-size: 1.8rem; }
  section { padding: 64px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .cta-inner { text-align: center; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .job-card { flex-direction: column; align-items: flex-start; }
  .job-card .btn { width: 100%; justify-content: center; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  nav.main-nav.mobile-open {
    display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
    background: white; padding: 20px 24px; gap: 18px; border-bottom: 1px solid var(--border); box-shadow: var(--shadow);
  }
}
