/* =============================================
   CITCP – Design System & Global Styles
   ============================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:          #0A0F1E;
  --bg-card:     rgba(26, 35, 64, 0.75);
  --green:       #6BBF3D;
  --green-dim:   rgba(107, 191, 61, 0.15);
  --green-border:rgba(107, 191, 61, 0.25);
  --green-glow:  rgba(107, 191, 61, 0.2);
  --white:       #FFFFFF;
  --slate:       #94A3B8;
  --border:      rgba(255,255,255,0.07);
  --nav-h:       72px;
  --radius:      12px;
  --radius-sm:   8px;
  --transition:  0.3s cubic-bezier(0.4,0,0.2,1);
}

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

body {
  font-family: 'Futura', 'Trebuchet MS', Arial, sans-serif;
  background: var(--bg);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ===== TYPOGRAPHY ===== */
h1,h2,h3,h4 { font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; }
.text-green  { color: var(--green); }

/* ===== LAYOUT ===== */
.container {
  max-width: 1800px;
  margin: 0 auto;
  padding: 0 60px;
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-block;
  background: var(--green);
  color: #0A0F1E;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 0 20px var(--green-glow);
  border: none;
  cursor: pointer;
  letter-spacing: 0.01em;
}
.btn-primary:hover {
  background: #7fd44a;
  box-shadow: 0 0 32px rgba(107,191,61,0.45);
  transform: translateY(-2px);
}
.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 11px 28px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  border: 1.5px solid rgba(107,191,61,0.6);
  transition: var(--transition);
  letter-spacing: 0.01em;
}
.btn-outline:hover {
  border-color: var(--green);
  background: var(--green-dim);
  transform: translateY(-2px);
}
.btn-lg { padding: 16px 36px; font-size: 1rem; }
.btn-text {
  color: var(--green);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
  display: inline-block;
  margin-top: 12px;
}
.btn-text:hover { opacity: 0.8; letter-spacing: 0.02em; }

/* ===== GLASS CARD ===== */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--green-border);
  border-radius: var(--radius);
  transition: var(--transition);
}
.glass-card:hover {
  border-color: rgba(107,191,61,0.5);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3), 0 0 20px var(--green-glow);
  transform: translateY(-4px);
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(10, 15, 30, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}
.navbar.scrolled {
  background: rgba(10, 15, 30, 0.97);
  box-shadow: 0 4px 24px rgba(0,0,0,0.4);
}
.nav-inner {
  max-width: 1800px;
  margin: 0 auto;
  padding: 0 60px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav-logo { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.logo-img  { height: 80px; width: auto; object-fit: contain; filter: drop-shadow(0 0 10px rgba(107,191,61,0.35)); }
.logo-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--slate);
  margin: 0 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.logo-uso {
  height: 50px;
  filter: brightness(1.2) drop-shadow(0 0 10px rgba(255,255,255,0.1));
}
.footer-logos {
  display: flex;
  align-items: center;
  margin-bottom: 24px;
}
.footer-logo {
  height: 60px;
  width: auto;
  object-fit: contain;
}
.footer-text {
  font-size: 0.8rem;
  margin: 0 12px;
}
.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 8px;
  margin-left: auto;
}
.nav-link {
  color: var(--slate);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 6px;
  transition: var(--transition);
}
.nav-link:hover { color: var(--white); background: rgba(255,255,255,0.06); }
.nav-cta { margin-left: 8px; padding: 10px 22px; font-size: 0.9rem; }
.theme-toggle {
  background: none;
  border: none;
  color: var(--slate);
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition);
  margin-left: 8px;
}
.theme-toggle:hover {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: var(--transition); }

/* ===== HERO ===== */
.hero {
  min-height: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: calc(var(--nav-h) + 40px) 60px 40px;
  position: relative;
  overflow: hidden;
  max-width: 1800px;
  margin: 0 auto;
}
.hero-main {
  display: flex;
  width: 100%;
  align-items: flex-start;
  gap: 100px;
}
.hero-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: url('bg-a320neo.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10,15,30,0.85) 0%,
    rgba(10,15,30,0.7) 40%,
    rgba(10,15,30,0.95) 100%
  );
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.35;
  animation: float 8s ease-in-out infinite;
}
.orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #1a4a0a, transparent 70%);
  top: -200px; right: -100px;
}
.orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #0d2a5a, transparent 70%);
  bottom: -100px; left: -100px;
  animation-delay: -4s;
}
@keyframes float {
  0%,100% { transform: translateY(0px) scale(1); }
  50%      { transform: translateY(-30px) scale(1.05); }
}
.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(107,191,61,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(107,191,61,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-content {
  flex: 1;
  max-width: 750px;
  z-index: 1;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-dim);
  border: 1px solid var(--green-border);
  color: var(--green);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 999px;
  margin-bottom: 28px;
}
.hero-title {
  font-size: clamp(3.5rem, 8vw, 6rem);
  font-weight: 900;
  margin-bottom: 24px;
  line-height: 1.05;
}
.hero-sub {
  font-size: 1.35rem;
  color: var(--slate);
  line-height: 1.7;
  margin-top: 40px;
  max-width: 100%;
}
.hero-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  width: 100%;
  margin-top: 60px;
}
.hero-actions .btn-lg {
  width: 100%;
  text-align: center;
  padding: 24px;
  font-size: 1.2rem;
}
.hero-illustration {
  flex: 0.8;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  z-index: 1;
  margin-top: 20px;
}

/* === HERO PLANE PHOTO === */
.hero-plane-wrap {
  position: relative;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.6), 0 0 40px rgba(107,191,61,0.12);
  border: 1px solid var(--green-border);
}
.hero-plane-img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: center 60%;
  display: block;
  transition: transform 6s ease;
}
.hero-plane-wrap:hover .hero-plane-img { transform: scale(1.04); }
.hero-plane-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10,15,30,0.55) 0%,
    rgba(10,15,30,0.1) 60%,
    rgba(107,191,61,0.08) 100%
  );
  pointer-events: none;
}

/* === NOSOTROS PHOTO === */
.nosotros-photo-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 30px rgba(107,191,61,0.1);
  border: 1px solid var(--green-border);
}
.nosotros-photo {
  width: 100%;
  height: 380px;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 6s ease;
}
.nosotros-photo-wrap:hover .nosotros-photo { transform: scale(1.04); }

/* ===== STATS BAR ===== */
.stats-bar {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(0,0,0,0.2);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.stat-card {
  padding: 32px 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.stat-icon { color: var(--green); }
.stat-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--green);
  line-height: 1;
}
.stat-label {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
}
.stat-desc { font-size: 0.88rem; color: var(--slate); }

/* ===== SECTIONS ===== */
.section { padding: 100px 0; }
.section-alt {
  background: rgba(0,0,0,0.15);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-header { margin-bottom: 64px; }
.section-header.centered { text-align: center; }
.section-tag {
  display: inline-block;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
  position: relative;
  padding-left: 20px;
}
.section-tag::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 12px; height: 2px;
  background: var(--green);
}
.section-header.centered .section-tag::before { display: none; }
.section-header.centered .section-tag { padding-left: 0; }
.section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--slate);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}
.section-body { font-size: 1rem; color: var(--slate); margin-bottom: 16px; line-height: 1.75; }
.section-cta { text-align: center; margin-top: 48px; }

/* ===== TWO-COL GRID ===== */
.section-grid.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.section-text { display: flex; flex-direction: column; gap: 0; }
.section-text .section-tag { margin-bottom: 16px; }
.section-text .section-title { margin-bottom: 20px; }
.section-text .btn-primary { margin-top: 28px; align-self: flex-start; }

/* ===== VALUES GRID ===== */
.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.value-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.value-icon { color: var(--green); }
.value-card h4 { font-size: 1rem; font-weight: 700; }
.value-card p  { font-size: 0.875rem; color: var(--slate); line-height: 1.6; }

/* ===== CARDS GRID ===== */
.cards-grid.three-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ===== PROGRAMA CARDS ===== */
.prog-card {
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
}
.prog-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
  opacity: 0;
  transition: var(--transition);
}
.prog-card:hover::before { opacity: 1; }
.featured-card {
  border-color: rgba(107,191,61,0.5);
  background: rgba(26, 64, 35, 0.4);
}
.featured-badge {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--green);
  color: #0A0F1E;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}
.prog-icon { color: var(--green); }
.prog-card h3 { font-size: 1.2rem; font-weight: 700; }
.prog-card p  { font-size: 0.9rem; color: var(--slate); line-height: 1.65; }
.prog-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
  padding: 0;
}
.prog-list li {
  font-size: 0.875rem;
  color: var(--slate);
  padding-left: 20px;
  position: relative;
}
.prog-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

/* ===== BENEFIT CARDS ===== */
.benefit-card {
  padding: 40px 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  text-align: left;
}
.benefit-icon { color: var(--green); }
.benefit-card h3 { font-size: 1.15rem; font-weight: 700; }
.benefit-card p  { font-size: 0.9rem; color: var(--slate); line-height: 1.65; flex: 1; }

/* ===== CTA SECTION ===== */
.cta-section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.cta-bg { position: absolute; inset: 0; pointer-events: none; }
.cta-orb {
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(107,191,61,0.08), transparent 60%);
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
}
.cta-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 64px 56px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  position: relative;
}
.cta-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
}
.cta-body { font-size: 1.05rem; color: var(--slate); max-width: 500px; }
.cta-actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }

/* ===== FOOTER ===== */
.footer {
  background: rgba(0,0,0,0.4);
  border-top: 1px solid var(--border);
  padding: 80px 0 0;
}
.footer-inner {}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--border);
}
.footer-logo { height: 48px; width: auto; margin-bottom: 20px; filter: drop-shadow(0 0 8px rgba(107,191,61,0.25)); }
.footer-desc { font-size: 0.9rem; color: var(--slate); line-height: 1.7; margin-bottom: 24px; }
.social-links { display: flex; gap: 12px; }
.social-link {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px;
  border: 1px solid var(--green-border);
  color: var(--slate);
  text-decoration: none;
  transition: var(--transition);
}
.social-link:hover {
  border-color: var(--green);
  color: var(--green);
  background: var(--green-dim);
  transform: translateY(-2px);
}
.footer-heading {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a, .footer-contact a {
  color: var(--slate);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
}
.footer-links a:hover, .footer-contact a:hover { color: var(--green); }
.footer-contact { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.footer-contact li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.875rem;
  color: var(--slate);
  line-height: 1.6;
}
.footer-contact li svg { flex-shrink: 0; margin-top: 2px; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom p { font-size: 0.8rem; color: var(--slate); }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { font-size: 0.8rem; color: var(--slate); text-decoration: none; transition: var(--transition); }
.footer-legal a:hover { color: var(--green); }

/* ===== DELEGADOS BUTTON & MODAL ===== */
.btn-delegados-trigger {
  cursor: pointer;
  font-family: inherit;
}

.mobile-only-link {
  display: none;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10, 15, 30, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  width: 90%;
  max-width: 440px;
  padding: 40px;
  position: relative;
  text-align: center;
  transform: translateY(20px);
  transition: transform var(--transition);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(107, 191, 61, 0.15);
}

.modal-overlay.active .modal-card {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: var(--slate);
  font-size: 1.75rem;
  cursor: pointer;
  line-height: 1;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition);
}

.modal-close:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.modal-icon {
  margin-bottom: 20px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--green-dim);
  border: 1px solid var(--green-border);
  box-shadow: 0 0 20px rgba(107, 191, 61, 0.1);
}

.modal-title {
  font-size: 1.75rem;
  margin-bottom: 8px;
  color: var(--white);
}

.modal-subtitle {
  font-size: 0.95rem;
  color: var(--slate);
  margin-bottom: 28px;
  line-height: 1.5;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.modal-input-group {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.modal-input-group input {
  width: 100%;
  padding: 14px 48px 14px 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

.modal-input-group input:focus {
  outline: none;
  border-color: var(--green);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 16px rgba(107, 191, 61, 0.15);
}

.toggle-password {
  position: absolute;
  right: 14px;
  background: none;
  border: none;
  color: var(--slate);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 2;
}

.toggle-password:hover {
  color: var(--white);
}

.toggle-password svg {
  display: block;
}

.error-message {
  color: #ef4444;
  font-size: 0.875rem;
  text-align: left;
  min-height: 20px;
  margin-top: -10px;
  display: none;
  font-weight: 500;
}

.error-message.visible {
  display: block;
}

.modal-actions {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 12px;
  margin-top: 10px;
}

.modal-actions button {
  width: 100%;
  padding: 12px;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.modal-actions .btn-outline {
  font-family: inherit;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  color: var(--slate);
  background: transparent;
  display: block;
  text-align: center;
}

.modal-actions .btn-outline:hover {
  border-color: var(--white);
  color: var(--white);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
}

/* Shake animation for errors */
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-8px); }
  40%, 80% { transform: translateX(8px); }
}

.modal-card.shake {
  animation: shake 0.4s ease-in-out;
  border-color: #ef4444;
  box-shadow: 0 0 25px rgba(239, 68, 68, 0.2);
}

/* Light mode overrides for Modal */
body.light-mode .modal-overlay {
  background: rgba(248, 250, 252, 0.65);
}

body.light-mode .modal-input-group input {
  background: rgba(0, 0, 0, 0.03);
  color: #0A0F1E;
}

body.light-mode .modal-input-group input:focus {
  background: rgba(0, 0, 0, 0.01);
}

body.light-mode .modal-actions .btn-outline {
  border-color: rgba(0, 0, 0, 0.15);
  color: var(--slate);
}

body.light-mode .modal-actions .btn-outline:hover {
  border-color: #0A0F1E;
  color: #0A0F1E;
  background: rgba(0, 0, 0, 0.05);
}

/* ===== MOBILE NAV & RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-main { gap: 40px; }
  .nav-inner { padding: 0 30px; gap: 24px; }
}

@media (max-width: 900px) {
  .nav-inner { gap: 16px; }
  .nav-links, .nav-cta { display: none; }
  .mobile-only-link { display: block; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-h); left: 0; right: 0;
    background: rgba(10,15,30,0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 20px 24px;
    gap: 4px;
  }
  .nav-links.open li a { display: block; padding: 12px 16px; }
  .theme-toggle { margin-left: auto; margin-right: 12px; }
  .hamburger { display: flex; margin-left: 0; }
  
  /* Hero Responsive */
  .hero { 
    padding: calc(var(--nav-h) + 30px) 24px 60px; 
    text-align: center;
    align-items: center;
  }
  .hero-main { 
    flex-direction: column; 
    align-items: center;
    gap: 40px;
  }
  .hero-content { max-width: 100%; }
  .hero-title { font-size: clamp(2.5rem, 10vw, 3.5rem); }
  .hero-illustration { 
    flex: none; 
    width: 100%; 
    max-width: 450px; 
    margin: 0 auto;
  }
  .hero-plane-img { height: 200px; }
  .hero-sub { margin-top: 30px; font-size: 1.15rem; }
  
  .hero-actions { 
    grid-template-columns: 1fr; 
    margin-top: 40px;
    gap: 16px;
  }
  .hero-actions .btn-lg { padding: 18px; font-size: 1.1rem; }

  /* Sections */
  .stats-grid { grid-template-columns: 1fr; gap: 16px; }
  .section { padding: 80px 24px; }
  .section-grid.two-col { grid-template-columns: 1fr; gap: 48px; }
  .nosotros-photo { height: 260px; }
  .cards-grid.three-col { grid-template-columns: 1fr; gap: 20px; }
  
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 20px; }
  .footer-logos { justify-content: center; }
}

@media (max-width: 600px) {
  .nav-inner { padding: 0 16px; gap: 10px; }
  .logo-img { height: 45px; }
  .logo-text { margin: 0 6px; font-size: 0.7rem; }
  .logo-uso { height: 32px; }
  
  .hero-title { font-size: 2.2rem; }
  .section-title { font-size: 1.8rem; }
  .cta-title { font-size: 1.7rem; }
  .cta-content { padding: 40px 20px; }
  
  .badge { font-size: 0.75rem; padding: 6px 14px; margin-bottom: 20px; }
}

/* ===== SCROLL ANIMATIONS ===== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== LIGHT MODE STYLES ===== */
body.light-mode {
  --bg:          #F8FAFC;
  --bg-card:     rgba(255, 255, 255, 0.85);
  --green:       #5CA833;
  --green-dim:   rgba(92, 168, 51, 0.15);
  --green-border:rgba(92, 168, 51, 0.25);
  --green-glow:  rgba(92, 168, 51, 0.2);
  --white:       #0A0F1E;
  --slate:       #475569;
  --border:      rgba(0,0,0,0.1);
}

body.light-mode .navbar {
  background: rgba(248, 250, 252, 0.85);
}
body.light-mode .navbar.scrolled {
  background: rgba(248, 250, 252, 0.97);
  box-shadow: 0 4px 24px rgba(0,0,0,0.1);
}
body.light-mode .nav-links.open {
  background: rgba(248, 250, 252, 0.98);
}
body.light-mode .hero-bg::after {
  background: linear-gradient(
    to bottom,
    rgba(248,250,252,0.85) 0%,
    rgba(248,250,252,0.7) 40%,
    rgba(248,250,252,0.95) 100%
  );
}
body.light-mode .hero-plane-overlay {
  background: linear-gradient(
    135deg,
    rgba(248,250,252,0.55) 0%,
    rgba(248,250,252,0.1) 60%,
    rgba(107,191,61,0.08) 100%
  );
}
body.light-mode .footer {
  background: rgba(0,0,0,0.03);
}
body.light-mode .section-alt {
  background: rgba(0,0,0,0.02);
}
body.light-mode .logo-img {
  filter: drop-shadow(0 0 10px rgba(107,191,61,0.15));
}
body.light-mode .logo-uso {
  filter: brightness(0.8) drop-shadow(0 0 10px rgba(0,0,0,0.1));
}

body.light-mode .hamburger span {
  background: var(--white);
}

body.light-mode::after {
  background: linear-gradient(to bottom, rgba(248,250,252,0.85) 0%, rgba(248,250,252,0.95) 100%);
}

body.light-mode .input-group input,
body.light-mode .input-group select {
  background: rgba(255, 255, 255, 0.5);
}
body.light-mode .input-group input:focus,
body.light-mode .input-group select:focus {
  background: rgba(255, 255, 255, 0.8);
}
body.light-mode .step-num {
  background: rgba(255,255,255,0.8);
}
body.light-mode .rgpd-box {
  background: rgba(255,255,255,0.5);
}
