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

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

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

/* Contact Form */
.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 32px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.contact-form-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 0% 0%, rgba(99, 102, 241, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.form-header {
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.form-header h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.form-header p {
    color: var(--gray-light);
    font-size: 1rem;
}

.contact-form {
    position: relative;
    z-index: 1;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

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

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--white);
    font-size: 0.95rem;
}

.form-label span {
    color: var(--accent);
}

.form-input {
    width: 100%;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--white);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.form-input::placeholder {
    color: var(--gray);
}

textarea.form-input {
    min-height: 150px;
    resize: vertical;
}

select.form-input {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2394a3b8' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.form-checkbox input {
    width: 20px;
    height: 20px;
    accent-color: var(--primary);
    cursor: pointer;
    flex-shrink: 0;
    margin-top: 2px;
}

.form-checkbox label {
    color: var(--gray-light);
    font-size: 0.9rem;
    cursor: pointer;
}

.form-checkbox label a {
    color: var(--primary-light);
    text-decoration: none;
}

.form-checkbox label a:hover {
    text-decoration: underline;
}

.btn-submit {
    width: 100%;
    padding: 1.25rem 2rem;
    background: var(--gradient-1);
    color: var(--white);
    fill: var(--white);
    border: none;
    border-radius: 14px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
}

.btn-submit svg {
    height: 18px;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.5);
}

.btn-submit:active {
    transform: translateY(-1px);
}

.btn-submit.loading {
    pointer-events: none;
    opacity: 0.7;
}

.btn-submit.loading i {
    animation: spin 1s linear infinite;
}

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

    to {
        transform: rotate(360deg);
    }
}

/* Contact Info Side */
.contact-info-side {
    position: relative;
}

.info-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.info-box-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.info-box-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    fill: var(--white);
}

.info-box-icon svg {
    height: 18px;
}

.info-box-title {
    font-size: 1.25rem;
    font-weight: 700;
}

.info-list {
    list-style: none;
}

.info-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.info-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.info-list-icon {
    width: 40px;
    height: 40px;
    background: rgba(99, 102, 241, 0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    fill: var(--white);
    flex-shrink: 0;
}

.info-list-icon svg {
    height: 20px;
}

.info-list-content {
    flex: 1;
}

.info-list-label {
    font-size: 0.85rem;
    color: var(--gray);
    margin-bottom: 0.25rem;
}

.info-list-value {
    font-weight: 600;
    color: var(--white);
    width: 100%;
    display: flex;
    flex-direction: column;
}

.info-list-value a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-list-value a:hover {
    color: var(--primary-light);
}

/* Business Hours */
.hours-grid {
    display: grid;
    gap: 0.75rem;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
}

.hours-day {
    font-weight: 500;
    color: var(--white);
}

.hours-time {
    color: var(--gray-light);
    font-size: 0.9rem;
}

.hours-row.closed .hours-time {
    color: var(--accent);
}

.hours-row.highlight {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.hours-row.highlight .hours-day,
.hours-row.highlight .hours-time {
    color: var(--success);
}

/* Social Links */
.social-box {
    margin-top: 2rem;
}

.social-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--gray-light);
}

.social-links-grid {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.social-link-btn {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    fill: var(--gray-light);
    font-size: 1.25rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.social-link-btn.instagram:hover {
    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: transparent;
    fill: var(--white);
}

.social-link-btn.linkedin:hover {
    background: #0077b5;
    border-color: transparent;
    fill: var(--white);
}

.social-link-btn.facebook:hover {
    background: #1877f2;
    border-color: transparent;
    fill: var(--white);
}

.social-link-btn.whatsapp:hover {
    background: #25d366;
    border-color: transparent;
    fill: var(--white);
}

.social-link-btn.youtube:hover {
    background: #ff0000;
    border-color: transparent;
    fill: var(--white);
}

.social-link-btn.twitter:hover {
    background: #1da1f2;
    border-color: transparent;
    fill: var(--white);
}

.social-link-btn svg {
    height: 20px;
}

/* Success Message */
.success-message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: var(--dark-light);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 24px;
    padding: 3rem;
    text-align: center;
    z-index: 10001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    max-width: 400px;
    width: 90%;
}

.success-message.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.success-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 1.5rem;
    color: var(--white);
}

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

.success-message p {
    color: var(--gray-light);
    margin-bottom: 1.5rem;
}

.success-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.success-overlay.active {
    opacity: 1;
    visibility: visible;
}

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


@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 480px) {
    .contact-info-grid {
        grid-template-columns: 1fr;
    }
}