/* =========================================================
   AVENTURMED — HOJA DE ESTILOS
   Azul principal #206D99 · Verde #29A036 · Tipografía Nunito
   ========================================================= */

/* ---------- 1. Variables y base ---------- */

:root {
  --azul: #206D99;
  --azul-dark: #154B69;
  --azul-deep: #0E3550;
  --verde: #29A036;
  --verde-dark: #1E7E2A;
  --verde-light: #38B645;
  --blanco: #FFFFFF;
  --fondo: #F5F7F6;
  --fondo-azul: #EAF3F7;
  --oscuro: #172126;
  --gris: #5E6B70;
  --gris-light: #A7B0B3;

  --radio: 24px;
  --sombra: 0 14px 40px rgba(23, 33, 38, .08);
  --sombra-hover: 0 26px 60px rgba(23, 33, 38, .16);
  --font: 'Nunito', Arial, Helvetica, sans-serif;
  --header-h: 84px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  overflow-x: hidden;
  font-family: var(--font);
  color: var(--oscuro);
  background: var(--blanco);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video { display: block; max-width: 100%; }

a { color: inherit; }

h1, h2, h3 {
  margin: 0;
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.03em;
}

p { margin: 0; line-height: 1.7; }

.av-container { width: min(1240px, 92%); margin: 0 auto; }

.av-section { padding: 120px 0; }

.av-heading-label {
  display: block;
  margin-bottom: 14px;
  color: var(--verde);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.av-green-text { color: var(--verde-light); }

:focus-visible { outline: 3px solid var(--verde-light); outline-offset: 3px; }


/* ---------- 2. Botones ---------- */

.av-buttons { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }

.av-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 30px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: background .3s ease, transform .3s ease, box-shadow .3s ease;
}

.av-btn:hover { transform: translateY(-3px); }

.av-btn-green { background: var(--verde); color: #fff; box-shadow: 0 10px 30px rgba(41,160,54,.32); }
.av-btn-green:hover { background: var(--verde-dark); }

.av-btn-white { background: #fff; color: var(--azul-dark); }
.av-btn-white:hover { background: #EEF3F5; }

.av-btn-blue { background: var(--azul); color: #fff; }
.av-btn-blue:hover { background: var(--azul-dark); box-shadow: 0 12px 25px rgba(32,109,153,.25); }


/* ---------- 3. Header ---------- */

.av-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  padding: 22px 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.5), rgba(0,0,0,0));
  transition: background .35s ease, padding .35s ease, box-shadow .35s ease;
}

/* Al hacer scroll (o en páginas sin portada) el header se vuelve sólido */
.av-header.is-solid,
.av-header.is-scrolled {
  padding: 12px 0;
  background: rgba(21, 75, 105, .94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0,0,0,.15);
}

.av-header-inner {
  width: min(1400px, 92%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.av-logo {
  position: relative;
  z-index: 1002;
  color: #fff;
  text-decoration: none;
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -1px;
}

.av-logo span, .av-footer-logo span { color: var(--verde-light); }

.av-logo { display: block; line-height: 0; }
.av-logo img { height: 58px; width: auto; filter: drop-shadow(0 3px 8px rgba(0,0,0,.25)); transition: height .35s ease; }
.av-header.is-scrolled .av-logo img,
.av-header.is-solid .av-logo img { height: 48px; }
.av-footer-logo img { height: 64px; width: auto; }

.av-nav { display: flex; align-items: center; gap: 32px; }

.av-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  transition: color .25s ease;
}

.av-nav a:not(.av-reserve):hover,
.av-nav a[aria-current="page"] { color: var(--verde-light); }

.av-reserve {
  padding: 13px 24px;
  border-radius: 50px;
  background: var(--verde);
  font-size: 13px !important;
  font-weight: 800 !important;
  letter-spacing: .04em;
  text-transform: uppercase;
  box-shadow: 0 8px 25px rgba(41,160,54,.3);
  transition: background .3s ease, transform .3s ease !important;
}

.av-reserve:hover { background: var(--verde-dark); transform: translateY(-2px); }

.av-menu-toggle {
  display: none;
  position: relative;
  z-index: 1002;
  width: 46px;
  height: 46px;
  padding: 10px;
  border: 0;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.av-menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  border-radius: 10px;
  background: #fff;
  transition: transform .3s ease, opacity .3s ease;
}


/* ---------- 4. Hero ---------- */

.av-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background: var(--azul-dark) url('media/guatape-grupo.jpg') center / cover no-repeat;
}

.av-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  pointer-events: none;
}

.av-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(90deg,
    rgba(21,75,105,.94) 0%,
    rgba(32,109,153,.74) 43%,
    rgba(21,75,105,.28) 75%,
    rgba(0,0,0,.10) 100%);
}

.av-hero-content {
  position: relative;
  z-index: 5;
  width: min(1240px, 92%);
  margin: 0 auto;
  padding: 140px 0 110px;
  color: #fff;
}

.av-hero-pill {
  display: inline-block;
  margin-bottom: 26px;
  padding: 9px 18px;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 50px;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(5px);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.av-hero h1 {
  max-width: 900px;
  font-size: clamp(58px, 8vw, 112px);
  font-weight: 900;
  line-height: .92;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.av-hero h1 span { color: var(--verde-light); }

.av-hero-text {
  max-width: 600px;
  margin: 32px 0 36px;
  color: rgba(255,255,255,.92);
  font-size: 18px;
}

.av-hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 34px;
  margin: 48px 0 0;
  padding: 24px 0 0;
  list-style: none;
  border-top: 1px solid rgba(255,255,255,.18);
  max-width: 620px;
  color: rgba(255,255,255,.75);
  font-size: 14px;
}

.av-hero-facts strong { color: #fff; font-weight: 900; margin-right: 4px; }

.av-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  z-index: 5;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: #fff;
  text-decoration: none;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.av-scroll span { animation: avBounce 2s ease-in-out infinite; }

@keyframes avBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}


/* ---------- 5. Cinta de anuncios ---------- */

.av-announcement-bar {
  position: relative;
  display: flex;
  align-items: center;
  height: 64px;
  overflow: hidden;
  background: linear-gradient(90deg, #154B69 0%, #206D99 35%, #258B70 68%, #29A036 100%);
}

.av-announcement-bar::before,
.av-announcement-bar::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 90px;
  z-index: 2;
  pointer-events: none;
}

.av-announcement-bar::before { left: 0; background: linear-gradient(90deg, #154B69, rgba(21,75,105,0)); }
.av-announcement-bar::after { right: 0; background: linear-gradient(270deg, #29A036, rgba(41,160,54,0)); }

.av-announcement-track {
  display: flex;
  width: max-content;
  animation: avMarquee 32s linear infinite;
  will-change: transform;
}

.av-announcement-bar:hover .av-announcement-track { animation-play-state: paused; }

.av-announcement-content { display: flex; align-items: center; flex-shrink: 0; }

.av-announcement-content span {
  padding: 0 34px;
  white-space: nowrap;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

@keyframes avMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}


/* ---------- 6. Aventuras ---------- */

.av-adventures { background: var(--fondo); }

.av-heading { margin-bottom: 54px; }

.av-heading h2,
.av-video-header h2,
.av-reviews-header h2,
.av-feature-content h2,
.av-why-title h2,
.av-cta-content h2 {
  font-size: clamp(42px, 5.6vw, 76px);
  color: var(--azul-dark);
}

.av-heading p { max-width: 600px; margin-top: 22px; color: var(--gris); font-size: 17px; }

.av-adventure-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  grid-template-rows: 360px 360px;
  gap: 20px;
}

.av-adventure-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radio);
  text-decoration: none;
  background: var(--azul-dark);
}

.av-adventure-card:first-child { grid-row: span 2; }

.av-adventure-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s cubic-bezier(.2,.7,.2,1);
}

.av-adventure-card:hover img { transform: scale(1.07); }

.av-card-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to top, rgba(0,0,0,.78), rgba(0,0,0,.05) 70%);
}

.av-card-content { position: absolute; left: 30px; right: 30px; bottom: 28px; z-index: 2; color: #fff; }

.av-card-tag {
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 12px;
  border-radius: 50px;
  background: rgba(255,255,255,.16);
  backdrop-filter: blur(6px);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.av-card-content h3 { font-size: clamp(28px, 3vw, 40px); }

.av-card-content p { margin-top: 8px; color: rgba(255,255,255,.85); font-size: 14px; }

.av-card-cta {
  display: inline-block;
  margin-top: 14px;
  color: var(--verde-light);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .35s ease, transform .35s ease;
}

.av-adventure-card:hover .av-card-cta,
.av-adventure-card:focus-visible .av-card-cta { opacity: 1; transform: translateY(0); }


/* ---------- 7. Por qué elegirnos ---------- */

.av-why {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 85% 15%, rgba(41,160,54,.18), transparent 28%),
    radial-gradient(circle at 10% 85%, rgba(255,255,255,.07), transparent 30%),
    linear-gradient(135deg, #154B69 0%, #206D99 55%, #185F86 100%);
}

.av-why-orb {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.10);
  pointer-events: none;
}

.av-why-orb-1 { width: 520px; height: 520px; right: -250px; top: -220px; }
.av-why-orb-2 { width: 350px; height: 350px; left: -230px; bottom: -190px; }

.av-why-top {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.5fr .7fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 72px;
}

.av-why-title .av-heading-label { color: #58C864; }
.av-why-title h2 { max-width: 850px; color: #fff; }

.av-why-intro { padding-left: 30px; border-left: 2px solid rgba(255,255,255,.2); }

.av-why-intro-number {
  display: block;
  margin-bottom: 10px;
  color: var(--verde-light);
  font-size: 68px;
  font-weight: 900;
  line-height: .8;
  letter-spacing: -3px;
}

.av-why-intro p { max-width: 260px; color: rgba(255,255,255,.72); font-size: 14px; }

.av-benefits {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255,255,255,.16);
  border-bottom: 1px solid rgba(255,255,255,.16);
}

.av-benefit {
  position: relative;
  min-height: 340px;
  padding: 38px 30px 60px;
  border-right: 1px solid rgba(255,255,255,.13);
  transition: background .35s ease;
}

.av-benefit:last-child { border-right: 0; }
.av-benefit:hover { background: rgba(255,255,255,.07); }

.av-benefit-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 42px; }

.av-benefit-number { color: rgba(255,255,255,.28); font-size: 13px; font-weight: 900; letter-spacing: .14em; }

.av-benefit-icon {
  width: 66px;
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: var(--verde);
  box-shadow: 0 12px 30px rgba(0,0,0,.14);
  transition: transform .3s ease, background .3s ease;
}

.av-benefit:hover .av-benefit-icon { transform: rotate(-5deg) scale(1.08); background: var(--verde-light); }

.av-benefit-icon svg { width: 32px; height: 32px; fill: #fff; }

.av-benefit h3 { margin-bottom: 14px; font-size: 24px; color: #fff; }
.av-benefit p { color: rgba(255,255,255,.72); font-size: 14px; }

.av-benefit-line {
  position: absolute;
  left: 30px;
  bottom: 28px;
  width: 42px;
  height: 3px;
  border-radius: 10px;
  background: var(--verde);
  transition: width .35s ease;
}

.av-benefit:hover .av-benefit-line { width: 80px; }

.av-trust-bar {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 25px;
  margin-top: 45px;
  padding: 22px 30px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 22px;
  background: rgba(8,42,60,.45);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.av-trust-icon {
  width: 62px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 17px;
  background: var(--verde);
}

.av-trust-icon svg {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.av-trust-text span {
  display: block;
  margin-bottom: 5px;
  color: #58C864;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.av-trust-text strong { font-size: 17px; font-weight: 700; }

.av-trust-rnt { padding-left: 30px; border-left: 1px solid rgba(255,255,255,.16); text-align: right; }

.av-trust-rnt small {
  display: block;
  margin-bottom: 5px;
  color: rgba(255,255,255,.5);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.av-trust-rnt strong { font-size: 22px; font-weight: 900; }


/* ---------- 8. Experiencias (videos) ---------- */

.av-video-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  margin-bottom: 54px;
}

.av-video-header p { max-width: 400px; color: var(--gris); }

.av-video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }

.av-video-card {
  position: relative;
  aspect-ratio: 9 / 15;
  overflow: hidden;
  border-radius: var(--radio);
  background: var(--azul-deep);
  box-shadow: var(--sombra);
  transition: transform .35s ease, box-shadow .35s ease;
}

.av-video-card:hover { transform: translateY(-6px); box-shadow: var(--sombra-hover); }

.av-experience-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.av-video-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to top, rgba(0,0,0,.72), rgba(0,0,0,0) 45%);
  transition: opacity .35s ease;
}

.av-play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  width: 74px;
  height: 74px;
  padding-left: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translate(-50%, -50%);
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.94);
  color: var(--azul-dark);
  font-size: 22px;
  cursor: pointer;
  box-shadow: 0 8px 30px rgba(0,0,0,.28);
  transition: transform .3s ease, opacity .3s ease, background .3s ease;
}

.av-play::before {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.5);
  animation: avPulse 2.2s ease-out infinite;
}

@keyframes avPulse {
  0% { transform: scale(.9); opacity: 1; }
  100% { transform: scale(1.35); opacity: 0; }
}

.av-video-card:hover .av-play { transform: translate(-50%, -50%) scale(1.08); background: #fff; }

.av-video-info { position: absolute; left: 26px; right: 26px; bottom: 26px; z-index: 2; color: #fff; pointer-events: none; transition: opacity .35s ease; }

.av-video-info span { color: var(--verde-light); font-size: 11px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }

.av-video-info h3 { margin-top: 6px; font-size: clamp(28px, 3vw, 40px); }

/* Mientras el video se reproduce se ocultan los textos y el botón */
.av-video-card.is-playing .av-play,
.av-video-card.is-playing .av-video-info,
.av-video-card.is-playing::after { opacity: 0; pointer-events: none; }


/* ---------- 9. Guatapé destacado ---------- */

.av-feature { background: var(--fondo-azul); }

.av-feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }

.av-feature-image {
  position: relative;
  min-height: 640px;
  height: 100%;
  overflow: hidden;
  background: var(--azul-dark);
  border-radius: var(--radio);
  box-shadow: var(--sombra);
}

.av-feature-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.av-feature-badge {
  position: absolute;
  top: 24px;
  left: 24px;
  padding: 12px 18px;
  border-radius: 50px;
  background: var(--verde);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.av-feature-content > p { margin-top: 24px; color: var(--gris); font-size: 17px; }

.av-feature-subtitle {
  margin-top: 34px;
  color: var(--azul-dark);
  font-size: 14px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.av-feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 18px 0 36px;
  padding: 0;
  list-style: none;
}

.av-feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 14px;
  background: #fff;
  font-size: 15px;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(23,33,38,.04);
}

.av-feature-list li::before {
  content: "✓";
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--verde);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}


/* ---------- 10. Reseñas ---------- */

.av-reviews { position: relative; overflow: hidden; background: #fff; }

.av-reviews::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  top: -250px;
  right: -180px;
  border-radius: 50%;
  background: rgba(32,109,153,.055);
  pointer-events: none;
}

.av-reviews-header { position: relative; max-width: 780px; margin-bottom: 54px; }
.av-reviews-header h2 { color: var(--oscuro); }
.av-reviews-header h2 span { display: block; color: var(--azul); }
.av-reviews-header p { margin-top: 20px; color: var(--gris); font-size: 16px; }

.av-reviews-grid { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.av-reviews-grid:empty { display: none; }

.av-review-card {
  display: flex;
  flex-direction: column;
  padding: 30px;
  border: 1px solid #E6EBED;
  border-radius: var(--radio);
  background: #fff;
  box-shadow: var(--sombra);
  transition: transform .35s ease, box-shadow .35s ease;
}

.av-review-card:hover { transform: translateY(-6px); box-shadow: var(--sombra-hover); }

.av-review-stars { margin-bottom: 18px; color: #F9B233; font-size: 17px; letter-spacing: 2px; }

.av-review-card p { flex: 1; color: #4E5B60; font-size: 15px; line-height: 1.75; }

.av-review-author { display: flex; align-items: center; gap: 13px; margin-top: 24px; padding-top: 18px; border-top: 1px solid #EDF0F1; }

.av-review-avatar {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--azul);
  color: #fff;
  font-weight: 800;
}

.av-review-author strong { display: block; font-size: 14px; }
.av-review-author span { display: block; margin-top: 2px; color: #9AA4A7; font-size: 12px; }

.av-reviews-bottom {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  margin-top: 28px;
  padding: 26px 30px;
  border: 1px solid #E7ECEE;
  border-radius: 20px;
  background: #F5F8F9;
}

.av-reviews-bottom strong { display: block; margin-bottom: 4px; font-size: 16px; }
.av-reviews-bottom span { color: #7C898D; font-size: 14px; }


/* ---------- 11. CTA final ---------- */

.av-cta { position: relative; display: flex; align-items: center; min-height: 640px; overflow: hidden; }

.av-cta-bg {
  position: absolute;
  inset: 0;
  background: url('media/alto-del-chocho.jpg') center / cover no-repeat;
}

.av-cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(21,75,105,.95), rgba(32,109,153,.72), rgba(21,75,105,.45));
}

.av-cta-content { position: relative; z-index: 2; width: min(900px, 92%); margin: 0 auto; padding: 100px 0; text-align: center; color: #fff; }

.av-cta-content h2 { color: #fff; }
.av-cta-content p { max-width: 600px; margin: 24px auto 36px; color: rgba(255,255,255,.9); font-size: 17px; }


/* ---------- 12. Footer ---------- */

.av-footer { padding: 80px 0 28px; background: var(--azul-dark); color: #fff; }

.av-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,.15);
}

.av-footer-logo { margin-bottom: 18px; font-size: 28px; font-weight: 900; }

.av-footer p { max-width: 340px; color: rgba(255,255,255,.75); font-size: 14px; }

.av-footer h3 { margin-bottom: 20px; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; }

.av-footer a {
  display: block;
  margin-bottom: 11px;
  color: rgba(255,255,255,.72);
  text-decoration: none;
  font-size: 14px;
  transition: color .25s ease;
}

.av-footer a:hover { color: var(--verde-light); }

.av-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 26px;
  color: rgba(255,255,255,.55);
  font-size: 12px;
}


/* ---------- 13. Botón flotante WhatsApp ---------- */

.av-wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 900;
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #25D366;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
  transform: scale(0);
  transition: transform .35s cubic-bezier(.3,1.5,.6,1);
}

.av-wa-float.is-visible { transform: scale(1); }
.av-wa-float:hover { transform: scale(1.08); }
.av-wa-float svg { width: 32px; height: 32px; fill: #fff; }


/* ---------- 14. Animación al hacer scroll ---------- */

.js .av-reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.js .av-reveal.is-visible { opacity: 1; transform: none; }


/* ---------- 15. Páginas internas ---------- */

.av-page-hero {
  display: flex;
  align-items: center;
  min-height: 78vh;
  padding: 160px 0 110px;
  color: #fff;
  background:
    radial-gradient(circle at 85% 20%, rgba(41,160,54,.22), transparent 30%),
    linear-gradient(135deg, #154B69 0%, #206D99 60%, #185F86 100%);
}

.av-page-hero h1 { max-width: 820px; font-size: clamp(46px, 6.5vw, 90px); font-weight: 900; }
.av-page-hero p { max-width: 560px; margin: 26px 0 36px; color: rgba(255,255,255,.88); font-size: 18px; }


/* ---------- 16. Responsive ---------- */

@media (max-width: 1050px) {
  .av-nav { gap: 20px; }

  .av-adventure-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 420px 320px; }
  .av-adventure-card:first-child { grid-column: span 2; grid-row: auto; }

  .av-why-top { grid-template-columns: 1fr; gap: 30px; }

  .av-benefits { grid-template-columns: repeat(2, 1fr); }
  .av-benefit:nth-child(2) { border-right: 0; }
  .av-benefit:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.13); }

  .av-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  /* Menú hamburguesa */
  .av-menu-toggle { display: flex; }

  /* Sin blur aquí: el blur haría que el menú quede atrapado dentro del header */
  .av-header.is-solid,
  .av-header.is-scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(21,75,105,.98); }

  .av-nav {
    position: fixed;
    inset: 0;
    padding: 100px 28px 40px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: linear-gradient(145deg, #154B69, #206D99);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px);
    transition: opacity .3s ease, visibility .3s ease, transform .3s ease;
  }

  .av-header.menu-open .av-nav { opacity: 1; visibility: visible; transform: none; }

  .av-nav a:not(.av-reserve) {
    display: flex;
    align-items: center;
    min-height: 58px;
    padding: 0 10px;
    font-size: 19px;
    border-bottom: 1px solid rgba(255,255,255,.14);
  }

  .av-nav .av-reserve { display: flex; justify-content: center; margin-top: 24px; padding: 18px; }

  .av-header.menu-open .av-menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .av-header.menu-open .av-menu-toggle span:nth-child(2) { opacity: 0; }
  .av-header.menu-open .av-menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .av-feature-grid { grid-template-columns: 1fr; gap: 50px; }
  .av-feature-image { min-height: 520px; }

  .av-video-grid { grid-template-columns: repeat(2, 1fr); }
  .av-video-card:last-child { grid-column: span 2; width: calc(50% - 12px); margin: 0 auto; }

  .av-reviews-grid { grid-template-columns: 1fr 1fr; }

  .av-trust-bar { grid-template-columns: auto 1fr; }
  .av-trust-rnt { grid-column: 1 / -1; padding: 16px 0 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.13); text-align: left; }
}

@media (max-width: 700px) {
  .av-section { padding: 80px 0; }

  .av-header { padding: 16px 0; }
  .av-logo img, .av-header.is-scrolled .av-logo img, .av-header.is-solid .av-logo img { height: 46px; }

  .av-hero-content { padding: 120px 0 100px; }
  .av-hero-text { font-size: 16px; }
  .av-buttons { flex-direction: column; align-items: stretch; max-width: 340px; }
  .av-hero-facts { gap: 10px 22px; font-size: 13px; }

  .av-announcement-bar { height: 54px; }
  .av-announcement-content span { padding: 0 22px; font-size: 11px; }

  .av-adventure-grid { grid-template-columns: 1fr; grid-template-rows: none; gap: 16px; }
  .av-adventure-card, .av-adventure-card:first-child { grid-column: auto; height: 400px; }
  .av-card-cta { opacity: 1; transform: none; }

  .av-benefits { grid-template-columns: 1fr; }
  .av-benefit { min-height: auto; padding: 30px 6px 58px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.13); }
  .av-benefit:last-child { border-bottom: 0; }
  .av-benefit-line { left: 6px; }
  .av-benefit-top { margin-bottom: 26px; }

  .av-video-header { flex-direction: column; align-items: flex-start; }
  .av-video-grid { grid-template-columns: 1fr; }
  .av-video-card:last-child { grid-column: auto; width: 100%; }
  .av-video-card { aspect-ratio: 4 / 5; }

  .av-feature-image { min-height: 420px; }
  .av-feature-list { grid-template-columns: 1fr; }

  .av-reviews-grid { grid-template-columns: 1fr; }
  .av-reviews-bottom { flex-direction: column; align-items: stretch; }

  .av-cta { min-height: 560px; }

  .av-footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .av-footer-bottom { flex-direction: column; }
}

@media (max-width: 420px) {
  .av-hero h1 { font-size: 50px; }
  .av-heading h2, .av-video-header h2, .av-reviews-header h2,
  .av-feature-content h2, .av-why-title h2, .av-cta-content h2 { font-size: 38px; }
  .av-hero-pill { font-size: 10px; }
}

/* Respeta a quienes prefieren menos movimiento */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .av-reveal { opacity: 1; transform: none; }
}


/* =========================================================
   PÁGINA DE TOURS
   ========================================================= */

.av-tours-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 460px;
  padding: 150px 0 70px;
  overflow: hidden;
  color: #fff;
  background: var(--azul-dark);
}

.av-tours-hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(21,75,105,.95) 0%, rgba(21,75,105,.7) 50%, rgba(21,75,105,.35) 100%),
    url('media/medellin.jpg') center / cover no-repeat;
}

.av-tours-hero-content { position: relative; z-index: 2; }

.av-breadcrumb { margin-bottom: 18px; color: rgba(255,255,255,.7); font-size: 13px; font-weight: 700; }
.av-breadcrumb a { color: #fff; text-decoration: none; }
.av-breadcrumb a:hover { color: var(--verde-light); }
.av-breadcrumb span { margin: 0 6px; opacity: .5; }

.av-tours-hero h1 { font-size: clamp(42px, 6vw, 80px); font-weight: 900; text-transform: uppercase; letter-spacing: -0.035em; }
.av-tours-hero p { max-width: 560px; margin-top: 20px; color: rgba(255,255,255,.88); font-size: 17px; }

.av-tours-list { padding: 70px 0 110px; background: var(--fondo); }

.av-tours-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 34px; }

.av-tours-filters { display: flex; flex-wrap: wrap; gap: 10px; }

.av-chip {
  padding: 10px 20px;
  border: 1px solid #D5DEE2;
  border-radius: 50px;
  background: #fff;
  color: var(--azul-dark);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}

.av-chip:hover { border-color: var(--azul); }
.av-chip[aria-selected="true"] { background: var(--azul); border-color: var(--azul); color: #fff; }

.av-tours-count { color: var(--gris); font-size: 14px; font-weight: 700; }

.av-tours-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 26px; }

.av-tour-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radio);
  background: #fff;
  box-shadow: var(--sombra);
  transition: transform .35s ease, box-shadow .35s ease;
}

.av-tour-card:hover { transform: translateY(-6px); box-shadow: var(--sombra-hover); }
.av-tour-card[hidden] { display: none; }

.av-tour-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--azul-dark); }
.av-tour-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.av-tour-card:hover .av-tour-media img { transform: scale(1.06); }

.av-tour-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 7px 14px;
  border-radius: 50px;
  background: var(--verde);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.av-tour-dest {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 7px 14px;
  border-radius: 50px;
  background: rgba(0,0,0,.45);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.av-tour-dest::before { content: "📍 "; }

.av-tour-body { display: flex; flex-direction: column; flex: 1; padding: 24px 24px 22px; }

.av-tour-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--verde); font-size: 12px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.av-meta-time::before { content: "⏱ "; }
.av-meta-guide { color: var(--gris); }
.av-meta-guide::before { content: "🗣 "; }

.av-tour-media.is-placeholder {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 80% 20%, rgba(56,182,69,.45), transparent 45%),
    linear-gradient(135deg, #154B69 0%, #206D99 60%, #258B70 100%);
}
.av-tour-icon { font-size: 76px; filter: drop-shadow(0 10px 20px rgba(0,0,0,.25)); transition: transform .5s ease; }
.av-tour-card:hover .av-tour-icon { transform: scale(1.1) rotate(-4deg); }

.av-tour-details { margin: -6px 0 18px; }
.av-tour-details summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--azul);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}
.av-tour-details summary::-webkit-details-marker { display: none; }
.av-tour-details summary::after { content: "▾"; transition: transform .25s ease; }
.av-tour-details[open] summary::after { transform: rotate(180deg); }
.av-tour-details h4 { margin: 18px 0 8px; color: var(--azul-dark); font-size: 13px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.av-detail-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 7px; }
.av-detail-list li { position: relative; padding-left: 24px; color: #4E5B60; font-size: 14px; line-height: 1.5; }
.av-detail-list li::before { position: absolute; left: 0; top: 0; font-size: 13px; }
.av-detail-list.is-yes li::before { content: "✓"; color: var(--verde); font-weight: 900; }
.av-detail-list.is-pin li::before { content: "📍"; font-size: 12px; }
.av-detail-list.is-no li { color: #C0392B; font-weight: 700; }
.av-detail-list.is-no li::before { content: "✕"; color: #C0392B; font-weight: 900; }
.av-detail-list.is-info li::before { content: "ℹ️"; font-size: 12px; }

.av-tour-prices { margin: 0 0 4px; padding: 12px 14px; list-style: none; border-radius: 14px; background: var(--fondo-azul); display: grid; gap: 6px; }
.av-tour-prices li { display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px; color: var(--azul-dark); }
.av-tour-prices span { font-weight: 600; }
.av-tour-prices strong { font-weight: 900; white-space: nowrap; }

.av-tour-body h3 { margin: 8px 0 16px; color: var(--azul-dark); font-size: 24px; text-transform: uppercase; letter-spacing: -0.02em; }

.av-tour-incluye { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding: 0; list-style: none; }

.av-tour-incluye li {
  padding: 6px 12px;
  border-radius: 50px;
  background: var(--fondo-azul);
  color: var(--azul-dark);
  font-size: 12.5px;
  font-weight: 700;
}

.av-tour-incluye .av-tour-mas { background: transparent; color: var(--gris); padding-left: 2px; }

.av-tour-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid #EDF0F1;
}

.av-tour-price small { display: block; color: var(--gris); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.av-tour-price strong { display: block; color: var(--oscuro); font-size: 21px; font-weight: 900; line-height: 1.2; }
.av-tour-price span { color: var(--gris); font-size: 13px; font-weight: 700; }

.av-btn-sm { min-height: 44px; padding: 0 22px; font-size: 12px; flex-shrink: 0; }

.av-tours-info { padding: 0 0 110px; background: var(--fondo); }

.av-tours-info-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 26px; align-items: start; }
.av-tours-info-grid:has(#av-condiciones[hidden]) { grid-template-columns: 1fr; max-width: 640px; }

.av-info-card { padding: 34px; border-radius: var(--radio); background: #fff; box-shadow: var(--sombra); }
.av-info-card h2 { margin-bottom: 18px; color: var(--azul-dark); font-size: 34px; }
.av-info-card h3 { color: var(--azul-dark); font-size: 26px; }
.av-info-card p { margin: 10px 0 22px; color: var(--gris); }

.av-info-side { display: grid; gap: 26px; }

.av-info-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.av-info-list li { position: relative; padding-left: 30px; color: var(--oscuro); line-height: 1.6; }
.av-info-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--verde);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
}

.av-pagos-list { display: flex; flex-wrap: wrap; gap: 10px; }
.av-pago { padding: 9px 16px; border: 1px solid #DDE5E8; border-radius: 12px; font-size: 14px; font-weight: 800; color: var(--azul-dark); }

.av-info-rnt { display: flex; align-items: center; gap: 14px; margin-top: 26px; padding-top: 22px; border-top: 1px solid #EDF0F1; }
.av-info-rnt svg { width: 42px; height: 42px; padding: 9px; border-radius: 12px; background: var(--verde); fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.av-info-rnt small { display: block; color: var(--gris); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.av-info-rnt strong { color: var(--azul-dark); font-size: 18px; font-weight: 900; }

@media (max-width: 1000px) {
  .av-tours-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .av-tours-info-grid { grid-template-columns: 1fr; }
}

@media (max-width: 650px) {
  .av-tours-hero { min-height: 380px; padding: 130px 0 50px; }
  .av-tours-list { padding: 50px 0 80px; }
  .av-tours-grid { grid-template-columns: 1fr; }
  .av-tours-info { padding-bottom: 80px; }
  .av-info-card { padding: 26px; }
}


/* ---------- Tarjetas de tours: todas del mismo tamaño ---------- */

.av-tour-meta { flex-wrap: nowrap; overflow: hidden; white-space: nowrap; }

.av-tour-body h3 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.04em;
}

.av-tour-body .av-tour-incluye {
  align-content: flex-start;
  height: 68px;
  overflow: hidden;
  margin-bottom: 14px;
}

.av-tour-more {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 18px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--azul);
  font-family: var(--font);
  font-size: 13.5px;
  font-weight: 800;
  cursor: pointer;
}
.av-tour-more::after { content: "→"; transition: transform .25s ease; }
.av-tour-more:hover::after { transform: translateX(4px); }

/* ---------- Ventana de detalles ---------- */

.av-modal {
  width: min(620px, 94vw);
  max-height: 90vh;
  padding: 0;
  border: 0;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 30px 80px rgba(0,0,0,.35);
  overflow: hidden;
}

.av-modal[open] { animation: avModalIn .3s cubic-bezier(.2,.8,.2,1); }
.av-modal::backdrop { background: rgba(10, 30, 45, .6); backdrop-filter: blur(4px); }

@keyframes avModalIn { from { opacity: 0; transform: translateY(20px) scale(.98); } to { opacity: 1; transform: none; } }

.av-modal-box { position: relative; max-height: 90vh; overflow-y: auto; }

.av-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.95);
  color: var(--oscuro);
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0,0,0,.2);
}

.av-modal-head { position: relative; height: 230px; background: var(--azul-dark); }
.av-modal-head img { width: 100%; height: 100%; object-fit: cover; }
.av-modal-head.is-placeholder {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 80% 20%, rgba(56,182,69,.45), transparent 45%),
    linear-gradient(135deg, #154B69 0%, #206D99 60%, #258B70 100%);
}

.av-modal-body { padding: 26px 30px 30px; }
.av-modal-body h3 { margin: 8px 0 6px; color: var(--azul-dark); font-size: 30px; text-transform: uppercase; }
.av-modal-body h4 { margin: 22px 0 10px; color: var(--azul-dark); font-size: 13px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.av-modal-body .av-tour-meta { flex-wrap: wrap; white-space: normal; }
.av-meta-dest { color: var(--gris); }
.av-meta-dest::before { content: "📍 "; }
.av-modal-cotizar { color: var(--gris); }
.av-modal-cta { width: 100%; margin-top: 28px; }

@media (max-width: 650px) {
  .av-tours-grid { grid-auto-rows: auto; }
  .av-modal { width: 100vw; max-width: 100vw; max-height: 92vh; margin: auto 0 0; border-radius: 24px 24px 0 0; }
  .av-modal-head { height: 190px; }
  .av-modal-body { padding: 22px 22px 28px; }
  .av-modal-body h3 { font-size: 25px; }
}

/* Reseñas: hasta 4 por fila en computador */
.av-reviews-grid { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.av-review-card p { font-size: 14.5px; }


/* =========================================================
   TÍTULOS DE SECCIÓN — centrados, en mayúsculas y animados
   ========================================================= */

.av-title-block {
  max-width: 900px;
  margin: 0 auto 60px;
  text-align: center;
}

.av-title-block.is-left { margin: 0 0 30px; text-align: left; }
.av-title-block.is-flat { margin-bottom: 0; }

/* Etiqueta superior con líneas decorativas */
.av-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  color: var(--verde);
  font-size: 12.5px;
  font-weight: 900;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.av-eyebrow::before,
.av-eyebrow::after {
  content: "";
  width: 34px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  opacity: .7;
  transform: scaleX(0);
  transition: transform .8s cubic-bezier(.2,.7,.2,1) .2s;
}

.av-eyebrow::before { transform-origin: right; }
.av-eyebrow::after { transform-origin: left; }
.av-title-block.is-left .av-eyebrow::before { display: none; }

/* Título */
.av-title {
  margin: 0;
  color: var(--azul-dark);
  font-size: clamp(38px, 5.4vw, 74px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.av-line { display: block; overflow: hidden; padding: .04em 0 .08em; }

.av-line > span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 1s cubic-bezier(.2,.75,.2,1);
}

.av-line:nth-child(2) > span { transition-delay: .12s; }
.av-line:nth-child(3) > span { transition-delay: .24s; }

/* Segunda línea con degradado en movimiento */
.av-hl > span {
  background: linear-gradient(90deg, #206D99 0%, #29A036 35%, #38B645 50%, #206D99 75%, #29A036 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: avShine 6s linear infinite;
}

@keyframes avShine {
  from { background-position: 0% 50%; }
  to { background-position: 250% 50%; }
}

/* Barra que se dibuja */
.av-title-bar {
  display: block;
  width: 90px;
  height: 5px;
  margin: 26px auto 0;
  border-radius: 10px;
  background: linear-gradient(90deg, var(--azul), var(--verde));
  transform: scaleX(0);
  transition: transform .9s cubic-bezier(.2,.7,.2,1) .35s;
}

.av-title-block.is-left .av-title-bar { margin-left: 0; transform-origin: left; }

.av-title-text {
  max-width: 640px;
  margin: 24px auto 0;
  color: var(--gris);
  font-size: 17px;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .8s ease .45s, transform .8s ease .45s;
}

.av-title-block.is-left .av-title-text { margin-left: 0; }

/* Estado visible (lo activa el scroll) */
.is-visible .av-line > span,
.is-visible.av-title-block .av-line > span { transform: translateY(0); }
.is-visible .av-eyebrow::before,
.is-visible .av-eyebrow::after { transform: scaleX(1); }
.is-visible .av-title-bar { transform: scaleX(1); }
.is-visible .av-title-text { opacity: 1; transform: none; }

/* Versión sobre fondo oscuro */
.av-title-block.is-dark .av-eyebrow { color: #58C864; }
.av-title-block.is-dark .av-title { color: #fff; }
.av-title-block.is-dark .av-hl > span {
  background-image: linear-gradient(90deg, #38B645 0%, #A8F0B0 30%, #fff 50%, #A8F0B0 70%, #38B645 100%);
}
.av-title-block.is-dark .av-title-bar { background: linear-gradient(90deg, #fff, #38B645); }
.av-title-block.is-dark .av-title-text { color: rgba(255,255,255,.85); }

/* Dato "2+ años" */
.av-title-stat {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  padding: 12px 24px 12px 14px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 60px;
  background: rgba(255,255,255,.07);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .8s ease .5s, transform .8s ease .5s;
}

.av-title-stat strong {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--verde);
  color: #fff;
  font-size: 22px;
  font-weight: 900;
}

.av-title-stat span { color: rgba(255,255,255,.85); font-size: 14.5px; text-align: left; }
.is-visible .av-title-stat { opacity: 1; transform: none; }

/* Las secciones ya no necesitan el fundido general: lo hace el título */
.js .av-title-block.av-reveal { opacity: 1; transform: none; }

/* La sección de Guatapé y el cierre se animan con su contenedor */
.av-feature-content.is-visible .av-line > span,
.av-cta-content.is-visible .av-line > span { transform: translateY(0); }

@media (max-width: 650px) {
  .av-title-block { margin-bottom: 42px; }
  .av-title { font-size: clamp(28px, 8.4vw, 44px); }
  .av-eyebrow { font-size: 11px; letter-spacing: .16em; gap: 10px; }
  .av-eyebrow::before, .av-eyebrow::after { width: 22px; }
  .av-title-text { font-size: 15.5px; }
  .av-title-stat { padding-right: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .av-line > span, .av-title-text, .av-title-stat { transform: none !important; opacity: 1 !important; }
  .av-title-bar, .av-eyebrow::before, .av-eyebrow::after { transform: scaleX(1) !important; }
  .av-hl > span { animation: none; }
}

.av-title-block.is-left .av-title { font-size: clamp(34px, 3.9vw, 58px); }


/* =========================================================
   ¿POR QUÉ AVENTURMED? — más compacta, con foto de fondo
   ========================================================= */

.av-why {
  padding: 84px 0 76px;
  background:
    linear-gradient(180deg, rgba(14,53,80,.85) 0%, rgba(21,75,105,.55) 45%, rgba(14,53,80,.85) 100%),
    linear-gradient(90deg, rgba(21,75,105,.35) 0%, rgba(41,160,54,.15) 100%),
    url('media/guatape-aerea.jpg') center 62% / cover no-repeat;
}

@media (min-width: 1051px) {
  .av-why { background-attachment: scroll, scroll, fixed; }
}

.av-why-orb { display: none; }

.av-why .av-title-block { margin-bottom: 40px; }
.av-why .av-title { font-size: clamp(32px, 4.2vw, 56px); }
.av-why .av-title-bar { margin-top: 20px; }
.av-why .av-title-stat { margin-top: 22px; padding-top: 8px; padding-bottom: 8px; }
.av-why .av-title-stat strong { width: 44px; height: 44px; font-size: 18px; }

.av-why .av-benefits {
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 22px;
  background: rgba(8, 42, 60, .35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  overflow: hidden;
}

.av-why .av-benefit { min-height: 0; padding: 28px 26px 44px; }
.av-why .av-benefit-top { margin-bottom: 20px; }
.av-why .av-benefit-icon { width: 54px; height: 54px; border-radius: 15px; }
.av-why .av-benefit-icon svg { width: 27px; height: 27px; }
.av-why .av-benefit h3 { margin-bottom: 8px; font-size: 20px; }
.av-why .av-benefit p { font-size: 13.5px; line-height: 1.6; color: rgba(255,255,255,.8); }
.av-why .av-benefit-line { left: 26px; bottom: 22px; }

.av-why .av-trust-bar { margin-top: 22px; padding: 16px 24px; min-height: 0; }
.av-why .av-trust-icon { width: 50px; height: 50px; }
.av-why .av-trust-icon svg { width: 26px; height: 26px; }

@media (max-width: 1050px) {
  .av-why .av-benefit:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.13); }
}

@media (max-width: 700px) {
  .av-why { padding: 64px 0 60px; }
  .av-why .av-benefit { padding: 24px 22px 40px; }
  .av-why .av-benefit-line { left: 22px; }
}

@media (max-width: 700px) {
  .av-why .av-benefits { grid-template-columns: 1fr 1fr; }
  .av-why .av-benefit { padding: 20px 16px 34px; border-bottom: 1px solid rgba(255,255,255,.13); }
  .av-why .av-benefit:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.13); }
  .av-why .av-benefit:nth-child(n+3) { border-bottom: 0; }
  .av-why .av-benefit-number { display: none; }
  .av-why .av-benefit-top { margin-bottom: 14px; }
  .av-why .av-benefit-icon { width: 44px; height: 44px; border-radius: 12px; }
  .av-why .av-benefit-icon svg { width: 22px; height: 22px; }
  .av-why .av-benefit h3 { font-size: 16px; }
  .av-why .av-benefit p { font-size: 12.5px; }
  .av-why .av-benefit-line { left: 16px; bottom: 18px; width: 30px; }
  .av-why .av-title-stat span { font-size: 13px; }
}


/* =========================================================
   EXPERIENCIAS — CARRUSEL DE VIDEOS
   ========================================================= */

.av-carousel { position: relative; }

.av-videos .av-carousel-track {
  display: flex !important;
  gap: 26px !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 24px calc(50% - 160px) 30px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  outline: none;
}

.av-videos .av-carousel-track::-webkit-scrollbar { display: none; }

.av-videos .av-carousel-track .av-video-card,
.av-videos .av-carousel-track .av-video-card:first-child,
.av-videos .av-carousel-track .av-video-card:last-child {
  flex: 0 0 320px;
  width: 320px;
  min-height: 0;
  height: auto;
  margin: 0;
  grid-column: auto;
  aspect-ratio: 9 / 16;
  scroll-snap-align: center;
  transform: scale(.84);
  opacity: .5;
  filter: saturate(.7);
  transition: transform .5s cubic-bezier(.2,.7,.2,1), opacity .5s ease, filter .5s ease, box-shadow .5s ease;
  cursor: pointer;
}

.av-videos .av-carousel-track .av-video-card.is-active {
  transform: scale(1);
  opacity: 1;
  filter: none;
  box-shadow: 0 30px 60px rgba(23,33,38,.22);
  cursor: default;
}

.av-videos .av-carousel-track .av-video-card:not(.is-active) .av-play { opacity: 0; pointer-events: none; }
.av-videos .av-carousel-track .av-video-card:hover { transform: scale(.86); }
.av-videos .av-carousel-track .av-video-card.is-active:hover { transform: scale(1.01); }

/* Flechas */
.av-carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  padding-bottom: 4px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--azul-dark);
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(23,33,38,.18);
  transform: translateY(-50%);
  transition: background .25s ease, color .25s ease, transform .25s ease, opacity .25s ease;
}

.av-carousel-arrow:hover { background: var(--verde); color: #fff; transform: translateY(-50%) scale(1.08); }
.av-carousel-arrow.is-prev { left: calc(50% - 250px); }
.av-carousel-arrow.is-next { right: calc(50% - 250px); }
.av-carousel-arrow:disabled { opacity: 0; pointer-events: none; }

/* Puntos */
.av-carousel-dots { display: flex; justify-content: center; gap: 10px; margin-top: 8px; }

.av-carousel-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: #CBD6DB;
  cursor: pointer;
  transition: width .35s ease, background .35s ease;
}

.av-carousel-dots button[aria-selected="true"] { width: 34px; background: linear-gradient(90deg, var(--azul), var(--verde)); }

@media (max-width: 700px) {
  .av-videos .av-carousel-track { gap: 14px !important; padding: 16px calc(50% - 36vw) 24px; }
  .av-videos .av-carousel-track .av-video-card,
  .av-videos .av-carousel-track .av-video-card:first-child,
  .av-videos .av-carousel-track .av-video-card:last-child { flex-basis: 72vw; width: 72vw; transform: scale(.9); }
  .av-videos .av-carousel-track .av-video-card.is-active { transform: scale(1); }
  .av-carousel-arrow { width: 44px; height: 44px; font-size: 28px; }
  .av-carousel-arrow.is-prev { left: 4px; }
  .av-carousel-arrow.is-next { right: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  .av-videos .av-carousel-track { scroll-behavior: auto; }
}


/* =========================================================
   PORTADA — "MEDELLÍN. TE ESPERA."
   ========================================================= */

.av-hero-content { padding-top: 150px; }

.av-hero .av-hero-title {
  max-width: 900px;
  font-size: clamp(60px, 9vw, 132px);
  font-weight: 900;
  line-height: .9;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  text-shadow: 0 10px 40px rgba(0,0,0,.18);
}

.av-hero-title .av-line { padding: .02em 0 .06em; }

/* Animación de entrada al cargar la página */
.av-hero-title .av-line > span { transform: translateY(110%); animation: avHeroUp 1.1s cubic-bezier(.2,.75,.2,1) .2s forwards; }
.av-hero-title .av-line:nth-child(2) > span { animation-delay: .38s; }

@keyframes avHeroUp { to { transform: translateY(0); } }

.av-hero-hl > span {
  background: linear-gradient(90deg, #38B645 0%, #8FE39A 35%, #ffffff 50%, #8FE39A 65%, #38B645 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
  animation: avHeroUp 1.1s cubic-bezier(.2,.75,.2,1) .38s forwards, avShine 7s linear 1.5s infinite;
}

.av-hero .av-hero-pill,
.av-hero .av-hero-text,
.av-hero .av-buttons,
.av-hero .av-hero-facts {
  opacity: 0;
  transform: translateY(16px);
  animation: avHeroFade .9s ease forwards;
}

.av-hero .av-hero-pill { animation-delay: .05s; }
.av-hero .av-hero-text { animation-delay: .7s; }
.av-hero .av-buttons { animation-delay: .85s; }
.av-hero .av-hero-facts { animation-delay: 1s; }

@keyframes avHeroFade { to { opacity: 1; transform: none; } }

.av-hero .av-hero-text {
  max-width: 560px;
  margin: 30px 0 38px;
  padding-left: 20px;
  border-left: 3px solid var(--verde-light);
  font-size: 20px;
  line-height: 1.6;
}

@media (max-width: 700px) {
  .av-hero-content { padding-top: 120px; }
  .av-hero .av-hero-title { font-size: clamp(50px, 15vw, 72px); }
  .av-hero .av-hero-text { font-size: 16.5px; padding-left: 14px; margin: 24px 0 30px; }
}

@media (prefers-reduced-motion: reduce) {
  .av-hero-title .av-line > span { transform: none; animation: none; }
  .av-hero-hl > span { animation: none; }
  .av-hero .av-hero-pill, .av-hero .av-hero-text, .av-hero .av-buttons, .av-hero .av-hero-facts { opacity: 1; transform: none; animation: none; }
}
.av-hero-title .av-line:first-child > span { color: #fff; }


/* ---------- Ajuste: tildes sin recortar y márgenes alineados ---------- */

/* Más espacio arriba de cada línea animada para que no se corten las tildes (Í, Á, É) */
.av-line { padding-top: .2em; margin-top: -.14em; }
.av-hero-title .av-line { padding: .2em 0 .06em; margin-top: -.12em; }
.av-hero .av-hero-title { line-height: .95; }

/* El contenido de la portada se alinea con el logo del menú */
.av-hero-content { width: min(1400px, 92%); }
.av-hero-facts { max-width: 640px; }

/* Degradado animado sin cortes (empieza y termina en el mismo color) */
.av-hl > span {
  background-image: linear-gradient(90deg, #206D99 0%, #29A036 25%, #38B645 50%, #29A036 75%, #206D99 100%);
  background-size: 200% 100%;
  animation: avShineLoop 6s linear infinite;
}
.av-title-block.is-dark .av-hl > span {
  background-image: linear-gradient(90deg, #38B645 0%, #A8F0B0 25%, #ffffff 50%, #A8F0B0 75%, #38B645 100%);
}
.av-hero-hl > span {
  background-image: linear-gradient(90deg, #38B645 0%, #8FE39A 25%, #ffffff 50%, #8FE39A 75%, #38B645 100%);
  background-size: 200% 100%;
  animation: avHeroUp 1.1s cubic-bezier(.2,.75,.2,1) .38s forwards, avShineLoop 7s linear 1.5s infinite;
}
@keyframes avShineLoop { from { background-position: 0% 50%; } to { background-position: 200% 50%; } }
@media (prefers-reduced-motion: reduce) { .av-hl > span, .av-hero-hl > span { animation: none; } }


/* =========================================================
   ¿POR QUÉ AVENTURMED? — collage de fotos reales
   ========================================================= */

.av-why2 {
  position: relative;
  overflow: hidden;
  background: #fff;
}

.av-why2::before {
  content: "";
  position: absolute;
  top: -180px;
  left: -180px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(41,160,54,.10), transparent 70%);
  pointer-events: none;
}

.av-why2-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 80px;
  align-items: center;
}

/* Collage */
.av-why2-media { position: relative; height: 620px; }

.av-why2-photo {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(23,33,38,.18);
  will-change: transform;
}

.av-why2-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.av-why2-photo:hover img { transform: scale(1.06); }

.av-why2-photo.is-main { top: 60px; left: 0; width: 78%; height: 470px; }
.av-why2-photo.is-small { width: 40%; height: 230px; border: 6px solid #fff; }
.av-why2-photo.is-top { top: 0; right: 0; }
.av-why2-photo.is-bottom { bottom: 0; right: 6%; height: 260px; }

/* Tarjetas flotantes */
.av-why2-badge {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 22px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(23,33,38,.18);
  animation: avFloat 5s ease-in-out infinite;
}

.av-why2-badge.is-years { left: -24px; bottom: 70px; }
.av-why2-badge.is-rnt { left: 36%; top: 18px; animation-delay: -2.5s; }

.av-why2-badge.is-years strong {
  color: var(--verde);
  font-size: 50px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
}

.av-why2-badge.is-years > span { color: var(--azul-dark); font-size: 14px; font-weight: 800; line-height: 1.25; }

.av-why2-badge-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--verde);
}
.av-why2-badge-icon svg { width: 22px; height: 22px; fill: #fff; }
.av-why2-badge small { display: block; color: var(--gris); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.av-why2-badge b { color: var(--azul-dark); font-size: 18px; font-weight: 900; }

@keyframes avFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* Texto */
.av-why2-content .av-title-block { margin-bottom: 34px; }
.av-why2-content .av-title { font-size: clamp(34px, 3.8vw, 56px); }

.av-why2-list { display: grid; gap: 6px; margin: 0 0 36px; padding: 0; list-style: none; }

.av-why2-list li {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 16px 18px;
  border-radius: 18px;
  transition: background .3s ease, transform .3s ease;
}

.av-why2-list li:hover { background: var(--fondo-azul); transform: translateX(6px); }

.av-why2-icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--verde), var(--verde-light));
  box-shadow: 0 10px 24px rgba(41,160,54,.28);
  transition: transform .35s cubic-bezier(.3,1.5,.6,1);
}

.av-why2-list li:hover .av-why2-icon { transform: rotate(-8deg) scale(1.08); }
.av-why2-icon svg { width: 26px; height: 26px; fill: #fff; }

.av-why2-list h3 { margin: 2px 0 4px; color: var(--azul-dark); font-size: 19px; font-weight: 800; letter-spacing: -0.01em; }
.av-why2-list p { color: var(--gris); font-size: 14.5px; line-height: 1.6; }

/* Aparición escalonada de la lista */
.js .av-why2-list li.av-reveal { transform: translateX(30px); }
.js .av-why2-list li.av-reveal.is-visible { transform: none; }
.av-why2-list li:nth-child(2) { transition-delay: .08s; }
.av-why2-list li:nth-child(3) { transition-delay: .16s; }
.av-why2-list li:nth-child(4) { transition-delay: .24s; }

.av-why2-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }

.av-why2-link {
  color: var(--azul);
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  border-bottom: 2px solid rgba(32,109,153,.25);
  padding-bottom: 2px;
  transition: border-color .25s ease, color .25s ease;
}
.av-why2-link:hover { color: var(--verde); border-color: var(--verde); }

@media (max-width: 1050px) {
  .av-why2-grid { grid-template-columns: 1fr; gap: 60px; }
  .av-why2-media { max-width: 640px; width: 100%; margin: 0 auto; }
}

@media (max-width: 650px) {
  .av-why2-media { height: 440px; }
  .av-why2-photo.is-main { top: 40px; width: 82%; height: 330px; }
  .av-why2-photo.is-small { width: 44%; height: 160px; border-width: 4px; border-radius: 20px; }
  .av-why2-photo.is-bottom { height: 180px; right: 0; }
  .av-why2-badge { padding: 12px 16px; gap: 10px; border-radius: 16px; }
  .av-why2-badge.is-years { left: 0; bottom: 40px; }
  .av-why2-badge.is-years strong { font-size: 38px; }
  .av-why2-badge.is-years > span { font-size: 12px; }
  .av-why2-badge.is-rnt { left: 4%; top: 0; }
  .av-why2-badge b { font-size: 15px; }
  .av-why2-badge-icon { width: 34px; height: 34px; }
  .av-why2-list li { padding: 12px 8px; gap: 14px; }
  .av-why2-icon { width: 46px; height: 46px; }
  .av-why2-list h3 { font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  .av-why2-badge { animation: none; }
}

/* ¿Por qué Aventurmed? — fondo azul */
.av-why2 {
  background:
    radial-gradient(circle at 85% 15%, rgba(56,182,69,.22), transparent 35%),
    radial-gradient(circle at 10% 90%, rgba(255,255,255,.08), transparent 35%),
    linear-gradient(135deg, #0E3550 0%, #154B69 45%, #206D99 100%);
}
.av-why2::before { background: radial-gradient(circle, rgba(56,182,69,.18), transparent 70%); }
.av-why2-list h3 { color: #fff; }
.av-why2-list p { color: rgba(255,255,255,.78); }
.av-why2-list li:hover { background: rgba(255,255,255,.08); }
.av-why2-photo { box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.av-why2-photo.is-small { border-color: rgba(255,255,255,.95); }
.av-why2-badge { box-shadow: 0 18px 45px rgba(0,0,0,.3); }
.av-why2-link { color: #fff; border-bottom-color: rgba(255,255,255,.35); }
.av-why2-link:hover { color: #58C864; border-color: #58C864; }


/* =========================================================
   ANIMACIONES EXTRA
   ========================================================= */

/* 1. Intro de bienvenida */
.av-intro-activa, .av-intro-activa body { overflow: hidden; }

.av-intro {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #0E3550 0%, #154B69 50%, #206D99 100%);
  transition: clip-path .9s cubic-bezier(.7,0,.2,1);
  clip-path: inset(0 0 0 0);
}

.av-intro.is-out { clip-path: inset(0 0 100% 0); }

.av-intro-inner { display: grid; justify-items: center; gap: 10px; }

.av-intro img {
  width: 220px;
  height: auto;
  animation: avIntroLogo .9s cubic-bezier(.3,1.4,.5,1) both;
}

@keyframes avIntroLogo {
  from { opacity: 0; transform: scale(.6) rotate(-6deg); }
  to { opacity: 1; transform: none; }
}

.av-intro-route { width: 260px; height: 52px; overflow: visible; }
.av-intro-route path {
  fill: none;
  stroke: #38B645;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 340;
  stroke-dashoffset: 340;
  animation: avIntroRoute 1.2s .3s ease forwards;
}
@keyframes avIntroRoute { to { stroke-dashoffset: 0; } }

.av-intro-text {
  color: rgba(255,255,255,.8);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
  animation: avHeroFade .8s .4s ease both;
  opacity: 0;
}

/* Cuando sale la intro, la portada arranca sus animaciones */
.av-intro-activa .av-hero-title .av-line > span,
.av-intro-activa .av-hero .av-hero-pill,
.av-intro-activa .av-hero .av-hero-text,
.av-intro-activa .av-hero .av-buttons,
.av-intro-activa .av-hero .av-hero-facts { animation-play-state: paused; }

/* 2. Barra de progreso */
.av-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1200;
  height: 3px;
  background: linear-gradient(90deg, var(--azul), var(--verde-light));
  transform: scaleX(0);
  transform-origin: left;
  pointer-events: none;
}

/* 3. Avión con ruta punteada */
.av-adventures { position: relative; overflow: hidden; }
.av-adventures .av-container { position: relative; z-index: 1; }

.av-flight {
  position: absolute;
  top: 30px;
  left: 0;
  right: 0;
  height: 300px;
  pointer-events: none;
  z-index: 0;
}

.av-flight > svg { width: 100%; height: 100%; overflow: visible; }

.av-flight-path {
  fill: none;
  stroke: var(--azul);
  stroke-width: 2.5;
  stroke-dasharray: 2 12;
  stroke-linecap: round;
  opacity: .3;
  vector-effect: non-scaling-stroke;
}

.av-flight-reveal {
  fill: none;
  stroke: #fff;
  stroke-width: 20;
  vector-effect: non-scaling-stroke;
}

.av-plane {
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  opacity: 0;
  transition: opacity .3s ease;
  filter: drop-shadow(0 6px 10px rgba(21,75,105,.3));
}

.av-plane svg { width: 100%; height: 100%; fill: var(--azul); }

/* 4. Portada que "respira" */
.av-hero-video {
  animation: avKenBurns 18s ease-in-out infinite alternate;
  translate: var(--mx, 0) var(--my, 0);
  transition: translate .6s ease-out;
}

@keyframes avKenBurns {
  from { scale: 1.02; }
  to { scale: 1.12; }
}

.av-hero-content { transition: transform .6s ease-out; }

/* Indicador "Descubre más" con ratón animado */
.av-scroll span {
  display: block;
  width: 22px;
  height: 34px;
  border: 2px solid rgba(255,255,255,.8);
  border-radius: 14px;
  font-size: 0;
  position: relative;
  animation: none;
}

.av-scroll span::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 50%;
  width: 4px;
  height: 7px;
  margin-left: -2px;
  border-radius: 4px;
  background: #fff;
  animation: avMouse 1.8s ease-in-out infinite;
}

@keyframes avMouse {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(12px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* 5. Tarjetas 3D con brillo */
.av-adventure-card, .av-tour-card { transform-style: preserve-3d; will-change: transform; }
.av-adventure-card { transition: transform .35s ease-out, opacity .8s ease; }

.av-glare {
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit;
  opacity: 0;
  pointer-events: none;
  mix-blend-mode: soft-light;
  transition: opacity .3s ease;
}

/* 6. Fotos que se descubren */
img.av-wipe {
  clip-path: inset(0 0 100% 0);
  scale: 1.15;
  transition: clip-path 1.1s cubic-bezier(.7,0,.2,1), scale 1.6s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1);
}

img.av-wipe.is-in { clip-path: inset(0 0 0 0); scale: 1; }

/* Botones verdes con destello */
.av-btn-green, .av-reserve { position: relative; overflow: hidden; isolation: isolate; }

.av-btn-green::after, .av-reserve::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  z-index: -1;
  width: 50%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent);
  transform: skewX(-20deg);
  animation: avBtnShine 4.5s ease-in-out infinite;
}

.av-btn-green:hover::after, .av-reserve:hover::after { animation-duration: 1.2s; }

@keyframes avBtnShine {
  0%, 70% { left: -75%; }
  100% { left: 130%; }
}

/* 7. WhatsApp: pulso y burbuja */
.av-wa-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25D366;
  z-index: -1;
  animation: avWaPulse 2.4s ease-out infinite;
}

@keyframes avWaPulse {
  0% { transform: scale(1); opacity: .6; }
  100% { transform: scale(1.7); opacity: 0; }
}

.av-wa-bubble {
  position: fixed;
  right: 92px;
  bottom: 30px;
  z-index: 901;
  max-width: 240px;
  padding: 14px 34px 14px 16px;
  border-radius: 18px 18px 4px 18px;
  background: #fff;
  box-shadow: 0 14px 40px rgba(0,0,0,.2);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(.95);
  transform-origin: bottom right;
  transition: opacity .35s ease, transform .45s cubic-bezier(.3,1.5,.6,1), visibility .35s;
}

.av-wa-bubble.is-on { opacity: 1; visibility: visible; transform: none; }
.av-wa-bubble strong { display: block; color: var(--oscuro); font-size: 15px; }
.av-wa-bubble span { color: var(--gris); font-size: 13.5px; line-height: 1.4; }

.av-wa-bubble button {
  position: absolute;
  top: 6px;
  right: 8px;
  border: 0;
  background: none;
  color: #9AA4A7;
  font-size: 12px;
  cursor: pointer;
}

@media (max-width: 650px) {
  .av-flight { top: 10px; height: 200px; }
  .av-plane { width: 30px; height: 30px; }
  .av-wa-bubble { right: 86px; bottom: 26px; max-width: 200px; }
  .av-intro img { width: 170px; }
}

@media (prefers-reduced-motion: reduce) {
  .av-hero-video, .av-btn-green::after, .av-reserve::after, .av-wa-float::before { animation: none; }
  img.av-wipe { clip-path: none; scale: 1; }
}

/* Fondo de la intro mientras carga (evita ver la página un instante) */
.av-intro-activa body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 4999;
  background: linear-gradient(135deg, #0E3550 0%, #154B69 50%, #206D99 100%);
}


/* =========================================================
   PALMERAS EN "COLOMBIA TE ESTÁ ESPERANDO"
   ========================================================= */

.av-palm {
  position: absolute;
  top: 0;
  z-index: 0;
  width: clamp(200px, 24vw, 380px);
  height: auto;
  pointer-events: none;
  filter: drop-shadow(0 10px 14px rgba(21,75,105,.12));
  animation: avPalmSway 7s ease-in-out infinite;
}

.av-palm.is-left { left: 0; transform-origin: 0 0; }
.av-palm.is-right { right: 0; transform-origin: 100% 0; animation-delay: -3.5s; }

@keyframes avPalmSway {
  0%, 100% { rotate: 0deg; }
  50% { rotate: 3deg; }
}

.av-palm.is-right { animation-name: avPalmSwayR; }
@keyframes avPalmSwayR {
  0%, 100% { rotate: 0deg; }
  50% { rotate: -3deg; }
}

/* Entrada: las hojas "caen" desde la esquina */
.js .av-palm { opacity: 0; translate: -30px -30px; transition: opacity 1s ease, translate 1.2s cubic-bezier(.2,.7,.2,1); }
.js .av-palm.is-right { translate: 30px -30px; }
.js .av-palm.is-in { opacity: .95; translate: 0 0; }

@media (max-width: 650px) {
  .av-palm { width: 150px; opacity: .9; }
}

@media (prefers-reduced-motion: reduce) {
  .av-palm { animation: none; }
  .js .av-palm { opacity: .95; translate: 0 0; }
}

/* Palmeras reales (fotos PNG) */
.av-palm { filter: drop-shadow(0 12px 18px rgba(21,75,105,.15)); }
.av-palm.is-left { top: -40px; left: 0; width: clamp(130px, 15vw, 260px); }
.av-palm.is-right { top: -20px; right: 0; width: clamp(240px, 30vw, 520px); }
.js .av-palm.is-in { opacity: 1; }

@media (max-width: 650px) {
  .av-palm.is-left { width: 90px; top: -20px; }
  .av-palm.is-right { width: 180px; top: -10px; }
}

/* Precio anterior tachado y descuento */
.av-price-old { display: block; color: #9AA4A7; font-size: 14px; font-weight: 700; text-decoration-color: #C0392B; text-decoration-thickness: 2px; }
.av-tour-price .av-price-save { color: var(--verde); font-weight: 800; }
.av-tour-prices .av-price-old { display: inline; font-size: 12.5px; margin-right: 4px; }
.av-tour-off {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #E63946;
  color: #fff;
  font-size: 17px;
  font-weight: 900;
  box-shadow: 0 8px 20px rgba(230,57,70,.4);
  rotate: -10deg;
  animation: avOffPulse 2.4s ease-in-out infinite;
}
@keyframes avOffPulse { 0%,100% { scale: 1; } 50% { scale: 1.08; } }
@media (prefers-reduced-motion: reduce) { .av-tour-off { animation: none; } }
.av-tour-price .av-price-before { margin-bottom: 2px; }
.av-tour-price .av-price-before .av-price-old { display: inline; font-size: 13px; letter-spacing: 0; text-transform: none; }


/* =========================================================
   EXPERIENCIAS — SLIDER A PANTALLA COMPLETA
   ========================================================= */

.av-exp {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  max-height: 960px;
  overflow: hidden;
  color: #fff;
  background: var(--azul-deep);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.av-exp-bg, .av-exp-layer { position: absolute; inset: 0; }

.av-exp-layer {
  opacity: 0;
  scale: 1.12;
  transition: opacity 1.1s ease, scale 6s ease-out;
}

.av-exp-layer.is-active { opacity: 1; scale: 1; }

.av-exp-layer video { width: 100%; height: 100%; object-fit: cover; }

.av-exp-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8,32,48,.88) 0%, rgba(14,53,80,.55) 45%, rgba(14,53,80,.15) 75%, rgba(14,53,80,.35) 100%),
    linear-gradient(0deg, rgba(8,32,48,.75) 0%, rgba(8,32,48,0) 40%);
}

.av-exp-inner {
  position: relative;
  z-index: 2;
  width: min(1400px, 92%);
  margin: 0 auto;
  padding: 120px 0 130px;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 40px;
  align-items: center;
}

/* Riel vertical con número */
.av-exp-rail { display: flex; flex-direction: column; align-items: center; gap: 14px; height: 300px; font-size: 12px; font-weight: 900; letter-spacing: .08em; }
.av-exp-rail-num { color: #fff; }
.av-exp-rail-total { color: rgba(255,255,255,.5); }
.av-exp-rail-line { position: relative; flex: 1; width: 2px; border-radius: 2px; background: rgba(255,255,255,.2); overflow: hidden; }
.av-exp-rail-line i { position: absolute; inset: 0; background: var(--verde-light); transform: scaleY(0); transform-origin: top; }

/* Texto */
.av-exp-eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  color: #8FE39A;
  font-size: 12.5px;
  font-weight: 900;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.av-exp-title {
  position: relative;
  height: 1.05em;
  margin: 0;
  overflow: hidden;
  font-size: clamp(54px, 8vw, 120px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  text-shadow: 0 10px 40px rgba(0,0,0,.25);
}

.av-exp-title span {
  position: absolute;
  left: 0;
  top: 0;
  white-space: nowrap;
  transition: transform .8s cubic-bezier(.7,0,.2,1), opacity .8s ease;
}

.av-exp-title span.is-entering { transform: translateY(100%); opacity: 0; }
.av-exp-title span.is-leaving { transform: translateY(-100%); opacity: 0; }

.av-exp-desc {
  max-width: 480px;
  min-height: 3.4em;
  margin: 22px 0 34px;
  color: rgba(255,255,255,.88);
  font-size: 17px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .6s ease, transform .6s ease;
}

.av-exp-desc.is-in { opacity: 1; transform: none; }

.av-exp-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.av-exp-play { cursor: pointer; border: 0; font-family: var(--font); }

/* Tarjetas de las siguientes experiencias */
.av-exp-cards { position: relative; height: 400px; }

.av-exp-card {
  --pos: 1;
  --w: 230px;
  --gap: 24px;
  position: absolute;
  top: 50%;
  left: 0;
  width: var(--w);
  height: 320px;
  padding: 0;
  border: 0;
  background: none;
  color: #fff;
  font-family: var(--font);
  text-align: left;
  cursor: pointer;
  transform: translate(calc((var(--pos) - 1) * (var(--w) + var(--gap))), -50%) scale(calc(1 - (var(--pos) - 1) * .1));
  transform-origin: left center;
  opacity: calc(1 - (var(--pos) - 1) * .3);
  transition: transform .9s cubic-bezier(.7,0,.2,1), opacity .9s ease;
}

.av-exp-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 24px 50px rgba(0,0,0,.4);
  transition: transform .5s ease;
}

.av-exp-card:hover img { transform: translateY(-6px); }

.av-exp-card-label {
  position: absolute;
  top: -30px;
  left: 2px;
  font-size: 14px;
  font-weight: 800;
}

.av-exp-card-dots { position: absolute; top: -10px; left: 2px; display: flex; gap: 5px; }
.av-exp-card-dots i { width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,.7); }

/* La activa se "expande" hacia el fondo y desaparece */
.av-exp-card.is-current {
  transform: translate(calc(-1 * (var(--w) + var(--gap)) - 40px), -50%) scale(1.25);
  opacity: 0;
  pointer-events: none;
}

/* Navegación inferior */
.av-exp-nav {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 44px;
  display: flex;
  align-items: center;
  gap: 14px;
  translate: -50% 0;
}

.av-exp-arrow {
  width: 48px;
  height: 48px;
  padding-bottom: 3px;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: background .25s ease, border-color .25s ease, transform .25s ease;
}

.av-exp-arrow:hover { background: var(--verde); border-color: var(--verde); transform: scale(1.08); }

.av-exp-count { min-width: 70px; text-align: center; color: rgba(255,255,255,.6); font-size: 13px; font-weight: 800; letter-spacing: .1em; }
.av-exp-count b { color: #fff; font-size: 16px; }

.av-exp-progress { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,255,255,.12); }
.av-exp-progress i { position: absolute; inset: 0; background: linear-gradient(90deg, var(--azul-light), var(--verde-light)); transform: scaleX(0); transform-origin: left; }

/* Ventana del video con sonido */
.av-exp-modal {
  width: min(460px, 92vw);
  padding: 0;
  border: 0;
  border-radius: 24px;
  background: #000;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
}
.av-exp-modal::backdrop { background: rgba(5,20,30,.8); backdrop-filter: blur(6px); }
.av-exp-modal[open] { animation: avModalIn .35s cubic-bezier(.2,.8,.2,1); }
.av-exp-modal video { display: block; width: 100%; max-height: 86vh; background: #000; }

/* Responsive */
@media (max-width: 1050px) {
  .av-exp-inner { grid-template-columns: 30px 1fr; }
  .av-exp-cards { grid-column: 2; height: 260px; }
  .av-exp-card { --w: 160px; --gap: 16px; height: 220px; }
}

@media (max-width: 650px) {
  .av-exp { min-height: 0; max-height: none; }
  .av-exp-inner { grid-template-columns: 1fr; gap: 26px; padding: 96px 0 110px; }
  .av-exp-rail { display: none; }
  .av-exp-cards { grid-column: 1; height: 200px; }
  .av-exp-card { --w: 128px; --gap: 14px; height: 170px; }
  .av-exp-card img { border-radius: 14px; }
  .av-exp-card-label { font-size: 12.5px; }
  .av-exp-title { font-size: clamp(46px, 14vw, 64px); }
  .av-exp-desc { font-size: 15.5px; margin: 16px 0 24px; }
  .av-exp-eyebrow { font-size: 11px; letter-spacing: .14em; }
  .av-exp-nav { bottom: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  .av-exp-layer, .av-exp-card, .av-exp-title span, .av-exp-desc { transition: none; }
}

/* Ajuste: títulos largos sin recortarse a los lados */
.av-exp-inner { grid-template-columns: 40px minmax(0, 1.15fr) minmax(0, 1fr); }
.av-exp-title { overflow: visible; clip-path: inset(-0.2em -100vw 0 -20px); height: 1.12em; font-size: clamp(50px, 6.4vw, 108px); padding-top: .07em; }
.av-exp-title span { top: .07em; }
.av-exp-text { position: relative; z-index: 1; }
@media (max-width: 650px) { .av-exp-title { font-size: clamp(42px, 12.5vw, 60px); } }

/* ---------- Experiencias v2: foto de fondo, videos en las tarjetas ---------- */

.av-exp-layer { background-size: cover; background-position: center; }

.av-exp-inner { grid-template-columns: 40px minmax(0, 1fr) minmax(0, 1.15fr); }

.av-exp-cards { height: 560px; }

.av-exp-card {
  --w: 300px;
  --gap: 26px;
  height: 500px;
  cursor: pointer;
  transform: translate(calc(var(--pos) * (var(--w) + var(--gap))), -50%) scale(calc(1 - var(--pos) * .12));
  opacity: calc(1 - var(--pos) * .28);
}

.av-exp-card.is-current {
  transform: translate(0, -50%) scale(1);
  opacity: 1;
  pointer-events: auto;
}

.av-exp-card.is-jump { transition: none; opacity: 0; }

.av-exp-card-media {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 22px;
  background: #0b2636;
  box-shadow: 0 26px 60px rgba(0,0,0,.45);
  transition: box-shadow .5s ease;
}

.av-exp-card.is-current .av-exp-card-media { box-shadow: 0 30px 70px rgba(0,0,0,.55), 0 0 0 3px rgba(56,182,69,.9); }

.av-exp-card-media video { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.av-exp-card:not(.is-current):hover video { transform: scale(1.04); }

.av-exp-card-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 64px;
  height: 64px;
  padding-left: 4px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  color: var(--azul-dark);
  font-size: 20px;
  cursor: pointer;
  translate: -50% -50%;
  box-shadow: 0 10px 30px rgba(0,0,0,.3);
  opacity: 0;
  transition: opacity .35s ease, scale .3s ease;
}

.av-exp-card.is-current .av-exp-card-play { opacity: .9; }
.av-exp-card.is-current:hover .av-exp-card-play { opacity: 1; scale: 1.08; }
.av-exp-card:not(.is-current) .av-exp-card-play { pointer-events: none; }

.av-exp-card-label { top: -34px; font-size: 15px; }
.av-exp-card-dots { top: -12px; }

@media (max-width: 1300px) {
  .av-exp-card { --w: 250px; --gap: 20px; height: 420px; }
  .av-exp-cards { height: 480px; }
}

@media (max-width: 1050px) {
  .av-exp-card { --w: 200px; --gap: 16px; height: 330px; }
  .av-exp-cards { height: 380px; }
}

@media (max-width: 650px) {
  .av-exp-card { --w: 150px; --gap: 12px; height: 250px; }
  .av-exp-cards { height: 290px; }
  .av-exp-card-play { width: 48px; height: 48px; font-size: 16px; }
  .av-exp-card-media { border-radius: 16px; }
}
@media (max-width: 1050px) { .av-exp-inner { grid-template-columns: 30px minmax(0, 1fr); } .av-exp-cards { grid-column: 2; } }
@media (max-width: 650px) { .av-exp-inner { grid-template-columns: minmax(0, 1fr); } .av-exp-cards { grid-column: 1; } }

/* Clases que reemplazan estilos en línea (seguridad: política CSP) */
.av-pos-38 { object-position: center 38%; }
.av-pos-35 { object-position: center 35%; }
.av-page-full { min-height: 100vh; }
.av-logo-404 { display: inline-block; margin-bottom: 40px; }
