/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2JL7SUc.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa0ZL7SUc.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2ZL7SUc.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1pL7SUc.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2pL7SUc.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7SUc.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2JL7SUc.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa0ZL7SUc.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2ZL7SUc.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1pL7SUc.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2pL7SUc.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7SUc.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2JL7SUc.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa0ZL7SUc.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2ZL7SUc.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1pL7SUc.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2pL7SUc.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7SUc.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2JL7SUc.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa0ZL7SUc.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2ZL7SUc.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1pL7SUc.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2pL7SUc.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7SUc.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/montserrat/v31/JTUSjIg1_i6t8kCHKm459WRhyzbi.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/montserrat/v31/JTUSjIg1_i6t8kCHKm459W1hyzbi.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/montserrat/v31/JTUSjIg1_i6t8kCHKm459WZhyzbi.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/montserrat/v31/JTUSjIg1_i6t8kCHKm459Wdhyzbi.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/montserrat/v31/JTUSjIg1_i6t8kCHKm459Wlhyw.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/montserrat/v31/JTUSjIg1_i6t8kCHKm459WRhyzbi.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/montserrat/v31/JTUSjIg1_i6t8kCHKm459W1hyzbi.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/montserrat/v31/JTUSjIg1_i6t8kCHKm459WZhyzbi.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/montserrat/v31/JTUSjIg1_i6t8kCHKm459Wdhyzbi.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/montserrat/v31/JTUSjIg1_i6t8kCHKm459Wlhyw.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


  :where(.nb-carcasa) {
    --green: #1FC77E;
    --ink: #111827;
    --muted: #6B7280;
    --muted-2: #94A3B8;
    --bg: #F9FAFB;
    --card: #FFFFFF;
    --border-color: #E5E7EB;
    --shadow: 0 10px 24px rgba(0, 0, 0, .06);
    --radius: 12px;
    --font-main: 'Inter', sans-serif;
    --font-title: 'Montserrat', sans-serif;
    --nav-height: 84px;
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.3s ease-in-out;
    --z-index-sticky: 100;
    --z-index-dropdown: 110;
    --z-index-overlay: 120;
  }

  :where(.nb-carcasa) *, :where(.nb-carcasa) *::before, :where(.nb-carcasa) *::after { box-sizing: border-box; margin: 0; padding: 0; }
  :where(.nb-carcasa) { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
  :where(.nb-carcasa) { font-family: var(--font-main); color: var(--ink); background-color: var(--bg); line-height: 1.6; display: flex; flex-direction: column; min-height: 100vh; }
  :where(.nb-carcasa) main { flex-grow: 1; }
  :where(.nb-carcasa) a { text-decoration: none; color: inherit; }
  :where(.nb-carcasa) button { cursor: pointer; font-family: inherit; border: none; background: none; }

    :where(.nb-carcasa) .navbar {
        position: sticky;
        top: 0;
        z-index: var(--z-index-sticky);
        width: 100%;
        background: #FFFFFF; /* Fondo blanco sólido */
        border-bottom: 1px solid var(--border-color);
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 clamp(calc(1 * var(--nb-carcasa-rem, 1rem)), 4vw, calc(3 * var(--nb-carcasa-rem, 1rem)));
        height: var(--nav-height);
    }
  :where(.nb-carcasa) .logo-img { height: 48px; display: block; transition: opacity var(--transition-fast); }
  :where(.nb-carcasa) .logo-img:hover { opacity: .85; }

  :where(.nb-carcasa) .nav-links { display: flex; align-items: center; gap: clamp(calc(1 * var(--nb-carcasa-rem, 1rem)), 2vw, calc(1.8 * var(--nb-carcasa-rem, 1rem))); }
  :where(.nb-carcasa) .nav-item { font-weight: 600; font-size: calc(1 * var(--nb-carcasa-rem, 1rem)); color: var(--ink); padding: calc(.5 * var(--nb-carcasa-rem, 1rem)) 0; position: relative; transition: color var(--transition-fast); }
  :where(.nb-carcasa) .nav-item::after { content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--green); transition: width var(--transition-smooth); }
  :where(.nb-carcasa) .nav-item:hover::after { width: 100%; }

  :where(.nb-carcasa) .dropdown { position: relative; }
  /* No hover/absolute dropdown here; :where(.nb-carcasa) se separa por breakpoint */
  .dropdown-toggle { display: flex; align-items: center; gap: calc(.4 * var(--nb-carcasa-rem, 1rem)); cursor: pointer; font: inherit; color: inherit; }
  :where(.nb-carcasa) .icon-svg { width: 1em; height: 1em; display: inline-block; vertical-align: -.125em; flex-shrink: 0; }
  :where(.nb-carcasa) .dropdown-toggle .icon-chevron { width: .8em; height: .8em; color: var(--muted); transition: transform var(--transition-smooth), color var(--transition-fast); }

  :where(.nb-carcasa) .dropdown-group .group-title {
    font-size: calc(.8 * var(--nb-carcasa-rem, 1rem)); font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
    color: var(--muted-2); margin-bottom: calc(.75 * var(--nb-carcasa-rem, 1rem));
  }
  :where(.nb-carcasa) .dropdown-link {
    display: block; padding: calc(.6 * var(--nb-carcasa-rem, 1rem)); margin: 0 -.6rem; border-radius: 8px;
    color: var(--ink); font-size: calc(1 * var(--nb-carcasa-rem, 1rem)); font-weight: 600; transition: background var(--transition-fast), transform var(--transition-fast);
  }
  :where(.nb-carcasa) .dropdown-link:hover { background: #F0F2F5; transform: translateX(4px); }

  :where(.nb-carcasa) .auth-links { display: flex; align-items: center; gap: calc(1 * var(--nb-carcasa-rem, 1rem)); margin-left: calc(1.5 * var(--nb-carcasa-rem, 1rem)); }
  :where(.nb-carcasa) .auth-item { font-weight: 600; font-size: calc(.95 * var(--nb-carcasa-rem, 1rem)); padding: calc(.6 * var(--nb-carcasa-rem, 1rem)) calc(1.2 * var(--nb-carcasa-rem, 1rem)); border-radius: 999px; border: 1px solid #D1D5DB; color: var(--ink); white-space: nowrap; transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast); }
  :where(.nb-carcasa) .auth-item:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

  :where(.nb-carcasa) .hamburger-menu { display: none; width: 28px; height: 22px; position: relative; cursor: pointer; z-index: var(--z-index-overlay); padding: 0; }
  :where(.nb-carcasa) .hamburger-menu span { position: absolute; left: 0; width: 100%; height: 3px; border-radius: 3px; background: var(--ink); transition: transform var(--transition-smooth), opacity var(--transition-smooth); transform-origin: center; }
  :where(.nb-carcasa) .hamburger-menu span:nth-child(1) { top: 0; }
  :where(.nb-carcasa) .hamburger-menu span:nth-child(2) { top: 50%; transform: translateY(-50%); }
  :where(.nb-carcasa) .hamburger-menu span:nth-child(3) { bottom: 0; }
  :where(.nb-carcasa) .hamburger-menu.is-active span:nth-child(1) { transform: translateY(9.5px) rotate(45deg); }
  :where(.nb-carcasa) .hamburger-menu.is-active span:nth-child(2) { opacity: 0; }
  :where(.nb-carcasa) .hamburger-menu.is-active span:nth-child(3) { transform: translateY(-9.5px) rotate(-45deg); }

  /* ========= SOLO ESCRITORIO ========= */
  @media (min-width: 1200px) {
    :where(.nb-carcasa) .dropdown::before {
      content: ''; position: absolute; top: 100%; left: 0; right: 0; height: 15px; background: transparent;
    }
    :where(.nb-carcasa) .dropdown-content {
      position: absolute; top: calc(100% + 15px); left: 0; transform: translateY(10px); z-index: var(--z-index-dropdown);
      min-width: 680px; max-width: 80vw; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
      max-height: calc(100dvh - var(--nav-height) - calc(2 * var(--nb-carcasa-rem, 1rem))); overflow-y: auto;
      border: 1px solid var(--border-color); border-radius: var(--radius); box-shadow: 0 16px 32px rgba(0, 0, 0, 0.1);
      display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: calc(1.5 * var(--nb-carcasa-rem, 1rem)) calc(2 * var(--nb-carcasa-rem, 1rem)); padding: calc(1.5 * var(--nb-carcasa-rem, 1rem)) calc(2 * var(--nb-carcasa-rem, 1rem));
      opacity: 0; visibility: hidden; pointer-events: none; transform-origin: top center;
      transition: opacity var(--transition-smooth), transform var(--transition-smooth), visibility var(--transition-smooth);
    }
    :where(.nb-carcasa) .dropdown:hover .dropdown-content, :where(.nb-carcasa) .dropdown:focus-within .dropdown-content {
      opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0);
    }
    :where(.nb-carcasa) .dropdown:hover .dropdown-toggle .icon-chevron, :where(.nb-carcasa) .dropdown:focus-within .dropdown-toggle .icon-chevron {
      transform: rotate(180deg); color: var(--ink);
    }
  }

  /* ========= MÓVIL ========= */
  @media (max-width: 1199px) {
    :where(.nb-carcasa) .hamburger-menu { display: block; }

    :where(.nb-carcasa) .nav-links {
      position: fixed;
      top: var(--nav-height);
      left: 0;
      width: 100%;
      height: calc(100vh - var(--nav-height));
      background: var(--card);
      flex-direction: column;
      align-items: flex-start;
      padding: calc(1 * var(--nb-carcasa-rem, 1rem));
      gap: 0;
      transform: translateX(-100%);
      transition: transform var(--transition-smooth);
      overflow-y: auto;
      overflow-x: hidden; /* evita desplazamiento lateral */
    }
    :where(.nb-carcasa) .nav-links.is-active { transform: translateX(0); }

    :where(.nb-carcasa) .nav-item {
      width: 100%;
      padding: calc(1 * var(--nb-carcasa-rem, 1rem)) calc(.5 * var(--nb-carcasa-rem, 1rem));
      border-bottom: 1px solid #F1F5F9;
    }
    :where(.nb-carcasa) .nav-item:hover::after { display: none; }

    :where(.nb-carcasa) .auth-links { display: none; }

    /* Dropdown móvil */
    :where(.nb-carcasa) .nav-item.dropdown { padding: 0; }
    :where(.nb-carcasa) .dropdown-toggle {
      width: 100%;
      justify-content: space-between;
      padding: calc(1 * var(--nb-carcasa-rem, 1rem)) calc(.5 * var(--nb-carcasa-rem, 1rem));
    }
    :where(.nb-carcasa) .dropdown-content {
      position: static;
      transform: none;
      opacity: 1;
      visibility: visible;
      pointer-events: auto;
      box-shadow: none;
      border: none;
      background: transparent;

      width: 100%;
      box-sizing: border-box;
      padding: calc(.25 * var(--nb-carcasa-rem, 1rem)) calc(1 * var(--nb-carcasa-rem, 1rem));   /* indentación del contenido */
      grid-template-columns: 1fr;
      gap: calc(.5 * var(--nb-carcasa-rem, 1rem));
      min-width: 0;
      max-width: 100%;
      display: none;          /* se abre con .is-open */
    }
    :where(.nb-carcasa) .dropdown-content .dropdown-group { padding-left: 0; }
    :where(.nb-carcasa) .dropdown-link { margin: 0; padding-left: 0; padding-right: 0; }

    :where(.nb-carcasa) .dropdown-content.is-open { display: grid; }

    /* El hover de escritorio solo aplica a partir de 1200px. */
    :where(.nb-carcasa) .dropdown:hover .dropdown-toggle .icon-chevron { transform: none; }
    :where(.nb-carcasa) .dropdown-toggle.is-active .icon-chevron { transform: rotate(180deg); }
  }

  /* ========= FOOTER con enlaces a las secciones clave ========= */
  :where(.nb-carcasa) .footer {
    margin-top: calc(4 * var(--nb-carcasa-rem, 1rem)); background: var(--bg); border-top: 1px solid var(--border-color);
    padding: calc(2.5 * var(--nb-carcasa-rem, 1rem)) calc(1.5 * var(--nb-carcasa-rem, 1rem)) calc(2 * var(--nb-carcasa-rem, 1rem)); font-size: calc(.9 * var(--nb-carcasa-rem, 1rem)); color: var(--muted);
  }
  :where(.nb-carcasa) .footer-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: calc(1.75 * var(--nb-carcasa-rem, 1rem)) calc(2 * var(--nb-carcasa-rem, 1rem));
    max-width: 1100px; margin: 0 auto calc(1.75 * var(--nb-carcasa-rem, 1rem)); text-align: left;
  }
  :where(.nb-carcasa) .footer-col h2 { font-size: calc(.8 * var(--nb-carcasa-rem, 1rem)); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: calc(.6 * var(--nb-carcasa-rem, 1rem)); }
  :where(.nb-carcasa) .footer-col p { font-size: calc(.88 * var(--nb-carcasa-rem, 1rem)); line-height: 1.55; }
  :where(.nb-carcasa) .footer-col ul { list-style: none; display: grid; gap: calc(.35 * var(--nb-carcasa-rem, 1rem)); }
  :where(.nb-carcasa) .footer-link { font-weight: 600; color: var(--ink); transition: color var(--transition-fast); }
  :where(.nb-carcasa) .footer-link:hover { color: var(--green); text-decoration: underline; }
  :where(.nb-carcasa) .footer-bottom { text-align: center; border-top: 1px solid var(--border-color); padding-top: calc(1.25 * var(--nb-carcasa-rem, 1rem)); }
  :where(.nb-carcasa) .footer-acknowledgment {
    margin: calc(1 * var(--nb-carcasa-rem, 1rem)) auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: calc(1 * var(--nb-carcasa-rem, 1rem));
    font-size: calc(.78 * var(--nb-carcasa-rem, 1rem));
    color: var(--muted); /* contraste 4.7:1 sobre el fondo (antes #94A3B8 con opacidad, ilegible) */
    flex-wrap: wrap;
    line-height: 1.5;
    max-width: 640px;
  }
  :where(.nb-carcasa) .footer-acknowledgment img {
    width: auto;
    height: auto;
    max-height: 42px;
    max-width: 100%;
    object-fit: contain;
    opacity: .75;
    filter: grayscale(.35);
  }

  :where(.nb-carcasa) .cookie-banner {
    position: fixed; left: calc(1.5 * var(--nb-carcasa-rem, 1rem)); bottom: calc(1.5 * var(--nb-carcasa-rem, 1rem)); z-index: var(--z-index-overlay);
    background: var(--ink); color: #fff; padding: calc(1 * var(--nb-carcasa-rem, 1rem)) calc(1.5 * var(--nb-carcasa-rem, 1rem)); border-radius: var(--radius);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2); display: flex; gap: calc(1.5 * var(--nb-carcasa-rem, 1rem));
    align-items: center; justify-content: space-between; max-width: 720px;
    margin: 0 auto; right: calc(1.5 * var(--nb-carcasa-rem, 1rem)); transform: translateY(200%); transition: transform var(--transition-smooth);
  }
  :where(.nb-carcasa) .cookie-banner.is-visible { transform: translateY(0); }
  :where(.nb-carcasa) .cookie-banner p { font-size: calc(.9 * var(--nb-carcasa-rem, 1rem)); margin: 0; }
  :where(.nb-carcasa) .cookie-banner a { color: var(--green); font-weight: 600; text-decoration: underline; }
  :where(.nb-carcasa) .cookie-banner .btn-accept {
    background: var(--green); color: var(--ink); border-radius: 999px; padding: calc(.6 * var(--nb-carcasa-rem, 1rem)) calc(1.2 * var(--nb-carcasa-rem, 1rem)); font-weight: 700;
    font-weight: 700; white-space: nowrap; transition: background-color var(--transition-fast);
  }
  :where(.nb-carcasa) .cookie-banner .btn-accept:hover { background-color: #1ab36f; }

  @media (max-width: 640px) {
    :where(.nb-carcasa) .cookie-banner { flex-direction: column; align-items: stretch; text-align: center; gap: calc(1 * var(--nb-carcasa-rem, 1rem)); }
    :where(.nb-carcasa) .cookie-banner .btn-accept { width: 100%; }
  }

  /* ========= Bloques reutilizables de enlazado interno ========= */
  :where(.nb-carcasa) .related-box {
    max-width: 1100px; margin: calc(2.5 * var(--nb-carcasa-rem, 1rem)) auto 0; padding: calc(1.5 * var(--nb-carcasa-rem, 1rem)) clamp(calc(1 * var(--nb-carcasa-rem, 1rem)), 3vw, calc(2 * var(--nb-carcasa-rem, 1rem)));
    background: var(--card); border: 1px solid var(--border-color); border-radius: var(--radius); box-shadow: var(--shadow);
  }
  :where(.nb-carcasa) .related-box h2 { font-size: calc(1.15 * var(--nb-carcasa-rem, 1rem)); margin-bottom: calc(.35 * var(--nb-carcasa-rem, 1rem)); color: var(--ink); }
  :where(.nb-carcasa) .related-box > p { color: var(--muted); font-size: calc(.95 * var(--nb-carcasa-rem, 1rem)); margin-bottom: calc(1 * var(--nb-carcasa-rem, 1rem)); }
  :where(.nb-carcasa) .related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: calc(.75 * var(--nb-carcasa-rem, 1rem)) calc(1 * var(--nb-carcasa-rem, 1rem)); }
  :where(.nb-carcasa) .related-grid a { display: block; padding: calc(.8 * var(--nb-carcasa-rem, 1rem)) calc(.9 * var(--nb-carcasa-rem, 1rem)); border: 1px solid var(--border-color); border-radius: 10px; background: #fff; transition: border-color var(--transition-fast), transform var(--transition-fast); }
  :where(.nb-carcasa) .related-grid a:hover { border-color: var(--green); transform: translateY(-2px); }
  :where(.nb-carcasa) .related-grid strong { display: block; color: var(--ink); font-size: calc(.98 * var(--nb-carcasa-rem, 1rem)); }
  :where(.nb-carcasa) .related-grid span { display: block; color: var(--muted); font-size: calc(.85 * var(--nb-carcasa-rem, 1rem)); margin-top: calc(.2 * var(--nb-carcasa-rem, 1rem)); line-height: 1.4; }
  :where(.nb-carcasa) .seo-breadcrumb { font-size: calc(.9 * var(--nb-carcasa-rem, 1rem)); color: var(--muted); margin: 0 0 calc(1 * var(--nb-carcasa-rem, 1rem)); }
  :where(.nb-carcasa) .seo-breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: calc(.35 * var(--nb-carcasa-rem, 1rem)); }
  :where(.nb-carcasa) .seo-breadcrumb li + li::before { content: "›"; margin-right: calc(.35 * var(--nb-carcasa-rem, 1rem)); color: var(--muted-2); }
  :where(.nb-carcasa) .seo-breadcrumb a { color: var(--green); font-weight: 600; }
  :where(.nb-carcasa) .seo-breadcrumb a:hover { text-decoration: underline; }

/* cyrillic-ext */
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/caveat/v23/WnznHAc5bAfYB2QRah7pcpNvOx-pjfJ9eIipYSxP.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/caveat/v23/WnznHAc5bAfYB2QRah7pcpNvOx-pjfJ9eIGpYSxP.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/caveat/v23/WnznHAc5bAfYB2QRah7pcpNvOx-pjfJ9eIupYSxP.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/caveat/v23/WnznHAc5bAfYB2QRah7pcpNvOx-pjfJ9eIWpYQ.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


  /* Pizarra viva: tinta de la marca, papel y una sola tinta de anotación. */
  :where(.nb-carcasa) main {
    --paper: #f7f6f0;
    --chalk: #f5f5ee;
    --annotation: #1FC77E;
    --paper-green: #08754a;
    --paper-muted: #505951;
    --board-muted: #c1ccc8;
    --rule: rgb(17 24 39 / .18);
    --primary-color: var(--paper-green);
    --border-color: #b6bdb4;
    background: var(--paper);
    color: var(--ink);
  }
  :where(.nb-carcasa) main ::selection { background: var(--annotation); color: var(--ink); }
  :where(.nb-carcasa) main :is(h1, h2, h3) { font-family: var(--font-title); font-style: normal; text-wrap: balance; }
  :where(.nb-carcasa) main :is(a, button, input, textarea):focus-visible {
    outline: 3px solid var(--paper-green);
    outline-offset: 5px;
  }
  :where(.nb-carcasa) main :is(input, textarea) { caret-color: var(--paper-green); }
  :where(.nb-carcasa) .container { width: min(100% - calc(3 * var(--nb-carcasa-rem, 1rem)), 1240px); margin-inline: auto; }
  :where(.nb-carcasa) .section { padding-block: clamp(calc(4 * var(--nb-carcasa-rem, 1rem)), 7.5vw, calc(7.5 * var(--nb-carcasa-rem, 1rem))); scroll-margin-top: calc(var(--nav-height) + calc(1 * var(--nb-carcasa-rem, 1rem))); }
  :where(.nb-carcasa) .section--alt, :where(.nb-carcasa) #recursos-gratis {
    background-color: var(--paper);
    background-image: linear-gradient(rgb(17 24 39 / .035) 1px, transparent 1px), linear-gradient(90deg, rgb(17 24 39 / .035) 1px, transparent 1px);
    background-size: 32px 32px;
  }
  :where(.nb-carcasa) .section__head { max-width: 760px; margin-bottom: clamp(calc(2.5 * var(--nb-carcasa-rem, 1rem)), 5vw, calc(4 * var(--nb-carcasa-rem, 1rem))); text-align: left; }
  :where(.nb-carcasa) .section__mark { display: block; width: fit-content; margin-bottom: calc(1.15 * var(--nb-carcasa-rem, 1rem)); color: var(--paper-green); font-size: calc(.8 * var(--nb-carcasa-rem, 1rem)); font-weight: 800; letter-spacing: .08em; transform: rotate(-7deg); }
  :where(.nb-carcasa) .section__mark::after { content: ''; display: inline-block; width: 40px; margin: 0 0 .25em calc(.8 * var(--nb-carcasa-rem, 1rem)); border-top: 1px solid currentColor; transform: rotate(4deg); }
  :where(.nb-carcasa) .section__title { font-size: clamp(calc(2 * var(--nb-carcasa-rem, 1rem)), 4.1vw, calc(3.75 * var(--nb-carcasa-rem, 1rem))); line-height: 1.1; letter-spacing: -.035em; font-weight: 800; margin: 0 0 calc(1.25 * var(--nb-carcasa-rem, 1rem)); }
  :where(.nb-carcasa) .section__subtitle { max-width: 62ch; font-size: calc(1.05 * var(--nb-carcasa-rem, 1rem)); line-height: 1.75; color: var(--paper-muted); }
  /* El contenido permanece visible incluso sin JavaScript. */
  :where(.nb-carcasa) .fade-in, :where(.nb-carcasa) .visible { opacity: 1; }
  :where(.nb-carcasa) .btn { display: inline-flex; min-height: 54px; align-items: center; justify-content: center; gap: calc(.8 * var(--nb-carcasa-rem, 1rem)); padding: calc(.9 * var(--nb-carcasa-rem, 1rem)) calc(1.5 * var(--nb-carcasa-rem, 1rem)); border: 1px solid transparent; border-radius: 3px; font: 700 calc(1 * var(--nb-carcasa-rem, 1rem))/1.45 var(--font-main); text-align: center; cursor: pointer; transition: transform .2s ease, opacity .2s ease; }
  :where(.nb-carcasa) .btn-primary { background: var(--annotation); color: var(--ink); }
  :where(.nb-carcasa) .btn-primary:hover { transform: translateY(-2px); }
  :where(.nb-carcasa) .btn:disabled { opacity: .6; cursor: wait; transform: none; }
  :where(.nb-carcasa) .btn-primary .icon-svg { width: 1.2em; height: 1.2em; }
  :where(.nb-carcasa) .link, :where(.nb-carcasa) .terms a { color: var(--paper-green); font-weight: 700; text-decoration: underline; text-underline-offset: .2em; }
  :where(.nb-carcasa) .help { color: var(--paper-muted); font-size: calc(.875 * var(--nb-carcasa-rem, 1rem)); line-height: 1.6; }
  :where(.nb-carcasa) .error { color: #b22436; }
  :where(.nb-carcasa) .success { color: var(--paper-green); }

  /* El texto ocupa el centro útil; :where(.nb-carcasa) las anotaciones viven en los márgenes. */
  .hero { position: relative; isolation: isolate; overflow: hidden; overflow-x: clip; background: var(--ink); color: var(--chalk); }
  :where(.nb-carcasa) .hero::before { content: ''; position: absolute; inset: 0; z-index: -2; pointer-events: none; background-image: linear-gradient(rgb(245 245 238 / .05) 1px, transparent 1px), linear-gradient(90deg, rgb(245 245 238 / .05) 1px, transparent 1px); background-size: 36px 36px; -webkit-mask-image: radial-gradient(ellipse at 50% 45%, #000 20%, transparent 76%); mask-image: radial-gradient(ellipse at 50% 45%, #000 20%, transparent 76%); }
  :where(.nb-carcasa) .hero__layout { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(calc(2 * var(--nb-carcasa-rem, 1rem)), 5vw, calc(5 * var(--nb-carcasa-rem, 1rem))); align-items: center; padding-block: calc(7 * var(--nb-carcasa-rem, 1rem)) calc(8 * var(--nb-carcasa-rem, 1rem)); }
  :where(.nb-carcasa) .hero__copy { position: relative; z-index: 2; min-width: 0; }
  :where(.nb-carcasa) .hero__title { max-width: 700px; margin: 0 0 calc(1.75 * var(--nb-carcasa-rem, 1rem)); color: var(--chalk); font-size: clamp(calc(2.5 * var(--nb-carcasa-rem, 1rem)), 4.15vw, calc(4.5 * var(--nb-carcasa-rem, 1rem))); font-weight: 800; line-height: 1.09; letter-spacing: -.04em; }
  :where(.nb-carcasa) .hero__free { position: relative; display: inline-block; white-space: nowrap; }
  :where(.nb-carcasa) .hero__underline { position: absolute; left: -3%; bottom: -.14em; width: 108%; height: .24em; overflow: visible; color: var(--annotation); }
  :where(.nb-carcasa) .hero__subtitle { max-width: 57ch; margin-bottom: calc(2 * var(--nb-carcasa-rem, 1rem)); color: #d3ddd7; font-size: clamp(calc(1 * var(--nb-carcasa-rem, 1rem)), 1.3vw, calc(1.125 * var(--nb-carcasa-rem, 1rem))); line-height: 1.8; }
  :where(.nb-carcasa) .hero :is(a, button):focus-visible { outline-color: var(--annotation); }
  :where(.nb-carcasa) .chalkboard { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
  :where(.nb-carcasa) .chalk-plane { position: absolute; inset: 0; }
  :where(.nb-carcasa) .chalk-plane--far { --chalk-opacity: .11; filter: blur(.65px); }
  :where(.nb-carcasa) .chalk-plane--middle { --chalk-opacity: .17; filter: blur(.15px); }
  :where(.nb-carcasa) .chalk-plane--near { --chalk-opacity: .24; }
  :where(.nb-carcasa) .formula { position: absolute; left: var(--x); top: var(--y); width: var(--w); color: var(--chalk); opacity: var(--chalk-opacity); transition: opacity .35s ease; }
  :where(.nb-carcasa) .formula svg { display: block; width: 100%; height: auto; overflow: visible; }
  :where(.nb-carcasa) .formula text { font-family: 'Caveat', cursive; font-size: 30px; font-weight: 400; fill: currentColor; }
  :where(.nb-carcasa) .formula.is-lit { color: var(--annotation); opacity: .85; }
  :where(.nb-carcasa) .chalk-line, :where(.nb-carcasa) .hero__underline path { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
  :where(.nb-carcasa) .hero__underline path { stroke-width: 3; }
  :where(.nb-carcasa) .has-motion .chalk-line, :where(.nb-carcasa) .has-motion .hero__underline path { stroke-dasharray: 1; animation: chalk-write 1.8s ease-out var(--delay, .2s) both; }
  :where(.nb-carcasa) .has-motion .chalk-reveal { transform-box: fill-box; animation: chalk-reveal 1.7s cubic-bezier(.16, 1, .3, 1) var(--delay, .2s) both; }
  @keyframes chalk-write { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
  @keyframes chalk-reveal { from { transform: translateX(-102%); } to { transform: translateX(0); } }
  :where(.nb-carcasa) .hero.is-paused :is(.chalk-line, .chalk-reveal, .hero__underline path) { animation-play-state: paused; }
  :where(.nb-carcasa) .chalk-halo { position: absolute; left: -230px; top: -230px; width: 460px; height: 460px; background: radial-gradient(circle, rgb(31 199 126 / .075), transparent 68%); opacity: 0; transition: opacity .4s ease; }
  :where(.nb-carcasa) .hero.is-pointing .chalk-halo { opacity: 1; }

  /* Hojas de clase auténticas, sin interfaz inventada alrededor. */
  :where(.nb-carcasa) .lesson-stack { position: relative; z-index: 1; width: 100%; max-width: 440px; justify-self: end; min-width: 0; margin: 0; }
  :where(.nb-carcasa) .lesson-stack__sheets { position: relative; width: 100%; aspect-ratio: 1.26; margin-bottom: calc(2 * var(--nb-carcasa-rem, 1rem)); }
  :where(.nb-carcasa) .lesson-sheet { position: absolute; width: 92%; padding: calc(.5 * var(--nb-carcasa-rem, 1rem)) calc(.5 * var(--nb-carcasa-rem, 1rem)) calc(1.9 * var(--nb-carcasa-rem, 1rem)); border: 1px solid #c9cec7; border-radius: 2px; background: #fff; box-shadow: 0 7px 16px rgb(0 0 0 / .2); transform-origin: 50% 80%; transition: transform .65s cubic-bezier(.16, 1, .3, 1); }
  :where(.nb-carcasa) .lesson-sheet img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; }
  :where(.nb-carcasa) .lesson-sheet__label { position: absolute; bottom: calc(.4 * var(--nb-carcasa-rem, 1rem)); left: calc(.65 * var(--nb-carcasa-rem, 1rem)); color: var(--ink); font-size: calc(.65 * var(--nb-carcasa-rem, 1rem)); line-height: 1.4; font-weight: 700; letter-spacing: .04em; }
  :where(.nb-carcasa) .lesson-sheet--chemistry { top: 5%; left: 8%; z-index: 1; transform: rotate(10deg); }
  :where(.nb-carcasa) .lesson-sheet--physics { top: 13%; left: 4%; z-index: 2; transform: rotate(3deg); }
  :where(.nb-carcasa) .lesson-sheet--math { top: 25%; left: -1%; z-index: 3; transform: rotate(-5deg); }
  :where(.nb-carcasa) .lesson-sheet--math::before { content: ''; position: absolute; z-index: 1; width: 76px; height: 26px; top: -14px; left: 38%; background: rgb(245 245 238 / .76); transform: rotate(5deg); clip-path: polygon(3% 3%, 97% 0, 100% 92%, 1% 100%, 4% 72%, 0 38%); }
  :where(.nb-carcasa) .lesson-stack__caption { position: relative; display: flex; align-items: flex-start; gap: calc(.8 * var(--nb-carcasa-rem, 1rem)); min-height: 92px; border-top: 1px solid rgb(245 245 238 / .25); padding-top: calc(1.15 * var(--nb-carcasa-rem, 1rem)); font-size: calc(.85 * var(--nb-carcasa-rem, 1rem)); line-height: 1.7; color: var(--chalk); }
  :where(.nb-carcasa) .lesson-stack__speaker { flex-shrink: 0; color: var(--annotation); font-weight: 700; }
  :where(.nb-carcasa) .lesson-stack__sentence { max-width: 34ch; }
  :where(.nb-carcasa) .lesson-stack__sentence::after { content: ''; display: inline-block; height: 1em; margin-left: .15em; border-right: 1px solid var(--annotation); vertical-align: -.1em; }
  @media (hover: hover) and (pointer: fine) {
    :where(.nb-carcasa) .lesson-stack:hover .lesson-sheet--chemistry { transform: translate3d(8px, -28px, 0) rotate(14deg); }
    :where(.nb-carcasa) .lesson-stack:hover .lesson-sheet--physics { transform: translate3d(0, -14px, 0) rotate(5deg); }
    :where(.nb-carcasa) .lesson-stack:hover .lesson-sheet--math { transform: translate3d(-6px, 10px, 0) rotate(-7deg); }
  }

  /* Dos páginas abiertas del mismo cuaderno. Se conserva todo el HTML de los formularios. */
  :where(.nb-carcasa) .forms { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(calc(3 * var(--nb-carcasa-rem, 1rem)), 7vw, calc(7 * var(--nb-carcasa-rem, 1rem))); align-items: start; }
  :where(.nb-carcasa) .auth { min-width: 0; padding-block: calc(1.5 * var(--nb-carcasa-rem, 1rem)); border-top: 1px solid var(--rule); }
  :where(.nb-carcasa) .auth__head { margin-bottom: calc(1.75 * var(--nb-carcasa-rem, 1rem)); text-align: left; }
  :where(.nb-carcasa) .auth__title { font-size: clamp(calc(1.65 * var(--nb-carcasa-rem, 1rem)), 3vw, calc(2.3 * var(--nb-carcasa-rem, 1rem))); line-height: 1.2; letter-spacing: -.03em; margin: 0; }
  :where(.nb-carcasa) .auth__desc { margin-top: calc(.75 * var(--nb-carcasa-rem, 1rem)); color: var(--paper-muted); }
  :where(.nb-carcasa) .field { display: grid; gap: calc(.5 * var(--nb-carcasa-rem, 1rem)); margin-top: calc(1.25 * var(--nb-carcasa-rem, 1rem)); }
  :where(.nb-carcasa) .label { font-size: calc(.9 * var(--nb-carcasa-rem, 1rem)); font-weight: 700; }
  :where(.nb-carcasa) .input, :where(.nb-carcasa) textarea.form-input { width: 100%; min-width: 0; padding: calc(.9 * var(--nb-carcasa-rem, 1rem)) calc(1 * var(--nb-carcasa-rem, 1rem)); border: 1px solid #9fa99e; border-radius: 2px; background: rgb(255 255 255 / .75); color: var(--ink); font: 400 calc(1 * var(--nb-carcasa-rem, 1rem))/1.5 var(--font-main); }
  :where(.nb-carcasa) textarea.form-input { resize: vertical; }
  :where(.nb-carcasa) .input:focus, :where(.nb-carcasa) textarea.form-input:focus { outline: 2px solid var(--paper-green); outline-offset: 2px; }
  :where(.nb-carcasa) .input::placeholder, :where(.nb-carcasa) textarea.form-input::placeholder { color: #626b63; opacity: 1; }
  :where(.nb-carcasa) .links { margin-top: calc(1.25 * var(--nb-carcasa-rem, 1rem)); font-size: calc(.9 * var(--nb-carcasa-rem, 1rem)); }
  :where(.nb-carcasa) .terms { display: flex; gap: calc(.75 * var(--nb-carcasa-rem, 1rem)); align-items: flex-start; margin-top: calc(1.25 * var(--nb-carcasa-rem, 1rem)); font-size: calc(.875 * var(--nb-carcasa-rem, 1rem)); }
  :where(.nb-carcasa) .terms input { flex-shrink: 0; accent-color: var(--paper-green); }
  :where(.nb-carcasa) .help:empty { display: none; }

  /* Servicios: un artículo principal y cuatro notas de margen, separados por reglas. */
  :where(.nb-carcasa) #nuestros-servicios, :where(.nb-carcasa) #contacto, :where(.nb-carcasa) #faqs { background: var(--ink); color: var(--chalk); }
  :where(.nb-carcasa) :is(#nuestros-servicios, #contacto, #faqs) .section__mark { color: var(--annotation); }
  :where(.nb-carcasa) :is(#nuestros-servicios, #contacto, #faqs) .section__subtitle { color: var(--board-muted); }
  :where(.nb-carcasa) :is(#nuestros-servicios, #contacto, #faqs) :is(a, button, input, textarea):focus-visible { outline-color: var(--annotation); }
  :where(.nb-carcasa) .features-wrapper { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 calc(4 * var(--nb-carcasa-rem, 1rem)); }
  :where(.nb-carcasa) .feature-row { display: grid; grid-template-columns: minmax(0, 1fr) 90px; gap: calc(1.25 * var(--nb-carcasa-rem, 1rem)); align-items: start; border-top: 1px solid rgb(245 245 238 / .25); padding-block: calc(2.5 * var(--nb-carcasa-rem, 1rem)) calc(3 * var(--nb-carcasa-rem, 1rem)); }
  :where(.nb-carcasa) .feature-row:first-child { grid-column: 1 / -1; grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); gap: calc(4 * var(--nb-carcasa-rem, 1rem)); padding-block: calc(2.5 * var(--nb-carcasa-rem, 1rem)) calc(4 * var(--nb-carcasa-rem, 1rem)); }
  :where(.nb-carcasa) .feature-row__text { min-width: 0; }
  :where(.nb-carcasa) .feature-row__title { margin-bottom: calc(1.2 * var(--nb-carcasa-rem, 1rem)); font-size: clamp(calc(1.3 * var(--nb-carcasa-rem, 1rem)), 2vw, calc(1.65 * var(--nb-carcasa-rem, 1rem))); line-height: 1.3; letter-spacing: -.025em; }
  :where(.nb-carcasa) .feature-row:first-child .feature-row__title { max-width: 30ch; font-size: clamp(calc(1.7 * var(--nb-carcasa-rem, 1rem)), 3vw, calc(2.6 * var(--nb-carcasa-rem, 1rem))); line-height: 1.2; }
  :where(.nb-carcasa) .feature-row__text p { max-width: 65ch; color: var(--board-muted); font-size: calc(.975 * var(--nb-carcasa-rem, 1rem)); line-height: 1.85; }
  :where(.nb-carcasa) .feature-row__text a { color: var(--chalk); text-decoration: underline; text-decoration-color: var(--annotation); text-underline-offset: .22em; }
  :where(.nb-carcasa) .feature-row__image { color: var(--annotation); padding-top: calc(.4 * var(--nb-carcasa-rem, 1rem)); }
  :where(.nb-carcasa) .feature-row__image svg { display: block; width: 100%; height: auto; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
  :where(.nb-carcasa) .feature-row:first-child .feature-row__image { align-self: center; padding: calc(1 * var(--nb-carcasa-rem, 1rem)); }
  :where(.nb-carcasa) .feature-row__image .diagram-faint { opacity: .4; }

  /* Las prestaciones existentes se leen como un recorrido, sin añadir pasos ni promesas. */
  :where(.nb-carcasa) .pricing { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(calc(2.5 * var(--nb-carcasa-rem, 1rem)), 7vw, calc(7 * var(--nb-carcasa-rem, 1rem))); }
  :where(.nb-carcasa) .pricing .section__head { margin-bottom: 0; }
  :where(.nb-carcasa) .pricing__card { position: relative; min-width: 0; padding-top: calc(1.5 * var(--nb-carcasa-rem, 1rem)); border-top: 1px solid var(--rule); }
  :where(.nb-carcasa) .pricing__title { font-size: clamp(calc(1.65 * var(--nb-carcasa-rem, 1rem)), 2.6vw, calc(2.1 * var(--nb-carcasa-rem, 1rem))); line-height: 1.25; letter-spacing: -.03em; margin-bottom: calc(.75 * var(--nb-carcasa-rem, 1rem)); }
  :where(.nb-carcasa) .pricing__desc { color: var(--paper-muted); }
  :where(.nb-carcasa) .pricing__journey { position: relative; margin-top: calc(2 * var(--nb-carcasa-rem, 1rem)); }
  :where(.nb-carcasa) .pricing__list { position: relative; list-style: none; padding: 0; }
  :where(.nb-carcasa) .plan-route { position: absolute; top: 0; left: 0; width: 36px; height: 100%; color: var(--paper-green); opacity: .6; overflow: visible; }
  :where(.nb-carcasa) .plan-route path { fill: none; stroke: currentColor; stroke-width: 1.2; stroke-dasharray: 3 6; stroke-linecap: round; vector-effect: non-scaling-stroke; }
  :where(.nb-carcasa) .pricing__item { position: relative; display: flex; gap: calc(1.25 * var(--nb-carcasa-rem, 1rem)); align-items: center; min-height: 75px; padding-block: calc(1.1 * var(--nb-carcasa-rem, 1rem)); font-size: calc(1.05 * var(--nb-carcasa-rem, 1rem)); line-height: 1.65; }
  :where(.nb-carcasa) .pricing__item .icon-svg { flex-shrink: 0; width: 28px; height: 28px; padding: 3px; color: var(--paper-green); background: var(--paper); }
  :where(.nb-carcasa) .pricing__item:nth-of-type(even) { margin-left: 8px; }
  :where(.nb-carcasa) .status { margin-top: calc(1 * var(--nb-carcasa-rem, 1rem)); font-weight: 700; color: var(--paper-green); }

  :where(.nb-carcasa) #contacto { background-image: none; }
  :where(.nb-carcasa) #contacto .contact { width: min(100% - calc(3 * var(--nb-carcasa-rem, 1rem)), 1240px); max-width: 1240px !important; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(calc(2.5 * var(--nb-carcasa-rem, 1rem)), 7vw, calc(7 * var(--nb-carcasa-rem, 1rem))); }
  :where(.nb-carcasa) #contacto .auth { border-color: rgb(245 245 238 / .25); }
  :where(.nb-carcasa) #contacto .input, :where(.nb-carcasa) #contacto textarea.form-input { color: var(--chalk); border-color: #73827d; background: rgb(245 245 238 / .035); caret-color: var(--annotation); }
  :where(.nb-carcasa) #contacto :is(.input, textarea.form-input)::placeholder { color: #b7c5bd; }
  :where(.nb-carcasa) #contacto :is(.input, textarea.form-input):focus { outline-color: var(--annotation); }
  :where(.nb-carcasa) #contacto .help { color: var(--board-muted); }
  :where(.nb-carcasa) #contacto .error { color: #ffb1b9; }
  :where(.nb-carcasa) #contacto .success { color: var(--annotation); }

  /* Índice de recursos, sin contenedores de tarjeta. */
  :where(.nb-carcasa) #recursos-gratis .related-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 calc(2.5 * var(--nb-carcasa-rem, 1rem)); margin-bottom: calc(3 * var(--nb-carcasa-rem, 1rem)) !important; }
  :where(.nb-carcasa) #recursos-gratis .related-grid a { min-width: 0; padding: calc(1.25 * var(--nb-carcasa-rem, 1rem)) 0 calc(1.75 * var(--nb-carcasa-rem, 1rem)); border: 0; border-top: 1px solid var(--rule); border-radius: 0; background: transparent; transition: transform .2s ease; }
  :where(.nb-carcasa) #recursos-gratis .related-grid a:hover { transform: translateX(3px); }
  :where(.nb-carcasa) #recursos-gratis .related-grid strong { font-size: calc(1.05 * var(--nb-carcasa-rem, 1rem)); line-height: 1.5; }
  :where(.nb-carcasa) #recursos-gratis .related-grid span { margin-top: calc(.65 * var(--nb-carcasa-rem, 1rem)); color: var(--paper-muted); font-size: calc(.9 * var(--nb-carcasa-rem, 1rem)); line-height: 1.75; }
  :where(.nb-carcasa) #recursos-gratis .related-grid a:hover strong { text-decoration: underline; text-decoration-color: var(--paper-green); text-underline-offset: .2em; }
  :where(.nb-carcasa) #recursos-gratis h3 { font-family: var(--font-main); }

  :where(.nb-carcasa) .faq { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(calc(2.5 * var(--nb-carcasa-rem, 1rem)), 6vw, calc(6 * var(--nb-carcasa-rem, 1rem))); }
  :where(.nb-carcasa) .faq__list { min-width: 0; border-top: 1px solid rgb(245 245 238 / .25); }
  :where(.nb-carcasa) .faq__item { border-bottom: 1px solid rgb(245 245 238 / .25); }
  :where(.nb-carcasa) .faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: calc(1.5 * var(--nb-carcasa-rem, 1rem)); padding: calc(1.5 * var(--nb-carcasa-rem, 1rem)) 0; text-align: left; color: var(--chalk); font-size: calc(1 * var(--nb-carcasa-rem, 1rem)); font-weight: 600; line-height: 1.65; }
  :where(.nb-carcasa) .faq__q .icon-svg { flex-shrink: 0; width: 20px; height: 20px; color: var(--annotation); transition: transform .2s ease; }
  :where(.nb-carcasa) .faq__q:hover { color: var(--annotation); }
  :where(.nb-carcasa) .faq__a { display: none; }
  :where(.nb-carcasa) .faq__item.open .faq__a { display: block; }
  :where(.nb-carcasa) .faq__a p { margin: 0; padding: 0 calc(2 * var(--nb-carcasa-rem, 1rem)) calc(1.75 * var(--nb-carcasa-rem, 1rem)) 0; color: var(--board-muted); font-size: calc(.95 * var(--nb-carcasa-rem, 1rem)); line-height: 1.85; }
  :where(.nb-carcasa) .faq__a a { color: var(--chalk); text-decoration: underline; text-underline-offset: .2em; }
  :where(.nb-carcasa) .faq__item.open .faq__q .icon-svg { transform: rotate(135deg); }

  :where(.nb-carcasa) .modal { position: fixed; inset: 0; z-index: 1000; display: none; align-items: center; justify-content: center; background: rgb(17 24 39 / .75); padding: calc(1 * var(--nb-carcasa-rem, 1rem)); }
  :where(.nb-carcasa) .modal.active { display: flex; }
  :where(.nb-carcasa) .modal__content { width: 100%; max-width: 520px; max-height: calc(100dvh - calc(2 * var(--nb-carcasa-rem, 1rem))); overflow-y: auto; padding: calc(2.5 * var(--nb-carcasa-rem, 1rem)); background: var(--paper); color: var(--ink); border-radius: 3px; box-shadow: 0 12px 30px rgb(0 0 0 / .2); }
  :where(.nb-carcasa) .modal__title { font-size: calc(1.5 * var(--nb-carcasa-rem, 1rem)); }
  :where(.nb-carcasa) .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

  @media (max-width: 1100px) {
    :where(.nb-carcasa) .hero__layout { gap: calc(2 * var(--nb-carcasa-rem, 1rem)); grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
    :where(.nb-carcasa) .hero__title { font-size: clamp(calc(2.45 * var(--nb-carcasa-rem, 1rem)), 4.3vw, calc(3 * var(--nb-carcasa-rem, 1rem))); }
    :where(.nb-carcasa) .lesson-stack__caption { flex-direction: column; gap: calc(.2 * var(--nb-carcasa-rem, 1rem)); min-height: 115px; }
    :where(.nb-carcasa) .features-wrapper { column-gap: calc(2.5 * var(--nb-carcasa-rem, 1rem)); }
    :where(.nb-carcasa) .feature-row { grid-template-columns: minmax(0, 1fr) 65px; gap: calc(1 * var(--nb-carcasa-rem, 1rem)); }
    :where(.nb-carcasa) .faq { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: calc(2.5 * var(--nb-carcasa-rem, 1rem)); }
  }
  @media (max-width: 768px) {
    :where(.nb-carcasa) .container, :where(.nb-carcasa) #contacto .contact { width: calc(100% - calc(2.5 * var(--nb-carcasa-rem, 1rem))); }
    :where(.nb-carcasa) .hero__layout { grid-template-columns: minmax(0, 1fr); gap: calc(2.25 * var(--nb-carcasa-rem, 1rem)); padding-block: calc(4.5 * var(--nb-carcasa-rem, 1rem)) calc(3 * var(--nb-carcasa-rem, 1rem)); }
    :where(.nb-carcasa) .hero__title { max-width: 650px; font-size: clamp(calc(2 * var(--nb-carcasa-rem, 1rem)), 6.2vw, calc(3.25 * var(--nb-carcasa-rem, 1rem))); line-height: 1.12; }
    :where(.nb-carcasa) .hero__subtitle { max-width: 60ch; font-size: calc(1 * var(--nb-carcasa-rem, 1rem)); }
    :where(.nb-carcasa) .hero__copy .btn { width: 100%; max-width: 380px; }
    :where(.nb-carcasa) .lesson-stack { width: 85%; max-width: 330px; justify-self: center; }
    :where(.nb-carcasa) .lesson-stack__sheets { aspect-ratio: 1.55; }
    :where(.nb-carcasa) .lesson-sheet--chemistry { display: none; }
    :where(.nb-carcasa) .lesson-sheet--physics { top: 0; left: 5%; transform: rotate(5deg); }
    :where(.nb-carcasa) .lesson-sheet--math { top: 12%; left: 0; transform: rotate(-4deg); }
    :where(.nb-carcasa) .lesson-stack__caption { min-height: 100px; padding-top: calc(1 * var(--nb-carcasa-rem, 1rem)); font-size: calc(.8 * var(--nb-carcasa-rem, 1rem)); }
    :where(.nb-carcasa) .chalk-plane { transform: none !important; filter: none; }
    :where(.nb-carcasa) .formula { display: none; }
    :where(.nb-carcasa) .formula--derivative { display: block; --x: 4% !important; --y: 1% !important; --w: 200px !important; }
    :where(.nb-carcasa) .formula--snell { display: block; --x: 60% !important; --y: 2% !important; --w: 200px !important; }
    :where(.nb-carcasa) .formula--benzene { display: block; --x: 86% !important; --y: 72% !important; --w: 65px !important; }
    :where(.nb-carcasa) .formula--ph { display: block; --x: 3% !important; --y: 94% !important; --w: 150px !important; }
    :where(.nb-carcasa) .formula--wave { display: block; --x: 70% !important; --y: 94% !important; --w: 100px !important; }
    :where(.nb-carcasa) .chalk-halo { display: none; }
    :where(.nb-carcasa) .forms, :where(.nb-carcasa) .pricing, :where(.nb-carcasa) #contacto .contact, :where(.nb-carcasa) .faq { grid-template-columns: minmax(0, 1fr); gap: calc(3 * var(--nb-carcasa-rem, 1rem)); }
    :where(.nb-carcasa) .auth { padding-top: calc(1.5 * var(--nb-carcasa-rem, 1rem)); }
    :where(.nb-carcasa) .feature-row:first-child { grid-template-columns: minmax(0, 1fr) 140px; gap: calc(2 * var(--nb-carcasa-rem, 1rem)); }
    :where(.nb-carcasa) .feature-row:first-child .feature-row__image { padding: 0; }
    :where(.nb-carcasa) .features-wrapper { grid-template-columns: minmax(0, 1fr); }
    :where(.nb-carcasa) .feature-row, :where(.nb-carcasa) .feature-row:first-child { grid-column: auto; padding-block: calc(2 * var(--nb-carcasa-rem, 1rem)) calc(2.5 * var(--nb-carcasa-rem, 1rem)); }
    :where(.nb-carcasa) .feature-row { grid-template-columns: minmax(0, 1fr) 80px; gap: calc(1.5 * var(--nb-carcasa-rem, 1rem)); }
    :where(.nb-carcasa) .feature-row__title { font-size: calc(1.4 * var(--nb-carcasa-rem, 1rem)); }
    :where(.nb-carcasa) #recursos-gratis .related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 calc(1.5 * var(--nb-carcasa-rem, 1rem)); }
    :where(.nb-carcasa) .faq .section__head, :where(.nb-carcasa) #contacto .section__head { margin-bottom: 0; }
  }
  @media (max-width: 480px) {
    :where(.nb-carcasa) .container, :where(.nb-carcasa) #contacto .contact { width: calc(100% - calc(2 * var(--nb-carcasa-rem, 1rem))); }
    :where(.nb-carcasa) .hero__title { font-size: clamp(calc(2.5 * var(--nb-carcasa-rem, 1rem)), 10vw, calc(2.875 * var(--nb-carcasa-rem, 1rem))); }
    :where(.nb-carcasa) .hero__subtitle { line-height: 1.75; }
    :where(.nb-carcasa) .hero__copy .btn { padding-inline: calc(.75 * var(--nb-carcasa-rem, 1rem)); font-size: calc(.9 * var(--nb-carcasa-rem, 1rem)); }
    :where(.nb-carcasa) .hero__copy .btn .icon-svg { width: 1em; height: 1em; }
    :where(.nb-carcasa) .hero__layout { padding-top: calc(4 * var(--nb-carcasa-rem, 1rem)); }
    :where(.nb-carcasa) .section__title { font-size: clamp(calc(1.85 * var(--nb-carcasa-rem, 1rem)), 8vw, calc(2.4 * var(--nb-carcasa-rem, 1rem))); }
    :where(.nb-carcasa) .feature-row, :where(.nb-carcasa) .feature-row:first-child { grid-template-columns: minmax(0, 1fr); gap: calc(1.5 * var(--nb-carcasa-rem, 1rem)); }
    :where(.nb-carcasa) .feature-row__image { grid-row: 1; width: 88px; }
    :where(.nb-carcasa) .feature-row:first-child .feature-row__image { width: 180px; }
    :where(.nb-carcasa) .feature-row__title { font-size: calc(1.35 * var(--nb-carcasa-rem, 1rem)); }
    :where(.nb-carcasa) #recursos-gratis .related-grid { grid-template-columns: minmax(0, 1fr); }
    :where(.nb-carcasa) .modal__content { padding: calc(1.75 * var(--nb-carcasa-rem, 1rem)) calc(1.25 * var(--nb-carcasa-rem, 1rem)); }
    :where(.nb-carcasa) #recoveryPasswordForm > div[style*="display:flex"] { flex-direction: column; }
  }
  @media (hover: none), (pointer: coarse) { :where(.nb-carcasa) .chalk-halo { display: none; } }
  @media (prefers-reduced-motion: reduce) {
    :where(.nb-carcasa) { scroll-behavior: auto; }
    :where(.nb-carcasa) *, :where(.nb-carcasa) *::before, :where(.nb-carcasa) *::after { animation: none !important; transition: none !important; }
    :where(.nb-carcasa) .chalk-plane { transform: none !important; }
    :where(.nb-carcasa) .chalk-reveal { transform: none !important; }
    :where(.nb-carcasa) .chalk-line, :where(.nb-carcasa) .hero__underline path { stroke-dasharray: none !important; stroke-dashoffset: 0 !important; }
    :where(.nb-carcasa) .chalk-halo, :where(.nb-carcasa) .lesson-stack__sentence::after { display: none; }
    :where(.nb-carcasa) .lesson-sheet--math { transform: rotate(-5deg) !important; }
    :where(.nb-carcasa) .lesson-sheet--physics { transform: rotate(3deg) !important; }
    :where(.nb-carcasa) .lesson-sheet--chemistry { transform: rotate(10deg) !important; }
    :where(.nb-carcasa) .btn:hover, :where(.nb-carcasa) #recursos-gratis .related-grid a:hover { transform: none; }
  }
  /* ===== Pulido (2/12): presencia del hero, cinta del temario y 0 € ===== */
  :where(.nb-carcasa) .hero__layout { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); }
  :where(.nb-carcasa) .hero__eyebrow { display: flex; align-items: center; gap: calc(.9 * var(--nb-carcasa-rem, 1rem)); margin: 0 0 calc(1.6 * var(--nb-carcasa-rem, 1rem)); color: var(--board-muted); font: 600 calc(.78 * var(--nb-carcasa-rem, 1rem))/1.4 var(--font-main); letter-spacing: .14em; text-transform: uppercase; }
  :where(.nb-carcasa) .hero__eyebrow::before { content: ''; width: 34px; border-top: 2px solid var(--annotation); }
  :where(.nb-carcasa) .hero__eyebrow b { color: var(--chalk); font-weight: 700; }
  :where(.nb-carcasa) .hero__title { max-width: 780px; font-size: clamp(calc(2.6 * var(--nb-carcasa-rem, 1rem)), 5.4vw, calc(5.9 * var(--nb-carcasa-rem, 1rem))); line-height: .98; letter-spacing: -.05em; margin-bottom: calc(2 * var(--nb-carcasa-rem, 1rem)); }
  :where(.nb-carcasa) .hero__subtitle { color: #c9d4ce; }
  :where(.nb-carcasa) .lesson-stack { max-width: 500px; }
  :where(.nb-carcasa) .lesson-stack__sheets { transform: perspective(1400px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transform-style: preserve-3d; transition: transform .5s cubic-bezier(.16, 1, .3, 1); }
  :where(.nb-carcasa) .lesson-sheet { box-shadow: 0 2px 0 rgb(0 0 0 / .08), 0 24px 40px -18px rgb(0 0 0 / .65); }

  /* Cinta con los temas reales del temario */
  :where(.nb-carcasa) .temario { position: relative; overflow: hidden; overflow-x: clip; background: var(--ink); color: var(--chalk); border-top: 1px solid rgb(245 245 238 / .1); padding-block: clamp(calc(1.1 * var(--nb-carcasa-rem, 1rem)), 2.4vw, calc(1.8 * var(--nb-carcasa-rem, 1rem))); }
  :where(.nb-carcasa) .temario__pista { display: flex; width: max-content; gap: 0; animation: temario-desliza 70s linear infinite; }
  :where(.nb-carcasa) .temario:hover .temario__pista { animation-play-state: paused; }
  :where(.nb-carcasa) .temario__grupo { display: flex; align-items: center; flex-shrink: 0; }
  :where(.nb-carcasa) .temario__tema { padding-inline: clamp(calc(.9 * var(--nb-carcasa-rem, 1rem)), 1.8vw, calc(1.6 * var(--nb-carcasa-rem, 1rem))); font: 800 clamp(calc(1.6 * var(--nb-carcasa-rem, 1rem)), 3.4vw, calc(3.1 * var(--nb-carcasa-rem, 1rem)))/1.1 var(--font-title); letter-spacing: -.035em; white-space: nowrap; }
  :where(.nb-carcasa) .temario__tema:nth-child(even) { color: transparent; -webkit-text-stroke: 1.2px rgb(245 245 238 / .55); }
  :where(.nb-carcasa) .temario__asig { padding-inline: clamp(calc(.9 * var(--nb-carcasa-rem, 1rem)), 1.8vw, calc(1.6 * var(--nb-carcasa-rem, 1rem))); color: var(--annotation); font: 700 calc(.78 * var(--nb-carcasa-rem, 1rem))/1 var(--font-main); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
  @keyframes temario-desliza { to { transform: translate3d(-50%, 0, 0); } }

  /* La gratuidad, dicha con un solo número */
  :where(.nb-carcasa) .free-zero { margin: calc(1.5 * var(--nb-carcasa-rem, 1rem)) 0 0; font: 800 clamp(calc(7 * var(--nb-carcasa-rem, 1rem)), 17vw, calc(15 * var(--nb-carcasa-rem, 1rem)))/.85 var(--font-title); letter-spacing: -.07em; color: transparent; -webkit-text-stroke: 2px var(--ink); user-select: none; }
  :where(.nb-carcasa) .free-zero { display: flex; align-items: baseline; gap: .14em; }
  :where(.nb-carcasa) .free-zero span { color: var(--annotation); -webkit-text-stroke: 0; }
  /* Lista de lo incluido: renglones de cuaderno, alineados */
  :where(.nb-carcasa) .plan-route { display: none; }
  :where(.nb-carcasa) .pricing__list { border-top: 1px solid var(--rule); }
  :where(.nb-carcasa) .pricing__item, :where(.nb-carcasa) .pricing__item:nth-of-type(even) { margin-left: 0; min-height: 0; padding-block: calc(1.05 * var(--nb-carcasa-rem, 1rem)); border-bottom: 1px solid var(--rule); font: 700 clamp(calc(1.05 * var(--nb-carcasa-rem, 1rem)), 1.6vw, calc(1.3 * var(--nb-carcasa-rem, 1rem)))/1.4 var(--font-title); letter-spacing: -.01em; }
  :where(.nb-carcasa) .pricing__item .icon-svg { background: transparent; }

  @media (max-width: 1200px) and (min-width: 769px) {
    :where(.nb-carcasa) .lesson-stack { max-width: 360px; padding-right: calc(2.5 * var(--nb-carcasa-rem, 1rem)); }
  }
  @media (max-width: 1024px) {
    :where(.nb-carcasa) .hero__title { font-size: clamp(calc(2.4 * var(--nb-carcasa-rem, 1rem)), 6.4vw, calc(4 * var(--nb-carcasa-rem, 1rem))); }
  }
  @media (max-width: 768px) {
    :where(.nb-carcasa) .hero__layout { grid-template-columns: minmax(0, 1fr); }
    :where(.nb-carcasa) .hero__eyebrow { font-size: calc(.7 * var(--nb-carcasa-rem, 1rem)); letter-spacing: .1em; gap: calc(.6 * var(--nb-carcasa-rem, 1rem)); }
    :where(.nb-carcasa) .hero__eyebrow::before { width: 22px; }
    :where(.nb-carcasa) .hero__year { display: none; }
    :where(.nb-carcasa) .hero__title { font-size: clamp(calc(2.35 * var(--nb-carcasa-rem, 1rem)), 10.5vw, calc(3.4 * var(--nb-carcasa-rem, 1rem))); line-height: 1.02; }
    :where(.nb-carcasa) .free-zero { font-size: clamp(calc(5.5 * var(--nb-carcasa-rem, 1rem)), 30vw, calc(9 * var(--nb-carcasa-rem, 1rem))); }
  }
  @media (prefers-reduced-motion: reduce) {
    :where(.nb-carcasa) .temario__pista { animation: none; flex-wrap: wrap; width: auto; }
    :where(.nb-carcasa) .temario__grupo + .temario__grupo { display: none; }
    :where(.nb-carcasa) .temario__grupo { flex-wrap: wrap; }
    :where(.nb-carcasa) .lesson-stack__sheets { transform: none; }
  }
