/* ==========================================
   style.css - IMVET Imagenología Veterinaria
   Estilos propios del sitio (todo el CSS).
   Se carga DESPUÉS de Bootstrap para prioridad.
   ========================================== */

:root {
    --teal: #13EDD0;
    --purple: #B313ED;
    --white: #ffffff;
    --teal-soft: rgba(19, 237, 208, 0.15);
    --purple-soft: rgba(150, 19, 237, 0.12);
    --dark: #1a1a2e;
    --gray: #f5f6fa;
}
* { font-family: 'Poppins', sans-serif; }
body { overflow-x: hidden; }

/* NAVBAR */
.navbar-imvet {
    background: linear-gradient(90deg, var(--purple) 0%, #7a0dc0 100%);
    box-shadow: 0 2px 15px rgba(150, 19, 237, 0.3);
    padding: 0.8rem 0;
    align-items: center;
}
.navbar-imvet .nav-link {
    color: var(--white);
    font-weight: 500;
    font-size: 0.95rem;
    margin: 0 0.4rem;
    position: relative;
    transition: all 0.3s ease;
    border-radius: 6px;
    padding: 0.5rem 0.9rem;
}
.navbar-imvet .nav-link:hover,
.navbar-imvet .nav-link.active {
    color: var(--white);
    background: rgba(255,255,255,0.18);
}
.navbar-imvet .nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--teal);
    transition: width 0.3s ease;
}
.navbar-imvet .nav-link:hover::after,
.navbar-imvet .nav-link.active::after {
    width: 60%;
}

/* CENTRAR EL TEXTO DENTRO DEL RESALTADO DE CADA ENLACE DEL MENÚ */
.navbar-imvet .navbar-nav .nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-left: 0.9rem !important;
    padding-right: 0.9rem !important;
}

.logo-container {
    display: flex;
    align-items: center;
    margin-right: 1rem;
}
/* El logo tiene tamaño fijo: se controla aquí y en images/logo.php
   NOTA: object-fit: fill hace que la imagen se deforme al cambiar el tamaño (opción 1) */
.logo-img {
    width: 120px;
    height: 120px;
    object-fit: fill;
}

/* BOTONES CORPORATIVOS - centrar contenido dentro del botón */
.btn-teal,
.btn-purple,
.btn-outline-teal {
    font-weight: 600;
    border-radius: 30px;
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    white-space: nowrap;
    line-height: 1.4;
    padding: 0.7rem 1.8rem;
    vertical-align: middle;
}
.btn-teal.btn-sm,
.btn-purple.btn-sm,
.btn-outline-teal.btn-sm {
    min-height: 42px;
    padding: 0.4rem 1.2rem;
    line-height: 1.2;
}
/* Alinear ícono + texto dentro del botón */
.navbar-imvet .navbar-nav .btn span,
.navbar-imvet .navbar-nav .btn i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.navbar-imvet .navbar-nav .btn i {
    margin-right: 0.45rem;
}
/* Ancho completo en móvil */
@media (max-width: 575.98px) {
    .btn-teal,
    .btn-purple,
    .btn-outline-teal {
        width: 100%;
    }
}
/* Colores institucionales de los botones */
.btn-teal {
    background: var(--teal);
    color: #0d2b26;
    border: none;
    transition: all 0.3s ease;
}
.btn-teal:hover { background: #0ed8bd; transform: translateY(-2px); color: #0d2b26; }
.btn-purple {
    background: var(--purple);
    color: var(--white);
    border: none;
    transition: all 0.3s ease;
}
.btn-purple:hover { background: #7a0dc0; transform: translateY(-2px); color: var(--white); }
.btn-outline-teal {
    border: 2px solid var(--teal);
    color: var(--teal);
    background: transparent;
    transition: all 0.3s ease;
}
.btn-outline-teal:hover { background: var(--teal); color: #0d2b26; }
.btn-outline-teal:hover * { color: #0d2b26; }

/* SECCIONES */
.section-title { font-weight: 700; color: var(--dark); }
.section-subtitle { color: #6c757d; font-weight: 300; }
.gradient-text {
    background: linear-gradient(90deg, var(--purple), var(--teal));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

/* HERO */
.hero-imvet {
    min-height: 85vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* CARDS DE SERVICIOS */
.card-imvet {
    border: none;
    border-radius: 18px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    overflow: hidden;
}
.card-imvet:hover {
    transform: translateY(-8px);
    box-shadow: 0 14px 40px rgba(150, 19, 237, 0.15);
}
.icon-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    background: linear-gradient(135deg, var(--teal), var(--purple));
    color: var(--white);
    margin-bottom: 1rem;
}

/* FOOTER */
.footer-imvet {
    background: linear-gradient(135deg, #160022 0%, #2b0a55 60%, #9613ED 100%);
    color: #dcdcdc;
    padding-top: 3.5rem;
}
.footer-imvet h5 {
    color: var(--teal);
    font-weight: 600;
    margin-bottom: 1.2rem;
}
.footer-imvet a {
    color: #dcdcdc;
    text-decoration: none;
    transition: color 0.3s;
}
.footer-imvet a:hover { color: var(--teal); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.15);
    margin-top: 2.5rem;
    padding: 1.2rem 0;
    font-size: 0.88rem;
}
.social-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.12);
    color: var(--white);
    margin-right: 0.5rem;
    transition: all 0.3s;
}
.social-icon:hover { background: var(--teal); color: #0d2b26; }

/* UTILIDADES */
.page-hero {
    background: linear-gradient(120deg, var(--purple) 0%, #7a0dc0 50%, var(--teal) 120%);
    color: var(--white);
    padding: 5rem 0 4rem;
    border-radius: 0 0 60px 60px;
}
.breadcrumb-imvet { --bs-breadcrumb-divider-color: var(--teal); }
.breadcrumb-imvet .breadcrumb-item a { color: var(--teal); }
.breadcrumb-imvet .breadcrumb-item.active { color: var(--white); }
.badge-feature {
    background: var(--purple-soft);
    color: var(--purple);
    font-weight: 600;
}