/* =========================================================================
   Like Xplorer Perú — hero inmersivo, cinta de confianza, "cómo funciona",
   aventuras desde Paracas y botón de WhatsApp.
   Misma paleta de la marca: marino #1C2949, verde #5DBA9E, dorado #F8B33F.
   ========================================================================= */

/* ================================ hero ================================= */
.hx {
  --hx-h: clamp(640px, calc(100svh - 104px), 940px);
  position: relative; isolation: isolate; z-index: 5; /* el hero (y su lista de sugerencias) queda por encima de las secciones siguientes */
  min-block-size: var(--hx-h);
  margin-block-end: 72px;
  color: var(--white);
  display: grid; grid-template-columns: minmax(0, 1fr);
}
.hx__stage {
  position: absolute; inset: 0; z-index: -1; overflow: hidden;
  background: var(--ink-900);
  border-radius: 0 0 clamp(28px, 4vw, 56px) clamp(28px, 4vw, 56px);
}
.hx__slide { position: absolute; inset: 0; margin: 0; opacity: 0; visibility: hidden; will-change: clip-path; }
.hx__slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.hx__slide.is-incoming { opacity: 1; visibility: visible; z-index: 2; }
.hx__slide img { inline-size: 100%; block-size: 100%; object-fit: cover; transform-origin: 60% 50%; will-change: transform; }
.hx__shade {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(11, 19, 40, .97) 0%, rgba(11, 19, 40, .94) 28%, rgba(11, 19, 40, .72) 46%, rgba(11, 19, 40, .15) 72%, rgba(11, 19, 40, .25) 100%),
    linear-gradient(0deg, rgba(16, 27, 51, .85) 0%, rgba(16, 27, 51, 0) 38%),
    linear-gradient(180deg, rgba(16, 27, 51, .55) 0%, rgba(16, 27, 51, 0) 24%);
}
.hx__blob { position: absolute; z-index: 3; border-radius: 50%; filter: blur(70px); pointer-events: none; mix-blend-mode: screen; }
.hx__blob--a { display: none; }
.hx__blob--b { inline-size: 30vw; block-size: 30vw; inset-block-end: -10vw; inset-inline-end: 6vw; background: rgba(248, 179, 63, .28); animation: hx-drift 11s ease-in-out infinite alternate-reverse; }
@keyframes hx-drift { to { transform: translate(5vw, 3vw) scale(1.12); } }
.hx__route { position: absolute; z-index: 3; inset-block-end: 22%; inset-inline-start: 46%; inline-size: min(34vw, 460px); color: rgba(255, 255, 255, .5); pointer-events: none; }

.hx__inner {
  position: relative; z-index: 4;
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(24px, 4vw, 64px);
  align-items: end;
  padding-block: calc(var(--header-h) + clamp(28px, 5vh, 64px)) clamp(110px, 15vh, 150px);
}
.hx__copy { display: grid; gap: clamp(14px, 2vh, 22px); justify-items: start; align-self: center; }

.hx__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 18px 8px 14px; border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-size: .8125rem; font-weight: 600; letter-spacing: .02em;
}
.hx__pulse { position: relative; inline-size: 10px; block-size: 10px; border-radius: 50%; background: var(--brand); }
.hx__pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--brand); animation: hx-pulse 2s ease-out infinite; }
@keyframes hx-pulse { to { transform: scale(3.2); opacity: 0; } }

.hx__title {
  color: var(--white); font-weight: 800; letter-spacing: -.045em; line-height: .98;
  font-size: clamp(2.6rem, 7.2vw, 6.6rem);
}
.hx__line { display: block; overflow: hidden; padding-block: .04em; }
.hx__line--word { padding-block-end: .12em; }
.hx__word {
  display: inline-block; white-space: nowrap;
  color: var(--accent);
}
.hx__ch { display: inline-block; will-change: transform; }
.hx__sub { max-inline-size: 48ch; font-size: clamp(1rem, 1.35vw, 1.2rem); line-height: 1.6; color: rgba(255, 255, 255, .82); }
.hx__sub b { color: var(--white); font-weight: 600; }
.hx__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-block-start: 6px; }
.hx__btn { box-shadow: 0 18px 40px -16px rgba(248, 179, 63, .75); }
.hx .btn--ghost-light { border-color: rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .08); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
@media (hover: hover) { .hx .btn--ghost-light:hover { background: var(--white); color: var(--ink); border-color: var(--white); } }
.hx .btn--ghost-light svg { inline-size: 18px; block-size: 18px; fill: currentColor; stroke: none; padding: 0; }

.hx__proof { display: flex; flex-wrap: wrap; gap: 8px clamp(18px, 2.6vw, 38px); margin-block-start: 8px; padding-block-start: 18px; border-block-start: 1px solid rgba(255, 255, 255, .2); }
.hx__proof li { display: grid; gap: 0; }
.hx__proof b { color: var(--white); font-size: clamp(1.25rem, 2vw, 1.75rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.hx__proof span { font-size: .8125rem; color: rgba(255, 255, 255, .7); }

/* lado derecho: ficha actual, cola de miniaturas y controles */
.hx__side { display: grid; justify-items: end; gap: 18px; align-self: end; min-inline-size: 0; }
.hx__now {
  display: inline-flex; align-items: center; gap: 12px; padding: 8px 18px 8px 8px; border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .24);
  -webkit-backdrop-filter: blur(14px) saturate(150%); backdrop-filter: blur(14px) saturate(150%);
  color: var(--white); text-decoration: none; max-inline-size: 100%;
  transition: background-color var(--t-micro) var(--ease-out), transform var(--t-micro) var(--ease-out);
}
@media (hover: hover) { .hx__now:hover { background: rgba(255, 255, 255, .24); transform: translateY(-2px); } }
.hx__now-ico { display: grid; place-items: center; inline-size: 40px; block-size: 40px; border-radius: 50%; background: var(--accent); color: var(--ink); flex: none; }
.hx__now-txt { display: grid; line-height: 1.2; min-inline-size: 0; }
.hx__now-txt small { font-size: .75rem; color: rgba(255, 255, 255, .72); }
.hx__now-txt b { font-size: .9375rem; font-weight: 700; white-space: nowrap; }
.hx__now-price { margin-inline-start: 6px; padding: 5px 12px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .18); font-size: .8125rem; font-weight: 700; white-space: nowrap; }

/* cola: de pequeño (izquierda) a grande (derecha); la grande se expande a pantalla completa */
.hx__queue { display: flex; align-items: flex-end; justify-content: flex-end; gap: 12px; inline-size: 100%; block-size: clamp(190px, 31vh, 300px); }
.hx__card {
  position: relative; flex: none; margin: 0; padding: 0; overflow: hidden; cursor: pointer;
  border-radius: 20px; border: 2px solid rgba(255, 255, 255, .55);
  box-shadow: 0 24px 48px -22px rgba(0, 0, 0, .7);
  background: var(--ink-700); will-change: width, height;
  transition: border-color var(--t-micro) var(--ease-out);
}
@media (hover: hover) { .hx__card:hover { border-color: var(--accent); } .hx__card:hover img { transform: scale(1.08); } }
.hx__card img { inline-size: 100%; block-size: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.hx__card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(16, 27, 51, .78), rgba(16, 27, 51, 0) 55%); pointer-events: none; }
.hx__card-label { position: absolute; inset-inline: 12px; inset-block-end: 10px; z-index: 1; display: grid; text-align: start; line-height: 1.15; color: var(--white); pointer-events: none; }
.hx__card-label small { font-size: .6875rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.hx__card-label b { font-size: .9375rem; font-weight: 700; }

.hx__ctrl { display: flex; align-items: center; gap: 10px; inline-size: 100%; justify-content: flex-end; }
.hx__arrow {
  display: grid; place-items: center; inline-size: 48px; block-size: 48px; border-radius: 50%;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .3); color: var(--white);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: background-color var(--t-micro) var(--ease-out), color var(--t-micro) var(--ease-out), transform var(--t-micro) var(--ease-out);
}
@media (hover: hover) { .hx__arrow:hover { background: var(--accent); color: var(--ink); border-color: var(--accent); } }
.hx__arrow:active { transform: scale(.92); }
.hx__count { display: flex; align-items: center; gap: 12px; margin-inline-start: 10px; font-size: .875rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.hx__count b { font-size: 1.5rem; letter-spacing: -.02em; }
.hx__count span:last-child { color: rgba(255, 255, 255, .6); }
.hx__bar { display: block; inline-size: clamp(56px, 8vw, 120px); block-size: 3px; border-radius: 3px; background: rgba(255, 255, 255, .25); overflow: hidden; }
.hx__bar i { display: block; inline-size: 100%; block-size: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left center; }

/* buscador flotando sobre el borde inferior */
.hx__search { position: absolute; z-index: 6; inset-inline: 0; inset-block-end: -52px; inline-size: min(calc(100% - var(--pad) * 2), 880px); margin-inline: auto; }
.hx__search .searchbar__card { padding: 8px; border-radius: 22px; }
.hx__search .searchbar__row { grid-template-columns: 1.4fr 1fr 1fr 1fr auto; gap: 4px; }
@media (max-width: 900px) { .hx__search .searchbar__row { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hx__search .searchbar__submit { grid-column: span 2; } }
@media (max-width: 640px) {
  .hx__search .searchbar__card { padding: 12px; border-radius: 24px; }
  .hx__search .searchbar__row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .hx__search .searchbar__cell { padding: 10px 14px; min-inline-size: 0; border-radius: 14px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
  .hx__search .searchbar__cell + .searchbar__cell { box-shadow: inset 0 0 0 1px var(--line); }
  .hx__search .searchbar__cell:focus-within { background: var(--white); box-shadow: inset 0 0 0 2px var(--brand); }
  .hx__search .searchbar__cell:first-child, .hx__search .searchbar__cell:nth-child(4) { grid-column: 1 / -1; }
  .hx__search .searchbar__cell .bare { font-size: 1rem; min-block-size: 28px; min-inline-size: 0; }
  .hx__search .searchbar__submit { grid-column: 1 / -1; }
  .hx__search .searchbar__submit .btn { inline-size: 100%; min-block-size: 54px; font-size: 1rem; border-radius: 16px; }
}
.hx__search .searchbar__cell { padding: 9px 16px; }
.hx__search .searchbar__submit .btn { padding-inline: 22px; border-radius: 16px; }
.hx__search .searchbar__card { box-shadow: 0 14px 30px -18px rgba(16, 27, 51, .28); border-color: rgba(28, 41, 73, .06); }

/* ============================ cinta de confianza ============================ */
.n1 { padding-block: 62px clamp(56px, 6vw, 88px); background: #fff; }
.n1__panel { position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(20px, 4vw, 56px); align-items: center; padding: clamp(26px, 3.6vw, 48px); border-radius: 36px; background: radial-gradient(circle at 92% 8%, rgba(248, 179, 63, .85) 0, rgba(248, 179, 63, 0) 34%), radial-gradient(circle at 6% 100%, rgba(255, 255, 255, .22) 0, rgba(255, 255, 255, 0) 38%), linear-gradient(120deg, #1F6B55 0%, #2C7861 35%, #5DBA9E 100%); box-shadow: 0 6px 14px -10px rgba(28, 120, 97, .35); }
.n1__panel::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255, 255, 255, .22) 1.5px, transparent 1.6px); background-size: 22px 22px; -webkit-mask-image: linear-gradient(100deg, transparent 30%, #000 100%); mask-image: linear-gradient(100deg, transparent 30%, #000 100%); }
.n1__lead { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 32px); }
.n1__badge { flex: none; inline-size: clamp(110px, 12vw, 160px); block-size: auto; padding: 10px; border-radius: 24px; background: #fff; box-shadow: 0 18px 34px -22px rgba(28, 41, 73, .45); }
.n1__copy { display: grid; gap: 10px; }
.n1__copy .eyebrow { color: rgba(255, 255, 255, .9); }
.n1__copy .eyebrow::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%23F8B33F' stroke-width='5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 29 60 5 45 58 30 38z'/%3E%3Cpath d='M30 38 60 5'/%3E%3C/svg%3E"); }
.n1__copy h2 { color: #fff; font-size: clamp(1.75rem, 3.2vw, 2.75rem); letter-spacing: -.035em; line-height: 1.05; }
.n1__stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.n1__stat { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; padding: 16px 18px; border-radius: 22px; background: #fff; border: 1px solid rgba(255, 255, 255, .6); box-shadow: 0 18px 30px -22px rgba(16, 27, 51, .55); transition: transform .4s var(--ease-out), box-shadow .3s; }
@media (hover: hover) { .n1__stat:hover { transform: translateY(-4px); box-shadow: 0 22px 36px -24px rgba(28, 41, 73, .45); } }
.n1__ico { grid-row: span 2; display: grid; place-items: center; inline-size: 46px; block-size: 46px; border-radius: 14px; background: var(--brand-050); color: var(--brand-700); }
.n1__stat:nth-child(even) .n1__ico { background: var(--accent-050); color: var(--accent-700); }
.n1__ico svg { inline-size: 22px; block-size: 22px; }
.n1__stat b { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.05; color: var(--ink); font-variant-numeric: tabular-nums; }
.n1__stat span:last-child { font-size: .875rem; color: var(--muted); }
@media (max-width: 900px) { .n1 { padding-block-start: 48px; } .n1__panel { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .n1__lead { flex-direction: column; text-align: center; } .n1__stats { grid-template-columns: 1fr; } }

/* ======================= Islas Ballestas (operador directo) ======================= */
.bal { position: relative; overflow: hidden; background: linear-gradient(180deg, #fff 0%, var(--surface) 100%); }
.bal__blob { position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none; }
.bal__blob--1 { inline-size: 420px; block-size: 420px; inset-block-start: -160px; inset-inline-start: -140px; background: rgba(93, 186, 158, .26); }
.bal__blob--2 { inline-size: 340px; block-size: 340px; inset-block-end: -140px; inset-inline-end: -80px; background: rgba(248, 179, 63, .22); }
.bal .container { position: relative; z-index: 1; }
.bal__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.bal__media { position: relative; margin: 0; border-radius: 32px; overflow: hidden; aspect-ratio: 4 / 5; box-shadow: 0 40px 70px -36px rgba(28, 41, 73, .55); }
.bal__media img { inline-size: 100%; block-size: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
@media (hover: hover) { .bal__media:hover img { transform: scale(1.05); } }
.bal__badge { position: absolute; inset-block-start: 20px; inset-inline-start: 20px; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .94); color: var(--brand-700); font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; box-shadow: 0 10px 24px -12px rgba(16, 27, 51, .5); }
.bal__copy { display: grid; gap: 16px; align-content: center; color: var(--muted); }
.bal__copy h2 { color: var(--ink); font-size: clamp(2rem, 3.8vw, 3.1rem); letter-spacing: -.035em; line-height: 1.05; }
.bal__sub { color: var(--brand-700); font-weight: 700; font-size: 1.0625rem; }
.bal__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 18px; margin-block: 6px; }
.bal__list li { display: flex; align-items: center; gap: 12px; font-size: .9rem; line-height: 1.35; color: var(--ink); }
.bal__ico { display: grid; place-items: center; flex: none; inline-size: 38px; block-size: 38px; border-radius: 12px; background: var(--brand-050); font-size: 1.05rem; line-height: 1; }
.bal__list li:nth-child(4n+3) .bal__ico, .bal__list li:nth-child(4n+4) .bal__ico { background: var(--accent-050); }
.bal__close { color: var(--ink); font-weight: 600; }
.bal__wa { background: #25D366; color: #0B2A17; border-color: transparent; }
@media (hover: hover) { .bal__wa:hover { background: #1fbd5a; } }
@media (max-width: 960px) { .bal__grid { grid-template-columns: 1fr; } .bal__media { aspect-ratio: 4 / 3; } }
@media (max-width: 560px) { .bal__list { grid-template-columns: 1fr; } }

/* ============================== traslados ============================== */
.trs { position: relative; overflow: hidden; background: #fff; }
.trs .bal__blob--1 { inset-inline-start: auto; inset-inline-end: -140px; background: rgba(248, 179, 63, .2); }
.trs .bal__blob--2 { inset-inline-end: auto; inset-inline-start: -100px; background: rgba(93, 186, 158, .22); }
.trs__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.trs__grid .bal__media { aspect-ratio: 3 / 4; position: sticky; inset-block-start: 110px; }
.trs__cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.trs__card { display: grid; gap: 12px; align-content: start; padding: 20px; border-radius: 24px; background: var(--brand-050); border: 1px solid var(--line); }
.trs__card--alt { background: var(--accent-050); }
.trs__card h3 { display: flex; align-items: center; gap: 12px; font-size: 1.0625rem; letter-spacing: -.01em; color: var(--ink); }
.trs__card .bal__ico { background: #fff; }
.trs__card p { font-size: .9rem; color: var(--ink); }
.trs__times { display: grid; gap: 8px; }
.trs__times li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 9px 12px; border-radius: 12px; background: #fff; font-size: .875rem; color: var(--muted); }
.trs__times li b { color: var(--ink); font-weight: 700; text-align: end; }
.trs__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.trs__chips li { padding: 8px 14px; border-radius: var(--r-pill); background: #fff; font-size: .875rem; font-weight: 700; color: var(--ink); }
.trs__why { font-size: 1.125rem; color: var(--ink); letter-spacing: -.01em; margin-block-start: 6px; }
@media (max-width: 960px) { .trs__grid { grid-template-columns: 1fr; } .trs__grid .bal__media { position: relative; inset-block-start: auto; aspect-ratio: 4 / 3; order: -1; } }
@media (max-width: 640px) { .trs__cards { grid-template-columns: 1fr; } }

/* ============================ aventuras desde Paracas ============================ */
.pop__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(210px, 1fr)); gap: clamp(12px, 1.4vw, 20px); }
.pop__card, .pop__mini { position: relative; overflow: hidden; isolation: isolate; text-decoration: none; color: var(--white); border-radius: 28px; }
.pop__card { display: flex; align-items: flex-end; min-block-size: 230px; background: var(--ink); }
.pop__card--xl { grid-column: span 2; grid-row: span 2; }
.pop__card img { position: absolute; inset: 0; z-index: -2; inline-size: 100%; block-size: 100%; object-fit: cover; transition: transform .9s var(--ease-out); }
.pop__card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(16, 27, 51, .92) 0%, rgba(16, 27, 51, .25) 55%, rgba(16, 27, 51, 0) 100%); }
@media (hover: hover) { .pop__card:hover img { transform: scale(1.1); } .pop__card:hover .pop__go { background: var(--accent); color: var(--ink); transform: rotate(45deg); } }
.pop__body { display: grid; gap: 6px; padding: clamp(18px, 2vw, 28px); }
.pop__body h3 { color: var(--white); font-size: clamp(1.15rem, 1.8vw, 1.5rem); letter-spacing: -.02em; line-height: 1.15; }
.pop__card--xl h3 { font-size: clamp(1.75rem, 3.2vw, 2.75rem); letter-spacing: -.035em; }
.pop__dur { display: inline-flex; align-items: center; gap: 6px; inline-size: fit-content; padding: 4px 12px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .18); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: .8125rem; font-weight: 600; }
.pop__price { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 800; letter-spacing: -.03em; color: var(--accent); line-height: 1.1; }
.pop__price small { font-size: .8125rem; font-weight: 500; letter-spacing: 0; color: rgba(255, 255, 255, .75); }
.pop__tag { position: absolute; inset-block-start: 18px; inset-inline-start: 18px; padding: 6px 14px; border-radius: var(--r-pill); background: var(--accent); color: var(--ink); font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.pop__go { position: absolute; inset-block-start: 16px; inset-inline-end: 16px; display: grid; place-items: center; inline-size: 44px; block-size: 44px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--ink); transition: background-color .25s, transform .4s var(--ease-out); }
.pop__duo { display: grid; grid-template-columns: 1fr; grid-auto-rows: 1fr; gap: clamp(12px, 1.4vw, 20px); }
.pop__mini { display: flex; align-items: center; gap: 14px; padding: 18px 20px; background: var(--brand-050); color: var(--ink); transition: background-color .25s, transform .4s var(--ease-out); }
.pop__mini:nth-child(2) { background: var(--accent-050); }
@media (hover: hover) { .pop__mini:hover { transform: translateY(-4px); background: var(--brand); } .pop__mini:nth-child(2):hover { background: var(--accent); } }
.pop__mini-ico { display: grid; place-items: center; flex: none; inline-size: 52px; block-size: 52px; border-radius: 16px; background: var(--ink); color: var(--white); }
.pop__mini b { display: block; font-size: 1.125rem; color: var(--ink); letter-spacing: -.02em; }
.pop__mini small { color: var(--muted); font-size: .875rem; }

/* ============================== autorizaciones ============================== */
.auth__head { display: grid; gap: 12px; justify-items: center; text-align: center; max-inline-size: 640px; margin-inline: auto; margin-block-end: clamp(28px, 4vw, 48px); }
.auth__head h2 { color: var(--ink); font-size: clamp(1.75rem, 3.4vw, 2.75rem); letter-spacing: -.03em; line-height: 1.1; }
.auth { background: var(--surface); }
.auth__wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.auth__intro { display: grid; gap: 16px; align-content: start; color: var(--muted); }
.auth__intro h2 { color: var(--ink); font-size: clamp(1.9rem, 3.4vw, 2.9rem); letter-spacing: -.035em; line-height: 1.06; }
.auth__count { display: flex; align-items: center; gap: 14px; margin-block-start: 8px; padding-block-start: 18px; border-block-start: 1px solid var(--line-2); }
.auth__count b { font-size: clamp(2.5rem, 4vw, 3.5rem); font-weight: 800; letter-spacing: -.05em; line-height: 1; color: var(--brand-700); }
.auth__count span { max-inline-size: 14ch; font-size: .875rem; line-height: 1.3; color: var(--ink); font-weight: 600; }
.auth__tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.auth__tile { position: relative; display: grid; place-items: center; aspect-ratio: 5 / 4; padding: 14px 16px; overflow: hidden; border-radius: 22px; background: #fff; border: 1px solid var(--line); transition: transform .45s var(--ease-out), box-shadow .3s, border-color .3s; }
.auth__tile img { inline-size: 100%; block-size: 100%; min-inline-size: 0; min-block-size: 0; object-fit: contain; transition: transform .6s var(--ease-out); }
.auth__ok { position: absolute; inset-block-start: 8px; inset-inline-end: 8px; display: grid; place-items: center; inline-size: 20px; block-size: 20px; border-radius: 50%; background: var(--brand-050); color: var(--brand-700); transition: background-color .3s, color .3s; }
.auth__ok svg { inline-size: 12px; block-size: 12px; }
@media (hover: hover) { .auth__tile:hover { transform: translateY(-5px); border-color: rgba(93, 186, 158, .7); box-shadow: 0 22px 36px -26px rgba(28, 41, 73, .4); } .auth__tile:hover img { transform: scale(1.06); } .auth__tile:hover .auth__ok { background: var(--brand); color: #fff; } }
@media (max-width: 1020px) { .auth__wrap { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .auth__tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; } .auth__tile { padding: 10px; border-radius: 16px; } }
@media (max-width: 420px) { .auth__tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ================================ WhatsApp ================================ */
.wa-fab {
  position: fixed; z-index: 80; inset-block-end: 20px; inset-inline-end: 20px;
  display: inline-flex; align-items: center; gap: 0; padding: 14px; border-radius: var(--r-pill);
  background: #25D366; color: #0B2A17; font-weight: 700; font-size: .9375rem; text-decoration: none;
  box-shadow: 0 18px 36px -12px rgba(37, 211, 102, .6), 0 0 0 0 rgba(37, 211, 102, .5);
  animation: wa-ring 2.8s ease-out infinite;
  transition: transform var(--t-micro) var(--ease-out);
}
.wa-fab span { max-inline-size: 0; overflow: hidden; white-space: nowrap; transition: max-inline-size .35s var(--ease-out), margin .35s; }
.wa-fab:hover { transform: translateY(-3px); }
.wa-fab:hover span, .wa-fab:focus-visible span { max-inline-size: 120px; margin-inline-start: 10px; }
.wa-fab svg { inline-size: 24px; block-size: 24px; }
@keyframes wa-ring { 70% { box-shadow: 0 18px 36px -12px rgba(37, 211, 102, .6), 0 0 0 18px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 18px 36px -12px rgba(37, 211, 102, .6), 0 0 0 0 rgba(37, 211, 102, 0); } }

/* ============================== responsive ============================== */
@media (max-width: 1080px) {
  .hx__inner { grid-template-columns: minmax(0, 1fr); align-items: end; padding-block-end: 120px; }
  .hx__copy, .hx__side { min-inline-size: 0; }
  .hx__side { justify-items: start; grid-template-columns: 1fr; }
  .hx__queue, .hx__ctrl { justify-content: flex-start; }
  .hx__route { display: none; }
  .hx__shade { background: linear-gradient(0deg, rgba(16, 27, 51, .95) 0%, rgba(16, 27, 51, .55) 55%, rgba(16, 27, 51, .35) 100%); }
  .pop__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto; }
  .pop__card--xl { grid-column: span 2; grid-row: auto; min-block-size: 360px; }
  .pop__duo { grid-column: span 2; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .hx { min-block-size: 0; margin-block-end: 0; }
  .hx__inner { padding-block: calc(var(--header-h) + 36px) 28px; }
  .hx__copy { inline-size: 100%; max-inline-size: 100%; }
  .hx__queue { block-size: 150px; }
  .hx__now-txt b { white-space: normal; }
  .hx__search { position: relative; inset: auto; inline-size: auto; margin: 0 var(--pad); transform: translateY(32px); }
  .hx__proof span { font-size: .75rem; }
  .hx__title, .hx__sub { inline-size: 100%; }
  .hx__title { font-size: clamp(2.2rem, 10vw, 3.5rem); overflow-wrap: anywhere; }
  .hx__eyebrow { max-inline-size: 100%; font-size: .75rem; padding: 7px 14px 7px 12px; }
  .hx__sub { max-inline-size: 100%; overflow-wrap: break-word; font-size: 1rem; line-height: 1.55; }
  .hx__cta { inline-size: 100%; gap: 10px; }
  .hx__cta .btn { flex: 1 1 100%; min-inline-size: 0; padding-inline: 20px; white-space: normal; text-align: center; }
  .hx__proof { gap: 8px 20px; }
  .pop__grid { grid-template-columns: 1fr; }
  .pop__card--xl, .pop__duo { grid-column: auto; }
  .pop__duo { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .hx__blob, .wa-fab, .hx__pulse::after { animation: none; }
}

/* ============================ iconos de servicio (duotono) ============================ */
.sico { stroke-width: 1.6; }
.sico .t, .t, .w { fill: none; }
.bal__ico { inline-size: 44px; block-size: 44px; border-radius: 14px; color: var(--brand-700); }
.bal__list li:nth-child(4n+3) .bal__ico, .bal__list li:nth-child(4n+4) .bal__ico { color: var(--accent-700); }
.bal__ico .sico { inline-size: 26px; block-size: 26px; }
.trs__card .bal__ico { color: var(--ink); }
.trs__why { display: flex; align-items: center; gap: 10px; }
.trs__why .sico { inline-size: 26px; block-size: 26px; color: var(--brand-700); }
.n1__ico { inline-size: 52px; block-size: 52px; border-radius: 16px; }
.n1__ico .sico { inline-size: 28px; block-size: 28px; }
.n1__stat:nth-child(1) .n1__ico { color: var(--brand-700); }
.n1__stat:nth-child(2) .n1__ico, .n1__stat:nth-child(3) .n1__ico { background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.n1__stat:nth-child(4) .n1__ico { color: var(--brand-700); background: var(--brand-050); }
.pop__mini-ico .sico, .story__ico .sico { inline-size: 26px; block-size: 26px; }

/* ====================== ritmo de fondos entre secciones ======================
   Alterna blanco / menta / crema para que dos secciones contiguas nunca compartan fondo.
   hero(oscuro) · n1 B · ballestas M · paracas B · tours+ofertas C · traslados B · destinos M
   · nosotros B · autorizaciones C · opiniones M · guías B · blog C · faq+boletín B · pie M */
:root { --bg-mint: #E4F4EC; --bg-cream: #EEF4F8; }
#ballestas { background: var(--bg-mint); }
#tours, [aria-labelledby="ofertasTitulo"], #blog { background: var(--bg-cream); }
#destinos, [aria-labelledby="opinionesTitulo"], .site-footer { background: var(--bg-mint); }


/* =============== paleta: el verde de la marca es el protagonista =============== */
.btn--ink, .btn--accent { --btn-bg: var(--brand); --btn-fg: var(--ink); }
@media (hover: hover) { .btn--ink:hover, .btn--accent:hover { --btn-bg: #4FAE92; } }
.btn--brand, .btn--ink, .btn--accent { box-shadow: 0 12px 24px -14px rgba(44, 120, 97, .75); }
.hx__btn { box-shadow: 0 14px 30px -12px rgba(93, 186, 158, .75); }

/* títulos pequeños manuscritos, como acento */
.eyebrow { font-family: "Caveat", "Onest", cursive; font-size: 1.6rem; font-weight: 700; letter-spacing: 0; text-transform: none; line-height: 1; color: var(--brand-700); gap: 8px; }
.eyebrow::before { inline-size: 22px; block-size: 22px; border-radius: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%235DBA9E' stroke-width='5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 29 60 5 45 58 30 38z'/%3E%3Cpath d='M30 38 60 5'/%3E%3C/svg%3E") center / contain no-repeat; }

/* elementos decorativos de línea en los fondos */
.has-deco { position: relative; overflow: hidden; }
.has-deco > .container { position: relative; z-index: 1; }
.deco { position: absolute; z-index: 0; pointer-events: none; color: var(--brand); opacity: .75; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; block-size: auto; aspect-ratio: auto; animation: deco-float 9s ease-in-out infinite alternate; }
.deco--gold { color: var(--accent); }
.deco--soft { opacity: .45; }
.deco--white { color: #fff; opacity: .6; }
.deco--dash { stroke-dasharray: 2 9; stroke-width: 2.4; }
.deco:nth-of-type(even) { animation-duration: 12s; animation-delay: -4s; }
@keyframes deco-float { from { translate: 0 -7px; } to { translate: 0 9px; } }
.n1__panel > .deco { z-index: 0; }
.n1__panel > :not(.deco) { position: relative; z-index: 1; }
@media (max-width: 900px) { .deco { opacity: .4; } .deco[style*="inline-size:2"], .deco[style*="inline-size:3"] { display: none; } }
/* movimiento propio por tipo de gráfico (usa translate/rotate/scale: no pisa el transform en línea) */
.deco { will-change: translate, rotate, scale; }
.deco:has(> use[href="#d-cloud"]) { animation: deco-drift 22s ease-in-out infinite alternate; }
.deco:has(> use[href="#d-bird"]) { animation: deco-glide 14s ease-in-out infinite alternate; }
.deco:has(> use[href="#d-plane"]) { animation: deco-fly 16s ease-in-out infinite alternate; }
.deco:has(> use[href="#d-sparkle"]) { animation: deco-twinkle 4.5s ease-in-out infinite; }
.deco:has(> use[href="#d-sun"]) { animation: deco-spin 60s linear infinite; }
.deco:has(> use[href="#d-compass"]) { animation: deco-sway 8s ease-in-out infinite alternate; }
.deco:has(> use[href="#d-wave"]) { animation: deco-wave 7s ease-in-out infinite alternate; }
.deco:has(> use[href="#d-palm"]) { animation: deco-sway 9s ease-in-out infinite alternate; transform-origin: 50% 100%; }
.deco:has(> use[href="#d-mountains"]) { animation: deco-float 12s ease-in-out infinite alternate; }
.deco:has(> use[href="#d-pin"]) { animation: deco-bounce 3.6s ease-in-out infinite; }
.deco:has(> use[href="#d-route"]) { animation: deco-float 11s ease-in-out infinite alternate; }
.deco:nth-of-type(2n) { animation-delay: -5s; }
.deco:nth-of-type(3n) { animation-delay: -9s; }
@keyframes deco-drift { from { translate: -34px -4px; } to { translate: 38px 6px; } }
@keyframes deco-glide { from { translate: -22px 8px; rotate: -4deg; } to { translate: 26px -14px; rotate: 5deg; } }
@keyframes deco-fly { from { translate: -26px 10px; rotate: -5deg; } to { translate: 30px -16px; rotate: 6deg; } }
@keyframes deco-twinkle { 0%, 100% { scale: .7; rotate: 0deg; opacity: .35; } 50% { scale: 1.2; rotate: 45deg; opacity: .95; } }
@keyframes deco-spin { to { rotate: 360deg; } }
@keyframes deco-sway { from { rotate: -9deg; translate: 0 -4px; } to { rotate: 9deg; translate: 0 5px; } }
@keyframes deco-wave { from { translate: -18px 0; } to { translate: 18px 6px; } }
@keyframes deco-bounce { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
@media (prefers-reduced-motion: reduce) { .deco, .deco:has(> use) { animation: none; } .bal__stamp text { animation: none; } }

/* Ballestas: imagen en arco y sello giratorio */
.bal__media { border-radius: 20px; }
.bal__badge { inset-block-start: auto; inset-block-end: 22px; inset-inline-start: 22px; }
.bal__stamp { position: absolute; inset-block-end: 22px; inset-inline-end: 22px; inline-size: 112px; block-size: 112px; filter: drop-shadow(0 12px 18px rgba(16, 27, 51, .3)); }
.bal__stamp text { transform-origin: 60px 60px; animation: stamp-spin 24s linear infinite; }
@keyframes stamp-spin { to { transform: rotate(360deg); } }
/* Traslados: forma de hoja */
.trs__grid .bal__media { border-radius: 20px; }

/* Autorizaciones: banda verde a todo color */
#autorizaciones { background: linear-gradient(120deg, #2C7861 0%, #3C9A7F 50%, #5DBA9E 100%); }
#autorizaciones .eyebrow { color: #fff; }
#autorizaciones .eyebrow::before { filter: brightness(0) invert(1); }
#autorizaciones .auth__intro h2 { color: #fff; }
#autorizaciones .auth__intro p { color: rgba(255, 255, 255, .88); }
#autorizaciones .auth__count { border-block-start-color: rgba(255, 255, 255, .35); }
#autorizaciones .auth__count b { color: #fff; }
#autorizaciones .auth__count span { color: rgba(255, 255, 255, .92); }
#autorizaciones .auth__tile { border-color: transparent; box-shadow: 0 16px 30px -22px rgba(16, 27, 51, .55); }

/* Ballestas: los iconos van sobre fondo blanco para que no se pierdan en el menta */
#ballestas .bal__ico { background: #fff; box-shadow: 0 8px 16px -10px rgba(28, 41, 73, .45), inset 0 0 0 1px rgba(44, 120, 97, .14); }
#ballestas .bal__list li:nth-child(4n+3) .bal__ico, #ballestas .bal__list li:nth-child(4n+4) .bal__ico { background: #fff; }

/* lista de destinos del buscador: la barra de scroll no debe pisar las esquinas redondeadas */
.suggest { border-radius: 16px; padding: 8px 4px 8px 8px; overflow-x: hidden; overflow-y: auto; scrollbar-width: thin; scrollbar-color: rgba(28, 41, 73, .28) transparent; overscroll-behavior: contain; }
.suggest::-webkit-scrollbar { inline-size: 6px; }
.suggest::-webkit-scrollbar-track { background: transparent; margin-block: 12px; }
.suggest::-webkit-scrollbar-thumb { background: rgba(28, 41, 73, .28); border-radius: 6px; }

/* ===== selectores del buscador: categoría, fecha (calendario) y duración ===== */
.pick__btn { display: flex; align-items: center; justify-content: space-between; gap: 8px; inline-size: 100%; min-block-size: 28px; padding: 2px 0; text-align: start; font: inherit; font-weight: 700; font-size: .9375rem; color: var(--ink); cursor: pointer; }
.pick__btn [data-pick-val] { min-inline-size: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
[data-pick]:not(.has-value) .pick__btn [data-pick-val] { color: var(--muted); font-weight: 600; }
.pick__btn:focus-visible { outline: 2px solid var(--brand); outline-offset: 4px; border-radius: 6px; }
.pick__chev { flex: none; color: var(--muted); transition: transform var(--t-micro) var(--ease-out); }
.pick__btn[aria-expanded="true"] .pick__chev { transform: rotate(180deg); }
.pick__panel { position: absolute; z-index: 30; inset-block-start: calc(100% + 10px); inset-inline-start: 0; min-inline-size: max(100%, 220px); padding: 8px; background: var(--white); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 24px 48px -20px rgba(16, 27, 51, .35); }
.pick__panel[hidden] { display: none; }
.pick__panel.is-end { inset-inline-start: auto; inset-inline-end: 0; }
.pick__panel [role="option"] { display: block; inline-size: 100%; padding: 12px 14px; border-radius: 12px; text-align: start; font-size: .9375rem; font-weight: 600; color: var(--ink); white-space: nowrap; cursor: pointer; }
.pick__panel [role="option"][aria-selected="true"] { background: var(--brand-050); color: var(--brand-700); font-weight: 800; }
@media (hover: hover) { .pick__panel [role="option"]:hover { background: var(--surface); } }
.pick__panel [role="option"]:focus-visible { outline: 2px solid var(--brand); outline-offset: -2px; }

.pick__panel--cal { inline-size: 308px; padding: 14px; }
.cal__head { display: flex; align-items: center; justify-content: space-between; margin-block-end: 10px; }
.cal__head b { font-size: .9688rem; font-weight: 800; text-transform: capitalize; color: var(--ink); }
.cal__nav { display: grid; place-items: center; inline-size: 40px; block-size: 40px; border-radius: 50%; color: var(--ink); background: var(--surface); }
.cal__nav[disabled] { opacity: .35; cursor: not-allowed; }
@media (hover: hover) { .cal__nav:not([disabled]):hover { background: var(--ink); color: var(--white); } }
.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.cal__dow { padding-block: 6px; text-align: center; font-size: .6875rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.cal__day { aspect-ratio: 1; min-block-size: 38px; display: grid; place-items: center; border-radius: 50%; font-size: .875rem; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; cursor: pointer; }
.cal__day[disabled] { color: rgba(90, 100, 120, .4); cursor: not-allowed; }
.cal__day.is-today { box-shadow: inset 0 0 0 1.5px var(--brand); }
.cal__day.is-sel { background: var(--brand-700); color: var(--white); font-weight: 800; box-shadow: none; }
@media (hover: hover) { .cal__day:not([disabled]):not(.is-sel):hover { background: var(--brand-050); } }
.cal__day:focus-visible, .cal__nav:focus-visible, .cal__link:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.cal__foot { display: flex; justify-content: space-between; margin-block-start: 8px; padding-block-start: 8px; border-block-start: 1px solid var(--line); }
.cal__link { padding: 8px 10px; border-radius: 8px; font-size: .8125rem; font-weight: 700; color: var(--brand-700); }
@media (max-width: 640px) {
  .hx__search .searchbar__cell:nth-child(3) { grid-column: auto; }
  .pick__btn { font-size: 1rem; min-block-size: 28px; }
  .pick__panel--cal { inline-size: min(308px, calc(100vw - var(--pad) * 2 - 24px)); }
}

/* el botón de WhatsApp no tapa el calendario abierto */
.has-pick-open .wa-fab { opacity: 0; pointer-events: none; }
