/* YvetteSantana - refuerzo de identidad visual para desarrollo y produccion.
   Negro #111111, dorado #C8A876 y blanco #FFFFFF. Sin verdes ni degradados. */
:root {
    --ys-gold: #c8a876;
    --ys-ink: #111111;
    --ys-border: #e0e0e0;
    --ys-paper: #ffffff;
}
html {
    scroll-behavior: smooth;
}
body {
    background: #ffffff;
    color: #111111;
    font-family: "DM Sans", system-ui, Arial, sans-serif;
}
h1,
h2,
h3,
h4 {
    font-family: Manrope, "DM Sans", system-ui, sans-serif;
    letter-spacing: -0.035em;
}
.section-wrap {
    max-width: 1280px;
    padding-left: 1rem;
    padding-right: 1rem;
    margin-left: auto;
    margin-right: auto;
}
.surface {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 24px;
    box-shadow: none;
}
.eyebrow {
    color: #916b2c;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 800;
}
.section-title {
    font-size: 2.1rem;
    line-height: 1.15;
    font-weight: 800;
    color: #111111;
}
.btn-dark,
.btn-outline,
.btn-primary,
.btn-danger,
.btn-muted {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 800;
    font-size: 0.875rem;
    text-decoration: none;
    cursor: pointer;
    transition:
        background 0.2s,
        border-color 0.2s;
}
.btn-dark,
.btn-outline {
    border-radius: 999px;
    padding: 0.7rem 1.3rem;
}
.btn-dark,
.btn-primary {
    background: #111111;
    color: #c8a876 !important;
    border: 1px solid #111111;
}
.btn-dark:hover,
.btn-primary:hover {
    background: #2c2c2c;
    color: #c8a876 !important;
}
.btn-outline,
.btn-muted {
    background: #ffffff;
    color: #111111 !important;
    border: 1px solid #c8a876;
}
.btn-outline:hover,
.btn-muted:hover {
    background: #f5f5f5;
}
.btn-primary,
.btn-muted,
.btn-danger {
    border-radius: 12px;
    padding: 0.75rem 1.25rem;
}
.btn-danger {
    background: #ffffff;
    color: #111111;
    border: 1px solid #111111;
}
.btn-danger:hover {
    background: #f5f5f5;
}
.nav-item {
    color: #111111;
    text-decoration: none;
    font-weight: 600;
}
.nav-item:hover {
    color: #916b2c;
}
.mobile-nav {
    display: block;
    border-radius: 12px;
    padding: 0.75rem;
    color: #111111;
    font-weight: 700;
    text-decoration: none;
}
.mobile-nav:hover {
    background: #f5f5f5;
}
.field {
    display: block;
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #dadada;
    background: #ffffff;
    color: #111111;
    border-radius: 12px;
    padding: 0.8rem 1rem;
    font-size: 0.875rem;
}
.field:focus {
    outline: 2px solid #c8a876;
    outline-offset: 1px;
}
.field-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 800;
    color: #111111;
    margin-bottom: 0.5rem;
}
.mini-tag,
.pill-status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #c8a876;
    border-radius: 999px;
    padding: 0.4rem 0.8rem;
    font-size: 0.73rem;
    font-weight: 800;
    color: #111111;
}
.dashboard-stat {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    padding: 1.5rem;
    border-radius: 24px;
    box-shadow: none;
}
.home-hero {
    background: #111111;
    color: #ffffff;
}
.home-hero h1 {
    color: #ffffff;
    font-size: clamp(2.4rem, 4.4vw, 4.1rem);
    line-height: 1.13;
    font-weight: 800;
}
.home-hero .section-wrap {
    padding-top: 4.5rem;
    padding-bottom: 5rem;
}
.home-credentials {
    background: #ffffff;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
}
.home-courses {
    padding-top: 5rem;
    padding-bottom: 5rem;
}
.curriculum-module summary::-webkit-details-marker,
.aula-modulo summary::-webkit-details-marker {
    display: none;
}
.curriculum-module summary::marker,
.aula-modulo summary::marker {
    content: "";
}
.curriculum-module[open] > summary i.fa-chevron-down,
.aula-modulo[open] > summary i.fa-chevron-down {
    transform: rotate(180deg);
}
.curriculum-module summary i.fa-chevron-down,
.aula-modulo summary i.fa-chevron-down {
    transition: transform 0.2s;
}
button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}
@media (min-width: 640px) {
    .section-wrap {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}
@media (min-width: 1024px) {
    .section-wrap {
        padding-left: 2rem;
        padding-right: 2rem;
    }
    .section-title {
        font-size: 2.5rem;
    }
}

/* Navbar compacto V4: sin degradados, negro, dorado y blanco. */
.ys-navbar {
    isolation: isolate;
}
.ys-nav-link,
.ys-nav-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.65rem 0.78rem;
    border-radius: 10px;
    font-size: 0.86rem;
    font-weight: 750;
    line-height: 1.3;
    text-decoration: none;
    color: #111111;
    transition:
        background-color 0.15s,
        color 0.15s;
    white-space: nowrap;
}
.ys-nav-link:hover,
.ys-nav-trigger:hover,
.ys-nav-link--active {
    background: #f5f5f5;
    color: #916b2c;
}
.ys-nav-dropdown {
    position: relative;
}
.ys-nav-trigger {
    cursor: pointer;
    list-style: none;
    user-select: none;
}
.ys-nav-trigger::-webkit-details-marker,
.ys-mobile-group > summary::-webkit-details-marker {
    display: none;
}
.ys-nav-trigger::marker,
.ys-mobile-group > summary::marker {
    content: "";
}
.ys-nav-chevron {
    font-size: 0.63rem;
    transition: transform 0.16s ease;
}
.ys-nav-dropdown[open] > .ys-nav-trigger .ys-nav-chevron,
.ys-mobile-group[open] > summary .ys-nav-chevron {
    transform: rotate(180deg);
}
.ys-nav-dropdown[open] > .ys-nav-trigger {
    color: #916b2c;
    background: #f5f5f5;
}
.ys-nav-panel {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    z-index: 100;
    background: white;
    color: #111111;
    border: 1px solid #d8c29c;
    border-top: 3px solid #c8a876;
    border-radius: 14px;
    padding: 0.65rem;
    box-shadow: 0 12px 26px rgba(17, 17, 17, 0.13);
}
.ys-nav-panel--small {
    min-width: 205px;
}
.ys-nav-panel--admin {
    width: 290px;
    max-height: min(76vh, 620px);
    overflow-y: auto;
    overscroll-behavior: contain;
}
.ys-nav-panel--account {
    width: 224px;
    right: 0;
    left: auto;
}
.ys-nav-section-label {
    padding: 0.65rem 0.7rem 0.3rem;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.64rem;
    font-weight: 850;
    color: #916b2c;
}
.ys-nav-divider {
    height: 1px;
    margin: 0.5rem 0.4rem;
    background: #e5e5e5;
}
.ys-nav-option {
    display: flex;
    align-items: center;
    gap: 0.72rem;
    width: 100%;
    text-align: left;
    text-decoration: none;
    font-size: 0.86rem;
    font-weight: 650;
    color: #111111 !important;
    line-height: 1.35;
    padding: 0.69rem 0.76rem;
    border-radius: 9px;
    background: transparent;
    cursor: pointer;
}
.ys-nav-option:hover,
.ys-nav-option:focus-visible {
    background: #f6f6f6;
    color: #916b2c !important;
}
.ys-nav-option i {
    width: 18px;
    text-align: center;
    color: #916b2c;
    flex-shrink: 0;
}
.ys-nav-option--strong {
    background: #111111;
    color: #ffffff !important;
}
.ys-nav-option--strong:hover,
.ys-nav-option--strong:focus-visible {
    background: #282828;
    color: #ffffff !important;
}
.ys-nav-option--strong i {
    color: #c8a876;
}
.ys-nav-option--button {
    border: 0;
    font-family: inherit;
}
.ys-account-trigger {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    max-width: 160px;
    cursor: pointer;
    list-style: none;
    border: 1px solid #e0e0e0;
    padding: 0.36rem 0.6rem 0.36rem 0.36rem;
    border-radius: 999px;
    color: #111111;
}
.ys-account-trigger::-webkit-details-marker {
    display: none;
}
.ys-account-trigger::marker {
    content: "";
}
.ys-account-trigger:hover,
.ys-nav-dropdown[open] > .ys-account-trigger {
    border-color: #c8a876;
}
.ys-account-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #111111;
    color: #c8a876;
    font-size: 0.78rem;
    font-weight: 800;
    flex-shrink: 0;
}
.ys-account-name {
    display: block;
    max-width: 86px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 0.8rem;
    font-weight: 750;
}
.ys-mobile-toggle {
    padding: 0.6rem 0.78rem;
    border: 1px solid #c8a876;
    border-radius: 10px;
    background: white;
    color: #111111;
    cursor: pointer;
}
.ys-mobile-menu {
    padding: 0.8rem 1rem 1.1rem;
    background: white;
    border-top: 1px solid #e0e0e0;
    max-height: calc(100dvh - 68px);
    overflow-y: auto;
    overscroll-behavior: contain;
}
.ys-mobile-link {
    display: block;
    width: 100%;
    padding: 0.75rem 0.9rem;
    border-radius: 9px;
    color: #111111 !important;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
    text-align: left;
}
.ys-mobile-link:hover,
.ys-mobile-link:focus-visible {
    background: #f5f5f5;
}
.ys-mobile-link--gold {
    background: #111111;
    color: #c8a876 !important;
    margin: 0.3rem 0;
}
.ys-mobile-link--gold:hover,
.ys-mobile-link--gold:focus-visible {
    background: #272727;
}
.ys-mobile-group {
    margin-top: 0.35rem;
    border-top: 1px solid #e0e0e0;
}
.ys-mobile-group > summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    cursor: pointer;
    padding: 0.95rem 0.9rem;
    font-size: 0.9rem;
    font-weight: 800;
    color: #111111;
}
.ys-mobile-group[open] > summary {
    color: #916b2c;
}
.ys-mobile-group__content {
    padding: 0.15rem 0 0.55rem 0.6rem;
    border-left: 2px solid #c8a876;
    margin-left: 0.9rem;
}
.ys-mobile-group__content .ys-mobile-link {
    font-weight: 600;
    padding: 0.7rem 0.9rem;
}
.ys-mobile-group__content .ys-nav-section-label {
    padding-top: 0.8rem;
}
.ys-mobile-link--button {
    border: 0;
    background: transparent;
    font-family: inherit;
    cursor: pointer;
}
.ys-navbar a:focus-visible,
.ys-navbar button:focus-visible,
.ys-navbar summary:focus-visible {
    outline: 2px solid #c8a876;
    outline-offset: 2px;
}
@media (max-width: 1120px) and (min-width: 1024px) {
    .ys-nav-link,
    .ys-nav-trigger {
        padding: 0.6rem 0.5rem;
        font-size: 0.78rem;
    }
}
@media (prefers-reduced-motion: reduce) {
    .ys-navbar .ys-nav-chevron,
    .ys-navbar .ys-nav-link,
    .ys-navbar .ys-nav-trigger {
        transition: none;
    }
}
/* Ajustes base independientes del build de Tailwind (útiles también en hosting compartido). */
.ys-navbar__shell {
    height: 68px;
}
@media (min-width: 1024px) {
    .ys-navbar__desktop {
        display: flex;
    }
    .ys-navbar__actions {
        display: flex;
    }
    .ys-mobile-toggle,
    .ys-mobile-menu {
        display: none !important;
    }
}
