/* ============================================================
   CONTACT / CONTACTO - Estilos (Fondo Claro)
   ============================================================ */

/* --------------------------------------------------------
   HERO SECTION
   -------------------------------------------------------- */
.contact-hero {
    padding: 1rem 0 2rem;
    background: #fff;
    position: relative;
    overflow: hidden;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
}

/* Decorative Elements */
.contact-hero__decor {
    position: absolute;
    pointer-events: none;
}

.contact-hero__decor--circle-1 {
    top: -100px;
    right: -50px;
    width: 400px;
    height: 400px;
    background: linear-gradient(180deg, rgba(139, 92, 246, 0.08) 0%, rgba(139, 92, 246, 0.02) 100%);
    border-radius: 50%;
}

.contact-hero__decor--circle-2 {
    bottom: -150px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: linear-gradient(180deg, rgba(6, 182, 212, 0.06) 0%, rgba(6, 182, 212, 0.01) 100%);
    border-radius: 50%;
}

.contact-hero__decor--dots {
    top: 100px;
    left: 5%;
    width: 80px;
    height: 80px;
    background-image: radial-gradient(circle, #8b5cf6 2px, transparent 2px);
    background-size: 12px 12px;
    opacity: 0.3;
}

/* Curvas decorativas moradas */
.contact-hero__decor--curves {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 350px;
    height: 280px;
    z-index: 0;
}

.contact-hero__decor--curves svg {
    width: 100%;
    height: 100%;
}

.contact-hero__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
}

.contact-hero__content {
    max-width: 100%;
}

/* Title with accent and line */
.contact-hero__title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1.15;
    margin-bottom: 1rem;
}

.contact-hero__title--accent {
    color: #8b5cf6;
    position: relative;
    display: inline-block;
}

.contact-hero__title-line {
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #06b6d4 0%, #0891b2 100%);
    border-radius: 2px;
}

.contact-hero__description {
    font-size: 0.9375rem;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 1.25rem;
    max-width: 600px;
}

/* --------------------------------------------------------
   INFO LAYOUT (Cards + Photo)
   -------------------------------------------------------- */
.contact-hero__info-layout {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* --------------------------------------------------------
   FEATURE CARDS (New Design)
   -------------------------------------------------------- */
.contact-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-features__item {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    padding: 0.875rem 1rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.contact-features__item:hover {
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.1);
    transform: translateY(-2px);
}

.contact-features__icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-features__icon i {
    font-size: 1.25rem;
    color: #fff;
}

.contact-features__icon--purple {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.contact-features__icon--cyan {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
}

.contact-features__icon--green {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.contact-features__text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.contact-features__title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #1a1a2e;
    margin: 0;
}

.contact-features__desc {
    font-size: 0.8125rem;
    color: #64748b;
    line-height: 1.4;
    margin: 0;
}

/* --------------------------------------------------------
   PHOTO WITH DECORATIONS
   -------------------------------------------------------- */
.contact-hero__photo {
    position: relative;
    display: none;
    justify-content: center;
    align-items: center;
    max-width: 280px;
}

.contact-hero__photo img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    position: relative;
    z-index: 2;
    box-shadow: 0 20px 60px rgba(139, 92, 246, 0.15);
}

.contact-hero__photo-decor {
    position: absolute;
    pointer-events: none;
}

.contact-hero__photo-decor--circle {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2) 0%, rgba(6, 182, 212, 0.1) 100%);
    border-radius: 50%;
    top: -30px;
    right: -40px;
    z-index: 1;
}

.contact-hero__photo-decor--dots {
    width: 60px;
    height: 60px;
    background-image: radial-gradient(circle, #8b5cf6 2px, transparent 2px);
    background-size: 10px 10px;
    opacity: 0.4;
    bottom: 20px;
    left: -20px;
    z-index: 3;
}

/* --------------------------------------------------------
   CONTACT FORM
   -------------------------------------------------------- */
.contact-hero__form-wrapper {
    width: 100%;
}

.contact-form {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 1.25rem;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.08);
}

.contact-form__header {
    text-align: center;
    margin-bottom: 0.625rem;
}

/* Envelope icon */
.contact-form__icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.5rem;
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.3);
}

.contact-form__icon i {
    font-size: 1.25rem;
    color: #fff;
}

.contact-form__title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 0.125rem;
}

.contact-form__subtitle {
    font-size: 0.75rem;
    color: #64748b;
}

.contact-form__body {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-form__group {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.contact-form__label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #475569;
}

.contact-form__label .required {
    color: #ef4444;
}

.contact-form__input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.contact-form__input-wrapper i {
    position: absolute;
    left: 1rem;
    font-size: 1rem;
    color: #94a3b8;
    pointer-events: none;
}

.contact-form__input,
.contact-form__textarea {
    width: 100%;
    padding: 0.5rem 1rem 0.5rem 2.5rem;
    font-size: 0.875rem;
    font-family: inherit;
    color: #1a1a2e;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.contact-form__input:focus,
.contact-form__textarea:focus {
    outline: none;
    border-color: #8b5cf6;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.contact-form__input::placeholder,
.contact-form__textarea::placeholder {
    color: #94a3b8;
}

.contact-form__input-wrapper--textarea {
    align-items: flex-start;
}

.contact-form__input-wrapper--textarea i {
    top: 1rem;
}

.contact-form__textarea {
    min-height: 50px;
    resize: vertical;
}

.contact-form__error {
    font-size: 0.8125rem;
    color: #ef4444;
    display: none;
}

.contact-form__error.show {
    display: block;
}

/* Checkbox */
.contact-form__group--checkbox {
    margin-top: 0.25rem;
}

.contact-form__checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    position: relative;
}

.contact-form__checkbox {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.contact-form__checkmark {
    width: 20px;
    height: 20px;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    margin-top: 2px;
}

.contact-form__checkbox:checked + .contact-form__checkmark {
    background: #8b5cf6;
    border-color: #8b5cf6;
}

.contact-form__checkbox:checked + .contact-form__checkmark::after {
    content: '';
    width: 6px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-top: -2px;
}

.contact-form__checkbox-text {
    font-size: 0.75rem;
    color: #64748b;
    line-height: 1.4;
}

.contact-form__checkbox-text a {
    color: #8b5cf6;
    text-decoration: none;
}

.contact-form__checkbox-text a:hover {
    text-decoration: underline;
}

/* Submit Button */
.contact-form__submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.625rem 1.5rem;
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    font-family: inherit;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.125rem;
}

.contact-form__submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
}

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

.contact-form__submit-loader {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-form__submit-loader i {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* --------------------------------------------------------
   FAQ SECTION
   -------------------------------------------------------- */
.contact-faq {
    padding: 4rem 0;
    background: linear-gradient(180deg, #f8fafc 0%, #f0f4ff 100%);
}

.contact-faq__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.contact-faq__header {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-faq__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.875rem;
    background: rgba(139, 92, 246, 0.08);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 50px;
    color: #7c3aed;
    font-size: 0.8125rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.contact-faq__title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 0.75rem;
}

.contact-faq__title--accent {
    color: #8b5cf6;
}

.contact-faq__subtitle {
    font-size: 1rem;
    color: #64748b;
}

.contact-faq__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.contact-faq__item {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.contact-faq__item:hover {
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.08);
    transform: translateY(-2px);
}

.contact-faq__icon {
    width: 48px;
    height: 48px;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.contact-faq__icon i {
    font-size: 1.25rem;
    color: #8b5cf6;
}

.contact-faq__question {
    font-size: 1.0625rem;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 0.5rem;
}

.contact-faq__answer {
    font-size: 0.9375rem;
    color: #64748b;
    line-height: 1.6;
}

.contact-faq__cta {
    text-align: center;
}

.contact-faq__cta p {
    font-size: 1rem;
    color: #64748b;
    margin-bottom: 1rem;
}

/* --------------------------------------------------------
   SOLUTIONS SECTION
   -------------------------------------------------------- */
.contact-solutions {
    padding: 4rem 0;
    background: #fff;
}

.contact-solutions__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.contact-solutions__header {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-solutions__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.875rem;
    background: rgba(139, 92, 246, 0.08);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 50px;
    color: #7c3aed;
    font-size: 0.8125rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.contact-solutions__title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 0.75rem;
}

.contact-solutions__title--accent {
    color: #8b5cf6;
}

.contact-solutions__subtitle {
    font-size: 1rem;
    color: #64748b;
}

.contact-solutions__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.contact-solutions__item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-solutions__item:hover {
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.12);
    transform: translateY(-3px);
}

.contact-solutions__icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-solutions__icon i {
    font-size: 1.5rem;
    color: #fff;
}

.contact-solutions__icon--purple {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.contact-solutions__icon--blue {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.contact-solutions__icon--cyan {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
}

.contact-solutions__icon--green {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.contact-solutions__icon--pink {
    background: linear-gradient(135deg, #ec4899 0%, #db2777 100%);
}

.contact-solutions__icon--orange {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
}

.contact-solutions__icon--teal {
    background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
}

.contact-solutions__content {
    flex: 1;
}

.contact-solutions__name {
    font-size: 1.0625rem;
    font-weight: 600;
    color: #1a1a2e;
    margin: 0 0 0.375rem;
}

.contact-solutions__desc {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.5;
    margin: 0 0 0.5rem;
}

.contact-solutions__link {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #8b5cf6;
    transition: gap 0.3s ease;
}

.contact-solutions__item:hover .contact-solutions__link {
    gap: 0.625rem;
}

/* --------------------------------------------------------
   RESPONSIVE - TABLET
   -------------------------------------------------------- */
@media (min-width: 768px) {
    .contact-hero {
        padding: 1rem 0 2rem;
    }

    .contact-hero__container {
        padding: 0 2rem;
    }

    .contact-hero__info-layout {
        flex-direction: row;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .contact-features {
        flex: 1;
    }

    .contact-hero__photo {
        display: flex;
        flex-shrink: 0;
        max-width: 200px;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .contact-faq__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-solutions__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --------------------------------------------------------
   RESPONSIVE - DESKTOP
   -------------------------------------------------------- */
@media (min-width: 1025px) {
    .contact-hero {
        padding: 0;
        min-height: calc(100vh - 80px);
    }

    .contact-hero__container {
        flex-direction: row;
        align-items: flex-start;
        gap: 3rem;
        padding-top: 2rem;
    }

    .contact-hero__content {
        flex: 1;
        max-width: 560px;
        padding-top: 0;
    }

    .contact-hero__title {
        font-size: 2.25rem;
        margin-bottom: 0.5rem;
    }

    .contact-hero__description {
        font-size: 0.9375rem;
        margin-bottom: 0.875rem;
    }

    .contact-hero__info-layout {
        gap: 1.25rem;
    }

    .contact-features {
        max-width: 280px;
        gap: 0.5rem;
    }

    .contact-features__item {
        padding: 0.75rem 0.875rem;
    }

    .contact-hero__photo {
        max-width: 180px;
    }

    .contact-hero__photo-decor--circle {
        width: 130px;
        height: 130px;
        top: -15px;
        right: -25px;
    }

    .contact-hero__form-wrapper {
        flex: 0 0 auto;
        width: 420px;
    }

    .contact-form {
        padding: 1.25rem 1.5rem;
        width: 100%;
    }

    .contact-hero__decor--circle-1 {
        width: 400px;
        height: 400px;
        top: -150px;
        right: -100px;
    }

    .contact-hero__decor--circle-2 {
        width: 300px;
        height: 300px;
        bottom: -150px;
    }

    .contact-hero__decor--curves {
        width: 350px;
        height: 280px;
    }

    .contact-faq {
        padding: 4rem 0;
    }

    .contact-faq__grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }

    .contact-faq__item {
        padding: 1.5rem;
    }

    .contact-solutions {
        padding: 5rem 0;
    }

    .contact-solutions__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }

    .contact-solutions__item {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }

    .contact-solutions__icon {
        margin: 0 auto;
    }

    .contact-solutions__link {
        justify-content: center;
    }
}

/* --------------------------------------------------------
   RESPONSIVE - LARGE DESKTOP
   -------------------------------------------------------- */
@media (min-width: 1280px) {
    .contact-hero__container {
        gap: 4rem;
    }

    .contact-hero__content {
        max-width: 620px;
    }

    .contact-hero__title {
        font-size: 2.5rem;
        margin-bottom: 0.625rem;
    }

    .contact-hero__description {
        margin-bottom: 1rem;
    }

    .contact-features {
        max-width: 320px;
        gap: 0.625rem;
    }

    .contact-features__item {
        padding: 0.875rem 1rem;
    }

    .contact-hero__photo {
        max-width: 220px;
    }

    .contact-hero__photo-decor--circle {
        width: 160px;
        height: 160px;
    }

    .contact-hero__form-wrapper {
        width: 460px;
    }

    .contact-form {
        padding: 1.5rem 1.75rem;
    }
}
