/* =========================================================
   TOUREVO — /cotizador/ & /pago/ page styles
   Reuses design tokens from styles.css
   ========================================================= */

.page-plain {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.page-plain main { flex: 1 0 auto; }

.page-hero {
  padding: clamp(7rem, 14vh, 10rem) 0 clamp(2.5rem, 6vh, 4rem);
}
.page-title {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.05;
  color: #fff;
  letter-spacing: -0.02em;
  margin: .8rem 0 .6rem;
}
.page-title em {
  font-style: italic;
  background: linear-gradient(90deg, #fbbf24, #f97316);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.page-sub {
  color: rgba(255,255,255,.75);
  font-size: 1.05rem;
  max-width: 56ch;
  line-height: 1.6;
}

.primary-nav .active { color: var(--gold-soft); }

.card-surface {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 3vw, 2rem);
  box-shadow: var(--shadow-md);
  color: var(--ink);
}

/* =============================
   COTIZADOR
   ============================= */

.wizard-section {
  padding: 0 0 6rem;
}
.wizard-section .container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 2rem;
}
@media (max-width: 900px) {
  .wizard-section .container { grid-template-columns: 1fr; }
}

.wiz-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: .5rem;
  padding: 0;
  margin: 0 0 1.5rem;
  grid-column: 1 / -1;
}
.wiz-steps li {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .75rem 1rem;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 999px;
  color: rgba(255,255,255,.6);
  font-size: .88rem;
  cursor: pointer;
  transition: all .25s ease;
}
.wiz-steps li span {
  display: inline-grid;
  place-items: center;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  font-weight: 700;
  font-size: .85rem;
}
.wiz-steps li.done {
  color: rgba(255,255,255,.85);
  border-color: rgba(52,211,153,.4);
}
.wiz-steps li.done span { background: var(--emerald); color: #fff; }
.wiz-steps li.active {
  color: #fff;
  background: linear-gradient(90deg, rgba(251,191,36,.18), rgba(249,115,22,.18));
  border-color: rgba(251,191,36,.5);
}
.wiz-steps li.active span {
  background: linear-gradient(135deg, #fbbf24, #f97316);
  color: #0a1628;
}
@media (max-width: 720px) {
  .wiz-steps { grid-template-columns: repeat(5, 1fr); font-size: .7rem; }
  .wiz-steps li { padding: .5rem .4rem; justify-content: center; }
  .wiz-steps li b { display: none; }
}

.wiz-shell {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  box-shadow: var(--shadow-md);
  color: var(--ink);
}
.wiz-panel {
  border: 0;
  padding: 0;
  margin: 0;
  display: none;
}
.wiz-panel.active { display: block; }

.wiz-panel-title {
  font-family: 'Fraunces', serif;
  font-size: 1.6rem;
  font-weight: 500;
  margin: 0 0 .35rem;
}
.wiz-panel-sub {
  color: var(--muted);
  margin: 0 0 1.5rem;
}

.wiz-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1.25rem;
}
@media (max-width: 640px) {
  .wiz-grid { grid-template-columns: 1fr; }
}

.wiz-field {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  font-size: .92rem;
  color: var(--ink-soft);
}
.wiz-field > span {
  font-weight: 600;
  color: var(--ink);
}
.wiz-field > span em {
  font-style: normal;
  font-weight: 400;
  color: var(--muted);
}
.wiz-field input,
.wiz-field select,
.wiz-field textarea {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: .75rem .85rem;
  font: inherit;
  color: var(--ink);
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.wiz-field input:focus,
.wiz-field select:focus,
.wiz-field textarea:focus {
  outline: 0;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(251,191,36,.2);
}

.stepper {
  display: inline-grid;
  /* 44px min tap target per WCAG 2.5.5; desktop stays at 2.75rem */
  grid-template-columns: 2.75rem 4rem 2.75rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  overflow: hidden;
  width: fit-content;
}
.stepper button {
  background: #f6f4ef;
  border: 0;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  color: var(--ink);
  min-height: 44px;
  touch-action: manipulation;
  transition: background .15s ease;
}
.stepper button:hover { background: #ece7da; }
.stepper button:active { background: #dfd9c8; }
.stepper button:focus-visible {
  outline: 2px solid var(--emerald-deep, #10b981);
  outline-offset: -2px;
}
.stepper input {
  border: 0;
  text-align: center;
  font-weight: 700;
  color: var(--ink);
  background: #fff;
  width: 100%;
  padding: .55rem 0;
  min-height: 44px;
}
@media (max-width: 640px) {
  .stepper { grid-template-columns: 3rem 4.5rem 3rem; }
}

.wiz-checks,
.wiz-radios {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  margin: 0 0 1.25rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: .5rem .8rem;
}
.wiz-checks legend,
.wiz-radios legend {
  font-weight: 700;
  padding: 0 .4rem;
  font-size: .95rem;
  grid-column: 1 / -1;
  margin-bottom: .3rem;
}
.wiz-checks label,
.wiz-radios label {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .55rem .65rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background .15s;
  font-size: .92rem;
}
.wiz-checks label:hover,
.wiz-radios label:hover { background: #f7f4ec; }
.wiz-checks input:checked + span,
.wiz-radios input:checked + span { color: var(--emerald-deep); font-weight: 600; }
.wiz-checks label:has(input:checked),
.wiz-radios label:has(input:checked) {
  background: rgba(16,185,129,.06);
  border-color: rgba(16,185,129,.35);
}
.wiz-radios span { display: flex; flex-direction: column; }
.wiz-radios span small { color: var(--muted); font-size: .8rem; }

.wiz-tours {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: .85rem;
  margin-bottom: 1.25rem;
}
.wiz-tour-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .8rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: .9rem 1rem;
  cursor: pointer;
  transition: all .2s ease;
  background: #fff;
}
.wiz-tour-card:hover { border-color: var(--gold); box-shadow: var(--shadow-sm); }
.wiz-tour-card:has(input:checked) {
  border-color: var(--emerald);
  background: rgba(16,185,129,.04);
  box-shadow: 0 0 0 2px rgba(16,185,129,.15);
}
.wiz-tour-card input { margin-top: .2rem; }
.wiz-tour-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: .3rem;
}
.wiz-tour-head strong {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 1.05rem;
}
.wiz-tour-dur {
  font-size: .78rem;
  color: var(--muted);
  white-space: nowrap;
}
.wiz-tour-body p {
  color: var(--muted);
  font-size: .88rem;
  margin: 0 0 .5rem;
  line-height: 1.45;
}
.wiz-tour-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .85rem;
}
.wiz-tour-price { font-weight: 700; color: var(--ink); }
.wiz-tour-price em { font-weight: 400; color: var(--muted); font-style: normal; }
.wiz-tour-cat {
  text-transform: uppercase;
  font-size: .7rem;
  letter-spacing: .08em;
  color: var(--plum);
  background: rgba(124,58,237,.08);
  padding: .15rem .55rem;
  border-radius: 999px;
}

.wiz-custom {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .8rem;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  margin-bottom: 1rem;
  background: #faf8f3;
}
.wiz-custom strong { font-size: 1rem; }
.wiz-custom p { color: var(--muted); font-size: .88rem; margin: .3rem 0 .5rem; }
.wiz-custom textarea {
  width: 100%;
  padding: .55rem .7rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  font: inherit;
}
.wiz-custom-price {
  margin-top: .5rem;
  display: flex;
  flex-direction: column;
  gap: .3rem;
  font-size: .85rem;
}
.wiz-custom-price input {
  max-width: 160px;
  padding: .5rem .7rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
}
.chip-amedida {
  display: inline-block;
  background: linear-gradient(90deg, #fbbf24, #f97316);
  color: #0a1628;
  padding: .15rem .6rem;
  border-radius: 999px;
  font-size: .7rem;
  font-weight: 700;
  margin-left: .4rem;
}

.wiz-subtotal {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 1rem 1.2rem;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
  margin-bottom: .5rem;
}
.wiz-subtotal strong {
  font-family: 'Fraunces', serif;
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--gold-soft);
}
.wiz-disclaimer {
  color: var(--muted);
  font-size: .8rem;
  margin-bottom: 1rem;
}

.wiz-nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
}
.wiz-nav .btn-secondary,
.wiz-nav .btn-primary {
  flex: 0 0 auto;
  padding: .85rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  border: 0;
  font: inherit;
  font-size: .95rem;
}
.btn-primary {
  background: linear-gradient(90deg, #fbbf24, #f97316);
  color: #0a1628;
}
.btn-primary:hover { filter: brightness(1.05); }
.btn-secondary {
  background: #f1ede4;
  color: var(--ink);
}
.btn-secondary:hover { background: #e6e0d3; }

.wiz-summary {
  padding: 1.5rem;
  margin-bottom: 1.2rem;
}
.wiz-summary h3 {
  margin: 0 0 .6rem;
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 1.15rem;
}
.wiz-summary h3 + h3 { margin-top: 1rem; }
.wiz-sum-tours {
  list-style: none;
  padding: 0;
  margin: 0 0 .8rem;
}
.wiz-sum-tours li {
  display: flex;
  justify-content: space-between;
  padding: .5rem 0;
  border-bottom: 1px dashed var(--line);
  gap: 1rem;
}
.wiz-sum-tours li:last-child { border-bottom: 0; }
.wiz-sum-dl {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: .5rem 1.5rem;
  margin: 0;
}
.wiz-sum-dl > div {
  display: flex;
  justify-content: space-between;
  padding: .35rem 0;
  border-bottom: 1px dashed var(--line);
  gap: 1rem;
}
.wiz-sum-dl dt { color: var(--muted); font-size: .85rem; }
.wiz-sum-dl dd { margin: 0; font-weight: 600; text-align: right; font-size: .9rem; }

.wiz-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 1rem;
}
.btn-wa {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  background: #25D366;
  color: #fff !important;
  padding: .85rem 1.4rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  border: 0;
}
.btn-wa:hover { filter: brightness(1.05); }
.btn-wa-inline {
  display: inline-block;
  background: #25D366;
  color: #fff;
  padding: .55rem 1rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: .9rem;
  margin-top: .4rem;
}

.wiz-side {
  align-self: start;
  color: var(--ink);
}
.wiz-side h3 {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 1.3rem;
  margin: 0 0 .5rem;
}
.wiz-side p { color: var(--muted); margin: 0 0 .4rem; }
.wiz-side .small { font-size: .8rem; margin-top: 1rem; }
.wiz-side .small a { color: var(--emerald-deep); }

/* =============================
   PAGO
   ============================= */

.pay-section {
  padding: 0 0 6rem;
}
.pay-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 2rem;
}
@media (max-width: 960px) {
  .pay-shell { grid-template-columns: 1fr; }
}

.pay-form h2,
.pay-methods h2 {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 1.5rem;
  margin: 0 0 .4rem;
  color: var(--ink);
}
.pay-methods h2 { color: #fff; }

.pay-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1rem;
}
@media (max-width: 560px) {
  .pay-grid { grid-template-columns: 1fr; }
}

.pay-check {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .9rem;
  color: var(--ink-soft);
  margin-top: .75rem;
}
.pay-check a { color: var(--emerald-deep); text-decoration: underline; }

.pay-trust {
  margin-top: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
}
.badge-ssl {
  background: rgba(16,185,129,.08);
  color: var(--emerald-deep);
  padding: .4rem .8rem;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 600;
  border: 1px solid rgba(16,185,129,.25);
}

.pay-methods {
  color: #fff;
}
.pay-methods > p { color: rgba(255,255,255,.7); margin-top: .2rem; }

.pay-card {
  display: block;
  width: 100%;
  text-align: left;
  background: #fff;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.3rem;
  margin-top: .9rem;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
  color: var(--ink);
  font: inherit;
}
.pay-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(10,22,40,.18);
  border-color: var(--gold);
}
.pay-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: .5rem;
}
.pay-logo {
  display: flex;
  flex-direction: column;
  padding: .4rem .75rem;
  border-radius: var(--radius-sm);
  color: #fff;
  font-weight: 800;
}
.pay-logo small {
  display: block;
  font-weight: 400;
  font-size: .72rem;
  opacity: .85;
  margin-top: .1rem;
}
.pay-logo.webpay { background: linear-gradient(135deg, #d81e05, #ff6b1a); }
.pay-logo.mp     { background: linear-gradient(135deg, #009ee3, #00c2ff); }
.pay-logo.pp     { background: linear-gradient(135deg, #003087, #0070ba); }
.logo-w { font-family: 'Inter', sans-serif; letter-spacing: .02em; }
.pay-chevron {
  font-size: 1.3rem;
  color: var(--gold);
  font-weight: 700;
  transition: transform .2s;
}
.pay-card:hover .pay-chevron { transform: translateX(4px); }
.pay-card p {
  color: var(--muted);
  font-size: .88rem;
  margin: .2rem 0 .6rem;
  line-height: 1.45;
}
.pay-brands {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
}
.pay-brands span {
  background: #f5f2ec;
  color: var(--ink-soft);
  padding: .2rem .55rem;
  border-radius: 999px;
  font-size: .7rem;
  font-weight: 600;
}

.pay-help {
  margin-top: 1.5rem;
  padding: 1rem 1.1rem;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
}
.pay-help p { margin: 0; color: rgba(255,255,255,.85); }

/* Terms modal */
.pay-modal {
  position: fixed;
  inset: 0;
  background: rgba(10,22,40,.7);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 1rem;
}
.pay-modal[aria-hidden="false"] { display: flex; }
.pay-modal-dialog {
  background: #fff;
  border-radius: var(--radius-lg);
  max-width: 640px;
  width: 100%;
  max-height: 80vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.pay-modal-dialog header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 1.4rem;
  border-bottom: 1px solid var(--line);
}
.pay-modal-dialog h3 {
  margin: 0;
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 1.2rem;
}
.pay-modal-close {
  background: transparent;
  border: 0;
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
}
.pay-modal-body {
  padding: 1.4rem;
  overflow: auto;
  color: var(--ink-soft);
  line-height: 1.6;
}
.pay-modal-body p { margin: 0 0 1rem; }

/* ===== Small util overrides ===== */
.muted { color: var(--muted); }

/* ===== Payment tile selected ===== */
.payment-method {
  cursor: pointer;
  position: relative;
  transition: transform .15s ease, box-shadow .15s ease, border-color .2s;
}
.payment-method.selected {
  border-color: var(--emerald) !important;
  box-shadow: 0 0 0 3px rgba(16,185,129,.2), 0 18px 40px rgba(10,22,40,.18) !important;
  transform: translateY(-2px);
}
.payment-method.selected::after {
  content: '✓';
  position: absolute;
  top: .75rem;
  right: .75rem;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background: var(--emerald);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: .85rem;
}
.payment-method.selected .pay-chevron { display: none; }

.pay-logo.gp { background: linear-gradient(135deg, #4285f4, #34a853); }

/* ===== Main pay button ===== */
.btn-pay {
  margin-top: 1rem;
  width: 100%;
  padding: 1rem 1.4rem;
  border-radius: 999px;
  font-size: 1rem;
  border: 0;
  cursor: pointer;
  font-weight: 700;
  position: relative;
}
.btn-pay:disabled { opacity: .7; cursor: wait; }
.btn-pay.loading .btn-text::after {
  content: '';
  display: inline-block;
  width: .9rem;
  height: .9rem;
  margin-left: .5rem;
  border: 2px solid rgba(10,22,40,.3);
  border-top-color: #0a1628;
  border-radius: 50%;
  animation: payspin 0.7s linear infinite;
  vertical-align: -2px;
}
@keyframes payspin { to { transform: rotate(360deg); } }

/* ===== Status message ===== */
.status-message {
  display: none;
  padding: .85rem 1.1rem;
  border-radius: var(--radius);
  margin: 1rem 0 .2rem;
  font-size: .92rem;
  line-height: 1.5;
  border: 1px solid transparent;
}
.status-message.success {
  display: block;
  background: rgba(16,185,129,.08);
  color: var(--emerald-deep);
  border-color: rgba(16,185,129,.3);
}
.status-message.error {
  display: block;
  background: rgba(225,29,72,.08);
  color: var(--rose);
  border-color: rgba(225,29,72,.3);
}
.status-message.info {
  display: block;
  background: rgba(59,130,246,.08);
  color: #1e40af;
  border-color: rgba(59,130,246,.3);
}

/* ===== PayPal / Google Pay containers ===== */
#paypal-button-container { display: none; margin-top: 1rem; min-height: 45px; }
#googlepay-button-container { display: none; margin-top: 1rem; min-height: 45px; }
#googlepay-button-container.active { display: block; }
#googlepay-button-container button,
#googlepay-button-container .gpay-button {
  width: 100% !important;
  min-height: 48px;
}

.paypal-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: 1rem;
  color: var(--muted);
  font-size: .9rem;
}
.paypal-spinner {
  width: 1.2rem;
  height: 1.2rem;
  border: 3px solid rgba(10,22,40,.1);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: payspin 0.7s linear infinite;
}

/* Ensure textarea picks up styles */
.wiz-field textarea {
  font-family: inherit;
  resize: vertical;
  min-height: 70px;
}
.wiz-field small.muted {
  font-size: .75rem;
  color: var(--muted);
  margin-top: .25rem;
}

/* ------------------------------------------------------------
   Static content pages (SEO landing & policy pages)
   ------------------------------------------------------------ */
.content-section {
  padding: 2rem 0 5rem;
}
.content-section .container {
  max-width: 880px;
}
.content-prose {
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(15, 60, 50, .08);
  border-radius: 18px;
  padding: 2.25rem 2.5rem;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(6px);
}
.content-prose h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  margin: 2rem 0 .75rem;
  color: var(--emerald-deep);
}
.content-prose h2:first-child { margin-top: 0; }
.content-prose h3 {
  font-size: 1.1rem;
  margin: 1.5rem 0 .5rem;
  color: var(--ink);
}
.content-prose p,
.content-prose li {
  color: var(--ink);
  line-height: 1.7;
  font-size: 1rem;
}
.content-prose p { margin: .5rem 0 1rem; }
.content-prose ul,
.content-prose ol {
  margin: .5rem 0 1.25rem 1.25rem;
  padding-left: .25rem;
}
.content-prose li { margin: .35rem 0; }
.content-prose a {
  color: var(--emerald-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.content-prose a:hover { color: var(--gold); }
.content-prose strong { color: var(--ink); }
.content-cta {
  margin-top: 2rem;
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
}
.content-cta .btn-primary,
.content-cta .btn-secondary { text-decoration: none; }
.content-meta {
  font-size: .85rem;
  color: var(--muted);
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(15, 60, 50, .08);
}
@media (max-width: 600px) {
  .content-prose { padding: 1.5rem 1.25rem; }
}

/* ============================================================
   LANDING PAGES — premium hero + sections (lp-*)
   Used by /turismo-receptivo-.../, /private-tours-.../ etc.
   ============================================================ */

/* ── HERO with background image ─────────────────────────── */
.lp-hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  padding: 9rem 0 5rem;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
}
.lp-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: var(--lp-hero-img, none);
  background-size: cover;
  background-position: center;
  z-index: -2;
  transform: scale(1.04);
}
.lp-hero::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,22,40,.78) 0%, rgba(10,22,40,.55) 35%, rgba(10,22,40,.85) 100%),
    radial-gradient(ellipse at 75% 30%, rgba(251,191,36,.18), transparent 60%);
  z-index: -1;
}
.lp-hero .container { max-width: 1140px; }
.lp-hero-grid {
  display: grid;
  gap: 3rem;
  grid-template-columns: 1.2fr .8fr;
  align-items: center;
}
@media (max-width: 900px) {
  .lp-hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .lp-hero { min-height: auto; padding: 7rem 0 3.5rem; }
}
.lp-hero .kicker {
  display: inline-flex; align-items: center; gap: .6rem;
  color: rgba(255,255,255,.7);
  font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 1rem;
}
.lp-hero .kicker-line {
  width: 36px; height: 1px;
  background: rgba(255,255,255,.4);
}
.lp-hero h1 {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: clamp(2.2rem, 4.6vw, 3.8rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 1.2rem;
}
.lp-hero h1 em {
  font-style: italic;
  background: linear-gradient(90deg, #fbbf24, #f97316);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lp-hero-lead {
  color: rgba(255,255,255,.82);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.65;
  max-width: 56ch;
  margin: 0 0 2rem;
}
.lp-hero-cta {
  display: flex; gap: .8rem; flex-wrap: wrap;
}
.lp-hero-cta .btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600; font-size: 15px;
  text-decoration: none;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
}
.lp-hero-cta .btn-primary {
  background: linear-gradient(90deg, var(--emerald), var(--emerald-deep));
  color: #fff;
  box-shadow: 0 12px 30px rgba(16,185,129,.35);
}
.lp-hero-cta .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(16,185,129,.45);
}
.lp-hero-cta .btn-outline {
  background: rgba(255,255,255,.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,.3);
  backdrop-filter: blur(6px);
}
.lp-hero-cta .btn-outline:hover {
  background: rgba(255,255,255,.16);
  border-color: rgba(255,255,255,.5);
}
.lp-hero-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 20px;
  padding: 1.75rem;
  backdrop-filter: blur(14px);
}
.lp-hero-card h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.25rem;
  margin: 0 0 .85rem;
  color: #fff;
}
.lp-hero-card ul { list-style: none; padding: 0; margin: 0; }
.lp-hero-card li {
  display: flex; align-items: center; gap: .65rem;
  color: rgba(255,255,255,.88);
  font-size: .95rem; line-height: 1.5;
  padding: .55rem 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.lp-hero-card li:last-child { border-bottom: none; }
.lp-hero-card li svg {
  width: 18px; height: 18px;
  color: var(--gold-soft);
  flex-shrink: 0;
}

/* ── Trust strip below hero ─────────────────────────────── */
.lp-trust {
  background: var(--bg-deep);
  color: rgba(255,255,255,.85);
  padding: 1.6rem 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.lp-trust ul {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1.5rem;
  text-align: center;
}
.lp-trust li { display: flex; flex-direction: column; gap: .15rem; }
.lp-trust strong {
  font-family: 'Fraunces', serif;
  font-size: 1.5rem;
  color: var(--gold-soft);
  font-weight: 500;
}
.lp-trust span {
  font-size: 11px; letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
}

/* ── Section base ───────────────────────────────────────── */
.lp-section {
  padding: clamp(4rem, 9vh, 7rem) 0;
  position: relative;
}
.lp-section.alt { background: var(--surface-alt); }
.lp-section.dark {
  background: var(--bg);
  color: #fff;
}
.lp-section .container { max-width: 1140px; }
.lp-section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}
.lp-section-head .kicker {
  display: inline-flex; align-items: center; gap: .6rem;
  color: var(--emerald-deep);
  font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
  font-weight: 600;
  margin-bottom: .8rem;
}
.lp-section.dark .lp-section-head .kicker { color: var(--gold-soft); }
.lp-section-head .kicker-line {
  width: 28px; height: 1px;
  background: var(--emerald-deep);
}
.lp-section.dark .lp-section-head .kicker-line { background: var(--gold-soft); }
.lp-section-head h2 {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 .8rem;
  color: var(--ink);
}
.lp-section.dark .lp-section-head h2 { color: #fff; }
.lp-section-head h2 em {
  font-style: italic;
  color: var(--emerald-deep);
}
.lp-section.dark .lp-section-head h2 em {
  background: linear-gradient(90deg, #fbbf24, #f97316);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lp-section-head p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
  margin: 0;
}
.lp-section.dark .lp-section-head p { color: rgba(255,255,255,.7); }

/* ── Feature grid (3 cards: icon + title + text) ─────── */
.lp-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.lp-feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.75rem;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.lp-feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--emerald);
}
.lp-feature-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(16,185,129,.12), rgba(251,191,36,.12));
  display: grid; place-items: center;
  color: var(--emerald-deep);
  margin-bottom: 1.1rem;
}
.lp-feature-icon svg { width: 22px; height: 22px; }
.lp-feature h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.2rem;
  font-weight: 500;
  margin: 0 0 .6rem;
  color: var(--ink);
}
.lp-feature p {
  color: var(--ink-soft);
  font-size: .95rem;
  line-height: 1.6;
  margin: 0;
}

/* ── Tour catalog grid (/en/ and /br/ home) ────────────── */
.lp-tour-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.lp-tour-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.lp-tour-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--emerald);
}
.lp-tour-card--featured {
  border-color: var(--amber, #fbbf24);
  box-shadow: 0 0 0 1px var(--amber, #fbbf24) inset;
}
.lp-tour-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #0a1628;
  padding: .3rem .6rem;
  border-radius: 999px;
}
.lp-tour-card-media {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--surface-alt, #f4f4f1);
}
.lp-tour-card-media picture,
.lp-tour-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s var(--ease);
}
.lp-tour-card:hover .lp-tour-card-media img { transform: scale(1.04); }
.lp-tour-card-cat {
  position: absolute;
  bottom: 10px;
  left: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: rgba(10, 22, 40, .72);
  color: #fff;
  padding: .3rem .55rem;
  border-radius: 4px;
  backdrop-filter: blur(4px);
}
.lp-tour-card-body {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  padding: 1.2rem 1.25rem 1.35rem;
  flex: 1;
}
.lp-tour-card-body h3 {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 1.15rem;
  line-height: 1.25;
  margin: 0;
  color: var(--ink);
}
.lp-tour-card-loc {
  font-size: .85rem;
  color: var(--muted, #64748b);
  letter-spacing: .2px;
  margin: 0;
}
.lp-tour-card-desc {
  font-size: .9rem;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
  flex: 1;
}
.lp-tour-card-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: .4rem .8rem;
  padding-top: .6rem;
  border-top: 1px dashed var(--line);
  font-size: .85rem;
}
.lp-tour-card-dur { color: var(--ink-soft); }
.lp-tour-card-price { color: var(--ink); }
.lp-tour-card-price strong { font-weight: 700; color: var(--ink); }
.lp-tour-card-price em { font-style: normal; font-size: .75rem; color: var(--muted, #64748b); }
.lp-tour-card-cta {
  display: flex;
  gap: .6rem;
  margin-top: .3rem;
}
.lp-tour-card-cta .btn {
  flex: 1;
  justify-content: center;
  text-align: center;
}
@media (max-width: 480px) {
  .lp-tour-card-cta { flex-direction: column; }
}

/* ── Image mosaic (3 photos) ──────────────────────────── */
.lp-mosaic {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1rem;
  margin-top: 3rem;
}
@media (max-width: 760px) {
  .lp-mosaic { grid-template-columns: 1fr 1fr; }
  .lp-mosaic figure:first-child { grid-column: 1 / -1; }
}
.lp-mosaic figure {
  position: relative;
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--bg);
}
.lp-mosaic figure:first-child { aspect-ratio: 16/12; }
.lp-mosaic img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease-out);
}
.lp-mosaic figure:hover img { transform: scale(1.05); }
.lp-mosaic figcaption {
  position: absolute; left: 14px; bottom: 14px;
  color: #fff;
  font-size: .8rem;
  font-weight: 500;
  text-shadow: 0 2px 8px rgba(0,0,0,.7);
  background: rgba(0,0,0,.35);
  backdrop-filter: blur(4px);
  padding: .35rem .7rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.15);
}

/* ── Steps (numbered process) ──────────────────────────── */
.lp-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  counter-reset: step;
}
.lp-step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.75rem;
  position: relative;
}
.lp-section.dark .lp-step {
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.1);
}
.lp-step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: 'Fraunces', serif;
  font-size: 2.2rem;
  font-weight: 400;
  color: var(--gold);
  display: block;
  margin-bottom: .6rem;
  line-height: 1;
}
.lp-step h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.15rem;
  font-weight: 500;
  margin: 0 0 .5rem;
  color: var(--ink);
}
.lp-section.dark .lp-step h3 { color: #fff; }
.lp-step p {
  color: var(--ink-soft);
  font-size: .95rem; line-height: 1.6;
  margin: 0;
}
.lp-section.dark .lp-step p { color: rgba(255,255,255,.7); }

/* ── Quote / testimonial card ──────────────────────────── */
.lp-quote {
  max-width: 760px;
  margin: 0 auto;
  padding: 2.5rem 2.25rem;
  background: linear-gradient(135deg, rgba(16,185,129,.06), rgba(251,191,36,.06));
  border: 1px solid rgba(16,185,129,.2);
  border-radius: 22px;
  text-align: center;
}
.lp-quote blockquote {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  line-height: 1.5;
  color: var(--ink);
  margin: 0 0 1.2rem;
}
.lp-quote cite {
  font-style: normal;
  color: var(--muted);
  font-size: .9rem;
  letter-spacing: .5px;
}

/* ── Final CTA banner ──────────────────────────────────── */
.lp-cta-band {
  position: relative;
  padding: 5rem 0;
  color: #fff;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.lp-cta-band::before {
  content: '';
  position: absolute; inset: 0;
  background-image: var(--lp-cta-img, none);
  background-size: cover;
  background-position: center;
  z-index: -2;
}
.lp-cta-band::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,22,40,.85), rgba(5,12,24,.92));
  z-index: -1;
}
.lp-cta-band h2 {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  line-height: 1.1;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}
.lp-cta-band h2 em {
  font-style: italic;
  background: linear-gradient(90deg, #fbbf24, #f97316);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lp-cta-band p {
  color: rgba(255,255,255,.8);
  font-size: 1.05rem;
  max-width: 56ch;
  margin: 0 auto 2rem;
  line-height: 1.6;
}
.lp-cta-band-actions {
  display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap;
}
.lp-cta-band .btn {
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600; font-size: 15px;
  text-decoration: none;
  display: inline-flex; align-items: center; gap: .5rem;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.lp-cta-band .btn-primary {
  background: linear-gradient(90deg, var(--emerald), var(--emerald-deep));
  color: #fff;
  box-shadow: 0 12px 30px rgba(16,185,129,.4);
}
.lp-cta-band .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(16,185,129,.55);
}
.lp-cta-band .btn-outline {
  background: rgba(255,255,255,.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,.3);
}
.lp-cta-band .btn-outline:hover {
  background: rgba(255,255,255,.16);
  border-color: rgba(255,255,255,.5);
}

/* ── Two-column split (text + image) ───────────────────── */
.lp-split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 3rem;
  align-items: center;
}
@media (max-width: 860px) {
  .lp-split { grid-template-columns: 1fr; gap: 2rem; }
}
.lp-split-img {
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 5/4;
  box-shadow: var(--shadow-lg);
}
.lp-split-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s var(--ease-out);
}
.lp-split-img:hover img { transform: scale(1.04); }
.lp-split h2 {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.15;
  margin: 0 0 1rem;
  color: var(--ink);
}
.lp-split h2 em { font-style: italic; color: var(--emerald-deep); }
.lp-split p {
  color: var(--ink-soft);
  font-size: 1rem; line-height: 1.7;
  margin: 0 0 1rem;
}
.lp-split ul {
  margin: 1.25rem 0;
  padding: 0;
  list-style: none;
}
.lp-split ul li {
  display: flex; align-items: flex-start; gap: .7rem;
  padding: .5rem 0;
  color: var(--ink-soft);
  line-height: 1.55;
}
.lp-split ul li svg {
  width: 18px; height: 18px;
  color: var(--emerald);
  flex-shrink: 0;
  margin-top: 3px;
}

/* ── FAQ accordion (using <details>) ───────────────────── */
.lp-faq-list { max-width: 820px; margin: 0 auto; }
.lp-faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-bottom: .75rem;
  overflow: hidden;
  transition: box-shadow .2s, border-color .2s;
}
.lp-faq-item[open] {
  border-color: var(--emerald);
  box-shadow: var(--shadow-sm);
}
.lp-faq-item summary {
  padding: 1.1rem 1.25rem;
  cursor: pointer;
  font-weight: 600;
  color: var(--ink);
  font-size: 1rem;
  list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem;
}
.lp-faq-item summary::-webkit-details-marker { display: none; }
.lp-faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--emerald-deep);
  transition: transform .25s var(--ease);
  flex-shrink: 0;
  font-weight: 300;
}
.lp-faq-item[open] summary::after { content: '−'; transform: rotate(0); }
.lp-faq-body {
  padding: 0 1.25rem 1.25rem;
  color: var(--ink-soft);
  line-height: 1.65;
  font-size: .97rem;
}
.lp-faq-body p { margin: 0 0 .75rem; }
.lp-faq-body p:last-child { margin-bottom: 0; }
.lp-faq-body a { color: var(--emerald-deep); text-decoration: underline; }
.lp-faq-body strong { color: var(--ink); }

/* ── Policy / legal layout (TOC + body) ────────────────── */
.lp-doc {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 3rem;
  max-width: 1080px;
  margin: 0 auto;
  align-items: start;
}
@media (max-width: 860px) {
  .lp-doc { grid-template-columns: 1fr; gap: 1.5rem; }
}
.lp-toc {
  position: sticky; top: 100px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.25rem 1.1rem;
  font-size: .9rem;
}
.lp-toc h4 {
  margin: 0 0 .8rem;
  font-family: 'Fraunces', serif;
  font-size: 1rem;
  color: var(--emerald-deep);
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.lp-toc ol {
  list-style: none; padding: 0; margin: 0;
  counter-reset: tocnum;
}
.lp-toc li {
  counter-increment: tocnum;
  margin: .1rem 0;
}
.lp-toc a {
  color: var(--ink-soft);
  text-decoration: none;
  display: block;
  padding: .35rem 0;
  border-left: 2px solid transparent;
  padding-left: .6rem;
  margin-left: -.6rem;
  transition: all .2s;
  font-size: .9rem;
}
.lp-toc a::before {
  content: counter(tocnum, decimal-leading-zero) "  ";
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: .75rem;
}
.lp-toc a:hover {
  color: var(--emerald-deep);
  border-left-color: var(--emerald);
  background: rgba(16,185,129,.04);
}
.lp-doc-body {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(2rem, 4vw, 3rem);
  box-shadow: var(--shadow-sm);
}
.lp-doc-body h2 {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 1.4rem;
  color: var(--emerald-deep);
  margin: 2.25rem 0 .75rem;
  scroll-margin-top: 100px;
}
.lp-doc-body h2:first-child { margin-top: 0; }
.lp-doc-body h2 .num {
  font-family: var(--font-mono);
  font-size: .8rem;
  color: var(--muted);
  margin-right: .6rem;
  letter-spacing: 2px;
}
.lp-doc-body h3 {
  font-size: 1.05rem;
  color: var(--ink);
  margin: 1.4rem 0 .5rem;
}
.lp-doc-body p,
.lp-doc-body li {
  color: var(--ink-soft);
  line-height: 1.7;
  font-size: 1rem;
}
.lp-doc-body p { margin: .5rem 0 1rem; }
.lp-doc-body ul, .lp-doc-body ol {
  margin: .5rem 0 1.25rem 1.25rem;
  padding-left: .25rem;
}
.lp-doc-body li { margin: .35rem 0; }
.lp-doc-body strong { color: var(--ink); }
.lp-doc-body a {
  color: var(--emerald-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── Cancellation tier table (visual) ──────────────────── */
.lp-tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}
.lp-tier {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.25rem;
  text-align: center;
}
.lp-tier .tier-pct {
  font-family: 'Fraunces', serif;
  font-size: 2.2rem;
  font-weight: 500;
  margin: 0 0 .25rem;
  background: linear-gradient(135deg, var(--emerald), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}
.lp-tier .tier-when {
  font-size: .85rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.lp-tier.tier-warn .tier-pct { background: linear-gradient(135deg, var(--coral), var(--rose)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ── Header default para landing pages ──── */
.primary-nav { display: inline-flex; gap: 1.4rem; align-items: center; }
.primary-nav a {
  color: var(--ink-soft);
  font-weight: 500; font-size: 14px;
  letter-spacing: .2px;
  transition: color .2s var(--ease);
}
.primary-nav a:hover { color: var(--emerald-deep); }

.lp-page .site-header {
  background: transparent;
  border-bottom: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.lp-page .site-header.is-stuck {
  background: rgba(10, 22, 40, .72);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: rgba(255,255,255,.08);
}
.lp-page .brand-name {
  background: linear-gradient(135deg, #fff, #e5e7eb);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lp-page .primary-nav a { color: rgba(255,255,255,.85); }
.lp-page .primary-nav a:hover { color: var(--gold-soft); }

@media (max-width: 720px) {
  .primary-nav { gap: .9rem; font-size: 13px; }
  .primary-nav a { font-size: 13px; }
}

/* ── Scroll reveal helper (already exists in styles.css but this resets default) ── */
.lp-reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.lp-reveal.in { opacity: 1; transform: none; }

/* ============================================================
   LANGUAGE SWITCHER (ES · EN · PT-BR)
   Used in navbar of every page across all language versions.
   ============================================================ */
.lang-switch {
  position: relative;
  margin-left: 1rem;
}
.lang-switch > summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .45rem .7rem;
  border: 1px solid rgba(15, 60, 50, .14);
  border-radius: 999px;
  background: rgba(255, 255, 255, .6);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink, #0a1628);
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: background .2s ease, border-color .2s ease;
}
.lang-switch > summary::-webkit-details-marker { display: none; }
.lang-switch > summary:hover {
  background: rgba(255, 255, 255, .9);
  border-color: rgba(15, 60, 50, .25);
}
.lang-switch > summary .flag {
  font-size: 15px;
  line-height: 1;
}
.lang-switch > summary .chev {
  width: 10px; height: 10px;
  transition: transform .2s ease;
}
.lang-switch[open] > summary .chev { transform: rotate(180deg); }
.lang-switch-menu {
  position: absolute;
  top: calc(100% + .5rem);
  right: 0;
  min-width: 180px;
  background: #fff;
  border: 1px solid rgba(15, 60, 50, .1);
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(10, 22, 40, .12);
  padding: .4rem;
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: .15rem;
}
.lang-switch-menu a {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .55rem .75rem;
  font-size: 13.5px;
  color: var(--ink, #0a1628);
  text-decoration: none;
  border-radius: 9px;
  transition: background .15s ease;
}
.lang-switch-menu a:hover { background: rgba(52, 211, 153, .08); }
.lang-switch-menu a.is-current {
  background: rgba(251, 191, 36, .12);
  font-weight: 600;
}
.lang-switch-menu a .flag { font-size: 16px; line-height: 1; }
.lang-switch-menu a .lbl-meta { font-size: 11px; color: var(--muted, #6b7a89); margin-left: auto; }

/* On the home/SPA page where header background is dark glass */
body:not(.lp-page) .lang-switch > summary {
  background: rgba(255, 255, 255, .08);
  color: #fff;
  border-color: rgba(255, 255, 255, .15);
}
body:not(.lp-page) .lang-switch > summary:hover {
  background: rgba(255, 255, 255, .14);
  border-color: rgba(255, 255, 255, .3);
}

@media (max-width: 720px) {
  .lang-switch { margin-left: .5rem; }
  .lang-switch > summary { padding: .4rem .55rem; font-size: 12px; }
  .lang-switch > summary .lbl-text { display: none; }
  .lang-switch-menu { right: -.5rem; }
}

/* =========================================================
   Cotizador UX — inline errors, autosave, loading, toast
   ========================================================= */

/* Inline field errors */
.wiz-field input.is-invalid,
.wiz-field textarea.is-invalid,
.wiz-field select.is-invalid,
.wiz-panel input.is-invalid,
.wiz-panel textarea.is-invalid,
.wiz-panel select.is-invalid {
  border-color: #dc2626 !important;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, .12);
}
.wiz-field-error {
  display: block;
  margin-top: .35rem;
  color: #b91c1c;
  font-size: .8rem;
  font-weight: 500;
  line-height: 1.3;
}
.wiz-field-error::before {
  content: "⚠ ";
  margin-right: .15rem;
}

/* Draft recovery banner */
.wiz-draft-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem;
  padding: .85rem 1rem;
  margin-bottom: 1rem;
  background: #fef9ec;
  border: 1px solid #f3d88a;
  border-radius: var(--radius-sm, 10px);
  color: #78500a;
  font-size: .9rem;
}
.wiz-draft-banner button { flex: 0 0 auto; padding: .45rem .9rem; font-size: .85rem; }
.btn-ghost {
  background: transparent;
  border: 1px solid transparent;
  color: var(--muted, #64748b);
  padding: .45rem .9rem;
  border-radius: 999px;
  cursor: pointer;
  font-size: .85rem;
  font-weight: 500;
}
.btn-ghost:hover { color: #b91c1c; text-decoration: underline; }

/* Discreet "Borrador guardado" indicator */
.wiz-draft-saved {
  display: inline-block;
  margin-left: .75rem;
  font-size: .8rem;
  color: #059669;
  opacity: 0;
  transform: translateY(-2px);
  transition: opacity .2s ease, transform .2s ease;
}
.wiz-draft-saved.is-shown { opacity: 1; transform: translateY(0); }

/* Toast */
.wiz-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 16px);
  background: #0f172a;
  color: #fff;
  padding: .85rem 1.25rem;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 500;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
  opacity: 0;
  pointer-events: none;
  z-index: 9000;
  transition: opacity .22s ease, transform .22s ease;
  max-width: min(90vw, 420px);
  text-align: center;
}
.wiz-toast.is-shown { opacity: 1; transform: translate(-50%, 0); }
.wiz-toast.is-success { background: #059669; }
.wiz-toast.is-error { background: #b91c1c; }

/* Loading-state buttons (disabled look + spinner) */
.btn-wa.is-loading,
.btn-primary.is-loading,
.btn-secondary.is-loading {
  position: relative;
  pointer-events: none;
  opacity: .75;
}
.btn-wa.is-loading::after,
.btn-primary.is-loading::after,
.btn-secondary.is-loading::after {
  content: "";
  position: absolute;
  right: .9rem;
  top: 50%;
  width: 14px; height: 14px;
  margin-top: -7px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: wiz-spin .7s linear infinite;
}
@keyframes wiz-spin { to { transform: rotate(360deg); } }

/* Primary-visual emphasis on WhatsApp submit (conversion path) */
.wiz-actions .btn-wa {
  order: -1;
  box-shadow: 0 6px 18px rgba(37, 211, 102, .28);
  padding-right: 2.4rem; /* space for optional spinner */
}

/* ============================================================
 * TOUR DETAIL PAGE (/tours/{id}/)
 * ============================================================ */

/* Breadcrumb sobre el hero */
.tour-breadcrumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-size: 12px; letter-spacing: 1.2px; text-transform: uppercase;
  color: rgba(255,255,255,.78); margin-bottom: 22px;
}
.tour-breadcrumb a {
  color: rgba(255,255,255,.78); text-decoration: none;
  transition: color .18s ease;
}
.tour-breadcrumb a:hover { color: #fff; }
.tour-breadcrumb span[aria-hidden] { color: rgba(255,255,255,.4); }

/* Chips de metadata en el hero */
.tour-hero-chips {
  list-style: none; padding: 0; margin: 22px 0 26px;
  display: flex; flex-wrap: wrap; gap: 8px 10px;
}
.tour-hero-chips li {
  padding: 6px 14px; border-radius: 999px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.22);
  color: #fff; font-size: 14px;
  backdrop-filter: blur(6px);
}
.tour-hero-chips li strong { color: #fff; font-weight: 600; }
.tour-hero-chips li.tour-hero-price {
  background: rgba(251,191,36,.22);
  border-color: rgba(251,191,36,.5);
}

.tour-hero-cta {
  display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px;
}
.tour-hero-cta .btn-outline {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.35);
  color: #fff;
  backdrop-filter: blur(6px);
}
.tour-hero-cta .btn-outline:hover {
  background: rgba(255,255,255,.2);
  border-color: #fff;
}

/* Callout de flexibilidad — prominente, warm verde */
.tour-flex-section { padding: 48px 0 24px; }
.tour-flex-callout {
  display: flex; gap: 22px; align-items: flex-start;
  background: linear-gradient(135deg, rgba(52,211,153,.12), rgba(251,191,36,.08));
  border: 1.5px solid rgba(52,211,153,.35);
  border-radius: 22px;
  padding: 32px 30px;
  max-width: 960px; margin: 0 auto;
}
.tour-flex-ico {
  flex-shrink: 0; width: 56px; height: 56px; border-radius: 50%;
  background: var(--emerald, #10b981); color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 8px 22px rgba(16,185,129,.28);
}
.tour-flex-ico svg { width: 32px; height: 32px; }
.tour-flex-callout h2 {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.2; margin: 0 0 12px; color: var(--ink);
}
.tour-flex-callout h2 em {
  font-style: normal; color: var(--emerald-deep, #047857);
  background: linear-gradient(120deg, #10b981, #fbbf24);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.tour-flex-callout p {
  margin: 0 0 10px; color: var(--ink-soft); line-height: 1.6;
  font-size: 16px;
}
.tour-flex-callout p:last-child { margin-bottom: 0; }
.tour-flex-sub { font-style: italic; color: var(--emerald-deep) !important; }

/* Highlights */
.tour-highlights {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px 22px;
}
.tour-highlights li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 14px 16px; background: #fff;
  border: 1px solid rgba(6,20,31,.08);
  border-radius: 14px;
  color: var(--ink); font-size: 15px; line-height: 1.5;
  transition: transform .2s ease, box-shadow .2s ease;
}
.tour-highlights li:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(6,20,31,.06);
}
.tour-highlights li svg {
  flex-shrink: 0; width: 20px; height: 20px;
  color: var(--emerald); margin-top: 2px;
}

/* Timeline del itinerario */
.tour-timeline {
  list-style: none; padding: 0; margin: 0 auto;
  max-width: 820px; position: relative;
}
.tour-timeline::before {
  content: ''; position: absolute;
  top: 8px; bottom: 8px; left: 74px;
  width: 2px; background: linear-gradient(to bottom, rgba(52,211,153,.6), rgba(52,211,153,.1));
}
.tour-timeline-item {
  display: grid; grid-template-columns: 62px 22px 1fr;
  gap: 14px; align-items: flex-start;
  padding: 14px 0; position: relative;
}
.tour-timeline-time {
  font-family: var(--font-mono, monospace);
  font-size: 13px; font-weight: 600;
  color: var(--emerald-deep, #047857);
  letter-spacing: .8px;
  padding-top: 2px; text-align: right;
}
.tour-timeline-dot {
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--emerald, #10b981);
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--emerald, #10b981);
  margin-left: 3px; margin-top: 4px;
  position: relative; z-index: 1;
}
.tour-timeline-body strong {
  display: block; font-size: 16px; color: var(--ink);
  margin-bottom: 2px;
}
.tour-timeline-body small {
  display: block; color: var(--ink-soft);
  font-size: 13.5px; line-height: 1.5;
}
.tour-timeline-dur {
  display: inline-block; margin-top: 6px;
  padding: 2px 10px; border-radius: 999px;
  background: rgba(16,185,129,.08); color: var(--emerald-deep);
  font-size: 11px; font-weight: 600; letter-spacing: .3px;
}

/* Política callout (entradas y comidas) */
.tour-policy-callout {
  display: flex; gap: 16px; align-items: flex-start;
  background: #fff8ec;
  border: 1.5px solid #fcd890;
  border-radius: 16px;
  padding: 18px 22px;
  margin: 0 auto 32px;
  max-width: 960px;
  color: var(--ink);
  line-height: 1.55; font-size: 14.5px;
}
.tour-policy-ico {
  flex-shrink: 0; color: #c97a00; margin-top: 2px;
}
.tour-policy-ico svg { width: 26px; height: 26px; }
.tour-policy-callout strong { color: #8a4e00; }

/* Incluye / No incluye — two columns */
.tour-incexc {
  display: grid; grid-template-columns: 1fr 1fr; gap: 22px;
  max-width: 960px; margin: 0 auto;
}
.tour-incexc-col {
  background: #fff;
  border: 1px solid rgba(6,20,31,.08);
  border-radius: 16px;
  padding: 22px 24px;
}
.tour-incexc-col h3 {
  margin: 0 0 14px; font-size: 15px; letter-spacing: .6px;
  text-transform: uppercase; color: var(--ink);
}
.tour-incexc-list {
  list-style: none; padding: 0; margin: 0;
}
.tour-incexc-list li {
  padding: 8px 0 8px 26px;
  border-bottom: 1px solid rgba(6,20,31,.05);
  font-size: 14.5px; color: var(--ink-soft); line-height: 1.5;
  position: relative;
}
.tour-incexc-list li:last-child { border-bottom: none; }
.tour-incexc-list.inc li::before {
  content: '✓';
  position: absolute; left: 4px; top: 8px;
  color: #10b981; font-weight: 700;
}
.tour-incexc-list.exc li::before {
  content: '✕';
  position: absolute; left: 4px; top: 8px;
  color: #dc2626; font-weight: 700;
}

/* Responsive */
@media (max-width: 720px) {
  .tour-flex-callout { flex-direction: column; padding: 24px 22px; }
  .tour-flex-ico { width: 48px; height: 48px; }
  .tour-flex-ico svg { width: 28px; height: 28px; }
  .tour-incexc { grid-template-columns: 1fr; }
  .tour-timeline::before { left: 62px; }
  .tour-timeline-item { grid-template-columns: 50px 18px 1fr; gap: 10px; }
  .tour-timeline-dot { width: 12px; height: 12px; border-width: 2px; box-shadow: 0 0 0 2px var(--emerald); margin-top: 5px; }
  .tour-timeline-time { font-size: 12px; }
  .tour-hero-chips { gap: 6px 8px; }
  .tour-hero-chips li { font-size: 12.5px; padding: 4px 10px; }
}

/* ============================================================
 * TOUR DETAIL — FASE 2 (galería, relacionados, sticky CTA)
 * ============================================================ */

/* Galería (solo tours con múltiples imágenes) */
.tour-gallery-grid {
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  max-width: 1100px; margin: 0 auto;
}
.tour-gallery-item {
  margin: 0; overflow: hidden; border-radius: 16px;
  aspect-ratio: 4/3; background: #f3f3ee;
  transition: transform .25s ease, box-shadow .25s ease;
}
.tour-gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s ease;
}
.tour-gallery-item:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(6,20,31,.12); }
.tour-gallery-item:hover img { transform: scale(1.04); }

/* Tours relacionados */
.tour-related-grid {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  max-width: 1100px; margin: 0 auto;
}
.tour-related-card {
  background: #fff; border-radius: 18px; overflow: hidden;
  text-decoration: none; color: var(--ink);
  border: 1px solid rgba(6,20,31,.08);
  display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.tour-related-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(6,20,31,.12);
}
.tour-related-img {
  position: relative; aspect-ratio: 16/10; overflow: hidden;
  background: #f3f3ee;
}
.tour-related-img img,
.tour-related-img picture { width: 100%; height: 100%; }
.tour-related-img img { object-fit: cover; transition: transform .4s ease; }
.tour-related-card:hover .tour-related-img img { transform: scale(1.05); }
.tour-related-tag {
  position: absolute; top: 12px; left: 12px;
  padding: 4px 11px; border-radius: 999px;
  background: rgba(255,255,255,.92); backdrop-filter: blur(8px);
  font-size: 11px; font-weight: 600; letter-spacing: .5px;
  text-transform: uppercase; color: var(--ink);
}
.tour-related-body {
  padding: 18px 20px 20px;
  display: flex; flex-direction: column; gap: 6px; flex: 1;
}
.tour-related-body h3 {
  margin: 0; font-family: var(--font-display);
  font-size: 19px; line-height: 1.25; color: var(--ink);
}
.tour-related-body p {
  margin: 0; font-size: 13.5px; color: var(--ink-soft);
  line-height: 1.45;
}
.tour-related-footer {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-top: auto; padding-top: 12px;
}
.tour-related-price {
  font-size: 13px; color: var(--ink-soft);
}
.tour-related-price strong {
  font-size: 16px; color: var(--ink); margin-left: 4px; font-weight: 700;
}
.tour-related-cta {
  font-size: 13px; font-weight: 600; color: var(--emerald-deep);
  letter-spacing: .2px;
}

/* Sticky CTA mobile */
.tour-sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0;
  display: none; /* solo mobile */
  align-items: center; gap: 10px;
  padding: 10px 14px;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(6,20,31,.08);
  box-shadow: 0 -6px 20px rgba(6,20,31,.06);
  z-index: 80;
}
.tour-sticky-info {
  flex: 1; min-width: 0;
  display: flex; flex-direction: column; gap: 0;
}
.tour-sticky-price { display: flex; align-items: baseline; gap: 4px; }
.tour-sticky-price small { font-size: 10px; color: var(--ink-soft); }
.tour-sticky-price strong {
  font-size: 15px; color: var(--ink); font-weight: 700;
}
.tour-sticky-title {
  font-size: 11.5px; color: var(--ink-soft);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.tour-sticky-actions {
  display: flex; gap: 8px; flex-shrink: 0;
}
.tour-sticky-actions .btn {
  padding: 9px 16px; font-size: 13.5px; border-radius: 999px;
}
.tour-sticky-actions .btn-wa {
  width: 42px; padding: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: #25D366; color: #fff; border: none;
}
.tour-sticky-actions .btn-wa svg { width: 20px; height: 20px; }

@media (max-width: 768px) {
  .tour-sticky-cta { display: flex; }
  /* padding inferior para que el sticky no tape el footer */
  .tour-detail-page { padding-bottom: 72px; }
  .tour-related-grid { grid-template-columns: 1fr; }
}

/* Callout extra de flexibilidad — casos específicos por tour */
.tour-flex-extra {
  max-width: 960px; margin: 18px auto 0;
  display: flex; gap: 14px; align-items: flex-start;
  background: #fff;
  border: 1px dashed rgba(16,185,129,.45);
  border-radius: 16px;
  padding: 16px 20px;
  color: var(--ink-soft); font-size: 15px; line-height: 1.55;
}
.tour-flex-extra-ico {
  flex-shrink: 0; color: var(--emerald-deep); margin-top: 2px;
}
.tour-flex-extra-ico svg { width: 22px; height: 22px; }
.tour-flex-extra p { margin: 0; }

/* ============================================================
 * COTIZADOR V2 — 2 etapas (Quote → Confirm Booking)
 * ============================================================ */
.cotizar-v2 main { padding-bottom: 40px; }

/* Hero compacto */
.q2-hero {
  padding: 88px 0 28px;
  text-align: center;
  position: relative;
}
.q2-hero .kicker { justify-content: center; margin-bottom: 16px; }
.q2-hero-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.08;
  color: var(--ink);
  margin: 0 auto 14px;
  max-width: 780px;
  font-weight: 500;
}
.q2-hero-title em {
  font-style: italic; color: var(--emerald-deep, #047857);
  background: linear-gradient(120deg, #10b981, #fbbf24);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.q2-hero-sub {
  max-width: 620px; margin: 0 auto 20px;
  color: var(--ink-soft); line-height: 1.55;
  font-size: clamp(15px, 1.4vw, 17px);
}
.q2-trust {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 10px 22px;
  font-size: 13px; color: var(--ink-soft);
}
.q2-trust li { display: inline-flex; align-items: center; gap: 7px; }
.q2-trust li strong { color: var(--ink); font-weight: 700; }
.q2-trust li em { color: var(--emerald-deep, #047857); font-style: normal; font-weight: 600; }
.q2-trust-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: linear-gradient(135deg, #34d399, #fbbf24);
}

/* Sección wizard */
.q2-section { padding: 28px 0 80px; }
.q2-section .container { max-width: 860px; }

/* Steps bar 2 pasos */
.q2-steps {
  list-style: none; padding: 0; margin: 0 auto 36px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  max-width: 640px;
}
.q2-steps li {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px;
  background: #fff;
  border: 1.5px solid rgba(6,20,31,.08);
  border-radius: 14px;
  cursor: default;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.q2-steps li.done { cursor: pointer; }
.q2-steps li.active {
  border-color: var(--emerald, #10b981);
  box-shadow: 0 0 0 3px rgba(16,185,129,.15);
}
.q2-steps li.done .q2-step-num {
  background: var(--emerald-deep, #047857); color: #fff;
}
.q2-steps li.active .q2-step-num {
  background: var(--emerald, #10b981); color: #fff;
  box-shadow: 0 4px 12px rgba(16,185,129,.35);
}
.q2-step-num {
  flex-shrink: 0;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--surface-alt, #f3f3ee);
  color: var(--ink-soft);
  display: grid; place-items: center;
  font-weight: 700; font-size: 14px;
  transition: all .25s ease;
}
.q2-steps li b {
  display: block; font-weight: 600; font-size: 14.5px; color: var(--ink);
  line-height: 1.2;
}
.q2-steps li small {
  display: block; font-size: 11px; color: var(--ink-soft);
  margin-top: 2px;
}

/* Stages */
.q2-stage { display: none; }
.q2-stage.active { display: block; animation: q2Fade .35s ease both; }
@keyframes q2Fade {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.q2-stage-head {
  margin-bottom: 28px; text-align: center;
}
.q2-stage-head h2 {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.8vw, 30px);
  margin: 0 0 6px; color: var(--ink); font-weight: 500;
}
.q2-stage-head p { margin: 0; color: var(--ink-soft); }

/* Bloques */
.q2-block {
  background: #fff;
  border: 1px solid rgba(6,20,31,.08);
  border-radius: 18px;
  padding: 24px 26px;
  margin-bottom: 18px;
}
.q2-block-title {
  font-family: var(--font-display);
  font-size: 17px; font-weight: 500;
  margin: 0 0 6px; color: var(--ink);
}
.q2-block-hint {
  margin: 0 0 18px; color: var(--ink-soft); font-size: 14px; line-height: 1.5;
}

.q2-grid {
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.q2-field-wide { grid-column: 1 / -1; }

/* Custom a medida */
.q2-custom {
  margin-top: 18px;
  background: var(--surface-alt, #f5f2ec);
  border: 1.5px dashed rgba(16,185,129,.35);
  border-radius: 14px;
  overflow: hidden;
}
.q2-custom > summary {
  list-style: none;
  padding: 14px 18px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  font-size: 14.5px; font-weight: 500; color: var(--ink);
}
.q2-custom > summary::-webkit-details-marker { display: none; }
.q2-custom[open] > summary { border-bottom: 1px solid rgba(6,20,31,.06); }
.q2-custom-chip {
  background: linear-gradient(135deg, #10b981, #047857);
  color: #fff; font-size: 11px; padding: 3px 10px;
  border-radius: 999px; letter-spacing: .5px;
  text-transform: uppercase; font-weight: 700;
}
.q2-custom-body { padding: 18px; display: grid; gap: 12px; }

/* Bloque estimate (estática antes del CTA stage 1) */
.q2-estimate {
  background: #0b1220; color: #fff;
  border-radius: 18px; padding: 22px 26px;
  margin: 18px 0;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.q2-estimate > div { display: flex; flex-direction: column; gap: 2px; }
.q2-estimate-label {
  font-size: 11px; letter-spacing: 2px;
  text-transform: uppercase; color: rgba(255,255,255,.65);
}
.q2-estimate strong {
  font-family: var(--font-display);
  font-size: 34px; font-weight: 500; color: #fff;
  line-height: 1;
}
.q2-estimate-note {
  margin: 0; flex: 1 1 100%;
  font-size: 12.5px; color: rgba(255,255,255,.7);
  line-height: 1.5;
}

/* CTA row */
.q2-cta-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px;
  padding: 18px 6px 6px;
}
.q2-cta-row-center { justify-content: center; }
.q2-cta-hint {
  font-size: 13px; color: var(--ink-soft); line-height: 1.4;
  max-width: 420px;
}

/* Summary (etapa 2) */
.q2-summary {
  background: linear-gradient(135deg, rgba(16,185,129,.06), rgba(251,191,36,.04));
  border: 1.5px solid rgba(16,185,129,.25);
  border-radius: 18px;
  padding: 22px 26px;
  margin-bottom: 22px;
}
.q2-summary-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 14px; margin-bottom: 16px;
}
.q2-summary-label {
  font-size: 11px; letter-spacing: 2px;
  text-transform: uppercase; color: var(--ink-soft); font-weight: 600;
}
.q2-summary-id {
  display: block;
  font-family: var(--font-mono, monospace);
  font-size: 18px; font-weight: 700; color: var(--emerald-deep, #047857);
  letter-spacing: 1.5px; margin-top: 4px;
}
.q2-summary-edit {
  background: #fff;
  border: 1px solid rgba(6,20,31,.1);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12.5px; font-weight: 600;
  color: var(--ink); cursor: pointer;
  display: inline-flex; align-items: center; gap: 5px;
  transition: all .2s ease;
}
.q2-summary-edit:hover {
  background: var(--ink); color: #fff; border-color: var(--ink);
}
.q2-summary-tours {
  list-style: none; padding: 0; margin: 0 0 14px;
  display: flex; flex-direction: column; gap: 6px;
}
.q2-summary-tours li {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 10px; padding: 8px 0;
  border-bottom: 1px dashed rgba(6,20,31,.08);
  font-size: 14px;
}
.q2-summary-tours li:last-child { border-bottom: none; }
.q2-summary-tours li span { color: var(--ink); font-weight: 500; }
.q2-summary-tours li em {
  font-style: normal; color: var(--ink-soft); font-size: 13px; font-weight: 600;
}
.q2-summary-dl {
  display: grid; gap: 8px 18px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin: 14px 0 0;
}
.q2-summary-dl > div {
  background: #fff; padding: 10px 14px; border-radius: 10px;
  border: 1px solid rgba(6,20,31,.06);
}
.q2-summary-dl dt {
  font-size: 10.5px; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--ink-soft); font-weight: 600; margin-bottom: 2px;
}
.q2-summary-dl dd {
  margin: 0; font-size: 14px; color: var(--ink); font-weight: 500;
}
.q2-summary-total {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 12px; margin-top: 18px; padding-top: 16px;
  border-top: 1.5px solid rgba(16,185,129,.25);
  font-size: 14px; color: var(--ink-soft);
}
.q2-summary-total strong {
  font-family: var(--font-display); font-size: 26px; color: var(--ink);
  font-weight: 500;
}
.q2-policy-note {
  background: #fff8ec; border: 1px solid #fcd890;
  border-radius: 12px; padding: 12px 14px; margin-top: 16px;
  font-size: 13px; color: #5a3d00; line-height: 1.5;
}
.q2-policy-note strong { color: #8a4e00; }

/* Pay radios compactos */
.q2-pay-radios {
  display: grid; gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  border: none; padding: 0; margin: 0;
}
.q2-pay-radios label {
  display: block; background: #fff;
  border: 1.5px solid rgba(6,20,31,.1);
  border-radius: 14px;
  padding: 12px 14px; cursor: pointer;
  transition: all .2s ease;
}
.q2-pay-radios label:hover { border-color: rgba(16,185,129,.35); }
.q2-pay-radios input { position: absolute; opacity: 0; }
.q2-pay-radios input:checked + span {
  color: var(--emerald-deep, #047857);
}
.q2-pay-radios label:has(input:checked) {
  border-color: var(--emerald, #10b981);
  background: linear-gradient(135deg, rgba(16,185,129,.05), rgba(16,185,129,.02));
  box-shadow: 0 0 0 2px rgba(16,185,129,.15);
}
.q2-pay-radios span { display: block; }
.q2-pay-radios span strong {
  display: block; font-weight: 600; font-size: 14.5px; color: var(--ink);
}
.q2-pay-radios span small {
  font-size: 12px; color: var(--ink-soft);
}

/* Términos */
.q2-terms {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 16px 18px; background: #fff;
  border: 1px solid rgba(6,20,31,.08);
  border-radius: 14px; margin: 18px 0;
  cursor: pointer; font-size: 14px; line-height: 1.5;
}
.q2-terms input {
  margin-top: 3px; accent-color: var(--emerald, #10b981);
  width: 18px; height: 18px; cursor: pointer;
}
.q2-terms a { color: var(--emerald-deep, #047857); font-weight: 600; text-decoration: underline; }

/* Success */
.q2-stage-success { min-height: 60vh; display: none; place-items: center; }
.q2-stage-success.active { display: grid; animation: q2Fade .5s ease both; }
.q2-success {
  text-align: center; max-width: 560px;
  padding: 40px 28px;
  background: #fff; border-radius: 22px;
  border: 1px solid rgba(6,20,31,.08);
}
.q2-success-ico {
  color: var(--emerald, #10b981);
  margin-bottom: 18px;
}
.q2-success h2 {
  font-family: var(--font-display);
  font-size: 28px; font-weight: 500;
  color: var(--ink); margin: 0 0 12px;
}
.q2-success p { color: var(--ink-soft); line-height: 1.6; margin: 0 0 14px; }
.q2-success p strong {
  font-family: var(--font-mono, monospace);
  color: var(--emerald-deep, #047857);
  letter-spacing: 1.5px;
}

/* Responsive */
@media (max-width: 640px) {
  .q2-hero { padding: 70px 0 20px; }
  .q2-steps { grid-template-columns: 1fr; }
  .q2-block { padding: 20px 18px; }
  .q2-estimate { flex-direction: column; align-items: flex-start; text-align: left; }
  .q2-estimate strong { font-size: 28px; }
  .q2-summary-head { flex-direction: column; align-items: flex-start; }
}

/* ========== COTIZADOR V2 — Fase B (polish) ========== */

/* Selected state mucho más claro en tour cards */
.cotizar-v2 .wiz-tour-card {
  position: relative;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.cotizar-v2 .wiz-tour-card:has(input:checked) {
  border-color: var(--emerald, #10b981);
  box-shadow: 0 0 0 2px rgba(16,185,129,.18), 0 6px 18px rgba(16,185,129,.12);
  transform: translateY(-1px);
}
.cotizar-v2 .wiz-tour-card:has(input:checked)::after {
  content: '✓';
  position: absolute;
  top: 10px; right: 10px;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--emerald, #10b981); color: #fff;
  display: grid; place-items: center;
  font-size: 14px; font-weight: 700;
  box-shadow: 0 3px 10px rgba(16,185,129,.4);
  animation: q2Pop .25s ease;
}
@keyframes q2Pop {
  0% { transform: scale(0); opacity: 0; }
  60% { transform: scale(1.2); }
  100% { transform: scale(1); opacity: 1; }
}

/* Rating chip compacto en el hero */
.q2-hero-rating {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; margin-bottom: 14px;
  background: rgba(251,191,36,.12);
  border: 1px solid rgba(251,191,36,.35);
  border-radius: 999px;
  font-size: 12.5px; color: var(--ink);
}
.q2-hero-rating .stars { color: #fbbf24; letter-spacing: 1px; }
.q2-hero-rating strong { font-weight: 700; }

/* Shared quote URL hint (cuando se carga con ?q=) */
.q2-shared-banner {
  background: linear-gradient(135deg, rgba(16,185,129,.08), rgba(251,191,36,.05));
  border: 1px solid rgba(16,185,129,.25);
  border-radius: 14px;
  padding: 12px 18px; margin-bottom: 18px;
  font-size: 13.5px; color: var(--ink);
  display: flex; align-items: center; gap: 10px;
}
.q2-shared-banner strong { color: var(--emerald-deep, #047857); font-family: var(--font-mono, monospace); }

/* Mobile polish */
@media (max-width: 520px) {
  .q2-block { padding: 18px 16px; margin-bottom: 14px; }
  .q2-block-title { font-size: 16px; }
  .q2-grid { gap: 12px; grid-template-columns: 1fr; }
  .q2-field-wide { grid-column: auto; }
  .q2-summary { padding: 18px 16px; }
  .q2-summary-dl { grid-template-columns: 1fr; }
  .q2-pay-radios { grid-template-columns: 1fr; }
  .q2-cta-row { padding: 18px 0 4px; flex-direction: column; align-items: stretch; }
  .q2-cta-row .btn-lg { width: 100%; justify-content: center; }
  .q2-cta-hint { text-align: center; margin-top: 4px; }
  .q2-estimate { padding: 18px 20px; }
  .q2-trust { gap: 8px 14px; font-size: 12.5px; }
}

/* ========== COTIZADOR V2 — Fase C (success enhanced) ========== */
.q2-next-steps {
  list-style: none; padding: 0;
  margin: 24px auto 28px; max-width: 460px;
  text-align: left;
  display: flex; flex-direction: column; gap: 14px;
}
.q2-next-steps li {
  display: grid; grid-template-columns: 36px 1fr;
  gap: 12px; align-items: center;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid rgba(6,20,31,.08);
  border-radius: 12px;
}
.q2-next-steps .q2-next-done {
  background: linear-gradient(135deg, rgba(16,185,129,.08), rgba(16,185,129,.02));
  border-color: rgba(16,185,129,.35);
}
.q2-next-ico {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--surface-alt, #f3f3ee);
  color: var(--ink-soft);
  display: grid; place-items: center;
  font-weight: 700; font-size: 14px;
}
.q2-next-done .q2-next-ico {
  background: var(--emerald, #10b981); color: #fff;
  font-size: 16px;
}
.q2-next-steps strong {
  display: block; font-size: 14.5px; font-weight: 600;
  color: var(--ink); line-height: 1.25;
}
.q2-next-steps small {
  display: block; font-size: 12.5px; color: var(--ink-soft);
  margin-top: 2px; line-height: 1.4;
}

/* Acciones del success */
.q2-success-actions {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 10px; margin: 8px 0 16px;
}
.q2-success-actions .btn {
  font-size: 13.5px; padding: 10px 16px;
  display: inline-flex; align-items: center; gap: 8px;
  border-radius: 999px;
}
.q2-success-footer {
  font-size: 13px; margin-top: 18px;
  padding-top: 14px;
  border-top: 1px dashed rgba(6,20,31,.1);
}
.q2-success-footer a { color: var(--emerald-deep); text-decoration: underline; }
.q2-success-footer strong {
  font-family: var(--font-mono, monospace);
  color: var(--emerald-deep, #047857);
  letter-spacing: 1.2px;
}

@media (max-width: 520px) {
  .q2-success { padding: 28px 20px; }
  .q2-success h2 { font-size: 22px; }
  .q2-next-steps li { padding: 10px 12px; }
  .q2-success-actions { flex-direction: column; align-items: stretch; }
  .q2-success-actions .btn { width: 100%; justify-content: center; }
}

/* ========== COTIZADOR V2 — Fase D (pricing breakdown) ========== */
.q2-breakdown {
  list-style: none; padding: 0; margin: 14px 0 0;
  display: flex; flex-direction: column; gap: 6px;
  flex: 1 1 100%;
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 14px;
}
.q2-breakdown li {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 10px;
  font-size: 13px;
  color: rgba(255,255,255,.85);
}
.q2-breakdown li span { font-weight: 500; }
.q2-breakdown li em {
  font-style: normal; font-size: 12.5px;
  color: rgba(255,255,255,.75);
}
.q2-breakdown li em strong {
  color: #fff; font-weight: 700; margin-left: 2px;
}

/* Pagar señal CTA */
.q2-pay-deposit {
  margin-top: 18px; padding: 18px 22px;
  background: linear-gradient(135deg, rgba(16,185,129,.08), rgba(251,191,36,.05));
  border: 1.5px solid rgba(16,185,129,.35);
  border-radius: 16px;
}
.q2-pay-deposit-head {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 12px; margin-bottom: 6px;
  font-size: 14px; color: var(--ink-soft);
}
.q2-pay-deposit-amount {
  font-family: var(--font-display); font-size: 22px; font-weight: 500;
  color: var(--emerald-deep, #047857);
}
.q2-pay-deposit-note {
  margin: 0 0 12px; font-size: 12.5px; color: var(--ink-soft); line-height: 1.45;
}

/* ========== COTIZADOR V2 — UX FIX (progress + feedback) ========== */

/* Progress bar con fill animado */
.q2-progress { max-width: 640px; margin: 0 auto 32px; position: relative; }
.q2-progress-track {
  position: absolute;
  top: 42px; left: 50px; right: 50px; height: 3px;
  background: rgba(6,20,31,.08);
  border-radius: 3px;
  overflow: hidden;
  z-index: 0;
}
.q2-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--emerald, #10b981), var(--gold, #fbbf24));
  border-radius: 3px;
  transition: width .5s cubic-bezier(.2, .8, .25, 1);
}
.q2-progress .q2-steps {
  position: relative; z-index: 1;
  margin-bottom: 10px;
}
.q2-progress-label {
  text-align: center; margin: 10px 0 0;
  font-size: 12.5px; color: var(--ink-soft);
  font-weight: 600; letter-spacing: .3px;
}

/* Steps más compactos cuando están con progress bar */
.q2-progress .q2-steps li {
  background: #fff;
  flex-direction: column;
  gap: 6px;
  text-align: center;
  padding: 12px 14px;
}
.q2-progress .q2-steps li > div { display: flex; flex-direction: column; gap: 2px; }
.q2-progress .q2-steps li .q2-step-num {
  margin: 0 auto;
  width: 34px; height: 34px;
}
.q2-progress .q2-steps li.active .q2-step-num {
  animation: q2StepPulse 1.8s ease-in-out infinite;
}
@keyframes q2StepPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16,185,129,.5); }
  50% { box-shadow: 0 0 0 8px rgba(16,185,129,0); }
}

/* Stage slide-in animation */
.q2-stage.q2-slide-in { animation: q2SlideIn .45s cubic-bezier(.2, .8, .25, 1) both; }
@keyframes q2SlideIn {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* Shake para campos inválidos */
@keyframes q2Shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
}
.q2-shake { animation: q2Shake .5s ease; }
.wiz-field.is-invalid input,
.wiz-field.is-invalid textarea,
.wiz-field input.is-invalid,
.wiz-field textarea.is-invalid,
.wiz-field select.is-invalid {
  border-color: #dc2626 !important;
  box-shadow: 0 0 0 3px rgba(220,38,38,.15) !important;
}
.wiz-field-error {
  display: block; color: #dc2626;
  font-size: 12.5px; font-weight: 600;
  margin-top: 4px;
}

/* Highlight bloque de tours cuando falta seleccionar */
.wiz-tours.q2-needs-attention {
  position: relative;
  animation: q2Attention 1.2s ease 2;
  border-radius: 16px;
}
@keyframes q2Attention {
  0%, 100% { box-shadow: 0 0 0 0 rgba(220,38,38, 0); }
  50% { box-shadow: 0 0 0 6px rgba(220,38,38, .25); }
}

/* Botón primary con press + loading más notorio */
.cotizar-v2 .btn-primary {
  transition: transform .12s ease, box-shadow .2s ease, background .2s ease;
}
.cotizar-v2 .btn-primary:active {
  transform: scale(.97);
}
.cotizar-v2 .btn-primary.is-loading {
  position: relative; color: transparent;
  pointer-events: none;
}
.cotizar-v2 .btn-primary.is-loading::after {
  content: '';
  position: absolute;
  inset: 0; margin: auto;
  width: 18px; height: 18px;
  border: 2.5px solid rgba(255,255,255,.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: q2Spin .7s linear infinite;
}
@keyframes q2Spin { to { transform: rotate(360deg); } }

/* Toast mejor contraste + más visible */
#wiz-toast.wiz-toast {
  position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: #0b1220; color: #fff;
  padding: 12px 22px; border-radius: 999px;
  font-size: 14px; font-weight: 500;
  box-shadow: 0 10px 30px rgba(6,20,31,.25);
  opacity: 0; pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
  z-index: 200;
  max-width: calc(100vw - 40px);
  text-align: center;
}
#wiz-toast.wiz-toast.is-shown {
  opacity: 1; transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
#wiz-toast.is-warn {
  background: #7a2e2e;
  box-shadow: 0 10px 30px rgba(122,46,46,.35);
}
#wiz-toast.is-success {
  background: #0d5f3c;
  box-shadow: 0 10px 30px rgba(13,95,60,.35);
}

/* Mobile */
@media (max-width: 640px) {
  .q2-progress-track { top: 36px; left: 40px; right: 40px; }
  .q2-progress { margin-bottom: 22px; }
}

/* ========== COTIZADOR V2 — Fase E (nav libre + edit rows) ========== */
/* Summary rows clickables (click-to-edit) */
.q2-summary-dl > div[data-edit-target],
.q2-summary-tours[data-edit-target] {
  cursor: pointer;
  transition: background .2s ease, transform .15s ease;
}
.q2-summary-dl > div[data-edit-target]:hover,
.q2-summary-tours[data-edit-target]:hover {
  background: rgba(16,185,129,.06);
  transform: translateY(-1px);
}
.q2-summary-edit-ico {
  display: inline-flex; vertical-align: middle;
  margin-left: 4px; color: var(--emerald-deep, #047857);
  opacity: 0; transition: opacity .2s ease;
}
.q2-summary-dl > div:hover .q2-summary-edit-ico { opacity: 1; }

/* Highlight del bloque destino al volver a editar */
.q2-block.q2-highlight {
  animation: q2BlockHl 1.8s ease;
  border-color: var(--emerald, #10b981) !important;
  box-shadow: 0 0 0 3px rgba(16,185,129,.2);
}
@keyframes q2BlockHl {
  0% { box-shadow: 0 0 0 0 rgba(16,185,129,.6); }
  40% { box-shadow: 0 0 0 10px rgba(16,185,129,.25); }
  100% { box-shadow: 0 0 0 3px rgba(16,185,129,.2); }
}

/* Step navegable en ambas direcciones */
.q2-steps li:not(.active) {
  cursor: pointer;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.q2-steps li:not(.active):hover {
  border-color: rgba(16,185,129,.45);
  box-shadow: 0 2px 10px rgba(16,185,129,.1);
}

/* ========== COTIZADOR V2 — Fase F (info del guía) ========== */
.q2-block-guide {
  background: linear-gradient(135deg, rgba(251,191,36,.04), rgba(16,185,129,.03));
  border-color: rgba(251,191,36,.35);
}
.q2-chips-group {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 8px;
}
.q2-chip-option {
  position: relative;
  cursor: pointer;
  user-select: none;
}
.q2-chip-option input {
  position: absolute; opacity: 0; pointer-events: none;
}
.q2-chip-option span {
  display: inline-block;
  padding: 7px 14px;
  background: #fff;
  border: 1.5px solid rgba(6,20,31,.1);
  border-radius: 999px;
  font-size: 13px; font-weight: 500; color: var(--ink);
  transition: all .18s ease;
}
.q2-chip-option:hover span {
  border-color: rgba(16,185,129,.4);
  transform: translateY(-1px);
}
.q2-chip-option input:checked + span {
  background: linear-gradient(135deg, var(--emerald, #10b981), var(--emerald-deep, #047857));
  border-color: var(--emerald, #10b981);
  color: #fff;
  box-shadow: 0 3px 10px rgba(16,185,129,.3);
}

/* ========== COTIZADOR V2 — Fase G (cupón descuento) ========== */
.q2-block-coupon {
  background: linear-gradient(135deg, rgba(251,191,36,.05), rgba(16,185,129,.03));
  border-color: rgba(251,191,36,.4);
}
.q2-coupon-row {
  display: flex; gap: 8px; align-items: stretch;
  margin-top: 4px;
}
.q2-coupon-row input {
  flex: 1;
  padding: 10px 14px;
  border: 1.5px solid rgba(6,20,31,.12);
  border-radius: 10px;
  font-size: 14px; font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  background: #fff;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.q2-coupon-row input:focus {
  outline: none;
  border-color: var(--emerald, #10b981);
  box-shadow: 0 0 0 3px rgba(16,185,129,.15);
}
.q2-coupon-row .btn {
  flex-shrink: 0;
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: 600;
}
.q2-coupon-status {
  margin-top: 8px;
  font-size: 13px; display: none;
  align-items: center; gap: 6px;
}
.q2-coupon-status.is-ok {
  display: inline-flex;
  color: var(--emerald-deep, #047857);
}
.q2-coupon-status.is-err {
  display: inline-flex;
  color: #dc2626;
}
.q2-coupon-status.is-ok strong { font-weight: 700; }

/* Summary totals breakdown */
.q2-summary-totals {
  margin-top: 18px; padding-top: 16px;
  border-top: 1.5px solid rgba(16,185,129,.25);
  display: flex; flex-direction: column; gap: 6px;
}
.q2-summary-subtotal,
.q2-summary-discount {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 12px;
  font-size: 13px; color: var(--ink-soft);
}
.q2-summary-discount {
  color: var(--emerald-deep, #047857); font-weight: 600;
}
.q2-summary-discount strong { color: var(--emerald-deep, #047857); font-weight: 700; }
.q2-summary-totals .q2-summary-total {
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px dashed rgba(6,20,31,.1);
  font-size: 14px;
}
.q2-summary-totals .q2-summary-total strong {
  font-family: var(--font-display); font-size: 26px; color: var(--ink);
  font-weight: 500;
}

/* ============================================================
 * RESEÑAS (/resenas/) — Happy Concept
 * ============================================================ */
.resenas-page { background: #fbfaf7; }
.resenas-page main { padding-bottom: 40px; }
.resenas-page .bg-mesh { opacity: .5; } /* bajamos presencia para no competir con emojis */

/* Hero celebration */
.r-hero {
  position: relative; overflow: hidden;
  padding: 110px 0 48px;
  text-align: center;
  background:
    radial-gradient(ellipse at 20% 10%, rgba(52,211,153,.14), transparent 55%),
    radial-gradient(ellipse at 80% 30%, rgba(251,191,36,.14), transparent 55%);
}
.r-hero-inner { position: relative; z-index: 2; }
.r-hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px; margin-bottom: 18px;
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(16,185,129,.3);
  border-radius: 999px;
  font-size: 13px; font-weight: 600;
  color: var(--emerald-deep, #047857);
  backdrop-filter: blur(8px);
}
.r-floater {
  position: absolute;
  font-size: 48px;
  opacity: .45;
  z-index: 1;
  animation: rFloat 9s ease-in-out infinite;
  pointer-events: none;
  filter: drop-shadow(0 4px 10px rgba(6,20,31,.1));
}
.r-floater-1 { top: 14%;  left: 8%;  animation-delay: 0s; }
.r-floater-2 { top: 10%;  right: 10%; animation-delay: -2s; font-size: 56px; }
.r-floater-3 { top: 62%;  left: 16%; animation-delay: -3s; font-size: 40px; }
.r-floater-4 { top: 55%;  right: 14%; animation-delay: -1s; font-size: 44px; }
.r-floater-5 { top: 32%;  right: 28%; animation-delay: -4s; font-size: 38px; opacity: .3; }
.r-floater-6 { top: 40%;  left: 26%; animation-delay: -5s; font-size: 36px; opacity: .3; }
@keyframes rFloat {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50% { transform: translateY(-16px) rotate(6deg); }
}
@media (max-width: 640px) {
  .r-floater-5, .r-floater-6 { display: none; }
  .r-floater { font-size: 36px !important; opacity: .35; }
}

.r-hero-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 5vw, 54px);
  line-height: 1.05; font-weight: 500;
  color: var(--ink); margin: 0 auto 18px; max-width: 780px;
  position: relative; z-index: 1;
}
.r-hero-title em {
  font-style: italic;
  background: linear-gradient(120deg, #10b981, #fbbf24, #f59e0b);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.r-hero-sub {
  max-width: 620px; margin: 0 auto 12px;
  font-size: clamp(16px, 1.5vw, 19px);
  color: var(--ink-soft); line-height: 1.55;
  position: relative; z-index: 1;
}
.r-hero-sub strong { color: var(--ink); font-weight: 700; }
.r-hero-kicker {
  font-size: 15px; color: var(--emerald-deep, #047857);
  font-weight: 600; margin: 6px 0 0;
  position: relative; z-index: 1;
}

/* Sección form */
.r-section { padding: 20px 0 60px; position: relative; z-index: 2; }
.r-section .container { max-width: 720px; }
.r-card {
  background: #fff;
  border: 1px solid rgba(6,20,31,.08);
  border-radius: 24px;
  padding: 36px 36px 32px;
  box-shadow: 0 12px 40px rgba(6,20,31,.08), 0 2px 6px rgba(6,20,31,.04);
  position: relative;
}

.r-block { margin-bottom: 28px; }
.r-block:last-of-type { margin-bottom: 20px; }
.r-block-title {
  font-family: var(--font-display);
  font-size: 17px; font-weight: 500;
  margin: 0 0 12px; color: var(--ink);
}
.r-block-title em {
  font-style: normal; font-weight: 400; font-size: 13px;
  color: var(--ink-soft); margin-left: 4px;
}

/* Star rating interactivo */
.r-stars {
  display: flex; justify-content: center; gap: 4px;
  margin: 8px 0 10px;
  padding: 18px 0;
  background: linear-gradient(180deg, rgba(251,191,36,.06), rgba(251,191,36,0));
  border-radius: 16px;
}
.r-star {
  background: none; border: none; padding: 6px;
  cursor: pointer;
  color: rgba(6,20,31,.15);
  transition: transform .15s ease, color .18s ease;
  border-radius: 50%;
  line-height: 0;
}
.r-star:hover { transform: scale(1.14); color: rgba(251,191,36,.6); }
.r-star.is-on { color: #fbbf24; }
.r-star.is-on svg {
  filter: drop-shadow(0 4px 10px rgba(251,191,36,.5));
}
.r-star.r-pop { animation: rStarPop .5s ease; }
@keyframes rStarPop {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.45) rotate(10deg); }
  100% { transform: scale(1); }
}
.r-star.r-shake {
  animation: q2Shake .5s ease;
}
.r-stars-label {
  text-align: center; margin: 6px 0 0;
  font-size: 14.5px; color: var(--ink-soft);
  min-height: 22px;
  font-weight: 500;
}

/* Destacados chips */
.r-chips {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.r-chip {
  position: relative; cursor: pointer; user-select: none;
}
.r-chip input {
  position: absolute; opacity: 0; pointer-events: none;
}
.r-chip span {
  display: inline-block;
  padding: 8px 14px;
  background: #fff;
  border: 1.5px solid rgba(6,20,31,.1);
  border-radius: 999px;
  font-size: 13.5px; font-weight: 500; color: var(--ink);
  transition: all .18s ease;
}
.r-chip:hover span { border-color: rgba(16,185,129,.45); transform: translateY(-1px); }
.r-chip input:checked + span {
  background: linear-gradient(135deg, #10b981, #047857);
  border-color: var(--emerald, #10b981);
  color: #fff;
  box-shadow: 0 3px 10px rgba(16,185,129,.3);
}

/* Textarea */
#r-text {
  width: 100%; padding: 14px 16px;
  border: 1.5px solid rgba(6,20,31,.12);
  border-radius: 14px; font-size: 15px;
  font-family: inherit;
  color: var(--ink);
  transition: border-color .18s ease, box-shadow .18s ease;
  background: #fff;
  resize: vertical; min-height: 110px;
}
#r-text:focus {
  outline: none;
  border-color: var(--emerald, #10b981);
  box-shadow: 0 0 0 3px rgba(16,185,129,.15);
}
.r-text-footer {
  display: flex; justify-content: space-between; align-items: center;
  gap: 10px; margin-top: 6px;
  font-size: 12px; color: var(--ink-soft);
}
.r-text-hint { color: var(--emerald-deep, #047857); font-weight: 600; }

.r-grid {
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.r-consent {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 18px; background: rgba(16,185,129,.04);
  border: 1px solid rgba(16,185,129,.2);
  border-radius: 12px;
  font-size: 13.5px; line-height: 1.5;
  cursor: pointer;
  margin: 18px 0;
}
.r-consent input {
  margin-top: 3px; accent-color: var(--emerald, #10b981);
  width: 18px; height: 18px; cursor: pointer;
}

.r-submit {
  width: 100%; justify-content: center;
  padding: 14px;
  font-size: 16px; font-weight: 600;
  border-radius: 14px;
  background: linear-gradient(135deg, #10b981, #f59e0b);
  border: none;
  transition: transform .12s ease, box-shadow .25s ease;
}
.r-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(16,185,129,.35);
}
.r-submit:active { transform: translateY(0) scale(.98); }
.r-submit.is-loading {
  color: transparent; pointer-events: none; position: relative;
}
.r-submit.is-loading::after {
  content: ''; position: absolute; inset: 0; margin: auto;
  width: 20px; height: 20px;
  border: 2.5px solid rgba(255,255,255,.35);
  border-top-color: #fff; border-radius: 50%;
  animation: q2Spin .7s linear infinite;
}
.r-submit-hint {
  text-align: center; margin: 12px 0 0;
  font-size: 12.5px; color: var(--ink-soft);
  line-height: 1.45;
}

/* Thank-you screen */
.r-thanks .container { max-width: 640px; }
.r-thanks-card {
  background: linear-gradient(135deg, rgba(16,185,129,.06), rgba(251,191,36,.05));
  border: 1.5px solid rgba(16,185,129,.3);
  border-radius: 22px;
  padding: 44px 32px;
  text-align: center;
}
.r-thanks-emoji {
  font-size: 64px;
  animation: rBounce 2.2s ease-in-out infinite;
  line-height: 1;
  margin-bottom: 14px;
}
@keyframes rBounce {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-10px) scale(1.08); }
}
.r-thanks-card h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 500; color: var(--ink);
  margin: 0 0 10px;
}
.r-thanks-card h2 span { color: var(--emerald-deep, #047857); }
.r-thanks-lead {
  font-size: 16px; color: var(--ink-soft); margin: 0 0 8px;
}
.r-thanks-stars {
  font-size: 32px; letter-spacing: 4px;
  color: #fbbf24;
  margin: 4px 0 24px;
  text-shadow: 0 3px 8px rgba(251,191,36,.35);
}
.r-thanks-boost {
  background: #fff; border-radius: 18px;
  padding: 22px 24px; margin-top: 18px;
  border: 1px solid rgba(6,20,31,.08);
}
.r-thanks-boost h3 {
  font-family: var(--font-display);
  font-size: 18px; font-weight: 500; margin: 0 0 6px;
  color: var(--ink);
}
.r-thanks-boost h3 em {
  background: linear-gradient(120deg, #10b981, #fbbf24);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: italic;
}
.r-thanks-boost p { font-size: 14px; line-height: 1.55; }
.r-thanks-boost-actions {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
  margin-top: 14px;
}
.r-thanks-boost-actions .btn {
  font-size: 14px; padding: 10px 16px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 8px;
}
.r-btn-google {
  background: #fff; color: #3c4043;
  border: 1px solid rgba(0,0,0,.12);
}
.r-btn-google:hover { box-shadow: 0 4px 12px rgba(0,0,0,.1); }
.r-google-mark {
  width: 22px; height: 22px; border-radius: 50%;
  background: conic-gradient(from -45deg, #ea4335, #fbbc04, #34a853, #4285f4, #ea4335);
  color: #fff; font-weight: 700; font-size: 12px;
  display: grid; place-items: center;
  box-shadow: 0 1px 2px rgba(0,0,0,.15);
}
.r-btn-ta {
  background: #00af87; color: #fff;
}
.r-btn-ta:hover { background: #009a76; }

/* Confetti canvas */
.r-confetti-host {
  position: fixed; inset: 0; pointer-events: none;
  overflow: hidden; z-index: 150;
}
.r-confetti-piece {
  position: absolute; top: -5vh;
  width: 10px; height: 14px;
  border-radius: 3px;
  animation: rConfettiFall 3s cubic-bezier(.3, .7, .4, 1) forwards;
}
@keyframes rConfettiFall {
  0% { transform: translateY(0) translateX(0) rotate(0); opacity: 1; }
  100% { transform: translateY(105vh) translateX(var(--tx, 0)) rotate(var(--rot, 360deg)); opacity: 0; }
}

/* Mobile */
@media (max-width: 520px) {
  .r-hero { padding: 72px 0 24px; }
  .r-card { padding: 24px 20px; border-radius: 18px; }
  .r-star svg { width: 38px; height: 38px; }
  .r-stars { gap: 4px; }
  .r-grid { grid-template-columns: 1fr; }
  .r-thanks-card { padding: 32px 22px; }
  .r-thanks-emoji { font-size: 52px; }
  .r-thanks-boost-actions .btn { width: 100%; justify-content: center; }
}

/* ============================================================
 * OPINIONES (/opiniones/) — Vista pública de reseñas
 * ============================================================ */
.opiniones-page main { padding-bottom: 40px; }

/* Hero */
.op-hero {
  padding: 110px 0 36px;
  text-align: center;
}
.op-hero .kicker { justify-content: center; margin-bottom: 16px; }
.op-hero-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.08;
  color: var(--ink);
  margin: 0 auto 20px;
  max-width: 780px;
  font-weight: 500;
}
.op-hero-title em {
  font-style: italic;
  background: linear-gradient(120deg, #10b981, #fbbf24);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

.op-hero-summary {
  display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 18px 28px;
  padding: 22px 28px;
  background: #fff;
  border: 1px solid rgba(6,20,31,.08);
  border-radius: 20px;
  box-shadow: 0 8px 28px rgba(6,20,31,.06);
  margin-top: 10px;
}
.op-hero-stars {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
}
.op-hero-rating-num {
  font-family: var(--font-display);
  font-size: 40px; font-weight: 500;
  color: var(--ink); line-height: 1;
}
.op-hero-stars-visual {
  color: #fbbf24; font-size: 22px; letter-spacing: 2px;
  text-shadow: 0 3px 8px rgba(251,191,36,.35);
}
.op-hero-stars-count {
  font-size: 12.5px; color: var(--ink-soft);
  margin-top: 4px;
  letter-spacing: .4px;
}
.op-leave-cta {
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 999px;
  white-space: nowrap;
}

/* Filters */
.op-filters-section {
  padding: 10px 0 28px;
  position: sticky; top: 68px; z-index: 10;
  background: rgba(251,250,247,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(6,20,31,.06);
}
.op-filters-section .container {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: 12px;
}
.op-filters {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.op-filter {
  background: #fff;
  border: 1.5px solid rgba(6,20,31,.1);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13.5px; font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: all .18s ease;
}
.op-filter:hover {
  border-color: rgba(16,185,129,.45);
  transform: translateY(-1px);
}
.op-filter.active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.op-search-wrap {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  background: #fff;
  border: 1.5px solid rgba(6,20,31,.1);
  border-radius: 999px;
  min-width: 220px;
  color: var(--ink-soft);
  transition: border-color .18s ease;
}
.op-search-wrap:focus-within {
  border-color: var(--emerald, #10b981);
  box-shadow: 0 0 0 3px rgba(16,185,129,.12);
}
.op-search-wrap input {
  flex: 1;
  border: none; outline: none; background: transparent;
  font-size: 14px; color: var(--ink);
}

/* Grid de cards */
.op-section { padding: 28px 0 64px; }
.op-section .container { max-width: 1140px; }
.op-grid {
  display: grid; gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.op-card {
  background: #fff;
  border: 1px solid rgba(6,20,31,.08);
  border-radius: 20px;
  padding: 26px 26px 22px;
  box-shadow: 0 6px 22px rgba(6,20,31,.05);
  display: flex; flex-direction: column;
  position: relative;
  overflow: hidden;
  animation: opFadeIn .5s ease var(--d, 0s) both;
  transition: transform .25s ease, box-shadow .25s ease;
}
.op-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(6,20,31,.1);
}
@keyframes opFadeIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
.op-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, #10b981, #fbbf24);
  opacity: .8;
}

.op-card-head {
  display: flex; justify-content: space-between; align-items: center;
  gap: 10px; margin-bottom: 14px;
}
.op-card-stars {
  color: #fbbf24; font-size: 16px; letter-spacing: 2px;
}
.op-card-tour {
  font-size: 11px; letter-spacing: 1px; text-transform: uppercase;
  color: var(--ink-soft); font-weight: 700;
  max-width: 60%;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

.op-card-quote {
  flex: 1;
  margin: 0 0 18px;
  padding: 0;
  position: relative;
}
.op-quote-mark {
  width: 26px; height: 26px;
  color: rgba(16,185,129,.3);
  margin-bottom: 2px;
}
.op-card-quote p {
  margin: 0;
  font-size: 15px; line-height: 1.55;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 400;
}

.op-card-foot {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px dashed rgba(6,20,31,.08);
}
.op-card-foot > div {
  display: flex; flex-direction: column; gap: 2px;
}
.op-card-foot strong {
  font-size: 14px; font-weight: 600; color: var(--ink);
}
.op-card-foot small {
  font-size: 12.5px; color: var(--ink-soft);
}
.op-card-role {
  font-size: 11px; color: var(--emerald-deep, #047857);
  letter-spacing: .3px; font-weight: 600;
  text-align: right;
  max-width: 50%;
}

.op-empty {
  text-align: center; padding: 60px 20px;
  color: var(--ink-soft); font-size: 16px;
}

@media (max-width: 640px) {
  .op-hero { padding: 80px 0 24px; }
  .op-hero-summary { flex-direction: column; padding: 20px; }
  .op-filters-section .container { flex-direction: column; align-items: stretch; }
  .op-search-wrap { width: 100%; }
  .op-card { padding: 22px 20px 18px; }
}

/* ─── Tour SEO prose section (layover/escala Santiago) ─── */
.tour-seo-prose-section {
  padding: 48px 0 56px;
  background: linear-gradient(180deg, var(--surface-alt, #f8fafc) 0%, transparent 100%);
}
.tour-seo-prose-section .lp-section-head { margin-bottom: 28px; }
.tour-seo-prose-section .lp-section-head h2 { margin-bottom: 12px; }
.tour-seo-prose-grid {
  display: grid;
  gap: 36px;
  grid-template-columns: 1fr 1fr;
  max-width: 1140px;
  margin: 0 auto;
}
.tour-seo-prose-col h3 {
  font-family: var(--font-serif, Georgia, serif);
  font-size: 1.15rem;
  margin: 20px 0 12px;
  color: var(--text-strong, #0a1628);
}
.tour-seo-prose-col h3:first-child { margin-top: 0; }
.tour-seo-prose-col p {
  line-height: 1.65;
  color: var(--text, #2a3548);
  margin: 0 0 14px;
}
.tour-seo-checklist,
.tour-seo-personas {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tour-seo-checklist li,
.tour-seo-personas li {
  position: relative;
  padding: 10px 14px 10px 36px;
  background: #fff;
  border: 1px solid rgba(10,22,40,.08);
  border-radius: 10px;
  line-height: 1.55;
  color: var(--text, #2a3548);
  font-size: .95rem;
  box-shadow: 0 1px 2px rgba(10,22,40,.03);
}
.tour-seo-checklist li::before {
  content: "✓";
  position: absolute;
  left: 12px;
  top: 10px;
  color: #10b981;
  font-weight: 700;
  font-size: 1.05rem;
}
.tour-seo-personas li::before {
  content: "→";
  position: absolute;
  left: 12px;
  top: 10px;
  color: #fbbf24;
  font-weight: 700;
}
.tour-seo-prose-callout {
  margin-top: 32px;
  padding: 22px 26px;
  background: linear-gradient(135deg, rgba(52,211,153,.08), rgba(251,191,36,.08));
  border: 1px dashed rgba(52,211,153,.45);
  border-radius: 14px;
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
}
.tour-seo-prose-callout p {
  margin: 0;
  line-height: 1.6;
  color: var(--text-strong, #0a1628);
  font-size: .98rem;
}
@media (max-width: 820px) {
  .tour-seo-prose-grid { grid-template-columns: 1fr; gap: 24px; }
  .tour-seo-prose-section { padding: 36px 0 44px; }
}
