:root {
    --cupotech-navy: #063a67;
    --cupotech-blue: #0878b9;
    --cupotech-cyan: #08a8d8;
    --cupotech-orange: #f28c28;

    --cupotech-text: #173e5c;
    --cupotech-muted: #667f91;

    --cupotech-light: #f2f8fc;
    --cupotech-light-blue: #e9f5fb;

    --card-blue-1: #dceef7;
    --card-blue-2: #cdeaf7;
    --card-blue-3: #e5f5fb;

    --shadow-soft:
            0 10px 30px rgba(14, 67, 100, 0.08);

    --shadow-hover:
            0 16px 38px rgba(14, 67, 100, 0.15);
}


* {
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    margin: 0;

    font-family: "Inter", sans-serif;

    color: var(--cupotech-text);

    background: white;

    line-height: 1.6;
}


img {
    display: block;

    max-width: 100%;
}


.container {
    width: min(1280px, calc(100% - 48px));

    margin: 0 auto;
}


/* =========================================================
   HERO
========================================================= */

.hero {
    width: 100%;

    padding-top: 94px;
}


.hero img {
    width: 100%;

    aspect-ratio: 2 / 1;

    object-fit: cover;
}


/* =========================================================
   ACCESOS
========================================================= */

.pages-labels {
    width: 100%;

    padding: 48px 0;

    background:
            linear-gradient(
                    135deg,
                    #edf7fc,
                    #f7fbfd
            );

    border-bottom: 1px solid #dceaf2;
}


.labels-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 20px;

    text-align: center;
}


.labels-grid a {
    min-height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    position: relative;

    color: var(--cupotech-navy);

    border-radius: 10px;

    font-size: 17px;
    font-weight: 700;

    text-decoration: none;

    transition:
            color 0.2s ease,
            background 0.2s ease,
            transform 0.2s ease;
}


.labels-grid a::after {
    content: "";

    position: absolute;

    bottom: 5px;
    left: 50%;

    width: 0;
    height: 3px;

    transform: translateX(-50%);

    border-radius: 20px;

    background:
            linear-gradient(
                    90deg,
                    var(--cupotech-blue),
                    var(--cupotech-cyan)
            );

    transition: width 0.2s ease;
}


.labels-grid a:hover {
    color: var(--cupotech-blue);

    background: rgba(255, 255, 255, 0.65);

    transform: translateY(-2px);
}


.labels-grid a:hover::after {
    width: 55%;
}


/* =========================================================
   SUBTÍTULO
========================================================= */

.subtitle-first {
    padding: 65px 20px 15px;
}


.subtitle-center {
    max-width: 900px;

    margin: 0 auto;

    color: var(--cupotech-navy);

    font-size: clamp(30px, 3.4vw, 45px);
    font-weight: 750;

    line-height: 1.2;

    text-align: center;
}


/* =========================================================
   CARDS
========================================================= */

.cards {
    margin-top: 50px;
    margin-bottom: 85px;

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 32px;
}


.card-link {
    display: block;

    color: inherit;

    text-decoration: none;
}


.card {
    height: 100%;

    padding: 32px;

    border: 1px solid rgba(8, 120, 185, 0.08);
    border-radius: 20px;

    text-align: center;

    box-shadow: var(--shadow-soft);

    transition:
            transform 0.25s ease,
            box-shadow 0.25s ease;
}


.card:hover {
    transform: translateY(-6px);

    box-shadow: var(--shadow-hover);
}


.card h3 {
    margin: 0 0 7px;

    color: var(--cupotech-navy);

    font-size: 25px;
    font-weight: 750;
}


.card p {
    margin: 0;

    color: #4e6c80;

    font-size: 16px;
    font-weight: 500;
}


.card img {
    width: 100%;
    height: 250px;

    margin-top: 25px;

    object-fit: cover;

    border-radius: 16px;
}


.blue-light {
    background: var(--card-blue-1);
}


.blue-medium {
    background: var(--card-blue-2);
}


.blue-soft {
    background: var(--card-blue-3);
}


/* =========================================================
   CTA
========================================================= */

.cta {
    padding: 43px 0;

    background:
            linear-gradient(
                    135deg,
                    var(--cupotech-navy),
                    var(--cupotech-blue),
                    var(--cupotech-cyan)
            );
}


.cta-content {
    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;
}


.cta h3 {
    margin: 0;

    color: white;

    font-size: clamp(25px, 3vw, 40px);
    font-weight: 700;

    letter-spacing: 0.02em;
}


/* =========================================================
   SLIDER
========================================================= */

.slider-section {
    width: 100%;

    padding: 55px 0;

    overflow: hidden;

    background: #f4f9fc;

    border-bottom: 1px solid #dae8f0;
}


.services-row {
    width: 100%;

    overflow: hidden;
}


.services-track {
    width: max-content;

    display: flex;

    gap: 17px;

    animation:
            scrollLeft 35s linear infinite;
}


.services-track img {
    width: 280px;
    height: 220px;

    flex-shrink: 0;

    object-fit: cover;

    border-radius: 12px;

    transition: transform 0.3s ease;
}


.services-track img:hover {
    transform: scale(1.05);
}


@keyframes scrollLeft {

    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }

}


/* =========================================================
   BRINDAMOS / GARANTIZAMOS
========================================================= */

.services-detail {
    margin-top: 70px;
    margin-bottom: 80px;

    padding: 60px;

    background:
            linear-gradient(
                    145deg,
                    #eef6fa,
                    #f7fafc
            );

    border: 1px solid #dce9f0;
    border-radius: 22px;
}


.service-item {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 55px;

    margin-bottom: 55px;
}


.service-item.reverse {
    margin-bottom: 0;
}


.service-text {
    flex: 1;

    max-width: 530px;
}


.service-label {
    color: var(--cupotech-blue);

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 0.14em;

    text-transform: uppercase;
}


.service-text h3 {
    margin: 6px 0 13px;

    color: var(--cupotech-navy);

    font-size: 38px;
    font-weight: 800;
}


.service-text p {
    margin: 0;

    color: #49677a;

    font-size: 21px;

    line-height: 1.55;
}


.service-image {
    flex: 1;
}


.service-image img {
    width: 100%;

    border-radius: 18px;

    box-shadow:
            0 12px 32px rgba(15, 67, 99, 0.10);
}


/* =========================================================
   TESTIMONIOS
========================================================= */

.comentarios {
    padding: 85px 24px 95px;

    background: white;
}


.comentarios-heading {
    max-width: 760px;

    margin: 0 auto 42px;

    text-align: center;
}


.comentarios-heading > span {
    color: var(--cupotech-blue);

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 0.16em;
}


.comentarios-heading h2 {
    margin: 9px 0 10px;

    color: var(--cupotech-navy);

    font-size: clamp(31px, 3.4vw, 44px);
    font-weight: 800;

    line-height: 1.2;
}


.comentarios-heading p {
    margin: 0;

    color: var(--cupotech-muted);

    font-size: 15px;
}


.comentarios-grid {
    max-width: 1200px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 26px;
}


.comentario-card {
    min-height: 245px;

    padding: 28px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    position: relative;

    overflow: hidden;

    background:
            linear-gradient(
                    145deg,
                    #f7fbfd,
                    #eef7fb
            );

    border: 1px solid #dceaf1;
    border-radius: 16px;

    box-shadow:
            0 9px 25px rgba(12, 63, 94, 0.07);

    transition:
            transform 0.25s ease,
            box-shadow 0.25s ease;
}


.comentario-card::before {
    content: "";

    width: 55px;
    height: 4px;

    position: absolute;

    top: 0;
    left: 28px;

    background:
            linear-gradient(
                    90deg,
                    var(--cupotech-orange),
                    var(--cupotech-cyan)
            );

    border-radius: 0 0 10px 10px;
}


.comentario-card:hover {
    transform: translateY(-5px);

    box-shadow:
            0 15px 35px rgba(12, 63, 94, 0.12);
}


.testimonial-stars {
    color: #f5a623;

    font-size: 16px;

    letter-spacing: 2px;
}


.comentario-card blockquote {
    margin: 18px 0 28px;

    color: #3c5b70;

    font-size: 15px;
    font-style: italic;

    line-height: 1.7;
}


.autor {
    display: flex;
    align-items: center;

    gap: 13px;
}


.autor img {
    width: 52px;
    height: 52px;

    object-fit: cover;

    border: 2px solid white;
    border-radius: 50%;

    box-shadow:
            0 3px 10px rgba(17, 71, 102, 0.12);
}


.autor > div {
    display: flex;
    flex-direction: column;
}


.autor strong {
    color: var(--cupotech-navy);

    font-size: 14px;
}


.autor span {
    margin-top: 2px;

    color: #8093a1;

    font-size: 11px;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 900px) {

    .hero {
        padding-top: 82px;
    }

    .labels-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .cards {
        grid-template-columns: 1fr;
    }

    .service-item,
    .service-item.reverse {
        flex-direction: column;
    }

    .service-item.reverse .service-image {
        order: 2;
    }

    .comentarios-grid {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 600px) {

    .container {
        width: calc(100% - 28px);
    }

    .pages-labels {
        padding: 30px 0;
    }

    .labels-grid {
        grid-template-columns: 1fr;

        gap: 5px;
    }

    .subtitle-first {
        padding-top: 48px;
    }

    .cards {
        margin-top: 35px;
        margin-bottom: 55px;
    }

    .card {
        padding: 24px;
    }

    .card img {
        height: 210px;
    }

    .cta {
        padding: 32px 15px;
    }

    .services-track img {
        width: 170px;
        height: 125px;
    }

    .services-detail {
        padding: 30px 22px;

        margin-top: 45px;
        margin-bottom: 55px;
    }

    .service-text h3 {
        font-size: 30px;
    }

    .service-text p {
        font-size: 17px;
    }

    .comentarios {
        padding: 60px 15px;
    }

}