/* 
 * SANO - Custom Design System
 * Un toque moderno y premium para el cuidado de la salud
 */

:root {
  --sano-primary: #0f766e;
  --sano-primary-light: #14b8a6;
  --sano-secondary: #10b981;
  --sano-dark: #0f172a;
  --sano-light: #f8fafc;
  --sano-glass: rgba(255, 255, 255, 0.85);
  --sano-shadow:
    0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
  --sano-shadow-hover:
    0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

/* Transiciones suaves globales */
* {
  transition:
    background-color 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

/* Header Glassmorphism */
#header .header-body {
  background: var(--sano-glass) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3) !important;
}

#header.header-effect-shrink .header-body {
  background: white !important;
}

/* Mejora de Navegación */
#mainNav li a {
  position: relative;
  font-weight: 500 !important;
  color: var(--sano-dark) !important;
}

#header .header-nav-main nav > ul > li > a.active {
  color: var(--sano-primary) !important;
}

#header .header-nav-main nav > ul > li > a.active::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 15px;
  right: 15px;
  height: 3px;
  background: var(--sano-secondary);
  border-radius: 10px;
}

/* Tarjetas de Servicios Premium */
.featured-box.featured-box-secondary {
  border: none !important;
  background: white !important;
  border-radius: 1.5rem !important;
  box-shadow: var(--sano-shadow) !important;
  margin-bottom: 30px !important;
  overflow: hidden;
}

.featured-box.featured-box-secondary:hover {
  transform: translateY(-10px);
  box-shadow: var(--sano-shadow-hover) !important;
}

.featured-box .box-content {
  padding: 2.5rem 1.5rem !important;
}

.featured-box .icon-featured {
  background-color: #f1f5f9 !important;
  width: 90px;
  height: 90px;
  line-height: 90px;
  border-radius: 50%;
  margin-bottom: 1.5rem;
  transition: all 0.4s ease;
}

.featured-box:hover .icon-featured {
  background-color: var(--sano-primary) !important;
}

.featured-box:hover .icon-featured i {
  color: white !important;
}

/* Formulario Moderno */
.form-control {
  background-color: #f1f5f9 !important;
  border-radius: 0.75rem !important;
  border: 2px solid transparent !important;
  padding: 0.75rem 1.25rem !important;
  font-weight: 400 !important;
}

.form-control:focus {
  background-color: white !important;
  border-color: var(--sano-primary-light) !important;
  box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.1) !important;
}

.btn-secondary {
  background-color: var(--sano-primary) !important;
  border-color: var(--sano-primary) !important;
  border-radius: 0.75rem !important;
  transition: all 0.3s ease !important;
}

.btn-secondary:hover {
  background-color: var(--sano-primary-light) !important;
  transform: scale(1.02);
}

/* Modal de Publicidad (Mejora visual sin tocar lógica) */
.sano-modal-content {
  border-radius: 20px !important;
  border: none !important;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important;
}

.sano-modal-body img {
  transition: transform 0.5s ease;
}

.sano-modal-body img:hover {
  transform: scale(1.05);
}

/* Proceso de Atención Vertical */
.process-vertical {
    position: relative;
    padding-left: 50px;
}

.process-vertical::before {
    content: '';
    position: absolute;
    left: 19px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--sano-primary) 0%, var(--sano-secondary) 100%);
    opacity: 0.3;
}

.process-step {
    position: relative;
    margin-bottom: 40px;
}

.process-step-circle {
    position: absolute;
    left: -50px;
    width: 40px;
    height: 40px;
    background: white;
    border: 3px solid var(--sano-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    box-shadow: var(--sano-shadow);
    transition: all 0.4s ease;
}

.process-step:hover .process-step-circle {
    background: var(--sano-primary);
    transform: scale(1.1);
}

.process-step:hover .process-step-circle-content {
    color: white;
}

.process-step-circle-content {
    color: var(--sano-primary);
    font-size: 1.1rem;
    font-weight: 800;
}

.process-step-content h4 {
    color: var(--sano-dark);
    letter-spacing: -0.5px;
}

/* Contadores Dinámicos */
.counters strong {
    font-size: 3.5rem !important;
    font-weight: 800 !important;
    line-height: 1;
    display: block;
    margin-bottom: 0.5rem;
}

.counters label {
    font-size: 1rem !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9 !important;
}

.section.bg-primary {
    background: linear-gradient(135deg, var(--sano-primary) 0%, var(--sano-primary-light) 100%) !important;
}

/* Efecto de Vidrio para Logos de Clientes */
.owl-carousel img.opacity-2 {
    filter: grayscale(100%);
    opacity: 0.4 !important;
    transition: all 0.4s ease;
}

/* Footer modernizado */
#footer {
    background-color: var(--sano-dark) !important;
    padding-top: 60px;
}

#footer h5 {
    color: white !important;
    font-size: 1.25rem !important;
    letter-spacing: 0.5px;
    margin-bottom: 2rem;
}

#footer .list li a {
    color: #94a3b8 !important;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

#footer .list li a:hover {
    color: var(--sano-secondary) !important;
    transform: translateX(5px);
}

#footer .social-icons li a {
    background: rgba(255, 255, 255, 0.05) !important;
    transition: all 0.4s ease !important;
}

#footer .social-icons li a:hover {
    background: var(--sano-primary) !important;
    transform: translateY(-5px);
}

/* Micro-animaciones para botones y enlaces */
.nav-pills > li > a {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.btn-primary {
    background-color: var(--sano-secondary) !important;
    border-color: var(--sano-secondary) !important;
    border-radius: 0.75rem !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 14px 0 rgba(16, 185, 129, 0.39) !important;
}

.btn-primary:hover {
    background-color: #059669 !important;
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.23) !important;
}
/* --- Mejoras para el Formulario de Reclamaciones --- */

.reclamaciones-section {
    background: white;
    border-radius: 1.25rem;
    padding: 2.5rem;
    box-shadow: var(--sano-shadow);
    margin-bottom: 2rem;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.section-title-custom {
    color: var(--sano-primary);
    font-weight: 800 !important;
    font-size: 1.5rem !important;
    border-left: 5px solid var(--sano-secondary);
    padding-left: 15px;
    margin-bottom: 25px !important;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.form-label-custom {
    font-weight: 700 !important;
    color: #334155 !important; /* Slate 700 */
    font-size: 0.95rem !important;
    margin-bottom: 8px !important;
    display: block;
}

.provider-info-box {
    background-color: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.provider-info-box .form-control[readonly] {
    background-color: #f1f5f9 !important;
    color: var(--sano-primary) !important;
    border: 1px solid #e2e8f0 !important;
    font-size: 1rem !important;
}

/* Mejora de inputs para máxima visibilidad */
.contact-form-advanced .form-control {
    border: 1.5px solid #e2e8f0 !important;
    font-size: 1rem !important;
    color: #1e293b !important;
}

.contact-form-advanced .form-control:focus {
    border-color: var(--sano-primary) !important;
    box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.1) !important;
}

hr.solid {
    border-top: 1px solid #e2e8f0 !important;
    opacity: 0.5;
}

.alert-info {
    border-radius: 0.75rem !important;
    border: none !important;
    background-color: #f1f5f9 !important;
    color: #475569 !important;
    padding: 1.25rem !important;
}
