:root {
    --simplexity-blue: #0038FF;
    --simplexity-cyan: #28EDFF;
    --simplexity-navy: #030065;
    --simplexity-lime: #C6FF8D;
    --simplexity-orange: #FB8500;
    --ink: #0B1230;
    --ink-soft: #1A234A;
    --muted: #5F6B85;
    --line: rgba(3, 0, 101, 0.12);
    --paper: #FAFAF7;
    --surface: #F2F4F9;
    --serif: 'Fraunces', 'Times New Roman', serif;
    --sans: 'Montserrat', system-ui, sans-serif;
    --mono: 'JetBrains Mono', 'Courier New', monospace;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--sans);
    background-color: var(--paper);
    color: var(--ink);
    line-height: 1.6;
    overflow-x: hidden;
}

::selection {
    background: var(--simplexity-lime);
    color: var(--simplexity-navy);
}

/* HEADER */

.header {
    width: 100%;
    background: rgba(242, 244, 249, 0.92);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--line);
}

.header-container {
    width: 86%;
    margin: auto;
    height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo {
    height: 42px;
    width: auto;
}

.nav {
    display: flex;
    align-items: center;
    gap: 34px;
}

.nav a {
    color: var(--simplexity-navy);
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    position: relative;
    padding: 26px 0;
}

.nav a:hover {
    color: var(--simplexity-blue);
}

.nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 18px;
    width: 0;
    height: 3px;
    background: var(--simplexity-blue);
    transition: 0.3s ease;
}

.nav a:hover::after {
    width: 100%;
}

/* HERO */

.hero {
    min-height: 100vh;
    margin-top: 82px;
    position: relative;
    color: white;
    background: var(--simplexity-navy);
    overflow: hidden;
    isolation: isolate;
}


.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(ellipse 90% 60% at 18% 15%, rgba(40, 237, 255, 0.28), transparent 55%),
        radial-gradient(ellipse 60% 55% at 90% 85%, rgba(198, 255, 141, 0.12), transparent 60%),
        linear-gradient(155deg, rgba(3, 0, 101, 0.72) 0%, rgba(0, 56, 255, 0.42) 50%, rgba(3, 0, 101, 0.70) 100%),
        url("./imagenes/hero-eduai.png");
    background-size: cover;
    background-position: center 18%;
    background-repeat: no-repeat;
    z-index: -2;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(3, 0, 101, 0.58) 0%, rgba(0, 56, 255, 0.18) 55%, rgba(3, 0, 101, 0.38) 100%);
    z-index: -1;
}

.hero-overlay {
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    width: 86%;
    margin: auto;
    padding: 20px 0 56px 0;
}

.hero-meta {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    font-family: var(--mono);
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--simplexity-cyan);
    margin-bottom: 1.6rem;
}

.hero-meta .index {
    color: var(--simplexity-lime);
    font-weight: 700;
}

.hero-meta .rule {
    flex: 1;
    max-width: 280px;
    height: 1px;
    background: linear-gradient(90deg, rgba(40, 237, 255, 0.5), transparent);
}

.hero-kicker {
    display: inline-block;
    font-family: var(--mono);
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.84);
    padding: 0.5rem 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    margin-bottom: 1.3rem;
    backdrop-filter: blur(8px);
}

.hero-kicker .dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--simplexity-lime);
    border-radius: 50%;
    margin-right: 0.6rem;
    box-shadow: 0 0 0 4px rgba(198, 255, 141, 0.20);
}

.hero-title {
    font-family: var(--serif);
    font-weight: 500;
    font-size: clamp(3.4rem, 7.5vw, 7.4rem);
    line-height: 0.92;
    letter-spacing: -0.035em;
    margin: 0 0 1.1rem;
    color: white;
    max-width: 13ch;
}

.hero-line {
    display: block;
    white-space: nowrap;
}

.hero-title em {
    display: inline;
    font-style: italic;
    font-weight: 400;
    color: var(--simplexity-cyan);
}

.hero-title .ai-mark {
    font-family: var(--sans);
    font-weight: 900;
    font-style: normal;
    font-size: 0.30em;
    color: var(--simplexity-lime);
    letter-spacing: -0.02em;
    margin-left: 0.03em;
    vertical-align: 0.48em;
    opacity: 0.9;
}

.hero-subtitle {
    max-width: 700px;
    font-size: 1.35rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.95);
    margin-top: 12px;
    margin-bottom: 2rem;
    font-weight: 500;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    align-items: center;
    margin-bottom: 3rem;
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 0 1.6rem;
    font-family: var(--sans);
    font-weight: 800;
    font-size: 0.96rem;
    letter-spacing: 0.005em;
    text-decoration: none;
    border-radius: 4px;
    transition: 0.3s ease;
}

.btn-primary {
    color: var(--simplexity-navy);
    background: var(--simplexity-lime);
    border: 1px solid var(--simplexity-lime);
    box-shadow: 0 16px 40px -8px rgba(198, 255, 141, 0.42);
}

.btn-primary:hover {
    color: var(--simplexity-navy);
    transform: translateY(-2px);
    box-shadow: 0 22px 50px -10px rgba(198, 255, 141, 0.55);
}

.btn-secondary {
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.72);
    background: rgba(255, 255, 255, 0.06);
}

.btn-secondary:hover {
    color: var(--simplexity-navy);
    background: white;
    border-color: white;
    transform: translateY(-2px);
    box-shadow: 0 18px 38px -16px rgba(255, 255, 255, 0.45);
}

.btn-secondary:hover {
    color: var(--simplexity-navy);
    background: white;
    border-color: white;
    transform: translateY(-2px);
}

.hero-proof {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 980px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.proof-item {
    padding: 1.4rem 1.3rem 1.4rem 0;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.proof-item:last-child {
    border-right: none;
}

.proof-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--mono);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--simplexity-cyan);
    margin-bottom: 0.6rem;
}

.proof-label::before {
    content: "";
    width: 6px;
    height: 6px;
    background: var(--simplexity-cyan);
    border-radius: 50%;
}

.proof-item strong {
    display: block;
    font-family: var(--serif);
    font-weight: 500;
    font-size: 1.08rem;
    line-height: 1.3;
    color: white;
}

/* SECCIONES */

.section {
    padding: 110px 8%;
    background: var(--paper);
}

.section-soft {
    background: var(--surface);
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    font-family: var(--mono);
    font-size: 0.74rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--simplexity-blue);
    margin-bottom: 1.4rem;
}

.section-eyebrow::before {
    content: "";
    width: 28px;
    height: 1px;
    background: var(--simplexity-blue);
}

.section-title {
    font-family: var(--serif);
    color: var(--simplexity-navy);
    font-size: clamp(2.4rem, 4.6vw, 4.4rem);
    line-height: 1.02;
    font-weight: 500;
    letter-spacing: -0.025em;
    margin-bottom: 1.4rem;
    max-width: 920px;
}

.section-title em {
    font-style: italic;
    font-weight: 400;
    color: var(--simplexity-blue);
}

.white-title {
    color: white;
}

.white-title em {
    color: var(--simplexity-cyan);
}

.section-copy {
    color: var(--muted);
    font-size: 1.06rem;
    line-height: 1.72;
    max-width: 720px;
    font-weight: 400;
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin-top: 3rem;
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.four-cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
    position: relative;
    padding: 2.4rem 2rem 2.2rem;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--paper);
    transition: 0.3s ease;
}

.section-soft .card {
    background: white;
}

.card:hover {
    background: white;
    transform: translateY(-4px);
}

.card-number {
    font-family: var(--mono);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: var(--simplexity-blue);
    display: block;
    margin-bottom: 1.2rem;
}

.card h3 {
    font-family: var(--serif);
    font-weight: 500;
    font-size: 1.5rem;
    line-height: 1.18;
    letter-spacing: -0.015em;
    color: var(--simplexity-navy);
    margin: 0 0 1rem;
}

.card p {
    color: var(--muted);
    line-height: 1.62;
    font-size: 0.98rem;
    margin: 0;
}

/* FLOW */

.flow-section {
    background: var(--simplexity-navy);
    color: white;
    padding: 100px 8%;
    position: relative;
    overflow: hidden;
}

.flow-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 90% 50%, rgba(40, 237, 255, 0.14), transparent 50%);
    pointer-events: none;
}

.flow-section .section-eyebrow {
    color: var(--simplexity-lime);
}

.flow-section .section-eyebrow::before {
    background: var(--simplexity-lime);
}

.flow-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    position: relative;
    margin-top: 3rem;
}

.flow-step {
    padding: 1.8rem 1.4rem;
    border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.flow-step span {
    font-family: var(--mono);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    color: var(--simplexity-cyan);
    display: block;
    margin-bottom: 1.2rem;
}

.flow-step strong {
    display: block;
    font-family: var(--serif);
    font-weight: 500;
    font-size: 1.4rem;
    line-height: 1.2;
    color: var(--simplexity-lime);
    margin-bottom: 0.5rem;
}

.flow-step p {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.58;
    font-size: 0.95rem;
}

/* CTA */

.cta {
    padding: 100px 8%;
    background: linear-gradient(135deg, var(--simplexity-navy), var(--simplexity-blue));
    color: white;
}

.cta .section-eyebrow {
    color: var(--simplexity-lime);
}

.cta .section-eyebrow::before {
    background: var(--simplexity-lime);
}

.cta p {
    max-width: 720px;
    margin-bottom: 32px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 1.08rem;
    line-height: 1.7;
}

/* CONTACTO SIMPLEXITY */

.contact-section {
    background: linear-gradient(
        90deg,
        #030065 0%,
        #02144f 100%
    );
    color: white;
    padding: 120px 8%;
}

.contact-container {
    max-width: 1400px;
    margin: 0 auto;
}

.contact-header {
    margin-bottom: 60px;
}

.contact-tag {
    display: inline-block;
    font-family: var(--mono);
    color: #28EDFF;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 4px;
    margin-bottom: 25px;
}

.contact-header h2 {
    font-family: var(--serif);
    font-size: 82px;
    font-weight: 500;
    color: white;
    line-height: 1;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid rgba(255,255,255,0.12);
    border-bottom: 1px solid rgba(255,255,255,0.12);
}

.contact-card {
    padding: 40px;
    border-right: 1px solid rgba(255,255,255,0.12);
}

.contact-card:last-child {
    border-right: none;
}

.contact-card h3 {
    color: #28EDFF;
    font-family: var(--mono);
    font-size: 15px;
    letter-spacing: 3px;
    margin-bottom: 25px;
}

.contact-card p,
.contact-card a {
    color: white;
    text-decoration: none;
    font-size: 20px;
    line-height: 1.7;
    font-family: var(--serif);
}

.contact-card a:hover {
    color: #C6FF8D;
}

/* DEMO CREDS BOX (sección 05 — Demo) */

.cta-actions {
    margin-bottom: 36px;
}

.demo-creds-box {
    display: inline-block;
    max-width: 420px;
    text-align: left;
    padding: 28px 32px;
    border: 1px solid rgba(198, 255, 141, 0.45);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(4px);
}

.demo-creds-label {
    display: inline-block;
    font-family: var(--mono);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--simplexity-lime);
    margin-bottom: 8px;
}

.demo-creds-sub {
    margin: 0 0 20px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.5;
}

.demo-creds-list {
    margin: 0 0 22px;
    display: grid;
    gap: 10px;
}

.demo-creds-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.demo-creds-item dt {
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--simplexity-cyan);
}

.demo-creds-item dd {
    margin: 0;
}

.demo-creds-item code {
    font-family: var(--mono);
    font-size: 0.95rem;
    color: white;
    background: rgba(0, 0, 0, 0.25);
    padding: 4px 10px;
    border-radius: 6px;
}

.demo-creds-btn {
    display: inline-block;
}

/* FORMULARIO DE CONTACTO (mailto, sin backend) */

.contact-form {
    margin-top: 56px;
    max-width: 720px;
    display: grid;
    gap: 18px;
}

.contact-form h3 {
    font-family: var(--serif);
    font-size: 32px;
    font-weight: 500;
    color: white;
    margin-bottom: 4px;
}

.contact-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--sans);
    font-size: 1rem;
    color: white;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 10px;
    outline: none;
    transition: border-color 0.2s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.55);
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--simplexity-cyan);
}

.contact-form textarea {
    resize: vertical;
}

.contact-form .btn-primary {
    justify-self: start;
}

.contact-form-status {
    margin: 4px 0 0;
    font-size: 0.95rem;
    color: var(--simplexity-lime);
    min-height: 1.2em;
}

/* RESPONSIVE */

@media (max-width: 1100px) {
    .cards,
    .four-cards,
    .flow-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-proof {
        grid-template-columns: 1fr;
    }

    .proof-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }

    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }

    .contact-header h2 {
        font-size: 56px;
    }
}

@media (max-width: 767px) {
    .header {
        position: relative;
    }

    .header-container {
        width: 92%;
        height: auto;
        padding: 18px 0;
        flex-direction: column;
        gap: 16px;
    }

    .nav {
        flex-wrap: nowrap;
        justify-content: center;
        gap: 10px;
    }

    .nav a {
        padding: 6px 0;
        font-size: 12px;
    }

    .hero {
        margin-top: 0;
        min-height: auto;
    }

    .hero-overlay {
        min-height: auto;
    }

    .hero-content {
        width: 90%;
        padding: 70px 0;
    }

    .hero-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.7rem;
    }

    .hero-meta .rule {
        width: 160px;
        flex: none;
    }

    .hero-title {
    font-size: 2.75rem;
    line-height: 0.98;
    max-width: 100%;
    letter-spacing: -0.025em;
}

.hero-line {
    white-space: normal;
}

.hero-title .ai-mark {
    font-size: 0.28em;
    vertical-align: 0.45em;
}

    .edu-mark {
        font-size: 0.28em;
        padding: 10px 13px;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
    }

    .section,
    .flow-section,
    .cta,
    .contact-section {
        padding: 82px 7%;
    }

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

    .section-title {
        font-size: 2.4rem;
    }

    .contact-card {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.12);
    }

    .contact-header h2 {
        font-size: 42px;
    }

    .contact-form-row {
        grid-template-columns: 1fr;
    }

    .demo-creds-box {
        max-width: 100%;
        width: 100%;
    }
}

/* BARRA EN MOVIMIENTO */

.edu-ticker {
    background: var(--ink);
    color: white;
    overflow: hidden;
    padding: 15px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ticker-track {
    display: flex;
    gap: 3rem;
    width: max-content;
    white-space: nowrap;
    animation: tickerMove 34s linear infinite;
    font-family: var(--mono);
    font-size: 0.82rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
}

.ticker-track span {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
}

.ticker-track span::before {
    content: "✕";
    color: var(--simplexity-orange);
    font-size: 0.9rem;
}

@keyframes tickerMove {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.card-icon {
    position: absolute;
    top: 2.4rem;
    right: 2rem;
    color: rgba(3, 0, 101, 0.22);
    font-size: 1.6rem;
    transition: color 0.4s ease, transform 0.4s ease;
}

.card:hover .card-icon {
    color: var(--simplexity-blue);
    transform: rotate(-6deg) scale(1.12);
}

/* CHAT FLOTANTE RESTOAI */

.eduai-chat-widget {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1300;
    font-family: var(--sans);
}

.eduai-chat-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 58px;
    padding: 0 20px;
    border: 1px solid rgba(40, 237, 255, 0.34);
    border-radius: 4px;
    background: var(--simplexity-navy);
    color: white;
    font-family: var(--sans);
    font-size: 0.95rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 18px 44px rgba(3, 0, 101, 0.26);
    transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.eduai-chat-toggle i {
    color: var(--simplexity-cyan);
    font-size: 1.1rem;
}

.eduai-chat-toggle:hover {
    background: var(--simplexity-blue);
    transform: translateY(-2px);
    box-shadow: 0 24px 54px rgba(3, 0, 101, 0.34);
}

.eduai-chat-toggle.hidden {
    display: none;
}

.eduai-chat-panel {
    position: fixed;
    right: 24px;
    bottom: 90px;
    width: min(380px, calc(100vw - 48px));
    height: 70vh;
    max-height: 560px;
    min-height: 0;
    display: none;
    grid-template-rows: auto 1fr auto;
    overflow: hidden;
    border: 1px solid rgba(3, 0, 101, 0.14);
    border-radius: 8px;
    background: var(--paper);
    box-shadow: 0 28px 70px rgba(3, 0, 101, 0.30);
}

.eduai-chat-widget.is-open .eduai-chat-panel {
    display: grid;
}

.eduai-chat-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 18px 16px;
    background:
        linear-gradient(135deg, rgba(3, 0, 101, 0.96), rgba(0, 56, 255, 0.92));
    color: white;
}

.eduai-chat-kicker {
    display: block;
    margin-bottom: 6px;
    color: var(--simplexity-cyan);
    font-family: var(--mono);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.eduai-chat-header h2 {
    margin: 0;
    color: white;
    font-family: var(--serif);
    font-size: 1.45rem;
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: 0;
}

.eduai-chat-close {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.08);
    color: white;
    cursor: pointer;
}

.eduai-chat-close:hover {
    background: rgba(255, 255, 255, 0.18);
}

.eduai-chat-messages {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 0;
    padding: 18px;
    overflow-y: auto;
    background:
        linear-gradient(180deg, rgba(242, 244, 249, 0.84), rgba(250, 250, 247, 1));
}

.eduai-message {
    max-width: 88%;
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 0.9rem;
    line-height: 1.48;
    overflow-wrap: anywhere;
}

.eduai-message-bot {
    align-self: flex-start;
    border: 1px solid rgba(3, 0, 101, 0.10);
    background: white;
    color: var(--ink);
}

.eduai-message-user {
    align-self: flex-end;
    background: var(--simplexity-navy);
    color: white;
}

.eduai-chat-form {
    display: grid;
    grid-template-columns: 1fr 48px;
    gap: 10px;
    padding: 14px;
    border-top: 1px solid var(--line);
    background: white;
}

.eduai-chat-form input {
    width: 100%;
    min-width: 0;
    min-height: 48px;
    border: 1px solid rgba(3, 0, 101, 0.18);
    border-radius: 4px;
    padding: 0 13px;
    color: var(--ink);
    font-family: var(--sans);
    font-size: 0.92rem;
    outline: none;
}

.eduai-chat-form input:focus {
    border-color: var(--simplexity-blue);
    box-shadow: 0 0 0 3px rgba(0, 56, 255, 0.10);
}

.eduai-chat-form button {
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 4px;
    background: var(--simplexity-lime);
    color: var(--simplexity-navy);
    cursor: pointer;
    font-size: 1rem;
    transition: transform 0.25s ease, background 0.25s ease;
}

.eduai-chat-form button:hover {
    background: var(--simplexity-cyan);
    transform: translateY(-1px);
}

@media (max-width: 767px) {
    .eduai-chat-widget {
        right: 12px;
        bottom: 12px;
    }

    .eduai-chat-panel {
        right: 12px;
        left: 12px;
        bottom: 12px;
        width: auto;
        height: 64vh;
        max-height: 64vh;
    }

    .eduai-chat-toggle {
        min-height: 54px;
        padding: 0 16px;
    }
}

/* Botón flotante de WhatsApp — abre wa.me/50662207848 directo */
.whatsapp-float {
    position: fixed;
    left: 24px;
    bottom: 24px;
    z-index: 1300;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 18px 44px rgba(37, 211, 102, 0.34);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.whatsapp-float i {
    font-size: 1.9rem;
    line-height: 1;
}

.whatsapp-float:hover {
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 24px 54px rgba(37, 211, 102, 0.42);
}

@media (max-width: 600px) {
    .whatsapp-float {
        left: 16px;
        bottom: 16px;
        width: 54px;
        height: 54px;
    }
}
