/* ==========================================================================
   COMPONENTS & UI MODULES
   AgoraMobil Transfers - Madrid & Alicante
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. SITE HEADER & NAVIGATION
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 84px;
  background: rgba(8, 11, 17, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 1000;
  transition: all var(--transition-fast);
}

.site-header.scrolled {
  height: 74px;
  background: rgba(8, 11, 17, 0.98);
  border-bottom: 1px solid var(--gold-border);
  box-shadow: var(--shadow-md);
}

.nav-mobile-only {
  display: none !important;
}

.nav-container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 100%;
  max-width: 1600px;
  width: 100%;
  padding-left: clamp(16px, 2.5vw, 40px);
  padding-right: clamp(16px, 2.5vw, 40px);
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-shrink: 0;
  justify-self: start;
  margin-right: 0;
}

.brand-logo-img {
  height: 62px;
  width: 62px;
  object-fit: cover;
  border-radius: 11px;
  border: 1px solid var(--gold-border);
  box-shadow: var(--shadow-gold);
  background: #000000;
  transition: all var(--transition-fast);
}

.site-header.scrolled .brand-logo-img {
  height: 50px;
  width: 50px;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-serif);
  font-size: 1.32rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: #ffffff;
  white-space: nowrap;
}

.brand-sub {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: var(--gold-light);
  white-space: nowrap;
}

/* Enlaces de Navegación: Perfectamente Centrados */
.nav-links {
  display: flex;
  align-items: center;
  justify-self: center;
  gap: clamp(12px, 1.4vw, 22px);
  margin-left: 0;
  margin-right: 0;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: #ffffff;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-gradient);
  transition: width var(--transition-fast);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* Acciones de Cabecera: Alineadas a la Derecha */
.nav-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: clamp(10px, 1.2vw, 16px);
  margin-left: 0;
  padding-left: clamp(14px, 1.8vw, 24px);
  border-left: 1px solid rgba(212, 175, 55, 0.25);
  flex-shrink: 0;
}

/* Selector de Idiomas */
.lang-dropdown-wrapper {
  position: relative;
}

.lang-dropdown-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.lang-dropdown-btn:hover {
  border-color: var(--gold-primary);
  background: rgba(212, 175, 55, 0.1);
}

.lang-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--bg-surface);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 6px;
  width: 170px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--transition-fast);
  z-index: 100;
}

.lang-dropdown-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 12px;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 0.88rem;
  text-align: left;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--transition-fast);
}

.lang-opt:hover,
.lang-opt.active {
  background: rgba(212, 175, 55, 0.15);
  color: #ffffff;
}

/* Botones Principales */
.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--gold-gradient);
  color: #080b11;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  box-shadow: var(--shadow-gold);
  transition: all var(--transition-fast);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  white-space: nowrap;
}

.btn-gold:hover {
  background: var(--gold-gradient-hover);
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.4);
}

.btn-outline-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  background: transparent;
  color: var(--gold-light);
  border: 1px solid var(--gold-border);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-outline-gold:hover {
  background: rgba(212, 175, 55, 0.12);
  border-color: var(--gold-primary);
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   2. HERO SECTION & BOOKING WIDGET
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 130px;
  padding-bottom: 80px;
  background: radial-gradient(circle at 70% 30%, rgba(212, 175, 55, 0.08) 0%, transparent 60%),
              radial-gradient(circle at 10% 70%, rgba(14, 23, 42, 0.8) 0%, transparent 70%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.hero-content {
  max-width: 620px;
}

.hero-title {
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.15rem;
  line-height: 1.7;
  margin-bottom: 35px;
}

.hero-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 35px;
}

.feat-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.feat-item svg {
  width: 18px;
  height: 18px;
  fill: var(--gold-primary);
  flex-shrink: 0;
}

.hero-widget-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg), var(--shadow-gold);
}

.widget-header {
  margin-bottom: 24px;
}

.widget-title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  color: #ffffff;
  margin-bottom: 14px;
}

.service-type-toggle {
  display: flex;
  background: rgba(0, 0, 0, 0.4);
  padding: 4px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  gap: 4px;
}

.service-type-btn {
  flex: 1;
  padding: 8px 12px;
  background: transparent;
  border: none;
  border-radius: 4px;
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.service-type-btn.active {
  background: var(--gold-gradient);
  color: #080b11;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.widget-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-control {
  width: 100%;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  transition: border-color var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--gold-primary);
  background: rgba(255, 255, 255, 0.07);
}

.form-control option {
  background: var(--bg-surface);
  color: #ffffff;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.widget-pricing-preview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: rgba(212, 175, 55, 0.08);
  border: 1px dashed var(--gold-border);
  border-radius: var(--radius-sm);
  margin-top: 8px;
}

.estimate-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.estimate-value {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--gold-light);
}

.widget-submit-btn {
  width: 100%;
  padding: 14px;
  margin-top: 8px;
}

/* --------------------------------------------------------------------------
   3. SECCIONES DE CIUDAD (MADRID & ALICANTE)
   -------------------------------------------------------------------------- */
.city-tabs-container {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 45px;
}

.city-tab-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 36px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  color: var(--text-secondary);
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.city-tab-btn .city-flag {
  font-size: 1.3rem;
}

.city-tab-btn:hover {
  border-color: var(--gold-border);
  color: #ffffff;
}

.city-tab-btn.active {
  background: var(--gold-gradient);
  color: #080b11;
  border-color: transparent;
  box-shadow: var(--shadow-gold);
}

.city-panel {
  display: none;
  animation: fadeIn 0.4s ease;
}

.city-panel.active {
  display: block;
}

.city-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px 30px;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.city-info-card.note-taxi {
  border-left: 4px solid var(--gold-primary);
  background: rgba(212, 175, 55, 0.06);
}

.city-info-card svg {
  width: 32px;
  height: 32px;
  fill: var(--gold-primary);
  flex-shrink: 0;
}

.city-info-text h4 {
  color: #ffffff;
  margin-bottom: 4px;
}

.city-info-text p {
  font-size: 0.92rem;
  margin: 0;
}

/* Tablas de Tarifas */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-glass);
  background: var(--bg-card);
  box-shadow: var(--shadow-md);
}

.routes-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.routes-table th {
  background: rgba(8, 11, 17, 0.9);
  padding: 16px 20px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold-light);
  border-bottom: 1px solid var(--gold-border);
  white-space: nowrap;
}

.routes-table td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.92rem;
  vertical-align: middle;
}

.routes-table tr:last-child td {
  border-bottom: none;
}

.routes-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.route-badge-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.route-pop-tag {
  background: var(--gold-gradient);
  color: #080b11;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
}

.route-title-text {
  font-weight: 600;
  color: #ffffff;
}

.route-meta-cell {
  white-space: nowrap;
}

.meta-dist {
  display: block;
  font-weight: 600;
  color: var(--text-secondary);
}

.meta-time {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.route-price-cell {
  white-space: nowrap;
}

.price-val {
  font-weight: 700;
  font-size: 1.15rem;
  display: block;
  margin-bottom: 4px;
}

.price-val.not-avail {
  color: var(--text-muted);
}

.btn-micro-book {
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid var(--gold-border);
  color: var(--gold-light);
  padding: 4px 10px;
  font-size: 0.76rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-micro-book:hover {
  background: var(--gold-primary);
  color: #080b11;
}

/* --------------------------------------------------------------------------
   4. ALQUILER POR HORAS
   -------------------------------------------------------------------------- */
.hourly-packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.hourly-pkg-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all var(--transition-fast);
}

.hourly-pkg-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-primary);
  box-shadow: var(--shadow-md), var(--shadow-gold);
}

.pkg-hours-badge {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 8px;
}

.pkg-title {
  color: #ffffff;
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.pkg-desc {
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}

.pkg-footer {
  border-top: 1px solid var(--border-subtle);
  padding-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pkg-price-tag {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.pkg-price-amount {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   5. NUESTRA FLOTA & GALERÍA
   -------------------------------------------------------------------------- */
.fleet-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.fleet-filter-btn {
  padding: 8px 20px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.fleet-filter-btn:hover,
.fleet-filter-btn.active {
  background: var(--gold-gradient);
  color: #080b11;
  border-color: transparent;
}

.fleet-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.fleet-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-smooth);
}

.fleet-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold-border);
  box-shadow: var(--shadow-lg), var(--shadow-gold);
}

.fleet-img-wrap {
  position: relative;
  height: 240px;
  overflow: hidden;
  cursor: pointer;
}

.fleet-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.fleet-card:hover .fleet-img-wrap img {
  transform: scale(1.05);
}

.fleet-badge-city {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(8, 11, 17, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--gold-border);
  color: var(--gold-light);
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.fleet-zoom-icon {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.6);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.fleet-img-wrap:hover .fleet-zoom-icon {
  opacity: 1;
}

.fleet-content {
  padding: 26px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.fleet-category-tag {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold-primary);
  margin-bottom: 6px;
}

.fleet-title {
  color: #ffffff;
  font-size: 1.25rem;
  margin-bottom: 16px;
}

.fleet-specs-pills {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.spec-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  color: var(--text-main);
}

.spec-pill svg {
  width: 16px;
  height: 16px;
  fill: var(--gold-light);
}

.fleet-features-list {
  margin-bottom: 24px;
  flex-grow: 1;
}

.fleet-features-list li {
  font-size: 0.86rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
  padding-left: 18px;
  position: relative;
}

.fleet-features-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold-primary);
  font-weight: bold;
}

.fleet-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  margin-top: 18px;
}

.fleet-actions .btn-gold,
.fleet-actions .btn-outline-gold {
  width: 100%;
  white-space: normal;
  text-align: center;
  justify-content: center;
  padding: 12px 16px;
  font-size: 0.88rem;
  letter-spacing: 0.5px;
  line-height: 1.3;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
  padding: 24px;
}

.lightbox-modal.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content-wrap {
  max-width: 1000px;
  width: 100%;
  position: relative;
  text-align: center;
}

.lightbox-content-wrap img {
  max-height: 80vh;
  margin: 0 auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--gold-border);
  box-shadow: var(--shadow-lg);
}

.lightbox-caption {
  margin-top: 14px;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--gold-light);
}

.lightbox-close-btn {
  position: absolute;
  top: -45px;
  right: 0;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 2.2rem;
  cursor: pointer;
  line-height: 1;
}

/* --------------------------------------------------------------------------
   6. QUIÉNES SOMOS & GARANTÍAS
   -------------------------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.about-text-col p {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 30px;
}

.about-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px;
  transition: border-color var(--transition-fast);
}

.about-card:hover {
  border-color: var(--gold-border);
}

.about-card-icon {
  width: 44px;
  height: 44px;
  background: rgba(212, 175, 55, 0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.about-card-icon svg {
  width: 22px;
  height: 22px;
  fill: var(--gold-primary);
}

.about-card h4 {
  color: #ffffff;
  font-size: 1rem;
  margin-bottom: 8px;
}

.about-card p {
  font-size: 0.86rem;
  line-height: 1.6;
  margin: 0;
}

.about-legal-card {
  background: var(--bg-surface);
  border: 1px dashed var(--gold-border);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-top: 30px;
}

.about-legal-title {
  color: var(--gold-light);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.about-legal-text {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.about-image-col {
  position: relative;
}

.about-main-img {
  border-radius: var(--radius-lg);
  border: 1px solid var(--gold-border);
  box-shadow: var(--shadow-lg);
}

/* --------------------------------------------------------------------------
   7. CONTACTO DIRECTO
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 30px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.contact-item:hover {
  border-color: var(--gold-primary);
  transform: translateX(4px);
}

.contact-icon-box {
  width: 48px;
  height: 48px;
  background: var(--gold-gradient);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon-box svg {
  width: 24px;
  height: 24px;
  fill: #080b11;
}

.contact-detail-text span {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.contact-detail-text a {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
}

.contact-detail-text a:hover {
  color: var(--gold-primary);
}

.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-lg);
}

/* --------------------------------------------------------------------------
   8. MODAL DE RESERVA PRINCIPAL (SIN CREACIÓN DE USUARIO)
   -------------------------------------------------------------------------- */
.modal-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
}

.modal-container.active {
  opacity: 1;
  visibility: visible;
}

.modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(12px);
}

.modal-window {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 36px;
  box-shadow: var(--shadow-lg), var(--shadow-gold);
  z-index: 10;
  animation: fadeIn 0.3s ease;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 16px;
}

.modal-title {
  color: #ffffff;
  font-size: 1.5rem;
}

.modal-close-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.8rem;
  cursor: pointer;
  line-height: 1;
  transition: color var(--transition-fast);
}

.modal-close-btn:hover {
  color: #ffffff;
}

.modal-section-title {
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold-light);
  margin-top: 20px;
  margin-bottom: 14px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
}

.modal-price-box {
  display: flex;
  flex-direction: column;
}

.modal-price-val {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--gold-light);
}

/* --------------------------------------------------------------------------
   9. MODAL DE CONFIRMACIÓN (CRÍTICO: AVISO DE DISPONIBILIDAD & EMAIL)
   -------------------------------------------------------------------------- */
.confirm-status-card {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid var(--status-pending);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.confirm-status-card .status-icon {
  font-size: 1.8rem;
}

.confirm-status-card .status-text {
  font-size: 0.95rem;
  font-weight: 600;
  color: #fef3c7;
  line-height: 1.5;
}

.confirm-code-display {
  text-align: center;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 18px;
  margin-bottom: 24px;
}

.confirm-code-display .code-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
}

.confirm-code-display .code-value {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 2px;
  margin-top: 4px;
}

.confirm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px;
  margin-bottom: 24px;
}

.confirm-item {
  font-size: 0.88rem;
}

.confirm-item .label {
  display: block;
  font-size: 0.76rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.confirm-item .value {
  color: #ffffff;
  font-weight: 600;
}

.confirm-item.price-item {
  grid-column: span 2;
  border-top: 1px solid var(--border-subtle);
  padding-top: 10px;
  margin-top: 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.confirm-actions {
  display: flex;
  gap: 14px;
}

/* --------------------------------------------------------------------------
   10. MODAL AUDITORÍA ADMIN & PREVIEW EMAIL
   -------------------------------------------------------------------------- */
.admin-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.admin-table th {
  padding: 10px 14px;
  background: #080b11;
  color: var(--gold-light);
  text-align: left;
  border-bottom: 1px solid var(--gold-border);
}

.admin-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-subtle);
}

.badge-city {
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: bold;
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
}

.badge-status-pending {
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: bold;
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
}

/* --------------------------------------------------------------------------
   11. FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  background: #05070a;
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 30px 0;
  font-size: 0.88rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand p {
  font-size: 0.9rem;
  margin-top: 14px;
  max-width: 320px;
}

.footer-col h5 {
  color: #ffffff;
  font-size: 0.95rem;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: var(--text-secondary);
}

.footer-col ul li a:hover {
  color: var(--gold-primary);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 25px;
  color: var(--text-muted);
  font-size: 0.82rem;
}

.footer-legal-links {
  display: flex;
  gap: 20px;
}

/* --------------------------------------------------------------------------
   ESTRUCTURA EXCLUSIVA HUBS & DESTINOS ALICANTE
   -------------------------------------------------------------------------- */
.route-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.btn-route-swap {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid var(--gold-border);
  color: var(--gold-light);
  border-radius: var(--radius-sm);
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-route-swap:hover {
  background: var(--gold-primary);
  color: #080b11;
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.35);
  transform: translateY(-1px);
}

.btn-route-swap .swap-icon {
  font-size: 1.05rem;
  line-height: 1;
}

.alc-route-builder {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  background: rgba(14, 19, 29, 0.75);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px;
}

.route-step-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.step-indicator {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: var(--gold-primary);
  text-transform: uppercase;
}

.step-content {
  min-width: 0;
}

.step-fixed-title {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 11px 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
}

.alc-dest-select {
  width: 100%;
  padding: 11px 12px;
  font-size: 0.88rem;
  background: rgba(212, 175, 55, 0.07);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-sm);
  color: #ffffff;
  cursor: pointer;
  outline: none;
}

.alc-dest-select:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.25);
}

.alc-dest-select option {
  background: var(--bg-surface);
  color: #ffffff;
}

.route-builder-arrow {
  color: var(--gold-primary);
  font-size: 1.25rem;
  font-weight: bold;
  opacity: 0.9;
  text-align: center;
}

/* Badge de Tarifa Oficial Cerrada */
.alc-price-badge-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  margin-top: 14px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.12) 0%, rgba(14, 19, 29, 0.9) 100%);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.price-badge-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.price-badge-check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--gold-primary);
  color: #080b11;
  font-weight: 800;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.price-badge-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.3px;
}

.price-badge-subtitle {
  font-size: 0.74rem;
  color: var(--text-muted);
}

.price-badge-right {
  text-align: right;
}

.price-badge-amount {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--gold-light);
  line-height: 1;
  display: block;
}

.price-badge-veh {
  font-size: 0.74rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Tabs de Filtro de Hubs en Tabla Alicante */
.route-hub-filter-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.hub-filter-btn {
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.hub-filter-btn:hover {
  border-color: var(--gold-border);
  color: #ffffff;
}

.hub-filter-btn.active {
  background: var(--gold-gradient);
  color: #080b11;
  border-color: transparent;
  box-shadow: 0 2px 10px rgba(212, 175, 55, 0.25);
}

.route-hub-pill {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold-light);
  border: 1px solid var(--gold-border);
  margin-right: 6px;
  vertical-align: middle;
}

.route-hub-pill.renfe {
  background: rgba(56, 189, 248, 0.15);
  color: #7dd3fc;
  border-color: rgba(56, 189, 248, 0.35);
}

.table-more-destinations-notice {
  margin-top: 18px;
  padding: 12px 18px;
  background: rgba(212, 175, 55, 0.08);
  border: 1px dashed var(--gold-border);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 0.86rem;
  line-height: 1.5;
}

.table-more-destinations-notice strong {
  color: var(--gold-light);
}

