*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Segoe UI',Tahoma,Geneva,Verdana,sans-serif;
}

html{
    scroll-behavior:smooth;
}

body{
    background:linear-gradient(135deg,#111827,#1F2937,#0F172A);
    color:#FFF;
}

/*======================
HEADER
======================*/

header{

    background:linear-gradient(90deg,#050505,#161616,#202020);
    border-bottom:1px solid #2b2b2b;
    position:sticky;
    top:0;
    z-index:999;
    box-shadow:0 5px 20px rgba(0,0,0,.45);

}

.header-container{

    width:90%;
    max-width:1400px;
    margin:auto;

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:20px 0;

}

.logo{
   
   
    font-size:30px;
    font-weight:bold;
    letter-spacing:2px;

}

nav ul{

    display:flex;
    list-style:none;
    gap:35px;

}

nav a{

    color:#ddd;
    text-decoration:none;
    font-size:16px;
    transition:.30s;

}

nav a:hover{

    color:#3BA7FF;

}

.hero{

    text-align:center;
    padding:70px 20px 40px;

}

.hero h1{

    font-size:42px;
    margin-bottom:15px;

}

.hero p{

    color:#bfbfbf;
    font-size:18px;

}

.container{

    width:90%;
    max-width:1400px;
    margin:50px auto;

}

.grid{

    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;

}

.card{

    background:#1E293B;
    border:1px solid #334155;
    border-radius:14px;
    overflow:hidden;
    transition:.35s;
    box-shadow:0 10px 25px rgba(0,0,0,.30);

}

.card:hover{

    transform:translateY(-8px);
    box-shadow:0 20px 40px rgba(0,0,0,.45);
    border-color:#3BA7FF;

}

.image-placeholder{

    height:220px;
    background:#2D3748;

    display:flex;
    justify-content:center;
    align-items:center;

    color:#888;
    font-size:20px;

}

.content{

    padding:25px;

}

.content h3{

    color:#FFF;
    text-align:center;
    font-size:22px;

}

@media(max-width:950px){

.grid{

grid-template-columns:repeat(2,1fr);

}

.header-container{

flex-direction:column;
gap:20px;

}

nav ul{

flex-wrap:wrap;
justify-content:center;

}

}

@media(max-width:650px){

.grid{

grid-template-columns:1fr;

}

.hero h1{

font-size:32px;

}

nav ul{

gap:18px;

}

}

/*======================
IMÁGENES DE LAS TARJETAS
======================*/

.image-placeholder{
   
    overflow:hidden;
    background-color: white;
    
}

.image-placeholder img{
    max-width:100%;
    max-height:100%;
    width:auto;
    height:auto;
    object-fit:contain;
    display:block;
    transition:transform .3s ease;
}

.card:hover .image-placeholder img{
    transform:scale(1.05);
}

/*======================
IMÁGENES DEL LOGO
======================*/


.image-placeholder-logo{
   
    overflow:hidden;   
    
}

.image-placeholder-logo img{
    max-width:20%;
    max-height:20%;
    width:auto;
    height:auto;
    object-fit:contain;
    display:block;
    transition:transform .3s ease;
}

.card:hover .image-placeholder-logo img{
    transform:scale(1.05);
}

/*======================
FOOTER
======================*/

footer{
    margin-top:60px;
    background:linear-gradient(90deg,#050505,#101010,#1a1a1a);
    border-top:1px solid #2f2f2f;
    padding:50px 20px 20px;
}

.footer-container{
    max-width:1200px;
    margin:auto;
    text-align:center;
}

.footer-title{
    font-size:34px;
    font-weight:bold;
    margin-bottom:15px;

    background:linear-gradient(90deg,#ffffff,#d9d9d9,#f5f5f5,#bfbfbf);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
    background-clip:text;
    color:transparent;

    letter-spacing:2px;
}

.footer-text{
    color:#bcbcbc;
    font-size:16px;
    line-height:1.8;
    margin-bottom:25px;
}

.footer-copy{
    border-top:1px solid #333;
    padding-top:20px;
    color:#8f8f8f;
    font-size:14px;
}

/*======================
BOTÓN WHATSAPP
======================*/

.whatsapp{
    position:fixed;
    bottom:25px;
    right:25px;
    width:65px;
    height:65px;
    background:#25D366;
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    text-decoration:none;
    box-shadow:0 8px 20px rgba(0,0,0,.35);
    transition:.3s;
    z-index:1000;
}

.whatsapp:hover{
    transform:scale(1.12);
    box-shadow:0 12px 25px rgba(37,211,102,.45);
}

.whatsapp img{
    width:38px;
    height:38px;
}

/*=====================================
MODAL
=====================================*/

.modal{

    display:none;

    position:fixed;

    z-index:9999;

    left:0;
    top:0;

    width:100%;
    height:100%;

    background:rgba(0,0,0,.85);

    backdrop-filter:blur(6px);

}

.modal-content{

    width:85%;
    max-width:1100px;

    margin:40px auto;

    background:#1E293B;

    border-radius:15px;

    padding:30px;

    position:relative;

    animation:aparecer .3s;

}

@keyframes aparecer{

from{

opacity:0;
transform:scale(.9);

}

to{

opacity:1;
transform:scale(1);

}

}

.cerrar{

    position:absolute;

    right:25px;

    top:20px;

    color:white;

    font-size:35px;

    cursor:pointer;

}

#tituloModal{

    text-align:center;

    margin-bottom:35px;

    color:white;

}

.modal-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:25px;

}

.marca{

    background:#283548;

    border-radius:10px;

    overflow:hidden;

    text-align:center;

    padding-bottom:20px;

    transition:.3s;

}

.marca:hover{

    transform:translateY(-5px);

}

.marca img{

    width:100%;

    height:180px;

    object-fit:contain;

    background:white;

    padding:15px;

}

.marca h3{

    margin:15px 0;

    color:white;

}

.marca a{

    display:inline-block;

    background:#25D366;

    color:white;

    padding:10px 18px;

    border-radius:6px;

    text-decoration:none;

    font-weight:bold;

}

@media(max-width:900px){

.modal-grid{

grid-template-columns:repeat(2,1fr);

}

}

@media(max-width:600px){

.modal-content{

width:95%;

margin:20px auto;

padding:20px;

}

.modal-grid{

grid-template-columns:1fr;

}

}