* {
    box-sizing: border-box;
}

html {
    font-family: Inter, Arial, sans-serif;
}

body {
    margin: 0;
    background: #f7f7f7;
    color: #171717;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: auto;
}


/* HEADER */

.main-header {
    background: white;
    border-bottom: 1px solid #eee;
}

.header-content {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 25px;
    font-weight: 900;
}

.logo span {
    color: #0047BB;
}

nav {
    display: flex;
    gap: 25px;
}


/* HERO */

.hero {
    padding: 100px 0 90px;
    background: white;
}

.hero-content {
    max-width: 900px;
    text-align: center;
}

.eyebrow,
.section-kicker {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    color: #0047BB;
}

.hero h1 {
    margin: 15px 0;
    font-size: clamp(38px, 6vw, 65px);
    line-height: 1.05;
}

.hero-text {
    max-width: 650px;
    margin: 0 auto 35px;
    font-size: 18px;
    color: #666;
}


/* SEARCH */

.main-search {
    display: flex;
    background: white;
    border: 2px solid #171717;
    border-radius: 14px;
    overflow: hidden;
}

.main-search input {
    flex: 1;
    padding: 22px 25px;
    border: 0;
    outline: 0;
    font-size: 17px;
}

.main-search button {
    padding: 0 32px;
    border: 0;
    background: #FDC82F;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
}

.suggestions {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.suggestions a,
.tags a {
    background: #eee;
    border-radius: 100px;
    padding: 8px 15px;
    font-size: 13px;
}


/* SECTIONS */

.section,
.search-page {
    padding: 65px 0;
}

.video-page {
    padding: 35px 0 65px;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    margin-bottom: 25px;
}

.section-heading h2,
.video-section h2 {
    margin: 7px 0 0;
    font-size: 30px;
}


/* VIDEOS */

.video-grid {
    display: grid;
    grid-template-columns:
        repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
}

.video-card {
    background: white;
    border-radius: 14px;
    overflow: hidden;
}

.video-thumbnail {
    position: relative;
    display: block;

    width: 100%;
    aspect-ratio: 16 / 9;

    overflow: hidden;
    background: #151515;
}

.video-thumbnail img {
     width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.placeholder {
    height: 100%;
    display: grid;
    place-items: center;
    font-size: 40px;
    color: white;
}

.duration {
    position: absolute;
    right: 10px;
    bottom: 10px;
    background: rgba(0,0,0,.8);
    color: white;
    padding: 5px 8px;
    border-radius: 5px;
    font-size: 12px;
}

.video-card-content {
    padding: 20px;
}

.video-card h3 {
    margin: 0 0 8px;
    font-size: 18px;
}

.video-card p {
    margin: 0;
    color: #666;
    line-height: 1.5;
}


/* SEARCH PAGE */

.search-page-form {
    max-width: 850px;
    margin: 0 auto 60px;
}

.results-header {
    margin-bottom: 35px;
}

.results-header p {
    margin-bottom: 4px;
    color: #777;
}

.results-header h1 {
    margin: 0;
    font-size: 40px;
}


/* PLAYER */

.player {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #111;
    border-radius: 18px;
    overflow: hidden;
}

.player iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.player-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-content: center;
    text-align: center;
    color: white;
}

.player-placeholder span {
    font-size: 70px;
}

.video-header {
    max-width: 850px;
    margin-top: 35px;
}

.video-header h1 {
    margin-bottom: 12px;
    font-size: 40px;
}

.video-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.video-meta span {
    background: #eee;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 13px;
}

.video-description {
    font-size: 18px;
    line-height: 1.6;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}


/* VIDEO SECTIONS */

.video-section {
    margin-top: 70px;
}

.path-grid {
    display: grid;
    grid-template-columns:
        repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.path-card {
    background: white;
    border: 1px solid #ddd;
    border-radius: 14px;
    padding: 25px;
}

.path-card > span,
.relation {
    color: #0047BB;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
}

.path-card h3 {
    margin: 8px 0;
}


/* FOOTER */

.main-footer {
    margin-top: 70px;
    padding: 40px 0;
    background: #111;
    color: #aaa;
}


/* MOBILE */

@media (max-width: 650px) {

    .container {
        width: min(100% - 24px, 1180px);
    }

    .hero {
        padding: 65px 0;
    }

    .main-search {
        display: block;
    }

    .main-search input {
        width: 100%;
    }

    .main-search button {
        width: 100%;
        padding: 17px;
    }

    .video-header h1 {
        font-size: 30px;
    }

}


/* ==========================================================
   RECOMENDACIONES
   ========================================================== */

.section-description {
    max-width: 700px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
}

.recommendation-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 25px;
}

.recommendation-row {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 22px;
    background: white;
    border: 1px solid #e4e4e4;
    border-radius: 14px;
    transition:
        transform .15s ease,
        border-color .15s ease;
}

.recommendation-row:hover {
    transform: translateY(-2px);
    border-color: #bbb;
}

.recommendation-icon {
    flex: 0 0 50px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #f1f1f1;
    font-size: 22px;
    font-weight: 800;
}

.recommendation-content {
    flex: 1;
}

.recommendation-content h3 {
    margin: 4px 0;
    font-size: 18px;
}

.recommendation-content p {
    margin: 5px 0 0;
    color: #666;
    line-height: 1.5;
}

.recommendation-reason {
    font-size: 10px;
    letter-spacing: 1px;
    font-weight: 800;
    color: #0047BB;
}

.recommendation-duration {
    color: #777;
    font-size: 13px;
    white-space: nowrap;
}


/* ==========================================================
   RECORRIDOS
   ========================================================== */

.path-info {
    margin-top: 18px;
    font-size: 13px;
}

.path-info span {
    color: #777;
}


/* ==========================================================
   SIGUIENTE PASO
   ========================================================== */

.next-grid {
    display: grid;
    grid-template-columns:
        repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.next-card {
    display: flex;
    flex-direction: column;
    padding: 28px;
    min-height: 220px;
    background: #171717;
    color: white;
    border-radius: 16px;
    transition: transform .15s ease;
}

.next-card:hover {
    transform: translateY(-3px);
}

.next-label {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: #FDC82F;
}

.next-card h3 {
    font-size: 23px;
    line-height: 1.2;
    margin: 12px 0;
}

.next-card p {
    color: #bbb;
    line-height: 1.5;
    margin: 0 0 20px;
}

.next-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.next-footer span {
    color: #aaa;
    font-size: 13px;
}

.next-footer strong {
    color: #FDC82F;
}


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 650px) {

    .recommendation-row {
        align-items: flex-start;
    }

    .recommendation-duration {
        display: none;
    }

    .recommendation-icon {
        flex-basis: 42px;
        width: 42px;
        height: 42px;
    }

}


/* ==========================================================
   LOGIN
   ========================================================== */

.login-page {
    min-height: calc(100vh - 150px);
    display: grid;
    place-items: center;
    padding: 60px 20px;
}

.login-box {
    width: 100%;
    max-width: 460px;
    background: white;
    border-radius: 18px;
    padding: 45px;
    border: 1px solid #e5e5e5;
}

.login-box h1 {
    margin: 10px 0;
    font-size: 32px;
}

.login-box > p {
    color: #666;
    margin-bottom: 30px;
}

.login-form {
    display: flex;
    flex-direction: column;
}

.login-form label {
    margin-bottom: 7px;
    font-size: 13px;
    font-weight: 700;
}

.login-form input {
    width: 100%;
    padding: 14px 15px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
}

.login-form input:focus {
    outline: 2px solid #FDC82F;
    border-color: transparent;
}

.login-form button {
    padding: 15px;
    border: 0;
    border-radius: 8px;
    background: #FDC82F;
    color: #111;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
}

.login-error {
    margin-bottom: 20px;
    padding: 12px 15px;
    background: #fff1f1;
    border: 1px solid #ffcaca;
    border-radius: 8px;
    font-size: 14px;
}

.user-name {
    font-weight: 700;
}

.continue-section {
    padding-top: 45px;
}

/* =========================================================
   CONTINÚA DONDE LO DEJASTE
========================================================= */

.continue-section {
    padding-top: 50px;
    padding-bottom: 20px;
}

.continue-card {
    display: grid;
    grid-template-columns: minmax(320px, 42%) 1fr;

    margin-top: 18px;

    background: #ffffff;

    border: 1px solid #e7e7e7;
    border-radius: 18px;

    overflow: hidden;

    text-decoration: none;
    color: #111;

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.continue-card:hover {
    transform: translateY(-2px);

    box-shadow:
        0 12px 30px rgba(0, 0, 0, .08);
}


/* Thumbnail */

.continue-thumbnail {
    position: relative;

    aspect-ratio: 16 / 9;

    background: #151515;

    overflow: hidden;
}

.continue-thumbnail img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}

.continue-placeholder {
    width: 100%;
    height: 100%;

    display: grid;
    place-items: center;

    color: #ffffff;

    font-size: 45px;
}


/* Botón play */

.continue-play {
    position: absolute;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    width: 60px;
    height: 60px;

    display: grid;
    place-items: center;

    padding-left: 4px;

    border-radius: 50%;

    background: rgba(0, 0, 0, .78);

    color: #ffffff;

    font-size: 22px;
}


/* Información */

.continue-info {
    padding: 32px 36px;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.continue-label {
    color: #0047bb;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 1.4px;
}

.continue-info h2 {
    margin: 8px 0 10px;

    font-size: 28px;
    line-height: 1.15;
}

.continue-info p {
    margin: 0;

    color: #666;

    line-height: 1.5;
}


/* Progreso */

.progress-info {
    display: flex;
    justify-content: space-between;

    margin-top: 22px;

    font-size: 12px;
    font-weight: 700;

    color: #555;
}

.progress-bar {
    width: 100%;
    height: 7px;

    margin-top: 8px;

    background: #e7e7e7;

    border-radius: 20px;

    overflow: hidden;
}

.progress-bar-value {
    height: 100%;

    background: #fdc82f;

    border-radius: 20px;
}


/* Responsive */

@media (max-width: 750px) {

    .continue-card {
        grid-template-columns: 1fr;
    }

    .continue-info {
        padding: 25px;
    }

    .continue-info h2 {
        font-size: 23px;
    }

}

/* =========================================================
   HOME - HERO
========================================================= */

.hero {
    padding: 100px 20px 90px;
    text-align: center;
    background: #ffffff;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero .section-kicker {
    display: block;
    margin-bottom: 18px;

    color: #0047bb;

    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
}

.hero h1 {
    max-width: 850px;
    margin: 0 auto 18px;

    font-size: clamp(42px, 5vw, 68px);
    line-height: 1.02;
    letter-spacing: -2px;
}

.hero p {
    margin: 0 auto 28px;

    color: #666;

    font-size: 18px;
}


/* =========================================================
   BUSCADOR PRINCIPAL
========================================================= */

.search-form {
    display: flex;

    width: 100%;
    max-width: 720px;

    margin: 0 auto;

    background: #ffffff;

    border: 2px solid #111;
    border-radius: 12px;

    overflow: hidden;
}

.search-form input {
    flex: 1;

    min-width: 0;

    padding: 18px 20px;

    border: 0;
    outline: none;

    background: transparent;

    font-size: 17px;
}

.search-form button {
    padding: 0 30px;

    border: 0;

    background: #fdc82f;
    color: #111;

    font-size: 15px;
    font-weight: 800;

    cursor: pointer;

    transition: background .2s ease;
}

.search-form button:hover {
    background: #f2bb16;
}


/* =========================================================
   BÚSQUEDAS RÁPIDAS
========================================================= */

.quick-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;

    gap: 10px;

    margin-top: 18px;
}

.quick-links a {
    display: inline-block;

    padding: 8px 15px;

    background: #f5f5f5;

    border: 1px solid #e4e4e4;
    border-radius: 50px;

    color: #333;

    text-decoration: none;

    font-size: 13px;
    font-weight: 600;

    transition:
        background .2s ease,
        border-color .2s ease;
}

.quick-links a:hover {
    background: #fdc82f;
    border-color: #fdc82f;
}


/* =========================================================
   RESPONSIVE HOME
========================================================= */

@media (max-width: 650px) {

    .hero {
        padding: 65px 20px;
    }

    .hero h1 {
        font-size: 42px;
        letter-spacing: -1px;
    }

    .hero p {
        font-size: 16px;
    }

    .search-form {
        flex-direction: column;

        border: 0;

        background: transparent;

        overflow: visible;
    }

    .search-form input {
        border: 2px solid #111;
        border-radius: 10px;

        background: #ffffff;
    }

    .search-form button {
        margin-top: 10px;

        padding: 16px;

        border-radius: 10px;
    }

}

.recommendation-reason {
    margin-top: 14px;
    padding-top: 12px;

    border-top: 1px solid #eeeeee;

    color: #0047bb;

    font-size: 12px;
    font-weight: 700;
}

.discovery-section {
    padding-top: 20px;
}

/* =========================================================
   EXPLORAR
   ========================================================= */

.explore-page {
    padding: 70px 0 90px;
}

.explore-header {
    max-width: 760px;
    margin-bottom: 65px;
}

.explore-header h1 {
    margin: 8px 0 14px;
    font-size: 48px;
    line-height: 1.05;
}

.explore-header p {
    margin: 0;
    max-width: 650px;
    font-size: 18px;
    line-height: 1.6;
    color: #555;
}


/* Categorías */

.explore-categories {
    margin-bottom: 80px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.category-card {
    padding: 28px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 16px;
}

.category-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;

    margin-bottom: 22px;
}

.category-card h3 {
    margin: 0;

    font-size: 24px;
    line-height: 1.15;
}

.category-video-count {
    white-space: nowrap;

    font-size: 12px;
    font-weight: 700;

    color: #666;
}


/* Subcategorías */

.category-links {
    display: flex;
    flex-direction: column;
}

.category-links a {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 11px 0;

    border-top: 1px solid #eee;

    color: #111;
    text-decoration: none;

    font-size: 15px;
    font-weight: 600;
}

.category-links a:hover {
    color: #0047bb;
}

.category-link-count {
    min-width: 28px;

    padding: 3px 8px;

    border-radius: 20px;

    background: #f3f3f3;

    text-align: center;

    font-size: 11px;
}


/* Categoría sin hijos */

.category-main-link {
    display: inline-block;

    margin-top: 10px;

    color: #0047bb;
    text-decoration: none;

    font-size: 14px;
    font-weight: 700;
}


/* Todos los vídeos */

.explore-videos {
    margin-top: 20px;
}

.video-total {
    font-size: 14px;
    color: #666;
}


/* Responsive */

@media (max-width: 1000px) {

    .category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


@media (max-width: 650px) {

    .explore-page {
        padding: 45px 0 60px;
    }

    .explore-header h1 {
        font-size: 36px;
    }

    .category-grid {
        grid-template-columns: 1fr;
    }

}

/* =========================================================
   PERFIL
   ========================================================= */

.profile-page {
    padding: 70px 0 90px;
}

.profile-header {
    margin-bottom: 45px;
}

.profile-header h1 {
    margin: 8px 0 10px;
    font-size: 48px;
    line-height: 1.05;
}

.profile-header p {
    margin: 0;
    color: #666;
    font-size: 18px;
}


/* Resumen */

.profile-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;

    margin-bottom: 75px;
}

.profile-stat {
    padding: 26px;

    border: 1px solid #e5e5e5;
    border-radius: 14px;

    background: #fff;
}

.profile-stat strong {
    display: block;

    margin-bottom: 7px;

    font-size: 32px;
    line-height: 1;
}

.profile-stat span {
    color: #666;
    font-size: 13px;
}


/* Secciones */

.profile-section {
    margin-bottom: 75px;
}


/* Temáticas */

.profile-topics {
    max-width: 800px;
}

.profile-topic {
    display: block;

    margin-bottom: 18px;

    color: inherit;
    text-decoration: none;
}

.profile-topic-header {
    display: flex;
    justify-content: space-between;

    margin-bottom: 7px;

    font-size: 14px;
}

.profile-topic-header span {
    color: #666;
}

.profile-topic-bar {
    height: 8px;

    overflow: hidden;

    background: #ededed;
    border-radius: 10px;
}

.profile-topic-bar div {
    height: 100%;

    background: #0047bb;
    border-radius: inherit;
}


/* Progreso */

.profile-progress-info {
    display: flex;
    justify-content: flex-end;

    margin: 12px 0 7px;

    color: #666;
    font-size: 12px;
}


/* Recorridos */

.learning-path-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 22px;
}

.learning-path-card {
    padding: 28px;

    border: 1px solid #e5e5e5;
    border-radius: 14px;

    background: #fff;
}

.learning-path-card h3 {
    margin: 8px 0 10px;

    font-size: 22px;
}

.learning-path-card p {
    margin: 0 0 20px;

    color: #666;
    line-height: 1.5;
}

.path-progress-text {
    margin-bottom: 8px;

    font-size: 13px;
    font-weight: 600;
}

.path-percentage {
    margin-top: 7px;

    color: #666;
    font-size: 12px;
}


/* Historial */

.profile-history {
    max-width: 850px;

    border-top: 1px solid #e5e5e5;
}

.history-item {
    display: flex;
    align-items: center;

    gap: 16px;

    padding: 16px 4px;

    border-bottom: 1px solid #e5e5e5;

    color: inherit;
    text-decoration: none;
}

.history-item:hover strong {
    color: #0047bb;
}

.history-status {
    width: 32px;

    font-size: 19px;
    text-align: center;
}

.history-completed {
    color: #16813b;
}

.history-progress {
    color: #0047bb;
}

.history-info {
    display: flex;
    flex-direction: column;

    gap: 3px;
}

.history-info strong {
    font-size: 14px;
}

.history-info span {
    color: #777;
    font-size: 12px;
}


/* Responsive */

@media (max-width: 900px) {

    .profile-stats {
        grid-template-columns:
            repeat(2, 1fr);
    }

}


@media (max-width: 650px) {

    .profile-page {
        padding: 45px 0 60px;
    }

    .profile-header h1 {
        font-size: 36px;
    }

    .profile-stats {
        grid-template-columns: 1fr 1fr;
    }

    .learning-path-grid {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 420px) {

    .profile-stats {
        grid-template-columns: 1fr;
    }

}

/* ==========================================================
   eTIC300 · IDENTIDAD VISUAL 2026 · CAPA DE PRESENTACIÓN
   Se añade al final para mantener compatibilidad con otras páginas.
   ========================================================== */
:root { --etic-blue:#0047BB; --etic-yellow:#FDC82F; --etic-green:#84BD00; --etic-orange:#FE5000; --etic-ink:#111; --etic-paper:#f5f6fa; }
html { font-family:Roboto,Arial,sans-serif; }
body { background:var(--etic-paper); }
:focus-visible { outline:3px solid var(--etic-orange); outline-offset:3px; }
.main-header { border-bottom:3px solid var(--etic-yellow); }
.main-header nav a:hover, .main-header nav a:focus-visible { color:var(--etic-blue); }
.etic-sr-only { position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0; }
.etic-hero { padding:70px 0 64px; text-align:left; background:var(--etic-blue); color:#fff; overflow:hidden; }
.etic-hero-layout { display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr); gap:40px; align-items:center; max-width:1180px; text-align:left; }
.etic-hero-copy { min-width:0; }
.etic-hero .etic-pill { display:inline-block; padding:9px 13px; margin:0 0 20px; color:var(--etic-ink); background:var(--etic-yellow); border:2px solid var(--etic-ink); box-shadow:4px 4px 0 var(--etic-ink); font-size:11px; letter-spacing:1.5px; }
.etic-hero h1 { margin:0 0 22px; max-width:none; font-size:clamp(34px,4.5vw,60px); line-height:1.12; letter-spacing:-1.8px; font-weight:900; }
.etic-hero h1 span { color:var(--etic-yellow); }
.etic-hero p { max-width:510px; margin:0 0 30px; color:#e8efff; font-size:17px; line-height:1.65; }
.etic-hero .etic-search { max-width:600px; margin:0; border:3px solid var(--etic-ink); border-radius:3px; box-shadow:6px 6px 0 var(--etic-ink); }
.etic-hero .etic-search input { font-family:inherit; font-size:15px; padding:17px 16px; }
.etic-hero .etic-search button { background:var(--etic-yellow); color:var(--etic-ink); font-weight:900; font-size:13px; padding:0 19px; white-space:nowrap; }
.etic-hero .etic-search button:hover { background:#ffe07b; }
.etic-quick-links { justify-content:flex-start; align-items:center; margin-top:23px; gap:9px; }
.etic-quick-links span { color:#cbdcff; font-size:11px; font-weight:800; letter-spacing:1px; }
.etic-quick-links a { background:transparent; border:1px solid #a9c4fb; color:#fff; border-radius:3px; font-size:12px; }
.etic-quick-links a:hover { background:var(--etic-yellow); border-color:var(--etic-yellow); color:var(--etic-ink); }
.etic-hero-art { position:relative; min-width:0; padding:30px 15px 15px; border:3px solid #0d2d75; background:#fff; color:var(--etic-ink); box-shadow:10px 10px 0 #082e80; }
.etic-art-caption { position:absolute; left:0; right:0; top:0; padding:7px 12px; background:var(--etic-yellow); border-bottom:3px solid var(--etic-ink); font-size:11px; font-weight:900; letter-spacing:1.5px; }
.etic-hero-art img { display:block; width:100%; height:auto; image-rendering:pixelated; margin:24px auto 18px; }
.etic-art-bottom { padding:10px 5px 0; border-top:2px dashed #d3d3d3; text-align:center; font-size:11px; font-weight:900; color:var(--etic-blue); letter-spacing:1px; }
.etic-ticker { background:var(--etic-yellow); color:var(--etic-ink); padding:12px 0; border-bottom:3px solid var(--etic-ink); font-size:12px; font-weight:900; letter-spacing:1px; text-align:center; }
.section-heading .section-kicker { color:var(--etic-blue); }
.section-heading h2 { font-weight:900; letter-spacing:-.6px; }
.video-card, .continue-card { border:1px solid #e0e4ed; border-radius:7px; box-shadow:0 4px 0 rgba(0,71,187,.07); transition:transform .18s ease,box-shadow .18s ease; }
.video-card:hover, .continue-card:hover { transform:translateY(-4px); box-shadow:0 9px 0 rgba(0,71,187,.13); }
.video-thumbnail img { transition:transform .2s ease; }
.video-card:hover .video-thumbnail img { transform:scale(1.035); }
.video-card h3 a:hover { color:var(--etic-blue); }
.continue-label { display:inline-block; width:fit-content; padding:7px 10px; background:var(--etic-yellow); color:var(--etic-ink); letter-spacing:1px; }
.progress-bar-value, .profile-topic-bar div { background:var(--etic-green); }
.recommendation-reason { color:var(--etic-blue); }
@media(max-width:900px) { .etic-hero-layout { grid-template-columns:1fr; } .etic-hero-art { max-width:650px; width:100%; margin:10px auto 0; } }
@media(max-width:650px) { .etic-hero { padding:48px 0 45px; } .etic-hero h1 { font-size:clamp(32px,9vw,45px); } .etic-hero p { font-size:15px; } .etic-hero .etic-search { display:flex; flex-direction:column; border:0; background:transparent; box-shadow:none; overflow:visible; gap:10px; } .etic-hero .etic-search input { width:100%; border:2px solid var(--etic-ink); border-radius:3px; background:#fff; } .etic-hero .etic-search button { margin:0; border:2px solid var(--etic-ink); border-radius:3px; padding:15px; box-shadow:4px 4px 0 var(--etic-ink); } .etic-quick-links { justify-content:flex-start; } .etic-art-bottom { font-size:9px; } .etic-ticker { font-size:10px; line-height:1.5; } }

/* eTIC300 · Cabecera responsive */
.etic-header { position:relative; z-index:30; background:#fff; border-bottom:4px solid #FDC82F; }
.etic-header-content { min-height:82px; gap:24px; }
.etic-logo { display:flex; flex-shrink:0; align-items:center; gap:10px; font-size:inherit; }
.etic-logo img { display:block; width:clamp(140px,17vw,210px); height:auto; image-rendering:pixelated; }
.etic-logo-club { padding:6px 8px; background:#FDC82F; border:2px solid #111; color:#111; font-size:11px; font-weight:900; letter-spacing:1px; box-shadow:3px 3px 0 #111; }
.etic-header .etic-nav { display:flex; align-items:center; gap:clamp(10px,2vw,24px); margin-left:auto; }
.etic-nav a { display:inline-flex; align-items:center; gap:9px; padding:9px 2px; color:#242424; font-size:14px; font-weight:700; white-space:nowrap; }
.etic-nav a[aria-current="page"] { color:#0047BB; box-shadow:inset 0 -3px #FDC82F; }
.etic-nav .etic-profile-link { padding:5px 10px 5px 5px; border:1px solid #e3e7ef; border-radius:5px; background:#f6f8fc; }
.etic-avatar { display:grid; place-items:center; width:32px; height:32px; flex:none; background:#0047BB; color:white; border:2px solid #111; font-weight:900; }
.etic-nav .etic-logout { color:#555; font-size:12px; }
.etic-menu-toggle, .etic-menu-button { display:none; }
@media(max-width:760px) {
  .etic-header-content { min-height:72px; flex-wrap:wrap; gap:0; }
  .etic-logo img { width:150px; }
  .etic-menu-button { display:flex; flex-direction:column; justify-content:center; gap:5px; width:43px; height:40px; margin-left:auto; padding:9px; cursor:pointer; border:2px solid #111; background:#FDC82F; box-shadow:3px 3px 0 #111; }
  .etic-menu-button span { display:block; width:100%; height:3px; background:#111; }
  .etic-header .etic-nav { display:none; flex-basis:100%; width:100%; margin:0; padding:12px 0 18px; flex-direction:column; align-items:stretch; gap:3px; }
  .etic-menu-toggle:checked ~ .etic-nav { display:flex; }
  .etic-menu-toggle:focus-visible + .etic-menu-button { outline:3px solid #FE5000; outline-offset:4px; }
  .etic-nav a { padding:12px; }
  .etic-nav a[aria-current="page"] { background:#fff6d7; box-shadow:inset 4px 0 #FDC82F; }
  .etic-nav .etic-profile-link { margin-top:6px; }
}


/* eTIC300 · Ajustes portada y footer · v2 */
.etic-hero { padding-top:48px; padding-bottom:43px; }
.etic-hero h1 { font-size:clamp(34px,4.15vw,55px); margin-bottom:17px; }
.etic-hero p { margin-bottom:23px; }
.etic-hero .etic-pill { margin-bottom:15px; }
.etic-hero-art { max-width:520px; justify-self:end; }
.etic-recommended-section .video-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
.section-heading .section-kicker::before { content:'■'; color:var(--etic-yellow); margin-right:9px; text-shadow:2px 2px 0 var(--etic-blue); }
.section-heading { align-items:end; }
.etic-footer { margin-top:70px; padding:44px 0 0; background:#111827; color:#e7eaf1; border-top:6px solid var(--etic-yellow); }
.etic-footer-grid { display:grid; grid-template-columns:1.3fr .75fr 1fr; gap:36px; padding-bottom:36px; }
.etic-footer-brand img { display:block; width:185px; height:auto; padding:6px; background:#fff; image-rendering:pixelated; }
.etic-footer-club { display:inline-block; margin-top:14px; padding:5px 9px; background:var(--etic-yellow); color:#111; font-size:10px; font-weight:900; letter-spacing:1px; }
.etic-footer-brand p { font-size:14px; line-height:1.7; color:#c7ceda; }
.etic-footer-links { display:flex; flex-direction:column; align-items:flex-start; gap:12px; }
.etic-footer-links strong,.etic-footer-message strong { color:var(--etic-yellow); font-size:12px; letter-spacing:1.5px; }
.etic-footer-links a { font-size:14px; color:#e7eaf1; }
.etic-footer-links a:hover { color:var(--etic-yellow); }
.etic-footer-message { display:flex; flex-direction:column; gap:18px; }
.etic-footer-message span { padding:13px; border:1px dashed #8ea0be; font-size:11px; letter-spacing:1px; color:#fff; line-height:1.7; }
.etic-footer-bottom { display:flex; justify-content:space-between; gap:20px; padding-top:17px; padding-bottom:17px; border-top:1px solid #3a4559; font-size:11px; color:#aeb9ca; letter-spacing:.5px; }
@media(max-width:900px) { .etic-recommended-section .video-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .etic-footer-grid { grid-template-columns:1fr 1fr; } .etic-footer-message { grid-column:1/-1; } .etic-hero-art { justify-self:center; } }
@media(max-width:650px) { .etic-hero { padding-top:38px; padding-bottom:36px; } .etic-recommended-section .video-grid { grid-template-columns:1fr; } .etic-footer-grid { grid-template-columns:1fr; gap:27px; } .etic-footer-message { grid-column:auto; } .etic-footer-bottom { flex-direction:column; gap:8px; } }
