:root {

    /* ========================================
       BACKGROUNDS
    ======================================== */
    --card-bg: #ffffff;
    --section-bg: #f8fafc;

    /* Usado principalmente en contacto */
    --bg-secondary: #f3f3f3;
    --bg-secondary-alpha: #f3f3f3CC;

    /* Usado por el modal */
    --soft: #f8fafc;

    /* ========================================
       BRAND COLORS
    ======================================== */
    --primary: #c81919;
    --primary-dark: #a91414;
    --navy: #1e293b;

    /* ========================================
       TEXT COLORS
    ======================================== */
    /* Variables existentes */
    --text: #475569;
    --text-a: #535b77;
    --text-soft: #94a3b8;
    --text-alternative-soft: #8892a1;

    /* Sistema homologado */
    --title-color: #1e293b;
    --muted-color: #64748b;

    /* ========================================
       BORDERS
    ======================================== */
    --border-color: #e5e7eb;

    /* ========================================
       LAYOUT / SPACING
    ======================================== */
    --section-space: 90px;
    --section-space-mobile: 65px;

    /* ========================================
       BORDER RADIUS
    ======================================== */
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;

    /* ========================================
       SHADOWS
    ======================================== */
    --shadow-card:
        0 12px 30px rgba(15, 23, 42, 0.06);
    --shadow-hover:
        0 20px 40px rgba(15, 23, 42, 0.10);
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Inter',sans-serif;
    color:var(--text);
    overflow-x:hidden;
    background:
        radial-gradient(
            circle at 85% 50%,
            rgba(220, 230, 240, 0.7),
            transparent 45%
        ),
        linear-gradient(
            90deg,
            #ffffff 0%,
            #f7f9fc 100%
        );
}

a{
    color:var(--text-a)
}

/* ===== SCROLL ===== */
::-webkit-scrollbar{
    width:10px;
}

::-webkit-scrollbar-track{
    background:var(--bg-secondary);
}

::-webkit-scrollbar-thumb{
    background:#4f46e5;
    border-radius:20px;
}

/* ===== GLOBAL ===== */
#img-logo{
    width: 400px;
    max-width: 400px;
}

.container{
    width:92%;
    max-width:1400px;
    margin:auto;
}

/* ===== NAVBAR ===== */
header{
    position:fixed;
    width:100%;
    top:0;
    z-index:999;
    backdrop-filter:blur(18px);
    background:rgba(5, 8, 22, 0.201);
    border-bottom:1px solid rgba(255, 255, 255, 0.157);
}

.navbar{
    height:90px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    --bs-navbar-padding-y: 0;
    flex-wrap: nowrap;
}

.logo{
    display:flex;
    align-items:center;
    gap:16px;
}

.logo h2{
    font-size:28px;
    font-weight:800;
}

.logo p{
    color:var(--text-soft);
    font-size:13px;
    margin-top:4px;
}

.menu{
    display:flex;
    gap:35px;
}

.menu a{
    color:var(--text-a);
    text-decoration:none;
    transition:.3s;
    font-weight:500;
}

.menu a:hover{
    color:white;
}

.btn-custom{
    padding:16px 26px;
    text-decoration:none;
    font-weight:700;
    display:inline-flex;
    align-items:center;
    gap:10px;
    transition:.3s;
    border:1px solid rgba(255,255,255,.08);
    box-shadow: 0 10px 30px rgba(0,0,0,.18);
}
.btn-hero{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #1E2A3B;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.25s ease;
}
.btn-hero i {
    font-size: 16px;
    transition: transform 0.25s ease;
}
.btn-hero:hover {
    color: #C81919;
}

.btn-hero:hover i {
    transform: translateX(5px);
}
.btn-cotizacion{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 22px;
    background-color: #C81919;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition:
        background-color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}
.btn-cotizacion i {
    font-size: 20px;
}
.btn-cotizacion:hover {
    background-color: #A81212;
    color: #ffffff;
    /* transform: translateY(-2px); */
    box-shadow: 0 10px 25px rgba(200, 25, 25, 0.25);
}

/* ===== HERO ===== */
.hero{
    min-height:90vh;
    padding: 60px 0 60px;
    display:flex;
    align-items:center;
    overflow:hidden;
}
.store{
    margin-top: 50px;
    min-height:80vh;
    display:flex;
    overflow:hidden;
}
.hero-grid{
    display:grid;
    grid-template-columns:1.1fr 1fr;
    gap:80px;
    align-items:center;
    position:relative;
    z-index:2;
}
.hero-text small{
    display:inline-block;
    padding:10px 18px;
    background:rgba(255,255,255,.06);
    border:1px solid var(--border);
    border-radius:50px;
    margin-bottom:30px;
    color: var(--primary);
}
.hero-text h1{
    font-size:4.3rem;
    line-height:.95;
    margin-bottom:28px;
}
h1 span{
    color: var(--primary);
}
.hero-text h2{
    color:var(--text-soft);
    font-size:1.6rem;
    line-height:1;
    max-width:700px;
    margin-bottom:38px;
}
.hero-buttons{
    display:flex;
    gap:18px;
    flex-wrap:wrap;
}
.hero-image{
    position:relative;
}
.hero-card{
    position:relative;
    background:rgba(255,255,255,.05);
    border:1px solid var(--border);
    backdrop-filter:blur(16px);
    border-radius:36px;
    padding:40px;
    overflow:hidden;
    box-shadow:0 20px 60px rgba(0,0,0,.35);
}
.hero-card img{
    width:100%;
    object-fit:contain;
    filter:drop-shadow(0 20px 40px rgba(0,0,0,.45));
}

/* ===== BRANDS ===== */
.brands{
    padding:50px 0;
    border-top:1px solid rgba(255,255,255,.05);
    border-bottom:1px solid rgba(255,255,255,.05);
    background:var(--bg-secondary);
}
.brand {
    width: 200px;
}
.brands-row{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:30px;
    flex-wrap:wrap;
}
.brand{
    color:var(--text-soft);
    font-size:28px;
    font-weight:700;
    opacity:.7;
}
.extra{
        display: block;
}

/* ========================================
   SECTION SYSTEM
======================================== */
.site-section {
    padding: var(--section-space) 0;
}
.section-container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}
.section-header {
    max-width: 720px;
    margin: 0 auto 60px;
    text-align: center;
}
.section-eyebrow {
    display: inline-block;
    margin-bottom: 16px;
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}
.section-header h2 {
    margin: 0 0 16px;
    color: var(--title-color);
    font-size: clamp(36px, 4vw, 52px);
    line-height: 1.1;
    font-weight: 750;
}
.section-header h2 span {
    color: var(--primary);
}
.section-header p {
    margin: 0;
    color: var(--muted-color);
    font-size: 17px;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .site-section {
        padding: var(--section-space-mobile) 0;
    }
    .section-container {
        width: min(100% - 32px, 1180px);
    }
    .section-header {
        margin-bottom: 45px;
    }
    .section-description {
        font-size: 16px;
    }
}

/* =========================================================
   EQUIPMENT SECTION
========================================================= */
.equipment-section {
    padding: 110px 0;
    background:
        linear-gradient(
            180deg,
            #f8fafc 0%,
            #ffffff 100%
        );
}

/* =========================================================
   GRID
========================================================= */
.equipment-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* =========================================================
   CARD
========================================================= */
.equipment-card {
    display: flex;
    flex-direction: column;
    min-height: 500px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.equipment-card:hover {
    transform: translateY(-8px);
    border-color: #d8dde5;
    box-shadow:
        0 25px 50px rgba(15, 30, 53, 0.12);
}

/* =========================================================
   CATEGORY
========================================================= */
.equipment-category {
    position: relative;
    padding: 22px 24px;
    color: #1e2a3b;
    font-size: 20px;
    font-weight: 700;
    border-bottom: 1px solid #eef0f3;
}

.equipment-category::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 24px;
    width: 45px;
    height: 3px;
    background: #c81919;
}

/* =========================================================
   IMAGE
========================================================= */
.equipment-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 210px;
    padding: 25px;
}

.equipment-image img {
    max-width: 100%;
    max-height: 180px;
    object-fit: contain;
    transition: transform 0.35s ease;
}

.equipment-card:hover .equipment-image img {
    transform: scale(1.05);
}


/* =========================================================
   CONTENT
========================================================= */
.equipment-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 10px 24px 25px;
}


.equipment-description {
    margin: 0;
    color: #667085;
    font-size: 15px;
    line-height: 1.6;
}


/* =========================================================
   FOOTER
========================================================= */
.equipment-footer {
    margin-top: auto;
    padding-top: 25px;
    border-top: 1px solid #eef0f3;
}


/* PRICE */
.equipment-price {
    margin-bottom: 20px;
}

.equipment-price span {
    display: block;
    margin-bottom: 3px;
    color: #9ca3af;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.equipment-price strong {
    color: #1e2a3b;
    font-size: 32px;
    font-weight: 700;
}

.equipment-price small {
    color: #6b7280;
    font-size: 14px;
    font-weight: 500;
}

/* LINK */
.equipment-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #c81919;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.25s ease;
    cursor: pointer;
}
.equipment-link i {
    transition: transform 0.25s ease;
}
.equipment-link:hover {
    color: #9f1111;
}
.equipment-link:hover i {
    transform: translateX(5px);
}

/* =========================================
   BENEFICIOS
========================================= */
.benefits-section {
    padding: 100px 20px;
    background: #f8fafc;
}

/* GRID */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* CARD */
.benefit-card {
    position: relative;
    min-height: 280px;
    padding: 32px 28px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}
.benefit-card:hover {
    transform: translateY(-6px);
    border-color: #d7dce2;
    box-shadow: 0 20px 40px rgba(15, 23, 42, .08);
}
.benefit-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 28px;
    width: 40px;
    height: 3px;
    background: #c81919;
    border-radius: 0 0 4px 4px;
    opacity: 0;
    transition: opacity .25s ease;
}
.benefit-card:hover::before {
    opacity: 1;
}

/* ICON */
.benefit-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    background: #fff7f7;
    border: 1px solid rgba(200, 25, 25, 0.12);
    border-radius: 14px;
    color: var(--primary);
}
.benefit-icon i {
    line-height: 1;
    font-size: 22px;
}

/* TEXT */
.benefit-card h3 {
    margin: 0 0 14px;
    color: #1e293b;
    font-size: 20px;
    line-height: 1.3;
    font-weight: 700;
}
.benefit-card p {
    margin: 0;
    color: #64748b;
    font-size: 15px;
    line-height: 1.7;
}

/* =========================================
   RESPONSIVE
========================================= */
@media (max-width: 1100px) {

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}
@media (max-width: 600px) {
    .benefits-section {
        padding: 75px 20px;
    }
    .benefits-header {
        margin-bottom: 45px;
    }
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    .benefit-card {
        min-height: auto;
        padding: 28px 24px;
    }
}

/* ================================
   CTA
================================ */
.cta-section {
    padding: var(--section-space) 0;
}

.cta-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
    padding: 55px 50px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

/* CONTENIDO */
.cta-content h2 {
    margin: 0 0 16px;
    color: var(--title-color);
    font-size: clamp(30px, 4vw, 42px);
    line-height: 1.15;
}
.cta-content h2 span {
    color: var(--primary);
}
.cta-content p {
    max-width: 520px;
    margin: 0;
    color: var(--muted-color);
    font-size: 16px;
    line-height: 1.6;
}

/* ACCIONES */
.cta-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* CONTACTOS */
.cta-contact {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    color: var(--text-color);
    text-decoration: none;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    transition: 
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}
.cta-contact:hover {
    transform: translateY(-2px);
    border-color: var(--primary);
    box-shadow: var(--shadow-card);
}
.cta-contact i {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    color: var(--primary);
    font-size: 20px;
    background: rgba(200, 25, 25, 0.06);
    border-radius: 50%;
}
.cta-contact div {
    display: flex;
    flex-direction: column;
}
.cta-contact small {
    margin-bottom: 3px;
    color: var(--text-soft);
    font-size: 12px;
}
.cta-contact strong {
    color: var(--title-color);
    font-size: 14px;
}

/* BOTÓN */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 6px;
    padding: 15px 22px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    background: var(--primary);
    border-radius: var(--radius-sm);
    transition:
        background 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}
.cta-button:hover {
    color: #ffffff;
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}
.cta-button i {
    transition: transform 0.25s ease;
}
.cta-button:hover i {
    transform: translateX(4px);
}

/* =========================================
   FOOTER
========================================= */
.site-footer {
    border-top: 1px solid var(--border-color);
    padding: 35px 0;
    background: var(--card-bg);
}
.footer-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 40px;
}

/* =========================================
   LOGO
========================================= */
.footer-brand {
    display: flex;
    align-items: center;
}
.footer-logo {
    width: 230px;
    height: auto;
    display: block;
}

/* =========================================
   NAVEGACIÓN
========================================= */
.footer-nav {
    display: flex;
    align-items: center;
    gap: 25px;
}
.footer-nav a {
    color: var(--muted-color);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease;
}
.footer-nav a:hover {
    color: var(--primary);
}

/* =========================================
   COPYRIGHT
========================================= */
.footer-copy {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;

    color: var(--muted-color);
    font-size: 13px;
    white-space: nowrap;
}
.footer-copy a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
}
.footer-copy a:hover {
    color: var(--primary);
}
.footer-separator {
    color: var(--border-color);
}

/* =========================================
    MODAL
========================================= */
.modal-content{
    border: 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 90px rgba(15,23,42,.28);
}
.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 30px;
    border-bottom: 1px solid #eef0f3;
    background: #fff;
}
.modal-label {
    color: #64748b;
    font-size: 12px;
    font-weight: 750;
    letter-spacing: 1.4px;
}
.modal-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 10px;
    background: transparent;
    color: #475569;
    cursor: pointer;
    transition: .2s ease;
}
.modal-close:hover {
    background: #f1f5f9;
    color: var(--primary);
}
.modal-body {
    display: grid;
    grid-template-columns: 47% 53%;
    min-height: 540px;
}

/* =========================================================
RESPONSIVE CLEAN VERSION
========================================================= */

@media (max-width:1200px){    
    .hero-grid{
        grid-template-columns:1fr;
        gap:50px;
        text-align:center;
    }

    .hero-text p{
        margin:auto auto 38px;
    }

    .hero-buttons{
        justify-content:center;
    }

    .hero-card{
        max-width:800px;
        margin:auto;
    }

    .products-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .benefits-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .cta-box{
        flex-direction:column;
        text-align:center;
    }

}

@media (max-width:992px){

    .navbar{
        flex-direction:column;
        height:auto;
        padding:20px 0;
        gap:20px;    
    }

    .menu{
        flex-wrap:wrap;
        justify-content:center;
    }

    .hero{
        padding-top:180px;
        padding-bottom:80px;
    }

    .hero-text h1{
        font-size:60px;
    }

    .section-title{
        font-size:46px;
    }

    .cta-text h2{
        font-size:48px;
    }

    .phone h3{
        font-size:38px;
    }

}

@media (max-width:768px){

    .container{
        width:92%;
    }

    .navbar{
        flex-direction:row;
        justify-content:space-between;
        align-items:center;
        padding:16px 0;
    }

    .menu{
        display:none;
    }
    
    .navbar .btn-cotizacion{
        display: none;
    }

    .btn-hero{
        padding:12px 18px;
        font-size:14px;
    }

    .logo h2{
        font-size:22px;
    }
	
    .hero{
        padding-top:140px;
        min-height:auto;
    }

    .hero-grid{
        gap:40px;
    }

    .hero-text h1{
        font-size:48px;
        line-height:1;
    }

    .hero-text p{
        font-size:18px;
    }

    .hero-buttons .btn-custom{
        width:100%;
        justify-content:center;
    }

    .hero-buttons{
        flex-direction:column;
    }

    .hero-card{
        padding:20px;
        border-radius:24px;
    }

    .brands-row{
        justify-content:center;
        gap:20px;
    }

    .brand{
        font-size:18px;
    }

    .section-title{
        font-size:36px;
    }

    .section-subtitle{
        font-size:16px;
        margin-bottom:50px;
    }

    .products-grid{
        grid-template-columns:1fr;
    }

    .product-card{
        border-radius:24px;
    }

    .product-body{
        padding:24px;
    }

    .product-image{
        height:200px;
    }

    .product-top{
        font-size:20px;
    }

    .price{
        font-size:32px;
    }

    .benefits-grid{
        grid-template-columns:1fr;
    }

    .benefit-card{
        padding:28px;
    }

    .cta-box{
        padding:40px 25px;
        border-radius:28px;
    }

    .cta-text h2{
        font-size:38px;
    }

    .cta-text p{
        font-size:16px;
    }

    .phone{
        width:100%;
        padding:24px;
    }

    .phone h3{
        font-size:30px;
    }

    .footer-grid{
        flex-direction:column;
        text-align:center;
    }

}

@media (max-width:480px){


    #img-logo{
        width: 300px;
    }

    .hero-text h1{
        font-size:38px;
    }

    .hero-text p{
        font-size:16px;
    }

    .logo h2{
        font-size:22px;
    }

    .logo-box{
        width:48px;
        height:48px;
    }

    .section-title{
        font-size:30px;
    }

    .product-image{
        height:170px;
    }

    .price{
        font-size:28px;
    }

    .cta-text h2{
        font-size:32px;
    }

    .phone h3{
        font-size:22px;
    }

    .extra{
        display: none;
    }

    .brand {
        width: 110px;
    }
}
