/* ===== Design tokens ===== */
:root {
  --navy: #26363f;       /* charcoal-slate from logo emblem */
  --navy-700: #324a55;
  --navy-800: #1c292f;
  --steel: #5a82a3;      /* steel-blue from "AVIAD" */
  --steel-600: #466b88;
  --accent: #5a82a3;     /* steel-blue accent (logo) */
  --accent-600: #466b88;
  --ink: #20292e;
  --muted: #5d6b73;
  --line: #e2e8ec;
  --bg: #ffffff;
  --bg-alt: #f3f6f8;
  --whatsapp: #25d366;
  --shadow-sm: 0 1px 3px rgba(30, 43, 50, .08);
  --shadow-md: 0 8px 24px rgba(30, 43, 50, .10);
  --shadow-lg: 0 18px 48px rgba(30, 43, 50, .16);
  --radius: 14px;
  --radius-sm: 10px;
  --maxw: 1120px;
  --font: 'Heebo', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

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

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px; font-weight: 700; font-size: 16px;
  border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--accent-600); box-shadow: var(--shadow-md); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-whatsapp { background: var(--whatsapp); color: #04391d; }
.btn-whatsapp:hover { background: #1fbd5b; }
.btn-block { width: 100%; }

/* ===== Header / Nav ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease, background .25s ease;
}
.site-header::before {
  content: ""; display: block; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--steel), var(--navy));
}
.site-header.scrolled { box-shadow: var(--shadow-md); background: rgba(255,255,255,.97); }
.header-inner { display: flex; align-items: center; gap: 18px; min-height: 78px; }
.brand { display: flex; align-items: center; }
.brand-logo { height: 46px; width: auto; transition: opacity .2s ease; }
.brand:hover .brand-logo { opacity: .82; }

.main-nav { display: flex; gap: 6px; margin-inline-start: auto; }
.main-nav a {
  padding: 9px 14px; border-radius: 999px; font-weight: 500; font-size: 15.5px;
  color: var(--ink); transition: background .15s ease, color .15s ease;
}
.main-nav a:hover { background: var(--bg-alt); color: var(--steel); }
.main-nav a.active { color: var(--steel); background: #eaf0f4; }

.nav-cta {
  background: var(--accent); color: #fff; font-weight: 700;
  padding: 10px 20px; border-radius: 999px; font-size: 15px; box-shadow: var(--shadow-sm);
  transition: transform .15s ease, background .2s ease;
}
.nav-cta:hover { background: var(--accent-600); transform: translateY(-1px); }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; background: none; border: 0;
  padding: 8px; cursor: pointer; margin-inline-start: auto;
}
.nav-toggle span { width: 26px; height: 3px; background: var(--navy); border-radius: 2px; transition: .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background:
    radial-gradient(1200px 500px at 100% -10%, rgba(90,130,163,.5), transparent 60%),
    linear-gradient(135deg, var(--navy-800) 0%, var(--navy) 45%, var(--navy-700) 100%);
}
.hero-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(900px 400px at 80% 0%, #000, transparent 80%);
  pointer-events: none;
}
.hero-inner {
  position: relative; padding: 84px 0 92px;
  display: grid; column-gap: 40px; align-items: center;
  grid-template-columns: 1fr 420px;
  grid-template-areas:
    "eyebrow visual"
    "text    visual";
}
.hero-eyebrow { grid-area: eyebrow; align-self: end; justify-self: start; }
.hero-text { grid-area: text; align-self: start; max-width: 700px; }
.hero-visual { grid-area: visual; position: relative; display: grid; place-items: center; min-height: 220px; }
.hero-lockup { position: relative; width: 100%; max-width: 420px; }
.ll-logo { display: block; width: 100%; height: auto; position: relative; z-index: 2; }
.ll-spin {
  position: absolute; z-index: 1; top: 42.10%; left: 9.98%; width: 34%; height: auto;
  transform: translate(-50%, -50%); transform-origin: center;
  animation: spin 16s linear infinite;
}
.ll-spin2 {
  position: absolute; z-index: 0; top: 104%; left: 24%; width: 18%; height: auto;
  transform: translate(-50%, -50%); transform-origin: center;
  animation: spin-rev 11s linear infinite; opacity: .8;
}
.la-glow {
  position: absolute; z-index: 0; top: 42.10%; left: 9.98%;
  width: 44%; aspect-ratio: 1 / 1; transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(143,182,214,.34), rgba(90,130,163,0) 70%);
}
@keyframes spin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}
@keyframes spin-rev {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(-360deg); }
}
.hero-eyebrow {
  display: inline-block; font-weight: 600; font-size: 14px; letter-spacing: .4px;
  color: #cdd9e2; background: rgba(160,176,192,.14);
  border: 1px solid rgba(160,176,192,.4); padding: 6px 14px; border-radius: 999px; margin-bottom: 22px;
}
.hero h1 { font-size: clamp(34px, 6vw, 56px); font-weight: 900; line-height: 1.08; letter-spacing: -.5px; }
.hero h1 span { display: block; font-size: clamp(18px, 3vw, 26px); font-weight: 500; color: #cdd9e2; margin-top: 12px; }
.hero-lead { font-size: clamp(17px, 2.4vw, 20px); color: #d8e1e7; margin: 24px 0 32px; max-width: 640px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 40px; }
.hero-badges li {
  position: relative; padding-inline-start: 26px; font-size: 15px; color: #cdd9e2;
}
.hero-badges li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/14px no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/14px no-repeat;
}

/* ===== Sections ===== */
.section { padding: 78px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 46px; }
.kicker {
  display: inline-block; font-size: 13.5px; font-weight: 700; letter-spacing: 1.5px;
  color: var(--steel); text-transform: uppercase; margin-bottom: 10px;
}
.section-head h2 { font-size: clamp(26px, 4vw, 38px); font-weight: 800; color: var(--navy); letter-spacing: -.4px; }
.section-sub { color: var(--muted); margin-top: 12px; font-size: 17px; }

/* ===== About ===== */
.about-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: start; }
.about-text p { margin-bottom: 16px; color: #33414f; }
.about-text strong { color: var(--navy); }
.about-link a { color: var(--steel); font-weight: 700; border-bottom: 2px solid rgba(90,130,163,.35); }
.about-link a:hover { border-color: var(--steel); }

.about-stats { display: grid; gap: 16px; }
.stat {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 24px; box-shadow: var(--shadow-sm);
  border-inline-start: 5px solid var(--accent);
}
.stat-num { display: block; font-size: 34px; font-weight: 900; color: var(--navy); line-height: 1; }
.stat-label { display: block; margin-top: 8px; color: var(--muted); font-size: 15px; }

/* ===== Services (details/summary) ===== */
.services { display: grid; gap: 14px; max-width: 900px; margin-inline: auto; }
.service {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); overflow: hidden; transition: box-shadow .2s ease, border-color .2s ease;
}
.service[open] { box-shadow: var(--shadow-md); border-color: #cdd8e0; }
.service--featured { border-inline-start: 3px solid var(--steel); }
.service--featured .service-num { background: var(--steel); color: #fff; }
.service-tag {
  flex: none; font-size: 12px; font-weight: 700; color: var(--steel);
  background: #eaf0f4; border-radius: 999px; padding: 4px 11px; white-space: nowrap;
}
.service summary {
  display: flex; align-items: center; gap: 16px; cursor: pointer;
  padding: 20px 22px; font-size: 19px; font-weight: 700; color: var(--navy);
  list-style: none; user-select: none;
}
.service summary::-webkit-details-marker { display: none; }
.service-num {
  flex: none; width: 42px; height: 42px; border-radius: 11px;
  display: grid; place-items: center; font-size: 15px; font-weight: 800;
  background: #eaf0f4; color: var(--steel);
}
.service[open] .service-num { background: var(--steel); color: #fff; }
.service-title { flex: 1; }
.service-arrow {
  flex: none; width: 12px; height: 12px; border-inline-end: 2.5px solid var(--muted);
  border-bottom: 2.5px solid var(--muted); transform: rotate(45deg); transition: transform .25s ease; margin-top: -4px;
}
.service[open] .service-arrow { transform: rotate(225deg); margin-top: 4px; }
.service-body { padding: 0 22px 22px 22px; color: #33414f; }
.service-body p { margin-bottom: 12px; }
.service-body ol { counter-reset: item; display: grid; gap: 8px; margin: 8px 0 14px; }
.service-body ol li {
  position: relative; padding-inline-start: 32px; counter-increment: item;
}
.service-body ol li::before {
  content: counter(item); position: absolute; inset-inline-start: 0; top: 2px;
  width: 22px; height: 22px; border-radius: 50%; background: #eaf0f4; color: var(--steel);
  font-size: 12.5px; font-weight: 800; display: grid; place-items: center;
}
.service-body blockquote {
  border-inline-start: 4px solid var(--accent); background: var(--bg-alt);
  padding: 16px 18px; border-radius: var(--radius-sm); color: #475563; font-size: 15.5px;
}

/* ===== Credentials timeline ===== */
.cred-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.cred-col h3 { font-size: 22px; color: var(--navy); margin-bottom: 22px; padding-bottom: 12px; border-bottom: 2px solid var(--line); }
.timeline { position: relative; display: grid; gap: 20px; }
.timeline li {
  position: relative; padding-inline-start: 26px;
  border-inline-start: 2px solid var(--line);
  padding-bottom: 4px;
}
.timeline li::before {
  content: ""; position: absolute; inset-inline-start: -7px; top: 4px;
  width: 12px; height: 12px; border-radius: 50%; background: var(--accent);
  border: 3px solid #fff; box-shadow: 0 0 0 2px var(--accent);
}
.t-year { display: block; font-weight: 800; color: var(--steel); font-size: 15px; margin-bottom: 2px; }
.t-desc { display: block; color: #33414f; }

/* ===== Contact ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 36px; align-items: start; }
.contact-list { display: grid; gap: 4px; }
.contact-list li {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 16px 0; border-bottom: 1px solid var(--line);
}
.ci-label { color: var(--muted); font-size: 15px; font-weight: 500; }
.contact-list a { color: var(--steel); font-weight: 700; }
.contact-list a:hover { text-decoration: underline; }

.contact-form {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-md); display: grid; gap: 16px;
}
.field { display: grid; gap: 7px; }
.field label { font-size: 15px; font-weight: 600; color: var(--navy); }
.field input, .field textarea {
  font-family: inherit; font-size: 16px; color: var(--ink);
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  padding: 12px 14px; background: #fbfcfe; transition: border-color .15s ease, box-shadow .15s ease;
  width: 100%;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--steel); box-shadow: 0 0 0 3px rgba(90,130,163,.18); background: #fff;
}
.field textarea { resize: vertical; }
.hidden-field { display: none; }
.form-note { font-size: 14.5px; margin: 0; min-height: 18px; }
.form-note.ok { color: #1c8a4d; }
.form-note.err { color: #c0392b; }

/* ===== Footer ===== */
.site-footer { background: var(--navy-800); color: #cdd9e2; padding: 40px 0; }
.footer-inner { display: grid; gap: 14px; text-align: center; justify-items: center; }
.footer-logo { height: 56px; width: auto; opacity: .92; margin-bottom: 4px; }
.footer-inner strong { color: #fff; }
.footer-contact { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 12px; font-size: 15px; }
.footer-contact a:hover { color: #fff; text-decoration: underline; }
.footer-copy { color: #93a3ad; font-size: 14px; }

/* ===== Floating WhatsApp ===== */
.fab-whatsapp {
  position: fixed; inset-inline-end: 20px; bottom: 20px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--whatsapp); color: #fff;
  display: grid; place-items: center; box-shadow: var(--shadow-lg);
  transition: transform .18s ease;
}
.fab-whatsapp:hover { transform: scale(1.08); }

/* ===== Responsive ===== */
@media (max-width: 920px) {
  .about-grid, .cred-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 780px) {
  body { font-size: 16px; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .brand-logo { height: 38px; }
  .main-nav {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 10px 16px 18px; box-shadow: var(--shadow-md);
    transform: translateY(-130%); transition: transform .28s ease; margin: 0;
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav a { padding: 14px 8px; border-radius: var(--radius-sm); border-bottom: 1px solid var(--line); }
  .main-nav a:last-child { border-bottom: 0; }
  .hero-inner {
    padding: 64px 0 72px; grid-template-columns: 1fr; row-gap: 20px;
    grid-template-areas: "eyebrow" "visual" "text";
  }
  .hero-eyebrow { justify-self: start; align-self: auto; margin-bottom: 0; }
  .hero-visual { width: 100%; min-height: auto; margin: 8px 0; }
  .hero-lockup { max-width: 300px; margin: 0 auto; }
  .section { padding: 56px 0; }
  .about-stats { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 auto; }
}
@media (max-width: 480px) {
  .contact-list li { flex-direction: column; align-items: flex-start; gap: 4px; }
  .contact-form { padding: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
  .ll-spin, .ll-spin2 { animation: none !important; }
}
