
/* =========================================================
   DYLISWEB 08.3 - SOLUCIONES PUBLICAS
========================================================= */

.solutions-header-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 12px;
}

.solutions-back {
    min-height: 40px;
    padding: 0 15px;
    display: inline-flex;
    align-items: center;
    border-radius: 11px;
    border: 1px solid #dce7f2;
    background: #fff;
    color: #315c84;
    text-decoration: none;
    font-size: 12px;
    font-weight: 800;
}

/* LISTADO */

.solutions-modern-hero {
    padding: 60px 0;
    color: #fff;
    background:
        radial-gradient(circle at 84% 18%, rgba(9,207,219,.30), transparent 27%),
        linear-gradient(135deg, #073765 0%, #075ca6 62%, #0878c5 100%);
}

.solutions-modern-hero-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 45px;
    align-items: center;
}

.solutions-modern-hero h1 {
    max-width: 720px;
    margin: 7px 0 10px;
    font-size: clamp(40px, 5vw, 58px);
    line-height: 1;
    letter-spacing: -.035em;
}

.solutions-modern-hero p {
    max-width: 680px;
    margin: 0;
    color: rgba(255,255,255,.86);
    font-size: 15px;
    line-height: 1.65;
}

.solutions-count-card {
    width: 165px;
    height: 145px;
    padding: 20px;
    display: grid;
    align-content: center;
    text-align: center;
    border-radius: 23px;
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.18);
    backdrop-filter: blur(8px);
}

.solutions-count-card strong,
.solutions-count-card span {
    display: block;
}

.solutions-count-card strong {
    font-size: 48px;
    line-height: 1;
}

.solutions-count-card span {
    max-width: 110px;
    margin: 9px auto 0;
    color: rgba(255,255,255,.8);
    font-size: 11px;
}

.solutions-modern-main {
    padding: 45px 0 58px;
    background:
        linear-gradient(180deg, #f6fbff 0%, #fff 55%);
}

.solutions-modern-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 20px;
}

.solutions-modern-card {
    min-width: 0;
    overflow: hidden;
    border-radius: 20px;
    background: #fff;
    border: 1px solid #dfe9f2;
    box-shadow: 0 12px 34px rgba(20,68,115,.07);
    transition:
        transform .22s ease,
        box-shadow .22s ease;
}

.solutions-modern-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 42px rgba(20,68,115,.12);
}

.solutions-modern-media {
    height: 220px;
    display: grid;
    place-items: center;
    overflow: hidden;
    background:
        radial-gradient(circle at 80% 20%, rgba(11,197,210,.10), transparent 30%),
        linear-gradient(180deg, #f7fbfe, #eef7fc);
    text-decoration: none;
}

.solutions-modern-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 28px;
    transition: transform .22s ease;
}

.solutions-modern-card:hover .solutions-modern-media img {
    transform: scale(1.035);
}

.solutions-modern-letter {
    width: 88px;
    height: 88px;
    display: grid;
    place-items: center;
    border-radius: 23px;
    color: #fff;
    font-size: 42px;
    font-weight: 900;
    background: linear-gradient(135deg, #087beb, #09becb);
    box-shadow: 0 14px 30px rgba(5,121,207,.18);
}

.solutions-modern-body {
    padding: 21px;
}

.solutions-card-kicker {
    display: inline-block;
    margin-bottom: 5px;
    color: #05a9bc;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .12em;
}

.solutions-modern-body h2 {
    margin: 0 0 8px;
    color: #0a3c74;
    font-size: 22px;
}

.solutions-modern-body p {
    min-height: 58px;
    margin: 0;
    color: #667e96;
    font-size: 13px;
    line-height: 1.55;
}

.solutions-modern-actions {
    margin-top: 17px;
    padding-top: 14px;
    border-top: 1px solid #edf2f7;
}

.solution-detail-button {
    color: #0875d8;
    text-decoration: none;
    font-size: 12px;
    font-weight: 900;
}

.solutions-empty {
    max-width: 720px;
    margin: 0 auto;
    padding: 70px 30px;
    text-align: center;
    border-radius: 23px;
    border: 1px solid #e0eaf3;
    background: #fff;
    box-shadow: 0 12px 36px rgba(20,68,115,.07);
}

.solutions-empty-icon {
    width: 74px;
    height: 74px;
    margin: 0 auto 15px;
    display: grid;
    place-items: center;
    border-radius: 20px;
    background: #eef8ff;
    color: #087ce7;
    font-size: 31px;
}

.solutions-empty h2 {
    margin: 0 0 8px;
    color: #0a3d74;
}

.solutions-empty p {
    max-width: 520px;
    margin: 0 auto 20px;
    color: #687f96;
    font-size: 13px;
}

.solutions-contact-strip {
    padding: 0 0 30px;
}

.solutions-contact-box {
    min-height: 145px;
    padding: 25px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    border-radius: 17px;
    color: #fff;
    background:
        radial-gradient(circle at 90% 20%, rgba(8,210,220,.23), transparent 26%),
        linear-gradient(135deg, #073765, #075ba5);
}

.solutions-contact-box h2 {
    margin: 0;
    font-size: 27px;
}

.solutions-contact-box p {
    max-width: 670px;
    margin: 6px 0 0;
    color: rgba(255,255,255,.82);
    font-size: 12px;
}

/* DETALLE */

.solution-detail-hero {
    padding: 18px 0 52px;
    color: #fff;
    background:
        radial-gradient(circle at 82% 25%, rgba(6,205,218,.24), transparent 29%),
        linear-gradient(135deg, #073765, #075da8);
}

.solution-breadcrumb {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 35px;
    color: rgba(255,255,255,.62);
    font-size: 11px;
}

.solution-breadcrumb a {
    color: rgba(255,255,255,.8);
    text-decoration: none;
}

.solution-breadcrumb strong {
    color: #fff;
}

.solution-detail-hero-grid {
    display: grid;
    grid-template-columns: 1fr .78fr;
    gap: 65px;
    align-items: center;
}

.solution-detail-copy h1 {
    margin: 7px 0 13px;
    font-size: clamp(42px, 5vw, 62px);
    line-height: .98;
    letter-spacing: -.035em;
}

.solution-detail-copy > p {
    max-width: 650px;
    margin: 0;
    color: rgba(255,255,255,.86);
    font-size: 16px;
    line-height: 1.65;
}

.solution-detail-actions {
    margin-top: 25px;
    display: flex;
    gap: 11px;
    flex-wrap: wrap;
}

.solution-whatsapp,
.solution-external {
    min-height: 44px;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 900;
}

.solution-whatsapp {
    color: #fff;
    background: #16b958;
}

.solution-external {
    color: #fff;
    border: 1px solid rgba(255,255,255,.55);
    background: rgba(255,255,255,.08);
}

.solution-detail-visual {
    height: 330px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 25px;
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.16);
    backdrop-filter: blur(8px);
}

.solution-detail-visual img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 35px;
}

.solution-detail-visual > span {
    width: 120px;
    height: 120px;
    display: grid;
    place-items: center;
    border-radius: 30px;
    color: #fff;
    font-size: 58px;
    font-weight: 900;
    background: linear-gradient(135deg, #087beb, #09c0cc);
    box-shadow: 0 20px 40px rgba(2,44,83,.25);
}

.solution-detail-main {
    padding: 52px 0;
    background:
        linear-gradient(180deg, #f8fcff, #fff);
}

.solution-detail-content-grid {
    display: grid;
    grid-template-columns: 1.35fr .65fr;
    gap: 50px;
    align-items: start;
}

.solution-detail-description h2 {
    max-width: 650px;
    margin: 5px 0 18px;
    color: #0a3d75;
    font-size: 31px;
    line-height: 1.12;
}

.solution-rich-text {
    color: #5f7892;
    font-size: 14px;
    line-height: 1.85;
}

.solution-benefits-card {
    padding: 24px;
    border-radius: 19px;
    background: #fff;
    border: 1px solid #dfe9f2;
    box-shadow: 0 13px 34px rgba(20,68,115,.07);
}

.solution-benefits-card h3 {
    margin: 4px 0 18px;
    color: #0b4078;
    font-size: 21px;
}

.solution-benefit {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 13px 0;
    border-top: 1px solid #edf2f7;
}

.solution-benefit > span {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #e7f8ef;
    color: #15914c;
    font-size: 12px;
    font-weight: 900;
}

.solution-benefit strong,
.solution-benefit small {
    display: block;
}

.solution-benefit strong {
    color: #0b467e;
    font-size: 12px;
}

.solution-benefit small {
    margin-top: 2px;
    color: #71869b;
    font-size: 10px;
    line-height: 1.45;
}

.related-solutions-section {
    padding: 25px 0 50px;
    background: #f5faff;
}

.related-solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 16px;
}

.related-solution-card {
    min-width: 0;
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid #dfe9f2;
}

.related-solution-icon {
    width: 78px;
    height: 78px;
    flex: 0 0 78px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 17px;
    background: #eef8fd;
}

.related-solution-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 9px;
}

.related-solution-icon span {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: #fff;
    font-size: 25px;
    font-weight: 900;
    background: linear-gradient(135deg, #087bec, #09bfc9);
}

.related-solution-card h3 {
    margin: 0 0 4px;
    color: #0a3e75;
    font-size: 16px;
}

.related-solution-card p {
    margin: 0 0 8px;
    color: #71849a;
    font-size: 10px;
    line-height: 1.45;
}

.related-solution-card a {
    color: #0874d8;
    text-decoration: none;
    font-size: 10px;
    font-weight: 900;
}

.solution-final-cta {
    padding: 0 0 30px;
}

.solution-final-cta-box {
    min-height: 140px;
    padding: 25px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    border-radius: 17px;
    color: #fff;
    background:
        radial-gradient(circle at 90% 20%, rgba(8,210,220,.23), transparent 26%),
        linear-gradient(135deg, #073765, #075ba5);
}

.solution-final-cta-box h2 {
    margin: 0;
    font-size: 27px;
}

.solution-final-cta-box p {
    max-width: 650px;
    margin: 6px 0 0;
    color: rgba(255,255,255,.82);
    font-size: 12px;
}

/* ERROR */

.solution-error-page {
    min-height: 65vh;
    padding: 70px 0;
    display: flex;
    align-items: center;
    background:
        radial-gradient(circle at 20% 20%, rgba(7,191,207,.12), transparent 24%),
        linear-gradient(180deg, #f7fbff, #fff);
}

.solution-error-card {
    max-width: 700px;
    margin: 0 auto;
    padding: 55px 30px;
    text-align: center;
    border-radius: 24px;
    border: 1px solid #e0eaf3;
    background: #fff;
    box-shadow: 0 18px 50px rgba(21,71,119,.08);
}

.solution-error-code {
    font-size: 70px;
    line-height: 1;
    font-weight: 900;
    background: linear-gradient(135deg, #087ce9, #08bdca);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.solution-error-card h1 {
    margin: 13px 0 8px;
    color: #0b3c73;
    font-size: 30px;
}

.solution-error-card p {
    max-width: 470px;
    margin: 0 auto 20px;
    color: #6c8196;
    font-size: 13px;
}

.solution-error-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

@media (max-width: 980px) {

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

    .solution-detail-hero-grid,
    .solution-detail-content-grid {
        grid-template-columns: 1fr;
    }

    .solution-detail-visual {
        height: 300px;
    }

    .related-solutions-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {

    .solutions-modern-hero-grid {
        grid-template-columns: 1fr;
    }

    .solutions-count-card {
        width: 130px;
        height: 115px;
    }

    .solutions-contact-box,
    .solution-final-cta-box {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 580px) {

    .solutions-header-actions .contact-pill {
        display: none;
    }

    .solutions-modern-hero {
        padding: 44px 0;
    }

    .solutions-modern-hero h1 {
        font-size: 40px;
    }

    .solutions-modern-grid {
        grid-template-columns: 1fr;
    }

    .solutions-modern-media {
        height: 200px;
    }

    .solution-detail-hero {
        padding-bottom: 38px;
    }

    .solution-detail-copy h1 {
        font-size: 40px;
    }

    .solution-detail-visual {
        height: 250px;
    }

    .solution-detail-actions {
        flex-direction: column;
    }

    .solution-whatsapp,
    .solution-external {
        width: 100%;
    }

    .solution-final-cta-box .cta-whatsapp,
    .solutions-contact-box .cta-whatsapp {
        width: 100%;
        justify-content: center;
    }
}
