.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.contact-section {
    background: linear-gradient(135deg, #f5f6f7 0%, #eceef0 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(139, 0, 0, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: start;
    position: relative;
    z-index: 1;
}

.contact-info {
    color: #2c3e50;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.2;
    color: #2c3e50;
}

.info-item {
    margin-bottom: 2rem;
    padding-left: 0.5rem;
}

.info-item h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #8B0000;
    margin-bottom: 0.5rem;
}

.info-item p, .info-item ul {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #5a6c7d;
    margin: 0;
}

.info-item ul {
    list-style: none;
    padding-left: 0;
}

.info-item ul li {
    padding: 0.25rem 0;
}

.phone-number {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2c3e50;
}

.contact-form-wrapper {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    max-height: fit-content;
    height: auto;
}

.form-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1.25rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #2c3e50;
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group label .required {
    color: #8B0000;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #8B0000;
    background-color: white;
    box-shadow: 0 0 0 3px rgba(139, 0, 0, 0.1);
}

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

.button-container {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

.btn {
    padding: 0.85rem 2.25rem;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.btn-primary {
    background: #8B0000;
    color: white;
    box-shadow: 0 4px 12px rgba(139, 0, 0, 0.2);
}

.btn-primary:hover:not(:disabled) {
    background: #a00000;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(139, 0, 0, 0.3);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

.success-message {
    text-align: center;
    padding: 2rem 1rem;
    display: none;
}

.success-message.show {
    display: block;
    animation: fadeIn 0.4s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.success-message .icon {
    font-size: 3rem;
    margin-bottom: 0.75rem;
    animation: scaleIn 0.5s ease-out;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

.success-message h3 {
    font-size: 1.5rem;
    color: #8B0000;
    margin-bottom: 0.75rem;
}

.success-message p {
    font-size: 0.95rem;
    color: #5a6c7d;
    line-height: 1.6;
}

@media (max-width: 968px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

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

    .contact-info h2 {
        font-size: 2.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .contact-section {
        padding: 3rem 0;
    }

    .contact-info h2 {
        font-size: 2rem;
    }

    .info-item h3 {
        font-size: 1.1rem;
    }

    .info-item p, .info-item ul {
        font-size: 1rem;
    }

    .phone-link {
        font-size: 1.1rem;
        padding: 0.9rem 1.75rem;
    }

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

    .button-container {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }
}


/* ------------ FOOTER SECTION  ------------ */

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-line {
    padding: 2rem 0;
    background-color: #2B3036;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
}

.footer-info, .footer-contact {
    flex: 1;
}

.footer-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.footer-contact {
    text-align: right;
}

@media (max-width: 768px) {
    .footer-line {
        padding: 1.5rem 0;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

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


/* ----------------- STICKY WHATSAPP BUTTON ----------------- */

.whatsapp-sticky {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    z-index: 1000;
    text-decoration: none;
}

.whatsapp-sticky:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-sticky svg {
    width: 32px;
    height: 32px;
    color: #ffffff;
}

@keyframes pulse-whatsapp {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.7);
    }
}

.whatsapp-sticky {
    animation: pulse-whatsapp 2s infinite;
}

@media (max-width: 768px) {
    .whatsapp-sticky {
        width: 56px;
        height: 56px;
        bottom: 1.5rem;
        right: 1.5rem;
    }

    .whatsapp-sticky svg {
        width: 28px;
        height: 28px;
    }
}
