:root {
  --turquesa: #0fb5a6;
  --turquesa-claro: #b8f0e8;
  --mar: #0a3d4a;
  --coral: #ff7b5c;
  --sol: #ffc93c;
  --palma: #3cb371;
  --arena: #fbf5ea;
  --blanco: #ffffff;
  --texto: #10323b;
  --texto-suave: #4f6d74;
  --radio: 22px;
  --sombra: 0 18px 40px -18px rgba(10, 61, 74, .35);
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --body: "DM Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  color: var(--texto);
  background: var(--blanco);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.05; letter-spacing: -.02em; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  background: var(--coral); color: #fff;
  font-weight: 700; font-size: 1rem;
  padding: .95rem 1.6rem; border-radius: 999px; border: 0; cursor: pointer;
  box-shadow: 0 10px 22px -10px rgba(255, 123, 92, .8);
  transition: transform .2s ease, box-shadow .2s ease, background .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 26px -10px rgba(255, 123, 92, .9); }
.btn-sm { padding: .6rem 1.1rem; font-size: .9rem; }
.btn-ghost { background: transparent; color: var(--mar); box-shadow: none; padding-inline: .6rem; }
.btn-ghost:hover { box-shadow: none; color: var(--turquesa); }
.btn-light { background: var(--blanco); color: var(--mar); box-shadow: none; border: 2px solid var(--turquesa-claro); }
.btn-light:hover { border-color: var(--turquesa); box-shadow: none; }

.eyebrow {
  font-weight: 700; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--turquesa); margin-bottom: .8rem;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem clamp(16px, 5vw, 64px);
  background: rgba(255, 255, 255, .8);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: box-shadow .3s;
}
.nav.scrolled { box-shadow: 0 6px 20px -14px rgba(10, 61, 74, .4); }
.logo { display: flex; align-items: center; gap: .55rem; font-family: var(--display); font-size: 1.35rem; font-weight: 700; color: var(--mar); }
.logo svg { width: 36px; height: 36px; }
.logo b { color: var(--turquesa); font-weight: 800; }
.nav-links { display: flex; gap: 2rem; font-weight: 500; font-size: .95rem; }
.nav-links a { color: var(--texto-suave); transition: color .2s; }
.nav-links a:hover { color: var(--turquesa); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 3rem;
  padding: clamp(3rem, 7vw, 6rem) clamp(16px, 5vw, 64px) 9rem;
  background:
    radial-gradient(60rem 30rem at 90% 0%, #dff8f4 0%, transparent 60%),
    radial-gradient(40rem 25rem at 0% 100%, #fff3dd 0%, transparent 60%),
    var(--blanco);
  overflow: hidden;
}
.hero h1 { font-size: clamp(2.6rem, 6.4vw, 5.2rem); font-weight: 800; color: var(--mar); }
.ola {
  color: var(--turquesa);
  background: linear-gradient(transparent 70%, rgba(255, 201, 60, .55) 70%);
  padding: 0 .1em;
}
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--texto-suave); max-width: 34rem; margin-top: 1.4rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero-points { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; margin-top: 2.2rem; font-size: .92rem; color: var(--texto-suave); }
.hero-points li::before { content: "✓"; color: var(--turquesa); font-weight: 700; margin-right: .4rem; }

.hero-art { position: relative; height: 480px; display: grid; place-items: center; }
.sun {
  position: absolute; width: 340px; height: 340px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ffe08a, var(--sol) 55%, #ffb347);
  opacity: .9; filter: blur(.5px);
  animation: float 8s ease-in-out infinite;
}
.phone {
  position: relative; width: 230px; height: 440px; border-radius: 36px;
  background: var(--mar); padding: 12px; box-shadow: var(--sombra);
  transform: rotate(-6deg);
  animation: bob 6s ease-in-out infinite;
}
.phone-notch { position: absolute; top: 18px; left: 50%; width: 70px; height: 18px; transform: translateX(-50%); background: var(--mar); border-radius: 0 0 12px 12px; z-index: 2; }
.phone-screen { height: 100%; border-radius: 26px; background: var(--arena); padding: 12px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
.ps-hero {
  height: 150px; border-radius: 18px; padding: 14px; display: flex; flex-direction: column; justify-content: flex-end;
  background: linear-gradient(160deg, var(--turquesa), #0a8f93); color: #fff;
}
.ps-hero span { font-family: var(--display); font-weight: 800; font-size: 1.4rem; }
.ps-hero small { opacity: .85; font-size: .72rem; }
.ps-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ps-row i { height: 70px; border-radius: 14px; background: #ffe2d9; }
.ps-row i:last-child { background: #fff1c7; }
.ps-line { height: 10px; border-radius: 6px; background: #e3ddd1; }
.w80 { width: 80%; } .w60 { width: 60%; }
.ps-btn { margin-top: auto; background: var(--coral); color: #fff; border-radius: 999px; text-align: center; font-weight: 700; font-size: .8rem; padding: .7rem; }
.chip {
  position: absolute; background: #fff; border-radius: 999px; padding: .55rem 1rem; font-weight: 700; font-size: .85rem;
  box-shadow: var(--sombra); color: var(--mar);
}
.chip-1 { top: 16%; right: 2%; animation: bob 5s ease-in-out infinite .5s; }
.chip-2 { bottom: 18%; left: 0; animation: bob 5.5s ease-in-out infinite 1s; }

.waves { position: absolute; left: 0; bottom: -1px; width: 100%; height: 110px; }
.waves .w1 { fill: var(--turquesa-claro); animation: sway 9s ease-in-out infinite; }
.waves .w2 { fill: var(--blanco); animation: sway 7s ease-in-out infinite reverse; }

@keyframes bob { 0%,100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-12px) rotate(-4deg); } }
.chip-1, .chip-2 { --r: 0deg; }
@keyframes float { 0%,100% { transform: translate(0,0); } 50% { transform: translate(10px,-14px); } }
@keyframes sway { 0%,100% { transform: translateX(0); } 50% { transform: translateX(-40px); } }

/* ---------- Secciones ---------- */
.section { padding: clamp(4rem, 9vw, 7rem) clamp(16px, 5vw, 64px); }
.section-head { max-width: 44rem; margin: 0 auto 3rem; text-align: center; }
.section h2 { font-size: clamp(2rem, 4.4vw, 3.3rem); font-weight: 800; color: var(--mar); }
.sub { color: var(--texto-suave); margin-top: .8rem; }
.sand { background: var(--arena); }

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; max-width: 1180px; margin: 0 auto; }
.card {
  background: #fff; border: 1.5px solid #e9f3f1; border-radius: var(--radio); padding: 1.8rem 1.5rem;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--sombra); border-color: transparent; }
.icon {
  width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; font-size: 1.6rem; margin-bottom: 1.2rem;
  background: color-mix(in srgb, var(--c) 18%, white);
}
.card h3 { font-size: 1.3rem; margin-bottom: .5rem; color: var(--mar); }
.card p { color: var(--texto-suave); font-size: .96rem; }

/* ---------- Antes / Después ---------- */
.compare {
  position: relative; max-width: 900px; height: 440px; margin: 0 auto; border-radius: var(--radio);
  overflow: hidden; box-shadow: var(--sombra); background: #fff; user-select: none;
}
.mock { position: absolute; inset: 0; }
.mock-before {
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
  background: #c0c0c0 repeating-linear-gradient(45deg, #c8c8c8 0 6px, #bdbdbd 6px 12px);
  font-family: "Times New Roman", serif; color: #000;
}
.mb-marquee { background: #000080; color: #ffff00; font-weight: bold; padding: .5rem 1rem; white-space: nowrap; overflow: hidden; }
.mb-body { margin: 1.5rem; background: #fff; border: 3px ridge #999; padding: 1.4rem; max-width: 480px; }
.mb-body p { margin-bottom: .8rem; font-size: 1rem; }
.mb-title { font-family: "Comic Sans MS", cursive; font-size: 2rem !important; color: #ff0000; text-shadow: 2px 2px #00ff00; }
.mb-link { color: #0000ee; text-decoration: underline; }
.mb-small { font-size: .75rem !important; color: #555; }

.mock-after { background: var(--arena); padding: 1.2rem; display: flex; flex-direction: column; gap: 1rem; }
.ma-top { display: flex; justify-content: space-between; align-items: center; font-size: .85rem; color: var(--texto-suave); padding: 0 .4rem; }
.ma-top b { font-family: var(--display); font-size: 1.15rem; color: var(--mar); }
.ma-hero {
  flex: 1; border-radius: 18px; padding: 2rem; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-end; text-align: right; gap: 1rem;
  background: linear-gradient(140deg, rgba(10,61,74,.1), rgba(10,61,74,.65)), linear-gradient(160deg, #3fd4c4, #0a7f8a 60%, #0a3d4a);
  color: #fff;
}
.ma-hero h4 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
.ma-btn { background: var(--coral); padding: .7rem 1.2rem; border-radius: 999px; font-weight: 700; font-size: .9rem; }
.ma-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; height: 80px; }
.ma-grid i { border-radius: 14px; background: #ffe2d9; }
.ma-grid i:nth-child(2) { background: #fff1c7; }
.ma-grid i:nth-child(3) { background: var(--turquesa-claro); }

.tag { position: absolute; bottom: 1rem; padding: .35rem .8rem; border-radius: 999px; font-weight: 700; font-size: .8rem; z-index: 3; font-family: var(--body); }
.tag-before { left: 1rem; background: #000; color: #fff; }
.tag-after { right: 1rem; background: var(--turquesa); color: #fff; }
.handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 4px; transform: translateX(-50%);
  background: #fff; z-index: 4; pointer-events: none;
}
.handle span {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 46px; height: 46px; border-radius: 50%; background: #fff; display: grid; place-items: center;
  color: var(--mar); font-weight: 800; box-shadow: var(--sombra);
}
.compare input[type="range"] {
  position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; z-index: 5; margin: 0;
}

/* ---------- Pasos ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; max-width: 1080px; margin: 0 auto; }
.steps li { position: relative; padding-top: 1rem; border-top: 3px solid var(--turquesa-claro); }
.num { font-family: var(--display); font-weight: 800; font-size: 3.2rem; color: var(--turquesa); line-height: 1; }
.steps h3 { font-size: 1.5rem; margin: .6rem 0 .4rem; color: var(--mar); }
.steps p { color: var(--texto-suave); }

/* ---------- Paquetes ---------- */
.sea { background: linear-gradient(180deg, var(--mar), #0b5563); color: #fff; }
.sea h2 { color: #fff; }
.sea .eyebrow { color: var(--sol); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; max-width: 1100px; margin: 0 auto; align-items: stretch; }
.plan {
  position: relative; background: rgba(255,255,255,.07); border: 1.5px solid rgba(255,255,255,.15);
  border-radius: var(--radio); padding: 2.2rem 1.8rem; display: flex; flex-direction: column;
}
.plan h3 { font-size: 1.8rem; }
.plan-for { opacity: .8; margin: .4rem 0 1.4rem; }
.plan ul { list-style: none; display: grid; gap: .6rem; margin-bottom: 2rem; flex: 1; }
.plan li::before { content: "~"; color: var(--turquesa); font-weight: 800; margin-right: .6rem; }
.plan-featured { background: #fff; color: var(--texto); transform: translateY(-12px); border-color: #fff; box-shadow: 0 30px 60px -25px rgba(0,0,0,.5); }
.plan-featured h3 { color: var(--mar); }
.plan-featured .plan-for { color: var(--texto-suave); opacity: 1; }
.badge { position: absolute; top: -14px; left: 1.8rem; background: var(--sol); color: var(--mar); font-weight: 800; font-size: .8rem; padding: .3rem .9rem; border-radius: 999px; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: .8rem; }
.faq details { background: var(--arena); border-radius: 18px; padding: 1.2rem 1.5rem; }
.faq summary {
  cursor: pointer; font-weight: 700; font-size: 1.08rem; color: var(--mar); list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--turquesa); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--texto-suave); margin-top: .7rem; }

/* ---------- Contacto ---------- */
.contact {
  padding: clamp(4rem, 9vw, 7rem) clamp(16px, 5vw, 64px);
  background:
    radial-gradient(30rem 20rem at 100% 100%, rgba(255,201,60,.35), transparent 70%),
    linear-gradient(160deg, #d8f7f2, #b8f0e8);
}
.contact-inner { max-width: 640px; margin: 0 auto; text-align: center; }
.contact h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; color: var(--mar); }
.contact .lead { margin-inline: auto; }
.form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2.4rem; text-align: left;
  background: #fff; padding: 1.8rem; border-radius: var(--radio); box-shadow: var(--sombra);
}
.form label { display: grid; gap: .35rem; font-weight: 700; font-size: .88rem; color: var(--mar); }
.form .full { grid-column: 1 / -1; }
.form input, .form select {
  font: inherit; font-weight: 400; font-size: 1rem; color: var(--texto);
  padding: .85rem 1rem; border-radius: 14px; border: 1.5px solid #dcebe8; background: #fbfefd; width: 100%;
  transition: border-color .2s, box-shadow .2s;
}
.form input:focus, .form select:focus { outline: none; border-color: var(--turquesa); box-shadow: 0 0 0 4px rgba(15,181,166,.15); }

/* ---------- Footer ---------- */
.footer { background: var(--mar); color: rgba(255,255,255,.8); text-align: center; padding: 3rem 16px; display: grid; gap: .6rem; justify-items: center; }
.footer .logo { color: #fff; }
.copy { font-size: .85rem; opacity: .6; }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 24px -8px rgba(0,0,0,.35);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Animación al hacer scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
}
@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; padding-bottom: 8rem; }
  .hero-art { height: 400px; }
  .sun { width: 260px; height: 260px; }
  .phone { width: 200px; height: 380px; }
  .steps, .plans { grid-template-columns: 1fr; }
  .plan-featured { transform: none; }
  .compare { height: 400px; }
  .mb-body { margin: 1rem; padding: 1rem; }
}
@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; padding: 1.3rem; }
  .logo { font-size: 1.15rem; }
  .ma-top span { display: none; }
  .mb-title { font-size: 1.5rem !important; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
