/* Contact section — quote form & channels */

.contact {
    padding: 5rem 0 5.5rem !important;
    background: linear-gradient(165deg, #1a1a2e 0%, #252542 50%, #1e1e36 100%) !important;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact::before,
.contact::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.contact::before {
    top: -100px;
    right: -80px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(230, 122, 34, 0.12) 0%, transparent 70%);
}

.contact::after {
    bottom: -80px;
    left: -60px;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(37, 211, 102, 0.08) 0%, transparent 70%);
}

.contact .section-heading {
    color: #fff !important;
    position: relative;
    z-index: 1;
}

.contact .small-heading {
    color: rgba(255, 255, 255, 0.7) !important;
    position: relative;
    z-index: 1;
}

.contact-alerts {
    max-width: 1180px;
    margin: 0 auto 1rem;
    padding: 0 1rem;
    position: relative;
    z-index: 1;
}

.contact-alert {
    padding: 0.85rem 1.15rem;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
}

.contact-alert--success,
.contact-alert.success {
    background: rgba(37, 211, 102, 0.15);
    color: #7dffb0;
    border: 1px solid rgba(37, 211, 102, 0.35);
}

.contact-alert--error,
.contact-alert.error {
    background: rgba(255, 100, 100, 0.12);
    color: #ffb4b4;
    border: 1px solid rgba(255, 100, 100, 0.3);
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) minmax(320px, 1.1fr);
    gap: 1.75rem;
    max-width: 1180px;
    margin: 2rem auto 0;
    padding: 0 1rem;
    text-align: left;
    position: relative;
    z-index: 1;
    transform: translateY(28px);
    opacity: 0;
    transition: transform 0.6s ease, opacity 0.6s ease;
}

.contact-layout.visible {
    transform: translateY(0);
    opacity: 1;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-info-intro h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.5rem;
    line-height: 1.3;
}

.contact-info-intro p {
    margin: 0;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
}

.contact-channels {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-channel {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.15rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    text-decoration: none;
    color: inherit;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.contact-channel:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(230, 122, 34, 0.4);
    transform: translateX(4px);
}

.contact-channel > i {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(230, 122, 34, 0.2);
    color: #e67a22;
    border-radius: 12px;
    font-size: 1.25rem;
}

.contact-channel--whatsapp > i {
    background: rgba(37, 211, 102, 0.2);
    color: #25d366;
}

.contact-channel--whatsapp:hover {
    border-color: rgba(37, 211, 102, 0.45);
}

.contact-channel span {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 0.15rem;
}

.contact-channel strong {
    font-size: 1rem;
    color: #fff;
    font-weight: 600;
}

.contact-perks {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-perks li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.8);
}

.contact-perks i {
    color: #e67a22;
    font-size: 1.1rem;
}

.contact-form {
    max-width: none !important;
    margin: 0 !important;
    padding: 1.75rem 1.5rem !important;
    display: flex !important;
    flex-direction: column;
    gap: 1.1rem !important;
    background: #fff;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
    transform: none !important;
    opacity: 1 !important;
    transition: none !important;
}

.contact-form-header h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 0.25rem;
}

.contact-form-header p {
    margin: 0 0 0.5rem;
    font-size: 0.82rem;
    color: #5c5c7a;
}

.contact-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.contact-field label {
    font-size: 0.78rem;
    font-weight: 600;
    color: #1a1a2e;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.contact-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.contact-input-wrap > i {
    position: absolute;
    left: 1rem;
    color: #e67a22;
    font-size: 1.1rem;
    pointer-events: none;
    z-index: 1;
}

.contact-form input,
.contact-form textarea {
    width: 100% !important;
    padding: 0.85rem 1rem 0.85rem 2.75rem !important;
    border: 1px solid rgba(26, 26, 46, 0.12) !important;
    border-radius: 12px !important;
    box-shadow: none !important;
    font-size: 0.95rem !important;
    color: #1a1a2e;
    background: #faf8f5 !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease !important;
}

.contact-form textarea {
    padding-left: 1rem !important;
    min-height: 120px !important;
    height: auto !important;
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none !important;
    transform: none !important;
    border-color: #e67a22 !important;
    box-shadow: 0 0 0 3px rgba(230, 122, 34, 0.15) !important;
    background: #fff !important;
}

.contact-submit {
    width: 100%;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.95rem 1.5rem !important;
    font-size: 1rem !important;
    margin-top: 0.25rem;
    border: none;
    cursor: pointer;
}

.contact > p:last-child {
    display: none;
}

@media (max-width: 992px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .contact-info {
        order: 2;
    }

    .contact-form {
        order: 1;
    }
}

/* Contact success/error popup */
.contact-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
}

.contact-modal[hidden] {
    display: none !important;
}

.contact-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 18, 0.72);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.contact-modal-box {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 420px;
    background: #fff;
    border-radius: 20px;
    padding: 2rem 1.75rem 1.5rem;
    text-align: center;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
    animation: contactModalIn 0.35s ease;
}

@keyframes contactModalIn {
    from {
        opacity: 0;
        transform: scale(0.92) translateY(12px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.contact-modal-close {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    width: 36px;
    height: 36px;
    border: none;
    background: #faf8f5;
    border-radius: 50%;
    font-size: 1.35rem;
    line-height: 1;
    color: #5c5c7a;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.contact-modal-close:hover {
    background: #eee;
    color: #1a1a2e;
}

.contact-modal-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 2.5rem;
}

.contact-modal--success .contact-modal-icon {
    background: rgba(37, 211, 102, 0.12);
    color: #25d366;
}

.contact-modal--error .contact-modal-icon {
    background: rgba(255, 100, 100, 0.12);
    color: #e85d5d;
}

.contact-modal-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.45rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 0.5rem;
}

.contact-modal-message {
    font-size: 0.95rem;
    color: #5c5c7a;
    line-height: 1.55;
    margin: 0 0 1.35rem;
}

.contact-modal-ok {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 140px;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    color: #fff;
    background: linear-gradient(135deg, #e67a22, #f4a261);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-modal-ok:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(230, 122, 34, 0.35);
}

body.contact-modal-open {
    overflow: hidden;
}

.contact-submit:disabled {
    opacity: 0.75;
    cursor: not-allowed;
}

.contact-spin {
    display: inline-block;
    animation: contactSpin 0.8s linear infinite;
}

@keyframes contactSpin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 576px) {
    .contact {
        padding: 3.5rem 0 !important;
    }

    .contact-form {
        padding: 1.35rem 1.15rem !important;
    }
}
