/* ==========================================================================
   Left Coast Air — shared stylesheet
   Mobile-first, hand-written, no external framework.
   ========================================================================== */

:root {
  --brand-blue: #1B3FA0;
  --sky-blue: #2F9BE0;
  --heat-red: #D9291A;
  --accent-yellow: #F5B400;
  --ink: #1A1A1A;
  --body: #4A5568;
  --bg: #F7F8FA;
  --white: #FFFFFF;
  --border: #E2E8F0;
  --brand-blue-dark: #16327E;
  --radius: 8px;
  --shadow-sm: 0 1px 3px rgba(16, 24, 40, 0.08);
  --shadow-md: 0 6px 18px rgba(16, 24, 40, 0.10);
  --maxw: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--body);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 0.5em;
  font-weight: 700;
}

h1 { font-size: 2rem; letter-spacing: -0.01em; }
h2 { font-size: 1.6rem; margin-top: 0; }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1rem; }

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

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

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

.section { padding: 56px 0; }
.section--tight { padding: 40px 0; }
.section--bg { background: var(--bg); }
.section--blue { background: var(--brand-blue); color: #DDE6FF; }
.section--blue h2, .section--blue h3 { color: var(--white); }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-blue);
  margin-bottom: 12px;
}
.section--blue .eyebrow { color: var(--accent-yellow); }

.lead { font-size: 1.15rem; color: var(--body); }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--brand-blue);
  color: #fff;
  padding: 10px 16px;
  z-index: 1000;
}
.skip-link:focus { left: 8px; top: 8px; }

/* ---------- Header ---------- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}
.logo-link { display: inline-flex; align-items: center; }
.logo-link img { height: 42px; width: auto; }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  width: 44px; height: 44px;
  cursor: pointer;
  color: var(--ink);
}
.nav-toggle svg { width: 22px; height: 22px; }

.header-actions { display: flex; align-items: center; gap: 10px; }

.main-nav ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  gap: 4px;
}
.main-nav a {
  display: block;
  padding: 10px 12px;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.98rem;
  border-radius: var(--radius);
}
.main-nav a:hover { background: var(--bg); text-decoration: none; }
.main-nav a[aria-current="page"] { color: var(--brand-blue); }

/* Header phone CTA */
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand-blue);
  color: #fff;
  padding: 11px 18px;
  border-radius: var(--radius);
  font-weight: 700;
  white-space: nowrap;
}
.header-phone:hover { background: var(--brand-blue-dark); text-decoration: none; }
.header-phone svg { width: 18px; height: 18px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 15px 26px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
  line-height: 1.2;
  transition: background .15s ease, color .15s ease;
}
.btn svg { width: 20px; height: 20px; }
.btn-primary { background: var(--brand-blue); color: #fff; border-color: var(--brand-blue); }
.btn-primary:hover { background: var(--brand-blue-dark); border-color: var(--brand-blue-dark); text-decoration: none; color:#fff; }
.btn-ghost { background: transparent; color: var(--brand-blue); border-color: var(--brand-blue); }
.btn-ghost:hover { background: rgba(27,63,160,0.06); text-decoration: none; }
.btn-on-blue-primary { background: var(--accent-yellow); color: var(--ink); border-color: var(--accent-yellow); }
.btn-on-blue-primary:hover { background: #e0a600; color: var(--ink); text-decoration:none; }
.btn-on-blue-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.7); }
.btn-on-blue-ghost:hover { background: rgba(255,255,255,0.12); text-decoration:none; color:#fff; }
.btn-block { width: 100%; }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
  padding: 44px 0 48px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}
.hero h1 { font-size: 2.1rem; }
.hero-media img {
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  width: 100%;
  object-fit: cover;
}
.hero-list { list-style: none; padding: 0; margin: 18px 0; }
.hero-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--ink);
}
.hero-list li::before {
  content: "";
  position: absolute; left: 0; top: 6px;
  width: 18px; height: 18px;
  background: var(--sky-blue);
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px #fff, 0 0 0 1px var(--sky-blue);
}

/* ---------- Trust strip ---------- */
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  align-items: center;
  margin-top: 14px;
}
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ink);
}
.stars { color: var(--accent-yellow); letter-spacing: 1px; font-size: 0.95rem; }
.trust-badge small { display:block; font-weight:600; color: var(--body); font-size:0.78rem; }

/* Trust card block near CTA */
.trust-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px;
  box-shadow: var(--shadow-sm);
}
.trust-card ul { list-style: none; margin: 0; padding: 0; }
.trust-card li {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 8px 0;
  border-bottom: 1px dashed var(--border);
}
.trust-card li:last-child { border-bottom: 0; }
.trust-card li strong { color: var(--ink); }
.trust-card .chk { color: var(--brand-blue); font-weight: 800; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr 1fr; }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.card h3 { margin-bottom: 8px; }
.card p { margin-bottom: 12px; font-size: 0.98rem; }
.card .card-link { font-weight: 700; }
.card--link { transition: box-shadow .15s ease, transform .15s ease; }
.card--link:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card-icon {
  width: 46px; height: 46px;
  border-radius: 10px;
  background: rgba(47,155,224,0.12);
  color: var(--brand-blue);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.card-icon svg { width: 26px; height: 26px; }

/* photo gallery */
.photo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.photo-grid figure { margin: 0; }
.photo-grid img { border-radius: 10px; width: 100%; height: 220px; object-fit: cover; box-shadow: var(--shadow-sm); }
.photo-grid figcaption { font-size: 0.85rem; margin-top: 6px; color: var(--body); }

.media-figure { margin: 0; }
.media-figure img { border-radius: 12px; box-shadow: var(--shadow-md); width: 100%; }
.media-figure figcaption { font-size: 0.85rem; margin-top: 8px; color: var(--body); }

/* ---------- Content prose ---------- */
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.3em; }
.prose ul { padding-left: 1.2em; margin: 0 0 1rem; }
.prose li { margin-bottom: 6px; }

.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  align-items: start;
}

/* ---------- Comparison table ---------- */
.table-wrap { overflow-x: auto; }
table.compare {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0 20px;
  font-size: 0.96rem;
  background: #fff;
}
table.compare caption { text-align: left; font-weight: 700; color: var(--ink); padding-bottom: 8px; }
table.compare th, table.compare td {
  border: 1px solid var(--border);
  padding: 11px 13px;
  text-align: left;
  vertical-align: top;
}
table.compare thead th { background: var(--bg); color: var(--ink); }
table.compare tbody th { background: #fbfcfe; font-weight: 700; }

/* ---------- FAQ ---------- */
.faq details {
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 12px;
  background: #fff;
  overflow: hidden;
}
.faq summary {
  cursor: pointer;
  padding: 16px 18px;
  font-weight: 700;
  color: var(--ink);
  list-style: none;
  position: relative;
  padding-right: 44px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute; right: 18px; top: 14px;
  font-size: 1.3rem; color: var(--brand-blue); font-weight: 700;
}
.faq details[open] summary::after { content: "\2013"; }
.faq .faq-body { padding: 0 18px 16px; }
.faq .faq-body p:last-child { margin-bottom: 0; }

/* ---------- CTA block ---------- */
.cta-block {
  background: var(--brand-blue);
  color: #DDE6FF;
  border-radius: 16px;
  padding: 36px 28px;
  text-align: center;
}
.cta-block h2 { color: #fff; margin-bottom: 10px; }
.cta-block p { color: #DDE6FF; max-width: 620px; margin: 0 auto 20px; }
.cta-block .cta-row { justify-content: center; }
.cta-block .trust-badges { justify-content: center; margin-top: 20px; }
.cta-block .trust-badge { color: #fff; }
.cta-block .trust-badge small { color: #C5D2F5; }

.cta-phone-big {
  display: inline-block;
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}
.cta-phone-big:hover { color: var(--accent-yellow); text-decoration: none; }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs {
  font-size: 0.85rem;
  padding: 12px 0 0;
  color: var(--body);
}
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.breadcrumbs li::after { content: "/"; margin-left: 6px; color: #B0B8C4; }
.breadcrumbs li:last-child::after { content: ""; }
.breadcrumbs a { color: var(--body); }
.breadcrumbs [aria-current="page"] { color: var(--ink); font-weight: 600; }

/* ---------- Brand logos ---------- */
.brand-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 26px 34px;
}
.brand-logos img {
  height: 34px;
  width: auto;
  opacity: 0.85;
  filter: grayscale(15%);
}

/* ---------- Info list (contact) ---------- */
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.info-list li:last-child { border-bottom: 0; }
.info-list .info-ico { color: var(--brand-blue); flex: 0 0 24px; }
.info-list .info-ico svg { width: 24px; height: 24px; }
.info-list strong { display: block; color: var(--ink); }

.map-placeholder {
  background: var(--bg);
  border: 2px dashed var(--border);
  border-radius: 12px;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--body);
  padding: 20px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #12213f;
  color: #C5CEE0;
  padding: 48px 0 24px;
  font-size: 0.95rem;
}
.site-footer a { color: #DCE4F5; }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}
.site-footer h4 { color: #fff; font-size: 1.02rem; margin-bottom: 12px; }
.footer-logo { height: 46px; width: auto; margin-bottom: 14px; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-nap p { margin: 0 0 8px; }
.footer-brands { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin: 8px 0 12px; }
.footer-brands img { height: 26px; width: auto; background: #fff; padding: 5px 8px; border-radius: 6px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.14);
  margin-top: 34px;
  padding-top: 18px;
  font-size: 0.85rem;
  color: #9DA9C2;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: space-between;
}

/* ---------- Sticky mobile call bar ---------- */
.mobile-call-bar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 200;
  background: var(--brand-blue);
  box-shadow: 0 -2px 12px rgba(0,0,0,0.18);
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
}
.mobile-call-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  padding: 14px;
  border-radius: var(--radius);
}
.mobile-call-bar a:hover { text-decoration: none; }
.mobile-call-bar svg { width: 22px; height: 22px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 860px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    padding: 8px 16px 16px;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 2px; }
  .main-nav a { padding: 14px 10px; border-bottom: 1px solid var(--border); border-radius: 0; }
  .main-nav li:last-child a { border-bottom: 0; }
  .header-phone .lbl { display: none; }
  .header-phone { padding: 11px 14px; }
  .mobile-call-bar { display: block; }
  body { padding-bottom: 76px; }
}

@media (min-width: 861px) {
  .nav-toggle { display: none; }
}

@media (min-width: 700px) {
  h1 { font-size: 2.5rem; }
  .hero h1 { font-size: 2.6rem; }
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .split { grid-template-columns: 1.3fr 1fr; gap: 40px; }
  .photo-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
}

@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; }
  .hero h1 { font-size: 2.9rem; }
}
