:root {
    --brk-ink: #12192a;
    --brk-muted: #667085;
    --brk-line: #e7eaf3;
    --brk-surface: #f5f8ff;
    --brk-primary: #1669b2;
    --brk-secondary: #493b89;
    --brk-accent: #ee5345;
    --brk-green: #21a878;
}

html { scroll-behavior: smooth; }
.brk-home { overflow: hidden; background: #fff; color: var(--brk-ink); font-family: "Heebo", sans-serif; }
.brk-home h1, .brk-home h2, .brk-home h3 { color: var(--brk-ink); font-family: "Heebo", sans-serif; letter-spacing: -.035em; }

.brk-hero {
    position: relative;
    min-height: 720px;
    padding: 70px 0 48px;
    background:
        radial-gradient(circle at 84% 18%, rgba(22, 105, 178, .13), transparent 26%),
        radial-gradient(circle at 8% 88%, rgba(238, 83, 69, .09), transparent 22%),
        linear-gradient(180deg, #f5f8ff 0%, #fbfcff 78%, #fff 100%);
}

.brk-hero__container { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(410px, .94fr); gap: 50px; align-items: center; }
.brk-hero__content { position: relative; z-index: 2; max-width: 720px; }
.brk-eyebrow, .brk-kicker, .brk-section-heading > span {
    display: inline-flex; align-items: center; gap: 9px; margin-bottom: 22px; border: 1px solid #dfe3ef; border-radius: 999px;
    background: rgba(255, 255, 255, .92); box-shadow: 0 8px 28px rgba(42, 48, 79, .07); color: #374151;
    font-size: .77rem; font-weight: 800; letter-spacing: .1em; padding: 9px 15px; text-transform: uppercase;
}
.brk-eyebrow span { width: 8px; height: 8px; border-radius: 50%; background: var(--brk-accent); box-shadow: 0 0 0 5px rgba(238, 83, 69, .12); }
.brk-hero h1 { margin: 0; font-size: clamp(3rem, 5.1vw, 5.2rem); font-weight: 800; line-height: 1; }
.brk-hero h1 em { display: inline; background: linear-gradient(92deg, #ee5345 5%, #7b43f2 48%, #1669b2 82%); -webkit-background-clip: text; background-clip: text; color: transparent; font-style: normal; }
.brk-hero__lead { max-width: 650px; margin: 28px 0 0; color: var(--brk-muted); font-size: clamp(1.08rem, 1.5vw, 1.25rem); line-height: 1.7; }
.brk-hero__actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 32px; }

.brk-button {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; border: 0; border-radius: 13px;
    box-shadow: 0 12px 24px rgba(30, 40, 78, .14); color: #fff !important; font-size: .94rem; font-weight: 750; padding: 13px 19px;
    transition: transform .2s ease, box-shadow .2s ease;
}
.brk-button:hover { transform: translateY(-3px); box-shadow: 0 17px 32px rgba(30, 40, 78, .21); }
.brk-button--primary { background: linear-gradient(135deg, #267bc4, #125794); }
.brk-button--secondary { background: linear-gradient(135deg, #6355a6, #413373); }
.brk-button--accent { background: linear-gradient(135deg, #f16c5f, #df4036); }

.brk-trust { display: inline-flex; align-items: center; gap: 12px; margin-top: 26px; border: 1px solid var(--brk-line); border-radius: 999px; background: rgba(255,255,255,.92); box-shadow: 0 12px 36px rgba(42,48,79,.08); padding: 9px 18px 9px 9px; }
.brk-trust__icon { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 50%; background: #fff0ef; color: var(--brk-accent); }
.brk-trust strong, .brk-trust small { display: block; }
.brk-trust strong { color: var(--brk-ink); font-size: .91rem; }
.brk-trust small { color: var(--brk-muted); font-size: .78rem; }
.brk-checks { display: flex; flex-wrap: wrap; gap: 17px; margin: 25px 0 0; padding: 0; list-style: none; }
.brk-checks li { color: #3c4659; font-size: .87rem; font-weight: 650; }
.brk-checks i { margin-right: 6px; color: var(--brk-green); }

.brk-hero__visual { display: grid; min-height: 570px; place-items: center; }
.brk-robot-stage {
    position: relative; display: grid; width: min(100%, 520px); aspect-ratio: 1 / 1; place-items: center; border-radius: 48% 52% 45% 55% / 54% 47% 53% 46%;
    background: linear-gradient(145deg, #1b78bd 0%, #1669b2 50%, #493b89 100%); box-shadow: 0 42px 80px rgba(30, 76, 142, .24);
}
.brk-robot-stage::before { position: absolute; inset: 8%; border: 1px solid rgba(255,255,255,.18); border-radius: inherit; content: ""; }
.brk-robot-stage::after { position: absolute; right: -25px; bottom: 24px; z-index: -1; width: 108px; height: 108px; border-radius: 30px; background: #ee5345; content: ""; transform: rotate(18deg); opacity: .88; }
.brk-robot-stage img { position: relative; z-index: 2; width: 74%; max-height: 590px; object-fit: contain; filter: drop-shadow(0 27px 24px rgba(18, 25, 42, .25)); transform: translateY(-2%); }
.brk-topic { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(255,255,255,.82); border-radius: 12px; background: rgba(255,255,255,.95); box-shadow: 0 14px 32px rgba(31,38,74,.18); color: #30384a; font-size: .84rem; font-weight: 750; padding: 11px 14px; }
.brk-topic i { color: var(--brk-primary); }
.brk-topic--code { top: 17%; left: -5%; transform: rotate(-5deg); }
.brk-topic--design { top: 22%; right: -8%; transform: rotate(5deg); }
.brk-topic--robot { right: -2%; bottom: 18%; transform: rotate(-3deg); }

.brk-section { padding: 105px 0; }
.brk-section-heading { max-width: 760px; margin: 0 auto 50px; background: transparent !important; box-shadow: none !important; text-align: center; }
.brk-section-heading > span, .brk-kicker { margin-bottom: 17px; border-color: #dbe8f5; background: #edf6ff; box-shadow: none; color: var(--brk-primary); }
.brk-section-heading h2, .brk-about__content h2 { margin: 0; font-size: clamp(2.1rem, 4vw, 3.5rem); font-weight: 800; line-height: 1.08; }
.brk-section-heading p, .brk-about__content > p { margin: 18px auto 0; color: var(--brk-muted); font-size: 1.06rem; line-height: 1.75; }

.brk-programs { padding: 82px 0; }
.brk-program-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.brk-program-card { --card-color: #1669b2; --card-soft: #edf6ff; position: relative; display: flex; min-height: 265px; flex-direction: column; border: 1px solid var(--brk-line); border-radius: 21px; background: #fff; box-shadow: 0 15px 42px rgba(31,38,74,.07); color: inherit; padding: 22px 24px; overflow: hidden; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.brk-program-card::after { position: absolute; right: -38px; bottom: -48px; width: 112px; height: 112px; border-radius: 50%; background: var(--card-soft); content: ""; }
.brk-program-card:hover { border-color: var(--card-color); color: inherit; transform: translateY(-4px); box-shadow: 0 22px 52px rgba(31,38,74,.12); }
.brk-program-card__icon { display: grid; width: 56px; height: 56px; margin-bottom: 16px; place-items: center; border-radius: 16px; background: var(--card-soft); }
.brk-program-card__icon img { width: 38px; height: 38px; object-fit: contain; }
.brk-program-card__age { position: absolute; top: 22px; right: 22px; border-radius: 999px; background: var(--card-soft); color: var(--card-color); font-size: .74rem; font-weight: 800; padding: 5px 9px; }
.brk-program-card h3 { margin: 0; font-size: 1.3rem; font-weight: 800; }
.brk-program-card p { margin: 9px 0 16px; color: var(--brk-muted); font-size: .94rem; line-height: 1.5; }
.brk-program-card__action { position: relative; z-index: 1; display: inline-flex; align-items: center; align-self: flex-start; gap: 8px; margin-top: auto; border-radius: 10px; background: var(--card-color); box-shadow: 0 8px 18px rgba(31,38,74,.16); color: #fff; font-size: .82rem; font-weight: 800; padding: 9px 13px; }
.brk-program-card__action i { transition: transform .18s ease; }
.brk-program-card:hover .brk-program-card__action i { transform: translateX(3px); }
.brk-program-card--green { --card-color: #1f9e6c; --card-soft: #e8f8f0; }
.brk-program-card--yellow { --card-color: #c48716; --card-soft: #fff6dc; }
.brk-program-card--blue { --card-color: #3769dc; --card-soft: #edf3ff; }
.brk-program-card--purple { --card-color: #7653dc; --card-soft: #f2eeff; }
.brk-program-card--cyan { --card-color: #168da8; --card-soft: #e8f8fb; }
.brk-program-card--orange { --card-color: #df722b; --card-soft: #fff0e6; }

.brk-about { background: var(--brk-surface); }
.brk-about__grid { display: grid; grid-template-columns: minmax(0,.96fr) minmax(0,1.04fr); gap: 76px; align-items: center; }
.brk-about__media { position: relative; }
.brk-video-shell { position: relative; padding: 13px; border: 1px solid #e6e9f4; border-radius: 30px; background: #fff; box-shadow: 0 28px 75px rgba(48,55,95,.15); }
.brk-video-shell video { display: block; width: 100%; aspect-ratio: 1 / 1; border-radius: 20px; background: #eaf0ff; object-fit: cover; }
.brk-video-control { position: absolute; right: 28px; bottom: 28px; display: grid; width: 48px; height: 48px; place-items: center; border: 0; border-radius: 50%; background: rgba(18,25,42,.82); color: #fff; }
.brk-about__note { position: relative; z-index: 2; display: flex; align-items: center; gap: 14px; max-width: 420px; margin: -34px auto 0; border: 1px solid #e9e3ff; border-radius: 17px; background: #fff; box-shadow: 0 18px 45px rgba(51,44,96,.14); color: var(--brk-muted); font-size: .86rem; line-height: 1.45; padding: 17px; }
.brk-about__note i { flex: 0 0 auto; color: #f2a72e; font-size: 1.45rem; }
.brk-about__note strong { display: block; color: var(--brk-ink); }
.brk-about__content > p { margin-left: 0; }
.brk-steps { display: grid; gap: 20px; margin-top: 31px; }
.brk-steps > div { display: grid; grid-template-columns: 47px 1fr; gap: 15px; align-items: start; }
.brk-steps span { display: grid; width: 45px; height: 45px; place-items: center; border-radius: 14px; background: #e5f1fb; color: var(--brk-primary); font-size: .78rem; font-weight: 850; }
.brk-steps p { margin: 0; color: var(--brk-muted); line-height: 1.55; }
.brk-steps strong { display: block; margin-bottom: 2px; color: var(--brk-ink); font-size: 1.02rem; }
.brk-text-link { display: inline-flex; align-items: center; gap: 9px; margin-top: 33px; color: var(--brk-primary); font-weight: 800; }

.brk-gain-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 20px; }
.brk-gain-grid article { border: 1px solid var(--brk-line); border-radius: 22px; background: #fff; padding: 29px 25px; }
.brk-gain-grid article > i { display: grid; width: 54px; height: 54px; margin-bottom: 24px; place-items: center; border-radius: 16px; font-size: 1.2rem; }
.brk-blue { background: #edf3ff; color: #3769dc; } .brk-pink { background: #fff0f6; color: #db3f83; }
.brk-green { background: #e8f8f0; color: #1f9e6c; } .brk-orange { background: #fff0e6; color: #df722b; }
.brk-gain-grid h3 { margin: 0; font-size: 1.2rem; font-weight: 800; }
.brk-gain-grid p { margin: 12px 0 0; color: var(--brk-muted); line-height: 1.65; }

.brk-cta { padding: 0 0 105px; }
.brk-cta__panel { position: relative; display: grid; grid-template-columns: minmax(0,1.35fr) minmax(250px,.65fr); gap: 42px; align-items: center; border-radius: 30px; background: linear-gradient(130deg,#1669b2 0%,#235894 52%,#493b89 100%); box-shadow: 0 32px 68px rgba(31,79,142,.25); color: #fff; padding: 58px 64px; overflow: hidden; }
.brk-cta__panel::before { position: absolute; top: -135px; right: -90px; width: 320px; height: 320px; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; content: ""; }
.brk-cta__panel > div { position: relative; z-index: 1; }
.brk-cta__panel > div > span { display: inline-block; margin-bottom: 12px; color: #d6e9fb; font-size: .78rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.brk-cta h2 { margin: 0; color: #fff; font-size: clamp(2rem,3.5vw,3rem); font-weight: 800; line-height: 1.08; }
.brk-cta p { margin: 17px 0 0; color: rgba(255,255,255,.82); font-size: 1.02rem; line-height: 1.65; }
.brk-cta__actions { display: flex; flex-direction: column; align-items: center; gap: 15px; }
.brk-button--white { width: 100%; max-width: 270px; background: #fff; color: #155c9a !important; }
.brk-cta__actions > a:last-child { color: rgba(255,255,255,.88); font-size: .9rem; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 1199.98px) {
    .brk-hero__container { grid-template-columns: minmax(0,1fr) minmax(360px,.8fr); gap: 24px; }
    .brk-hero h1 { font-size: clamp(3rem,5vw,4.4rem); }
    .brk-robot-stage { width: min(100%,430px); }
    .brk-hero__visual { min-height: 500px; }
    .brk-gain-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 991.98px) {
    .brk-hero { min-height: auto; padding-top: 58px; }
    .brk-hero__container, .brk-about__grid { grid-template-columns: 1fr; }
    .brk-hero__content { max-width: 760px; margin: 0 auto; text-align: center; }
    .brk-hero h1 { margin-inline: auto; font-size: clamp(3.2rem,8.3vw,5.1rem); }
    .brk-hero__lead { margin-inline: auto; }
    .brk-hero__actions, .brk-checks { justify-content: center; }
    .brk-hero__visual { min-height: 560px; margin-top: 18px; }
    .brk-robot-stage { width: min(72vw,500px); }
    .brk-program-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .brk-about__grid { gap: 62px; }
    .brk-about__media { width: min(100%,610px); margin-inline: auto; }
    .brk-about__content { max-width: 720px; margin-inline: auto; }
    .brk-cta__panel { grid-template-columns: 1fr; padding: 48px; text-align: center; }
}

@media (max-width: 767.98px) {
    .brk-hero { padding-top: 43px; }
    .brk-hero h1 { font-size: clamp(2.65rem,11vw,4rem); }
    .brk-hero__lead { font-size: 1.05rem; }
    .brk-hero__actions { flex-direction: column; align-items: stretch; max-width: 360px; margin-inline: auto; }
    .brk-button { width: 100%; }
    .brk-trust { max-width: 100%; border-radius: 19px; text-align: left; }
    .brk-checks { flex-direction: column; gap: 9px; }
    .brk-hero__visual { min-height: 470px; }
    .brk-robot-stage { width: min(80vw,410px); }
    .brk-topic { font-size: .72rem; padding: 9px 11px; }
    .brk-section { padding: 80px 0; }
    .brk-section-heading { margin-bottom: 38px; }
    .brk-program-grid, .brk-gain-grid { grid-template-columns: 1fr; }
    .brk-programs { padding: 70px 0; }
    .brk-program-card { min-height: 250px; }
    .brk-cta { padding-bottom: 80px; }
    .brk-cta__panel { border-radius: 24px; padding: 39px 24px; }
}

@media (max-width: 479.98px) {
    .brk-eyebrow { font-size: .68rem; }
    .brk-hero h1 { font-size: 2.65rem; }
    .brk-hero__visual { min-height: 400px; }
    .brk-robot-stage { width: 86vw; }
    .brk-topic--code { left: -2%; } .brk-topic--design { right: -2%; } .brk-topic--robot { right: -1%; }
    .brk-program-card { padding: 21px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .brk-button, .brk-program-card { transition: none; }
}
