/* ============================================
   Altus Aerials — shared styles
   ============================================ */

:root {
  --navy: #0b2545;
  --navy-deep: #071a33;
  --blue-accent: #4c8dff;
  --blue-light: #8ec5ff;
  --ink: #101828;
  --muted: #5b6474;
  --paper: #ffffff;
  --paper-soft: #f6f8fb;
  --line: #e4e8ef;
  --radius: 14px;
  --max-width: 1180px;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

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

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}

p { line-height: 1.7; color: var(--muted); margin: 0 0 16px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 37, 69, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.12);
  transition: background 0.35s ease, backdrop-filter 0.35s ease, border-color 0.35s ease;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 20px;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
  border-color: var(--blue-accent);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 20px;
  letter-spacing: 0.02em;
  color: #fff;
  transition: color 0.35s ease;
}

.brand img { height: 32px; width: auto; }

.header-right { display: flex; align-items: center; gap: 20px; }

.socials {
  display: flex;
  gap: 18px;
}

.socials a {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.socials a:hover { background: #fff; border-color: #fff; color: var(--navy); }
.socials svg { width: 16px; height: 16px; }

.nav-cta {
  padding: 10px 22px;
  font-size: 12px;
  background: #fff;
  color: var(--navy);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(0, 0, 0, 0.28); }

.nav-toggle { display: none; }

/* Transparent header over the home hero video — solid navy state kicks in on scroll (see main.js) */
.site-header.header-transparent {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  backdrop-filter: none;
  border-bottom-color: transparent;
  box-shadow: none;
}

.site-header.header-transparent.is-scrolled {
  background: rgba(11, 37, 69, 0.96);
  backdrop-filter: blur(10px);
  border-bottom-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.12);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 8px 24px rgba(11, 37, 69, 0.25);
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(11, 37, 69, 0.32); }

.btn-outline {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

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

.btn-light {
  background: #fff;
  color: var(--navy);
}
.btn-light:hover { transform: translateY(-2px); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background: linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 100%);
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 20%, rgba(76, 141, 255, 0.25), transparent 60%);
  pointer-events: none;
}

.hero-inner { position: relative; z-index: 1; max-width: 760px; padding: 0 24px; }

.hero .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 12px;
  color: var(--blue-light);
  margin-bottom: 18px;
  display: block;
}

.hero h1 {
  font-size: clamp(40px, 6vw, 68px);
  color: #fff;
  margin-bottom: 20px;
}

.hero p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.78);
  max-width: 560px;
  margin: 0 auto 32px;
}

/* ---------- Video hero (home page) ---------- */
.hero-video-section {
  position: relative;
  height: 100svh;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
  background: var(--navy-deep);
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  will-change: transform;
  transform: scale(1.08);
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(7, 26, 51, 0.55) 0%, rgba(7, 26, 51, 0.35) 45%, rgba(7, 26, 51, 0.6) 100%);
  pointer-events: none;
}

.hero-video-section .hero-inner { position: relative; z-index: 2; }
.hero-video-section .hero-inner p { color: rgba(255, 255, 255, 0.92); }

.hero-scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 22px;
  height: 36px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px;
}
.hero-scroll-cue::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 50%;
  width: 4px;
  height: 8px;
  background: #fff;
  border-radius: 999px;
  transform: translateX(-50%);
  animation: scroll-cue 1.8s ease-in-out infinite;
}
@keyframes scroll-cue {
  0% { opacity: 1; transform: translate(-50%, 0); }
  70% { opacity: 0; transform: translate(-50%, 14px); }
  100% { opacity: 0; transform: translate(-50%, 14px); }
}

/* ---------- Sections ---------- */
section { padding: 100px 0; }
.section-soft { background: var(--paper-soft); }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-head .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 12px;
  font-weight: 600;
  color: var(--blue-accent);
  margin-bottom: 12px;
  display: block;
}
.section-head h2 { font-size: clamp(28px, 4vw, 40px); }

/* ---------- Service teaser cards ---------- */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.teaser-card {
  border-radius: var(--radius);
  padding: 44px 36px;
  background: #fff;
  border: 1px solid var(--line);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.teaser-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(11, 37, 69, 0.1); }

.teaser-card .icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--navy), var(--blue-accent));
  margin-bottom: 22px;
  display: flex; align-items: center; justify-content: center;
}
.teaser-card .icon svg { width: 24px; height: 24px; stroke: #fff; }

.teaser-card h3 { font-size: 22px; margin-bottom: 10px; }

.teaser-card .learn-more {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
}
.teaser-card .learn-more svg { width: 14px; height: 14px; transition: transform 0.2s ease; }
.teaser-card:hover .learn-more svg { transform: translateX(4px); }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--navy);
  color: #fff;
  text-align: center;
  padding: 90px 0;
}
.cta-banner h2 { color: #fff; font-size: clamp(26px, 4vw, 38px); margin-bottom: 8px;}
.cta-banner p { color: rgba(255,255,255,0.7); margin-bottom: 30px; }

/* ---------- Pricing cards ---------- */
.pricing-group { margin-bottom: 90px; }
.pricing-group:last-child { margin-bottom: 0; }

.pricing-group-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 36px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 24px;
}
.pricing-group-head h2 { margin-bottom: 6px; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.price-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 26px;
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.price-card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(11,37,69,0.08); }

.price-card.featured {
  border-color: var(--navy);
  background: linear-gradient(180deg, #ffffff 0%, var(--paper-soft) 100%);
}

.price-card .badge {
  position: absolute;
  top: -12px; left: 26px;
  background: var(--navy);
  color: #fff;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 12px;
  border-radius: 999px;
  font-weight: 600;
}

.price-card .tier-name { font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); font-weight: 600; margin-bottom: 10px; }
.price-card .price { font-family: var(--serif); font-size: 40px; margin-bottom: 14px; }
.price-card .price sup { font-size: 16px; margin-right: 2px; }
.price-card .tagline { font-size: 14px; margin-bottom: 20px; min-height: 42px; }

.price-card ul { list-style: none; margin: 0 0 26px; padding: 0; flex: 1; }
.price-card li {
  font-size: 14px;
  color: var(--ink);
  padding: 9px 0;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 10px;
}
.price-card li:first-child { border-top: none; }
.price-card li svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; stroke: var(--blue-accent); }

.retainer-note {
  margin-top: 18px;
  font-size: 13px;
  text-align: center;
  color: var(--muted);
}

/* ---------- About ---------- */
.about-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #163a63 60%, var(--blue-accent) 160%);
  color: #fff;
  padding: 130px 0 90px;
}
.about-hero h1 { color: #fff; font-size: clamp(32px, 5vw, 52px); max-width: 900px; }

.about-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 100px 0;
}
.about-body img { border-radius: var(--radius); }
.about-body .stat-row { display: flex; gap: 32px; margin-top: 32px; }
.about-body .stat { }
.about-body .stat strong { font-family: var(--serif); font-size: 28px; display: block; color: var(--navy); }
.about-body .stat span { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }

/* ---------- Contact ---------- */
.contact-hero {
  background: var(--paper-soft);
  padding: 120px 0 60px;
  text-align: center;
}
.contact-hero h1 { font-size: clamp(32px, 5vw, 50px); }
.contact-hero p { max-width: 480px; margin: 0 auto; }

.contact-layout {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 48px;
  padding: 70px 0 110px;
  align-items: start;
}

.booking-panel-copy { color: var(--muted); font-size: 15px; margin-bottom: 20px; max-width: 480px; }

/* ---------- Booking forms ---------- */
.booking-form { max-width: 560px; }
.hp-field { position: absolute; left: -9999px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-field { margin-bottom: 18px; }
.form-field label {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 7px;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--blue-accent);
  box-shadow: 0 0 0 3px rgba(76, 141, 255, 0.15);
}

.form-field textarea { resize: vertical; min-height: 80px; }

.slot-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.slot-hint, .slot-empty { color: var(--muted); font-size: 14px; margin: 0; }
.slot-button {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.slot-button:hover { border-color: var(--navy); }
.slot-button.is-selected {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
.slot-button:disabled { opacity: 0.4; cursor: not-allowed; }

.form-error {
  color: #b3261e;
  font-size: 14px;
  margin: -6px 0 18px;
}

.checkbox-group { display: flex; gap: 18px; flex-wrap: wrap; }
.checkbox-option {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  color: var(--ink);
  text-transform: none;
  letter-spacing: normal;
  font-weight: 500;
  cursor: pointer;
}
.checkbox-option input { width: auto; }

.booking-form .btn { margin-top: 6px; }

@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; gap: 0; }
}

.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  background: #fff;
}
.contact-card h3 { font-size: 22px; margin-bottom: 24px; }
.contact-item { margin-bottom: 24px; }
.contact-item:last-child { margin-bottom: 0; }
.contact-item .label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); font-weight: 600; margin-bottom: 6px; }
.contact-item a, .contact-item span { font-size: 15px; color: var(--ink); display: block; }
.contact-item a:hover { color: var(--blue-accent); }

/* ---------- Footer ---------- */
footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 30px;
}
footer .footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 24px;
}
footer .brand { color: #fff; }
footer nav { display: flex; gap: 24px; flex-wrap: wrap; }
footer nav a { font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em; color: rgba(255,255,255,0.7); }
footer nav a:hover { color: #fff; }
footer .footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: rgba(255,255,255,0.45);
}
footer .socials a { border-color: rgba(255,255,255,0.2); color: #fff; }

/* Header is always navy or transparent-over-dark now, so the header logo
   is always the white/light mark — no swap needed. */

/* ---------- About contact strip ---------- */
.about-contact {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
  background: var(--paper-soft);
}
.about-contact .about-contact-item .label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 4px;
}
.about-contact .about-contact-item a,
.about-contact .about-contact-item span { display: block; font-size: 15px; color: var(--ink); }
.about-contact .about-contact-item a:hover { color: var(--blue-accent); }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1), transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: opacity, transform;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-scroll-cue::before { animation: none; }
  .hero-video { transform: none !important; }
}

/* ---------- Utility ---------- */
.center { text-align: center; }
.mt-40 { margin-top: 40px; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .grid-2, .about-body, .contact-layout { grid-template-columns: 1fr; }
  .about-body { padding: 70px 0; }
  .nav-links { display: none; }
  section { padding: 70px 0; }
  .nav-cta { padding: 9px 16px; font-size: 11px; }
  .about-contact { padding: 24px; gap: 20px; }
}

@media (max-width: 560px) {
  .site-header .socials { display: none; }
  .brand span.brand-text { display: none; }
}
