/* ===========================================================
   Prime Air Solutions — Shared Stylesheet
   =========================================================== */

:root {
  --navy: #0b2447;
  --navy-dark: #071830;
  --blue: #1d63d8;
  --blue-dark: #164ea8;
  --blue-light: #eaf1fd;
  --whatsapp: #25d366;
  --whatsapp-dark: #1ebe5b;
  --text: #212b3b;
  --text-light: #5b6474;
  --text-faint: #8994a5;
  --bg: #ffffff;
  --bg-alt: #f5f8fc;
  --bg-navy-soft: #f0f4fa;
  --border: #e4e9f1;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --shadow: 0 12px 32px rgba(11, 36, 71, 0.09);
  --shadow-sm: 0 4px 16px rgba(11, 36, 71, 0.07);
  --container: 1180px;
  --header-h: 76px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: calc(var(--header-h) + 20px); }

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 0;
}

body.has-mobile-bar { padding-bottom: 64px; }

img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: "Inter", sans-serif;
  color: var(--navy);
  line-height: 1.22;
  margin: 0 0 .6em;
  font-weight: 800;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; color: var(--text-light); }

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

ul { padding-left: 1.2em; }

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

.section { padding: 84px 0; }
.section-alt { background: var(--bg-alt); }
.section-navy { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 100%); color: #fff; }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-navy p { color: #c9d5e8; }

.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-light);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.section-navy .eyebrow { background: rgba(255,255,255,.1); color: #9dc0ff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 100px;
  font-weight: 700;
  font-size: .98rem;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn svg { flex-shrink: 0; }

.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(29,99,216,.28); }
.btn-primary:hover { background: var(--blue-dark); }

.btn-whatsapp { background: var(--whatsapp); color: #fff; box-shadow: 0 8px 20px rgba(37,211,102,.3); }
.btn-whatsapp:hover { background: var(--whatsapp-dark); }

.btn-outline { background: transparent; color: var(--navy); border-color: var(--border); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }

.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn-outline-light:hover { border-color: #fff; color: #fff; }

.btn-block { width: 100%; }
.btn-sm { padding: 10px 18px; font-size: .88rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
}
.site-header.nav-open { backdrop-filter: none; }
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; flex-shrink: 0;
}
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-weight: 800; color: var(--navy); font-size: 1.08rem; }
.brand-tag { font-size: .72rem; color: var(--text-faint); font-weight: 600; letter-spacing: .03em; }
.brand:hover { text-decoration: none; }

.main-nav { display: flex; }
.main-nav ul { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.main-nav a {
  color: var(--text);
  font-weight: 600;
  font-size: .93rem;
  padding: 10px 12px;
  border-radius: 8px;
}
.main-nav a:hover { background: var(--blue-light); color: var(--blue); text-decoration: none; }
.main-nav a.active { color: var(--blue); }

/* Services dropdown */
.has-dropdown { position: relative; }
.has-dropdown > a { display: inline-flex; align-items: center; gap: 5px; }
.has-dropdown .chevron { transition: transform .15s ease; flex-shrink: 0; }
.has-dropdown:hover .chevron,
.has-dropdown:focus-within .chevron { transform: rotate(180deg); }

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin: 10px 0 0;
  padding: 8px;
  min-width: 250px;
  list-style: none;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s ease;
  z-index: 50;
}
.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--text);
}
.dropdown-menu a:hover { background: var(--blue-light); color: var(--blue); text-decoration: none; }
.dropdown-menu .dropdown-all {
  display: block;
  margin-top: 4px;
  padding: 10px 12px 6px;
  border-top: 1px solid var(--border);
  font-size: .85rem;
  font-weight: 700;
  color: var(--blue);
}

.header-cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.nav-toggle {
  display: none;
  background: none; border: 1px solid var(--border); border-radius: 8px;
  width: 42px; height: 42px; align-items: center; justify-content: center;
  cursor: pointer; flex-shrink: 0;
}
.nav-toggle svg { pointer-events: none; }

/* ---------- Hero ---------- */
.hero { padding: 64px 0 72px; background: linear-gradient(180deg, var(--bg-navy-soft) 0%, #fff 100%); overflow: hidden; }
.hero .container { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero-copy h1 { margin-bottom: .5em; }
.hero-copy .lead { font-size: 1.12rem; color: var(--text-light); margin-bottom: 1.6em; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.trust-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.trust-list li { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: .92rem; color: var(--navy); }
.trust-list svg { color: var(--blue); flex-shrink: 0; }

.hero-visual { position: relative; }
.hero-illustration {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.hero-illustration img { width: 100%; height: auto; display: block; }
.hero-badge {
  position: absolute;
  bottom: -18px; left: 24px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  padding: 14px 18px;
  display: flex; align-items: center; gap: 12px;
}
.hero-badge .num { font-weight: 800; color: var(--navy); font-size: 1rem; }
.hero-badge .lbl { font-size: .78rem; color: var(--text-faint); font-weight: 600; }

/* ---------- Cards / Grids ---------- */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.icon-tile {
  width: 54px; height: 54px;
  border-radius: 14px;
  background: var(--blue-light);
  color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}

.card-photo {
  margin: -30px -30px 20px;
  aspect-ratio: 3 / 2;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
}
.card-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

.card h3 { margin-bottom: .5em; }
.card p:last-child { margin-bottom: 0; }
.card-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; margin-top: 12px; }

/* Feature list (why choose us) */
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 32px; }
.feature-list li { display: flex; gap: 14px; align-items: flex-start; }
.feature-list .ico {
  width: 38px; height: 38px; border-radius: 10px; flex-shrink: 0;
  background: var(--blue-light); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
}
.section-navy .feature-list .ico { background: rgba(255,255,255,.1); color: #9dc0ff; }
.feature-list strong { display: block; color: var(--navy); font-size: 1rem; margin-bottom: 2px; }
.section-navy .feature-list strong { color: #fff; }
.feature-list span.desc { font-size: .92rem; color: var(--text-light); }
.section-navy .feature-list span.desc { color: #c9d5e8; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { text-align: center; padding: 28px 20px; position: relative; }
.step .step-num {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.15rem; margin: 0 auto 16px;
}
.step h3 { font-size: 1.05rem; margin-bottom: 6px; }
.step p { font-size: .9rem; margin-bottom: 0; }

/* Split section (image/content) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-reverse .split-media { order: 2; }
.split-media {
  background: linear-gradient(150deg, var(--blue-light), #fff);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
}
.split-media svg { width: 100%; height: auto; }
.split-media.has-photo { padding: 0; overflow: hidden; aspect-ratio: 3 / 4; }
.split-media.has-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

.work-gallery .work-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 3 / 4;
}
.work-gallery .work-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.work-gallery-single { max-width: 420px; margin: 0 auto; }
.checklist { list-style: none; padding: 0; margin: 20px 0; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; font-weight: 500; color: var(--text); }
.checklist svg { flex-shrink: 0; color: var(--blue); margin-top: 3px; }

/* Areas we serve */
.area-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0; }
.area-chips span {
  background: #fff; border: 1px solid var(--border); border-radius: 100px;
  padding: 8px 16px; font-size: .87rem; font-weight: 600; color: var(--navy);
}
.area-note {
  background: var(--blue-light); border-radius: var(--radius-md);
  padding: 18px 22px; font-size: .92rem; color: var(--navy); margin-top: 18px;
}
.area-note p { color: var(--navy); margin: 0; }

/* FAQ */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md);
  margin-bottom: 14px; overflow: hidden;
}
.faq-item summary {
  cursor: pointer; list-style: none; padding: 20px 24px;
  font-weight: 700; color: var(--navy); display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .chev { transition: transform .2s ease; flex-shrink: 0; color: var(--blue); }
.faq-item[open] summary .chev { transform: rotate(180deg); }
.faq-item .faq-a { padding: 0 24px 20px; color: var(--text-light); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.contact-card {
  background: var(--navy); color: #fff; border-radius: var(--radius-lg);
  padding: 36px; box-shadow: var(--shadow);
}
.contact-card h3 { color: #fff; }
.contact-card p { color: #c9d5e8; }
.contact-row { display: flex; align-items: center; gap: 14px; padding: 16px 0; border-top: 1px solid rgba(255,255,255,.12); }
.contact-row:first-of-type { border-top: none; }
.contact-row .ico { width: 42px; height: 42px; border-radius: 10px; background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-row strong { display: block; color: #fff; font-size: .95rem; }
.contact-row span { font-size: .88rem; color: #c9d5e8; }
.contact-card .btn { margin-top: 20px; }

.form-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 36px; box-shadow: var(--shadow-sm);
}
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-weight: 700; font-size: .88rem; color: var(--navy); margin-bottom: 7px; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; padding: 13px 14px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--border); font-size: .95rem; font-family: inherit; color: var(--text);
  background: var(--bg-alt);
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none; border-color: var(--blue); background: #fff;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.form-note { font-size: .82rem; color: var(--text-faint); margin-top: 14px; }

/* Footer */
.site-footer { background: var(--navy-dark); color: #b7c4da; padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.footer-brand .brand-name { color: #fff; }
.footer-brand p { color: #96a5c0; margin-top: 14px; font-size: .92rem; max-width: 300px; }
.footer-col h4 { color: #fff; font-size: .92rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 16px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: #b7c4da; font-size: .92rem; }
.footer-col a:hover { color: #fff; }
.footer-cta { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: .82rem; color: #7d8caa;
}

/* Floating WhatsApp (desktop) */
.float-whatsapp {
  position: fixed; right: 26px; bottom: 26px; z-index: 600;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--whatsapp); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px rgba(37,211,102,.4);
}
.float-whatsapp:hover { background: var(--whatsapp-dark); }

/* Mobile sticky bar */
.mobile-bar {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 700;
  background: #fff; border-top: 1px solid var(--border);
  box-shadow: 0 -6px 20px rgba(11,36,71,.1);
}
.mobile-bar .container { display: flex; padding: 0 12px; }
.mobile-bar a {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 8px; font-weight: 700; font-size: .92rem; text-decoration: none;
}
.mobile-bar .call { color: var(--navy); }
.mobile-bar .wa { color: var(--whatsapp-dark); }
.mobile-bar .divider { width: 1px; background: var(--border); margin: 10px 0; }

/* Breadcrumb */
.breadcrumb { font-size: .85rem; color: var(--text-faint); padding: 18px 0 0; }
.breadcrumb a { color: var(--text-faint); font-weight: 600; }
.breadcrumb a:hover { color: var(--blue); }

/* Page hero (inner pages) */
.page-hero { padding: 40px 0 56px; background: var(--bg-navy-soft); }
.page-hero .eyebrow { margin-bottom: 14px; }
.page-hero p.lead { max-width: 680px; font-size: 1.05rem; }

/* Utility */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.stack-links { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 460px; margin: 0 auto; }
  .split, .split-reverse .split-media { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split-reverse .split-media { order: 0; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .main-nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .site-header.nav-open .main-nav {
    display: block; position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
    background: #fff; z-index: 480; padding: 20px 24px; overflow-y: auto;
  }
  .site-header.nav-open .main-nav ul { flex-direction: column; align-items: stretch; gap: 4px; }
  .site-header.nav-open .main-nav a { padding: 14px 12px; font-size: 1rem; border-bottom: 1px solid var(--border); border-radius: 0; }
  .site-header.nav-open .has-dropdown { position: static; }
  .site-header.nav-open .dropdown-menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: none; background: var(--bg-alt);
    margin: 0 0 4px; padding: 4px 0 4px 14px; border-radius: 10px;
  }
  .site-header.nav-open .dropdown-menu a { border-bottom: none; padding: 12px; font-weight: 500; }
  .site-header.nav-open .dropdown-menu .dropdown-all { border-top: 1px solid var(--border); margin-top: 2px; }
  .site-header.nav-open .header-cta {
    display: flex; flex-direction: column; padding: 18px 24px 26px; position: fixed;
    left: 0; right: 0; bottom: 0; background: #fff; z-index: 490; border-top: 1px solid var(--border);
  }
  .float-whatsapp { display: none; }
  .mobile-bar { display: block; }
}

@media (max-width: 700px) {
  .section { padding: 56px 0; }
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .feature-list { grid-template-columns: 1fr; }
  .trust-list { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; }
  .hero { padding: 40px 0 48px; }
  .hero-actions .btn { flex: 1; }
}
