/* Sitio público de IslandTour */

.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }

.eyebrow {
  font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--sun); margin-bottom: 14px;
}
.eyebrow-dark { color: var(--coral-btn); }

/* ---------- cabecera ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(8, 52, 61, .96); color: var(--white);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.header-row { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; letter-spacing: -.01em;
}
.main-nav { display: flex; gap: 4px; margin-left: auto; }
.main-nav a {
  padding: 8px 14px; border-radius: 999px; text-decoration: none;
  font-weight: 600; font-size: .93rem; color: rgba(255, 255, 255, .78); transition: color .15s, background .15s;
}
.main-nav a:hover { color: var(--white); background: rgba(255, 255, 255, .08); }
.header-wa { margin-left: 8px; }
.wa-dot { width: 8px; height: 8px; border-radius: 50%; background: #7ef0a8; box-shadow: 0 0 0 3px rgba(126, 240, 168, .25); }

.header-tools { display: flex; align-items: center; gap: 10px; margin-left: 8px; }
.lang-switch { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, .1); }
.lang-btn {
  padding: 5px 10px; border: 0; border-radius: 999px; background: transparent; cursor: pointer;
  font-size: .78rem; font-weight: 800; letter-spacing: .04em; color: rgba(255, 255, 255, .72);
}
.lang-btn:hover { color: var(--white); }
.lang-btn[aria-pressed="true"] { background: var(--white); color: var(--ocean-deep); }
.region-btn {
  display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px;
  border: 1.5px solid rgba(255, 255, 255, .28); border-radius: 999px; background: transparent;
  color: var(--white); font-weight: 700; font-size: .85rem; cursor: pointer; white-space: nowrap;
}
.region-btn:hover { background: rgba(255, 255, 255, .1); }
.region-btn .icon { color: var(--sun); }

@media (max-width: 820px) {
  .main-nav { display: none; }
  .header-tools { margin-left: auto; }
  .header-row { gap: 12px; }
}
@media (max-width: 600px) {
  .header-wa { display: none; }
  .brand > span { display: none; }
  .brand-footer > span { display: inline; }
  .region-btn { padding: 0 10px; }
}

/* ---------- selección de destino ---------- */

body.gate-open { overflow: hidden; }
.gate {
  position: fixed; inset: 0; z-index: 200; overflow-y: auto;
  display: flex; flex-direction: column; padding: 20px;
  color: var(--white); background: linear-gradient(180deg, #08343d 0%, #0b5560 55%, #0d7c7f 100%);
}
.gate-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: min(1000px, 100%); margin-inline: auto; }
.gate-inner { margin: auto; width: min(1000px, 100%); padding: 32px 0 48px; text-align: center; }
.gate h1 { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.1rem, 5vw, 3.4rem); letter-spacing: -.02em; }
.gate-sub { margin: 14px auto 0; max-width: 32em; color: rgba(255, 255, 255, .8); font-size: 1.08rem; }
.gate-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 40px; text-align: left; }
.gate-card {
  display: flex; flex-direction: column; overflow: hidden; padding: 0;
  border: 0; border-radius: 24px; background: var(--paper); color: var(--ink); cursor: pointer; text-align: left;
  box-shadow: var(--shadow-lg); transition: transform .22s var(--ease), box-shadow .22s;
}
.gate-card:hover { transform: translateY(-5px); }
.gate-art { display: block; height: 150px; }
.gate-art svg { width: 100%; height: 100%; }
.gate-do .gate-art { background: linear-gradient(140deg, #ff9d5c, #f2683f 55%, #e2484f); }
.gate-tc .gate-art { background: linear-gradient(140deg, #5fd6c8, #14a39a 50%, #0b5d68); }
.gate-body { display: flex; flex-direction: column; gap: 4px; padding: 20px 22px 22px; }
.gate-body strong { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; letter-spacing: -.01em; }
.gate-body > span:not(.gate-cta) { color: var(--ink-2); font-size: .92rem; }
.gate-cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-weight: 800; color: var(--coral-btn); transition: gap .18s; }
.gate-card:hover .gate-cta { gap: 12px; }
@media (max-width: 640px) {
  .gate { padding: 16px; }
  .gate-grid { grid-template-columns: 1fr; gap: 14px; margin-top: 28px; }
  .gate-art { height: 96px; }
  .gate-top .brand > span { display: inline; }
}

/* ---------- hero ---------- */

.hero { position: relative; overflow: hidden; color: var(--white); background: var(--ocean-deep); }
.hero-scene { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-inner { position: relative; padding: 88px 0 210px; max-width: 1180px; }
.hero h1 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2.7rem, 6.4vw, 5rem); line-height: 1; letter-spacing: -.025em;
  max-width: 11ch; font-variation-settings: 'opsz' 144;
}
.hero h1 em { display: block; font-style: italic; font-weight: 500; color: var(--sun); }
.hero-lead { margin-top: 22px; max-width: 34em; font-size: 1.12rem; color: rgba(255, 255, 255, .84); }

@media (max-width: 640px) {
  .hero-inner { padding: 56px 0 170px; }
  .hero-lead { font-size: 1.02rem; }
}

/* ---------- selector de servicio ---------- */

.chooser-wrap { position: relative; z-index: 2; margin-top: -150px; }
.chooser {
  padding: 28px; border-radius: var(--radius-lg);
  background: var(--paper); box-shadow: var(--shadow-lg);
}
.chooser-title { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; margin-bottom: 18px; }
.chooser-grid { display: flex; flex-wrap: wrap; gap: 12px; }
.choice {
  flex: 1 1 170px;
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
  padding: 18px 16px 16px; border: 1.5px solid var(--line); border-radius: var(--radius);
  background: var(--white); text-align: left; cursor: pointer;
  transition: border-color .18s, transform .18s var(--ease), box-shadow .18s, background .18s;
}
.choice:hover { border-color: var(--cat); transform: translateY(-3px); box-shadow: var(--shadow); }
.choice[aria-pressed="true"] { border-color: var(--cat); background: var(--cat-soft); }
.choice-icon {
  display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 10px;
  border-radius: 14px; background: var(--cat-soft); color: var(--cat);
}
.choice[aria-pressed="true"] .choice-icon { background: var(--cat); color: var(--white); }
.choice-label { font-weight: 800; font-size: 1rem; }
.choice-tag { font-size: .8rem; line-height: 1.35; color: var(--muted); }

@media (max-width: 640px) {
  .chooser-wrap { margin-top: -120px; }
  .chooser { padding: 20px 16px; }
  .chooser-grid { gap: 10px; }
  .choice { flex-basis: 130px; padding: 14px 12px; }
  .choice-tag { display: none; }
  .choice-icon { width: 40px; height: 40px; margin-bottom: 6px; }
}

/* ---------- secciones ---------- */

.section { padding: 96px 0; }
.section h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(2rem, 4.2vw, 2.9rem); letter-spacing: -.02em; }
.section-lead { margin-top: 12px; max-width: 40em; color: var(--ink-2); font-size: 1.05rem; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 32px; margin-bottom: 36px; }
.section-ocean { background: var(--ocean-deep); color: var(--white); }
.section-sand { background: var(--sand-2); }
#servicios { padding-top: 72px; scroll-margin-top: 40px; }
section[id] { scroll-margin-top: 68px; }

@media (max-width: 640px) { .section { padding: 64px 0; } }

/* ---------- pestañas ---------- */

.tabs {
  display: flex; gap: 6px; padding: 5px; max-width: 100%;
  border-radius: 999px; background: var(--sand-2);
  overflow-x: auto; scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  display: inline-flex; align-items: center; gap: 7px; flex: none;
  padding: 9px 16px; border: 0; border-radius: 999px; background: transparent;
  font-weight: 700; font-size: .9rem; color: var(--ink-2); cursor: pointer; transition: all .15s;
}
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { background: var(--ocean-deep); color: var(--white); }
.tab-count { font-size: .74rem; padding: 1px 7px; border-radius: 999px; background: rgba(13, 43, 51, .08); }
.tab[aria-selected="true"] .tab-count { background: rgba(255, 255, 255, .18); }

/* ---------- tarjetas ---------- */

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 24px; }

.card {
  position: relative; display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: 20px; overflow: hidden;
  background: var(--white); box-shadow: var(--shadow-sm);
  transition: transform .22s var(--ease), box-shadow .22s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card:focus-within { box-shadow: 0 0 0 3px var(--lagoon), var(--shadow); }
.card .media { aspect-ratio: 16 / 10.5; }
.card:hover .media img { transform: scale(1.04); }
.card .media img { transition: transform .5s var(--ease); }
.badge-featured {
  position: absolute; top: 14px; left: 14px; z-index: 1;
  display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px 5px 8px;
  border-radius: 999px; background: rgba(255, 255, 255, .94); color: var(--ink);
  font-size: .75rem; font-weight: 800; box-shadow: var(--shadow-sm);
}
.badge-featured .icon { color: #e89a0c; fill: #f6b73c; }
.catalog-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; max-width: 100%; }
.city-filter { width: auto; min-height: 44px; border-radius: 999px; padding-left: 18px; font-weight: 700; font-size: .9rem; background-color: var(--white); }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.rating { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; }
.rating .stars { font-size: .9rem; letter-spacing: 1px; }
.rating b { font-weight: 800; }
.card-place { display: flex; align-items: center; gap: 5px; font-size: .84rem; font-weight: 600; color: var(--muted); }
.card-place .icon { color: var(--cat, var(--lagoon)); }
.card-body { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 18px 20px 20px; }
.card-title { font-family: var(--font-display); font-weight: 600; font-size: 1.32rem; letter-spacing: -.01em; }
.card-link { padding: 0; border: 0; background: none; text-align: left; font: inherit; cursor: pointer; }
.card-link::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.card-link:focus-visible { outline: none; }
.card-summary { color: var(--ink-2); font-size: .93rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 0; padding: 0; list-style: none; }
.chips li { padding: 4px 10px; border-radius: 999px; background: var(--sand); font-size: .78rem; font-weight: 700; color: var(--ink-2); }
.card-foot {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 12px;
  margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line);
}
.price { display: flex; flex-direction: column; line-height: 1.15; }
.price-label { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.price strong { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; letter-spacing: -.01em; }
.price-unit { font-size: .8rem; color: var(--muted); }
.card-cta {
  display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 999px;
  background: var(--coral-soft); color: var(--coral-btn-hover); font-weight: 800; font-size: .88rem;
  transition: background .18s, color .18s, gap .18s;
}
.card:hover .card-cta { background: var(--coral-btn); color: var(--white); gap: 10px; }

.empty {
  grid-column: 1 / -1; padding: 56px 24px; text-align: center;
  border: 1.5px dashed var(--line-2); border-radius: 20px; color: var(--ink-2);
}
.empty .icon { margin: 0 auto 12px; color: var(--muted); }

/* ---------- cómo funciona ---------- */

.section-ocean h2 { color: var(--white); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 44px 0 0; padding: 0; list-style: none; }
.steps li { padding: 28px; border-radius: 20px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); }
.step-num {
  display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 18px;
  border-radius: 50%; border: 1.5px solid var(--sun); color: var(--sun);
  font-family: var(--font-display); font-size: 1.3rem; font-weight: 700;
}
.steps h3 { font-size: 1.15rem; margin-bottom: 8px; }
.steps p { color: rgba(255, 255, 255, .74); font-size: .95rem; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* ---------- consulta de reserva ---------- */

.lookup { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: start; }
.lookup-copy p:not(.eyebrow) { margin-top: 14px; color: var(--ink-2); font-size: 1.05rem; max-width: 30em; }
.lookup-box { padding: 28px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.lookup-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lookup-form .btn { grid-column: 1 / -1; }
#lookup-result:not(:empty) { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.lk-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.lk-code { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; letter-spacing: .02em; }
.lk-service { display: flex; align-items: center; gap: 8px; font-weight: 700; margin-bottom: 4px; }
.lk-hint { color: var(--muted); font-size: .9rem; margin-bottom: 16px; }
.kv { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 20px; margin: 0 0 20px; }
.kv div { min-width: 0; }
.kv dt { font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.kv dd { margin: 2px 0 0; font-weight: 600; overflow-wrap: anywhere; }
@media (max-width: 860px) { .lookup { grid-template-columns: 1fr; gap: 28px; } }
@media (max-width: 520px) {
  .lookup-box { padding: 20px 16px; }
  .lookup-form { grid-template-columns: 1fr; }
}

/* ---------- contacto ---------- */

.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 36px; }
.contact-card {
  display: flex; flex-direction: column; gap: 6px; padding: 24px;
  border-radius: 20px; background: var(--paper); border: 1px solid var(--line);
  text-decoration: none; transition: transform .2s var(--ease), box-shadow .2s;
}
a.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.contact-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; margin-bottom: 10px; background: var(--lagoon-soft); color: var(--lagoon-ink); }
.contact-card.wa .contact-icon { background: #dcf5e4; color: var(--wa); }
.contact-card h3 { font-size: 1.05rem; }
.contact-card p { color: var(--ink-2); font-size: .92rem; overflow-wrap: anywhere; }
.contact-card .contact-action { margin-top: auto; padding-top: 10px; font-weight: 800; font-size: .88rem; color: var(--lagoon-ink); display: inline-flex; align-items: center; gap: 6px; }
.contact-card.wa .contact-action { color: var(--wa); }
@media (max-width: 980px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- pie ---------- */

.site-footer { padding: 48px 0 28px; background: var(--ocean-deep); color: var(--white); }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.footer-tag { margin-top: 8px; color: rgba(255, 255, 255, .65); font-size: .92rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: center; }
.footer-nav a { text-decoration: none; font-weight: 600; font-size: .92rem; color: rgba(255, 255, 255, .78); }
.footer-nav a:hover { color: var(--white); }
.footer-admin { padding: 6px 12px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; }
.footer-legal { margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .82rem; color: rgba(255, 255, 255, .55); }

.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  background: var(--wa); color: var(--white); box-shadow: 0 10px 28px rgba(21, 128, 61, .4);
  transition: transform .2s var(--ease);
}
.wa-float:hover { transform: scale(1.06); }

/* ---------- panel lateral de reserva ---------- */

.drawer {
  inset: 0; margin: 0 0 0 auto; padding: 0; border: 0;
  width: min(580px, 100vw); max-width: 100vw; height: 100dvh; max-height: 100dvh;
  background: var(--paper); color: var(--ink); box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.drawer[open] { animation: drawer-in .38s var(--ease); }
.drawer::backdrop { background: rgba(6, 34, 41, .5); backdrop-filter: blur(3px); animation: fade-in .3s; }
@keyframes drawer-in { from { transform: translateX(40px); opacity: 0; } }
@keyframes fade-in { from { opacity: 0; } }

.drawer-inner, .drawer-form { display: flex; flex-direction: column; height: 100%; }
.drawer-scroll { flex: 1; overflow-y: auto; overscroll-behavior: contain; }
.drawer-close {
  position: absolute; top: 14px; right: 14px; z-index: 5;
  background: rgba(255, 255, 255, .92); box-shadow: var(--shadow-sm); color: var(--ink);
}
.drawer-close:hover { background: var(--white); }
.drawer-media { aspect-ratio: 16 / 8; }
.drawer-head { padding: 24px 28px 22px; }
.drawer-head h2 { font-family: var(--font-display); font-weight: 600; font-size: 1.85rem; letter-spacing: -.015em; margin: 8px 0 6px; }
.drawer-price { font-weight: 800; color: var(--coral-btn); }
.drawer-desc { margin-top: 12px; color: var(--ink-2); }
.drawer-head .chips { margin-top: 14px; }
.includes { margin: 16px 0 0; padding: 14px 16px; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; border-radius: 14px; background: var(--sand); }
.includes li { display: flex; gap: 8px; font-size: .88rem; font-weight: 600; color: var(--ink-2); }
.includes .icon { color: var(--lagoon-ink); margin-top: 2px; }
.includes-title { font-size: .76rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 18px; }

.drawer-section { margin: 0; padding: 22px 28px 24px; border: 0; border-top: 1px solid var(--line); min-width: 0; }
.drawer-section legend {
  float: left; width: 100%; margin-bottom: 16px;
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 1.2rem; font-weight: 600;
}
.legend-num { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ocean-deep); color: var(--white); font-family: var(--font-body); font-size: .8rem; font-weight: 800; }
.form-grid { clear: both; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.privacy { display: flex; gap: 8px; margin-top: 14px; font-size: .8rem; color: var(--muted); }

.drawer-foot { flex: none; padding: 14px 28px 18px; background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px rgba(13, 43, 51, .06); }
.avail:not(:empty) { margin-bottom: 12px; }
.foot-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.quote-label { font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.quote-total { font-family: var(--font-display); font-size: 1.65rem; font-weight: 700; line-height: 1.1; letter-spacing: -.01em; }
.quote-lines { font-size: .8rem; color: var(--muted); }

@media (max-width: 520px) {
  .drawer-head, .drawer-section { padding-left: 16px; padding-right: 16px; }
  .drawer-foot { padding: 12px 16px 14px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .half-sm { grid-column: auto; }
  .includes { grid-template-columns: 1fr; }
  .drawer-head h2 { font-size: 1.6rem; }
  .quote-total { font-size: 1.35rem; }
  .foot-row .btn { padding: 0 18px; }
}

/* ---------- opiniones ---------- */

.reviews-title { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; margin-bottom: 12px; }
.reviews-sum { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.reviews-sum strong { font-family: var(--font-display); font-size: 1.6rem; }
.reviews-sum .stars { font-size: 1.15rem; }
.review-list { list-style: none; margin: 0 0 12px; padding: 0; }
.review { padding: 12px 0; border-top: 1px solid var(--line); }
.review:first-child { border-top: 0; }
.review p { margin-top: 4px; font-size: .92rem; color: var(--ink-2); overflow-wrap: anywhere; }
.review-head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: .88rem; }
.review-head time { margin-left: auto; font-size: .78rem; }
.verified { display: inline-flex; align-items: center; gap: 4px; font-size: .76rem; font-weight: 700; color: var(--ok); }
.review-hint { margin-top: 10px; }

.review-form { margin: 0 0 20px; padding: 16px; border-radius: 16px; background: var(--sand); display: flex; flex-direction: column; gap: 12px; }
.review-form h3 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; }
.star-input { position: relative; display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; }
.star-input input { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; }
.star-input label { font-size: 2rem; line-height: 1; padding: 0 2px; color: #cdc3b1; cursor: pointer; transition: color .12s, transform .12s; }
.star-input label:hover, .star-input label:hover ~ label, .star-input input:checked ~ label { color: #f0a91c; }
.star-input label:hover { transform: scale(1.12); }
.star-input input:focus-visible + label { outline: 3px solid var(--lagoon); border-radius: 6px; }

/* ---------- confirmación ---------- */

.success { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 64px 32px 40px; overflow-y: auto; height: 100%; }
.success-icon {
  display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%;
  background: var(--lagoon-soft); color: var(--lagoon-ink); margin-bottom: 22px;
  animation: pop .5s var(--ease);
}
.success-icon .icon { stroke-width: 2.4; }
@keyframes pop { from { transform: scale(.6); opacity: 0; } }
.success h2 { font-family: var(--font-display); font-weight: 600; font-size: 2rem; }
.success > p { margin-top: 12px; max-width: 26em; color: var(--ink-2); }
.code-box {
  display: flex; align-items: center; gap: 14px; margin: 26px 0 8px; padding: 14px 14px 14px 20px;
  border: 1.5px dashed var(--lagoon); border-radius: 16px; background: var(--white);
}
.code-box span { font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.code-box strong { font-family: var(--font-display); font-size: 1.7rem; letter-spacing: .04em; }
.success .kv { width: 100%; max-width: 400px; margin-top: 20px; text-align: left; padding: 18px; border-radius: 16px; background: var(--sand); }
.success-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 8px; }
.success-note { margin-top: 20px; font-size: .85rem; color: var(--muted); max-width: 26em; }
