/* Águilas en Vuelo Pana — hoja de estilos
   Colores tomados del logo (rojo del manguito, sol) y del lago de Atitlán. */

@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo-latin-standard-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Public Sans";
  src: url("/assets/fonts/public-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --lake: #0B2239;       /* azul profundo del lago */
  --lake-deep: #061729;
  --ink: #101820;
  --paper: #FFFFFF;
  --mist: #EFF4F7;
  --muted: #55636E;
  --red: #C8102E;        /* rojo del logo */
  --red-dark: #9E0C24;
  --sun: #F2A33C;        /* sol del logo */
  --line: #DCE4EA;

  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "Public Sans", "Segoe UI", Tahoma, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 48px);
  --section: clamp(64px, 9vw, 112px);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1 0 auto; }

img { display: block; max-width: 100%; height: auto; }
a { color: var(--red); text-underline-offset: 3px; }
a:hover { color: var(--red-dark); }

:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 112%;
  line-height: 1.06;
  letter-spacing: -0.015em;
  margin: 0;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.35rem; font-weight: 700; }
p { margin: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--lake); color: #fff; border-radius: 6px; }
.skip:focus { top: 12px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 6px;
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 700;
  font-stretch: 105%;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1.2;
}
.btn-solid { background: var(--red); color: #fff; }
.btn-solid:hover { background: var(--red-dark); color: #fff; }
.btn-ghost { border: 2px solid rgba(255,255,255,0.75); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--lake); }
.section .btn-ghost { border-color: var(--lake); color: var(--lake); }
.section .btn-ghost:hover { background: var(--lake); color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Cabecera ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 26px; min-height: 80px; }
.brand { margin-right: auto; display: flex; align-items: center; }
.brand img { width: 150px; height: auto; }

.nav { display: flex; gap: 22px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 1rem; padding: 6px 0; }
.nav a:hover { color: var(--red); }
.nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--red); }

.menu-toggle { display: none; }

@media (max-width: 1000px) {
  .header-inner { gap: 10px; min-height: 68px; }
  .brand img { width: 118px; }
  .menu-toggle {
    display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px;
    border: 1px solid var(--line); border-radius: 6px; background: var(--paper); color: var(--ink);
    font: 600 0.95rem var(--body); cursor: pointer;
  }
  .header-cta { min-height: 44px; padding: 0 16px; font-size: 0.98rem; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: 4px var(--gutter) 14px;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav a:last-child { border-bottom: 0; }
}
@media (max-width: 400px) { .menu-toggle span { display: none; } }

/* ---------- Portada ---------- */
.hero { position: relative; display: flex; align-items: flex-end; min-height: min(82vh, 760px); overflow: hidden; background: var(--lake); }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,23,41,0.55) 0%, rgba(6,23,41,0.25) 35%, rgba(6,23,41,0.88) 100%); }
.hero-inner { position: relative; padding-top: clamp(80px, 14vw, 160px); padding-bottom: clamp(40px, 6vw, 72px); color: #fff; display: flex; flex-direction: column; gap: 18px; }
.hero h1 { max-width: 15ch; text-shadow: 0 2px 20px rgba(0,0,0,0.3); }
.kicker { font-family: var(--display); font-weight: 700; font-stretch: 105%; letter-spacing: 0.02em; color: var(--sun); }
.hero .lead { max-width: 54ch; font-size: 1.15rem; color: rgba(255,255,255,0.92); }
.hero .actions { margin-top: 8px; }

/* ---------- Datos ---------- */
.facts { background: var(--lake-deep); color: #fff; }
.facts-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; padding-top: 0; padding-bottom: 0; }
.facts-list > div { padding: 24px 0; }
.facts-list dfn { display: block; font-style: normal; font-size: 0.9rem; color: #9FB6C7; }
.facts-list b { font-family: var(--display); font-size: 1.3rem; font-weight: 700; font-stretch: 108%; }
@media (max-width: 800px) {
  .facts-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
  .facts-list > div { padding: 18px 0; }
}

/* ---------- Secciones ---------- */
.section { padding: var(--section) 0; }
.section-tint { background: var(--mist); }
.section-dark { background: var(--lake); color: #fff; }
.section-dark a { color: #fff; }
.section-intro { margin-top: 14px; font-size: 1.12rem; color: var(--muted); max-width: 62ch; }
.section-dark .section-intro { color: #C2D3DF; }
.note { margin-top: 18px; color: var(--muted); font-size: 0.98rem; }
.section-dark .note { color: #9FB6C7; }

.split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.split-text { display: flex; flex-direction: column; gap: 18px; }
.split-text p { max-width: 60ch; }
.split-text h3 { margin-top: 6px; }
.split-photo { margin: 0; }
.split-photo img { width: 100%; border-radius: 10px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.ticks { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 0.55em; width: 14px; height: 8px;
  border-left: 3px solid var(--red); border-bottom: 3px solid var(--red); transform: rotate(-45deg);
}

/* ---------- Tarjetas de actividades ---------- */
.cards { margin-top: 36px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.card { background: rgba(255,255,255,0.06); border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card h3 { margin: 20px 20px 8px; }
.card p { margin: 0 20px 22px; color: #C2D3DF; font-size: 0.98rem; }
@media (max-width: 1000px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }

/* ---------- Galería ---------- */
.gallery { margin-top: 36px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; height: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 10px; background: var(--mist); }
.gallery .g-wide { grid-column: span 2; }
.gallery .g-wide img { aspect-ratio: 16 / 9; }
@media (max-width: 800px) {
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery .g-wide { grid-column: span 2; }
}

/* ---------- Video ---------- */
.video { position: relative; margin-top: 32px; border-radius: 10px; overflow: hidden; aspect-ratio: 16 / 9; background: #000; }
.video img { width: 100%; height: 100%; object-fit: cover; opacity: 0.72; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-play {
  position: absolute; inset: 0; margin: auto; width: max-content; height: max-content;
  display: inline-flex; align-items: center; gap: 10px; padding: 16px 26px;
  border: 0; border-radius: 999px; background: var(--red); color: #fff; cursor: pointer;
  font: 700 1.05rem var(--display);
}
.video-play:hover { background: var(--red-dark); }

/* ---------- Precios ---------- */
.prices { margin-top: 36px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.price { padding: 28px; border: 1px solid var(--line); border-radius: 10px; border-top: 6px solid var(--red); }
.price h3 { font-size: 1.2rem; }
.price .amount { font-family: var(--display); font-size: 2.1rem; font-weight: 800; font-stretch: 110%; margin: 8px 0 10px; }
.price p:last-child { color: var(--muted); }
@media (max-width: 860px) { .prices { grid-template-columns: 1fr; } }

/* ---------- Misión y visión ---------- */
.mv { margin: 8px 0 0; display: grid; gap: 20px; }
.mv > div { padding-left: 18px; border-left: 4px solid var(--sun); }
.mv dt { font-family: var(--display); font-size: 1.2rem; font-weight: 700; }
.mv dd { margin: 4px 0 0; max-width: 60ch; }

/* ---------- Contacto ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 56px); }
.contact-list { margin: 24px 0; display: grid; gap: 18px; }
.contact-list dt { font-size: 0.9rem; color: var(--muted); font-weight: 600; }
.contact-list dd { margin: 3px 0 0; font-size: 1.2rem; font-weight: 600; overflow-wrap: anywhere; }
.contact-list dd a { text-decoration: none; }
.contact-list dd a:hover { text-decoration: underline; }
.social { margin: 22px 0 0; padding: 0; list-style: none; display: flex; gap: 18px; flex-wrap: wrap; font-weight: 600; }
.map { min-height: 400px; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: var(--mist); }
.map iframe { width: 100%; height: 100%; min-height: 400px; border: 0; display: block; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }

/* ---------- Preguntas frecuentes ---------- */
.page-head { background: var(--lake); color: #fff; padding: clamp(48px, 8vw, 96px) 0 clamp(36px, 5vw, 64px); }
.page-head .lead { margin-top: 16px; font-size: 1.15rem; color: #C2D3DF; max-width: 58ch; }
.faq article { padding: 30px 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.faq article:first-child { border-top: 0; padding-top: 0; }
.faq h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.faq p, .faq li { max-width: 68ch; }
.steps { margin: 0; padding-left: 22px; display: grid; gap: 10px; }
.cta-band { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.cta-band .actions { justify-content: center; }

/* ---------- Pie ---------- */
.site-footer { background: var(--lake-deep); color: #A9BECD; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; padding-top: 40px; padding-bottom: 40px; font-size: 0.97rem; }
.footer-inner img { background: #fff; padding: 8px 12px; border-radius: 8px; }
.footer-inner p { margin-top: 12px; max-width: 34ch; }
.footer-nav { display: flex; gap: 20px; flex-wrap: wrap; }
.site-footer a { color: #fff; }

/* ---------- 404 ---------- */
.notfound { padding: var(--section) 0; }
.notfound .actions { margin-top: 26px; }
