/* ==========================================
   SERENTEC WEB
   Autor: Serentec
========================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {

    font-family: 'Poppins', sans-serif;
    background: #f5f7fb;
    color: #333;
}

/*==========================
    CONTENEDOR
==========================*/

.container {

    width: 90%;
    max-width: 1400px;
    margin: auto;
}

/*==========================
        HEADER
==========================*/

header {

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    background: rgba(255, 255, 255, .98);

    backdrop-filter: blur(10px);

    box-shadow: 0 2px 20px rgba(0, 0, 0, .08);

    z-index: 9999;

}

header .container {

    display: flex;

    justify-content: space-between;

    align-items: center;

    height: 80px;

}

/*==========================
        LOGO
==========================*/

.logo {

    font-size: 32px;

    font-weight: 800;

    color: #0056D6;

    letter-spacing: 2px;

}

.logo img {
    height: 170px;
    width: 300px;
    object-fit: contain;
}

/*==========================
        BODY
==========================*/

body {

    padding-top: 80px;

}

/*==========================
        MENU
==========================*/

nav ul {

    display: flex;

    list-style: none;

    gap: 35px;
}

nav ul li a {

    text-decoration: none;

    color: #222;

    font-weight: 500;

    transition: .3s;
}

nav ul li a:hover {

    color: #0056D6;
}

/*==========================
      BOTON PRINCIPAL
==========================*/

.btn {

    background: #0056D6;

    color: white;

    padding: 14px 28px;

    border-radius: 50px;

    text-decoration: none;

    font-weight: 600;

    transition: .3s;
}

.btn:hover {

    background: #003fa5;
}

/*==========================
      BOTON SECUNDARIO
==========================*/

.btn-outline {

    border: 2px solid white;

    color: white;

    padding: 14px 28px;

    border-radius: 50px;

    text-decoration: none;

    font-weight: 600;

    transition: .3s;
}

.btn-outline:hover {

    background: white;

    color: #0056D6;
}

/*==========================
          HERO
==========================*/

.hero {

    min-height: 550px;

    padding-top: 120px;
    padding-bottom: 80px;

    background:
        linear-gradient(rgba(0, 0, 0, .60),
            rgba(0, 0, 0, .60)),
        url("../img/hero.jpg");

    background-size: cover;
    background-position: center;

    display: flex;
    justify-content: center;
    align-items: center;

    text-align: center;

    color: white;
}

.hero-content {

    max-width: 850px;

    margin: auto;
}

.hero h1 {

    font-size: 48px;

    font-weight: 700;

    margin-bottom: 20px;

    line-height: 1.2;
}

.hero p {

    font-size: 20px;

    line-height: 1.8;

    margin-bottom: 35px;

    color: rgba(255, 255, 255, .90);
}

.buttons {

    display: flex;

    justify-content: center;

    gap: 20px;

    flex-wrap: wrap;
}

/*====================================
        CATEGORÍAS
====================================*/

.categories {

    padding: 100px 0;

    background: #0B1F3A;

}

/* TITULO */

.categories .section-title {

    text-align: center;

    margin-bottom: 60px;

}

.categories .section-title span {

    display: block;

    color: #0d6efd;

    font-size: 14px;

    font-weight: 700;

    letter-spacing: 3px;

    margin-bottom: 12px;

}

.categories .section-title h2 {

    color: #FFFFFF;

    font-size: 48px;

    font-weight: 700;

    margin-bottom: 20px;

}

.categories .section-title p {

    max-width: 700px;

    margin: auto;

    color: rgba(255, 255, 255, .75);

    font-size: 18px;

    line-height: 1.8;

}

/* GRID */

.hero-categories {

    margin-top: 60px;

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 20px;

}

/* TARJETAS */

.hero-categories a {

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 12px;

    min-height: 140px;

    text-decoration: none;

    color: white;

    background: rgba(255, 255, 255, .08);

    border: 1px solid rgba(255, 255, 255, .15);

    border-radius: 15px;

    transition: .3s;

}

.hero-categories a:hover {

    background: #0056D6;

    transform: translateY(-8px);

}

/* ICONOS */

.hero-categories i {

    font-size: 38px;

    color: #0d6efd;

}

/* TEXTO */

.hero-categories span {

    font-size: 15px;

    font-weight: 600;

    text-align: center;

}

/*====================================
        MARCAS
====================================*/

.brands {

    background: #081120;

    padding: 90px 0;

    overflow: hidden;

}

.brands h2 {

    color: white;

    text-align: center;

    font-size: 42px;

    margin-bottom: 60px;

}

/* Separación entre filas */

.brands-slider {

    overflow: hidden;

    margin: 35px 0;

}

/* Carrusel */

.brands-track {

    display: flex;

    width: max-content;

    gap: 30px;

    animation: scrollLeft 35s linear infinite;

}

/* Segunda fila */

.reverse .brands-track {

    animation: scrollRight 35s linear infinite;

}

/* Pausar al pasar el mouse */

.brands-slider:hover .brands-track {

    animation-play-state: paused;

}

/* Tarjetas */

.brands-track img {

    width: 180px;

    height: 100px;

    object-fit: contain;

    background: white;

    padding: 18px;

    border-radius: 15px;

    flex-shrink: 0;

    transition: .35s;

}

/* Hover */

.brands-track img:hover {

    transform: translateY(-8px) scale(1.05);

    box-shadow: 0 15px 40px rgba(0, 0, 0, .35);

}

/* Animaciones */

@keyframes scrollLeft {

    from {

        transform: translateX(0);

    }

    to {

        transform: translateX(-50%);

    }

}

@keyframes scrollRight {

    from {

        transform: translateX(-50%);

    }

    to {

        transform: translateX(0);

    }

}
/*====================================
        PROMOCIONES
====================================*/

.promotions{

    padding:120px 0;

    background:#f5f7fb;

}

/*====================================
        TITULO
====================================*/

.promotions .section-title{

    text-align:center;

    max-width:820px;

    margin:0 auto 60px;

}

.promotions .section-title span{

    display:block;

    color:#0056D6;

    font-size:14px;

    font-weight:700;

    letter-spacing:3px;

    margin-bottom:10px;

}

.promotions .section-title h2{

    font-size:48px;

    color:#111827;

    margin-bottom:15px;

}

.promotions .section-title p{

    max-width:650px;

    margin:auto;

    color:#64748b;

    font-size:18px;

    line-height:1.7;

}

/*====================================
            SWIPER
====================================*/

.promocionesSwiper{

    max-width:1500px;

    margin:auto;

    padding:20px 20px 70px;

    overflow:hidden;

}

.promocionesSwiper .swiper-wrapper{

    align-items:stretch;

}

.promocionesSwiper .swiper-slide{

    display:flex;

    justify-content:center;

    align-items:stretch;

    height:auto;

}

/*====================================
        TARJETA
====================================*/

.promo-card{

    width:100%;

    max-width:390px;

    background:#fff;

    border-radius:22px;

    overflow:hidden;

    border:1px solid #e8edf5;

    box-shadow:0 12px 30px rgba(15,23,42,.08);

    transition:.35s;

    display:flex;

    flex-direction:column;

}

.promo-card:hover{

    transform:translateY(-8px);

    box-shadow:0 20px 45px rgba(0,0,0,.16);

}

/*====================================
            IMAGEN
====================================*/

.promo-image{

    position: relative;
    background: #f5f5f7;

    height: 260px;

    display: flex;
    justify-content: center;
    align-items: center;

    overflow: hidden;
}

.promo-image img{

    width: auto;

    height: 320px;   /* <-- Aumenta este valor */

    max-width: none;

    max-height: none;

    object-fit: contain;

    transition: .35s;
}

.promo-card:hover .promo-image img{

    transform: scale(1.08);

}

/*====================================
            BADGE IMAGEN
====================================*/

.promo-image .promo-badge{

    position:absolute;

    top:18px;

    left:18px;

    margin:0;

}

/*====================================
        CONTENIDO
====================================*/

.promo-content{

    display:flex;

    flex-direction:column;

    flex:1;

    padding:12px;

    color:#111827;

}

/*====================================
            BADGE
====================================*/

.promo-badge{

    display:inline-flex;

    align-items:center;

    gap:8px;

    width:max-content;

    background:#0056D6;

    color:#fff;

    padding:8px 16px;

    border-radius:50px;

    font-size:12px;

    font-weight:700;

}

.promo-badge i{

    font-size:12px;

}

/*====================================
            MARCA
====================================*/

.promo-content h3{

    margin:0 0 4px;

    font-size:15px;

    color:#64748b;

    font-weight:600;

}

/*====================================
            TITULO
====================================*/

.promo-content h2{

    font-size:22px;

    line-height:1.15;

    color:#111827;

    font-weight:700;

    margin-bottom:10px;

}

/*====================================
        DESCRIPCION
====================================*/

.promo-content p{

    font-size:13px;

    line-height:1.55;

    color:#475569;

    margin-bottom:14px;

}

.copy-model{

    color:#0056D6;

    font-weight:700;

    cursor:pointer;

    user-select:all;

    transition:.3s;

}

.copy-model:hover{

    color:#003d99;

    text-decoration:underline;

}
/*====================================
            PRECIO
====================================*/

.promo-price{

    margin-top:auto;

    margin-bottom:16px;

    font-size:15px;

    color:#64748b;

}

.promo-price strong{

    display:block;

    margin-top:4px;

    font-size:28px;

    color:#0056D6;

    font-weight:800;

}

/*====================================
            BOTON
====================================*/

.promo-content .btn{

    display:flex;

    align-items:center;

    justify-content:center;

    gap:8px;

    width:100%;

    height:40px;

    padding:0;

    border-radius:12px;

    background:linear-gradient(135deg,#0d6efd,#0056d6);

    color:#fff;

    font-size:15px;

    font-weight:600;

    letter-spacing:.3px;

    text-decoration:none;

    transition:.30s ease;

    box-shadow:0 8px 18px rgba(13,110,253,.28);

}

.promo-content .btn:hover{

    transform:translateY(-2px);

    background:linear-gradient(135deg,#0b5ed7,#004fc5);

    box-shadow:0 12px 24px rgba(13,110,253,.35);

}

.promo-content .btn:active{

    transform:scale(.98);

}

/*====================================
        EFECTO BRILLO
====================================*/

.promo-card::after{

    content:"";

    position:absolute;

    inset:0;

    border-radius:22px;

    pointer-events:none;

    background:linear-gradient(
        135deg,
        transparent 30%,
        rgba(255,255,255,.18),
        transparent 70%
    );

    opacity:0;

    transition:.35s;

}

.promo-card:hover::after{

    opacity:1;

}

/*====================================
        RESPONSIVE
====================================*/

@media(max-width:1400px){

    .promocionesSwiper{

        max-width:1250px;

    }

}

@media(max-width:1200px){

    .promotions{

        padding:100px 0;

    }

    .promotions .section-title h2{

        font-size:42px;

    }

    .promo-card{

        max-width:340px;

    }

    .promo-image{

        height:220px;

    }

    .promo-image img{

        max-width:220px;

        max-height:165px;

    }

    .promo-content{

        padding:22px;

    }

    .promo-content h2{

        font-size:30px;

    }

    .promo-price strong{

        font-size:32px;

    }

}

@media(max-width:991px){

    .promotions{

        padding:80px 0;

    }

    .promotions .section-title{

        margin-bottom:40px;

    }

    .promotions .section-title h2{

        font-size:36px;

    }

    .promotions .section-title p{

        font-size:16px;

    }

    .promo-card{

        max-width:330px;

    }

    .promo-image{

        height:210px;

        padding:18px;

    }

    .promo-image img{

        max-width:210px;

        max-height:150px;

    }

    .promo-content{

        padding:20px;

    }

    .promo-content h2{

        font-size:28px;

    }

    .promo-content p{

        font-size:14px;

    }

    .promo-price strong{

        font-size:30px;

    }

}
@media(max-width:768px){

    .promotions{
        padding:70px 0;
    }

    .promotions .section-title h2{
        font-size:30px;
    }

    .promotions .section-title p{
        font-size:15px;
    }

    .promocionesSwiper{
        padding:10px 10px 50px;
    }

    .promo-card{
        max-width:100%;
        border-radius:18px;
    }

    .promo-image{
        height:250px;
        padding:8px;
    }

    .promo-image img{
        width:100%;
        height:100%;
        max-width:none;
        max-height:none;
        object-fit:contain;
        transform:scale(1.25);
    }

    .promo-content{
        padding:18px;
    }

    .promo-badge{
        font-size:11px;
        padding:7px 14px;
    }

    .promo-content h3{
        font-size:15px;
    }

    .promo-content h2{
        font-size:22px;
    }

    .promo-content p{
        font-size:13px;
        line-height:1.55;
    }

    .promo-price{
        font-size:14px;
    }

    .promo-price strong{
        font-size:26px;
    }

    .promo-content .btn{
        height:42px;
        font-size:13px;
    }

}

@media(max-width:480px){

    .promo-image{
        height:370px;
    }

    .promo-image img{
        width:100%;
        height:100%;
        max-width:none;
        max-height:none;
        object-fit:contain;
        transform:scale(1.35);
    }

}



.promo-filters {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 35px auto 40px;
}

.promo-filter {
    border: 1px solid #d9e1ec;
    background: #ffffff;
    color: #526174;
    padding: 11px 20px;
    border-radius: 30px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

.promo-filter i {
    margin-right: 6px;
}

.promo-filter:hover {
    border-color: #0d6efd;
    color: #0d6efd;
}

.promo-filter.active {
    background: #0d6efd;
    border-color: #0d6efd;
    color: #ffffff;
    box-shadow: 0 6px 15px rgba(13, 110, 253, 0.20);
}






.category-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, .75);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999999;
    padding: 20px;
}

.category-modal-content {
    background: #ffffff;
    width: 100%;
    max-width: 700px;
    padding: 40px;
    border-radius: 20px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .3);
}

.category-modal-content h3 {
    font-size: 32px;
    color: #0f172a;
    margin-bottom: 15px;
}

.category-modal-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #64748b;
}

.category-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: #f1f5f9;
    color: #0f172a;
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .3s;
}

.category-modal-close:hover {
    background: #2563eb;
    color: #fff;
}


/* =========================
   NOSOTROS
========================= */

.about {
    padding: 100px 0;
    background: #ffffff;
}

.about-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    margin-top: 60px;
    align-items: start;
}

.about-text {
    text-align: left;
}

.about-text h3 {
    font-size: 42px;
    color: #0f172a;
    margin-bottom: 25px;
    line-height: 1.2;
}

.about-text p {
    font-size: 17px;
    line-height: 1.9;
    color: #64748b;
    margin-bottom: 20px;
}

.about-cards {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.about-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 30px;
    transition: .3s;
    box-shadow: 0 5px 20px rgba(15, 23, 42, .05);
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(15, 23, 42, .12);
}

.about-card i {
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    background: rgba(37, 99, 235, .1);
    color: #2563eb;
    font-size: 28px;
    margin-bottom: 20px;
}

.about-card h4 {
    font-size: 24px;
    color: #0f172a;
    margin-bottom: 12px;
}

.about-card p {
    color: #64748b;
    line-height: 1.8;
    margin: 0;
}

.about .section-title {
    text-align: center;
    margin-bottom: 20px;
}

.about .section-title span {
    display: inline-block;
    color: #2563eb;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.about .section-title h2 {
    font-size: 48px;
    color: #0f172a;
    margin-bottom: 20px;
}

.about .section-title p {
    max-width: 850px;
    margin: 0 auto;
    color: #64748b;
    line-height: 1.8;
}

@media(max-width:991px) {

    .about {
        padding: 80px 0;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-text {
        text-align: center;
    }

    .about-text h3 {
        font-size: 34px;
    }

    .about .section-title h2 {
        font-size: 38px;
    }

}

@media(max-width:576px) {

    .about {
        padding: 60px 0;
    }

    .about-text h3 {
        font-size: 28px;
    }

    .about .section-title h2 {
        font-size: 30px;
    }

    .about-card {
        padding: 25px;
    }

}


.contact-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .75);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999999;
    padding: 20px;
}

.contact-modal-content {
    background: #fff;
    max-width: 650px;
    width: 100%;
    border-radius: 20px;
    padding: 40px;
    position: relative;
}

.contact-modal-content h3 {
    font-size: 32px;
    color: #0f172a;
    margin-bottom: 30px;
}

.contact-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 28px;
    background: #f1f5f9;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-item i {
    color: #2563eb;
    font-size: 22px;
    width: 30px;
}

.contact-item strong {
    display: block;
    color: #0f172a;
    margin-bottom: 5px;
}

.contact-item p {
    color: #64748b;
    margin: 0;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer {
    background: #0f172a;
    color: #ffffff;
    padding: 25px 20px;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: auto;
}

.footer-links {
    margin-top: 10px;
}

.footer-links a {
    color: #60a5fa;
    text-decoration: none;
    margin: 0 12px;
    font-size: 14px;
}

.footer-links a:hover {
    text-decoration: underline;
}


.promocionesSwiper{
    cursor: grab;
}

.promocionesSwiper:active{
    cursor: grabbing;
}

.swiper-slide{
    user-select: none;
}

.swiper-wrapper{
    transition-timing-function: ease;
}
/* ==========================
   MENU HAMBURGUESA
========================== */

.menu-toggle{
    display:none;
}

/* ==========================
   RESPONSIVE MOVIL
========================== */

@media (max-width:768px){

    /* HEADER */

    header .container{
        display:flex;
        align-items:center;
        justify-content:space-between;
        height:60px;
        position:relative;
        gap:10px;
    }

    /* LOGO */

    .logo{
        flex:1;
    }

    .logo img{
        width:90px;
        height:auto;
    }

    /* REDES SOCIALES */

    .social-links{
        display:flex;
        align-items:center;
        gap:8px;
        margin-left:auto;
        margin-right:12px;
    }

    .social-links .btn{
        width:34px;
        height:34px;
        min-width:34px;
        min-height:34px;

        display:flex;
        align-items:center;
        justify-content:center;

        padding:0;

        border-radius:50%;

        font-size:14px;
    }

    /* BOTON HAMBURGUESA */

    .menu-toggle{
        display:flex;
        align-items:center;
        justify-content:center;

        width:40px;
        height:40px;

        font-size:26px;

        color:#0056D6;

        cursor:pointer;

        margin:0;

        flex:none;
    }

    /* MENU */

    nav{
        display:none;

        position:absolute;

        top:60px;

        left:0;

        width:100%;

        background:#fff;

        box-shadow:0 10px 20px rgba(0,0,0,.1);

        z-index:9999;
    }

    nav.active{
        display:block;
    }

    nav ul{
        display:flex;
        flex-direction:column;
        gap:0;
        margin:0;
        padding:0;
        list-style:none;
    }

    nav ul li{
        border-bottom:1px solid #eee;
    }

    nav ul li a{
        display:block;
        padding:16px;
        text-align:center;
    }

    /* HERO */

    .hero h1{
        font-size:42px;
    }

    .hero p{
        font-size:18px;
    }

    /* CATEGORIAS */

    .hero-categories{
        grid-template-columns:repeat(2,1fr);
        gap:12px;
    }

    .hero-categories a{
        min-height:110px;
        padding:10px;
    }

    .hero-categories i{
        font-size:28px;
    }

    .hero-categories span{
        font-size:13px;
    }

    .categories .section-title h2{
        font-size:34px;
    }

}

header .container{
    display:flex;
    align-items:center;
}

.logo{
    margin-right:40px;
}

nav{
    margin-left:auto;
}

.social-links{
    display:flex;
    align-items:center;
    gap:12px;
    margin-left:25px;
}

@media (max-width:768px){

    .logo{
        order:1;
    }

    .social-links{
        order:2;
        margin-left:auto;
        margin-right:12px;
    }

    .menu-toggle{
        order:3;
    }

    nav{
        order:4;
    }

}

/* ================================
   MARCAS CON LAS QUE TRABAJAMOS
================================ */

.brands-section {
    width: 100%;
    padding: 80px 20px;
    background: #ffffff;
    box-sizing: border-box;
    overflow: hidden;
}

.brands-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    box-sizing: border-box;
}

.brands-section .section-tag {
    display: inline-block;
    margin-bottom: 8px;
    font-size: 16px;
    font-weight: 400;
    color: #1f2937;
}

.brands-section h2 {
    margin: 0 0 10px;
    font-size: 34px;
    font-weight: 700;
    color: #111827;
}

.brands-description {
    max-width: 800px;
    margin: 0 auto 45px;
    font-size: 17px;
    line-height: 1.6;
    color: #374151;
}


/* ================================
   GRID DE MARCAS
================================ */

.brands-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 22px;
    box-sizing: border-box;
}


/* ================================
   TARJETA
================================ */

.brand-card {
    height: 120px;
    padding: 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 18px;

    box-sizing: border-box;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}


/* ================================
   LOGO
================================ */

.brand-card img {
    max-width: 160px;
    max-height: 70px;

    width: auto;
    height: auto;

    object-fit: contain;

    filter: grayscale(100%);
    opacity: 0.70;

    transition:
        filter 0.3s ease,
        opacity 0.3s ease,
        transform 0.3s ease;
}


/* ================================
   HOVER
================================ */

.brand-card:hover {
    transform: translateY(-5px);
    border-color: #e5e7eb;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.brand-card:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}


/* ================================
   TABLET
================================ */

@media (max-width: 1000px) {

    .brands-grid {
        grid-template-columns: repeat(4, 1fr);
    }

}


/* ================================
   TABLET PEQUEÑA
================================ */

@media (max-width: 768px) {

    .brands-section {
        padding: 60px 16px;
    }

    .brands-section h2 {
        font-size: 28px;
    }

    .brands-description {
        font-size: 16px;
        margin-bottom: 35px;
    }

    .brands-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    .brand-card {
        height: 105px;
        padding: 15px;
    }

    .brand-card img {
        max-width: 125px;
        max-height: 55px;
    }

}


/* ================================
   CELULAR
================================ */

@media (max-width: 500px) {

    .brands-section {
        padding: 50px 16px;
    }

    .brands-section h2 {
        font-size: 27px;
        line-height: 1.25;
    }

    .brands-description {
        font-size: 15.5px;
        line-height: 1.5;
        margin-bottom: 30px;
    }

    .brands-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .brand-card {
        height: 95px;
        border-radius: 14px;
        padding: 10px;
    }

    .brand-card img {
        max-width: 110px;
        max-height: 50px;
    }

    /* Centrar la última marca cuando quede sola */
    .brands-grid .brand-card:last-child:nth-child(odd) {
        grid-column: 1 / 3;
        justify-self: center;
        width: calc(50% - 6px);
    }

}


/* ================================
   TELEFONOS MUY PEQUEÑOS
================================ */

@media (max-width: 380px) {

    .brands-section {
        padding: 45px 12px;
    }

    .brands-section h2 {
        font-size: 25px;
    }

    .brands-description {
        font-size: 15px;
    }

    .brands-grid {
        gap: 10px;
    }

    .brand-card {
        height: 88px;
        padding: 8px;
    }

    .brand-card img {
        max-width: 105px;
        max-height: 48px;
    }

    /* Mantener centrada la última marca */
    .brands-grid .brand-card:last-child:nth-child(odd) {
        width: calc(50% - 5px);
    }

}


/*====================================
            SERVICIOS
====================================*/

.services-overview {

    padding: 120px 0;

    background: #ffffff;

}

/*====================================
        HEADER SERVICIOS
====================================*/

.services-header {

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;

    margin-bottom: 50px;

}

.services-icon {

    margin-bottom: 20px;

}

.services-icon i {

    font-size: 60px;

    color: #0056D6;

}

.services-title {

    text-align: center;

    max-width: 850px;

}

.services-title span {

    display: block;

    color: #0056D6;

    font-size: 14px;

    font-weight: 700;

    letter-spacing: 4px;

    text-transform: uppercase;

    margin-bottom: 15px;

}

.services-title h2 {

    font-size: 52px;

    font-weight: 800;

    color: #0B1F3A;

    line-height: 1.2;

}

/*====================================
        DESCRIPCIÓN
====================================*/

.services-description {

    max-width: 850px;

    margin: 0 auto 80px;

    text-align: center;

}

.services-description p {

    font-size: 17px;

    line-height: 1.9;

    color: #555;

    margin-bottom: 20px;

}

nav ul li a.pdf-link {

    color: #E53935;

    font-weight: 700;

}

/*====================================
            SECTORES
====================================*/


.service-detail {

    padding: 10px;
}

.detail-header {

    display: flex;

    align-items: center;

    gap: 20px;

    margin-bottom: 30px;

    padding-bottom: 20px;

    border-bottom: 1px solid #e5e5e5;
}

.detail-header i {

    width: 90px;

    height: 90px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: #0056D6;

    color: white;

    font-size: 40px;
}

.detail-header span {

    color: #0056D6;

    font-size: 13px;

    font-weight: 700;

    letter-spacing: 2px;
}

.detail-header h2 {

    font-size: 42px;

    color: #0B1F3A;

    margin-top: 5px;
}

.detail-intro {

    font-size: 17px;

    line-height: 1.9;

    color: #555;

    margin-bottom: 35px;
}

.detail-grid {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 25px;

    margin-bottom: 40px;
}

.detail-card {

    background: #f8fbff;

    padding: 25px;

    border-radius: 15px;

    border-left: 4px solid #0056D6;
}

.detail-card h3 {

    color: #0B1F3A;

    margin-bottom: 15px;
}

.detail-card ul {

    list-style: none;
}

.detail-card li {

    margin-bottom: 10px;

    color: #555;
}

.detail-card li::before {

    content: "✓ ";

    color: #0056D6;

    font-weight: bold;
}

.gallery {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;
}

.gallery-item {

    text-align: center;

}

.gallery-item img {

    width: 100%;

    height: 280px;

    object-fit: cover;

    border-radius: 18px;

    transition: .4s;

}

.gallery-item img:hover {

    transform: scale(1.05);

}

.gallery-item h4 {

    margin-top: 12px;

    color: #0B1F3A;
}

.close-modal {

    position: absolute;

    top: 20px;
    right: 25px;

    font-size: 32px;

    font-weight: 700;

    color: #666;

    cursor: pointer;

    transition: .3s;

}

.close-modal:hover {

    color: #0056D6;
    transform: rotate(90deg);

}



.modal {

    display: none;

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background: rgba(0, 0, 0, .8);

    z-index: 99999;

    overflow-y: auto;

}

.modal-content {

    background: #fff;

    width: 90%;

    max-width: 1200px;

    margin: 40px auto;

    padding: 40px;

    border-radius: 20px;

    position: relative;

}


.service-card {

    cursor: pointer;

}

.service-card:hover {

    transform: translateY(-8px);

}

.sectors-grid {

    display: grid;

    grid-template-columns: repeat(6, 160px);

    justify-content: center;

    gap: 15px;

    margin-bottom: 60px;

}

.sector-item {

    background: #ffffff;

    border-radius: 15px;

    padding: 20px 10px;

    text-align: center;

    box-shadow: 0 5px 15px rgba(0, 0, 0, .06);

    transition: .3s;

    min-height: 120px;

}

.sector-item:hover {

    transform: translateY(-8px);

    box-shadow: 0 20px 35px rgba(0, 0, 0, .12);

}

.sector-item i {

    font-size: 45px;

    color: #0056D6;

    margin-bottom: 18px;

}

.sector-item h3 {

    font-size: 18px;

    font-weight: 600;

    color: #0B1F3A;

}

/*====================================
        MISIÓN Y VISIÓN
====================================*/
.mission-vision {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 25px;

    max-width: 1200px;

    margin: auto;

}

.mv-card {

    min-height: 180px;

    padding: 20px 25px;

}

.mv-card:hover {

    transform: translateY(-6px);

}

.mv-card i {

    font-size: 40px;

    color: #0056D6;

    margin-bottom: 15px;

}

.mv-card h3 {

    font-size: 26px;

    color: #0B1F3A;

    margin-bottom: 12px;

    font-weight: 700;

}

.mv-card p {

    font-size: 15px;

    line-height: 1.7;

    color: #555;

}

/*====================================
        ANIMACIONES
====================================*/

.sector-item,
.mv-card {

    animation: fadeUp .8s ease forwards;

}

@keyframes fadeUp {

    from {

        opacity: 0;
        transform: translateY(30px);

    }

    to {

        opacity: 1;
        transform: translateY(0);

    }

}

/*====================================
            RESPONSIVE
====================================*/

@media(max-width:1200px) {

    .sectors-grid {

        grid-template-columns: repeat(3, 1fr);

    }

}

@media(max-width:992px) {

    .services-header {

        flex-direction: column;

        text-align: center;

    }

    .services-title {

        text-align: center;

    }

    .services-title h2 {

        font-size: 34px;

        max-width: 100%;

    }

    .sectors-grid {

        grid-template-columns: repeat(2, 1fr);

    }

    .mission-vision {

        grid-template-columns: 1fr;

    }

}

@media(max-width:576px) {

    .services-title h2 {

        font-size: 28px;

    }

    .services-description p {

        font-size: 16px;

    }

    .sectors-grid {

        grid-template-columns: 1fr;

    }

}

/*====================================
        TITULO SERVICIOS
====================================*/

.services-list .section-title {

    text-align: center;

    max-width: 900px;

    margin: 0 auto 60px;

}

.services-list .section-title span {

    display: inline-block;

    color: #0056D6;

    font-size: 14px;

    font-weight: 700;

    letter-spacing: 4px;

    text-transform: uppercase;

    margin-bottom: 15px;

    position: relative;

}

.services-list .section-title span::after {

    content: "";

    display: block;

    width: 60px;

    height: 3px;

    background: #0056D6;

    margin: 10px auto 0;

    border-radius: 50px;

}

.services-list .section-title h2 {

    font-size: 48px;

    font-weight: 800;

    color: #0B1F3A;

    line-height: 1.2;

    margin-bottom: 20px;

}

.services-list .section-title p {

    font-size: 18px;

    color: #666;

    line-height: 1.8;

    max-width: 750px;

    margin: 0 auto;

}

@media(max-width:768px) {

    .services-list .section-title h2 {

        font-size: 34px;

    }

    .services-list .section-title p {

        font-size: 16px;

    }

}

/*====================================
        SERVICIOS LISTA
====================================*/

.services-list {

    padding: 100px 0;

    background: #f7f9fc;

}

.services-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));

    gap: 25px;

    margin-top: 50px;

}

/* TARJETA */

.service-card {

    background: #ffffff;

    border-radius: 20px;

    padding: 30px 25px;

    min-height: 260px;

    text-align: center;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    box-shadow: 0 10px 25px rgba(0, 0, 0, .08);

    border-top: 4px solid #0056D6;

    transition: .35s ease;

    position: relative;

    overflow: hidden;

}

.service-card:hover {

    transform: translateY(-8px);

    box-shadow: 0 20px 40px rgba(0, 0, 0, .12);

}

/* EFECTO DECORATIVO */

.service-card::before {

    content: "";

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 4px;

    background: linear-gradient(90deg,
            #0056D6,
            #33A1FF);

}

/* ICONO */

.service-card i {

    width: 75px;

    height: 75px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: linear-gradient(135deg,
            #0056D6,
            #1E88FF);

    color: white;

    font-size: 30px;

    margin-bottom: 20px;

    box-shadow: 0 10px 20px rgba(0, 86, 214, .25);

}

/* TITULO */

.service-card h3 {

    font-size: 22px;

    font-weight: 700;

    color: #0B1F3A;

    text-align: center;

    line-height: 1.3;

    margin-bottom: 12px;

    min-height: 58px;

    display: flex;

    align-items: center;

    justify-content: center;

}

/* DESCRIPCION */

.service-card p {

    font-size: 15px;

    line-height: 1.7;

    color: #666;

    text-align: center;

    max-width: 280px;

    margin: 0 auto;

}

/* RESPONSIVE */

@media(max-width:1200px) {

    .services-grid {

        grid-template-columns: repeat(2, 1fr);

    }

}

@media(max-width:768px) {

    .services-grid {

        grid-template-columns: 1fr;

    }

    .service-card {

        min-height: 230px;

    }

}

.contact-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .75);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999999;
    padding: 20px;
}

.contact-modal-content {
    background: #fff;
    max-width: 650px;
    width: 100%;
    border-radius: 20px;
    padding: 40px;
    position: relative;
}

.contact-modal-content h3 {
    font-size: 32px;
    color: #0f172a;
    margin-bottom: 30px;
}

.contact-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 28px;
    background: #f1f5f9;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-item i {
    color: #2563eb;
    font-size: 22px;
    width: 30px;
}

.contact-item strong {
    display: block;
    color: #0f172a;
    margin-bottom: 5px;
}

.contact-item p {
    color: #64748b;
    margin: 0;
}


/*=====================================
    MODAL SERVICIOS RESPONSIVE
=====================================*/

@media (max-width:768px){

    .modal{

        padding:10px;

    }

    .modal-content{

        width:95%;
        max-width:95%;
        max-height:92vh;

        overflow-y:auto;

        border-radius:18px;

        padding:22px;
    }

    /* CERRAR */

    .close-modal{

        top:12px;
        right:15px;

        font-size:34px;
    }

    /* CABECERA */

    .detail-header{

        display:flex;
        align-items:center;
        gap:15px;

        margin-bottom:18px;
    }

    .detail-header i{

        font-size:48px;
        min-width:48px;
    }

    .detail-header span{

        font-size:11px;
        letter-spacing:2px;
    }

    .detail-header h2{

        font-size:34px;
        line-height:1.1;
        margin-top:5px;
    }

    /* TEXTO */

    .detail-intro{

        font-size:16px;
        line-height:1.8;
        margin-bottom:25px;
    }

    /* TARJETAS */

    .detail-grid{

        display:flex;
        flex-direction:column;
        gap:18px;
    }

    .detail-card{

        width:100%;
        padding:20px;
        border-radius:18px;
    }

    .detail-card h3{

        font-size:26px;
        margin-bottom:18px;
    }

    .detail-card ul{

        padding-left:18px;
    }

    .detail-card li{

        font-size:15px;
        line-height:1.6;
        margin-bottom:10px;
    }

    /* GALERÍA */

    .gallery{

        display:grid;
        grid-template-columns:repeat(2,1fr);

        gap:12px;

        margin-top:25px;
    }

    .gallery-item{

        width:100%;
    }

    .gallery-item img{

        width:100%;
        height:140px;

        object-fit:cover;

        border-radius:14px;
    }

    .gallery-item h4{

        font-size:14px;
        line-height:1.3;
        margin-top:8px;
    }

}
/* ==========================================
   TÍTULO - ÚLTIMO PROYECTO
========================================== */

.featured-project .section-title {
    text-align: center;
    max-width: 850px;
    margin: 75px auto 55px;
}

.featured-project .section-title span {
    display: inline-block;

    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;

    color: #666;

    margin-bottom: 10px;

    position: relative;
}


/* Línea decorativa */

.featured-project .section-title span::before,
.featured-project .section-title span::after {
    content: "";

    display: inline-block;

    width: 35px;
    height: 1px;

    background: #bbb;

    vertical-align: middle;

    margin: 0 12px;
}


.featured-project .section-title h2 {
    margin: 0 auto 14px;

    font-size: 42px;
    line-height: 1.15;

    font-weight: 700;

    color: #171717;

    letter-spacing: -0.8px;
}


.featured-project .section-title p {
    max-width: 700px;

    margin: 0 auto;

    font-size: 16px;
    line-height: 1.7;

    color: #666;
}


/* ==========================================
   RESPONSIVE - TÍTULO
========================================== */

@media (max-width: 768px) {

    .featured-project .section-title {
        margin-bottom: 35px;
        padding: 0 15px;
    }

    .featured-project .section-title h2 {
        font-size: 30px;
    }

    .featured-project .section-title p {
        font-size: 15px;
    }

    .featured-project .section-title span::before,
    .featured-project .section-title span::after {
        width: 20px;
        margin: 0 8px;
    }

}


/* ==========================================
   GALERÍA DEL PROYECTO
========================================== */

.featured-project-gallery {
    position: relative;

    width: 100%;
    min-width: 0;
}


/* ==========================================
   ETIQUETA
========================================== */

.featured-project-label {
    position: absolute;

    top: 20px;
    left: 20px;

    z-index: 30;

    background: rgba(0, 0, 0, .78);

    color: #fff;

    padding: 9px 16px;

    border-radius: 30px;

    font-size: 13px;
    font-weight: 600;

    backdrop-filter: blur(8px);

    box-shadow:
        0 6px 18px rgba(0, 0, 0, .15);
}


/* ==========================================
   CARRUSEL PRINCIPAL
========================================== */

.projectMainSwiper {
    position: relative;

    width: 100%;
    height: 520px;

    overflow: hidden;

    border-radius: 20px;

    /* Fondo visual de la galería */
    background:
        radial-gradient(
            circle at 20% 35%,
            rgba(92, 153, 215, .25),
            transparent 35%
        ),
        radial-gradient(
            circle at 82% 65%,
            rgba(115, 130, 160, .22),
            transparent 38%
        ),
        linear-gradient(
            135deg,
            #dfe5eb 0%,
            #f4f5f6 48%,
            #dce3ea 100%
        );

    box-shadow:
        0 15px 45px rgba(0, 0, 0, .08);

    border: 1px solid rgba(255, 255, 255, .9);
}


/* Capa suave del fondo */

.projectMainSwiper::before {
    content: "";

    position: absolute;

    inset: 0;

    background:
        radial-gradient(
            circle at center,
            rgba(255, 255, 255, .35),
            transparent 60%
        );

    pointer-events: none;

    z-index: 0;
}


/* ==========================================
   CONTENEDOR DE SLIDES
========================================== */

.projectMainSwiper .swiper-wrapper {
    width: 100%;
    height: 100%;
}


.projectMainSwiper .swiper-slide {
    position: relative;

    width: 100%;
    height: 100%;

    display: flex;

    align-items: center;
    justify-content: center;

    overflow: hidden;

    background: transparent;
}


/* ==========================================
   IMAGEN PRINCIPAL
========================================== */

.projectMainSwiper .swiper-slide img {
    position: relative;

    z-index: 2;

    display: block;

    width: auto !important;
    height: auto !important;

    max-width: 88% !important;
    max-height: 88% !important;

    object-fit: contain !important;

    object-position: center center;

    margin: auto;

    border-radius: 5px;

    background: #fff;

    box-shadow:
        0 12px 35px rgba(0, 0, 0, .16);

    border: 5px solid rgba(255, 255, 255, .92);
}


/* ==========================================
   MINIATURAS - DISEÑO LIMPIO
========================================== */

.projectThumbsSwiper {
    width: 100%;

    margin-top: 14px;

    padding: 0;

    overflow: hidden;

    background: transparent;

    border: none;

    box-shadow: none;
}


.projectThumbsSwiper .swiper-wrapper {
    height: 82px;

    display: flex;

    align-items: center;
}


/* CADA MINIATURA */

.projectThumbsSwiper .swiper-slide {
    width: calc((100% - 50px) / 6) !important;
    height: 78px;

    flex-shrink: 0;

    opacity: .55;

    cursor: pointer;

    border-radius: 10px;

    overflow: hidden;

    border: 2px solid transparent;

    transition:
        opacity .25s ease,
        transform .25s ease,
        border-color .25s ease,
        box-shadow .25s ease;
}


/* HOVER */

.projectThumbsSwiper .swiper-slide:hover {
    opacity: .85;

    transform: translateY(-2px);
}


/* MINIATURA ACTIVA */

.projectThumbsSwiper .swiper-slide-thumb-active {
    opacity: 1;

    transform: translateY(-2px);

    border-color: #111;

    box-shadow:
        0 5px 14px rgba(0, 0, 0, .16);
}


/* IMAGEN */

.projectThumbsSwiper .swiper-slide img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* ==========================================
   TABLET
========================================== */

@media (max-width: 900px) {

    .projectThumbsSwiper .swiper-slide {
        width: calc((100% - 40px) / 5) !important;

        height: 75px;
    }

}


/* ==========================================
   MÓVIL
========================================== */

@media (max-width: 600px) {

    .projectThumbsSwiper {
        margin-top: 10px;
    }

    .projectThumbsSwiper .swiper-wrapper {
        height: 65px;
    }

    .projectThumbsSwiper .swiper-slide {
        width: 85px !important;

        height: 60px;
    }

}

/* ==========================================
   FLECHAS
========================================== */

.project-nav {
    position: absolute;

    top: 50%;

    z-index: 30;

    width: 46px;
    height: 46px;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 0;

    border: none;

    border-radius: 50%;

    background: rgba(255, 255, 255, .97);

    color: #111;

    cursor: pointer;

    transform: translateY(-50%);

    box-shadow:
        0 7px 22px rgba(0, 0, 0, .15);

    transition:
        background .25s ease,
        color .25s ease,
        transform .25s ease;
}

.project-nav:hover {
    background: #111;

    color: #fff;

    transform:
        translateY(-50%)
        scale(1.08);
}

.project-prev {
    left: 18px;
}

.project-next {
    right: 18px;
}

.project-nav i {
    font-size: 14px;
}


/* ==========================================
   CONTADOR
========================================== */

.project-counter {
    position: absolute;

    right: 18px;
    bottom: 18px;

    z-index: 30;

    display: flex;

    align-items: center;

    gap: 5px;

    padding: 8px 13px;

    border-radius: 20px;

    background: rgba(0, 0, 0, .78);

    color: #fff;

    font-size: 12px;

    line-height: 1;

    box-shadow:
        0 5px 15px rgba(0, 0, 0, .15);
}


/* ==========================================
   TARJETA DEL PROYECTO
========================================== */

.featured-project-card {
    display: grid;

    grid-template-columns: 1.25fr .9fr;

    gap: 55px;

    align-items: center;

    /* Más separación inferior */
    margin-bottom: 85px;
}


/* ==========================================
   INFORMACIÓN
========================================== */

.featured-project-info {
    padding: 20px 0;
}

.featured-project-tag {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    margin-bottom: 18px;

    font-size: 14px;
    font-weight: 600;

    color: #666;
}

.featured-project-tag i {
    color: #111;
}


.featured-project-info h3 {
    font-size: 32px;

    line-height: 1.2;

    margin-bottom: 20px;

    color: #111;
}


.featured-project-info > p {
    color: #666;

    line-height: 1.8;

    margin-bottom: 28px;
}


/* ==========================================
   ESTADÍSTICAS
========================================== */

.project-stats {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 14px;

    margin-bottom: 28px;
}


/* CADA ESTADÍSTICA CON MARCO */

.project-stat {
    position: relative;

    padding: 20px 12px;

    min-height: 105px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    border-radius: 15px;

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #f7f8fa
        );

    border: 1px solid #e0e3e7;

    box-shadow:
        0 7px 20px rgba(0, 0, 0, .05);

    text-align: center;

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}

.project-stat:hover {
    transform: translateY(-3px);

    border-color: #cfd4da;

    box-shadow:
        0 12px 28px rgba(0, 0, 0, .08);
}


/* PEQUEÑO DETALLE SUPERIOR */

.project-stat::before {
    content: "";

    position: absolute;

    top: 0;
    left: 22%;

    width: 56%;
    height: 3px;

    border-radius: 0 0 5px 5px;

    background: #111;

    opacity: .9;
}


.project-stat strong {
    display: block;

    font-size: 25px;

    font-weight: 700;

    color: #111;

    margin-bottom: 5px;
}

.project-stat span {
    font-size: 12px;

    color: #777;

    font-weight: 500;
}


/* ==========================================
   CARACTERÍSTICAS
========================================== */

.project-features {
    display: flex;

    flex-wrap: wrap;

    gap: 9px;

    margin-bottom: 30px;
}

.project-feature {
    display: inline-flex;

    align-items: center;

    gap: 7px;

    padding: 8px 13px;

    border: 1px solid #e0e3e7;

    border-radius: 30px;

    font-size: 12px;

    color: #555;

    background: #fff;

    box-shadow:
        0 3px 10px rgba(0, 0, 0, .03);

    transition:
        border-color .25s ease,
        transform .25s ease;
}

.project-feature:hover {
    border-color: #c9ced4;

    transform: translateY(-1px);
}

.project-feature i {
    font-size: 10px;

    color: #111;
}


/* ==========================================
   BOTÓN
========================================== */

.featured-project-button {
    display: inline-flex;

    align-items: center;

    gap: 12px;

    padding: 13px 20px;

    border-radius: 8px;

    background: #111;

    color: #fff;

    text-decoration: none;

    font-size: 14px;

    font-weight: 600;

    transition: all .3s ease;
}

.featured-project-button:hover {
    transform: translateY(-2px);

    box-shadow:
        0 10px 25px rgba(0, 0, 0, .15);
}

.featured-project-button i {
    transition: transform .3s ease;
}

.featured-project-button:hover i {
    transform: translateX(5px);
}


/* ==========================================
   RESPONSIVE - TABLET
========================================== */

@media (max-width: 900px) {

    .featured-project-card {
        grid-template-columns: 1fr;

        gap: 35px;

        margin-bottom: 65px;
    }

    .projectMainSwiper {
        height: 450px;
    }

    .project-nav {
        top: 50%;
    }

}


/* ==========================================
   RESPONSIVE - MÓVIL
========================================== */

@media (max-width: 600px) {

    .projectMainSwiper {
        height: 380px;

        border-radius: 14px;
    }

    .projectMainSwiper .swiper-slide img {
        max-width: 92% !important;

        max-height: 88% !important;

        border-width: 3px;
    }

    .projectThumbsSwiper {
        margin-top: 10px;

        padding: 5px;

        border-radius: 11px;
    }

    .projectThumbsSwiper .swiper-wrapper {
        height: 65px;
    }

    .projectThumbsSwiper .swiper-slide {
        width: 85px;

        height: 60px;
    }

    .project-nav {
        width: 38px;

        height: 38px;
    }

    .project-prev {
        left: 10px;
    }

    .project-next {
        right: 10px;
    }

    .project-counter {
        right: 12px;

        bottom: 12px;
    }

    .featured-project-label {
        top: 12px;

        left: 12px;

        font-size: 11px;

        padding: 6px 11px;
    }

    .featured-project-info h3 {
        font-size: 25px;
    }

    .project-stats {
        gap: 8px;
    }

    .project-stat {
        min-height: 90px;

        padding: 14px 8px;
    }

    .project-stat strong {
        font-size: 20px;
    }

    .project-stat span {
        font-size: 11px;
    }

    .featured-project-card {
        margin-bottom: 55px;
    }

}

/* ==========================================
   NOSOTROS - NUEVO DISEÑO
========================================== */

.about {
    padding: 100px 0;
    background: #eef1f5;
    border-bottom: 1px solid #dfe3e8;
}


/* ==========================================
   ENCABEZADO
========================================== */

.about .section-title {
    text-align: center;
    max-width: 850px;
    margin: 0 auto 65px;
}

.about .section-title span {
    display: inline-block;

    font-size: 13px;
    font-weight: 700;

    letter-spacing: 2.5px;
    text-transform: uppercase;

    color: #666;

    margin-bottom: 12px;
}

.about .section-title h2 {
    font-size: 42px;
    line-height: 1.15;

    color: #171717;

    margin-bottom: 18px;

    letter-spacing: -0.8px;
}

.about .section-title p {
    max-width: 720px;

    margin: 0 auto;

    color: #666;

    font-size: 16px;
    line-height: 1.7;
}


/* ==========================================
   CONTENIDO
========================================== */

.about-content {
    display: grid;

    grid-template-columns: 1.15fr 0.85fr;

    gap: 70px;

    align-items: center;
}


/* ==========================================
   TEXTO
========================================== */

.about-text {
    max-width: 700px;
}

.about-subtitle {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 1.8px;

    color: #555;

    margin-bottom: 15px;
}

.about-subtitle i {
    font-size: 14px;
}


.about-text h3 {
    font-size: 30px;

    line-height: 1.25;

    color: #171717;

    margin-bottom: 22px;
}

.about-text p {
    font-size: 15px;

    line-height: 1.8;

    color: #666;

    margin-bottom: 16px;
}


/* ==========================================
   DIFERENCIADORES
========================================== */

.about-highlights {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 15px 25px;

    margin-top: 30px;
}


.about-highlight {
    display: flex;

    align-items: flex-start;

    gap: 12px;
}


.about-highlight > i {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 25px;
    height: 25px;

    flex-shrink: 0;

    border-radius: 50%;

    background: #171717;

    color: #fff;

    font-size: 10px;
}


.about-highlight strong {
    display: block;

    font-size: 13px;

    color: #222;

    margin-bottom: 3px;
}


.about-highlight span {
    display: block;

    font-size: 12px;

    line-height: 1.5;

    color: #777;
}


/* ==========================================
   TARJETAS
========================================== */

.about-cards {
    display: flex;

    flex-direction: column;

    gap: 15px;
}


.about-card {
    display: flex;

    gap: 18px;

    padding: 25px;

    background: #fff;

    border: 1px solid #e9e9e9;

    border-radius: 18px;

    transition: all 0.3s ease;
}


.about-card:hover {
    transform: translateY(-4px);

    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}


/* ==========================================
   ICONO
========================================== */

.about-card-icon {
    width: 48px;
    height: 48px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: #f1f2f4;

    color: #171717;

    font-size: 18px;
}


.about-card-number {
    display: block;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 1.5px;

    color: #999;

    margin-bottom: 3px;
}


.about-card h4 {
    font-size: 18px;

    color: #171717;

    margin-bottom: 8px;
}


.about-card p {
    font-size: 13px;

    line-height: 1.65;

    color: #707070;

    margin: 0;
}


/* ==========================================
   TARJETA DESTACADA
========================================== */

.about-card-dark {
    background: #171717;

    border-color: #171717;

    color: #fff;
}


.about-card-dark .about-card-icon {
    background: rgba(255,255,255,0.1);

    color: #fff;
}


.about-card-dark .about-card-number {
    color: #888;
}


.about-card-dark h4 {
    color: #fff;
}


.about-card-dark p {
    color: #aaa;
}


/* ==========================================
   RESPONSIVE
========================================== */

@media (max-width: 900px) {

    .about {
        padding: 75px 0;
    }

    .about-content {
        grid-template-columns: 1fr;

        gap: 45px;
    }

    .about-text {
        max-width: none;
    }

}


@media (max-width: 600px) {

    .about .section-title h2 {
        font-size: 30px;
    }

    .about .section-title p {
        font-size: 14px;
    }

    .about-text h3 {
        font-size: 25px;
    }

    .about-highlights {
        grid-template-columns: 1fr;

        gap: 18px;
    }

    .about-card {
        padding: 20px;
    }

}

.sectors-heading {
    text-align: center;
    margin: 60px auto 30px;
}

.sectors-heading span {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #666;
}

.sectors-heading h3 {
    margin-top: 8px;
    font-size: 25px;
    color: #171717;
}

.sector-item p {
    margin-top: 8px;
    font-size: 12px;
    line-height: 1.6;
    color: #777;
}

.mv-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;
    background: #f0f2f5;
    color: #171717;
}

.mv-card > div:last-child > span {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #888;
}

.mv-card h3 {
    margin: 5px 0 10px;
}

/* =========================================================
   GALERÍA DE PROYECTOS
   SERENTEC
========================================================= */

* {
    box-sizing: border-box;
}

body {
    margin: 0;

    font-family: "Poppins", sans-serif;

    color: #171717;

    background: #f5f6f8;
}

button,
a {
    font-family: inherit;
}

.gallery-container {
    width: min(1200px, calc(100% - 40px));

    margin: 0 auto;
}


/* =========================================================
   HEADER
========================================================= */

.gallery-header {
    width: 100%;

    background: #fff;

    border-bottom: 1px solid #e8e9eb;
}

.gallery-header .gallery-container {
    min-height: 75px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;
}

.gallery-logo img {
    width: 150px;

    display: block;
}

.gallery-nav {
    display: flex;

    align-items: center;

    gap: 30px;
}

.gallery-nav a {
    color: #555;

    font-size: 13px;

    font-weight: 500;

    text-decoration: none;

    transition: color .25s ease;
}

.gallery-nav a:hover,
.gallery-nav a.active {
    color: #111;
}

.gallery-nav a.active {
    font-weight: 700;
}

.gallery-header-button {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding: 11px 16px;

    border-radius: 8px;

    background: #111;

    color: #fff;

    font-size: 12px;

    font-weight: 600;

    text-decoration: none;
}

.gallery-header-button:hover {
    color: #fff;
}


/* =========================================================
   HERO
========================================================= */

.gallery-hero {
    padding: 85px 0 70px;

    background: #eef1f5;

    text-align: center;
}

.gallery-eyebrow {
    display: inline-flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 14px;

    color: #666;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 2.5px;
}

.gallery-eyebrow span {
    width: 35px;

    height: 1px;

    background: #aeb2b7;
}

.gallery-hero h1 {
    max-width: 850px;

    margin: 0 auto 16px;

    font-size: 46px;

    line-height: 1.12;

    letter-spacing: -1px;
}

.gallery-hero p {
    max-width: 650px;

    margin: 0 auto;

    color: #666;

    font-size: 15px;

    line-height: 1.7;
}


/* =========================================================
   MAIN
========================================================= */

.gallery-main {
    padding: 65px 0 90px;
}


/* =========================================================
   FILTROS
========================================================= */

.gallery-filters {
    display: flex;

    align-items: center;

    justify-content: center;

    flex-wrap: wrap;

    gap: 9px;

    margin-bottom: 45px;
}

.gallery-filter {
    display: inline-flex;

    align-items: center;

    gap: 7px;

    padding: 9px 15px;

    border: 1px solid #dfe2e6;

    border-radius: 30px;

    background: #fff;

    color: #555;

    font-size: 11px;

    font-weight: 500;

    cursor: pointer;

    transition: all .25s ease;
}

.gallery-filter:hover {
    border-color: #111;

    color: #111;
}

.gallery-filter.active {
    border-color: #111;

    background: #111;

    color: #fff;
}


/* =========================================================
   GRID DE PROYECTOS
========================================================= */

.projects-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 28px;
}


/* =========================================================
   TARJETA
========================================================= */

.project-card {
    overflow: hidden;

    border: 1px solid #e5e7ea;

    border-radius: 18px;

    background: #fff;

    transition:
        transform .3s ease,
        box-shadow .3s ease;
}

.project-card:hover {
    transform: translateY(-5px);

    box-shadow: 0 18px 40px rgba(0,0,0,.08);
}


/* =========================================================
   IMAGEN
========================================================= */

.project-card-image {
    position: relative;

    width: 100%;

    height: 330px;

    overflow: hidden;

    background: #eee;
}

.project-card-image > img {
    width: 100%;

    height: 100%;

    display: block;

    object-fit: cover;

    transition: transform .5s ease;
}

.project-card:hover .project-card-image > img {
    transform: scale(1.04);
}


/* =========================================================
   CATEGORÍA
========================================================= */

.project-category {
    position: absolute;

    top: 16px;

    left: 16px;

    padding: 7px 12px;

    border-radius: 30px;

    background: rgba(0,0,0,.75);

    color: #fff;

    font-size: 10px;

    font-weight: 600;

    backdrop-filter: blur(8px);
}


/* =========================================================
   BOTÓN VER
========================================================= */

.project-view {
    position: absolute;

    right: 16px;

    bottom: 16px;

    width: 42px;

    height: 42px;

    display: flex;

    align-items: center;

    justify-content: center;

    border: 0;

    border-radius: 50%;

    background: #fff;

    color: #111;

    cursor: pointer;

    opacity: 0;

    transform: translateY(8px);

    transition: all .3s ease;
}

.project-card:hover .project-view {
    opacity: 1;

    transform: translateY(0);
}


/* =========================================================
   CONTENIDO
========================================================= */

.project-card-content {
    padding: 25px;
}

.project-card-content > span {
    display: block;

    margin-bottom: 8px;

    color: #777;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 1.5px;
}

.project-card-content h2 {
    margin: 0 0 10px;

    font-size: 22px;

    line-height: 1.25;
}

.project-card-content p {
    margin: 0 0 20px;

    color: #666;

    font-size: 13px;

    line-height: 1.7;
}


/* =========================================================
   LINK
========================================================= */

.project-link {
    display: inline-flex;

    align-items: center;

    gap: 9px;

    padding: 0;

    border: 0;

    background: transparent;

    color: #111;

    font-size: 12px;

    font-weight: 700;

    cursor: pointer;
}

.project-link i {
    transition: transform .25s ease;
}

.project-link:hover i {
    transform: translateX(5px);
}


/* =========================================================
   MODAL
========================================================= */

.project-modal {
    position: fixed;

    inset: 0;

    z-index: 9999;

    display: none;

    align-items: center;

    justify-content: center;

    padding: 30px;
}

.project-modal.active {
    display: flex;
}

.project-modal-overlay {
    position: absolute;

    inset: 0;

    background: rgba(0,0,0,.82);

    backdrop-filter: blur(8px);
}

.project-modal-content {
    position: relative;

    z-index: 2;

    width: min(1100px, 100%);

    max-height: 92vh;

    overflow-y: auto;

    border-radius: 20px;

    background: #fff;

    box-shadow: 0 30px 80px rgba(0,0,0,.35);
}


/* =========================================================
   CERRAR
========================================================= */

.project-modal-close {
    position: absolute;

    top: 15px;

    right: 15px;

    z-index: 10;

    width: 40px;

    height: 40px;

    border: 0;

    border-radius: 50%;

    background: rgba(0,0,0,.7);

    color: #fff;

    cursor: pointer;
}


/* =========================================================
   FOTO PRINCIPAL MODAL
========================================================= */

.project-modal-gallery {
    position: relative;
    width: 100%;
    height: 580px;
    overflow: hidden;
    background: #111;

    display: flex;
    align-items: center;
    justify-content: center;
}

/* =========================================================
   MEDIA PRINCIPAL DEL MODAL
   Compatible con imagen/video directos y con .modal-media-container
========================================================= */

.project-modal-gallery > img,
.project-modal-gallery > video,
.project-modal-gallery .modal-media-container,
.project-modal-gallery .modal-media-container > img,
.project-modal-gallery .modal-media-container > video {
    box-sizing: border-box;
}

.project-modal-gallery .modal-media-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 25px;
}

.project-modal-gallery .modal-media-container > img,
.project-modal-gallery .modal-media-container > video,
.project-modal-gallery > img,
.project-modal-gallery > video {
    display: block;

    width: auto !important;
    height: auto !important;

    max-width: 94% !important;
    max-height: 94% !important;

    object-fit: contain !important;
    object-position: center center !important;

    margin: 0 auto;
}

.project-modal-gallery .modal-media-container > video,
.project-modal-gallery > video {
    background: #000;
}


/* =========================================================
   FLECHAS MODAL
========================================================= */

.modal-arrow {
    position: absolute;

    top: 50%;

    z-index: 5;

    width: 48px;

    height: 48px;

    display: flex;

    align-items: center;

    justify-content: center;

    border: 0;

    border-radius: 50%;

    background: rgba(255,255,255,.95);

    color: #111;

    cursor: pointer;

    transform: translateY(-50%);
}

.modal-prev {
    left: 20px;
}

.modal-next {
    right: 20px;
}


/* =========================================================
   CONTADOR
========================================================= */

.modal-counter {
    position: absolute;

    right: 20px;

    bottom: 20px;

    padding: 8px 13px;

    border-radius: 20px;

    background: rgba(0,0,0,.75);

    color: #fff;

    font-size: 11px;
}


/* =========================================================
   MINIATURAS MODAL
========================================================= */

.modal-thumbnails {
    display: flex;

    gap: 10px;

    overflow-x: auto;

    padding: 15px 20px;

    border-bottom: 1px solid #eee;
}

.modal-thumb {
    flex: 0 0 85px;

    width: 85px;

    height: 60px;

    padding: 0;

    border: 2px solid transparent;

    border-radius: 8px;

    overflow: hidden;

    background: #eee;

    cursor: pointer;

    opacity: .55;
}

.modal-thumb.active {
    border-color: #111;

    opacity: 1;
}

.modal-thumb img,
.modal-thumb video {
    width: 100%;

    height: 100%;

    display: block;

    object-fit: cover;
}

.modal-thumb {
    position: relative;
}

.video-thumb-icon {
    position: absolute;

    top: 50%;
    left: 50%;

    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    transform: translate(-50%, -50%);

    border-radius: 50%;

    background: rgba(0,0,0,.70);

    color: #fff;

    pointer-events: none;
}

.video-thumb-icon i {
    font-size: 13px;
    margin-left: 2px;
}


/* =========================================================
   INFORMACIÓN DEL MODAL
========================================================= */

.modal-project-info {
    padding: 28px;
}

.modal-project-info > span {
    display: block;

    margin-bottom: 8px;

    color: #777;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 1.5px;

    text-transform: uppercase;
}

.modal-project-info h2 {
    margin: 0 0 12px;

    font-size: 28px;
}

.modal-project-info p {
    max-width: 800px;

    margin: 0;

    color: #666;

    font-size: 14px;

    line-height: 1.7;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 900px) {

    .gallery-nav {
        display: none;
    }

    .gallery-hero h1 {
        font-size: 38px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 600px) {

    .gallery-container {
        width: min(100% - 28px, 1200px);
    }

    .gallery-header .gallery-container {
        min-height: 65px;
    }

    .gallery-header-button {
        padding: 9px 12px;

        font-size: 10px;
    }

    .gallery-logo img {
        width: 125px;
    }


    .gallery-hero {
        padding: 65px 0 55px;
    }

    .gallery-hero h1 {
        font-size: 30px;
    }

    .gallery-hero p {
        font-size: 13px;
    }


    .gallery-main {
        padding: 45px 0 60px;
    }


    .gallery-filters {
        justify-content: flex-start;

        overflow-x: auto;

        flex-wrap: nowrap;

        padding-bottom: 5px;

        margin-bottom: 30px;
    }

    .gallery-filter {
        flex-shrink: 0;
    }


    .project-card-image {
        height: 260px;
    }

    .project-card-content {
        padding: 20px;
    }

    .project-card-content h2 {
        font-size: 19px;
    }


    .project-view {
        opacity: 1;

        transform: none;
    }


    .project-modal {
        padding: 10px;
    }

    .project-modal-content {
        border-radius: 14px;

        max-height: 95vh;
    }

    .project-modal-gallery {
        height: 350px;
    }

    .modal-arrow {
        width: 38px;

        height: 38px;
    }

    .modal-prev {
        left: 10px;
    }

    .modal-next {
        right: 10px;
    }

    .modal-project-info {
        padding: 20px;
    }

    .modal-project-info h2 {
        font-size: 22px;
    }

}

/* ==========================================
   FILTROS DE GALERÍA
========================================== */

.gallery-filter {
    cursor: pointer;
}

.project-card {
    transition:
        opacity .25s ease,
        transform .25s ease;
}

.project-card.filter-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================
   CENTRAR FILTROS EN PC
========================================== */

.gallery-filters {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;

    width: 100%;
    margin: 0 auto 40px;
}

@media (max-width: 768px) {

    .gallery-filters {
        justify-content: center;
        gap: 8px;
        padding: 0 15px;
    }

}
/* ==========================================
   MINIATURAS DE VIDEO
========================================== */

.modal-thumb {
    position: relative;
    overflow: hidden;
}

.modal-thumb img,
.modal-thumb video {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}

.video-thumb-icon {
    position: absolute;

    top: 50%;
    left: 50%;

    width: 38px;
    height: 38px;

    display: flex;

    align-items: center;
    justify-content: center;

    transform: translate(-50%, -50%);

    border-radius: 50%;

    background: rgba(0, 0, 0, .75);

    color: #fff;

    pointer-events: none;

    box-shadow:
        0 4px 12px rgba(0, 0, 0, .25);
}

.video-thumb-icon i {
    font-size: 14px;

    margin-left: 2px;
}