/* ==========================================================================
   DEJAVU PARAPENTE — ESTILOS COMPLETO (TEMA CLARO PREMIUM & DETALLES OSCUROS)
   ========================================================================== */

:root {
  /* Paleta Light (Predeterminada) */
  --bg-primary: #ffffff;
  --bg-secondary: #fcfbf9;
  /* off-white muy suave */
  --bg-tertiary: #f4ebd9;
  /* crema suave */
  --bg-dark: #12100e;
  /* para secciones oscuras contrastantes */
  --bg-darker: #0c0a09;
  /* para el footer */

  --text-primary: #1c1917;
  /* carbón oscuro para legibilidad */
  --text-secondary: #57534e;
  /* gris piedra para textos secundarios */
  --text-light: #f7f0e2;
  /* crema para texto sobre fondo oscuro */
  --text-light-muted: #d6d3d1;
  /* crema atenuado */

  --line-light: rgba(28, 25, 23, 0.08);
  /* bordes sutiles en secciones claras */
  --line-dark: rgba(247, 240, 226, 0.12);
  /* bordes sutiles en secciones oscuras */

  /* Colores de marca y acentos */
  --sun-yellow: #f4c34a;
  --sun-gold: #f0a941;
  --sun-orange: #eb8640;
  --sun-red: #d75a3c;
  --sun-maroon: #8f3448;
  --teal: #2f9a92;
  --teal-dark: #1c6864;
  --teal-light: #5fc2b9;
  --lime: #c4e538;
  --accent-teal: #009a97;

  --radius: 18px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.1);
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- RESET & BASES ---------- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'DM Sans', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

a {
  color: inherit;
  text-decoration: none;
}

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

.script {
  font-family: 'Caveat', cursive;
  font-weight: 700;
  color: var(--sun-gold);
}

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

/* Eyebrows */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 700;
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--teal);
  display: inline-block;
}

.section-dark .eyebrow {
  color: var(--teal-light);
}

.section-dark .eyebrow::before {
  background: var(--teal-light);
}

/* ---------- BOTONES ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease, color .25s ease;
}

.btn-primary {
  background: linear-gradient(100deg, var(--sun-yellow), var(--sun-orange) 55%, var(--sun-red));
  color: #241108;
  box-shadow: 0 4px 15px rgba(235, 134, 64, 0.15);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -10px rgba(235, 134, 64, 0.55);
}

.btn-ghost {
  border-color: var(--line-light);
  color: var(--text-primary);
  background: rgba(28, 25, 23, 0.02);
}

.btn-ghost:hover {
  border-color: var(--teal);
  color: var(--teal-dark);
  background: rgba(47, 154, 146, 0.05);
}

.section-dark .btn-ghost {
  border-color: var(--line-dark);
  color: var(--text-light);
  background: rgba(247, 240, 226, 0.04);
}

.section-dark .btn-ghost:hover {
  border-color: var(--teal-light);
  color: var(--teal-light);
  background: rgba(95, 194, 185, 0.05);
}

.btn-lime {
  background: #B8D99A;
  color: #12100e;
  box-shadow: 0 4px 15px rgba(184, 217, 154, 0.25);
}

.btn-lime:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(184, 217, 154, 0.45);
  background: #a4c983;
  color: #12100e;
}

.btn-play {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-play:hover {
  color: #B8D99A;
}

.btn-play:hover .play-icon {
  transform: scale(1.08);
  border-color: #B8D99A;
  background: rgba(255, 255, 255, 0.15);
}

.play-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
}

.play-icon svg {
  width: 16px;
  height: 16px;
  margin-left: 2px;
}

.btn-nav {
  background: #B8D99A;
  color: #12100e;
  padding: 10px 22px;
  font-size: 0.88rem;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(184, 217, 154, 0.15);
  transition: var(--transition-smooth);
}

.btn-nav:hover {
  background: #a4c983;
  color: #12100e;
  transform: translateY(-1px);
  box-shadow: 0 6px 15px rgba(184, 217, 154, 0.3);
}

/* ---------- HEADER / NAV ---------- */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

header.scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-light);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

nav {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  position: relative;
}

.brand-logo {
  height: 80px;
  /* Agrandado de 60px a 80px */
  width: auto;
  object-fit: contain;
  transition: opacity 0.3s ease, transform 0.3s ease, height 0.3s ease;
}

header.scrolled .brand-logo {
  height: 75px;
  /* Agrandado de 65px a 75px */
}

.brand-logo.logo-color {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  opacity: 0;
  pointer-events: none;
}

.brand:hover .brand-logo {
  transform: scale(1.04);
}

.brand:hover .brand-logo.logo-color {
  transform: translateY(-50%) scale(1.04);
}

header.scrolled .logo-white,
header.solid .logo-white {
  opacity: 0;
  pointer-events: none;
}

header.scrolled .logo-color,
header.solid .logo-color {
  opacity: 1;
  pointer-events: auto;
}

.nav-links {
  display: flex;
  gap: 30px;
  font-size: 0.92rem;
  font-weight: 600;
}

.nav-links a {
  color: #ffffff;
  opacity: 0.85;
  transition: opacity .2s, color .2s;
  position: relative;
}

header.scrolled .nav-links a {
  color: var(--text-primary);
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #B8D99A;
  transition: width 0.3s ease;
}

header.scrolled .nav-links a::after {
  background: #B8D99A;
}

.nav-links a:hover,
.nav-links a.active {
  opacity: 1;
  color: #B8D99A;
}

header.scrolled .nav-links a:hover,
header.scrolled .nav-links a.active {
  color: #7ba855;
  /* Darker green for contrast on white scrolled background */
}

.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.6rem;
  cursor: pointer;
  transition: color 0.3s ease;
}

header.scrolled .menu-toggle {
  color: var(--text-primary);
}

@media (max-width: 1060px) {
  header.scrolled {
    background: rgba(255, 255, 255, 0.98);
  }

  .nav-links {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--bg-primary);
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid var(--line-light);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
  }

  .nav-links.open {
    max-height: 400px;
  }

  .nav-links a {
    padding: 16px 28px;
    border-top: 1px solid var(--line-light);
    color: var(--text-primary) !important;
  }

  .nav-links a::after {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .nav-cta .btn-primary-nav {
    display: none;
  }
}

/* ---------- NUEVO HERO (DE REFERENCIA A FOTO) ---------- */
.hero-new {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 120px 0 140px;
}

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

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(12, 28, 48, 0.9) 0%, rgba(12, 28, 48, 0.55) 55%, rgba(12, 28, 48, 0.3) 100%);
  z-index: 1;
}

.hero-inner-new {
  position: relative;
  z-index: 10;
  width: 100%;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.hero-main-content h1 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: clamp(2.6rem, 5.5vw, 4.5rem);
  line-height: 1.05;
  color: #ffffff;
  margin-bottom: 22px;
  letter-spacing: -0.02em;
}

.hero-main-content h1 .lime-text {
  color: #B8D99A;
  font-style: italic;
  font-family: 'Fraunces', serif;
  font-weight: 600;
}

.hero-desc {
  max-width: 580px;
  font-size: clamp(1.05rem, 1.5vw, 1.18rem);
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 38px;
  line-height: 1.6;
}

.hero-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
  max-width: 560px;
}

.feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feature-icon {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #B8D99A;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.feature-icon svg {
  width: 20px;
  height: 20px;
}

.feature-text h3 {
  color: #ffffff;
  font-family: 'DM Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.feature-text p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.88rem;
  line-height: 1.4;
}

.hero-ctas {
  display: flex;
  gap: 22px;
  align-items: center;
  flex-wrap: wrap;
}

.hero-badge {
  justify-self: end;
  align-self: end;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-lg);
  max-width: 320px;
  transition: transform 0.3s ease;
}

.hero-badge:hover {
  transform: translateY(-3px);
}

.badge-avatars {
  display: flex;
  align-items: center;
}

.badge-avatars .avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid #0c1c30;
  margin-left: -12px;
  object-fit: cover;
}

.badge-avatars .avatar:first-child {
  margin-left: 0;
}

.badge-info h4 {
  color: #ffffff;
  font-size: 1.15rem;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  line-height: 1.1;
}

.badge-info p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.78rem;
  line-height: 1.1;
  margin-bottom: 4px;
}

.badge-stars {
  display: flex;
  gap: 2px;
}

.badge-stars svg {
  width: 12px;
  height: 12px;
  color: #f1c40f;
}

.hero-curve-mask {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 15;
  height: 100px;
  pointer-events: none;
}

.hero-curve-mask svg {
  width: 100%;
  height: 100%;
}

@media (max-width: 860px) {
  .hero-new {
    padding: 100px 0 100px;
    min-height: auto;
  }

  .hero-inner-new {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hero-badge {
    justify-self: start;
    align-self: start;
    margin-top: 10px;
  }

  .hero-curve-mask {
    height: 60px;
  }
}

/* ---------- BANDA DE INFORMACIÓN ---------- */
.info-band {
  background: var(--bg-primary);
  padding: 50px 0 70px;
  border-bottom: 1px solid var(--line-light);
  position: relative;
  z-index: 18;
}

.info-band-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.info-icon {
  color: var(--teal);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-icon svg {
  width: 32px;
  height: 32px;
  stroke-width: 1.5;
}

.info-text h4 {
  color: var(--text-primary);
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.info-text p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.4;
}

@media (max-width: 960px) {
  .info-band-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 20px;
  }
}

@media (max-width: 580px) {
  .info-band-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .info-band {
    padding: 40px 0 50px;
  }
}

/* ---------- GENERAL SECTION STYLING ---------- */
section {
  padding: 100px 0;
  position: relative;
}

.section-light {
  background: var(--bg-primary);
  color: var(--text-primary);
}

.section-light-alt {
  background: var(--bg-secondary);
  color: var(--text-primary);
}

.section-dark {
  background: var(--bg-dark);
  color: var(--text-light);
}

.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}

.section-head h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
}

.section-light .section-head h2 {
  color: var(--text-primary);
}

.section-light .section-head p {
  color: var(--text-secondary);
  margin-top: 14px;
  font-size: 1.02rem;
}

.section-dark .section-head h2 {
  color: var(--text-light);
}

.section-dark .section-head p {
  color: var(--text-light-muted);
  margin-top: 14px;
  font-size: 1.02rem;
}

.divider-band {
  height: 6px;
  width: 100%;
  background: linear-gradient(90deg, var(--sun-yellow), var(--sun-gold) 25%, var(--sun-orange) 55%, var(--sun-red) 80%, var(--sun-maroon));
  position: relative;
  z-index: 5;
}

/* ---------- NOSOTROS (DARK SECTION) ---------- */
.nosotros-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 70px;
  align-items: center;
}

.nosotros-grid h2 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  line-height: 1.1;
  color: #121c2e;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}

.nosotros-grid h2 .script-green {
  font-family: 'Caveat', cursive;
  font-weight: 700;
  color: var(--accent-teal);
  font-size: clamp(2.8rem, 6vw, 4.2rem);
  display: inline-block;
  transform: rotate(-2deg);
  position: relative;
  margin-left: 6px;
}

.nosotros-grid h2 .script-green::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent-teal);
  border-radius: 4px;
  opacity: 0.8;
}

/* Divider with Mountain icon */
.header-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  max-width: 340px;
}

.divider-line {
  flex: 1;
  height: 1px;
  background: var(--line-light);
}

.mountain-icon {
  width: 24px;
  height: 24px;
  color: #F7D56A;
  flex-shrink: 0;
}

.nosotros-grid p {
  color: var(--text-secondary);
  font-size: 1.02rem;
  margin-bottom: 18px;
  line-height: 1.6;
}

/* Badge cards row */
.nosotros-badges {
  display: flex;
  gap: 14px;
  margin: 32px 0;
  flex-wrap: wrap;
}

.nosotros-badge {
  background: var(--bg-secondary);
  border: 1px solid var(--line-light);
  border-radius: 12px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 180px;
  box-shadow: var(--shadow-sm);
}

.nosotros-badge .badge-icon {
  width: 34px;
  height: 34px;
  background: rgba(247, 213, 106, 0.12);
  color: #F7D56A;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nosotros-badge .badge-icon svg {
  width: 18px;
  height: 18px;
}

.nosotros-badge .badge-text {
  font-size: 0.8rem;
  line-height: 1.35;
  color: var(--text-secondary);
}

.nosotros-badge .badge-text strong {
  color: var(--text-primary);
}

.nosotros-badge .badge-logo-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--line-light);
  padding: 2px;
}

.nosotros-badge .badge-logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* CTAs Buttons */
.nosotros-ctas {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.btn-teal-pill {
  background: var(--accent-teal);
  color: #ffffff;
  border-radius: 999px;
  padding: 14px 28px;
  font-size: 0.95rem;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(0, 154, 151, 0.2);
  transition: var(--transition-smooth);
}

.btn-teal-pill:hover {
  background: #00807d;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0, 154, 151, 0.35);
}

.btn-play-teal {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent-teal);
  font-weight: 700;
  font-size: 0.95rem;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-play-teal:hover {
  color: #00807d;
}

.play-icon-teal {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--accent-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  color: var(--accent-teal);
  background: rgba(0, 154, 151, 0.05);
}

.btn-play-teal:hover .play-icon-teal {
  background: rgba(0, 154, 151, 0.12);
  transform: scale(1.08);
  border-color: #00807d;
  color: #00807d;
}

.play-icon-teal svg {
  width: 14px;
  height: 14px;
  margin-left: 2px;
}

/* Visual Column */
.visual-img-container {
  position: relative;
  padding: 15px;
}

.visual-img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  display: block;
}

@media (max-width: 900px) {
  .visual-img {
    height: 380px;
  }
}

@media (max-width: 600px) {
  .visual-img {
    height: 300px;
  }
}

.nosotros-location-text {
  margin-top: 20px;
  font-size: 0.96rem;
  line-height: 1.6;
  color: var(--text-secondary);
  text-align: center;
  font-style: italic;
  padding: 0 10px;
  position: relative;
  z-index: 5;
}

.dots-pattern {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 80px;
  height: 80px;
  background-image: radial-gradient(var(--accent-teal) 1.5px, transparent 1.5px);
  background-size: 12px 12px;
  opacity: 0.3;
  z-index: 1;
}

.contour-lines {
  position: absolute;
  bottom: 25px;
  right: 25px;
  width: 180px;
  height: auto;
  opacity: 0.6;
  pointer-events: none;
  z-index: 2;
}

.visual-badge {
  position: absolute;
  bottom: -15px;
  left: -15px;
  background: #ffffff;
  border-radius: 16px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--line-light);
  max-width: 260px;
  z-index: 10;
  transition: transform 0.3s ease;
}

.visual-badge:hover {
  transform: translateY(-3px);
}

.visual-badge-icon {
  width: 40px;
  height: 40px;
  background: rgba(247, 213, 106, 0.12);
  color: #F7D56A;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.visual-badge-icon svg {
  width: 20px;
  height: 20px;
}

.visual-badge-info h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.visual-badge-info p {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.3;
}

@media (max-width: 900px) {
  .nosotros {
    padding-bottom: 30px !important;
  }
  
  #planes {
    padding-top: 30px !important;
  }

  .nosotros-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .visual-badge {
    left: 10px;
    bottom: -15px;
  }
}

/* ---------- PLANES (LIGHT-ALT SECTION) ---------- */
#planes {
  background-image: url('img/wallpaper.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 60px 0;
}

.planes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.plan-card {
  background: var(--bg-primary);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: transform .3s cubic-bezier(0.4, 0, 0.2, 1), border-color .3s ease, box-shadow .3s ease;
}

.plan-card:hover {
  transform: translateY(-8px);
  border-color: var(--sun-gold);
  box-shadow: 0 15px 35px rgba(240, 169, 65, 0.1), var(--shadow-md);
}

.plan-card.featured {
  border-color: var(--sun-gold);
  background: linear-gradient(165deg, rgba(240, 169, 65, 0.03), var(--bg-primary) 55%);
  box-shadow: 0 10px 30px rgba(240, 169, 65, 0.06), var(--shadow-sm);
}

.plan-card.featured:hover {
  box-shadow: 0 18px 45px rgba(240, 169, 65, 0.15), var(--shadow-md);
}

.plan-flag {
  position: absolute;
  top: -13px;
  right: 24px;
  background: linear-gradient(100deg, var(--sun-yellow), var(--sun-orange));
  color: #241108;
  font-weight: 700;
  font-size: 0.72rem;
  padding: 6px 14px;
  border-radius: 999px;
  box-shadow: 0 4px 10px rgba(235, 134, 64, 0.2);
}

.plan-time {
  font-size: 0.8rem;
  color: var(--teal-dark);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.plan-card h3 {
  font-size: 1.5rem;
  margin-bottom: 18px;
  color: var(--text-primary);
}

.plan-price {
  font-family: 'Fraunces', serif;
  font-size: 2.1rem;
  color: var(--sun-orange);
  margin-bottom: 2px;
}

.plan-price span {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
}

.plan-usd {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 22px;
}

.plan-description {
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--text-secondary);
  margin-bottom: 22px;
}

.plan-list {
  list-style: none;
  margin-bottom: 20px;
}

.plan-list li {
  padding: 8px 0;
  border-top: 1px solid var(--line-light);
  font-size: 0.92rem;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--text-secondary);
}

.plan-list li:first-child {
  border-top: none;
}

.plan-list li svg {
  flex-shrink: 0;
  margin-top: 3px;
  width: 15px;
  height: 15px;
  color: #F7D56A;
}

.plan-extra-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin: 14px 0 8px;
  font-weight: 700;
}

.plan-card .btn {
  margin-top: auto;
  justify-content: center;
  width: 100%;
}

@media (max-width: 920px) {
  .planes-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- CÓMO LLEGAR (DARK SECTION) ---------- */
#llegar {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

#llegar::before {
  content: "";
  position: absolute;
  inset: -20px;
  background-image: url('img/wallpaper black.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: blur(6px);
  z-index: -1;
  opacity: 0.9;
}

.llegar-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-dark);
  aspect-ratio: 4/3.4;
  box-shadow: var(--shadow-md);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.address-card {
  margin-top: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 20px 22px;
}

.address-card b {
  color: var(--sun-gold);
}

.address-card a.map-link {
  color: var(--teal-light);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.tab-btn {
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--line-dark);
  background: transparent;
  color: var(--text-light-muted);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all .25s ease;
}

.tab-btn:hover {
  border-color: var(--teal-light);
  color: var(--text-light);
  background: rgba(255, 255, 255, 0.02);
}

.tab-btn.active {
  background: linear-gradient(100deg, var(--sun-yellow), var(--sun-orange));
  color: #241108;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(235, 134, 64, 0.3);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
  animation: fadeIn 0.45s ease;
}

.transport-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 24px;
}

.transport-card h4 {
  font-size: 1.15rem;
  margin-bottom: 6px;
  color: var(--sun-gold);
}

.transport-meta {
  display: flex;
  gap: 26px;
  margin: 16px 0;
  flex-wrap: wrap;
}

.transport-meta div span {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal-light);
  font-weight: 700;
}

.transport-meta div b {
  font-family: 'Fraunces', serif;
  font-size: 1.25rem;
  color: var(--text-light);
}

.transport-card p {
  color: var(--text-light-muted);
  font-size: 0.93rem;
}

.transport-card ol {
  margin: 12px 0 0 20px;
  color: var(--text-light-muted);
  font-size: 0.92rem;
}

.transport-card ol li {
  margin-bottom: 8px;
}

@media (max-width: 920px) {
  .llegar-layout {
    grid-template-columns: 1fr;
  }
}

/* ---------- CERTIFICACIONES (LIGHT SECTION) ---------- */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.cert-card {
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
  background: var(--bg-secondary);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.cert-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: #B8D99A;
}

.cert-card .cert-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #F7D56A;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(247, 213, 106, 0.08);
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
  overflow: hidden;
}

.cert-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
  /* Espacio para que el logo no toque los bordes del círculo */
  border-radius: 50%;
  background: #ffffff;
}

.cert-card:hover .cert-icon {
  transform: scale(1.06);
  border-color: #B8D99A;
}

.cert-card h4 {
  font-size: 1.05rem;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.cert-card p {
  color: var(--text-secondary);
  font-size: 0.86rem;
}

@media (max-width: 1024px) {
  .cert-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .cert-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- BLOG (LIGHT-ALT SECTION) ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.blog-card {
  background: var(--bg-primary);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.blog-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-teal);
  box-shadow: var(--shadow-md);
}

.blog-card-tag {
  align-self: flex-start;
  font-size: 0.72rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent-teal);
  margin-bottom: 12px;
}

.blog-card h3 {
  font-size: 1.35rem;
  margin-bottom: 14px;
  line-height: 1.3;
  color: var(--text-primary);
}

.blog-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 24px;
  line-height: 1.5;
}

.blog-card .read-more-link {
  margin-top: auto;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--accent-teal);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-smooth);
}

.blog-card:hover .read-more-link {
  color: var(--teal-dark);
  transform: translateX(4px);
}

@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ---------- DISEÑO DE LECTURA DE ARTÍCULO (PÁGINA INDIVIDUAL) ---------- */
.blog-page-spacer {
  display: block;
  height: 90px;
  /* igual a la altura del navbar fijo */
  background: var(--bg-primary);
}

.blog-post-page {
  padding: 60px 0 100px;
  background: var(--bg-primary);
}

.blog-back-container {
  text-align: center;
  margin-bottom: 35px;
}

.blog-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text-secondary);
  transition: var(--transition-smooth);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 1px solid var(--line-light);
  border-radius: 999px;
  padding: 8px 20px;
  background: var(--bg-secondary);
}

.blog-back-btn:hover {
  color: var(--accent-teal);
  border-color: var(--accent-teal);
  transform: translateX(-4px);
  box-shadow: var(--shadow-sm);
}

.blog-post-detail {
  max-width: 740px;
  margin: 0 auto;
}

.blog-post-header {
  text-align: center;
  border-bottom: 1px solid var(--line-light);
  padding-bottom: 36px;
  margin-bottom: 40px;
}

.blog-post-tag {
  display: inline-block;
  font-size: 0.78rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent-teal);
  margin-bottom: 12px;
}

.blog-post-header h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 18px;
}

.blog-post-meta {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.blog-post-body {
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--text-secondary);
}

.blog-post-body p {
  margin-bottom: 24px;
}

.blog-post-body h2 {
  font-size: 1.6rem;
  color: var(--text-primary);
  margin: 40px 0 18px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
}

.blog-post-body ul,
.blog-post-body ol {
  margin: 0 0 24px 24px;
}

.blog-post-body li {
  margin-bottom: 10px;
}

.blog-post-body strong {
  color: var(--text-primary);
}

.blog-quote {
  border-left: 4px solid var(--accent-teal);
  padding: 10px 0 10px 24px;
  margin: 35px 0;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 1.35rem;
  color: var(--text-primary);
  line-height: 1.5;
}

.blog-post-footer {
  margin-top: 60px;
  padding: 40px 30px;
  background: var(--bg-secondary);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.blog-post-footer h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.blog-post-footer p {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 24px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

.blog-post-footer .btn {
  justify-content: center;
}

/* Header solid override for blog pages */
header.solid {
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border-bottom: 1px solid var(--line-light) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
}

header.solid .brand-logo {
  filter: none !important;
}

header.solid .nav-links a {
  color: var(--text-primary) !important;
}

header.solid .nav-links a::after {
  background: #7ba855 !important;
}

header.solid .menu-toggle {
  color: var(--text-primary) !important;
}

/* ---------- CTA BAND (BANNER BACKGROUND) ---------- */
.cta-band {
  background-image: linear-gradient(rgba(18, 16, 14, 0.25), rgba(18, 16, 14, 0.25)), url('img/banner.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #ffffff;
  padding: 100px 0;
  text-align: center;
  position: relative;
  z-index: 5;
}

.cta-band h2 {
  color: #ffffff;
  font-size: clamp(2rem, 3.8vw, 2.8rem);
  margin-bottom: 18px;
  font-family: 'Fraunces', serif;
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.cta-band p {
  margin-bottom: 28px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.12rem;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

.cta-band .btn-primary {
  background: #12100e;
  color: #ffffff;
  border-radius: 999px;
  padding: 14px 32px;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(18, 16, 14, 0.2);
  transition: var(--transition-smooth);
}

.cta-band .btn-primary:hover {
  background: #000000;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(18, 16, 14, 0.35);
}

/* ---------- FOOTER (DARKER BACKGROUND) ---------- */
footer {
  background: var(--bg-darker);
  border-top: 1px solid var(--line-dark);
  padding: 60px 0 30px;
  position: relative;
  z-index: 5;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-grid h5 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--teal-light);
  margin-bottom: 14px;
}

.footer-grid p,
.footer-grid a {
  color: var(--text-light-muted);
  font-size: 0.92rem;
  display: block;
  margin-bottom: 8px;
}

.footer-grid a:hover {
  color: var(--sun-gold);
}

.footer-socials {
  display: flex;
  gap: 14px;
  margin-top: 20px;
}

.footer-socials a {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-light-muted) !important;
  transition: all 0.3s ease;
  margin-bottom: 0 !important;
}

.footer-socials a svg {
  width: 18px;
  height: 18px;
}

.footer-socials a:hover {
  background: #B8D99A !important;
  border-color: #B8D99A !important;
  color: #12100e !important;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(184, 217, 154, 0.25);
}

.footer-bottom {
  border-top: 1px solid var(--line-dark);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--text-light-muted);
}

.footer-bottom a {
  color: inherit;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.footer-bottom a:hover {
  color: #B8D99A;
}

@media (max-width: 800px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- FLOATING SOCIAL BUTTONS ---------- */
.floating-social-container {
  position: fixed;
  bottom: 26px;
  right: 26px;
  z-index: 70;
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: center;
}

.social-float,
.wa-float {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  color: #ffffff;
  flex-shrink: 0;
}

.social-float svg,
.wa-float svg {
  width: 24px;
  height: 24px;
}

.wa-float {
  width: 60px;
  height: 60px;
  background: #25D366;
  box-shadow: 0 10px 30px -6px rgba(37, 211, 102, 0.6);
  animation: pulse 2.6s ease-in-out infinite;
}

.wa-float svg {
  width: 30px;
  height: 30px;
}

.instagram-float {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  box-shadow: 0 6px 20px rgba(220, 39, 67, 0.35);
}

.facebook-float {
  background: #1877F2;
  box-shadow: 0 6px 20px rgba(24, 119, 242, 0.35);
}

.tiktok-float {
  background: #010101;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
}

.social-float:hover,
.wa-float:hover {
  transform: scale(1.08) translateY(-2px);
}

@media (max-width: 600px) {
  .floating-social-container {
    bottom: 16px;
    right: 16px;
    gap: 8px;
  }
  .social-float {
    width: 44px;
    height: 44px;
  }
  .social-float svg {
    width: 20px;
    height: 20px;
  }
  .wa-float {
    width: 52px;
    height: 52px;
  }
  .wa-float svg {
    width: 26px;
    height: 26px;
  }
}

/* ---------- ANIMACIONES Y EFECTOS ---------- */
@keyframes pulse {

  0%,
  100% {
    box-shadow: 0 10px 30px -6px rgba(37, 211, 102, 0.6);
  }

  50% {
    box-shadow: 0 10px 40px -4px rgba(37, 211, 102, 0.9);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes glide {

  0%,
  100% {
    transform: translate(0, 0) rotate(-3deg);
  }

  50% {
    transform: translate(-18px, 22px) rotate(2deg);
  }
}

/* Scroll Reveal Classes */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.15s;
}

.reveal-delay-2 {
  transition-delay: 0.3s;
}

.reveal-delay-3 {
  transition-delay: 0.45s;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .hero-glider {
    animation: none;
  }

  .wa-float {
    animation: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- VIDEO FLOTANTE ---------- */
.floating-video-container {
  position: fixed;
  bottom: 26px;
  left: 26px;
  width: 440px;
  border-radius: 14px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-lg);
  z-index: 68;
  opacity: 0;
  transform: translateY(20px) scale(0.9);
  visibility: hidden;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.4s;
  background: #000000;
}

.floating-video-container.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  visibility: visible;
}

.floating-video-container video {
  width: 100%;
  max-height: 680px;
  object-fit: cover;
  display: block;
}

.close-floating-video {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 72;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  color: #ffffff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: bold;
  transition: background 0.2s ease, transform 0.2s ease;
}

.close-floating-video:hover {
  background: rgba(0, 0, 0, 0.9);
  transform: scale(1.08);
}

@media (max-width: 580px) {
  .floating-video-container {
    width: 280px;
    bottom: 90px;
    left: 16px;
    border-radius: 10px;
  }

  .close-floating-video {
    width: 24px;
    height: 24px;
    font-size: 0.8rem;
    top: 8px;
    right: 8px;
  }
}

/* ---------- DECORACIONES DE VUELO (RECURSO 1) ---------- */
.deco-flight-path {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  opacity: 0.45;
  transition: opacity 0.3s ease;
}

.deco-planes-left {
  left: 20px;
  top: 15%;
  width: 140px;
  transform: scaleX(-1) rotate(15deg);
}

.deco-certs-right {
  right: 30px;
  top: -15%;
  width: 160px;
  transform: rotate(-10deg);
}

@media (max-width: 1200px) {
  .deco-flight-path {
    opacity: 0.25;
    width: 110px;
  }

  .deco-planes-left {
    left: 5px;
  }

  .deco-certs-right {
    right: 5px;
  }
}

@media (max-width: 1024px) {
  .deco-flight-path {
    display: none;
  }
}

/* ---------- CARRUSEL MAGNÉTICO (PREMIUM GALLERY) ---------- */
.magnetic-carousel-container {
  width: 100%;
  position: relative;
  display: block;
  margin: 40px auto 0;
  min-height: 480px;
  overflow-x: auto;
  overflow-y: hidden;
  touch-action: pan-x;
  scrollbar-width: thin;
  scrollbar-color: var(--teal) rgba(28, 25, 23, 0.05);
}

.magnetic-carousel-container::-webkit-scrollbar {
  height: 6px;
}

.magnetic-carousel-container::-webkit-scrollbar-track {
  background: rgba(28, 25, 23, 0.03);
}

.magnetic-carousel-container::-webkit-scrollbar-thumb {
  background: var(--teal);
  border-radius: 99px;
}

.magnetic-track {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  position: relative;
  z-index: 20;
  width: max-content;
  height: 440px;
  padding: 20px 0;
}

.magnetic-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(18, 16, 14, 0);
  z-index: 10;
  pointer-events: none;
  transition: background 0.4s cubic-bezier(0.44, 0, 0.56, 1), backdrop-filter 0.4s cubic-bezier(0.44, 0, 0.56, 1);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
}

.magnetic-carousel-container.is-open .magnetic-backdrop {
  background: rgba(18, 16, 14, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  pointer-events: auto;
}

.magnetic-item {
  flex: none;
  width: 180px;
  height: 320px;
  border-radius: 16px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  will-change: width, height, filter, opacity, transform;
  position: relative;
  z-index: 2;
  transition: none;
  /* JS control handles normal state */
  overflow: hidden;
}

/* Hover and active indicators */
.magnetic-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.3) 0%, transparent 50%);
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.magnetic-item:hover::after {
  opacity: 0.4;
}

/* Transition classes for open/close state */
.magnetic-item.transitioning {
  transition: width 0.35s cubic-bezier(0.44, 0, 0.56, 1),
    height 0.35s cubic-bezier(0.44, 0, 0.56, 1),
    filter 0.35s cubic-bezier(0.44, 0, 0.56, 1),
    opacity 0.35s cubic-bezier(0.44, 0, 0.56, 1),
    transform 0.35s cubic-bezier(0.44, 0, 0.56, 1) !important;
}

.magnetic-item.is-open {
  z-index: 30 !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  filter: none !important;
  opacity: 1 !important;
}

.magnetic-item.blurred {
  filter: blur(3px);
  opacity: 0.4;
  z-index: 1;
}

/* Responsiveness */
@media (max-width: 900px) {
  .magnetic-carousel-container {
    min-height: 380px;
    /* Reducido espacio */
  }

  .magnetic-track {
    gap: 8px;
    height: 360px;
    /* Altura de track ajustada a las tarjetas */
    padding: 10px 0;
  }

  .magnetic-item {
    width: 120px;
    height: 260px;
  }
}

@media (max-width: 600px) {
  .magnetic-carousel-container {
    min-height: 490px; /* Espacio para tarjetas masivas */
    margin-top: 15px;
  }

  .magnetic-track {
    gap: 12px;
    height: 480px; /* Altura de track ajustada a las tarjetas masivas */
    padding: 10px 0;
  }

  .magnetic-item {
    width: 260px; /* Agrandado a 260px para visualización de alto impacto */
    height: 420px; /* Agrandado a 420px para visualización de alto impacto */
    border-radius: 16px;
  }
}

/* ---------- DECORACIÓN DE BLOG (RECURSO 1) ---------- */
.blog-deco-left {
  position: absolute;
  left: -80px;
  /* offset a bit to the left so it hugs the side nicely */
  top: 60px;
  width: 480px;
  /* Doble de 240px */
  opacity: 0.15;
  /* Opacidad más suave para no distraer al ser más grande */
  pointer-events: none;
  z-index: 1;
  transform: scaleX(-1) rotate(12deg);
}

@media (max-width: 1200px) {
  .blog-deco-left {
    width: 320px;
    /* Doble de 160px */
    left: -40px;
    opacity: 0.12;
  }
}

@media (max-width: 960px) {
  .blog-deco-left {
    display: none;
  }
}

/* ---------- LIGHTBOX MODAL ---------- */
.lightbox-modal {
  display: flex;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(12, 10, 9, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 85%;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.lightbox-modal.active .lightbox-content {
  transform: scale(1);
}

.lightbox-content img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(28, 25, 23, 0.2);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(28, 25, 23, 0.5);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 2rem;
  cursor: pointer;
  z-index: 1010;
  border-radius: 50%;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s, border-color 0.2s;
  user-select: none;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(235, 134, 64, 0.9);
  border-color: rgba(235, 134, 64, 1);
  transform: scale(1.08);
}

.lightbox-close {
  top: 30px;
  right: 30px;
  font-size: 1.6rem;
  line-height: 1;
}

.lightbox-prev {
  left: 30px;
  font-size: 1.5rem;
}

.lightbox-next {
  right: 30px;
  font-size: 1.5rem;
}

@media (max-width: 768px) {
  .lightbox-prev {
    left: 15px;
    width: 44px;
    height: 44px;
    font-size: 1.2rem;
  }

  .lightbox-next {
    right: 15px;
    width: 44px;
    height: 44px;
    font-size: 1.2rem;
  }

  .lightbox-close {
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    font-size: 1.2rem;
  }

  .lightbox-content {
    max-width: 95%;
    max-height: 80%;
  }
}

/* ---------- TARJETA DE TRANSPORTE DESTACADO ---------- */
.transport-highlight-card {
  grid-column: 1 / -1;
  margin: 40px auto 10px;
  background: linear-gradient(135deg, rgba(47, 154, 146, 0.05) 0%, rgba(184, 217, 154, 0.05) 100%);
  border: 2px dashed var(--teal-light);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  width: 100%;
  max-width: 1120px;
}

.transport-highlight-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--teal);
  background: linear-gradient(135deg, rgba(47, 154, 146, 0.08) 0%, rgba(184, 217, 154, 0.08) 100%);
}

.transport-highlight-card .transport-badge {
  position: absolute;
  top: -13px;
  left: 32px;
  background: linear-gradient(100deg, var(--sun-yellow), var(--sun-orange));
  color: #241108;
  font-weight: 700;
  font-size: 0.72rem;
  padding: 6px 14px;
  border-radius: 999px;
  box-shadow: 0 4px 10px rgba(235, 134, 64, 0.2);
}

.transport-content {
  display: flex;
  align-items: center;
  gap: 28px;
}

.transport-icon-container {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(47, 154, 146, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--teal-dark);
  border: 1px solid rgba(47, 154, 146, 0.2);
}

.transport-icon-container svg {
  width: 32px;
  height: 32px;
}

.transport-details {
  flex-grow: 1;
}

.transport-details h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.transport-details p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 6px;
}

.transport-note {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--teal-dark);
  display: block;
}

.transport-pricing {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  flex-shrink: 0;
}

.transport-pricing .price-box {
  text-align: right;
}

.transport-pricing .cop-price {
  font-family: 'Fraunces', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--sun-orange);
}

.transport-pricing .separator {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin: 0 4px;
}

.transport-pricing .usd-price {
  font-family: 'Fraunces', serif;
  font-size: 1.4rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.btn-lime-small {
  background: var(--lime);
  color: #12100e;
  padding: 8px 18px;
  font-size: 0.85rem;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(196, 229, 56, 0.15);
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-lime-small:hover {
  background: #b2cf32;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(196, 229, 56, 0.3);
}

@media (max-width: 920px) {
  .transport-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .transport-pricing {
    width: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--line-light);
    padding-top: 16px;
  }
}

/* ---------- SEDE Y DIRECCIÓN EN PARALELO ---------- */
.address-sede-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 16px;
  margin-top: 18px;
}

.sede-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.sede-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--teal-light);
  transform: translateY(-2px);
}

.sede-img {
  width: 100%;
  height: 105px;
  object-fit: cover;
  border-radius: calc(var(--radius) - 6px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: var(--transition-smooth);
}

.sede-card:hover .sede-img {
  border-color: rgba(255, 255, 255, 0.2);
}

.sede-label {
  font-size: 0.7rem;
  color: var(--text-light-muted);
  margin-top: 8px;
  font-weight: 600;
  text-align: center;
  transition: var(--transition-smooth);
}

.sede-card:hover .sede-label {
  color: var(--sun-gold);
}

@media (max-width: 600px) {
  .address-sede-grid {
    grid-template-columns: 1fr;
  }

  .sede-img {
    height: 150px;
  }
}

/* ---------- SECCIÓN GALERÍA RESPONSIVA ---------- */
.gallery-section {
  padding: 60px 0 100px;
  overflow: hidden;
  position: relative;
}

@media (max-width: 768px) {
  .gallery-section {
    padding: 30px 0 40px !important;
    /* Reducir padding vertical en móvil */
  }
}

/* ---------- MARQUESINA DE RESEÑAS DE GOOGLE ---------- */
.reviews-marquee-section {
  background: var(--bg-secondary);
  padding: 45px 0 55px;
  overflow: hidden;
  position: relative;
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}

.reviews-marquee-title {
  text-align: center;
  margin-bottom: 30px;
}

.google-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-primary);
  border: 1px solid var(--line-light);
  padding: 8px 22px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}

.google-logo {
  flex-shrink: 0;
  display: block;
}

.google-badge .badge-text {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  font-family: 'DM Sans', sans-serif;
}

.google-badge .badge-stars {
  color: #F4B400;
  /* Amarillo Google oficial */
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.marquee-container {
  overflow: hidden;
  display: flex;
  width: 100%;
  position: relative;
  /* Gradiente para difuminar bordes izquierdo y derecho */
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 20px;
}

.marquee-list {
  display: flex;
  gap: 20px;
  animation: marquee-scroll 65s linear infinite;
  will-change: transform;
}

.marquee-container:hover .marquee-list {
  animation-play-state: paused;
  /* Pausar al pasar el cursor (micro-interacción premium) */
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-100% - 20px));
  }
}

/* Tarjetas de Reseña */
.review-card {
  width: 335px;
  height: 290px;
  background: var(--bg-primary);
  border: 1px solid var(--line-light);
  border-radius: 18px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
}

.review-card:hover {
  transform: translateY(-4px);
  border-color: rgba(66, 133, 244, 0.4);
  /* Resaltado azul Google suave */
  box-shadow: var(--shadow-md);
}

.review-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.review-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
  flex-shrink: 0;
  font-family: 'DM Sans', sans-serif;
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.12);
}

/* Colores de Avatares inspirados en Google */
.avatar-purple {
  background-color: #9c27b0;
}

.avatar-blue {
  background-color: #2196f3;
}

.avatar-teal {
  background-color: #009688;
}

.avatar-orange {
  background-color: #ff9800;
}

.avatar-green {
  background-color: #4caf50;
}

.avatar-red {
  background-color: #f44336;
}

.avatar-indigo {
  background-color: #3f51b5;
}

.avatar-gold {
  background-color: #ffb300;
}

.avatar-pink {
  background-color: #e91e63;
}

.avatar-cyan {
  background-color: #00bcd4;
}

.avatar-violet {
  background-color: #673ab7;
}

.avatar-lime {
  background-color: #8bc34a;
}

.review-user h4 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.25;
}

.review-user p {
  font-size: 0.72rem;
  color: var(--text-secondary);
  margin: 2px 0 0;
  opacity: 0.8;
}

.review-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.review-stars {
  color: #F4B400;
  /* Color oficial estrellas de Google */
  font-size: 0.88rem;
  letter-spacing: 0.5px;
}

.review-date {
  font-size: 0.72rem;
  color: var(--text-secondary);
  opacity: 0.75;
}

.review-text {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  /* Recortar después de 6 líneas con elipsis */
  -webkit-box-orient: vertical;
}

@media (max-width: 600px) {
  .reviews-marquee-section {
    padding: 35px 0 45px;
  }

  .review-card {
    width: 290px;
    height: 270px;
    padding: 18px;
  }

  .review-text {
    -webkit-line-clamp: 5;
    /* Un poco menos en móvil */
  }
}

/* ---------- WIDGET DE INSTAGRAM FEED ---------- */
.instagram-widget-container {
  width: 100%;
  max-width: 900px;
  /* Reducido tamaño en desktop */
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--bg-primary);
  border: 1px solid var(--line-light);
  padding: 10px;
  position: relative; /* Habilitar posicionamiento para la cobertura */
}

/* Tapar la marca de agua flotante de Elfsight con CSS */
.instagram-widget-container::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 75px; /* Incrementado de 52px a 75px para tapar completamente las líneas negra y azul */
  background: var(--bg-primary);
  z-index: 999; /* Asegura estar encima del contenido */
  pointer-events: none; /* Evita interferir con interacciones */
}

/* Tapar las pestañas de colores en la esquina superior izquierda del widget con CSS */
.instagram-widget-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 220px; /* Ancho suficiente para cubrir la pestaña negra y la azul */
  height: 22px; /* Altura suficiente para cubrir el grosor de las pestañas en la cabecera */
  background: var(--bg-primary);
  z-index: 999; /* Asegura estar encima */
  pointer-events: none;
  border-top-left-radius: var(--radius);
}

@media (max-width: 768px) {
  .instagram-feed-section {
    padding: 40px 0 !important;
  }
  .instagram-widget-container::after {
    height: 70px; /* Ajuste para móvil (incrementado de 48px a 70px) */
  }
}

/* Ocultar enlaces de Elfsight del DOM general en caso de renderizarse en Light DOM */
a[href*="elfsight.com"],
a[href*="elfsight"] {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* ---------- INTERRUPTOR DE IDIOMA (NAV) ---------- */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-light);
  font-weight: 700;
  text-decoration: none;
  font-size: 0.78rem;
  padding: 5px 12px;
  border-radius: 30px;
  border: 1.5px solid rgba(247, 240, 226, 0.45); /* Borde sutil claro */
  background: rgba(255, 255, 255, 0.08); /* Fondo semi-transparente glassmorphism */
  transition: var(--transition-smooth);
  margin-right: 15px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
}

.lang-switch svg {
  stroke-width: 2.2px;
}

header.scrolled .lang-switch {
  color: var(--text-primary);
  border-color: rgba(28, 25, 23, 0.22);
  background: rgba(28, 25, 23, 0.03);
}

.lang-switch:hover {
  color: #12100e !important;
  border-color: #B8D99A;
  background: #B8D99A;
  transform: translateY(-1.5px);
  box-shadow: 0 4px 12px rgba(184, 217, 154, 0.35);
}

header.scrolled .lang-switch:hover {
  color: #12100e !important;
  border-color: #B8D99A;
  background: #B8D99A;
  box-shadow: 0 4px 12px rgba(184, 217, 154, 0.35);
}