/* =========================================================
   LANDING PAGE ENGLISH - CONTACT FORM STYLES
   ========================================================= */

/* Form Container */
.right-side {
    background: #ffffff;
    padding: 20px 32px 42px;
    border-radius: 32px;
    color: #1e2a36;
    box-shadow: 0 20px 42px rgba(0, 0, 0, 0.18);
    margin-top: -110px;
    max-width: 600px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    min-height: auto;
    position: relative;
    display: flex;
    align-items: stretch;
}

.right-side .wpcf7 {
    margin: 0;
    width: 100%;
}

.right-side .wpcf7-form {
    display: block;
    width: 100%;
}

.right-side .wpcf7-form p {
    margin: 0 0 14px;
}

/* Labels - OUTSIDE inputs like Spanish version */
.right-side .wpcf7-form label {
    display: block;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0.1px;
    color: #0aa6d6;
    margin-bottom: 6px;
}

/* Form Grid Layout - 2 columns */
.right-side .wpcf7-form .cf7-form-zox {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px 12px !important;
    width: 88% !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
}

.right-side .wpcf7-form .cf7-col-12 {
    grid-column: span 2 !important;
}

.right-side .wpcf7-form .cf7-col-6 {
    grid-column: span 1 !important;
}

/* Inputs and Textarea - exact Spanish styling */
.right-side .wpcf7-form input[type="text"],
.right-side .wpcf7-form input[type="email"],
.right-side .wpcf7-form input[type="tel"],
.right-side .wpcf7-form textarea {
    width: 100%;
    border: 1.8px solid #0aa6d6;
    border-radius: 12px;
    padding: 14px 14px;
    font-size: 16px;
    font-family: inherit;
    outline: none;
    box-sizing: border-box;
}

.right-side .wpcf7-form .cf7-input,
.right-side .wpcf7-form .cf7-textarea {
    width: 100% !important;
    box-sizing: border-box;
}

.right-side .wpcf7-form textarea {
    min-height: 120px;
    resize: vertical;
}

/* Fixed height for event description textarea */
.right-side .wpcf7-form .cf7-textarea {
    height: 108px !important;
    min-height: 108px !important;
    max-height: 108px !important;
    resize: none !important;
}

.right-side input::placeholder,
.right-side textarea::placeholder,
.right-side .wpcf7-form input::placeholder,
.right-side .wpcf7-form textarea::placeholder {
    color: #0aa6d6;
}

/* Hide validation tips to prevent card growth */
.right-side .wpcf7-form .wpcf7-not-valid-tip {
    display: none !important;
}

/* Submit Button */
.right-side .wpcf7-form .wpcf7-submit {
    padding: 14px 56px;
    background-color: #01a0c6;
    color: white;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    font-weight: bold;
    font-size: 17px;
    transition: background-color 0.3s ease;
    margin: 2px auto 0 !important;
    display: block;
    grid-column: span 2 !important;
}

.right-side .wpcf7-form .wpcf7-submit:hover {
    background-color: #089bc3;
}

/* Hide selects if any */
.right-side .wpcf7-form select {
    display: none !important;
}

/* Hide captcha */
.right-side .wpcf7-form .verify,
.right-side .wpcf7-form .cf7-keys,
.right-side .wpcf7-form [aria-label*="human"],
.right-side .wpcf7-form .wpcf7-recaptcha,
.right-side .wpcf7-form .grecaptcha-badge,
.right-side .wpcf7-form .h-captcha {
    display: none !important;
}

/* Response messages */
.right-side .wpcf7-form .wpcf7-response-output {
    position: absolute;
    left: 32px;
    right: 32px;
    bottom: 8px;
    margin: 0 !important;
    padding: 8px 10px;
    border-radius: 10px;
    font-size: 12px;
}

/* Success Message Styles */
.right-side .success-message {
    display: none;
    min-height: 100%;
    width: 100%;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    gap: 14px;
    padding: 20px 36px 10px;
}

.right-side .success-message__icon {
    width: 150px;
    height: 150px;
    object-fit: contain;
    margin-bottom: 4px;
}

.right-side .success-message__title {
    margin: 0;
    color: #01a0c6;
    font-size: clamp(42px, 2.4vw, 52px);
    line-height: 1.08;
    font-weight: 700;
}

.right-side .success-message__text {
    margin: 0;
    color: #01a0c6;
    font-size: clamp(18px, 1.35vw, 30px);
    line-height: 1.5;
    font-weight: 500;
    max-width: 92%;
}

.right-side.is-success .wpcf7 {
    display: none;
}

.right-side.is-success .success-message {
    display: flex;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 768px) {
    .right-side {
        margin-top: 20px;
        padding: 24px 20px;
        border-radius: 22px;
    }

    /* Mobile: single column for form fields */
    .right-side .wpcf7-form .cf7-form-zox {
        width: 100%;
        grid-template-columns: 1fr !important;
    }

    .right-side .wpcf7-form .cf7-col-12,
    .right-side .wpcf7-form .cf7-col-6 {
        grid-column: span 1 !important;
    }

    .right-side .wpcf7-form .wpcf7-submit {
        grid-column: span 1 !important;
    }
}