/* ==========================================================================
   FAITH CAR RENTAL SV - DARK MODE PREMIUM STYLESHEET
   Aesthetics: Sleek Black, Glassmorphism, Gold & Neon White Accents
   Full Mobile Responsiveness & Modal Checkout Experience
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  /* Color Palette - Premium Dark Theme */
  --bg-dark: #09090b;
  --bg-card: #121216;
  --bg-card-hover: #191920;
  --bg-glass: rgba(18, 18, 22, 0.85);
  
  --border-color: #23232c;
  --border-color-light: #32323f;
  
  --accent-gold: #d4af37;
  --accent-gold-hover: #f3e5ab;
  --accent-gold-glow: rgba(212, 175, 55, 0.25);
  
  --accent-whatsapp: #25d366;
  --accent-whatsapp-hover: #20ba59;
  --accent-red: #ef4444;
  --accent-red-hover: #dc2626;
  
  --text-main: #f8f9fa;
  --text-muted: #9ca3af;
  --text-dark: #111827;

  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Montserrat', sans-serif;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;

  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.8);
  --shadow-glow: 0 0 25px rgba(212, 175, 55, 0.15);
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Utility Containers */
.container {
  width: 90%;
  max-width: 1240px;
  margin: 0 auto;
}

.padding-top-md {
  padding-top: 3rem;
}

.margin-top-lg {
  margin-top: 4rem;
}

.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

/* Typography Helpers */
.text-gold {
  color: var(--accent-gold);
}

.text-whatsapp {
  color: var(--accent-whatsapp);
}

.heading-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  letter-spacing: -0.5px;
  margin-bottom: 0.75rem;
}

.heading-subtitle {
  color: var(--text-muted);
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  max-width: 650px;
  margin: 0 auto 2.5rem auto;
}

.text-center {
  text-align: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.8rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-align: center;
  min-height: 44px;
}

.btn-lg {
  padding: 1.1rem 2rem;
  font-size: 1.05rem;
}

.btn-full {
  width: 100%;
}

.btn-gold {
  background: linear-gradient(135deg, #d4af37 0%, #b89628 100%);
  color: #000;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-gold:hover {
  background: linear-gradient(135deg, #f3e5ab 0%, #d4af37 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
}

.btn-whatsapp {
  background-color: var(--accent-whatsapp);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background-color: var(--accent-whatsapp-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.btn-whatsapp-outline {
  background: transparent;
  color: var(--accent-whatsapp);
  border: 1px solid rgba(37, 211, 102, 0.4);
  font-weight: 600;
}

.btn-whatsapp-outline:hover {
  background: rgba(37, 211, 102, 0.1);
  border-color: var(--accent-whatsapp);
  color: #fff;
}

.btn-whatsapp-large {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background-color: var(--accent-whatsapp);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  padding: 1rem 2.2rem;
  border-radius: var(--radius-sm);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
}

.btn-whatsapp-large:hover {
  background-color: var(--accent-whatsapp-hover);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.6);
}

.btn-outline {
  background: rgba(0, 0, 0, 0.4);
  color: var(--text-main);
  border: 1px solid var(--border-color-light);
  backdrop-filter: blur(8px);
}

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

.margin-top-xs {
  margin-top: 0.6rem;
}

/* ==========================================================================
   HEADER & NAVBAR (TELÉFONO Y EMAIL INTERACTIVOS Y RESPONSIVOS)
   ========================================================================== */
.top-bar {
  background-color: #050507;
  border-bottom: 1px solid var(--border-color);
  padding: 0.5rem 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-info {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.top-info-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-main);
  transition: var(--transition);
}

.top-info-item:hover {
  color: var(--accent-gold);
}

.top-info-item i {
  color: var(--accent-gold);
}

.top-social {
  display: flex;
  gap: 1rem;
}

.top-social a:hover {
  color: var(--accent-gold);
}

/* Main Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  padding: 0.8rem 0;
  transition: var(--transition);
}

.navbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
}

.brand-logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
  transition: var(--transition);
}

.brand-logo-img:hover {
  transform: scale(1.03);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  position: relative;
  padding: 0.4rem 0;
  text-transform: uppercase;
}

.nav-link:hover, .nav-link.active {
  color: var(--accent-gold);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--accent-gold);
  transition: var(--transition);
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

/* Header Cart Widget Button */
.cart-trigger-btn {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-color-light);
  color: var(--accent-gold);
  padding: 0.4rem 1.1rem;
  height: 44px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.95rem;
  font-family: var(--font-heading);
  font-weight: 700;
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.cart-trigger-btn:hover {
  background: rgba(212, 175, 55, 0.15);
  border-color: var(--accent-gold);
  box-shadow: 0 0 18px rgba(212, 175, 55, 0.35);
  transform: translateY(-1px);
}

.cart-total-text {
  color: var(--text-main);
  font-weight: 800;
  font-size: 0.95rem;
}

.cart-icon-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
}

.cart-badge {
  position: absolute;
  top: -10px;
  right: -10px;
  background-color: var(--accent-whatsapp);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg-dark);
  box-shadow: 0 0 8px rgba(37, 211, 102, 0.6);
}

.menu-toggle-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
}

/* ==========================================================================
   SECCIONES PRINCIPALES Y BANNER HERO (INICIO)
   ========================================================================== */
.hero-banner {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 0;
  overflow: hidden;
  background-color: #000;
}

.hero-video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.hero-bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.hero-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(9, 9, 11, 0.5) 0%, rgba(9, 9, 11, 0.75) 60%, rgba(9, 9, 11, 0.98) 100%);
  z-index: 2;
}

.hero-banner-content {
  position: relative;
  z-index: 3;
  width: 100%;
}

.hero-banner-text {
  text-align: center;
  max-width: 850px;
  margin: 0 auto;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.2rem;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.4);
  backdrop-filter: blur(8px);
  border-radius: 50px;
  color: var(--accent-gold);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}

.hero-banner-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.2rem;
  letter-spacing: -1px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.9);
}

.hero-banner-subtitle {
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  color: #e5e7eb;
  margin-bottom: 2.5rem;
  font-weight: 400;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}

.hero-banner-actions {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   SECCIÓN DE COTIZADOR / RESERVA (ELEGANTED & FULLY RESPONSIVE)
   ========================================================================== */
.booking-section {
  padding: 4rem 0 5rem 0;
  background-color: #070709;
  border-bottom: 1px solid var(--border-color);
  position: relative;
  z-index: 10;
}

.booking-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color-light);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  box-shadow: var(--shadow-card), var(--shadow-glow);
  transition: var(--transition);
}

.booking-header {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.booking-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.booking-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.booking-form {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #d1d5db;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.form-group label i {
  color: var(--accent-gold);
}

.form-control {
  background-color: #09090c;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
  min-height: 46px;
  width: 100%;
}

.form-control:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.35);
}

.form-submit-col {
  grid-column: 1 / -1;
  margin-top: 0.8rem;
}

/* ==========================================================================
   SECCIÓN: CATÁLOGO DE FLOTA
   ========================================================================== */
.fleet-section {
  padding: 6rem 0;
  background-color: var(--bg-dark);
  border-bottom: 1px solid var(--border-color);
}

.filter-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 3rem;
}

.filter-btn {
  padding: 0.6rem 1.4rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 50px;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
  min-height: 42px;
}

.filter-btn:hover, .filter-btn.active {
  background: var(--accent-gold);
  color: #000;
  border-color: var(--accent-gold);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.fleet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.vehicle-card {
  position: relative;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.vehicle-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-color-light);
  box-shadow: var(--shadow-card), var(--shadow-glow);
}

/* Ocultar etiquetas flotantes */
.vehicle-badge {
  display: none !important;
}

.vehicle-img-wrap {
  position: relative;
  height: 200px;
  background: radial-gradient(circle, #1a1a24 0%, #0c0c10 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  overflow: hidden;
}

.vehicle-img-wrap img {
  max-height: 160px;
  object-fit: contain;
  transition: var(--transition);
}

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

.vehicle-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.vehicle-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.vehicle-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.vehicle-price {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
  margin-bottom: 1.2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.price-amount {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent-gold);
}

.price-period {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.vehicle-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.spec-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.spec-item i {
  color: var(--accent-gold);
}

.vehicle-card-action {
  margin-top: auto;
}

/* ==========================================================================
   SECCIÓN DE BENEFICIOS (4 COLUMNAS ELEGANTES & RESPONSIVE)
   ========================================================================== */
.features-section {
  padding: 6rem 0;
  background-color: var(--bg-dark);
  border-bottom: 1px solid var(--border-color);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.8rem;
  margin-top: 1rem;
}

.feature-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color-light);
  border-radius: var(--radius-md);
  padding: 2.2rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: var(--transition);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
  opacity: 0;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-card), var(--shadow-glow);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 70px;
  height: 70px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--accent-gold);
  margin-bottom: 1.2rem;
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.15);
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  background: var(--accent-gold);
  color: #000;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
  transform: scale(1.08);
}

.feature-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.6rem;
  line-height: 1.3;
}

.feature-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   SECCIÓN: PROMOCIONES & OFERTAS (ESTILO ECO RENTA CAR)
   ========================================================================== */
.promos-section {
  padding: 0 0 6rem 0;
  background-color: var(--bg-dark);
  border-bottom: 1px solid var(--border-color);
}

.promo-hero-header {
  background: linear-gradient(135deg, #091a2e 0%, #0d2745 50%, #121216 100%);
  border-bottom: 1px solid var(--border-color-light);
  padding: 5rem 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.promo-header-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.8rem;
  letter-spacing: -0.5px;
}

.promo-header-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto;
}

.eco-promos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.2rem;
  margin-top: 1rem;
}

.eco-promo-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color-light);
  border-radius: var(--radius-md);
  padding: 3rem 2rem 2.5rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: var(--transition);
  box-shadow: var(--shadow-card);
}

.eco-promo-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-card), var(--shadow-glow);
}

.eco-promo-icon-wrap {
  width: 90px;
  height: 90px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.15);
}

.eco-icon {
  font-size: 2.8rem;
  color: var(--accent-gold);
}

.eco-promo-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1rem;
}

.eco-promo-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.eco-promo-action {
  margin-top: auto;
  width: 100%;
}

.promo-cta-banner {
  background: linear-gradient(135deg, #0d3863 0%, #082442 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4rem 0;
}

.cta-banner-title {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3.5vw, 2.2rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 2rem;
}

.cta-whatsapp-buttons {
  margin-top: 1rem;
}

/* ==========================================================================
   MODALES (FICHA DE VEHÍCULO & CHECKOUT DE PAGO CON BOTÓN DE ELIMINAR ÍTEM)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  padding: 1.5rem;
}

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

.modal-content {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color-light);
  border-radius: var(--radius-md);
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-card), var(--shadow-glow);
  padding: 2.5rem;
}

.modal-lg {
  max-width: 1080px;
}

.modal-md {
  max-width: 850px;
}

.modal-close-btn {
  position: absolute;
  top: 1.2rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  transition: var(--transition);
  z-index: 10;
}

.modal-close-btn:hover {
  color: var(--accent-gold);
}

.modal-warning-banner {
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.9rem;
  color: var(--accent-gold-hover);
  margin-bottom: 2rem;
}

.modal-body-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.main-image-frame {
  background: radial-gradient(circle, #1a1a24 0%, #0c0c10 100%);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.main-image-frame img {
  max-height: 240px;
  object-fit: contain;
}

.thumbs-flex {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.thumb-item {
  width: 65px;
  height: 50px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: #0c0c10;
  cursor: pointer;
  padding: 0.3rem;
  transition: var(--transition);
}

.thumb-item.active, .thumb-item:hover {
  border-color: var(--accent-gold);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.specs-summary-box {
  background: #09090c;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 1.2rem;
}

.specs-summary-box h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  margin-bottom: 0.8rem;
}

.specs-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 0.2rem;
}

.modal-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.price-header-tag {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.big-price {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent-gold);
}

.modal-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.modal-form-group {
  margin-bottom: 1rem;
}

.modal-form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #d1d5db;
  margin-bottom: 0.3rem;
  display: block;
}

.modal-extras-section {
  margin: 1.5rem 0;
}

.modal-extras-section h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.extras-checklist {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.extra-option-card {
  background: #09090c;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.25s ease;
  cursor: pointer;
  user-select: none;
}

.extra-option-card:hover {
  border-color: rgba(212, 175, 55, 0.4);
  background: rgba(255, 255, 255, 0.02);
}

.extra-option-card.selected {
  border-color: var(--accent-gold);
  background: rgba(212, 175, 55, 0.09);
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.15);
}

.extra-option-card.mandatory-card {
  border-color: var(--accent-gold);
  background: rgba(212, 175, 55, 0.08);
  cursor: default;
}

.extra-option-card.replaced-card {
  opacity: 0.65;
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.08);
  cursor: default;
}

.extra-badge.muted-badge {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  font-weight: 500;
}

.extra-label {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  cursor: pointer;
  flex: 1;
}

.extra-label input[type="checkbox"] {
  accent-color: var(--accent-gold);
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.extra-name {
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.extra-badge {
  font-size: 0.68rem;
  background: rgba(212, 175, 55, 0.2);
  color: var(--accent-gold);
  padding: 2px 7px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.extra-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.extra-price {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--accent-gold);
  white-space: nowrap;
}

.booking-summary-box {
  background: #050507;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 1.2rem;
  margin-bottom: 1.5rem;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  color: var(--text-muted);
}

.total-line {
  font-size: 1.15rem;
  border-top: 1px solid var(--border-color);
  padding-top: 0.8rem;
  margin-top: 0.8rem;
  color: var(--text-main);
}

.modal-related-section {
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
}

.modal-related-section h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: 1.2rem;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.2rem;
}

.related-card {
  background: #09090c;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 1rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

.related-card:hover {
  border-color: var(--accent-gold);
  transform: translateY(-3px);
}

.related-card img {
  height: 90px;
  object-fit: contain;
  margin: 0 auto 0.8rem auto;
}

.related-card h4 {
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
}

.related-price {
  font-size: 0.85rem;
  color: var(--accent-gold);
  font-weight: 700;
}

/* ==========================================================================
   CHECKOUT & TARJETAS DE ELEMENTOS DEL CARRITO (CON BOTÓN ELIMINAR)
   ========================================================================== */
.checkout-header {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.checkout-header h2 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  margin-bottom: 0.3rem;
}

.checkout-body-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 2rem;
}

.checkout-summary-card {
  background: #09090c;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
}

.checkout-summary-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.cart-items-scroll-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-height: 280px;
  overflow-y: auto;
  padding-right: 0.3rem;
}

.cart-item-card {
  background: #121216;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 1rem;
  position: relative;
  transition: var(--transition);
}

.cart-item-card:hover {
  border-color: var(--border-color-light);
}

.cart-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.cart-item-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--accent-gold);
  font-weight: 700;
}

.btn-delete-item {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: var(--accent-red);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.3rem 0.7rem;
  border-radius: 4px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition);
}

.btn-delete-item:hover {
  background: var(--accent-red);
  color: #ffffff;
  border-color: var(--accent-red);
}

.cart-dates, .cart-location, .cart-duration {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

.cart-item-price-row {
  margin-top: 0.5rem;
  padding-top: 0.4rem;
  border-top: 1px dashed var(--border-color);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
  text-align: right;
}

.checkout-breakdown {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.breakdown-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.total-row {
  font-size: 1.2rem;
  border-top: 1px solid var(--border-color);
  padding-top: 0.8rem;
  margin-top: 0.5rem;
  color: var(--text-main);
}

.payment-tabs-header {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.payment-tab-btn {
  background: #09090c;
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 0.7rem 0.5rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  transition: var(--transition);
}

.payment-tab-btn:hover, .payment-tab-btn.active {
  background: var(--accent-gold);
  color: #000;
  border-color: var(--accent-gold);
}

.payment-pane {
  display: none;
}

.payment-pane.active {
  display: block;
}

.card-icons-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.2rem;
  font-size: 1.6rem;
  color: var(--accent-gold);
}

.card-icons-row span {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-left: auto;
}

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

.bank-details-card, .cash-info-box, .whatsapp-checkout-box {
  background: #09090c;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
}

.bank-account-item {
  margin-bottom: 1rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px dashed var(--border-color);
}

.bank-account-item strong {
  color: var(--accent-gold);
}

.bank-account-item code {
  background: #191920;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  color: var(--text-main);
}

.big-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

/* ==========================================================================
   SECCIÓN DE MAPA DE GOOGLE MAPS
   ========================================================================== */
.map-section {
  padding: 6rem 0;
  background-color: #070709;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.map-wrapper {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 2rem;
  align-items: stretch;
}

.map-iframe-container {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color-light);
  box-shadow: var(--shadow-card);
  position: relative;
  min-height: 420px;
  background-color: var(--bg-card);
}

.map-iframe-container iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  filter: contrast(1.05) saturate(1.1);
}

.map-info-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color-light);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-card), var(--shadow-glow);
}

.map-info-header {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.map-info-header h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--text-main);
}

.map-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.map-rating .stars {
  color: var(--accent-gold);
}

.map-rating .rating-text {
  color: var(--text-muted);
  font-weight: 600;
}

.map-info-details {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-bottom: 2rem;
}

.map-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
}

.map-detail-item i {
  font-size: 1.2rem;
  margin-top: 0.2rem;
}

.map-detail-item strong {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.map-detail-item p {
  font-size: 0.95rem;
  color: var(--text-main);
}

/* ==========================================================================
   TESTIMONIALS & FOOTER
   ========================================================================== */
.testimonials-section {
  padding: 6rem 0;
  background-color: var(--bg-dark);
  border-top: 1px solid var(--border-color);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

.rating-stars {
  color: var(--accent-gold);
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.testimonial-text {
  font-style: italic;
  font-size: 0.95rem;
  color: var(--text-main);
  margin-bottom: 1.5rem;
}

.testimonial-author {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.author-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--border-color-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--accent-gold);
}

.author-info h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
}

.author-info span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Google Maps Reviews Summary & Badge Styles */
.google-rating-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin: 1.2rem auto 2rem auto;
  padding: 10px 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 50px;
  width: fit-content;
  max-width: 90%;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.google-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: #ffffff;
  border-radius: 50%;
  color: #4285f4;
  font-size: 1.35rem;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.3);
}

.google-rating-info {
  text-align: left;
}

.google-rating-score {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.google-rating-subtext {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.google-review-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  background: rgba(66, 133, 244, 0.15);
  color: #60a5fa;
  border-radius: 12px;
  font-size: 0.73rem;
  font-weight: 600;
  margin-bottom: 12px;
  border: 1px solid rgba(66, 133, 244, 0.3);
}

.google-actions-row {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

footer {
  background-color: #040405;
  border-top: 1px solid var(--border-color);
  padding: 5rem 0 2rem 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 1.5rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-links a:hover {
  color: var(--accent-gold);
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
}

.contact-item i {
  color: var(--accent-gold);
  margin-top: 0.2rem;
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
}

/* Floating WhatsApp FAB */
.whatsapp-fab {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background-color: var(--accent-whatsapp);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: var(--transition);
}

.whatsapp-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.6);
}

/* ==========================================================================
   ADAPTACIÓN RESPONSIVA MÓVIL Y MODALES
   ========================================================================== */
@media (max-width: 1024px) {
  .booking-form {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
  }

  .modal-body-grid, .checkout-body-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .map-wrapper {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .eco-promos-grid {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }
}

@media (max-width: 992px) {
  .nav-menu {
    position: fixed;
    top: 73px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 73px);
    background-color: var(--bg-dark);
    flex-direction: column;
    justify-content: center;
    gap: 2.5rem;
    transition: var(--transition);
    z-index: 999;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-link {
    font-size: 1.3rem;
  }

  .menu-toggle-btn {
    display: block;
  }

  .hide-mobile {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .booking-card {
    padding: 1.8rem 1.2rem;
  }

  .booking-form {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .booking-header h2 {
    font-size: 1.35rem;
  }

  .top-bar-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .top-info {
    gap: 0.8rem;
    font-size: 0.78rem;
  }

  .top-info-item {
    font-size: 0.78rem;
  }

  .payment-tabs-header {
    grid-template-columns: repeat(2, 1fr);
  }

  .modal-content {
    padding: 1.5rem;
  }

  .specs-list {
    grid-template-columns: 1fr;
  }

  .brand-logo-img {
    height: 42px;
  }
}

@media (max-width: 600px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .booking-card {
    padding: 1.2rem 1rem;
  }

  .top-bar-content {
    flex-direction: column;
    gap: 0.4rem;
    padding: 0.3rem 0;
  }

  .top-info {
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    width: 100%;
  }

  .payment-tabs-header {
    grid-template-columns: 1fr;
  }

  .form-row-2 {
    grid-template-columns: 1fr;
  }
}

/* ══════════════════════════════════════════════════════════════════════
   BANCO ATLÁNTIDA / SERFINSA GATEWAY PAYMENT FORM (OFICIAL IMAGEN 1)
   ══════════════════════════════════════════════════════════════════════ */
.atlantida-gateway-wrapper {
  max-width: 440px;
  margin: 0 auto 1.5rem;
  background: #ffffff;
  border: 1px solid #fca5a5;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.28);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: #333333;
}

.atlantida-top-banner {
  background: #e31c23;
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-align: center;
  padding: 8px 12px;
  text-transform: uppercase;
}

.atlantida-form-container {
  padding: 1.2rem 1.4rem 1.2rem;
}

.atlantida-brand-header {
  text-align: center;
  margin-bottom: 0.9rem;
}

.atlantida-logo-lockup {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 0.25rem;
}

.atlantida-symbol {
  flex-shrink: 0;
}

.atlantida-text-wrap {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.05;
}

.atlantida-word-banco {
  font-size: 1.15rem;
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.02em;
}

.atlantida-word-atlantida {
  font-size: 1.15rem;
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.02em;
}

.atlantida-commerce-name {
  font-size: 0.78rem;
  font-weight: 700;
  color: #4b5563;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 0.15rem;
}

.atlantida-amount-display {
  font-size: 1.85rem;
  font-weight: 800;
  color: #111827;
  margin: 0.4rem 0 0.8rem;
  letter-spacing: -0.01em;
}

.atlantida-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin-bottom: 0.65rem;
}

.atlantida-field-group {
  margin-bottom: 0.65rem;
  text-align: left;
}

.atlantida-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: #4b5563;
  margin-bottom: 0.2rem;
}

.atlantida-input {
  width: 100%;
  padding: 0.45rem 0.65rem;
  border: 1px solid #d1d5db !important;
  border-radius: 4px !important;
  font-size: 0.84rem;
  color: #111827 !important;
  background: #ffffff !important;
  box-sizing: border-box;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.atlantida-input:focus {
  outline: none;
  border-color: #e31c23 !important;
  box-shadow: 0 0 0 2px rgba(227, 28, 35, 0.15);
}

.atlantida-select {
  height: 33px;
  cursor: pointer;
}

/* Caja de Datos de Tarjeta */
.atlantida-card-panel {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 0.75rem 0.9rem 0.6rem;
  margin: 0.8rem 0;
  text-align: left;
}

.atlantida-card-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.6rem;
}

.atlantida-card-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: #1e293b;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.atlantida-card-brands {
  display: flex;
  gap: 0.3rem;
}

.atlantida-card-badge {
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 5px;
  border-radius: 3px;
}

.atlantida-card-badge.visa {
  background: #1a1f71;
  color: #ffffff;
}

.atlantida-card-badge.mastercard {
  background: #eb001b;
  color: #ffffff;
}

.atlantida-card-badge.amex {
  background: #006fcf;
  color: #ffffff;
}

.atlantida-btn-wrap {
  text-align: center;
  margin: 1rem 0 0.8rem;
}

.btn-atlantida-continuar {
  background: #28a745 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 4px !important;
  padding: 0.55rem 2.5rem !important;
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.05em;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(40, 167, 69, 0.3);
  transition: background 0.15s ease, transform 0.15s ease;
  display: inline-block;
  outline: none;
}

.btn-atlantida-continuar:hover {
  background: #218838 !important;
  transform: translateY(-1px);
}

.btn-atlantida-continuar:active {
  transform: translateY(1px);
}

.atlantida-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 0.9rem;
  padding-top: 0.7rem;
  border-top: 1px solid #f1f5f9;
  text-align: center;
}

.atlantida-footer-logo {
  max-height: 28px;
  margin-bottom: 0.25rem;
  object-fit: contain;
}

.atlantida-footer-copy {
  font-size: 0.68rem;
  color: #94a3b8;
  line-height: 1.35;
}

/* ══════════════════════════════════════════════════════════════════════
   FACTURA OFICIAL RED SERFINSA / BANCO ATLÁNTIDA (DENTRO DEL CHECKOUT)
   ══════════════════════════════════════════════════════════════════════ */
.serfinsa-invoice-container {
  background: #ffffff;
  border-radius: 8px;
  color: #1e293b;
  padding: 1.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  animation: fadeInInvoice 0.4s ease-out;
}

@keyframes fadeInInvoice {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.serfinsa-invoice-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.serfinsa-invoice-brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.serfinsa-invoice-brand img {
  max-height: 38px;
  width: auto;
}

.serfinsa-invoice-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.serfinsa-invoice-brand-text .brand-title {
  font-size: 1rem;
  font-weight: 800;
  color: #e31c23;
  letter-spacing: -0.01em;
}

.serfinsa-invoice-brand-text .brand-sub {
  font-size: 0.75rem;
  color: #64748b;
  font-weight: 500;
}

.serfinsa-invoice-badge {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #059669;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.serfinsa-invoice-meta-row {
  display: flex !important;
  justify-content: space-between !important;
  margin-bottom: 1.1rem !important;
  font-size: 0.82rem !important;
  color: #475569 !important;
  flex-wrap: wrap !important;
  gap: 0.5rem !important;
}

.invoice-doc-type {
  font-size: 0.75rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  color: #e31c23 !important;
  font-weight: 700 !important;
}

.invoice-number {
  font-size: 1rem !important;
  font-weight: 700 !important;
  color: #0f172a !important;
}

.serfinsa-paid-banner {
  background: linear-gradient(135deg, #0f172a, #1e293b) !important;
  color: #ffffff !important;
  border-radius: 8px !important;
  padding: 1.25rem 1.4rem !important;
  text-align: center !important;
  margin-bottom: 1.2rem !important;
  border-left: 4px solid #10b981 !important;
}

.serfinsa-paid-banner .paid-label {
  font-size: 0.78rem !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: #94a3b8 !important;
  font-weight: 700 !important;
  margin-bottom: 0.25rem !important;
}

.serfinsa-paid-banner .paid-amount {
  font-size: 2.1rem !important;
  font-weight: 800 !important;
  color: #34d399 !important;
  line-height: 1.1 !important;
  margin-bottom: 0.35rem !important;
}

.serfinsa-paid-banner .paid-sub {
  font-size: 0.78rem !important;
  color: #cbd5e1 !important;
}

.serfinsa-tx-details {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 6px !important;
  padding: 0.9rem 1rem !important;
  margin-bottom: 1.2rem !important;
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 0.75rem !important;
  font-size: 0.82rem !important;
}

@media (max-width: 580px) {
  .serfinsa-tx-details {
    grid-template-columns: 1fr !important;
  }
}

.serfinsa-tx-details .tx-row {
  display: flex !important;
  justify-content: space-between !important;
  margin-bottom: 0.35rem !important;
}

.serfinsa-tx-details .tx-row:last-child {
  margin-bottom: 0 !important;
}

.serfinsa-tx-details span:first-child {
  color: #64748b !important;
}

.badge-approved {
  color: #059669 !important;
  font-weight: 700 !important;
}

.serfinsa-items-table-wrap {
  margin-bottom: 1.2rem !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 6px !important;
  overflow: hidden !important;
  background: #ffffff !important;
}

.serfinsa-items-table {
  width: 100% !important;
  border-collapse: collapse !important;
  font-size: 0.82rem !important;
  background: #ffffff !important;
}

.serfinsa-items-table th {
  background: #f1f5f9 !important;
  color: #334155 !important;
  font-weight: 700 !important;
  padding: 0.55rem 0.75rem !important;
  text-align: left !important;
  border-bottom: 1px solid #cbd5e1 !important;
}

.serfinsa-items-table td {
  padding: 0.6rem 0.75rem !important;
  border-bottom: 1px solid #f1f5f9 !important;
  color: #1e293b !important;
  background: #ffffff !important;
}

.serfinsa-items-table tr.table-total-row td {
  background: #f8fafc !important;
  border-top: 2px solid #cbd5e1 !important;
  font-size: 0.95rem !important;
  padding: 0.75rem !important;
  color: #1e293b !important;
}

.serfinsa-client-strip {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 6px !important;
  padding: 0.75rem 1rem !important;
  display: flex !important;
  justify-content: space-between !important;
  font-size: 0.78rem !important;
  color: #334155 !important;
  margin-bottom: 1.2rem !important;
  flex-wrap: wrap !important;
  gap: 0.5rem !important;
}

.serfinsa-invoice-actions {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-invoice-print {
  background: #0f172a;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  padding: 0.55rem 1.2rem;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: background 0.15s;
}

.btn-invoice-print:hover {
  background: #1e293b;
}

.btn-invoice-whatsapp {
  background: #25d366;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  padding: 0.55rem 1.2rem;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: background 0.15s;
}

.btn-invoice-whatsapp:hover {
  background: #1eb956;
  color: #ffffff;
}

.btn-invoice-close {
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 0.55rem 1.2rem;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: background 0.15s;
}

.btn-invoice-close:hover {
  background: #e2e8f0;
}

/* ==========================================================================
   PASARELA OFICIAL WOMPI — BANCO AGRÍCOLA (EL SALVADOR)
   ========================================================================== */
.wompi-gateway-wrapper {
  max-width: 460px !important;
  margin: 0 auto 1.5rem !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  box-shadow: 0 15px 35px rgba(43, 9, 56, 0.15), 0 5px 15px rgba(0, 0, 0, 0.08) !important;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
  color: #1e293b !important;
}

.wompi-top-banner {
  background: linear-gradient(135deg, #2b0938 0%, #3b1c54 60%, #e6007e 100%) !important;
  color: #ffffff !important;
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  text-align: center !important;
  padding: 10px 14px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  text-transform: uppercase !important;
}

.wompi-form-container {
  padding: 1.4rem 1.6rem !important;
  background: #ffffff !important;
}

.wompi-brand-header {
  text-align: center !important;
  margin-bottom: 1rem !important;
  padding-bottom: 0.8rem !important;
  border-bottom: 1px solid #f1f5f9 !important;
}

.wompi-logo-lockup {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.6rem !important;
  margin-bottom: 0.3rem !important;
}

.wompi-badge-ba {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.35rem !important;
  background: #eef2ff !important;
  border: 1px solid #c7d2fe !important;
  color: #1e40af !important;
  padding: 0.25rem 0.6rem !important;
  border-radius: 20px !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  margin-top: 0.3rem !important;
}

.wompi-amount-display {
  font-size: 2rem !important;
  font-weight: 800 !important;
  color: #2b0938 !important;
  margin: 0.4rem 0 0.2rem !important;
}

.wompi-amount-label {
  font-size: 0.75rem !important;
  text-transform: uppercase !important;
  color: #64748b !important;
  letter-spacing: 0.05em !important;
  font-weight: 600 !important;
}

.wompi-card-panel {
  background: #faf8fc !important;
  border: 1px solid #e9d5ff !important;
  border-radius: 8px !important;
  padding: 0.9rem 1rem !important;
  margin: 0.9rem 0 !important;
}

.wompi-card-panel-header {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-bottom: 0.75rem !important;
}

.wompi-card-title {
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  color: #2b0938 !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.4rem !important;
}

.wompi-features-badges {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 0.4rem !important;
  justify-content: center !important;
  margin: 0.8rem 0 !important;
}

.wompi-feature-pill {
  font-size: 0.72rem !important;
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  padding: 0.2rem 0.5rem !important;
  border-radius: 4px !important;
  color: #475569 !important;
  font-weight: 600 !important;
}

.btn-wompi-pay {
  width: 100% !important;
  background: linear-gradient(135deg, #e6007e 0%, #c00067 100%) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 0.85rem 1.5rem !important;
  font-size: 0.95rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.04em !important;
  cursor: pointer !important;
  box-shadow: 0 4px 14px rgba(230, 0, 126, 0.4) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  transition: all 0.2s ease !important;
}

.btn-wompi-pay:hover {
  background: linear-gradient(135deg, #ff008c 0%, #d60074 100%) !important;
  box-shadow: 0 6px 20px rgba(230, 0, 126, 0.5) !important;
  transform: translateY(-1px) !important;
}

/* ─── FACTURA OFICIAL WOMPI BANCO AGRÍCOLA ─── */
.wompi-invoice-container {
  background: #ffffff !important;
  color: #1e293b !important;
  border-radius: 12px !important;
  padding: 1.8rem !important;
  box-shadow: 0 10px 30px rgba(43, 9, 56, 0.25) !important;
  border: 1px solid #e2e8f0 !important;
  max-width: 680px !important;
  margin: 0 auto !important;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  text-align: left !important;
}

.wompi-invoice-header {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding-bottom: 1.2rem !important;
  border-bottom: 2px solid #f1f5f9 !important;
  margin-bottom: 1.2rem !important;
  flex-wrap: wrap !important;
  gap: 0.8rem !important;
}

.wompi-invoice-brand {
  display: flex !important;
  align-items: center !important;
  gap: 0.8rem !important;
}

.wompi-invoice-brand-text .brand-title {
  font-size: 1.15rem !important;
  font-weight: 800 !important;
  color: #2b0938 !important;
  display: block !important;
}

.wompi-invoice-brand-text .brand-sub {
  font-size: 0.76rem !important;
  color: #0047ba !important;
  font-weight: 700 !important;
  display: block !important;
}

.wompi-invoice-badge {
  background: #ecfdf5 !important;
  color: #059669 !important;
  border: 1px solid #a7f3d0 !important;
  padding: 0.4rem 0.85rem !important;
  border-radius: 20px !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.4rem !important;
}

.wompi-paid-banner {
  background: linear-gradient(135deg, #2b0938 0%, #3b1c54 65%, #e6007e 100%) !important;
  color: #ffffff !important;
  border-radius: 10px !important;
  padding: 1.35rem 1.5rem !important;
  text-align: center !important;
  margin-bottom: 1.2rem !important;
  box-shadow: 0 8px 20px rgba(43, 9, 56, 0.25) !important;
  border-left: 5px solid #22c55e !important;
}

.wompi-paid-banner .paid-label {
  font-size: 0.78rem !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: #f3e8ff !important;
  font-weight: 700 !important;
  margin-bottom: 0.3rem !important;
}

.wompi-paid-banner .paid-amount {
  font-size: 2.25rem !important;
  font-weight: 900 !important;
  color: #ffffff !important;
  line-height: 1.1 !important;
  margin-bottom: 0.35rem !important;
  text-shadow: 0 2px 8px rgba(0,0,0,0.2) !important;
}

.wompi-paid-banner .paid-sub {
  font-size: 0.82rem !important;
  color: #e9d5ff !important;
}

.wompi-tx-details {
  background: #faf8fc !important;
  border: 1px solid #e9d5ff !important;
  border-radius: 8px !important;
  padding: 1rem 1.2rem !important;
  margin-bottom: 1.2rem !important;
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 0.85rem !important;
  font-size: 0.83rem !important;
  color: #1e293b !important;
}

@media (max-width: 580px) {
  .wompi-tx-details {
    grid-template-columns: 1fr !important;
  }
}

.wompi-tx-details .tx-row {
  display: flex !important;
  justify-content: space-between !important;
  margin-bottom: 0.35rem !important;
}

.wompi-tx-details .tx-row:last-child {
  margin-bottom: 0 !important;
}

.wompi-tx-details span:first-child {
  color: #64748b !important;
}

.wompi-tx-details span:last-child {
  color: #1e293b !important;
  font-weight: 600 !important;
}

.wompi-client-strip {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 8px !important;
  padding: 0.85rem 1.1rem !important;
  display: flex !important;
  justify-content: space-between !important;
  font-size: 0.8rem !important;
  color: #334155 !important;
  margin-bottom: 1.2rem;
  flex-wrap: wrap;
  gap: 0.6rem;
}

/* Reglas de Impresión */
@media print {
  body * {
    visibility: hidden;
  }
  .serfinsa-invoice-container, .serfinsa-invoice-container *,
  .wompi-invoice-container, .wompi-invoice-container * {
    visibility: visible;
  }
  .serfinsa-invoice-container, .wompi-invoice-container {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    box-shadow: none;
    padding: 0;
  }
  .no-print {
    display: none !important;
  }
}


