/* ===== Tokens ===== */
:root {
  --navy:    #0a2540;
  --navy-2:  #0d2e4f;
  --blue:    #1d6fe0;
  --blue-d:  #1759b8;
  --accent:  #ff7a18;
  --accent-d:#e8650a;
  --ink:     #16202c;
  --muted:   #5b6b7c;
  --line:    #e3e9f0;
  --bg:      #ffffff;
  --bg-alt:  #f5f8fc;
  --white:   #ffffff;
  --radius:  14px;
  --shadow:  0 10px 30px rgba(10, 37, 64, .08);
  --shadow-lg: 0 24px 60px rgba(10, 37, 64, .16);
  --maxw:    1180px;
  --font:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.02em; color: var(--navy); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p  { color: var(--muted); }
a  { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem; font-weight: 700; font-size: .95rem; cursor: pointer;
  padding: .8rem 1.5rem; border-radius: 10px; border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--lg { padding: 1rem 2rem; font-size: 1.02rem; }
.btn--block { width: 100%; }
.btn--accent  { background: var(--accent); color: #fff; box-shadow: 0 8px 20px rgba(255,122,24,.32); }
.btn--accent:hover  { background: var(--accent-d); transform: translateY(-2px); }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(29,111,224,.3); }
.btn--primary:hover { background: var(--blue-d); transform: translateY(-2px); }
.btn--ghost   { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.4); }
.btn--ghost:hover { background: rgba(255,255,255,.16); transform: translateY(-2px); }

/* ===== Top bar ===== */
.topbar {
  background: var(--navy); color: #cdd9e6; font-size: .82rem;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.topbar__inner { display: flex; justify-content: space-between; align-items: center; height: 40px; gap: 1rem; }
.topbar__contact { display: flex; gap: 1.4rem; }
.topbar__contact a:hover { color: #fff; }
.topbar__meta { display: flex; gap: 1.4rem; align-items: center; }
.topbar .ic { margin-right: .25rem; }

/* ===== Nav ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s ease;
}
.nav.scrolled { box-shadow: 0 4px 24px rgba(10,37,64,.08); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.brand { display: flex; align-items: center; gap: .6rem; font-size: 1.2rem; font-weight: 800; color: var(--navy); }
.brand__mark {
  display: grid; place-items: center; width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--blue), var(--navy));
  color: #fff; border-radius: 9px; font-weight: 900; font-size: .95rem; letter-spacing: -.04em;
}
.brand__text strong { color: var(--accent); }
.brand--light, .brand--light .brand__text { color: #fff; }

.nav__links { display: flex; align-items: center; gap: 1.7rem; }
.nav__links a { font-weight: 600; font-size: .95rem; color: var(--ink); }
.nav__links a:not(.btn):hover { color: var(--blue); }
.nav__cta { color: #fff !important; }

.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: 3px; transition: .3s; }
.nav__toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  position: relative; color: #fff;
  background:
    linear-gradient(115deg, rgba(10,37,64,.94) 0%, rgba(13,46,79,.86) 50%, rgba(29,111,224,.72) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1600' height='900'%3E%3Crect fill='%230a2540' width='1600' height='900'/%3E%3Cg fill='none' stroke='%231d6fe0' stroke-opacity='.18' stroke-width='2'%3E%3Cpath d='M0 700 L1600 700'/%3E%3Cpath d='M0 760 L1600 760'/%3E%3C/g%3E%3C/svg%3E") center/cover;
  overflow: hidden;
}
.hero__inner { position: relative; padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(3rem, 6vw, 5rem); }
.hero__content { max-width: 780px; }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 1rem;
}
.eyebrow--light { color: #ffd2ad; }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 5.4vw, 3.8rem); font-weight: 900; margin-bottom: 1.2rem; }
.grad { background: linear-gradient(90deg, #ffb37a, var(--accent)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero__lead { font-size: 1.15rem; color: #d3e0ee; max-width: 620px; margin-bottom: 2rem; }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.8rem; }
.hero__stats { display: grid; grid-template-columns: repeat(4, auto); gap: 2.2rem; }
.hero__stats div { display: flex; flex-direction: column; }
.hero__stats strong { font-size: 2rem; font-weight: 900; color: #fff; }
.hero__stats span { font-size: .85rem; color: #aebfd1; }

/* ===== Trust strip ===== */
.trust { background: var(--navy-2); color: #cdd9e6; }
.trust__inner { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; padding: 1rem 24px; font-size: .9rem; }
.trust__inner > span { font-weight: 700; color: #8fa6bd; text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; }
.trust ul { display: flex; gap: 1.6rem; flex-wrap: wrap; list-style: none; }
.trust li { font-weight: 600; position: relative; }
.trust li::before { content: "✓"; color: var(--accent); margin-right: .45rem; }

/* ===== Sections ===== */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section--alt { background: var(--bg-alt); }
.section__head { max-width: 720px; margin: 0 auto 3rem; text-align: center; }
.section__head p { font-size: 1.08rem; margin-top: .9rem; }
.section__head--light h2, .section__head--light .eyebrow { color: #fff; }
.section__head--light p { color: #d3e0ee; }

/* ===== Grid / cards ===== */
.grid { display: grid; gap: 1.5rem; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.7rem; box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: #c9dcf3; }
.service__icon {
  width: 56px; height: 56px; display: grid; place-items: center; font-size: 1.7rem;
  background: linear-gradient(135deg, #eaf2fe, #dcebff); border-radius: 12px; margin-bottom: 1.1rem;
}
.service h3 { margin-bottom: .5rem; }
.service p { font-size: .96rem; }

/* ===== Split sections ===== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.split--reverse .split__media { order: 2; }
.split__body .eyebrow { margin-bottom: .8rem; }
.split__body h2 { margin-bottom: 1rem; }
.split__body p { font-size: 1.05rem; margin-bottom: 1rem; }
.split__body .btn { margin-top: .8rem; }

.media-card {
  background: linear-gradient(150deg, #eef5ff, #dceafe);
  border-radius: 20px; padding: 2.5rem; box-shadow: var(--shadow);
  position: relative; border: 1px solid #d2e3fa;
}
.media-card--dark { background: linear-gradient(150deg, var(--navy), var(--navy-2)); border-color: rgba(255,255,255,.08); }
.media-card__badge {
  display: inline-block; background: var(--blue); color: #fff; font-weight: 700;
  font-size: .78rem; letter-spacing: .06em; text-transform: uppercase;
  padding: .4rem .9rem; border-radius: 30px; margin-bottom: 1.5rem;
}
.media-card__badge--accent { background: var(--accent); }

.checklist { list-style: none; display: flex; flex-direction: column; gap: .95rem; }
.checklist li { position: relative; padding-left: 2rem; font-weight: 600; color: var(--ink); }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 22px; height: 22px; display: grid; place-items: center;
  background: var(--blue); color: #fff; border-radius: 50%; font-size: .75rem;
}
.checklist--light li { color: #e6eef8; }
.checklist--light li::before { background: var(--accent); }

/* ===== Steps ===== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: step; }
.step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.5rem; position: relative; box-shadow: var(--shadow);
}
.step__num {
  display: grid; place-items: center; width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--accent), var(--accent-d)); color: #fff;
  font-weight: 900; border-radius: 12px; font-size: 1.2rem; margin-bottom: 1rem;
}
.step h3 { margin-bottom: .5rem; }
.step p { font-size: .94rem; }

/* ===== About ===== */
.about__values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 1.8rem; }
.about__values div { display: flex; flex-direction: column; }
.about__values strong { color: var(--navy); font-size: 1.02rem; }
.about__values span { font-size: .88rem; color: var(--muted); }

.stat-stack { display: flex; flex-direction: column; gap: 1rem; }
.stat-stack__item {
  display: flex; align-items: baseline; gap: 1rem;
  background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: #fff;
  border-radius: var(--radius); padding: 1.6rem 1.8rem; box-shadow: var(--shadow);
}
.stat-stack__item strong { font-size: 2.2rem; font-weight: 900; color: var(--accent); min-width: 130px; }
.stat-stack__item span { color: #cdd9e6; font-weight: 600; }

/* ===== CTA / form ===== */
.section--cta { background: linear-gradient(150deg, var(--navy) 0%, var(--navy-2) 55%, var(--blue-d) 120%); }
.form { max-width: 820px; margin: 0 auto; background: #fff; border-radius: 20px; padding: clamp(1.6rem, 4vw, 2.6rem); box-shadow: var(--shadow-lg); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-bottom: 1.2rem; }
.field { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1.2rem; }
.form__row .field { margin-bottom: 0; }
.field label { font-size: .85rem; font-weight: 600; color: var(--navy); }
.field input, .field select, .field textarea {
  font-family: var(--font); font-size: .98rem; color: var(--ink);
  padding: .8rem .9rem; border: 1.5px solid var(--line); border-radius: 10px;
  background: #fbfcfe; transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(29,111,224,.15); background: #fff;
}
.field textarea { resize: vertical; }
.field input:invalid:not(:placeholder-shown) { border-color: #e0556a; }
.form__note { margin-top: 1rem; padding: .9rem 1rem; border-radius: 10px; font-weight: 600; font-size: .95rem; text-align: center; }
.form__note.ok { background: #e7f7ee; color: #1c7a44; }

/* ===== Carrier CTA ===== */
.carrier-cta { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.carrier-cta h2 { margin: .6rem 0 .8rem; }
.carrier-cta p { max-width: 520px; font-size: 1.05rem; }

/* ===== Footer ===== */
.footer { background: var(--navy); color: #b8c7d8; padding-top: 3.5rem; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 2.5rem; padding-bottom: 2.5rem; }
.footer__brand p { color: #9fb2c6; margin-top: 1rem; font-size: .95rem; max-width: 320px; }
.footer__meta { font-weight: 600; color: #7e93a9 !important; font-size: .85rem !important; }
.footer__col h4 { color: #fff; font-size: .95rem; margin-bottom: 1rem; letter-spacing: .03em; }
.footer__col a, .footer__col span { display: block; color: #b8c7d8; font-size: .92rem; margin-bottom: .6rem; }
.footer__col a:hover { color: var(--accent); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 1.3rem 0; }
.footer__bottom-inner { display: flex; justify-content: space-between; align-items: center; font-size: .85rem; color: #8298ae; flex-wrap: wrap; gap: .5rem; }

/* ===== Floating CTA ===== */
.float-cta {
  position: fixed; right: 18px; bottom: 18px; z-index: 40;
  background: var(--accent); color: #fff; font-weight: 700; font-size: .92rem;
  padding: .85rem 1.3rem; border-radius: 40px; box-shadow: 0 10px 26px rgba(255,122,24,.45);
  display: none;
}
.float-cta:hover { background: var(--accent-d); }

/* ===== Reveal animation ===== */
.section, .card, .step, .stat-stack__item { }
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].in { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 2.2rem; }
  .split--reverse .split__media { order: 0; }
  .topbar__meta { display: none; }
}

@media (max-width: 760px) {
  .nav__toggle { display: flex; }
  .nav__links {
    position: fixed; top: 72px; right: 0; width: min(80vw, 320px); height: calc(100vh - 72px);
    flex-direction: column; align-items: stretch; gap: 0; background: #fff;
    padding: 1.2rem; box-shadow: -10px 0 40px rgba(10,37,64,.15);
    transform: translateX(105%); transition: transform .3s ease;
  }
  .nav__links.open { transform: translateX(0); }
  .nav__links a { padding: .9rem .4rem; border-bottom: 1px solid var(--line); }
  .nav__cta { margin-top: .8rem; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
  .grid--3 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .about__values { grid-template-columns: 1fr; }
  .stat-stack__item strong { min-width: 90px; }
  .float-cta { display: inline-block; }
  .topbar__contact { gap: .9rem; font-size: .76rem; }
}
