/* =========================
   Star Light Transfers — Primary CSS
   (Base + Tokens + Responsive)
   ========================= */

/* --------- Design Tokens --------- */
:root{
  /* Colors */
  --bg: #0B1020;           /* Midnight Navy */
  --surface: #111D3E;      /* Deep Blue */
  --text: #F6F8FF;         /* Starlight White */
  --muted: rgba(246, 248, 255, .78);
  --muted-2: rgba(246, 248, 255, .62);

  --gold: #D6B35A;         /* Elegant accent */
  --gold-2: rgba(214, 179, 90, .22);

  --border: rgba(246, 248, 255, .10);
  --shadow: 0 18px 60px rgba(0,0,0,.35);

  /* Layout */
  --container: 1180px;
  --gutter: 20px;

  /* Radius */
  --r-xs: 10px;
  --r-sm: 14px;
  --r-md: 18px;
  --r-lg: 24px;

  /* Type Scale */
  --font-sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Inter, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  --font-serif: ui-serif, Georgia, "Times New Roman", Times, serif;

  --fs-900: clamp(2.15rem, 1.5rem + 2.1vw, 3.2rem); /* H1 */
  --fs-800: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem); /* H2 */
  --fs-700: clamp(1.25rem, 1.05rem + .7vw, 1.55rem); /* H3 */
  --fs-600: 1.125rem; /* Lead */
  --fs-500: 1rem;     /* Body */
  --fs-400: .9375rem; /* Small */
  --fs-300: .875rem;  /* Tiny */

  --lh-tight: 1.15;
  --lh-normal: 1.6;

  /* Spacing */
  --s-1: 6px;
  --s-2: 10px;
  --s-3: 14px;
  --s-4: 18px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 44px;
  --s-8: 64px;

  /* Motion */
  --ease: cubic-bezier(.2,.7,.2,1);
  --dur: 220ms;
}

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

html{
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body{
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(1200px 700px at 25% -10%, rgba(214,179,90,.14), transparent 55%),
              radial-gradient(900px 600px at 85% 0%, rgba(214,179,90,.10), transparent 55%),
              var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: var(--fs-500);
  line-height: var(--lh-normal);
  letter-spacing: .2px;
  overflow-x: hidden;
}

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

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

button, input, select, textarea{
  font: inherit;
  color: inherit;
}

::selection{
  background: rgba(214,179,90,.28);
}

/* --------- Layout Utilities --------- */
.container{
  width: min(var(--container), 100% - (var(--gutter) * 2));
  margin-inline: auto;
}

.section{
  padding-block: var(--s-8);
}

.card{
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

/* --------- Typography --------- */
h1, h2, h3, h4{
  margin: 0 0 var(--s-3);
  line-height: var(--lh-tight);
  letter-spacing: .2px;
}

h1{
  font-size: var(--fs-900);
  font-weight: 800;
}

h2{
  font-size: var(--fs-800);
  font-weight: 750;
}

h3{
  font-size: var(--fs-700);
  font-weight: 700;
}

p{
  margin: 0 0 var(--s-4);
  color: var(--muted);
}

.lead{
  font-size: var(--fs-600);
  color: var(--text);
  opacity: .92;
}

/* Optional brand serif for small accents only */
.brand-serif{
  font-family: var(--font-serif);
  letter-spacing: .5px;
}

/* --------- Header + Topbar (base styles) --------- */
.topbar{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 16, 32, .72);
  border-bottom: 1px solid rgba(246,248,255,.10);
  backdrop-filter: blur(12px);
}

.topbar-inner{
  width: min(var(--container), 100% - (var(--gutter) * 2));
  margin-inline: auto;
  padding: 10px 0;
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  align-items: center;
}

.topbar-link{
  font-size: var(--fs-300);
  color: var(--muted);
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}

.topbar-link:hover{
  color: var(--text);
  border-color: rgba(214,179,90,.35);
  transform: translateY(-1px);
}

.header{
  position: sticky;
  top: 41px; /* sits below topbar */
  z-index: 40;
  background: rgba(11, 16, 32, .78);
  border-bottom: 1px solid rgba(246,248,255,.10);
  backdrop-filter: blur(14px);
}

.header-inner{
  width: min(var(--container), 100% - (var(--gutter) * 2));
  margin-inline: auto;
  padding: 14px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand-logo{
  height: 75px;
  width: auto;
}

.nav{
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-link{
  font-size: var(--fs-400);
  color: var(--muted);
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease), background var(--dur) var(--ease);
}

.nav-link:hover{
  color: var(--text);
  border-color: rgba(214,179,90,.30);
  background: rgba(255,255,255,.03);
}

/* --------- Buttons (for later sections) --------- */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(214,179,90,.35);
  background: rgba(214,179,90,.10);
  color: var(--text);
  font-weight: 650;
  letter-spacing: .2px;
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.btn:hover{
  transform: translateY(-1px);
  background: rgba(214,179,90,.16);
  border-color: rgba(214,179,90,.55);
}

.btn-solid{
  background: linear-gradient(180deg, rgba(214,179,90,.95), rgba(214,179,90,.78));
  color: #0B1020;
  border-color: transparent;
}

.btn-solid:hover{
  background: linear-gradient(180deg, rgba(214,179,90,1), rgba(214,179,90,.85));
}

/* --------- Responsive (anticipatory) --------- */
@media (max-width: 980px){
  :root{ --container: 980px; }
  .brand-logo{ height: 40px; }
  .nav{ gap: 10px; }
}

@media (max-width: 720px){
  :root{ --gutter: 16px; }
  .topbar-inner{
    justify-content: center;
    gap: 10px;
  }
  .header{
    top: 43px;
  }
  .header-inner{
    flex-direction: column;
    align-items: flex-start;
  }
  .nav{
    width: 100%;
    justify-content: flex-start;
  }
  .nav-link{
    padding: 8px 9px;
  }
}

@media (max-width: 420px){
  .brand-logo{ height: 36px; }
  .topbar-link{ padding: 6px 8px; }
}

/* --------- Reduced motion --------- */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  .topbar-link, .nav-link, .btn{ transition: none; }
}
/* Add this too (prevents scroll when menu open) */
.no-scroll{
  overflow: hidden;
}


/* =========================
   NAV — Desktop defaults + Mobile Off-Canvas
   (REPLACE your current hamburger/menu block with this)
   ========================= */

/* Hamburger icon (lines) */
.nav-toggle-lines{
  width: 22px;
  height: 16px;
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
}
.nav-toggle-lines span{
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: rgba(246,248,255,.92);
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}

/* ===== DESKTOP DEFAULTS (>=721px) ===== */

/* Hide hamburger on desktop */
.nav-toggle{ display: none; }

/* Desktop nav stays normal */
.nav{
  position: static;
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;

  width: auto;
  height: auto;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;

  transform: none;
  opacity: 1;
  pointer-events: auto;
}

/* No overlay on desktop */
.nav-overlay{ display: none; }

/* ===== MOBILE (<=720px) ===== */
@media (max-width: 720px){

  /* Show hamburger */
  .nav-toggle{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 999px;
    border: 1px solid rgba(214,179,90,.28);
    background: rgba(255,255,255,.03);
    color: var(--text);
    cursor: pointer;
  }

  /* Keep header row: logo left, toggle right */
  .header-inner{
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
  }

  /* OFF-CANVAS PANEL (right drawer) */
  .nav{
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(84vw, 360px);
    padding: 92px 18px 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
	justify-content: initial;
    background: rgba(11, 16, 32, .94);
    border-left: 1px solid rgba(246,248,255,.10);
    box-shadow: -24px 0 70px rgba(0,0,0,.45);
    backdrop-filter: blur(16px);

    /* closed */
    transform: translateX(105%);
    opacity: 1;
    pointer-events: none;
    transition: transform var(--dur) var(--ease);
  }

  .nav-link{
    width: 100%;
    padding: 12px 12px;
    border-radius: 12px;
    background: transparent;
    border: 1px solid transparent;
    color: rgba(246,248,255,.82);
  }

  .nav-link:hover{
    background: rgba(255,255,255,.03);
    border-color: rgba(214,179,90,.22);
    color: rgba(246,248,255,.95);
  }

  /* Overlay (works with your JS + [hidden]) */
  .nav-overlay{
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    backdrop-filter: blur(2px);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--dur) var(--ease);
  }

  /* OPEN STATE */
  .header.nav-open .nav{
    transform: translateX(0);
    pointer-events: auto;
  }

  .header.nav-open .nav-overlay{
    opacity: 1;
    pointer-events: auto;
  }

  /* Hamburger -> X animation */
  .header.nav-open .nav-toggle-lines span:nth-child(1){
    transform: translateY(7px) rotate(45deg);
  }
  .header.nav-open .nav-toggle-lines span:nth-child(2){
    opacity: 0;
  }
  .header.nav-open .nav-toggle-lines span:nth-child(3){
    transform: translateY(-7px) rotate(-45deg);
  }
}

/* FIX 1: El panel está dejando “hueco” por el padding-top.
   FIX 2: La X no se ve porque el botón se queda debajo del panel (z-index).
   PEGA ESTO AL FINAL de tu CSS (no borres lo demás). */

/* Asegura capas correctas */
.header{ z-index: 999; }
.nav-toggle{ position: relative; z-index: 1002; }
.nav{ z-index: 1001; }
.nav-overlay{ z-index: 1000; }

/* En móvil: quita el hueco y alinea mejor el menú */
@media (max-width: 720px){

  /* El panel no debe empujar hacia abajo: reduce padding-top */
  .nav{
    padding: 18px 18px 18px;   /* <-- antes estaba 92px */
  }

  /* Links más compactos y elegantes */
  .nav-link{
    padding: 14px 12px;
  }
}


/************************ home *******************************************/
/* =========================
   HERO (only)
   ========================= */
/* HERO background on the whole section */
.hero{
  position: relative;
  padding: 84px 0;
  overflow: hidden;
}

/* Background layer */
.hero.hero-bg{
  background-image: url("/img/banner-home.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-accent{
  color: var(--gold);
}

/* Dark overlay for readability */
.hero.hero-bg::before{
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 520px at 22% 18%, rgba(214,179,90,.18), transparent 58%),
    linear-gradient(90deg, rgba(11,16,32,.86) 0%, rgba(11,16,32,.60) 45%, rgba(11,16,32,.18) 100%);
}

/* Content above overlay */
.hero-inner{
  position: relative;
  z-index: 2;
}

.hero-copy{
  max-width: 640px;
}

.hero-title{
  margin: 0 0 14px;
  font-size: var(--fs-900);
  font-weight: 800;
  line-height: 1.05;
}

.hero-subtitle{
  margin: 0 0 20px;
  color: rgba(246,248,255,.78);
  max-width: 56ch;
  font-size: 1.1rem;
}

.hero-cta{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 18px 0 18px;
}

.hero-trust{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  color: rgba(246,248,255,.72);
  font-size: .95rem;
}

.trust-item{
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.trust-item i{
  color: rgba(214,179,90,.85);
}

.trust-dot{
  opacity: .35;
}

/* Responsive */
@media (max-width: 980px){
  .hero{ padding: 64px 0; }
}

@media (max-width: 560px){
  .hero{ padding: 52px 0; }
  .hero-subtitle{ font-size: 1.02rem; }
  .hero-trust{ font-size: .92rem; }
}


/* =========================
   BOOKING (How to Book + Iframe)
   ========================= */
/* --- SECCIÓN BOOKING (MODO CLARO PREMIUM) --- */

.booking {
  padding: 72px 0;
  background-color: #f8f9fa !important; /* Un gris blanquecino muy limpio */
  color: #0b1020; /* Texto base oscuro */
}

.booking-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 34px;
  align-items: start;
}

.booking-title {
  margin: 0 0 10px;
  font-size: var(--fs-800);
  font-weight: 780;
  color: #0b1020; /* Título oscuro */
}

.booking-subtitle {
  margin: 0 0 18px;
  color: #555e75; /* Gris oscuro para legibilidad */
  max-width: 58ch;
}

/* Steps (Pasos 1, 2, 3) */
.steps {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: grid;
  gap: 12px;
}

.step {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  padding: 12px 12px;
  border: 1px solid rgba(11, 16, 32, 0.08); /* Borde sutil oscuro */
  border-radius: var(--r-md);
  background: #ffffff; /* Fondo blanco puro para resaltar del gris */
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #ffffff; /* Número en blanco */
  background: linear-gradient(180deg, #d6b35a, #b38f36); /* Dorado sólido */
}

.step-title {
  font-weight: 750;
  margin-bottom: 2px;
  color: #0b1020;
}

.step-text {
  color: #6a748a; /* Texto descriptivo suave */
  font-size: .95rem;
}

/* Badges (Iconos dorados redondos) */
.booking-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 18px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(214, 179, 90, 0.3);
  background: rgba(214, 179, 90, 0.1);
  color: #8a6d1c; /* Dorado oscuro para que se lea en blanco */
  font-size: .92rem;
  font-weight: 600;
}

.badge i {
  color: #d6b35a;
}

/* Card del Iframe (El contenedor de la derecha) */
.booking-card {
  border-radius: var(--r-lg);
  border: 1px solid rgba(0, 0, 0, 0.05);
  background: #ffffff; /* Fondo blanco puro */
  box-shadow: 0 30px 60px rgba(11, 16, 32, 0.12); /* Sombra elegante */
  overflow: hidden;
}

.booking-card-top {
  padding: 16px 18px 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  background: #0b1020; /* Mantenemos la cabecera oscura para dar contraste */
  color: #ffffff;
}

.booking-card-kicker {
  font-size: .82rem;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: .3px;
}

.booking-card-title {
  font-size: 1.05rem;
  font-weight: 780;
  margin-top: 2px;
  color: #ffffff;
}

/* Iframe sizing */
.iframe-wrap {
  height: 480px;
  background: #fff;
}

.iframe-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Footer de la tarjeta */
.booking-card-foot {
  padding: 12px 18px 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  color: #555e75;
  font-size: .95rem;
  background: #fdfdfd;
}

.foot-link {
  color: #0b1020;
  font-weight: 600;
  border-bottom: 1px solid rgba(214, 179, 90, 0.5);
}

.foot-link:hover {
  color: #d6b35a;
  border-bottom-color: #d6b35a;
}

/* =========================
   SERVICES (cards)
   ========================= */

.services{
  padding: 72px 0;
}

.section-head{
  display: grid;
  gap: 10px;
  margin-bottom: 22px;
}

.section-title{
  margin: 0;
  font-size: var(--fs-800);
  font-weight: 780;
}

.section-subtitle{
  margin: 0;
  color: rgba(246,248,255,.74);
  max-width: 66ch;
}

/* Grid */
.services-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

/* Card */
.service-card{
  border-radius: var(--r-lg);
  border: 1px solid rgba(246,248,255,.10);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  box-shadow: 0 26px 80px rgba(0,0,0,.25);
  backdrop-filter: blur(12px);
  padding: 18px;
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}

.service-card:hover{
  transform: translateY(-2px);
  border-color: rgba(214,179,90,.25);
  background: linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.035));
}

/* Icon */
.service-icon{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  border: 1px solid rgba(214,179,90,.22);
  background: rgba(214,179,90,.10);
}

.service-icon i{
  color: rgba(214,179,90,.95);
  font-size: 18px;
}

/* Text */
.service-title{
  margin: 0 0 6px;
  font-size: 1.08rem;
  font-weight: 760;
}

.service-text{
  margin: 0 0 14px;
  color: rgba(246,248,255,.70);
  font-size: .98rem;
  line-height: 1.55;
}

/* Link */
.service-link{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(246,248,255,.90);
  font-weight: 650;
  font-size: .95rem;
  border-bottom: 1px solid rgba(214,179,90,.35);
  padding-bottom: 2px;
}

.service-link:hover{
  border-bottom-color: rgba(214,179,90,.70);
}

/* Responsive */
@media (max-width: 1100px){
  .services-grid{
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px){
  .services{
    padding: 52px 0;
  }
  .services-grid{
    grid-template-columns: 1fr;
  }
}


/* =========================
   POPULAR ROUTES
   ========================= */
.routes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 columnas en desktop */
  gap: 24px;
  margin-top: 32px;
}

.route-card {
  position: relative;
  height: 380px;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}

.route-image {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.route-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.route-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, 
    rgba(11, 16, 32, 0.95) 0%, 
    rgba(11, 16, 32, 0.4) 50%, 
    transparent 100%);
}

.route-content {
  position: relative;
  z-index: 2;
  padding: 24px;
  width: 100%;
}

.route-header h3 {
  margin: 0;
  font-size: 1.5rem;
  color: var(--text);
}

.route-header p {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 16px;
}

.route-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.route-price {
  font-size: 0.85rem;
  color: var(--muted-2);
}

.price-amount {
  display: block;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--gold);
}

.route-btn {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: 0.8;
  transition: gap 0.3s ease;
}

/* Hover Effects */
.route-card:hover {
  transform: translateY(-10px);
  border-color: var(--gold);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.route-card:hover .route-image img {
  transform: scale(1.1);
}

.route-card:hover .route-btn {
  gap: 10px;
  opacity: 1;
  color: var(--gold);
}

/* Responsive */
@media (max-width: 980px) {
  .routes-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .routes-grid { grid-template-columns: 1fr; }
  .route-card { height: 320px; }
}


.why-us-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr; /* Imagen un poco más ancha que el texto */
  gap: 60px;
  align-items: center;
}

.why-us-visual {
  position: relative;
}

.visual-wrapper {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.visual-wrapper img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
}

.experience-badge {
  position: absolute;
  bottom: 30px;
  right: -20px;
  background: var(--surface);
  border: 1px solid var(--gold);
  padding: 20px;
  border-radius: var(--r-md);
  text-align: center;
  backdrop-filter: blur(10px);
}

.badge-number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}

.badge-text {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Beneficios en lista elegante */
.benefits-list {
  display: grid;
  gap: 24px;
  margin-top: 30px;
}

.benefit-card {
  display: flex;
  gap: 20px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  transition: all 0.3s ease;
}

.benefit-card:hover {
  border-color: var(--gold-2);
  background: rgba(214, 179, 90, 0.05);
}

.benefit-icon {
  font-size: 1.8rem;
  color: var(--gold);
}

.benefit-info h3 {
  font-size: 1.15rem;
  margin-bottom: 5px;
  color: var(--text);
}

.benefit-info p {
  font-size: 0.9rem;
  margin: 0;
}

/* Responsive */
@media (max-width: 980px) {
  .why-us-grid {
    grid-template-columns: 1fr; /* En móvil una sola columna */
    gap: 40px;
  }
  .visual-wrapper img { height: 350px; }
  .experience-badge { right: 20px; }
}
.why-us-visual, .benefit-card {
  will-change: transform, opacity;
}

/* Asegúrate de que en móvil el efecto no sea lateral para evitar scroll horizontal molesto */
@media (max-width: 720px) {
  .why-us-visual, .benefit-card {
    transform: translateY(20px) !important; /* Cambia a vertical en móviles */
  }
}
/***********************reseñas********************/


/* --- SECCIÓN RESEÑAS MODO CLARO REHECHO --- */
.reviews.section {
    background-color: #ffffff !important; /* Forzamos blanco puro */
    padding: 80px 0 !important;
    display: block !important;
    width: 100%;
}

.section-head.text-center {
    text-align: center;
    margin-bottom: 40px;
}

.section-title {
    color: #0b1020 !important;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.section-subtitle {
  color: #666 !important;
  text-align: center;
  width: 100%;
  max-width: 100%;
}

/* Forzamos las 3 columnas para evitar el efecto escalera */
.reviews-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important; 
    gap: 24px !important;
    max-width: 1200px;
    margin: 40px auto 0 auto;
    padding: 0 20px;
}

.review-card {
    background: #ffffff !important;
    border: 1px solid #e1e4e8 !important; /* Gris claro visible */
    padding: 30px !important;
    border-radius: 15px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05) !important;
}

.review-card:hover {
    transform: translateY(-8px);
    border-color: #d4af37 !important;
    box-shadow: 0 12px 24px rgba(212, 175, 55, 0.15) !important;
}

.review-stars {
    color: #d4af37 !important;
    margin-bottom: 15px;
}

.review-text {
    font-style: italic;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #333 !important;
    margin-bottom: 20px;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid #eee;
    padding-top: 15px;
    margin-top: auto; /* Empuja el autor al fondo de la tarjeta */
}

.author-img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #d4af37;
}

.author-name {
    display: block;
    font-weight: 700;
    color: #0b1020 !important;
}

.author-meta {
    font-size: 0.75rem;
    color: #777 !important;
}

/* --- SUMMARY DE GOOGLE --- */
.reviews-summary {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin: 60px auto 0 auto !important;
    padding: 15px 35px;
    background: #f8f9fa !important;
    border: 1px solid #d4af37 !important;
    border-radius: 12px;
    max-width: fit-content;
}

.rating-text { color: #333 !important; }
.positive-rate { border-left: 1px solid #ccc !important; padding-left: 30px; }
.positive-rate .percentage { color: #27ae60 !important; font-weight: bold; font-size: 1.4rem; }
.positive-rate .sub { color: #666 !important; font-size: 0.7rem; }

/* Responsive: 1 columna en móvil y 2 en tablets */
@media (max-width: 992px) {
    .reviews-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 768px) {
    .reviews-grid { grid-template-columns: 1fr !important; }
    .reviews-summary { flex-direction: column; text-align: center; gap: 15px; }
    .positive-rate { border-left: none !important; border-top: 1px solid #ccc; padding: 15px 0 0 0; }
}


/************ faq´s ******************+*/

/* ============================================================
   SECCIÓN FAQ - VERSIÓN LIMPIA (FONDO BLANCO / TEXTO OSCURO)
   ============================================================ */
  /* --- TRANSICIÓN ELEGANTE PARA FAQ --- */
  
/* --- SECCIÓN FAQ: RESCATE DE DISEÑO + TRANSICIÓN GRIS --- */
.faq {
    background-color: #f4f7f9 !important; /* El gris de transición que pediste */
    padding: 80px 0 !important;
}

/* Títulos principales en oscuro */
.faq .section-title, 
.faq h2 {
    color: #0b1020 !important;
    text-align: center;
    margin-bottom: 10px;
}

.faq .section-subtitle, 
.faq p {
    color: #555e75 !important;
    text-align: center;
    margin-bottom: 40px;
}

/* Contenedor principal */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

/* Restaurando la caja original */
.faq-item {
    border: 1px solid #e1e4e8 !important;
    border-radius: 10px !important;
    margin-bottom: 15px;
    background: #ffffff !important; /* Caja blanca sobre fondo gris */
    overflow: hidden;
    transition: all 0.3s ease;
}

/* Restaurando el botón de la pregunta (con el + a la derecha) */
.faq-question {
    width: 100%;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none !important;
    border: none !important;
    color: #0b1020 !important; /* Texto oscuro legible */
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
}

/* El icono + dorado */
.faq-question i {
    color: #d4af37 !important;
    transition: transform 0.3s ease;
}

/* RESPUESTA: Aquí estaba el error, restauramos el max-height: 0 */
.faq-answer {
    max-height: 0;
    padding: 0 25px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    color: #4a5568 !important;
    line-height: 1.6;
}

/* --- ESTADOS ACTIVOS (Para que tu JS funcione) --- */

.faq-item.active {
    border-color: #d4af37 !important;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06) !important;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg); /* Gira el + para que sea una X */
}

.faq-item.active .faq-answer {
    max-height: 500px; /* Permite que se deslice hacia abajo */
    padding-bottom: 20px;
}

/************************ CTA ***************************/


.cta-whatsapp {
  background: linear-gradient(135deg, #050a14 0%, #0a1221 100%);
  padding: 80px 0 0 0; /* Sin padding abajo para que la mano salga del contenedor */
  overflow: hidden;
  border-top: 1px solid var(--border);
}

.cta-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 40px;
}

.cta-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  margin-bottom: 20px;
  line-height: 1.1;
}

.cta-description {
  font-size: 1.2rem;
  color: var(--muted);
  margin-bottom: 35px;
  max-width: 500px;
}

.wa-btn-large {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  background: #25d366;
  color: white;
  padding: 18px 35px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
}

.wa-btn-large:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(37, 211, 102, 0.4);
  background: #20ba5a;
}

.wa-hand-img {
  width: 100%;
  max-width: 450px;
  display: block;
  margin-bottom: -10px; /* Hace que la mano "toque" el final de la sección */
  filter: drop-shadow(-20px 0 50px rgba(0,0,0,0.5));
}

/* Responsive */
@media (max-width: 980px) {
  .cta-grid { grid-template-columns: 1fr; text-align: center; padding-bottom: 40px; }
  .cta-description { margin: 0 auto 35px; }
  .wa-hand-img { margin: 0 auto; max-width: 300px; }
}
/* --- ESTADO INICIAL CTA WHATSAPP --- */

/* El contenido de texto empieza a la izquierda */
.cta-text-content {
    opacity: 0;
    transform: translateX(-60px);
    transition: all 1s ease-out;
}

/* La imagen de la mano empieza abajo */
.wa-hand-img {
    opacity: 0;
    transform: translateY(100px);
    /* Usamos un cubic-bezier para que el movimiento se sienta más orgánico/premium */
    transition: all 1.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Evitamos que la animación cause scroll horizontal */
.cta-whatsapp {
    overflow: hidden;
}

/******************** SOBRE NOSOTROS *******************************/
.about-hero {
  padding: 120px 0 60px;
  background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('img/hero-bg.jpg') center/cover;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  text-align: center;
}

.pillar-card i {
  font-size: 3rem;
  color: var(--gold);
  margin-bottom: 20px;
}

.pillar-card h3 {
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

/* Estructura General de Nosotros */
.grid-2-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-page .section-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.mission-box {
    background: rgba(214, 179, 90, 0.05);
    border-left: 4px solid var(--gold);
    padding: 25px;
    border-radius: 0 15px 15px 0;
}

/* Tarjetas de Pilares */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.pillar-card {
    background: rgba(255,255,255, 0.03);
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid var(--border);
    transition: transform 0.3s ease;
}

.pillar-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
}

.pillar-icon {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 991px) {
    .grid-2-cols, .pillars-grid {
        grid-template-columns: 1fr;
    }
    .about-visual {
        order: -1; /* Pone la imagen arriba en celular */
    }
}

/* --- ESTADO INICIAL PARA LA ANIMACIÓN --- */

/* La historia empieza movida a la izquierda y transparente */
.about-text {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 1s ease-out; /* Esta línea hace que el movimiento sea suave */
}

/* La imagen empieza movida a la derecha y transparente */
.about-visual {
    opacity: 0;
    transform: translateX(50px);
    transition: all 1s ease-out;
}

/* Las tarjetas de pilares empiezan abajo y transparentes */
.pillar-card {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}



/* Evita que el scroll horizontal se rompa por los elementos que vienen de fuera */
.about-page {
    overflow-x: hidden;
}

/************** intrucciones de llegada ***************************/
   /* Encapsulamiento total bajo .arrival-wrapper */
        .arrival-wrapper {
            --gold: #D6B35A;
            --gold-dark: #b89644;
            --dark: #050505;
            --card-bg: #0f0f0f;
            --border: #1a1a1a;
            --text-gray: #a0a0a0;
            --white: #ffffff;
            
            background-color: var(--dark);
            color: var(--white);
            font-family: 'Inter', sans-serif;
            line-height: 1.6;
        }

        .arrival-wrapper .container {
            max-width: 1100px;
            margin: 0 auto;
            padding: 0 25px;
        }

        .arrival-wrapper .section { padding: 80px 0; }

        /* Typography */
        .arrival-wrapper h1, 
        .arrival-wrapper h2, 
        .arrival-wrapper h3 { font-family: 'Playfair Display', serif; font-weight: 400; }
        .arrival-wrapper .text-gold { color: var(--gold); }
        .arrival-wrapper .text-center { text-align: center; }

        /* Hero */
        .arrival-wrapper .hero {
            padding-top: 120px;
            padding-bottom: 60px;
            border-bottom: 1px solid var(--border);
        }
        .arrival-wrapper .hero h1 { font-size: 3.5rem; margin-bottom: 20px; margin-top: 0; }
        .arrival-wrapper .hero p { font-size: 1.2rem; color: var(--text-gray); max-width: 700px; margin: 0 auto; }

        /* Mandatory Banner */
        .arrival-wrapper .mandatory-banner {
            background: linear-gradient(90deg, #0f0f0f 0%, #151515 100%);
            border: 1px solid var(--gold);
            padding: 30px;
            border-radius: 4px;
            margin-top: -40px;
            display: flex;
            align-items: center;
            gap: 25px;
        }
        .arrival-wrapper .mandatory-banner i { font-size: 2.5rem; color: var(--gold); }
        .arrival-wrapper .mandatory-banner h2 { margin: 0; font-size: 1.4rem; font-family: 'Inter', sans-serif; font-weight: 600; }
        .arrival-wrapper .mandatory-banner p { margin: 5px 0 0 0; color: var(--text-gray); }

        /* Step-by-Step Layout */
        .arrival-wrapper .step-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 80px;
            align-items: center;
            margin-bottom: 120px;
        }
        .arrival-wrapper .step-row.reverse { direction: rtl; }
        .arrival-wrapper .step-row.reverse .step-content { direction: ltr; }

        .arrival-wrapper .step-tag {
            display: inline-block;
            color: var(--gold);
            text-transform: uppercase;
            letter-spacing: 3px;
            font-size: 0.8rem;
            margin-bottom: 15px;
            border-bottom: 1px solid var(--gold);
        }
        .arrival-wrapper .step-content h3 { font-size: 2.2rem; margin-top: 0; margin-bottom: 25px; }
        .arrival-wrapper .step-content p { color: var(--text-gray); font-size: 1.05rem; }

        .arrival-wrapper .status-bullet-list {
            list-style: none;
            padding: 0;
            margin-top: 20px;
        }
        .arrival-wrapper .status-bullet-list li {
            padding: 8px 0;
            border-bottom: 1px solid var(--border);
            color: var(--text-gray);
            font-size: 0.95rem;
        }
        .arrival-wrapper .status-bullet-list li strong { color: var(--white); }

        .arrival-wrapper .image-placeholder {
            width: 100%;
            height: 450px;
            background: #111;
            border-radius: 2px;
            display: flex;
            align-items: center;
            justify-content: center;
            border: 1px solid var(--border);
            position: relative;
            overflow: hidden;
        }
        .arrival-wrapper .image-placeholder img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            opacity: 0.8;
            transition: opacity 0.5s;
        }
        .arrival-wrapper .image-placeholder:hover img { opacity: 1; }

        /* Scams Warning */
        .arrival-wrapper .scams-warning {
            background-color: #0a0a0a;
            border-left: 4px solid #cc3333;
            padding: 40px;
            margin: 60px 0;
        }
        .arrival-wrapper .scams-warning h3 { color: #cc3333; font-family: 'Inter', sans-serif; font-weight: 700; font-size: 1.2rem; margin-top: 0; }
        .arrival-wrapper .scams-warning p { margin-bottom: 0; color: var(--text-gray); }

        /* Meeting Points Grid */
        .arrival-wrapper .meeting-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            margin-top: 40px;
        }
        .arrival-wrapper .meeting-box {
            background: var(--card-bg);
            padding: 40px;
            border-top: 1px solid var(--gold);
        }
        .arrival-wrapper .meeting-box h4 { color: var(--gold); font-size: 1.5rem; margin-top: 0; margin-bottom: 15px; }
        .arrival-wrapper .meeting-box p { color: var(--text-gray); margin: 0; }

        /* Rules Section (As a DIV) */
        .arrival-wrapper .rules-container {
            background-color: #000;
            border-top: 1px solid var(--border);
            padding: 80px 0;
        }
        .arrival-wrapper .rules-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 40px;
            margin-top: 40px;
        }
        .arrival-wrapper .rule-item { margin-bottom: 30px; }
        .arrival-wrapper .rule-item h5 { color: var(--gold); font-size: 1.1rem; margin-bottom: 10px; font-family: 'Inter', sans-serif; margin-top: 0; }
        .arrival-wrapper .rule-item p { font-size: 0.9rem; color: var(--text-gray); line-height: 1.7; margin: 0; }

        .arrival-wrapper .gold-badge {
            color: var(--gold);
            text-transform: uppercase;
            letter-spacing: 3px;
            font-size: 0.8rem;
            display: block;
            margin-bottom: 10px;
        }

        /* Mobile Adjustments */
        @media (max-width: 991px) {
            .arrival-wrapper .step-row { grid-template-columns: 1fr; gap: 40px; }
            .arrival-wrapper .hero h1 { font-size: 2.5rem; }
            .arrival-wrapper .mandatory-banner { flex-direction: column; text-align: center; }
            .arrival-wrapper .rules-grid { grid-template-columns: 1fr; }
            .arrival-wrapper .image-placeholder { height: 300px; }
        }

/* Preparación para animaciones */
.arrival-wrapper .hero,
.arrival-wrapper .mandatory-banner,
.arrival-wrapper .step-row,
.arrival-wrapper .scams-warning,
.arrival-wrapper .meeting-box,
.arrival-wrapper .rule-item {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: transform, opacity;
}

/* El Hero y el Banner pueden aparecer un poco más rápido */
.arrival-wrapper .hero.is-visible,
.arrival-wrapper .mandatory-banner.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Clase que activará el jQuery */
.arrival-wrapper .reveal-active {
    opacity: 1 !important;
    transform: translateY(0) !important;
}


/* Footer base */
./* ============================================================
   FOOTER COMPLETO CORREGIDO (COPIAR Y PEGAR TODO)
   ============================================================ */

.footer {
  padding: 56px 0 26px;
  border-top: 1px solid rgba(246,248,255,.10);
  background: #0b1020 !important; /* Forzamos el azul navy sólido para que combine con el diseño */
  color: #ffffff;
}


/* El contenedor que organiza las 4 secciones */
.footer-grid {
  display: grid;
  /* Definimos las 4 columnas: la primera es más ancha para el texto largo */
  grid-template-columns: 1.5fr 1fr 1fr 1fr; 
  gap: 30px;
  align-items: start;
  padding-top: 75px;
}

/* Esta es la clase que permite que cada sección sea una columna separada */
.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-title {
  font-weight: 750;
  letter-spacing: .3px;
  margin-bottom: 15px;
  color: rgba(246,248,255,.92);
  font-size: 1.1rem;
}

.footer-text {
  margin: 0;
  color: rgba(246,248,255,.70);
  font-size: .95rem;
  line-height: 1.6;
  max-width: 44ch; /* Limita el ancho del texto para mejor lectura */
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.footer-links a {
  text-decoration: none;
  color: rgba(246,248,255,.72);
  font-size: .95rem;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: #d4af37; /* Color dorado al pasar el mouse */
  padding-left: 5px; /* Pequeño movimiento a la derecha */
}

/* Línea de copyright al final */
.footer-bottom {
  margin-top: 40px;
  padding-top: 18px;
  border-top: 1px solid rgba(246,248,255,.08);
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: .9rem;
  color: rgba(246,248,255,.58);
}

/* --- DISEÑO PARA TABLETS (2 columnas) --- */
@media (max-width: 980px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px 20px;
  }
}

/* --- DISEÑO PARA CELULARES (1 columna) --- */
@media (max-width: 560px) {
  .footer {
    padding: 44px 0 22px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center; /* Centra el texto en móviles */
    gap: 35px;
  }
  
  .footer-bottom {
    justify-content: center;
    text-align: center;
  }
}


/* --- CSS CORREGIDO PARA CENTRAR Y DAR ESPACIO --- */
/* --- reviews --- */


.seo-info-section {
    padding: 80px 20px;
    background-color: #fcfcfc; /* Fondo claro para seguir la línea de las reviews */
    color: #333;
}

.seo-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
    align-items: center;
}

.seo-text h2 { color: #1a1a1a; margin-bottom: 20px; font-size: 2rem; }
.seo-text h3 { color: #d4af37; margin-top: 30px; margin-bottom: 15px; }
.seo-text p { line-height: 1.8; color: #555; margin-bottom: 15px; }
.seo-text ul { list-style: none; padding: 0; }
.seo-text ul li { margin-bottom: 10px; padding-left: 25px; position: relative; }
.seo-text ul li::before { content: "✓"; position: absolute; left: 0; color: #d4af37; font-weight: bold; }

/* Caja de Llamado a la Acción */
.cta-card {
    background: #111b35; /* Azul oscuro para que resalte del fondo blanco */
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    color: white;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.cta-card h4 { color: #d4af37; font-size: 1.5rem; margin-bottom: 15px; }
.btn-seo {
    display: block;
    background: #d4af37;
    color: #000;
    text-decoration: none;
    padding: 18px;
    border-radius: 50px;
    font-weight: 800;
    margin: 25px 0;
    transition: 0.3s;
}

.btn-seo:hover { background: #fff; transform: translateY(-3px); }
.secure-label { font-size: 0.8rem; color: #888; }

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