
/* =========================================================
   DYLISWEB 08.4 - CONTACTO PUBLICO + 404 GENERAL
========================================================= */

.contact-page-header-actions {
    margin-left: auto;
}

.contact-page-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;
}

.contact-page-hero {
    padding: 58px 0;
    color: #fff;
    background:
        radial-gradient(circle at 84% 18%, rgba(9,207,219,.29), transparent 28%),
        linear-gradient(135deg, #073765 0%, #075da7 62%, #0878c5 100%);
}

.contact-page-hero-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: center;
}

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

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

.contact-page-hero-icon {
    width: 130px;
    height: 130px;
    display: grid;
    place-items: center;
    border-radius: 28px;
    color: #fff;
    font-size: 48px;
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.18);
    backdrop-filter: blur(8px);
}

.contact-page-main {
    padding: 48px 0 52px;
    background:
        linear-gradient(180deg, #f7fbff 0%, #fff 55%);
}

.contact-page-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 45px;
    align-items: start;
}

.contact-page-info h2 {
    max-width: 680px;
    margin: 5px 0 10px;
    color: #0a3d74;
    font-size: 31px;
    line-height: 1.15;
}

.contact-page-intro {
    max-width: 690px;
    margin: 0 0 24px;
    color: #657e96;
    font-size: 13px;
    line-height: 1.65;
}

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

.contact-method-card {
    min-height: 90px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 13px;
    border-radius: 15px;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border: 1px solid #dfe9f2;
    box-shadow: 0 8px 24px rgba(20,68,115,.05);
}

.contact-method-card:hover {
    border-color: #b8d4eb;
}

.contact-method-icon {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: #0879e0;
    font-size: 21px;
    background: #eef8ff;
}

.whatsapp-method .contact-method-icon {
    color: #15934f;
    background: #e9f8ef;
}

.contact-method-card small,
.contact-method-card strong {
    display: block;
}

.contact-method-card small {
    color: #7a8fa4;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.contact-method-card strong {
    margin-top: 4px;
    color: #0b457d;
    font-size: 12px;
    line-height: 1.35;
}

.contact-social-block {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #e7eef5;
}

.contact-social-block > span {
    display: block;
    margin-bottom: 10px;
    color: #6c8298;
    font-size: 11px;
    font-weight: 800;
}

.contact-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.contact-social-links a {
    min-height: 34px;
    padding: 0 13px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    color: #0872d5;
    border: 1px solid #cfe0ee;
    text-decoration: none;
    font-size: 10px;
    font-weight: 800;
}

.contact-help-card {
    padding: 24px;
    border-radius: 19px;
    background: #fff;
    border: 1px solid #dfe9f2;
    box-shadow: 0 14px 38px rgba(20,68,115,.08);
}

.contact-help-card h3 {
    margin: 5px 0 8px;
    color: #0a3f77;
    font-size: 23px;
}

.contact-help-card > p {
    margin: 0 0 18px;
    color: #657d95;
    font-size: 12px;
    line-height: 1.6;
}

.contact-help-items {
    margin-bottom: 20px;
}

.contact-help-items > div {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 0;
    border-top: 1px solid #edf2f7;
}

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

.contact-help-items p {
    margin: 0;
}

.contact-help-items strong,
.contact-help-items small {
    display: block;
}

.contact-help-items strong {
    color: #0a467e;
    font-size: 11px;
}

.contact-help-items small {
    margin-top: 2px;
    color: #75899e;
    font-size: 9px;
}

.contact-main-whatsapp {
    width: 100%;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: #fff;
    text-decoration: none;
    background: #16b958;
    font-size: 12px;
    font-weight: 900;
}

.contact-map-section {
    padding: 0 0 45px;
}

.contact-map-heading {
    margin-bottom: 14px;
}

.contact-map-heading h2 {
    margin: 0;
    color: #0a3d74;
    font-size: 28px;
}

.contact-map-frame {
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid #dfe9f2;
    box-shadow: 0 12px 34px rgba(20,68,115,.07);
}

.contact-map-frame iframe {
    width: 100%;
    height: 390px;
    display: block;
    border: 0;
}

.contact-map-link-card {
    min-height: 110px;
    padding: 22px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    border-radius: 17px;
    background: #f5faff;
    border: 1px solid #dfe9f2;
}

.contact-map-link-card strong,
.contact-map-link-card span {
    display: block;
}

.contact-map-link-card strong {
    color: #0b4179;
    font-size: 15px;
}

.contact-map-link-card span {
    margin-top: 4px;
    color: #70859b;
    font-size: 11px;
}

.contact-page-cta {
    padding: 0 0 30px;
}

.contact-page-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);
}

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

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

/* 404 GENERAL */

.general-404-page {
    min-height: 68vh;
    padding: 70px 0;
    display: flex;
    align-items: center;
    background:
        radial-gradient(circle at 18% 18%, rgba(6,191,205,.12), transparent 24%),
        linear-gradient(180deg, #f7fbff, #fff);
}

.general-404-card {
    max-width: 760px;
    margin: 0 auto;
    padding: 58px 35px;
    text-align: center;
    border-radius: 25px;
    background: #fff;
    border: 1px solid #dfe9f2;
    box-shadow: 0 18px 50px rgba(21,71,119,.09);
}

.general-404-number {
    margin-bottom: 8px;
    font-size: 82px;
    line-height: 1;
    font-weight: 900;
    background: linear-gradient(135deg, #087ce9, #08bdca);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.general-404-card h1 {
    max-width: 590px;
    margin: 7px auto 10px;
    color: #0b3c73;
    font-size: 33px;
    line-height: 1.12;
}

.general-404-card p {
    max-width: 520px;
    margin: 0 auto 22px;
    color: #6c8196;
    font-size: 13px;
    line-height: 1.6;
}

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

@media (max-width: 850px) {
    .contact-page-hero-grid,
    .contact-page-grid {
        grid-template-columns: 1fr;
    }

    .contact-page-hero-icon {
        width: 100px;
        height: 100px;
    }

    .contact-page-cta-box,
    .contact-map-link-card {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 580px) {
    .contact-page-hero {
        padding: 44px 0;
    }

    .contact-page-hero h1 {
        font-size: 40px;
    }

    .contact-methods {
        grid-template-columns: 1fr;
    }

    .contact-page-cta-box .cta-whatsapp {
        width: 100%;
        justify-content: center;
    }

    .general-404-number {
        font-size: 66px;
    }

    .general-404-card h1 {
        font-size: 27px;
    }

    .general-404-actions {
        flex-direction: column;
    }

    .general-404-actions a {
        width: 100%;
    }
}
