/* ============================================================
   COLORES DEL SITIO — cámbialos aquí cuando decidan el tema
   ============================================================ */
:root {
  --accent: #6b0a63;        /* morado de la marca: botones y detalles */
  --accent-dark: #520849;
  --accent-light: #f6ecf5;  /* fondo suave morado */
  --accent-soft: #d9a6d3;   /* morado claro para fondos oscuros */
  --ink: #142336;           /* azul marino de la marca: texto y fondos oscuros */
  --ink-2: #2c3b52;
  --ink-deep: #0d1828;
  --muted: #6b6b6b;
  --bg: #ffffff;
  --bg-alt: #f4f4f2;
  --line: #e4e4e0;
  --ok: #1f9d55;
  --danger: #d64545;
  --whatsapp: #25d366;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(0, 0, 0, .08);
  --font: 'Segoe UI', system-ui, -apple-system, Roboto, 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.55; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -.01em; }
.container { width: min(1160px, 92%); margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
[hidden] { display: none !important; }

/* ---------- botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .75em 1.3em; border-radius: 10px;
  border: 0; font: 600 .95rem var(--font); cursor: pointer; text-decoration: none; transition: .15s; white-space: nowrap; }
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: var(--accent); color: #fff; }
.btn--ghost { background: transparent; border: 1px solid var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--whatsapp { background: var(--whatsapp); color: #fff; }
.btn--whatsapp:hover { filter: brightness(.92); }
.btn--danger { background: var(--danger); color: #fff; }
.btn--sm { padding: .5em 1em; font-size: .85rem; }
.btn--lg { padding: 1em 1.6em; font-size: 1.05rem; }
.btn:disabled { opacity: .6; cursor: wait; }
.link-btn { background: none; border: 0; color: var(--accent-dark); font-weight: 600; cursor: pointer; text-decoration: underline; }

/* ---------- header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header__inner { display: flex; align-items: center; gap: 1.5rem; height: 72px; }
.brand { display: flex; align-items: center; gap: .5rem; font-weight: 800; text-decoration: none; }
.brand img { height: 48px; width: auto; }
.nav { display: flex; gap: 1.5rem; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 500; color: var(--ink-2); }
.nav a:hover { color: var(--accent-dark); }
.header__actions { display: flex; align-items: center; gap: .6rem; }
.lang-btn { color: var(--ink); border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: .45em .7em; font-weight: 700; cursor: pointer; }
.menu-btn { display: none; border: 0; background: none; font-size: 1.5rem; cursor: pointer; color: var(--ink); }

/* ---------- hero ---------- */
.hero { background: radial-gradient(900px 420px at 85% -10%, rgba(107, 10, 99, .55), transparent), linear-gradient(160deg, var(--ink-deep), var(--ink));
  color: #fff; padding: clamp(3.5rem, 9vw, 6.5rem) 0; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.3rem); max-width: 16ch; }
.hero__tag { font-style: italic; color: var(--accent-soft); font-size: 1.1rem; margin: 0 0 .6rem; letter-spacing: .01em; }
.hero__sub { font-size: 1.1rem; color: #cfd6e2; max-width: 55ch; margin-bottom: 2rem; }
.search { display: grid; grid-template-columns: 1fr 1fr auto; gap: .8rem; background: #fff; color: var(--ink); padding: 1rem; border-radius: var(--radius);
  box-shadow: var(--shadow); max-width: 720px; align-items: end; }
.search label, .form-grid label { min-width: 0; display: flex; flex-direction: column; gap: .3rem; font-size: .8rem; font-weight: 600; color: var(--muted); }
.search .btn { height: 46px; background: var(--accent); color: #fff; }
.search .btn:hover { background: var(--accent-dark); }
input, select, textarea { font: 1rem var(--font); padding: .7em .8em; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); width: 100%; min-width: 0; }
button { color: var(--ink); font-family: var(--font); -webkit-tap-highlight-color: transparent; }
input[type="date"] { -webkit-appearance: none; appearance: none; display: block; min-height: 46px; line-height: 1.2; }
input[type="date"]::-webkit-date-and-time-value { text-align: left; margin: 0; }
input[type="date"]::-webkit-calendar-picker-indicator { margin-left: 0; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); border-color: transparent; }

/* ---------- secciones ---------- */
.section { padding: clamp(3rem, 7vw, 5rem) 0; }
.section--alt { background: var(--bg-alt); }
.section__sub { color: var(--muted); margin-top: -.3rem; }

.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.5rem 0 1rem; }
.chip { color: var(--ink); border: 1px solid var(--line); background: #fff; padding: .45em 1em; border-radius: 99px; cursor: pointer; font-weight: 600; font-size: .9rem; }
.chip--on { background: var(--accent); color: #fff !important; border-color: var(--accent); }
.avail-bar { display: flex; gap: 1rem; align-items: center; background: var(--accent-light); border: 1px solid #e6cbe3; padding: .6rem 1rem; border-radius: 10px; margin-bottom: 1rem; flex-wrap: wrap; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.4rem; }
.car { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: .2s; }
.car:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.car--busy { opacity: .6; }
.car__img { position: relative; aspect-ratio: 16/10; background: linear-gradient(180deg, #f6f6f4, #e9e9e5); display: grid; place-items: center; color: var(--ink); }
.car__img img { width: 100%; height: 100%; object-fit: cover; }
.car__img svg { width: 70%; }
.badge { position: absolute; top: .7rem; left: .7rem; background: var(--accent); color: #fff; font-size: .75rem; font-weight: 700; padding: .25em .7em; border-radius: 99px; }
.car__body { padding: 1.1rem 1.2rem 1.2rem; display: flex; flex-direction: column; flex: 1; }
.car__body h3 { font-size: 1.15rem; }
.car__body h3 small { color: var(--muted); font-weight: 500; }
.car__body p { margin: 0 0 .7rem; font-size: .92rem; }
.car__desc { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; white-space: pre-line; margin-bottom: .2rem !important; }
.car--open .car__desc { -webkit-line-clamp: unset; display: block; }
.car__more { padding: 0; margin-bottom: .8rem; font-size: .85rem; align-self: flex-start; text-decoration: none; }
.book-desc { white-space: pre-line; font-size: .9rem; color: var(--ink-2); background: var(--bg-alt); padding: .8rem 1rem; border-radius: 10px; max-height: 130px; overflow-y: auto; margin: .5rem 0 0; }
.specs { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: .4rem .9rem; font-size: .85rem; color: var(--ink-2); }
.car__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.price strong { font-size: 1.35rem; }
.price span { color: var(--muted); font-size: .85rem; }
.tag-busy { font-size: .8rem; color: var(--danger); font-weight: 600; text-align: right; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin: 2rem 0; }
.step { background: #fff; padding: 1.5rem; border-radius: var(--radius); border: 1px solid var(--line); }
.step__n { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 800; margin-bottom: .8rem; }
.step p { margin: 0; color: var(--muted); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.card-box { background: #fff; border-radius: var(--radius); padding: 1.5rem; border: 1px solid var(--line); }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.checks li::before { content: '✓'; color: var(--ok); font-weight: 800; margin-right: .55rem; }
.checks--inline { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin-top: 1rem; }

.transport { background: radial-gradient(900px 500px at 10% 0%, rgba(107, 10, 99, .45), transparent), linear-gradient(180deg, var(--ink-deep), var(--ink)); color: #fff; }
.tr-head { max-width: 760px; }
.tr-chips { display: flex; flex-wrap: wrap; gap: .45rem; margin: 1rem 0 1.3rem; }
.tr-chips button { color: #fff; font: inherit; cursor: pointer; transition: background .15s, border-color .15s, transform .15s; }
.tr-chips span, .tr-chips button { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); border-radius: 99px; padding: .35em .85em; font-size: .9rem; font-weight: 600; }
.tr-chips button:hover, .tr-chips button:focus-visible { background: var(--accent); border-color: var(--accent); transform: translateY(-1px); }
.tr-actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.tr-toggle { background: var(--accent); }
.tr-toggle:hover { background: var(--accent-dark); }
.tr-arrow { font-style: normal; display: inline-block; transition: transform .2s; }
.tr-toggle[aria-expanded="true"] .tr-arrow { transform: rotate(180deg); }
.tr-body { margin-top: 2rem; animation: trIn .25s ease; }
@keyframes trIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.tr-long { color: #cfd6e2; font-size: 1.02rem; max-width: 760px; margin: 0 0 1.4rem; }
.tr-close { display: block; margin: 1.6rem auto 0; color: var(--accent-soft); }
@media (prefers-reduced-motion: reduce) { .tr-body { animation: none; } .tr-arrow { transition: none; } }
.tr-kicker { display: inline-block; font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-soft); margin-bottom: .5rem; }
.tr-head p { color: #cfd6e2; font-size: 1.08rem; }
.tr-services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 2.2rem; }
.tr-svc { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius); padding: 1.2rem; }
.tr-ico { font-size: 1.7rem; display: block; margin-bottom: .5rem; }
.tr-svc h3 { font-size: 1.05rem; margin-bottom: .35rem; }
.tr-svc p { margin: 0; color: #b9c3d3; font-size: .92rem; }
.tr-main { display: grid; grid-template-columns: 1fr 1.05fr; gap: 1.6rem; align-items: start; }
.tr-gallery { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: .6rem; height: 340px; }
.tr-gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }
.tr-gallery img:first-child { grid-row: 1 / 3; }
.tr-why { margin: 1.3rem 0; }
.tr-why li { color: #e6eaf1; }
.tr-form { background: #fff; color: var(--ink); border-radius: 18px; padding: 1.4rem; box-shadow: 0 20px 50px rgba(0, 0, 0, .25); }
.tr-form h3 { margin: 0 0 .2rem; font-size: 1.3rem; }
.tr-form .form-grid { margin-top: .6rem; }
.check-row { flex-direction: row !important; align-items: center; gap: .5rem !important; color: var(--ink) !important; font-size: .95rem !important; cursor: pointer; }
.check-row input { width: 18px; height: 18px; accent-color: var(--accent); }
.q-submit { width: 100%; margin-top: .6rem; background: var(--accent); }
.q-submit:hover { background: var(--accent-dark); }
.tr-done { text-align: center; }
.tr-done .ok-code { margin: 1rem auto; }
.hero__ctas { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; max-width: 720px; margin-bottom: 1.2rem; }
.hero-cta { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: .7rem; align-items: center; text-decoration: none; color: #fff; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .2); border-radius: 14px; padding: .8rem 1rem; transition: .15s; }
.hero-cta:hover { background: rgba(255, 255, 255, .14); transform: translateY(-1px); }
.hero-cta span { grid-row: 1 / 3; font-size: 1.8rem; }
.hero-cta b { font-size: 1.02rem; }
.hero-cta small { color: #cfd6e2; font-size: .82rem; }
.hero-cta--tr { background: var(--accent); border-color: var(--accent); }
.hero-cta--tr:hover { background: var(--accent-dark); }

.nav__mine { font-weight: 700 !important; color: var(--accent) !important; }
.look p { margin: .4rem 0 .9rem; }
.look .ok-code { margin: .6rem auto .8rem; text-align: center; }
.look__status { text-align: center; font-weight: 800; padding: .55rem; border-radius: 10px; margin-bottom: .2rem; }
.look__status--pendiente { background: #fff3cd; color: #8a6100; }
.look__status--confirmada { background: #d9f2e3; color: #146c3a; }
.look__status--completada { background: #e3e8f4; color: #364a78; }
.look__status--cancelada { background: #f8dcdc; color: #9b2b2b; }
.rev-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.4rem; }
.rev-head h2 { margin-bottom: .3rem; }
.rev-avg { font-weight: 600; color: var(--ink-2); }
.stars { color: #f5a623; letter-spacing: .08em; font-size: 1.05rem; }
.rev-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.2rem; }
.rev { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.3rem; display: flex; flex-direction: column; gap: .6rem; }
.rev__text { margin: 0; white-space: pre-line; color: var(--ink-2); flex: 1; }
.rev__foot { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .6rem; font-size: .9rem; }
.rev__foot small { color: var(--muted); width: 100%; }
.rev__ok { font-size: .75rem; font-weight: 700; color: var(--ok); background: #e6f6ec; padding: .15em .55em; border-radius: 99px; }
.rev-empty { background: #fff; border: 1px dashed var(--line); border-radius: var(--radius); padding: 1.4rem; text-align: center; grid-column: 1 / -1; }
.rev-more { display: block; margin: 1.2rem auto 0; }
.stars-input { display: flex; flex-direction: row-reverse; justify-content: center; gap: .2rem; margin: .6rem 0 .4rem; }
.stars-input input { position: absolute; opacity: 0; pointer-events: none; }
.stars-input label { font-size: 2.4rem; color: #d9d9d4; cursor: pointer; line-height: 1; transition: .1s; }
.stars-input input:checked ~ label, .stars-input label:hover, .stars-input label:hover ~ label { color: #f5a623; }
.stars-input input:focus-visible + label { outline: 2px solid var(--accent); border-radius: 4px; }
.contact { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.contact__list { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; font-size: 1.05rem; }
.contact__list a { text-decoration: none; }
.contact__list a[href]:hover { color: var(--accent-dark); text-decoration: underline; }

.footer { background: var(--ink-deep); color: #a3adbd; padding: 1.5rem 0; font-size: .9rem; }
.footer__inner { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer__admin { color: #5d6b80; text-decoration: none; }

.wa-float { position: fixed; right: 18px; bottom: 18px; width: 58px; height: 58px; border-radius: 50%; background: var(--whatsapp); display: grid;
  place-items: center; font-size: 1.7rem; text-decoration: none; box-shadow: 0 6px 20px rgba(0, 0, 0, .25); z-index: 40;
  bottom: calc(18px + env(safe-area-inset-bottom)); }

/* ---------- modales ---------- */
.modal { border: 0; border-radius: 18px; padding: 0; width: min(560px, 94vw); box-shadow: 0 20px 60px rgba(0, 0, 0, .3); }
.modal::backdrop { background: rgba(0, 0, 0, .55); }
.modal__body { padding: 1.6rem; position: relative; }
.modal__body--center { text-align: center; }
.modal__close { position: absolute; top: .6rem; right: .8rem; border: 0; background: none; font-size: 1.8rem; cursor: pointer; color: var(--muted); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin-top: 1rem; }
.form-grid .full { grid-column: 1 / -1; }
.time-sel { padding-right: .4em; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; }
.summary { display: grid; gap: .35rem; background: var(--bg-alt); padding: .8rem 1rem; border-radius: 10px; margin-top: 1rem; }
.summary:empty { display: none; }
.summary strong { font-size: 1.15rem; }
.sum-row { display: flex; justify-content: space-between; gap: 1rem; font-size: .92rem; }
.sum-total { border-top: 1px solid var(--line); padding-top: .45rem; margin-top: .15rem; font-size: 1rem; }
.green { color: var(--ok); }
.flight { border: 1px dashed #cfb6cc; background: var(--accent-light); border-radius: 10px; padding: .7rem .9rem; }
.flight__label { font-size: .9rem; font-weight: 700; color: var(--ink); }
.flight p { margin: .2rem 0 .6rem; }
.flight__btn { cursor: pointer; background: #fff; }
.flight__preview { display: flex; align-items: center; gap: .8rem; margin-bottom: .6rem; }
.flight__preview img { height: 90px; width: auto; max-width: 70%; border-radius: 8px; border: 1px solid var(--line); object-fit: cover; }
.flight__pdf { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: .6rem .8rem; font-weight: 600; font-size: .9rem; }
.extras { border: 1px solid var(--line); border-radius: 10px; padding: .6rem .9rem .8rem; margin: 1rem 0 0; }
.extras legend { font-size: .8rem; font-weight: 700; color: var(--muted); padding: 0 .3rem; }
.extra { display: flex; align-items: center; gap: .6rem; padding: .35rem 0; cursor: pointer; font-size: .95rem; }
.extra input { width: 18px; height: 18px; accent-color: var(--ink); flex: none; }
.extra small { margin-left: auto; color: var(--muted); white-space: nowrap; }
.ins .extra { align-items: flex-start; padding: .45rem 0; }
.ins .extra input { margin-top: .2rem; }
.ins-desc { color: var(--muted); font-size: .82rem; white-space: normal !important; margin-left: 0 !important; }
.book-gallery { display: flex; gap: .5rem; overflow-x: auto; scroll-snap-type: x mandatory; margin: -.4rem -.4rem 1rem; padding: .4rem; }
.book-gallery img { height: 170px; width: auto; aspect-ratio: 16/10; object-fit: cover; border-radius: 10px; scroll-snap-align: start; flex: none; }
.book-gallery img:only-child { width: 100%; height: 200px; }
.badge--photos { left: auto; right: .7rem; background: rgba(0,0,0,.6); }
.promo { display: inline-block; background: var(--accent-light); border: 1px solid #e6cbe3; color: var(--accent); font-weight: 600; font-size: .9rem; padding: .45rem .9rem; border-radius: 99px; margin-top: .6rem; }
.form-error { color: var(--danger); font-weight: 600; min-height: 1em; margin: .6rem 0 0; }
.modal__actions { display: flex; justify-content: flex-end; gap: .6rem; margin-top: 1rem; }
.modal__actions--center { justify-content: center; flex-wrap: wrap; }
.ok-code { background: var(--ink); color: #fff; border-radius: 12px; padding: .8rem 1rem; margin: .5rem auto 1rem; max-width: 280px; }
.ok-code span { display: block; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-soft); }
.ok-code b { font-size: 1.7rem; letter-spacing: .06em; }
.ok-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--ok); color: #fff; font-size: 2rem; display: grid; place-items: center; margin: 0 auto 1rem; }

/* ---------- móvil ---------- */
@media (max-width: 860px) {
  .menu-btn { display: block; }
  .nav { position: absolute; top: 72px; left: 0; right: 0; background: #fff; flex-direction: column; gap: 0; border-bottom: 1px solid var(--line); display: none; }
  .nav--open { display: flex; }
  .nav a { padding: 1rem 4%; border-top: 1px solid var(--line); }
  .header__actions { margin-left: auto; }
  .header__actions .btn { display: none; }
  .brand img { height: 36px; }
  .steps, .two-col { grid-template-columns: 1fr; }
  .tr-services { grid-template-columns: 1fr 1fr; }
  .tr-main { grid-template-columns: 1fr; }
  .tr-gallery { height: 240px; }
}
@media (max-width: 560px) {
  .tr-actions .btn { flex: 1 1 100%; }
  .tr-services { grid-template-columns: 1fr 1fr; gap: .6rem; }
  .tr-svc { padding: .85rem; }
  .tr-svc h3 { font-size: .92rem; }
  .tr-svc p { font-size: .8rem; }
  .tr-ico { font-size: 1.4rem; margin-bottom: .3rem; }
  .hero__ctas { grid-template-columns: 1fr; }
  .tr-form { padding: 1.1rem; }
  .search { grid-template-columns: 1fr 1fr; padding: .8rem; gap: .6rem; }
  .search input { padding: .7em .5em; font-size: .95rem; }
  .search .btn { grid-column: 1 / -1; }
  .form-grid { grid-template-columns: 1fr; }
}

/* ---------- portada: el transporte es lo principal ---------- */
.hero--tr { position: relative; isolation: isolate; padding: clamp(3rem, 8vw, 6rem) 0 clamp(2.5rem, 6vw, 4.5rem);
  background: linear-gradient(90deg, rgba(0, 0, 0, .45) 0%, rgba(0, 0, 0, .25) 60%, rgba(0, 0, 0, .15) 100%), url(/img/fondos/playa-orilla.jpg) center / cover no-repeat fixed, #0c3a4a; }
.hero--tr .tr-head { max-width: 680px; }
.hero--tr h1 { font-size: clamp(2.1rem, 5.5vw, 3.6rem); max-width: 14ch; margin-bottom: .7rem; }
.hero--tr .tr-head > p { font-size: 1.15rem; max-width: 52ch; }
.tr-cta { background: var(--accent); color: #fff; }
.tr-cta:hover { background: var(--accent-dark); }
.tr-trust { list-style: none; padding: 0; margin: 1.2rem 0 .4rem; display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; color: #e6eaf1; font-size: .92rem; }
.tr-trust li::before { content: "✓ "; color: #7be0a1; font-weight: 800; }
.hero--tr .tr-toggle { color: var(--accent-soft); font-weight: 700; padding: .4rem 0; background: none; }
.hero--tr .tr-toggle:hover { background: none; text-decoration: underline; }
.rent-band { background: var(--bg-alt); padding: clamp(2rem, 5vw, 3rem) 0; border-bottom: 1px solid var(--line); }
.rent-band__inner { display: grid; grid-template-columns: 1fr 1.3fr; gap: 1.5rem 2.5rem; align-items: center; }
.rent-band h2 { margin: .2rem 0 .4rem; }
.rent-band .search { max-width: none; }
.rent-kicker { font-size: .8rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
@media (max-width: 860px) { .rent-band__inner { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .hero--tr h1 { font-size: 2.15rem; }
  .hero--tr .tr-head > p { font-size: 1.02rem; }
}

/* ---------- páginas separadas ---------- */
.nav a.nav--on { color: var(--accent); font-weight: 700; }
.footer__nav { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; }
.footer__nav a { color: inherit; opacity: .85; text-decoration: none; font-size: .9rem; }
.footer__nav a:hover { opacity: 1; text-decoration: underline; }
body[data-page] { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
body[data-page] > main { flex: 1 0 auto; }
body[data-page] > main > section:not([hidden]):last-of-type { padding-bottom: clamp(3rem, 7vw, 5rem); }
body[data-page="resenas"] > main, body[data-page="como-funciona"] > main { background: var(--bg-alt); }

/* ---------- Nosotros ---------- */
.ab-hero { color: #fff; padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(2.5rem, 6vw, 4rem);
  background: linear-gradient(110deg, rgba(14, 22, 36, .95), rgba(60, 10, 56, .78)), url(/img/transporte/coaster-3.jpg) center / cover no-repeat; }
.ab-hero h1 { font-size: clamp(2.1rem, 5.5vw, 3.4rem); margin: .2rem 0 .8rem; }
.ab-lead { font-size: clamp(1.05rem, 2.2vw, 1.25rem); color: #e3e8f0; max-width: 62ch; margin: 0; }
.ab-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; margin-top: 1.8rem; max-width: 720px; }
.ab-facts div { background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--radius); padding: .9rem 1rem; }
.ab-facts b { display: block; font-size: 1.45rem; }
.ab-facts span { color: #cfd6e2; font-size: .88rem; }
.ab-intro { max-width: 760px; font-size: 1.06rem; color: #33404f; }
.ab-strong { font-weight: 700; color: var(--accent); font-size: 1.15rem; }
.ab-mv { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-top: 2rem; }
.ab-card { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--accent); border-radius: 18px; padding: 1.6rem; box-shadow: var(--shadow); }
.ab-card h2 { margin: .3rem 0 .6rem; font-size: 1.4rem; }
.ab-card p { color: #3d4a5c; margin: 0 0 .7rem; }
.ab-card--dark { background: var(--ink); color: #fff; border-top-color: var(--accent-soft); }
.ab-card--dark p { color: #d3dae6; }
.ab-ico { font-size: 1.8rem; }
.ab-story { max-width: 800px; }
.ab-story p { font-size: 1.04rem; color: #33404f; }
.ab-story p:first-of-type::first-letter { font-size: 2.6em; font-weight: 800; float: left; line-height: .9; margin: .08em .12em 0 0; color: var(--accent); }
.ab-vals { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-top: 1rem; }
.ab-val { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem; }
.ab-val span { font-size: 1.7rem; }
.ab-val h3 { margin: .4rem 0 .3rem; font-size: 1.05rem; color: var(--accent); }
.ab-val p { margin: 0; color: #4a5668; font-size: .93rem; }
.ab-slogan { margin-top: 2.5rem; text-align: center; background: linear-gradient(120deg, var(--accent), #3c0a38); color: #fff; border-radius: 20px; padding: clamp(1.6rem, 4vw, 2.6rem); }
.ab-slogan p { font-size: clamp(1.3rem, 3.5vw, 2rem); font-weight: 800; font-style: italic; margin: 0 0 1.2rem; }
.ab-slogan .btn { background: #fff; color: var(--accent); }
@media (max-width: 860px) { .ab-mv { grid-template-columns: 1fr; } .ab-vals { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ab-facts { grid-template-columns: 1fr 1fr 1fr; gap: .5rem; } .ab-facts div { padding: .7rem .6rem; } .ab-facts b { font-size: 1.1rem; } .ab-facts span { font-size: .75rem; } .ab-vals { gap: .6rem; } .ab-val { padding: .9rem; } }
.nav a { white-space: nowrap; }
@media (min-width: 861px) and (max-width: 1320px) { .nav { gap: .95rem; } .nav a { font-size: .92rem; } }
@media (min-width: 861px) and (max-width: 1080px) { .nav { gap: .7rem; } .nav a { font-size: .84rem; } .brand img { height: 34px; } .header__actions .btn { display: none; } }

/* ---------- unidades de transporte ---------- */
.tr-units-wrap { margin: 0 0 2.2rem; }
.tr-units-title { font-size: 1.4rem; margin: 0 0 1rem; }
.tr-units { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.1rem; }
.tr-units--one { grid-template-columns: minmax(0, 720px); }
.unit-card { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; }
.unit-card__photo { aspect-ratio: 16 / 9; background: rgba(255, 255, 255, .06); display: grid; place-items: center; font-size: 3rem; }
.unit-card__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.unit-card__thumbs { display: flex; gap: .35rem; padding: .45rem .6rem 0; overflow-x: auto; }
.unit-card__thumbs button { flex: none; width: 62px; height: 42px; padding: 0; border: 2px solid transparent; border-radius: 7px; overflow: hidden; cursor: pointer; background: none; opacity: .7; }
.unit-card__thumbs button.on { border-color: var(--accent-soft); opacity: 1; }
.unit-card__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.unit-card__body { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.unit-card__body h3 { margin: 0; font-size: 1.2rem; }
.unit-card__body p { margin: 0; color: #cfd6e2; font-size: .95rem; }
.unit-card__chips { display: flex; flex-wrap: wrap; gap: .35rem; }
.unit-card__chips span { background: rgba(255, 255, 255, .1); border-radius: 99px; padding: .25em .7em; font-size: .82rem; font-weight: 600; }
.unit-card__btn { margin-top: auto; align-self: flex-start; background: var(--accent); }
.q-hint { color: #8a6100; font-weight: 600; font-size: .78rem; }

/* ---------- unidades visibles en la portada ---------- */
.tr-units-wrap--top { margin: 2.2rem 0 0; }
.hero--tr .tr-head { margin-bottom: 0; }

/* ---------- franja de alquiler (tarjeta destacada) ---------- */
.rent-band { background: var(--bg-alt); padding-top: clamp(2rem, 5vw, 3rem); padding: 0 0 clamp(2.5rem, 6vw, 4rem); border-bottom: 0; }
.rent-card { display: grid; grid-template-columns: 1.05fr 1fr; background: #fff; border-radius: 24px; overflow: hidden; box-shadow: 0 24px 60px rgba(20, 35, 54, .22); border: 1px solid var(--line); position: relative; }
.rent-card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 6px; background: linear-gradient(180deg, var(--accent), #e0a800); }
.rent-card__text { padding: clamp(1.5rem, 4vw, 2.6rem); display: flex; flex-direction: column; gap: .7rem; }
.rent-card__text h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); margin: 0; line-height: 1.1; }
.rent-card__sub { color: var(--muted); margin: 0; font-size: 1.05rem; }
.rent-kicker { display: inline-block; align-self: flex-start; background: var(--accent-light); color: var(--accent); border-radius: 99px; padding: .3em .85em; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.rent-perks { list-style: none; padding: 0; margin: .2rem 0 .4rem; display: grid; gap: .35rem; }
.rent-perks li { font-weight: 600; color: #2b3a4e; }
.rent-perks li::before { content: "✓"; display: inline-grid; place-items: center; width: 1.35em; height: 1.35em; margin-right: .5rem; border-radius: 50%; background: #d9f2e3; color: #146c3a; font-size: .8em; font-weight: 900; }
.rent-search { box-shadow: none; border: 1px solid var(--line); background: var(--bg-alt); max-width: none; }
.rent-all { align-self: flex-start; font-weight: 700; color: var(--accent); text-decoration: none; }
.rent-all:hover { text-decoration: underline; }
.rent-card__show { position: relative; background: linear-gradient(140deg, var(--ink), #3c0a38); padding: 1.1rem; display: flex; }
.rent-show__grid { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; flex: 1; }
.rent-show__grid[data-n="1"] { grid-template-columns: 1fr; }
.rent-show__grid[data-n="3"] .rent-pic:first-child { grid-row: span 2; }
.rent-pic { position: relative; border-radius: 14px; overflow: hidden; min-height: 130px; display: block; background: rgba(255, 255, 255, .08); }
.rent-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.rent-pic:hover img { transform: scale(1.04); }
.rent-pic span { position: absolute; left: .5rem; bottom: .5rem; background: rgba(0, 0, 0, .6); color: #fff; font-size: .75rem; font-weight: 700; border-radius: 6px; padding: .15em .5em; }
.rent-show__badge { position: absolute; z-index: 2; top: -14px; right: 18px; background: #ffc83d; color: var(--ink); border-radius: 16px; padding: .5rem .9rem; text-align: center; line-height: 1.05; box-shadow: 0 10px 24px rgba(0, 0, 0, .25); transform: rotate(3deg); }
.rent-show__badge b { display: block; font-size: 1.35rem; }
.rent-show__badge small { font-size: .72rem; font-weight: 700; }
@media (max-width: 860px) {
  .rent-card { grid-template-columns: 1fr; }
  .rent-card__show { order: -1; padding: .8rem; }
  .rent-show__grid { grid-template-columns: repeat(4, 62%); overflow-x: auto; scroll-snap-type: x mandatory; }
  .rent-show__grid[data-n="3"] .rent-pic:first-child { grid-row: auto; }
  .rent-pic { min-height: 150px; scroll-snap-align: start; }
  .rent-show__badge { top: .6rem; right: .6rem; }
}
/* Una sola unidad: foto a la izquierda y datos a la derecha en pantallas grandes */
@media (min-width: 861px) {
  .tr-units--one { grid-template-columns: 1fr; }
  .tr-units--one .unit-card { display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: 1fr auto; grid-template-areas: "photo body" "thumbs body"; }
  .tr-units--one .unit-card__photo { grid-area: photo; aspect-ratio: auto; min-height: 300px; }
  .tr-units--one .unit-card__thumbs { grid-area: thumbs; padding-bottom: .6rem; }
  .tr-units--one .unit-card__body { grid-area: body; padding: 1.6rem 1.6rem 1.6rem 1.4rem; justify-content: center; }
  .tr-units--one .unit-card__body h3 { font-size: 1.6rem; }
  .tr-units--one .unit-card__btn { margin-top: .6rem; }
}
/* Botones morados sobre el fondo morado: un tono más claro y borde para que resalten */
.hero--tr .tr-cta, .hero--tr .unit-card__btn { background: #8a2581; box-shadow: 0 0 0 1px rgba(255, 255, 255, .28) inset, 0 6px 18px rgba(0, 0, 0, .25); }
.hero--tr .tr-cta:hover, .hero--tr .unit-card__btn:hover { background: #a1309a; }

/* Fondo de playa: imagen liviana en teléfonos */
@media (max-width: 700px) {
  .hero--tr { background: linear-gradient(180deg, rgba(0, 0, 0, .4), rgba(0, 0, 0, .3)), url(/img/fondos/playa-orilla-sm.jpg) 38% center / cover no-repeat, #0c3a4a; }
}
.hero--tr h1, .hero--tr .tr-kicker, .hero--tr .tr-trust, .hero--tr .tr-units-title, .hero--tr .tr-toggle { text-shadow: 0 2px 14px rgba(0, 0, 0, .55); }
.hero--tr .unit-card { background: rgba(8, 24, 36, .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
