/* ==========================================================
   MAPA DEL SITIO
========================================================== */

:root {
    --sitemap-blue: #184687;
    --sitemap-blue-dark: #0d2f61;
    --sitemap-purple: #67013a;
    --sitemap-green: #95b734;
    --sitemap-white: #ffffff;
    --sitemap-text: #172033;
    --sitemap-muted: #667085;
    --sitemap-border: #dce4ed;
    --sitemap-background: #f6f8fb;

    --sitemap-shadow:
        0 18px 55px rgba(24, 70, 135, 0.1);
}

.sitemap-page {
    color: var(--sitemap-text);
    background: var(--sitemap-white);
}

.sitemap-page *,
.sitemap-page *::before,
.sitemap-page *::after {
    box-sizing: border-box;
}

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

.sitemap-hero {
    padding: 88px 0 76px;
    background:
        radial-gradient(
            circle at 88% 15%,
            rgba(149, 183, 52, 0.13),
            transparent 27%
        ),
        linear-gradient(
            135deg,
            #f9fafc,
            #eef3f8
        );
}

.sitemap-hero-inner {
    max-width: 900px;
    text-align: center;
}

.sitemap-breadcrumb {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 27px;
    color: var(--sitemap-muted);
    font-size: 0.78rem;
}

.sitemap-breadcrumb a {
    color: var(--sitemap-blue);
    font-weight: 750;
    text-decoration: none;
}

.sitemap-breadcrumb a:hover {
    text-decoration: underline;
}

.sitemap-hero h1 {
    margin: 15px 0 20px;
    color: var(--sitemap-text);
    font-size: clamp(2.6rem, 5vw, 4.65rem);
    font-weight: 750;
    line-height: 1;
    letter-spacing: -0.055em;
}

.sitemap-hero p {
    max-width: 760px;
    margin: 0 auto;
    color: var(--sitemap-muted);
    font-size: clamp(1rem, 1.6vw, 1.16rem);
    line-height: 1.75;
}

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

.sitemap-content {
    background: var(--sitemap-background);
}

.sitemap-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.sitemap-card {
    min-width: 0;
    overflow: hidden;
    background: var(--sitemap-white);
    border: 1px solid var(--sitemap-border);
    border-radius: 20px;
    box-shadow:
        0 8px 28px rgba(24, 70, 135, 0.055);
}

.sitemap-card-header {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 18px;
    align-items: start;
    padding: 26px;
    border-bottom: 1px solid var(--sitemap-border);
}

.sitemap-card-icon {
    display: grid;
    width: 48px;
    height: 48px;
    color: var(--sitemap-blue);
    background: rgba(24, 70, 135, 0.09);
    border-radius: 13px;
    place-items: center;
}

.sitemap-card-icon--soluciones {
    color: var(--sitemap-purple);
    background: rgba(103, 1, 58, 0.08);
}

.sitemap-card-icon--talento {
    color: #617817;
    background: rgba(149, 183, 52, 0.17);
}

.sitemap-card-icon--contenido {
    color: var(--sitemap-blue-dark);
    background: rgba(24, 70, 135, 0.11);
}

.sitemap-card-icon svg {
    width: 23px;
    height: 23px;
    fill: currentColor;
}

.sitemap-card h2 {
    margin: 1px 0 7px;
    color: var(--sitemap-text);
    font-size: 1.25rem;
}

.sitemap-card-header p {
    margin: 0;
    color: var(--sitemap-muted);
    font-size: 0.79rem;
    line-height: 1.55;
}

.sitemap-links {
    display: grid;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sitemap-links li + li {
    border-top: 1px solid var(--sitemap-border);
}

.sitemap-links a {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 20px;
    align-items: center;
    padding: 20px 26px;
    color: var(--sitemap-text);
    text-decoration: none;
    transition:
        background 0.2s ease,
        padding-left 0.2s ease;
}

.sitemap-links a:hover {
    padding-left: 31px;
    background: var(--sitemap-background);
}

.sitemap-links strong {
    display: block;
    margin-bottom: 5px;
    color: var(--sitemap-text);
    font-size: 0.88rem;
}

.sitemap-links small {
    display: block;
    color: var(--sitemap-muted);
    font-size: 0.74rem;
    line-height: 1.45;
}

.sitemap-links svg {
    width: 18px;
    height: 18px;
    fill: var(--sitemap-blue);
}

/* ==========================================================
   AYUDA
========================================================== */

.sitemap-help {
    padding: 50px 0;
    background: var(--sitemap-white);
}

.sitemap-help-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 45px;
    padding: clamp(32px, 5vw, 52px);
    background:
        radial-gradient(
            circle at 92% 14%,
            rgba(149, 183, 52, 0.14),
            transparent 28%
        ),
        var(--sitemap-background);
    border: 1px solid var(--sitemap-border);
    border-radius: 22px;
}

.sitemap-help h2 {
    margin: 13px 0 13px;
    color: var(--sitemap-text);
    font-size: clamp(1.8rem, 3.8vw, 2.8rem);
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.sitemap-help p {
    max-width: 690px;
    margin: 0;
    color: var(--sitemap-muted);
    line-height: 1.7;
}

.sitemap-help .button {
    flex: 0 0 auto;
}

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

@media (max-width: 850px) {

    .sitemap-grid {
        grid-template-columns: 1fr;
    }

    .sitemap-help-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 600px) {

    .sitemap-hero {
        padding: 52px 0 58px;
    }

    .sitemap-hero h1 {
        font-size: clamp(2.4rem, 13vw, 3.6rem);
    }

    .sitemap-card-header {
        grid-template-columns: 1fr;
        padding: 23px;
    }

    .sitemap-links a {
        padding: 18px 23px;
    }

    .sitemap-links a:hover {
        padding-left: 23px;
    }

    .sitemap-help {
        padding: 52px 0;
    }

    .sitemap-help-inner {
        padding: 27px 23px;
    }

    .sitemap-help .button {
        justify-content: center;
        width: 100%;
    }
}