/* Contact Page - Premium Design */

:root {
    --rg-blue-primary: #00465c;
    --rg-blue-secondary: #008eb0;
    --rg-azure: #00aff0;
    --rg-orange: #ff9d00;
    --rg-background: #fdfdfd;
    --primary-gradient: linear-gradient(135deg, #00465c 0%, #008eb0 100%);
    --accent-gradient: linear-gradient(135deg, #00aff0 0%, #00d2ff 100%);
    --orange-gradient: linear-gradient(135deg, #ff9d00 0%, #ffc107 100%);
}

body {
    font-family: "Inter", "Outfit", sans-serif;
    background: var(--rg-background);
    color: #333333;
}

/* Hero Section */
.contact-hero {
    background: linear-gradient(165deg, var(--rg-blue-primary) 0%, var(--rg-blue-secondary) 100%);
    padding: 160px 0 120px;
    position: relative;
    overflow: hidden;
    clip-path: ellipse(150% 100% at 50% 0%);
}

/* Floating Shapes */
.shape {
    position: absolute;
    filter: blur(80px);
    z-index: 1;
    opacity: 0.4;
    border-radius: 50%;
}
.shape-1 { width: 400px; height: 400px; background: #fbbf24; top: -100px; right: -50px; }
.shape-2 { width: 300px; height: 300px; background: #ec4899; bottom: -50px; left: -50px; }

.contact-hero h1 {
    font-size: 4rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-hero p {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto;
    font-weight: 400;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

/* Contact Cards */
.contact-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid #f1f5f9;
    height: 100%;
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 70, 92, 0.1);
    border-color: var(--rg-azure);
}

.contact-icon {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}

.contact-icon::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    opacity: 0.1;
}

.contact-icon i {
    position: relative;
    z-index: 1;
}

.icon-phone {
    background: var(--rg-blue-primary);
    color: white;
}

.icon-email {
    background: var(--rg-azure);
    color: white;
}

.icon-location {
    background: var(--rg-orange);
    color: white;
}

.icon-time {
    background: #4caf50;
    color: white;
}

/* Info Cards */
.info-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

.info-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    flex-shrink: 0;
}

.info-card:nth-child(1) .info-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.info-card:nth-child(2) .info-icon {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.info-card:nth-child(3) .info-icon {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.info-card:nth-child(4) .info-icon {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

/* Form Styles */
.contact-form-section {
    padding: 80px 0;
}

.form-premium {
    background: white;
    border-radius: 32px;
    padding: 3.5rem;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    z-index: 2;
}

.form-premium h2 {
    font-size: 2.25rem;
    letter-spacing: -0.5px;
    color: #0f172a;
}

.form-label-premium {
    font-weight: 700;
    color: #475569;
    margin-bottom: 0.85rem;
    font-size: 0.9rem;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-control-premium {
    border: 2px solid #f1f5f9;
    border-radius: 20px;
    padding: 1.15rem 1.5rem;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    background: #f8fafc;
    color: #1e293b;
    width: 100%;
}

.form-control-premium:focus {
    border-color: #6366f1;
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.1);
    background: white;
    outline: none;
    transform: translateY(-2px);
}

.form-control-premium::placeholder {
    color: #a0aec0;
}

textarea.form-control-premium {
    resize: none;
    min-height: 150px;
}

.btn-submit-premium {
    background: var(--rg-azure);
    border: none;
    border-radius: 100px;
    padding: 1.25rem 3rem;
    font-size: 1.15rem;
    font-weight: 700;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0, 175, 240, 0.3);
    position: relative;
    overflow: hidden;
    margin-top: 1rem;
}

.btn-submit-premium:hover {
    background: var(--rg-blue-secondary);
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(0, 142, 176, 0.4);
}

/* Map Section */
.map-container {
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    height: 450px;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* FAQ Section */
.faq-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0;
    margin-top: 80px;
}

.faq-item {
    background: white;
    border-radius: 20px;
    padding: 0;
    margin-bottom: 1.25rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid transparent;
    overflow: hidden;
}

.faq-item:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: #6366f1;
}

.faq-question {
    padding: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    font-size: 1.15rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-answer {
    color: #64748b;
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0;
}

.faq-item.active .faq-answer {
    padding-bottom: 1.5rem;
    max-height: 300px;
    opacity: 1;
}

.faq-icon {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--rg-orange);
}

/* Social Media */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.social-facebook {
    background: #1877f2;
}

.social-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-twitter {
    background: #1da1f2;
}

.social-whatsapp {
    background: #25d366;
}

.social-linkedin {
    background: #0077b5;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.pulse-animation {
    animation: pulse 2s infinite;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-hero h1 {
        font-size: 2.5rem;
    }

    .contact-hero p {
        font-size: 1.1rem;
    }

    .form-premium {
        padding: 2rem 1.5rem;
    }

    .map-container {
        height: 300px;
    }
}

/* Success Message */
.success-message {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 16px;
    margin-bottom: 2rem;
    display: none;
    animation: fadeInUp 0.5s ease-out;
}

.success-message.show {
    display: block;
}