/* =========================================================
   PÁGINA CONTACTO - ESTILO PREMIUM B2B
========================================================= */

.contact-page {
    background: #ffffff;
    color: #1e293b;
    font-family: Inter, system-ui, -apple-system, sans-serif;
    overflow: hidden;
}

/* HERO SECTION (DARK PREMIUM) */
.contact-hero {
    position: relative;
    min-height: 540px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 100px;
    background:
        radial-gradient(circle at 18% 22%, rgba(14, 165, 233, 0.15), transparent 30%),
        radial-gradient(circle at 82% 70%, rgba(2, 132, 199, 0.1), transparent 35%),
        linear-gradient(135deg, #020617 0%, #0f172a 100%);
    color: #ffffff;
    text-align: center;
}

.contact-hero__inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 850px;
}

.contact-logo-wrap {
    width: 92px;
    height: 92px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.contact-logo {
    max-width: 68px;
    max-height: 68px;
    object-fit: contain;
}

.contact-eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    padding: 8px 18px;
    border-radius: 999px;
    background: rgba(14, 165, 233, 0.12);
    border: 1px solid rgba(14, 165, 233, 0.2);
    color: #38bdf8;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.contact-hero h1 {
    max-width: 780px;
    margin: 0 auto;
    font-size: clamp(34px, 5.2vw, 62px);
    line-height: 1.05;
    letter-spacing: -0.04em;
    font-weight: 900;
    color: #ffffff;
}

.contact-hero p {
    max-width: 680px;
    margin: 24px auto 0;
    color: #94a3b8;
    font-size: 18px;
    line-height: 1.7;
}

.contact-actions {
    margin-top: 38px;
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 30px;
    border-radius: 16px;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.contact-btn--primary {
    background: #ffffff;
    color: #0f172a;
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.1);
}

.contact-btn--primary:hover {
    transform: translateY(-3px);
    background: #0ea5e9;
    color: #ffffff;
    box-shadow: 0 12px 30px rgba(14, 165, 233, 0.4);
}

.contact-btn--secondary {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

.contact-btn--secondary:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.contact-orb {
    position: absolute;
    border-radius: 999px;
    filter: blur(40px);
    opacity: 0.4;
    animation: contactFloat 6s ease-in-out infinite alternate;
}

.contact-orb--one {
    width: 200px;
    height: 200px;
    top: 15%;
    left: 8%;
    background: rgba(14, 165, 233, 0.25);
}

.contact-orb--two {
    width: 250px;
    height: 250px;
    right: 8%;
    bottom: 12%;
    background: rgba(2, 132, 199, 0.2);
    animation-delay: 1.5s;
}

/* CONTENT CONTAINER */
.contact-content {
    padding: 100px 0;
    background: #ffffff;
}

.contact-content__header {
    max-width: 780px;
    margin: 0 auto 56px;
    text-align: center;
}

.contact-content__header span {
    display: inline-block;
    margin-bottom: 12px;
    color: #0ea5e9;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.contact-content__header h2 {
    margin: 0;
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.15;
    letter-spacing: -0.03em;
    font-weight: 900;
    color: #0f172a;
}

.contact-grid {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    align-items: stretch;
}

.contact-info,
.contact-form-box {
    height: 100%;
}

/* INFO CARDS */
.contact-info {
    display: grid;
    gap: 20px;
    align-content: start;
}

.contact-card {
    position: relative;
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 20px;
    padding: 28px;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    text-decoration: none;
    color: #1e293b;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.02);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    border-left: 3px solid transparent;
}

.contact-card:hover {
    transform: translateY(-6px);
    border-color: #cbd5e1;
    border-left: 3px solid #0ea5e9;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.05);
}

.contact-card__icon {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(14, 165, 233, 0.08);
    font-size: 24px;
    color: #0ea5e9;
}

.contact-card span {
    display: block;
    margin-bottom: 6px;
    font-size: 11px;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.contact-card strong {
    display: block;
    margin-bottom: 8px;
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
    word-break: break-word;
}

.contact-card small {
    display: block;
    font-size: 14px;
    line-height: 1.6;
    color: #475569;
}

/* FORM BOX */
.contact-form-box {
    padding: 44px;
    border-radius: 32px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.04);
}

.contact-form-box__top {
    margin-bottom: 30px;
}

.contact-form-box__top span {
    display: inline-block;
    margin-bottom: 10px;
    color: #0ea5e9;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.contact-form-box__top h3 {
    margin: 0;
    font-size: 30px;
    font-weight: 900;
    color: #0f172a;
    letter-spacing: -0.03em;
}

.contact-form-box__top p {
    margin: 8px 0 0;
    color: #475569;
    font-size: 15px;
    line-height: 1.6;
}

.contact-form {
    display: grid;
    gap: 20px;
}

.form-group {
    display: grid;
    gap: 8px;
}

.form-group label {
    font-size: 13px;
    font-weight: 800;
    color: #334155;
}

.form-group input,
.form-group textarea {
    width: 100%;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #0f172a;
    border-radius: 16px;
    padding: 16px 18px;
    font-size: 15px;
    outline: none;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #0ea5e9;
    background: #ffffff;
    box-shadow: 0 0 0 5px rgba(14, 165, 233, 0.15);
}

.contact-form button {
    margin-top: 8px;
    min-height: 56px;
    border: none;
    border-radius: 16px;
    background: #0f172a;
    color: #ffffff;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.contact-form button:hover {
    background: #0ea5e9;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(14, 165, 233, 0.35);
}

.contact-message {
    min-height: 24px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
}

/* ANIMATIONS & INTERACTIVE CLASS */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

@keyframes contactFloat {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(-15px) scale(1.03); }
}

/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
    .contact-grid {
        gap: 28px;
    }
    
    .contact-form-box {
        padding: 34px;
    }
}

@media (max-width: 900px) {
    .contact-hero {
        min-height: auto;
        padding: 100px 24px 80px;
    }

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

@media (max-width: 560px) {
    .contact-hero h1 {
        font-size: 34px;
    }

    .contact-logo-wrap {
        width: 82px;
        height: 82px;
        border-radius: 22px;
    }

    .contact-logo {
        max-width: 60px;
        max-height: 60px;
    }

    .contact-actions {
        flex-direction: column;
        gap: 12px;
    }

    .contact-btn {
        width: 100%;
    }

    .contact-content {
        padding: 60px 0;
    }

    .contact-card {
        grid-template-columns: 48px 1fr;
        padding: 20px;
        border-radius: 20px;
    }

    .contact-card__icon {
        width: 48px;
        height: 48px;
        border-radius: 15px;
        font-size: 20px;
    }

    .contact-form-box {
        padding: 24px;
        border-radius: 24px;
    }

    .contact-form-box__top h3 {
        font-size: 26px;
    }
}