/* Espacio reservado para estilos modulares específicos */

/* =========================================
   ESTILOS DE PRECIO DOBLE (TARJETAS)
   ========================================= */
.plan-price { display: flex; flex-direction: column; align-items: flex-start; gap: 0.25rem; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, 0.15); transition: border-color 0.3s ease; }
.price-amount { font-size: 2.15rem; font-weight: 800; line-height: 1; color: var(--white); transition: color 0.3s ease; }
.price-amount .price-period { font-size: 0.85rem; font-weight: 600; }
.price-bob { font-size: 1.05rem; font-weight: 600; opacity: 0.9; color: #38bdf8; transition: color 0.3s ease; }

.plan-card:hover .plan-price { border-top-color: var(--border); }
.plan-card:hover .price-amount { color: var(--navy); }
.plan-card:hover .price-bob { color: var(--text-muted); }

/* =========================================
   ESTILOS DEL MODAL COTIZADOR FIX CELULAR
   ========================================= */
.modal-backdrop { position: fixed; top: 0; left: 0; right: 0; bottom: 0; width: 100%; height: 100%; background-color: rgba(15, 23, 42, 0.85); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); z-index: 999999; display: none; align-items: center; justify-content: center; padding: 1rem; opacity: 0; transition: opacity 0.3s ease; }
.modal-backdrop.open { display: flex; opacity: 1; }
.modal-container { background-color: var(--white); border-radius: 16px; width: 100%; max-width: 900px; max-height: 90vh; overflow: hidden; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5); transform: translateY(20px) scale(0.95); transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); display: flex; flex-direction: column; }
.modal-backdrop.open .modal-container { transform: translateY(0) scale(1); }
.modal-header { padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; background-color: var(--bg-light); border-radius: 16px 16px 0 0; flex-shrink: 0; }
.modal-header h3 { font-size: 1.25rem; color: var(--navy); font-weight: 800; margin: 0; }
.modal-close { font-size: 1.75rem; line-height: 1; color: var(--text-muted); transition: color 0.2s; background: none; border: none; cursor: pointer; padding: 0 0.5rem; }
.modal-close:hover { color: #ef4444; }
.modal-body { padding: 1.5rem; display: grid; grid-template-columns: 1fr 340px; gap: 2rem; flex: 1; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.quote-options h4 { font-size: 1rem; color: var(--navy); font-weight: 700; margin-bottom: 0.75rem; padding-bottom: 0.25rem; border-bottom: 1px solid var(--border); }
.quote-group { margin-bottom: 1.5rem; }
.quote-item { display: flex; align-items: center; gap: 0.75rem; padding: 0.6rem 0; }
.quote-item input[type="radio"], .quote-item input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--cian); cursor: pointer; flex-shrink: 0; }
.quote-item label { font-size: 0.95rem; color: var(--text-main); cursor: pointer; flex: 1; display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.quote-item label span { font-weight: 700; color: var(--tech-blue); white-space: nowrap; }
.quote-summary { background-color: var(--bg-alt); padding: 1.5rem; border-radius: 14px; border: 1px solid #bae6fd; display: flex; flex-direction: column; }
.quote-summary h4 { color: var(--cian-dark); font-size: 1.1rem; font-weight: 800; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 0.05em; }
.quote-client-info { margin-bottom: 1.25rem; display: flex; flex-direction: column; gap: 0.75rem; }
.quote-client-info input { width: 100%; padding: 0.65rem 0.85rem; border: 1px solid var(--border); border-radius: 8px; font-size: 0.9rem; outline: none; transition: border-color 0.2s; background-color: var(--white); }
.quote-client-info input:focus { border-color: var(--cian); }
.quote-total-box { margin-top: auto; padding-top: 1rem; border-top: 2px dashed #7dd3fc; margin-bottom: 1.25rem; }
.quote-total-box span { display: block; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 0.25rem; }
.quote-total-bob { font-size: 2rem; font-weight: 800; color: var(--navy); line-height: 1; }
.quote-total-usd { font-size: 1.1rem; font-weight: 600; color: var(--tech-blue); margin-top: 0.35rem; }

@media (max-width: 860px) {
  .modal-backdrop { padding: 0; }
  .modal-container { height: 100%; max-height: 100vh; border-radius: 0; transform: translateY(100%); }
  .modal-backdrop.open .modal-container { transform: translateY(0); }
  .modal-header { border-radius: 0; padding: 1rem; }
  .modal-body { grid-template-columns: 1fr; gap: 1rem; padding: 1rem; }
  .quote-options h4 { font-size: 0.95rem; }
  .quote-item { padding: 0.4rem 0; }
  .quote-item label { font-size: 0.85rem; gap: 0.5rem; }
  .quote-summary { padding: 1rem; }
  .quote-summary h4 { font-size: 1rem; margin-bottom: 0.75rem; }
  .quote-client-info { margin-bottom: 1rem; }
  .quote-total-bob { font-size: 1.75rem; }
  .btn-lg { padding: 0.75rem 1rem; font-size: 0.95rem; }
}

/* =========================================
   ESTILOS DE LA PÁGINA DE PAGOS Y VOUCHER
   ========================================= */
.checkout-page { padding-bottom: 5rem; }
.checkout-grid { display: grid; grid-template-columns: 1fr 380px; gap: 2.5rem; align-items: start; }
.form-group-box { background-color: var(--white); padding: 1.75rem; border-radius: 16px; border: 1px solid var(--border); box-shadow: var(--shadow); margin-bottom: 1.5rem; }
.form-step-title { font-size: 1.15rem; font-weight: 800; color: var(--navy); margin-bottom: 1rem; padding-bottom: 0.5rem; border-bottom: 2px solid var(--bg-alt); }
.form-row { margin-bottom: 1rem; }
.form-row input[type="text"] { width: 100%; padding: 0.8rem 1rem; font-size: 0.95rem; border-radius: 8px; border: 1px solid var(--border); outline: none; transition: border-color 0.2s, box-shadow 0.2s; }
.form-row input[type="text"]:focus { border-color: var(--cian); box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.1); }

/* Upload File Row */
.file-upload-row { display: flex; flex-direction: column; gap: 0.5rem; }
.file-upload-label { font-size: 0.9rem; font-weight: 700; color: var(--navy); }
.file-input { display: block; width: 100%; padding: 0.5rem; font-size: 0.9rem; border: 1px dashed var(--text-muted); border-radius: 8px; background-color: #f8fafc; cursor: pointer; transition: border-color 0.2s; }
.file-input:hover { border-color: var(--cian); }

/* Tabs de Pago */
.payment-tabs { display: flex; gap: 0.5rem; margin-bottom: 1.5rem; background-color: var(--bg-light); padding: 0.5rem; border-radius: 10px; }
.tab-btn { flex: 1; padding: 0.75rem; font-size: 0.9rem; font-weight: 700; color: var(--text-muted); border-radius: 6px; transition: all 0.2s; }
.tab-btn.active { background-color: var(--white); color: var(--cian-dark); box-shadow: 0 2px 8px rgba(15,23,42,0.06); }
.tab-panel { display: none; padding: 1.5rem; background-color: #f8fafc; border: 1px dashed var(--border); border-radius: 12px; text-align: center; }
.tab-panel.active { display: block; animation: fadeIn 0.3s ease; }
@keyframes fadeIn { from{opacity:0; transform:translateY(5px);} to{opacity:1; transform:translateY(0);} }

.qr-info-box .qr-amount { display: block; font-size: 2rem; font-weight: 800; color: var(--navy); margin-bottom: 1rem; line-height: 1; }
.qr-info-box p { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 1.25rem; }
.qr-image-wrapper { display: inline-block; padding: 1rem; background-color: var(--white); border-radius: 12px; box-shadow: 0 5px 15px rgba(15,23,42,0.08); }
.qr-image-wrapper img { max-width: 180px; margin: 0 auto; }

.crypto-id-box { margin-top: 1rem; display: flex; align-items: center; justify-content: center; gap: 1rem; background-color: var(--white); padding: 0.75rem 1rem; border-radius: 8px; border: 1px solid var(--border); font-size: 0.95rem; }
.crypto-id-box span { color: var(--text-muted); }
.crypto-id-box strong { color: var(--navy); user-select: all; }
.btn-copy { background-color: var(--cian); color: var(--white); padding: 0.35rem 0.85rem; border-radius: 6px; font-weight: 700; font-size: 0.8rem; }
.btn-copy:hover { background-color: var(--cian-dark); }
.crypto-amount, .card-amount { display: block; font-size: 1.75rem; font-weight: 800; color: var(--navy); margin: 0.5rem 0 1rem; }

/* Resumen Lateral */
.checkout-summary-card { background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%); padding: 2rem; border-radius: 16px; color: var(--white); box-shadow: var(--shadow-lg); position: sticky; top: 100px; }
.checkout-summary-card h4 { font-size: 1.15rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 1.5rem; color: #38bdf8; }
.summary-item { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.85rem; font-size: 0.95rem; }
.summary-item.main-item { font-size: 1.05rem; }
.summary-item.main-item strong { color: var(--white); font-weight: 700; max-width: 60%; text-align: right; }
.summary-divider { border: 0; height: 1px; background-color: rgba(255,255,255,0.15); margin: 1.5rem 0; }
.summary-total { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 2rem; }
.summary-total > span { font-size: 1.1rem; font-weight: 700; }
.total-numbers { text-align: right; }
.total-numbers .tot-bob { display: block; font-size: 2.25rem; font-weight: 800; line-height: 1; color: var(--white); }
.total-numbers small { font-size: 0.75rem; color: #94a3b8; }
.secure-badge { text-align: center; font-size: 0.8rem; color: #94a3b8; margin-top: 1rem; }

/* Responsive Pago */
@media (max-width: 860px) {
  .checkout-grid { grid-template-columns: 1fr; }
  .checkout-summary-card { position: static; margin-top: 1rem; }
  .payment-tabs { flex-direction: column; }
}

/* =========================================
   VOUCHER MODAL FLOTANTE (ESTILO P2P)
   ========================================= */
.voucher-modal-backdrop { position: fixed; inset: 0; background-color: rgba(15, 23, 42, 0.9); backdrop-filter: blur(8px); z-index: 999999; display: none; align-items: center; justify-content: center; padding: 1rem; opacity: 0; transition: opacity 0.3s ease; }
.voucher-modal-backdrop.open { display: flex; opacity: 1; }
.voucher-modal-container { background-color: #f1f5f9; border-radius: 12px; width: 100%; max-width: 750px; max-height: 95vh; display: flex; flex-direction: column; overflow: hidden; position: relative; box-shadow: 0 30px 60px rgba(0,0,0,0.5); }
.voucher-content { background-color: var(--white); padding: 2.5rem; flex: 1; overflow-y: auto; color: #0f172a; font-family: system-ui, sans-serif; }
.vch-header { display: flex; justify-content: space-between; align-items: flex-start; border-bottom: 3px solid var(--cian); padding-bottom: 1.5rem; margin-bottom: 2rem; }
.vch-brand h1 { font-size: 1.5rem; font-weight: 900; margin: 0; color: #0f172a; letter-spacing: -0.5px; }
.vch-brand p { margin: 0; font-size: 0.85rem; color: #64748b; font-weight: 600; }
.vch-meta { text-align: right; font-size: 0.85rem; color: #334155; }
.vch-meta p { margin: 0 0 4px; }
.vch-body { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-bottom: 2rem; background-color: #f8fafc; padding: 1.5rem; border-radius: 8px; border: 1px solid #e2e8f0; }
.vch-body h3 { font-size: 0.9rem; color: #94a3b8; text-transform: uppercase; letter-spacing: 1px; margin: 0 0 10px; font-weight: 800; }
.vch-body p { font-size: 0.95rem; margin: 0 0 6px; }
.vch-table { width: 100%; border-collapse: collapse; margin-bottom: 2rem; }
.vch-table th { background-color: #0f172a; color: #fff; text-align: left; padding: 12px; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.5px; }
.vch-table td { border-bottom: 1px solid #e2e8f0; padding: 15px 12px; font-size: 1rem; color: #1e293b; }
.vch-footer-legal { font-size: 0.75rem; color: #64748b; text-align: center; border-top: 1px dashed #cbd5e1; padding-top: 1.5rem; margin-top: auto; }

/* SELLO P2P */
.vch-stamp.pending {
    display: inline-block;
    padding: 0.35rem 1rem;
    border-radius: 6px;
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 1rem;
    background-color: #fffbeb;
    color: #d97706; /* Ámbar / Naranja */
    border: 2px solid #d97706;
}

/* CAJA DE AVISO CORPORATIVA */
.voucher-notice {
    background-color: #fffbeb;
    color: #92400e;
    padding: 1rem 1.5rem;
    margin: 1.5rem;
    margin-bottom: 0;
    border-radius: 8px;
    font-size: 0.9rem;
    text-align: center;
    border: 1px solid #fcd34d;
}

.voucher-actions-bar { padding: 1.5rem; background-color: #f1f5f9; display: flex; flex-direction: column; gap: 0.75rem; }

/* BOTÓN ESTILO WHATSAPP P2P */
.btn-whatsapp-p2p {
    background-color: #22c55e;
    color: white;
    width: 100%;
    padding: 1rem;
    font-size: 1.05rem;
    font-weight: 700;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}
.btn-whatsapp-p2p:hover { background-color: #16a34a; }

.voucher-close { position: absolute; top: 15px; right: 15px; width: 32px; height: 32px; background-color: #ef4444; color: #fff; border-radius: 50%; font-size: 1.25rem; display: flex; align-items: center; justify-content: center; z-index: 10; border: 2px solid #fff; box-shadow: 0 2px 5px rgba(0,0,0,0.2); }
.voucher-close:hover { background-color: #dc2626; transform: scale(1.1); }

@media (max-width: 640px) {
    .vch-body { grid-template-columns: 1fr; gap: 1.5rem; }
    .voucher-content { padding: 1.5rem; }
    .voucher-notice { margin: 1rem 1rem 0; padding: 1rem; }
    .voucher-actions-bar { padding: 1rem; }
}
/* =========================================
   LA MADRIGUERA — ZONA GAMER
   ========================================= */
.la-madriguera {
  position: relative;
  background-color: #050508;
  overflow: hidden;
}

/* Banner Principal */
.madriguera-banner {
  position: relative;
  width: 100%;
  height: 85vh;
  min-height: 500px;
  max-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.banner-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(5,5,8,0.4) 0%, rgba(5,5,8,0.85) 100%);
  z-index: 1;
}
.banner-contenido {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
  max-width: 900px;
}
.banner-titulo {
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.banner-titulo span {
  color: #39ff14;
  text-shadow: 0 0 30px rgba(57, 255, 20, 0.6);
}
.banner-subtitulo {
  font-size: 1.05rem;
  color: #b0b0b0;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.cta-boton {
  display: inline-block;
  background: linear-gradient(135deg, #39ff14, #2ed10f);
  color: #000;
  font-weight: 800;
  font-size: 1.1rem;
  padding: 1rem 2.5rem;
  border-radius: 4px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 3px;
  box-shadow: 0 0 25px rgba(57, 255, 20, 0.5);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}
.cta-boton:hover {
  transform: scale(1.05);
  box-shadow: 0 0 40px rgba(57, 255, 20, 0.8);
}

/* Contadores */
.contadores-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: -4rem;
  position: relative;
  z-index: 3;
  padding: 0 1rem;
}
.contador-card {
  background: rgba(10, 10, 15, 0.9);
  border: 1px solid rgba(57, 255, 20, 0.25);
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
  backdrop-filter: blur(8px);
}
.contador-numero {
  font-size: 1.8rem;
  font-weight: 900;
  color: #39ff14;
  text-shadow: 0 0 12px rgba(57, 255, 20, 0.4);
  margin-bottom: 0.3rem;
}
.contador-etiqueta {
  font-size: 0.85rem;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Pro-Loadout */
.seccion-loadout {
  padding: 5rem 1rem;
}
.seccion-titulo {
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  text-align: center;
  margin-bottom: 3rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.loadout-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}
.loadout-card {
  background: #0f0f15;
  border: 1px solid #222;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
}
.loadout-card:hover {
  border-color: #39ff14;
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(57, 255, 20, 0.15);
}
.loadout-imagen {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1/1;
}
.loadout-imagen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.loadout-card:hover .loadout-imagen img {
  transform: scale(1.05);
}
.etiqueta-descuento {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: #ff003c;
  color: #fff;
  font-weight: 800;
  font-size: 0.75rem;
  padding: 0.35rem 0.75rem;
  border-radius: 3px;
  text-transform: uppercase;
  box-shadow: 0 0 10px rgba(255, 0, 60, 0.4);
}
.loadout-card h3 {
  font-size: 1rem;
  color: #fff;
  padding: 1rem 1rem 0.3rem;
}
.precio-oferta {
  font-size: 1.3rem;
  font-weight: 900;
  color: #39ff14;
  padding: 0 1rem 1.2rem;
}

/* Marquesina */
.marquesina-seccion {
  background: #0a0a0f;
  border-top: 1px solid #222;
  border-bottom: 1px solid #222;
  padding: 1rem 0;
  overflow: hidden;
}
.marquesina-texto {
  white-space: nowrap;
  animation: marquesinaDesliza 25s linear infinite;
}
.nick-movil {
  display: inline-block;
  color: #666;
  font-size: 0.9rem;
}
@keyframes marquesinaDesliza {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Responsive */
@media (max-width: 768px) {
  .madriguera-banner { height: 75vh; min-height: 450px; }
  .banner-titulo { font-size: 1.8rem; }
  .contadores-grid { grid-template-columns: 1fr; margin-top: 0; gap: 1rem; }
  .loadout-grid { grid-template-columns: 1fr; max-width: 380px; }
}