/* ==================== contenido.css ==================== */
/* Ubicación: public_html/assets/css/contenido.css        */
/* Estética idéntica a nos.css — fondos alternados        */

/* ==================== DIVISOR ==================== */
.divisor-cyan {
    height: 3px;
    background: linear-gradient(to right, var(--azul), var(--cyan), var(--azul));
}

/* ==================== TAG PILL ==================== */
.tag-pill {
    display: inline-block;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--cyan);
    background: var(--cyan-light);
    border: 1px solid rgba(0, 212, 255, 0.25);
    padding: 4px 14px;
    border-radius: 30px;
    margin-bottom: 14px;
    font-family: 'DM Sans', sans-serif;
}

/* ==================== SECCIÓN TIKTOK — fondo claro ==================== */
.seccion-tiktok {
    padding: 72px 0;
    background: #f0f4ff;
}

.seccion-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.seccion-inner--reverse { direction: rtl; }
.seccion-inner--reverse > * { direction: ltr; }

.seccion-tiktok .tag-pill {
    color: var(--cyan);
    background: var(--cyan-light);
    border-color: rgba(0, 212, 255, 0.25);
}

.seccion-tiktok h2 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    font-weight: 800;
    color: var(--azul);
    margin-bottom: 16px;
    line-height: 1.15;
}

.seccion-tiktok p {
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 28px;
    font-family: 'DM Sans', sans-serif;
}

.tiktok-embed-box {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

/* ==================== SECCIÓN YOUTUBE — fondo blanco ==================== */
.seccion-youtube {
    padding: 72px 0;
    background: #ffffff;
}

.seccion-youtube .tag-pill {
    color: #cc0000;
    background: rgba(255, 0, 0, 0.06);
    border-color: rgba(255, 0, 0, 0.2);
}

.seccion-youtube h2 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    font-weight: 800;
    color: var(--azul);
    margin-bottom: 16px;
    line-height: 1.15;
}

.seccion-youtube p {
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 28px;
    font-family: 'DM Sans', sans-serif;
}

.youtube-embed-box {
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1.5px solid transparent;
    box-shadow: var(--sombra);
    transition: all .25s;
    background: #1a1a2e;
}

.youtube-embed-box:hover {
    box-shadow: var(--sombra-hover);
    border-color: var(--cyan);
}

.youtube-embed-box iframe { display: block; width: 100%; }

/* ==================== BOTONES ==================== */
.btn-red {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 26px;
    border-radius: var(--radius-md);
    font-size: .95rem;
    font-weight: 700;
    text-decoration: none;
    color: white;
    font-family: 'DM Sans', sans-serif;
    transition: transform .2s, opacity .2s;
    letter-spacing: .3px;
}

.btn-red:hover {
    opacity: .88;
    transform: translateY(-2px);
    color: white;
    text-decoration: none;
}

.btn-red:active { transform: scale(.97); }
.btn-red.tiktok  { background: #010101; }
.btn-red.youtube { background: #FF0000; }

/* ==================== SECCIÓN REDES — fondo azul oscuro ==================== */
.seccion-redes {
    padding: 72px 0;
    background: var(--gris);
    text-align: center;
}

.redes-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.seccion-redes h2 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: var(--azul);
    margin-bottom: 10px;
}

.redes-subtitulo {
    font-size: 1rem;
    color: var(--muted);
    margin-bottom: 48px;
    line-height: 1.7;
    font-family: 'DM Sans', sans-serif;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

/* ==================== GRILLA DE TARJETAS ==================== */
.redes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.red-card {
     background: #ffffff;
    border: 1.5px solid #e2e8f0;
    color: #fdfdfde0;
    border-radius: var(--radius-lg);
    padding: 36px 20px 28px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transition: transform .25s, background .25s, border-color .25s, box-shadow .25s;
    font-family: 'DM Sans', sans-serif;
    backdrop-filter: blur(4px);
}

.red-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--sombra-hover);
    text-decoration: none;
    color: white;
}

.red-card-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    transition: transform .2s;
}

.red-card:hover .red-card-icon { transform: scale(1.07); }

.red-card-nombre {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
     color: var(--azul);
}

.red-card-handle {
    font-size: .85rem;
    color: var(--muted);
}

.red-card-accion {
    display: inline-block;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 5px 16px;
    border-radius: 30px;
    margin-top: 6px;
    background: var(--gris);
    color: var(--azul);
    border: 1px solid #e2e8f0;
    transition: background .2s, border-color .2s, color .2s;
    font-family: 'DM Sans', sans-serif;
}

/* Íconos */
.red-card.instagram .red-card-icon { background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.red-card.facebook  .red-card-icon { background: #1877F2; }
.red-card.tiktok    .red-card-icon { background: #010101; border: 1px solid #444; }
.red-card.youtube   .red-card-icon { background: #FF0000; }
.red-card.xtwitter  .red-card-icon { background: #14171A; border: 1px solid #444; }
.red-card.whatsapp  .red-card-icon { background: #25D366; }

/* Hover fondo + borde color de red */
.red-card.instagram:hover { background: rgba(188,24,136,.18); border-color: #bc1888; }
.red-card.facebook:hover  { background: rgba(24,119,242,.18); border-color: #1877F2; }
.red-card.tiktok:hover    { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.25); }
.red-card.youtube:hover   { background: rgba(255,0,0,.18);     border-color: #FF0000; }
.red-card.xtwitter:hover  { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.25); }
.red-card.whatsapp:hover  { background: rgba(37,211,102,.18);  border-color: #25D366; }

/* Hover acción */
.red-card.instagram:hover .red-card-accion { background: rgba(188,24,136,.25); border-color: #bc1888; color: #f472b6; }
.red-card.facebook:hover  .red-card-accion { background: rgba(24,119,242,.25); border-color: #1877F2; color: #93c5fd; }
.red-card.tiktok:hover    .red-card-accion { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.3); color: #fff; }
.red-card.youtube:hover   .red-card-accion { background: rgba(255,0,0,.25);     border-color: #FF0000; color: #fca5a5; }
.red-card.xtwitter:hover  .red-card-accion { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.3); color: #fff; }
.red-card.whatsapp:hover  .red-card-accion { background: rgba(37,211,102,.25);  border-color: #25D366; color: #86efac; }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 992px) {
    .seccion-inner { grid-template-columns: 1fr; gap: 40px; }
    .seccion-inner--reverse { direction: ltr; }
    .redes-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .seccion-tiktok,
    .seccion-youtube,
    .seccion-redes { padding: 56px 0; }
    .seccion-tiktok h2,
    .seccion-youtube h2,
    .seccion-redes h2 { font-size: 1.8rem; }
}

@media (max-width: 480px) {
    .redes-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .red-card { padding: 24px 12px 20px; }
    .red-card-icon { width: 48px; height: 48px; }
}
/* Hover con color de cada red sobre fondo claro */
.red-card {
    transition: transform .25s, box-shadow .25s, border-color .25s;
}

.red-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--sombra-hover);
}

.red-card.instagram:hover { border-color: #bc1888; }
.red-card.facebook:hover  { border-color: #1877F2; }
.red-card.tiktok:hover    { border-color: #333; }
.red-card.youtube:hover   { border-color: #FF0000; }
.red-card.xtwitter:hover  { border-color: #333; }
.red-card.whatsapp:hover  { border-color: #25D366; }

/* Nombre de red con color en hover */
.red-card.instagram:hover .red-card-nombre { color: #bc1888; }
.red-card.facebook:hover  .red-card-nombre { color: #1877F2; }
.red-card.tiktok:hover    .red-card-nombre { color: #333; }
.red-card.youtube:hover   .red-card-nombre { color: #FF0000; }
.red-card.xtwitter:hover  .red-card-nombre { color: #333; }
.red-card.whatsapp:hover  .red-card-nombre { color: #25D366; }

/* Botón acción con color en hover */
.red-card.instagram:hover .red-card-accion { background: rgba(188,24,136,.08); border-color: #bc1888; color: #bc1888; }
.red-card.facebook:hover  .red-card-accion { background: rgba(24,119,242,.08); border-color: #1877F2; color: #1877F2; }
.red-card.tiktok:hover    .red-card-accion { background: rgba(0,0,0,.06);       border-color: #333;    color: #333; }
.red-card.youtube:hover   .red-card-accion { background: rgba(255,0,0,.08);     border-color: #FF0000; color: #FF0000; }
.red-card.xtwitter:hover  .red-card-accion { background: rgba(0,0,0,.06);       border-color: #333;    color: #333; }
.red-card.whatsapp:hover  .red-card-accion { background: rgba(37,211,102,.08);  border-color: #25D366; color: #25D366; }