/* Receptours Cartagena: demo. Mobile first. */
:root {
  --pink: #ea3392;
  --coral: #ee2f55;
  --orange: #f7a44e;
  --grad: linear-gradient(115deg, var(--pink) 0%, var(--coral) 52%, var(--orange) 100%);
  --ink: #16111a;
  --ink-2: #4a4350;
  --muted: #776f7d;
  --line: #eee6e9;
  --bg: #fffaf7;
  --tint: #fff1ec;
  --card: #ffffff;
  --wa: #1fae55;
  --wa-dark: #178a43;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(22, 17, 26, .06), 0 8px 24px rgba(22, 17, 26, .07);
  --head: "Outfit", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); line-height: 1.1; margin: 0; letter-spacing: -.01em; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.ico { width: 20px; height: 20px; flex: none; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 20px; border-radius: 999px;
  font-weight: 600; font-size: 15px; text-decoration: none; text-align: center;
  border: 2px solid transparent; cursor: pointer; transition: transform .15s, background-color .15s, box-shadow .15s;
}
.btn:active { transform: scale(.98); }
.btn--lg { min-height: 54px; padding: 14px 24px; font-size: 16px; }
.btn--wa { background: var(--wa); color: #fff; box-shadow: 0 6px 18px rgba(31, 174, 85, .35); }
.btn--wa:hover { background: var(--wa-dark); }
.btn--brand { background: var(--grad); color: #fff; box-shadow: 0 6px 18px rgba(238, 47, 85, .3); }
.btn--ghost { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .6); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: rgba(255, 255, 255, .25); }
.btn--line { background: #fff; color: var(--ink); border-color: var(--ink); }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn--block { width: 100%; }

/* ---------- Top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar__inner { display: flex; align-items: center; gap: 12px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand img { width: 40px; height: auto; }
.brand__name { font-family: var(--head); font-weight: 800; font-size: 20px; line-height: 1; letter-spacing: .02em; text-transform: uppercase; }
.brand__name small { display: block; font-size: 11px; font-weight: 500; letter-spacing: .28em; color: var(--muted); margin-top: 3px; }
.topbar__actions { display: flex; align-items: center; gap: 6px; }
.lang {
  min-width: 48px; height: 44px; border-radius: 999px; border: 1.5px solid var(--line);
  background: #fff; font-weight: 700; font-size: 14px; cursor: pointer;
}
.lang:hover { border-color: var(--ink); }
.menu-btn { width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; border-radius: 12px; display: grid; place-items: center; }
.menu-btn svg { width: 26px; height: 26px; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; fill: none; }
.nav {
  position: absolute; left: 0; right: 0; top: 100%;
  display: none; flex-direction: column; background: #fff; border-bottom: 1px solid var(--line);
  padding: 8px 16px 16px; box-shadow: 0 12px 24px rgba(22, 17, 26, .08);
}
.nav.open { display: flex; }
.nav a { text-decoration: none; font-weight: 600; padding: 14px 4px; border-bottom: 1px solid var(--line); }
.nav a:last-child { border-bottom: 0; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(88vh, 720px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: #0d2a33; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 8, 14, .15) 0%, rgba(10, 8, 14, .25) 40%, rgba(10, 8, 14, .82) 100%); }
.hero__content { position: relative; padding-top: 120px; padding-bottom: 40px; }
.eyebrow { margin: 0 0 10px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; opacity: .92; }
.hero h1 { font-size: clamp(40px, 11vw, 84px); font-weight: 800; text-shadow: 0 2px 30px rgba(0, 0, 0, .25); }
.hero .grad-text { filter: saturate(1.15) brightness(1.08); }
.hero__lead { font-size: clamp(17px, 4.6vw, 22px); max-width: 34ch; margin: 14px 0 24px; text-shadow: 0 1px 12px rgba(0, 0, 0, .35); }
.hero__cta { display: flex; flex-direction: column; gap: 10px; }
.hero__badges { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hero__badges li {
  font-size: 13px; font-weight: 600; padding: 7px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .3); backdrop-filter: blur(6px);
}

/* ---------- Sections ---------- */
.section { padding: 56px 0; }
.section--tint { background: var(--tint); }
.section__head { margin-bottom: 24px; max-width: 720px; }
.section__head--sub { margin-top: 56px; }
.kicker { margin: 0 0 8px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--coral); }
.section h2 { font-size: clamp(30px, 7.5vw, 46px); font-weight: 800; }
.section__sub { color: var(--ink-2); margin: 12px 0 0; }
.note-en { margin: 10px 0 0; font-size: 14px; color: var(--muted); font-style: italic; }
.loading, .error { padding: 24px; border-radius: var(--radius); background: #fff; border: 1px dashed var(--line); color: var(--ink-2); }
.error { border-color: var(--coral); }

/* ---------- Filters ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip {
  min-height: 44px; padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--line);
  background: #fff; font-weight: 600; font-size: 14px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
}
.chip span { font-size: 12px; color: var(--muted); font-weight: 600; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip[aria-pressed="true"] span { color: rgba(255, 255, 255, .7); }

/* ---------- Grids & cards ---------- */
.group { margin-bottom: 44px; }
.group:last-child { margin-bottom: 0; }
.group__title { display: flex; align-items: baseline; gap: 10px; font-size: 24px; font-weight: 700; margin-bottom: 16px; }
.group__title::before { content: ""; width: 26px; height: 6px; border-radius: 6px; background: var(--grad); align-self: center; flex: none; }
.group__title small { font-family: var(--body); font-size: 14px; font-weight: 500; color: var(--muted); }
.grid { display: grid; gap: 18px; grid-template-columns: 1fr; }

.card {
  background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  display: flex; flex-direction: column; min-width: 0;
}
.card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(135deg, #f8d9e6, #fde4cd); }
.card__media img, .card__media .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph { width: 100%; height: 100%; background: #fff url(img/rt.webp) center / 84px auto no-repeat; border-bottom: 4px solid transparent; border-image: var(--grad) 1; }
.card__zone {
  position: absolute; left: 12px; top: 12px; max-width: calc(100% - 24px);
  background: rgba(22, 17, 26, .78); color: #fff; font-size: 12px; font-weight: 600;
  padding: 5px 10px; border-radius: 999px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.card__ref { position: absolute; right: 10px; bottom: 8px; font-size: 11px; color: #fff; background: rgba(0, 0, 0, .45); padding: 2px 8px; border-radius: 6px; }
.card__body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card__title { font-size: 20px; font-weight: 700; }
.card__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--ink-2); font-size: 14px; margin: 0; padding: 0; list-style: none; }
.card__meta li { display: inline-flex; align-items: center; gap: 6px; }
.card__meta .ico { width: 16px; height: 16px; color: var(--coral); }
.card__foot { margin-top: auto; display: flex; flex-direction: column; gap: 12px; padding-top: 6px; }
.price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.price strong { font-family: var(--head); font-size: 26px; font-weight: 800; }
.price small { color: var(--muted); font-size: 13px; }
.price--ask strong { font-size: 20px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.card__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.card__btns .btn { padding-left: 10px; padding-right: 10px; font-size: 14px; }

/* Rentals */
.spec { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0; }
.spec div { background: var(--tint); border-radius: 12px; padding: 10px 12px; min-width: 0; }
.spec dt { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; }
.spec dd { margin: 2px 0 0; font-weight: 600; font-size: 14px; overflow-wrap: anywhere; }
.spec .wide { grid-column: 1 / -1; }
.card__type { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--coral); margin: 0; }
.incl { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 14px; color: var(--ink-2); }
.incl li { display: flex; gap: 8px; align-items: flex-start; }
.incl .ico { width: 18px; height: 18px; color: var(--wa); margin-top: 1px; }
.incl--no .ico { color: var(--coral); }
.more { font-size: 14px; }
.more summary { cursor: pointer; font-weight: 600; color: var(--coral); padding: 6px 0; list-style: none; }
.more summary::-webkit-details-marker { display: none; }
.more summary::after { content: " +"; }
.more[open] summary::after { content: " −"; }
.more .incl { margin-top: 6px; }
.extra { font-size: 13px; color: var(--ink-2); background: #fff7f2; border-left: 3px solid var(--orange); padding: 8px 10px; border-radius: 0 10px 10px 0; margin: 0; }
.season-note { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0 0; padding: 12px 14px; border-radius: 14px; background: #fff; border: 1px solid #f6d7c7; font-size: 15px; color: var(--ink-2); }
.season-note .ico { color: var(--orange); margin-top: 1px; }

/* ---------- Why ---------- */
.why { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.why::before { content: ""; position: absolute; width: 520px; height: 520px; right: -220px; top: -220px; border-radius: 50%; background: var(--grad); opacity: .28; filter: blur(10px); }
.why .wrap { position: relative; }
.why .kicker { color: var(--orange); }
.why__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.why__item { display: flex; gap: 14px; padding: 18px; border-radius: var(--radius); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.why__icon { width: 46px; height: 46px; border-radius: 14px; background: var(--grad); display: grid; place-items: center; flex: none; }
.why__icon .ico { width: 24px; height: 24px; color: #fff; }
.why__item h3 { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.why__item p { margin: 0; color: rgba(255, 255, 255, .78); font-size: 15px; }

/* ---------- Contact ---------- */
.contact__grid { display: grid; gap: 14px; }
.cbox { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; min-width: 0; }
.cbox h3 { font-size: 18px; display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.cbox h3 .ico { color: var(--coral); }
.cbox p { margin: 0 0 6px; color: var(--ink-2); overflow-wrap: anywhere; }
.cbox a { font-weight: 600; }
.cbox--wa { background: var(--ink); color: #fff; }
.cbox--wa h3 .ico { color: #4ade80; }
.cbox--wa p { color: rgba(255, 255, 255, .8); }
.cbox--wa .btn { margin-top: 10px; }
.hours { margin: 0; display: grid; gap: 6px; }
.hours div { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px dashed var(--line); padding-bottom: 6px; }
.hours div:last-child { border-bottom: 0; }
.hours dt { color: var(--ink-2); }
.hours dd { margin: 0; font-weight: 600; text-align: right; }
.socials { display: flex; flex-wrap: wrap; gap: 10px; }
.social { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 10px 14px; border-radius: 12px; border: 1.5px solid var(--line); text-decoration: none; font-weight: 600; font-size: 14px; }
.social:hover { border-color: var(--ink); }
.social .ico { width: 20px; height: 20px; }
.rnt-badge { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; padding: 8px 12px; border-radius: 10px; background: var(--tint); font-weight: 700; font-size: 14px; }
.rnt-badge .ico { color: var(--coral); }

/* ---------- Redes sociales ---------- */
.social-sec { background: #fff; position: relative; overflow: hidden; }
.social-sec::before { content: ""; position: absolute; width: 420px; height: 420px; left: -200px; bottom: -220px; border-radius: 50%; background: var(--grad); opacity: .12; filter: blur(20px); }
.social-sec__inner { position: relative; display: grid; gap: 28px; }
.social-sec__text .section__sub { margin-bottom: 20px; }
.sprofile { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; padding: 8px 18px 8px 8px; border-radius: 999px; background: var(--tint); margin-bottom: 18px; max-width: 100%; }
.sprofile__ring { width: 56px; height: 56px; border-radius: 50%; padding: 3px; background: var(--grad); flex: none; display: grid; place-items: center; }
.sprofile__ring img { width: 100%; height: 100%; border-radius: 50%; background: #fff; object-fit: contain; padding: 8px; border: 2px solid #fff; }
.sprofile__txt { display: grid; min-width: 0; }
.sprofile__txt strong { font-size: 16px; overflow-wrap: anywhere; }
.sprofile__txt small { font-size: 14px; color: var(--ink-2); font-weight: 600; }
.social-sec__btns { display: grid; gap: 10px; }
.sbtn { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 12px 20px; border-radius: 999px; color: #fff; text-decoration: none; font-weight: 700; font-size: 16px; transition: transform .15s, box-shadow .2s, filter .2s; }
.sbtn .ico { width: 22px; height: 22px; }
.sbtn--ig { background: var(--grad); box-shadow: 0 8px 22px rgba(238, 47, 85, .3); }
.sbtn--tt { background: #111; box-shadow: 0 8px 22px rgba(0, 0, 0, .2); }
.sbtn--fb { background: #1877f2; box-shadow: 0 8px 22px rgba(24, 119, 242, .25); }
.sbtn:hover { filter: brightness(1.08); transform: translateY(-2px); }
.social-sec__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.social-tile { position: relative; display: block; aspect-ratio: 1; overflow: hidden; border-radius: 12px; background: var(--tint); }
.social-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out, ease); }
.social-tile__ov { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(135deg, rgba(234, 51, 146, .75), rgba(247, 164, 78, .75)); opacity: 0; transition: opacity .25s; }
.social-tile__ov .ico { width: 34px; height: 34px; color: #fff; }
.social-tile:hover img, .social-tile:focus-visible img { transform: scale(1.08); }
.social-tile:hover .social-tile__ov, .social-tile:focus-visible .social-tile__ov { opacity: 1; }
.top-social { display: none; }
.sicon { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: inherit; transition: background-color .2s, color .2s, transform .2s; }
.sicon .ico { width: 20px; height: 20px; }
.top-social .sicon:hover { background: var(--tint); color: var(--coral); transform: translateY(-2px); }
.footer__social { display: flex; gap: 10px; }
.footer__social .sicon { background: rgba(255, 255, 255, .08); color: #fff; }
.footer__social .sicon:hover { background: var(--grad); transform: translateY(-2px); }
@media (min-width: 560px) {
  .social-sec__btns { display: flex; flex-wrap: wrap; }
  .sbtn { white-space: nowrap; flex: 1 1 auto; }
  .social-sec__grid { gap: 10px; }
  .social-tile { border-radius: 16px; }
}
@media (min-width: 900px) {
  .social-sec__inner { grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
  .footer__inner { grid-template-columns: 1fr auto auto auto; }
}
@media (min-width: 1100px) {
  .top-social { display: flex; gap: 2px; margin-right: 4px; padding-right: 8px; border-right: 1px solid var(--line); }
}

/* ---------- Footer ---------- */
.footer { background: #0c090e; color: rgba(255, 255, 255, .78); padding: 32px 0 96px; font-size: 14px; }
.footer__inner { display: grid; gap: 14px; }
.footer__brand { display: flex; gap: 12px; align-items: center; }
.footer__brand strong { color: #fff; font-family: var(--head); font-size: 17px; }
.footer__brand p { margin: 2px 0 0; }
.footer__logo { width: 52px; height: 52px; border-radius: 50%; background: #fff; display: grid; place-items: center; flex: none; }
.footer__logo img { width: 38px; height: auto; }
.footer__rnt, .footer__copy { margin: 0; }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 50;
  width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: #fff;
  display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); transition: transform .15s;
}
.wa-float:hover { transform: scale(1.06); background: var(--wa-dark); }
.wa-float svg { width: 32px; height: 32px; }

/* ---------- Modal ---------- */
.modal { padding: 0; border: 0; background: transparent; width: 100%; max-width: 100%; max-height: 100%; height: 100%; margin: 0; }
.modal::backdrop { background: rgba(12, 9, 14, .6); backdrop-filter: blur(3px); }
.modal[open] { display: flex; align-items: flex-end; }
.modal__box {
  position: relative; background: var(--bg); width: 100%; max-height: 92vh; overflow-y: auto;
  border-radius: 22px 22px 0 0; animation: up .25s ease-out; overscroll-behavior: contain;
}
@keyframes up { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.modal__close {
  position: sticky; top: 10px; float: right; margin: 10px 10px -54px 0; z-index: 2;
  width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .95); cursor: pointer;
  display: grid; place-items: center; box-shadow: 0 2px 10px rgba(0, 0, 0, .2);
}
.modal__close svg { width: 22px; height: 22px; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; }
.m__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #eee; }
.m__media img, .m__media .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.m__body { padding: 20px 16px 24px; display: grid; gap: 18px; }
.m__zone { margin: 0 0 6px; font-size: 13px; font-weight: 700; color: var(--coral); text-transform: uppercase; letter-spacing: .08em; }
.m__title { font-size: 28px; font-weight: 800; }
.m__price { background: #fff; border-radius: 16px; padding: 14px 16px; box-shadow: var(--shadow); display: grid; gap: 6px; }
.m__price .price strong { font-size: 30px; }
.m__price p { margin: 0; font-size: 14px; color: var(--ink-2); }
.facts { margin: 0; display: grid; gap: 10px; }
.facts div { background: #fff; border-radius: 14px; padding: 12px 14px; border: 1px solid var(--line); }
.facts dt { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.facts dd { margin: 3px 0 0; font-weight: 500; }
.facts .warn { border-color: #f6c6ce; background: #fff5f6; }
.m__h { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.m__body .incl { font-size: 15px; gap: 8px; }
.m__cta { position: sticky; bottom: 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: linear-gradient(180deg, rgba(255, 250, 247, 0), var(--bg) 30%); }
body.modal-open { overflow: hidden; }
body.modal-open .wa-float { display: none; }

/* ---------- Larger screens ---------- */
@media (min-width: 560px) {
  .hero__cta { flex-direction: row; flex-wrap: wrap; }
  .grid--tours, .grid--stay { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--rent { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  .wrap { padding: 0 28px; }
  .menu-btn { display: none; }
  .nav { position: static; display: flex; flex-direction: row; gap: 4px; background: none; border: 0; box-shadow: none; padding: 0; margin-right: 8px; }
  .nav a { border: 0; padding: 10px 12px; border-radius: 10px; font-size: 15px; }
  .nav a:hover { background: var(--tint); }
  .brand { margin-right: 0; }
  .topbar__inner { justify-content: space-between; }
  .section { padding: 88px 0; }
  .grid--tours, .grid--stay { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--rent { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .contact__grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .why__inner { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: start; }
  .modal[open] { align-items: center; justify-content: center; padding: 24px; }
  .modal__box { max-width: 760px; border-radius: 22px; max-height: 90vh; }
  .m__body { padding: 24px 28px 28px; }
  .m__cta { padding-left: 28px; padding-right: 28px; }
  .footer { padding-bottom: 40px; }
  .footer__inner { grid-template-columns: 1fr auto auto; align-items: center; gap: 28px; }
}
/* ---------- Test "Encuentra tu plan" ---------- */
.hero__quiz { display: inline-block; margin-top: 16px; color: #fff; font-weight: 600; font-size: 15px; text-underline-offset: 4px; text-shadow: 0 1px 10px rgba(0, 0, 0, .4); }
.quiz { background: linear-gradient(180deg, var(--bg) 0%, var(--tint) 100%); }
.quiz__card { background: #fff; border-radius: 24px; box-shadow: var(--shadow); padding: 20px 16px; position: relative; overflow: hidden; scroll-margin-top: 80px; }
.quiz__card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--grad); }
.quiz__top { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; min-height: 44px; }
.quiz__back { border: 0; background: none; font-weight: 600; font-size: 14px; color: var(--coral); cursor: pointer; min-height: 44px; padding: 0 4px; text-transform: none; letter-spacing: 0; }
.quiz__bar { height: 8px; border-radius: 8px; background: var(--tint); overflow: hidden; margin: 4px 0 20px; }
.quiz__bar span { display: block; height: 100%; background: var(--grad); border-radius: 8px; transition: width .3s; }
.quiz__q { font-size: clamp(24px, 6.4vw, 32px); font-weight: 800; margin-bottom: 18px; }
.quiz__opts { display: grid; gap: 10px; }
.quiz__opt {
  min-height: 58px; padding: 14px 18px; border-radius: 16px; border: 2px solid var(--line); background: #fff;
  font-weight: 600; font-size: 16px; text-align: left; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  transition: border-color .15s, background-color .15s, transform .1s;
}
.quiz__opt::after { content: "→"; color: var(--coral); font-weight: 700; }
.quiz__opt:hover { border-color: var(--coral); background: #fff7f5; }
.quiz__opt:active { transform: scale(.99); }
.quiz__opt[aria-pressed="true"] { border-color: var(--coral); background: #fff1ef; }
.quiz__res { display: grid; gap: 0; border-radius: 18px; overflow: hidden; background: var(--ink); color: #fff; margin: -4px 0 0; }
.quiz__resmedia { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.quiz__resmedia img, .quiz__resmedia .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.quiz__resbody { padding: 20px 18px 22px; display: grid; gap: 12px; }
.quiz__badge { margin: 0; justify-self: start; background: var(--grad); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.quiz__resname { font-size: clamp(26px, 7vw, 36px); font-weight: 800; }
.quiz__res .price small { color: rgba(255, 255, 255, .7); }
.quiz__whyh { margin: 4px 0 0; font-weight: 700; font-size: 14px; color: var(--orange); text-transform: uppercase; letter-spacing: .08em; }
.quiz__res .incl { color: rgba(255, 255, 255, .88); font-size: 15px; }
.quiz__res .incl .ico { color: #4ade80; }
.quiz__resbtns { display: grid; gap: 10px; margin-top: 6px; }
.quiz__res .btn--line { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .7); }
.quiz__res .btn--line:hover { background: #fff; color: var(--ink); }
.quiz__moreh { font-size: 20px; font-weight: 700; margin: 28px 0 14px; }
.quiz__restart { width: 100%; margin-top: 20px; }
@media (min-width: 560px) {
  .quiz__card { padding: 28px; }
  .quiz__opts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quiz__resbtns { grid-template-columns: auto auto; justify-content: start; }
  .quiz__restart { width: auto; }
}
@media (min-width: 900px) {
  .quiz__card { padding: 36px; }
  .quiz__res { grid-template-columns: 1.05fr 1fr; }
  .quiz__resmedia { aspect-ratio: auto; min-height: 100%; }
  .quiz__resbody { padding: 32px; align-content: center; }
}

.see-all { width: 100%; margin-top: 16px; }
@media (min-width: 560px) { .see-all { width: auto; } }
/* =========================================================
   Animaciones
   ========================================================= */
:root { --intro: .15s; --ease-out: cubic-bezier(.2, .7, .2, 1); }
html.js:not(.no-intro) { --intro: 1.3s; }

/* ---------- Intro de marca (primera visita) ---------- */
.intro { display: none; }
html.js:not(.no-intro) .intro {
  position: fixed; inset: 0; z-index: 200; display: grid; place-content: center; justify-items: center; gap: 22px;
  background: radial-gradient(circle at 50% 42%, #2a1424 0%, #0c090e 62%);
  animation: introOut .65s cubic-bezier(.7, 0, .2, 1) 1.1s forwards;
  cursor: pointer;
}
.intro__mark { position: relative; width: 150px; height: 150px; }
.intro__c {
  position: absolute; left: 26px; top: 28px; width: 98px; height: 98px; border-radius: 50%;
  background: linear-gradient(205deg, var(--orange) 0%, var(--coral) 42%, var(--pink) 100%);
  box-shadow: 0 0 60px rgba(238, 47, 85, .45);
  animation: introPop .6s cubic-bezier(.2, 1.5, .4, 1) .05s backwards;
}
.intro__s {
  position: absolute; height: 12px; border-radius: 12px; transform-origin: left center; transform: rotate(-45deg);
  background: linear-gradient(90deg, var(--coral), var(--pink));
  animation: introStreak .55s var(--ease-out) backwards;
}
.intro__s.s1 { left: 70px; top: 52px; width: 96px; animation-delay: .18s; }
.intro__s.s2 { left: 96px; top: 74px; width: 66px; height: 10px; background: linear-gradient(90deg, var(--orange), var(--coral)); animation-delay: .24s; }
.intro__s.s3 { left: 48px; top: 34px; width: 64px; height: 9px; animation-delay: .3s; }
.intro__s.s4 { left: 4px; top: 146px; width: 58px; height: 11px; background: linear-gradient(90deg, var(--pink), var(--coral)); animation-delay: .36s; }
.intro__rt {
  position: absolute; left: 26px; top: 28px; width: 98px; height: 98px; display: grid; place-items: center; z-index: 1;
  font-family: var(--head); font-weight: 800; font-size: 40px; color: #fff; letter-spacing: .02em;
  animation: introFade .4s ease .42s backwards;
}
.intro__name {
  margin: 0; font-family: var(--head); font-weight: 800; font-size: 26px; letter-spacing: .08em; text-transform: uppercase; color: #fff;
  animation: introUp .5s var(--ease-out) .55s backwards;
}
.intro__name span { display: block; text-align: center; font-size: 12px; font-weight: 500; letter-spacing: .5em; color: rgba(255, 255, 255, .6); margin-top: 6px; }
@keyframes introPop { from { transform: scale(.2); opacity: 0; } }
@keyframes introStreak { from { transform: rotate(-45deg) translateX(140px); opacity: 0; } }
@keyframes introFade { from { opacity: 0; transform: scale(.7); } }
@keyframes introUp { from { opacity: 0; transform: translateY(14px); } }
@keyframes introOut {
  0% { clip-path: inset(0 0 0 0); }
  99% { clip-path: inset(0 0 100% 0); visibility: visible; }
  100% { clip-path: inset(0 0 100% 0); visibility: hidden; pointer-events: none; }
}

/* ---------- Entrada del hero y la barra superior ---------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(26px); } }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes slideDown { from { transform: translateY(-100%); } }
@keyframes kenburns { from { transform: scale(1.18); } }
@keyframes gradFlow { to { background-position: 100% 50%; } }
@keyframes popIn { from { opacity: 0; transform: scale(.4) translateY(20px); } }
@keyframes ring { 0% { transform: scale(1); opacity: .55; } 80%, 100% { transform: scale(1.7); opacity: 0; } }

html.js .topbar { animation: slideDown .6s var(--ease-out) var(--intro) backwards; }
html.js .hero__img { animation: kenburns 2.8s var(--ease-out) calc(var(--intro) - .4s) backwards; }
html.js .hero__shade { animation: fadeIn 1.2s ease calc(var(--intro) - .3s) backwards; }
html.js .hero .eyebrow { animation: fadeUp .7s var(--ease-out) calc(var(--intro) + .05s) backwards; }
html.js .hero h1 { animation: fadeUp .8s var(--ease-out) calc(var(--intro) + .15s) backwards; }
html.js .hero__lead { animation: fadeUp .7s var(--ease-out) calc(var(--intro) + .3s) backwards; }
html.js .hero__cta { animation: fadeUp .7s var(--ease-out) calc(var(--intro) + .42s) backwards; }
html.js .hero__quiz { animation: fadeUp .7s var(--ease-out) calc(var(--intro) + .52s) backwards; }
html.js .hero__badges li { animation: fadeUp .6s var(--ease-out) backwards; }
html.js .hero__badges li:nth-child(1) { animation-delay: calc(var(--intro) + .6s); }
html.js .hero__badges li:nth-child(2) { animation-delay: calc(var(--intro) + .68s); }
html.js .hero__badges li:nth-child(3) { animation-delay: calc(var(--intro) + .76s); }
.hero .grad-text {
  background-image: linear-gradient(110deg, var(--pink) 0%, var(--coral) 25%, var(--orange) 50%, var(--coral) 75%, var(--pink) 100%);
  background-size: 200% 100%;
  animation: gradFlow 5s ease-in-out infinite alternate;
}

/* WhatsApp flotante: aparece y "late" suavemente */
html.js .wa-float { animation: popIn .55s cubic-bezier(.2, 1.4, .4, 1) calc(var(--intro) + 1s) backwards; }
.wa-float::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--wa); z-index: -1;
  animation: ring 2.8s ease-out 3.5s infinite;
}

/* ---------- Aparición al hacer scroll ---------- */
html.js .reveal { opacity: 0; transform: translateY(28px); }
html.js .reveal.in {
  opacity: 1; transform: none;
  transition: opacity .7s ease calc(var(--i, 0) * 90ms), transform .7s var(--ease-out) calc(var(--i, 0) * 90ms), translate .25s ease, box-shadow .25s ease;
}

/* Tarjetas: se elevan y la foto se acerca al pasar el mouse */
.card { transition: translate .25s ease, box-shadow .25s ease; }
.card__media img { transition: transform .7s var(--ease-out); }
@media (hover: hover) {
  .card:hover { translate: 0 -5px; box-shadow: 0 2px 4px rgba(22, 17, 26, .06), 0 18px 40px rgba(22, 17, 26, .14); }
  .card:hover .card__media img { transform: scale(1.06); }
  .why__item { transition: background-color .25s, translate .25s; }
  .why__item:hover { background: rgba(255, 255, 255, .1); translate: 0 -3px; }
  .chip { transition: background-color .2s, border-color .2s, color .2s, translate .2s; }
  .chip:hover { translate: 0 -2px; }
}
.btn--wa .ico { transition: transform .3s cubic-bezier(.2, 1.6, .4, 1); }
.btn--wa:hover .ico { transform: rotate(-12deg) scale(1.15); }

/* ---------- Test: transiciones entre preguntas y resultado ---------- */
@keyframes slideIn { from { opacity: 0; transform: translateX(24px); } }
@keyframes resultIn { from { opacity: 0; transform: translateY(20px) scale(.97); } }
@keyframes badgePop { 0% { opacity: 0; transform: scale(.5); } 70% { transform: scale(1.08); } }
.quiz__q { animation: slideIn .45s var(--ease-out) backwards; }
.quiz__opt { animation: slideIn .45s var(--ease-out) backwards; animation-delay: calc(.08s + var(--i, 0) * 60ms); }
.quiz__bar span { transition: width .5s var(--ease-out); }
.quiz__res { animation: resultIn .6s var(--ease-out) backwards; }
.quiz__resmedia img { animation: kenburns 1.6s var(--ease-out) backwards; }
.quiz__badge { animation: badgePop .55s ease .25s backwards; }
.quiz__resname { animation: fadeUp .5s var(--ease-out) .35s backwards; }
.quiz__res .incl li { animation: slideIn .45s var(--ease-out) backwards; animation-delay: calc(.5s + var(--i, 0) * 90ms); }
.quiz__resbtns { animation: fadeUp .5s var(--ease-out) .9s backwards; }

/* ---------- Modal ---------- */
.modal[open]::backdrop { animation: fadeIn .25s ease; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html.js .reveal { opacity: 1; transform: none; }
  .intro { display: none !important; }
}
