/* ============================================================
   Summit Wings — Main Stylesheet
   Premium wingsuit program landing page
   ============================================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --color-bg: #0a0a0f;
  --color-bg-alt: #111118;
  --color-bg-card: #16161f;
  --color-text: #e8e8ec;
  --color-text-muted: #9a9aaf;
  --color-accent: #c8a456;
  --color-accent-light: #dfc17a;
  --color-accent-dark: #a8863a;
  --color-white: #ffffff;
  --color-border: #2a2a35;
  --color-danger: #e74c3c;
  --color-success: #27ae60;
  --font-heading: 'Oswald', 'Bebas Neue', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;
  --max-width: 1200px;
  --header-height: 70px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--color-accent-light); }

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

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.6rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); margin-bottom: 0.6rem; }
h4 { font-size: 1.1rem; margin-bottom: 0.4rem; }

.section-subtitle {
  color: var(--color-accent);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.5rem;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-height);
  background: rgba(10,10,15,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  z-index: 1000;
  display: flex;
  align-items: center;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.site-header .logo img {
  height: 45px;
  width: auto;
}

.site-nav { display: flex; gap: 24px; align-items: center; }
.site-nav a {
  color: var(--color-text);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: color .2s;
}
.site-nav a:hover { color: var(--color-accent); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-text);
  font-size: 1.6rem;
  cursor: pointer;
}

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-height);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img,
.hero-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10,10,15,0.6) 0%,
    rgba(10,10,15,0.65) 40%,
    rgba(10,10,15,0.85) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 40px 24px;
}

.hero-content h1 {
  color: var(--color-white);
  margin-bottom: 0.6rem;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}

.hero-content .tagline {
  font-size: 1.15rem;
  color: var(--color-accent);
  font-family: var(--font-heading);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero-content p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.9);
  max-width: 600px;
  margin: 0 auto 2rem;
  text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 2rem;
}

.hero-stat {
  text-align: center;
}

.hero-stat .value {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--color-accent);
  display: block;
  text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}

.hero-stat .label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.7);
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 3px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  border: none;
  transition: all .25s;
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-bg);
}
.btn-primary:hover {
  background: var(--color-accent-light);
  color: var(--color-bg);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200,164,86,0.3);
}

.btn-outline {
  background: transparent;
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
}
.btn-outline:hover {
  background: var(--color-accent);
  color: var(--color-bg);
}

.btn-sm { padding: 10px 24px; font-size: 0.8rem; }

/* ---------- Sections ---------- */
section {
  padding: 100px 0;
}

section:nth-child(even) {
  background: var(--color-bg-alt);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  color: var(--color-white);
}

.section-header p {
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* ---------- Journey / Program Structure ---------- */
.journey-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.journey-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 32px 28px;
  position: relative;
  transition: transform .3s, box-shadow .3s;
}

.journey-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}

.journey-card .phase-badge {
  position: absolute;
  top: -14px;
  left: 28px;
  background: var(--color-accent);
  color: var(--color-bg);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  padding: 4px 14px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.journey-card h3 {
  margin-top: 8px;
  color: var(--color-white);
}

.journey-card p {
  color: var(--color-text-muted);
  font-size: 0.92rem;
}

.journey-card ul {
  list-style: none;
  padding: 0;
  margin-top: 12px;
}

.journey-card ul li {
  padding: 4px 0 4px 20px;
  position: relative;
  color: var(--color-text-muted);
  font-size: 0.88rem;
}

.journey-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 700;
}

/* ---------- Program Phases Timeline ---------- */
.timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--color-border);
}

.timeline-item {
  position: relative;
  padding-left: 60px;
  margin-bottom: 40px;
}

.timeline-item::before {
  content: attr(data-phase);
  position: absolute;
  left: 10px;
  top: 0;
  width: 30px;
  height: 30px;
  background: var(--color-accent);
  color: var(--color-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
}

.timeline-item h4 {
  color: var(--color-white);
  font-size: 1.1rem;
}

.timeline-item p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

/* ---------- Safety Section ---------- */
.safety-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.safety-item {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 24px;
  text-align: center;
}

.safety-item i {
  font-size: 2rem;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.safety-item h4 {
  color: var(--color-white);
  margin-bottom: 8px;
}

.safety-item p {
  color: var(--color-text-muted);
  font-size: 0.88rem;
}

/* ---------- Pricing / Tiers ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 40px 32px;
  text-align: center;
  position: relative;
  transition: transform .3s;
}

.pricing-card.featured {
  border-color: var(--color-accent);
  box-shadow: 0 0 40px rgba(200,164,86,0.15);
}

.pricing-card.featured::before {
  content: 'MOST POPULAR';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-accent);
  color: var(--color-bg);
  font-family: var(--font-heading);
  font-size: 0.7rem;
  padding: 4px 16px;
  border-radius: 3px;
  letter-spacing: 0.1em;
}

.pricing-card:hover {
  transform: translateY(-4px);
}

.pricing-card h3 {
  color: var(--color-accent);
  margin-bottom: 4px;
}

.pricing-card .price {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  color: var(--color-white);
  margin: 12px 0;
}

.pricing-card .price span {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.pricing-card ul {
  list-style: none;
  text-align: left;
  margin: 20px 0;
}

.pricing-card ul li {
  padding: 6px 0 6px 20px;
  position: relative;
  color: var(--color-text-muted);
  font-size: 0.88rem;
  border-bottom: 1px solid var(--color-border);
}

.pricing-card ul li:last-child { border-bottom: none; }

.pricing-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 700;
}

/* ---------- FAQ ---------- */
.faq-list { max-width: 750px; margin: 0 auto; }

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 40px 20px 0;
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  position: relative;
  transition: color .2s;
}

.faq-question:hover { color: var(--color-accent); }

.faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: var(--color-accent);
  transition: transform .3s;
}

.faq-item.active .faq-question::after {
  content: '−';
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease;
}

.faq-answer-inner {
  padding: 0 0 20px;
  color: var(--color-text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* ---------- Instructor / Trust ---------- */
.instructor-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.instructor-photo {
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid var(--color-border);
}

.instructor-info h3 { color: var(--color-white); }

.instructor-info .credentials {
  margin-top: 16px;
}

.instructor-info .credentials li {
  list-style: none;
  padding: 6px 0 6px 24px;
  position: relative;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.instructor-info .credentials li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--color-accent);
}

.instructor-cta {
  margin-top: 24px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- Logos / Authorities ---------- */
.logos-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.logo-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 28px;
  background: rgba(255,255,255,0.92);
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
  transition: transform .3s, box-shadow .3s, border-color .3s;
}

.logo-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(200,164,86,0.2), 0 2px 12px rgba(0,0,0,0.3);
  border-color: rgba(200,164,86,0.4);
}

.logo-card img {
  height: 42px;
  width: auto;
  display: block;
  filter: none;
  opacity: 1;
}

/* ---------- Contact CTA ---------- */
.cta-section {
  text-align: center;
  padding: 80px 0;
}

.cta-section h2 { color: var(--color-white); }

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 24px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  padding: 40px 0 24px;
  text-align: center;
}

.site-footer .footer-logo img {
  height: 60px;
  margin: 0 auto 16px;
}

.site-footer .footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 16px;
}

.site-footer .footer-links a {
  color: var(--color-text-muted);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.site-footer .footer-links a:hover { color: var(--color-accent); }

.site-footer .copyright {
  color: var(--color-text-muted);
  font-size: 0.78rem;
}

/* ---------- Modal ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
}

.modal-overlay.active { display: flex; }

.modal-box {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  max-width: 540px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 40px 32px;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  color: var(--color-text-muted);
  font-size: 1.6rem;
  cursor: pointer;
  transition: color .2s;
}

.modal-close:hover { color: var(--color-white); }

.modal-box h3 {
  color: var(--color-white);
  margin-bottom: 20px;
  text-align: center;
}

/* ---------- Forms ---------- */
.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  color: var(--color-text-muted);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 12px 14px;
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 0.92rem;
  transition: border-color .2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-accent);
}

.form-group textarea { min-height: 100px; resize: vertical; }

.form-success {
  background: rgba(39,174,96,0.15);
  border: 1px solid var(--color-success);
  color: var(--color-success);
  padding: 14px;
  border-radius: 4px;
  text-align: center;
  margin-bottom: 16px;
  display: none;
}

.form-error {
  background: rgba(231,76,60,0.15);
  border: 1px solid var(--color-danger);
  color: var(--color-danger);
  padding: 14px;
  border-radius: 4px;
  text-align: center;
  margin-bottom: 16px;
  display: none;
}

/* ---------- Cookie Banner ---------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-bg-card);
  border-top: 1px solid var(--color-border);
  padding: 20px 24px;
  z-index: 3000;
  display: none;
}

.cookie-banner.show { display: block; }

.cookie-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.cookie-text {
  flex: 1;
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

.cookie-text a { text-decoration: underline; }

.cookie-buttons {
  display: flex;
  gap: 10px;
}

/* ---------- WhatsApp Float ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1500;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  transition: transform .3s;
}

.whatsapp-float:hover { transform: scale(1.1); }
.whatsapp-float i { font-size: 1.8rem; color: #fff; }

/* ---------- Superlatives Modal ---------- */
.fact-ref {
  cursor: pointer;
  color: var(--color-accent);
  text-decoration: underline dotted;
  font-size: 0.75rem;
  vertical-align: super;
}

/* ---------- Legal Pages ---------- */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 60px;
}

.legal-content h1 { margin-bottom: 1.5rem; color: var(--color-white); }
.legal-content h2 { margin-top: 2rem; color: var(--color-white); }
.legal-content h3 { margin-top: 1.5rem; color: var(--color-text); }
.legal-content p { margin-bottom: 1rem; color: var(--color-text-muted); }
.legal-content ul, .legal-content ol {
  margin: 12px 0 12px 24px;
  color: var(--color-text-muted);
}
.legal-content li { margin-bottom: 6px; }

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .site-nav { display: none; }
  .site-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    padding: 20px 24px;
    gap: 16px;
  }
  .nav-toggle { display: block; }

  .hero-stats { flex-direction: column; gap: 16px; }
  .instructor-section { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }

  .cookie-inner { flex-direction: column; text-align: center; }
}
