@charset "UTF-8";
/* ==========================================================================
   SERVICIOS DE SALUD Y LABORATORIO CLÍNICO VDC PTY - ESTILOS PERSONALIZADOS BOOTSTRAP 5
   ========================================================================== */

:root {
  /* [TEXTO PRINCIPAL] Almost Black */
  --bs-body-color: #0b0a0a;
  --text: #0b0a0a;

  /* [FONDO GENERAL] Soft Off-white cálido higiénico */
  --bs-body-bg: #f9f6f6;
  --background: #f9f6f6;

  /* [COLOR PRINCIPAL DOMINANTE] Rojo Vivo Emblemático */
  --bs-primary: #e21224;
  --bs-primary-rgb: 226, 18, 36;
  --primary: #e21224;

  /* [COLOR SECUNDARIO] Tono Pastel Cálido */
  --bs-secondary-color: #555555;
  --secondary: #ea938b;
  --bs-secondary-bg-subtle: #fde8e6;

  /* [COLOR DE ACENTO / CTA] Carmesí Medio */
  --bs-accent: #dc6f78;
  --bs-accent-rgb: 220, 111, 120;
  --bs-success: #e21224;
  --bs-success-rgb: 226, 18, 36;
  --accent: #dc6f78;

  /* Tarjetas y Sombras */
  --card-bg-custom: #ffffff;
  --card-border-custom: #f2d3d0;
  --shadow-custom: 0 0.125rem 0.25rem rgba(226, 18, 36, 0.08);
  --shadow-hover: 0 0.5rem 1.5rem rgba(226, 18, 36, 0.18);
}

[data-bs-theme="dark"] {
  --bs-body-bg: #140809;
  --bs-body-color: #f9f6f6;
  --bs-secondary-color: #d1a5a0;
  --card-bg-custom: #221214;
  --card-border-custom: #442226;
  --shadow-custom: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.4);
  --shadow-hover: 0 0.5rem 1.5rem rgba(226, 18, 36, 0.3);
}

/* Botón de Acción Principal (CTA Acento del Logo) */
.btn-accent {
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
  color: #ffffff;
  font-weight: 700;
  border-radius: 50rem;
  padding: 0.65rem 1.6rem;
  transition: all 0.25s ease-in-out;
  box-shadow: 0 4px 14px rgba(226, 18, 36, 0.3);
}

.btn-accent:hover, .btn-accent:focus {
  background-color: #b80c1b;
  border-color: #b80c1b;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(226, 18, 36, 0.4);
}

.btn-primary-custom {
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
  color: #ffffff;
  font-weight: 600;
  border-radius: 50rem;
  padding: 0.65rem 1.6rem;
  transition: all 0.25s ease-in-out;
}

.btn-primary-custom:hover {
  background-color: #b80c1b;
  border-color: #b80c1b;
  color: #ffffff;
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   ESTILO HERO BANNER INSTITUCIONAL (TARJETA CONTENEDORA + BARRA FLOTANTE)
   -------------------------------------------------------------------------- */

/* Tarjeta Principal Hero */
.hero-main-card {
  background: linear-gradient(135deg, #4F4367 0%, #7A283C 50%, #e21224 100%);
  border-radius: 2.25rem;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 1rem 3rem rgba(79, 67, 103, 0.25);
}

.hero-main-card::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-main-card::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(226, 18, 36, 0.25) 0%, rgba(226, 18, 36, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* Botón Blanco Pill Destacado */
.btn-hero-pill {
  background-color: #ffffff;
  color: #e21224;
  font-weight: 700;
  border-radius: 50rem;
  padding: 0.75rem 2rem;
  transition: all 0.25s ease-in-out;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  border: none;
}

.btn-hero-pill:hover {
  background-color: #f9f6f6;
  color: #b80c1b;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

/* Marco Portada Fotográfica de la Laboratorista */
.hero-img-wrapper {
  position: relative;
  border-radius: 1.75rem;
  overflow: hidden;
  box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.3);
  border: 3px solid rgba(255, 255, 255, 0.2);
}

.hero-img-main {
  width: 100%;
  height: 380px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

@media (max-width: 991.98px) {
  .hero-img-main {
    height: 260px;
  }
}

/* Barra de Búsqueda Flotante Solapada */
.floating-bar-container {
  position: relative;
  z-index: 10;
  margin-top: -3rem;
}

@media (max-width: 767.98px) {
  .floating-bar-container {
    margin-top: -1.5rem;
  }
}

.floating-search-bar {
  background-color: var(--card-bg-custom);
  border: 1px solid var(--card-border-custom);
  border-radius: 100rem;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.12);
  padding: 0.85rem 2rem;
}

@media (min-width: 768px) {
  .border-end-md {
    border-right: 1px solid var(--card-border-custom);
  }
}

@media (max-width: 991.98px) {
  .floating-search-bar {
    border-radius: 1.75rem;
    padding: 1.25rem 1.5rem;
  }
}

/* Banner de Textura Minimalista para Nosotros.html */
.nosotros-banner-section {
  position: relative;
  background-image: url('../imagenes/nosotros_banner.webp');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  min-height: 320px;
}

.nosotros-overlay-gradient {
  background: linear-gradient(135deg, 
    rgba(249, 246, 246, 0.95) 0%, 
    rgba(249, 246, 246, 0.85) 50%, 
    rgba(249, 246, 246, 0.40) 100%);
}

[data-bs-theme="dark"] .nosotros-overlay-gradient {
  background: linear-gradient(135deg, 
    rgba(20, 8, 9, 0.96) 0%, 
    rgba(20, 8, 9, 0.88) 50%, 
    rgba(20, 8, 9, 0.45) 100%);
}

/* --------------------------------------------------------------------------
   ESTILO DE TARJETA CON MARCO BLANCO Y RELLENO PASTEL (SIN SOMBRAS PESADAS)
   -------------------------------------------------------------------------- */
.bento-card {
  background-color: var(--card-bg-custom);
  border: 1px solid var(--card-border-custom);
  border-radius: 1.75rem !important;
  padding: 0.65rem;
  transition: all 0.25s ease-in-out;
  box-shadow: none !important;
}

.bento-card .card-body {
  background: linear-gradient(135deg, rgba(253, 232, 230, 0.45) 0%, rgba(253, 232, 230, 0.2) 100%);
  border-radius: 1.35rem !important;
  padding: 1.5rem !important;
}

[data-bs-theme="dark"] .bento-card .card-body {
  background: linear-gradient(135deg, rgba(68, 34, 38, 0.4) 0%, rgba(45, 22, 25, 0.3) 100%);
}

.bento-card:hover {
  transform: translateY(-4px);
  border-color: rgba(226, 18, 36, 0.4);
  box-shadow: none !important;
}

/* Tarjeta destacada con relleno pastel soft ligeramente más cálido */
.bento-card-highlight {
  background-color: var(--card-bg-custom);
  border: 1.5px solid rgba(226, 18, 36, 0.25);
  border-radius: 1.75rem !important;
  padding: 0.65rem;
  transition: all 0.25s ease-in-out;
  box-shadow: none !important;
}

.bento-card-highlight .card-body {
  background: linear-gradient(135deg, rgba(253, 232, 230, 0.65) 0%, rgba(253, 232, 230, 0.35) 100%);
  border-radius: 1.35rem !important;
  padding: 1.5rem !important;
}

[data-bs-theme="dark"] .bento-card-highlight .card-body {
  background: linear-gradient(135deg, rgba(78, 38, 43, 0.6) 0%, rgba(55, 25, 28, 0.4) 100%);
}

.bento-card-highlight:hover {
  transform: translateY(-4px);
  border-color: var(--bs-primary);
  box-shadow: none !important;
}

/* Insignia Esquina Superior Derecha Estilo Referencia ($49/m) */
.card-top-corner-badge {
  background-color: rgba(226, 18, 36, 0.12);
  color: var(--bs-primary);
  font-weight: 700;
  border-radius: 50rem;
  padding: 0.35rem 1rem;
  font-size: 0.825rem;
}

/* Ícono de Check Circular Estilo Referencia (✓) */
.feature-check-icon {
  width: 24px;
  height: 24px;
  background-color: rgba(226, 18, 36, 0.15);
  color: var(--bs-primary);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: bold;
  flex-shrink: 0;
}

.badge-accent {
  background-color: rgba(226, 18, 36, 0.12);
  color: var(--bs-primary);
  border: 1px solid rgba(226, 18, 36, 0.25);
  font-weight: 600;
}

.pulse-dot {
  width: 9px;
  height: 9px;
  background-color: var(--bs-primary);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(226, 18, 36, 0.7);
  animation: pulse-ring 1.8s infinite;
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(226, 18, 36, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(226, 18, 36, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(226, 18, 36, 0);
  }
}

/* --------------------------------------------------------------------------
   FOOTER CURVADO DE MARCA EN GRADIENTE (COHESIÓN TOTAL CON EL HERO)
   -------------------------------------------------------------------------- */
.footer-brand-card {
  background: linear-gradient(135deg, #4F4367 0%, #7A283C 50%, #e21224 100%);
  border-radius: 2.25rem 2.25rem 0 0;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 -1rem 3rem rgba(79, 67, 103, 0.15);
}

.footer-brand-card::before {
  content: '';
  position: absolute;
  bottom: -20%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.footer-brand-card a:not(.social-icon-btn) {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.2s ease-in-out;
}

.footer-brand-card a:not(.social-icon-btn):hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Botones de Redes Sociales Institucionales */
.social-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff !important;
  background-color: rgba(255, 255, 255, 0.12);
  transition: all 0.3s ease-in-out;
  text-decoration: none !important;
}

.social-icon-btn i {
  color: #ffffff !important;
  font-size: 1.15rem;
  transition: color 0.3s ease-in-out;
}

/* Instagram Hover Effect */
.social-icon-btn.instagram-btn:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%) !important;
  border-color: transparent !important;
  color: #ffffff !important;
  transform: translateY(-3px);
  box-shadow: 0 4px 14px rgba(225, 48, 108, 0.45);
}

.social-icon-btn.instagram-btn:hover i {
  color: #ffffff !important;
}

/* Facebook Hover Effect */
.social-icon-btn.facebook-btn:hover {
  background-color: #1877f2 !important;
  border-color: transparent !important;
  color: #ffffff !important;
  transform: translateY(-3px);
  box-shadow: 0 4px 14px rgba(24, 119, 242, 0.45);
}

.social-icon-btn.facebook-btn:hover i {
  color: #ffffff !important;
}

/* ==========================================================================
   VALIDADOR DE RESULTADOS QR (PACIENTES_RESULTADO.HTML)
   ========================================================================== */

/* Card Principal de Validación QR */
.qr-validator-card {
  background-color: var(--card-bg-custom);
  border-radius: 2rem;
  border: 1px solid var(--card-border-custom);
  box-shadow: 0 1rem 3rem rgba(226, 18, 36, 0.08);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  align-items: stretch;
  transition: all 0.3s ease;
}

[data-bs-theme="dark"] .qr-validator-card {
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.5);
  border-color: #442226;
}

/* Columna Izquierda: Sello, Identidad y Respaldo Institucional */
.qr-validator-info {
  background: linear-gradient(135deg, #4F4367 0%, #7A283C 50%, #e21224 100%);
  padding: 3.5rem 2.5rem;
  text-align: center;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.qr-validator-info::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -20%;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.qr-validator-info::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -20%;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(226, 18, 36, 0.3) 0%, rgba(226, 18, 36, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.qr-validator-shield {
  width: 110px;
  height: 110px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  animation: pulse-subtle 3s infinite ease-in-out;
}

@keyframes pulse-subtle {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  }
  50% {
    transform: scale(1.04);
    box-shadow: 0 14px 30px rgba(226, 18, 36, 0.4);
  }
}

/* Emblema solologon.png en el Encabezado del Formulario (UI/UX Mobile-First) */
.form-brand-icon-wrapper {
  width: 82px;
  height: 82px;
  border-radius: 1.35rem;
  background: linear-gradient(145deg, rgba(253, 232, 230, 0.95) 0%, #ffffff 100%);
  border: 2px solid rgba(226, 18, 36, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
  flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(226, 18, 36, 0.14);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

[data-bs-theme="dark"] .form-brand-icon-wrapper {
  background: linear-gradient(145deg, rgba(68, 34, 38, 0.9) 0%, rgba(34, 18, 20, 0.95) 100%);
  border-color: rgba(226, 18, 36, 0.4);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45);
}

.form-brand-icon {
  height: 70px;
  width: auto;
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 3px 8px rgba(226, 18, 36, 0.25));
}

/* Columna Derecha: Formulario de Confirmación */
.qr-validator-form-container {
  padding: 3.5rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: var(--card-bg-custom);
}

/* Optimizaciones Mobile-First para Pantallas Táctiles y Móviles */
@media (max-width: 991.98px) {
  .qr-validator-card {
    grid-template-columns: 1fr;
    border-radius: 1.5rem;
  }

  .qr-validator-info {
    padding: 1.75rem 1.25rem 1.25rem;
  }

  .qr-validator-info .qr-badge-top {
    margin-bottom: 0.75rem !important;
  }

  .qr-validator-shield {
    width: 75px;
    height: 75px;
    margin-bottom: 0.75rem;
  }

  .qr-validator-shield i {
    font-size: 2.2rem !important;
  }

  .qr-validator-info h2 {
    font-size: 1.15rem;
    margin-bottom: 0.25rem !important;
  }

  .qr-validator-info p {
    font-size: 0.8rem;
    margin-bottom: 0 !important;
    line-height: 1.4;
  }

  /* Ocultar lista detallada en móvil para que el formulario no quede debajo del fold */
  .qr-validator-info .benefits-list {
    display: none !important;
  }

  .qr-validator-form-container {
    padding: 1.75rem 1.25rem;
  }

  .form-brand-icon-wrapper {
    width: 72px;
    height: 72px;
    border-radius: 1.15rem;
    padding: 4px;
  }

  .form-brand-icon {
    height: 62px;
  }
}

/* Botón Flotante de WhatsApp */
.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background-color: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.45);
  z-index: 1040;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-decoration: none;
}

.floating-whatsapp:hover {
  color: #ffffff;
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.6);
}

#theme-toggle-btn {
  width: 40px;
  height: 40px;
}

.qr-validator-desc {
  max-width: 320px;
}

.qr-validator-info .benefits-list {
  max-width: 330px;
}

