/* Tema Daniel Casero — base, cabecera, pie y portada. Los componentes de cursos están en el plugin. */

/* Fuentes alojadas en el tema (sin peticiones a Google). Mismos archivos, pesos y rangos que servía Google Fonts
   (subconjunto latin). Montserrat es variable: un archivo para 400, 600 y 800. Licencia OFL en assets/fonts/. */
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/montserrat-latin.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; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/montserrat-latin.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; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 800; font-display: swap; src: url(../fonts/montserrat-latin.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; }
@font-face { font-family: 'Bebas Neue'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/bebas-neue-latin.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; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--dc-font); font-size: 16px; line-height: 1.5; background: var(--dc-bg); color: var(--dc-fg); -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--dc-font-display); letter-spacing: -.01em; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 1000; padding: 10px 14px; background: #fff; color: #000; border-radius: 8px; }
.skip-link:focus { left: 8px; }

/* Cabecera: siempre oscura para que el logo (firma blanca) funcione en todos los estilos. */
.site-header { background: #0b0b10; color: #fff; position: sticky; top: 0; z-index: 80; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.site-header__inner { max-width: var(--dc-wrap); margin: 0 auto; padding: 12px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.site-logo img { display: block; width: 150px; height: auto; }
.nav-toggle { width: 44px; height: 44px; border: 0; background: transparent; color: #fff; cursor: pointer; display: grid; place-items: center; border-radius: 8px; }
.nav-toggle:focus-visible { outline: 3px solid #22d3ee; }
.nav-toggle__bar { position: relative; width: 22px; height: 2px; background: currentColor; display: block; }
.nav-toggle__bar::before, .nav-toggle__bar::after { content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: currentColor; transition: transform .2s; }
.nav-toggle__bar::before { top: -7px; }
.nav-toggle__bar::after { top: 7px; }
.nav-open .nav-toggle__bar { background: transparent; }
.nav-open .nav-toggle__bar::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle__bar::after { transform: translateY(-7px) rotate(-45deg); }
.site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #0b0b10; padding: 8px 20px 20px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.nav-open .site-nav { display: block; }
.site-nav__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.site-nav__list a { display: block; padding: 12px 0; color: #fff; text-decoration: none; font-weight: 600; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.site-nav__list a:hover, .site-nav__list .current-menu-item > a { color: #ff3cac; }
.site-nav__wa { margin-top: 14px; }
@media (min-width: 900px) {
	.nav-toggle { display: none; }
	.site-nav { display: flex; position: static; padding: 0; border: 0; align-items: center; gap: 22px; background: transparent; }
	.site-nav__list { flex-direction: row; gap: 22px; }
	.site-nav__list a { padding: 8px 0; border: 0; font-size: .95rem; }
	.site-nav__wa { margin: 0; }
}

/* Pie */
.site-footer { background: #0b0b10; color: #c9c6d3; padding: 48px 0 24px; font-size: .95rem; }
.site-footer__inner { max-width: var(--dc-wrap); margin: 0 auto; padding: 0 20px; display: grid; gap: 28px; }
.site-footer__brand img { width: 150px; height: auto; }
.site-footer__brand p { margin: 12px 0 0; line-height: 1.5; }
.site-footer__social a { margin-right: 14px; }
.site-footer__title { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin: 0 0 10px; font-family: var(--dc-font); }
.site-footer p { margin: 0 0 8px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer__list { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 8px; }
.site-footer__copy { max-width: var(--dc-wrap); margin: 36px auto 0; padding: 20px 20px 0; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .82rem; color: #8d8a99; }
@media (min-width: 720px) { .site-footer__inner { grid-template-columns: 1.4fr 1fr 1fr; } }

/* Páginas */
.page-main { padding: 40px 0 64px; }
.page-head { margin-bottom: 24px; }
.page-head h1 { font-size: clamp(2rem, 6vw, 2.8rem); font-weight: 800; line-height: 1.1; margin: 0; }
.page-content { line-height: 1.65; }
.page-content .dc-form-wrap { margin-top: 32px; }
.page-content .dc-btn { text-decoration: none; }

/* Portada */
.home-hero { background: #050508; color: #fff; display: grid; overflow: hidden; }
.home-hero__media { position: relative; aspect-ratio: 1 / 1; }
.home-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; display: block; }
.home-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(5, 5, 8, 0) 50%, #050508 100%); }
.home-hero__text { padding: 8px 20px 44px; max-width: var(--dc-wrap); width: 100%; margin: 0 auto; }
.home-hero .dc-eyebrow { color: #22d3ee; }
.home-hero h1 { font-size: clamp(2rem, 7vw, 3.6rem); font-weight: 800; line-height: 1.04; letter-spacing: -.02em; margin: 0 0 14px; background: linear-gradient(90deg, #fff, #c9c6d3); -webkit-background-clip: text; background-clip: text; color: transparent; }
.home-hero__lead { font-size: 1.08rem; line-height: 1.55; color: #c9c6d3; margin: 0 0 22px; max-width: 560px; }
.home-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.home-hero__cta .dc-btn { flex: 1 1 180px; text-decoration: none; }
.home-hero__cta .dc-btn--ghost { color: #fff; }
.home-hero__cta .dc-btn--primary { background: #ff3cac; color: #0b0b10; } /* blanco sobre este rosa da 3.2:1 */
@media (min-width: 900px) {
	.home-hero { grid-template-columns: 1fr 1fr; min-height: 560px; }
	.home-hero__media { order: 2; aspect-ratio: auto; }
	.home-hero__media::after { background: linear-gradient(to right, #050508 0%, rgba(5, 5, 8, 0) 40%); }
	.home-hero__text { order: 1; display: flex; flex-direction: column; justify-content: center; padding: 64px 40px 64px 20px; margin: 0 0 0 auto; max-width: calc(var(--dc-wrap) / 2); }
	.home-hero__cta .dc-btn { flex: 0 1 auto; }
}
.home .dc-section .dc-eyebrow { margin-bottom: 6px; }
.home-about__grid { display: grid; gap: 28px; align-items: center; }
.home-about__media img { width: 100%; height: auto; border-radius: var(--dc-radius); box-shadow: var(--dc-shadow); display: block; }
.home-about__text p { line-height: 1.65; margin: 0 0 14px; }
.home-about__facts { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; }
.home-about__facts li { padding: 12px 14px; border-radius: 12px; background: var(--dc-bg-alt); border: 1px solid var(--dc-line); }
@media (min-width: 900px) { .home-about__grid { grid-template-columns: .9fr 1.1fr; gap: 56px; } }
