/* ===================================================
   EASTBRIDGE AIR — GLOBAL DESIGN SYSTEM
   =================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Inter:wght@300;400;500;600;700&family=Montserrat:wght@300;400;500;600;700;800&display=swap');

/* ── Tokens ── */
:root {
  --navy:        #0f332b;
  --navy-mid:    #154539;
  --navy-light:  #1a5748;
  --navy-subtle: #227561;
  --gold:        #B8963E;
  --gold-light:  #D4AF5A;
  --gold-pale:   #F0D98A;
  --gold-dim:    rgba(184,150,62,0.18);
  --white:       #FFFFFF;
  --off-white:   #F5F3EE;
  --text-light:  #8A9BB8;
  --text-mid:    #C2CEDF;
  --border:      rgba(184,150,62,0.22);
  --border-soft: rgba(255,255,255,0.08);
  --glass:       rgba(15, 51, 43,0.72);
  --glass-light: rgba(255,255,255,0.05);
  --shadow-gold: 0 0 40px rgba(184,150,62,0.12);
  --shadow-deep: 0 24px 80px rgba(0,0,0,0.45);
  --radius:      4px;
  --radius-lg:   10px;
  --radius-xl:   18px;
  --transition:  all 0.35s cubic-bezier(0.4,0,0.2,1);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; width: 100% !important; margin: 0 !important; padding: 0 !important; overflow-x: hidden; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--navy);
  color: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  width: 100% !important;
  margin: 0 !important;
  padding: 90px 0 0 0 !important;
}
body.home {
  padding-top: 0 !important;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul, ol { list-style: none; }

/* ── Typography ── */
.font-serif  { font-family: 'Cormorant Garamond', serif; }
.font-sans   { font-family: 'Inter', sans-serif; }
.font-display{ font-family: 'Montserrat', sans-serif; }

h1, h2, h3, h4 { font-family: 'Cormorant Garamond', serif; font-weight: 500; line-height: 1.2; }

.section-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-label::before, .section-label::after {
  content: '';
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--gold);
  opacity: 0.6;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--white);
}
.section-title em { font-style: italic; color: var(--gold-light); }

.section-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 1.0rem;
  font-weight: 300;
  color: var(--text-mid);
  max-width: 560px;
  line-height: 1.8;
}

/* ── Layout ── */
.container {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 4rem;
}

section { width: 100%; margin: 0; padding: 100px 0; position: relative; }

.section-header {
  margin-bottom: 60px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.section-header.centered {
  align-items: center;
  text-align: center;
}
.section-header.centered .section-subtitle {
  text-align: center;
  margin: 0 auto;
}

/* ── NAV ── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  width: 100vw;
  z-index: 1000;
  padding: 0 2rem;
  transition: var(--transition);
}
#navbar.scrolled {
  background: rgba(15, 51, 43,0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 8px 40px rgba(0,0,0,0.3);
}
.nav-inner {
  max-width: 1600px;
  margin: 0 auto;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo img { height: 90px; width: auto; filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3)); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-mid);
  transition: color 0.25s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.active { color: var(--gold-light); }
.nav-links a.active::after { transform: scaleX(1); }

.btn-nav {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 10px 24px;
  border: 1px solid var(--gold);
  color: var(--gold-light);
  border-radius: var(--radius);
  transition: var(--transition);
  background: transparent;
}
.btn-nav:hover {
  background: var(--gold);
  color: var(--navy);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
  transform-origin: center;
}

/* Mobile Nav */
.mobile-nav {
  display: flex;
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: 100vw;
  background: var(--navy);
  z-index: 2000;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-nav.open {
  transform: translateX(0);
}
.mobile-nav a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.4rem;
  font-weight: 400;
  color: var(--text-mid);
  transition: color 0.25s;
}
.mobile-nav a:hover { color: var(--gold-light); }
.mobile-nav-close {
  position: absolute;
  top: 24px; right: 24px;
  font-size: 2rem;
  color: var(--text-mid);
  cursor: pointer;
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 15px 36px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy);
  border-radius: var(--radius);
  transition: var(--transition);
  border: none;
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-pale));
  opacity: 0;
  transition: opacity 0.3s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(184,150,62,0.35); }
.btn-primary:hover::before { opacity: 1; }
.btn-primary span { position: relative; z-index: 1; }
.btn-primary svg { position: relative; z-index: 1; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 14px 36px;
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: var(--radius);
  transition: var(--transition);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.6);
  transform: translateY(-2px);
}

.btn-gold-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 14px 36px;
  background: transparent;
  color: var(--gold-light);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  transition: var(--transition);
}
.btn-gold-outline:hover {
  background: var(--gold-dim);
  transform: translateY(-2px);
}

/* ── CARDS ── */
.card {
  background: rgba(21, 69, 57,0.6);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(184,150,62,0.4);
  box-shadow: var(--shadow-gold);
}

/* ── DIVIDER ── */
.gold-divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 0 auto;
}
.gold-line { width: 1px; height: 60px; background: linear-gradient(180deg, transparent, var(--gold), transparent); margin: 0 auto; }

/* ── DISCLAIMER BAR ── */
.disclaimer-bar {
  width: 100vw;
  margin-left: 0;
  margin-right: 0;
  background: rgba(184,150,62,0.08);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
  text-align: center;
  margin-top: 78px; /* height of fixed navbar */
  position: relative;
  z-index: 10;
}
/* On homepage the hero handles its own top spacing */
.hero ~ .disclaimer-bar,
body:has(.hero) .disclaimer-bar {
  margin-top: 0;
}
.disclaimer-bar p {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  color: var(--text-light);
  letter-spacing: 0.04em;
}
.disclaimer-bar p span { color: var(--gold); }

/* ── FOOTER ── */
footer {
  background: #0a221d;
  padding: 80px 0 32px;
  border-top: 1px solid var(--border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}
.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.9;
  margin-top: 18px;
  max-width: 300px;
}
.footer-col h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a {
  font-size: 0.88rem;
  color: var(--text-light);
  transition: color 0.25s;
}
.footer-col ul a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid var(--border-soft);
  font-size: 0.78rem;
  color: var(--text-light);
  gap: 20px;
  flex-wrap: wrap;
}
.footer-bottom-links { display: flex; gap: 24px; }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position:  200% center; }
}
@keyframes pulse-gold {
  0%, 100% { box-shadow: 0 0 0 0 rgba(184,150,62,0.3); }
  50%       { box-shadow: 0 0 0 12px rgba(184,150,62,0); }
}
@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes draw-line {
  from { stroke-dashoffset: 800; }
  to   { stroke-dashoffset: 0; }
}

.animate-fade-up { animation: fadeUp 0.8s ease forwards; }
.animate-fade-in { animation: fadeIn 0.6s ease forwards; }

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal-delay="1"] { transition-delay: 0.1s; }
[data-reveal-delay="2"] { transition-delay: 0.2s; }
[data-reveal-delay="3"] { transition-delay: 0.3s; }
[data-reveal-delay="4"] { transition-delay: 0.4s; }
[data-reveal-delay="5"] { transition-delay: 0.5s; }
[data-reveal-delay="6"] { transition-delay: 0.6s; }

/* ── FORM ELEMENTS ── */
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}
.form-input, .form-select {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  transition: border-color 0.25s, background 0.25s;
  outline: none;
  width: 100%;
}
.form-input::placeholder { color: var(--text-light); }
.form-input:focus, .form-select:focus {
  border-color: var(--gold);
  background: rgba(184,150,62,0.06);
}
.form-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23B8963E' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
  cursor: pointer;
}
.form-select option { background: var(--navy-mid); }

.form-input[type="date"]::-webkit-calendar-picker-indicator {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23B8963E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E");
  cursor: pointer;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { gap: 24px; }
}

@media (max-width: 768px) {
  section { padding: 70px 0; }
  .container { padding: 0 1.25rem; }
  .nav-links, .btn-nav { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .section-title { font-size: clamp(1.9rem, 6vw, 2.6rem); }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom-links { flex-wrap: wrap; justify-content: center; }
}

/* ── BADGE ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
  background: var(--gold-dim);
  border: 1px solid rgba(184,150,62,0.3);
  color: var(--gold-light);
}

/* ── STAT NUMBERS ── */
.stat-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.2rem;
  font-weight: 300;
  color: var(--gold-light);
  line-height: 1;
}
.stat-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--text-mid);
  margin-top: 6px;
}

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  padding: 160px 0 80px;
  background: linear-gradient(160deg, var(--navy-mid) 0%, var(--navy) 100%);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(184,150,62,0.08) 0%, transparent 60%);
}
.page-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* ── TAB SWITCHER ── */
.tab-group {
  display: flex;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.tab-btn {
  flex: 1;
  padding: 10px 20px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mid);
  background: transparent;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}
.tab-btn.active {
  background: var(--gold);
  color: var(--navy);
}
.tab-btn:hover:not(.active) { background: rgba(255,255,255,0.05); color: var(--white); }

/* ── PROGRESS BAR ── */
.progress-bar {
  height: 3px;
  background: var(--border);
  border-radius: 100px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 100px;
  transition: width 0.6s ease;
}

/* ── TOAST ── */
.toast {
  position: fixed;
  bottom: 32px;
  right: 32px;
  background: rgba(15, 51, 43,0.95);
  border: 1px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 18px 28px;
  color: var(--white);
  font-size: 0.9rem;
  z-index: 9999;
  animation: fadeUp 0.4s ease;
  backdrop-filter: blur(20px);
}
.toast.hidden { display: none; }
