/* ===== Design tokens ===== */
:root {
  --navy-dark: #0f1638;
  --navy: #1c2b6b;
  --blue: #2952e3;
  --blue-light: #5b82f5;
  --purple: #7c3aed;
  --purple-light: #9333ea;
  --accent: #5b82f5;
  --gradient: linear-gradient(135deg, #0f1638 0%, #1c2b6b 55%, #2952e3 100%);
  --gradient-soft: linear-gradient(135deg, rgba(41,82,227,0.08), rgba(28,43,107,0.08));
  --gradient-accent: linear-gradient(90deg, #2952e3, #7c3aed);

  --text: #171b30;
  --text-muted: #5c6178;
  --text-on-dark: #f1f3fc;
  --text-on-dark-muted: #c3cbeb;

  --bg: #ffffff;
  --bg-alt: #f5f7fc;
  --border: #e6e9f4;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px -12px rgba(20, 30, 90, 0.18);
  --shadow-lg: 0 24px 60px -20px rgba(15, 22, 56, 0.3);

  --font-display: 'Poppins', sans-serif;
  --font-body: 'Inter', 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;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy-dark);
  line-height: 1.2;
  margin: 0 0 0.6em;
}

p { margin: 0 0 1em; color: var(--text-muted); }
ul { list-style: none; margin: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
svg { width: 22px; height: 22px; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: 10px 16px;
  z-index: 1000;
}
.skip-link:focus { left: 12px; top: 12px; border-radius: 8px; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
}
.section-heading.light .eyebrow { color: var(--accent); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 22px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 10px 24px -8px rgba(41, 82, 227, 0.5);
}
.btn-primary:hover { transform: translateY(-2px); background: var(--navy); box-shadow: 0 16px 30px -10px rgba(41, 82, 227, 0.55); }
.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,0.55);
  color: inherit;
}
.btn-outline:hover { background: rgba(255,255,255,0.12); }
.btn-lg { padding: 15px 28px; font-size: 1rem; }
.btn-block { width: 100%; justify-content: center; }

.text-link {
  color: var(--blue);
  font-weight: 600;
  font-family: var(--font-display);
}
.text-link:hover { text-decoration: underline; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1 1 auto;
}
.brand-logo {
  height: 42px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  flex-shrink: 0;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.02rem;
  color: var(--navy-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.brand-text small {
  font-size: 0.72rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.main-nav {
  display: flex;
  gap: 28px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
}
.main-nav a { color: var(--text); position: relative; padding: 6px 0; }
.main-nav a:hover { color: var(--blue); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}
.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-family: var(--font-display);
  color: var(--navy);
}
.header-phone svg { width: 18px; height: 18px; color: var(--blue); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-shrink: 0;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--navy-dark); border-radius: 2px; }

/* ===== Hero ===== */
.hero { position: relative; overflow: hidden; color: var(--text); background: #fff; }
.hero-bg {
  position: absolute; inset: 0;
  background: var(--bg);
  z-index: -2;
}
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 88% 8%, rgba(41,82,227,0.08), transparent 45%),
              radial-gradient(circle at 4% 96%, rgba(41,82,227,0.06), transparent 40%);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
  padding: 80px 24px 88px;
}
.hero h1 { color: var(--navy-dark); font-size: clamp(2.1rem, 4vw, 3.1rem); }
.hero .eyebrow { color: var(--blue); }
.hero-sub { color: var(--text-muted); font-size: 1.05rem; max-width: 560px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 26px 0; }
.hero .btn-outline {
  border-color: rgba(23, 27, 48, 0.2);
  color: var(--navy-dark);
}
.hero .btn-outline:hover { background: rgba(23, 27, 48, 0.05); }
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  margin-top: 18px;
  font-size: 0.88rem;
  color: var(--text-muted);
}
.hero-badges li { display: flex; align-items: center; gap: 8px; }
.hero-badges li::before {
  content: "";
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
}

.hero-visual { display: flex; justify-content: center; }
.hero-logo-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 32px 40px;
  box-shadow: var(--shadow);
  width: 100%;
  max-width: 480px;
}
.hero-logo-img { width: 100%; height: auto; display: block; }
.hero-logo-text {
  text-align: center;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.hero-logo-text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--navy-dark);
  margin-bottom: 4px;
}
.hero-logo-text span { font-size: 0.85rem; color: var(--text-muted); }

/* ===== Carrier Partners Marquee ===== */
.carriers { padding: 40px 0; background: var(--bg); border-bottom: 1px solid var(--border); overflow: hidden; }
.car-ttl {
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy-dark);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0 20px;
  margin: 0 0 24px;
}
.car-ttl strong { color: #fff; background: var(--blue); padding: 2px 10px; border-radius: 4px; }

.mq-wrap { position: relative; overflow: hidden; }
.mq-wrap::before, .mq-wrap::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 90px;
  z-index: 2;
  pointer-events: none;
}
.mq-wrap::before { left: 0; background: linear-gradient(to right, #fff, transparent); }
.mq-wrap::after { right: 0; background: linear-gradient(to left, #fff, transparent); }

.mq-track {
  display: flex;
  width: max-content;
  animation: mq 30s linear infinite;
}
.mq-track:hover { animation-play-state: paused; }
@keyframes mq {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.car-item { display: flex; align-items: center; justify-content: center; padding: 0 18px; height: 80px; flex-shrink: 0; }
.car-box {
  height: 64px;
  min-width: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 22px;
  transition: 0.2s;
}
.car-box img { height: 38px; width: auto; object-fit: contain; }
.car-box:hover { border-color: var(--blue-light); box-shadow: var(--shadow); }

/* ===== About ===== */
.about { padding: 96px 0; background: var(--bg); }
.about-inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: center;
}
.about-media { position: relative; }
.about-shape {
  position: absolute;
  inset: 0;
  background: var(--gradient);
  border-radius: 32px;
  transform: rotate(-4deg);
  opacity: 0.12;
}
.about-icon-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 32px;
}
.mini-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 24px 12px;
  box-shadow: var(--shadow);
  color: var(--blue);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
}
.mini-icon svg { width: 30px; height: 30px; }

.check-list { margin: 20px 0; display: flex; flex-direction: column; gap: 14px; }
.check-list li {
  padding-left: 30px;
  position: relative;
  color: var(--text-muted);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 4px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--gradient);
}
.check-list li::after {
  content: "";
  position: absolute;
  left: 5px; top: 8px;
  width: 8px; height: 4px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}
.check-list strong { color: var(--navy-dark); }

/* ===== Section heading ===== */
.section-heading { max-width: 640px; margin: 0 auto 52px; text-align: center; }
.section-heading p { color: var(--text-muted); }

/* ===== Services ===== */
.services { padding: 96px 0; background: var(--bg-alt); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.service-icon {
  position: relative;
  width: 54px; height: 54px;
  border-radius: 14px;
  background: var(--gradient);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
}
.service-icon::after {
  content: "";
  position: absolute;
  bottom: -14px; left: 0;
  width: 28px; height: 3px;
  border-radius: 2px;
  background: var(--gradient-accent);
}
.service-card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.service-card p { font-size: 0.92rem; margin: 0; }

/* ===== Why Us ===== */
.why-us { padding: 96px 0; background: var(--gradient); color: var(--text-on-dark); }
.why-us h2 { color: #fff; }
.why-us .section-heading p { color: var(--text-on-dark-muted); }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.trust-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius);
  padding: 28px 22px;
  backdrop-filter: blur(4px);
}
.trust-icon {
  width: 50px; height: 50px;
  border-radius: 12px;
  background: rgba(255,255,255,0.14);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue-light);
  margin-bottom: 16px;
}
.trust-card h3 { color: #fff; font-size: 1.02rem; margin-bottom: 8px; }
.trust-card p { color: var(--text-on-dark-muted); font-size: 0.9rem; margin: 0; }

/* ===== Contact ===== */
.contact { padding: 96px 0; background: var(--bg); }
.contact-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
}
.contact-list { display: flex; flex-direction: column; gap: 20px; margin: 28px 0; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-icon {
  width: 44px; height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--gradient-soft);
  color: var(--blue);
  display: flex; align-items: center; justify-content: center;
}
.contact-list strong { display: block; font-family: var(--font-display); color: var(--navy-dark); font-size: 0.92rem; }
.contact-list a, .contact-list span { color: var(--text-muted); font-size: 0.94rem; overflow-wrap: anywhere; }
.contact-list li { min-width: 0; }
.contact-list li > div:last-child { min-width: 0; }
.contact-list a:hover { color: var(--blue); }

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.map-embed iframe { width: 100%; height: 260px; border: 0; display: block; }

.contact-form-wrap {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}
.contact-form h3 { margin-bottom: 22px; }
.form-row { margin-bottom: 18px; }
.form-row.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-row label {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.86rem;
  color: var(--navy-dark);
  margin-bottom: 6px;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--blue-light);
  box-shadow: 0 0 0 3px rgba(41, 82, 227, 0.15);
}
.form-note { margin-top: 14px; font-size: 0.88rem; text-align: center; }
.form-note.success { color: #15803d; }
.form-note.error { color: #b91c1c; }

/* ===== Footer ===== */
.site-footer { background: var(--navy-dark); color: var(--text-on-dark-muted); padding-top: 72px; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-logo-chip {
  display: inline-block;
  background: #fff;
  border-radius: 12px;
  padding: 10px 14px;
  margin-bottom: 14px;
}
.footer-logo-img { height: 34px; width: auto; object-fit: contain; display: block; }
.footer-brand p { color: var(--text-on-dark-muted); font-size: 0.9rem; }
.footer-col h4 { color: #fff; font-size: 0.95rem; margin-bottom: 16px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; font-size: 0.9rem; overflow-wrap: anywhere; }
.footer-col a:hover { color: var(--blue-light); }
.footer-bottom { padding: 22px 0; font-size: 0.82rem; color: var(--text-on-dark-muted); }
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  text-align: center;
}
.footer-bottom-inner p { margin: 0; }
.footer-legal-link { color: var(--text-on-dark-muted); text-decoration: underline; text-underline-offset: 3px; }
.footer-legal-link:hover { color: #fff; }

/* ===== Back to top ===== */
.back-to-top {
  position: fixed;
  bottom: 26px; right: 26px;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--gradient);
  color: #fff;
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s ease;
  z-index: 400;
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }

/* ===== Legal page ===== */
.legal-page { padding: 56px 0 96px; background: var(--bg); }
.legal-container { max-width: 780px; }
.legal-back {
  display: inline-block;
  margin-bottom: 24px;
  font-size: 0.9rem;
}
.legal-page h1 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); margin-bottom: 8px; }
.legal-updated { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 40px; }
.legal-page h2 {
  font-size: 1.35rem;
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.legal-page h2:first-of-type { margin-top: 0; padding-top: 0; border-top: none; }
.legal-page h3 { font-size: 1.05rem; margin-top: 28px; color: var(--navy-dark); }
.legal-page p { line-height: 1.7; }
.legal-page ul { margin: 0 0 1.2em; display: flex; flex-direction: column; gap: 8px; }
.legal-page ul li {
  padding-left: 22px;
  position: relative;
  color: var(--text-muted);
  line-height: 1.6;
}
.legal-page ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue);
}
.legal-page strong { color: var(--navy-dark); }

.legal-callout {
  background: var(--gradient-soft);
  border: 1px solid var(--border);
  border-left: 4px solid var(--blue);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  margin: 20px 0;
}
.legal-callout h3 { margin-top: 0; }
.legal-callout ul { margin-bottom: 0; }

.legal-example {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-bottom: 14px;
}
.legal-example strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--blue);
  margin-bottom: 6px;
}
.legal-example p {
  font-style: italic;
  color: var(--text-muted);
  margin: 0;
  font-size: 0.94rem;
}

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; padding: 64px 24px; }
  .hero-visual { order: -1; }
  .hero-logo-card { max-width: 220px; margin: 0 auto; }
  .about-inner { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .main-nav, .header-phone { display: none; }
  .nav-toggle { display: flex; }
  .header-actions .btn-primary { padding: 10px 16px; font-size: 0.85rem; }

  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #fff;
    padding: 18px 24px;
    gap: 14px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }

  .form-row.two-col { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .services-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
}
