/* =====================================================
   RESET
===================================================== */

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

html{
    scroll-behavior:smooth;
}

body{
    font-family:Segoe UI, Arial, sans-serif;
    background:#ffffff;
    color:#222;
}

/* =====================================================
   CONTENEDOR
===================================================== */

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

/* =====================================================
   HEADER
===================================================== */

.site-header{

    position:sticky;
    top:20px;
    z-index:999;

    background:#ffffff;

    width:92%;
    max-width:1600px;

    margin:20px auto;

    border:2px solid #8AB8FF;

    border-radius:18px;

    box-shadow:
        0 10px 30px rgba(0,0,0,.10),
        0 0 0 4px rgba(138,184,255,.15);

}

.site-header .container{

    height:90px;

    display:flex;

    justify-content:space-between;

    align-items:center;

    width:100%;

    padding:0 35px;

}

/* =====================================================
   LOGO
===================================================== */

.logo img{

    max-height:60px;

    width:auto;

}

.logo a{

    text-decoration:none;

    color:#1565ff;

    font-size:32px;

    font-weight:bold;

}

/* =====================================================
   MENÚ
===================================================== */

.main-menu ul{

    display:flex;

    align-items:center;

    list-style:none;

    gap:35px;

    margin:0;

    padding:0;

}

.main-menu li{

    list-style:none;

}

.main-menu a{

    text-decoration:none;

    color:#222;

    font-size:16px;

    font-weight:600;

    transition:.25s;

}

.main-menu a:hover{

    color:#1565ff;

}

/* =====================================================
   HERO
===================================================== */

.hero{

    width:100%;

    height:100vh;

    background:#ffffff;

}

/*=====================================================
FOOTER
=====================================================*/

.site-footer{

    background:#081b3c;

    color:#ffffff;

    padding:70px 20px 30px;

}

.footer-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:60px;

    margin-bottom:50px;

}

.footer-column h3{

    font-size:22px;

    margin-bottom:25px;

    color:#ffffff;

}

.footer-column ul{

    list-style:none;

    margin:0;

    padding:0;

}

.footer-column li{

    margin-bottom:14px;

}

.footer-column a{

    color:#d7e5ff;

    text-decoration:none;

    transition:.25s;

}

.footer-column a:hover{

    color:#5ea2ff;

    padding-left:6px;

}

.footer-bottom{

    border-top:1px solid rgba(255,255,255,.15);

    padding-top:25px;

    text-align:center;

}

.footer-bottom p{

    margin:8px 0;

}

.footer-bottom a{

    color:#d7e5ff;

    text-decoration:none;

}

.footer-bottom a:hover{

    color:#5ea2ff;

}

/* =====================================================
   HERO DINÁMICO
===================================================== */

.hero{

    position:relative;

    width:100%;

    min-height:100vh;

    background-size:cover !important;

    background-position:center !important;

    background-repeat:no-repeat !important;

    display:flex;

    justify-content:center;

    align-items:center;

}

.hero-overlay{

    position:absolute;

    inset:0;

    background:rgba(0,0,0,.55);

}

.hero-content{

    position:relative;

    z-index:2;

    max-width:900px;

    text-align:center;

    color:#fff;

    padding:20px;

}

.hero-content h1{

    font-size:64px;

    margin-bottom:25px;

}

.hero-content p{

    font-size:22px;

    line-height:1.6;

    margin-bottom:40px;

}

.btn-primary{

    display:inline-block;

    padding:16px 40px;

    border-radius:40px;

    background:#1565ff;

    color:#fff;

    text-decoration:none;

    font-weight:bold;

}

/*=====================================================
  CARRUSEL HERO
=====================================================*/

.hero-slider{

    position:relative;

    width:100%;

    overflow:hidden;

}

.hero-slide{

    position:absolute;

    inset:0;

    opacity:0;

    transition:opacity .8s ease;

    background-size:cover;

    background-position:center;

    background-repeat:no-repeat;

    min-height:100vh;

    display:flex;

    justify-content:center;

    align-items:center;

}

.hero-slide.active{

    position:relative;

    opacity:1;

    z-index:2;

}

.hero-prev,
.hero-next{

    position:absolute;

    top:50%;

    transform:translateY(-50%);

    width:55px;

    height:55px;

    border:none;

    border-radius:50%;

    background:rgba(255,255,255,.15);

    backdrop-filter:blur(8px);

    color:#fff;

    font-size:30px;

    cursor:pointer;

    z-index:20;

    transition:.25s;

}

.hero-prev:hover,
.hero-next:hover{

    background:#1565ff;

}

.hero-prev{

    left:30px;

}

.hero-next{

    right:30px;

}

.hero-dots{

    position:absolute;

    bottom:35px;

    left:50%;

    transform:translateX(-50%);

    display:flex;

    gap:12px;

    z-index:20;

}

.hero-dot{

    width:14px;

    height:14px;

    border-radius:50%;

    background:rgba(255,255,255,.45);

    cursor:pointer;

    transition:.3s;

}

.hero-dot.active{

    background:#1565ff;

}

/*====================================
POSICIÓN DEL CONTENIDO DEL HERO
====================================*/

.hero-content.hero-left{

    width:100%;
    max-width:1400px;

    margin:auto;

    display:flex;
    flex-direction:column;

    justify-content:center;
    align-items:flex-start;

    text-align:left;

}

.hero-content.hero-center{

    width:100%;
    max-width:1400px;

    margin:auto;

    display:flex;
    flex-direction:column;

    justify-content:center;
    align-items:center;

    text-align:center;

}

.hero-content.hero-right{

    width:100%;
    max-width:1400px;

    margin:auto;

    display:flex;
    flex-direction:column;

    justify-content:center;
    align-items:flex-end;

    text-align:right;

}
/*=========================================
BADGE DEL HERO
=========================================*/

.hero-badge{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:14px 30px;

    margin-bottom:22px;

    border-radius:999px;

    background:linear-gradient(90deg,#1b5cff,#4b8dff);

    color:#fff;

    font-size:20px;

    font-weight:700;

    letter-spacing:.3px;

    box-shadow:0 10px 25px rgba(27,92,255,.35);

}

/* =========================================================
   TARJETAS DESTACADAS - INICIO
========================================================= */

.home-feature-cards {
    width: 100%;
    padding: 70px 30px;
    background: #ffffff;
    box-sizing: border-box;
}

.home-feature-cards-container {
    max-width: 1400px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
}

.feature-card {
    background: #ffffff;

    border: 1px solid #e5e7eb;
    border-radius: 18px;

    padding: 35px 30px;

    text-align: center;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);

    display: flex;
    flex-direction: column;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.feature-card:hover {
    transform: translateY(-6px);

    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.12);
}


/* ICONO */

.feature-card-icon {
    width: 70px;
    height: 70px;

    margin: 0 auto 20px;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #0b4fd8;
    color: #ffffff;

    font-size: 28px;
    font-weight: 700;
}


/* TITULO */

.feature-card h3 {
    margin: 0 0 14px;
    font-size: 24px;
    font-weight: 700;
    color: #0b5ed7;
}


/* DESCRIPCION */

.feature-card p {
    margin: 0 0 25px;

    font-size: 16px;
    line-height: 1.6;

    color: #5b6472;

    flex: 1;
}


/* BOTON */

.feature-card-button {
    display: inline-block;

    padding: 12px 25px;

    border-radius: 30px;

    background: #0b4fd8;
    color: #ffffff;

    text-decoration: none;

    font-size: 15px;
    font-weight: 600;

    transition:
        background 0.25s ease,
        transform 0.25s ease;
}

.feature-card-button:hover {
    background: #083da8;
    color: #ffffff;

    transform: translateY(-2px);
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 900px) {

    .home-feature-cards-container {
        grid-template-columns: repeat(2, 1fr);
    }

}


@media (max-width: 600px) {

    .home-feature-cards {
        padding: 45px 20px;
    }

    .home-feature-cards-container {
        grid-template-columns: 1fr;
    }

}

/* =====================================================
   EFECTO HOVER - TARJETAS DESTACADAS
===================================================== */

.feature-card {
    transition:
        background-color 0.35s ease,
        color 0.35s ease,
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

/* Al pasar el mouse */
.feature-card:hover {
    background: #0d5ce5;
    color: #ffffff;
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(13, 92, 229, 0.30);
}

/* Título */
.feature-card:hover h3 {
    color: #ffffff;
}

/* Descripción */
.feature-card:hover p {
    color: rgba(255, 255, 255, 0.90);
}

/* Icono */
.feature-card:hover .feature-card-icon {
    background: #ffffff;
    color: #0d5ce5;
}

/* Botón */
.feature-card:hover .feature-card-button {
    background: #ffffff;
    color: #0d5ce5;
}

/* Flecha del botón */
.feature-card:hover .feature-card-arrow {
    color: #0d5ce5;
}

/* =====================================================
   ANIMACIÓN DEL ICONO AL PASAR SOBRE LA TARJETA
===================================================== */

.feature-card:hover .feature-card-icon i {
    transform: rotate(360deg);
}

.feature-card-icon i {
    display: inline-block;
    transition: transform 0.7s ease;
}

/* =========================================================
   ESTADÍSTICAS
========================================================= */

.home-statistics {
    background: #dce8f8;
    padding: 28px 20px;
}

.home-statistics-container {
    max-width: 1100px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(4, 1fr);

    gap: 18px;
}


/* =========================================================
   TARJETAS
========================================================= */

.stat-item {
    background: #ffffff;

    height: 135px;
    min-height: 0;

    padding: 15px 12px;

    border-radius: 15px;

    border: 1px solid #e2e8f0;

    box-shadow: 0 5px 15px rgba(15, 23, 42, 0.07);

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;

    transition: transform 0.25s ease,
                box-shadow 0.25s ease;
}


/* =========================================================
   EFECTO AL PASAR EL RATÓN
========================================================= */

.stat-item:hover {
    transform: translateY(-3px);

    box-shadow: 0 9px 20px rgba(15, 23, 42, 0.10);
}


/* =========================================================
   ICONO
========================================================= */

.stat-icon {
    width: 46px;
    height: 46px;

    border-radius: 50%;

    background: #1264e8;

    color: #ffffff;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 19px;

    margin-bottom: 9px;
}


/* =========================================================
   NÚMERO
========================================================= */

.stat-number {
    font-size: 28px;

    line-height: 1;

    font-weight: 700;

    color: #0b1f3a;

    margin-bottom: 5px;
}


/* =========================================================
   TEXTO
========================================================= */

.stat-label {
    font-size: 14px;

    line-height: 1.2;

    color: #64748b;

    font-weight: 500;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

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

}


/* =========================================================
   MÓVIL
========================================================= */

@media (max-width: 600px) {

    .home-statistics {
        padding: 24px 15px;
    }

    .home-statistics-container {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .stat-item {
        height: 125px;
        padding: 12px 8px;
        border-radius: 13px;
    }

    .stat-icon {
        width: 42px;
        height: 42px;
        font-size: 17px;
        margin-bottom: 7px;
    }

    .stat-number {
        font-size: 25px;
    }

    .stat-label {
        font-size: 12px;
    }

}

/* =========================================================
   TESTIMONIOS
========================================================= */

.home-testimonials {
    background: #ffffff;
    padding: 45px 30px 50px;
}

.home-testimonials-container {
    max-width: 1250px;
    margin: 0 auto;
    text-align: center;
}

.home-testimonials-header {
    margin-bottom: 24px;
}

.home-testimonials-header h2 {
    margin: 0 0 8px;
    font-size: 32px;
    font-weight: 700;
    color: #0b1f3a;
}

.home-testimonials-header p {
    margin: 0;
    font-size: 16px;
    color: #64748b;
}


/* =========================================================
   VENTANA DEL CARRUSEL
========================================================= */

.testimonials-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
}


/* =========================================================
   PISTA DEL CARRUSEL
========================================================= */

.testimonials-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 14px;
    width: max-content;

    transition: transform 0.7s ease;

    align-items: stretch;
}


/* =========================================================
   TARJETAS
   4 VISIBLES EN PC
========================================================= */

.testimonial-slide {
    flex: 0 0 calc((1250px - 42px) / 4);

    width: calc((1250px - 42px) / 4);

    height: 380px;
    min-height: 380px;

    box-sizing: border-box;

    background: #ffffff;

    padding: 22px 24px 24px;

    border: 1px solid #e5e7eb;
    border-radius: 18px;

    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);

    text-align: center;

    display: flex;
    flex-direction: column;
    align-items: center;

    overflow: hidden;

    cursor: pointer;
}


/* =========================================================
   IMAGEN
========================================================= */

.testimonial-image {
    width: 100%;

    display: flex;
    justify-content: center;

    margin-bottom: 14px;

    flex-shrink: 0;
}

.testimonial-image img {
    width: 135px;
    height: 135px;

    object-fit: cover;

    border-radius: 14px;

    display: block;

    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);
}


/* =========================================================
   TEXTO
========================================================= */

.testimonial-text {
    width: 100%;
    max-width: 245px;

    margin: 0 auto;

    font-size: 16px;
    line-height: 1.45;

    color: #334155;

    font-weight: 500;

    text-align: center;

    min-height: 116px;

    display: flex;
    align-items: flex-start;
    justify-content: center;

    overflow: hidden;

    word-break: normal;
    overflow-wrap: break-word;
}


/* =========================================================
   NOMBRE
========================================================= */

.testimonial-name {
    width: 100%;

    margin: auto 0 0;

    min-height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 19px;
    line-height: 1.2;

    font-weight: 700;

    color: #1264e8;

    text-align: center;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1300px) {

    .testimonial-slide {
        flex-basis: calc((100vw - 100px - 42px) / 4);
        width: calc((100vw - 100px - 42px) / 4);
    }

}


@media (max-width: 1000px) {

    .testimonial-slide {
        flex-basis: calc((100vw - 60px - 14px) / 2);
        width: calc((100vw - 60px - 14px) / 2);
    }

}


/* =========================================================
   MÓVIL
========================================================= */

@media (max-width: 600px) {

    .home-testimonials {
        padding: 40px 20px 45px;
    }

    .home-testimonials-header {
        margin-bottom: 20px;
    }

    .home-testimonials-header h2 {
        font-size: 26px;
    }

    .home-testimonials-header p {
        font-size: 15px;
    }


    .testimonials-track {
        gap: 12px;
    }


    .testimonial-slide {
        flex: 0 0 100%;
        width: 100%;

        height: 340px;
        min-height: 340px;

        padding: 20px 22px 22px;
    }


    .testimonial-image {
        margin-bottom: 14px;
    }


    .testimonial-image img {
        width: 120px;
        height: 120px;
    }


    .testimonial-text {
        max-width: 290px;

        font-size: 15px;
        line-height: 1.5;

        min-height: 105px;
    }


    .testimonial-name {
        min-height: 44px;

        font-size: 17px;
    }

}

/* =========================================================
   COLOR DEL MENÚ PRINCIPAL
========================================================= */

.site-header .menu a,
.site-header nav a,
.main-navigation a {
    color: #1264e8 !important;
}

/* Color al pasar el mouse */
.site-header .menu a:hover,
.site-header nav a:hover,
.main-navigation a:hover {
    color: #0b4fc4 !important;
}

/* =========================================================
   PÁGINA NOSOTROS
========================================================= */

.about-page {
    width: 100%;
    background: #ffffff;
    color: #172033;

    /* Fuente estándar para toda la página */
    font-family: Arial, Helvetica, sans-serif;
}


/* =========================================================
   APLICAR UNA SOLA FUENTE A TODOS LOS ELEMENTOS
========================================================= */

.about-page h1,
.about-page h2,
.about-page h3,
.about-page h4,
.about-page p,
.about-page a,
.about-page span,
.about-page div {
    font-family: Arial, Helvetica, sans-serif;
}


/* =========================================================
   HERO / BANNER NOSOTROS
========================================================= */

.about-hero {
    position: relative;
    width: 100%;
    min-height: 500px;

    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
    margin: 0 auto;
}


/* =========================================================
   CAPA OSCURA
========================================================= */

.about-hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(5, 24, 55, 0.78),
            rgba(5, 24, 55, 0.38),
            rgba(5, 24, 55, 0.60)
        );

    z-index: 1;
}


/* =========================================================
   CONTENIDO DEL HERO
========================================================= */

.about-hero-content {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 1200px;

    padding: 100px 40px 40px;

    text-align: center;

    color: #ffffff;
}


.about-hero-content h1 {
    margin: 0 0 18px;

    font-size: 40px;
    line-height: 1.1;

    font-weight: 800;

    color: #ffffff;

    text-shadow: 0 4px 18px rgba(0, 0, 0, .35);
}


.about-hero-content p {
    max-width: 800px;

    margin: 0 auto;

    font-size: 20px;
    line-height: 1.7;

    color: rgba(255, 255, 255, .95);
}


/* =========================================================
   BREADCRUMB
========================================================= */

.about-breadcrumb {
    display: flex;

    justify-content: center;
    align-items: center;

    gap: 10px;

    margin-bottom: 28px;

    font-size: 16px;
    font-weight: 600;
}


.about-breadcrumb a {
    color: #ffffff;

    text-decoration: none;

    transition: .25s ease;
}


.about-breadcrumb a:hover {
    color: #63a4ff;
}


.about-breadcrumb span {
    color: rgba(255, 255, 255, .75);
}


/* =========================================================
   CONTENIDO GENERAL
========================================================= */

.about-content {
    width: 100%;

    padding: 70px 30px 90px;

    background: #ffffff;
}


.about-container {
    width: 100%;
    max-width: 1200px;

    margin: 0 auto;
}


/* =========================================================
   OCULTAR NÚMEROS 01 / 02 / 03 / 04
========================================================= */

.about-section-number {
    display: none !important;
}


/* =========================================================
   QUIÉNES SOMOS
========================================================= */

.about-section-who {
    width: 100%;

    padding: 0 0 45px;

    text-align: center;

    border-bottom: 1px solid #e5eaf2;
}


.about-section-who .about-section-content {
    width: 100%;
    max-width: 1150px;

    margin: 0 auto;
}


/* =========================================================
   TÍTULO — QUIÉNES SOMOS
========================================================= */

.about-section-who h2 {
    margin: 0 0 22px;

    font-size: 25px;
    line-height: 1.2;

    font-weight: 700;

    color: #1264e8;
}


/* =========================================================
   TEXTO QUIÉNES SOMOS
========================================================= */

.about-section-who .about-text {
    width: 100%;
    max-width: 1150px;

    margin: 0 auto;

    font-size: 17px;
    line-height: 1.8;

    color: #536174;

    text-align: justify;
}


/* =========================================================
   MISIÓN + VISIÓN
   TARJETAS COMPACTAS
========================================================= */

.about-mission-vision {
    width: 100%;

    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 28px;

    margin: 35px 0 40px;
}


/* =========================================================
   TARJETAS
========================================================= */

.about-card {
    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: flex-start;

    text-align: center;

    width: 100%;

    min-height: 0;

    padding: 26px 28px 28px;

    background: #ffffff;

    border: 1px solid #e5eaf2;

    border-radius: 18px;

    box-shadow:
        0 8px 25px rgba(11, 31, 58, 0.07);

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}


.about-card:hover {
    transform: translateY(-3px);

    box-shadow:
        0 14px 32px rgba(11, 31, 58, 0.12);
}


/* =========================================================
   IMAGEN
========================================================= */

.about-card-image {
    width: 180px;

    height: 180px;

    flex-shrink: 0;

    overflow: hidden;

    margin: 0 auto 20px;

    border-radius: 16px;

    background: #f4f7fb;
}


.about-card-image img {
    display: block;

    width: 100%;

    height: 100%;

    object-fit: cover;
}


/* =========================================================
   CONTENIDO
========================================================= */

.about-card-content {
    width: 100%;

    flex: none;

    text-align: center;
}


/* =========================================================
   TÍTULOS — MISIÓN / VISIÓN
========================================================= */

.about-card-content h2 {
    margin: 0 0 12px;

    font-size: 25px;

    line-height: 1.2;

    font-weight: 700;

    color: #1264e8;
}


/* =========================================================
   TEXTO DE MISIÓN / VISIÓN
========================================================= */

.about-card .about-text {
    width: 100%;

    max-width: 100%;

    margin: 0;

    font-size: 17px;

    line-height: 1.65;

    color: #536174;

    text-align: center;

    overflow: visible;

    word-wrap: break-word;

    overflow-wrap: break-word;
}


.about-card .about-text p {
    margin: 0 0 10px;
}


.about-card .about-text p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   NUESTROS VALORES
========================================================= */

.about-section-values {
    width: 100%;

    padding: 0;

    text-align: center;

    border-bottom: none;
}


.about-section-values .about-section-content {
    width: 100%;
    max-width: 1150px;

    margin: 0 auto;
}


.about-section-values h2 {
    margin: 0 0 15px;

    font-size: 25px;

    line-height: 1.2;

    font-weight: 700;

    color: #1264e8;
}


.about-section-values .about-text {
    width: 100%;
    max-width: 1150px;

    margin: 0 auto;

    font-size: 17px;

    line-height: 1.7;

    color: #536174;

    text-align: justify;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .about-mission-vision {
        grid-template-columns: 1fr;

        gap: 22px;
    }


    .about-card {
        padding: 24px 25px 26px;
    }


    .about-card-image {
        width: 170px;

        height: 170px;

        margin-bottom: 18px;
    }


    .about-card-content h2 {
        font-size: 25px;
    }


    .about-card .about-text {
        font-size: 17px;
    }

}


/* =========================================================
   MÓVIL
========================================================= */

@media (max-width: 600px) {

    .about-hero {
        min-height: 390px;
    }


    .about-hero-content {
        padding: 70px 20px 60px;
    }


    .about-breadcrumb {
        font-size: 14px;

        margin-bottom: 20px;
    }


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


    .about-hero-content p {
        font-size: 16px;

        line-height: 1.6;
    }


    .about-content {
        padding: 55px 20px 65px;
    }


    .about-section-who h2 {
        font-size: 28px;
    }


    .about-section-who .about-text {
        font-size: 16px;

        line-height: 1.7;

        text-align: justify;
    }


    .about-mission-vision {
        grid-template-columns: 1fr;

        gap: 18px;

        margin: 28px 0 35px;
    }


    .about-card {
        width: 100%;

        padding: 22px 18px 24px;

        border-radius: 16px;
    }


    .about-card-image {
        width: 155px;

        height: 155px;

        margin-bottom: 16px;

        border-radius: 14px;
    }


    .about-card-content h2 {
        font-size: 23px;

        margin-bottom: 9px;
    }


    .about-card .about-text {
        font-size: 16px;

        line-height: 1.65;

        text-align: center;
    }


    .about-section-values h2 {
        font-size: 28px;
    }


    .about-section-values .about-text {
        font-size: 16px;

        line-height: 1.7;

        text-align: justify;
    }

}

/* =========================================================
   VISÍTANOS EN
========================================================= */

.about-branches {
    width: 100%;
    margin: 60px 0 0;
    padding: 0;
}


/* =========================================================
   TÍTULO
========================================================= */

.about-branches-header {
    width: 100%;
    text-align: center;
    margin-bottom: 25px;
}

.about-branches-header h2 {
    margin: 0;
    padding: 0;

    font-size: 25px;
    line-height: 1.2;

    font-weight: 800;

    color: #010307;
}


/* =========================================================
   GRID DE SUCURSALES
========================================================= */

.about-branches-grid {
    width: 100%;

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 28px;

    align-items: stretch;
}


/* =========================================================
   TARJETA
========================================================= */

.about-branch-card {
    display: flex;
    flex-direction: column;

    background: #ffffff;

    border: 1px solid #dfe6f0;
    border-radius: 14px;

    overflow: hidden;

    height: 390px;

    box-shadow:
        0 6px 20px rgba(11, 31, 58, 0.08);

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.about-branch-card:hover {
    transform: translateY(-4px);

    box-shadow:
        0 12px 28px rgba(11, 31, 58, 0.13);
}


/* =========================================================
   IMAGEN
========================================================= */

.about-branch-image {
    width: 100%;

    height: 170px;

    overflow: hidden;

    background: #ffffff;
}


.about-branch-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
}


/* =========================================================
   CONTENIDO
========================================================= */

.about-branch-content {
    display: flex;

    flex-direction: column;

    align-items: center;

    text-align: center;

    padding: 20px 18px 22px;

    flex: 1;
}


.about-branch-content h3 {
    margin: 0 0 10px;

    font-size: 17px;
    line-height: 1.25;

    font-weight: 800;

    color: #0b1f3a;
}


.about-branch-description {
    margin: 0;

    font-size: 17px;

    line-height: 1.6;

    color: #536174;

    text-align: center;

    min-height: 72px;
}


.about-branch-description p {
    margin: 0 0 10px;
}


.about-branch-description p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   BOTÓN VER MÁS
========================================================= */

.about-branch-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 9px;

    /* Mantiene el botón separado del texto */
    margin-top: auto;

    /* Espacio entre el texto y el botón */
    padding-top: 28px;

    padding: 10px 18px;

    background: #0875c9;

    color: #ffffff !important;

    text-decoration: none;

    border-radius: 9px;

    font-size: 15px;

    font-weight: 700;

    transition:
        background .25s ease,
        transform .25s ease;
}


.about-branch-button:hover {
    background: #075fa5;

    color: #ffffff !important;

    transform: translateY(-2px);
}


.about-branch-button span {
    font-size: 19px;

    line-height: 1;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .about-branches-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 22px;
    }

}


/* =========================================================
   MÓVIL
========================================================= */

@media (max-width: 600px) {

    .about-branches {
        margin-top: 45px;
    }


    .about-branches-header h2 {
        font-size: 25px;
    }


    .about-branches-grid {
        grid-template-columns: 1fr;

        gap: 18px;
    }


    .about-branch-image {
        height: 180px;
    }

}

/* =========================================================
   PÁGINA SERVICIOS
========================================================= */

.services-page {
    width: 100%;
    background: #ffffff;
    color: #172033;
}


/* =========================================================
   HERO SERVICIOS
========================================================= */

.services-hero {
    position: relative;
    width: 100%;
    min-height: 420px;

    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
}


/* Capa oscura sobre la imagen */

.services-hero-overlay {
    position: absolute;
    inset: 0;

    background: linear-gradient(
        90deg,
        rgba(5, 24, 55, 0.78),
        rgba(5, 24, 55, 0.38),
        rgba(5, 24, 55, 0.60)
    );

    z-index: 1;
}


/* Contenido del Hero */

.services-hero-content {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 1200px;

    padding: 90px 40px 70px;

    text-align: center;

    color: #ffffff;
}


/* Título */

.services-hero-content h1 {
    margin: 0 0 18px;

    font-size: 40px;
    line-height: 1.1;

    font-weight: 800;

    color: #ffffff;

    text-shadow: 0 4px 18px rgba(0, 0, 0, .35);
}


/* Subtítulo */

.services-hero-content p {
    max-width: 800px;

    margin: 0 auto;

    font-size: 20px;
    line-height: 1.7;

    color: rgba(255, 255, 255, .95);
}


/* =========================================================
   CONTENIDO DE SERVICIOS
========================================================= */

.services-content {
    width: 100%;

    padding: 65px 30px 80px;

    background: #ffffff;
}


.services-container {
    width: 100%;
    max-width: 1200px;

    margin: 0 auto;
}


.services-content-header {
    text-align: center;

    margin-bottom: 40px;
}


.services-content-header h2 {
    margin: 0 0 12px;

    font-size: 32px;
    line-height: 1.2;

    font-weight: 700;

    color: #1264e8;
}


.services-content-header p {
    margin: 0;

    font-size: 17px;
    line-height: 1.7;

    color: #536174;
}


/* =========================================================
   MÓVIL
========================================================= */

@media (max-width: 600px) {

    .services-hero {
        min-height: 350px;
    }

    .services-hero-content {
        padding: 70px 20px 55px;
    }

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

    .services-hero-content p {
        font-size: 16px;
        line-height: 1.6;
    }

    .services-content {
        padding: 50px 20px 60px;
    }

    .services-content-header h2 {
        font-size: 28px;
    }

    .services-content-header p {
        font-size: 16px;
    }

}

/* =========================================================
   SERVICIOS - DESCRIPCIÓN GENERAL
   Bloque elegante y adaptable al contenido
========================================================= */

.services-description {
    width: 100%;

    padding: 40px 20px 20px;

    background: #ffffff;

    box-sizing: border-box;
}


/* =========================================================
   CONTENEDOR DE LA DESCRIPCIÓN
========================================================= */

.services-description-container {
    position: relative;

    width: 100%;
    max-width: 1100px;

    margin: 0 auto;

    padding: 28px 45px;

    box-sizing: border-box;

    background: linear-gradient(
        135deg,
        #ffffff 0%,
        #f8fbff 100%
    );

    border: 1px solid rgba(18, 97, 232, 0.08);

    border-radius: 18px;

    box-shadow:
        0 8px 25px rgba(18, 97, 232, 0.08),
        0 2px 8px rgba(0, 0, 0, 0.03);

    overflow: hidden;

    transition:
        transform 0.30s ease,
        box-shadow 0.30s ease;
}


/* =========================================================
   LÍNEA AZUL DECORATIVA
========================================================= */

.services-description-container::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 4px;

    background: linear-gradient(
        90deg,
        #1261E8,
        #3d8cff,
        #1261E8
    );
}


/* =========================================================
   TEXTO DE LA DESCRIPCIÓN
========================================================= */

.services-description-container p {
    margin: 0;

    color: #3d5b7d;

    font-size: 18px;

    line-height: 1.8;

    text-align: center;

    white-space: normal;

    overflow: visible;
}


/* =========================================================
   EFECTO SUAVE DE LA DESCRIPCIÓN
========================================================= */

.services-description-container:hover {
    transform: translateY(-2px);

    box-shadow:
        0 12px 30px rgba(18, 97, 232, 0.11),
        0 3px 10px rgba(0, 0, 0, 0.04);
}


/* =========================================================
   SERVICIOS — TARJETAS
========================================================= */

.services-page .services-list {
    width: 100%;

    /*
     * Dejamos espacio suficiente entre la descripción
     * y las tarjetas porque la imagen se proyecta hacia arriba.
     */
    padding: 75px 40px 70px;

    box-sizing: border-box;
}


.services-page .services-list-container {
    width: 100%;
    max-width: 1400px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 28px;
}


/* =========================================================
   TARJETA
========================================================= */

.services-page .service-card {
    position: relative;

    background: #ffffff;

    border: 1px solid #e2e8f0;

    border-radius: 16px;

    /*
     * Importante:
     * permitimos que la imagen salga de la tarjeta.
     */
    overflow: visible;

    box-shadow:
        0 5px 18px rgba(0, 0, 0, 0.08);

    display: flex;

    flex-direction: column;

    min-width: 0;

    z-index: 1;

    transition:
        background-color 0.30s ease,
        box-shadow 0.30s ease,
        transform 0.30s ease;
}


/* =========================================================
   TARJETA AL PASAR EL CURSOR
========================================================= */

.services-page .service-card:hover {
    z-index: 20;

    background-color: #1261E8;

    box-shadow:
        0 16px 35px rgba(18, 97, 232, 0.28);

    transform: translateY(-4px);
}


/* =========================================================
   IMAGEN DE LA TARJETA
========================================================= */

.services-page .service-card-image {
    position: relative;

    width: 100%;
    height: 170px;

    overflow: visible;

    background: #f4f7fb;

    display: flex;

    align-items: center;
    justify-content: center;

    z-index: 2;
}


.services-page .service-card-image img {
    position: relative;

    width: 100%;
    height: 100%;

    object-fit: contain;

    display: block;

    z-index: 3;

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;

    transform-origin: center bottom;
}


/* =========================================================
   EFECTO PROYECTOR DE LA IMAGEN
========================================================= */

.services-page .service-card:hover
.service-card-image img {

    transform:
        translateY(-35px)
        scale(1.25);

    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.22);

    border-radius: 10px;
}

/* =========================================================
   CONTENIDO DE LA TARJETA
========================================================= */

.services-page .service-card-content {
    padding: 20px;

    display: flex;

    flex-direction: column;

    align-items: center;

    flex: 1;

    text-align: center;

    box-sizing: border-box;
}


/* =========================================================
   TÍTULO
========================================================= */

.services-page .service-card-content h2 {
    margin: 0 0 12px;

    color: #09244d;

    font-size: 21px;

    font-weight: 700;

    line-height: 1.25;

    text-align: center;
}


/* =========================================================
   DESCRIPCIÓN DE LA TARJETA
========================================================= */

.services-page .service-card-content p {
    margin: 0;

    color: #4b6380;

    font-size: 15px;

    line-height: 1.6;

    text-align: center;

    white-space: normal;

    overflow: visible;

    /*
     * Separación visual entre la descripción
     * y el botón "Ver más".
     */
    padding-bottom: 25px;
}


/* =========================================================
   TEXTO AL PASAR EL CURSOR
========================================================= */

.services-page .service-card:hover
.service-card-content h2 {

    color: #ffffff;
}


.services-page .service-card:hover
.service-card-content p {

    color: #ffffff;
}


/* =========================================================
   BOTÓN VER MÁS
========================================================= */

.services-page .service-card .service-card-content a,
.services-page .service-card .service-card-content .service-card-button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    align-self: center;

    gap: 8px;

    /*
     * Mantiene todos los botones alineados
     * independientemente de la longitud
     * de la descripción.
     */
    margin-top: auto;

    min-width: 120px;

    padding: 12px 24px;

    background-color: #ffffff !important;

    color: #1261E8 !important;

    border: 2px solid #ffffff;

    border-radius: 8px;

    font-size: 15px;

    font-weight: 700;

    line-height: 1.2;

    text-decoration: none !important;

    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


/* =========================================================
   TEXTO DEL BOTÓN
========================================================= */

.services-page .service-card .service-card-content a *,
.services-page .service-card .service-card-content .service-card-button * {

    color: #1261E8 !important;
}


/* =========================================================
   BOTÓN EN HOVER DE LA TARJETA
========================================================= */

.services-page .service-card:hover
.service-card-content a,

.services-page .service-card:hover
.service-card-content .service-card-button {

    background-color: #ffffff !important;

    color: #1261E8 !important;

    box-shadow:
        0 6px 18px rgba(0, 0, 0, 0.15);

    transform: translateY(-2px);
}


/* =========================================================
   HOVER DIRECTAMENTE SOBRE EL BOTÓN
========================================================= */

.services-page .service-card
.service-card-content a:hover,

.services-page .service-card
.service-card-content .service-card-button:hover {

    background-color: #f1f6ff !important;

    color: #0b4fc7 !important;
}


/* =========================================================
   TEXTO DEL BOTÓN AL PASAR EL CURSOR
========================================================= */

.services-page .service-card
.service-card-content a:hover *,

.services-page .service-card
.service-card-content .service-card-button:hover * {

    color: #0b4fc7 !important;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .services-page .services-list-container {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


/* =========================================================
   CELULAR
========================================================= */

@media (max-width: 650px) {

    .services-description {
        padding: 30px 18px 15px;
    }


    .services-description-container {
        padding: 24px 22px;

        border-radius: 14px;
    }


    .services-description-container p {
        font-size: 16px;

        line-height: 1.7;
    }


    .services-page .services-list {
        padding: 55px 20px 50px;
    }


    .services-page .services-list-container {
        grid-template-columns: 1fr;

        gap: 22px;
    }


    .services-page .service-card-image {
        height: 190px;
    }

}

/* =========================================================
   PÁGINA DETALLE DE SERVICIO
   Plantilla automática para todos los servicios
========================================================= */

.service-detail-page {
    width: 100%;
    box-sizing: border-box;

    padding: 60px 30px 90px;

    background: #f5f8fd;

    color: #17324d;
}


/* =========================================================
   HERO DEL SERVICIO
========================================================= */

.service-detail-hero {
    width: 100%;
    max-width: 1200px;

    margin: 0 auto 50px;

    background: #ffffff;

    border-radius: 26px;

    overflow: hidden;

    box-shadow:
        0 18px 50px rgba(15, 55, 100, 0.10);
}


/* Imagen principal */

.service-detail-hero-image {
    width: 100%;

    max-height: 520px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #eef4fa;

    overflow: hidden;
}


.service-detail-hero-image img {
    display: block;

    width: 100%;

    max-height: 520px;

    object-fit: contain;
}


/* Contenido del Hero */

.service-detail-hero-content {
    padding: 48px 60px 52px;

    text-align: center;
}


.service-detail-hero-content h1 {
    margin: 0 0 18px;

    color: #09244d;

    font-size: 28px;

    font-weight: 800;

    line-height: 1.15;
}


.service-detail-subtitle {
    max-width: 850px;

    margin: 0 auto;

    color: #526b86;

    font-size: 17px;

    line-height: 1.7;
}


/* =========================================================
   SECCIONES GENERALES
========================================================= */

.service-detail-section {
    width: 100%;

    max-width: 1200px;

    margin: 0 auto 35px;

    padding: 55px 65px;

    box-sizing: border-box;

    background: #ffffff;

    border-radius: 22px;

    box-shadow:
        0 12px 35px rgba(15, 55, 100, 0.07);
}


.service-detail-inner {
    width: 100%;

    max-width: 1050px;

    margin: 0 auto;
}


/* Etiqueta pequeña superior */

.service-detail-label {
    display: block;

    margin-bottom: 12px;

    color: #1261e8;

    font-size: 19px;

    font-weight: 800;

    letter-spacing: 1.5px;

    text-transform: uppercase;
}


/* Títulos de sección */

.service-detail-section h2 {
    margin: 0 0 25px;

    color: #09244d;

    font-size: 25px;

    font-weight: 800;

    line-height: 1.25;
}


/* Texto */

.service-detail-text {
    color: #526b86;

    font-size: 17px;

    line-height: 1.85;
}


/* =========================================================
   DOLOR Y SOLUCIÓN
========================================================= */

.service-detail-problem {
    border-left: 5px solid #1261e8;
}


.service-detail-problem .service-detail-text p {
    margin: 0 0 18px;
}


/* =========================================================
   INFORMACIÓN COMPLETA
========================================================= */

.service-detail-full {
    width: 100%;

    color: #405b76;

    font-size: 17px;

    line-height: 1.85;
}


.service-detail-full p {
    margin: 0 0 20px;
}


/* Títulos escritos desde el editor */

.service-detail-full h2 {
    margin-top: 38px;

    margin-bottom: 18px;

    color: #09244d;

    font-size: 25px;
}


.service-detail-full h3 {
    margin-top: 32px;

    margin-bottom: 15px;

    color: #09244d;

    font-size: 23px;
}


.service-detail-full h4 {
    margin-top: 28px;

    margin-bottom: 12px;

    color: #09244d;
}


/* Listas */

.service-detail-full ul,
.service-detail-full ol {
    margin: 20px 0;

    padding-left: 28px;
}


.service-detail-full li {
    margin-bottom: 9px;
}


/* Imágenes colocadas desde el editor */

.service-detail-full img {
    display: block;

    max-width: 100%;

    height: auto;

    margin: 30px auto;

    border-radius: 16px;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.10);
}


/* Enlaces */

.service-detail-full a {
    color: #1261e8;

    font-weight: 700;
}


/* =========================================================
   ALCANCE DEL SERVICIO
========================================================= */

.service-detail-scope {
    background: #f9fbfe;
}


.service-scope-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 20px;

    margin-top: 30px;
}


.service-scope-item {
    display: flex;

    align-items: flex-start;

    gap: 16px;

    padding: 24px;

    background: #ffffff;

    border: 1px solid #e5edf6;

    border-radius: 16px;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}


.service-scope-item:hover {
    transform: translateY(-4px);

    border-color: #c9dcf5;

    box-shadow:
        0 10px 28px rgba(18, 97, 232, 0.09);
}


.service-scope-icon {
    flex: 0 0 42px;

    width: 42px;

    height: 42px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: #eaf2ff;

    color: #1261e8;

    border-radius: 12px;

    font-size: 20px;

    font-weight: 800;
}


.service-scope-item h3 {
    margin: 2px 0 8px;

    color: #09244d;

    font-size: 20px;
}


.service-scope-item p {
    margin: 0;

    color: #627a93;

    font-size: 17px;

    line-height: 1.65;
}


/* =========================================================
   VENTAJAS COMPETITIVAS
========================================================= */

.service-advantages-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 24px;

    margin-top: 30px;
}


.service-advantage-item {
    padding: 30px;

    background: #f7faff;

    border-radius: 18px;

    border: 1px solid #e4edf7;

    position: relative;
}


.service-advantage-item::before {
    content: "";

    display: block;

    width: 38px;

    height: 4px;

    margin-bottom: 20px;

    background: #1261e8;

    border-radius: 10px;
}


.service-advantage-item h3 {
    margin: 0 0 12px;

    color: #09244d;

    font-size: 20px;
}


.service-advantage-item p {
    margin: 0;

    color: #607991;

    font-size: 17px;

    line-height: 1.7;
}


/* =========================================================
   PROCESO DE TRABAJO
========================================================= */

.service-detail-process {
    background: #ffffff;
}


.service-process-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 24px;

    margin-top: 35px;
}


.service-process-item {
    position: relative;

    padding: 30px;

    background: #f7faff;

    border: 1px solid #e3edf7;

    border-radius: 18px;
}


.service-process-number {
    width: 48px;

    height: 48px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin-bottom: 20px;

    background: #1261e8;

    color: #ffffff;

    border-radius: 50%;

    font-size: 16px;

    font-weight: 800;
}


.service-process-item h3 {
    margin: 0 0 12px;

    color: #09244d;

    font-size: 20px;
}


.service-process-item p {
    margin: 0;

    color: #607991;

    font-size: 17px;

    line-height: 1.7;
}


/* =========================================================
   GALERÍA DE IMÁGENES
========================================================= */

.service-detail-gallery {
    background: #ffffff;
}


.service-gallery-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 20px;

    margin-top: 30px;
}


.service-gallery-item {
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: auto;
    overflow: hidden;
    background: #f1f6fb;
    border-radius: 16px;
}


.service-gallery-item img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    flex-shrink: 0;
    transition: transform 0.35s ease;
}


.service-gallery-item:hover img {
    transform: scale(1.04);
}


/* =========================================================
   CTA FINAL
========================================================= */

.service-detail-cta {
    width: 100%;

    max-width: 1200px;

    margin: 45px auto 35px;

    padding: 65px 40px;

    box-sizing: border-box;

    background:
        linear-gradient(
            135deg,
            #09244d 0%,
            #1261e8 100%
        );

    border-radius: 24px;

    text-align: center;

    box-shadow:
        0 18px 45px rgba(18, 97, 232, 0.18);
}


.service-detail-cta-inner {
    max-width: 750px;

    margin: 0 auto;
}


.service-detail-cta h2 {
    margin: 0 0 15px;

    color: #ffffff;

    font-size: 34px;

    font-weight: 800;
}


.service-detail-cta p {
    margin: 0 auto 30px;

    color: rgba(255, 255, 255, 0.88);

    font-size: 17px;

    line-height: 1.7;
}


.service-detail-cta-button {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 15px 30px;

    background: #ffffff;

    color: #1261e8 !important;

    border-radius: 10px;

    font-size: 15px;

    font-weight: 800;

    text-decoration: none !important;

    box-shadow:
        0 8px 22px rgba(0, 0, 0, 0.15);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


.service-detail-cta-button:hover {
    color: #0b4fc7 !important;

    transform: translateY(-3px);

    box-shadow:
        0 12px 28px rgba(0, 0, 0, 0.20);
}


/* =========================================================
   NAVEGACIÓN
========================================================= */

.service-detail-navigation {
    width: 100%;

    max-width: 1200px;

    margin: 25px auto 0;

    text-align: center;
}


.service-detail-back-button {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 13px 24px;

    background: #ffffff;

    color: #1261e8 !important;

    border: 1px solid #d7e5f5;

    border-radius: 10px;

    font-size: 15px;

    font-weight: 700;

    text-decoration: none !important;

    transition:
        background-color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


.service-detail-back-button:hover {
    background: #f0f6ff;

    transform: translateY(-2px);

    box-shadow:
        0 8px 20px rgba(18, 97, 232, 0.10);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 950px) {

    .service-detail-page {
        padding: 45px 20px 70px;
    }


    .service-detail-hero-content {
        padding: 40px 35px 45px;
    }


    .service-detail-hero-content h1 {
        font-size: 28px;
    }


    .service-detail-section {
        padding: 45px 35px;
    }


    .service-scope-grid,
    .service-advantages-grid,
    .service-process-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    .service-gallery-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}


/* =========================================================
   CELULAR
========================================================= */

@media (max-width: 650px) {

    .service-detail-page {
        padding: 25px 12px 50px;
    }


    .service-detail-hero {
        border-radius: 18px;

        margin-bottom: 25px;
    }


    .service-detail-hero-image {
        max-height: 280px;
    }


    .service-detail-hero-image img {
        max-height: 280px;
    }


    .service-detail-hero-content {
        padding: 32px 22px 35px;
    }


    .service-detail-hero-content h1 {
        font-size: 28px;
    }


    .service-detail-subtitle {
        font-size: 16px;

        line-height: 1.65;
    }


    .service-detail-section {
        padding: 35px 22px;

        border-radius: 18px;

        margin-bottom: 20px;
    }


    .service-detail-section h2 {
        font-size: 26px;
    }


    .service-detail-text,
    .service-detail-full {
        font-size: 16px;

        line-height: 1.75;
    }


    .service-scope-grid,
    .service-advantages-grid,
    .service-process-grid,
    .service-gallery-grid {
        grid-template-columns: 1fr;

        gap: 15px;
    }


    .service-scope-item,
    .service-advantage-item,
    .service-process-item {
        padding: 0 0 25px;
    }


    .service-detail-cta {
        padding: 45px 22px;

        border-radius: 18px;

        margin-top: 30px;
    }


    .service-detail-cta h2 {
        font-size: 27px;
    }


    .service-detail-cta p {
        font-size: 15px;
    }
}

/* =========================================================
   SELECTOR RÁPIDO DE SERVICIOS
========================================================= */

.services-selector {
    width: 100%;

    padding: 25px 30px 10px;

    box-sizing: border-box;

    background: #ffffff;
}

.services-selector-container {
    width: 100%;

    max-width: 520px;

    margin: 0 auto;

    text-align: center;
}

.services-selector-label {
    display: block;

    margin-bottom: 10px;

    color: #09244d;

    font-size: 14px;

    font-weight: 700;

    text-align: center;
}

.services-selector-select {
    width: 100%;

    min-height: 48px;

    padding: 12px 45px 12px 16px;

    box-sizing: border-box;

    background-color: #ffffff;

    color: #09244d;

    border: 1px solid #d6e2f0;

    border-radius: 10px;

    font-size: 15px;

    font-weight: 600;

    cursor: pointer;

    outline: none;

    box-shadow:
        0 4px 14px rgba(18, 97, 232, 0.07);

    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.services-selector-select:hover {
    border-color: #1261E8;
}

.services-selector-select:focus {
    border-color: #1261E8;

    box-shadow:
        0 0 0 3px rgba(18, 97, 232, 0.10);
}

/* =========================================================
   PROYECTOS
   TECHSUPP360 - PÁGINA PÚBLICA
========================================================= */

.projects-page {
    width: 100%;
    background: #ffffff;
    color: #17233d;
}


/* =========================================================
   CONTENEDOR GENERAL
========================================================= */

.projects-container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}


/* =========================================================
   HERO DE PROYECTOS
========================================================= */

.projects-page .projects-hero {
    position: relative;
    width: 100%;
    min-height: 485px;

    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
}


/* OSCURECER IMAGEN */

.projects-page .projects-hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            135deg,
            rgba(5, 25, 55, 0.78),
            rgba(18, 100, 232, 0.55)
        );

    z-index: 1;
}


/* CONTENIDO HERO */

.projects-page .projects-hero-content {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 1100px;

    padding: 90px 30px;

    box-sizing: border-box;

    text-align: center;
}


.projects-page .projects-hero-content h1 {
    margin: 0 0 18px;

    color: #ffffff;

    font-size: clamp(40px, 5vw, 40px);

    line-height: 1.08;

    font-weight: 800;

    letter-spacing: -1px;

    text-shadow:
        0 3px 15px rgba(0, 0, 0, 0.25);
}


.projects-page .projects-hero-content p {
    max-width: 850px;

    margin: 0 auto;

    color: rgba(255, 255, 255, 0.95);

    font-size: 20px;

    line-height: 1.7;

    font-weight: 400;
}


/* =========================================================
   DESCRIPCIÓN GENERAL
========================================================= */

.projects-page .projects-description {
    width: 100%;

    padding: 50px 25px 25px;

    background: #ffffff;

    box-sizing: border-box;
}


.projects-page .projects-description-container {
    width: 100%;
    max-width: 1000px;

    margin: 0 auto;

    text-align: center;
}


.projects-page .projects-description-container p {
    margin: 0;

    color: #31527c;

    font-size: 19px;

    line-height: 1.8;
}


/* =========================================================
   BIENVENIDA
========================================================= */

.projects-welcome {
    width: 100%;

    padding: 75px 25px;

    background: #f5f8fc;

    box-sizing: border-box;
}


.projects-welcome .projects-container {
    max-width: 950px;

    text-align: center;
}


.projects-welcome h2 {
    margin: 0 0 20px;

    color: #0b2d5c;

    font-size: clamp(25px, 4vw, 25px);

    line-height: 1.15;

    font-weight: 800;
}


.projects-welcome-text,
.projects-welcome-stats {
    max-width: 850px;

    margin: 0 auto 20px;
}


.projects-welcome-text p,
.projects-welcome-stats p {
    margin: 0 0 12px;

    color: #52657c;

    font-size: 18px;

    line-height: 1.7;
}


/* =========================================================
   BOTONES GENERALES
========================================================= */

.projects-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    margin-top: 18px;

    padding: 14px 28px;

    border-radius: 999px;

    background: #075bd8;

    color: #ffffff !important;

    font-size: 16px;

    font-weight: 700;

    text-decoration: none !important;

    box-shadow:
        0 8px 22px rgba(7, 91, 216, 0.22);

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        background .2s ease;
}


.projects-button:hover {
    background: #004bb8;

    color: #ffffff !important;

    transform: translateY(-2px);

    box-shadow:
        0 12px 28px rgba(7, 91, 216, 0.28);
}


/* =========================================================
   CATEGORÍAS
========================================================= */

.projects-categories {
    width: 100%;

    padding: 75px 25px;

    background: #ffffff;

    box-sizing: border-box;
}


.projects-categories .projects-container {
    max-width: 1180px;
}


.projects-section-heading {
    max-width: 850px;

    margin: 0 auto 45px;

    text-align: center;
}


.projects-section-heading h2 {
    margin: 0 0 14px;

    color: #0b2d5c;

    font-size: clamp(25px, 4vw, 25px);

    line-height: 1.15;

    font-weight: 800;
}


.projects-section-heading p {
    margin: 0;

    color: #5c6d82;

    font-size: 18px;

    line-height: 1.6;
}


.projects-category-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 24px;
}


.projects-category-card {
    padding: 30px 26px;

    background: #ffffff;

    border: 1px solid #dce7f5;

    border-radius: 18px;

    text-align: center;

    box-shadow:
        0 8px 25px rgba(17, 48, 87, 0.07);

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}


.projects-category-card:hover {
    transform: translateY(-5px);

    border-color: #6ea8ff;

    box-shadow:
        0 15px 35px rgba(17, 48, 87, 0.12);
}


.projects-category-icon {
    margin-bottom: 14px;

    font-size: 38px;
}


.projects-category-card h3 {
    margin: 0 0 10px;

    color: #0b2d5c;

    font-size: 21px;
}


.projects-category-card p {
    margin: 0;

    color: #64748b;

    line-height: 1.6;
}

/* =========================================================
   LISTA DE PROYECTOS
   5 PROYECTOS POR FILA
========================================================= */

.projects-page .projects-list-section {
    width: 100%;
    padding: 55px 20px 70px;
    background: #f5f8fc;
    box-sizing: border-box;
}


.projects-page .projects-list {
    width: 100%;
    padding: 0;
    margin: 0;
    background: transparent;
    box-sizing: border-box;
}


/* =========================================================
   GRID DE PROYECTOS
========================================================= */

.projects-page .projects-list-container {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;

    display: grid !important;

    grid-template-columns:
        repeat(5, minmax(0, 1fr)) !important;

    gap: 18px;

    align-items: stretch;
}


/* =========================================================
   TARJETA
========================================================= */

.projects-page .project-card {
    position: relative;

    width: 100%;
    min-width: 0;
    max-width: 100%;

    display: flex;
    flex-direction: column;

    background: #ffffff;

    border: 1px solid #dce7f5;

    border-radius: 14px;

    overflow: hidden;

    box-sizing: border-box;

    box-shadow:
        0 6px 20px rgba(17, 48, 87, 0.08);

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}


.projects-page .project-card:hover {
    transform: translateY(-5px);

    border-color: #bcd2ed;

    box-shadow:
        0 14px 30px rgba(17, 48, 87, 0.14);
}


/* =========================================================
   IMAGEN
   NO RECORTAR EL CONTENIDO
========================================================= */

.projects-page .project-card-image {
    position: relative;

    width: 100%;

    /*
       Relación horizontal de la imagen.
       Esto permite que las imágenes sean compactas.
    */
    aspect-ratio: 16 / 9;

    height: auto;

    overflow: hidden;

    background: #eef4fa;

    display: flex;

    align-items: center;

    justify-content: center;
}


/* =========================================================
   IMAGEN COMPLETA
========================================================= */

.projects-page .project-card-image img {
    width: 100%;

    height: 100%;

    display: block;

    /*
       CONTAIN = muestra TODA la imagen
       sin cortarla.
    */
    object-fit: contain;

    object-position: center center;

    background: #eef4fa;

    transition:
        transform .35s ease;
}


.projects-page .project-card:hover
.project-card-image img {
    transform: scale(1.025);
}


/* =========================================================
   CONTENIDO DE LA TARJETA
========================================================= */

.projects-page .project-card-content {
    padding: 15px 16px 17px;

    display: flex;

    flex-direction: column;

    flex: 1;

    box-sizing: border-box;
}


/* =========================================================
   CATEGORÍA
========================================================= */

.projects-page .project-card-category {
    display: inline-flex;

    align-self: flex-start;

    margin-bottom: 8px;

    padding: 5px 9px;

    border-radius: 50px;

    background: #e8f1ff;

    color: #075bd8;

    font-size: 10px;

    line-height: 1;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: .3px;
}


/* =========================================================
   TÍTULO
========================================================= */

.projects-page .project-card h2,
.projects-page .project-card h3 {
    margin: 0 0 8px;

    color: #0b2d5c;

    font-size: 18px;

    line-height: 1.25;

    font-weight: 800;
}


/* =========================================================
   DESCRIPCIÓN
========================================================= */

.projects-page .project-card p {
    margin: 0;

    color: #536174;

    font-size: 13px;

    line-height: 1.5;
}


/* =========================================================
   DETALLES DEL PROYECTO
========================================================= */

.projects-page .project-card .project-detail {
    margin-top: 13px;

    padding-top: 13px;

    border-top: 1px solid #e6edf5;
}


.projects-page .project-card .project-detail strong {
    display: block;

    margin-bottom: 6px;

    color: #0b2d5c;

    font-size: 13px;
}


.projects-page .project-card .project-detail p {
    margin: 0 0 7px;

    color: #5b6b80;

    font-size: 12px;

    line-height: 1.5;
}


.projects-page .project-card .project-detail ul {
    margin: 6px 0 0;

    padding-left: 17px;
}


.projects-page .project-card .project-detail li {
    margin-bottom: 5px;

    color: #5b6b80;

    font-size: 12px;

    line-height: 1.45;
}


/* =========================================================
   RESULTADOS
========================================================= */

.projects-page .project-card .project-results {
    margin-top: 13px;

    padding: 13px;

    border: 1px solid #d7e8ff;

    border-radius: 10px;

    background: #f1f7ff;

    font-size: 12px;
}


.projects-page .project-card .project-results strong {
    color: #075bd8;
}


/* =========================================================
   GALERÍA INTERNA
========================================================= */

.projects-page .project-card .project-gallery {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 7px;

    margin-top: 14px;
}


.projects-page .project-card .project-gallery img {
    width: 100%;

    height: 90px;

    object-fit: contain;

    object-position: center;

    background: #eef4fa;

    border-radius: 8px;

    display: block;
}


/* =========================================================
   TABLET GRANDE
   3 PROYECTOS
========================================================= */

@media (max-width: 1250px) {

    .projects-page .projects-list-container {
        grid-template-columns:
            repeat(3, minmax(0, 1fr)) !important;

        gap: 20px;
    }

}


/* =========================================================
   TABLET
   2 PROYECTOS
========================================================= */

@media (max-width: 900px) {

    .projects-page .projects-list-container {
        grid-template-columns:
            repeat(2, minmax(0, 1fr)) !important;

        gap: 20px;
    }

}


/* =========================================================
   MÓVIL
   1 PROYECTO
========================================================= */

@media (max-width: 600px) {

    .projects-page .projects-list-section {
        padding: 45px 15px 55px;
    }


    .projects-page .projects-list-container {
        grid-template-columns:
            1fr !important;

        gap: 20px;
    }


    .projects-page .project-card-image {
        aspect-ratio: 16 / 9;
    }


    .projects-page .project-card-content {
        padding: 18px;
    }


    .projects-page .project-card h2,
    .projects-page .project-card h3 {
        font-size: 21px;
    }


    .projects-page .project-card p {
        font-size: 14px;
    }

}

/* =========================================================
   DETALLES DEL PROYECTO
========================================================= */

.project-detail {
    margin-top: 15px;

    padding-top: 15px;

    border-top: 1px solid #e6edf5;
}


.project-detail strong {
    display: block;

    margin-bottom: 7px;

    color: #0b2d5c;

    font-size: 14px;
}


.project-detail p {
    margin: 0 0 8px;

    color: #5b6b80;

    font-size: 13px;

    line-height: 1.55;
}


.project-detail ul {
    margin: 7px 0 0;

    padding-left: 18px;
}


.project-detail li {
    margin-bottom: 6px;

    color: #5b6b80;

    font-size: 13px;

    line-height: 1.5;
}


/* =========================================================
   RESULTADOS
========================================================= */

.project-results {
    margin-top: 15px;

    padding: 15px;

    border: 1px solid #d7e8ff;

    border-radius: 11px;

    background: #f1f7ff;
}


.project-results strong {
    color: #075bd8;
}


/* =========================================================
   GALERÍA
========================================================= */

.project-gallery {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 8px;

    margin-top: 18px;
}


.project-gallery img {
    width: 100%;

    height: 120px;

    object-fit: cover;

    border-radius: 9px;

    display: block;
}


/* =========================================================
   ETAPAS DE TRABAJO
========================================================= */

.projects-process {
    width: 100%;

    padding: 75px 25px;

    background: #ffffff;

    box-sizing: border-box;
}


.projects-process-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 20px;
}


.projects-process-card {
    padding: 30px 24px;

    border: 1px solid #dce7f5;

    border-radius: 18px;

    background: #ffffff;

    box-shadow:
        0 8px 24px rgba(17, 48, 87, 0.06);
}


.projects-process-number {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    width: 44px;

    height: 44px;

    margin-bottom: 18px;

    border-radius: 50%;

    background: #075bd8;

    color: #ffffff;

    font-weight: 800;
}


.projects-process-card h3 {
    margin: 0 0 12px;

    color: #0b2d5c;

    font-size: 20px;
}


.projects-process-card p {
    margin: 0;

    color: #5b6b80;

    line-height: 1.65;
}


/* =========================================================
   CTA FINAL
========================================================= */

.projects-final-cta {
    width: 100%;

    padding: 80px 25px;

    background:
        linear-gradient(
            135deg,
            #071f45,
            #075bd8
        );

    text-align: center;

    box-sizing: border-box;
}


.projects-final-cta .projects-container {
    max-width: 850px;
}


.projects-final-cta h2 {
    margin: 0 0 18px;

    color: #ffffff;

    font-size: clamp(28px, 4vw, 25px);
}


.projects-final-cta-text p {
    margin: 0 0 10px;

    color: rgba(255, 255, 255, 0.88);

    font-size: 18px;

    line-height: 1.7;
}


.projects-button-light {
    background: #ffffff;

    color: #075bd8 !important;
}


.projects-button-light:hover {
    background: #eef5ff;

    color: #004bb8 !important;
}


/* =========================================================
   CUANDO NO HAY PROYECTOS
========================================================= */

.projects-page .projects-empty {
    width: 100%;

    max-width: 900px;

    margin: 20px auto 60px;

    padding: 50px 30px;

    text-align: center;

    background: #ffffff;

    border: 1px solid #dce7f5;

    border-radius: 18px;

    box-sizing: border-box;

    box-shadow:
        0 8px 25px rgba(17, 48, 87, 0.06);
}


.projects-page .projects-empty p {
    margin: 0;

    color: #536174;

    font-size: 17px;

    line-height: 1.7;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1200px) {

    .projects-page .projects-list-container {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));

        gap: 20px;
    }

}


/* =========================================================
   TABLET PEQUEÑA
========================================================= */

@media (max-width: 1100px) {

    .projects-page .projects-list-container {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 25px;
    }

    .projects-category-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .projects-process-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


/* =========================================================
   MÓVIL
========================================================= */

@media (max-width: 700px) {

    .projects-container {
        width: min(100% - 28px, 1180px);
    }


    .projects-page .projects-hero {
        min-height: 360px;
    }


    .projects-page .projects-hero-content {
        padding: 75px 20px 60px;
    }


    .projects-page .projects-hero-content h1 {
        font-size: 40px;

        letter-spacing: -.5px;
    }


    .projects-page .projects-hero-content p {
        font-size: 16px;

        line-height: 1.6;
    }


    .projects-page .projects-description {
        padding: 40px 20px 20px;
    }


    .projects-page .projects-description-container p {
        font-size: 16px;

        line-height: 1.7;
    }


    .projects-welcome,
    .projects-categories,
    .projects-page .projects-list-section,
    .projects-process {
        padding: 55px 20px;
    }


    .projects-category-grid,
    .projects-process-grid,
    .projects-page .projects-list-container {
        grid-template-columns: 1fr;

        gap: 22px;
    }


    .projects-page .project-card-image {
        height: 230px;
    }


    .projects-page .project-card-content {
        padding: 22px 20px 25px;
    }


    .projects-page .project-card h2,
    .projects-page .project-card h3 {
        font-size: 23px;
    }


    .project-gallery {
        grid-template-columns: 1fr;
    }


    .project-gallery img {
        height: 210px;
    }

}


/* =========================================================
   MÓVIL PEQUEÑO
========================================================= */

@media (max-width: 480px) {

    .projects-page .projects-hero {
        min-height: 330px;
    }


    .projects-page .projects-hero-content h1 {
        font-size: 36px;
    }


    .projects-page .projects-hero-content p {
        font-size: 15px;
    }


    .projects-page .projects-description-container p {
        font-size: 16px;
    }

}

/* =========================================================
   BOTÓN HABLAR CON UN ASESOR
   AJUSTE DEL ICONO DE TELÉFONO
========================================================= */

.projects-detail-contact {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

/* Icono de teléfono */
.projects-detail-contact .phone-icon {
    font-size: 15px;
    opacity: 0.65;
    line-height: 1;
}

/* =========================================================
   PÁGINA SOFTWARE
   TECHSUPP360
========================================================= */

.software-page {
    width: 100%;
    background: #ffffff;
    color: #17233d;
    font-family: Arial, Helvetica, sans-serif;
}


/* =========================================================
   HERO SOFTWARE
========================================================= */

.software-page .software-hero {
    position: relative;
    width: 100%;
    min-height: 485px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    background: #071f45;
}


/* =========================================================
   CONTENEDOR DE IMAGEN
========================================================= */

.software-page .software-hero-image {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    overflow: hidden;
}


/* =========================================================
   IMAGEN
========================================================= */

.software-page .software-hero-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center center;

    transform: scale(1.01);

    transition: transform 0.6s ease;
}


/* =========================================================
   OSCURECER IMAGEN
========================================================= */

.software-page .software-hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            135deg,
            rgba(5, 25, 55, 0.82),
            rgba(18, 100, 232, 0.58)
        );

    z-index: 1;
}


/* =========================================================
   CONTENIDO HERO
========================================================= */

.software-page .software-hero-content {
    position: relative;

    z-index: 2;

    width: 100%;
    max-width: 1100px;

    padding: 90px 30px;

    box-sizing: border-box;

    text-align: center;

    color: #ffffff;
}


/* =========================================================
   TÍTULO
========================================================= */

.software-page .software-hero-content h1 {
    margin: 0 0 18px;

    color: #ffffff;

    font-size: 40px;

    line-height: 1.08;

    font-weight: 800;

    letter-spacing: -0.5px;

    text-shadow:
        0 3px 15px rgba(0, 0, 0, 0.30);
}


/* =========================================================
   SUBTÍTULO
========================================================= */

.software-page .software-hero-content p {
    width: 100%;
    max-width: 850px;

    margin: 0 auto;

    color: rgba(255, 255, 255, 0.95);

    font-size: 17px;

    line-height: 1.7;

    font-weight: 400;
}


/* =========================================================
   DESCRIPCIÓN DESTACADA
========================================================= */

.software-page .software-description {
    width: 100%;

    padding: 70px 25px 40px;

    background: #ffffff;

    box-sizing: border-box;
}


.software-page .software-description .software-container {
    max-width: 980px;

    margin: 0 auto;
}


/* =========================================================
   TARJETA SOFTWARE EXCLUSIVO
========================================================= */

.software-page .software-description-content {

    position: relative;

    padding: 48px 100px 48px 65px;

    background:
        linear-gradient(
            135deg,
            #f4f8ff,
            #eef5ff
        );

    border: 1px solid #d9e6fa;

    border-radius: 24px;

    box-shadow:
        0 18px 45px rgba(15, 66, 130, 0.08);

    text-align: center;

    color: #29466d;

    font-size: 19px;

    line-height: 1.8;

    overflow: hidden;
}


/* =========================================================
   ETIQUETA SOFTWARE EXCLUSIVO
========================================================= */

.software-page .software-description-content::before {

    content: "SOFTWARE EXCLUSIVO";

    display: inline-block;

    margin-bottom: 28px;

    padding: 9px 20px;

    background: #1769e8;

    color: #ffffff;

    border-radius: 30px;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 1px;
}


/* =========================================================
   ENGRANAJE
========================================================= */

.software-page .software-description-content::after {

    content: "⚙";

    position: absolute;

    right: 35px;
    top: 50%;

    width: 52px;
    height: 52px;

    display: flex;

    align-items: center;
    justify-content: center;

    color: #2878ed;

    font-size: 40px;

    line-height: 1;

    opacity: 0.90;

    pointer-events: none;

    transform:
        translateY(-50%)
        rotate(0deg);

    animation:
        softwareGearRotate
        7s
        linear
        infinite;

    text-shadow:
        0 4px 12px rgba(40, 120, 237, 0.18);
}


/* =========================================================
   ANIMACIÓN ENGRANAJE
========================================================= */

@keyframes softwareGearRotate {

    from {

        transform:
            translateY(-50%)
            rotate(0deg);

    }

    to {

        transform:
            translateY(-50%)
            rotate(360deg);

    }

}


/* =========================================================
   TEXTO DESCRIPCIÓN
========================================================= */

.software-page .software-description-content p {

    margin: 0 0 14px;

}


.software-page .software-description-content p:last-child {

    margin-bottom: 0;

}


/* =========================================================
   SECCIÓN SOLUCIONES
========================================================= */

.software-page .software-solutions {
    width: 100%;
    padding: 25px 25px 80px;
    background: #ffffff;
    box-sizing: border-box;
}


.software-page .software-solutions-container {

    width: 100%;

    max-width: 1400px;

    margin: 0 auto;
}


/* =========================================================
   TÍTULO SOLUCIONES
========================================================= */

.software-page .software-solutions-title {
    margin: 0 0 35px;

    color: #0b2347;

    text-align: center;

    font-size: 25px;

    line-height: 1.2;

    font-weight: 800;
}


/* =========================================================
   DESCRIPCIÓN SOLUCIONES
========================================================= */

.software-page .software-solutions-description {

    max-width: 750px;

    margin: 12px auto 35px;

    color: #65758c;

    text-align: center;

    font-size: 16px;

    line-height: 1.6;
}


/* =========================================================
   GRID DE TARJETAS
   6 TARJETAS POR FILA
========================================================= */

.software-page .software-solutions-grid {

    width: 100%;

    display: grid;

    grid-template-columns:
        repeat(6, minmax(0, 1fr));

    gap: 18px;

    align-items: stretch;
}


/* =========================================================
   TARJETA SOFTWARE
========================================================= */

.software-page .software-solution-card {

    position: relative;

    min-width: 0;

    display: flex;

    flex-direction: column;

    align-items: center;

    padding: 25px 18px 22px;

    background: #ffffff;

    border: 1px solid #e1e9f5;

    border-radius: 18px;

    box-shadow:
        0 8px 24px rgba(20, 67, 120, 0.07);

    text-align: center;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}


/* =========================================================
   EFECTO HOVER
========================================================= */

.software-page .software-solution-card:hover {

    transform: translateY(-6px);

    border-color: #78aaf5;

    box-shadow:
        0 15px 32px rgba(20, 88, 170, 0.14);
}


/* =========================================================
   ICONO
========================================================= */

.software-page .software-solution-icon {

    width: 52px;

    height: 52px;

    margin-bottom: 15px;

    display: flex;

    align-items: center;

    justify-content: center;

    background:
        linear-gradient(
            135deg,
            #eaf3ff,
            #dcecff
        );

    border-radius: 15px;

    color: #1769e8;

    font-size: 25px;

    font-weight: 700;

    box-shadow:
        inset 0 0 0 1px rgba(23, 105, 232, 0.08);
}


/* =========================================================
   NOMBRE SOFTWARE
========================================================= */

.software-page .software-solution-name {

    width: 100%;

    margin: 0 0 10px;

    color: #0c2850;

    font-size: 17px;

    line-height: 1.3;

    font-weight: 800;
}


/* =========================================================
   DESCRIPCIÓN TARJETA
========================================================= */

.software-page .software-solution-description {

    width: 100%;

    margin: 0 0 18px;

    color: #65758c;

    font-size: 13px;

    line-height: 1.55;

    flex-grow: 1;
}


/* =========================================================
   BOTÓN WHATSAPP
========================================================= */

.software-page .software-solution-button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 36px;

    padding: 8px 15px;

    border-radius: 9px;

    background: #1769e8;

    color: #ffffff !important;

    font-size: 12px;

    font-weight: 700;

    text-decoration: none !important;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}


.software-page .software-solution-button:hover {

    background: #0b55c7;

    color: #ffffff !important;

    transform: translateY(-2px);
}


/* =========================================================
   BLOQUE DE ASESORÍA
========================================================= */

.software-page .software-solutions-contact {

    max-width: 780px;

    margin: 50px auto 0;

    padding: 30px 35px;

    background: #f7faff;

    border: 1px solid #dce8f8;

    border-radius: 18px;

    text-align: center;
}


.software-page .software-solutions-contact h3 {

    margin: 0 0 8px;

    color: #0b2850;

    font-size: 21px;

    font-weight: 800;
}


.software-page .software-solutions-contact p {

    margin: 0;

    color: #667891;

    font-size: 15px;

    line-height: 1.6;
}


/* =========================================================
   CONTENIDO SOFTWARE
========================================================= */

.software-page .software-content {

    width: 100%;

    padding: 40px 25px 80px;

    background: #ffffff;

    box-sizing: border-box;
}


.software-page .software-container {

    width: 100%;

    max-width: 1200px;

    margin: 0 auto;
}


/* =========================================================
   EFECTO SUAVE HERO
========================================================= */

.software-page .software-hero:hover
.software-hero-image img {

    transform: scale(1.025);
}


/* =========================================================
   TABLET GRANDE
========================================================= */

@media (max-width: 1200px) {

    .software-page .software-solutions-grid {

        grid-template-columns:
            repeat(4, minmax(0, 1fr));

    }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .software-page .software-hero {

        min-height: 430px;

    }


    .software-page .software-hero-content {

        padding: 80px 25px;

    }


    .software-page .software-hero-content h1 {

        font-size: 40px;

    }


    .software-page .software-hero-content p {

        font-size: 18px;

    }


    .software-page .software-description {

        padding: 55px 20px 30px;

    }


    .software-page .software-description-content {

        padding: 40px 75px 40px 35px;

        font-size: 17px;

    }


    .software-page .software-description-content::after {

        right: 20px;

        font-size: 34px;

        width: 44px;

        height: 44px;

    }


    .software-page .software-solutions {

        padding: 45px 20px 65px;

    }


    .software-page .software-solutions-grid {

        grid-template-columns:
            repeat(3, minmax(0, 1fr));

        gap: 16px;

    }

}


/* =========================================================
   MÓVIL
========================================================= */

@media (max-width: 600px) {

    .software-page .software-hero {

        min-height: 360px;

    }


    .software-page .software-hero-content {

        padding: 70px 20px 55px;

    }


    .software-page .software-hero-content h1 {

        font-size: 36px;

        margin-bottom: 14px;

    }


    .software-page .software-hero-content p {

        font-size: 16px;

        line-height: 1.6;

    }


    .software-page .software-description {

        padding: 45px 15px 25px;

    }


    .software-page .software-description-content {

        padding: 35px 22px;

        padding-right: 22px;

        border-radius: 20px;

        font-size: 16px;

        line-height: 1.7;

    }


    /* Engranaje en móvil */

    .software-page .software-description-content::after {

        right: 15px;

        top: 18px;

        width: 35px;

        height: 35px;

        font-size: 28px;

        transform: rotate(0deg);

        animation:
            softwareGearRotateMobile
            7s
            linear
            infinite;

    }


    @keyframes softwareGearRotateMobile {

        from {

            transform:
                rotate(0deg);

        }

        to {

            transform:
                rotate(360deg);

        }

    }


    .software-page .software-solutions {

        padding: 40px 15px 55px;

    }


    .software-page .software-solutions-title {

        font-size: 25px;

    }


    .software-page .software-solutions-grid {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 14px;

    }


    .software-page .software-solution-card {

        padding: 20px 12px 18px;

        border-radius: 15px;

    }


    .software-page .software-solution-icon {

        width: 45px;

        height: 45px;

        font-size: 21px;

        border-radius: 13px;

    }


    .software-page .software-solution-name {

        font-size: 15px;

    }


    .software-page .software-solution-description {

        font-size: 12px;

    }


    .software-page .software-solutions-contact {

        padding: 25px 18px;

        margin-top: 35px;

    }

}


/* =========================================================
   MÓVIL PEQUEÑO
========================================================= */

@media (max-width: 420px) {

    .software-page .software-solutions-grid {

        grid-template-columns: 1fr;

    }


    .software-page .software-description-content {

        padding: 30px 18px;

        padding-top: 55px;

    }


    .software-page .software-description-content::after {

        right: 15px;

        top: 15px;

        font-size: 27px;

    }

}

/* =========================================================
   GRID DE CATEGORÍAS DE SOFTWARE DESCARGABLE
   SEPARACIÓN ENTRE TARJETAS
   ========================================================= */

.software-page .software-download-categories-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(280px, 320px));
    gap: 36px;
    justify-content: center;
    align-items: stretch;
}


/* =========================================================
   CATEGORÍAS DE SOFTWARE DESCARGABLE
   HOVER AZUL + ENGRANAJE
   ========================================================= */

.software-page .software-download-category-card {
    position: relative;
    overflow: hidden;

    width: 100%;
    max-width: 320px;
    min-height: 440px;

    margin: 0 auto;

    padding: 22px;

    box-sizing: border-box;

    background: #ffffff;

    border: 1px solid #dce7f7;
    border-radius: 22px;

    box-shadow:
        0 10px 28px rgba(20, 67, 120, 0.10);

    transition:
        background 0.30s ease,
        color 0.30s ease,
        border-color 0.30s ease,
        box-shadow 0.30s ease,
        transform 0.30s ease;
}


/* =========================================================
   FONDO AZUL DEL HOVER
   ========================================================= */

.software-page .software-download-category-card::before {
    content: "";

    position: absolute;
    inset: 0;

    z-index: 0;

    background:
        linear-gradient(
            135deg,
            #1769e8 0%,
            #1260dc 55%,
            #0b55c7 100%
        );

    opacity: 0;

    transition:
        opacity 0.30s ease;

    pointer-events: none;
}


/* =========================================================
   ENGRANAJE
   ========================================================= */

.software-page .software-download-category-card::after {
    content: "⚙";

    position: absolute;

    right: 18px;
    top: 18px;

    z-index: 3;

    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: rgba(255, 255, 255, 0.95);

    font-size: 34px;
    line-height: 1;

    opacity: 0;

    transform:
        scale(0.65)
        rotate(0deg);

    pointer-events: none;

    text-shadow:
        0 4px 14px rgba(0, 0, 0, 0.18);

    transition:
        opacity 0.25s ease,
        transform 0.30s ease;
}


/* =========================================================
   CONTENIDO DE LA TARJETA
   ========================================================= */

.software-page .software-download-category-card > * {
    position: relative;
    z-index: 2;
}


/* =========================================================
   IMAGEN DE LA CATEGORÍA
   ========================================================= */

.software-page .software-download-category-card img {
    display: block;

    width: 100%;
    height: 270px;

    margin: 0 0 24px 0;

    object-fit: contain;
    object-position: center center;

    border-radius: 22px 22px 0 0;

    background: transparent;

    transition:
        transform 0.35s ease;
}

/* =========================================================
   HOVER DE LA IMAGEN
   ========================================================= */

.software-page .software-download-category-card:hover img {
    transform: scale(1.03);
}


/* =========================================================
   HOVER DE LA TARJETA
   ========================================================= */

.software-page .software-download-category-card:hover {
    transform: translateY(-8px);

    background: #1769e8;

    border-color: #1769e8;

    box-shadow:
        0 20px 40px rgba(23, 105, 232, 0.28);
}


.software-page .software-download-category-card:hover::before {
    opacity: 1;
}


/* =========================================================
   ENGRANAJE GIRANDO AL PASAR EL MOUSE
   ========================================================= */

.software-page .software-download-category-card:hover::after {
    opacity: 1;

    transform:
        scale(1)
        rotate(360deg);

    animation:
        softwareDownloadCategoryGear
        3.5s
        linear
        infinite;
}


/* =========================================================
   TEXTO BLANCO DURANTE EL HOVER
   ========================================================= */

.software-page .software-download-category-card:hover h2,
.software-page .software-download-category-card:hover h3,
.software-page .software-download-category-card:hover h4,
.software-page .software-download-category-card:hover p,
.software-page .software-download-category-card:hover a {
    color: #ffffff !important;
}


/* =========================================================
   BOTÓN DE LA CATEGORÍA
   ========================================================= */

.software-page .software-download-category-card:hover
.software-download-category-button {

    background: #ffffff;

    color: #1769e8 !important;

    border-color: #ffffff;
}


/* =========================================================
   ANIMACIÓN DEL ENGRANAJE
   ========================================================= */

@keyframes softwareDownloadCategoryGear {

    from {
        transform:
            scale(1)
            rotate(0deg);
    }

    to {
        transform:
            scale(1)
            rotate(360deg);
    }

}


/* =========================================================
   CATEGORÍAS - TABLET
   ========================================================= */

@media (max-width: 1050px) {

    .software-page .software-download-categories-grid {
        grid-template-columns: repeat(2, minmax(280px, 320px));
        gap: 30px;
    }

}


/* =========================================================
   CATEGORÍAS - MÓVIL
   ========================================================= */

@media (max-width: 700px) {

    .software-page .software-download-categories-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        justify-items: center;
    }

    .software-page .software-download-category-card {
        width: 100%;
        max-width: 320px;
        min-height: 420px;
        padding: 18px;
        border-radius: 20px;
    }

    .software-page .software-download-category-card img {
        height: 220px;
        object-fit: contain;
    }

    .software-page .software-download-category-card::after {
        right: 14px;
        top: 14px;
        width: 40px;
        height: 40px;
        font-size: 28px;
    }

    .software-page .software-download-category-card:hover {
        transform: translateY(-5px);
    }

}


/* =========================================================
   MÓVIL PEQUEÑO
   ========================================================= */

@media (max-width: 420px) {

    .software-page .software-download-categories-grid {
        gap: 20px;
    }

    .software-page .software-download-category-card {
        min-height: 400px;
    }

    .software-page .software-download-category-card img {
        height: 200px;
    }

}
/* Ajuste confirmado: título de servicio en móviles */
@media screen and (max-width: 650px) {
    .service-detail-hero-content h1 {
        font-size: 28px;
    }
}


/* Descripción individual de cada imagen de la galería */
.service-gallery-description {
    display: block;
    width: 100%;
    padding: 16px 18px;
    box-sizing: border-box;
    background: #f1f6fb;
    color: #45617f;
    font-size: 15px;
    line-height: 1.65;
    overflow-wrap: anywhere;
}

.service-gallery-description p {
    margin: 0 0 10px;
}

.service-gallery-description p:last-child {
    margin-bottom: 0;
}

/* =====================================================
   TECHSUPP360 - ENCABEZADO RESPONSIVE
   Solo tabletas y móviles; escritorio sin cambios.
===================================================== */

@media screen and (max-width: 900px) {

    .site-header {
        position: relative;
        top: auto;
        width: calc(100% - 24px);
        max-width: 100%;
        margin: 12px auto 20px;
    }

    .site-header .container {
        height: auto;
        min-height: 0;
        padding: 18px 14px;
        flex-direction: column;
        justify-content: center;
        gap: 18px;
    }

    .site-header .logo {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .site-header .logo img,
    .site-header .logo .custom-logo {
        display: block;
        max-width: 100%;
        width: auto;
        height: auto;
        max-height: 54px;
        object-fit: contain;
    }

    .site-header .main-menu {
        width: 100%;
        min-width: 0;
    }

    .site-header .main-menu ul {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: center;
        gap: 0;
        width: 100%;
    }

    .site-header .main-menu ul li {
        display: block;
        width: 100%;
        text-align: center;
    }

    .site-header .main-menu ul li a {
        display: block;
        width: 100%;
        padding: 10px 8px;
        line-height: 1.4;
        overflow-wrap: anywhere;
    }
}

@media screen and (max-width: 600px) {

    .site-header {
        border-radius: 16px;
    }

    .site-header .container {
        padding: 16px 10px;
        gap: 12px;
    }

    .site-header .logo img,
    .site-header .logo .custom-logo {
        max-height: 46px;
    }

    .site-header .main-menu ul li a {
        font-size: 16px;
        padding: 9px 6px;
    }
}


/* =========================================================
   SERVICIOS: ALINEAR SELECTOR A LA IZQUIERDA
   Ajuste visual únicamente
========================================================= */

.services-selector-container {
    margin-left: 0;
    margin-right: auto;
    text-align: left;
}

.services-selector-label {
    text-align: left;
}

