/* ════════════════════════════════════════════════════════════════════════════════════════════════════
   ESTILOS PARA SECCIÓN INFANTIL - DERECHOS-BASICOS, BULLYING, AYUDAR-AMIGO
   ════════════════════════════════════════════════════════════════════════════════════════════════════ */

/* ── Header mínimo para páginas infantiles ── */
.kids-mini-header {
    background: #004851;
    padding: 14px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.kids-mini-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.kids-mini-nav {
    display: flex;
    gap: 12px;
    align-items: center;
}

.kids-mini-nav a {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 6px 14px;
    border-radius: 20px;
    transition: background 0.2s;
}

.kids-mini-nav a:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.kids-mini-nav a.active {
    background: #38b44a;
    color: #fff;
}

.kids-logo-mini {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-weight: 800;
    text-decoration: none;
}

.kids-logo-mini img {
    height: 36px;
    filter: brightness(0) invert(1);
}

/* ── Hero section (varían colores por página) ── */
.kids-page-hero {
    background: linear-gradient(135deg, #004851 0%, #38b44a 100%);
    padding: 60px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.kids-page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.07) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.07) 0%, transparent 50%);
}

.kids-page-hero h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    color: #fff;
    font-weight: 900;
    margin-bottom: 16px;
    position: relative;
}

.kids-page-hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto 24px;
    position: relative;
}

.breadcrumb-kids {
    display: flex;
    justify-content: center;
    gap: 8px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 20px;
}

.breadcrumb-kids a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: underline;
}

.hero-emoji-strip {
    font-size: 2.8rem;
    letter-spacing: 12px;
    margin-bottom: 8px;
}

/* ════════════════════════════════════════════════════════════════════════════════════════════════════
   DERECHOS-BÁSICOS ESPECÍFICO
   ════════════════════════════════════════════════════════════════════════════════════════════════════ */

/* ── Tarjetas de derechos ── */
.rights-section {
    padding: 70px 0;
}

.rights-intro {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 50px;
}

.rights-intro h2 {
    color: #004851;
    font-size: 1.9rem;
    margin-bottom: 12px;
}

.rights-intro p {
    color: #475569;
    font-size: 1.05rem;
}

.rights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 28px;
    align-items: stretch;
}

.right-card {
    border-radius: 28px;
    padding: 36px 28px 32px;
    background: #fff;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    outline: none;
}

.right-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    border-radius: 28px 28px 0 0;
}

.right-card.respeto::before {
    background: #f97316;
}

.right-card.seguridad::before {
    background: #3b82f6;
}

.right-card.privacidad::before {
    background: #8b5cf6;
}

.right-card.juego::before {
    background: #ec4899;
}

.right-card.educacion::before {
    background: #10b981;
}

.right-card:hover,
.right-card:focus {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.13);
}

.right-icon {
    font-size: 2.8rem;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 4rem;
    width: 4rem;
    animation: bob 3s infinite ease-in-out;
}

@keyframes bob {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

.right-card h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: #1e293b;
    margin-top: 0;
}

.right-card p {
    color: #475569;
    line-height: 1.7;
    margin-bottom: 0;
    margin-top: 0;
}

.right-tag {
    display: inline-block;
    margin-top: 16px;
    padding: 4px 14px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.right-card.respeto .right-tag {
    background: #fff7ed;
    color: #c2410c;
}

.right-card.seguridad .right-tag {
    background: #eff6ff;
    color: #1d4ed8;
}

.right-card.privacidad .right-tag {
    background: #f5f3ff;
    color: #6d28d9;
}

.right-card.juego .right-tag {
    background: #fdf2f8;
    color: #be185d;
}

.right-card.educacion .right-tag {
    background: #ecfdf5;
    color: #065f46;
}

/* ── Panel expandible ── */
.right-extra {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
}

.right-extra.open {
    max-height: 400px;
    padding-top: 16px;
}

.right-extra ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.right-extra ul li {
    padding: 8px 0 8px 28px;
    position: relative;
    color: #334155;
    font-size: 0.95rem;
    border-bottom: 1px dashed #e2e8f0;
}

.right-extra ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #38b44a;
    font-weight: 900;
}

.right-extra ul li:last-child {
    border-bottom: none;
}

/* ── Juego verdad o mito ── */
.game-section {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    padding: 70px 0;
}

.game-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.game-section-title {
    text-align: center;
    margin-bottom: 10px;
    width: 100%;
}

.game-section-title h2 {
    font-size: 2rem;
    color: #004851;
    margin: 0 0 8px 0;
}

.game-badge {
    display: inline-block;
    background: #f97316;
    color: #fff;
    padding: 5px 18px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 12px;
}

.game-subtitle {
    color: #64748b;
    margin-bottom: 40px;
    text-align: center;
    width: 100%;
}

.quiz-card {
    max-width: 700px;
    width: 100%;
    margin: 0 auto;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 40px 36px;
    box-sizing: border-box;
}

.quiz-progress {
    width: 100%;
    height: 10px;
    background: #e2e8f0;
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 28px;
}

.quiz-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #004851, #38b44a);
    border-radius: 999px;
    transition: width 0.4s ease;
}

.quiz-counter {
    text-align: right;
    font-size: 0.85rem;
    color: #94a3b8;
    margin-bottom: 20px;
}

.quiz-question {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 28px;
    line-height: 1.5;
}

.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.quiz-btn {
    padding: 16px 24px;
    border-radius: 16px;
    border: 2px solid #e2e8f0;
    background: #f8fafc;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
    color: #1e293b;
}

.quiz-btn:hover:not(:disabled) {
    border-color: #004851;
    background: #f0f7f4;
    transform: translateX(4px);
}

.quiz-btn.correct {
    background: #dcfce7;
    border-color: #16a34a;
    color: #14532d;
}

.quiz-btn.wrong {
    background: #fee2e2;
    border-color: #dc2626;
    color: #7f1d1d;
}

.quiz-btn:disabled {
    cursor: not-allowed;
}

.quiz-feedback {
    margin-top: 20px;
    padding: 16px 20px;
    border-radius: 14px;
    font-weight: 600;
    display: none;
}

.quiz-feedback.show {
    display: block;
}

.quiz-feedback.good {
    background: #dcfce7;
    color: #14532d;
}

.quiz-feedback.bad {
    background: #fff7ed;
    color: #9a3412;
}

.quiz-next {
    display: none;
    margin-top: 20px;
    background: #004851;
    color: #fff;
    border: none;
    padding: 14px 36px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease;
}

.quiz-next.show {
    display: inline-block;
}

.quiz-next:hover {
    background: #38b44a;
}

.quiz-result {
    display: none;
    text-align: center;
    padding: 20px 0;
}

.quiz-result.show {
    display: block;
}

.quiz-result-emoji {
    font-size: 4rem;
    margin-bottom: 16px;
}

.quiz-result h3 {
    font-size: 1.7rem;
    color: #004851;
    margin-bottom: 12px;
}

.quiz-result p {
    color: #475569;
    margin-bottom: 24px;
}

.quiz-restart {
    background: #38b44a;
    color: #fff;
    border: none;
    padding: 14px 36px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
}

.quiz-restart:hover {
    background: #16a34a;
}

/* ── Sección ¿Qué hago si...? ── */
.scenarios-section {
    padding: 70px 0;
    background: #f8fafc;
}

.scenarios-section h2 {
    text-align: center;
    color: #004851;
    font-size: 2rem;
    margin-bottom: 8px;
}

.scenarios-subtitle {
    text-align: center;
    color: #64748b;
    margin-bottom: 44px;
}

.scenarios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    align-items: stretch;
}

.scenario-card {
    background: #fff;
    border-radius: 24px;
    padding: 32px 26px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
    transition: transform 0.3s ease;
}

.scenario-card:hover {
    transform: translateY(-6px);
}

.scenario-top {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}

.scenario-emoji {
    font-size: 2rem;
    line-height: 1;
    display: flex;
    align-items: center;
}

.scenario-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.scenario-card ol {
    padding-left: 20px;
    color: #475569;
    line-height: 1.9;
    font-size: 0.95rem;
}

/* ════════════════════════════════════════════════════════════════════════════════════════════════════
   BULLYING ESPECÍFICO
   ════════════════════════════════════════════════════════════════════════════════════════════════════ */

/* ── ¿Qué es el bullying? ── */
.what-section {
    padding: 70px 0;
}

.what-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

@media (max-width: 768px) {
    .what-section .container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.what-text h2 {
    font-size: 2rem;
    color: #004851;
    margin-bottom: 18px;
}

.what-text p {
    color: #475569;
    line-height: 1.8;
    margin-bottom: 16px;
}

.what-highlight {
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    border-left: 5px solid #3b82f6;
    padding: 20px 24px;
    border-radius: 12px;
    margin-top: 24px;
    color: #1e40af;
    font-weight: 600;
    font-size: 1.05rem;
}

.what-visual {
    background: linear-gradient(135deg, #1e293b, #1d4ed8);
    border-radius: 32px;
    padding: 48px 36px;
    text-align: center;
    color: #fff;
}

.what-visual .big-icon {
    font-size: 4.5rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 5.5rem;
}

.what-visual h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.what-visual p {
    opacity: 0.85;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ── Tipos de bullying ── */
.types-section {
    background: #f8fafc;
    padding: 70px 0;
}

.types-section h2 {
    text-align: center;
    color: #004851;
    font-size: 2rem;
    margin-bottom: 8px;
}

.types-subtitle {
    text-align: center;
    color: #64748b;
    margin-bottom: 44px;
}

.types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.type-card {
    border-radius: 24px;
    padding: 32px 26px;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.type-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    border-radius: 24px 24px 0 0;
}

.type-card.fisico::after {
    background: #ef4444;
}

.type-card.verbal::after {
    background: #f97316;
}

.type-card.social::after {
    background: #8b5cf6;
}

.type-card.cibernetico::after {
    background: #0ea5e9;
}

.type-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.type-icon {
    font-size: 2.6rem;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 3.5rem;
}

.type-card h3 {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: #1e293b;
}

.type-card p {
    color: #64748b;
    font-size: 0.93rem;
    line-height: 1.7;
}

.type-examples {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px dashed #e2e8f0;
}

.type-examples strong {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94a3b8;
    display: block;
    margin-bottom: 8px;
}

.type-examples ul {
    padding-left: 18px;
    color: #475569;
    font-size: 0.9rem;
    line-height: 2;
}

/* ── Señales de alerta ── */
.signals-section {
    padding: 70px 0;
}

.signals-section h2 {
    text-align: center;
    color: #004851;
    font-size: 2rem;
    margin-bottom: 8px;
}

.signals-subtitle {
    text-align: center;
    color: #64748b;
    margin-bottom: 44px;
}

.signals-tabs {
    max-width: 800px;
    margin: 0 auto;
}

.tab-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 28px;
}

.tab-btn {
    padding: 10px 24px;
    border-radius: 50px;
    border: 2px solid #e2e8f0;
    background: #fff;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    color: #475569;
}

.tab-btn.active,
.tab-btn:hover {
    background: #004851;
    color: #fff;
    border-color: #004851;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

.signals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.signal-item {
    background: #fff;
    border-radius: 16px;
    padding: 20px 18px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.signal-dot {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.signal-dot.red {
    background: #fee2e2;
}

.signal-dot.orange {
    background: #ffedd5;
}

.signal-dot.blue {
    background: #dbeafe;
}

.signal-item p {
    color: #475569;
    font-size: 0.92rem;
    line-height: 1.6;
    margin: 0;
}

/* ── Juego: Identifica la escena ── */
.scene-game {
    max-width: 720px;
    margin: 0 auto;
}

.scene-card {
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 36px;
    margin-bottom: 24px;
}

.scene-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.scene-number {
    background: #3b82f6;
    color: #fff;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.9rem;
}

.scene-text {
    font-size: 1.15rem;
    color: #1e293b;
    line-height: 1.7;
    margin-bottom: 28px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 14px;
    border-left: 4px solid #3b82f6;
}

.scene-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.scene-btn {
    padding: 14px 22px;
    border-radius: 14px;
    border: 2px solid #e2e8f0;
    background: #f8fafc;
    font-size: 0.97rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-align: left;
    color: #1e293b;
}

.scene-btn:hover:not(:disabled) {
    border-color: #3b82f6;
    background: #eff6ff;
}

.scene-btn.correct {
    background: #dcfce7;
    border-color: #16a34a;
    color: #14532d;
}

.scene-btn.wrong {
    background: #fee2e2;
    border-color: #dc2626;
    color: #7f1d1d;
}

.scene-feedback {
    margin-top: 16px;
    padding: 14px 18px;
    border-radius: 12px;
    display: none;
    font-weight: 600;
}

.scene-feedback.show {
    display: block;
}

.scene-feedback.good {
    background: #dcfce7;
    color: #14532d;
}

.scene-feedback.bad {
    background: #fff7ed;
    color: #9a3412;
}

.scene-progress {
    text-align: center;
    color: #64748b;
    font-size: 0.9rem;
    margin-top: 20px;
}

.scene-result {
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 48px 36px;
    text-align: center;
    display: none;
}

.scene-result.show {
    display: block;
}

.scene-result .big-score {
    font-size: 4rem;
    font-weight: 900;
    color: #004851;
    margin-bottom: 10px;
}

.scene-result h3 {
    font-size: 1.6rem;
    color: #1e293b;
    margin-bottom: 12px;
}

.scene-result p {
    color: #475569;
    margin-bottom: 24px;
}

.scene-restart {
    background: #3b82f6;
    color: #fff;
    border: none;
    padding: 14px 36px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
}

.scene-restart:hover {
    background: #1d4ed8;
}

/* ── ¿Qué NO es bullying? ── */
.notbullying-section {
    padding: 60px 0;
    background: #fff;
}

.notbullying-section h2 {
    text-align: center;
    color: #004851;
    font-size: 1.9rem;
    margin-bottom: 8px;
}

.notbullying-subtitle {
    text-align: center;
    color: #64748b;
    margin-bottom: 36px;
}

.compare-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    max-width: 860px;
    margin: 0 auto;
}

@media (max-width: 600px) {
    .compare-grid {
        grid-template-columns: 1fr;
    }
}

.compare-col {
    border-radius: 20px;
    padding: 30px 26px;
}

.compare-col.yes {
    background: #fee2e2;
}

.compare-col.no {
    background: #dcfce7;
}

.compare-col h3 {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 18px;
}

.compare-col.yes h3 {
    color: #7f1d1d;
}

.compare-col.no h3 {
    color: #14532d;
}

.compare-col ul {
    list-style: none;
    padding: 0;
}

.compare-col ul li {
    padding: 8px 0 8px 28px;
    position: relative;
    font-size: 0.93rem;
    color: #374151;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.08);
}

.compare-col ul li:last-child {
    border-bottom: none;
}

.compare-col.yes ul li::before {
    content: '✗';
    position: absolute;
    left: 0;
    color: #dc2626;
    font-weight: 900;
}

.compare-col.no ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #16a34a;
    font-weight: 900;
}

/* ════════════════════════════════════════════════════════════════════════════════════════════════════
   AYUDAR-AMIGO ESPECÍFICO
   ════════════════════════════════════════════════════════════════════════════════════════════════════ */

/* ── 5 pasos ── */
.steps-section {
    padding: 70px 0;
    background: #fff;
}

.steps-section h2 {
    text-align: center;
    color: #004851;
    font-size: 2rem;
    margin-bottom: 8px;
}

.steps-subtitle {
    text-align: center;
    color: #64748b;
    margin-bottom: 50px;
}

.steps-tracker {
    max-width: 740px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
}

.steps-tracker::before {
    content: '';
    position: absolute;
    left: 36px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #e2e8f0;
    z-index: 0;
}

.step-item {
    display: flex;
    gap: 28px;
    align-items: flex-start;
    position: relative;
}

.step-connector {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    z-index: 1;
}

.step-number {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    font-weight: 900;
    color: #fff;
    cursor: pointer;
    transition: transform 0.25s, box-shadow 0.25s;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    border: 4px solid #fff;
}

.step-number:hover {
    transform: scale(1.1);
}

.step-number.s1 {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.step-number.s2 {
    background: linear-gradient(135deg, #f97316, #ea580c);
}

.step-number.s3 {
    background: linear-gradient(135deg, #38b44a, #16a34a);
}

.step-number.s4 {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.step-number.s5 {
    background: linear-gradient(135deg, #8b5cf6, #6d28d9);
}

.step-body {
    flex: 1;
    padding-bottom: 40px;
}

.step-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 4px;
    cursor: pointer;
    padding: 8px 0;
}

.step-header h3 {
    font-size: 1.2rem;
    font-weight: 800;
    color: #1e293b;
    margin: 0;
}

.step-toggle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: #94a3b8;
    transition: all 0.2s;
    flex-shrink: 0;
    cursor: pointer;
    background: #fff;
}

.step-body.open .step-toggle {
    background: #004851;
    border-color: #004851;
    color: #fff;
    transform: rotate(180deg);
}

.step-content {
    display: none;
    padding: 18px 0 0;
}

.step-body.open .step-content {
    display: block;
}

.step-content p {
    color: #475569;
    line-height: 1.75;
    margin-bottom: 14px;
}

.step-tip {
    background: #fffbeb;
    border-left: 4px solid #f59e0b;
    padding: 14px 18px;
    border-radius: 0 12px 12px 0;
    color: #92400e;
    font-size: 0.92rem;
    font-weight: 600;
    margin-top: 8px;
}

/* ── Qué decir / qué no decir ── */
.words-section {
    background: #f8fafc;
    padding: 70px 0;
}

.words-section h2 {
    text-align: center;
    color: #004851;
    font-size: 2rem;
    margin-bottom: 8px;
}

.words-subtitle {
    text-align: center;
    color: #64748b;
    margin-bottom: 44px;
}

.flip-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.flip-card-wrap {
    perspective: 1000px;
    height: 200px;
    cursor: pointer;
}

.flip-card-inner {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.flip-card-wrap.flipped .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-front,
.flip-back {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    padding: 28px 26px;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.flip-front {
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
}

.flip-back {
    background: #004851;
    color: #fff;
    transform: rotateY(180deg);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.flip-label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 10px;
}

.flip-front .flip-label {
    color: #ef4444;
}

.flip-back .flip-label {
    color: #38b44a;
}

.flip-front h4 {
    color: #1e293b;
    font-size: 1.05rem;
    line-height: 1.5;
}

.flip-back h4 {
    font-size: 1.05rem;
    line-height: 1.5;
}

.flip-hint {
    font-size: 0.8rem;
    color: #94a3b8;
    text-align: right;
    margin-top: auto;
    padding-top: 12px;
}

.flip-back .flip-hint {
    color: rgba(255, 255, 255, 0.5);
}

/* ── Respuestas ── */
.response-game-section {
    background: #fff;
    padding: 70px 0;
}

.response-game-section h2 {
    text-align: center;
    color: #004851;
    font-size: 2rem;
    margin-bottom: 8px;
}

.response-game {
    max-width: 680px;
    margin: 0 auto;
}

.rg-card {
    background: #f8fafc;
    border-radius: 24px;
    padding: 36px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.07);
}

.rg-progress-bar {
    height: 8px;
    background: #e2e8f0;
    border-radius: 8px;
    margin-bottom: 28px;
    overflow: hidden;
}

.rg-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #f59e0b, #ef4444);
    border-radius: 8px;
    transition: width 0.4s;
}

.rg-situation {
    background: #fff;
    border-radius: 16px;
    padding: 22px;
    border-left: 5px solid #f59e0b;
    margin-bottom: 28px;
    color: #475569;
    font-size: 1.02rem;
    line-height: 1.7;
}

.rg-question {
    font-weight: 700;
    color: #1e293b;
    font-size: 1.05rem;
    margin-bottom: 20px;
}

.rg-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rg-btn {
    padding: 14px 20px;
    border-radius: 14px;
    border: 2px solid #e2e8f0;
    background: #fff;
    font-size: 0.96rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-align: left;
    color: #1e293b;
}

.rg-btn:hover:not(:disabled) {
    border-color: #f59e0b;
    background: #fffbeb;
}

.rg-btn.correct {
    background: #dcfce7;
    border-color: #16a34a;
    color: #14532d;
}

.rg-btn.wrong {
    background: #fee2e2;
    border-color: #dc2626;
    color: #7f1d1d;
}

.rg-feedback {
    margin-top: 16px;
    padding: 16px 20px;
    border-radius: 14px;
    display: none;
    font-size: 0.95rem;
    line-height: 1.6;
}

.rg-feedback.show {
    display: block;
}

.rg-feedback.good {
    background: #dcfce7;
    color: #14532d;
}

.rg-feedback.bad {
    background: #fff7ed;
    color: #9a3412;
}

.rg-next {
    display: none;
    background: #004851;
    color: #fff;
    border: none;
    padding: 13px 34px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 16px;
    font-size: 0.97rem;
}

.rg-next.show {
    display: inline-block;
}

.rg-result {
    display: none;
    text-align: center;
    background: #fff;
    border-radius: 24px;
    padding: 48px 36px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.07);
}

.rg-result.show {
    display: block;
}

.rg-result .big-emoji {
    font-size: 4.5rem;
    margin-bottom: 16px;
}

.rg-result h3 {
    font-size: 1.8rem;
    color: #004851;
    margin-bottom: 12px;
}

.rg-result p {
    color: #475569;
    margin-bottom: 24px;
}

.rg-restart {
    background: #f59e0b;
    color: #fff;
    border: none;
    padding: 14px 36px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    font-size: 1rem;
}

.rg-restart:hover {
    background: #d97706;
}

/* ── Cuídate tú también ── */
.selfcare-section {
    background: linear-gradient(135deg, #fff7ed, #fef3c7);
    padding: 70px 0;
}

.selfcare-section h2 {
    text-align: center;
    color: #004851;
    font-size: 2rem;
    margin-bottom: 8px;
}

.selfcare-subtitle {
    text-align: center;
    color: #64748b;
    margin-bottom: 44px;
}

.selfcare-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.selfcare-card {
    background: #fff;
    border-radius: 20px;
    padding: 28px 22px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.07);
    text-align: center;
    transition: transform 0.25s;
}

.selfcare-card:hover {
    transform: translateY(-6px);
}

.selfcare-icon {
    font-size: 2.4rem;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 3.2rem;
}

.selfcare-card h4 {
    font-size: 1.05rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 8px;
}

.selfcare-card p {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ── CTA Banner ── */
.kids-cta-banner {
    background: linear-gradient(135deg, #004851 0%, #38b44a 100%);
    padding: 60px 0;
    text-align: center;
    color: #fff;
}

.kids-cta-banner h2 {
    font-size: 2rem;
    margin-bottom: 12px;
}

.kids-cta-banner p {
    opacity: 0.9;
    margin-bottom: 30px;
    font-size: 1.05rem;
}

.kids-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-kids-green {
    background: #38b44a;
    color: #fff;
    font-size: 1.1rem;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    display: inline-block;
    font-weight: 800;
}

.btn-kids-green:hover {
    background: #16a34a;
    color: #fff;
}

.kids-back-btn {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.4);
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s;
}

.kids-back-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
}

/* ════════════════════════════════════════════════════════════════════════════════════════════════════
   COLOR VARIANTS POR PÁGINA
   ════════════════════════════════════════════════════════════════════════════════════════════════════ */

/* Derechos Básicos - Verde */
.kids-page-hero.derechos-basicos {
    background: linear-gradient(135deg, #004851 0%, #38b44a 100%);
}

/* Bullying - Azul */
.kids-page-hero.bullying {
    background: linear-gradient(135deg, #1e293b 0%, #3b82f6 100%);
}

/* Ayudar al Amigo - Ámbar */
.kids-page-hero.ayudar-amigo {
    background: linear-gradient(135deg, #92400e 0%, #f59e0b 100%);
}

/* ── Elementos interactivos (Global kids) ── */
.extra-content {
    display: none;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}