/* ============================================
   PROMEX EXTINTORES - CUSTOM STYLES
   ============================================ */

/* CSS Variables */
:root {
    --primary: #d91e18;
    --primary-dark: #b91c1c;
    --primary-light: rgba(217, 30, 24, 0.1);
    --black: #000000;
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --font-display: 'Rajdhani', sans-serif;
    --font-body: 'Roboto', sans-serif;
    --transition-fast: 0.3s ease;
    --transition-medium: 0.5s ease;
    --transition-slow: 0.7s ease;
    /* Altura de la cabecera fija — ajustar si cambia el tamaño del logo */
    --navbar-h: 104px;
}

@media (max-width: 575.98px) {
    :root {
        --navbar-h: 72px;
    }
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--black);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
}

/* ============================================
   CONTAINER MÁS ANCHO - AJUSTES PRINCIPALES
   ============================================ */

.section-container {
    width: 100%;
    padding-right: 2rem;
    padding-left: 2rem;
    margin-right: auto;
    margin-left: auto;
    max-width: 100%;
}

@media (min-width: 576px) {
    .section-container {
        padding-right: 3rem;
        padding-left: 3rem;
    }
}

@media (min-width: 768px) {
    .section-container {
        padding-right: 4rem;
        padding-left: 4rem;
    }
}

@media (min-width: 992px) {
    .section-container {
        padding-right: 5rem;
        padding-left: 5rem;
    }
}

@media (min-width: 1200px) {
    .section-container {
        padding-right: 6rem;
        padding-left: 6rem;
    }
}

@media (min-width: 1400px) {
    .section-container {
        padding-right: 8rem;
        padding-left: 8rem;
    }
}

@media (min-width: 1600px) {
    .section-container {
        padding-right: 6rem;
        padding-left: 6rem;
    }
}

.section-padding {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

@media (min-width: 768px) {
    .section-padding {
        padding-top: 6rem;
        padding-bottom: 6rem;
    }
}

/* Colors */
.text-primary {
    color: var(--primary) !important;
}

.bg-primary {
    background-color: var(--primary) !important;
}

.bg-primary-light {
    background-color: var(--primary-light) !important;
}

.bg-black {
    background-color: var(--black) !important;
}

.bg-light {
    background-color: var(--gray-50) !important;
}

.text-gray-400 {
    color: var(--gray-400) !important;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.125rem;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    transition: all var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

    .btn-primary:hover {
        background-color: var(--primary-dark);
        border-color: var(--primary-dark);
        transform: translateY(-2px);
        box-shadow: 0 10px 20px rgba(217, 30, 24, 0.3);
    }

.btn-outline-light {
    border: 2px solid var(--white);
    color: var(--white);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.125rem;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    transition: all var(--transition-fast);
}

    .btn-outline-light:hover {
        background-color: var(--white);
        color: var(--black);
        transform: translateY(-2px);
    }

.btn-light {
    background-color: var(--white);
    color: var(--primary);
    font-family: var(--font-display);
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    transition: all var(--transition-fast);
}

    .btn-light:hover {
        background-color: var(--gray-100);
        transform: translateY(-2px);
    }

/* Section Components */
.section-badge {
    display: inline-block;
    padding: 0.25rem 1rem;
    background-color: var(--primary-light);
    color: var(--primary);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    border-radius: 9999px;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.section-title {
    font-size: 3.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

    .section-title::after {
        content: '';
        position: absolute;
        bottom: -8px;
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
        height: 4px;
        background-color: var(--primary);
        border-radius: 2px;
    }

.section-subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
    max-width: 800px;
    margin: 0 auto;
}

/* ============================================
   NAVBAR — CABECERA BLANCA FIJA (STICKY)
   ============================================ */

.navbar {
    padding: 0 !important;
    transition: box-shadow 0.35s ease !important;
    background-color: #ffffff !important;
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1040;
    border-bottom: 3px solid var(--primary);
}

    /* Sombra discreta al hacer scroll */
    .navbar.scrolled {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12) !important;
        backdrop-filter: none !important;
    }

.navbar-brand {
    text-decoration: none;
    flex-shrink: 0;
}

/* Logo en color original (sin invertir) */
.navbar-logo {
    height: 52px;
    width: auto;
    filter: none !important;
    transition: opacity 0.25s ease;
    display: block;
}

    .navbar-logo:hover {
        opacity: 0.85;
    }

/* Links — texto oscuro sobre fondo blanco */
.nav-link {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--gray-800) !important;
    padding: 0.45rem 0.9rem !important;
    position: relative;
    transition: color var(--transition-fast);
}

    .nav-link::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0.9rem;
        width: 0;
        height: 2px;
        background-color: var(--primary);
        transition: width var(--transition-fast);
    }

    .nav-link:hover {
        color: var(--primary) !important;
    }

        .nav-link:hover::after,
        .nav-link.active::after {
            width: calc(100% - 1.8rem);
        }

    .nav-link.active {
        color: var(--primary) !important;
    }

/* Teléfono */
.nav-phone {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--gray-800);
    text-decoration: none;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1rem;
    white-space: nowrap;
    transition: color var(--transition-fast);
}

    .nav-phone i {
        color: var(--primary);
    }

    .nav-phone:hover {
        color: var(--primary);
    }

/* Toggler */
.navbar-toggler {
    border: none !important;
    padding: 0.25rem !important;
    box-shadow: none !important;
}

    .navbar-toggler:focus {
        box-shadow: none !important;
    }

/* Menú colapsado en móvil — fondo blanco */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: #ffffff;
        padding: 0.5rem 0 1rem;
        border-top: 1px solid var(--gray-100);
        margin-top: 0;
        border-radius: 0;
    }

    .nav-link {
        border-bottom: 1px solid var(--gray-100);
        padding: 0.65rem 1.5rem !important;
    }

        .nav-link::after {
            display: none;
        }
}

/* ============================================
   HERO SECTION — DEBAJO DE LA CABECERA BLANCA
   ============================================ */

/*
   margin-top empuja el hero exactamente debajo de la cabecera.
   min-height descuenta esa misma altura para que el hero
   siga llenando toda la pantalla visible.
*/
.hero-section {
    position: relative;
    min-height: calc(100vh - var(--navbar-h));
    margin-top: var(--navbar-h);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../img/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.75));
    z-index: 1;
}

.hero-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(217, 30, 24, 0.18), transparent);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Sin padding-top extra: margin-top del hero-section compensa la cabecera */
    padding-top: 3rem;
    padding-bottom: 4rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 9999px;
    color: rgba(255, 255, 255, 0.9);
    font-family: var(--font-display);
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    margin-bottom: 2rem;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.hero-title {
    margin-bottom: 1.5rem;
}

    .hero-title span {
        font-family: var(--font-display);
        font-weight: 700;
        font-size: 3.5rem;
        line-height: 1;
    }

@media (min-width: 768px) {
    .hero-title span {
        font-size: 5rem;
    }
}

@media (min-width: 1024px) {
    .hero-title span {
        font-size: 6rem;
    }
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 675px;
    margin: 0 auto 2.5rem;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 4rem;
}

@media (min-width: 576px) {
    .hero-cta {
        flex-direction: row;
    }
}

.hero-stats {
    max-width: 800px;
    margin: 0 auto;
}

.stat-card {
    background-color: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    padding: 1.5rem;
    text-align: center;
    transition: all var(--transition-fast);
}

    .stat-card:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }

    .stat-card i {
        font-size: 2rem;
        color: var(--primary);
        margin-bottom: 0.75rem;
    }

.stat-value {
    display: block;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    display: flex;
    justify-content: center;
}

.wheel {
    width: 6px;
    height: 10px;
    background-color: var(--primary);
    border-radius: 3px;
    margin-top: 8px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(10px);
    }

    60% {
        transform: translateY(5px);
    }
}

/* About Section */
.bg-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.05;
    background-image: radial-gradient(circle at 1px 1px, var(--primary) 1px, transparent 0);
    background-size: 40px 40px;
}

.about-image-wrapper {
    position: relative;
}

    .about-image-wrapper img {
        width: 100%;
        height: 500px;
        object-fit: cover;
        border-radius: 0.5rem;
    }

.experience-badge {
    position: absolute;
    bottom: -1.5rem;
    right: -1.5rem;
    background-color: var(--primary);
    color: var(--white);
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 10px 30px rgba(217, 30, 24, 0.3);
}

.exp-number {
    display: block;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 3rem;
    line-height: 1;
}

.exp-text {
    font-family: var(--font-display);
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    line-height: 1.2;
}

.image-border {
    position: absolute;
    top: -1rem;
    left: -1rem;
    right: 1rem;
    bottom: 1rem;
    border: 2px solid rgba(217, 30, 24, 0.3);
    border-radius: 0.5rem;
    z-index: -1;
}

.about-heading {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.about-text {
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

    .feature-item i {
        color: var(--primary);
        font-size: 1.25rem;
        transition: transform var(--transition-fast);
    }

    .feature-item:hover i {
        transform: scale(1.1);
    }

    .feature-item span {
        color: var(--gray-700);
        font-weight: 500;
        font-size: 0.9375rem;
    }

.value-card {
    background-color: var(--gray-50);
    border: 1px solid var(--gray-100);
    border-radius: 0.5rem;
    padding: 2rem;
    transition: all var(--transition-fast);
    height: 100%;
}

    .value-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    }

.value-icon {
    width: 56px;
    height: 56px;
    background-color: var(--primary-light);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

    .value-icon i {
        font-size: 1.75rem;
        color: var(--primary);
    }

.value-card h4 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.value-card p {
    color: var(--gray-600);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Products Section */
.products-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.1;
    background-image: linear-gradient(45deg, var(--primary) 25%, transparent 25%), linear-gradient(-45deg, var(--primary) 25%, transparent 25%), linear-gradient(45deg, transparent 75%, var(--primary) 75%), linear-gradient(-45deg, transparent 75%, var(--primary) 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
}

.product-card {
    position: relative;
    height: 500px;
    border-radius: 0.5rem;
    overflow: hidden;
    cursor: pointer;
}

.product-image {
    position: absolute;
    inset: 0;
}

    .product-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform var(--transition-medium);
    }

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.6);
    transition: all var(--transition-medium);
}

.product-card:hover .product-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.5), transparent);
}

.product-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    color: var(--white);
}

.product-icon {
    width: 48px;
    height: 48px;
    background-color: var(--primary);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: all var(--transition-fast);
}

    .product-icon i {
        font-size: 1.5rem;
    }

.product-card:hover .product-icon {
    transform: scale(1);
    opacity: 1;
}

.product-content h3 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.75rem;
    margin-bottom: 0.25rem;
}

.product-subtitle {
    color: var(--primary);
    font-family: var(--font-display);
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.product-details {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all var(--transition-medium);
}

.product-card:hover .product-details {
    max-height: 400px;
    opacity: 1;
}

.product-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9375rem;
    margin-bottom: 1rem;
}

.product-features {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

    .product-features li {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        color: rgba(255, 255, 255, 0.9);
        font-size: 0.875rem;
        margin-bottom: 0.5rem;
    }

        .product-features li i {
            color: var(--primary);
            font-size: 1rem;
        }

.product-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-family: var(--font-display);
    font-weight: 600;
    text-decoration: none;
    transition: gap var(--transition-fast);
}

    .product-link:hover {
        gap: 0.75rem;
        color: var(--primary);
    }

/* Services Section */
.service-card {
    background-color: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: 0.5rem;
    padding: 2rem;
    height: 100%;
    position: relative;
    cursor: pointer;
    transition: all var(--transition-fast);
    overflow: hidden;
}

    .service-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    }

.service-icon {
    width: 64px;
    height: 64px;
    background-color: var(--primary-light);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all var(--transition-medium);
}

    .service-icon i {
        font-size: 2rem;
        color: var(--primary);
        transition: color var(--transition-medium);
    }

.service-card:hover .service-icon {
    background-color: var(--primary);
    transform: scale(1.1);
}

    .service-card:hover .service-icon i {
        color: var(--white);
    }

.service-card h3 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    transition: color var(--transition-fast);
}

.service-card:hover h3 {
    color: var(--primary);
}

.service-card > p {
    color: var(--gray-600);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.service-details {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all var(--transition-medium);
    border-top: 1px solid var(--gray-100);
    margin-top: 0;
    padding-top: 0;
}

.service-card:hover .service-details {
    max-height: 200px;
    opacity: 1;
    margin-top: 1rem;
    padding-top: 1rem;
}

.service-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-details li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-700);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

    .service-details li i {
        color: var(--primary);
        font-size: 0.875rem;
    }

.service-arrow {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 40px;
    height: 40px;
    background-color: var(--gray-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

    .service-arrow i {
        color: var(--gray-400);
        font-size: 1.25rem;
        transition: all var(--transition-fast);
    }

.service-card:hover .service-arrow {
    background-color: var(--primary);
}

    .service-card:hover .service-arrow i {
        color: var(--white);
        transform: rotate(90deg);
    }

.cta-box {
    background-color: var(--primary);
    border-radius: 1rem;
    padding: 3rem;
    color: var(--white);
}

    .cta-box h3 {
        font-family: var(--font-display);
        font-weight: 700;
        font-size: 1.75rem;
        margin-bottom: 0.5rem;
    }

    .cta-box p {
        color: rgba(255, 255, 255, 0.8);
        margin-bottom: 0;
    }

/* Clients Section */
.clients-marquee {
    position: relative;
    overflow: hidden;
}

.marquee-wrapper {
    overflow: hidden;
}

.marquee-track {
    display: flex;
    animation: marquee 30s linear infinite;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.client-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 2rem;
    background-color: transparent;
    border: transparent;
    border-radius: 0.5rem;
    margin: 0 1rem;
    white-space: nowrap;
    transition: all var(--transition-fast);
    cursor: pointer;
}

    .client-item i {
        font-size: 2rem;
        color: var(--primary);
        transition: color var(--transition-fast);
    }

    .client-item:hover i {
        color: var(--white);
    }

    .client-item span {
        font-family: var(--font-display);
        font-weight: 600;
        font-size: 1.125rem;
        color: var(--black);
        transition: color var(--transition-fast);
    }

    .client-item:hover span {
        color: var(--white);
    }

.stat-box {
    text-align: center;
    padding: 1.5rem;
    background-color: var(--gray-50);
    border: 1px solid var(--gray-100);
    border-radius: 0.5rem;
    transition: all var(--transition-fast);
}

    .stat-box:hover {
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--gray-600);
    font-weight: 500;
    font-size: 0.9375rem;
}

.testimonial-card {
    position: relative;
    background-color: var(--black);
    border-radius: 1rem;
    padding: 3rem;
    color: var(--white);
}

.quote-icon {
    position: absolute;
    top: -1rem;
    left: 2rem;
    width: 2rem;
    height: 2rem;
    background-color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: Georgia, serif;
    font-size: 1.5rem;
    color: var(--white);
}

.testimonial-card blockquote {
    font-size: 1.25rem;
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 2rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 48px;
    height: 48px;
    background-color: rgba(217, 30, 24, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--primary);
}

.author-name {
    display: block;
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--white);
}

.author-title {
    display: block;
    color: var(--gray-400);
    font-size: 0.875rem;
}

/* Contact Section */
.contact-form-wrapper {
    background-color: var(--white);
    border-radius: 1rem;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

    .contact-form-wrapper h3 {
        font-family: var(--font-display);
        font-weight: 700;
        font-size: 1.75rem;
        margin-bottom: 2rem;
    }

.form-floating > .form-control {
    border: 1px solid var(--gray-200);
    height: calc(3.5rem + 2px);
}

    .form-floating > .form-control:focus {
        border-color: var(--primary);
        box-shadow: 0 0 0 0.25rem rgba(217, 30, 24, 0.1);
    }

.form-floating > label {
    color: var(--gray-600);
}

.form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

.form-check-input:focus {
    box-shadow: 0 0 0 0.25rem rgba(217, 30, 24, 0.25);
}

.form-check a {
    color: var(--primary);
    text-decoration: none;
}

    .form-check a:hover {
        text-decoration: underline;
    }

.contact-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background-color: var(--white);
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all var(--transition-fast);
}

    .contact-item:hover {
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        transform: translateY(-4px);
    }

.contact-icon {
    width: 48px;
    height: 48px;
    background-color: var(--primary-light);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all var(--transition-fast);
}

.contact-item:hover .contact-icon {
    background-color: var(--primary);
}

.contact-icon i {
    font-size: 1.5rem;
    color: var(--primary);
    transition: color var(--transition-fast);
}

.contact-item:hover .contact-icon i {
    color: var(--white);
}

.contact-details h4 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.contact-details p {
    margin-bottom: 0.25rem;
    color: var(--gray-700);
}

.social-box {
    background-color: var(--primary);
    border-radius: 0.75rem;
    padding: 1.5rem;
    color: var(--white);
}

    .social-box h4 {
        font-family: var(--font-display);
        font-weight: 600;
        margin-bottom: 1rem;
    }

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 48px;
    height: 48px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    transition: all var(--transition-fast);
}

    .social-link:hover {
        background-color: rgba(255, 255, 255, 0.2);
        transform: translateY(-4px);
    }

.map-wrapper {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.success-message {
    text-align: center;
    padding: 3rem;
}

.success-content i {
    font-size: 4rem;
    color: #10b981;
    margin-bottom: 1rem;
}

.success-content h4 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* ============================================
   FOOTER
   ============================================ */

.footer-section {
    background-color: var(--black);
    padding-top: 5rem;
    padding-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.footer-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.05;
    background-image: radial-gradient(circle at 1px 1px, var(--primary) 1px, transparent 0);
    background-size: 30px 30px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    margin-bottom: 1.5rem;
}

    .footer-brand .brand-icon {
        width: 48px;
        height: 48px;
    }

    .footer-brand .brand-title {
        font-size: 1.5rem;
    }

    .footer-brand .brand-subtitle {
        font-size: 0.875rem;
    }

.footer-text {
    color: var(--gray-400);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

    .footer-contact a,
    .footer-address {
        display: flex;
        align-items: flex-start;
        gap: 0.75rem;
        color: var(--gray-400);
        font-size: 0.9375rem;
        text-decoration: none;
        transition: color var(--transition-fast);
    }

        .footer-contact a:hover {
            color: var(--primary);
        }

    .footer-contact i {
        color: var(--primary);
        font-size: 1rem;
        margin-top: 0.25rem;
    }

.footer-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .footer-links li {
        margin-bottom: 0.75rem;
    }

    .footer-links a {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        color: var(--gray-400);
        font-size: 0.9375rem;
        text-decoration: none;
        transition: all var(--transition-fast);
    }

        .footer-links a i {
            color: var(--primary);
            opacity: 0;
            transition: opacity var(--transition-fast);
        }

        .footer-links a:hover {
            color: var(--primary);
            transform: translateX(4px);
        }

            .footer-links a:hover i {
                opacity: 1;
            }

.certifications {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cert-item {
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
}

.cert-name {
    display: block;
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--white);
    font-size: 0.9375rem;
    margin-bottom: 0.25rem;
}

.cert-desc {
    display: block;
    color: var(--gray-500);
    font-size: 0.75rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    margin-top: 3rem;
    width: 100%;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

@media (max-width: 767.98px) {
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
}

.copyright {
    color: var(--gray-500);
    font-size: 0.9375rem;
    margin-bottom: 0;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

    .footer-legal a {
        color: var(--gray-500);
        font-size: 0.9375rem;
        text-decoration: none;
        transition: color var(--transition-fast);
    }

        .footer-legal a:hover {
            color: var(--primary);
        }

/* Footer wrapper con padding simétrico */
.footer-wrapper {
    width: 100%;
    padding-left: 2rem;
    padding-right: 2rem;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

@media (min-width: 576px) {
    .footer-wrapper {
        padding-left: 3rem;
        padding-right: 3rem;
    }
}

@media (min-width: 768px) {
    .footer-wrapper {
        padding-left: 4rem;
        padding-right: 4rem;
    }
}

@media (min-width: 992px) {
    .footer-wrapper {
        padding-left: 5rem;
        padding-right: 5rem;
    }
}

@media (min-width: 1200px) {
    .footer-wrapper {
        padding-left: 6rem;
        padding-right: 6rem;
    }
}

@media (min-width: 1400px) {
    .footer-wrapper {
        padding-left: 8rem;
        padding-right: 8rem;
    }
}

@media (min-width: 1600px) {
    .footer-wrapper {
        padding-left: 10rem;
        padding-right: 10rem;
    }
}

/* Logo en pie de página */
.navbar-logo-pie {
    height: 60px;
    width: auto;
    filter: brightness(0) invert(1);
}

/* ============================================
   RESPONSIVE GENERAL
   ============================================ */

@media (max-width: 991.98px) {
    .experience-badge {
        right: 1rem;
        bottom: -1rem;
    }

    .image-border {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .hero-title span {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .stat-card {
        margin-bottom: 1rem;
    }

    .product-card {
        height: 400px;
    }

    .cta-box {
        padding: 2rem;
    }

    .testimonial-card {
        padding: 2rem;
    }

    .footer-legal {
        margin-top: 1rem;
    }
}

/* ============================================
   UTILIDADES VARIAS
   ============================================ */

.contact-form-wrapper .btn-primary {
    min-width: 250px;
    justify-content: center;
}

/* Selection Color */
::selection {
    background-color: rgba(217, 30, 24, 0.2);
    color: var(--black);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: var(--primary-dark);
    }
