:root {
  --bg: #f7fbff;
  --surface: #ffffff;
  --ink: #0c1b2a;
  --muted: #5a6b7e;
  --line: #e3edf7;
  --brand: #0ea5e9;
  --brand-2: #1e88e5;
  --brand-deep: #0b3a8c;
  --accent: #7dd3fc;
  --shadow: 0 10px 30px rgba(14, 116, 165, 0.10);
  --radius: 16px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, "Segoe UI", Roboto, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; height: auto; display: block; }

.container { width: min(1140px, 92vw); margin: 0 auto; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav .container { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: .55rem; font-weight: 700; font-size: 1.25rem; letter-spacing: -0.02em; color: var(--ink); }
.brand .mark {
  width: 30px; height: 30px; border-radius: 9px;
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  display: grid; place-items: center; color: #fff; font-weight: 800;
}
.nav ul { list-style: none; display: flex; gap: 1.6rem; padding: 0; margin: 0; }
.nav ul a { color: var(--muted); font-weight: 500; font-size: .95rem; }
.nav ul a:hover { color: var(--brand); text-decoration: none; }
.nav .cta { background: var(--ink); color: #fff; padding: .55rem 1.1rem; border-radius: 999px; font-weight: 600; font-size: .92rem; }
.nav .cta:hover { background: var(--brand); text-decoration: none; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; font-size: 1.4rem; color: var(--ink); }

@media (max-width: 820px) {
  .nav ul, .nav .cta { display: none; }
  .nav-toggle { display: block; }
  .nav.open ul { display: flex; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: #fff; padding: 1rem 1.5rem; border-bottom: 1px solid var(--line); gap: 1rem; }
  .nav.open .cta { display: inline-block; align-self: flex-start; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(125, 211, 252, 0.35), transparent 60%),
    radial-gradient(900px 500px at 10% 10%, rgba(14, 165, 233, 0.18), transparent 55%),
    linear-gradient(180deg, #eef7ff, #f7fbff);
}
.hero .container { padding: 6rem 0 5rem; position: relative; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  background: #fff; border: 1px solid var(--line); color: var(--brand-deep);
  padding: .4rem .85rem; border-radius: 999px; font-size: .85rem; font-weight: 600;
  box-shadow: var(--shadow);
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }
.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.06; letter-spacing: -0.03em; margin: 1.4rem 0 1.2rem; max-width: 16ch;
}
.hero h1 .grad {
  background: linear-gradient(120deg, var(--brand), var(--brand-deep));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead { font-size: 1.15rem; color: var(--muted); max-width: 56ch; margin: 0 0 2rem; }
.hero .actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .85rem 1.5rem; border-radius: 999px; font-weight: 600; font-size: 1rem; cursor: pointer; border: 0;
}
.btn-primary { background: linear-gradient(120deg, var(--brand), var(--brand-deep)); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { filter: brightness(1.05); text-decoration: none; }
.btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); text-decoration: none; }

.hero-stats {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; margin-top: 3.5rem;
}
.hero-stats .s {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem 1.2rem; box-shadow: var(--shadow);
}
.hero-stats .n { font-size: 2rem; font-weight: 800; letter-spacing: -0.02em; color: var(--brand-deep); }
.hero-stats .l { color: var(--muted); font-size: .92rem; }
@media (max-width: 900px) { .hero-stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Sections ---------- */
section { padding: 5.5rem 0; }
.section-head { max-width: 720px; margin: 0 auto 3rem; text-align: center; }
.section-head .kicker { color: var(--brand); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .8rem; }
.section-head h2 { font-size: clamp(1.9rem, 3.5vw, 2.7rem); letter-spacing: -0.02em; margin: .6rem 0 .8rem; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.6rem; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(14, 116, 165, 0.16); }
.card .icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 1.5rem;
  background: linear-gradient(135deg, rgba(14,165,233,.15), rgba(11,58,140,.15)); color: var(--brand-deep);
}
.card h3 { font-size: 1.25rem; margin: 1.2rem 0 .5rem; letter-spacing: -0.01em; }
.card p { color: var(--muted); }
.card .more { display: inline-flex; align-items: center; gap: .4rem; margin-top: 1rem; font-weight: 600; }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr; } }

/* Split feature */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.split .media {
  border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line);
  background: linear-gradient(160deg, #e8f4ff, #fff); min-height: 280px; display: grid; place-items: center; font-size: 5rem;
}
.split.reverse .media { order: 2; }
.split h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); letter-spacing: -0.02em; margin: 0 0 1rem; }
.split p { color: var(--muted); }
.split ul { list-style: none; padding: 0; margin: 1.2rem 0 0; }
.split ul li { padding: .4rem 0 0 .1rem; color: var(--muted); }
.split ul li::before { content: "→"; color: var(--brand); margin-right: .6rem; font-weight: 700; }
@media (max-width: 900px) { .split, .split.reverse { grid-template-columns: 1fr; } .split .media, .split.reverse .media { order: 0; min-height: 200px; } }

/* CTA band */
.cta-band {
  background: linear-gradient(120deg, var(--brand-deep), var(--brand));
  color: #fff; border-radius: 24px; padding: 3.5rem; text-align: center; box-shadow: 0 20px 50px rgba(11, 58, 140, 0.3);
}
.cta-band h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin: 0 0 .6rem; letter-spacing: -0.02em; }
.cta-band p { opacity: .92; max-width: 60ch; margin: 0 auto 1.8rem; }
.cta-band .btn-primary { background: #fff; color: var(--brand-deep); }
.cta-band .btn-primary:hover { background: #f0f8ff; }

/* ---------- Footer ---------- */
footer.site { background: #0a1626; color: #c3d4e6; padding: 3.5rem 0 2rem; margin-top: 0; }
footer.site .grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
footer.site .brand { color: #fff; margin-bottom: 1rem; }
footer.site p { color: #8aa0b8; font-size: .92rem; max-width: 36ch; }
footer.site h4 { color: #fff; font-size: .95rem; margin: 0 0 1rem; letter-spacing: .02em; }
footer.site ul { list-style: none; padding: 0; margin: 0; }
footer.site ul li { margin: .5rem 0; }
footer.site ul a { color: #a9bdd1; font-size: .92rem; }
footer.site ul a:hover { color: #fff; }
footer.site .bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 2.5rem; padding-top: 1.5rem; font-size: .85rem; color: #7e93ab; text-align: center; }
@media (max-width: 820px) { footer.site .grid { grid-template-columns: 1fr 1fr; } }

/* Page header (subpages) */
.page-head {
  background: linear-gradient(180deg, #eef7ff, #f7fbff);
  border-bottom: 1px solid var(--line);
  padding: 4.5rem 0 3rem;
}
.page-head h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); letter-spacing: -0.03em; margin: 1rem 0 .6rem; }
.page-head p { color: var(--muted); max-width: 60ch; font-size: 1.1rem; }

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.quote {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem; box-shadow: var(--shadow);
}
.quote .stars { color: #f5a623; letter-spacing: .15em; }
.quote blockquote { margin: 1rem 0; font-size: 1.05rem; color: var(--ink); }
.quote .who { display: flex; align-items: center; gap: .8rem; }
.quote .who .av { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--brand), var(--brand-deep)); color: #fff; display: grid; place-items: center; font-weight: 700; overflow: hidden; }
.quote .who .av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.quote .who b { display: block; }
.quote .who span { color: var(--muted); font-size: .88rem; }
@media (max-width: 900px) { .quotes { grid-template-columns: 1fr; } }

/* Jobs */
.jobs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.job {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem 1.8rem; box-shadow: var(--shadow); display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.job .meta b { font-size: 1.1rem; }
.job .meta span { color: var(--muted); font-size: .9rem; }
.job .tag { background: #eef7ff; color: var(--brand-deep); padding: .35rem .8rem; border-radius: 999px; font-size: .82rem; font-weight: 600; }
@media (max-width: 820px) { .jobs { grid-template-columns: 1fr; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 2.5rem; align-items: start; }
.form .field { margin-bottom: 1.2rem; }
.form label { display: block; font-weight: 600; margin-bottom: .4rem; font-size: .92rem; }
.form input, .form textarea {
  width: 100%; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: 12px;
  font: inherit; background: #fff; color: var(--ink);
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(14,165,233,.15); }
.form textarea { min-height: 140px; resize: vertical; }
.info-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow); }
.info-card h3 { margin: 0 0 .8rem; }
.info-card p { color: var(--muted); margin: .3rem 0; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }

/* Team strip */
.team { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.2rem; }
.team .person { text-align: center; }
.team .person .ph {
  width: 96px; height: 96px; border-radius: 50%; overflow: hidden; margin: 0 auto .8rem;
  border: 3px solid #fff; box-shadow: var(--shadow);
}
.team .person .ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.team .person b { display: block; font-size: .98rem; }
.team .person span { color: var(--muted); font-size: .85rem; }
@media (max-width: 820px) { .team { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .team { grid-template-columns: repeat(2, 1fr); } }
