/* ----- PALETA Y RESET PREMIUM ----- */
:root {
    --primary: #1e2d8c;
    --primary-dark: #121828;
    --accent: #c62828;
    --light: #f2f2f2;
    --white: #ffffff;
    --dark: #121212;
    --gray-soft: #e9ecef;
    --shadow-premium: 0 20px 40px -12px rgba(0, 0, 0, 0.25);
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: "Inter", sans-serif;
    background-color: var(--white);
    color: var(--dark);
    overflow-x: hidden;
    scroll-behavior: smooth;
}
h1,
h2,
h3,
h4,
h5 {
    font-weight: 700;
    letter-spacing: -0.02em;
}
.text-accent {
    color: var(--accent);
}
.text-primary-custom {
    color: var(--primary);
}
.bg-primary-custom {
    background-color: var(--primary);
}
.bg-accent {
    background-color: var(--accent);
}
.bg-light-custom {
    background-color: var(--light);
}

/* ----- NAVBAR STICKY SHRINK PREMIUM ----- */
.navbar-premium {
    background-color: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    padding-top: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(30, 45, 140, 0.08);
}
.navbar-premium.shrink {
    padding-top: 6px;
    padding-bottom: 6px;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}
.navbar-premium .navbar-brand img {
    height: 52px;
    transition:
        height 0.3s ease,
        transform 0.3s ease;
    object-fit: contain;
}
.navbar-premium.shrink .navbar-brand img {
    height: 38px;
}
.nav-link {
    font-weight: 600;
    color: var(--dark) !important;
    margin: 0 6px;
    padding: 8px 14px !important;
    border-radius: 40px;
    transition: all 0.2s ease;
    position: relative;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}
.nav-link:hover,
.nav-link.active {
    background-color: var(--primary);
    color: white !important;
    transform: scale(1.02);
    box-shadow: 0 6px 14px rgba(30, 45, 140, 0.25);
}
.nav-link.active {
    background-color: var(--primary);
    color: white !important;
}

/* ----- BOTÓN WHATSAPP FLOTANTE ----- */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 999;
    background: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 8px 28px rgba(37, 211, 102, 0.4);
    transition: 0.25s ease;
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.3);
}
.whatsapp-float:hover {
    transform: scale(1.08);
    background: #20b858;
    box-shadow: 0 12px 36px rgba(37, 211, 102, 0.5);
    color: white;
}
/* ----- SECCIONES CON EFECTO PARALLAX (imágenes de ejemplo) ----- */
.parallax-section {
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    isolation: isolate;
}
.parallax-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(18, 18, 18, 0.35);
    z-index: 0;
}
.parallax-section > .container {
    position: relative;
    z-index: 2;
}
/* Hero parallax */
.hero-parallax {
    background-image: url("../img/inicio.jpg");
    min-height: 92vh;
    display: flex;
    align-items: center;
}
/* Sección productos parallax */
.productos-parallax {
    background-image: url("../img/productos.jpg");
}
/* Sección certificaciones parallax */
.certificaciones-parallax {
    background-image: url("../img/certificaciones.jpg");
}
/* ----- TARJETAS Y ELEMENTOS PREMIUM ----- */
.card-premium {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(4px);
    border-radius: 32px;
    box-shadow: var(--shadow-premium);
    transition:
        transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 0.35s ease;
    padding: 2rem 1.5rem;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.3);
}
.card-premium:hover {
    transform: translateY(-12px) scale(1.01);
    box-shadow: 0 30px 50px -16px rgba(0, 0, 0, 0.3);
}
.card-premium .icon-circle {
    width: 70px;
    height: 70px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 18px rgba(30, 45, 140, 0.25);
}
.btn-primary-custom {
    background: var(--primary);
    border: none;
    padding: 14px 40px;
    border-radius: 60px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: white;
    transition: all 0.25s ease;
    box-shadow: 0 10px 24px rgba(30, 45, 140, 0.35);
}
.btn-primary-custom:hover {
    background: #16206e;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 16px 32px rgba(30, 45, 140, 0.45);
    color: white;
}
.btn-outline-primary-custom {
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 12px 36px;
    border-radius: 60px;
    font-weight: 600;
    transition: all 0.25s ease;
}
.btn-outline-primary-custom:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}
.section-title {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}
.section-subtitle {
    font-size: 1.2rem;
    color: #4a4a4a;
    max-width: 720px;
}
/* Logo en footer */
.footer-logo {
    filter: brightness(0) invert(1);
    opacity: 0.8;
}
/* Responsive */
@media (max-width: 768px) {
    .section-title {
        font-size: 2.2rem;
    }
    .hero-parallax {
        min-height: 70vh;
    }
}
