/* FOOTER GENERAL */
.footer {
    background: linear-gradient(135deg, #f8f9f7, #eaeaea);
    color: #1f1f1f;
    padding: 60px 20px 20px;
    margin-top: 60px;
    font-family: 'Segoe UI', sans-serif;
    position: relative;
    overflow: hidden;
}

/* =========================
   WHATSAPP FOOTER
========================= */

.whatsapp-link,
.titulo-whatsapp,
.telefono-whatsapp{
    color: rgb(0, 0, 0);
    text-decoration: none;
    transition: 0.3s;
}

/* HOVER */
.whatsapp-link:hover,
.titulo-whatsapp:hover,
.telefono-whatsapp:hover{
    color: #25D366;
}

/* 🔥 PAPEL PICADO DECORATIVO */
.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;

    background: repeating-linear-gradient(
        90deg,
        #c9a227 0px,
        #c9a227 40px,
        #c65d2e 40px,
        #c65d2e 80px,
        #d6336c 80px,
        #d6336c 120px
    );

    clip-path: polygon(
        0% 0%, 100% 0%, 100% 60%, 
        95% 50%, 90% 60%, 
        85% 50%, 80% 60%,
        75% 50%, 70% 60%,
        65% 50%, 60% 60%,
        55% 50%, 50% 60%,
        45% 50%, 40% 60%,
        35% 50%, 30% 60%,
        25% 50%, 20% 60%,
        15% 50%, 10% 60%,
        5% 50%, 0% 60%
    );

    opacity: 0.25;
}

/* CONTENEDOR */
.footer-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    align-items: start;
}

/* SECCIONES */
.footer-section {
    animation: fadeUp 0.8s ease forwards;
    opacity: 0;
}

/* ANIMACIÓN */
@keyframes fadeUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* LOGO */
.footer-logo {
    text-align: center;
}

.footer-logo img {
    width: 140px;
    margin-bottom: 15px;
    transition: 0.3s;
}

.footer-logo img:hover {
    transform: scale(1.1) rotate(-2deg);
}

/* TEXTO */
.footer-section p {
    font-size: 14px;
    color: #444;
    line-height: 1.6;
}

/* TITULOS */
.footer-section h3 {
    margin-bottom: 12px;
    position: relative;
    color: #c9a227; /* dorado */
}

.footer-section h3::after {
    content: "";
    width: 40px;
    height: 3px;
    background: #c65d2e; /* terracota */
    display: block;
    margin-top: 5px;
    border-radius: 5px;
}

/* LINKS */
.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    text-decoration: none;
    color: #333;
    transition: 0.3s;
    position: relative;
}

.footer-section ul li a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    background: #d6336c; /* rosa */
    left: 0;
    bottom: -2px;
    transition: 0.3s;
}

.footer-section ul li a:hover {
    color: #c65d2e;
}

.footer-section ul li a:hover::after {
    width: 100%;
}

/* REDES */
.redes {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

.redes a {
    width: 45px;
    height: 45px;
    background: #ddd;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: 18px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

/* COLORES POR RED */
.redes a:nth-child(1):hover { background: #00c3ff; color: #fff; }
.redes a:nth-child(2):hover { background: #000000; color: #fff; }
.redes a:nth-child(3):hover { background: #e1306c; color: #fff; }
.redes a:nth-child(4):hover { background: #000; color: #fff; }

.redes a:hover {
    transform: translateY(-5px) scale(1.1);
}

/* COPYRIGHT */
.footer-bottom {
    text-align: center;
    margin-top: 40px;
    border-top: 1px solid #ccc;
    padding-top: 15px;
    font-size: 13px;
    color: #666;
}