:root {
    --ink: #263440;
    --orange: #e76f2a;
    --dark: #b84916;
    --cream: #fff8f2;
    --line: #f0dfd3;
    --muted: #64727b;
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    color: var(--ink);
    font: 15px/1.5 "DM Sans", sans-serif
}

.container {
    width: min(1170px, calc(100% - 48px));
    margin: auto
}

.header {
    height: 82px;
    background: #fffaf6;
    border-bottom: 1px solid #f4e5d9
}

.nav-wrap {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 36px
}

.brand {
    color: var(--ink);
    font: 800 27px/1 "Plus Jakarta Sans";
    letter-spacing: -2px;
    text-decoration: none
}

.nav {
    display: flex;
    gap: 29px;
    margin-left: auto
}

.nav a {
    color: #4d5962;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--orange);
}

.nav a:hover {
    color: var(--orange);
    transform: translateY(-4px);
    border-bottom: 3px solid var(--orange)
}

.header-cta,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    border-radius: 9px;
    font-weight: 700;
    text-decoration: none
}

.header-cta {
    padding: 12px 16px;
    color: #fff;
    background: var(--orange);
    font-size: 13px
}

.header-cta span,
.button span {
    font-size: 18px
}

.menu-toggle {
    display: none
}

.hero {
    overflow: hidden;
    background: radial-gradient(circle at 78% 40%, #fff0e4, transparent 24%), rgb(255, 224, 165)
}

.hero-grid {
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.5fr);
    gap: clamp(24px, 4vw, 60px);
    padding-right: 16px;
    align-items: center
}

.hero-copy {
    max-width: 680px;
    padding: 100px 0 88px
}

.hero-video-trigger {
    position: relative;
    display: block;
    width: 100%;
    min-width: 0;
    padding: 0;
    overflow: hidden;
    border: 4px solid #fff;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 20px 45px #6a381c28;
    font: inherit;
    cursor: zoom-in
}

.hero-video-trigger:focus-visible,
.video-dialog-close:focus-visible {
    outline: 3px solid var(--ink);
    outline-offset: 5px
}

.hero-video {
    display: block;
    width: 100%;
    height: auto;
    pointer-events: none
}

.hero-video-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 16px;
    color: var(--ink);
    background: #fff;
    font-size: 13px;
    font-weight: 700
}

.hero-video-hint span {
    color: var(--orange)
}

.video-dialog {
    width: min(1200px, calc(100% - 32px));
    max-height: calc(100dvh - 32px);
    padding: 16px;
    border: 0;
    border-radius: 18px;
    color: var(--ink);
    background: #fff;
    box-shadow: 0 24px 70px #26344040
}

.video-dialog::backdrop {
    background: #18212bd9;
    backdrop-filter: blur(4px)
}

.video-dialog-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px
}

.video-dialog-header h2 {
    margin: 0;
    font-size: 18px
}

.video-dialog-close {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: var(--ink);
    background: var(--cream);
    font-size: 26px;
    line-height: 1;
    cursor: pointer
}

.video-dialog-player {
    display: block;
    width: 100%;
    height: auto;
    max-height: calc(100dvh - 132px);
    border-radius: 8px;
    background: #000
}

body:has(.video-dialog[open]) {
    overflow: hidden
}

.kicker {
    color: black;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    margin: 0 0 15px
}

.kicker i {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 7px;
    border-radius: 50%;
    background: black
}

h1,
h2 {
    font-family: "Plus Jakarta Sans"
}

.hero h1,
.section-heading h2,
.conversation-copy h2,
.centres-heading h2,
.benefit-title h2,
.cta-inner h2 {
    font: 800 48px/1.1 "Plus Jakarta Sans";
    letter-spacing: -2.8px;
    margin: 0
}

.hero em,
.section-heading em,
.centres-heading em,
.benefit-title em {
    font-style: normal;
    color: #843AA6;
}

.lead {
    max-width: 530px;
    margin: 22px 0 30px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.65
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 24px
}

.button {
    padding: 14px 20px
}

.boton-naranja,
.boton-morado {
    transition: all 0.5s ease
}

.boton-naranja:hover,
.boton-morado:hover {
    transform: translateY(-10px);
    background-color: black
}

.boton-naranja:hover {
    color: #e76f2a
}

.boton-morado:hover {
    color: #a34ff1
}

.primary {
    color: #fff;
    background: var(--orange);
    box-shadow: 0 12px 22px #e76f2a2e
}

.play-link {
    color: var(--ink);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none
}

.play-link b {
    display: inline-grid;
    place-items: center;
    width: 31px;
    height: 31px;
    margin-right: 7px;
    border: 1px solid #f0c6aa;
    border-radius: 50%;
    color: var(--orange);
    font-size: 10px
}

.hero-proof {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 25px
}

.avatars {
    display: flex;
    gap: 0.5rem;
}

.avatars img {
    width: 40px;
    height: 40px;
    margin-right: -8px;
    border: 2px solid #fffaf6;
    border-radius: 50%;
    object-fit: cover;
    object-position: top;
}

.hero-proof p {
    margin: 0 0 0 8px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.35
}

.hero-proof strong {
    color: var(--ink)
}

.hero-chat-showcase {
    position: relative;
    margin: 0;
    padding: 12px;
    border: 7px solid #fff;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 25px 55px #6a381c28;
    transform: rotate(3deg)
}

.hero-chat-showcase:before {
    content: "";
    position: absolute;
    z-index: -1;
    right: -46px;
    bottom: -45px;
    width: 270px;
    height: 270px;
    border-radius: 50%;
    background: #ffe0c6
}

.hero-chat-showcase span {
    display: block;
    padding: 1px 5px 10px;
    color: var(--orange);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .7px;
    text-transform: uppercase
}

.hero-chat-showcase img {
    display: block;
    width: 100%;
    border-radius: 16px
}

.trust-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    border-bottom: 1px solid var(--line)
}

.trust-bar p {
    margin: 0;
    font-size: 12px;
    font-weight: 700
}

.trust-bar div {
    display: flex;
    gap: 24px;
    color: var(--dark);
    font-size: 12px;
    font-weight: 700
}

.intro-section {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 400px));
    justify-content: center;
    gap: 32px;
    margin-top: 0;
    padding: 72px 65px 32px;
    border-radius: 26px 26px 0 0;
    background: linear-gradient(90deg, #fff 0%, #fff9f4 100%)
}

.section-heading h2,
.centres-heading h2,
.benefit-title h2 {
    font-size: 37px
}

.section-text {
    align-self: end;
    max-width: 400px;
    margin: 0 0 7px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.65
}

.conversation {
    display: grid;
    grid-template-columns: minmax(0, 360px) minmax(0, 400px);
    justify-content: center;
    gap: 32px;
    align-items: center;
    margin: 0 auto 84px;
    padding: 30px 65px 72px;
    border-radius: 0 0 26px 26px;
    background: linear-gradient(90deg, #fff 0%, #fff9f4 100%)
}

.conversation-visual {
    height: 405px;
    position: relative;
    overflow: hidden
}

.purple-arch {
    position: absolute;
    bottom: -95px;
    left: -45px;
    width: 420px;
    height: 420px;
    border-radius: 220px 220px 0 0;
    background: #BC74FF
}

.conversation-girl {
    position: absolute;
    z-index: 2;
    bottom: -20px;
    left: 8px;
    height: 397px;
    mix-blend-mode: normal
}

.mini-bubble {
    position: absolute;
    z-index: 3;
    top: 58px;
    right: 0;
    padding: 12px 15px;
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 10px 30px #68360d25;
    font-size: 12px
}

.chat-demo {
    position: relative;
    z-index: 4;
    padding: 15px;
    border: 1px solid #f0e5dd;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 15px 35px #5e331817;
    transform: rotate(-2deg) scale(1.06)
}

.chat-top {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f3ede7
}

.chat-top img {
    width: 33px;
    height: 33px;
    border-radius: 50%;
    object-fit: cover
}

.chat-top b,
.chat-top small {
    display: block;
    font-size: 11px
}

.chat-top small {
    color: #849098
}

.chat-top small i {
    display: inline-block;
    width: 5px;
    height: 5px;
    margin-right: 4px;
    border-radius: 50%;
    background: #55c46b
}

.messages {
    display: grid;
    gap: 8px;
    padding: 13px 0
}

.messages p {
    margin: 0;
    padding: 9px;
    border-radius: 10px;
    font-size: 11px;
    line-height: 1.45
}

.messages .bot {
    background: #f7f3ef
}

.messages .user {
    margin-left: 28px;
    background: #fce1cd;
    color: #7a3512
}

.chat-input {
    padding: 9px 10px;
    border: 1px solid #eee3dc;
    border-radius: 7px;
    color: #a9a39f;
    font-size: 10px
}

.chat-input b {
    float: right;
    color: var(--orange);
    font-size: 16px
}

.conversation-copy h2 {
    margin-bottom: 14px;
    font-size: 30px;
    letter-spacing: -1.5px
}

.conversation-copy>p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.65
}

.conversation-copy ul {
    display: grid;
    gap: 10px;
    padding: 0;
    margin: 20px 0 0;
    list-style: none;
    font-size: 12px;
    font-weight: 700
}

.conversation-copy li:before {
    content: "✓";
    display: inline-grid;
    place-items: center;
    width: 17px;
    height: 17px;
    margin-right: 8px;
    border-radius: 50%;
    background: #fde5d4;
    color: var(--dark)
}

.centres-section {
    padding: 85px 0 105px;
    background: #9ebfff
}

.centres-section .container {
    width: min(1320px, calc(100% - 48px))
}

.centres-heading {
    max-width: 600px;
    margin: 0 auto 40px;
    text-align: center
}

.centres-heading>p:last-child {
    max-width: 455px;
    margin: 17px auto 0;
    color: var(--muted);
    font-size: 14px
}

.centre-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px
}

.centre-card {
    display: block;
    min-height: 365px;
    position: relative;
    overflow: hidden;
    padding: 26px;
    border-radius: 18px;
    color: inherit;
    text-decoration: none;
    transition: transform .25s ease, box-shadow .25s ease
}

.centre-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 35px #2634401f
}

.centre-card:focus-visible {
    outline: 3px solid #263440;
    outline-offset: 4px
}

.centre-card>div {
    position: relative;
    z-index: 2;
    max-width: 230px
}

.card-label {
    font-weight: 800;
    width:100%;
    letter-spacing: 1px;
    overflow-x: auto;
}

.centre-card h3 {
    margin: 14px 0 10px;
    font: 700 20px/1.22 "Plus Jakarta Sans";
    letter-spacing: -.8px
}

.centre-card p {
    margin: 0;
    font-size: 12px;
    line-height: 1.45
}

.centre-card .card-link {
    position: absolute;
    top: 280px;
    left: 0;
    color: inherit;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none
}

.centre-card img {
    position: absolute;
    z-index: 1;
    right: -5px;
    bottom: 0;
    width: auto;
    height: 275px;
    mix-blend-mode: normal
}

.centre-card.early img {
    height: 220px
}

.centre-card.training img {
    height: 300px
}

.early {
    background: #ffe1c9;
    color: #713a1f
}

.secondary {
    background: #dce9ff;
    color: #29466e
}

.training {
    background: #ffd0f9;
    color: #77521f
}

.benefits-section {
    display: grid;
    grid-template-columns: 1.08fr 1fr;
    gap: 100px;
    padding: 100px 65px
}

.benefits article {
    display: grid;
    grid-template-columns: 55px 1fr;
    padding: 23px 0;
    border-bottom: 1px solid var(--line)
}

.benefits span {
    color: #ab6ac9;
    font: 700 24px "Plus Jakarta Sans"
}

.benefits h3 {
    margin: 0 0 5px;
    font: 700 17px "Plus Jakarta Sans"
}

.benefits p {
    margin: 0;
    color: var(--muted);
    font-size: 13px
}

.reasons-section {
    padding: 80px 0 88px;
    background: var(--orange)
}

.reasons-heading {
    margin-bottom: 36px;
    text-align: center
}

.reasons-heading h2 {
    margin: 0;
    color: #fff;
    font: 800 37px/1.2 "Plus Jakarta Sans";
    letter-spacing: -1.5px
}

.reasons-heading>p:last-child {
    margin: 16px 0 0;
    color: #181f26
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px
}

.reason-card {
    display: grid;
    align-items: center;
    min-width: 0;
    min-height: 290px;
    padding: 32px;
    border-radius: 16px;
    background: #fff;
    text-align: center
}

.reason-card:focus-visible {
    outline: 3px solid var(--ink);
    outline-offset: 5px
}

.reason-card-front,
.reason-card-detail {
    grid-area: 1 / 1;
    transition: opacity .25s ease, transform .25s ease
}

.reason-card-front svg,
.reason-handshake-icon {
    display: block;
    width: 72px;
    height: 72px;
    margin: 0 auto 28px;
    color: var(--orange)
}

.reason-handshake-icon {
    background-color: currentColor;
    -webkit-mask: url("../images/estrechar_manos.png") center / auto 88px no-repeat;
    mask: url("../images/estrechar_manos.png") center / auto 88px no-repeat
}

.reason-card h3 {
    margin: 0;
    font: 700 21px/1.3 "Plus Jakarta Sans";
    letter-spacing: -.5px
}

.reason-card-detail {
    margin: 0;
    font-size: 17px;
    line-height: 1.65;
    opacity: 0;
    transform: translateY(10px)
}

.reason-card-detail strong {
    color: var(--dark)
}

.reason-card:hover .reason-card-front,
.reason-card:focus .reason-card-front {
    opacity: 0;
    transform: translateY(-10px)
}

.reason-card:hover .reason-card-detail,
.reason-card:focus .reason-card-detail {
    opacity: 1;
    transform: none
}

.cta-section {
    overflow: hidden;
    background: #bc74ff;
    color: black
}

.cta-inner {
    height: 400px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end
}

.cta-inner>img {
    position: absolute;
    bottom: -50px;
    right: 600px;
    height: 440px;
    mix-blend-mode: normal
}

.cta-inner>div {
    position: relative;
    z-index: 1;
    width: 52%
}

.cta-inner h2 {
    max-width: 540px;
    font-size: 36px;
    letter-spacing: -1.8px
}

.cta-inner p:not(.kicker) {
    max-width: 470px;
    margin: 16px 0 22px;
    color: black;
    font-size: 14px
}

.dark {
    color: #fff;
    background: var(--ink)
}

.demo-dialog-trigger {
    border: 0;
    font-family: inherit;
    font-size: inherit;
    cursor: pointer
}

.contact-dialog {
    width: min(470px, calc(100% - 32px));
    padding: 38px;
    border: 0;
    border-radius: 18px;
    color: var(--ink);
    background: #fff;
    box-shadow: 0 24px 70px #26344040
}

.contact-dialog::backdrop {
    background: #26344099;
    backdrop-filter: blur(3px)
}

.contact-dialog-close {
    position: absolute;
    top: 14px;
    right: 16px;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: var(--muted);
    background: #f7f3ef;
    font-size: 24px;
    line-height: 1;
    cursor: pointer
}

.contact-dialog h2 {
    margin: 0;
    font: 800 30px/1.15 "Plus Jakarta Sans";
    letter-spacing: -1.5px
}

.contact-dialog>p:not(.kicker) {
    margin: 16px 0 14px;
    color: var(--muted)
}

.contact-dialog-email {
    display: block;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 9px;
    color: var(--dark);
    background: var(--cream);
    font-size: 16px;
    overflow-wrap: anywhere;
    user-select: all
}

.contact-dialog-confirm {
    width: 100%;
    margin-top: 22px;
    border: 0;
    font-family: inherit;
    font-size: inherit;
    cursor: pointer
}

.footer {
    padding: 28px 0;
    background: #FFFBF8;
    color: black;
}

.fecha {
    display: flex;
    gap: 0.4rem;
}

.footer .container {
    display: flex;
    align-items: center;
    justify-content: space-between
}

.footer .brand {
    color: #fff;
    font-size: 22px
}

.footer p {
    margin: 0;
    font-size: 11px
}

@media(max-width:1000px) {
    .nav {
        gap: 16px
    }

    .hero h1 {
        font-size: 40px
    }

    .intro-section,
    .conversation,
    .benefits-section {
        padding-left: 0;
        padding-right: 0;
        gap: 45px
    }

    .intro-section,
    .conversation {
        gap: 32px
    }

    .chat-demo {
        display: none
    }

    .centre-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .reasons-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .cta-inner>img {
        left: -140px
    }
}

@media(max-width:720px) {
    .container,
    .centres-section .container {
        width: min(100% - 32px, 600px)
    }

    .header {
        height: 68px
    }

    .nav-wrap {
        gap: 12px
    }

    .menu-toggle {
        display: block;
        margin-left: auto;
        border: 0;
        background: none;
        width: 34px
    }

    .menu-toggle span {
        display: block;
        height: 2px;
        margin: 6px;
        background: var(--ink)
    }

    .nav,
    .header-cta {
        display: none
    }

    .nav.open {
        display: flex;
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        z-index: 9;
        flex-direction: column;
        gap: 0;
        padding: 15px 20px;
        background: #fff;
        box-shadow: 0 10px 20px #0001
    }

    .nav.open a {
        padding: 10px
    }

    .hero-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
        padding-right: 0;
        padding-bottom: 40px
    }

    .hero-copy {
        padding: 64px 0 54px
    }

    .hero h1 {
        font-size: 37px
    }

    .trust-bar {
        display: block;
        padding: 17px 0
    }

    .trust-bar div {
        flex-wrap: wrap;
        gap: 12px;
        margin-top: 11px;
        font-size: 10px
    }

    .intro-section {
        grid-template-columns: minmax(0, 400px);
        gap: 18px;
        padding: 48px 0 32px
    }

    .section-heading h2,
    .centres-heading h2,
    .benefit-title h2 {
        font-size: 30px
    }

    .conversation {
        grid-template-columns: minmax(0, 400px);
        gap: 24px;
        margin-bottom: 50px;
        padding: 30px 0 50px
    }

    .conversation-visual {
        height: 360px
    }

    .chat-demo {
        transform: none
    }

    .centres-section {
        padding: 65px 0
    }

    .centre-grid {
        grid-template-columns: 1fr
    }

    .centre-card {
        min-height: 310px
    }

    .centre-card .card-link {
        top: 235px
    }

    .centre-card img {
        right: -10px;
        height: 190px
    }

    .centre-card.early img {
        height: 170px
    }

    .centre-card.training img {
        height: 210px
    }

    .benefits-section {
        display: block;
        padding: 65px 0
    }

    .benefits {
        margin-top: 32px
    }

    .reasons-section {
        padding: 56px 0
    }

    .reasons-heading h2 {
        font-size: 30px
    }

    .reasons-grid {
        grid-template-columns: 1fr;
        gap: 18px
    }

    .cta-inner {
        height: 560px;
        align-items: flex-start;
        padding-top: 54px
    }

    .cta-inner>div {
        width: 100%
    }

    .cta-inner h2 {
        font-size: 30px
    }

    .cta-inner>img {
        right: -55px;
        bottom: -22px;
        left: auto;
        height: 255px
    }

    .footer .container {
        gap: 15px
    }

    .footer p {
        font-size: 10px
    }

    .hero-actions {
        gap: 13px
    }

    .primary {
        padding: 13px 15px
    }

    .contact-dialog {
        padding: 32px 24px 24px
    }

    .contact-dialog h2 {
        font-size: 26px
    }

    .hero-chat-showcase {
        width: min(280px, 78vw);
        margin: -17px auto 51px;
        transform: rotate(2deg)
    }

    .hero-chat-showcase:before {
        right: -25px;
        bottom: -31px;
        width: 215px;
        height: 215px
    }
}

@media (hover: none), (pointer: coarse) {
    .reason-card {
        gap: 20px
    }

    .reason-card-front,
    .reason-card-detail {
        grid-area: auto
    }

    .reason-card .reason-card-front,
    .reason-card .reason-card-detail {
        opacity: 1;
        transform: none
    }
}

@media (prefers-reduced-motion: reduce) {
    .reason-card-front,
    .reason-card-detail {
        transition: none;
        transform: none
    }
}

.categorias-kb {
    color: #1746B4;
    font-weight: bold;
    text-decoration: underline;
}
