/* ==========================================================================
   CONFIGURACIÓN GLOBAL & VARIABLES
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

:root {
    --principal: #e20e18;
    --secundario: #209cd6;
    --negro-texto: #1d1b25;
    --fuente-titulos: 'Playfair Display', serif;
    --fuente-cuerpo: 'Open Sans', sans-serif;
}

body {
    font-family: var(--fuente-cuerpo);
    color: var(--negro-texto);
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--fuente-titulos);
    color: var(--negro-texto);
    font-weight: 700;
}

/* --- UTILIDADES Y COMPONENTES REUTILIZABLES --- */
.text-primary-custom {
    color: var(--principal) !important;
}

.btn-primary-custom {
    background-color: var(--principal);
    border-color: var(--principal);
    color: #fff;
    transition: all 0.3s ease;
}

.btn-primary-custom:hover {
    background-color: #b10b12;
    color: #fff;
}

picture img {
    max-width: 100%;
    height: auto;
    display: block;
}

[data-aos] {
    pointer-events: none;
}

.aos-animate {
    pointer-events: auto;
}

/* --- NAVBAR --- */
.navbar-custom {
    transition: all 0.4s ease;
    background-color: transparent;
    padding: 20px 0;
}

.navbar-scrolled {
    background-color: rgba(29, 27, 37, 0.95) !important;
    padding: 10px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}


.text-white-50 {
    color: rgba(255, 255, 255, 0.6) !important;
}


.py-section-lg {
    padding: 100px 0;
}


.font-weight-600 {
    font-weight: 600;
}


.text-secondary-custom {
    color: var(--secundario) !important;
}


strong {
    color: var(--principal);
    font-weight: 600;
}

/* ==========================================================================
   COMPONENTES DE HERO GLOBALES (Agregar a style.css)
   ========================================================================== */


.hero-global {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

.header-interno {
    height: 60vh;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
}


.hero-overlay-dark {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg,
            rgba(0, 0, 0, 0.7) 0%,
            rgba(0, 0, 0, 0.4) 50%,
            rgba(0, 0, 0, 0.6) 100%);
    z-index: 1;
}


.hero-content-relative {
    position: relative;
    z-index: 5;
    color: #ffffff;
}


.hero-content-relative h1,
.hero-content-relative h2,
.hero-content-relative p {
    color: #ffffff !important;
    text-shadow: 0px 2px 10px rgba(0, 0, 0, 0.3);
}

/* ==========================================================================
   EMPRESA PARALLAX (SECCIÓN HOME y EMPRESA.PHP)
   ========================================================================== */
.seccion-empresa {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.parallax-bg {
    background-image: url('../img/fondo-empresa-parallax.webp');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

.empresa-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(29, 27, 37, 0.85) 0%, rgba(29, 27, 37, 0.6) 100%);
    z-index: 1;
}

.logo-empresa-seccion {
    max-width: 300px;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
}

/* --- contacto --- */

.card-contacto {
    background: #ffffff;
    padding: 40px;
    border-radius: 15px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.card-contacto label {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #666;
    margin-bottom: 8px;
}

.card-contacto .form-control {
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    padding: 12px 15px;
    height: auto;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.btn-whatsapp-sevedi {
    display: inline-flex;
    align-items: center;
    background-color: #25d366;
    color: #fff;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none !important;
    transition: transform 0.3s ease;
}

.btn-whatsapp-sevedi i {
    font-size: 1.5rem;
    margin-right: 10px;
}

/* --- CONTACTO ITEMS --- */
.contacto-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 8px;
}

.contacto-item {
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none !important;
    color: var(--negro-texto);
    transition: transform 0.2s ease;
}

.contacto-item:hover {
    transform: translateX(5px);
}

.contacto-item-icon {
    width: 55px;
    height: 55px;
    min-width: 55px;
    border-radius: 50%;
    background-color: var(--principal);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contacto-item-icon i {
    font-size: 1.5rem;
    color: #fff;
}

.contacto-item-title {
    display: block;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--negro-texto);
}

.contacto-item-sub {
    display: block;
    font-size: 0.9rem;
    color: var(--principal);
    font-weight: 500;
    text-decoration: underline;
}

.contacto-item:hover .contacto-item-sub {
    color: var(--secundario);
}

/* --- FOOTER --- */
.footer-sevedi {
    background-color: var(--principal);
    padding: 60px 0 40px;
}



.footer-socials a {
    color: #fff;
    font-size: 1.8rem;
    margin: 0 15px;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.footer-socials a:hover {
    opacity: 1;
    color: var(--secundario);
    transform: translateY(-3px);
    display: inline-block;
}


/* ==========================================================================
   MEDIA QUERIES GLOBALES
   ========================================================================== */

@media (max-width: 991px) {}