/* ============================================================
   SAKURA ATLAS - Home parallax
   Bloque 1: CSS de sakura_parallax_visual_100 SIN TOCAR
             (solo se corrigieron las rutas de imagen a /img/).
   Bloque 2: puente con las MISMAS medidas de la referencia.
   Enlazado unicamente desde public/index.html.
   ============================================================ */


  :root {
    --rosa: #d94f6e;
    --rosa-suave: #e8a0b0;
    --rosa-claro: #fbe9ec;
    --tinta: #232f3e;
    --crema: #fdf6f1;
    --beige: #f6ebe1;
    --texto: #4a4f57;
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }
  html { scroll-behavior: smooth; }

  body {
    font-family: 'Poppins', sans-serif;
    background: var(--crema);
    color: var(--texto);
    overflow-x: hidden;
  }

  /* ============ HEADER ============ */
  header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 48px;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(8px);
    box-shadow: 0 1px 0 rgba(0,0,0,.04);
    transition: box-shadow .3s;
  }
  header.con-sombra { box-shadow: 0 6px 24px rgba(35,47,62,.08); }

  .logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }

  .logo-icon {
    width: 40px; height: 40px;
    border: 1.5px solid var(--rosa-suave);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: #fff;
  }

  .logo-text .nombre {
    font-family: 'Playfair Display', serif;
    font-size: 22px; letter-spacing: 4px;
    color: var(--tinta); font-weight: 500; line-height: 1.1;
  }
  .logo-text .tag {
    font-size: 9.5px; letter-spacing: 3px;
    color: var(--rosa); font-weight: 500; text-transform: uppercase;
  }

  nav {
    display: flex; gap: 34px;
    position: absolute; left: 50%; transform: translateX(-58%);
  }
  nav a {
    text-decoration: none; color: var(--tinta);
    font-size: 14.5px; transition: color .25s;
  }
  nav a:hover { color: var(--rosa); }
  nav a.activo { color: var(--rosa); font-weight: 500; }

  .btn-header {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 11px 22px;
    border: 1.5px solid #f0c6ce; border-radius: 999px;
    background: #fff; color: var(--rosa);
    font-family: 'Poppins', sans-serif; font-size: 13.5px; font-weight: 500;
    text-decoration: none; cursor: pointer; transition: all .25s;
  }
  .btn-header:hover { background: var(--rosa-claro); border-color: var(--rosa); }

  /* ============ HERO CON LA FOTO ORIGINAL ============ */
  .hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--crema);
    overflow: hidden;
  }

  /* Fondo: la foto SIN las flores que se mueven (inpainting).
     Las flores las ponen encima las capas de ramas; al sacudirse,
     detrás se ve este fondo y el movimiento es real y visible. */
  .hero-bg {
    position: absolute; inset: 0;
    background: url('/img/fondo-sin-flores.jpg') left center / auto 100% no-repeat;
  }

  /* RAMAS DEL ÁRBOL: cada rama es una copia de la misma foto recortada
     con una máscara difuminada que aísla solo esa rama. En reposo cada
     capa coincide pixel a pixel con el fondo (invisibles); al sacudirse,
     cada rama gira sobre su propio punto de nacimiento con su propia
     física, y el árbol completo se mueve como uno real.
     Las capas las genera el JS desde la lista RAMAS. */
  .capa-arbol {
    position: absolute; inset: 0;
    pointer-events: none;
  }

  .rama-shake {
    position: absolute; inset: 0;
    will-change: transform;
  }

  .rama-foto {
    position: absolute; inset: 0;
    background: url('/img/hero.jpg') left center / auto 100% no-repeat;
    /* La máscara PNG (solo las flores rosas de esa rama) se alinea
       exactamente igual que la foto para coincidir pixel a pixel */
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: left center;
    -webkit-mask-size: auto 100%;
            mask-repeat: no-repeat;
            mask-position: left center;
            mask-size: auto 100%;
    /* Vaivén suave permanente: el árbol se siente vivo incluso sin scroll
       (duración y desfase aleatorios por rama desde el JS) */
    animation: sway 8s ease-in-out infinite alternate;
  }

  /* Vaivén suave permanente de cada rama (duración/desfase por JS) */
  @keyframes sway {
    from { transform: rotate(-0.30deg); }
    to   { transform: rotate(0.38deg); }
  }

  /* Desvanecido de la foto hacia el fondo crema */
  .hero-fade {
    position: absolute; inset: 0; z-index: 2; pointer-events: none;
    background:
      linear-gradient(90deg, rgba(253,246,241,0) 30%, rgba(253,246,241,.55) 50%, var(--crema) 68%),
      linear-gradient(0deg, var(--crema) 0%, rgba(253,246,241,0) 12%);
  }

  .hero-content {
    position: relative; z-index: 5;
    width: min(1180px, 100%);
    margin: 0 auto;
    padding: 120px 48px 60px;
    display: flex; justify-content: flex-end;
  }
  .hero-inner { max-width: 520px; }

  .badge {
    display: inline-flex; align-items: center; gap: 10px;
    background: rgba(246, 235, 225, .9);
    border-radius: 999px; padding: 10px 20px;
    font-size: 13px; color: #6b5d52; margin-bottom: 34px;
  }

  h1 {
    font-family: 'Playfair Display', serif;
    font-weight: 500;
    font-size: clamp(42px, 5.2vw, 62px);
    line-height: 1.14; color: var(--tinta); letter-spacing: -.5px;
  }
  .rosa { color: var(--rosa); }

  .divisor {
    display: flex; align-items: center; gap: 14px;
    margin: 30px 0 26px; max-width: 300px;
  }
  .divisor::before, .divisor::after {
    content: ''; flex: 1; height: 1px; background: #e6cfc0;
  }

  .hero-inner p {
    font-size: 15.5px; line-height: 1.75; font-weight: 300;
    margin-bottom: 40px;
  }

  .cta-row { display: flex; gap: 18px; flex-wrap: wrap; }

  .btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 16px 30px; border-radius: 999px;
    font-family: 'Poppins', sans-serif; font-size: 14.5px; font-weight: 500;
    text-decoration: none; cursor: pointer;
    border: 1.5px solid transparent; transition: all .25s;
  }
  .btn-primario {
    background: var(--rosa); color: #fff;
    box-shadow: 0 10px 24px rgba(217, 79, 110, .30);
  }
  .btn-primario:hover {
    background: #c74560; transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(217, 79, 110, .38);
  }
  .btn-secundario {
    background: rgba(255,255,255,.7); color: var(--rosa);
    border-color: #f0c6ce;
  }
  .btn-secundario:hover { background: #fff; border-color: var(--rosa); }

  .scroll-hint {
    position: absolute; z-index: 6;
    left: 50%; bottom: 26px; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
    color: #b98a96; pointer-events: none;
    animation: hintFloat 2.6s ease-in-out infinite;
  }
  @keyframes hintFloat {
    0%, 100% { transform: translate(-50%, 0); }
    50%      { transform: translate(-50%, 8px); }
  }

  /* ============ SECCIONES ============ */
  .seccion {
    position: relative;
    width: min(1180px, 100%);
    margin: 0 auto;
    padding: 110px 48px;
  }

  .kicker {
    display: inline-block;
    font-size: 12px; letter-spacing: 4px; text-transform: uppercase;
    color: var(--rosa); font-weight: 600; margin-bottom: 14px;
  }

  h2 {
    font-family: 'Playfair Display', serif;
    font-weight: 500; font-size: clamp(30px, 3.4vw, 42px);
    color: var(--tinta); margin-bottom: 18px;
  }

  .seccion > p.intro {
    max-width: 560px; font-weight: 300; font-size: 15.5px;
    line-height: 1.75; margin-bottom: 54px;
  }

  /* --- Destinos --- */
  .grid-destinos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 26px;
  }

  .card-destino {
    background: #fff;
    border-radius: 22px;
    padding: 30px 26px;
    box-shadow: 0 12px 34px rgba(120, 70, 85, .08);
    border: 1px solid #f6e4e8;
    transition: transform .3s, box-shadow .3s;
  }
  .card-destino:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 44px rgba(120, 70, 85, .14);
  }
  .card-destino .icono {
    width: 54px; height: 54px; border-radius: 16px;
    background: var(--rosa-claro);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 20px; font-size: 24px;
  }
  .card-destino h3 {
    font-family: 'Playfair Display', serif;
    font-size: 21px; color: var(--tinta); margin-bottom: 8px;
  }
  .card-destino p {
    font-size: 13.5px; font-weight: 300; line-height: 1.65; margin-bottom: 18px;
  }
  .card-destino .desde {
    font-size: 13px; font-weight: 600; color: var(--rosa);
  }

  /* --- Paquetes --- */
  #paquetes { text-align: center; }
  #paquetes > p.intro { margin-left: auto; margin-right: auto; }

  .grid-paquetes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 26px;
    align-items: stretch;
    text-align: left;
  }

  .card-paquete {
    background: #fff;
    border-radius: 26px;
    padding: 38px 32px;
    border: 1px solid #f6e4e8;
    box-shadow: 0 12px 34px rgba(120, 70, 85, .08);
    display: flex; flex-direction: column;
    transition: transform .3s, box-shadow .3s;
  }
  .card-paquete:hover { transform: translateY(-8px); }

  .card-paquete.destacado {
    background: linear-gradient(160deg, #d94f6e 0%, #b93a58 100%);
    color: #fff;
    box-shadow: 0 22px 48px rgba(217, 79, 110, .35);
  }

  .card-paquete .nombre-paq {
    font-size: 13px; letter-spacing: 3px; text-transform: uppercase;
    font-weight: 600; color: var(--rosa); margin-bottom: 12px;
  }
  .card-paquete.destacado .nombre-paq { color: #ffd7e0; }

  .card-paquete .precio {
    font-family: 'Playfair Display', serif;
    font-size: 40px; color: var(--tinta); margin-bottom: 4px;
  }
  .card-paquete.destacado .precio { color: #fff; }
  .card-paquete .dur { font-size: 13px; opacity: .75; margin-bottom: 24px; }

  .card-paquete ul { list-style: none; margin-bottom: 30px; flex: 1; }
  .card-paquete li {
    font-size: 14px; font-weight: 300; line-height: 1.5;
    padding: 8px 0 8px 26px; position: relative;
  }
  .card-paquete li::before {
    content: '❀';
    position: absolute; left: 0; color: var(--rosa); font-size: 13px;
  }
  .card-paquete.destacado li::before { color: #ffd7e0; }

  .card-paquete .btn { justify-content: center; }
  .card-paquete.destacado .btn-primario {
    background: #fff; color: var(--rosa); box-shadow: none;
  }

  .pill-popular {
    display: inline-block;
    background: rgba(255,255,255,.2);
    border: 1px solid rgba(255,255,255,.5);
    color: #fff; font-size: 11px; letter-spacing: 2px;
    padding: 5px 14px; border-radius: 999px;
    text-transform: uppercase; margin-bottom: 16px;
    align-self: flex-start;
  }

  /* --- Experiencias --- */
  .grid-exp {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px 34px;
  }
  .exp { display: flex; gap: 18px; align-items: flex-start; }
  .exp .icono {
    flex: 0 0 48px; height: 48px; border-radius: 14px;
    background: var(--rosa-claro);
    display: flex; align-items: center; justify-content: center;
    font-size: 22px;
  }
  .exp h3 { font-size: 16px; color: var(--tinta); font-weight: 600; margin-bottom: 6px; }
  .exp p { font-size: 13.5px; font-weight: 300; line-height: 1.65; }

  /* --- Testimonios --- */
  .grid-testi {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 26px;
  }
  .card-testi {
    background: #fff;
    border-radius: 22px;
    padding: 32px 28px;
    border: 1px solid #f6e4e8;
    box-shadow: 0 12px 34px rgba(120, 70, 85, .08);
    display: flex; flex-direction: column;
    transition: transform .3s, box-shadow .3s;
  }
  .card-testi:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(120, 70, 85, .13);
  }
  .card-testi .estrellas { color: #f2b01e; font-size: 14px; letter-spacing: 3px; margin-bottom: 14px; }
  .card-testi .cita {
    font-size: 14px; font-weight: 300; line-height: 1.75;
    font-style: italic; margin-bottom: 24px; flex: 1;
  }
  .testi-autor { display: flex; align-items: center; gap: 12px; }
  .testi-avatar {
    width: 42px; height: 42px; border-radius: 50%;
    background: var(--rosa-claro); color: var(--rosa);
    display: flex; align-items: center; justify-content: center;
    font-weight: 600; font-size: 14px;
  }
  .testi-autor .nombre-t { font-size: 14px; font-weight: 600; color: var(--tinta); }
  .testi-autor .lugar { font-size: 12px; opacity: .75; }

  /* --- CTA final --- */
  .cta-final {
    width: min(1180px, 100%);
    margin: 0 auto;
    padding: 0 48px 110px;
  }
  .cta-caja {
    position: relative;
    background: linear-gradient(150deg, #d94f6e 0%, #b93a58 60%, #a23050 100%);
    border-radius: 32px;
    padding: 72px 48px;
    text-align: center;
    color: #fff;
    overflow: hidden;
    box-shadow: 0 26px 60px rgba(217, 79, 110, .35);
  }
  .cta-caja::before, .cta-caja::after {
    content: '❀';
    position: absolute;
    color: rgba(255, 255, 255, .12);
    font-size: 140px;
    line-height: 1;
  }
  .cta-caja::before { top: -30px; left: 4%; transform: rotate(-18deg); }
  .cta-caja::after  { bottom: -38px; right: 5%; transform: rotate(22deg); }
  .cta-caja h2 { color: #fff; }
  .cta-caja p {
    max-width: 500px; margin: 0 auto 36px;
    font-weight: 300; font-size: 15.5px; line-height: 1.75; color: #ffe3ea;
  }
  .btn-blanco {
    background: #fff; color: var(--rosa);
    box-shadow: 0 12px 28px rgba(0, 0, 0, .18);
  }
  .btn-blanco:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(0, 0, 0, .24); }

  /* --- Footer --- */
  footer {
    background: var(--tinta);
    color: #b9c2cd;
    padding: 70px 48px 30px;
  }
  .f-grid {
    width: min(1180px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 44px;
  }
  footer .logo-text .nombre { color: #fff; }
  footer .f-logo { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 18px; }
  footer p { font-size: 13.5px; font-weight: 300; line-height: 1.7; }
  footer h4 {
    color: #fff; font-size: 13px; font-weight: 600;
    letter-spacing: 2px; text-transform: uppercase; margin-bottom: 18px;
  }
  footer .f-col a {
    display: block; color: #b9c2cd; text-decoration: none;
    font-size: 13.5px; font-weight: 300; padding: 5px 0;
    transition: color .25s;
  }
  footer .f-col a:hover { color: #fff; }
  .f-bottom {
    width: min(1180px, 100%);
    margin: 48px auto 0;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    text-align: center;
    font-size: 12.5px;
    font-weight: 300;
  }

  /* ============ APARECER AL HACER SCROLL ============ */
  .reveal {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity .8s ease, transform .8s ease;
  }
  .reveal.visible { opacity: 1; transform: none; }
  .reveal:nth-child(2) { transition-delay: .08s; }
  .reveal:nth-child(3) { transition-delay: .16s; }
  .reveal:nth-child(4) { transition-delay: .24s; }

  /* ============ CANVAS DE PÉTALOS ============ */
  #canvas-petalos {
    position: fixed; inset: 0;
    pointer-events: none;
    z-index: 60;
  }

  /* ============ PARALLAX TEMÁTICO DE JAPÓN ============
     Siluetas emblemáticas (Fuji, torii, Torre de Tokio, venado de
     Nara, bambú, montañas, nubes y río) detrás del contenido,
     desplazándose a distinta velocidad con el scroll. */
  .deco {
    position: absolute;
    z-index: 0;
    pointer-events: none;
    user-select: none;
    will-change: transform;
  }
  /* El contenido de cada sección queda por encima de las decoraciones */
  .seccion > *:not(.deco) { position: relative; z-index: 1; }

  .deco-fuji     { right: -70px; top: 40px;   width: 430px; }
  .deco-nubes1   { left: 10px;   top: 46px;   width: 230px; }
  .deco-montanas { left: 0;      bottom: -6px; width: 100%; }
  .deco-tokyo    { left: -20px;  bottom: 50px; width: 185px; }
  .deco-nubes2   { right: 40px;  top: 62px;   width: 180px; }
  .deco-torii    { right: 46px;  top: 80px;   width: 175px; }
  .deco-venado   { left: 14px;   bottom: 36px; width: 215px; }
  .deco-bambu    { right: -12px; top: 30px;   height: 78%; }
  .deco-rio      { left: 0;      bottom: 4px;  width: 100%; }

  /* ============ RESPONSIVE ============ */
  @media (max-width: 980px) {
    nav { display: none; }
    header { padding: 10px 24px; }
    /* En móvil no hay capas de ramas: volver a la foto completa */
    .hero-bg {
      background-image: url('/img/hero.jpg');
      background-size: cover; opacity: .45;
    }
    .capa-arbol { display: none; }   /* menos carga en móvil */
    .hero-fade {
      background: linear-gradient(0deg, var(--crema) 0%, rgba(253,246,241,.3) 40%);
    }
    .hero-content { justify-content: center; padding: 130px 24px 80px; }
    .hero-inner { text-align: center; }
    .divisor { margin-left: auto; margin-right: auto; }
    .cta-row { justify-content: center; }
    .seccion { padding: 80px 24px; }
    .cta-final { padding: 0 24px 80px; }
    .cta-caja { padding: 56px 28px; }
    .f-grid { grid-template-columns: 1fr; gap: 34px; text-align: center; }
    .deco { display: none; }   /* sin parallax decorativo en móvil */
  }

  @media (prefers-reduced-motion: reduce) {
    .rama-foto, .scroll-hint { animation: none; }
    html { scroll-behavior: auto; }
  }


  /* ============ FONDO PARALLAX CINEMATOGRÁFICO ============ */
  .rama-foto { animation: none !important; }
  .deco { display: none !important; }

  .story-world {
    position: relative;
    isolation: isolate;
    overflow: clip;
    background:
      linear-gradient(180deg, #fdf6f1 0%, #fbf4ef 20%, #f7f4ee 48%, #eef4ef 74%, #edf4f4 100%);
  }
  .story-world::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -5;
    pointer-events: none;
    background:
      radial-gradient(900px 520px at 82% 7%, rgba(214, 226, 239, .68), transparent 68%),
      radial-gradient(760px 500px at 14% 46%, rgba(247, 218, 224, .42), transparent 72%),
      radial-gradient(820px 620px at 82% 73%, rgba(177, 210, 183, .38), transparent 74%);
  }

  .story-background {
    position: absolute;
    inset: 0;
    z-index: -4;
    overflow: hidden;
    pointer-events: none;
    user-select: none;
    contain: paint;
  }
  .parallax-layer {
    position: absolute;
    will-change: transform;
    transform: translate3d(0,0,0);
    backface-visibility: hidden;
  }

  .mountain-scene {
    top: 28px;
    right: -15%;
    width: min(760px, 56vw);
    height: 790px;
    opacity: .42;
    filter: saturate(.86) contrast(.96);
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 66%, transparent 100%), linear-gradient(90deg, transparent 0%, #000 22%, #000 100%);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(180deg, #000 0%, #000 66%, transparent 100%);
  }
  .mountain-scene svg { width: 100%; height: 100%; overflow: visible; }
  .mountain-haze {
    top: 260px;
    right: -10%;
    width: 80%;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(255,255,255,.78), rgba(255,249,245,.16) 54%, transparent 72%);
    filter: blur(16px);
    opacity: .7;
  }
  .mountain-clouds {
    top: 100px;
    left: 0;
    width: 100%;
    height: 480px;
    opacity: .52;
  }
  .mountain-clouds::before,
  .mountain-clouds::after {
    content: '';
    position: absolute;
    width: 340px;
    height: 92px;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(255,255,255,.94), rgba(255,255,255,.48) 48%, transparent 72%);
    filter: blur(8px);
  }
  .mountain-clouds::before { left: 10%; top: 80px; }
  .mountain-clouds::after { right: 14%; top: 210px; width: 440px; }

  .parallax-snow {
    position: absolute;
    inset: 0;
    overflow: hidden;
    opacity: 0;
    transition: opacity .5s ease;
  }
  .parallax-snow.is-active { opacity: .82; }
  .snow-dot {
    position: absolute;
    top: -8%;
    width: var(--snow-size);
    height: var(--snow-size);
    border-radius: 50%;
    background: rgba(255,255,255,var(--snow-alpha));
    box-shadow: 0 0 8px rgba(255,255,255,.65);
    animation: snowFall var(--snow-duration) linear infinite;
    animation-delay: var(--snow-delay);
    will-change: transform;
  }
  @keyframes snowFall {
    to { transform: translate3d(var(--snow-drift), 1080px, 0) rotate(180deg); }
  }

  .bamboo-forest {
    top: 43%;
    left: -5%;
    width: 110%;
    height: 48%;
    overflow: hidden;
    opacity: .47;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 13%, #000 78%, transparent 100%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 13%, #000 78%, transparent 100%);
  }
  .bamboo-layer {
    position: absolute;
    inset: 0;
    will-change: transform;
  }
  .bamboo-layer--far { opacity: .34; filter: blur(1.3px); }
  .bamboo-layer--mid { opacity: .52; }
  .bamboo-layer--near { opacity: .72; }
  .bamboo-stem {
    position: absolute;
    left: var(--x);
    bottom: -4%;
    width: var(--w);
    height: var(--h);
    transform: translateX(-50%);
    transform-origin: center bottom;
  }
  .bamboo-cane {
    position: absolute;
    inset: 0;
    border-radius: 999px;
    transform: scaleY(var(--grow, .02));
    transform-origin: center bottom;
    opacity: calc(.08 + var(--grow, 0) * .92);
    background:
      repeating-linear-gradient(180deg, transparent 0 92px, rgba(239,247,226,.78) 93px 99px, transparent 100px 188px),
      linear-gradient(90deg, #537a5a 0%, #8eb682 22%, #bdd3a4 48%, #719a68 78%, #496c50 100%);
    box-shadow: inset 2px 0 5px rgba(255,255,255,.28), 0 12px 22px rgba(54,84,60,.13);
    will-change: transform;
  }
  .bamboo-leaf {
    position: absolute;
    left: 50%;
    bottom: var(--leaf-y);
    width: var(--leaf-w);
    height: calc(var(--leaf-w) * .28);
    border-radius: 100% 0 100% 0;
    opacity: var(--leaf-opacity, 0);
    transform: translateX(var(--leaf-x)) rotate(var(--leaf-r)) scale(var(--leaf-scale, .25));
    transform-origin: 0 50%;
    background: linear-gradient(135deg, #5d8d62, #a6c692 58%, #5c855d);
    box-shadow: 0 5px 10px rgba(54,84,60,.09);
    will-change: transform, opacity;
  }
  .bamboo-leaf::after {
    content: '';
    position: absolute;
    left: 8%; right: 8%; top: 50%;
    height: 1px;
    background: rgba(238,247,229,.45);
    transform: rotate(-8deg);
  }
  .bamboo-mist {
    top: 56%;
    left: -10%;
    width: 120%;
    height: 30%;
    background: radial-gradient(ellipse at 50% 52%, rgba(255,255,255,.76), rgba(247,249,243,.34) 46%, transparent 75%);
    filter: blur(15px);
    opacity: .55;
  }

  .river-parallax {
    top: 64%;
    left: -5%;
    width: 110%;
    height: 540px;
    opacity: .48;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
  }
  .river-parallax svg { width: 100%; height: 100%; }
  .river-water-base { fill: url(#riverBaseGradient); }
  .river-wave-group,
  .river-shimmer { animation-play-state: paused; }
  .river-parallax.is-active .river-wave-group--slow { animation: riverFlowSlow 13s linear infinite; }
  .river-parallax.is-active .river-wave-group--fast { animation: riverFlowFast 8.5s linear infinite; }
  .river-parallax.is-active .river-shimmer { animation: riverShimmer 7.5s ease-in-out infinite; }
  @keyframes riverFlowSlow { to { transform: translateX(-360px); } }
  @keyframes riverFlowFast { to { transform: translateX(-480px); } }
  @keyframes riverShimmer {
    0%,100% { transform: translateX(-340px) skewX(-12deg); opacity: .08; }
    50% { transform: translateX(1750px) skewX(-12deg); opacity: .48; }
  }

  .world-vignette {
    inset: 0;
    background:
      linear-gradient(90deg, rgba(253,246,241,.92) 0%, rgba(253,246,241,.38) 20%, transparent 42%, transparent 70%, rgba(253,246,241,.48) 100%),
      linear-gradient(180deg, rgba(253,246,241,.88) 0%, transparent 8%, transparent 88%, rgba(237,244,244,.92) 100%);
  }

  .story-world .seccion {
    z-index: 2;
    min-height: 760px;
  }
  .story-world .seccion::before {
    content: '';
    position: absolute;
    inset: 54px 18px;
    z-index: -1;
    border: 1px solid rgba(255,255,255,.45);
    border-radius: 36px;
    background: linear-gradient(135deg, rgba(255,255,255,.64), rgba(255,250,247,.28));
    box-shadow: 0 30px 80px rgba(80,65,70,.05);
    backdrop-filter: blur(4px);
    opacity: .84;
  }
  .story-world #destinos::before { opacity: .88; }
  .story-world #paquetes::before { opacity: .82; }
  .story-world #experiencias::before { background: linear-gradient(135deg, rgba(255,252,249,.68), rgba(244,249,244,.34)); }
  .story-world #testimonios::before { background: linear-gradient(135deg, rgba(255,255,255,.88), rgba(238,247,244,.60)); opacity: .90; }

  .card-destino,
  .card-paquete,
  .card-testi {
    background: rgba(255,255,255,.94);
    backdrop-filter: blur(10px);
  }
  .exp {
    padding: 20px;
    border: 1px solid rgba(255,255,255,.78);
    border-radius: 20px;
    background: rgba(255,255,255,.62);
    box-shadow: 0 16px 34px rgba(82,69,73,.055);
    backdrop-filter: blur(7px);
    transition: transform .28s ease, box-shadow .28s ease, background-color .28s ease;
  }
  .exp:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,.84);
    box-shadow: 0 22px 42px rgba(82,69,73,.09);
  }
  .card-paquete.destacado {
    background: linear-gradient(160deg, rgba(217,79,110,.97), rgba(169,43,76,.98));
  }

  @media (max-width: 980px) {
    .story-world .seccion { min-height: auto; }
    .story-world .seccion::before { inset: 32px 10px; border-radius: 26px; }
    .mountain-scene { width: 1200px; right: -540px; opacity: .30; }
    .bamboo-forest { left: -28%; width: 156%; opacity: .30; }
    .river-parallax { opacity: .36; }
    .deco { display: none !important; }
  }

  @media (prefers-reduced-motion: reduce) {
    .snow-dot,
    .river-wave-group,
    .river-shimmer { animation: none !important; }
    .bamboo-cane { transform: scaleY(1) !important; opacity: 1 !important; }
    .bamboo-leaf { opacity: .68 !important; transform: translateX(var(--leaf-x)) rotate(var(--leaf-r)) scale(1) !important; }
  }



/* ============================================================
   PUENTE — mapea los componentes de Sakura Atlas sobre las
   MISMAS medidas de sakura_parallax_visual_100.
   Cada valor de aqui esta copiado del CSS de la referencia;
   no se inventan escalas. Existe solo porque styles.css define
   .section, .container, .section h2, .lead y .section-tag con
   mayor especificidad y hay que neutralizarlos.
   Cargado despues de styles.css. Solo lo enlaza index.html.
   ============================================================ */

/* ---------- Contenedor: .section se comporta como .seccion ----------
   La referencia usa UN solo contenedor. Aqui el markup trae
   .section > .container, asi que .container se anula para no
   restringir el ancho dos veces. */
.section {
  position: relative;
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 110px 48px;
  background: transparent;
}
.section > .container {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 3;
}


/* ---------- Tipografia (valores de la referencia) ---------- */
.section h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  font-size: clamp(30px, 3.4vw, 42px);
  line-height: normal;
  letter-spacing: normal;
  color: var(--tinta);
  margin-bottom: 18px;
}
.section h2 .grad-text,
.section h2 .neon-text {
  color: var(--rosa);
  background: none;
  -webkit-text-fill-color: currentColor;
}

/* .section-tag ocupa el lugar de .kicker: texto plano, sin pastilla */
.section-tag {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--rosa);
  font-weight: 600;
  margin-bottom: 14px;
  background: none;
  border: none;
  border-radius: 0;
  padding: 0;
}

/* .lead ocupa el lugar de .intro */
.lead {
  max-width: 560px;
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--texto);
  margin-bottom: 54px;
}

/* ---------- Botones ---------- */
.btn-primary, .btn-gold {
  background: var(--rosa);
  color: #fff;
  border: 1.5px solid var(--rosa);
  box-shadow: 0 10px 24px rgba(217, 79, 110, .30);
}
.btn-primary:hover, .btn-gold:hover { background: #c4425f; border-color: #c4425f; }
.btn-ghost {
  background: rgba(255,255,255,.7);
  color: var(--rosa);
  border: 1.5px solid #f0c6ce;
}
.btn-ghost:hover { border-color: var(--rosa); color: var(--rosa); }

/* ---------- Rejillas (medidas de la referencia) ---------- */
.cards-grid {                        /* = .grid-paquetes */
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 26px;
  align-items: stretch;
  text-align: left;
}
.destinos-grid {                     /* = .grid-destinos */
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 26px;
}
.testimonios-grid {                  /* = .grid-testi */
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 26px;
}
.temporadas, .pilares {              /* = .grid-destinos */
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 26px;
}

/* ---------- Tarjeta de paquete = .card-paquete ---------- */
.card {
  position: relative;
  background: #fff;
  border-radius: 26px;
  padding: 38px 32px;
  border: 1px solid #f6e4e8;
  box-shadow: 0 12px 34px rgba(120, 70, 85, .08);
  display: flex;
  flex-direction: column;
  transition: transform .3s, box-shadow .3s;
}
.card:hover { transform: translateY(-8px); }

.card .nivel-badge {                 /* = .nombre-paq, en la esquina */
  position: absolute;
  top: 20px; right: 22px;
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--rosa);
}
.card .emoji { font-size: 34px; line-height: 1; margin-bottom: 16px; }
.card h3 {                           /* = .card-destino h3 */
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  font-size: 21px;
  color: var(--tinta);
  margin-bottom: 8px;
}
.card h3 a { text-decoration: none; }
.card h3 a:hover { color: var(--rosa) !important; }
.card .tagline {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 15px;
  color: var(--rosa);
  margin-bottom: 14px;
}
.card .desc {                        /* = .card-destino p */
  font-size: 13.5px;
  font-weight: 300;
  line-height: 1.65;
  color: var(--texto);
  margin-bottom: 18px;
}
.card .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 13px;
  font-weight: 300;
  color: #8b8f97;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid #f6e4e8;
}
.card .precio {                      /* = .card-paquete .precio */
  font-family: 'Playfair Display', serif;
  font-size: 40px;
  color: var(--tinta);
  margin-bottom: 4px;
  line-height: 1.1;
}
.card .precio small {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #9aa0a8;
  margin-top: 4px;
}
.card .incluye {                     /* = .card-paquete ul */
  list-style: none;
  padding: 0;
  margin: 18px 0 30px;
  flex: 1;
}
.card .incluye li {                  /* = .card-paquete li */
  font-size: 14px;
  font-weight: 300;
  line-height: 1.5;
  padding: 8px 0 8px 26px;
  position: relative;
  color: var(--texto);
}
.card .incluye li::before {
  content: '';
  position: absolute;
  left: 0; top: 15px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--rosa-suave);
}
.card .card-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: auto; }
.card .card-actions .btn { flex: 1 1 130px; justify-content: center; text-align: center; }

/* Nivel BLACK: unica tarjeta en tinta (equivale a .card-paquete.destacado) */
.card.black-card { background: var(--tinta); border-color: var(--tinta); }
.card.black-card h3, .card.black-card h3 a { color: #fff !important; }
.card.black-card .desc, .card.black-card .incluye li { color: #e4e8ee; }
.card.black-card .meta { color: #b3bcc7; border-bottom-color: rgba(255, 255, 255, .16); }
.card.black-card .tagline, .card.black-card .nivel-badge { color: #ffd7e0; }
.card.black-card .precio { color: #fff; }
.card.black-card .precio small { color: #b3bcc7; }
.card.black-card .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }

/* ---------- Testimonios = .card-testi ---------- */
.testimonio {
  background: #fff;
  border-radius: 22px;
  padding: 32px 28px;
  border: 1px solid #f6e4e8;
  box-shadow: 0 12px 34px rgba(120, 70, 85, .08);
  display: flex;
  flex-direction: column;
  transition: transform .3s, box-shadow .3s;
}
.testimonio:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(120, 70, 85, .13); }
.testimonio .stars { color: #f0b429; font-size: 15px; letter-spacing: 2px; margin-bottom: 14px; }
.testimonio p {                      /* = .cita */
  font-size: 14.5px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--texto);
  flex: 1;
  margin-bottom: 22px;
}
.testimonio .autor {                 /* = .testi-autor */
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 16px;
  border-top: 1px solid #f6e4e8;
}
.testimonio .autor span:first-child { font-size: 14px; font-weight: 600; color: var(--tinta); }
.testimonio .autor span:last-child { font-size: 13px; font-weight: 300; color: #8b8f97; }

/* ---------- Destinos: conserva su layout, adopta la paleta ---------- */
.destino {
  border-radius: 22px;
  border: 1px solid #f6e4e8;
  box-shadow: 0 12px 34px rgba(120, 70, 85, .08);
}
.destino:hover { transform: translateY(-8px); box-shadow: 0 22px 44px rgba(120, 70, 85, .14); }
.destino .kanji { color: var(--rosa); }
.destino h3 { font-family: 'Playfair Display', serif; font-weight: 500; font-size: 21px; color: var(--tinta); }
.destino p { font-size: 13.5px; font-weight: 300; line-height: 1.65; color: var(--texto); }

/* ---------- Temporadas = .card-destino ---------- */
.temporada {
  background: #fff;
  border-radius: 22px;
  padding: 30px 26px;
  border: 1px solid #f6e4e8;
  box-shadow: 0 12px 34px rgba(120, 70, 85, .08);
  transition: transform .3s, box-shadow .3s;
}
.temporada:hover { transform: translateY(-8px); box-shadow: 0 22px 44px rgba(120, 70, 85, .14); }
.temporada .icon {
  width: 54px; height: 54px;
  border-radius: 16px;
  background: var(--rosa-claro);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  font-size: 24px;
}
.temporada h3 { font-family: 'Playfair Display', serif; font-weight: 500; font-size: 21px; color: var(--tinta); margin-bottom: 8px; }
.temporada .meses { font-size: 12px; letter-spacing: 3px; text-transform: uppercase; font-weight: 600; color: var(--rosa); margin-bottom: 12px; }
.temporada p { font-size: 13.5px; font-weight: 300; line-height: 1.65; color: var(--texto); }

/* ---------- Pilares = .card-destino ---------- */
.pilar {
  background: #fff;
  border-radius: 22px;
  padding: 30px 26px;
  border: 1px solid #f6e4e8;
  box-shadow: 0 12px 34px rgba(120, 70, 85, .08);
  transition: transform .3s, box-shadow .3s;
}
.pilar:hover { transform: translateY(-8px); box-shadow: 0 22px 44px rgba(120, 70, 85, .14); }
.pilar .num { font-family: 'Playfair Display', serif; font-size: 34px; color: var(--rosa-suave); line-height: 1; margin-bottom: 14px; }
.pilar h3 { font-family: 'Playfair Display', serif; font-weight: 500; font-size: 19px; color: var(--tinta); margin-bottom: 8px; }
.pilar p { font-size: 13.5px; font-weight: 300; line-height: 1.65; color: var(--texto); }

/* ---------- FAQ (no existe en la referencia: se alinea a .card-testi) ---------- */
.faq-grid { display: grid; gap: 14px; }
.faq {
  background: #fff;
  border-radius: 22px;
  border: 1px solid #f6e4e8;
  box-shadow: 0 12px 34px rgba(120, 70, 85, .08);
  padding: 0 28px;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 22px 34px 22px 0;
  position: relative;
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  font-size: 18px;
  color: var(--tinta);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  font-family: 'Poppins', sans-serif;
  font-size: 22px;
  font-weight: 300;
  color: var(--rosa);
}
.faq[open] summary::after { content: '\2212'; }
.faq summary:hover { color: var(--rosa); }
.faq p { font-size: 14.5px; font-weight: 300; line-height: 1.75; color: var(--texto); padding: 0 0 24px; }
.faq p a { color: var(--rosa); }

/* ---------- Estudio Creativo ---------- */
.estudio-promo {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 40px 34px;
  align-items: center;
  background: #fff;
  border-radius: 26px;
  padding: 38px 32px;
  border: 1px solid #f6e4e8;
  box-shadow: 0 12px 34px rgba(120, 70, 85, .08);
}
.estudio-promo h2 { margin-bottom: 14px; }
.estudio-promo > div > p { font-size: 15.5px; font-weight: 300; line-height: 1.75; color: var(--texto); }
.estudio-promo .features { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 14px; }
.estudio-promo .features li { display: flex; gap: 12px; font-size: 14px; font-weight: 300; line-height: 1.55; color: var(--texto); }
.estudio-promo .features .ico { font-size: 18px; flex-shrink: 0; }
.estudio-mock { background: var(--tinta); border-radius: 22px; padding: 20px; }
.estudio-mock .mock-bar { display: flex; gap: 7px; margin-bottom: 16px; }
.estudio-mock .mock-bar i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255, 255, 255, .25); }
.estudio-mock .mock-canvas {
  height: 160px; display: grid; place-items: center; font-size: 54px;
  background: rgba(255, 255, 255, .07); border-radius: 16px; margin-bottom: 18px;
}
.estudio-mock .mock-label { font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: #93a1b1; margin-bottom: 7px; }
.estudio-mock .mock-slider { height: 5px; border-radius: 3px; background: linear-gradient(90deg, var(--rosa) 62%, rgba(255,255,255,.14) 62%); margin-bottom: 16px; }

/* ---------- Contacto ---------- */
.contacto-wrap { display: grid; grid-template-columns: 1fr 1.05fr; gap: 40px 34px; align-items: start; }
.form-card {
  background: #fff;
  border-radius: 26px;
  padding: 38px 32px;
  border: 1px solid #f6e4e8;
  box-shadow: 0 12px 34px rgba(120, 70, 85, .08);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; font-weight: 600; color: #8b8f97; }
.field input, .field select, .field textarea {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 300;
  color: var(--tinta);
  background: var(--crema);
  border: 1px solid #f6e4e8;
  border-radius: 14px;
  padding: 12px 15px;
  transition: border-color .25s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--rosa); }
.field textarea { resize: vertical; }
.newsletter { display: flex; gap: 10px; flex-wrap: wrap; }
.newsletter input {
  flex: 1 1 210px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px; font-weight: 300;
  background: var(--crema);
  border: 1px solid #f6e4e8;
  border-radius: 14px;
  padding: 12px 15px;
}
.newsletter input:focus { outline: none; border-color: var(--rosa); }
.form-msg { font-size: 13.5px; font-weight: 300; margin-top: 12px; }
.form-msg.ok { color: #2f8f5b; }
.form-msg.error { color: var(--rosa); }

/* ---------- Barra de progreso ---------- */
#scrollProgress {
  position: fixed; top: 0; left: 0;
  height: 3px; width: 0;
  background: var(--rosa);
  z-index: 3000;
  transition: width .1s linear;
}

/* ---------- Estadisticas del hero ---------- */
.hero-stats {
  display: flex; flex-wrap: wrap; gap: 34px;
  margin-top: 38px; padding-top: 26px;
  border-top: 1px solid rgba(217, 79, 110, .18);
}
.hero-stats .stat { display: flex; flex-direction: column; gap: 2px; }
.hero-stats .stat b { font-family: 'Playfair Display', serif; font-weight: 500; font-size: 26px; color: var(--rosa); line-height: 1; }
.hero-stats .stat span { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; font-weight: 300; color: #8b8f97; }

/* ---------- Logo y menu hamburguesa ---------- */
#header .logo-text .nombre { letter-spacing: .09em; }
#header .logo-text .tag { font-size: 11px; }
.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--rosa-suave);
  border-radius: 11px;
  color: var(--rosa);
  font-size: 20px; line-height: 1;
  padding: 8px 12px; cursor: pointer;
}
.menu-toggle:hover { background: var(--rosa-claro); border-color: var(--rosa); }

/* ---------- Responsive (mismos cortes que la referencia) ---------- */
@media (max-width: 980px) {
  .section { padding: 76px 24px; }
  .menu-toggle { display: block; order: 3; }
  #header { flex-wrap: wrap; }
  #header .btn-header { display: none; }
  #header nav {
    display: none; order: 4; flex-basis: 100%;
    flex-direction: column; gap: 4px;
    margin-top: 14px; padding-top: 14px;
    border-top: 1px solid #f6e4e8;
  }
  #header nav.open { display: flex; }
  #header nav a { padding: 11px 4px; font-size: 15px; }
  .estudio-promo, .contacto-wrap { grid-template-columns: 1fr; }
  .hero-stats { gap: 22px; }
}
@media (max-width: 560px) {
  .section { padding: 64px 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .card { padding: 30px 24px; }
  .hero-stats .stat b { font-size: 21px; }
}


/* ---------- Destinos: layout completo ----------
   .destino lo genera main.js en runtime. Antes su estructura venia
   de styles.css; el home ya no lo carga, asi que se define aqui
   con las mismas medidas y la paleta de la referencia. */
.destino {
  position: relative;
  overflow: hidden;
  min-height: 250px;
  display: flex;
  align-items: flex-end;
  padding: 24px;
  background: #fff;
  isolation: isolate;
  transition: transform .3s, box-shadow .3s;
}
.destino .bg { position: absolute; inset: 0; z-index: -2; }
.destino::after {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, transparent 35%, rgba(255,255,255,.94) 78%);
}
.destino .kanji { letter-spacing: .3em; font-size: 12px; font-weight: 600; }
.destino h3 { margin-top: 2px; }
.destino p { margin-top: 6px; }
