/* ========================================
   CONTACTO - HERO SECTION
   ======================================== */
.hero-contacto {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: hidden;
    padding: 120px 20px 80px;
}

.hero-contacto::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1423666639041-f56000c27a9a?w=1600') center/cover;
    opacity: 0.15;
    animation: zoomSlow 20s infinite alternate;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9) 0%, rgba(118, 75, 162, 0.9) 100%);
}

.hero-content-contacto {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 12px 24px;
    border-radius: 50px;
    color: white;
    font-size: 0.95rem;
    margin-bottom: 30px;
    animation: fadeUp 0.8s ease;
}

.hero-badge i {
    font-size: 1.3rem;
}

.hero-title-contacto {
    font-size: 4rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    animation: fadeUp 1s ease 0.2s backwards;
    text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-subtitle-contacto {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
    margin-bottom: 40px;
    animation: fadeUp 1s ease 0.4s backwards;
}

.hero-features-contacto {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    animation: fadeUp 1s ease 0.6s backwards;
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 12px 24px;
    border-radius: 50px;
    backdrop-filter: blur(5px);
}

.hero-feature-item i {
    font-size: 1.4rem;
    color: #ffd700;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

/* ========================================
   CONTACT METHODS
   ======================================== */
.contact-methods {
    padding: 80px 20px;
    background: linear-gradient(to bottom, #f8f9ff 0%, white 100%);
}

.contact-methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-method-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.contact-method-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.contact-method-card:nth-child(1):hover {
    border-color: #25d366;
}

.contact-method-card:nth-child(2):hover {
    border-color: #667eea;
}

.contact-method-card:nth-child(3):hover {
    border-color: #f093fb;
}

.contact-method-card:nth-child(4):hover {
    border-color: #fa709a;
}

.method-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    transition: all 0.3s ease;
}

.method-icon.whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
}

.method-icon.phone {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.method-icon.email {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.method-icon.location {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.contact-method-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #2c3e50;
}

.contact-method-card p {
    color: #7f8c8d;
    margin-bottom: 20px;
}

.method-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-bottom: 15px;
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: white;
}

.phone-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.email-btn {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.location-btn {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    color: white;
}

.method-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.method-info {
    display: block;
    color: #95a5a6;
    font-size: 0.9rem;
}

/* ========================================
   MAIN CONTACT SECTION
   ======================================== */
.contact-main {
    padding: 80px 20px;
    background: white;
}

.contact-main-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    margin-bottom: 40px;
}

.section-header.text-center {
    text-align: center;
}

.section-label {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.1rem;
    color: #7f8c8d;
    max-width: 600px;
}

/* ========================================
   CONTACT FORM
   ======================================== */
.contact-form {
    background: #f8f9ff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.form-group label i {
    color: #667eea;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e8ecf1;
    border-radius: 12px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-group {
    margin: 20px 0;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    position: relative;
    padding-left: 35px;
}

.checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkmark {
    position: absolute;
    left: 0;
    top: 2px;
    height: 22px;
    width: 22px;
    background-color: white;
    border: 2px solid #e8ecf1;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.checkbox-label:hover .checkmark {
    border-color: #667eea;
}

.checkbox-label input:checked ~ .checkmark {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
}

.checkmark::after {
    content: '';
    position: absolute;
    display: none;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 11px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-label input:checked ~ .checkmark::after {
    display: block;
}

.checkbox-text {
    color: #5a6c7d;
    font-size: 0.9rem;
    line-height: 1.5;
}

.btn-submit {
    width: 100%;
    padding: 16px 32px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);
}

.btn-submit:active {
    transform: translateY(-1px);
}

.form-message {
    margin-top: 20px;
    padding: 15px 20px;
    border-radius: 10px;
    display: none;
    text-align: center;
    font-weight: 600;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

/* ========================================
   CONTACT INFO CARDS
   ======================================== */
.contact-info-section {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
}

.info-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.info-header i {
    font-size: 1.5rem;
    color: #667eea;
}

.info-header h3 {
    font-size: 1.4rem;
    color: #2c3e50;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-item {
    display: flex;
    gap: 15px;
}

.info-icon {
    width: 45px;
    height: 45px;
    min-width: 45px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
}

.info-content h4 {
    font-size: 1rem;
    color: #2c3e50;
    margin-bottom: 5px;
}

.info-content p {
    color: #7f8c8d;
    font-size: 0.95rem;
    line-height: 1.6;
}

.info-content a {
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-content a:hover {
    color: #764ba2;
}

/* Social Card */
.social-card .social-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-card .social-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 14px 18px;
    border-radius: 12px;
    text-decoration: none;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
}

.social-card .social-link.facebook {
    background: linear-gradient(135deg, #1877f2 0%, #0d5dbf 100%);
}

.social-card .social-link.instagram {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.social-card .social-link.twitter {
    background: linear-gradient(135deg, #1da1f2 0%, #0d8bd9 100%);
}

.social-card .social-link.youtube {
    background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
}

.social-card .social-link.tiktok {
    background: linear-gradient(135deg, #000000 0%, #333333 100%);
}

.social-card .social-link:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.social-card .social-link i {
    font-size: 1.3rem;
}

/* Emergency Card */
.emergency-card {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    color: white;
    text-align: center;
}

.emergency-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.emergency-card h3 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.emergency-card p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
}

.emergency-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: white;
    color: #ff6b6b;
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.emergency-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* ========================================
   MAP SECTION
   ======================================== */
.map-section {
    padding: 80px 20px;
    background: #f8f9ff;
}

.map-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.map-wrapper {
    position: relative;
}

.map-wrapper iframe {
    width: 100%;
    height: 500px;
    border: none;
}

.map-info-overlay {
    position: absolute;
    top: 30px;
    left: 30px;
    z-index: 10;
}

.map-info-card {
    background: white;
    padding: 25px 30px;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    max-width: 320px;
}

.map-info-card h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 12px;
}

.map-info-card h3 i {
    color: #667eea;
}

.map-info-card p {
    color: #7f8c8d;
    margin-bottom: 8px;
}

.map-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.map-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.map-btn:first-child {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.map-btn:last-child {
    background: #f0f0f0;
    color: #2c3e50;
}

.map-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* ========================================
   FAQ SECTION
   ======================================== */
.faq-section {
    padding: 80px 20px;
    background: white;
}

.faq-grid {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: white;
    border: 2px solid #f0f0f0;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active {
    border-color: #667eea;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.1);
}

.faq-question {
    width: 100%;
    padding: 20px 25px;
    background: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
}

.faq-question:hover {
    background: #f8f9ff;
}

.faq-question i {
    font-size: 1rem;
    color: #667eea;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 25px 20px;
}

.faq-answer p {
    color: #7f8c8d;
    line-height: 1.7;
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-contacto {
    padding: 80px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.cta-contacto::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 30s linear infinite;
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 25px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    backdrop-filter: blur(10px);
}

.cta-content h2 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 35px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.btn-cta.primary {
    background: white;
    color: #667eea;
}

.btn-cta.whatsapp {
    background: #25d366;
    color: white;
}

.btn-cta:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

@keyframes zoomSlow {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.1);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 1024px) {
    .contact-main-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-title-contacto {
        font-size: 3rem;
    }

    .map-info-overlay {
        position: static;
        padding: 20px;
    }

    .map-info-card {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .hero-title-contacto {
        font-size: 2.5rem;
    }

    .hero-subtitle-contacto {
        font-size: 1.1rem;
    }

    .hero-features-contacto {
        gap: 15px;
    }

    .hero-feature-item {
        font-size: 0.9rem;
        padding: 10px 18px;
    }

    .contact-methods-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-form {
        padding: 30px 20px;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .btn-cta {
        width: 100%;
        justify-content: center;
    }

    .map-wrapper iframe {
        height: 350px;
    }
}

@media (max-width: 480px) {
    .hero-contacto {
        min-height: 60vh;
        padding: 100px 15px 60px;
    }

    .hero-title-contacto {
        font-size: 2rem;
    }

    .hero-subtitle-contacto {
        font-size: 1rem;
    }

    .contact-methods,
    .contact-main,
    .map-section,
    .faq-section,
    .cta-contacto {
        padding: 50px 15px;
    }

    .method-icon {
        width: 65px;
        height: 65px;
        font-size: 1.6rem;
    }

    .info-card {
        padding: 25px 20px;
    }
}
