/* Estilos del pie de página, botón de WhatsApp y botón volver arriba (todas las páginas) */

/* Footer Styles */
.footer {
    position: relative;
    background-color: var(--dark-color);
    color: rgba(255, 255, 255, 0.8);
}

.footer .container {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-top {
    padding: 5rem 0 3rem;
    position: relative;
    overflow: hidden;
}

.footer-top::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(38, 196, 133, 0.1) 0%, rgba(38, 196, 133, 0) 70%);
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
}

.footer-info {
    grid-column: span 1;
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-logo img {
    max-width: 180px;
}

.footer-info p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
    line-height: 1.7;
}

.sello-mujer {
    display: flex;
    align-items: center;
    margin-top: 1.5rem;
    padding: 0.75rem 1rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sello-mujer:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 105, 180, 0.3);
}

.sello-mujer i {
    font-size: 2rem;
    margin-right: 1rem;
    color: #ff69b4; /* Cambiado a color rosado */
}

.sello-mujer span {
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    color: #fff;
}

.footer h3 {
    color: white;
    margin-bottom: 1.5rem;
    position: relative;
    font-size: 1.25rem;
    font-weight: 600;
    padding-bottom: 0.75rem;
}

.footer h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer-links ul, .footer-services ul {
    list-style: none;
    padding: 0;
}

.footer-links li, .footer-services li {
    margin-bottom: 0.75rem;
}

.footer-links a, .footer-services a {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    position: relative;
    padding-left: 1.2rem;
    display: block;
}

.footer-links a::before, .footer-services a::before {
    content: '\f105';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    transition: all 0.3s ease;
}

.footer-links a:hover, .footer-services a:hover {
    color: white;
    padding-left: 1.5rem;
}

.footer-links a:hover::before, .footer-services a:hover::before {
    color: var(--accent-color);
    left: 0.3rem;
}

.contact-info {
    margin-bottom: 1.5rem;
}

.contact-item {
    display: flex;
    margin-bottom: 1rem;
}

.contact-item i {
    flex-shrink: 0;
    color: var(--secondary-color);
    font-size: 1rem;
    margin-top: 0.25rem;
    margin-right: 1rem;
    width: 1rem;
    text-align: center;
}

.contact-item p {
    margin: 0;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    margin-top: 1.5rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-right: 0.75rem;
    color: white;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    color: white;
}

/* Estilos para el botón de brochure */
.footer-social .brochure-button {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #1E293B;
    color: white;
    padding: 0 20px;
    height: 40px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.8px;
    transition: all 0.3s ease;
    text-decoration: none;
    margin-left: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    width: auto;
    min-width: 120px;
}

.footer-social .brochure-button i {
    margin-right: 8px;
    font-size: 0.9rem;
}

.footer-social .brochure-button:hover {
    background-color: #2395FF;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(35, 149, 255, 0.3);
    border-color: rgba(35, 149, 255, 0.3);
}

.footer-bottom {
    padding: 1.5rem 0;
    background-color: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-legal {
    display: flex;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.7);
    margin-left: 1.5rem;
    font-size: 0.9rem;
}

.footer-legal a:hover {
    color: var(--secondary-color);
}

/* Estilos para el crédito del desarrollador */
.dev-credit {
    display: inline-flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    position: relative;
    margin-left: 1.5rem;
}

.dev-credit span {
    font-weight: 600;
    color: #38bdf8;
    margin-left: 5px;
    transition: all 0.3s ease;
}

.dev-credit:hover {
    color: #ffffff;
}

.dev-credit:hover span {
    color: #60dbfc;
    text-decoration: underline;
}

.heart-icon {
    color: #ff5e85;
    font-size: 0.9rem;
    margin: 0 5px;
    animation: pulse 1.5s ease infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

@media screen and (max-width: 768px) {
    .dev-credit {
        margin-left: 0;
    }
}

@media screen and (max-width: 768px) {
    .dev-credit {
        margin-left: 0;
    }
}

/* Estilos para el número de teléfono en footer */
.phone-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
}

.phone-link:hover {
    color: var(--secondary-color);
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: -60px;
    right: 30px;
    width: 45px;
    height: 45px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 99;
}

.back-to-top.show {
    bottom: 30px;
}

.back-to-top:hover {
    background-color: var(--secondary-color);
    transform: translateY(-5px);
}

/* WhatsApp button */
.whatsapp-button {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 3px 15px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
    z-index: 99;
}

.whatsapp-button:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
}

/* Responsive Styles - Tablet */
@media screen and (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .footer-info {
        grid-column: span 2;
        text-align: center;
    }
    
    .footer h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-links, .footer-services, .footer-contact {
        text-align: center;
    }
    
    .footer-links a, .footer-services a {
        padding-left: 0;
    }
    
    .footer-links a::before, .footer-services a::before {
        display: none;
    }
    
    .contact-item {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-item i {
        margin-bottom: 0.5rem;
        margin-right: 0;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .sello-mujer {
        justify-content: center;
    }
}

/* Responsive Styles - Mobile */
@media screen and (max-width: 768px) {
    .footer-top {
        padding: 3rem 0 2rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-info {
        grid-column: span 1;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 0.8rem;
        margin-top: 0.5rem;
    }
    
    .footer-legal a {
        margin-left: 0;
    }
    
    .whatsapp-button {
        left: auto;
        right: 30px;
        bottom: 90px;
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .back-to-top {
        width: 40px;
        height: 40px;
        right: 30px;
    }
    
    .back-to-top.show {
        bottom: 30px;
    }
    
    .footer-social .brochure-button {
        height: 38px;
        font-size: 0.85rem;
        padding: 0 12px;
    }
}

/* Mobile Small - Fixes específicos para móviles pequeños */
@media screen and (max-width: 576px) {
    .footer-top {
        padding: 2.5rem 0 1.5rem;
    }
    
    .footer-logo img {
        max-width: 150px;
    }
    
    .footer h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
        padding-bottom: 0.6rem;
    }
    
    .contact-info p {
        font-size: 0.9rem;
    }
    
    .footer-info p {
        font-size: 0.95rem;
    }
    
    .footer-social a {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .sello-mujer {
        padding: 0.5rem 0.8rem;
    }
    
    .sello-mujer i {
        font-size: 1.5rem;
    }
    
    .sello-mujer span {
        font-size: 0.8rem;
    }
    
    .footer-bottom {
        padding: 1rem 0;
    }
    
    .footer-bottom p, .footer-legal a {
        font-size: 0.85rem;
    }
    
    .whatsapp-button {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
        right: 20px;
        bottom: 80px;
    }
    
    .back-to-top {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
        right: 20px;
    }
    
    .back-to-top.show {
        bottom: 25px;
    }
    
    .footer-social .brochure-button {
        height: 35px;
        font-size: 0.8rem;
        padding: 0 10px;
    }
}
