/* ========================================
   CONTACTO - Arkaia Corporation
   ======================================== */

/* Hero */
.contact-hero {
    position: relative;
    min-height: 45vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 120px 0 60px;
}

.contact-hero__bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0a0a12 0%, #1a0a2e 50%, #0a0a12 100%);
    z-index: 0;
}

.contact-hero__overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(157, 78, 221, 0.15) 0%, transparent 60%),
                radial-gradient(ellipse at 70% 50%, rgba(57, 255, 20, 0.08) 0%, transparent 60%);
    z-index: 1;
}

.contact-hero__content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.contact-hero__label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: #39FF14;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.contact-hero__label-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #39FF14;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.contact-hero__title {
    font-family: 'Inter', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.contact-hero__title-line {
    display: block;
    color: #fff;
}

.contact-hero__title-word--accent {
    background: linear-gradient(135deg, #9D4EDD, #39FF14);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-hero__description {
    font-size: 1.1rem;
    color: #c0c0c0;
    line-height: 1.7;
    max-width: 550px;
}

/* Contact Content */
.contact-content {
    padding: 80px 0 100px;
    background: #05050a;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* Info Column */
.contact-info__title {
    font-family: 'Inter', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 30px;
}

.contact-info__card {
    display: flex;
    gap: 16px;
    padding: 20px;
    border-radius: 12px;
    background: #0a0a14;
    border: 1px solid #1a1a2e;
    margin-bottom: 16px;
    transition: border-color 0.3s;
}

.contact-info__card:hover {
    border-color: #9D4EDD;
}

.contact-info__card-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(157, 78, 221, 0.1);
    border-radius: 10px;
}

.contact-info__card h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 6px;
}

.contact-info__card p {
    font-size: 0.875rem;
    color: #b0b0b0;
    line-height: 1.6;
}

.contact-info__social {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #1a1a2e;
}

.contact-info__social p {
    font-size: 0.875rem;
    color: #b0b0b0;
    margin-bottom: 16px;
}

.contact-info__social-links {
    display: flex;
    gap: 16px;
}

.contact-info__social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #0f0f1a;
    border: 1px solid #1a1a2e;
    color: #b0b0b0;
    transition: all 0.3s;
}

.contact-info__social-links a:hover {
    color: #39FF14;
    border-color: #39FF14;
    background: rgba(57, 255, 20, 0.05);
}

/* Form */
.contact-form-wrapper {
    position: relative;
}

.contact-form {
    background: #0a0a14;
    border: 1px solid #1a1a2e;
    border-radius: 16px;
    padding: 36px;
}

.contact-form__group {
    margin-bottom: 20px;
    position: relative;
}

.contact-form__label {
    display: block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    color: #ccc;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.contact-form__input {
    width: 100%;
    padding: 12px 16px;
    background: #0f0f1a;
    border: 1px solid #2a2a3a;
    border-radius: 8px;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    transition: border-color 0.3s, box-shadow 0.3s;
    outline: none;
    box-sizing: border-box;
}

.contact-form__input::placeholder {
    color: #777;
}

.contact-form__input:focus {
    border-color: #9D4EDD;
    box-shadow: 0 0 0 3px rgba(157, 78, 221, 0.15);
}

.contact-form__input.error {
    border-color: #ff0040;
}

.contact-form__input.valid {
    border-color: #39FF14;
}

.contact-form__select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23888' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
}

.contact-form__select option {
    background: #0f0f1a;
    color: #fff;
}

.contact-form__textarea {
    resize: vertical;
    min-height: 120px;
    max-height: 300px;
}

.contact-form__counter {
    text-align: right;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    color: #888;
    margin-top: 4px;
}

.contact-form__error {
    display: block;
    font-size: 0.75rem;
    color: #ff0040;
    margin-top: 4px;
    min-height: 16px;
}

.contact-form__submit {
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, #9D4EDD, #7B2CBF);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 8px;
}

.contact-form__submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(157, 78, 221, 0.3);
}

.contact-form__submit:active {
    transform: translateY(0);
}

.contact-form__submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Success */
.contact-success {
    background: #0a0a14;
    border: 1px solid #39FF14;
    border-radius: 16px;
    padding: 60px 36px;
    text-align: center;
}

.contact-success__icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(57, 255, 20, 0.1);
    border: 2px solid #39FF14;
    color: #39FF14;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.contact-success h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 12px;
}

.contact-success p {
    color: #b0b0b0;
    line-height: 1.7;
    max-width: 400px;
    margin: 0 auto;
}

/* Toast */
.contact-toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    padding: 14px 24px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    z-index: 9999;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-toast.show {
    transform: translateY(0);
    opacity: 1;
}

.contact-toast--error {
    background: rgba(255, 0, 64, 0.15);
    border: 1px solid #ff0040;
    color: #ff4d6d;
}

/* Captcha modal fix - botón cerrar flotando encima del modal */
.captcha-modal__content {
    overflow: visible;
}

.captcha-modal__content .puzzle-captcha {
    border-radius: 16px;
    overflow: hidden;
}

.captcha-modal__close {
    top: -46px;
    right: 0;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    background: rgba(10, 10, 15, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Responsive */
@media (max-width: 768px) {
    .contact-hero {
        min-height: 35vh;
        padding: 100px 0 40px;
    }

    .contact-content {
        padding: 50px 0 70px;
    }

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

    .contact-form {
        padding: 24px;
    }

    .contact-info__title {
        font-size: 1.4rem;
    }

    .contact-toast {
        left: 16px;
        right: 16px;
        bottom: 16px;
    }
}
