

/* ===== IMAGEN DE FONDO ESTÁTICA ===== */
.background-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-image: url('img/Entrada.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -2;
}


.overlay-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(
        180deg,
        rgba(10, 25, 47, 0.4) 0%,
        rgba(10, 25, 47, 0.2) 20%,
        rgba(10, 25, 47, 0.1) 40%,
        rgba(10, 25, 47, 0.05) 60%,
        rgba(10, 25, 47, 0.02) 80%,
        transparent 100%
    );
    z-index: 1;
    pointer-events: none;
}
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 0;
    background: transparent;
    transition: all 0.4s ease;
}

header.scrolled {
    background: rgba(10, 25, 47, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    padding: 25px 60px;
    position: relative;
    z-index: 102;
}


/* Hero de Contacto */
.contacto-hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 100px;
}

.contacto-hero .hero-content h1 {
    font-size: 86px;
    margin-bottom: 20px;
    color: #000000;
    letter-spacing: -1px;
}

.hero-description {
    max-width: 600px;
    margin: 20px auto 0;
}

.hero-description p {
    font-size: 18px;
    line-height: 1.6;
    color: #000000;
    font-weight: 400;
    letter-spacing: 0.5px;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.scroll-text {
    display: block;
    color: #ffffff;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
    font-weight: 500;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(180deg, #C6A43C 0%, rgba(198, 164, 60, 0.2) 100%);
    margin: 0 auto;
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0% { height: 40px; opacity: 0.3; }
    50% { height: 60px; opacity: 0.8; }
    100% { height: 40px; opacity: 0.3; }
}

/* Contenido principal */
.contacto-content {
    position: relative;
    padding-top: 40px;
    z-index: 1;
    background-color: #FFFFFF; /* Fondo blanco sólido */
}

/* ===== SECCIÓN DE INFORMACIÓN DE CONTACTO ===== */
.contact-info-section {
    padding: 80px 0 60px;
    position: relative;
    background-color: #FFFFFF;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 20px;
    text-align: center;
    letter-spacing: -1px;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #C6A43C, #E5C568);
    margin: 20px auto 0;
    border-radius: 2px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.contact-card {
    background: #FFFFFF;
    border: 1px solid #E0E0E0;
    border-radius: 24px;
    padding: 40px 30px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(198, 164, 60, 0.4), rgba(198, 164, 60, 0.6), rgba(198, 164, 60, 0.4), transparent);
    transform: scaleX(0);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-card:hover {
    transform: translateY(-10px);
    border-color: #C6A43C;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    background: #FFFFFF;
}

.contact-card:hover::before {
    transform: scaleX(1);
}

.contact-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(198, 164, 60, 0.08);
    border-radius: 50%;
    margin-bottom: 25px;
    border: 1px solid rgba(198, 164, 60, 0.2);
    transition: all 0.4s ease;
}

.contact-card:hover .contact-icon {
    background: rgba(198, 164, 60, 0.15);
    transform: scale(1.1) rotate(5deg);
    border-color: rgba(198, 164, 60, 0.4);
}

.contact-icon i {
    font-size: 32px;
    color: #C6A43C;
    transition: all 0.4s ease;
}

.contact-card:hover .contact-icon i {
    color: #B38F2C;
    transform: scale(1.1);
}

.contact-card h3 {
    font-size: 22px;
    font-weight: 600;
    color: #000000;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.contact-card h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: #C6A43C;
    border-radius: 2px;
}

.contact-card p {
    color: #4A4A4A;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
    font-weight: 400;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #C6A43C;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    margin-top: auto;
}

.contact-link i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.contact-link:hover {
    color: #B38F2C;
    gap: 15px;
}

.contact-link:hover i {
    transform: translateX(5px);
}

/* Horarios */
.schedule {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.schedule-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    font-size: 14px;
    color: #4A4A4A;
}

.schedule-item span:first-child {
    font-weight: 600;
    color: #000000;
}

.schedule-item span:last-child {
    text-align: right;
    font-weight: 400;
}

/* Canales de contacto */
.contact-channels {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 10px;
}

.channel {
    display: flex;
    align-items: center;
    gap: 12px;
}

.channel i {
    width: 20px;
    color: #C6A43C;
    font-size: 16px;
}

.channel a {
    color: #4A4A4A;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    font-weight: 400;
}

.channel a:hover {
    color: #C6A43C;
    transform: translateX(5px);
}

/* Redes sociales en tarjeta */
.social-channels {
    display: flex;
    gap: 12px;
    margin: 20px 0 15px;
    flex-wrap: wrap;
}

.social-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #F5F5F5;
    border: 1px solid #E0E0E0;
    color: #000000;
    font-size: 18px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-circle:hover {
    background: #C6A43C;
    transform: translateY(-5px);
    border-color: #C6A43C;
    color: #FFFFFF;
    box-shadow: 0 10px 20px rgba(198, 164, 60, 0.2);
}

.social-text {
    font-size: 13px;
    color: #666666;
    margin-top: 10px;
    font-weight: 400;
}

/* ===== SECCIÓN DE MAPA Y FORMULARIO ===== */
.map-form-section {
    padding: 60px 0;
    position: relative;
    background-color: #FFFFFF;
}

.map-form-grid {
    display: grid;
    grid-template-columns: 1.2fr 1.8fr;
    gap: 40px;
    margin-top: 40px;
}

/* Mapa */
.map-container {
    background: #FFFFFF;
    border: 1px solid #E0E0E0;
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.map-container:hover {
    border-color: #C6A43C;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.map-header {
    padding: 25px 25px 15px;
}

.map-header h3 {
    font-size: 22px;
    font-weight: 600;
    color: #000000;
    margin-bottom: 8px;
}

.map-header p {
    color: #666666;
    font-size: 14px;
    font-weight: 400;
}

.map-wrapper {
    width: 100%;
    height: 350px;
    position: relative;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    filter: none;
}

.map-footer {
    padding: 20px 25px;
    text-align: center;
}

.map-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #F5F5F5;
    border: 1px solid #E0E0E0;
    color: #000000;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.map-button i {
    color: #C6A43C;
    transition: all 0.3s ease;
}

.map-button:hover {
    background: #C6A43C;
    border-color: #C6A43C;
    color: #FFFFFF;
}

.map-button:hover i {
    color: #FFFFFF;
}

/* Formulario */
.form-container {
    background: #FFFFFF;
    border: 1px solid #E0E0E0;
    border-radius: 24px;
    padding: 40px;
    transition: all 0.4s ease;
}

.form-container:hover {
    border-color: #C6A43C;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.form-header {
    margin-bottom: 30px;
}

.form-header h3 {
    font-size: 26px;
    font-weight: 600;
    color: #000000;
    margin-bottom: 10px;
}

.form-header p {
    color: #666666;
    font-size: 15px;
    font-weight: 400;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    position: relative;
    margin-bottom: 5px;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    display: block;
    color: #000000;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px 14px 45px;
    background: #F9F9F9;
    border: 1px solid #E0E0E0;
    border-radius: 12px;
    color: #000000;
    font-size: 15px;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #C6A43C;
    background: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(198, 164, 60, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999999;
    font-weight: 300;
}

.form-group i {
    position: absolute;
    left: 16px;
    top: 45px;
    color: #C6A43C;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group:focus-within i {
    color: #B38F2C;
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.form-group .fa-chevron-down {
    left: auto;
    right: 16px;
    pointer-events: none;
}

/* Checkbox personalizado */
.checkbox-group {
    grid-column: span 2;
    margin-top: 10px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    color: #4A4A4A;
    font-size: 14px;
    font-weight: 400;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkbox-custom {
    width: 20px;
    height: 20px;
    background: #F9F9F9;
    border: 1px solid #E0E0E0;
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom {
    background: #C6A43C;
    border-color: #C6A43C;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #FFFFFF;
    font-size: 12px;
    font-weight: bold;
}

.checkbox-label:hover .checkbox-custom {
    border-color: #C6A43C;
}

/* Botón de envío */
.submit-btn {
    grid-column: span 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background: #C6A43C;
    color: #FFFFFF;
    padding: 16px 32px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 20px;
    position: relative;
    overflow: hidden;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.submit-btn:hover::before {
    width: 400px;
    height: 400px;
}

.submit-btn i {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.submit-btn:hover {
    background: #B38F2C;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(198, 164, 60, 0.3);
}

.submit-btn:hover i {
    transform: translateX(5px);
}

/* ===== SECCIÓN DE UNIDADES DE NEGOCIO ===== */
.business-units-section {
    padding: 80px 0;
    position: relative;
    background-color: #FFFFFF;
}

.units-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.unit-card {
    background: #FFFFFF;
    border: 1px solid #E0E0E0;
    border-radius: 20px;
    padding: 30px 25px;
    text-align: center;
    transition: all 0.4s ease;
}

.unit-card:hover {
    transform: translateY(-10px);
    border-color: #C6A43C;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    background: #FFFFFF;
}

.unit-logo {
    width: 120px;
    height: auto;
    margin-bottom: 20px;
    filter: none;
    transition: all 0.4s ease;
}

.unit-card:hover .unit-logo {
    transform: scale(1.05);
}

.unit-card h4 {
    font-size: 18px;
    font-weight: 600;
    color: #000000;
    margin-bottom: 20px;
}

.unit-contact {
    margin-bottom: 25px;
}

.unit-contact p {
    color: #4A4A4A;
    font-size: 14px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 400;
}

.unit-contact i {
    color: #C6A43C;
    width: 16px;
}

.unit-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #C6A43C;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.unit-link i {
    transition: transform 0.3s ease;
}

.unit-link:hover {
    gap: 12px;
    color: #B38F2C;
}

.unit-link:hover i {
    transform: translateX(5px);
}

/* ===== SECCIÓN DE PREGUNTAS FRECUENTES ===== */
.faq-section {
    padding: 60px 0 100px;
    position: relative;
    background-color: #FFFFFF;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.faq-item {
    background: #FFFFFF;
    border: 1px solid #E0E0E0;
    border-radius: 16px;
    padding: 25px;
    transition: all 0.4s ease;
    cursor: pointer;
}

.faq-item:hover {
    border-color: #C6A43C;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.faq-question h4 {
    font-size: 16px;
    font-weight: 600;
    color: #000000;
    margin: 0;
    transition: color 0.3s ease;
}

.faq-item:hover .faq-question h4 {
    color: #C6A43C;
}

.faq-question i {
    color: #C6A43C;
    transition: transform 0.4s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, margin-top 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    margin-top: 20px;
}

.faq-answer p {
    color: #4A4A4A;
    font-size: 14px;
    line-height: 1.7;
    font-weight: 400;
    border-top: 1px solid #E0E0E0;
    padding-top: 20px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .units-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .contacto-hero .hero-content h1 {
        font-size: 72px;
    }
}

@media (max-width: 1024px) {
    .map-form-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contacto-hero .hero-content h1 {
        font-size: 64px;
    }
    
    .hero-description p {
        font-size: 16px;
    }
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .contacto-hero {
        min-height: 70vh;
    }
    
    .contacto-hero .hero-content h1 {
        font-size: 48px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .contact-form {
        grid-template-columns: 1fr;
    }
    
    .form-group.full-width,
    .checkbox-group,
    .submit-btn {
        grid-column: span 1;
    }
    
    .units-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .form-container {
        padding: 30px 25px;
    }
    
    .map-wrapper {
        height: 300px;
    }
    
    .contact-card {
        padding: 30px 25px;
    }
}

@media (max-width: 480px) {
    .contacto-hero .hero-content h1 {
        font-size: 36px;
    }
    
    .hero-description p {
        font-size: 15px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .contact-icon {
        width: 70px;
        height: 70px;
    }
    
    .contact-icon i {
        font-size: 28px;
    }
    
    .contact-card h3 {
        font-size: 20px;
    }
    
    .form-header h3 {
        font-size: 22px;
    }
    
    .submit-btn {
        padding: 14px 24px;
        font-size: 15px;
    }
    
    .faq-item {
        padding: 20px;
    }
}

