/* Joel Schvartz — sin build, solo CSS estático */

:root {
    --js-dark: #0a0a0b;
    --js-charcoal: #141416;
    --js-surface: #1c1c1f;
    --js-blue: #00b4f0;
    --js-blue-dark: #0090c4;
    --js-gold: #d4af37;
    --js-gold-light: #e8c547;
    --js-gold-dark: #b8962e;
    --js-gold-muted: rgba(212, 175, 55, 0.14);
    --js-gold-border: rgba(212, 175, 55, 0.35);
    --js-muted: #9ca3af;
    --js-white-70: rgba(255, 255, 255, 0.7);
    --js-white-60: rgba(255, 255, 255, 0.6);
    --js-white-40: rgba(255, 255, 255, 0.4);
    --js-border: rgba(255, 255, 255, 0.08);
    --font-sans: 'Montserrat', system-ui, sans-serif;
    --font-script: 'Permanent Marker', cursive;
    --max-w: 80rem;
    --site-header-h: 4.5rem;
}

@media (max-width: 767px) {
    :root {
        --site-header-bar-h: 3.25rem;
        --site-header-h: 6.35rem;
    }
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background: var(--js-dark);
    color: #fff;
    -webkit-font-smoothing: antialiased;
    line-height: 1.5;
}

img {
    max-width: 100%;
    display: block;
}

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

.page {
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: var(--max-w);
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

@media (min-width: 1024px) {
    .container {
        padding-left: 2.5rem;
        padding-right: 2.5rem;
    }
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    border-bottom: 1px solid var(--js-border);
    background: rgba(10, 10, 11, 0.92);
    backdrop-filter: blur(12px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    max-width: var(--max-w);
    margin: 0 auto;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
    flex: 1;
}

.brand-text {
    min-width: 0;
}

.logo-img {
    width: 3rem;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(212, 175, 55, 0.35));
}

.logo-img--lg {
    width: 6.5rem;
}

.brand-name {
    font-size: clamp(0.65rem, 2.5vw, 0.875rem);
    font-weight: 800;
    letter-spacing: 0.14em;
}

.brand-tag {
    font-size: 0.55rem;
    font-weight: 500;
    letter-spacing: 0.28em;
    color: var(--js-muted);
    text-transform: uppercase;
}

@media (max-width: 400px) {
    .brand-text {
        display: none;
    }
}

/* Menú hamburguesa */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    background: transparent;
    cursor: pointer;
    flex-shrink: 0;
}

.nav-toggle span {
    display: block;
    width: 1.15rem;
    height: 2px;
    margin: 0 auto;
    background: #fff;
    transition: transform 0.2s, opacity 0.2s;
}

.nav-toggle.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 40;
    background: rgba(0, 0, 0, 0.55);
}

body.nav-open {
    overflow: hidden;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.site-nav .nav-link {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--js-white-70);
    transition: color 0.2s;
    white-space: nowrap;
}

.site-nav .nav-link:hover,
.site-nav .nav-link.is-active {
    color: var(--js-blue);
}

.nav-lock {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    background: transparent;
    color: var(--js-blue);
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.nav-lock svg {
    width: 1.25rem;
    height: 1.25rem;
}

a.nav-lock:hover,
button.nav-lock:hover {
    border-color: var(--js-blue);
    background: rgba(0, 180, 240, 0.1);
    color: #fff;
}

.nav-actions {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.nav-logout-form {
    display: inline-flex;
    margin: 0;
}

.nav-user {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: none;
    color: var(--js-gold);
    max-width: 10rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nav-btn-logout {
    display: none;
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    cursor: pointer;
}

.nav-logout-form .nav-btn-logout {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #fca5a5;
}

.btn-primary--sm {
    padding: 0.55rem 1rem;
    font-size: 0.7rem;
}

.nav-hide-mobile {
    display: none;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-logout-form {
    display: flex;
    align-items: center;
}

/* Pestañas visibles en móvil (debajo del header) */
.site-mobile-tabs {
    display: none;
}

/* Móvil: sitio público y menú */
@media (max-width: 767px) {
    .header-inner {
        padding: 0.65rem 1rem;
        padding-left: max(1rem, env(safe-area-inset-left));
        padding-right: max(1rem, env(safe-area-inset-right));
    }

    .site-mobile-tabs {
        display: flex;
        position: sticky;
        top: var(--site-header-bar-h, 3.25rem);
        z-index: 49;
        align-items: center;
        gap: 0.4rem;
        padding: 0.45rem 0.65rem;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        background: rgba(14, 14, 15, 0.97);
        border-bottom: 1px solid var(--js-border);
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
    }

    .site-mobile-tabs::-webkit-scrollbar {
        display: none;
    }

    .site-mobile-tabs a {
        flex-shrink: 0;
        padding: 0.45rem 0.7rem;
        font-size: 0.65rem;
        font-weight: 700;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        color: var(--js-white-70);
        border-radius: 999px;
        border: 1px solid rgba(255, 255, 255, 0.12);
        background: rgba(28, 28, 31, 0.9);
        white-space: nowrap;
        transition: color 0.2s, border-color 0.2s, background 0.2s;
    }

    .site-mobile-tabs a:hover,
    .site-mobile-tabs a.is-active {
        color: #fff;
        border-color: var(--js-blue);
        background: rgba(0, 180, 240, 0.15);
    }

    .site-mobile-tabs__cta {
        color: var(--js-dark) !important;
        background: var(--js-blue) !important;
        border-color: var(--js-blue) !important;
    }

    .site-mobile-tabs__cta:hover {
        background: var(--js-blue-dark) !important;
        border-color: var(--js-blue-dark) !important;
        color: var(--js-dark) !important;
    }

    .site-mobile-tabs__login {
        color: var(--js-gold) !important;
        border-color: rgba(212, 175, 55, 0.45) !important;
    }

    .nav-toggle {
        display: flex;
        border-color: rgba(212, 175, 55, 0.55);
        background: rgba(20, 20, 22, 0.9);
    }

    .site-nav {
        position: fixed;
        top: var(--site-header-h);
        left: 0;
        right: 0;
        z-index: 50;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        max-height: calc(100dvh - var(--site-header-h) - 0.5rem);
        overflow-y: auto;
        padding: 0.75rem 1rem 1.25rem;
        padding-bottom: max(1.25rem, env(safe-area-inset-bottom));
        background: rgba(14, 14, 15, 0.98);
        border-bottom: 1px solid var(--js-border);
        transform: translateY(-8px);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
    }

    .site-nav.is-open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .site-nav .nav-link,
    .site-nav .nav-user {
        display: block;
        padding: 0.85rem 0.5rem;
        border-bottom: 1px solid var(--js-border);
        max-width: none;
        font-size: 0.8rem;
    }

    .site-nav .nav-link.is-active {
        color: var(--js-blue);
    }

    .nav-actions {
        flex-direction: column;
        width: 100%;
        gap: 0.65rem;
        margin-top: 0.75rem;
        padding-top: 0.75rem;
        border-top: 1px solid var(--js-border);
    }

    .nav-actions .btn-primary,
    .nav-actions .nav-lock {
        width: 100%;
        justify-content: center;
        min-height: 2.75rem;
    }

    .nav-lock--desktop {
        display: none !important;
    }

    .nav-btn-logout {
        display: block;
    }

    .nav-hide-mobile {
        display: inline-flex !important;
    }

    /* Hero */
    .page .hero {
        min-height: auto;
    }

    .page .hero-bg img {
        object-position: 72% 18%;
    }

    .page .hero-overlay {
        background: linear-gradient(
            180deg,
            rgba(10, 10, 11, 0.94) 0%,
            rgba(10, 10, 11, 0.9) 42%,
            rgba(10, 10, 11, 0.82) 100%
        );
    }

    .page .hero-content {
        min-height: auto;
        gap: 1.75rem;
        padding: 1.25rem 1rem 2.5rem;
        padding-top: 1rem;
    }

    .page .hero-intro {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        width: 100%;
    }

    .page .hero-logo-wrap {
        margin-bottom: 1.25rem;
    }

    .page .logo-img--lg {
        width: 4rem;
    }

    .page .hero-title {
        font-size: clamp(2rem, 11vw, 2.75rem);
        letter-spacing: -0.01em;
    }

    .page .hero-subtitle {
        letter-spacing: 0.22em;
        font-size: 0.7rem;
        margin-top: 0.5rem;
    }

    .page .hero-text {
        margin-top: 1.25rem;
        font-size: 0.9375rem;
        line-height: 1.65;
        max-width: 22rem;
    }

    .page .btn-group {
        flex-direction: column;
        width: 100%;
        max-width: 20rem;
        margin-top: 1.75rem;
        gap: 0.65rem;
    }

    .page .btn-group .btn-primary,
    .page .btn-group .btn-outline {
        width: 100%;
        min-height: 3rem;
        padding: 0.85rem 1.25rem;
        justify-content: center;
    }

    .page #filosofia {
        width: 100%;
    }

    .page .philosophy-card {
        padding: 1.15rem 1rem;
        text-align: left;
    }

    .page .philosophy-card h2 {
        font-size: 1rem;
        line-height: 1.35;
    }

    .page .philosophy-result {
        font-size: 1.5rem;
    }

    .page .check-item {
        font-size: 0.75rem;
    }

    /* Servicios y CTA */
    .page .container {
        padding-left: max(1rem, env(safe-area-inset-left));
        padding-right: max(1rem, env(safe-area-inset-right));
    }

    .page .section-head {
        margin-bottom: 2rem;
    }

    .page .section-label {
        letter-spacing: 0.28em;
        font-size: 0.65rem;
    }

    .page .section-title {
        font-size: clamp(1.35rem, 6vw, 1.75rem);
    }

    .page .section-services,
    .page .section-cta {
        padding: 3rem 0;
    }

    .page .service-card {
        flex-direction: row;
        align-items: flex-start;
        padding: 1rem;
    }

    .page .service-icon {
        width: 2.5rem;
        height: 2.5rem;
    }

    .page .service-icon svg {
        width: 1.35rem;
        height: 1.35rem;
    }

    .page .service-card h3 {
        font-size: 0.8rem;
    }

    .page .service-card p {
        font-size: 0.8125rem;
    }

    .page .cta-inner {
        padding: 0 1rem;
    }

    .page .slogan {
        font-size: clamp(1.85rem, 9vw, 2.5rem);
    }

    .page .cta-text {
        margin-top: 1.5rem;
        font-size: 0.9375rem;
        padding: 0 0.25rem;
    }

    .page .section-cta .btn-primary {
        width: 100%;
        max-width: 20rem;
        min-height: 3rem;
        margin-top: 1.75rem;
    }

    /* Footer */
    .page .site-footer {
        padding: 1.75rem 0;
        padding-bottom: max(1.75rem, env(safe-area-inset-bottom));
    }

    .page .footer-inner {
        flex-direction: column;
        text-align: center;
        gap: 1.25rem;
    }

    .page .footer-copy {
        font-size: 0.65rem;
        line-height: 1.5;
    }

    .page .social-icons {
        flex-direction: column;
        gap: 0.85rem;
    }

    .page .social-icons__link--whatsapp {
        flex-direction: column;
        text-align: center;
        gap: 0.25rem;
    }

    .page .footer-credit {
        padding-left: 1rem;
        padding-right: 1rem;
        line-height: 1.5;
    }

    /* Panel alumno / auth (mismo CSS) */
    .auth-card {
        padding: 1.5rem;
    }

    .auth-main {
        padding-left: max(1rem, env(safe-area-inset-left));
        padding-right: max(1rem, env(safe-area-inset-right));
    }

    .panel-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (min-width: 768px) {
    .site-nav {
        gap: 1.25rem;
    }

    .nav-hide-mobile {
        display: inline-flex;
    }

    .nav-btn-logout {
        display: none !important;
    }
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--js-dark);
    background: var(--js-blue);
    border-radius: 2px;
    border: none;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
    background: var(--js-blue-dark);
    box-shadow: 0 8px 24px rgba(0, 180, 240, 0.25);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    transition: border-color 0.2s, color 0.2s;
}

.btn-outline:hover {
    border-color: var(--js-blue);
    color: var(--js-blue);
}

.btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2.5rem;
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    padding-top: var(--site-header-h);
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        rgba(10, 10, 11, 0.97) 0%,
        rgba(10, 10, 11, 0.85) 35%,
        rgba(10, 10, 11, 0.55) 60%,
        rgba(10, 10, 11, 0.75) 100%
    );
}

.hero-content {
    position: relative;
    display: grid;
    gap: 3rem;
    align-items: center;
    min-height: calc(100vh - var(--site-header-h));
    padding: 2.5rem 1.25rem 3rem;
    max-width: var(--max-w);
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .hero-content {
        grid-template-columns: 5fr 7fr;
        padding: 6rem 2.5rem;
        gap: 4rem;
    }
}

.hero-title {
    font-size: clamp(2.25rem, 6vw, 3.75rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    margin-top: 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.4em;
    color: var(--js-gold);
    text-transform: uppercase;
}

.hero-text {
    margin-top: 2rem;
    max-width: 28rem;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--js-white-70);
}

.hero-logo-wrap {
    margin-bottom: 2rem;
}

/* Philosophy card */
.philosophy-card {
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(20, 20, 22, 0.9);
    backdrop-filter: blur(8px);
}

@media (min-width: 1024px) {
    .philosophy-card {
        padding: 2.5rem;
    }
}

.philosophy-card h2 {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.philosophy-result {
    margin-top: 0.5rem;
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 800;
    color: var(--js-blue);
    text-transform: uppercase;
}

.check-list {
    list-style: none;
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.check-icon {
    width: 1.5rem;
    height: 1.5rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--js-blue);
    color: var(--js-dark);
}

.check-icon svg {
    width: 0.875rem;
    height: 0.875rem;
}

/* Services */
.section-services {
    padding: 5rem 0;
    background:
        linear-gradient(180deg, rgba(212, 175, 55, 0.06) 0%, transparent 28%),
        linear-gradient(165deg, #121214 0%, var(--js-charcoal) 45%, #0f0e0c 100%);
    border-top: 1px solid var(--js-gold-border);
    border-bottom: 1px solid rgba(212, 175, 55, 0.12);
}

@media (min-width: 1024px) {
    .section-services {
        padding: 7rem 0;
    }
}

.section-services .section-head {
    text-align: center;
    margin-bottom: 3.5rem;
    position: relative;
}

.section-services .section-head::after {
    content: '';
    display: block;
    width: 4rem;
    height: 3px;
    margin: 1.25rem auto 0;
    border-radius: 2px;
    background: linear-gradient(90deg, transparent, var(--js-gold), transparent);
}

.section-services .section-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.4em;
    color: var(--js-gold-light);
    text-transform: uppercase;
}

.section-services .section-title {
    margin-top: 0.75rem;
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 800;
    text-transform: uppercase;
    background: linear-gradient(135deg, #fff 0%, var(--js-gold-light) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.section-head {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.4em;
    color: var(--js-blue);
    text-transform: uppercase;
}

.section-title {
    margin-top: 0.75rem;
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 800;
    text-transform: uppercase;
}

.services-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .services-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1024px) {
    .services-grid {
        gap: 2rem;
    }
}

.service-card {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    border-radius: 8px;
    border: 1px solid var(--js-border);
    background: rgba(28, 28, 31, 0.8);
    transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
}

.section-services .service-card {
    border-color: rgba(212, 175, 55, 0.18);
    background: linear-gradient(145deg, rgba(28, 28, 31, 0.95) 0%, rgba(20, 18, 14, 0.9) 100%);
    box-shadow: inset 0 1px 0 rgba(212, 175, 55, 0.08);
}

.service-card:hover {
    border-color: rgba(0, 180, 240, 0.4);
    background: var(--js-surface);
}

.section-services .service-card:hover {
    border-color: var(--js-gold-border);
    background: linear-gradient(145deg, rgba(36, 32, 24, 0.98) 0%, rgba(28, 28, 31, 0.95) 100%);
    box-shadow: 0 8px 28px rgba(212, 175, 55, 0.12), inset 0 1px 0 rgba(212, 175, 55, 0.15);
}

.service-icon {
    width: 3rem;
    height: 3rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
    background: rgba(0, 180, 240, 0.12);
    color: var(--js-blue);
}

.section-services .service-icon {
    border-radius: 4px;
    background: linear-gradient(145deg, rgba(212, 175, 55, 0.22) 0%, rgba(212, 175, 55, 0.08) 100%);
    border: 1px solid rgba(212, 175, 55, 0.25);
    color: var(--js-gold-light);
    box-shadow: 0 2px 12px rgba(212, 175, 55, 0.15);
}

.section-services .service-card h3 {
    color: var(--js-gold-light);
    letter-spacing: 0.08em;
}

.service-icon svg {
    width: 1.75rem;
    height: 1.75rem;
}

.service-card h3 {
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.service-card p {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--js-white-60);
}

/* CTA / Slogan */
.section-cta {
    position: relative;
    overflow: hidden;
    padding: 6rem 0;
    border-top: 1px solid var(--js-border);
    text-align: center;
}

@media (min-width: 1024px) {
    .section-cta {
        padding: 8rem 0;
    }
}

.cta-glow {
    pointer-events: none;
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(0, 180, 240, 0.08) 0%, transparent 70%);
}

.cta-inner {
    position: relative;
    max-width: 56rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.slogan {
    font-family: var(--font-script);
    font-size: clamp(2.25rem, 6vw, 3.75rem);
    line-height: 1.15;
}

.slogan--blue {
    color: var(--js-blue);
    margin-top: 0.25rem;
}

.slogan-line {
    width: 12rem;
    max-width: 80%;
    height: 6px;
    margin: 1rem auto 0;
    border-radius: 3px;
    background: linear-gradient(90deg, transparent, var(--js-blue), var(--js-blue));
    transform: skewX(-8deg);
}

.cta-text {
    margin: 2.5rem auto 0;
    max-width: 32rem;
    color: var(--js-white-60);
}

.section-cta .btn-primary {
    margin-top: 2.5rem;
}

/* Footer */
.site-footer {
    padding: 2rem 0;
    border-top: 1px solid var(--js-border);
    background: var(--js-charcoal);
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

@media (min-width: 640px) {
    .footer-inner {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.footer-copy {
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    color: var(--js-white-40);
    text-transform: uppercase;
}

.footer-logo {
    width: 2.5rem;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(212, 175, 55, 0.3));
}

.footer-credit {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--js-border);
    text-align: center;
    font-size: 0.7rem;
    letter-spacing: 0.06em;
    color: var(--js-white-40);
}

.footer-credit a {
    color: var(--js-gold);
    font-weight: 600;
    transition: color 0.2s;
}

.footer-credit a:hover {
    color: var(--js-blue);
}

.social-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.social-icons__link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--js-white-70);
    transition: color 0.2s, transform 0.2s;
}

.social-icons__link:hover {
    color: var(--js-blue);
    transform: translateY(-1px);
}

.social-icons__link svg {
    width: 1.65rem;
    height: 1.65rem;
}

.social-icons__link--instagram:hover {
    color: #e1306c;
}

.social-icons__link--whatsapp:hover {
    color: #25d366;
}

.social-icons__label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--js-white-70);
}

.social-icons__link--whatsapp:hover .social-icons__label {
    color: #25d366;
}

@media (max-width: 639px) {
    .social-icons__label {
        font-size: 0.7rem;
    }
}

/* Auth */
.page--auth {
    min-height: 100vh;
}

.auth-main {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: calc(var(--site-header-h) + 2rem) 1.5rem 3rem;
}

.auth-card {
    width: 100%;
    max-width: 26rem;
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid var(--js-border);
    background: var(--js-charcoal);
}

.auth-title {
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.auth-subtitle {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: var(--js-muted);
}

.auth-text {
    margin-top: 1rem;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--js-white-60);
}

.auth-alert {
    margin-top: 1.25rem;
    padding: 0.875rem 1rem;
    border-radius: 4px;
    border: 1px solid rgba(239, 68, 68, 0.4);
    background: rgba(239, 68, 68, 0.1);
    font-size: 0.875rem;
    color: #fca5a5;
}

.auth-alert p + p {
    margin-top: 0.25rem;
}

.auth-form {
    margin-top: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--js-white-70);
}

.form-group input {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: #fff;
    background: var(--js-surface);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 4px;
    outline: none;
    transition: border-color 0.2s;
}

.form-group input:focus {
    border-color: var(--js-blue);
}

.form-check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--js-white-60);
    cursor: pointer;
}

.form-check input {
    width: 1rem;
    height: 1rem;
    accent-color: var(--js-blue);
}

.btn-full {
    width: 100%;
    margin-top: 0.5rem;
}

.auth-footer {
    margin-top: 1.5rem;
    text-align: center;
    font-size: 0.875rem;
    color: var(--js-muted);
}

.auth-footer a {
    color: var(--js-blue);
    font-weight: 600;
    transition: color 0.2s;
}

.auth-footer a:hover {
    color: #fff;
}

/* Campo contraseña con ojo */
.form-group--password .password-input-wrap {
    position: relative;
}

.form-group--password .password-input-wrap input {
    padding-right: 3rem;
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: 0.5rem;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    padding: 0;
    border: none;
    border-radius: 4px;
    background: transparent;
    color: var(--js-muted);
    cursor: pointer;
    transition: color 0.2s;
}

.password-toggle:hover {
    color: var(--js-blue);
}

.password-toggle__icon {
    width: 1.25rem;
    height: 1.25rem;
}

.admin-theme .password-toggle {
    color: #6b6b6b;
}

.admin-theme .password-toggle:hover {
    color: #0090c4;
}

.admin-theme .form-group--password .password-input-wrap input {
    padding-right: 3rem;
}
