html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #222222;
    background: #ffffff;
}

* {
    box-sizing: border-box;
}

img {
    max-width: 100%;
    display: block;
    height: auto;
}

h1,
h2,
h3 {
    margin-top: 0;
    font-family: 'Montserrat', sans-serif;
    color: #1f1f1f;
    line-height: 1.15;
}

p {
    margin-top: 0;
}

.container {
    width: min(92%, 1440px);
    margin: 0 auto;
}

.pagina-servicios {
    overflow: hidden;
}

/* =========================================================
   HERO
========================================================= */

.serv-hero {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #111111;
}

.serv-hero_fondo {
    position: absolute;
    inset: 0;
}

.serv-hero_fondo::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.44) 42%, rgba(0, 0, 0, 0.34) 100%);
}

.serv-hero_fondo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.serv-hero_contenido {
    position: relative;
    z-index: 2;
    width: 100%;
}

.serv-hero_card {
    max-width: 720px;
    background: rgba(17, 17, 17, 0.56);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 30px;
    padding: 38px 34px;
    color: #ffffff;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.serv-etiqueta,
.serv-kicker {
    display: inline-block;
    margin-bottom: 14px;
    padding: 8px 14px;
    border-radius: 999px;
    background: #ffc107;
    color: #1f1f1f;
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.serv-kicker {
    padding: 0;
    background: transparent;
    color: #c28c00;
    border-radius: 0;
}

.serv-kicker_claro {
    color: rgba(255, 255, 255, 0.82);
}

.serv-hero_card h1 {
    color: #ffffff;
    font-size: clamp(2.2rem, 4vw, 4.1rem);
    margin-bottom: 14px;
}

.serv-hero_card p {
    color: rgba(255, 255, 255, 0.94);
    font-size: 1.05rem;
    max-width: 58ch;
    margin-bottom: 0;
}

/* =========================================================
   HEADERS DE SECCION
========================================================= */

.serv-head {
    max-width: 920px;
    margin: 0 auto 42px;
    text-align: center;
}

.serv-head h2,
.serv-cta_box h2 {
    font-size: clamp(2rem, 3vw, 3rem);
    margin-bottom: 16px;
}

.serv-head p {
    font-size: 1.06rem;
    color: #5f6368;
    margin-bottom: 14px;
}

/* =========================================================
   INTRO
========================================================= */

.serv-intro {
    padding: 88px 0;
    background: #ffffff;
}

.serv-resumen_grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.serv-resumen_card {
    background: #ffffff;
    border-radius: 24px;
    padding: 28px 24px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    text-align: left;
    height: 100%;
}

.serv-resumen_card i {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffc107;
    color: #1f1f1f;
    font-size: 1.2rem;
    margin-bottom: 16px;
}

.serv-resumen_card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.serv-resumen_card p {
    margin-bottom: 0;
    color: #5f6368;
}

/* =========================================================
   GRID SERVICIOS
========================================================= */

.serv-listado {
    padding: 88px 0;
    background: #f7f7f7;
}

.serv-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.serv-card {
    background: #ffffff;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.serv-card_imagen img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    object-position: center;
}

.serv-card_contenido {
    padding: 26px 24px 28px;
    flex: 1;
}

.serv-card_titulo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.serv-card_titulo i {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffc107;
    color: #1f1f1f;
    font-size: 1rem;
    flex-shrink: 0;
}

.serv-card_titulo h3 {
    margin: 0;
    font-size: 1.22rem;
}

.serv-card_contenido p {
    margin: 0;
    color: #5f6368;
    font-size: 1rem;
}

/* =========================================================
   CTA
========================================================= */

.serv-cta {
    padding: 88px 0;
    background:
        linear-gradient(135deg, #1b1b1b 0%, #2a2a2a 100%);
    color: #ffffff;
}

.serv-cta_box {
    max-width: 980px;
    margin: 0 auto;
    text-align: center;
    padding: 50px 34px;
    border-radius: 30px;
    background:
        linear-gradient(135deg, rgba(255, 193, 7, 0.16) 0%, rgba(255, 193, 7, 0.08) 100%);
    border: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow: 0 20px 46px rgba(0, 0, 0, 0.18);
}

.serv-cta_box h2 {
    color: #ffffff;
    margin-bottom: 14px;
}

.serv-cta_box p {
    max-width: 760px;
    margin: 0 auto 24px;
    color: rgba(255, 255, 255, 0.90);
    font-size: 1.05rem;
}

.serv-cta_botones {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
}

.serv-boton {
    min-height: 50px;
    padding: 0 22px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.98rem;
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
    border: 1px solid transparent;
}

.serv-boton:hover {
    transform: translateY(-2px);
}

.serv-boton_principal {
    background: #ffffff;
    color: #1f1f1f;
}

.serv-boton_principal:hover {
    background: #f4f4f4;
}

.serv-boton_secundario {
    background: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.28);
}

.serv-boton_secundario:hover {
    background: rgba(255, 255, 255, 0.08);
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1100px) {
    .serv-resumen_grid,
    .serv-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .serv-hero {
        min-height: 480px;
    }

    .serv-intro,
    .serv-listado,
    .serv-cta {
        padding: 68px 0;
    }

    .serv-hero_card,
    .serv-cta_box {
        padding: 28px 22px;
        border-radius: 24px;
    }

    .serv-card_imagen img {
        height: 260px;
    }

    .serv-cta_botones {
        flex-direction: column;
    }

    .serv-cta_botones .serv-boton {
        width: 100%;
    }
}

@media (max-width: 520px) {
    .container {
        width: min(94%, 1440px);
    }

    .serv-hero {
        min-height: 420px;
    }

    .serv-hero_card h1 {
        font-size: 2rem;
    }

    .serv-hero_card p,
    .serv-head p,
    .serv-resumen_card p,
    .serv-card_contenido p,
    .serv-cta_box p {
        font-size: 0.98rem;
    }

    .serv-resumen_card,
    .serv-card_contenido {
        padding-left: 20px;
        padding-right: 20px;
    }
}