/* ===================== RESET & VARIABLES ===================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --cyan:       #00BCD4;
  --lime:       #76FF03;
  --navy:       #1A237E;
  --orange:     #FF5722;
  --red:        #F44336;
  --yellow:     #FFD600;
  --white:      #FFFFFF;
  --dark:       #1A1A2E;
  --green-mid:  #2E7D32;
  --wa-green:   #25D366;
  --font-display: 'Bebas Neue', sans-serif;
  --font-script:  'Pacifico', cursive;
  --font-body:    'Montserrat', sans-serif;
}
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--dark); background: var(--white); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ===================== ANIMATIONS ===================== */
@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0 rgba(37,211,102,.5); }
  70%  { box-shadow: 0 0 0 18px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes slideIn {
  from { opacity: 0; transform: translateX(-30px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes spin-horizontal {
  0%   { transform: rotateY(0deg); }
  100% { transform: rotateY(360deg); }
}
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ===================== HEADER ===================== */
header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  padding: 16px 40px;
  display: flex; align-items: center; justify-content: space-between;
  transition: background .35s, backdrop-filter .35s;
}
header.scrolled {
  background: rgba(26,26,46,.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.logo {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-display); font-size: 1.8rem;
  color: var(--white); letter-spacing: 2px;
  text-decoration: none;
}
.logo img {
  width: 42px; height: 42px; object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.35));
  flex-shrink: 0;
}
.footer-brand .logo img {
  background: rgba(255,255,255,.12);
  border-radius: 10px; padding: 4px;
}
/* Logo más grande en el header para que destaque */
header .logo img {
  width: 50px;
  height: 50px;
  filter: drop-shadow(0 2px 10px rgba(0,0,0,.5));
}
nav { display: flex; align-items: center; gap: 28px; }
nav a {
  color: var(--white); font-size: .85rem; font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase;
  position: relative; padding-bottom: 4px;
}
nav a::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 2px; background: var(--lime);
  transition: width .3s;
}
nav a:hover::after, nav a.active::after { width: 100%; }
.btn-header {
  background: var(--lime); color: var(--dark);
  font-family: var(--font-body); font-weight: 800;
  font-size: .82rem; letter-spacing: 1px; text-transform: uppercase;
  padding: 10px 22px; border-radius: 50px;
  transition: transform .2s, box-shadow .2s;
}
.btn-header:hover { transform: scale(1.06); box-shadow: 0 4px 20px rgba(118,255,3,.45); }
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  transition: background .2s;
  z-index: 1001;
}
.nav-toggle:hover { background: rgba(255,255,255,.1); }
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .3s, opacity .3s, width .3s;
  transform-origin: center;
}
/* Animación X cuando el menú está abierto */
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; width: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===================== HERO ===================== */
#inicio {
  position: relative; height: 100vh; min-height: 640px;
  display: flex; align-items: center; justify-content: center; text-align: center;
  overflow: hidden;
  /* Compensar el header fijo (~68px) para que el contenido no quede debajo */
  padding-top: 68px;
  box-sizing: border-box;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('/images/hero-bg.jpeg') center 30%/cover no-repeat;
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  /* Overlay más ligero para preservar los tonos dorados del atardecer.
     Parte superior más oscura para que el texto sea legible,
     parte inferior con toque azul marino de marca. */
  background: linear-gradient(
    180deg,
    rgba(0,0,0,.60)   0%,
    rgba(0,0,0,.35)  45%,
    rgba(10,18,46,.65) 100%
  );
}
.hero-content {
  position: relative; z-index: 2;
  padding: 0 20px; max-width: 860px;
  animation: fadeUp .9s ease forwards;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,.15); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.3);
  color: var(--white); font-size: .8rem; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  padding: 8px 20px; border-radius: 50px; margin-bottom: 20px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 12vw, 9rem);
  color: var(--white); line-height: .95; letter-spacing: 3px;
  text-shadow: 0 4px 30px rgba(0,0,0,.4);
  margin-bottom: 12px;
  outline: none;
  user-select: none;
  -webkit-user-select: none;
}
.hero-title span { color: var(--lime); }
.hero-sub {
  font-size: clamp(.95rem, 2.2vw, 1.2rem); color: rgba(255,255,255,.88);
  font-weight: 600; letter-spacing: 1px; margin-bottom: 36px;
}
.hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; align-items: center; }
.btn-primary { display: inline-flex; align-items: center; justify-content: center; }
.btn-primary {
  background: linear-gradient(135deg, var(--cyan), var(--navy));
  color: var(--white); font-weight: 800; font-size: .9rem;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 14px 32px; border-radius: 50px;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 4px 24px rgba(0,188,212,.4);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 32px rgba(0,188,212,.6); }
.hero-logo-spin {
  width: 110px; height: 110px;
  display: block;
  margin: 28px auto 0;
  animation: spin-horizontal 4s linear infinite;
  filter: drop-shadow(0 0 14px rgba(0,188,212,.6)) drop-shadow(0 0 28px rgba(118,255,3,.25));
}
.hero-scroll {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  margin-top: 20px;
  color: rgba(255,255,255,.6); font-size: .7rem; letter-spacing: 2px; text-transform: uppercase;
  animation: float 2s ease-in-out infinite;
}
.hero-scroll::before {
  content: '';
  width: 2px; height: 48px;
  background: linear-gradient(to bottom, var(--lime), transparent);
}

/* ===================== STATS ===================== */
#stats { background: var(--dark); padding: 56px 40px; }
.stats-grid {
  max-width: 900px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; text-align: center;
}
.stat-item { padding: 20px; border-right: 1px solid rgba(255,255,255,.1); }
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 4rem);
  color: var(--lime); line-height: 1;
}
.stat-label { color: rgba(255,255,255,.7); font-size: .85rem; font-weight: 600; letter-spacing: 1px; margin-top: 6px; text-transform: uppercase; }

/* ===================== SECTION HEADERS ===================== */
.section-header { text-align: center; margin-bottom: 52px; }
.section-label {
  display: inline-block; font-size: .75rem; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase; color: var(--cyan);
  margin-bottom: 10px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  color: var(--dark); line-height: 1;
}
.section-title.light { color: var(--white); }
.section-underline {
  width: 60px; height: 4px;
  background: linear-gradient(90deg, var(--cyan), var(--lime));
  border-radius: 2px; margin: 16px auto 0;
}

/* ===================== TOURS ===================== */
#tours { padding: 100px 40px; background: #f4f8fb; }
.tours-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.tour-card {
  position: relative; border-radius: 20px; overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,.18);
  background: var(--dark);
  transition: transform .35s, box-shadow .35s;
  min-height: 460px;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.tour-card:hover { transform: translateY(-8px); box-shadow: 0 20px 50px rgba(0,0,0,.35); }
.tour-card.coming-soon { opacity: .75; }
.tour-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform .5s;
}
.tour-card:hover .tour-bg { transform: scale(1.06); }
.tour-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,26,46,.92) 50%, rgba(0,0,0,.15) 100%);
}
.tour-badge {
  position: absolute; top: 16px; left: 16px;
  background: var(--lime); color: var(--dark);
  font-weight: 800; font-size: .72rem; letter-spacing: 1px;
  text-transform: uppercase; padding: 5px 14px; border-radius: 50px;
}
.tour-badge.soon { background: var(--orange); color: var(--white); }
.tour-content { position: relative; z-index: 2; padding: 24px; }
.tour-name {
  font-family: var(--font-display);
  font-size: 2rem; color: var(--white);
  line-height: 1; letter-spacing: 1px; margin-bottom: 2px;
}
.tour-sub { font-family: var(--font-script); color: var(--cyan); font-size: .95rem; margin-bottom: 12px; }
.tour-price-box {
  display: inline-block;
  background: var(--navy); color: var(--lime);
  font-weight: 800; font-size: 1rem; letter-spacing: 1px;
  padding: 6px 16px; border-radius: 8px; margin-bottom: 14px;
}
.tour-includes { list-style: none; margin-bottom: 18px; }
.tour-includes li { color: rgba(255,255,255,.82); font-size: .8rem; font-weight: 600; margin-bottom: 4px; }
.btn-reservar {
  display: block; width: 100%; text-align: center;
  background: linear-gradient(135deg, var(--wa-green), #1a8a44);
  color: var(--white); font-weight: 800; font-size: .85rem;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 12px; border-radius: 12px;
  transition: transform .2s, box-shadow .2s;
}
.btn-reservar:hover { transform: scale(1.03); box-shadow: 0 6px 24px rgba(37,211,102,.5); }
.btn-reservar.disabled {
  background: rgba(255,255,255,.15); cursor: not-allowed;
  pointer-events: none; color: rgba(255,255,255,.5);
}
.btn-tour-detalle {
  display: block; width: 100%; text-align: center;
  background: rgba(0,200,224,.12); border: 1px solid rgba(0,200,224,.3);
  color: var(--cyan); font-weight: 700; font-size: .82rem;
  letter-spacing: .8px; padding: 10px; border-radius: 12px;
  transition: background .2s, color .2s;
}
.btn-tour-detalle:hover { background: rgba(0,200,224,.22); color: #fff; }
.tour-includes-more {
  display: block; font-size: .75rem; font-weight: 700;
  color: var(--cyan); opacity: .8;
  margin-bottom: 10px; letter-spacing: .3px;
  transition: opacity .2s;
}
.tour-includes-more:hover { opacity: 1; color: var(--cyan); }

/* ===================== HOW IT WORKS ===================== */
#como-funciona {
  padding: 100px 40px;
  background: linear-gradient(135deg, var(--navy) 0%, #0d2b6b 60%, #003a4f 100%);
  position: relative; overflow: hidden;
}
#como-funciona::before {
  content: '';
  position: absolute; top: -80px; right: -80px;
  width: 320px; height: 320px;
  border-radius: 50%;
  border: 60px solid rgba(118,255,3,.06);
}
.steps-grid {
  max-width: 1000px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3,1fr); gap: 32px;
}
.step-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 20px; padding: 36px 24px; text-align: center;
  position: relative; transition: transform .3s, background .3s;
}
.step-card:hover { transform: translateY(-6px); background: rgba(255,255,255,.12); }
.step-num {
  position: absolute; top: -16px; left: 50%; transform: translateX(-50%);
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--lime); color: var(--dark);
  font-weight: 900; font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
}
.step-icon { font-size: 3rem; margin-bottom: 16px; margin-top: 10px; }
.step-title { font-family: var(--font-display); font-size: 1.8rem; color: var(--white); margin-bottom: 8px; }
.step-desc { color: rgba(255,255,255,.7); font-size: .85rem; line-height: 1.6; }

/* ===================== GALLERY ===================== */
#galeria { padding: 100px 40px; background: var(--white); }
.gallery-grid {
  max-width: 1200px; margin: 0 auto 36px;
  columns: 4; column-gap: 14px;
}
.gallery-item {
  break-inside: avoid; margin-bottom: 14px;
  position: relative; border-radius: 14px; overflow: hidden;
  cursor: pointer;
}
.gallery-item img { width: 100%; display: block; transition: transform .5s; }
.gallery-item:hover img { transform: scale(1.07); }
.gallery-overlay {
  position: absolute; inset: 0;
  background: rgba(26,35,126,.6);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .35s;
  font-size: 2rem; color: var(--white);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-footer { text-align: center; }
.btn-ig {
  display: inline-flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: var(--white); font-weight: 800; font-size: .85rem;
  letter-spacing: 1px; text-transform: uppercase;
  padding: 13px 28px; border-radius: 50px;
  transition: transform .2s, box-shadow .2s;
}
.btn-ig:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(220,39,67,.45); }

/* ===================== ABOUT ===================== */
#nosotros { padding: 100px 40px; background: #f4f8fb; }
.about-container {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.about-img {
  border-radius: 24px; overflow: hidden;
  box-shadow: 0 12px 48px rgba(0,0,0,.18);
  position: relative;
}
.about-img img { width: 100%; height: 420px; object-fit: cover; }
.about-img::after {
  content: '';
  position: absolute; bottom: -16px; right: -16px;
  width: 100px; height: 100px;
  background: var(--lime); border-radius: 20px; z-index: -1;
}
.about-label { font-size: .75rem; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--cyan); margin-bottom: 12px; }
.about-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  color: var(--dark); line-height: 1; margin-bottom: 20px;
}
.about-text { color: #555; font-size: .92rem; line-height: 1.8; margin-bottom: 28px; }
.about-points { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.about-points li {
  display: flex; align-items: center; gap: 8px;
  font-size: .85rem; font-weight: 700; color: var(--dark);
}
.about-points li::before { content: '✅'; font-size: 1rem; }

/* ===================== TESTIMONIALS ===================== */
#testimonios { padding: 100px 40px; background: var(--dark); }
.testi-grid {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3,1fr); gap: 28px;
}
.testi-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  border-radius: 20px; padding: 30px 24px;
  transition: transform .3s, background .3s;
}
.testi-card:hover { transform: translateY(-5px); background: rgba(255,255,255,.1); }
.testi-stars { color: var(--yellow); font-size: 1rem; margin-bottom: 14px; letter-spacing: 2px; }
.testi-text { color: rgba(255,255,255,.8); font-size: .88rem; line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 14px; }
.testi-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--navy));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: var(--white); font-weight: 800;
  flex-shrink: 0;
}
.testi-name { color: var(--white); font-weight: 700; font-size: .88rem; }
.testi-tour { color: var(--cyan); font-size: .75rem; font-weight: 600; }

/* ===================== CONTACT ===================== */
#contacto { padding: 100px 40px; background: var(--white); }
.contact-container {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
}
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: .78rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: #666; }
.form-group input,
.form-group select,
.form-group textarea {
  border: 2px solid #e0e0e0; border-radius: 10px;
  padding: 12px 16px; font-family: var(--font-body); font-size: .9rem;
  transition: border-color .25s;
  width: 100%; outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--cyan); }
.form-group textarea { resize: vertical; min-height: 110px; }
.btn-submit {
  background: linear-gradient(135deg, var(--cyan), var(--navy));
  color: var(--white); font-weight: 800; font-size: .9rem;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 14px; border-radius: 12px;
  border: none; cursor: pointer;
  transition: transform .2s, box-shadow .2s;
}
.btn-submit:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(0,188,212,.5); }
.contact-info { padding-top: 12px; }
.contact-title {
  font-family: var(--font-display);
  font-size: 2.6rem; color: var(--dark); margin-bottom: 12px;
}
.contact-desc { color: #666; font-size: .9rem; line-height: 1.7; margin-bottom: 32px; }
.contact-items { display: flex; flex-direction: column; gap: 20px; }
.contact-item { display: flex; align-items: flex-start; gap: 14px; }
.contact-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, var(--cyan), var(--navy));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}
.contact-item-label { font-size: .72rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: #999; }
.contact-item-val { font-weight: 700; font-size: .9rem; color: var(--dark); }
.map-container { margin-top: 36px; border-radius: 16px; overflow: hidden; height: 200px; }
.map-container iframe { width: 100%; height: 100%; border: 0; }

/* ===================== FOOTER ===================== */
footer {
  background: var(--dark); color: rgba(255,255,255,.7);
  padding: 60px 40px 30px;
}
.footer-top {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
  margin-bottom: 48px;
}
.footer-brand .logo { margin-bottom: 14px; }
.footer-tagline { font-family: var(--font-script); font-size: 1rem; color: var(--cyan); margin-bottom: 14px; }
.footer-desc { font-size: .82rem; line-height: 1.7; color: rgba(255,255,255,.55); }
.footer-col h4 { font-size: .75rem; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: var(--white); margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: .82rem; color: rgba(255,255,255,.55); transition: color .2s; }
.footer-col ul li a:hover { color: var(--lime); }
.social-links { display: flex; gap: 12px; margin-top: 8px; }
.social-link {
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; transition: background .2s, transform .2s;
}
.social-link:hover { background: var(--cyan); transform: translateY(-3px); }
.footer-bottom {
  max-width: 1100px; margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: .78rem; color: rgba(255,255,255,.35);
}

/* ===================== WHATSAPP FLOAT ===================== */
.whatsapp-float {
  position: fixed; bottom: 30px; right: 30px; z-index: 999;
  background: var(--wa-green); color: var(--white);
  padding: 14px 20px; border-radius: 50px;
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: .85rem; letter-spacing: .5px;
  box-shadow: 0 6px 28px rgba(37,211,102,.45);
  animation: pulse-ring 2s infinite;
  transition: transform .2s;
}
.whatsapp-float:hover { transform: scale(1.06); }
.whatsapp-float svg { width: 22px; height: 22px; }

/* ===================== SKELETON LOADING ===================== */
@keyframes sk-shimmer {
  0%   { background-position: -600px 0; }
  100% { background-position:  600px 0; }
}
.sk {
  background: linear-gradient(
    90deg,
    rgba(255,255,255,.04) 0%,
    rgba(255,255,255,.09) 50%,
    rgba(255,255,255,.04) 100%
  );
  background-size: 600px 100%;
  animation: sk-shimmer 1.5s ease-in-out infinite;
  border-radius: 6px;
}
/* Skeleton tour card */
.sk-tour-card {
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  display: flex; flex-direction: column;
}
.sk-tour-img  { height: 280px; flex-shrink: 0; }
.sk-tour-body { padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.sk-line      { height: 13px; border-radius: 4px; }
.sk-line.w80  { width: 80%; }
.sk-line.w55  { width: 55%; }
.sk-line.w40  { width: 40%; }
.sk-line.w30  { width: 30%; }
.sk-btn-line  { height: 42px; border-radius: 50px; margin-top: 8px; }

/* Skeleton gallery item */
.sk-gallery-item {
  break-inside: avoid;
  margin-bottom: 10px;
  border-radius: 12px;
  overflow: hidden;
}
.sk-gallery-img-t { height: 220px; display: block; }
.sk-gallery-img-s { height: 160px; display: block; }

/* Variante para fondos claros (landing #tours y #galeria son blancos/grises) */
@keyframes sk-shimmer-light {
  0%   { background-position: -600px 0; }
  100% { background-position:  600px 0; }
}
.sk-light {
  background: linear-gradient(
    90deg,
    rgba(0,0,0,.05) 0%,
    rgba(0,0,0,.12) 50%,
    rgba(0,0,0,.05) 100%
  );
  background-size: 600px 100%;
  animation: sk-shimmer-light 1.5s ease-in-out infinite;
  border-radius: 6px;
}
#tours .sk-tour-card {
  background: rgba(0,0,0,.04);
  border: 1px solid rgba(0,0,0,.07);
}
#tours .sk       { animation-name: sk-shimmer-light;
  background: linear-gradient(90deg, rgba(0,0,0,.04) 0%, rgba(0,0,0,.1) 50%, rgba(0,0,0,.04) 100%);
  background-size: 600px 100%;
}
#galeria .sk-gallery-item { background: rgba(0,0,0,.04); }
#galeria .sk     { animation-name: sk-shimmer-light;
  background: linear-gradient(90deg, rgba(0,0,0,.04) 0%, rgba(0,0,0,.1) 50%, rgba(0,0,0,.04) 100%);
  background-size: 600px 100%;
}

/* Skeleton review/testimonial card */
.sk-testi-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 18px;
  padding: 28px;
}
.sk-testi-stars  { height: 18px; width: 90px; border-radius: 4px; margin-bottom: 18px; }
.sk-testi-author { display: flex; align-items: center; gap: 12px; }
.sk-testi-avatar { width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0; }

/* ===================== PÁGINA /TOURS ===================== */
.tours-page-hero {
  background: linear-gradient(135deg, #0d1b2e 0%, #07111f 100%);
  padding: 130px 40px 60px;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.tours-page-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5.5rem);
  color: var(--white); letter-spacing: 3px; line-height: 1;
}
.tours-page-title span { color: var(--lime); }
.tours-page-sub {
  color: rgba(255,255,255,.6); font-size: .95rem;
  font-weight: 600; letter-spacing: 1px; margin-top: 14px;
}

/* Barra de filtros */
.tours-filter-bar {
  background: #0b1827;
  border-bottom: 1px solid rgba(255,255,255,.08);
  padding: 14px 40px;
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  position: sticky; top: 72px; z-index: 100;
}
.tours-search {
  flex: 1; min-width: 200px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 50px;
  padding: 10px 18px 10px 40px;
  color: #e2e8f0; font-size: .88rem;
  outline: none; font-family: inherit;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='15' fill='%2394a3b8' viewBox='0 0 16 16'%3E%3Cpath d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.099zm-5.242 1.656a5.5 5.5 0 1 1 0-11 5.5 5.5 0 0 1 0 11z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 14px center;
  transition: border-color .15s, background .15s;
}
.tours-search::placeholder { color: #64748b; }
.tours-search:focus { border-color: #00c8e0; background: rgba(0,200,224,.07); }

.filter-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-chip {
  padding: 8px 18px; border-radius: 50px;
  background: rgba(255,255,255,.07);
  border: 1.5px solid rgba(255,255,255,.14);
  color: #94a3b8; font-size: .78rem; font-weight: 700;
  letter-spacing: .6px; text-transform: uppercase;
  cursor: pointer; transition: background .15s, color .15s, border-color .15s;
  outline: none; font-family: inherit; white-space: nowrap;
}
.filter-chip:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.25);
  color: #e2e8f0;
}
.filter-chip.active {
  background: rgba(0,200,224,.15);
  border-color: #00c8e0;
  color: #00c8e0;
}

.tours-sort {
  background: rgba(255,255,255,.07);
  border: 1.5px solid rgba(255,255,255,.14);
  border-radius: 50px; padding: 8px 34px 8px 16px;
  color: #94a3b8; font-size: .78rem;
  font-weight: 700; font-family: inherit; cursor: pointer;
  letter-spacing: .4px; text-transform: uppercase;
  outline: none; appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' fill='%2364748b' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: calc(100% - 13px) center;
  transition: border-color .15s, color .15s;
}
.tours-sort:focus { border-color: #00c8e0; color: #e2e8f0; }
.tours-sort option { background: #0b1827; color: #e2e8f0; }

/* Contenedor de la grilla de tours en /tours */
.tours-page-body {
  background: #07111f;
  padding: 36px 40px 80px;
  min-height: 60vh;
}
.tours-count-label {
  color: #64748b; font-size: .8rem;
  font-weight: 700; letter-spacing: .8px; text-transform: uppercase;
  margin-bottom: 20px; padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.tours-empty {
  text-align: center; padding: 80px 20px;
  color: rgba(255,255,255,.4);
}
.tours-empty-icon { font-size: 3rem; margin-bottom: 16px; }
.tours-empty-txt  { font-size: 1.05rem; font-weight: 600; }

/* ── Galería pública — hero oscuro + cuerpo ─────────────────── */
.gallery-page-hero {
  background: linear-gradient(135deg, #0d1b2e 0%, #07111f 100%);
  padding: 130px 40px 60px;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.gallery-page-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5rem);
  color: var(--white); letter-spacing: 3px; line-height: 1;
  margin: 10px 0 0;
}
.gallery-page-body {
  background: #07111f;
  padding: 60px 40px 80px;
  min-height: 50vh;
}
.gallery-page-body .gallery-item img { border-radius: 8px; }

/* ── Lightbox ──────────────────────────────────────────────────── */
.lb-backdrop {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,.93);
  display: flex; align-items: center; justify-content: center;
  animation: lb-fadein .22s ease;
  outline: none;          /* tabindex sin borde de foco visible */
  padding: 0 70px;        /* espacio para las flechas laterales */
  box-sizing: border-box;
}
@keyframes lb-fadein { from { opacity: 0 } to { opacity: 1 } }

/* Contenedor imagen + pie */
.lb-wrap {
  display: flex; flex-direction: column; align-items: center;
  max-width: 90vw; max-height: 92vh;
}

/* Imagen principal */
.lb-img {
  max-width: 88vw; max-height: 80vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0,0,0,.9);
  animation: lb-zoomin .24s cubic-bezier(.22,1,.36,1);
  display: block;
  user-select: none;
}
@keyframes lb-zoomin {
  from { transform: scale(.9); opacity: .3 }
  to   { transform: scale(1);  opacity: 1  }
}

/* Pie: contador + caption */
.lb-footer {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  margin-top: 12px;
}
.lb-counter {
  color: rgba(255,255,255,.45); font-size: .78rem;
  letter-spacing: .06em; font-variant-numeric: tabular-nums;
}
.lb-caption {
  color: rgba(255,255,255,.75); font-size: .9rem;
  text-align: center; max-width: 70vw;
  line-height: 1.35;
}

/* Botón cerrar */
.lb-close {
  position: fixed; top: 16px; right: 18px; z-index: 10001;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  color: #fff; font-size: 1.1rem; line-height: 1;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .18s, transform .18s;
  backdrop-filter: blur(6px);
}
.lb-close:hover { background: rgba(255,255,255,.24); transform: scale(1.1); }

/* Flechas prev / next */
.lb-arrow {
  position: fixed; top: 50%; transform: translateY(-50%); z-index: 10001;
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  color: #fff; font-size: 1.5rem;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .18s, transform .18s;
  backdrop-filter: blur(6px);
  user-select: none;
}
.lb-arrow:hover { background: rgba(255,255,255,.24); transform: translateY(-50%) scale(1.1); }
.lb-prev { left: 14px; }
.lb-next { right: 14px; }

/* Mobile */
@media (max-width: 600px) {
  .lb-backdrop { padding: 0 54px; }
  .lb-img      { max-width: 92vw; max-height: 70vh; }
  .lb-arrow    { width: 42px; height: 42px; font-size: 1.2rem; }
  .lb-prev     { left: 6px; }
  .lb-next     { right: 6px; }
  .lb-close    { top: 10px; right: 10px; width: 40px; height: 40px; }
}

@media (max-width: 768px) {
  .tours-page-hero  { padding: 110px 20px 40px; }
  .gallery-page-hero { padding: 110px 20px 40px; }
  .gallery-page-body { padding: 30px 14px 80px; }
  .tours-filter-bar { padding: 12px 14px; gap: 8px; top: 64px; }
  .tours-search { font-size: .84rem; padding: 9px 14px 9px 36px; }
  .filter-chip { padding: 7px 14px; font-size: .72rem; }
  .tours-sort { font-size: .72rem; padding: 7px 30px 7px 12px; }
  .tours-page-body { padding: 20px 14px 80px; }
  .gallery-page-body .gallery-grid { columns: 2 !important; }
}

/* ===================== RESPONSIVE ===================== */

/* Laptop 13"-15": pantalla angosta en altura — reducir título y espaciados */
@media (max-width: 1400px) and (max-height: 900px) {
  .hero-title { font-size: clamp(4rem, 9vw, 7rem); }
  .hero-logo-spin { width: 80px; height: 80px; margin-top: 16px; }
  .hero-sub { margin-bottom: 24px; }
  .hero-badge { margin-bottom: 14px; }
  #inicio { padding-top: 72px; }
}

@media (max-width: 1024px) {
  .tours-grid { grid-template-columns: repeat(2,1fr); }
  .gallery-grid { columns: 3; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  header { padding: 14px 20px; }
  /* Compensar el header más pequeño en móvil (~58px) */
  #inicio { padding-top: 58px; }
  nav {
    display: none;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(10,18,36,.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 12px 0 20px;
    box-shadow: 0 12px 40px rgba(0,0,0,.5);
    border-top: 1px solid rgba(255,255,255,.07);
  }
  nav.open { display: flex; }
  nav a {
    padding: 13px 28px;
    font-size: .95rem;
    border-bottom: 1px solid rgba(255,255,255,.05);
    transition: background .15s, color .15s;
  }
  nav a:last-child { border-bottom: none; }
  nav a:hover, nav a.active { background: rgba(0,200,224,.08); color: #00c8e0; }
  .nav-toggle { display: flex; }
  .btn-header { display: none; }
  .tours-grid, .steps-grid, .testi-grid { grid-template-columns: 1fr; }
  .about-container, .contact-container { grid-template-columns: 1fr; }

  /* ── Cards de tour en móvil ── */
  .tour-card { min-height: 390px; }
  .tour-content { padding: 18px; }
  .tour-name { font-size: 1.65rem; }
  .tour-includes li { font-size: .78rem; }

  /* Botones de acción — touch targets mínimo 44px */
  .btn-reservar, .btn-tour-detalle {
    padding: 14px; font-size: .88rem; min-height: 44px;
  }
  .gallery-grid { columns: 2; }
  .stats-grid { grid-template-columns: 1fr; gap: 0; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.1); }
  .stat-item:last-child { border-bottom: none; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  #tours, #como-funciona, #galeria, #nosotros, #testimonios, #contacto { padding: 72px 20px; }
  #stats { padding: 40px 20px; }
  .whatsapp-float span { display: none; }
  .whatsapp-float { padding: 16px; border-radius: 50%; }
}

/* ===================== ADMIN PANEL ===================== */
/* ═══════════════════════════════════════════════════════════════
   ADMIN — DESIGN SYSTEM  |  Mobile First
   Base: 0px+  ·  Tablet: 640px+  ·  Desktop: 1024px+
   ═══════════════════════════════════════════════════════════════ */

/* ── Variables ─────────────────────────────────────────────────── */
.admin-page, .admin-shell, .login-page {
  --ab: #07111f;          /* fondo base */
  --as: #0d1b2e;          /* surface */
  --ac: #132039;          /* card */
  --ac2: #192844;         /* card hover */
  --abr: rgba(255,255,255,.06);   /* border */
  --abr2: rgba(255,255,255,.11);  /* border strong */
  --at: #e2e8f0;          /* text */
  --am: #64748b;          /* muted */
  --ad: #94a3b8;          /* dim */
  --aa: #00c8e0;          /* accent cyan */
  --al: #b4f55e;          /* accent lime */
  --ar: #f87171;          /* danger */
  --aw: #fbbf24;          /* warning */
  --ag: #4ade80;          /* success */
  --rr: 14px;             /* border-radius */
  --rs: 9px;              /* border-radius small */
}

/* ── Layout base (mobile) ──────────────────────────────────────── */
.admin-page {
  display: flex; flex-direction: column;
  min-height: 100vh;
  background: var(--ab);
  color: var(--at);
  font-family: 'Montserrat', system-ui, sans-serif;
}
.admin-shell { display: flex; flex: 1; min-width: 0; }
.admin-content {
  flex: 1; min-width: 0;
  padding: 16px 16px 80px; /* 80px = espacio para bottom nav */
  overflow-x: hidden;
}

/* ── Mobile topbar ─────────────────────────────────────────────── */
.admin-topbar {
  display: flex; align-items: center; justify-content: space-between;
  height: 54px; padding: 0 16px;
  background: var(--as);
  border-bottom: 1px solid var(--abr);
  position: sticky; top: 0; z-index: 300;
  flex-shrink: 0;
}
.admin-topbar-brand {
  display: flex; align-items: center; gap: 9px;
  font-family: var(--font-display); font-size: 1rem;
  letter-spacing: 2px; color: var(--at);
}
.admin-topbar-brand img { width: 28px; height: 28px; border-radius: 8px; object-fit: contain; }

/* ── Mobile bottom nav ─────────────────────────────────────────── */
.admin-bottom-nav {
  /* Usamos <div> para evitar conflicto con la regla global
     nav { display:none; top:100% } del sitio público en ≤768px.
     Aun así dejamos top:auto como respaldo por si acaso. */
  position: fixed !important;
  top: auto !important;
  bottom: 0 !important;
  left: 0; right: 0;
  z-index: 300; height: 62px;
  background: var(--as);
  border-top: 1px solid var(--abr);
  display: flex !important; flex-direction: row !important;
  align-items: stretch;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.admin-bnav-item {
  /* basis:0 = todos los ítems exactamente iguales */
  flex: 1 1 0 !important; min-width: 0; overflow: hidden;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 2px;
  padding: 6px 2px;
  color: var(--am); text-decoration: none;
  /* 11.2 px — legible en pantallas retina */
  font-size: .7rem; font-weight: 700; letter-spacing: .2px; text-transform: uppercase;
  border: none; background: none; cursor: pointer;
  position: relative; white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  transition: color .18s;
  min-height: 44px; /* touch target mínimo Apple HIG */
}
.admin-bnav-item .bnav-icon { font-size: 1.28rem; line-height: 1; display: block; flex-shrink: 0; }
.admin-bnav-item.active { color: var(--aa); }
.admin-bnav-item.active .bnav-icon { filter: drop-shadow(0 0 5px rgba(0,200,224,.5)); }
.admin-bnav-item::after {
  content: ''; position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 0; height: 2px; background: var(--aa);
  border-radius: 0 0 3px 3px; transition: width .2s;
}
.admin-bnav-item.active::after { width: 24px; }
.bnav-badge {
  position: absolute; top: 5px; right: calc(50% - 18px);
  background: var(--ar); color: #fff;
  font-size: .58rem; font-weight: 900;
  min-width: 15px; height: 15px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  padding: 0 3px; border: 1.5px solid var(--as); line-height: 1;
}

/* ── "Más" bottom sheet ────────────────────────────────────────── */
.admin-more-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.6); z-index: 400;
}
.admin-more-overlay.open { display: block; }
.admin-more-sheet {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--as); border-radius: 22px 22px 0 0;
  border-top: 1px solid var(--abr2); z-index: 401;
  padding: 0 0 calc(68px + env(safe-area-inset-bottom, 0px));
  transform: translateY(100%);
  transition: transform .28s cubic-bezier(.4,0,.2,1);
}
.admin-more-sheet.open { transform: translateY(0); }
.admin-more-handle {
  width: 36px; height: 4px; background: rgba(255,255,255,.12);
  border-radius: 2px; margin: 12px auto 6px;
}
.admin-more-item {
  display: flex; align-items: center; gap: 14px;
  padding: 15px 24px; color: var(--at);
  text-decoration: none; font-size: .9rem; font-weight: 600;
  border: none; background: none; cursor: pointer; width: 100%;
  -webkit-tap-highlight-color: transparent; transition: background .15s;
}
.admin-more-item:active { background: rgba(255,255,255,.04); }
.admin-more-item .more-icon { font-size: 1.25rem; width: 26px; text-align: center; }
.admin-more-item.danger { color: var(--ar); }
.admin-more-divider { height: 1px; background: var(--abr); margin: 4px 20px; }

/* ── Desktop sidebar (oculto en móvil) ────────────────────────── */
.admin-sidebar { display: none; }

/* ── Page header ───────────────────────────────────────────────── */
.admin-page-header {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px; margin-bottom: 22px;
}
.admin-page-title {
  font-family: var(--font-display); font-size: 1.7rem;
  color: var(--at); letter-spacing: 1px; line-height: 1;
  display: flex; align-items: center; gap: 10px;
}
.admin-page-sub { color: var(--am); font-size: .8rem; margin-top: 3px; }
.admin-section-title {
  font-family: var(--font-display); font-size: 1.2rem;
  color: var(--at); letter-spacing: 1px; margin-bottom: 14px;
}

/* ── Stat cards ────────────────────────────────────────────────── */
.admin-stats-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 12px; margin-bottom: 24px;
}
.admin-stat-card {
  background: var(--ac); border-radius: var(--rr);
  padding: 18px 16px; border: 1px solid var(--abr);
  position: relative; overflow: hidden;
  transition: transform .18s; cursor: default;
}
.admin-stat-card:active { transform: scale(.97); }
.admin-stat-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 2px; background: linear-gradient(90deg, var(--aa), var(--al));
}
.admin-stat-icon-wrap {
  width: 38px; height: 38px; border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem; margin-bottom: 11px;
  background: rgba(0,200,224,.1);
}
.admin-stat-icon { font-size: 1.6rem; margin-bottom: 10px; line-height: 1; } /* legado */
.admin-stat-num {
  font-family: var(--font-display); font-size: 2.2rem;
  color: var(--at); line-height: 1;
}
.admin-stat-num.highlight { color: var(--aw); }
.admin-stat-label {
  color: var(--am); font-size: .68rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .8px; margin-top: 5px;
}
.admin-stat-link {
  display: inline-flex; align-items: center; gap: 4px;
  color: var(--aa); font-size: .7rem; font-weight: 700;
  text-decoration: none; margin-top: 9px; letter-spacing: .3px;
}

/* ── Quick links ───────────────────────────────────────────────── */
.admin-quick-links { margin-bottom: 8px; }
.admin-quick-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.admin-quick-card {
  background: var(--ac); border: 1px solid var(--abr);
  border-radius: var(--rr); padding: 15px 14px;
  display: flex; align-items: center; gap: 9px;
  color: var(--ad); font-weight: 700; font-size: .8rem;
  text-decoration: none;
  transition: background .18s, color .18s, border-color .18s;
  -webkit-tap-highlight-color: transparent;
}
.admin-quick-card .qc-icon { font-size: 1.2rem; }
.admin-quick-card:active { background: rgba(0,200,224,.1); color: var(--aa); border-color: rgba(0,200,224,.2); }
@media (hover:hover) { .admin-quick-card:hover { background: rgba(0,200,224,.08); color: var(--aa); border-color: rgba(0,200,224,.2); } }

/* ── Buttons ───────────────────────────────────────────────────── */
.admin-btn-primary, .admin-btn-secondary, .admin-btn-danger, .admin-btn-sm {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  font-weight: 800; text-transform: uppercase; letter-spacing: .8px;
  border-radius: var(--rs); border: none; cursor: pointer;
  text-decoration: none;
  transition: transform .15s, opacity .15s, box-shadow .15s;
  -webkit-tap-highlight-color: transparent;
  min-height: 44px;
}
.admin-btn-primary:active, .admin-btn-secondary:active, .admin-btn-danger:active { transform: scale(.96); }
.admin-btn-primary:disabled, .admin-btn-secondary:disabled, .admin-btn-danger:disabled { opacity: .5; cursor: not-allowed; }

.admin-btn-primary {
  background: linear-gradient(135deg, #00c8e0, #007ea0);
  color: #fff; font-size: .82rem; padding: 11px 22px;
  box-shadow: 0 3px 14px rgba(0,200,224,.25);
}
@media (hover:hover) { .admin-btn-primary:hover:not(:disabled) { box-shadow: 0 5px 20px rgba(0,200,224,.4); transform: translateY(-1px); } }

.admin-btn-danger {
  background: #ef4444; color: #fff;
  font-size: .82rem; padding: 11px 22px;
  border: 1px solid rgba(239,68,68,.5);
}
@media (hover:hover) { .admin-btn-danger:hover:not(:disabled) { background: #dc2626; color: #fff; } }

.admin-btn-secondary {
  background: var(--ac2); color: var(--ad);
  font-size: .82rem; padding: 11px 22px;
  border: 1px solid var(--abr2);
}
@media (hover:hover) { .admin-btn-secondary:hover:not(:disabled) { color: var(--at); background: var(--ac); } }

.admin-btn-sm {
  background: rgba(255,255,255,.07); color: var(--ad);
  border: 1px solid var(--abr); font-size: .78rem; padding: 9px 14px;
  min-height: 44px; min-width: 44px; /* touch target mínimo */
}
.admin-btn-sm:active { background: rgba(255,255,255,.13); }
.admin-btn-sm.danger { color: var(--ar); border-color: rgba(248,113,113,.2); background: rgba(248,113,113,.07); }
.admin-btn-sm.danger:active { background: rgba(248,113,113,.18); }
.admin-btn-sm.active { color: var(--al); border-color: rgba(180,245,94,.25); background: rgba(180,245,94,.1); }

/* ── Badges ────────────────────────────────────────────────────── */
.admin-badge {
  display: inline-flex; align-items: center;
  padding: 4px 10px; border-radius: 20px;
  font-size: .75rem; font-weight: 800; letter-spacing: .4px; text-transform: uppercase;
}
.admin-badge.green { background: rgba(74,222,128,.1); color: var(--ag); border: 1px solid rgba(74,222,128,.2); }
.admin-badge.red   { background: rgba(248,113,113,.1); color: var(--ar); border: 1px solid rgba(248,113,113,.2); }
.admin-badge.gray  { background: rgba(148,163,184,.07); color: var(--ad); border: 1px solid rgba(148,163,184,.15); }
.admin-badge.warn  { background: rgba(251,191,36,.1); color: var(--aw); border: 1px solid rgba(251,191,36,.2); }

/* ── Tables (horizontal scroll en móvil) ──────────────────────── */
.admin-table-wrap {
  background: var(--ac); border-radius: var(--rr);
  border: 1px solid var(--abr); overflow: hidden;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
}
.admin-table { width: 100%; border-collapse: collapse; min-width: 500px; }
.admin-table th {
  background: rgba(255,255,255,.03); color: var(--am);
  font-size: .67rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: 1px; padding: 13px 14px; text-align: left; white-space: nowrap;
}
.admin-table td { padding: 12px 14px; border-top: 1px solid var(--abr); color: var(--at); font-size: .84rem; }
@media (hover:hover) { .admin-table tr:hover td { background: rgba(255,255,255,.015); } }

/* ── Tour cards (reemplaza tabla en móvil) ─────────────────────── */
.admin-tour-list { display: flex; flex-direction: column; gap: 10px; }
.admin-tour-card {
  background: var(--ac); border: 1px solid var(--abr);
  border-radius: var(--rr); padding: 14px 16px;
  display: flex; align-items: center; gap: 14px;
  transition: background .15s;
}
.admin-tour-card:active { background: var(--ac2); }
.admin-tour-ord {
  background: rgba(255,255,255,.05); border-radius: 8px;
  min-width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; color: var(--am); font-size: .8rem; flex-shrink: 0;
}
.admin-tour-info { flex: 1; min-width: 0; }
.admin-tour-name {
  font-weight: 700; color: var(--at); font-size: .95rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.admin-tour-sub {
  color: var(--am); font-size: .76rem; margin-top: 2px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.admin-tour-meta { display: flex; align-items: center; gap: 7px; margin-top: 8px; flex-wrap: wrap; }
.admin-tour-price { color: var(--al); font-size: .8rem; font-weight: 800; letter-spacing: .3px; }
.admin-tour-actions { display: flex; gap: 8px; align-items: center; flex-shrink: 0; }

/* ── Cards (mensajes, reseñas) ─────────────────────────────────── */
.admin-messages-list, .admin-reviews-list { display: flex; flex-direction: column; gap: 10px; }
.admin-message-card, .admin-review-card {
  background: var(--ac); border: 1px solid var(--abr);
  border-radius: var(--rr); padding: 16px;
  transition: background .15s;
}
.admin-message-card { cursor: pointer; -webkit-tap-highlight-color: transparent; }
.admin-message-card:active { background: var(--ac2); }
.admin-message-card.unread { border-left: 3px solid var(--al); }
.admin-message-header, .admin-review-header {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 8px; margin-bottom: 4px; color: var(--at);
}
.admin-message-body {
  margin-top: 14px; padding-top: 14px;
  border-top: 1px solid var(--abr);
  color: var(--ad); font-size: .84rem; line-height: 1.75;
}

/* ── Tabs ──────────────────────────────────────────────────────── */
.admin-tabs {
  display: flex; gap: 6px; margin-bottom: 20px;
  background: var(--ac); border-radius: var(--rs);
  padding: 4px; border: 1px solid var(--abr);
}
.admin-tab {
  flex: 1; background: none; border: none; border-radius: 7px;
  padding: 9px 14px; color: var(--am); font-weight: 800;
  font-size: .78rem; cursor: pointer; transition: .2s;
  text-align: center; min-height: 40px;
}
.admin-tab.active { background: var(--aa); color: #fff; box-shadow: 0 2px 10px rgba(0,200,224,.3); }

/* ── Modals — FULL SCREEN en móvil, centrado en desktop ────────── */
.admin-modal-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,.7);
  z-index: 500; display: flex;
  /* móvil: pantalla completa (como app nativa) */
  align-items: flex-start; justify-content: center;
  padding: 0;
}
.admin-modal {
  background: var(--as); width: 100%;
  height: 100%; max-height: 100%;
  overflow-y: auto; border-radius: 0; border: none;
  display: flex; flex-direction: column;
}
/* Variant para diálogos de confirmación cortos — bottom sheet */
.admin-modal-backdrop.sheet { align-items: flex-end; }
.admin-modal.sheet {
  height: auto; max-height: 80vh;
  border-radius: 20px 20px 0 0;
  border: 1px solid var(--abr2); border-bottom: none;
}
.admin-modal-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: calc(env(safe-area-inset-top, 0px) + 16px) 20px 16px;
  border-bottom: 1px solid var(--abr);
  position: sticky; top: 0; background: var(--as); z-index: 1; flex-shrink: 0;
}
.admin-modal.sheet .admin-modal-header { padding-top: 18px; }
.admin-modal-header h3 { color: var(--at); font-family: var(--font-display); font-size: 1.25rem; letter-spacing: 1px; }
.admin-modal-header button {
  background: rgba(255,255,255,.08); border: none; color: var(--ad);
  font-size: 1rem; cursor: pointer; border-radius: 8px;
  width: 36px; height: 36px; /* 36px — visible + touchable */
  display: flex; align-items: center; justify-content: center;
}
.admin-modal-body { padding: 20px; display: flex; flex-direction: column; gap: 16px; flex: 1; overflow-y: auto; }
.admin-modal-body .form-group label { color: var(--am); font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; display: block; margin-bottom: 6px; }
.admin-modal-body .form-group input,
.admin-modal-body .form-group textarea,
.admin-modal-body .form-group select {
  background: rgba(255,255,255,.04); border: 1px solid var(--abr2);
  border-radius: var(--rs); color: var(--at); width: 100%;
  padding: 12px 14px; font-size: .92rem; font-family: inherit;
  outline: none; min-height: 48px; transition: border-color .2s;
}
.admin-modal-body .form-group input:focus,
.admin-modal-body .form-group textarea:focus { border-color: var(--aa); }
.admin-modal-body .form-group input::placeholder,
.admin-modal-body .form-group textarea::placeholder { color: rgba(148,163,184,.35); }
.admin-modal-body .form-group select option { background: #1a2844; }
.admin-modal-footer {
  padding: 14px 20px calc(14px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--abr);
  display: flex; gap: 10px; flex-shrink: 0;
}
.admin-modal-footer .admin-btn-primary,
.admin-modal-footer .admin-btn-secondary { flex: 1; }

/* ── Alerts ────────────────────────────────────────────────────── */
.admin-alert {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; border-radius: var(--rs);
  font-size: .84rem; font-weight: 600; margin-bottom: 16px;
}
.admin-alert.success { background: rgba(74,222,128,.1);  color: var(--ag); border: 1px solid rgba(74,222,128,.2); }
.admin-alert.danger  { background: rgba(248,113,113,.1); color: var(--ar); border: 1px solid rgba(248,113,113,.2); }
.admin-alert.info    { background: rgba(0,200,224,.1);   color: var(--aa); border: 1px solid rgba(0,200,224,.2); }
.admin-alert.warn    { background: rgba(251,191,36,.1);  color: var(--aw); border: 1px solid rgba(251,191,36,.2); }

/* ── Gallery ───────────────────────────────────────────────────── */
.admin-gallery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
.admin-gallery-item {
  position: relative; border-radius: 12px;
  overflow: hidden; border: 1px solid var(--abr);
  background: var(--ac);
}
.admin-gallery-item img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.admin-gallery-item.inactive img { opacity: .3; }
.admin-gallery-overlay {
  position: absolute; inset: 0; background: rgba(0,0,0,.5);
  display: flex; align-items: center; justify-content: center; gap: 8px;
  opacity: 0; transition: opacity .2s;
}
.admin-gallery-item:active .admin-gallery-overlay { opacity: 1; }
@media (hover:hover) { .admin-gallery-item:hover .admin-gallery-overlay { opacity: 1; } }
.admin-gallery-overlay button {
  background: rgba(255,255,255,.15); border: none; border-radius: 8px;
  padding: 9px 12px; color: #fff; font-size: .95rem; cursor: pointer;
  backdrop-filter: blur(4px); min-width: 40px; min-height: 40px;
}
.admin-gallery-info {
  padding: 8px 10px; background: var(--ac);
  display: flex; justify-content: space-between; align-items: center;
}
.admin-gallery-info small { color: var(--am); font-size: .67rem; }

/* ── Upload zone ───────────────────────────────────────────────── */
.upload-section {
  background: var(--ac); border: 1px solid var(--abr);
  border-radius: var(--rr); padding: 18px; margin-bottom: 20px;
}
/* ── Admin Tours — barra de filtros ────────────────────────────── */
.at-filter-bar {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 10px; margin-bottom: 16px;
}
.at-search-wrap {
  position: relative; flex: 1; min-width: 180px;
}
.at-search-icon {
  position: absolute; left: 11px; top: 50%; transform: translateY(-50%);
  font-size: .85rem; pointer-events: none;
}
.at-search {
  width: 100%; padding: 8px 12px 8px 32px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px; color: #e2e8f0; font-size: .83rem;
  font-family: inherit; outline: none;
  transition: border-color .2s, background .2s;
}
.at-search::placeholder { color: #475569; }
.at-search:focus { border-color: #00c8e0; background: rgba(0,200,224,.06); }

/* ── Histórico de tours archivados ─────────────────────────────── */
.admin-historico-header {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--ac); border: 1px solid var(--abr);
  border-radius: var(--rr); padding: 14px 18px;
  margin-top: 28px; cursor: pointer;
  transition: background .2s;
}
.admin-historico-header:hover { background: var(--ac2); }
.admin-historico-title {
  font-family: var(--font-display); font-size: 1rem;
  letter-spacing: 1px; color: var(--at);
}
.admin-historico-chevron {
  font-size: 1.4rem; color: var(--ad);
  transition: transform .25s; display: inline-block;
  transform: rotate(90deg);
}
.admin-historico-chevron.open { transform: rotate(270deg); }
.admin-historico-grid {
  display: flex; flex-direction: column; gap: 10px;
  margin-top: 10px;
}
.admin-historico-card {
  display: flex; align-items: center; gap: 14px;
  background: var(--ac); border: 1px solid var(--abr);
  border-radius: var(--rr); padding: 12px 14px;
  opacity: .75;
}
.admin-historico-card:hover { opacity: 1; }
.admin-historico-thumb {
  width: 52px; height: 52px; flex-shrink: 0;
  border-radius: 10px; overflow: hidden;
  background: var(--ac2); display: flex; align-items: center; justify-content: center;
  filter: grayscale(.4);
}
.admin-historico-thumb img { width: 100%; height: 100%; object-fit: cover; }
.admin-historico-body { flex: 1; min-width: 0; }
.admin-historico-name {
  font-weight: 700; font-size: .9rem; color: var(--at);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.admin-historico-sub { font-size: .78rem; color: var(--ad); margin-top: 2px; }
.admin-historico-fecha { font-size: .75rem; color: var(--ad); margin: 4px 0; }
.admin-historico-stats { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }

/* Overlay de carga (leyendo archivo / subiendo) */
.upload-loading-overlay {
  position: absolute; inset: 0; z-index: 10;
  background: rgba(7,17,31,.78);
  border-radius: var(--rr);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 14px;
  backdrop-filter: blur(3px);
}
.upload-loading-spinner {
  width: 38px; height: 38px; border-radius: 50%;
  border: 3px solid rgba(255,255,255,.1);
  border-top-color: #00c8e0;
  animation: spin .75s linear infinite;
}
.upload-loading-text {
  color: #e2e8f0; font-size: .9rem; font-weight: 700;
  letter-spacing: .3px;
}
.upload-section-title {
  font-family: var(--font-display); font-size: 1.15rem;
  color: var(--aa); letter-spacing: 1px; margin-bottom: 16px;
}
/* Zona de toque/drop */
.upload-zone {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; text-align: center;
  border: 2px dashed var(--abr2); border-radius: var(--rr);
  padding: 28px 20px; cursor: pointer; min-height: 150px;
  background: rgba(255,255,255,.015);
  transition: border-color .2s, background .2s;
  -webkit-tap-highlight-color: transparent; margin-bottom: 14px;
}
.upload-zone:active { border-color: var(--aa); background: rgba(0,200,224,.06); }
@media (hover:hover) { .upload-zone:hover { border-color: var(--aa); background: rgba(0,200,224,.04); } }
.upload-zone.has-file { border-style: solid; border-color: var(--aa); background: rgba(0,200,224,.05); }
.upload-zone-icon { font-size: 2.4rem; line-height: 1; }
.upload-zone-title { color: var(--at); font-weight: 700; font-size: .93rem; }
.upload-zone-hint { color: var(--am); font-size: .73rem; }
.upload-preview-img {
  width: 100%; max-height: 210px; object-fit: contain;
  border-radius: 10px; margin-bottom: 4px;
}
.upload-file-name { color: var(--ad); font-size: .82rem; font-weight: 600; word-break: break-all; }
.upload-change-hint { color: var(--am); font-size: .72rem; }
/* Label de texto alternativo */
.upload-section .form-group label { color: var(--am); font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; }
.upload-section .form-group input {
  background: rgba(255,255,255,.04); border: 1px solid var(--abr2);
  border-radius: var(--rs); color: var(--at); width: 100%;
  padding: 11px 13px; font-size: .9rem; outline: none; min-height: 44px;
  transition: border-color .2s;
}
.upload-section .form-group input:focus { border-color: var(--aa); }
.upload-section .form-group input::placeholder { color: rgba(148,163,184,.35); }

/* ── Toast notifications ───────────────────────────────────────── */
.toast-container {
  position: fixed; top: 16px; left: 16px; right: 16px;
  z-index: 9999; pointer-events: none;
  display: flex; flex-direction: column; gap: 8px;
}
.admin-toast {
  display: flex; align-items: center; gap: 12px;
  background: #192844; border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px; padding: 13px 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,.5);
  color: var(--at); font-size: .88rem; font-weight: 600;
  animation: toast-in .25s cubic-bezier(.34,1.56,.64,1) forwards;
  pointer-events: auto; line-height: 1.4;
}
.admin-toast.toast-exit { animation: toast-out .22s ease forwards; }
.admin-toast.admin-toast-success { border-left: 3px solid var(--ag); }
.admin-toast.admin-toast-danger  { border-left: 3px solid var(--ar); }
.admin-toast.admin-toast-info    { border-left: 3px solid var(--aa); }
.admin-toast.admin-toast-warn    { border-left: 3px solid var(--aw); }
.toast-icon { font-size: 1.1rem; flex-shrink: 0; }
@keyframes toast-in  { from { opacity:0; transform:translateY(-10px) scale(.96); } to { opacity:1; transform:none; } }
@keyframes toast-out { from { opacity:1; transform:none; } to { opacity:0; transform:translateY(-6px) scale(.97); } }

/* ── FAB ───────────────────────────────────────────────────────── */
.admin-fab {
  position: fixed;
  right: 20px; bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(135deg, #00c8e0, #0070a0);
  color: #fff; font-size: 1.7rem; font-weight: 300; line-height: 1;
  border: none; cursor: pointer; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(0,200,224,.4);
  -webkit-tap-highlight-color: transparent;
  transition: transform .15s, box-shadow .15s;
}
.admin-fab:active { transform: scale(.9); box-shadow: 0 2px 10px rgba(0,200,224,.25); }

/* ── Tour thumbnail ────────────────────────────────────────────── */
.admin-tour-thumb {
  width: 50px; height: 50px; border-radius: 11px;
  background: var(--ac2); flex-shrink: 0;
  overflow: hidden; display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
}
.admin-tour-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ── Chips / Inclusiones ───────────────────────────────────────── */
.chips-list { display: flex; flex-wrap: wrap; gap: 8px; min-height: 4px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(0,200,224,.1); border: 1px solid rgba(0,200,224,.22);
  border-radius: 20px; padding: 6px 8px 6px 12px;
  color: var(--aa); font-size: .82rem; font-weight: 600;
  max-width: 100%; word-break: break-word;
}
.chip-remove {
  background: none; border: none; color: var(--aa); cursor: pointer;
  font-size: 1rem; padding: 0; line-height: 1; opacity: .7;
  transition: opacity .15s;
  min-width: 22px; min-height: 22px;
  display: flex; align-items: center; justify-content: center;
}
.chip-remove:hover { opacity: 1; }
.chips-add { display: flex; gap: 8px; align-items: center; margin-top: 10px; }
.chips-add input {
  flex: 1; background: rgba(255,255,255,.04); border: 1px solid var(--abr2);
  border-radius: var(--rs); color: var(--at); padding: 10px 13px;
  font-size: .88rem; outline: none; min-height: 44px;
  transition: border-color .2s; font-family: inherit;
}
.chips-add input:focus { border-color: var(--aa); }
.chips-add input::placeholder { color: rgba(148,163,184,.35); }

/* ── Puntos de recogida editor ─────────────────────────────────── */
.puntos-add-grid {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 8px; align-items: center; margin-top: 10px;
}
.puntos-add-grid input {
  background: rgba(255,255,255,.04); border: 1px solid var(--abr2);
  border-radius: var(--rs); color: var(--at); padding: 10px 13px;
  font-size: .88rem; outline: none; min-height: 44px;
  transition: border-color .2s; font-family: inherit; width: 100%;
}
.puntos-add-grid input:focus { border-color: var(--aa); }
.puntos-add-grid input::placeholder { color: rgba(148,163,184,.35); }
@media (max-width: 480px) {
  .puntos-add-grid { grid-template-columns: 1fr auto; }
  .puntos-hora-input { grid-column: 1 / -1; }
}

/* ── Empty states ──────────────────────────────────────────────── */
.admin-empty-state {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; padding: 64px 20px; text-align: center; gap: 10px;
}
.admin-empty-icon { font-size: 3.2rem; opacity: .2; line-height: 1; }
.admin-empty-title { color: var(--at); font-size: 1rem; font-weight: 700; }
.admin-empty-sub { color: var(--am); font-size: .84rem; line-height: 1.65; max-width: 270px; }

/* ── Utilidades ────────────────────────────────────────────────── */
/* Ocultar en móvil / mostrar solo en desktop */
.admin-desktop-only { display: none !important; }
/* Notificación en topbar */
.admin-topbar-badge {
  position: relative; display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 10px;
  background: rgba(255,255,255,.07); font-size: 1.1rem; cursor: default;
}
.admin-topbar-badge-count {
  position: absolute; top: 4px; right: 4px;
  background: var(--ar); color: #fff;
  font-size: .55rem; font-weight: 900;
  min-width: 14px; height: 14px; border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  padding: 0 3px; border: 1.5px solid var(--as);
}
/* Topbar topbar-badge en móvil */
.admin-topbar-right { display: flex; align-items: center; gap: 8px; }

/* ── Config ────────────────────────────────────────────────────── */
.admin-config-form { background: var(--ac); border-radius: var(--rr); padding: 20px; border: 1px solid var(--abr); margin-bottom: 16px; }
.admin-config-form h3 { font-family: var(--font-display); font-size: 1.2rem; color: var(--aa); letter-spacing: 1px; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid var(--abr); margin-top: 0; }
.admin-config-grid { display: grid; grid-template-columns: 1fr; gap: 14px; margin-bottom: 16px; }
.admin-config-form .form-group label { color: var(--am); font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; }
.admin-config-form .form-group input {
  background: rgba(255,255,255,.04); border: 1px solid var(--abr2);
  border-radius: var(--rs); color: var(--at);
  width: 100%; padding: 11px 13px; font-size: .9rem;
  outline: none; min-height: 44px; transition: border-color .2s;
}
.admin-config-form .form-group input:focus { border-color: var(--aa); }

/* ── Login ─────────────────────────────────────────────────────── */
.login-page {
  min-height: 100vh; background: var(--ab, #07111f);
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.login-card {
  background: var(--as, #0d1b2e); border-radius: 24px;
  padding: 36px 26px; width: 100%; max-width: 400px;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 32px 80px rgba(0,0,0,.6);
}
.login-logo { text-align: center; margin-bottom: 30px; }
.login-logo img {
  width: 78px; height: 78px; border-radius: 20px;
  object-fit: contain; margin-bottom: 14px;
  filter: drop-shadow(0 0 18px rgba(0,200,224,.35));
}
.login-logo h1 { font-family: var(--font-display); font-size: 1.7rem; color: #e2e8f0; letter-spacing: 3px; }
.login-logo p { color: #64748b; font-size: .8rem; margin-top: 5px; }
.login-form { display: flex; flex-direction: column; gap: 14px; }
.login-form .form-group label { display: block; color: #94a3b8; font-size: .76rem; font-weight: 800; text-transform: uppercase; letter-spacing: .9px; margin-bottom: 7px; }
.login-form .form-group input {
  width: 100%; padding: 13px 16px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09);
  border-radius: 11px; color: #e2e8f0; font-size: .95rem;
  outline: none; min-height: 50px; transition: border-color .2s;
}
.login-form .form-group input:focus { border-color: #00c8e0; background: rgba(0,200,224,.04); }
.login-form .form-group input::placeholder { color: rgba(148,163,184,.35); }
.login-error {
  background: rgba(248,113,113,.12); color: #f87171;
  padding: 12px 16px; border-radius: 10px;
  font-size: .84rem; font-weight: 600;
  border: 1px solid rgba(248,113,113,.2); margin-bottom: 6px;
}
.login-form .btn-submit {
  background: linear-gradient(135deg, #00c8e0, #0070a0);
  color: #fff; font-weight: 900; font-size: .88rem;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 15px; border-radius: 12px; border: none;
  cursor: pointer; width: 100%; min-height: 52px;
  box-shadow: 0 4px 20px rgba(0,200,224,.3);
  transition: opacity .2s, transform .15s;
}
.login-form .btn-submit:hover:not(:disabled) { opacity: .9; transform: translateY(-1px); }
.login-form .btn-submit:disabled { opacity: .55; cursor: not-allowed; }

/* ── Tablet 640px+ ─────────────────────────────────────────────── */
@media (min-width: 640px) {
  .admin-stats-grid  { grid-template-columns: repeat(2,1fr); gap: 16px; }
  .admin-quick-grid  { grid-template-columns: repeat(3,1fr); }
  .admin-gallery-grid { grid-template-columns: repeat(3,1fr); }
  .admin-config-grid { grid-template-columns: repeat(2,1fr); }
  .admin-page-title  { font-size: 2rem; }
}

/* ── Desktop 1024px+ ───────────────────────────────────────────── */
@media (min-width: 1024px) {
  /* Ocultar controles móvil */
  .admin-topbar, .admin-bottom-nav { display: none !important; }
  .admin-more-overlay, .admin-more-sheet { display: none !important; }

  /* Layout de fila */
  .admin-page { flex-direction: row; }

  /* Mostrar sidebar */
  .admin-sidebar {
    display: flex; flex-direction: column;
    width: 264px; min-height: 100vh; flex-shrink: 0;
    background: var(--as); border-right: 1px solid var(--abr);
    position: sticky; top: 0; height: 100vh;
    overflow: hidden;
  }
  .admin-brand {
    display: flex; align-items: center; gap: 10px;
    padding: 22px 20px 20px; font-family: var(--font-display);
    font-size: 1.05rem; color: var(--at); letter-spacing: 2px;
    border-bottom: 1px solid var(--abr);
  }
  .admin-brand img { width: 32px; height: 32px; border-radius: 8px; object-fit: contain; }
  /* ── Override global nav{} rules that corrupt the sidebar ──── */
  .admin-nav {
    /* global: nav{display:flex;align-items:center;gap:28px} → override */
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 2px !important;
    flex: 1;
    padding: 10px 8px;
    overflow-y: auto;
    overflow-x: hidden;
  }
  /* global: nav a{color:white;text-transform:uppercase;letter-spacing:1px;padding-bottom:4px} */
  .admin-nav a {
    text-transform: none !important;
    letter-spacing: 0 !important;
    padding-bottom: 0 !important;
    color: inherit !important;
  }
  /* global: nav a::after and nav a.active::after add lime underlines — kill them */
  .admin-nav a::after,
  .admin-nav a.active::after { display: none !important; }

  .admin-nav-section-label {
    font-size: .6rem; font-weight: 900; letter-spacing: 1.8px;
    color: var(--am); text-transform: uppercase; padding: 14px 12px 6px;
  }
  .admin-nav-item {
    display: flex !important; align-items: center !important; gap: 10px;
    padding: 10px 12px !important; border-radius: var(--rs);
    color: var(--ad) !important; font-size: .84rem; font-weight: 600;
    text-decoration: none !important; border: none; background: none;
    cursor: pointer; width: 100%; text-align: left;
    text-transform: none !important; letter-spacing: 0 !important;
    white-space: nowrap; overflow: hidden;
    transition: background .15s, color .15s; position: relative;
    flex-shrink: 0;
  }
  .admin-nav-item .nav-icon { font-size: 1.1rem; width: 24px; text-align: center; flex-shrink: 0; }
  .admin-nav-item:hover { background: rgba(255,255,255,.05); color: var(--at) !important; }
  .admin-nav-item.active { background: rgba(0,200,224,.1); color: var(--aa) !important; }
  .admin-nav-item.active::before {
    content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
    width: 3px; height: 60%; background: var(--aa); border-radius: 0 3px 3px 0;
  }
  .admin-nav-badge-inline {
    margin-left: auto; background: var(--ar); color: #fff;
    font-size: .58rem; font-weight: 900; min-width: 18px; height: 18px;
    border-radius: 9px; display: flex; align-items: center; justify-content: center; padding: 0 4px;
  }
  .admin-sidebar-footer { padding: 8px; border-top: 1px solid var(--abr); }
  .admin-logout { color: var(--ar) !important; }
  .admin-logout:hover { background: rgba(248,113,113,.08) !important; }

  /* Content */
  .admin-content { padding: 36px 40px; }
  .admin-stats-grid { grid-template-columns: repeat(4,1fr); gap: 20px; }
  .admin-quick-grid { grid-template-columns: repeat(3,1fr); gap: 14px; }
  .admin-gallery-grid { grid-template-columns: repeat(4,1fr); gap: 14px; }
  .admin-config-grid { grid-template-columns: repeat(3,1fr); }

  /* ── Sidebar collapse toggle ───────────────────────────────── */
  .admin-sidebar-toggle {
    margin-left: auto; flex-shrink: 0;
    background: none; border: none; cursor: pointer;
    color: var(--am); width: 30px; height: 30px;
    border-radius: 7px; font-size: .88rem;
    display: flex; align-items: center; justify-content: center;
    transition: background .15s, color .15s;
  }
  .admin-sidebar-toggle:hover { background: rgba(255,255,255,.07); color: var(--at); }

  /* Collapsed sidebar — only icons */
  .admin-sidebar.collapsed { width: 68px; }
  .admin-sidebar.collapsed .admin-brand > span { display: none; }
  .admin-sidebar.collapsed .admin-brand { justify-content: center; padding: 20px 10px; }
  .admin-sidebar.collapsed .admin-sidebar-toggle { margin-left: 0; }
  .admin-sidebar.collapsed .admin-nav-section-label { opacity: 0; height: 0; padding: 0; overflow: hidden; }
  .admin-sidebar.collapsed .admin-nav-item {
    justify-content: center !important; padding: 11px 8px !important; overflow: visible;
  }
  .admin-sidebar.collapsed .admin-nav-item > *:not(.nav-icon) { display: none !important; }
  .admin-sidebar.collapsed .admin-nav-item::before { display: none !important; }
  .admin-sidebar.collapsed .admin-nav-badge-inline { display: none; }
  .admin-sidebar.collapsed .admin-sidebar-footer { padding: 8px 4px; }
  .admin-sidebar.collapsed .admin-nav-item .nav-icon { width: auto; font-size: 1.25rem; }

  /* ── Menú colapsable (Reportes y futuros grupos) ─────────────── */
  .admin-nav-group-toggle {
    width: 100%; background: none; border: none; cursor: pointer; text-align: left;
  }
  .nav-chevron {
    margin-left: auto; font-size: .9rem; color: #475569;
    display: inline-block; transition: transform .2s ease; line-height: 1;
  }
  .nav-chevron.open { transform: rotate(90deg); color: var(--aa); }

  .admin-nav-sub {
    overflow: hidden; max-height: 0;
    transition: max-height .25s ease;
  }
  .admin-nav-group.open .admin-nav-sub { max-height: 160px; }

  .admin-nav-sub-item {
    display: flex; align-items: center; gap: 10px;
    padding: 7px 14px 7px 38px;
    color: #94a3b8; text-decoration: none; font-size: .83rem;
    border-radius: 6px; margin: 1px 8px;
    transition: background .15s, color .15s; position: relative;
  }
  .admin-nav-sub-item:hover  { background: rgba(255,255,255,.05); color: var(--at); }
  .admin-nav-sub-item.active { background: rgba(0,200,224,.12); color: var(--aa); font-weight: 600; }
  .admin-nav-sub-item.active::before {
    content: ''; position: absolute; left: 20px; top: 50%; transform: translateY(-50%);
    width: 4px; height: 4px; border-radius: 50%; background: var(--aa);
  }
  .nav-sub-icon { font-size: .85rem; width: 16px; text-align: center; }

  /* En modo colapsado: ocultar sub-nav */
  .admin-sidebar.collapsed .admin-nav-sub      { display: none; }
  .admin-sidebar.collapsed .nav-chevron        { display: none; }

  /* Tour cards en desktop: 2 columnas */
  .admin-tour-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

  /* Mostrar elementos solo-desktop */
  .admin-desktop-only { display: flex !important; }

  /* FAB no necesario en desktop */
  .admin-fab { display: none !important; }

  /* Toast arriba a la derecha en desktop */
  .toast-container { left: auto; width: 340px; right: 20px; top: 20px; }

  /* Modal centrado en desktop */
  .admin-modal-backdrop { align-items: center; padding: 20px; }
  .admin-modal {
    height: auto; max-height: 90vh;
    border-radius: 20px; border: 1px solid var(--abr2);
    width: 560px; max-width: 100%;
  }
  .admin-modal-header { padding-top: 18px; }
  .admin-modal-footer .admin-btn-primary,
  .admin-modal-footer .admin-btn-secondary { flex: none; }
  .admin-modal-footer { justify-content: flex-end; }
  /* Sheet dialogs: centrado también en desktop */
  .admin-modal-backdrop.sheet { align-items: center; padding: 20px; }
  .admin-modal.sheet { height: auto; max-height: 90vh; border-radius: 20px; border: 1px solid var(--abr2); }
}

/* ===================== BLAZOR ===================== */

/* Error boundary inline (componente) */
.blazor-error-boundary {
  background: #b32121;
  padding: 1rem 1rem 1rem 3.7rem;
  color: white;
  border-radius: 8px;
  margin: 1rem;
}
.blazor-error-boundary::after { content: "Ha ocurrido un error. Recarga la página."; }

/* Banner de error global (#blazor-error-ui) —
   DEBE estar oculto con display:none (sin !important).
   Blazor lo activa vía JS (element.style.display='block')
   cuando hay un error real del circuit SignalR.
   El inline style tiene mayor especificidad que esta regla,
   por lo que Blazor puede mostrarlo cuando realmente lo necesite. */
#blazor-error-ui {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 99999;
  padding: 12px 20px;
  background: #1e293b;
  border-top: 3px solid #ef4444;
  color: #f8fafc;
  font-family: 'Montserrat', sans-serif;
  font-size: .9rem;
  align-items: center;
  gap: 12px;
  box-shadow: 0 -4px 20px rgba(0,0,0,.4);
}

#blazor-error-ui .reload  { color: #a3e635; font-weight: 700; margin-left: 4px; text-decoration: underline; cursor: pointer; }
#blazor-error-ui .dismiss { margin-left: auto; cursor: pointer; font-size: 1.1rem; opacity: .7; }
#blazor-error-ui .dismiss:hover { opacity: 1; }

/* =====================================================================
   REVIEW MODAL
   ===================================================================== */
.rev-modal-backdrop {
  position: fixed; inset: 0; z-index: 10000;
  background: rgba(0,0,0,.75); backdrop-filter: blur(4px);
  display: flex; align-items: flex-end; justify-content: center;
}
.rev-modal {
  background: #0d1b2e; width: 100%; max-width: 520px;
  max-height: 92vh; overflow-y: auto;
  border-radius: 24px 24px 0 0;
  border: 1px solid rgba(255,255,255,.1);
  color: #e2e8f0;
}
.rev-modal-header {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: 20px 20px 0; position: sticky; top: 0; background: #0d1b2e; z-index: 1;
  border-bottom: 1px solid rgba(255,255,255,.06); padding-bottom: 14px;
}
.rev-modal-badge {
  display: inline-block; background: rgba(250,204,21,.12); color: #fbbf24;
  border-radius: 50px; padding: 3px 10px; font-size: .72rem;
  font-weight: 800; letter-spacing: .5px; text-transform: uppercase; margin-bottom: 4px;
}
.rev-modal-title {
  font-family: 'Bebas Neue', sans-serif; font-size: 1.5rem;
  color: #f1f5f9; margin: 0; line-height: 1;
}
.rev-modal-close {
  background: rgba(255,255,255,.07); border: none; color: #94a3b8;
  width: 32px; height: 32px; border-radius: 50%; font-size: .9rem;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.rev-modal-close:hover { background: rgba(255,255,255,.15); color: #fff; }
.rev-modal-body { padding: 16px 20px 28px; }
/* Success state */
.rev-success { text-align: center; padding: 20px 0; }
.rev-success-icon  { font-size: 3rem; margin-bottom: 10px; }
.rev-success-title { font-family: 'Bebas Neue', sans-serif; font-size: 1.7rem; color: #a3e635; margin-bottom: 6px; }
.rev-success-sub   { color: #64748b; font-size: .88rem; margin-bottom: 20px; }
/* Info box */
.rev-info-box {
  display: flex; gap: 10px; align-items: flex-start;
  background: rgba(0,200,224,.07); border: 1px solid rgba(0,200,224,.15);
  border-radius: 10px; padding: 12px 14px; margin-bottom: 16px; font-size: .82rem; color: #94a3b8;
}
.rev-info-box span { font-size: 1.1rem; flex-shrink: 0; margin-top: 1px; }
.rev-info-box p   { margin: 0; line-height: 1.5; }
/* Fields */
.rev-field { margin-bottom: 14px; }
.rev-field label {
  display: block; font-size: .78rem; font-weight: 700;
  color: #94a3b8; margin-bottom: 5px;
  text-transform: uppercase; letter-spacing: .4px;
}
.rev-input, .rev-select, .rev-textarea {
  width: 100%; padding: 10px 14px; box-sizing: border-box;
  background: rgba(255,255,255,.06); border: 1.5px solid rgba(255,255,255,.12);
  border-radius: 10px; color: #e2e8f0; font-size: .95rem; font-family: inherit;
  transition: border-color .15s;
}
.rev-input:focus, .rev-select:focus, .rev-textarea:focus { outline: none; border-color: #00c8e0; }
.rev-input::placeholder, .rev-textarea::placeholder { color: #475569; }
.rev-select option { background: #0d1b2e; }
.rev-textarea { resize: vertical; min-height: 96px; }
/* Stars */
.rev-stars { display: flex; align-items: center; gap: 4px; }
.rev-star {
  background: none; border: none; font-size: 2rem; cursor: pointer;
  color: #334155; transition: color .1s, transform .1s; padding: 0 2px;
  line-height: 1;
}
.rev-star.on { color: #facc15; }
.rev-star:hover { color: #fde047; transform: scale(1.15); }
.rev-stars-label { font-size: .8rem; color: #64748b; margin-left: 8px; font-weight: 600; }
/* Error */
.rev-error {
  background: rgba(248,113,113,.1); border: 1px solid rgba(248,113,113,.3);
  border-radius: 10px; padding: 10px 14px; color: #f87171; font-size: .85rem;
  margin-bottom: 14px;
}
/* Submit */
.rev-submit-btn { width: 100%; font-size: 1rem; padding: 14px; margin-top: 4px; }
/* Desktop */
@media (min-width: 640px) {
  .rev-modal-backdrop { align-items: center; padding: 20px; }
  .rev-modal { border-radius: 20px; max-height: 88vh; }
}
/* Tour chip in admin reviews */
.rev-tour-chip {
  display: inline-block; background: rgba(0,200,224,.1); color: #00c8e0;
  border-radius: 50px; padding: 1px 8px; font-size: .7rem; font-weight: 700;
  margin-left: 6px; vertical-align: middle;
}

/* =====================================================================
   RESERVA MODAL
   ===================================================================== */
.rmodal-backdrop {
  position: fixed; inset: 0; z-index: 10000;
  background: rgba(0,0,0,.75); backdrop-filter: blur(4px);
  display: flex; align-items: flex-end; justify-content: center;
  padding: 0;
}
.rmodal {
  background: #0d1b2e;
  width: 100%; max-width: 640px;
  max-height: 92vh;
  overflow: hidden; /* body maneja el scroll, no el modal entero */
  border-radius: 24px 24px 0 0;
  border: 1px solid rgba(255,255,255,.1);
  display: flex; flex-direction: column;
  color: #e2e8f0;
}
/* ── Header ── */
.rmodal-header {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: 20px 20px 0; flex-shrink: 0;
}
.rmodal-tour-badge {
  display: inline-block; background: rgba(0,200,224,.12);
  color: #00c8e0; border-radius: 50px; padding: 3px 10px;
  font-size: .72rem; font-weight: 800; letter-spacing: .5px;
  text-transform: uppercase; margin-bottom: 6px;
}
.rmodal-title {
  font-family: 'Bebas Neue', sans-serif; font-size: 1.5rem;
  color: #f1f5f9; margin: 0; line-height: 1.1;
}
.rmodal-close {
  background: rgba(255,255,255,.07); border: none; color: #94a3b8;
  width: 32px; height: 32px; border-radius: 50%; font-size: .9rem;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: background .15s;
}
.rmodal-close:hover { background: rgba(255,255,255,.15); color: #fff; }
/* ── Steps ── */
.rmodal-steps {
  display: flex; align-items: center; justify-content: center;
  gap: 0; padding: 16px 20px 0; flex-shrink: 0;
}
.rmodal-step {
  display: flex; flex-direction: column; align-items: center; gap: 4px; flex: 1;
  opacity: .4; transition: opacity .2s;
}
.rmodal-step.active, .rmodal-step.done { opacity: 1; }
.rmodal-step-dot {
  width: 28px; height: 28px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.25);
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem; font-weight: 800; color: #94a3b8;
  transition: all .2s;
}
.rmodal-step.active .rmodal-step-dot {
  border-color: #00c8e0; background: rgba(0,200,224,.15); color: #00c8e0;
}
.rmodal-step.done .rmodal-step-dot {
  border-color: #a3e635; background: rgba(163,230,53,.15); color: #a3e635;
}
.rmodal-step span { font-size: .6rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: #64748b; }
.rmodal-step.active span { color: #00c8e0; }
.rmodal-step.done span  { color: #a3e635; }
.rmodal-step-line {
  height: 2px; flex: 1; max-width: 40px; background: rgba(255,255,255,.1);
  margin: 0 4px; border-radius: 2px; align-self: center; margin-bottom: 20px;
  transition: background .2s;
}
.rmodal-step-line.done { background: #a3e635; }
/* ── Body ── */
.rmodal-body { padding: 16px 20px 24px; flex: 1; overflow-y: auto; min-height: 0; }
/* ── Tour info (paso 1) ── */
.rmodal-tour-info {
  display: flex; align-items: center; gap: 14px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px; padding: 14px; margin-bottom: 20px;
}
.rmodal-tour-img {
  width: 64px; height: 64px; border-radius: 10px; flex-shrink: 0;
  background-size: cover; background-position: center;
}
.rmodal-tour-name { font-size: .8rem; font-weight: 900; letter-spacing: 1px; color: #94a3b8; text-transform: uppercase; }
.rmodal-tour-sub  { font-size: .95rem; font-weight: 700; color: #f1f5f9; }
.rmodal-tour-price { font-size: .85rem; color: #00c8e0; font-weight: 800; margin-top: 2px; }
/* ── Form groups ── */
.rmodal-body .form-group { margin-bottom: 14px; }
.rmodal-body .form-group label {
  display: block; font-size: .8rem; font-weight: 700; color: #94a3b8;
  margin-bottom: 5px; text-transform: uppercase; letter-spacing: .4px;
}
.rmodal-body .form-group input,
.rmodal-body .form-group textarea,
.rmodal-body .form-group select {
  width: 100%; padding: 10px 14px;
  background: rgba(255,255,255,.06); border: 1.5px solid rgba(255,255,255,.12);
  border-radius: 10px; color: #e2e8f0; font-size: .95rem; font-family: inherit;
  transition: border-color .15s;
  box-sizing: border-box;
}
.rmodal-body .form-group input:focus,
.rmodal-body .form-group textarea:focus,
.rmodal-body .form-group select:focus {
  outline: none; border-color: #00c8e0;
}
.rmodal-body .form-group input::placeholder,
.rmodal-body .form-group textarea::placeholder { color: #475569; }
.rmodal-optional-tag {
  font-size: .68rem; color: #475569; font-weight: 500;
  background: rgba(255,255,255,.04); padding: 1px 7px; border-radius: 50px;
  margin-left: 6px; text-transform: none; letter-spacing: 0;
}
/* ── Cupo cards ── */
.rmodal-cupos-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.rmodal-cupo-card {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px; padding: 14px;
}
.rmodal-cupo-card-header {
  display: flex; align-items: center; gap: 8px; margin-bottom: 10px;
}
.rmodal-cupo-n {
  width: 26px; height: 26px; border-radius: 50%;
  background: rgba(0,200,224,.15); color: #00c8e0;
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem; font-weight: 900; flex-shrink: 0;
}
.rmodal-cupo-title { font-size: .85rem; font-weight: 700; color: #e2e8f0; flex: 1; }
.rmodal-cupo-tipo-select {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
  color: #94a3b8; font-size: .75rem; padding: 3px 8px; border-radius: 50px;
  cursor: pointer; font-family: inherit;
}
.rmodal-cupo-remove {
  background: rgba(248,113,113,.1); border: none; color: #f87171;
  width: 26px; height: 26px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: .8rem; flex-shrink: 0;
}
.rmodal-cupo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.rmodal-cupo-info { font-size: .75rem; color: #64748b; margin-top: 6px; padding: 6px 10px; background: rgba(255,255,255,.03); border-radius: 8px; }
.rmodal-add-cupo {
  width: 100%; padding: 11px; border-radius: 12px;
  border: 1.5px dashed rgba(255,255,255,.15); background: none;
  color: #94a3b8; font-size: .85rem; cursor: pointer;
  transition: border-color .15s, color .15s;
}
.rmodal-add-cupo:hover { border-color: #00c8e0; color: #00c8e0; }
/* ── Resumen paso 3 (clases activas en HTML) ─────────────────── */
.rmodal-resumen {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px; padding: 4px 16px;
  margin-bottom: 14px;
}
.rmodal-resumen-row {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.05);
  font-size: .88rem; gap: 12px;
}
.rmodal-resumen-row:last-child { border-bottom: none; }
.rmodal-resumen-row > span:first-child {
  color: #64748b; font-size: .78rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .4px;
  flex-shrink: 0; padding-top: 2px;
}
.rmodal-resumen-row > strong {
  color: #e2e8f0; font-weight: 700; text-align: right; word-break: break-word;
}
.rmodal-resumen-row.total {
  border-top: 1px solid rgba(0,200,224,.2);
  margin-top: 4px; padding-top: 12px;
}
.rmodal-resumen-row.total > span:first-child { color: #00c8e0; }
.rmodal-resumen-row.total > strong {
  color: #00c8e0; font-size: 1.05rem;
}
/* Nombre de timeout en el HTML */
.rmodal-timeout-note {
  background: rgba(251,191,36,.08); border: 1px solid rgba(251,191,36,.2);
  border-radius: 10px; padding: 10px 14px; font-size: .82rem; color: #fbbf24;
  margin-bottom: 14px; line-height: 1.4;
}
/* Clases legacy — mantener por compatibilidad */
.rmodal-resumen-section { margin-bottom: 18px; }
.rmodal-resumen-title { font-size: .7rem; font-weight: 900; color: #475569; text-transform: uppercase; letter-spacing: .8px; margin-bottom: 8px; }
.rmodal-total-box {
  background: rgba(0,200,224,.08); border: 1px solid rgba(0,200,224,.2);
  border-radius: 12px; padding: 14px; text-align: center; margin: 16px 0;
}
.rmodal-total-label { font-size: .7rem; color: #94a3b8; text-transform: uppercase; letter-spacing: .8px; }
.rmodal-total-price { font-size: 1.6rem; font-weight: 900; color: #00c8e0; font-family: 'Bebas Neue', sans-serif; }
.rmodal-timeout-warn {
  background: rgba(251,191,36,.08); border: 1px solid rgba(251,191,36,.25);
  border-radius: 10px; padding: 10px 14px; font-size: .82rem; color: #fbbf24;
  display: flex; gap: 8px; align-items: flex-start; margin-bottom: 14px;
}
/* ── Paso 4: Éxito ────────────────────────────────────────────── */
.rmodal-success-header {
  text-align: center; padding: 8px 0 16px;
}
.rmodal-success-emoji { font-size: 2.8rem; margin-bottom: 10px; }
.rmodal-success-title {
  font-family: 'Bebas Neue', sans-serif; font-size: 1.5rem;
  color: #4ade80; margin: 0 0 4px; line-height: 1.1;
}
.rmodal-success-sub { color: #94a3b8; font-size: .85rem; margin-bottom: 10px; }
.rmodal-numero {
  font-family: monospace; font-size: 1.45rem; font-weight: 900;
  color: #00c8e0; letter-spacing: 2px;
  background: rgba(0,200,224,.08); border: 1px solid rgba(0,200,224,.2);
  border-radius: 10px; padding: 8px 18px; display: inline-block;
  margin-bottom: 10px;
}
.rmodal-success-deadline {
  color: #64748b; font-size: .8rem; margin: 0;
}
.rmodal-success-deadline strong { color: #fbbf24; }
/* Cuentas bancarias (paso 4) */
.rmodal-bancos {
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.07);
  border-radius: 14px; padding: 14px 16px; margin-bottom: 12px;
}
.rmodal-bancos-header {
  font-size: .78rem; font-weight: 800; color: #b4f55e;
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px;
}
.rmodal-banco-item {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px; padding: 12px 14px; margin-bottom: 8px;
}
.rmodal-banco-item:last-child { margin-bottom: 0; }
.rmodal-banco-nombre { font-size: .88rem; font-weight: 800; color: #e2e8f0; margin-bottom: 5px; }
.rmodal-banco-detalle { font-size: .8rem; color: #94a3b8; margin-top: 2px; }
.rmodal-banco-detalle strong { color: #e2e8f0; }
.rmodal-bancos-nota { font-size: .76rem; color: #64748b; margin-top: 10px; margin-bottom: 0; }
.rmodal-bancos-nota strong { color: #00c8e0; }
/* Footer en columna (paso 4 y móvil) */
.rmodal-footer-col {
  flex-direction: column; gap: 8px;
}
.rmodal-footer-col .rmodal-btn-primary,
.rmodal-footer-col .rmodal-btn-secondary {
  width: 100%;
}
/* Legacy aliases */
.rmodal-success { text-align: center; padding: 20px 0; }
.rmodal-success-icon { font-size: 3rem; margin-bottom: 12px; }
.rmodal-success-title { font-family: 'Bebas Neue', sans-serif; font-size: 1.8rem; color: #a3e635; margin-bottom: 8px; }
.rmodal-success-sub { color: #94a3b8; font-size: .9rem; margin-bottom: 20px; }
.rmodal-numero-box { background: #0d1b2e; border: 1px solid rgba(0,200,224,.3); border-radius: 14px; padding: 16px; margin: 0 0 20px; text-align: center; }
.rmodal-numero-label { font-size: .68rem; color: #64748b; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.rmodal-bancos-title { font-size: .8rem; font-weight: 900; color: #94a3b8; text-transform: uppercase; letter-spacing: .8px; margin-bottom: 10px; text-align: left; }
.rmodal-banco { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 12px; padding: 12px 14px; margin-bottom: 8px; text-align: left; }
.rmodal-banco-dato { font-size: .8rem; color: #94a3b8; display: flex; gap: 8px; }
.rmodal-banco-dato span:first-child { color: #64748b; min-width: 50px; }
/* ── Footer buttons ── */
.rmodal-footer {
  display: flex; gap: 10px; padding: 0 20px 20px;
  flex-shrink: 0; border-top: 1px solid rgba(255,255,255,.06); padding-top: 16px;
}
.rmodal-btn-back {
  background: rgba(255,255,255,.06); border: none; color: #94a3b8;
  padding: 12px 20px; border-radius: 50px; font-size: .85rem; font-weight: 700;
  cursor: pointer; transition: background .15s;
}
.rmodal-btn-back:hover { background: rgba(255,255,255,.1); }
.rmodal-btn-next {
  flex: 1; background: linear-gradient(135deg, #00BCD4, #1A237E);
  border: none; color: #fff; padding: 13px 20px; border-radius: 50px;
  font-size: .9rem; font-weight: 800; cursor: pointer;
  transition: opacity .15s;
}
.rmodal-btn-next:hover:not(:disabled) { opacity: .9; }
.rmodal-btn-next:disabled { opacity: .5; cursor: not-allowed; }
.rmodal-btn-ver {
  flex: 1; display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #00BCD4, #1A237E);
  color: #fff; padding: 13px 20px; border-radius: 50px;
  font-size: .9rem; font-weight: 800; text-decoration: none;
}
/* ── Botones primario / secundario del footer ── */
.rmodal-btn-primary {
  flex: 1;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #00c8e0, #1A237E);
  border: none; color: #fff;
  padding: 13px 22px; border-radius: 50px;
  font-size: .9rem; font-weight: 800; letter-spacing: .3px;
  cursor: pointer; text-decoration: none;
  transition: opacity .15s, transform .12s;
  font-family: inherit;
}
.rmodal-btn-primary:hover:not(:disabled) { opacity: .9; transform: translateY(-1px); }
.rmodal-btn-primary:disabled { opacity: .5; cursor: not-allowed; }

.rmodal-btn-secondary {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  color: #94a3b8;
  padding: 12px 20px; border-radius: 50px;
  font-size: .85rem; font-weight: 700;
  cursor: pointer;
  transition: background .15s, color .15s;
  font-family: inherit;
  white-space: nowrap;
}
.rmodal-btn-secondary:hover { background: rgba(255,255,255,.12); color: #e2e8f0; }

/* ── Botón "Agregar acompañante" ── */
.rmodal-add-btn {
  width: 100%;
  background: transparent;
  border: 2px dashed rgba(0,200,224,.35);
  color: #00c8e0;
  padding: 12px;
  border-radius: 12px;
  font-size: .88rem; font-weight: 700;
  cursor: pointer;
  transition: background .15s, border-color .15s;
  margin-top: 8px;
  font-family: inherit;
}
.rmodal-add-btn:hover {
  background: rgba(0,200,224,.07);
  border-color: rgba(0,200,224,.6);
}

/* ── Toggle Adulto / Niño ── */
.rmodal-tipo-btn {
  flex: 1;
  padding: 7px 12px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: #64748b;
  font-size: .8rem; font-weight: 700;
  cursor: pointer;
  transition: all .15s;
  font-family: inherit;
}
.rmodal-tipo-btn.active {
  background: rgba(0,200,224,.15);
  border-color: #00c8e0;
  color: #00c8e0;
}
.rmodal-tipo-btn:hover:not(.active) {
  background: rgba(255,255,255,.08);
  color: #94a3b8;
}

/* ── Input inline (dentro de tarjetas de acompañante) ── */
.rmodal-input {
  width: 100%;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px;
  color: #e2e8f0;
  padding: 10px 14px;
  font-size: .88rem;
  outline: none;
  box-sizing: border-box;
  transition: border-color .2s;
  font-family: inherit;
}
.rmodal-input:focus { border-color: #00c8e0; background: rgba(0,200,224,.04); }
.rmodal-input::placeholder { color: #475569; }

/* ── Badge "Responsable" en la tarjeta fija ── */
.rmodal-cupo-badge {
  display: inline-block;
  background: rgba(0,200,224,.15);
  color: #00c8e0;
  border: 1px solid rgba(0,200,224,.25);
  border-radius: 20px;
  padding: 2px 10px;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .5px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

/* ── Tarjeta del responsable (fondo ligeramente diferente) ── */
.rmodal-cupo-card.responsable {
  background: rgba(0,200,224,.05);
  border-color: rgba(0,200,224,.18);
}

.rmodal-error {
  background: rgba(248,113,113,.1); border: 1px solid #f87171;
  border-radius: 8px; padding: 10px 14px; color: #f87171; font-size: .85rem;
  margin-bottom: 12px;
}
/* ── Desktop: modal centrado ─────────────────────────────────── */
@media (min-width: 640px) {
  .rmodal-backdrop { align-items: center; padding: 20px; }
  .rmodal { border-radius: 20px; max-height: 88vh; }
  .rmodal-cupo-grid { grid-template-columns: 1fr 1fr; }
}

/* ── Mobile: optimizaciones críticas del modal ───────────────── */
@media (max-width: 639px) {
  /* ① iOS Safari zoom fix: inputs < 16px hacen zoom automático al
        enfocar. Forzamos 16px en todo input/select del modal. */
  .rmodal-body input,
  .rmodal-body select,
  .rmodal-body textarea {
    font-size: 16px !important;
  }

  /* ② Footer: botón primario ocupa toda la fila en pantallas chicas */
  .rmodal-footer {
    flex-wrap: wrap;
    gap: 8px;
  }
  .rmodal-footer .rmodal-btn-secondary {
    width: 100%; order: 2;
  }
  .rmodal-footer .rmodal-btn-primary {
    width: 100%; order: 1;
  }

  /* ③ Reducir padding del body para más espacio de contenido */
  .rmodal-body { padding: 12px 16px 16px; }
  .rmodal-header { padding: 16px 16px 0; }
  .rmodal-steps  { padding: 12px 16px 0; }

  /* ④ El tour-info (imagen + nombre) más compacto */
  .rmodal-tour-info { margin-bottom: 14px; }
  .rmodal-tour-img  { width: 52px; height: 52px; }
  .rmodal-tour-name { font-size: .75rem; }
  .rmodal-tour-sub  { font-size: .88rem; }

  /* ⑤ Corredor grid: siempre 1 columna en móvil */
  .rmodal-corredor-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  /* ⑥ Step labels más pequeños */
  .rmodal-step span { font-size: .55rem; letter-spacing: .3px; }
  .rmodal-step-dot  { width: 24px; height: 24px; font-size: .72rem; }
}

/* =====================================================================
   RESERVA DETALLE  (/reserva/{numero})
   ===================================================================== */
.rd-page {
  min-height: 100vh;
  background: #07111f;
  color: #e2e8f0;
  padding: 80px 16px 60px;
  font-family: 'Segoe UI', Arial, sans-serif;
}
.rd-loading, .rd-notfound {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 40vh; gap: 16px; text-align: center; color: #94a3b8;
}
.rd-notfound-icon { font-size: 3rem; }
.rd-notfound h2 { color: #e2e8f0; font-family: 'Bebas Neue', sans-serif; font-size: 1.8rem; margin: 0; }
.rd-spinner {
  width: 40px; height: 40px; border-radius: 50%;
  border: 3px solid rgba(255,255,255,.1); border-top-color: #00c8e0;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
/* Status banner */
.rd-status-banner {
  max-width: 720px; margin: 0 auto 20px;
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px; border-radius: 14px; border: 1px solid;
}
.rd-status-pendiente  { background: rgba(251,191,36,.07); border-color: rgba(251,191,36,.3); }
.rd-status-enrevision { background: rgba(96,165,250,.07); border-color: rgba(96,165,250,.3); }
.rd-status-aprobada   { background: rgba(163,230,53,.07); border-color: rgba(163,230,53,.3); }
.rd-status-rechazada  { background: rgba(248,113,113,.07); border-color: rgba(248,113,113,.3); }
.rd-status-cancelada  { background: rgba(100,116,139,.07); border-color: rgba(100,116,139,.3); }
.rd-status-icon { font-size: 1.8rem; flex-shrink: 0; }
.rd-status-label { font-size: .68rem; color: #64748b; text-transform: uppercase; letter-spacing: .8px; }
.rd-status-text  { font-size: .95rem; font-weight: 600; color: #e2e8f0; }
/* Número de reserva */
.rd-numero-box {
  max-width: 720px; margin: 0 auto 24px;
  background: #0d1b2e; border: 1px solid rgba(0,200,224,.2);
  border-radius: 16px; padding: 18px; text-align: center;
}
.rd-numero-label { font-size: .65rem; color: #64748b; text-transform: uppercase; letter-spacing: 1px; }
.rd-numero { font-family: monospace; font-size: 1.6rem; font-weight: 900; color: #00c8e0; margin: 4px 0; }
.rd-expira { font-size: .78rem; color: #fbbf24; }
/* Content grid */
.rd-content {
  max-width: 720px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 20px;
}
.rd-panel {
  background: #0d1b2e; border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px; padding: 20px;
}
.rd-panel-title { font-size: .85rem; font-weight: 800; color: #94a3b8; text-transform: uppercase; letter-spacing: .8px; margin-bottom: 14px; }
/* Tour card in detail */
.rd-tour-card {
  display: flex; gap: 14px; align-items: center;
  background: rgba(255,255,255,.04); border-radius: 12px; padding: 12px; margin-bottom: 16px;
}
.rd-tour-img {
  width: 56px; height: 56px; border-radius: 8px; flex-shrink: 0;
  background-size: cover; background-position: center;
}
.rd-tour-name { font-size: .8rem; font-weight: 900; color: #94a3b8; text-transform: uppercase; letter-spacing: .5px; }
.rd-tour-sub  { font-size: .95rem; font-weight: 700; color: #e2e8f0; }
.rd-tour-price { font-size: .85rem; color: #00c8e0; font-weight: 800; }
/* Detail rows */
.rd-detail-section { margin-bottom: 16px; }
.rd-detail-title { font-size: .72rem; font-weight: 800; color: #475569; text-transform: uppercase; letter-spacing: .6px; margin-bottom: 8px; }
.rd-detail-row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,.04);
  font-size: .88rem;
}
.rd-detail-row span:first-child { color: #64748b; flex-shrink: 0; }
.rd-detail-row span:last-child  { color: #e2e8f0; font-weight: 500; text-align: right; }
/* Cupo rows */
.rd-cupo-row {
  display: flex; align-items: center; gap: 10px;
  padding: 8px; background: rgba(255,255,255,.03); border-radius: 8px; margin-bottom: 6px;
}
.rd-cupo-tipo { font-size: .7rem; font-weight: 700; padding: 2px 8px; border-radius: 50px; }
.rd-cupo-tipo.adulto { background: rgba(0,200,224,.1); color: #00c8e0; }
.rd-cupo-tipo.nino   { background: rgba(163,230,53,.1); color: #a3e635; }
.rd-cupo-datos { font-size: .85rem; color: #e2e8f0; }
.rd-cupo-datos span { color: #64748b; font-size: .8rem; }
/* Admin nota */
.rd-admin-nota {
  background: rgba(251,191,36,.07); border: 1px solid rgba(251,191,36,.2);
  border-radius: 10px; padding: 12px 14px;
}
.rd-admin-nota-label { font-size: .68rem; color: #fbbf24; text-transform: uppercase; letter-spacing: .8px; margin-bottom: 4px; }
.rd-admin-nota p { color: #e2e8f0; font-size: .88rem; margin: 0; }
/* Bancos */
.rd-bancos { margin-bottom: 20px; }
.rd-bancos-sub { font-size: .82rem; color: #64748b; margin-bottom: 12px; }
.rd-banco-item {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px; padding: 14px; margin-bottom: 8px;
}
.rd-banco-nombre { font-size: .9rem; font-weight: 800; color: #e2e8f0; margin-bottom: 6px; }
.rd-banco-grid {
  display: grid; grid-template-columns: 80px 1fr; gap: 3px 0; font-size: .82rem;
}
.rd-banco-k { color: #64748b; }
.rd-banco-v { color: #94a3b8; font-weight: 500; }
.rd-bancos-concepto { font-size: .8rem; color: #fbbf24; margin-top: 10px; background: rgba(251,191,36,.07); border-radius: 8px; padding: 8px 12px; }
/* Upload box */
.rd-upload-box { background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.07); border-radius: 14px; padding: 16px; }
.rd-file-input { display: none; }
.rd-file-label {
  display: block; padding: 14px; border-radius: 12px;
  border: 2px dashed rgba(255,255,255,.15); text-align: center;
  color: #64748b; font-size: .85rem; cursor: pointer;
  transition: border-color .15s, color .15s; margin-bottom: 12px;
}
.rd-file-label:hover  { border-color: #00c8e0; color: #00c8e0; }
.rd-file-label.selected { border-color: #a3e635; color: #a3e635; border-style: solid; }
/* Buttons */
.rd-btn-primary {
  display: inline-block; background: linear-gradient(135deg, #00BCD4, #1A237E);
  color: #fff; padding: 12px 24px; border-radius: 50px;
  font-size: .9rem; font-weight: 800; text-decoration: none; border: none; cursor: pointer;
  transition: opacity .15s; width: 100%; text-align: center;
}
.rd-btn-primary:disabled { opacity: .6; cursor: not-allowed; }
.rd-btn-outline {
  display: inline-block; border: 2px solid rgba(0,200,224,.4);
  color: #00c8e0; padding: 10px 22px; border-radius: 50px;
  font-size: .85rem; font-weight: 700; text-decoration: none;
  transition: border-color .15s;
}
.rd-btn-outline:hover { border-color: #00c8e0; }
.rd-btn-sm { padding: 9px 18px; font-size: .82rem; }
/* Alert boxes */
.rd-alert-ok { background: rgba(163,230,53,.1); border: 1px solid rgba(163,230,53,.3); border-radius: 10px; padding: 12px 14px; color: #a3e635; font-size: .88rem; margin-bottom: 12px; }
.rd-alert-err { background: rgba(248,113,113,.1); border: 1px solid rgba(248,113,113,.3); border-radius: 10px; padding: 10px 14px; color: #f87171; font-size: .85rem; margin-bottom: 10px; }
/* Info boxes */
.rd-info-box {
  text-align: center; padding: 24px;
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08); border-radius: 16px;
}
.rd-info-box h3 { font-family: 'Bebas Neue', sans-serif; font-size: 1.4rem; color: #e2e8f0; margin: 8px 0 4px; }
.rd-info-box p  { color: #94a3b8; font-size: .88rem; }
.rd-info-icon   { font-size: 2.2rem; }
.rd-info-ok     { border-color: rgba(163,230,53,.3); background: rgba(163,230,53,.05); }
.rd-info-ok h3  { color: #a3e635; }
.rd-info-err    { border-color: rgba(248,113,113,.3); background: rgba(248,113,113,.05); }
.rd-info-warn   { border-color: rgba(100,116,139,.3); }
/* Footer links */
.rd-footer-links { max-width: 720px; margin: 28px auto 0; display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; }
.rd-footer-links a { color: #64748b; font-size: .85rem; text-decoration: none; }
.rd-footer-links a:hover { color: #00c8e0; }
@media (min-width: 768px) {
  .rd-content { flex-direction: row; align-items: flex-start; }
  .rd-panel { flex: 1; }
}

/* =====================================================================
   CONSULTA PÚBLICA  (/reserva/consulta)
   ===================================================================== */
.consulta-page { min-height: 100vh; background: #07111f; color: #e2e8f0; }
.consulta-hero {
  background: linear-gradient(135deg, #0d1b2e 0%, #07111f 100%);
  padding: 110px 20px 50px; text-align: center;
}
.consulta-hero-sub { font-size: .7rem; font-weight: 900; letter-spacing: 3px; color: #00c8e0; text-transform: uppercase; margin-bottom: 10px; }
.consulta-hero-title { font-family: 'Bebas Neue', sans-serif; font-size: clamp(2.6rem, 8vw, 5rem); color: #fff; line-height: 1; margin: 0 0 12px; }
.consulta-hero-title span { color: #00c8e0; }
.consulta-hero-desc { color: #64748b; font-size: .9rem; max-width: 480px; margin: 0 auto; }
/* Form wrap */
.consulta-form-wrap { max-width: 560px; margin: 0 auto; padding: 32px 20px 20px; }
.consulta-modo-tabs { display: flex; gap: 8px; margin-bottom: 14px; }
.consulta-tab {
  flex: 1; padding: 9px 8px; border-radius: 10px;
  border: 1.5px solid rgba(255,255,255,.1); background: rgba(255,255,255,.04);
  color: #64748b; font-size: .78rem; font-weight: 700; cursor: pointer;
  transition: all .15s;
}
.consulta-tab.active { border-color: #00c8e0; background: rgba(0,200,224,.1); color: #00c8e0; }
.consulta-search-box { display: flex; gap: 10px; }
.consulta-input {
  flex: 1; padding: 12px 16px;
  background: rgba(255,255,255,.06); border: 1.5px solid rgba(255,255,255,.12);
  border-radius: 12px; color: #e2e8f0; font-size: .95rem; font-family: inherit;
  transition: border-color .15s;
}
.consulta-input:focus { outline: none; border-color: #00c8e0; }
.consulta-input::placeholder { color: #475569; }
.consulta-btn {
  padding: 12px 22px; border-radius: 12px;
  background: linear-gradient(135deg, #00BCD4, #1A237E);
  border: none; color: #fff; font-size: .85rem; font-weight: 800;
  cursor: pointer; white-space: nowrap; transition: opacity .15s;
}
.consulta-btn:disabled { opacity: .6; cursor: not-allowed; }
.consulta-error { margin-top: 10px; color: #f87171; font-size: .85rem; padding: 10px 14px; background: rgba(248,113,113,.1); border-radius: 10px; }
/* Results */
.consulta-results { max-width: 560px; margin: 10px auto 0; padding: 0 20px; }
.consulta-result-header { font-size: .72rem; color: #64748b; text-transform: uppercase; letter-spacing: .8px; font-weight: 800; margin-bottom: 10px; padding-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,.06); }
.consulta-result-card { margin-bottom: 10px; }
.consulta-footer-links { text-align: center; padding: 28px 20px 50px; }
.consulta-footer-links a { color: #64748b; font-size: .85rem; text-decoration: none; }
.consulta-footer-links a:hover { color: #00c8e0; }
/* Reserva card (shared component) */
.rcard {
  background: #0d1b2e; border: 1px solid rgba(255,255,255,.08); border-radius: 14px;
  padding: 14px 16px; display: flex; justify-content: space-between;
  align-items: flex-start; gap: 12px;
}
.rcard-numero { font-family: monospace; font-size: 1rem; font-weight: 900; color: #00c8e0; margin-bottom: 2px; }
.rcard-tour { font-size: .85rem; color: #e2e8f0; font-weight: 600; margin-bottom: 4px; }
.rcard-meta { display: flex; flex-wrap: wrap; gap: 6px; font-size: .72rem; color: #64748b; align-items: center; }
.rcard-right { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; flex-shrink: 0; }
.rcard-estado { font-size: .72rem; font-weight: 800; padding: 3px 10px; border-radius: 50px; white-space: nowrap; }
.rcard-estado-pendiente  { background: rgba(251,191,36,.1); color: #fbbf24; }
.rcard-estado-enrevision { background: rgba(96,165,250,.1); color: #60a5fa; }
.rcard-estado-aprobada   { background: rgba(163,230,53,.1); color: #a3e635; }
.rcard-estado-rechazada  { background: rgba(248,113,113,.1); color: #f87171; }
.rcard-estado-cancelada  { background: rgba(100,116,139,.1); color: #64748b; }
.rcard-link { font-size: .78rem; color: #00c8e0; text-decoration: none; font-weight: 700; white-space: nowrap; }
.rcard-link:hover { text-decoration: underline; }

/* =====================================================================
   ADMIN — RESERVAS  (/admin/reservas)
   ===================================================================== */
.ar-page { color: #e2e8f0; }
/* Header */
.ar-header { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-bottom: 24px; }
.ar-title  { font-family: 'Bebas Neue', sans-serif; font-size: 1.8rem; color: #f1f5f9; margin: 0 0 2px; }
.ar-subtitle { font-size: .82rem; color: #64748b; }
.ar-header-stats { display: flex; gap: 12px; }
.ar-stat { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); border-radius: 12px; padding: 10px 16px; text-align: center; min-width: 70px; }
.ar-stat-n { font-size: 1.3rem; font-weight: 900; color: #e2e8f0; }
.ar-stat-l { font-size: .62rem; color: #64748b; text-transform: uppercase; letter-spacing: .5px; }
.ar-stat-warn .ar-stat-n { color: #60a5fa; }
.ar-stat-ok   .ar-stat-n { color: #a3e635; }
/* Filtros */
.ar-filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 20px; }
.ar-filter-chips { display: flex; flex-wrap: wrap; gap: 6px; flex: 1; }
.ar-chip {
  padding: 6px 12px; border-radius: 50px;
  border: 1.5px solid rgba(255,255,255,.1); background: rgba(255,255,255,.04);
  color: #64748b; font-size: .75rem; font-weight: 700; cursor: pointer;
  transition: all .15s; white-space: nowrap;
}
.ar-chip.active { border-color: #00c8e0; background: rgba(0,200,224,.1); color: #00c8e0; }
.ar-filter-right { display: flex; gap: 8px; align-items: center; }
.ar-select {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
  color: #94a3b8; font-size: .8rem; padding: 7px 12px; border-radius: 10px;
  cursor: pointer; font-family: inherit;
}
.ar-btn-refresh {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1);
  color: #94a3b8; width: 34px; height: 34px; border-radius: 10px;
  cursor: pointer; font-size: .9rem; display: flex; align-items: center; justify-content: center;
  transition: background .15s;
}
.ar-btn-refresh:hover { background: rgba(255,255,255,.12); }
/* Loading / empty */
.ar-loading { display: flex; align-items: center; gap: 12px; padding: 40px 0; justify-content: center; color: #64748b; }
.ar-spinner { width: 24px; height: 24px; border-radius: 50%; border: 2.5px solid rgba(255,255,255,.1); border-top-color: #00c8e0; animation: spin .8s linear infinite; }
.ar-empty { text-align: center; padding: 60px 0; color: #475569; }
.ar-empty-icon { font-size: 2.5rem; margin-bottom: 10px; }
/* Table */
.ar-table-wrap { overflow-x: auto; border-radius: 14px; border: 1px solid rgba(255,255,255,.07); }
.ar-table { width: 100%; border-collapse: collapse; font-size: .82rem; }
.ar-table th {
  padding: 11px 12px; text-align: left;
  font-size: .65rem; font-weight: 900; color: #475569; text-transform: uppercase; letter-spacing: .7px;
  background: rgba(255,255,255,.03); border-bottom: 1px solid rgba(255,255,255,.06);
  white-space: nowrap;
}
.ar-table td { padding: 10px 12px; border-bottom: 1px solid rgba(255,255,255,.04); vertical-align: top; }
.ar-row:hover { background: rgba(255,255,255,.02); }
.ar-row.selected { background: rgba(0,200,224,.05); }
.ar-numero { font-family: monospace; font-size: .88rem; font-weight: 900; color: #00c8e0; }
.ar-expira-txt { font-size: .68rem; color: #fbbf24; margin-top: 2px; }
.ar-tour-name { font-weight: 700; color: #e2e8f0; }
.ar-tour-sub  { font-size: .75rem; color: #64748b; }
.ar-nombre { font-weight: 600; color: #e2e8f0; }
.ar-tel, .ar-email { font-size: .75rem; color: #64748b; }
.ar-cupos { text-align: center; font-weight: 700; color: #94a3b8; }
.ar-fecha { color: #64748b; white-space: nowrap; }
/* Estado badges */
.ar-estado { font-size: .7rem; font-weight: 800; padding: 3px 10px; border-radius: 50px; white-space: nowrap; display: inline-block; }
.ar-estado-pendiente  { background: rgba(251,191,36,.1); color: #fbbf24; }
.ar-estado-enrevision { background: rgba(96,165,250,.1); color: #60a5fa; }
.ar-estado-aprobada   { background: rgba(163,230,53,.1); color: #a3e635; }
.ar-estado-rechazada  { background: rgba(248,113,113,.1); color: #f87171; }
.ar-estado-cancelada  { background: rgba(100,116,139,.1); color: #64748b; }
/* Action buttons */
.ar-acciones { white-space: nowrap; }
.ar-btn-icon, .ar-btn-ok, .ar-btn-err, .ar-btn-warn {
  background: none; border: 1px solid rgba(255,255,255,.1); border-radius: 8px;
  padding: 4px 8px; font-size: .85rem; cursor: pointer; margin-right: 4px;
  transition: background .15s; color: #94a3b8;
}
.ar-btn-ok   { border-color: rgba(163,230,53,.3); color: #a3e635; }
.ar-btn-err  { border-color: rgba(248,113,113,.3); color: #f87171; }
.ar-btn-warn { border-color: rgba(251,191,36,.3);  color: #fbbf24; }
.ar-btn-ok:hover   { background: rgba(163,230,53,.1); }
.ar-btn-err:hover  { background: rgba(248,113,113,.1); }
.ar-btn-warn:hover { background: rgba(251,191,36,.1); }
.ar-btn-icon:hover { background: rgba(255,255,255,.06); }
/* Pagination */
.ar-pagination { display: flex; align-items: center; justify-content: space-between; padding: 12px 4px; }
.ar-page-btn {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  color: #94a3b8; padding: 7px 14px; border-radius: 10px; font-size: .8rem; cursor: pointer;
  transition: background .15s;
}
.ar-page-btn:hover:not(:disabled) { background: rgba(255,255,255,.1); }
.ar-page-btn:disabled { opacity: .35; cursor: not-allowed; }
.ar-page-info { font-size: .75rem; color: #64748b; }
/* Detail panel (slide-in) */
.ar-detail-overlay {
  position: fixed; inset: 0; z-index: 8000; background: rgba(0,0,0,.5);
}
.ar-detail-panel {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 8001;
  width: min(400px, 100vw); background: #0d1b2e;
  border-left: 1px solid rgba(255,255,255,.08);
  display: flex; flex-direction: column; overflow: hidden;
}
.ar-detail-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 20px; border-bottom: 1px solid rgba(255,255,255,.07); flex-shrink: 0;
}
.ar-detail-header h2 { font-family: monospace; font-size: 1rem; font-weight: 900; color: #00c8e0; margin: 0; }
.ar-detail-close { background: rgba(255,255,255,.07); border: none; color: #94a3b8; width: 30px; height: 30px; border-radius: 50%; cursor: pointer; font-size: .9rem; }
.ar-detail-body { flex: 1; overflow-y: auto; padding: 16px 20px 24px; }
.ar-d-estado { font-size: .78rem; font-weight: 800; padding: 4px 12px; border-radius: 50px; display: inline-block; margin-bottom: 14px; }
.ar-d-estado-pendiente  { background: rgba(251,191,36,.1); color: #fbbf24; }
.ar-d-estado-enrevision { background: rgba(96,165,250,.1); color: #60a5fa; }
.ar-d-estado-aprobada   { background: rgba(163,230,53,.1); color: #a3e635; }
.ar-d-estado-rechazada  { background: rgba(248,113,113,.1); color: #f87171; }
.ar-d-estado-cancelada  { background: rgba(100,116,139,.1); color: #64748b; }
.ar-d-section { margin-bottom: 16px; }
.ar-d-label { font-size: .65rem; font-weight: 900; color: #475569; text-transform: uppercase; letter-spacing: .7px; margin-bottom: 6px; }
.ar-d-val { color: #e2e8f0; font-size: .88rem; }
.ar-d-row { display: flex; justify-content: space-between; padding: 5px 0; border-bottom: 1px solid rgba(255,255,255,.04); font-size: .82rem; }
.ar-d-row span:first-child, .ar-d-row > span:first-child { color: #64748b; }
.ar-d-row a { color: #00c8e0; text-decoration: none; font-size: .82rem; }
.ar-d-cupo { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,.04); font-size: .82rem; }
.ar-d-cupo-tipo { font-size: .65rem; font-weight: 700; padding: 2px 8px; border-radius: 50px; }
.ar-d-cupo-tipo.adulto { background: rgba(0,200,224,.1); color: #00c8e0; }
.ar-d-cupo-tipo.nino   { background: rgba(163,230,53,.1); color: #a3e635; }
.ar-d-cupo-tel { color: #64748b; font-size: .75rem; }
.ar-d-nota { font-size: .85rem; color: #e2e8f0; background: rgba(255,255,255,.04); border-radius: 8px; padding: 10px 12px; }
.ar-d-comprobante-img { width: 100%; border-radius: 8px; max-height: 240px; object-fit: contain; background: rgba(255,255,255,.04); }
.ar-d-file-link { display: inline-block; color: #00c8e0; font-size: .85rem; text-decoration: none; padding: 8px 14px; border: 1px solid rgba(0,200,224,.3); border-radius: 8px; }
.ar-d-nota-input { margin-bottom: 12px; }
.ar-d-nota-input label { display: block; font-size: .75rem; color: #64748b; margin-bottom: 4px; }
.ar-d-nota-input textarea { width: 100%; padding: 8px 10px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 8px; color: #e2e8f0; font-size: .85rem; font-family: inherit; resize: vertical; box-sizing: border-box; }
.ar-d-actions { background: rgba(255,255,255,.03); border-radius: 12px; padding: 14px; margin-bottom: 14px; }
.ar-d-link { color: #64748b; font-size: .8rem; text-decoration: none; }
.ar-d-link:hover { color: #00c8e0; }
/* Action buttons in detail */
.ar-btn-action { padding: 10px 16px; border-radius: 10px; border: none; font-size: .82rem; font-weight: 800; cursor: pointer; transition: opacity .15s; }
.ar-btn-action:disabled { opacity: .5; cursor: not-allowed; }
.ar-btn-action-ok   { background: rgba(163,230,53,.2); color: #a3e635; border: 1px solid rgba(163,230,53,.3); }
.ar-btn-action-err  { background: rgba(248,113,113,.1); color: #f87171; border: 1px solid rgba(248,113,113,.3); }
.ar-btn-action-warn { background: rgba(251,191,36,.1); color: #fbbf24; border: 1px solid rgba(251,191,36,.3); width: 100%; }

/* =====================================================================
   ADMIN — REPORTES  (/admin/reportes)
   ===================================================================== */
.rep-page { color: #e2e8f0; overflow-x: hidden; }
.rep-header { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.rep-title  { font-family: 'Bebas Neue', sans-serif; font-size: 1.8rem; color: #f1f5f9; margin: 0 0 2px; }
.rep-subtitle { font-size: .82rem; color: #64748b; }
.rep-btn-print {
  padding: 9px 18px; border-radius: 10px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
  color: #94a3b8; font-size: .82rem; font-weight: 700; cursor: pointer;
  transition: background .15s;
}
.rep-btn-print:hover { background: rgba(255,255,255,.12); color: #e2e8f0; }
/* Date filter */
.rep-date-filter {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07);
  border-radius: 14px; padding: 16px; margin-bottom: 24px;
}
.rep-date-group { display: flex; flex-direction: column; gap: 4px; }
.rep-date-group label { font-size: .68rem; color: #64748b; text-transform: uppercase; letter-spacing: .6px; font-weight: 700; }
.rep-date-input {
  padding: 8px 12px; background: rgba(255,255,255,.07);
  border: 1.5px solid rgba(255,255,255,.12); border-radius: 10px;
  color: #e2e8f0; font-size: .88rem; font-family: inherit;
}
.rep-date-input:focus { outline: none; border-color: #00c8e0; }
.rep-select {
  padding: 8px 14px; background: rgba(255,255,255,.07);
  border: 1.5px solid rgba(255,255,255,.12); border-radius: 10px;
  color: #e2e8f0; font-size: .88rem; font-family: inherit;
  cursor: pointer; min-width: 220px; max-width: 100%;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2394a3b8' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
  padding-right: 34px;
}
.rep-select:focus { outline: none; border-color: #00c8e0; }
.rep-select option { background: #0f172a; color: #e2e8f0; }
.rep-presets { display: flex; flex-wrap: wrap; gap: 6px; align-self: flex-end; }
.rep-preset {
  padding: 7px 12px; border-radius: 50px;
  border: 1.5px solid rgba(255,255,255,.1); background: rgba(255,255,255,.04);
  color: #64748b; font-size: .72rem; font-weight: 700; cursor: pointer;
  transition: all .15s;
}
.rep-preset.active { border-color: #00c8e0; background: rgba(0,200,224,.1); color: #00c8e0; }
.rep-btn-buscar {
  padding: 9px 20px; border-radius: 10px; align-self: flex-end;
  background: linear-gradient(135deg, #00BCD4, #1A237E);
  border: none; color: #fff; font-size: .85rem; font-weight: 800; cursor: pointer;
  transition: opacity .15s;
}
/* Loading */
.rep-loading { display: flex; gap: 12px; align-items: center; padding: 40px 0; justify-content: center; color: #64748b; }
.rep-spinner { width: 24px; height: 24px; border-radius: 50%; border: 2.5px solid rgba(255,255,255,.1); border-top-color: #00c8e0; animation: spin .8s linear infinite; }
/* KPIs */
.rep-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; margin-bottom: 24px; }
.rep-kpi {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px; padding: 16px; text-align: center;
}
.rep-kpi-icon { font-size: 1.4rem; margin-bottom: 4px; }
.rep-kpi-n   { font-size: 1.4rem; font-weight: 900; color: #e2e8f0; }
.rep-kpi-l   { font-size: .62rem; color: #64748b; text-transform: uppercase; letter-spacing: .5px; }
.rep-kpi-ok   .rep-kpi-n { color: #a3e635; }
.rep-kpi-warn .rep-kpi-n { color: #60a5fa; }
.rep-kpi-pend .rep-kpi-n { color: #fbbf24; }
.rep-kpi-err  .rep-kpi-n { color: #f87171; }
.rep-kpi-money .rep-kpi-n { color: #00c8e0; font-size: 1.1rem; }
.rep-kpi-pct  .rep-kpi-n { color: #a78bfa; }
/* Bar chart */
.rep-bar-section { margin-bottom: 24px; }
.rep-bar-label { font-size: .68rem; color: #64748b; text-transform: uppercase; letter-spacing: .7px; font-weight: 800; margin-bottom: 8px; }
.rep-bar { display: flex; height: 20px; border-radius: 10px; overflow: hidden; background: rgba(255,255,255,.05); }
.rep-bar-seg { transition: width .4s ease; }
.rep-bar-ok   { background: #4ade80; }
.rep-bar-warn { background: #60a5fa; }
.rep-bar-pend { background: #fbbf24; }
.rep-bar-err  { background: #f87171; }
.rep-bar-legend { display: flex; gap: 14px; margin-top: 8px; font-size: .72rem; }
.rep-legend-ok   { color: #4ade80; font-weight: 700; }
.rep-legend-warn { color: #60a5fa; font-weight: 700; }
.rep-legend-pend { color: #fbbf24; font-weight: 700; }
.rep-legend-err  { color: #f87171; font-weight: 700; }
/* Grid 2 cols */
.rep-grid-2 { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 900px) { .rep-grid-2 { grid-template-columns: 1fr 1fr; } }
.rep-card {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07);
  border-radius: 16px; padding: 18px 20px;
}
.rep-card-title { font-size: .78rem; font-weight: 900; color: #94a3b8; text-transform: uppercase; letter-spacing: .7px; margin-bottom: 14px; }
/* Table inside card */
.rep-table { width: 100%; border-collapse: collapse; font-size: .8rem; }
.rep-table th { padding: 7px 8px; text-align: left; font-size: .62rem; color: #475569; text-transform: uppercase; letter-spacing: .5px; border-bottom: 1px solid rgba(255,255,255,.06); }
.rep-table td { padding: 8px 8px; border-bottom: 1px solid rgba(255,255,255,.04); color: #94a3b8; }
.rep-n  { text-align: right; font-weight: 700; color: #e2e8f0; }
.rep-ok { color: #a3e635 !important; }
.rep-empty { color: #475569; font-size: .85rem; text-align: center; padding: 24px 0; }
/* Bar chart (visual) */
.rep-chart { display: flex; gap: 4px; align-items: flex-end; height: 100px; overflow-x: auto; padding-bottom: 2px; }
.rep-chart-col { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 28px; flex-shrink: 0; }
.rep-chart-bars { position: relative; width: 18px; height: 80px; display: flex; align-items: flex-end; }
.rep-chart-bar { width: 100%; border-radius: 3px 3px 0 0; min-height: 2px; position: absolute; bottom: 0; }
.rep-chart-total { background: rgba(251,191,36,.5); width: 100%; }
.rep-chart-ok    { background: #4ade80; width: 60%; left: 20%; }
.rep-chart-label { font-size: .58rem; color: #475569; white-space: nowrap; }
.rep-chart-n     { font-size: .65rem; color: #94a3b8; font-weight: 700; }
.rep-chart-legend { display: flex; gap: 12px; font-size: .7rem; margin-top: 8px; }
.rep-empty-state { text-align: center; padding: 60px 0; color: #475569; font-size: .9rem; }
.rep-empty-state div { font-size: 3rem; margin-bottom: 10px; }

/* ═══════════════════════════════════════════════════════════════
   REPORTE DE ACTIVIDADES
   ═══════════════════════════════════════════════════════════════ */
.ra-filters {
  background: var(--ac); border: 1px solid var(--abr2); border-radius: 14px;
  padding: 20px; margin-bottom: 24px; display: flex; flex-direction: column; gap: 18px;
}
.ra-filter-group { display: flex; flex-direction: column; gap: 8px; }
.ra-filter-label { font-size: .78rem; font-weight: 700; color: #94a3b8; letter-spacing: .5px; text-transform: uppercase; }

.ra-dates {
  display: flex; align-items: flex-end; gap: 10px; flex-wrap: wrap;
}

.ra-results-bar {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: 10px; margin-bottom: 16px;
}
.ra-count {
  font-size: .88rem; color: #94a3b8;
}

.ra-btn-excel {
  display: inline-flex; align-items: center; gap: 7px;
  background: linear-gradient(135deg, #16a34a, #15803d);
  color: #fff; border: none; border-radius: 8px;
  padding: 9px 18px; font-size: .88rem; font-weight: 700;
  cursor: pointer; transition: opacity .15s, transform .1s;
  font-family: inherit; min-height: 40px;
}
.ra-btn-excel:hover:not(:disabled) { opacity: .88; transform: translateY(-1px); }
.ra-btn-excel:disabled { opacity: .45; cursor: not-allowed; transform: none; }

.ra-table-wrap {
  overflow-x: auto; border-radius: 12px;
  border: 1px solid var(--abr2);
  width: 100%; box-sizing: border-box;
}
.ra-table {
  min-width: 100%; border-collapse: collapse; font-size: .84rem; color: #e2e8f0;
}
.ra-table thead tr {
  background: var(--ac2); border-bottom: 2px solid rgba(0,200,224,.25);
}
.ra-table th {
  padding: 11px 13px; text-align: left; font-size: .72rem; font-weight: 700;
  color: #94a3b8; letter-spacing: .6px; text-transform: uppercase; white-space: nowrap;
}
.ra-th-n, .ra-td-n { text-align: center !important; }

.ra-table tbody tr {
  border-bottom: 1px solid rgba(255,255,255,.05);
  transition: background .12s;
}
.ra-table tbody tr:hover { background: rgba(0,200,224,.04); }
.ra-table tbody tr:last-child { border-bottom: none; }
.ra-table td { padding: 10px 13px; vertical-align: middle; }

.ra-nombre { font-weight: 600; color: #e2e8f0; }
.ra-sub    { font-size: .76rem; color: #64748b; margin-top: 2px; }
.ra-precio { color: var(--aa); font-weight: 600; white-space: nowrap; }

.ra-fecha-ok      { color: #34d399; font-size: .82rem; }
.ra-fecha-past    { color: #f87171; font-size: .82rem; }
.ra-fecha-pending { color: #94a3b8; font-size: .82rem; font-style: italic; }

.ra-tfoot td {
  padding: 10px 13px; background: rgba(0,200,224,.06);
  border-top: 1px solid rgba(0,200,224,.2); font-size: .84rem;
}

@media (max-width: 640px) {
  .ra-filters { padding: 14px; gap: 14px; }
  .ra-table th, .ra-table td { padding: 8px 9px; font-size: .78rem; }
  .ra-nombre { font-size: .82rem; }
}
/* Admin config additions */
.admin-config-hint { display: block; font-size: .75rem; color: #64748b; margin-top: 4px; }
.admin-config-subtitle { font-size: .82rem; color: #64748b; margin-bottom: 16px; }
.admin-banco-block {
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06);
  border-radius: 12px; padding: 14px 16px; margin-bottom: 12px;
}
.admin-banco-label { font-size: .65rem; font-weight: 900; color: #475569; text-transform: uppercase; letter-spacing: .8px; margin-bottom: 10px; }
.admin-config-grid-4 { grid-template-columns: 1fr 1fr !important; }
@media (min-width: 768px) {
  .admin-config-grid-4 { grid-template-columns: repeat(4, 1fr) !important; }
}
.admin-config-grid-5 { grid-template-columns: repeat(2, 1fr) !important; }
@media (min-width: 768px)  { .admin-config-grid-5 { grid-template-columns: repeat(3, 1fr) !important; } }
@media (min-width: 1200px) { .admin-config-grid-5 { grid-template-columns: repeat(5, 1fr) !important; } }
/* more-badge for bottom sheet */
.more-badge {
  position: absolute; top: 8px; right: 8px;
  background: var(--ar); color: #fff;
  font-size: .55rem; font-weight: 900; min-width: 16px; height: 16px;
  border-radius: 8px; display: flex; align-items: center; justify-content: center; padding: 0 3px;
}
.admin-more-item { position: relative; }

/* =====================================================================
   PRINT / PDF EXPORT
   ===================================================================== */
@media print {
  .no-print { display: none !important; }
  .print-only { display: block !important; }
  .admin-sidebar, .admin-topbar, .admin-bottom-nav, .admin-more-sheet,
  .admin-more-overlay, .toast-container { display: none !important; }
  .admin-shell { display: block !important; }
  .admin-content { padding: 0 !important; }
  .rep-page { color: #1a1a2e !important; }
  .rep-kpi, .rep-card { border: 1px solid #e2e8f0 !important; background: #fff !important; }
  .rep-kpi-n, .rep-card-title, .rep-table th, .rep-table td { color: #1a1a2e !important; }
  .rep-kpi-l, .rep-table th { color: #64748b !important; }
}
.print-only { display: none; }
.rep-print-header { text-align: center; margin-bottom: 24px; }
.rep-print-logo   { font-family: 'Bebas Neue', sans-serif; font-size: 1.6rem; color: #1A237E; }
.rep-print-subtitle { font-size: 1rem; font-weight: 700; color: #1a1a2e; }
.rep-print-periodo  { font-size: .85rem; color: #64748b; }
.rep-footer { text-align: center; margin-top: 24px; font-size: .75rem; color: #94a3b8; }
.validation-message { color: #e50000; font-size: .82rem; }

/* =====================================================================
   SCROLLBAR ELEGANTE — aplica globalmente a toda la página
   ===================================================================== */

/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 200, 224, 0.35) transparent;
}

/* Chrome / Edge / Safari */
::-webkit-scrollbar           { width: 5px; height: 5px; }
::-webkit-scrollbar-track     { background: transparent; }
::-webkit-scrollbar-thumb     {
  background: rgba(0, 200, 224, 0.3);
  border-radius: 99px;
  transition: background .2s;
}
::-webkit-scrollbar-thumb:hover { background: rgba(0, 200, 224, 0.6); }
::-webkit-scrollbar-corner     { background: transparent; }

/* =====================================================================
   TOUR FECHAHORA — admin badges adicionales
   ===================================================================== */
.admin-badge.blue {
  background: rgba(56,189,248,.1);
  color: #38bdf8;
  border: 1px solid rgba(56,189,248,.2);
}
.admin-badge.soon {
  background: rgba(251,146,60,.1);
  color: #fb923c;
  border: 1px solid rgba(251,146,60,.2);
}

/* =====================================================================
   DATETIME-LOCAL INPUT — campo de fecha/hora del tour
   ===================================================================== */
.admin-datetime-input {
  width: 100%;
  background: var(--ai, #0f1f35);
  color: #e2e8f0;
  border: 1px solid var(--abr, rgba(255,255,255,.08));
  border-radius: 10px;
  padding: 10px 14px;
  font-size: .9rem;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  color-scheme: dark;        /* muestra el calendario con fondo oscuro en Chrome */
}
.admin-datetime-input:focus {
  border-color: var(--primary, #00c8e0);
  box-shadow: 0 0 0 3px rgba(0,200,224,.12);
}
/* Quitar el spinner nativo feo */
.admin-datetime-input::-webkit-calendar-picker-indicator {
  filter: invert(1) opacity(.5);
  cursor: pointer;
}
.admin-datetime-input::-webkit-calendar-picker-indicator:hover {
  filter: invert(1) opacity(1);
}

/* =====================================================================
   PÁGINA /RESENAS — hero, filtros, rating, paginación
   ===================================================================== */

/* Hero */
.res-hero {
  background: linear-gradient(160deg, #0a1628 0%, #07111f 60%, #0d1f0a 100%);
  padding: 120px 24px 60px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.res-hero-inner {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 28px;
}
.res-hero-label {
  display: inline-block;
  background: rgba(180,245,94,.1);
  color: var(--lime, #b4f55e);
  border: 1px solid rgba(180,245,94,.25);
  padding: 5px 18px;
  border-radius: 50px;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.res-hero-title {
  font-family: var(--font-display, 'Bebas Neue', sans-serif);
  font-size: clamp(2.8rem, 9vw, 5.5rem);
  color: #fff;
  line-height: 1;
  letter-spacing: 2px;
  margin: 0;
}
.res-hero-title span { color: var(--lime, #b4f55e); }

/* Rating summary */
.res-rating-summary {
  display: flex;
  gap: 32px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  padding: 20px 28px;
}
.res-avg {
  display: flex;
  align-items: center;
  gap: 14px;
}
.res-avg-num {
  font-family: var(--font-display, 'Bebas Neue', sans-serif);
  font-size: 3.2rem;
  color: #facc15;
  line-height: 1;
}
.res-avg-stars { font-size: 1.25rem; }
.res-star-on  { color: #facc15; }
.res-star-off { color: #334155; }
.res-avg-label { font-size: .78rem; color: #64748b; margin-top: 3px; }

.res-bars {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 180px;
}
.res-bar-row { display: flex; align-items: center; gap: 8px; }
.res-bar-lbl { font-size: .72rem; color: #94a3b8; width: 22px; text-align: right; flex-shrink: 0; }
.res-bar-track {
  flex: 1;
  height: 6px;
  background: rgba(255,255,255,.08);
  border-radius: 99px;
  overflow: hidden;
}
.res-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #facc15, #f59e0b);
  border-radius: 99px;
  transition: width .4s ease;
  min-width: 2px;
}
.res-bar-cnt { font-size: .72rem; color: #64748b; width: 20px; flex-shrink: 0; }

.res-cta { font-size: .95rem; padding: 14px 32px; }

/* Filter bar */
.res-filter-bar {
  position: sticky;
  top: 72px;
  z-index: 80;
  background: rgba(7,17,31,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.07);
  padding: 12px 24px;
}
.res-filter-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.res-search {
  flex: 1;
  min-width: 180px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 50px;
  color: #e2e8f0;
  padding: 9px 16px;
  font-size: .85rem;
  outline: none;
  transition: border-color .2s;
}
.res-search:focus { border-color: #00c8e0; }
.res-search::placeholder { color: #475569; }

.res-select-filter {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 50px;
  color: #e2e8f0;
  padding: 9px 14px;
  font-size: .82rem;
  outline: none;
  cursor: pointer;
  transition: border-color .2s;
}
.res-select-filter:focus { border-color: #00c8e0; }
.res-select-filter option { background: #0f1f35; }

.res-star-chips {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}
.res-star-chip {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 50px;
  color: #94a3b8;
  padding: 7px 13px;
  font-size: .78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all .15s;
  font-family: inherit;
}
.res-star-chip.active {
  background: rgba(250,204,21,.15);
  border-color: #facc15;
  color: #facc15;
}
.res-star-chip:hover:not(.active) {
  background: rgba(255,255,255,.1);
  color: #e2e8f0;
}

/* Body */
.res-body {
  background: #07111f;
  padding: 40px 24px 60px;
  min-height: 50vh;
}
.res-body-inner { max-width: 1100px; margin: 0 auto; }

/* Count + clear */
.res-count {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  font-size: .83rem;
  color: #64748b;
}
.res-clear-btn {
  background: rgba(248,113,113,.1);
  border: 1px solid rgba(248,113,113,.25);
  color: #f87171;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: .75rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s;
  font-family: inherit;
}
.res-clear-btn:hover { background: rgba(248,113,113,.2); }

/* Empty state */
.res-empty {
  text-align: center;
  padding: 60px 20px;
  color: #64748b;
}
.res-empty-icon { font-size: 2.5rem; margin-bottom: 14px; }

/* Pagination */
.res-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 40px;
}
.res-page-btn {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  color: #e2e8f0;
  padding: 10px 22px;
  border-radius: 50px;
  font-size: .85rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s;
  font-family: inherit;
}
.res-page-btn:hover:not(:disabled) { background: rgba(255,255,255,.12); }
.res-page-btn:disabled { opacity: .35; cursor: not-allowed; }
.res-page-info { color: #64748b; font-size: .83rem; min-width: 60px; text-align: center; }

/* Responsive */
@media (max-width: 640px) {
  .res-filter-bar   { top: 64px; }
  .res-filter-inner { gap: 8px; }
  .res-search       { min-width: 100%; }
  .res-select-filter { flex: 1; }
  .res-rating-summary { gap: 20px; padding: 16px 18px; }
  .res-bars { min-width: 140px; }
}

/* ═══════════════════════════════════════════════════
   ADMIN — MENSAJES FILTER BAR  (.amsg-*)
   ═══════════════════════════════════════════════════ */
.amsg-filter-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  padding: 14px 18px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 14px;
}

/* Search field */
.amsg-search-wrap {
  position: relative;
  flex: 1;
  min-width: 220px;
}
.amsg-search-icon {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  width: 15px;
  height: 15px;
  color: #64748b;
  pointer-events: none;
}
.amsg-search-input {
  width: 100%;
  box-sizing: border-box;
  background: #0d1b2e;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 50px;
  padding: 9px 14px 9px 38px;
  font-size: .85rem;
  color: #e2e8f0;
  font-family: inherit;
  outline: none;
  transition: border-color .18s;
}
.amsg-search-input::placeholder { color: #4a5568; }
.amsg-search-input:focus { border-color: rgba(0,200,224,.45); }

/* Chips row */
.amsg-chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.amsg-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  color: #94a3b8;
  padding: 7px 14px;
  border-radius: 50px;
  font-size: .8rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all .15s;
}
.amsg-chip:hover {
  background: rgba(255,255,255,.1);
  color: #e2e8f0;
}
.amsg-chip.active {
  background: linear-gradient(135deg,#00BCD4,#1A237E);
  border-color: transparent;
  color: #fff;
}
.amsg-chip-new.active {
  background: linear-gradient(135deg,#f59e0b,#dc2626);
}
.amsg-chip-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 18px;
  padding: 0 5px;
  background: rgba(0,0,0,.25);
  border-radius: 50px;
  font-size: .72rem;
  font-weight: 700;
}

/* Clear button */
.amsg-clear {
  background: transparent;
  border: 1px solid rgba(239,68,68,.35);
  color: #f87171;
  padding: 7px 13px;
  border-radius: 50px;
  font-size: .78rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all .15s;
  white-space: nowrap;
}
.amsg-clear:hover { background: rgba(239,68,68,.1); }

/* Expanded message detail */
.amsg-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: rgba(13,27,46,.6);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 14px;
}
.amsg-detail-item {
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255,255,255,.05);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.amsg-detail-item:nth-last-child(-n+2) { border-bottom: none; }
.amsg-detail-label {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .7px;
  color: #64748b;
}
.amsg-detail-value {
  font-size: .86rem;
  color: #e2e8f0;
  word-break: break-word;
}

.amsg-mensaje-box {
  background: rgba(0,200,224,.06);
  border: 1px solid rgba(0,200,224,.15);
  border-radius: 10px;
  padding: 14px 16px;
}

@media (max-width: 640px) {
  .amsg-filter-bar    { flex-direction: column; align-items: stretch; }
  .amsg-search-wrap   { min-width: unset; }
  .amsg-detail-grid   { grid-template-columns: 1fr; }
  .amsg-detail-item:nth-last-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.05); }
  .amsg-detail-item:last-child { border-bottom: none; }
}

/* ── Language switcher ──────────────────────────────────── */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: .75rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    letter-spacing: .5px;
}
.lang-btn {
    color: rgba(255,255,255,.55);
    text-decoration: none;
    padding: 3px 6px;
    border-radius: 4px;
    transition: color .2s, background .2s;
}
.lang-btn:hover,
.lang-btn.active {
    color: #fff;
    background: rgba(255,255,255,.12);
}
.lang-btn.active {
    color: var(--cyan);
}
.lang-divider {
    color: rgba(255,255,255,.25);
    font-size: .7rem;
}
@media (max-width: 768px) {
    .lang-switcher { font-size: .7rem; }
}

/* ===================== TOUR DETALLE (/tours/{slug}) ===================== */

/* 404 / loading state */
.td-notfound {
  min-height: 60vh;
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 16px;
  background: #07111f; color: #94a3b8; text-align: center; padding: 40px 20px;
}
.td-notfound h1 { color: #e2e8f0; font-size: 1.6rem; margin: 0; }
.td-notfound p  { font-size: .95rem; max-width: 360px; }

/* ── Hero ─────────────────────────────────────────────────────── */
.td-hero {
  position: relative;
  height: clamp(360px, 55vh, 580px);
  background-size: cover;
  background-position: center;
  display: flex; align-items: flex-end;
}
.td-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(7,17,31,.35) 0%,
    rgba(7,17,31,.55) 50%,
    rgba(7,17,31,.88) 100%
  );
}
.td-hero-content {
  position: relative; z-index: 1;
  width: 100%; max-width: 900px;
  margin: 0 auto;
  padding: clamp(24px,5vw,56px) clamp(20px,5vw,48px);
  display: flex; flex-direction: column; gap: 10px;
}
.td-breadcrumb {
  display: flex; align-items: center; flex-wrap: nowrap;
  gap: 6px; overflow: hidden;
  font-size: .78rem; font-weight: 600; letter-spacing: .4px;
  color: rgba(255,255,255,.65);
}
.td-breadcrumb a { color: rgba(255,255,255,.65); transition: color .2s; white-space: nowrap; }
.td-breadcrumb a:hover { color: #fff; }
.td-breadcrumb > span:not(:last-child) { color: rgba(255,255,255,.4); flex-shrink: 0; }
/* Último item (nombre del tour): truncar si es muy largo */
.td-breadcrumb > span:last-child {
  color: rgba(255,255,255,.75);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.td-badge {
  display: inline-block; width: fit-content;
  background: linear-gradient(135deg, var(--cyan), #0e7490);
  color: #fff; font-size: .72rem; font-weight: 700;
  letter-spacing: .8px; text-transform: uppercase;
  padding: 4px 12px; border-radius: 20px;
}
.td-hero-title {
  font-family: var(--font-display); font-size: clamp(2rem, 6vw, 3.6rem);
  color: #fff; letter-spacing: 3px; line-height: 1.05; margin: 0;
}
.td-hero-sub {
  font-size: clamp(.9rem, 2.5vw, 1.15rem);
  color: rgba(255,255,255,.82); max-width: 560px; margin: 0;
}

/* ── Body ─────────────────────────────────────────────────────── */
.td-body {
  background: #07111f;
  padding: 40px 0 60px;
}
.td-container {
  max-width: 1100px; margin: 0 auto;
  padding: 0 clamp(16px,4vw,40px);
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 36px;
  align-items: start;
}

/* ── Main column ─────────────────────────────────────────────── */
.td-main { display: flex; flex-direction: column; gap: 0; }

.td-section {
  padding: 28px 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.td-section:last-of-type { border-bottom: none; }

.td-section-title {
  font-family: var(--font-display); font-size: 1.35rem;
  letter-spacing: 1.5px; color: var(--cyan);
  margin: 0 0 16px 0;
}

.td-descripcion {
  color: #cbd5e1; font-size: .97rem; line-height: 1.8;
  white-space: pre-line;
}

/* Inclusiones */
.td-inclusiones {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.td-inclusion-item {
  display: flex; align-items: center; gap: 12px;
  color: #e2e8f0; font-size: .93rem; line-height: 1.5;
  background: rgba(0,200,224,.07);
  border: 1px solid rgba(0,200,224,.14);
  border-radius: 10px; padding: 10px 14px;
}
.td-inclusion-item::before {
  content: "✓";
  color: var(--cyan); font-weight: 700;
  font-size: 1rem; flex-shrink: 0;
}

/* Fecha y salida */
.td-fecha-box {
  display: flex; flex-direction: column; gap: 14px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 14px; padding: 20px 22px;
}
.td-fecha-row {
  display: flex; align-items: flex-start; gap: 14px;
}
.td-fecha-icon { font-size: 1.3rem; flex-shrink: 0; margin-top: 2px; }
.td-fecha-label { color: #64748b; font-size: .77rem; font-weight: 700;
                  letter-spacing: .5px; text-transform: uppercase; }
.td-fecha-val   { color: #e2e8f0; font-size: .92rem; line-height: 1.5; margin-top: 2px; }

/* Mobile CTA (hidden on desktop) */
.td-cta-mobile {
  display: none;
  flex-direction: column; gap: 12px;
  padding: 24px 0 8px;
}
.td-precio-inline {
  font-size: 1.5rem; font-weight: 800; color: var(--cyan);
}
.td-precio-inline span {
  font-size: .85rem; font-weight: 400; color: #64748b; margin-left: 4px;
}

/* ── Buttons shared ──────────────────────────────────────────── */
.td-btn-wa {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #fff; font-weight: 700; font-size: .95rem;
  padding: 14px 22px; border-radius: 12px;
  border: none; cursor: pointer; text-decoration: none;
  transition: filter .2s, transform .15s;
}
.td-btn-wa:hover { filter: brightness(1.08); transform: translateY(-1px); color: #fff; }

.td-btn-reservar {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: linear-gradient(135deg, var(--cyan), #0e7490);
  color: #fff; font-weight: 700; font-size: .95rem;
  padding: 14px 22px; border-radius: 12px;
  border: none; cursor: pointer; width: 100%;
  transition: filter .2s, transform .15s;
}
.td-btn-reservar:hover { filter: brightness(1.1); transform: translateY(-1px); }

/* ── Sidebar / Booking card ──────────────────────────────────── */
.td-sidebar { position: sticky; top: 100px; }

.td-booking-card {
  background: linear-gradient(160deg, #0d2137 0%, #0f1c2e 100%);
  border: 1px solid rgba(0,200,224,.18);
  border-radius: 18px; padding: 24px 22px;
  display: flex; flex-direction: column; gap: 14px;
  box-shadow: 0 8px 32px rgba(0,0,0,.35);
}

.td-booking-precio {
  display: flex; align-items: baseline; gap: 8px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  padding-bottom: 14px;
}
.td-booking-num {
  font-size: 2rem; font-weight: 800; color: var(--cyan);
}
.td-booking-pp  { color: #64748b; font-size: .82rem; }

.td-booking-deposito {
  font-size: .82rem; color: #94a3b8; line-height: 1.5;
  background: rgba(0,200,224,.06);
  border-radius: 8px; padding: 8px 12px;
}
.td-booking-deposito strong { color: #e2e8f0; }

.td-booking-pronto {
  text-align: center; padding: 10px 0;
}
.td-booking-pronto span {
  font-size: 1.1rem; font-weight: 700; color: #94a3b8;
}
.td-booking-pronto p  { color: #64748b; font-size: .82rem; margin: 4px 0 0; }

.td-booking-fecha {
  font-size: .82rem; color: #94a3b8;
  background: rgba(255,255,255,.04); border-radius: 8px; padding: 8px 12px;
}

.td-booking-garantia {
  display: flex; flex-direction: column; gap: 6px;
  border-top: 1px solid rgba(255,255,255,.07); padding-top: 14px;
}
.td-booking-garantia span {
  font-size: .78rem; color: #64748b;
}

/* ── Back link ────────────────────────────────────────────────── */
.td-back {
  max-width: 1100px; margin: 32px auto 0;
  padding: 0 clamp(16px,4vw,40px);
}
.td-back a {
  color: var(--cyan); font-size: .88rem; font-weight: 600;
  transition: opacity .2s;
}
.td-back a:hover { opacity: .75; }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 860px) {
  .td-container { grid-template-columns: 1fr; }
  .td-sidebar   { display: none; }
  .td-cta-mobile { display: flex; }
}
@media (max-width: 640px) {
  /* Ocultar breadcrumb en móvil — el enlace "← Ver todos los tours"
     al final de la página ya cubre esa navegación */
  .td-breadcrumb { display: none; }

  /* Hero más compacto sin el breadcrumb */
  .td-hero { height: clamp(260px, 50vh, 400px); align-items: flex-end; }
  .td-hero-content { padding: 20px; gap: 8px; }
  .td-hero-title   { font-size: clamp(1.8rem, 9vw, 2.8rem); }
  .td-hero-sub     { font-size: .88rem; }
  .td-badge        { font-size: .68rem; }
}

/* ══════════════════════════════════════════════════════════════════
   MULTI-ACTIVIDAD — Admin pills + card badges + corredor form
   ══════════════════════════════════════════════════════════════════ */

/* ── Admin: selector de tipo de actividad ──────────────────────── */
.activity-type-pills {
  display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 6px;
}
.atp-pill {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 18px; border-radius: 50px; border: 2px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.05); color: #94a3b8;
  font-size: .85rem; font-weight: 600; cursor: pointer;
  transition: all .2s;
}
.atp-pill:hover:not(:disabled) {
  border-color: var(--cyan); color: var(--cyan);
  background: rgba(0,200,224,.08);
}
.atp-pill.active {
  border-color: var(--cyan); color: #0e1f36;
  background: var(--cyan); box-shadow: 0 0 16px rgba(0,200,224,.35);
}
.atp-pill.disabled,
.atp-pill:disabled {
  opacity: .4; cursor: not-allowed;
}

/* ── Admin: inputs de precio multi-moneda ───────────────────────── */
.precio-inputs-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}
.precio-inputs-grid:has(.precio-input-wrap:only-child) {
  grid-template-columns: 1fr;
}
.precio-input-wrap {
  display: flex; align-items: center;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12); border-radius: 10px;
  overflow: hidden; transition: border-color .2s;
}
.precio-input-wrap:focus-within { border-color: var(--cyan); }
.precio-prefix {
  padding: 0 12px; font-size: .78rem; font-weight: 800;
  color: #64748b; background: rgba(255,255,255,.04);
  border-right: 1px solid rgba(255,255,255,.08);
  white-space: nowrap; align-self: stretch;
  display: flex; align-items: center;
}
.precio-input-wrap input {
  flex: 1; border: none; background: transparent;
  padding: 10px 12px; color: #e2e8f0; font-size: .95rem; font-weight: 600;
  outline: none; min-width: 0;
}
.precio-input-wrap input::placeholder { color: #475569; }
@media (max-width: 480px) {
  .precio-inputs-grid { grid-template-columns: 1fr; }
}

/* ── Tour-card: badge de tipo de actividad (dentro de .tour-content) ── */
.tour-card-badge-carrera {
  display: inline-flex; align-items: center; gap: 4px;
  background: linear-gradient(135deg,#f97316,#ef4444);
  color: #fff; font-size: .65rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .8px;
  padding: 3px 10px; border-radius: 50px;
  margin-bottom: 8px;
  box-shadow: 0 2px 8px rgba(249,115,22,.4);
}
.tour-card.es-carrera {
  border-top: 3px solid #f97316;
}

/* ── ReservaModal: grid de campos de corredor ───────────────────── */
.rmodal-corredor-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  margin-bottom: 12px;
}
@media (max-width: 540px) {
  .rmodal-corredor-grid { grid-template-columns: 1fr; }
}
.rmodal-corredor-grid .form-group {
  margin-bottom: 0;
}
.rmodal-corredor-grid .form-group label {
  display: block; font-size: .78rem; font-weight: 600;
  color: #94a3b8; margin-bottom: 5px; text-transform: uppercase;
  letter-spacing: .4px;
}
.rmodal-corredor-grid .form-group input,
.rmodal-corredor-grid .form-group select {
  width: 100%; padding: 9px 12px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12); border-radius: 8px;
  color: #e2e8f0; font-size: .88rem; outline: none;
  transition: border-color .2s;
}
.rmodal-corredor-grid .form-group input:focus,
.rmodal-corredor-grid .form-group select:focus {
  border-color: var(--cyan);
}
.rmodal-corredor-grid .form-group select option {
  background: #1e3a5f; color: #e2e8f0;
}
