/* ==========================================================
   sections.css — nav, hero, secciones de página, footer, CTAs flotantes
   ========================================================== */

/* ---------- NAV ---------- */
.nav { position: fixed; z-index: 80; inset: 0 0 auto; height: 82px; display: flex; align-items: center; padding: 0 max(24px, calc((100vw - 1200px) / 2)); transition: background .3s, backdrop-filter .3s, height .3s; border-bottom: 1px solid transparent; color: #fff; }
.nav.scrolled { background: #07382cef; backdrop-filter: blur(16px); border-color: #ffffff20; height: 72px; }
.logo { width: 145px; height: 65px; object-fit: contain; object-position: left center; filter: drop-shadow(0 2px 8px #0002); }
.logo-link { position: relative; display: block; line-height: 0; }
.logo-1, .logo-2 { transition: opacity .3s; }
.logo-2 { position: absolute; left: 0; top: 0; opacity: 0; }
.nav.scrolled .logo-1 { opacity: 0; }
.nav.scrolled .logo-2 { opacity: 1; }
.navlinks { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.navlinks a { font-size: .76rem; font-weight: 700; color: #f3f7ef; transition: color .2s; position: relative; }
.navlinks a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--sun); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.navlinks a:hover { color: var(--teal2); }
.navlinks a:hover::after { transform: scaleX(1); }
.navright { display: flex; align-items: center; gap: 12px; margin-left: 25px; }
.language-switch { display: inline-flex; align-items: center; gap: 5px; height: 38px; padding: 0 10px; border: 1px solid #ffffff70; border-radius: 999px; color: #fff; background: #ffffff12; font-size: .85rem; font-weight: 800; white-space: nowrap; }
.language-switch select { appearance: none; border: 0; outline: 0; background: transparent; color: inherit; font: inherit; cursor: pointer; padding: 4px 1px; }
.language-switch option { color: #07382c; background: #fff; }
.hamb { display: none; margin-left: auto; background: #ffffff12; color: #fff; border: 1px solid #ffffff55; border-radius: 50%; width: 44px; height: 44px; font-size: 1.1rem; }

/* ---------- HERO ---------- */
.hero { min-height: min(850px, 100svh); height: 790px; max-height: 980px; position: relative; display: flex; align-items: center; color: #fff; background: var(--forest); overflow: hidden; }
.hero-bg { position: absolute; inset: -5%; transform: translate3d(var(--px, 0px), var(--py, 0px), 0); will-change: transform; }
.hero-bg::before { content: ''; position: absolute; inset: 0; background: url('../assets/images/dominican-beach.jpg') center 55% / cover; animation: kenburns 26s ease-in-out infinite alternate; }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #042c22e8 0%, #042c22a8 44%, #042c2220 100%), linear-gradient(0deg, #042c22b8, transparent 48%); }
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.12) translate(-1.2%, -1%); } }
.hero::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 78% 40%, transparent 0 18%, #00251b26 70%); pointer-events: none; }
.hero-content { position: relative; z-index: 2; width: min(1200px, calc(100% - 48px)); margin: auto; padding-top: 70px; }
.hero .eyebrow { color: #9be5d5; animation: fadeUp .9s .1s var(--ease) both; }
.hero h1 { font: 800 clamp(3.4rem, 8vw, 7.8rem) / .88 var(--font-head); letter-spacing: -.085em; text-transform: uppercase; max-width: 850px; margin: 24px 0; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .14em; margin-bottom: -.14em; }
.hero h1 .line > span { display: block; transform: translateY(110%); animation: lineUp 1s var(--ease) forwards; }
.hero h1 .line:nth-child(2) > span { animation-delay: .15s; }
.hero h1 em { font-style: normal; color: var(--sun); }
@keyframes lineUp { to { transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero-copy { max-width: 525px; color: #e4f0e8; line-height: 1.75; font-size: 1.05rem; animation: fadeUp .9s .45s var(--ease) both; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; animation: fadeUp .9s .6s var(--ease) both; }
.hero .btn:not(.ghost) { background: linear-gradient(110deg, var(--sun), #ffd16c, var(--sun)); background-size: 200% 100%; animation: shimmer 5s linear infinite; }
@keyframes shimmer { to { background-position: 200% 50%; } }
.nextavail { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; padding: 9px 15px; border-radius: 99px; background: #ffffff1c; border: 1px solid #ffffff30; backdrop-filter: blur(8px); font-size: .74rem; font-weight: 700; animation: fadeUp .9s .75s var(--ease) both; }
.nextavail[hidden] { display: none; }
.live-dot, .nextline .dot { width: 8px; height: 8px; border-radius: 50%; background: #3de08b; box-shadow: 0 0 0 0 #3de08b88; animation: ping 2s infinite; flex: none; }
@keyframes ping { 70% { box-shadow: 0 0 0 9px #3de08b00; } 100% { box-shadow: 0 0 0 0 #3de08b00; } }
.hero-proof { display: flex; gap: 22px; align-items: center; margin-top: 30px; color: #e4f0e8; font-size: .74rem; animation: fadeUp .9s .9s var(--ease) both; }
.stars { color: #ffb62e; letter-spacing: 2px; }
.proof-divider { width: 1px; height: 30px; background: #ffffff55; }
.hero-side { position: absolute; z-index: 3; right: max(24px, calc((100vw - 1200px) / 2)); bottom: 55px; color: #fff; text-align: right; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; }
.hero-side strong { display: block; font: 800 2rem var(--font-head); color: var(--teal2); letter-spacing: -.05em; }
.scrollhint { position: absolute; z-index: 3; bottom: 28px; left: max(24px, calc((100vw - 1200px) / 2)); display: flex; gap: 12px; align-items: center; font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: #e4f0e8; }
.scrollbar { height: 34px; width: 1px; background: var(--sun); animation: pulse 1.8s infinite; }
.wave { position: absolute; z-index: 1; left: 0; right: 0; bottom: -1px; height: 32px; pointer-events: none; }
.wave svg { width: 200%; height: 100%; animation: waveMove 14s linear infinite; }
@keyframes waveMove { to { transform: translateX(-50%); } }

/* ---------- MARQUEE ---------- */
.announcement { background: var(--sun); color: var(--forest); padding: 13px 0; overflow: hidden; font-size: .72rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.marquee { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.announcement:hover .marquee { animation-play-state: paused; }
.marquee span { padding: 0 22px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- QUICK CATS ---------- */
.quickcats { background: var(--cream); padding: 28px 0; }
.catrow { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }
.catpill { border: 1px solid #d7dfd2; border-radius: 99px; padding: 11px 17px; background: #fffaf0; color: var(--forest); font-size: .72rem; font-weight: 800; transition: .25s; }
.catpill:hover, .catpill.active { background: var(--forest); border-color: var(--forest); color: #fff; transform: translateY(-2px); }

/* ---------- SECCIONES ---------- */
.section { padding: 100px 0; }
.head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 38px; }
.head h2 { font: 800 clamp(2.35rem, 5vw, 4.5rem) / .98 var(--font-head); letter-spacing: -.075em; margin: 13px 0 0; max-width: 690px; }
.head p { max-width: 370px; color: var(--muted); line-height: 1.7; margin: 0; }

/* intro */
.intro { background: var(--cream); }
.introgrid { display: grid; grid-template-columns: 1fr .95fr; gap: 9%; align-items: center; }
.intro h2 { font: 800 clamp(2.7rem, 5vw, 5rem) / .98 var(--font-head); letter-spacing: -.075em; margin: 16px 0 22px; }
.intro h2 span { color: var(--leaf); }
.intro p { color: #536c5e; line-height: 1.85; max-width: 540px; }
.stats { display: grid; grid-template-columns: repeat(3, auto); gap: 28px; justify-content: start; margin: 30px 0 34px; padding: 22px 0; border-block: 1px solid #e6dcc3; }
.stat strong { display: block; font: 800 2.2rem var(--font-head); letter-spacing: -.06em; color: var(--forest); line-height: 1; }
.stat span { font-size: .66rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.introphoto { height: 510px; border-radius: 48% 48% 22px 22px; position: relative; isolation: isolate; }
.introphoto img { width: 100%; height: 100%; object-fit: cover; border-radius: 48% 48% 22px 22px; box-shadow: var(--shadow); }
.roundstamp { position: absolute; z-index: 5; bottom: 24px; left: -42px; background: var(--sun); color: var(--forest); width: 120px; height: 120px; border-radius: 50%; display: grid; place-items: center; text-align: center; font: 900 .68rem / 1.35 var(--font-head); transform: rotate(-12deg); box-shadow: 0 12px 30px #0002; animation: floaty 5s ease-in-out infinite; }
.roundstamp b { font-size: 1.5rem; display: block; }
@keyframes floaty { 0%, 100% { transform: translateY(0) rotate(-12deg); } 50% { transform: translateY(-12px) rotate(-6deg); } }

/* promo */
.promo { padding: 0 0 95px; background: #fdfbf4; }
.promobox { min-height: 340px; border-radius: 30px; overflow: hidden; position: relative; color: #fff; display: flex; align-items: center; padding: 55px; background: linear-gradient(90deg, #052e24ed, #052e2488 56%, #052e2420), url('../assets/images/dominican-beach.jpg') center / cover; }
.promocontent { max-width: 570px; position: relative; z-index: 1; }
.promobox h2 { font: 800 clamp(2.3rem, 5vw, 4.4rem) / .95 var(--font-head); letter-spacing: -.07em; margin: 15px 0; }
.promobox p { line-height: 1.7; color: #e4f0e8; max-width: 460px; margin: 0 0 22px; }
.promobox .eyebrow { color: #9be5d5; }

/* gallery */
.gallery { background: linear-gradient(180deg, #fff4df 0%, #fffdf8 100%); overflow: hidden; }
.galleryintro { display: flex; justify-content: space-between; align-items: end; gap: 25px; margin-bottom: 30px; }
.galleryintro h2 { font: 800 clamp(2.5rem, 5vw, 4.6rem) / .95 var(--font-head); letter-spacing: -.075em; margin: 12px 0 0; color: var(--forest); }
.galleryintro h2 span { color: var(--leaf); }
.galleryintro p { max-width: 390px; color: var(--muted); line-height: 1.7; }
.photomosaic { display: grid; grid-template-columns: 1.15fr .85fr 1fr; grid-template-rows: 245px 245px; gap: 15px; }
.photo-tile { position: relative; overflow: hidden; border-radius: 22px; background: #dce9df; isolation: isolate; }
.photo-tile:first-child { grid-row: span 2; }
.photo-tile:nth-child(4) { grid-column: 2; }
.photo-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .6s; }
.photo-tile:hover img { transform: scale(1.09) rotate(.5deg); filter: saturate(1.12); }
.photo-tile::after { content: ''; position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, #062d25c9); z-index: 1; }
.photo-caption { position: absolute; z-index: 2; left: 20px; bottom: 18px; color: #fff; }
.photo-caption b { display: block; font: 800 1.2rem var(--font-head); letter-spacing: -.04em; }
.photo-caption span { font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: #d9eee2; }
.photo-icon { position: absolute; right: 16px; top: 16px; z-index: 2; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: #fff3; backdrop-filter: blur(8px); font-size: 1.1rem; }

/* why */
.why { background: var(--forest); color: #fff; }
.why .head p { color: #c2d5c8; }
.why .eyebrow { color: var(--teal2); }
.valuegrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.value { border: 1px solid #ffffff24; border-radius: 18px; padding: 25px; background: #ffffff09; transition: transform .35s var(--ease), background .35s, border-color .35s; }
.value:hover { transform: translateY(-6px); background: #ffffff14; border-color: #73d8c555; }
.valueicon { width: 45px; height: 45px; border-radius: 14px; background: #00a69c24; color: var(--teal2); display: grid; place-items: center; font-size: 1.3rem; }
.value h3 { font: 800 1rem var(--font-head); margin: 18px 0 8px; }
.value p { color: #c2d5c8; font-size: .8rem; line-height: 1.65; margin: 0; }

/* steps */
.steps { background: var(--cream); }
.stepgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; position: relative; }
.step { background: #fff; border-radius: 20px; padding: 26px; transition: transform .35s var(--ease), box-shadow .35s; }
.step:hover { transform: translateY(-6px); box-shadow: 0 18px 40px #12392e14; }
.stepnum { font: 800 2.4rem var(--font-head); color: var(--sun); }
.step h3 { font: 800 1.15rem var(--font-head); margin: 12px 0 8px; }
.step p { color: var(--muted); font-size: .82rem; line-height: 1.7; margin: 0; }

/* cta */
.cta { background: var(--sun); padding: 65px 0; color: var(--forest); }
.ctainner { display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.cta h2 { font: 800 clamp(2.2rem, 4.5vw, 4rem) / .95 var(--font-head); letter-spacing: -.07em; margin: 12px 0; }
.cta p { max-width: 530px; line-height: 1.65; color: #315244; }
.cta .eyebrow { color: var(--forest); }
.cta .btn { background: var(--forest); color: #fff; }
.cta .btn:hover { background: var(--leaf); }

/* footer */
footer { background: #052c22; color: #fff; padding: 65px 0 25px; }
.footgrid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 35px; }
.footlogo { width: 155px; height: 90px; object-fit: contain; object-position: left center; }
.footbrand p { max-width: 300px; color: #b9cec1; line-height: 1.7; font-size: .8rem; }
.footcol b { display: block; margin: 10px 0 18px; font: 800 .85rem var(--font-head); }
.footcol a { display: block; color: #bfd1c5; font-size: .78rem; margin: 12px 0; transition: color .2s, transform .2s; }
.footcol a:hover { color: var(--teal2); transform: translateX(3px); }
.footbottom { border-top: 1px solid #ffffff22; margin-top: 42px; padding-top: 20px; display: flex; justify-content: space-between; gap: 15px; color: #9eb8a8; font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; }

/* ---------- CTAs flotantes ---------- */
.wa-float { position: fixed; z-index: 90; right: 18px; bottom: 18px; width: 56px; height: 56px; border-radius: 50%; background: #1fa855; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 28px #1fa85566; transition: transform .25s var(--ease); }
.wa-float:hover { transform: scale(1.1) rotate(-6deg); }
.wa-float svg { width: 28px; height: 28px; fill: currentColor; }
.wa-float[hidden] { display: none; }
.stickybar { position: fixed; z-index: 85; left: 0; right: 0; bottom: 0; display: none; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: #fffdf8f2; backdrop-filter: blur(14px); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px #12392e14; transform: translateY(110%); transition: transform .4s var(--ease); }
.stickybar.show { transform: none; }
.stickybar small { display: block; font-size: .6rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 800; }
.stickybar strong { font: 800 1.3rem var(--font-head); color: var(--forest); letter-spacing: -.05em; }
body.lock .stickybar, body.lock .wa-float { display: none; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 950px) {
  .navlinks { gap: 16px; } .navlinks a { font-size: .69rem; } .navright { margin-left: 15px; }
  .valuegrid { grid-template-columns: repeat(2, 1fr); }
  .footgrid { grid-template-columns: 1.3fr 1fr 1fr; } .footcol:last-child { grid-column: 2 / 4; }
  .introgrid { gap: 5%; } .introphoto { height: 430px; }
}
@media (max-width: 760px) {
  .galleryintro { display: block; } .galleryintro p { margin-top: 14px; }
  .photomosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 230px 185px 185px; gap: 10px; }
  .photo-tile:nth-child(4) { grid-column: auto; }
  .photo-caption { left: 13px; bottom: 13px; } .photo-caption b { font-size: .95rem; } .photo-caption span { font-size: .56rem; }
}
@media (max-width: 700px) {
  .wave { height: 24px; }
  .wrap { width: min(100% - 34px, 540px); }
  .nav { height: 70px; padding: 0 17px; } .nav.scrolled { height: 66px; } .logo { width: 120px; height: 58px; }
  .hamb { display: block; } .navright { margin-left: 10px; } .navright > .btn { display: none; } .language-switch { height: 36px; padding: 0 9px; }
  .navlinks { position: absolute; top: 100%; left: 0; right: 0; margin: 0; padding: 0 22px; flex-direction: column; align-items: stretch; gap: 0; background: #07382cf5; max-height: 0; overflow: hidden; transition: max-height .35s, padding .35s; }
  .navlinks.open { max-height: 360px; padding: 12px 22px 22px; }
  .navlinks a { padding: 14px 0; border-bottom: 1px solid #ffffff20; font-size: .82rem; }
  .hero { height: 90svh; min-height: 700px; max-height: 850px; }
  .hero-bg::before { background-position: 58% center; }
  .hero-content { width: calc(100% - 36px); padding-top: 58px; }
  .hero h1 { font-size: clamp(3.2rem, 14vw, 5.4rem); max-width: 550px; }
  .hero-copy { font-size: .92rem; max-width: 410px; }
  .hero-proof { gap: 12px; font-size: .65rem; flex-wrap: wrap; } .hero-side { display: none; }
  .scrollhint { left: 18px; bottom: 20px; }
  .announcement { font-size: .61rem; padding: 12px 0; }
  .quickcats { padding: 20px 0; }
  .catrow { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; padding: 2px 0 7px; scrollbar-width: none; }
  .catrow::-webkit-scrollbar { display: none; } .catpill { white-space: nowrap; }
  .section { padding: 72px 0; }
  .head { display: block; margin-bottom: 28px; } .head h2 { font-size: clamp(2.4rem, 10vw, 3.6rem); } .head p { margin-top: 16px; }
  .introgrid { grid-template-columns: 1fr; gap: 32px; } .intro h2 { font-size: clamp(2.7rem, 11vw, 4rem); }
  .stats { gap: 18px; } .stat strong { font-size: 1.7rem; }
  .introphoto { height: 390px; width: 88%; margin: 20px 18px 28px auto; } .roundstamp { left: -22px; bottom: 16px; width: 108px; height: 108px; }
  .promobox { padding: 32px 25px; min-height: 400px; background-position: 60% center; } .promobox h2 { font-size: 2.8rem; }
  .valuegrid { grid-template-columns: 1fr 1fr; gap: 10px; } .value { padding: 18px; } .value h3 { font-size: .9rem; } .value p { font-size: .74rem; }
  .stepgrid { grid-template-columns: 1fr; gap: 12px; } .step { padding: 22px; }
  .ctainner { display: block; } .cta .btn { margin-top: 12px; }
  .footgrid { grid-template-columns: 1fr 1fr; gap: 25px; } .footbrand { grid-column: 1 / -1; } .footcol:last-child { grid-column: auto; }
  .footbottom { display: block; line-height: 1.9; }
  .stickybar { display: flex; }
  .wa-float { bottom: 86px; width: 50px; height: 50px; }
  footer { padding-bottom: 90px; }
}
@media (orientation: landscape) and (max-height: 560px) {
  .hero { height: 100svh; min-height: 520px; } .hero-content { padding-top: 85px; }
  .hero h1 { font-size: clamp(3rem, 7vw, 5rem); max-width: 700px; } .hero-copy { max-width: 440px; }
  .hero-proof { margin-top: 18px; } .scrollhint { display: none; } .nav { height: 65px; } .navlinks a { font-size: .68rem; }
}
