/* ============================================================
   FAS — Fuerza Aérea Salvadoreña | style.css
   ============================================================ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Source+Sans+3:ital,wght@0,300;0,400;0,600;0,700;1,400&display=swap');

/* ── Variables ── */
:root {
  --negro:    #0A0E14;
  --acero:    #1C2A3A;
  --azul:     #2E5F8A;
  --dorado:   #C8A84B;
  --humo:     #E8E8E0;
  --verde:    #4A9B6F;
  --dorado-t: rgba(200,168,75,.18);
  --radio:    4px;
  --trans:    .3s ease;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Source Sans 3', sans-serif;
  background: var(--negro);
  color: var(--humo);
  line-height: 1.65;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── Tipografía utilitaria ── */
.label {
  font-family: 'Oswald', sans-serif;
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--dorado);
}
h1,h2,h3,h4 {
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  line-height: 1.15;
}
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.5rem); }

/* ── Layout helpers ── */
.container {
  width: min(1200px, 94%);
  margin-inline: auto;
}
.section-pad { padding-block: 80px; }

/* ── Borde dorado fino (firma modular) ── */
.card-border {
  border: 1px solid var(--dorado);
  border-radius: var(--radio);
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 1000;
  background: rgba(10,14,20,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--dorado-t);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  padding-inline: 24px;
  max-width: 1200px;
  margin-inline: auto;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-logo img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  border-radius: 50%;
  border: 1px solid var(--dorado);
}
.nav-logo-text {
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--humo);
  line-height: 1.2;
}
.nav-logo-text span {
  display: block;
  font-size: .65rem;
  letter-spacing: .2em;
  color: var(--dorado);
}

/*coordenada*/
.fas-status-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'Oswald', sans-serif;
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--fas-gold);
  text-transform: uppercase;
}

.fas-status-dot {
  width: 6px; height: 6px;
  background: #3fce70;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.fas-coord {
  font-size: 10px;
  color: rgba(212,216,220,0.4);
  font-family: 'Oswald', sans-serif;
  letter-spacing: 1px;
}

/* Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links a {
  font-family: 'Oswald', sans-serif;
  font-size: .82rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: var(--radio);
  color: var(--humo);
  transition: color var(--trans), background var(--trans);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--dorado);
  transform: scaleX(0);
  transition: transform var(--trans);
}
.nav-links a:hover { color: var(--dorado); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.active { color: var(--dorado); }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--humo);
  border-radius: 2px;
  transition: var(--trans);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.nav-mobile {
  display: none;
  flex-direction: column;
  background: var(--acero);
  border-top: 1px solid var(--dorado-t);
  padding: 16px 24px 24px;
  gap: 4px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--humo);
  padding: 10px 0;
  border-bottom: 1px solid var(--dorado-t);
  transition: color var(--trans);
}
.nav-mobile a:hover { color: var(--dorado); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 68px;
}

/* Imagen de fondo hero */
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(10,14,20,.88) 0%, rgba(28,42,58,.70) 60%, rgba(10,14,20,.85) 100%),
    url('img/pista.PNG') center/cover no-repeat;
}

/* Banda diagonal dorada — firma visual */
.hero-stripe {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, transparent 0%, var(--dorado) 20%, var(--dorado) 80%, transparent 100%);
}
.hero-stripe::before {
  content: '';
  position: absolute;
  top: -60px;
  left: -10%;
  width: 120%;
  height: 60px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(200,168,75,.06) 20%,
    rgba(200,168,75,.18) 50%,
    rgba(200,168,75,.06) 80%,
    transparent 100%);
  transform: skewY(-2deg);
}

/* Marcas de pista — decoración táctica */
.runway-marks {
  position: absolute;
  bottom: 14px;
  left: 0;
  width: 100%;
  display: flex;
  gap: 12px;
  padding-inline: 8vw;
  pointer-events: none;
}
.runway-marks span {
  flex: 1;
  height: 3px;
  background: var(--dorado);
  opacity: .35;
  border-radius: 2px;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-block: 80px 120px;
  width: min(720px, 90%);
  margin-inline: auto;
  text-align: center;
}

/* Escudo hero */
.hero-escudo {
  width: clamp(80px, 12vw, 130px);
  height: auto;
  margin-inline: auto;
  margin-bottom: 24px;
  filter: drop-shadow(0 0 18px rgba(200,168,75,.45));
}

.hero-eyebrow {
  font-family: 'Oswald', sans-serif;
  font-size: .75rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--dorado);
  margin-bottom: 12px;
}
.hero h1 {
  font-size: clamp(2rem, 6vw, 4rem);
  color: var(--humo);
  margin-bottom: 8px;
}
.hero h1 em {
  font-style: normal;
  color: var(--dorado);
}
.hero-sub {
  font-size: clamp(.95rem, 2vw, 1.15rem);
  color: rgba(232,232,224,.75);
  max-width: 520px;
  margin-inline: auto;
  margin-bottom: 36px;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-primary {
  font-family: 'Oswald', sans-serif;
  font-size: .85rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 12px 28px;
  background: var(--dorado);
  color: var(--negro);
  border-radius: var(--radio);
  border: 2px solid var(--dorado);
  cursor: pointer;
  transition: var(--trans);
}
.btn-primary:hover { background: transparent; color: var(--dorado); }
.btn-outline {
  font-family: 'Oswald', sans-serif;
  font-size: .85rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 12px 28px;
  background: transparent;
  color: var(--humo);
  border-radius: var(--radio);
  border: 2px solid rgba(232,232,224,.4);
  cursor: pointer;
  transition: var(--trans);
}
.btn-outline:hover { border-color: var(--dorado); color: var(--dorado); }

/* ============================================================
   SEPARADOR DIAGONAL — firma táctica entre secciones
   ============================================================ */
.diagonal-sep {
  position: relative;
  height: 64px;
  overflow: hidden;
  background: var(--negro);
}
.diagonal-sep::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--acero);
  clip-path: polygon(0 0, 100% 0, 100% 40%, 0 100%);
}
.diagonal-sep::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--dorado), transparent);
}
.diagonal-sep.inv::before {
  clip-path: polygon(0 0, 100% 60%, 100% 100%, 0 100%);
}

/* ============================================================
   SECCIÓN BIENVENIDA / COMANDANTE
   ============================================================ */
.welcome {
  background: var(--acero);
}
.welcome-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.welcome-photo-wrap {
  position: relative;
}
.welcome-photo-wrap img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top;
  border-radius: var(--radio);
  border: 1px solid var(--dorado);
  filter: grayscale(20%);
}
.welcome-photo-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(10,14,20,.88);
  border: 1px solid var(--dorado);
  border-radius: var(--radio);
  padding: 10px 16px;
}
.welcome-photo-badge .name {
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  text-transform: uppercase;
  color: var(--humo);
}
.welcome-photo-badge .rank {
  font-size: .78rem;
  color: var(--dorado);
  letter-spacing: .1em;
}

.welcome-text .label { margin-bottom: 10px; }
.welcome-text h2 { color: var(--humo); margin-bottom: 18px; }
.welcome-text p  { color: rgba(232,232,224,.82); margin-bottom: 14px; font-size: 1rem; }
.welcome-motto {
  font-family: 'Oswald', sans-serif;
  font-size: 1.25rem;
  color: var(--dorado);
  border-left: 3px solid var(--dorado);
  padding-left: 16px;
  margin-top: 24px;
  font-style: italic;
}

/* ============================================================
   CARRUSEL
   ============================================================ */

.carousel-section {
    background: var(--negro);
}

.carousel-section h2 {
    text-align: center;
    margin-bottom: 8px;
}

.carousel-section .label {
    text-align: center;
    display: block;
    margin-bottom: 40px;
}

.carousel-wrapper {
    position: relative;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform .5s ease;
}

/* 3 imágenes en escritorio */
.carousel-slide {
    min-width: calc(100% / 3);
    padding: 0 8px;
    flex:0 0 calc((100% - 40px) / 3);
    flex-shrink: 0;
}

/* TODAS LAS IMÁGENES TENDRÁN EXACTAMENTE EL MISMO TAMAÑO */
.carousel-slide img {
    width: 100%;
    height: 280px;          /* <-- Cambia este valor si las quieres más grandes o pequeñas */
    object-fit: cover;      /* Recorta la imagen sin deformarla */
    object-position: center;
    display: block;
    border-radius: var(--radio);
    border: 1px solid var(--dorado-t);
}

.carousel-slide-caption {
    margin-top: 10px;
    font-family: 'Oswald', sans-serif;
    font-size: .78rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--dorado);
    text-align: center;
}

/* ==========================
   TABLET
========================== */

@media (max-width: 992px){

    .carousel-slide{
        min-width: 50%;
    }

    .carousel-slide img{
        height:240px;
    }

}

/* ==========================
   MÓVIL
========================== */

@media (max-width: 768px){

    .carousel-slide{
        min-width:100%;
    }

    .carousel-slide img{
        height:210px;
    }

}

/* Controles */
.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
}
.carousel-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--dorado);
  background: transparent;
  color: var(--dorado);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--trans);
}
.carousel-btn:hover { background: var(--dorado); color: var(--negro); }
.carousel-dots {
  display: flex;
  gap: 8px;
}
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(200,168,75,.3);
  border: 1px solid var(--dorado);
  cursor: pointer;
  transition: background var(--trans);
}
.carousel-dot.active { background: var(--dorado); }

/* ============================================================
   NOTICIAS / ACTIVIDADES RECIENTES
   ============================================================ */
.news-section { background: var(--acero); }
.news-section h2 { margin-bottom: 8px; }
.news-section .label { display: block; margin-bottom: 40px; }

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.news-card {
  background: var(--negro);
  border: 1px solid var(--dorado-t);
  border-radius: var(--radio);
  overflow: hidden;
  transition: border-color var(--trans), transform var(--trans);
}
.news-card:hover { border-color: var(--dorado); transform: translateY(-4px); }

.news-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.news-card-body { padding: 18px; }
.news-card-date {
  font-size: .72rem;
  letter-spacing: .12em;
  color: var(--dorado);
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.news-card h3 { font-size: 1rem; color: var(--humo); margin-bottom: 8px; }
.news-card p  { font-size: .88rem; color: rgba(232,232,224,.7); }
.news-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-family: 'Oswald', sans-serif;
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--dorado);
  transition: gap var(--trans);
}
.news-card-link:hover { gap: 10px; }

/* ============================================================
   MÓDULOS — TABLERO DE OPERACIONES
   (Galería, Aeronaves, Museo, Historia)
   ============================================================ */
.ops-section { background: var(--negro); }
.ops-section h2 { text-align: center; margin-bottom: 8px; }
.ops-section > .container > .label { text-align: center; display: block; margin-bottom: 40px; }

.ops-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.ops-card {
  position: relative;
  border: 1px solid var(--dorado-t);
  border-radius: var(--radio);
  overflow: hidden;
  aspect-ratio: 16/9;
  cursor: pointer;
  transition: border-color var(--trans);
}
.ops-card:hover { border-color: var(--dorado); }

.ops-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease, filter .5s ease;
  filter: grayscale(30%) brightness(.8);
}
.ops-card:hover img { transform: scale(1.04); filter: grayscale(0%) brightness(.85); }

.ops-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,14,20,.88) 0%, transparent 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
}
.ops-card-tag {
  font-family: 'Oswald', sans-serif;
  font-size: .65rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--dorado);
  margin-bottom: 6px;
}
.ops-card h3 { color: var(--humo); font-size: 1.2rem; margin-bottom: 4px; }
.ops-card p  { font-size: .82rem; color: rgba(232,232,224,.7); }
.ops-card-arrow {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border: 1px solid var(--dorado);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dorado);
  font-size: .85rem;
  opacity: 0;
  transition: opacity var(--trans);
}
.ops-card:hover .ops-card-arrow { opacity: 1; }

/* ============================================================
   ESTADÍSTICAS / DATOS
   ============================================================ */
.stats-section {
  background: var(--acero);
  border-top: 1px solid var(--dorado-t);
  border-bottom: 1px solid var(--dorado-t);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  text-align: center;
  padding: 40px 20px;
  border-right: 1px solid var(--dorado-t);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--dorado);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: .82rem;
  letter-spacing: .1em;
  color: rgba(232,232,224,.65);
  text-transform: uppercase;
}

/* ============================================================
   MAPA / UBICACIÓN
   ============================================================ */
.location-section { background: var(--negro); }
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.location-text .label { margin-bottom: 10px; }
.location-text h2 { margin-bottom: 18px; }
.location-text p  { color: rgba(232,232,224,.78); margin-bottom: 12px; }
.location-info {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.location-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  background: var(--acero);
  border: 1px solid var(--dorado-t);
  border-radius: var(--radio);
}
.location-icon {
  font-size: 1.2rem;
  color: var(--dorado);
  flex-shrink: 0;
  margin-top: 2px;
}
.location-item strong {
  font-family: 'Oswald', sans-serif;
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--dorado);
  display: block;
  margin-bottom: 3px;
}
.location-item span { font-size: .9rem; color: rgba(232,232,224,.8); }

.location-map-img {
  width: 100%;
  border-radius: var(--radio);
  border: 1px solid var(--dorado);
  aspect-ratio: 4/3;
  object-fit: cover;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #060910;
  border-top: 1px solid var(--dorado-t);
  padding-top: 56px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  margin-bottom: 14px;
}
.footer-brand p {
  font-size: .88rem;
  color: rgba(232,232,224,.6);
  line-height: 1.7;
  max-width: 280px;
}
.footer-col h4 {
  font-family: 'Oswald', sans-serif;
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--dorado);
  margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a {
  font-size: .88rem;
  color: rgba(232,232,224,.6);
  transition: color var(--trans);
}
.footer-col ul a:hover { color: var(--dorado); }
.footer-bottom {
  border-top: 1px solid var(--dorado-t);
  padding-block: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  font-size: .78rem;
  color: rgba(232,232,224,.4);
}
.footer-socials {
  display: flex;
  gap: 12px;
}
.footer-social-btn {
  width: 34px;
  height: 34px;
  border: 1px solid var(--dorado-t);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(232,232,224,.5);
  font-size: .85rem;
  transition: var(--trans);
}
.footer-social-btn:hover { border-color: var(--dorado); color: var(--dorado); }

/* ============================================================
   PÁGINAS INTERNAS — Layout base
   ============================================================ */
.page-hero {
  padding-top: 68px;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(10,14,20,.6), rgba(10,14,20,.94)),
    url('img/page-hero-bg.jpg') center/cover no-repeat;
}
.page-hero-content {
  position: relative;
  z-index: 2;
  padding-block: 40px;
}
.page-hero-content .label { margin-bottom: 8px; }
.page-hero-content h1 { font-size: clamp(1.8rem, 4vw, 3rem); }

.page-stripe {
  width: 80px;
  height: 3px;
  background: var(--dorado);
  margin-top: 14px;
}

/* ── Página: Comandantes ── */
.comandantes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.comandante-card {
  background: var(--acero);
  border: 1px solid var(--dorado-t);
  border-radius: var(--radio);
  overflow: hidden;
  transition: border-color var(--trans), transform var(--trans);
}
.comandante-card:hover { border-color: var(--dorado); transform: translateY(-4px); }

.comandante-card img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: top;
  filter: grayscale(15%);
}
.comandante-card-body { padding: 18px; }
.comandante-card-body .rank {
  font-size: .72rem;
  letter-spacing: .14em;
  color: var(--dorado);
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.comandante-card-body h3 { font-size: 1.05rem; color: var(--humo); margin-bottom: 6px; }
.comandante-card-body p  { font-size: .85rem; color: rgba(232,232,224,.65); }

/* ── Página: Museo ── */
.museo-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 64px;
}
.museo-feature img {
  width: 100%;
  border-radius: var(--radio);
  border: 1px solid var(--dorado);
  aspect-ratio: 4/3;
  object-fit: cover;
}
.museo-salas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.sala-card {
  background: var(--acero);
  border: 1px solid var(--dorado-t);
  border-radius: var(--radio);
  padding: 24px;
  transition: border-color var(--trans);
}
.sala-card:hover { border-color: var(--dorado); }
.sala-num {
  font-family: 'Oswald', sans-serif;
  font-size: 2rem;
  color: var(--dorado-t);
  line-height: 1;
  margin-bottom: 12px;
}
.sala-card h3 { font-size: 1rem; color: var(--humo); margin-bottom: 8px; }
.sala-card p  { font-size: .85rem; color: rgba(232,232,224,.65); }

.boton-whatsapp {
    display: inline-block;
    background-color: #25D366;
    color: white;
    padding: 14px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    transition: 0.3s ease;
}

.boton-whatsapp:hover {
    background-color: #1ebe5d;
    transform: scale(1.05);
}

/* ── Página: Historia ── */
.timeline {
  position: relative;
  padding-left: 32px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--dorado), transparent);
}
.timeline-item {
  position: relative;
  padding-bottom: 48px;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -38px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--dorado);
  border: 2px solid var(--negro);
  box-shadow: 0 0 0 2px var(--dorado);
}
.timeline-year {
  font-family: 'Oswald', sans-serif;
  font-size: .75rem;
  letter-spacing: .18em;
  color: var(--dorado);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.timeline-item h3 { color: var(--humo); margin-bottom: 8px; }
.timeline-item p  { color: rgba(232,232,224,.72); font-size: .95rem; }

.timeline-img {
  margin-top: 16px;
  width: 100%;
  max-width: 520px;
  border-radius: var(--radio);
  border: 1px solid var(--dorado-t);
  aspect-ratio: 16/9;
  object-fit: cover;
}

/* ── Página: Quiénes Somos ── */
.mision-vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 48px;
}
.mv-card {
  background: var(--acero);
  border: 1px solid var(--dorado);
  border-radius: var(--radio);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
}
.mv-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--dorado);
}
.mv-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}
.mv-card h3 { color: var(--dorado); margin-bottom: 14px; }
.mv-card p  { color: rgba(232,232,224,.82); line-height: 1.75; }

.valores-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.valor-card {
  background: var(--negro);
  border: 1px solid var(--dorado-t);
  border-radius: var(--radio);
  padding: 24px;
  text-align: center;
  transition: border-color var(--trans);
}
.valor-card:hover { border-color: var(--dorado); }
.valor-icon { font-size: 1.8rem; margin-bottom: 12px; }
.valor-card h4 { font-size: .95rem; color: var(--dorado); margin-bottom: 8px; }
.valor-card p  { font-size: .85rem; color: rgba(232,232,224,.65); }

/* ── Página: CGFA ── */
.cgfa-org-chart {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.cgfa-level { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.cgfa-node {
  background: var(--acero);
  border: 1px solid var(--dorado-t);
  border-radius: var(--radio);
  padding: 16px 24px;
  text-align: center;
  min-width: 160px;
  transition: border-color var(--trans);
}
.cgfa-node:hover { border-color: var(--dorado); }
.cgfa-node.top {
  background: var(--azul);
  border-color: var(--dorado);
  min-width: 220px;
}
.cgfa-node h4 {
  font-family: 'Oswald', sans-serif;
  font-size: .85rem;
  text-transform: uppercase;
  color: var(--humo);
  margin-bottom: 4px;
}
.cgfa-node span { font-size: .75rem; color: var(--dorado); }

.cgfa-connector {
  width: 2px;
  height: 24px;
  background: var(--dorado-t);
}

/* ── Página: Servicios Aeronáuticos ── */
.servicios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.servicio-card {
  background: var(--acero);
  border: 1px solid var(--dorado-t);
  border-radius: var(--radio);
  padding: 32px 28px;
  transition: border-color var(--trans), transform var(--trans);
}
.servicio-card:hover { border-color: var(--dorado); transform: translateY(-4px); }
.servicio-icon {
  font-size: 2.4rem;
  margin-bottom: 18px;
  color: var(--dorado);
}
.servicio-card h3 { color: var(--humo); margin-bottom: 12px; font-size: 1.05rem; }
.servicio-card p  { color: rgba(232,232,224,.7); font-size: .9rem; line-height: 1.7; }
.servicio-badge {
  display: inline-flex;
  align-items: center;
  margin-top: 16px;
  padding: 4px 12px;
  border: 1px solid var(--dorado);
  border-radius: 20px;
  font-family: 'Oswald', sans-serif;
  font-size: .65rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--dorado);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid  { grid-template-columns: repeat(2, 1fr); }
  .stat-item   { border-right: none; border-bottom: 1px solid var(--dorado-t); }
  .stat-item:nth-child(odd)  { border-right: 1px solid var(--dorado-t); }
  .stat-item:last-child      { border-bottom: none; }
}

@media (max-width: 768px) {
  .section-pad { padding-block: 52px; }

  .welcome-grid   { grid-template-columns: 1fr; }
  .welcome-photo-wrap { max-width: 340px; margin-inline: auto; }

  /* Carrusel: 1 imagen a la vez en móvil */
  .carousel-slide { min-width: 100%; }

  .news-grid      { grid-template-columns: 1fr; }
  .ops-grid       { grid-template-columns: 1fr; }
  .location-grid  { grid-template-columns: 1fr; }
  .footer-grid    { grid-template-columns: 1fr; }
  .footer-bottom  { flex-direction: column; text-align: center; }

  .mision-vision-grid { grid-template-columns: 1fr; }
  .valores-grid       { grid-template-columns: 1fr 1fr; }
  .servicios-grid     { grid-template-columns: 1fr; }
  .comandantes-grid   { grid-template-columns: 1fr 1fr; }
  .museo-feature      { grid-template-columns: 1fr; }
  .museo-salas-grid   { grid-template-columns: 1fr; }

  .stats-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.9rem; }
  .valores-grid     { grid-template-columns: 1fr; }
  .comandantes-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   ACCESIBILIDAD
   ============================================================ */
:focus-visible {
  outline: 2px solid var(--dorado);
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}
