/* =========================================================
   GOBIERNO DIGITAL E INNOVACIÓN TECNOLÓGICA
   E.S.E. HOSPITAL SAN JOSÉ DEL GUAVIARE
   ========================================================= */

.gobierno-digital-page {

    --gd-primary: #087f5b;
    --gd-primary-dark: #056044;
    --gd-primary-light: #e8f6f1;

    --gd-secondary: #0b7285;
    --gd-secondary-light: #e7f6f8;

    --gd-title: #174d3b;
    --gd-text: #263238;
    --gd-muted: #607d8b;

    --gd-background: #f5f8f7;
    --gd-white: #ffffff;
    --gd-border: #dfe7e4;

    --gd-shadow: 0 8px 25px rgba(0,0,0,.06);
    --gd-shadow-hover: 0 15px 35px rgba(0,0,0,.11);

    width: 100%;
    margin: 0;
    padding: 0;

    background: var(--gd-background);

    color: var(--gd-text);

    font-family:
        "Segoe UI",
        Arial,
        Helvetica,
        sans-serif;

    line-height: 1.6;
}


/* =========================================================
   HEADER
   ========================================================= */

.gd-header {

    position: relative;

    padding: 75px 25px;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #056044 0%,
            #087f5b 55%,
            #0b7285 100%
        );

    color: white;
}

.gd-header::before {

    content: "";

    position: absolute;

    width: 450px;
    height: 450px;

    border-radius: 50%;

    background: rgba(255,255,255,.05);

    right: -150px;
    top: -250px;
}

.gd-header::after {

    content: "";

    position: absolute;

    width: 300px;
    height: 300px;

    border-radius: 50%;

    background: rgba(255,255,255,.04);

    left: -100px;
    bottom: -200px;
}

.gd-header-content {

    position: relative;

    z-index: 2;

    max-width: 1150px;

    margin: auto;
}

.gd-tag {

    display: inline-block;

    padding: 7px 15px;

    margin-bottom: 15px;

    border: 1px solid rgba(255,255,255,.3);

    border-radius: 30px;

    background: rgba(255,255,255,.1);

    font-size: 12px;

    font-weight: 700;

    letter-spacing: .8px;
}

.gd-header h1 {

    margin: 0 0 15px;

    color: white;

    font-size: 44px;

    line-height: 1.2;
}

.gd-header p {

    max-width: 850px;

    margin: 0;

    color: rgba(255,255,255,.9);

    font-size: 18px;

    line-height: 1.7;
}


/* =========================================================
   BOTONES HEADER
   ========================================================= */

.gd-header-buttons {

    display: flex;

    gap: 12px;

    margin-top: 28px;

    flex-wrap: wrap;
}

.gd-btn {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding: 11px 18px;

    border-radius: 8px;

    text-decoration: none;

    font-size: 14px;

    font-weight: 700;

    transition: .25s ease;
}

.gd-btn-primary {

    background: white;

    color: var(--gd-primary-dark);
}

.gd-btn-primary:hover {

    transform: translateY(-2px);

    box-shadow: 0 8px 20px rgba(0,0,0,.15);
}

.gd-btn-outline {

    border: 1px solid rgba(255,255,255,.4);

    color: white;

    background: rgba(255,255,255,.08);
}

.gd-btn-outline:hover {

    background: rgba(255,255,255,.16);
}


/* =========================================================
   CONTENEDOR
   ========================================================= */

.gd-container {

    width: calc(100% - 40px);

    max-width: 1150px;

    margin: auto;

    padding: 45px 0 70px;
}


/* =========================================================
   INTRO
   ========================================================= */

.gd-intro {

    display: grid;

    grid-template-columns: 85px 1fr;

    gap: 30px;

    padding: 35px;

    margin-bottom: 35px;

    background: white;

    border: 1px solid var(--gd-border);

    border-radius: 16px;

    box-shadow: var(--gd-shadow);
}

.gd-intro-icon {

    display: flex;

    align-items: center;
    justify-content: center;

    width: 75px;
    height: 75px;

    border-radius: 15px;

    background: var(--gd-primary-light);

    color: var(--gd-primary);

    font-size: 32px;
}

.gd-kicker {

    display: block;

    margin-bottom: 5px;

    color: var(--gd-primary);

    font-size: 12px;

    font-weight: 700;

    letter-spacing: .8px;
}

.gd-intro h2 {

    margin: 0 0 12px;

    color: var(--gd-title);

    font-size: 28px;
}

.gd-intro p {

    margin: 0 0 12px;

    color: var(--gd-muted);
}

.gd-intro p:last-child {

    margin-bottom: 0;
}


/* =========================================================
   ESTADÍSTICAS
   ========================================================= */

.gd-stats {

    display: grid;

    grid-template-columns: repeat(4,1fr);

    gap: 15px;

    margin-bottom: 50px;
}

.gd-stat-card {

    display: flex;

    align-items: center;

    gap: 15px;

    padding: 22px;

    background: white;

    border: 1px solid var(--gd-border);

    border-radius: 13px;

    box-shadow: var(--gd-shadow);
}

.gd-stat-icon {

    display: flex;

    align-items: center;
    justify-content: center;

    width: 50px;
    height: 50px;

    flex-shrink: 0;

    border-radius: 11px;

    background: var(--gd-primary-light);

    color: var(--gd-primary);

    font-size: 20px;
}

.gd-stat-card strong {

    display: block;

    color: var(--gd-title);

    font-size: 25px;

    line-height: 1.1;
}

.gd-stat-card span {

    color: var(--gd-muted);

    font-size: 13px;
}


/* =========================================================
   SECCIONES
   ========================================================= */

.gd-section {

    margin-bottom: 55px;
}

.gd-section-title {

    display: flex;

    align-items: flex-start;

    gap: 17px;

    margin-bottom: 25px;
}

.gd-section-number {

    display: flex;

    align-items: center;
    justify-content: center;

    width: 50px;
    height: 50px;

    flex-shrink: 0;

    border-radius: 12px;

    background: var(--gd-primary);

    color: white;

    font-size: 14px;

    font-weight: 700;
}

.gd-section-title h2 {

    margin: 0 0 4px;

    color: var(--gd-title);

    font-size: 28px;
}

.gd-section-title p {

    margin: 0;

    color: var(--gd-muted);

    font-size: 15px;
}


/* =========================================================
   INNOVACIÓN
   ========================================================= */

.gd-innovation-grid {

    display: grid;

    grid-template-columns: repeat(4,1fr);

    gap: 17px;
}

.gd-innovation-card {

    padding: 25px 20px;

    background: white;

    border: 1px solid var(--gd-border);

    border-radius: 14px;

    box-shadow: var(--gd-shadow);

    transition: .25s ease;
}

.gd-innovation-card:hover {

    transform: translateY(-5px);

    box-shadow: var(--gd-shadow-hover);

    border-color: var(--gd-primary);
}

.gd-innovation-icon {

    display: flex;

    align-items: center;
    justify-content: center;

    width: 52px;
    height: 52px;

    margin-bottom: 15px;

    border-radius: 12px;

    background: var(--gd-primary-light);

    color: var(--gd-primary);

    font-size: 22px;
}

.gd-innovation-card h3 {

    margin: 0 0 8px;

    color: var(--gd-title);

    font-size: 18px;
}

.gd-innovation-card p {

    margin: 0;

    color: var(--gd-muted);

    font-size: 14px;
}


/* =========================================================
   PROYECTOS
   ========================================================= */

.gd-projects-grid {

    display: grid;

    grid-template-columns: repeat(3,1fr);

    gap: 20px;
}

.gd-project-card {

    display: flex;

    flex-direction: column;

    padding: 25px;

    background: white;

    border: 1px solid var(--gd-border);

    border-radius: 15px;

    box-shadow: var(--gd-shadow);

    transition: .25s ease;
}

.gd-project-card:hover {

    transform: translateY(-5px);

    box-shadow: var(--gd-shadow-hover);
}

.gd-project-top {

    display: flex;

    justify-content: space-between;

    align-items: flex-start;

    margin-bottom: 18px;
}

.gd-project-category {

    padding: 5px 9px;

    border-radius: 20px;

    background: var(--gd-primary-light);

    color: var(--gd-primary);

    font-size: 10px;

    font-weight: 700;

    letter-spacing: .5px;
}

.gd-project-icon {

    display: flex;

    align-items: center;
    justify-content: center;

    width: 45px;
    height: 45px;

    border-radius: 11px;

    background: var(--gd-secondary-light);

    color: var(--gd-secondary);

    font-size: 19px;
}

.gd-project-card h3 {

    margin: 0 0 10px;

    color: var(--gd-title);

    font-size: 19px;

    line-height: 1.35;
}

.gd-project-card p {

    margin: 0 0 18px;

    color: var(--gd-muted);

    font-size: 14px;

    line-height: 1.6;
}

.gd-project-features {

    display: flex;

    flex-wrap: wrap;

    gap: 7px;

    margin-bottom: 20px;
}

.gd-project-features span {

    padding: 5px 8px;

    border-radius: 6px;

    background: var(--gd-background);

    color: var(--gd-muted);

    font-size: 11px;
}

.gd-project-features i {

    margin-right: 3px;

    color: var(--gd-primary);
}

.gd-project-link {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 10px;

    margin-top: auto;

    padding-top: 16px;

    border-top: 1px solid var(--gd-border);

    color: var(--gd-primary);

    font-size: 13px;

    font-weight: 700;

    text-decoration: none;
}

.gd-project-link:hover {

    color: var(--gd-primary-dark);
}

.gd-project-link i {

    transition: transform .2s ease;
}

.gd-project-link:hover i {

    transform: translateX(4px);
}


/* =========================================================
   BLOQUE GOBIERNO DIGITAL
   ========================================================= */

.gd-digital-section {

    margin: 60px 0;

    padding: 45px;

    border-radius: 18px;

    background:
        linear-gradient(
            135deg,
            var(--gd-title),
            var(--gd-primary-dark)
        );

    color: white;
}

.gd-digital-content {

    max-width: 900px;
}

.gd-digital-section .gd-kicker {

    color: #8dd5bd;
}

.gd-digital-section h2 {

    margin: 0 0 12px;

    color: white;

    font-size: 30px;
}

.gd-digital-section p {

    margin: 0;

    color: rgba(255,255,255,.8);
}

.gd-digital-list {

    display: grid;

    grid-template-columns: repeat(2,1fr);

    gap: 12px;

    margin-top: 25px;
}

.gd-digital-list div {

    display: flex;

    align-items: center;

    gap: 10px;

    color: rgba(255,255,255,.9);

    font-size: 14px;
}

.gd-digital-list i {

    color: #8dd5bd;
}


/* =========================================================
   OTROS PROYECTOS
   ========================================================= */

.gd-other-projects {

    display: grid;

    grid-template-columns: repeat(2,1fr);

    gap: 15px;
}

.gd-other-card {

    display: flex;

    align-items: center;

    gap: 15px;

    padding: 20px;

    background: white;

    border: 1px solid var(--gd-border);

    border-radius: 13px;

    color: var(--gd-text);

    text-decoration: none;

    box-shadow: var(--gd-shadow);

    transition: .25s ease;
}

.gd-other-card:hover {

    transform: translateY(-3px);

    border-color: var(--gd-primary);

    box-shadow: var(--gd-shadow-hover);
}

.gd-other-card > i:first-child {

    display: flex;

    align-items: center;
    justify-content: center;

    width: 45px;
    height: 45px;

    flex-shrink: 0;

    border-radius: 10px;

    background: var(--gd-primary-light);

    color: var(--gd-primary);
}

.gd-other-card h3 {

    margin: 0 0 3px;

    color: var(--gd-title);

    font-size: 16px;
}

.gd-other-card p {

    margin: 0;

    color: var(--gd-muted);

    font-size: 13px;
}

.gd-arrow {

    margin-left: auto;

    color: var(--gd-primary);
}


/* =========================================================
   CONTACTO
   ========================================================= */

.gd-contact {

    display: grid;

    grid-template-columns: 70px 1fr auto;

    align-items: center;

    gap: 20px;

    padding: 30px;

    background: var(--gd-primary-light);

    border: 1px solid rgba(8,127,91,.15);

    border-radius: 16px;
}

.gd-contact-icon {

    display: flex;

    align-items: center;
    justify-content: center;

    width: 60px;
    height: 60px;

    border-radius: 50%;

    background: var(--gd-primary);

    color: white;

    font-size: 24px;
}

.gd-contact-text span {

    color: var(--gd-primary);

    font-size: 11px;

    font-weight: 700;

    letter-spacing: .7px;
}

.gd-contact-text h2 {

    margin: 2px 0 5px;

    color: var(--gd-title);

    font-size: 21px;
}

.gd-contact-text p {

    margin: 0;

    color: var(--gd-muted);

    font-size: 13px;
}

.gd-contact-button {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding: 11px 18px;

    border-radius: 8px;

    background: var(--gd-primary);

    color: white;

    text-decoration: none;

    font-size: 13px;

    font-weight: 700;

    white-space: nowrap;
}

.gd-contact-button:hover {

    background: var(--gd-primary-dark);
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 992px) {

    .gd-stats {

        grid-template-columns: repeat(2,1fr);
    }

    .gd-innovation-grid {

        grid-template-columns: repeat(2,1fr);
    }

    .gd-projects-grid {

        grid-template-columns: repeat(2,1fr);
    }
}


@media (max-width: 768px) {

    .gd-header {

        padding: 55px 20px;
    }

    .gd-header h1 {

        font-size: 35px;
    }

    .gd-container {

        width: calc(100% - 30px);
    }

    .gd-intro {

        grid-template-columns: 1fr;

        padding: 25px;
    }

    .gd-stats,
    .gd-innovation-grid,
    .gd-projects-grid,
    .gd-other-projects {

        grid-template-columns: 1fr;
    }

    .gd-digital-list {

        grid-template-columns: 1fr;
    }

    .gd-digital-section {

        padding: 30px 25px;
    }

    .gd-contact {

        grid-template-columns: 1fr;

        padding: 25px;
    }

    .gd-contact-button {

        justify-content: center;
    }
}


@media (max-width: 480px) {

    .gd-header {

        padding: 45px 16px;
    }

    .gd-header h1 {

        font-size: 30px;
    }

    .gd-header p {

        font-size: 16px;
    }

    .gd-container {

        width: calc(100% - 20px);

        padding-top: 30px;
    }

    .gd-section-title h2 {

        font-size: 23px;
    }

    .gd-section-number {

        width: 43px;
        height: 43px;
    }

    .gd-contact-text h2 {

        font-size: 20px;
    }
}


/* =========================================================
   ACCESIBILIDAD
   ========================================================= */

.gobierno-digital-page a:focus-visible {

    outline: 3px solid #ffca3a;

    outline-offset: 3px;
}


@media (prefers-reduced-motion: reduce) {

    .gd-project-card,
    .gd-innovation-card,
    .gd-other-card,
    .gd-btn {

        transition: none;
    }

}