/* AAIRA Mobility Technologies — site styles */
:root {
  --navy: #0b1f3a;
  --navy-2: #12294b;
  --royal: #1f4fd1;
  --royal-dark: #173ea8;
  --royal-soft: #e8eefc;
  --white: #ffffff;
  --grey: #f3f5f8;
  --grey-2: #e3e7ee;
  --text: #1b2433;
  --muted: #5b6678;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(11, 31, 58, .06), 0 8px 24px rgba(11, 31, 58, .06);
  --max: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--royal); text-decoration: none; }
a:hover { color: var(--royal-dark); }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.2; margin: 0 0 .6em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 88px 0; }
.section--grey { background: var(--grey); }
.section--navy { background: var(--navy); color: #c9d3e3; }
.section--navy h2, .section--navy h3 { color: var(--white); }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--royal); margin-bottom: 12px;
}
.section--navy .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: #8fb0ff; }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.lead { font-size: 1.12rem; color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 13px 24px;
  border-radius: 8px; font-weight: 600; font-size: .97rem; border: 1px solid transparent;
  cursor: pointer; transition: background .15s, color .15s, border-color .15s; font-family: inherit;
}
.btn--primary { background: var(--royal); color: var(--white); }
.btn--primary:hover { background: var(--royal-dark); color: var(--white); }
.btn--ghost { border-color: rgba(255,255,255,.35); color: var(--white); }
.btn--ghost:hover { border-color: var(--white); color: var(--white); background: rgba(255,255,255,.06); }
.btn--outline { border-color: var(--royal); color: var(--royal); }
.btn--outline:hover { background: var(--royal); color: var(--white); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50; background: var(--white);
  border-bottom: 1px solid var(--grey-2);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand img { height: 44px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 34px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--navy); font-weight: 500; font-size: .97rem; position: relative; }
.nav-links a:hover { color: var(--royal); }
.nav-links a.active { color: var(--royal); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 2px; background: var(--royal);
}
.nav-links .btn { padding: 10px 20px; color: var(--white); }
.nav-links .btn::after { display: none; }
.nav-toggle {
  display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--navy);
}

/* Hero */
.hero {
  background: var(--navy);
  background-image: radial-gradient(ellipse at 85% 20%, rgba(31,79,209,.35), transparent 55%);
  color: #c9d3e3; padding: 96px 0 104px;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 { color: var(--white); }
.hero .lead { color: #b7c3d8; max-width: 540px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.hero-visual {
  background: var(--navy-2); border: 1px solid rgba(255,255,255,.08); border-radius: 14px; padding: 14px;
}

.page-hero {
  background: var(--navy);
  background-image: radial-gradient(ellipse at 90% 0%, rgba(31,79,209,.3), transparent 60%);
  color: #b7c3d8; padding: 76px 0 72px;
}
.page-hero h1 { color: var(--white); margin-bottom: .4em; }
.page-hero p { max-width: 640px; font-size: 1.1rem; margin: 0; }

/* Grids & cards */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--white); border: 1px solid var(--grey-2); border-radius: var(--radius);
  padding: 28px; transition: border-color .15s, box-shadow .15s;
}
.card:hover { border-color: #c8d4ee; box-shadow: var(--shadow); }
.card h3 { margin-bottom: .45em; }
.card p { color: var(--muted); margin: 0; font-size: .96rem; }
.icon {
  width: 46px; height: 46px; border-radius: 10px; background: var(--royal-soft); color: var(--royal);
  display: grid; place-items: center; margin-bottom: 18px;
}
.icon svg { width: 24px; height: 24px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.checklist { list-style: none; padding: 0; margin: 20px 0 0; }
.checklist li { position: relative; padding-left: 30px; margin-bottom: 12px; color: var(--text); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 5px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--royal-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f4fd1' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/11px no-repeat;
}

/* Steps */
.steps { counter-reset: step; }
.step { position: relative; padding-top: 18px; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  display: block; font-size: .85rem; font-weight: 700; color: #8fb0ff; letter-spacing: .1em; margin-bottom: 14px;
}
.step { border-top: 2px solid rgba(255,255,255,.14); }
.step h3 { color: var(--white); }
.step p { color: #b7c3d8; font-size: .96rem; margin: 0; }

/* Audience list */
.audience { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.audience-item {
  background: var(--white); border: 1px solid var(--grey-2); border-radius: var(--radius);
  padding: 22px 18px; text-align: center; font-weight: 600; color: var(--navy); font-size: .96rem;
}
.audience-item .icon { margin: 0 auto 12px; }

/* CTA band */
.cta {
  background: var(--royal); border-radius: 14px; padding: 48px; color: #dbe5ff;
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.cta h2 { color: var(--white); margin-bottom: .3em; }
.cta p { margin: 0; }
.cta .btn { background: var(--white); color: var(--royal); }
.cta .btn:hover { background: var(--grey); }

/* Solution detail rows */
.solution-list { display: grid; gap: 20px; }
.solution-row {
  display: grid; grid-template-columns: 64px 1fr; gap: 22px; padding: 28px;
  background: var(--white); border: 1px solid var(--grey-2); border-radius: var(--radius);
}
.solution-row .icon { margin: 0; width: 56px; height: 56px; }
.solution-row h3 { margin-bottom: .35em; }
.solution-row p { color: var(--muted); margin: 0 0 10px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.tags li {
  font-size: .8rem; padding: 4px 10px; border-radius: 999px; background: var(--grey); color: var(--navy-2);
  border: 1px solid var(--grey-2);
}

.stat-panel { background: var(--white); border: 1px solid var(--grey-2); border-radius: 14px; padding: 12px; }

/* Values */
.value { padding: 26px 0; border-top: 1px solid var(--grey-2); }
.value h3 { margin-bottom: .3em; }
.value p { color: var(--muted); margin: 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: start; }
.contact-item { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--grey-2); }
.contact-item:first-child { padding-top: 0; }
.contact-item .icon { margin: 0; flex: none; }
.contact-item h3 { font-size: 1rem; margin-bottom: 2px; }
.contact-item p, .contact-item a { margin: 0; color: var(--muted); word-break: break-word; }
.contact-item a:hover { color: var(--royal); }
.form-card { background: var(--white); border: 1px solid var(--grey-2); border-radius: 14px; padding: 36px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .9rem; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid #cfd6e2; border-radius: 8px; font: inherit;
  font-size: .97rem; color: var(--text); background: var(--white);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--royal); box-shadow: 0 0 0 3px rgba(31,79,209,.15);
}
.field textarea { min-height: 130px; resize: vertical; }
.hidden { display: none; }
.map { border: 0; width: 100%; height: 340px; border-radius: 14px; display: block; filter: grayscale(.2); }

/* Footer */
.site-footer { background: var(--navy); color: #9fb0c9; padding: 64px 0 28px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer h4 { color: var(--white); font-size: .95rem; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: #9fb0c9; }
.site-footer a:hover { color: var(--white); }
.footer-brand img { height: 44px; margin-bottom: 16px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); margin-top: 48px; padding-top: 22px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .88rem;
}

/* WhatsApp floating button */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60; display: flex; align-items: center; gap: 8px;
  background: #1fa855; color: #fff; padding: 12px 18px 12px 14px; border-radius: 999px; font-weight: 600;
  font-size: .95rem; box-shadow: 0 6px 20px rgba(0,0,0,.18);
}
.wa-float:hover { background: #178c46; color: #fff; }
.wa-float svg { width: 22px; height: 22px; }

/* Responsive */
@media (max-width: 1000px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .audience { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .section { padding: 64px 0; }
  .hero { padding: 64px 0 72px; }
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 76px; left: 0; right: 0; background: var(--white);
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px;
    border-bottom: 1px solid var(--grey-2); box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links li a { display: block; padding: 14px 0; border-bottom: 1px solid var(--grey); }
  .nav-links a.active::after { display: none; }
  .nav-links .btn { justify-content: center; margin-top: 14px; border-bottom: 0; }
}
@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .grid-2, .grid-3, .grid-4, .form-row { grid-template-columns: 1fr; }
  .audience { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta { padding: 32px 24px; }
  .form-card { padding: 24px 18px; }
  .solution-row { grid-template-columns: 1fr; padding: 22px; }
  .brand img { height: 38px; }
  .wa-float span { display: none; }
  .wa-float { padding: 14px; }
}
@media (max-width: 420px) {
  .audience { grid-template-columns: 1fr; }
}
.audience-item { min-width: 0; overflow-wrap: anywhere; }

/* Legal / long-form text */
.prose { max-width: 780px; }
.prose h2 { font-size: 1.35rem; margin-top: 2.2em; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: #3a4456; }
.prose ul { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: .45em; }
.prose .updated { color: var(--muted); font-size: .92rem; }

/* 404 */
.notfound { min-height: 62vh; display: flex; align-items: center; text-align: center; }
.notfound .code { font-size: clamp(4rem, 12vw, 7rem); font-weight: 700; color: var(--royal); line-height: 1; margin-bottom: 12px; letter-spacing: -.03em; }
.notfound .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }
