/* ===== Design tokens ===== */
:root {
  --navy: #0b1f3a;
  --navy-light: #122c52;
  --blue: #1b6fc9;
  --blue-light: #4a91dd;
  --teal: #16c2b0;
  --bg: #ffffff;
  --bg-soft: #f5f8fc;
  --bg-soft-2: #eef3fa;
  --text: #16213e;
  --text-muted: #5a6b82;
  --border: #e3e9f1;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px -10px rgba(11, 31, 58, 0.15);
  --shadow-sm: 0 4px 14px -4px rgba(11, 31, 58, 0.12);
  --max-width: 1180px;
  --font-head: "Poppins", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); margin: 0; line-height: 1.25; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  background: rgba(22, 194, 176, 0.1);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.section { padding: 88px 0; }
.section-soft { background: var(--bg-soft); }
.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 14px; }
.section-head p { color: var(--text-muted); font-size: 1.05rem; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--navy-light); }
.btn-outline { border-color: var(--border); color: var(--navy); background: #fff; }
.btn-outline:hover { border-color: var(--blue); }
.btn-ghost { color: var(--navy); }
.btn-block { width: 100%; justify-content: center; }
.btn-sm { padding: 9px 18px; font-size: 0.85rem; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; color: var(--navy); white-space: nowrap; flex-shrink: 0; }
.logo .logo-accent { color: var(--blue); }
.logo-text-short { display: none; }
.main-nav { display: flex; gap: 20px; }
.main-nav a { font-weight: 500; font-size: 0.95rem; color: var(--text); transition: color 0.15s; }
.main-nav a:hover { color: var(--blue); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--navy); border-radius: 2px; }

/* ===== Hero ===== */
.hero {
  background: radial-gradient(circle at 80% 0%, rgba(22, 194, 176, 0.12), transparent 55%),
    linear-gradient(180deg, var(--bg-soft) 0%, #fff 100%);
  padding: 96px 0 70px;
  text-align: center;
}
.hero h1 {
  font-size: clamp(2.1rem, 4.5vw, 3.4rem);
  max-width: 800px;
  margin: 0 auto 22px;
}
.hero h1 .accent { color: var(--blue); }
.hero p.lead {
  max-width: 620px;
  margin: 0 auto 36px;
  color: var(--text-muted);
  font-size: 1.1rem;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 44px; }
.trust-row { display: flex; gap: 28px; justify-content: center; flex-wrap: wrap; color: var(--text-muted); font-size: 0.9rem; }
.trust-row strong { color: var(--navy); }
.stars { color: #f5a623; letter-spacing: 2px; }

/* ===== Stats bar ===== */
.stats-bar {
  background: var(--navy);
  padding: 46px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-item .stat-num {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  color: #fff;
}
.stat-item .stat-label { color: rgba(255,255,255,0.7); font-size: 0.9rem; margin-top: 4px; }

/* ===== Segmented tabs ===== */
.tab-bar {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}
.tab-btn {
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.15s;
}
.tab-btn.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.tab-btn:not(.active):hover { border-color: var(--blue); color: var(--blue); }

/* ===== Services grid ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: #fff;
}
.service-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.service-card p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 14px; }
.service-card .learn-more { color: var(--blue); font-weight: 600; font-size: 0.88rem; }
.service-card[hidden] { display: none; }

/* ===== Why us grid ===== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.why-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 22px 18px;
  text-align: center;
}
.why-item .why-icon { color: var(--teal); margin: 0 auto 12px; width: 32px; height: 32px; }
.why-item h4 { font-size: 0.95rem; margin-bottom: 6px; }
.why-item p { font-size: 0.82rem; color: var(--text-muted); }

/* ===== Certifications ===== */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.cert-badge {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px 12px;
  text-align: center;
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--navy);
}

/* ===== About & presence ===== */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.split-card {
  border-radius: var(--radius);
  padding: 44px 38px;
  color: #fff;
  position: relative;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.split-card.about-card { background: linear-gradient(135deg, var(--navy), var(--navy-light)); }
.split-card.presence-card { background: linear-gradient(135deg, var(--blue), #103a6b); }
.split-card h3 { color: #fff; font-size: 1.5rem; margin-bottom: 12px; }
.split-card p { color: rgba(255,255,255,0.78); margin-bottom: 20px; font-size: 0.95rem; }
.split-card .city-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.city-chips span { background: rgba(255,255,255,0.12); padding: 5px 12px; border-radius: 999px; font-size: 0.78rem; }
.split-card a.btn { align-self: flex-start; }

/* ===== Testimonials ===== */
.testimonial-wrap { position: relative; max-width: 760px; margin: 0 auto; }
.testimonial-track { overflow: hidden; }
.testimonial-slides { display: flex; transition: transform 0.4s ease; }
.testimonial-slide { flex: 0 0 100%; padding: 8px; }
.testimonial-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.testimonial-card .quote-mark { font-size: 2.5rem; color: var(--teal); font-family: var(--font-head); line-height: 1; margin-bottom: 8px; }
.testimonial-card p.quote { font-size: 1.05rem; color: var(--text); margin-bottom: 20px; }
.testimonial-card .author { font-weight: 700; color: var(--navy); }
.testimonial-card .role { color: var(--text-muted); font-size: 0.85rem; }
.carousel-controls { display: flex; justify-content: center; gap: 14px; margin-top: 28px; }
.carousel-btn {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--border); background: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.15s;
}
.carousel-btn:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.carousel-dots { display: flex; gap: 8px; align-items: center; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border); transition: all 0.2s; }
.dot.active { background: var(--blue); width: 22px; border-radius: 4px; }

/* ===== Contact ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-info-item { display: flex; gap: 14px; margin-bottom: 24px; }
.contact-info-item .ci-icon {
  width: 42px; height: 42px; border-radius: 10px; flex-shrink: 0;
  background: var(--bg-soft-2); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
}
.contact-info-item h4 { font-size: 0.95rem; margin-bottom: 4px; }
.contact-info-item p { color: var(--text-muted); font-size: 0.9rem; }
.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 6px; color: var(--navy); }
.form-field input, .form-field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border);
  border-radius: var(--radius-sm); font-family: inherit; font-size: 0.95rem;
  background: var(--bg-soft);
}
.form-field input:focus, .form-field textarea:focus { outline: 2px solid var(--blue); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-success {
  display: none;
  background: rgba(22, 194, 176, 0.12);
  color: #0c7a6d;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  margin-top: 12px;
  font-weight: 600;
}
.form-success.show { display: block; }

/* ===== Final CTA ===== */
.final-cta {
  background: linear-gradient(135deg, var(--navy), #103a6b 60%, var(--blue));
  border-radius: 24px;
  padding: 64px 48px;
  text-align: center;
  color: #fff;
  margin: 0 auto;
}
.final-cta h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 14px; }
.final-cta p { color: rgba(255,255,255,0.78); max-width: 520px; margin: 0 auto 28px; }
.final-cta .btn-primary { background: var(--teal); }
.final-cta .btn-primary:hover { background: #11a596; }

/* ===== Footer ===== */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.7); padding: 60px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-grid h4 { color: #fff; font-size: 0.95rem; margin-bottom: 16px; }
.footer-grid ul li { margin-bottom: 10px; font-size: 0.88rem; }
.footer-grid ul li a:hover { color: #fff; }
.footer-brand .logo { color: #fff; margin-bottom: 14px; }
.footer-brand p { font-size: 0.88rem; max-width: 280px; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center; transition: all 0.15s;
}
.footer-social a:hover { background: var(--teal); border-color: var(--teal); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 0; font-size: 0.82rem; flex-wrap: wrap; gap: 10px;
}
.footer-bottom .legal-links { display: flex; gap: 18px; }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .cert-grid { grid-template-columns: repeat(3, 1fr); }
  .split-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .main-nav { position: fixed; top: 76px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 16px 24px; gap: 18px; border-bottom: 1px solid var(--border); transform: translateY(calc(-100% - 100px)); transition: transform 0.25s ease; }
  .main-nav.open { transform: translateY(0); }
  .nav-toggle { display: flex; }
  .header-actions .btn-outline { display: none; }
}
@media (max-width: 760px) {
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .final-cta { padding: 44px 24px; }
  .hero { padding: 56px 0 44px; }
  .split-card { padding: 32px 26px; min-height: 0; }
  .testimonial-card { padding: 28px 22px; }
  .trust-row { gap: 16px; }
}
@media (max-width: 480px) {
  .logo-text-full { display: none; }
  .logo-text-short { display: inline; }
  .logo { gap: 6px; }
  .logo img { width: 26px; height: 26px; }
  .nav-toggle { padding: 6px; }
  .header-actions .btn-sm { padding: 8px 13px; font-size: 0.8rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .cert-grid { grid-template-columns: 1fr 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}
