/* ===== Design tokens ===== */
:root {
  --brand: #1763e6;
  --brand-dark: #0f4cc0;
  --brand-soft: #e8f0fe;
  --ink: #15233b;
  --body: #5d6b80;
  --muted: #8a97a8;
  --bg-soft: #eef4fc;
  --line: #e6ebf2;
  --white: #ffffff;
  --shadow: 0 18px 40px rgba(21, 35, 59, .08);
  --shadow-sm: 0 8px 24px rgba(21, 35, 59, .06);
  --radius: 14px;
  --container: 1140px;
}

/* ===== Reset / base ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--body);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5 { font-family: "Poppins", system-ui, sans-serif; color: var(--ink); line-height: 1.2; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: "Poppins", sans-serif; font-weight: 600; font-size: 14px;
  padding: 13px 24px; border-radius: 8px; border: 2px solid transparent;
  cursor: pointer; transition: all .2s ease; white-space: nowrap;
}
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }
.btn--primary { background: var(--brand); color: #fff; border-color: var(--brand); }
.btn--primary:hover { background: var(--brand-dark); border-color: var(--brand-dark); }
.btn--ghost { background: transparent; color: var(--ink); border-color: #d7deea; }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn--light { background: #fff; color: var(--brand); border-color: #fff; }
.btn--light:hover { background: var(--brand-soft); }
.btn--sm { padding: 10px 18px; font-size: 13px; }

/* ===== Top bar ===== */
.topbar { background: #0d1726; color: #c7d0dd; font-size: 13px; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; height: 40px; }
.topbar__left, .topbar__right { display: flex; align-items: center; gap: 14px; }
.topbar__item { display: inline-flex; align-items: center; gap: 6px; color: #c7d0dd; }
.topbar__tagline { letter-spacing: .2px; }
.topbar__divider { width: 1px; height: 16px; background: rgba(255,255,255,.18); }
.topbar__social { color: #c7d0dd; display: inline-flex; }
.topbar__social:hover { color: var(--brand); }
.topbar__callback { font-weight: 600; color: #fff; }
.topbar__callback:hover { color: var(--brand); }

/* ===== Header ===== */
.header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__mark { width: 40px; height: 40px; border-radius: 10px; background: var(--brand); color: #fff; display: grid; place-items: center; }
.brand__name { font-family: "Poppins", sans-serif; font-weight: 700; font-size: 19px; color: var(--ink); }
.brand__name span { color: var(--brand); }
.brand--light .brand__name { color: #fff; }
.brand--light .brand__name span { color: #6ea0ff; }

.nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.nav__link { font-family: "Poppins", sans-serif; font-weight: 500; font-size: 15px; color: var(--ink); position: relative; padding: 6px 0; }
.nav__link::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--brand); transition: width .2s; }
.nav__link:hover, .nav__link.is-active { color: var(--brand); }
.nav__link:hover::after, .nav__link.is-active::after { width: 100%; }

.header__actions { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .2s; }

/* ===== Hero (full-bleed) ===== */
.hero {
  --hero-bg: #eef4fc;
  position: relative;
  background: linear-gradient(180deg, #f4f8ff 0%, var(--hero-bg) 100%);
  overflow: hidden;
}
.hero__media { position: absolute; top: 0; right: 0; bottom: 0; width: 58%; }
.hero__media picture { display: block; width: 100%; height: 100%; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
/* blend the photo's left edge into the page background so text stays readable */
.hero__media::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--hero-bg) 0%, rgba(238,244,252,.55) 22%, rgba(238,244,252,0) 48%);
}
.hero__inner { position: relative; z-index: 2; display: flex; align-items: center; min-height: 560px; }
.hero__text { max-width: 520px; padding: 60px 0; }
.hero__text h1 { font-size: 52px; font-weight: 800; letter-spacing: -.5px; }
.hero__text p { margin: 22px 0 30px; font-size: 17px; max-width: 500px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* ===== Sections ===== */
.section { padding: 84px 0; }
.section--soft { background: var(--bg-soft); }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.eyebrow { display: inline-block; color: var(--brand); font-family: "Poppins", sans-serif; font-weight: 600; font-size: 13px; letter-spacing: 2px; margin-bottom: 10px; }
.section__head h2 { font-size: 36px; font-weight: 700; }
.section__cta { text-align: center; margin-top: 46px; }

/* ===== Service cards ===== */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 38px 30px; text-align: center; transition: transform .25s, box-shadow .25s, border-color .25s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card__icon { width: 70px; height: 70px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; margin: 0 auto 22px; transition: background .25s; }
.card:hover .card__icon { background: var(--brand-dark); }
.card h3 { font-size: 20px; margin-bottom: 12px; }
.card p { font-size: 15px; margin-bottom: 18px; }
.card__link { color: var(--brand); font-family: "Poppins", sans-serif; font-weight: 600; font-size: 14px; display: inline-flex; gap: 6px; }
.card__link:hover { color: var(--brand-dark); }

/* ===== Why choose us ===== */
.reasons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 38px 44px; }
.reason { display: flex; gap: 18px; }
.reason__num { font-family: "Poppins", sans-serif; font-weight: 700; font-size: 22px; color: var(--brand); position: relative; padding-right: 18px; }
.reason__num::after { content: ""; position: absolute; right: 0; top: 50%; width: 12px; height: 2px; background: var(--brand); }
.reason h4 { font-size: 18px; margin-bottom: 6px; }
.reason p { font-size: 14.5px; }

/* ===== Stats band (signature circle) ===== */
.stats-band { padding: 76px 0; }
.stats-band__inner { display: flex; align-items: center; justify-content: center; gap: 70px; flex-wrap: wrap; }
.experience-circle { position: relative; width: 240px; height: 240px; border-radius: 50%; padding: 16px; flex: none; background: conic-gradient(var(--brand) 0 280deg, #cfe0fb 280deg 360deg); }
.experience-circle__inner { width: 100%; height: 100%; border-radius: 50%; background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.experience-circle__num { display: inline-block; min-width: 2.2ch; text-align: center; font-family: "Poppins", sans-serif; font-weight: 800; font-size: 64px; color: var(--brand); line-height: 1; font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }
.experience-circle__label { font-family: "Poppins", sans-serif; font-weight: 600; font-size: 14px; color: var(--ink); text-align: center; margin-top: 4px; }
.dot { position: absolute; border-radius: 50%; background: var(--brand); }
.dot--1 { width: 18px; height: 18px; top: -4px; right: 26px; }
.dot--2 { width: 11px; height: 11px; top: 26px; right: -8px; opacity: .7; }
.dot--3 { width: 7px; height: 7px; top: 64px; right: 6px; opacity: .5; }
.stats { display: flex; gap: 50px; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; align-items: center; }
.stat__num { display: block; text-align: center; font-family: "Poppins", sans-serif; font-weight: 800; font-size: 46px; color: var(--brand); line-height: 1; font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }
.stats .stat:nth-child(1) .stat__num { min-width: 4ch; }
.stats .stat:nth-child(2) .stat__num { min-width: 3ch; }
.stats .stat:nth-child(3) .stat__num { min-width: 6ch; }
.stat__label { font-size: 14px; color: var(--muted); }

/* ===== About (the bridge) ===== */
.about__inner { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.about__media img { width: 100%; border-radius: 18px; box-shadow: var(--shadow); background: #fff; border: 1px solid var(--line); }
.about__text h2 { font-size: 34px; margin: 10px 0 16px; }
.about__text > p { margin-bottom: 16px; }
.ticks { list-style: none; margin: 18px 0 28px; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 32px; color: var(--ink); font-weight: 500; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: var(--brand-soft); }
.ticks li::after { content: ""; position: absolute; left: 7px; top: 4px; width: 5px; height: 9px; border: solid var(--brand); border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* ===== Industries ===== */
.industries { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.industry { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 26px 24px; font-family: "Poppins", sans-serif; font-weight: 600; color: var(--ink); text-align: center; transition: .2s; }
.industry:hover { background: var(--brand); color: #fff; border-color: var(--brand); transform: translateY(-4px); }

/* ===== CTA band ===== */
.cta-band { background: linear-gradient(120deg, var(--brand) 0%, var(--brand-dark) 100%); color: #fff; padding: 56px 0; }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: 30px; }
.cta-band p { color: #d6e3ff; }

/* ===== Contact (form only) ===== */
.contact--form-only { max-width: 720px; margin: 0 auto; }
.contact__lead { text-align: center; margin-bottom: 26px; font-size: 16px; }
.contact__form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact__form input, .contact__form textarea { width: 100%; font-family: inherit; font-size: 15px; color: var(--ink); padding: 13px 15px; border: 1px solid var(--line); border-radius: 9px; margin-bottom: 16px; background: #fbfcfe; transition: border-color .2s; }
.contact__form input:focus, .contact__form textarea:focus { outline: none; border-color: var(--brand); }
.contact__form textarea { resize: vertical; }
.form-status { margin-top: 16px; padding: 13px 16px; border-radius: 9px; font-size: 14.5px; font-weight: 500; }
.form-status--ok { background: #e7f7ee; color: #1b7a44; }
.form-status--error { background: #fdecec; color: #c0392b; }
.contact__form input[aria-invalid="true"] { border-color: #e0573e; background: #fdf3f1; }

/* ===== Footer ===== */
.footer { background: #0d1726; color: #aab6c6; padding-top: 64px; }
.footer__inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 48px; }
.footer__brand p { margin-top: 16px; max-width: 280px; font-size: 14.5px; }
.footer__col h5 { color: #fff; font-size: 16px; margin-bottom: 18px; }
.footer__col a, .footer__col p { color: #aab6c6; font-size: 14.5px; }
.footer__col > a:not(.btn), .footer__col p { display: block; margin-bottom: 10px; }
.footer__col a:not(.btn):hover { color: var(--brand); }
.footer__col .btn { margin-top: 6px; color: #fff; }
.footer__bar { border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0; }
.footer__bar-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 13px; }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .about__inner { grid-template-columns: 1fr; }
  .hero__media { width: 50%; }
  .hero__media::before { background: linear-gradient(90deg, var(--hero-bg) 0%, rgba(238,244,252,.7) 30%, rgba(238,244,252,0) 65%); }
  .hero__inner { min-height: 460px; }
  .hero__text { max-width: 60%; }
  .about__media { max-width: 480px; margin: 0 auto; }
  .cards, .reasons, .industries { grid-template-columns: 1fr 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .hero__text h1 { font-size: 40px; }
  .stats-band__inner { gap: 40px; }
}
@media (max-width: 720px) {
  .topbar__tagline { display: none; }
  .nav {
    position: fixed; inset: 76px 0 auto 0; background: #fff; flex-direction: column;
    gap: 0; padding: 10px 24px 20px; border-bottom: 1px solid var(--line);
    transform: translateY(-150%); transition: transform .25s; box-shadow: var(--shadow);
  }
  .nav.is-open { transform: translateY(0); }
  .nav__link { width: 100%; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: flex; }
  .cards, .reasons, .industries, .field-row, .footer__inner { grid-template-columns: 1fr; }
  .header__actions .btn { display: none; }
  .section { padding: 60px 0; }
  .hero__media { position: static; width: 100%; height: 250px; }
  .hero__media::before { background: none; }
  .hero__inner { min-height: 0; }
  .hero__text { max-width: 100%; padding: 36px 0 4px; }
  .hero__text h1 { font-size: 34px; }
  .section__head h2 { font-size: 28px; }
  .stats { gap: 30px; justify-content: center; }
}
