/* --------------------------------------------------
   Contacto - Becas USA (sin mapa)
   -------------------------------------------------- */

#contact,
#contact * {
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Sección general */
#contact {
    background:
        radial-gradient(circle at top left, #e0ecff 0, transparent 45%),
        radial-gradient(circle at top right, #ffe4f0 0, transparent 40%),
        #f9fafb;
    padding: 70px 16px 84px;
    color: #111827;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Encabezado */
#contact .contact-header {
    max-width: 1160px;
    margin: 0 auto 34px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#contact .contact-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .09em;
    color: #1d4ed8;
    background: rgba(37,99,235,0.08);
}

#contact #contact-title {
    font-size: clamp(2.1rem, 2.5vw, 2.5rem);
    margin: 0;
    font-weight: 750;
}

#contact #contact-subtitle {
    margin: 8px 0 0;
    color: #6b7280;
    font-size: 0.98rem;
}

/* Mini stats */
#contact .contact-mini-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

#contact .mini-stat {
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(15,23,42,0.03);
    display: inline-flex;
    flex-direction: row;
    align-items: baseline;
    gap: 4px;
}

#contact .mini-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #9ca3af;
}

#contact .mini-value {
    font-size: 0.84rem;
    font-weight: 600;
    color: #374151;
}

/* Wrapper principal */
#contact #contact-wrapper {
    display: flex;
    flex-direction: column;
    gap: 26px;
    max-width: 1160px;
    margin: 0 auto;
}

/* Panel destacado (highlight) */
#contact #contact-highlight {
    background: linear-gradient(135deg, #0f172a, #111827, #1e293b);
    border-radius: 20px;
    padding: 20px;
    color: #e5e7eb;
    box-shadow: 0 18px 40px rgba(15,23,42,0.4);
    position: relative;
    overflow: hidden;
}

#contact #contact-highlight::before {
    content: "";
    position: absolute;
    inset: -30%;
    background:
        radial-gradient(circle at top, rgba(129,140,248,0.25), transparent 60%),
        radial-gradient(circle at bottom right, rgba(52,211,153,0.18), transparent 55%);
    opacity: 0.9;
    pointer-events: none;
}

#contact .highlight-inner {
    position: relative;
    z-index: 1;
}

#contact .highlight-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

#contact .highlight-badge {
    padding: 5px 11px;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid transparent;
}

#contact .highlight-badge.primary {
    background: rgba(59,130,246,0.22);
    border-color: rgba(129,140,248,0.7);
    color: #f9fafb;
}

#contact .highlight-badge.soft {
    background: rgba(15,23,42,0.55);
    border-color: rgba(148,163,184,0.4);
    color: #e5e7eb;
}

#contact .highlight-title {
    margin: 0 0 8px;
    font-size: 1.3rem;
    font-weight: 700;
}

#contact .highlight-text {
    margin: 0 0 16px;
    font-size: 0.94rem;
    color: #cbd5f5;
    max-width: 640px;
}

/* Pasos / ayudas */
#contact .highlight-steps-title {
    font-size: 0.86rem;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: #9ca3af;
    margin-bottom: 6px;
}

#contact .highlight-steps {
    list-style: none;
    padding: 0;
    margin: 0 0 14px;
    display: grid;
    gap: 10px;
}

#contact .highlight-steps li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;
    align-items: flex-start;
}

#contact .highlight-steps h4 {
    margin: 0 0 2px;
    font-size: 0.92rem;
    font-weight: 600;
    color: #e5e7eb;
}

#contact .highlight-steps p {
    margin: 0;
    font-size: 0.86rem;
    color: #cbd5f5;
}

#contact .step-badge {
    width: 26px;
    height: 26px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    background: rgba(15,23,42,0.9);
    color: #e5e7eb;
    border: 1px solid rgba(148,163,184,0.7);
}

/* CTA row */
#contact .highlight-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}

#contact .highlight-cta-main,
#contact .highlight-cta-ghost {
    border-radius: 999px;
    padding: 9px 16px;
    font-size: 0.88rem;
    border: none;
    outline: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
    transition: transform .16s ease, box-shadow .16s ease, background .16s ease, color .16s ease, opacity .16s ease;
}

#contact .highlight-cta-main {
    background: linear-gradient(135deg, #38bdf8, #6366f1);
    color: #f9fafb;
    box-shadow: 0 12px 28px rgba(56,189,248,0.45);
}

#contact .highlight-cta-main:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 34px rgba(56,189,248,0.55);
}

#contact .highlight-cta-ghost {
    background: rgba(15,23,42,0.85);
    color: #e5e7eb;
    border: 1px solid rgba(148,163,184,0.65);
}

#contact .highlight-cta-ghost:hover {
    background: rgba(15,23,42,0.96);
    transform: translateY(-1px);
}

#contact .highlight-footnote {
    margin: 8px 0 0;
    font-size: 0.78rem;
    color: #9ca3af;
}

/* Cards de contacto */
#contact #contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
}

#contact #contact-cards .contact-card {
    background: #ffffff;
    border: 1px solid rgba(15,23,42,0.04);
    padding: 16px 14px;
    border-radius: 16px;
    box-shadow: 0 10px 26px rgba(15,23,42,0.06);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
    display: flex;
    align-items: center;
    min-height: 110px;
}

#contact #contact-cards .contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 36px rgba(15,23,42,0.10);
    border-color: rgba(59,130,246,0.22);
}

#contact #contact-cards .card-inner {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    width: 100%;
}

#contact #contact-cards .card-icon {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

/* Textos card */
#contact #contact-cards .card-body h4 {
    margin: 0 0 4px;
    font-size: 0.98rem;
    font-weight: 700;
    color: #111827;
}

#contact #contact-cards .card-description {
    margin: 0 0 9px;
    font-size: 0.86rem;
    color: #6b7280;
}

#contact #contact-cards .card-body a {
    display: inline-flex;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    outline: none;
}

/* Botones */
#contact #contact-cards .contact-btn {
    padding: 8px 14px;
    border-radius: 999px;
    color: #fff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: transform .14s ease, box-shadow .14s ease, opacity .14s ease;
    box-shadow: 0 8px 20px rgba(15,23,42,0.12);
}

#contact #contact-cards .contact-btn:hover {
    transform: translateY(-1px);
    opacity: 0.97;
}

/* Link simple (Instagram) */
#contact #contact-cards .contact-link {
    color: #e1306c;
    text-decoration: none;
    position: relative;
}

#contact #contact-cards .contact-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, #f97316, #ec4899);
    transform-origin: left;
    transform: scaleX(0);
    transition: transform .18s ease;
}

#contact #contact-cards .contact-link:hover::after {
    transform: scaleX(1);
}

/* Colores por tarjeta */
#contact #contact-phone .card-icon {
    background: linear-gradient(135deg,#e6f0ff,#ffffff);
    color:#0b60d8;
}
#contact #contact-phone .contact-btn {
    background: #0b60d8;
}

#contact #contact-whatsapp .card-icon {
    background: linear-gradient(135deg,#e8f8ee,#ffffff);
    color:#1fae52;
}
#contact #contact-whatsapp .contact-btn {
    background: #25d366;
}

#contact #contact-instagram .card-icon {
    background: linear-gradient(135deg,#fff0f6,#ffffff);
    color:#e1306c;
}

#contact #contact-email .card-icon {
    background: linear-gradient(135deg,#fff7e6,#ffffff);
    color:#ff9800;
}
#contact #contact-email .contact-btn {
    background:#ff9800;
}

/* Quitar subrayado global dentro de la sección */
#contact a {
    text-decoration: none;
}

/* Responsive */
@media (min-width: 980px) {
    #contact #contact-wrapper {
        flex-direction: row;
        align-items: stretch;
    }

    #contact #contact-highlight {
        flex: 7;
    }

    #contact #contact-cards {
        flex: 5;
        align-self: stretch;
    }
}

@media (max-width: 720px) {
    #contact #contact-highlight {
        padding: 18px;
    }

    #contact .highlight-cta-row {
        flex-direction: column;
        align-items: stretch;
    }
}
