/* ===== Variables ===== */
:root {
  --navy: #16235c;
  --navy-2: #1f2f7a;
  --teal: #1fa89c;
  --teal-2: #2bb6a8;
  --ink: #1c2230;
  --muted: #5b6577;
  --line: #e6e9f0;
  --bg: #ffffff;
  --bg-soft: #f5f7fb;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(22, 35, 92, 0.08);
  --container: 1140px;
}

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

html { scroll-behavior: smooth; }

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

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

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

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  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.2s ease, background 0.2s ease;
}
.btn--primary { background: var(--teal); color: var(--white); }
.btn--primary:hover { background: var(--teal-2); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(31, 168, 156, 0.35); }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.6); }
.btn--ghost:hover { background: rgba(255,255,255,0.12); }
.btn--full { width: 100%; text-align: center; }

/* ===== Topbar ===== */
.topbar { background: var(--navy); color: rgba(255,255,255,0.85); font-size: 0.82rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; min-height: 38px; flex-wrap: wrap; gap: 8px; }
.topbar a { color: rgba(255,255,255,0.85); transition: color .2s; }
.topbar a:hover { color: var(--teal-2); }
.topbar__contact { display: flex; gap: 18px; }
.topbar__links { display: flex; gap: 18px; align-items: center; }
.topbar__certs { color: rgba(255,255,255,0.55); }

/* ===== Header ===== */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; }
.brand__logo { height: 48px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { font-weight: 500; color: var(--ink); font-size: 0.96rem; position: relative; transition: color .2s; }
.nav a:not(.nav__cta):hover { color: var(--teal); }
.nav a:not(.nav__cta)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--teal); transition: width .25s ease;
}
.nav a:not(.nav__cta):hover::after { width: 100%; }
.nav__cta { background: var(--navy); color: var(--white) !important; padding: 9px 20px; border-radius: 999px; }
.nav__cta:hover { background: var(--navy-2); }

.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav__toggle span { width: 26px; height: 3px; background: var(--navy); border-radius: 2px; transition: .3s; }

/* ===== Hero ===== */
.hero {
  position: relative;
  background:
    linear-gradient(120deg, rgba(22,35,92,0.94) 0%, rgba(31,47,122,0.88) 55%, rgba(31,168,156,0.85) 100%),
    radial-gradient(circle at 80% 20%, rgba(43,182,168,0.4), transparent 50%),
    var(--navy);
  color: var(--white);
  overflow: hidden;
}
.hero__overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at 70% 30%, black, transparent 75%);
}
.hero__inner { position: relative; padding: 96px 20px 110px; max-width: 860px; }
.hero__eyebrow { letter-spacing: 3px; font-size: 0.8rem; font-weight: 600; color: var(--teal-2); margin-bottom: 18px; }
.hero__title { font-size: clamp(2rem, 4.5vw, 3.3rem); line-height: 1.12; font-weight: 800; letter-spacing: -0.5px; }
.hero__title span { color: var(--teal-2); }
.hero__text { margin: 22px 0 32px; font-size: 1.1rem; color: rgba(255,255,255,0.88); max-width: 640px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ===== Stats ===== */
.stats { background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 44px 20px; text-align: center; }
.stat__num { font-size: 2.6rem; font-weight: 800; color: var(--navy); }
.stat__suffix { font-size: 2rem; font-weight: 800; color: var(--teal); }
.stat__label { color: var(--muted); font-size: 0.92rem; margin-top: 4px; }

/* ===== Section helpers ===== */
section { scroll-margin-top: 90px; }
.section__eyebrow { color: var(--teal); font-weight: 700; letter-spacing: 2px; text-transform: uppercase; font-size: 0.8rem; margin-bottom: 10px; }
.section__title { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; color: var(--navy); line-height: 1.2; letter-spacing: -0.4px; }
.section__head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section__lead { color: var(--muted); margin-top: 14px; font-size: 1.05rem; }

/* ===== About ===== */
.about { padding: 88px 0; }
.about__inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 54px; align-items: center; }
.about__text p { color: var(--muted); margin-top: 16px; }
.about__text .section__title { margin-bottom: 8px; }
.about__list { list-style: none; margin-top: 22px; display: grid; gap: 12px; }
.about__list li { padding-left: 30px; position: relative; color: var(--ink); font-weight: 500; }
.about__list li::before { content: "⚡"; position: absolute; left: 0; color: var(--teal); }
.about__cards { display: grid; gap: 16px; }
.vcard { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; transition: .2s; }
.vcard:hover { border-color: var(--teal); transform: translateY(-3px); box-shadow: var(--shadow); }
.vcard h3 { color: var(--navy); margin-bottom: 6px; }
.vcard p { color: var(--muted); font-size: 0.95rem; }

/* ===== Services ===== */
.services { padding: 88px 0; background: var(--bg-soft); }
.services__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.service {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 24px; transition: .25s; position: relative; overflow: hidden;
}
.service::before {
  content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%;
  background: linear-gradient(90deg, var(--navy), var(--teal)); transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.service:hover::before { transform: scaleX(1); }
.service__num { font-size: 1.6rem; font-weight: 800; color: var(--teal); opacity: 0.5; }
.service h3 { color: var(--navy); margin: 12px 0 8px; font-size: 1.12rem; }
.service p { color: var(--muted); font-size: 0.94rem; }

/* ===== CTA ===== */
.cta {
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 60%, var(--teal) 130%);
  color: var(--white); text-align: center; padding: 72px 0;
}
.cta h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; }
.cta p { margin: 12px 0 26px; color: rgba(255,255,255,0.9); }

/* ===== Contact ===== */
.contact { padding: 88px 0; }
.contact__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; }
.contact__list { list-style: none; margin-top: 22px; display: grid; gap: 14px; }
.contact__list li { color: var(--muted); }
.contact__list strong { color: var(--navy); display: inline-block; min-width: 100px; }
.contact__list a:hover { color: var(--teal); }
.contact__form { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 6px; color: var(--navy); }
.field input, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  font-family: inherit; font-size: 0.95rem; background: var(--white); transition: border .2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--teal); }
.contact__note { font-size: 0.78rem; color: var(--muted); margin-top: 12px; text-align: center; }

/* ===== Footer ===== */
.footer { background: var(--navy); color: rgba(255,255,255,0.8); padding-top: 56px; }
.footer__inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 40px; }
.footer__brand img { height: 46px; background: var(--white); padding: 8px 10px; border-radius: 10px; margin-bottom: 14px; }
.footer__brand p { font-size: 0.92rem; max-width: 280px; }
.footer__col h4 { color: var(--white); margin-bottom: 14px; font-size: 1rem; }
.footer__col a, .footer__col p { display: block; color: rgba(255,255,255,0.7); font-size: 0.92rem; margin-bottom: 9px; transition: color .2s; }
.footer__col a:hover { color: var(--teal-2); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.12); padding: 18px 0; font-size: 0.85rem; }
.footer__bottom p { color: rgba(255,255,255,0.6); text-align: center; }

/* ===== Responsive ===== */
@media (max-width: 920px) {
  .about__inner, .contact__inner { grid-template-columns: 1fr; gap: 36px; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 30px 20px; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .topbar { display: none; }
  .nav {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: flex-start;
    background: var(--white); padding: 18px 20px; gap: 6px; border-bottom: 1px solid var(--line);
    transform: translateY(-130%); transition: transform .3s ease; box-shadow: var(--shadow);
  }
  .nav.open { transform: translateY(0); }
  .nav a { width: 100%; padding: 10px 0; }
  .nav__toggle { display: flex; }
  .nav__cta { width: 100%; text-align: center; }
}
@media (max-width: 480px) {
  .services__grid, .footer__inner { grid-template-columns: 1fr; }
  .hero__inner { padding: 64px 20px 76px; }
}
