/* Contact Header */
.contact-header {
    padding: 120px max(var(--page-padding), calc((100vw - var(--page-max-width)) / 2));
    background: var(--bg);
    position: relative;
    overflow: hidden;
}

.contact-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(var(--grid) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 0;
    pointer-events: none;
}

.contact-header-container {
    max-width: var(--page-max-width);
    margin: 0 auto;
    position: relative;
    z-index: 1;
    text-align: center;
}

.contact-header-title {
    font-size: 4rem;
    font-weight: 900;
    color: var(--text);
    margin-bottom: 24px;
    letter-spacing: -2px;
    line-height: 1.1;
}

.contact-header-description {
    font-size: 1.2rem;
    color: rgba(5, 5, 5, 0.7);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Contact Info Section */
.section-contact-info {
    padding: 120px max(var(--page-padding), calc((100vw - var(--page-max-width)) / 2));
    background: white;
    position: relative;
    overflow: hidden;
}

.contact-info-container {
    max-width: var(--page-max-width);
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.contact-info-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.contact-info-description p {
    font-size: 1.1rem;
    color: rgba(5, 5, 5, 0.7);
    line-height: 1.8;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.contact-card {
    background: var(--bg);
    border: 1px solid rgba(5, 5, 5, 0.1);
    border-radius: 20px;
    padding: 48px 32px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(var(--grid) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
    pointer-events: none;
}

.contact-card:hover {
    border-color: var(--primary);
    box-shadow: 0 12px 40px rgba(212, 255, 0, 0.15);
    transform: translateY(-8px);
}

.contact-card:hover::before {
    opacity: 1;
}

.contact-card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, var(--primary) 0%, #c4e600 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.contact-card:hover .contact-card-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 24px rgba(212, 255, 0, 0.3);
}

.contact-card-icon i {
    font-size: 2.5rem;
    color: #050505;
}

.contact-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
    letter-spacing: -0.5px;
}

.contact-card-description {
    font-size: 1rem;
    color: rgba(5, 5, 5, 0.6);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    line-height: 1.6;
}

.contact-card-link {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
    display: inline-block;
}

.contact-card-link:hover {
    color: #c4e600;
    transform: translateX(4px);
}

.contact-card-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.contact-card-link:hover::after {
    width: 100%;
}

/* Maps Section */
.section-maps {
    padding: 0;
    margin: 0;
    width: 100%;
    background: var(--bg);
    position: relative;
    overflow: hidden;
}

.maps-container {
    width: 100%;
    margin: 0;
    position: relative;
}

.maps-iframe {
    width: 100%;
    height: 500px;
    border: none;
    display: block;
}

/* Responsive Design */
@media (max-width: 968px) {
    .contact-header {
        padding: 100px var(--page-padding);
    }
    
    .contact-header-title {
        font-size: 3rem;
    }
    
    .contact-header-description {
        font-size: 1.1rem;
    }
    
    .section-contact-info {
        padding: 80px var(--page-padding);
    }
    
    .contact-info-description {
        margin-bottom: 48px;
    }
    
    .contact-info-description p {
        font-size: 1rem;
    }
    
    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .contact-card {
        padding: 40px 28px;
    }
    
    .maps-iframe {
        height: 400px;
    }
}

@media (max-width: 640px) {
    .contact-header {
        padding: 80px var(--page-padding);
    }
    
    .contact-header-title {
        font-size: 2.5rem;
        margin-bottom: 16px;
    }
    
    .contact-header-description {
        font-size: 1rem;
    }
    
    .section-contact-info {
        padding: 60px var(--page-padding);
    }
    
    .contact-info-description {
        margin-bottom: 40px;
    }
    
    .contact-info-description p {
        font-size: 0.95rem;
    }
    
    .contact-card {
        padding: 32px 24px;
    }
    
    .contact-card-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 20px;
    }
    
    .contact-card-icon i {
        font-size: 2rem;
    }
    
    .contact-card-title {
        font-size: 1.3rem;
    }
    
    .contact-card-description {
        font-size: 0.95rem;
    }
    
    .contact-card-link {
        font-size: 1rem;
    }
    
    .maps-iframe {
        height: 350px;
    }
}
