/* ============================================
   YOURWAY LEARNING - Estilos independientes
   Paleta Yourway con comportamiento de Cronode
   ============================================ */

/* ====== Base & Theme ====== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Yourway palette – light theme */
    --primary: #3c4fa7;
    --primary-dark: #2e3f8a;
    --primary-light: #9ed3ff;
    --accent: #6b82e8;
    --accent-dark: #4d5fc4;

    /* Backgrounds */
    --bg: #ffffff;
    --bg-alt: #f4f6ff;
    --bg-blue: #3c4fa7;
    --bg-blue-deep: #2e3f8a;
    --bg-card: #ffffff;
    --bg-card-hover: #f4f6ff;

    /* Text */
    --text: #0d1231;
    --text-muted: #4a5568;
    --text-on-blue: #ffffff;
    --text-muted-on-blue: rgba(255, 255, 255, 0.78);
    --text-dark: #0d1231;

    /* Effects */
    --radius: 14px;
    --shadow: 0 6px 24px rgba(60, 79, 167, 0.1);
    --shadow-md: 0 12px 40px rgba(60, 79, 167, 0.16);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Ubuntu, Cantarell, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    opacity: 0;
    transition: opacity 0.5s ease;
    min-height: 100vh;
    padding-top: 72px;
}

body.loaded {
    opacity: 1;
}

body.nav-open {
    overflow: hidden;
}


/* ====== Header / Nav ====== */
.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;
    width: 100%;
    background: #070b12;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.24);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.site-header.scrolled {
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.32);
}

.site-nav {
    max-width: 1200px;
    min-height: 72px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.logo-container,
.logo-container a {
    display: inline-flex;
    align-items: center;
}

.logo-container img {
    height: 44px;
    object-fit: contain;
}

/* ====== Nav panel (links + cta) ====== */
.nav-panel {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
    flex: 1;
}

.mobile-menu-brand {
    display: none;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.nav-links a,
.nav-cta {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-size: 0.93rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-links a {
    padding: 0 0.9rem;
    color: rgba(255, 255, 255, 0.82);
    position: relative;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a.active {
    color: #ffffff;
    outline: none;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0.9rem;
    right: 0.9rem;
    bottom: 0.35rem;
    height: 2px;
    border-radius: 999px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after,
.nav-links a.active::after {
    transform: scaleX(1);
}

/* ====== Dropdown ====== */
.nav-item--dropdown {
    position: relative;
    min-width: 168px;
}

.nav-item--dropdown > a {
    gap: 0.35rem;
    cursor: pointer;
    width: 100%;
    justify-content: center;
}

.nav-dropdown-icon {
    font-size: 0.6rem;
    transition: transform 0.2s ease;
    opacity: 0.7;
}

.nav-item--dropdown.open .nav-dropdown-icon {
    transform: rotate(180deg);
}

.nav-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    list-style: none;
    z-index: 200;
}

.nav-dropdown__inner {
    background: #070b12;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 2px solid var(--primary);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.nav-item--dropdown.open .nav-dropdown {
    display: block;
}

.nav-dropdown li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.nav-dropdown li:last-child {
    border-bottom: none;
}

.nav-dropdown li a {
    display: block;
    padding: 0.7rem 1.2rem;
    color: rgba(255, 255, 255, 0.65);
    white-space: nowrap;
    min-height: unset;
    border: 0;
}

.nav-dropdown li a::after {
    display: none;
}

.nav-dropdown li a:hover {
    color: #fff;
    background: rgba(158, 211, 255, 0.1);
}

@media (max-width: 860px) {
    .nav-dropdown,
    .nav-item--dropdown.open .nav-dropdown {
        display: none !important;
    }

    .nav-dropdown-icon {
        display: none !important;
    }
}

/* ====== Nav CTA ====== */
.nav-cta {
    padding: 0 1.05rem;
    color: #000000;
    background: var(--primary);
    border: 1px solid var(--primary);
    box-shadow: 0 4px 16px rgba(60, 79, 167, 0.3);
    font-weight: 800;
}

.nav-cta:hover,
.nav-cta:focus-visible {
    transform: translateY(-1px);
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    box-shadow: 0 8px 24px rgba(60, 79, 167, 0.45);
    outline: none;
}

/* ====== Hamburger toggle ====== */
.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #fff;
    cursor: pointer;
    position: relative;
    z-index: 1003;
}

.nav-toggle span {
    width: 20px;
    height: 2px;
    border-radius: 999px;
    display: block;
    background: currentColor;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-header.menu-open .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.site-header.menu-open .nav-toggle span:nth-child(2) {
    opacity: 0;
}

.site-header.menu-open .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ====== Section / Headings ====== */
section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 1.5rem;
}

.content-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 1.5rem;
}

.content-section--compact {
    padding: 3.5rem 1.5rem;
}

.content-section--blue {
    max-width: 100%;
    background: linear-gradient(180deg, var(--bg-blue), var(--bg-blue-deep));
    padding: 4rem 1.5rem;
}

.content-section--blue h2 {
    color: #ffffff;
}

.content-section--blue .video-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.content-section--blue .video-thumb:hover {
    border-color: rgba(255, 255, 255, 0.5);
}

.content-section--blue .video-thumb.active {
    border-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

.content-section--blue .video-thumb-label {
    color: rgba(255, 255, 255, 0.75);
}

.content-section--blue .video-thumb.active .video-thumb-label {
    color: #ffffff;
}

.content-section--compact .section-header {
    margin-bottom: 1.25rem;
}

.content-section--compact h2 {
    margin-bottom: 0.5rem;
}

.content-section--compact .section-lead {
    font-size: 0.95rem;
    margin-top: 0.25rem;
}

h2 {
    text-align: center;
    margin-bottom: 3.5rem;
    font-size: 2.25rem;
    color: var(--primary);
}

/* ====== Blue sections ====== */
.section-blue {
    background: linear-gradient(180deg, var(--bg-blue), var(--bg-blue-deep));
    max-width: 100%;
    padding: 6rem 1.5rem;
    overflow: hidden;
}

.section-blue > * {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.section-blue h2 {
    color: #ffffff;
}

.section-blue .section-lead,
.section-blue p {
    color: rgba(255, 255, 255, 0.82);
}


/* ====== Hero ====== */
.hero {
    width: 100%;
    max-width: 100%;
    padding: 5rem 1.5rem 4rem;
    position: relative;
    overflow: hidden;
    min-height: calc(100vh - 72px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, var(--bg-blue), var(--bg-blue-deep));
}

.hero-content {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
}

.hero-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.hero-body {
    text-align: center;
}

.hero-logo {
    display: flex;
    justify-content: center;
}

.hero-logo img {
    height: 160px;
    width: auto;
    filter: brightness(0) invert(1);
    object-fit: contain;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 400;
    margin-bottom: 1.25rem;
    color: rgba(255, 255, 255, 0.85);
    -webkit-text-fill-color: rgba(255, 255, 255, 0.85);
    line-height: 1.2;
    letter-spacing: 0.02em;
}

.hero p {
    max-width: 680px;
    margin: 0 auto;
    color: var(--text-muted-on-blue);
    font-size: 1.3rem;
    line-height: 1.7;
    font-weight: 700;
}

.hero .cta-container {
    display: none;
}

.hero-bg-image {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-bg-image img {
    height: 130%;
    width: auto;
    opacity: 0.14;
}

.hero-content {
    position: relative;
    z-index: 1;
}


.cta-button {
    display: inline-block;
    padding: 0.9rem 2rem;
    border-radius: 4px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    background: var(--accent);
    box-shadow: 0 4px 16px rgba(60, 79, 167, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.cta-button:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(60, 79, 167, 0.35);
}

/* ====== Section Headers ====== */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-kicker {
    display: none;
}

.section-lead {
    max-width: 780px;
    margin: 0.75rem auto 0;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.hero .section-lead,
.hero-text .section-lead {
    color: var(--text-muted-on-blue);
}

/* ====== Features Grid – 3-column cards ====== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    max-width: 1100px;
    margin: 0 auto;
}

.feature-item {
    background: #ffffff;
    border: 1px solid rgba(60, 79, 167, 0.12);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(60, 79, 167, 0.14);
    display: flex;
    flex-direction: column;
    position: relative;
}

.feature-image {
    width: 100%;
    height: 260px;
    background: var(--bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    border-radius: 16px 16px 0 0;
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1rem;
}

.feature-number {
    position: absolute;
    top: calc(260px - 18px);
    left: 1.25rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary);
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(60, 79, 167, 0.35);
    z-index: 10;
}

.feature-content {
    padding: 1.75rem 1.25rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    flex: 1;
}

.feature-content h3 {
    color: var(--primary);
    font-size: 1.1rem;
    margin: 0;
    line-height: 1.3;
}

.feature-content p {
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
    font-size: 0.92rem;
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-image {
        height: 220px;
    }

    .feature-number {
        top: calc(220px - 18px);
    }
}

/* ====== Cards Grid ====== */
.cards-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* Grid de 4 columnas para Beneficios */
.cards-four {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

@media (min-width: 1000px) {
    .cards-four {
        grid-template-columns: repeat(4, 1fr);
    }
}

.cards-single {
    grid-template-columns: 1fr;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.card {
    background: #ffffff;
    border: 1px solid rgba(60, 79, 167, 0.12);
    border-radius: var(--radius);
    padding: 1.25rem;
    box-shadow: var(--shadow);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.card h3 {
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.card p {
    color: var(--text-muted);
}

.card-icon {
    font-size: 1.2rem;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: var(--bg-alt);
    color: var(--primary);
    margin-bottom: 0.75rem;
}

/* ====== Video Wrapper ====== */
.video-wrapper {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(60, 79, 167, 0.14);
    box-shadow: var(--shadow-md);
    background: #000;
}

.video-wrapper iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
}

.video-carousel {
    max-width: 680px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.video-thumbs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.video-thumb {
    background: #ffffff;
    border: 2px solid rgba(60, 79, 167, 0.12);
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    padding: 0;
    text-align: left;
    transition: border-color 0.2s ease;
}

.video-thumb:hover {
    border-color: rgba(60, 79, 167, 0.4);
}

.video-thumb.active {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(60, 79, 167, 0.12);
}

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

.video-thumb-label {
    display: block;
    padding: 0.35rem 0.6rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
    text-align: center;
}

.video-thumb.active .video-thumb-label {
    color: var(--primary);
}

/* ====== Pricing Grid ====== */
.pricing-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    max-width: 800px;
    margin: 0 auto;
}

.pricing-grid--three {
    max-width: 1000px;
    grid-template-columns: repeat(3, 1fr);
}

.pricing-card {
    background: #ffffff;
    border: 1px solid rgba(60, 79, 167, 0.12);
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
    box-shadow: 0 8px 32px rgba(60, 79, 167, 0.14);
    display: flex;
    flex-direction: column;
}

.pricing-card h3 {
    margin-bottom: 0.5rem;
    color: var(--text);
}

.price-amount {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-weight: 800;
    font-size: 1.4rem;
}

.price-note {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: -0.35rem;
    margin-bottom: 0.75rem;
    font-style: italic;
}

.price-features {
    list-style: none;
    display: grid;
    gap: 0.35rem;
    margin-bottom: 1rem;
    flex-grow: 1;
    color: var(--text-muted);
}

.pricing-card .cta-button {
    align-self: stretch;
    text-align: center;
    background: var(--primary);
    font-size: 1.05rem;
}

.pricing-card .cta-button:hover {
    background: var(--primary-dark);
}

/* ====== Capacitaciones Section ====== */
.capacitaciones-section {
    position: relative;
}

.capacitaciones-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 3rem;
}

.capacitaciones-content {
    flex: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.capacitaciones-content h2 {
    text-align: center;
    margin-bottom: 1.25rem;
}

.capacitaciones-logo {
    margin: 0 0 2rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.capacitaciones-logo img {
    width: 260px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.capacitaciones-section .section-lead {
    line-height: 1.7;
    margin: 0;
}

.capacitaciones-gif {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.capacitaciones-gif img {
    width: 320px;
    max-width: 100%;
    height: auto;
}

/* --- Responsive --- */
@media (max-width: 860px) {
    .capacitaciones-inner {
        flex-direction: column;
        text-align: center;
    }

    .capacitaciones-content {
        text-align: center;
    }

    .capacitaciones-content h2 {
        text-align: center;
    }

    .capacitaciones-logo {
        justify-content: center;
    }

    .capacitaciones-gif img {
        width: 220px;
    }
}

/* ====== Contact Section ====== */
#contacto {
    margin-top: 3rem;
}

.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: center;
    margin: -0.5rem 0 1.25rem;
}

.btn {
    display: inline-block;
    padding: 0.85rem 1rem;
    font-weight: 800;
    text-decoration: none;
    color: #ffffff;
    background: var(--primary);
    border: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
    border-radius: 4px;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.28);
}

.btn-contact {
    min-width: 160px;
    text-align: center;
}

.btn-whatsapp {
    font-weight: 700;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 1.2rem;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp i {
    font-size: 1.2rem;
    line-height: 0;
}

.contact-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(12, 1fr);
}

.contact-card {
    grid-column: span 12;
    position: relative;
}

.map-card .map-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: 10px;
    border: 1px solid rgba(158, 211, 255, 0.25);
}

.map-card iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

@media (min-width: 900px) {
    .contact-card:nth-child(1) {
        grid-column: span 4;
    }

    .contact-card:nth-child(2) {
        grid-column: span 5;
    }

    .contact-card:nth-child(3) {
        grid-column: span 3;
    }
}

/* Lista y microcopy */
.contact-list {
    list-style: none;
    display: grid;
    gap: 0.5rem;
    margin: 0.5rem 0 1rem;
}

.contact-list a {
    color: var(--text-muted);
    text-decoration: none;
}

.contact-list a:hover {
    color: var(--primary-light);
}

.contact-value {
    color: var(--text-muted);
}

.mini-copy {
    color: var(--text-muted);
    margin-top: 0.5rem;
}

/* Formulario */
.form-row {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-bottom: 0.9rem;
}

.form-row label {
    color: #e9e9ef;
    font-size: 0.95rem;
}

.form-row input,
.form-row textarea {
    background: rgba(31, 31, 46, 0.6);
    color: #fff;
    border: 1px solid rgba(158, 211, 255, 0.25);
    border-radius: 10px;
    padding: 0.8rem 0.9rem;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    resize: none;
}

.form-row input:focus,
.form-row textarea:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(158, 211, 255, 0.18);
}

.error {
    color: #ff9aa2;
    font-size: 0.85rem;
    min-height: 1.1em;
}

.form-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.25rem;
}

.form-note {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Honeypot oculto */
.hp-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

.btn-submit {
    border-radius: 4px;
}

/* ====== Footer ====== */
footer {
    background: #070b12;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2.25rem 1.5rem;
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.footer-section h3 {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    display: block;
    margin: 0.25rem 0;
    font-size: 0.9rem;
}

.footer-section a:hover {
    color: rgba(255, 255, 255, 0.85);
}

.footer-bottom {
    color: rgba(255, 255, 255, 0.3);
    text-align: center;
    padding: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.85rem;
}

/* ====== Responsive ====== */
@media (max-width: 900px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-logo img {
        height: 120px;
    }

    h2 {
        font-size: 2rem;
    }
}


@media (max-width: 700px) {
    section,
    .content-section {
        padding: 4rem 1rem;
    }

    .hero {
        padding: 3rem 1rem 3rem;
    }

    .hero-content {
        justify-content: flex-start;
        min-height: calc(100vh - 72px);
        gap: 0;
        padding-top: 1.5rem;
    }

    .hero-logo {
        flex-shrink: 0;
        margin-bottom: 0.75rem;
    }

    .hero-logo img {
        height: 110px;
    }

    .hero-body {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 1rem 0 2rem;
    }

    .hero h1 {
        font-size: 2.2rem;
        margin-bottom: 0;
    }

    .hero p {
        font-size: 1.3rem;
        line-height: 1.55;
    }

    h2 {
        font-size: 1.75rem;
        margin-bottom: 2rem;
    }

    .cards-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .cards-four {
        grid-template-columns: 1fr;
    }

    .pricing-grid--three {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

}

@media (max-width: 400px) {
    .hero h1 {
        font-size: 1.75rem;
    }

    .btn {
        padding: 0.75rem 0.85rem;
        font-size: 0.9rem;
    }

}

/* ============================================
   ESTILOS ADICIONALES PARA PÁGINA DE DOCENTES
   ============================================ */

/* Hero badge - ELIMINADO */
.hero-badge {
    display: none;
}

/* CTA button con icono */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.cta-button.secondary {
    background: var(--primary);
    color: var(--text);
}

/* Grid de 3 columnas */
.cards-three {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

@media (min-width: 900px) {
    .cards-three {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ====== Beneficios — diagonal bands ====== */
.beneficios-section {
    overflow: hidden;
    padding: 5rem 0 7rem;
    background: var(--bg);
}

.beneficios-header {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto 3rem;
    padding: 0 1.5rem;
}

.beneficios-header h2 {
    color: var(--primary);
}

.benefits-bands {
    display: flex;
    flex-direction: column;
}

.benefit-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    transform: skewY(-2.5deg);
    margin-bottom: -1.75rem;
    background: #ffffff;
}

.benefit-row:nth-child(even) {
    background: var(--bg-alt);
}

.benefit-band {
    padding: 2.75rem 2.5rem 4rem;
}

.benefit-band:first-child {
    border-right: 1px solid rgba(60, 79, 167, 0.09);
}

.benefit-band-inner {
    transform: skewY(2.5deg);
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.benefit-band-icon {
    flex-shrink: 0;
    width: 36px;
    font-size: 1.5rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-band-text h3 {
    color: var(--primary);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.benefit-band-text p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 700px) {
    .benefit-row {
        grid-template-columns: 1fr;
        transform: none;
        margin-bottom: 0;
        border-bottom: 1px solid rgba(60, 79, 167, 0.08);
    }

    .benefit-band {
        padding: 1.5rem 1.25rem;
    }

    .benefit-band:first-child {
        border-right: none;
        border-bottom: 1px solid rgba(60, 79, 167, 0.08);
    }

    .benefit-band-inner {
        transform: none;
    }
}

/* Pricing single */
.pricing-single {
    max-width: 600px;
}

/* Pricing badge */
.pricing-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(107, 130, 232, 0.12);
    border: 1px solid var(--accent);
    border-radius: 4px;
    color: var(--accent);
    font-weight: 700;
    font-size: 0.85rem;
    margin: 0 auto 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Pricing card centrado */
.pricing-card {
    text-align: center;
}

.pricing-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.pricing-card .price-amount {
    font-size: 3rem;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.pricing-card .price-note {
    margin-bottom: 2rem;
}

/* Price features con iconos */
.pricing-card .price-features {
    text-align: left;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.pricing-card .price-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.pricing-card .price-features i {
    color: var(--accent);
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.pricing-card .cta-button {
    justify-content: center;
    margin-top: auto;
}

/* Invitación institucional */
.institutional-invite {
    padding: 4rem 1.5rem;
}

.invite-card {
    background: rgba(0, 0, 0, 0.15);
    border: 2px solid rgba(158, 211, 255, 0.25);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.invite-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary-light), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.invite-card h2 {
    margin-bottom: 1.25rem;
}

.invite-card p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

/* Responsive adicionales */
@media (max-width: 700px) {
    .cards-three {
        grid-template-columns: 1fr;
    }

    .invite-card {
        padding: 2rem 1.5rem;
    }

    .invite-icon {
        font-size: 2.5rem;
    }

    .invite-card p {
        font-size: 1rem;
    }
}

/* ============================================
   ESTILOS CREATIVOS ADICIONALES PARA DOCENTES
   Agregar al final del styles.css existente
   ============================================ */

/* CTA para docentes individuales en página institucional */
.individual-teacher-cta {
    margin-top: 1.25rem;
    display: flex;
    justify-content: center;
}

.individual-cta-card {
    background: var(--bg-alt);
    border: 2px solid rgba(60, 79, 167, 0.2);
    border-radius: 16px;
    padding: 1.25rem 2rem;
    text-align: center;
    max-width: 600px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.individual-cta-card::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(158, 211, 255, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.individual-cta-card>* {
    position: relative;
    z-index: 1;
}

.individual-cta-card i {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 0.4rem;
    display: block;
}

.individual-cta-card h3 {
    color: var(--text);
    font-size: 1.15rem;
    margin-bottom: 0.4rem;
}

.individual-cta-card p {
    color: var(--text-muted);
    font-size: 0.92rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.cta-button.secondary {
    background: var(--primary);
    color: #ffffff;
    padding: 0.85rem 1.75rem;
    font-size: 1rem;
}

/* Features Zigzag - SIN línea de fondo */
.features-zigzag {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.feature-zz {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 2rem;
    align-items: center;
    position: relative;
}

/* Línea de fondo ELIMINADA */
.feature-zz::before {
    display: none;
}

.feature-zz-icon {
    width: 120px;
    height: 120px;
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(107, 130, 232, 0.12), rgba(77, 95, 196, 0.18));
    border: 2px solid var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--accent);
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-zz:hover .feature-zz-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 40px rgba(60, 79, 167, 0.3);
}

.feature-zz-content h3 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.feature-zz-content p {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 1.05rem;
}

.feature-right {
    grid-template-columns: 1fr 120px;
}

/* Línea de fondo ELIMINADA también para feature-right */
.feature-right::before {
    display: none;
}

.feature-right .feature-zz-content {
    text-align: right;
}

/* Pricing Hero */
.pricing-hero-section {
    background: var(--bg-alt);
    padding: 6rem 1.5rem;
}

.pricing-hero {
    max-width: 700px;
    margin: 0 auto;
}

.pricing-hero-card {
    background: #ffffff;
    border: 3px solid var(--primary);
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(60, 79, 167, 0.15);
    position: relative;
}

.pricing-hero-card::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg at 50% 50%,
            rgba(107, 130, 232, 0.12) 0deg,
            transparent 60deg,
            rgba(107, 130, 232, 0.12) 120deg,
            transparent 180deg,
            rgba(107, 130, 232, 0.12) 240deg,
            transparent 300deg,
            rgba(107, 130, 232, 0.12) 360deg);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.pricing-hero-header,
.pricing-hero-features,
.pricing-hero-cta {
    position: relative;
    z-index: 1;
}

.pricing-hero-header {
    background: linear-gradient(135deg, var(--bg-blue), var(--bg-blue-deep));
    padding: 3rem 2rem;
    text-align: center;
}

.pricing-badge-large {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--accent);
    color: #ffffff;
    border-radius: 4px;
    font-weight: 800;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 2rem;
}

.price-hero {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.price-symbol {
    font-size: 3rem;
    color: var(--primary-light);
    font-weight: 800;
}

.price-number {
    font-size: 6rem;
    color: var(--text-on-blue);
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, var(--primary-light), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-period {
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 600;
}

.price-tagline {
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.pricing-hero-features {
    padding: 3rem 2rem;
    display: grid;
    gap: 1rem;
    background: #ffffff;
}

.feature-check {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    border-radius: 10px;
    transition: background 0.2s ease;
}

.feature-check:hover {
    background: var(--bg-alt);
}

.feature-check i {
    color: var(--primary);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.feature-check span {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.4;
}

.pricing-hero-cta {
    padding: 0 2rem 3rem;
    text-align: center;
    background: #ffffff;
}

.cta-button-large {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 3rem;
    font-size: 1.2rem;
    font-weight: 800;
    color: #ffffff;
    background: var(--accent);
    border-radius: 4px;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(60, 79, 167, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.cta-button-large:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(60, 79, 167, 0.4);
}

/* Benefits Circular - Grid de 4 columnas simétricas */
.benefits-creative {
    background: var(--bg-alt);
}

.benefits-circular {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.benefit-circle {
    text-align: center;
    padding: 1.5rem 1rem;
    position: relative;
}

.benefit-circle-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 1.25rem;
    border-radius: 50%;
    background: #ffffff;
    border: 3px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--primary);
    position: relative;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.benefit-circle-icon::before {
    content: "";
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    border: 2px dashed var(--primary-light);
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.benefit-circle:hover .benefit-circle-icon {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 15px 50px rgba(60, 79, 167, 0.25);
}

.benefit-circle:hover .benefit-circle-icon::before {
    opacity: 0.5;
    transform: rotate(-10deg);
}

.benefit-circle h3 {
    color: var(--primary);
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
}

.benefit-circle p {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Invite Card Creative */
.invite-card-creative {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    background: #ffffff;
    border: 2px solid rgba(60, 79, 167, 0.2);
    box-shadow: 0 20px 60px rgba(60, 79, 167, 0.12);
}

.invite-bg-decoration {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(107, 130, 232, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.invite-content-wrapper {
    position: relative;
    z-index: 1;
    padding: 4rem 3rem;
    text-align: center;
}

.invite-icon-large {
    font-size: 4rem;
    color: var(--primary);
    margin-bottom: 2rem;
    display: inline-block;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.invite-card-creative h2 {
    margin-bottom: 1.5rem;
}

.invite-card-creative h2 {
    color: var(--primary);
}

.invite-card-creative p {
    color: var(--text-muted);
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button.secondary-large {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.1rem 2.5rem;
    font-size: 1.1rem;
    background: var(--primary);
    color: #ffffff;
    border-radius: 4px;
    box-shadow: 0 4px 16px rgba(60, 79, 167, 0.25);
}

.cta-button.secondary-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 45px rgba(74, 91, 181, 0.5);
}

/* Responsive para diseños creativos */
@media (max-width: 1100px) {
    .benefits-circular {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .features-zigzag {
        gap: 2rem;
    }

    .feature-zz {
        grid-template-columns: 80px 1fr;
        gap: 1.5rem;
    }

    .feature-zz-icon {
        width: 80px;
        height: 80px;
        font-size: 2rem;
        border-radius: 20px;
    }

    .price-number {
        font-size: 4rem;
    }

    .price-symbol {
        font-size: 2rem;
    }

    .price-period {
        font-size: 1.5rem;
    }

    .benefits-circular {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .benefit-circle-icon {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }

    .benefit-circle h3 {
        font-size: 1.1rem;
    }

    .benefit-circle p {
        font-size: 0.9rem;
    }
}

@media (max-width: 700px) {
    .individual-cta-card {
        padding: 1.5rem 1.25rem;
        max-width: 100%;
    }

    .individual-cta-card i {
        font-size: 1.75rem;
    }

    .individual-cta-card h3 {
        font-size: 1.25rem;
    }

    .individual-cta-card p {
        font-size: 0.95rem;
        margin-bottom: 1.25rem;
    }

    .cta-button.secondary {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }

    .features-zigzag {
        gap: 1.5rem;
    }

    .feature-zz,
    .feature-right {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .feature-zz-icon {
        margin: 0 auto;
    }

    .feature-right .feature-zz-content {
        text-align: center;
    }

    .pricing-hero-header {
        padding: 2rem 1.5rem;
    }

    .pricing-badge-large {
        font-size: 0.8rem;
        padding: 0.6rem 1.2rem;
    }

    .price-number {
        font-size: 3.5rem;
    }

    .pricing-hero-features {
        padding: 2rem 1.5rem;
    }

    .cta-button-large {
        padding: 1rem 2rem;
        font-size: 1rem;
        width: 100%;
        justify-content: center;
    }

    .benefits-circular {
        grid-template-columns: 1fr;
    }

    .invite-content-wrapper {
        padding: 3rem 2rem;
    }

    .invite-icon-large {
        font-size: 3rem;
    }

    .invite-card-creative p {
        font-size: 1rem;
    }

    .cta-button.secondary-large {
        padding: 1rem 2rem;
        font-size: 1rem;
        width: 100%;
        justify-content: center;
    }
}

/* ====== Mobile nav panel ====== */
@media (max-width: 860px) {
    .nav-toggle {
        display: inline-flex;
    }

    .nav-panel {
        position: fixed;
        inset: 0;
        z-index: 1001;
        width: 100vw;
        height: 100vh;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 1rem;
        padding: 4.5rem 1.5rem 1.5rem;
        background: #070b12;
        opacity: 0;
        visibility: hidden;
        transform: translateX(100%);
        transition: opacity 0.22s ease, transform 0.28s ease, visibility 0.28s ease;
        overflow-y: auto;
    }

    .site-header.menu-open .nav-panel {
        opacity: 1;
        visibility: visible;
        transform: translateX(0);
    }

    .mobile-menu-brand {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        padding-bottom: 1rem;
        border-bottom: 1px solid rgba(158, 211, 255, 0.15);
    }

    .mobile-menu-brand img {
        width: min(140px, 44vw);
        height: auto;
        object-fit: contain;
    }

    .nav-links {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0.35rem;
    }

    .nav-item--dropdown {
        min-width: 0;
    }

    .nav-links a {
        justify-content: flex-start;
        width: 100%;
        min-height: 48px;
        border-radius: 0;
        font-size: 1.04rem;
        padding: 0 0 0.5rem;
        color: rgba(255, 255, 255, 0.86);
        border-bottom: 1px solid rgba(158, 211, 255, 0.1);
    }

    .nav-links a::after {
        display: none;
    }

    .nav-links a.active {
        color: #fff;
        text-decoration: underline;
        text-decoration-color: var(--primary-light);
        text-decoration-thickness: 2px;
        text-underline-offset: 6px;
    }

    .nav-links a:hover,
    .nav-links a:focus-visible {
        color: #fff;
        background: transparent;
    }

    .nav-cta {
        width: 100%;
        justify-content: center;
        min-height: 48px;
        border-radius: 4px;
        font-size: 1.02rem;
        margin-top: 0.5rem;
    }
}

/* ====== Footer note ====== */
.footer-note {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.82rem;
    margin-top: 0.25rem;
}
}