/* =======================
   TOOLS GRID
======================= */
.tools-grid-new {
    display: flex;
    gap: 30px;
    flex-wrap: wrap; /* columnas se apilan en móvil */
}

/* Tool cards */
.tool-card {
    background: rgba(0,0,0,0.25);
    padding: 20px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.tool-card .tool-content p {
    color: #ffffff;
    line-height: 1.6;
    margin-bottom: 12px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
}

/* Numeración tips */
.tool-card .tool-content p[data-num]::before {
    content: attr(data-num);
    font-weight: bold;
    color: #00d9ff;
    margin-right: 6px;
}

/* =======================
   VIDEOS GRID 3x3
======================= */
.videos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.videos-grid .video-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.videos-grid .video-card img {
    width: 100%;
    border-radius: 12px;
    cursor: pointer;
}

/* Responsive */
@media (max-width: 1024px){
    .videos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px){
    .videos-grid {
        grid-template-columns: 1fr;
    }
}

/* =======================
   FRANQUICIA CELDAS
======================= */
.franquicia-left, .franquicia-right {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.franquicia-right img {
    width: 100%;
    border-radius: 12px;
}

/* =======================
   POPUP VIDEOS
======================= */
.video-popup {
    display: none;
    position: fixed;
    top:0;
    left:0;
    width: 100%;
    height:100%;
    background: rgba(0,0,0,0.8);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.video-popup-content {
    position: relative;
    width: 80%;
    max-width: 900px;
}

.video-popup video {
    width: 100%;
    border-radius: 12px;
}

.close-video {
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 30px;
    color: #fff;
    cursor: pointer;
}

/* =======================
   BOTONES
======================= */
.tool-button a, .popup-link {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    margin-top: 10px;
    transition: background 0.3s;
}

.tool-button a:hover, .popup-link:hover {
    background-color: #0056b3;
}

/* =======================
   FOOTER NUEVO
======================= */
.main-footer-new{
    width:100%;
    padding:50px 40px 20px;
    border-top:1px solid rgba(0,180,255,0.20);
    background:rgba(0,0,0,0.40);
    color:#dddddd;
    font-family: sans-serif;
}

.footer-grid-new{
    display:grid;
    grid-template-columns:1fr 1fr 1fr 1fr;
    gap:30px;
    margin-bottom:35px;
    align-items: start;
}

/* WHATSAPP */
.footer-box-new.whatsapp-box img{
    width:40px;
    margin-bottom:10px;
}

.footer-box-new h3{
    color:#00d9ff;
    margin-bottom:10px;
}

.footer-box-new p{
    color:#dddddd;
    line-height:1.6;
}

/* FOTO CON LINK */
.footer-box-new img{
    width:100%;
    border-radius:12px;
}

/* LOGO */
.footer-box-new.footer-logo img{
    width:100px;
}

/* REDES SOCIALES HORIZONTALES */
.footer-box-new.social-box .social-links{
    display:flex;
    gap:15px;
    align-items:center;
}

.footer-box-new.social-box .social-links a{
    display:block;
}

.footer-box-new.social-box .social-links img{
    height:40px;
    width:auto;
}

/* FOOTER BOTTOM */
.footer-bottom{
    text-align:center;
    margin-top:20px;
    font-size:0.9rem;
    color:#bbbbbb;
}

/* RESPONSIVE */
@media(max-width: 1024px){
    .footer-grid-new{
        grid-template-columns:1fr 1fr;
    }
}

@media(max-width: 480px){
    .footer-grid-new{
        grid-template-columns:1fr;
    }
    .footer-box-new.social-box .social-links{
        justify-content: start;
    }
}