/* ============================================================
   Simple Storage — Hoja de Estilos Centralizada
   Versión 1.0 | ANDO
   ============================================================ */

/* --- Variables --- */
:root {
  --simple-blue: #2315fa;
  --simple-pink: #ff0055;
  --simple-ink: #111;
}

/* --- Base --- */
body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--simple-ink);
  background-color: #f8f9fa;
}

/* --- Tipografía utilitaria --- */
.fw-extrabold { font-weight: 800 !important; }
.text-pink    { color: var(--simple-pink); }

.brand-badge {
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--simple-blue);
}

/* --- Botones --- */
.btn-simple {
  background: var(--simple-blue);
  color: #fff;
  border: none;
  transition: all 0.3s ease;
}
.btn-simple:hover,
.btn-simple:focus {
  background: #130aab;
  color: #fff;
  transform: translateY(-2px);
}

/* --- Sombras --- */
.shadow-soft {
  box-shadow: 0 10px 30px rgba(35, 21, 250, 0.08);
}

/* --- Logo --- */
.logo  { max-width: 250px; }
.logo2 { max-width: 160px; }

/* --- Navbar global --- */
.site-nav .nav-link {
  font-weight: 500;
  color: var(--simple-ink);
  padding: .4rem .75rem;
  border-radius: 6px;
  transition: background .2s, color .2s;
}
.site-nav .nav-link:hover,
.site-nav .nav-link.active {
  background: rgba(35, 21, 250, .08);
  color: var(--simple-blue);
}
.site-nav .nav-link-reserve {
  background: var(--simple-blue);
  color: #fff !important;
  padding: .4rem 1rem;
  border-radius: 6px;
  font-weight: 700;
}
.site-nav .nav-link-reserve:hover {
  background: #130aab;
  transform: translateY(-1px);
}

/* --- Nav interno de sucursal (anclas) --- */
.branch-subnav {
  background: #fff;
  border-bottom: 1px solid #e9ecef;
}
.branch-subnav .nav-link {
  color: #555;
  font-size: .88rem;
  font-weight: 500;
  padding: .4rem .7rem;
}
.branch-subnav .nav-link:hover { color: var(--simple-blue); }

/* --- Hero fondo suave sucursales --- */
.bg-soft { background-color: #f8f9fa; }

/* --- Tarjetas de sucursal (index) --- */
.branch-card {
  transition: all 0.3s ease;
  border: 2px solid transparent;
}
.branch-card:hover {
  border-color: var(--simple-blue);
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(35, 21, 250, 0.12) !important;
}
.branch-icon {
  font-size: 2.5rem;
  color: var(--simple-pink);
  margin-bottom: 1rem;
}

/* --- Beneficios sucursal (ticks) --- */
.tick::before {
  content: "✓";
  color: var(--simple-pink);
  margin-right: .5rem;
  font-weight: bold;
}

/* --- Nav pills en páginas de sucursal --- */
.nav-pills .nav-link { color: var(--simple-ink); font-weight: 500; }
.nav-pills .nav-link.active { background: var(--simple-blue); color: #fff; }

/* --- Footer --- */
footer a { color: inherit; text-decoration: none; }
footer a:hover { color: var(--simple-pink); }

/* --- Páginas legales --- */
.legal-section {
  border-left: 4px solid var(--simple-blue);
  padding-left: 1.25rem;
  margin-bottom: 2.5rem;
}
.legal-section h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--simple-blue);
  margin-bottom: .75rem;
}
.legal-section p,
.legal-section li { font-size: .97rem; line-height: 1.8; color: #444; }
.legal-section ul { padding-left: 1.25rem; }

.toc-link { color: var(--simple-blue); text-decoration: none; font-size: .9rem; transition: color .2s; }
.toc-link:hover { color: var(--simple-pink); }

.def-term { font-weight: 700; color: var(--simple-ink); }

/* --- Icon box (nosotros / servicios) --- */
.icon-box {
  width: 70px; height: 70px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(35, 21, 250, .05);
  border-radius: 50%;
  margin: 0 auto 1rem;
  font-size: 2rem;
}

/* --- Value cards (nosotros) --- */
.value-card {
  transition: all .3s ease;
  border: 2px solid transparent;
  height: 100%;
}
.value-card:hover {
  border-color: rgba(35, 21, 250, .2);
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(35, 21, 250, .08) !important;
}

/* ============================================================
   BARRA DE CUENTA REGRESIVA (HEAD-BAR)
   ============================================================ */
#promo-countdown-bar {
  background-color: var(--simple-pink);
  color: #fff;
  font-weight: 700;
  text-align: center;
  padding: 10px 20px;
  font-size: 0.92rem;
  z-index: 1030;
  position: relative;
  box-shadow: 0 2px 10px rgba(255, 0, 85, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  transition: all 0.3s ease;
}

#promo-countdown-bar .promo-text {
  font-size: 0.95rem;
  letter-spacing: 0.3px;
}

#promo-countdown-bar .countdown-timer {
  font-family: monospace, sans-serif;
  font-weight: 800;
  background: rgba(0, 0, 0, 0.25);
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 0.5px;
  color: #fff;
  font-size: 1rem;
  display: inline-block;
  min-width: 140px;
}

/* ============================================================
   POPUP DE OFERTA ESPECIAL
   ============================================================ */
#ss-popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(3px);
  animation: fadeIn .3s ease;
}
#ss-popup-overlay.visible {
  display: flex;
}
#ss-popup-box {
  background: #fff;
  border-radius: 20px;
  max-width: 480px;
  width: 92%;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.3);
  animation: slideUp .35s ease;
}

#ss-popup-close:hover {
  background: rgba(0, 0, 0, 0.7) !important;
  transform: scale(1.05);
}

.ss-popup-btn {
  transition: all 0.25s ease;
}
.ss-popup-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 0, 85, 0.25);
}

@keyframes fadeIn  { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { transform: translateY(40px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* --- Ocultar badge de reCAPTCHA --- */
.grecaptcha-badge { visibility: hidden !important; }
