/* ============================================================
   RUNO — hero-slider.css
   Стили инлайн-слайдера первого экрана (#runo-new-hero).
   Подключается внутри shadow root (declarative shadow DOM) через
   <link rel="stylesheet"> в шаблоне блока. Шрифты Onest — локальные
   подмножества из ../fonts/ (как в common.css).
   ============================================================ */

/* --- Onest (локальные подмножества, ../fonts/) --- */
@font-face {
   font-family: Onest;
   src: url("../fonts/onest-cyrillic-ext.woff2") format("woff2");
   font-weight: 100 900;
   font-style: normal;
   font-display: swap;
   unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F
}

@font-face {
   font-family: Onest;
   src: url("../fonts/onest-cyrillic.woff2") format("woff2");
   font-weight: 100 900;
   font-style: normal;
   font-display: swap;
   unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116
}

@font-face {
   font-family: Onest;
   src: url("../fonts/onest-greek.woff2") format("woff2");
   font-weight: 100 900;
   font-style: normal;
   font-display: swap;
   unicode-range: U+0302-0303, U+0305, U+0307-0308, U+0310, U+0312, U+0315, U+031A, U+0326-0327, U+032C, U+032F-0330, U+0332-0333, U+0338, U+033A, U+0346, U+034D, U+0391-03A1, U+03A3-03A9, U+03B1-03C9, U+03D1, U+03D5-03D6, U+03F0-03F1, U+03F4-03F5, U+2016-2017, U+2034-2038, U+203C, U+2040, U+2043, U+2047, U+2050, U+2057, U+205F, U+2070-2071, U+2074-208E, U+2090-209C, U+20D0-20DC, U+20E1, U+20E5-20EF, U+2100-2112, U+2114-2115, U+2117-2121, U+2123-214F, U+2190, U+2192, U+2194-21AE, U+21B0-21E5, U+21F1-21F2, U+21F4-2211, U+2213-2214, U+2216-22FF, U+2308-230B, U+2310, U+2319, U+231C-2321, U+2336-237A, U+237C, U+2395, U+239B-23B7, U+23D0, U+23DC-23E1, U+2474-2475, U+25AF, U+25B3, U+25B7, U+25BD, U+25C1, U+25CA, U+25CC, U+25FB, U+266D-266F, U+27C0-27FF, U+2900-2AFF, U+2B0E-2B11, U+2B30-2B4C, U+2BFE, U+3030, U+FF5B, U+FF5D, U+1D400-1D7FF, U+1EE00-1EEFF
}

@font-face {
   font-family: Onest;
   src: url("../fonts/onest-symbols.woff2") format("woff2");
   font-weight: 100 900;
   font-style: normal;
   font-display: swap;
   unicode-range: U+0001-000C, U+000E-001F, U+007F-009F, U+20DD-20E0, U+20E2-20E4, U+2150-218F, U+2190, U+2192, U+2194-2199, U+21AF, U+21E6-21F0, U+21F3, U+2218-2219, U+2299, U+22C4-22C6, U+2300-243F, U+2440-244A, U+2460-24FF, U+25A0-27BF, U+2800-28FF, U+2921-2922, U+2981, U+29BF, U+29EB, U+2B00-2BFF, U+4DC0-4DFF, U+FFF9-FFFB, U+10140-1018E, U+10190-1019C, U+101A0, U+101D0-101FD, U+102E0-102FB, U+10E60-10E7E, U+1D2C0-1D2D3, U+1D2E0-1D37F, U+1F000-1F0FF, U+1F100-1F1AD, U+1F1E6-1F1FF, U+1F30D-1F30F, U+1F315, U+1F31C, U+1F31E, U+1F320-1F32C, U+1F336, U+1F378, U+1F37D, U+1F382, U+1F393-1F39F, U+1F3A7-1F3A8, U+1F3AC-1F3AF, U+1F3C2, U+1F3C4-1F3C6, U+1F3CA-1F3CE, U+1F3D4-1F3E0, U+1F3ED, U+1F3F1-1F3F3, U+1F3F5-1F3F7, U+1F408, U+1F415, U+1F41F, U+1F426, U+1F43F, U+1F441-1F442, U+1F444, U+1F446-1F449, U+1F44C-1F44E, U+1F453, U+1F46A, U+1F47D, U+1F4A3, U+1F4B0, U+1F4B3, U+1F4B9, U+1F4BB, U+1F4BF, U+1F4C8-1F4CB, U+1F4D6, U+1F4DA, U+1F4DF, U+1F4E3-1F4E6, U+1F4EA-1F4ED, U+1F4F7, U+1F4F9-1F4FB, U+1F4FD-1F4FE, U+1F503, U+1F507-1F50B, U+1F50D, U+1F512-1F513, U+1F53E-1F54A, U+1F54F-1F5FA, U+1F610, U+1F650-1F67F, U+1F687, U+1F68D, U+1F691, U+1F694, U+1F698, U+1F6AD, U+1F6B2, U+1F6B9-1F6BA, U+1F6BC, U+1F6C6-1F6CF, U+1F6D3-1F6D7, U+1F6E0-1F6EA, U+1F6F0-1F6F3, U+1F6F7-1F6FC, U+1F700-1F7FF, U+1F800-1F80B, U+1F810-1F847, U+1F850-1F859, U+1F860-1F887, U+1F890-1F8AD, U+1F8B0-1F8BB, U+1F8C0-1F8C1, U+1F900-1F90B, U+1F93B, U+1F946, U+1F984, U+1F996, U+1F9E9, U+1FA00-1FA6F, U+1FA70-1FA7C, U+1FA80-1FA89, U+1FA8F-1FAC6, U+1FACE-1FADC, U+1FADF-1FAE9, U+1FAF0-1FAF8, U+1FB00-1FBFF
}

@font-face {
   font-family: Onest;
   src: url("../fonts/onest-vietnamese.woff2") format("woff2");
   font-weight: 100 900;
   font-style: normal;
   font-display: swap;
   unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB
}

@font-face {
   font-family: Onest;
   src: url("../fonts/onest-latin-ext.woff2") format("woff2");
   font-weight: 100 900;
   font-style: normal;
   font-display: swap;
   unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF
}

@font-face {
   font-family: Onest;
   src: url("../fonts/onest-latin.woff2") format("woff2");
   font-weight: 100 900;
   font-style: normal;
   font-display: swap;
   unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD
}

:root {
   font-family: Onest, Arial, sans-serif;
   color: #191b20;
   background: #fff;
   font-synthesis: none
}

* {
   box-sizing: border-box
}

html {
   scroll-behavior: smooth
}

body {
   margin: 0;
   min-width: 320px;
   -webkit-font-smoothing: antialiased
}

button,
a {
   font: inherit
}

button {
   cursor: pointer
}

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

button:focus-visible,
a:focus-visible {
   outline: 3px solid #ef4b3f;
   outline-offset: 4px
}

.sr-only {
   position: absolute;
   width: 1px;
   height: 1px;
   overflow: hidden;
   clip: rect(0, 0, 0, 0);
   white-space: nowrap
}

.header {
   height: 84px;
   display: flex;
   align-items: center;
   gap: clamp(35px, 5.5vw, 84px);
   padding: 0 clamp(25px, 4.3vw, 70px);
   white-space: nowrap;
   position: relative;
   z-index: 20;
   background: #fff
}

.logo {
   width: 132px;
   display: block
}

.nav,
.header-right {
   display: flex;
   align-items: center;
   gap: 30px;
   font-size: 16px;
   color: #313844
}

.nav a,
.nav button {
   display: inline-flex;
   align-items: center;
   gap: 5px
}

.nav a:hover,
.nav button:hover {
   color: #ef4b3f
}

.nav button {
   padding: 0;
   border: 0;
   color: inherit;
   background: none
}

.nav-wrap {
   position: relative
}

.menu {
   position: absolute;
   top: 32px;
   left: -18px;
   display: grid;
   min-width: 220px;
   background: #fff;
   border: 1px solid #e7e7e8;
   border-radius: 13px;
   padding: 8px;
   box-shadow: 0 18px 50px #1d1d241a
}

.menu a {
   padding: 10px 12px;
   border-radius: 7px
}

.menu a:hover {
   background: #f8f3f2
}

.header-right {
   margin-left: auto;
   gap: 25px;
   color: #555e6b
}

.phone {
   color: #1c2330;
   font-weight: 700;
   text-align: center;
   line-height: 1.12
}

.phone small {
   display: block;
   margin-top: 4px;
   color: #9299a6;
   font-size: 12px;
   font-weight: 400
}

.call {
   border: 1px solid #596271;
   border-radius: 30px;
   padding: 12px 25px;
   color: #222936
}

.cart {
   display: flex;
   align-items: center;
   gap: 7px
}

.hero {
   height: min(744px, calc(100svh - 155px));
   min-height: 610px;
   margin: 0 20px;
   border-radius: 28px;
   position: relative;
   overflow: hidden;
   background: #e8ecf2
}

.panel {
   position: absolute;
   top: 0;
   right: 0;
   bottom: 0;
   left: 0;
   opacity: 0;
   visibility: hidden;
   transition: opacity .24s ease, visibility .24s ease
}

.panel.shown {
   opacity: 1;
   visibility: visible;
   z-index: 1
}

.panel.promotion {
   background: #142338;
   color: #fff
}

.panel.about {
   background: #f6f2ef
}

.panel.finance {
   background: #e8eff7
}

.panel.selector {
   background: #f5f5f1
}

.scene {
   position: absolute;
   top: 0;
   right: 0;
   bottom: 0;
   left: 0;
   width: 100%;
   height: 100%;
   object-fit: cover;
   animation: scene-breathe 13s ease-in-out infinite alternate
}

.about-mark {
   position: absolute;
   width: 300px;
   height: 420px;
   object-fit: contain;
   right: 12%;
   top: 15%;
   animation: about-float 7s ease-in-out infinite alternate
}

@keyframes scene-breathe {
   to {
      transform: scale(1.035) translateY(-5px)
   }
}

@keyframes about-float {
   to {
      transform: translateY(-13px)
   }
}

.slide-copy {
   position: relative;
   z-index: 2;
   margin: 0;
   padding: 104px clamp(55px, 6.5vw, 105px);
   max-width: 820px
}

.eyebrow,
.section-kicker {
   margin: 0;
   font-weight: 700;
   font-size: 15px;
   letter-spacing: .09em;
   color: #ef4b3f
}

.panel h1,
.panel h2 {
   font-size: clamp(54px, 5.4vw, 88px);
   line-height: 1.02;
   letter-spacing: -.056em;
   margin: 35px 0 17px;
   font-weight: 700
}

.panel.about h1,
.panel.finance h2,
.panel.selector h2 {
   font-size: clamp(50px, 5.1vw, 78px)
}

.slide-lead {
   margin: 0;
   color: #c7cbd1;
   font-size: clamp(23px, 2.1vw, 31px);
   line-height: 1.25
}

.about .slide-lead,
.finance .slide-lead,
.selector .slide-lead {
   color: #68717e
}

.slide-cta {
   display: inline-flex;
   align-items: center;
   justify-content: center;
   min-height: 74px;
   min-width: 288px;
   border: 0;
   border-radius: 14px;
   background: #ef4b3f;
   color: #fff;
   font-size: 22px;
   font-weight: 600;
   padding: 18px 28px;
   margin-top: 42px;
   transition: transform .2s, background .2s
}

.slide-cta:hover {
   transform: translateY(-3px);
   background: #df3f35
}

.about .slide-cta,
.selector .slide-cta {
   background: #1b1e22
}

.about .slide-cta:hover,
.selector .slide-cta:hover {
   background: #34383c
}

.finance .slide-cta {
   background: #ef4b3f
}

.controls {
   position: absolute;
   z-index: 5;
   left: clamp(55px, 5.3vw, 85px);
   right: clamp(50px, 4.8vw, 77px);
   bottom: 45px;
   display: flex;
   align-items: flex-end;
   justify-content: space-between;
   gap: 45px
}

.slide-tabs {
   display: grid;
   grid-template-columns: repeat(4, minmax(125px, 1fr));
   gap: clamp(16px, 3vw, 50px);
   width: min(1090px, 80%)
}

.slide-tabs button {
   border: 0;
   background: none;
   text-align: left;
   padding: 0;
   color: #fff;
   font-size: 22px;
   font-weight: 500;
   white-space: nowrap;
   text-shadow: 0 1px 8px #08142456
}

.slide-tabs button.current {
   color: #ef4b3f;
   font-weight: 700
}

/* Временно отключённые слайды (data-disabled) не показываем в списке табов. */
.slide-tabs [role="tab"][data-disabled] {
   display: none
}

.track {
   display: block;
   width: 100%;
   height: 3px;
   background: #d5dbe066;
   margin-top: 20px;
   border-radius: 5px;
   overflow: hidden
}

.track span {
   display: block;
   height: 100%;
   width: 0;
   background: #ef4b3f
}

.track .fill {
   animation: fill 2.8s linear forwards
}

.hero.paused .track .fill {
   animation-play-state: paused
}

@keyframes fill {
   to {
      width: 100%
   }
}

.arrows {
   display: flex;
   gap: 15px;
   flex: none
}

.arrows button {
   display: grid;
   place-items: center;
   width: 58px;
   height: 58px;
   border-radius: 50%;
   border: 0;
   background: #ffffffc9;
   color: #20252b;
   transition: background .2s, transform .2s
}

.arrows button:hover {
   background: #fff;
   transform: translateY(-2px)
}

.about .slide-tabs button,
.finance .slide-tabs button,
.selector .slide-tabs button {
   color: #4b515d;
   text-shadow: none
}

.about .slide-tabs button.current,
.finance .slide-tabs button.current,
.selector .slide-tabs button.current {
   color: #ef4b3f
}

.about .track,
.finance .track,
.selector .track {
   background: #9ba2ac60
}

.programs {
   margin: 32px 20px 0;
   border-radius: 28px 28px 0 0;
   background: #f6f7f9;
   min-height: 420px;
   padding: 52px clamp(32px, 4vw, 64px)
}

.programs h2 {
   font-size: clamp(30px, 3.2vw, 46px);
   letter-spacing: -.05em;
   margin: 17px 0 32px
}

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

.course {
   display: flex;
   flex-direction: column;
   min-height: 210px;
   border: 1px solid #e0e2e5;
   border-radius: 17px;
   padding: 24px;
   background: #fff;
   position: relative
}

.course:before {
   content: "";
   position: absolute;
   top: 0;
   left: 24px;
   width: 52px;
   height: 3px;
   background: var(--accent)
}

.course span {
   color: #77808b;
   font-size: 13px
}

.course h3 {
   font-size: 19px;
   line-height: 1.3;
   margin: 20px 15px 15px 0
}

.course svg {
   margin: auto 0 0 auto
}

.course:hover {
   border-color: #afb5bb;
   transform: translateY(-2px)
}

.quiz-backdrop {
   position: fixed;
   z-index: 50;
   top: 0;
   right: 0;
   bottom: 0;
   left: 0;
   background: #10172699;
   -webkit-backdrop-filter: blur(6px);
   backdrop-filter: blur(6px);
   padding: 20px;
   display: grid;
   place-items: center
}

.quiz-dialog {
   position: relative;
   width: min(650px, 100%);
   max-height: calc(100dvh - 40px);
   overflow: auto;
   background: #f8f8f6;
   border-radius: 24px;
   padding: 48px;
   box-shadow: 0 30px 80px #05091140
}

.quiz-dialog h2 {
   font-size: 35px;
   line-height: 1.14;
   letter-spacing: -.04em;
   margin: 25px 30px 25px 0
}

.quiz-dialog p:not(.section-kicker) {
   font-size: 16px;
   color: #606775;
   line-height: 1.5
}

.quiz-close {
   position: absolute;
   right: 24px;
   top: 22px;
   width: 38px;
   height: 38px;
   border: 0;
   background: none;
   display: grid;
   place-items: center
}

.quiz-options {
   display: grid;
   gap: 10px
}

.quiz-options button {
   display: flex;
   justify-content: space-between;
   align-items: center;
   text-align: left;
   gap: 20px;
   border: 1px solid #dcdee1;
   border-radius: 12px;
   background: #fff;
   padding: 18px 20px;
   font-weight: 600
}

.quiz-options button:hover {
   border-color: #ef4b3f
}

.suggestion {
   display: flex;
   align-items: center;
   justify-content: space-between;
   gap: 18px;
   background: #fff;
   border: 1px solid #dedfe1;
   border-radius: 13px;
   padding: 20px;
   font-weight: 700;
   line-height: 1.35
}

.suggestion:hover {
   border-color: #ef4b3f
}

.quiz-back {
   display: flex;
   align-items: center;
   gap: 7px;
   border: 0;
   background: none;
   margin-top: 24px;
   padding: 5px 0
}

.quiz-dialog .slide-cta {
   min-width: 0;
   min-height: 52px;
   font-size: 16px;
   margin-top: 17px
}

@media(max-width:1260px) {
   .header {
      gap: 35px
   }

   .nav,
   .header-right {
      gap: 16px
   }

   .phone,
   .call {
      display: none
   }

   .slide-tabs button {
      font-size: 17px
   }

   .slide-copy {
      padding-top: 95px
   }

   .hero {
      min-height: 570px
   }
}

@media(max-width:760px) {
   .header {
      height: 65px;
      padding: 0 19px;
      justify-content: space-between
   }

   .logo {
      width: 105px
   }

   .nav,
   .header-right>a:not(.cart) {
      display: none
   }

   .header-right {
      margin: 0
   }

   .hero {
      height: 660px;
      min-height: 0;
      margin: 0 10px;
      border-radius: 22px
   }

   .scene {
      object-position: 65% center
   }

   .promotion .scene {
      object-position: 48% center
   }

   .slide-copy {
      padding: 45px 26px;
      max-width: 100%
   }

   .eyebrow {
      font-size: 10px;
      max-width: 250px;
      line-height: 1.5
   }

   .panel h1,
   .panel h2,
   .panel.about h1,
   .panel.finance h2,
   .panel.selector h2 {
      font-size: clamp(38px, 9.8vw, 58px);
      margin: 24px 0 12px;
      line-height: 1.05
   }

   .slide-lead {
      font-size: 17px
   }

   .slide-cta {
      min-height: 52px;
      min-width: 0;
      padding: 12px 21px;
      font-size: 15px;
      margin-top: 25px;
      border-radius: 10px
   }

   .promotion .slide-copy {
      max-width: 85%
   }

   .about-mark {
      width: 190px;
      height: 220px;
      right: 10%;
      top: 320px
   }

   .controls {
      left: 22px;
      right: 22px;
      bottom: 22px;
      align-items: center;
      gap: 8px
   }

   .slide-tabs {
      width: 100%;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 7px
   }

   .slide-tabs button {
      font-size: 10px;
      white-space: normal;
      line-height: 1.18;
      min-height: 45px
   }

   .track {
      margin-top: 8px;
      height: 2px
   }

   .arrows {
      gap: 5px
   }

   .arrows button {
      width: 32px;
      height: 32px
   }

   .arrows svg {
      width: 15px
   }

   .programs {
      margin: 20px 10px 0;
      padding: 28px 22px
   }

   .programs h2 {
      font-size: 29px
   }

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

   .course {
      min-height: 160px
   }

   .quiz-dialog {
      padding: 38px 24px
   }

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

@media(prefers-reduced-motion:reduce) {
   html {
      scroll-behavior: auto
   }

   *,
   *:before,
   *:after {
      animation-duration: .01ms !important;
      transition-duration: .01ms !important
   }
}

.hero-section {
   padding: 0 44px;
   max-width: 1800px;
   margin: auto
}

.hero-intro {
   display: flex;
   justify-content: space-between;
   align-items: center;
   gap: 35px;
   margin: 0 26px 34px;
   min-height: 112px
}

.hero-intro h1 {
   font-size: clamp(32px, 2.7vw, 46px);
   line-height: 1.15;
   letter-spacing: -.045em;
   margin: 0;
   font-weight: 700
}

.facts {
   display: flex;
   align-items: center;
   white-space: nowrap
}

.facts div {
   display: flex;
   flex-direction: column;
   gap: 2px;
   padding: 0 36px;
   border-right: 1px solid #d5d5d5
}

.facts div:first-child {
   padding-left: 0
}

.facts div:last-child {
   padding-right: 0;
   border: 0
}

.facts strong {
   font-size: clamp(24px, 1.95vw, 33px);
   letter-spacing: -.04em;
   line-height: 1.1
}

.facts span {
   font-size: 17px;
   color: #55585d;
   line-height: 1.3
}

.hero-section .hero {
   height: 600px;
   min-height: 0;
   margin: 0;
   border-radius: 38px;
   background: #efede9
}

.hero-section .panel.selector {
   background: #efede9
}

.hero-section .panel .slide-copy {
   padding: 77px 70px;
   max-width: 790px
}

.hero-section .panel.selector .eyebrow {
   display: inline-flex;
   align-items: center;
   border-radius: 999px;
   background: #fff;
   color: #1b1c1e;
   letter-spacing: 0;
   font-size: 17px;
   font-weight: 700;
   padding: 10px 17px
}

.hero-section .panel.selector h2 {
   font-size: clamp(58px, 5vw, 84px);
   line-height: 1.05;
   margin: 26px 0 27px;
   letter-spacing: -.055em;
   white-space: nowrap
}

.hero-section .panel.selector .slide-lead {
   font-size: 23px;
   line-height: 1.4;
   color: #44464a;
   max-width: 640px
}

.hero-section .panel.selector .slide-cta {
   background: #111315;
   color: #fff;
   min-width: 275px;
   min-height: 74px;
   margin-top: 33px;
   font-size: 22px
}

.hero-section .panel.selector .slide-cta:hover {
   background: #303236
}

.selector-visual {
   position: absolute;
   z-index: 1;
   top: -66px;
   right: -106px;
   width: 1100px;
   height: 733px;
   pointer-events: none
}

.selector-visual img {
   display: block;
   width: 100%;
   height: 100%;
   object-fit: contain;
   animation: diamond-breathe 7s ease-in-out infinite alternate
}

@keyframes diamond-breathe {
   to {
      transform: translateY(-9px) scale(1.008)
   }
}

.branch-labels span {
   position: absolute;
   left: 73%;
   font-size: 25px;
   line-height: 1.2;
   font-weight: 600;
   color: #111315;
   white-space: nowrap
}

.branch-labels span:nth-child(1) {
   top: 27.5%
}

.branch-labels span:nth-child(2) {
   top: 48.5%
}

.branch-labels span:nth-child(3) {
   top: 68%
}

.hero-section .controls {
   position: relative;
   left: auto;
   right: auto;
   bottom: auto;
   display: grid;
   grid-template-columns: 62px 1fr 62px;
   align-items: center;
   gap: 42px;
   padding: 40px 10px 20px
}

.hero-section .slide-tabs {
   width: 100%;
   display: grid;
   grid-template-columns: repeat(4, minmax(0, 1fr));
   gap: 20px
}

.hero-section .slide-tabs button,
.hero-section .about .slide-tabs button {
   color: #24252a;
   font-size: 23px;
   font-weight: 500;
   text-shadow: none;
   text-align: center
}

.hero-section .slide-tabs button.current {
   color: #e5282c;
   font-weight: 700
}

.hero-section .track {
   margin-top: 17px;
   height: 3px;
   background: #d5d5d5;
   border-radius: 0
}

.hero-section .track .fill {
   background: #e5282c;
   animation: fill 2.8s linear forwards
}

.hero-section.paused .track .fill {
   animation-play-state: paused
}

.hero-section .step-arrow {
   display: grid;
   place-items: center;
   width: 62px;
   height: 62px;
   border: 1px solid #dedede;
   border-radius: 18px;
   color: #141516;
   background: #fafaf9;
   box-shadow: 0 2px 4px #0000000a
}

.hero-section .step-arrow:hover {
   background: #fff;
   border-color: #bfc1c2
}

.hero-section+.programs {
   margin-top: 10px
}

@media(max-width:1500px) {
   .hero-section .panel.selector .slide-copy {
      max-width: 710px
   }

   .hero-section .panel.selector h2 {
      font-size: 68px
   }

   .hero-section .panel.selector .slide-lead {
      font-size: 21px;
      max-width: 570px
   }

   .selector-visual {
      right: -120px;
      width: 1010px;
      height: 673px;
      top: -37px
   }

   .branch-labels span {
      font-size: 21px
   }

   .facts div {
      padding: 0 22px
   }

   .facts span {
      font-size: 14px
   }
}

@media(max-width:1100px) {
   .hero-section {
      padding: 0 20px
   }

   .hero-intro {
      margin: 0 8px 25px
   }

   .hero-intro h1 {
      font-size: 31px
   }

   .facts div {
      padding: 0 14px
   }

   .facts strong {
      font-size: 23px
   }

   .facts span {
      font-size: 12px
   }

   .hero-section .hero {
      height: 530px;
      border-radius: 26px
   }

   .hero-section .panel .slide-copy {
      padding: 65px 42px
   }

   .hero-section .panel.selector .slide-copy {
      max-width: 590px
   }

   .hero-section .panel.selector h2 {
      font-size: 56px
   }

   .hero-section .panel.selector .slide-lead {
      font-size: 18px;
      max-width: 490px
   }

   .selector-visual {
      right: -160px;
      width: 840px;
      height: 560px;
      top: -18px
   }

   .branch-labels span {
      font-size: 18px
   }

   .hero-section .controls {
      gap: 20px;
      padding-top: 25px
   }

   .hero-section .slide-tabs button {
      font-size: 18px
   }
}

@media(max-width:760px) {
   .hero-section {
      padding: 0 10px
   }

   .hero-intro {
      display: block;
      margin: 13px 9px 19px;
      min-height: 0
   }

   .hero-intro h1 {
      font-size: 25px;
      line-height: 1.15
   }

   .facts {
      justify-content: space-between;
      margin-top: 18px;
      gap: 5px
   }

   .facts div {
      padding: 0 8px
   }

   .facts div:first-child {
      padding-left: 0
   }

   .facts strong {
      font-size: 17px
   }

   .facts span {
      font-size: 9px
   }

   .hero-section .hero {
      height: 560px;
      border-radius: 22px
   }

   .hero-section .panel .slide-copy {
      padding: 32px 23px
   }

   .hero-section .panel.selector .eyebrow {
      font-size: 11px;
      padding: 8px 11px
   }

   .hero-section .panel.selector h2 {
      font-size: clamp(37px, 9.2vw, 52px);
      white-space: normal;
      margin: 22px 0 12px
   }

   .hero-section .panel.selector .slide-lead {
      font-size: 14px;
      line-height: 1.4;
      max-width: 310px
   }

   .hero-section .panel.selector .slide-cta {
      min-width: 0;
      min-height: 49px;
      padding: 10px 20px;
      font-size: 15px;
      margin-top: 20px
   }

   .selector-visual {
      width: 560px;
      height: 373px;
      right: -159px;
      top: 230px
   }

   .branch-labels span {
      display: none
   }

   .hero-section .controls {
      grid-template-columns: 32px 1fr 32px;
      gap: 8px;
      padding: 18px 0 10px
   }

   .hero-section .step-arrow {
      width: 32px;
      height: 36px;
      border-radius: 9px
   }

   .hero-section .step-arrow svg {
      width: 15px
   }

   .hero-section .slide-tabs {
      gap: 5px
   }

   .hero-section .slide-tabs button {
      font-size: 10px;
      line-height: 1.2;
      white-space: normal;
      min-height: 36px
   }

   .hero-section .track {
      margin-top: 7px;
      height: 2px
   }

   .hero-section .panel.promotion .slide-copy {
      max-width: 85%
   }

   .hero-section .panel h2 {
      font-size: clamp(37px, 9vw, 54px)
   }

   .hero-section .panel .slide-lead {
      font-size: 16px
   }

   .hero-section .panel .slide-cta {
      min-height: 52px;
      min-width: 0;
      font-size: 15px;
      margin-top: 24px
   }

   .programs {
      margin-top: 10px
   }
}

@media(prefers-reduced-motion:reduce) {
   .selector-visual img {
      animation: none
   }
}

.hero-section .panel.about {
   background: radial-gradient(ellipse 60% 88% at 84% 40%, rgba(233, 173, 160, .56) 0%, rgba(245, 207, 198, .32) 48%, transparent 82%), radial-gradient(ellipse 58% 85% at 12% 100%, rgba(219, 228, 237, .66), transparent 74%), linear-gradient(112deg, #faf9f6, #f4efec 53%, #ecd8d5)
}

.hero-section .panel.about .about-mark {
   width: clamp(290px, 32vw, 500px);
   height: 97%;
   right: 5.5%;
   top: 1.5%;
   object-fit: contain
}

@media(max-width:1100px) {
   .hero-section .panel.about .about-mark {
      width: 35vw;
      right: 3%;
      height: 91%;
      top: 5%
   }
}

@media(max-width:760px) {
   .hero-section .panel.about .about-mark {
      width: min(58vw, 245px);
      height: 290px;
      top: auto;
      bottom: 15px;
      right: 2%
   }
}

.hero-section .hero {
   height: 650px
}

.hero-section .controls {
   position: absolute;
   z-index: 6;
   left: 0;
   right: 0;
   bottom: 0;
   display: flex;
   align-items: end;
   gap: 34px;
   padding: 0 46px 36px
}

.hero-section .slide-tabs {
   flex: 1;
   min-width: 0;
   width: auto;
   display: grid;
   grid-template-columns: repeat(4, minmax(0, 1fr));
   gap: 24px
}

.hero-section .slide-tabs button {
   min-width: 0;
   text-align: left;
   font-size: 17px;
   color: #28292c;
   font-weight: 600;
   line-height: 1.2;
   white-space: nowrap
}

.hero-section .track {
   margin-top: 16px;
   height: 2px;
   background: #b8b6b4
}

.hero-section .track .fill {
   background: #e5282c
}

.control-actions {
   display: flex;
   gap: 10px;
   flex: none
}

.hero-section .step-arrow {
   width: 48px;
   height: 48px;
   border: 0;
   border-radius: 50%;
   background: #fff;
   color: #1c1d20;
   box-shadow: 0 4px 16px #11111114
}

.hero-section .hero-dark .slide-tabs button {
   color: #fff
}

.hero-section .hero-dark .slide-tabs button.current {
   color: #fb746d
}

.hero-section .hero-dark .track {
   background: #ffffff75
}

.hero-section .hero-dark .step-arrow {
   background: #f8f8f7;
   color: #171b20
}

.hero-section .panel.selector .slide-copy {
   max-width: 55%
}

.hero-section .panel.selector h2 {
   font-size: clamp(54px, 4.25vw, 74px);
   white-space: normal
}

.hero-section .selector-visual {
   inset: 45px 7% auto auto;
   width: clamp(560px, 48vw, 820px);
   height: calc(100% - 130px);
   pointer-events: none
}

.hero-section .branch-labels span {
   left: 72%;
   font-size: clamp(15px, 1.4vw, 22px)
}

.hero-section .branch-labels span:nth-child(1) {
   top: 29%
}

.hero-section .branch-labels span:nth-child(2) {
   top: 48%
}

.hero-section .branch-labels span:nth-child(3) {
   top: 66%
}

.hero-section .panel.about .about-mark {
   height: 80%;
   top: 4%;
   right: 7%
}

@media(max-width:1100px) {
   .hero-section .hero {
      height: 610px
   }

   .hero-section .controls {
      gap: 18px;
      padding: 0 30px 27px
   }

   .hero-section .slide-tabs {
      gap: 12px
   }

   .hero-section .slide-tabs button {
      font-size: 14px
   }

   .hero-section .step-arrow {
      width: 40px;
      height: 40px
   }

   .hero-section .panel.selector .slide-copy {
      max-width: 56%
   }

   .hero-section .selector-visual {
      inset: 40px 4% auto auto;
      width: 50vw;
      height: calc(100% - 130px)
   }

   .hero-section .branch-labels span {
      font-size: 16px
   }
}

@media(min-width:761px)and (max-width:900px) {
   .hero-section .hero {
      height: 700px
   }

   .hero-section .panel.selector .slide-copy {
      max-width: 100%;
      padding: 40px
   }

   .hero-section .panel.selector h2 {
      font-size: 48px
   }

   .hero-section .panel.selector .slide-lead {
      max-width: 550px
   }

   .hero-section .selector-visual {
      inset: 335px 0 auto auto;
      width: 600px;
      height: 300px
   }

   .hero-section .branch-labels span {
      display: none
   }
}

@media(max-width:760px) {
   .hero-section .hero {
      height: 730px
   }

   .hero-section .panel.selector .slide-copy {
      max-width: 100%
   }

   .hero-section .panel.selector h2 {
      font-size: clamp(37px, 9vw, 50px);
      max-width: 100%
   }

   .hero-section .panel.selector .slide-lead {
      max-width: 340px
   }

   .hero-section .selector-visual {
      inset: 340px auto auto 0;
      width: 520px;
      height: 347px
   }

   .hero-section .controls {
      gap: 8px;
      padding: 0 13px 20px;
      align-items: end
   }

   .hero-section .slide-tabs {
      gap: 6px
   }

   .hero-section .slide-tabs button {
      font-size: 9px;
      white-space: normal;
      min-height: 34px
   }

   .hero-section .track {
      margin-top: 7px
   }

   .control-actions {
      gap: 4px
   }

   .hero-section .step-arrow {
      width: 29px;
      height: 29px;
      flex: none
   }

   .hero-section .step-arrow svg {
      width: 14px;
      height: 14px
   }

   .hero-section .panel.about .about-mark {
      height: 290px;
      top: auto;
      bottom: 100px;
      right: 2%
   }

   .hero-section .panel.about {
      background: radial-gradient(ellipse 85% 48% at 85% 76%, rgba(233, 173, 160, .55), transparent 82%), linear-gradient(160deg, #faf9f6, #f3efed 57%, #ebdbd8)
   }
}

:host {
   display: block;
   container-type: inline-size;
   color: #191b20;
   font-family: Onest, Arial, sans-serif;
   -webkit-font-smoothing: antialiased
}

:host .hero-section {
   width: 100%;
   max-width: none;
   padding: 0
}

:host .hero-intro {
   margin: 0 0 26px;
   min-height: 104px
}

:host .hero-intro h1 {
   font-size: clamp(30px, 3vw, 42px)
}

:host .facts div {
   padding: 0 16px
}

:host .facts strong {
   font-size: 27px
}

:host .facts span {
   font-size: 13px
}

:host .hero-section .hero {
   height: 620px;
   border-radius: 32px
}

:host .hero-section .panel .slide-copy {
   padding: 72px 54px;
   max-width: 57%
}

:host .hero-section .panel h2 {
   font-size: clamp(48px, 4vw, 64px);
   line-height: 1.05
}

:host .hero-section .panel .slide-lead {
   font-size: 20px;
   line-height: 1.35
}

:host .hero-section .panel .slide-cta {
   min-width: 220px;
   min-height: 60px;
   font-size: 18px;
   margin-top: 30px
}

:host .hero-section .panel.about .about-mark {
   width: 400px;
   height: 77%;
   right: 6%;
   top: 6%
}

:host .hero-section .panel.selector .slide-copy {
   max-width: 56%
}

:host .hero-section .panel.selector h2 {
   font-size: clamp(48px, 3vw, 60px);
   margin: 26px 0 20px
}

:host .hero-section .panel.selector .slide-lead {
   font-size: 18px
}

:host .hero-section .selector-visual {
   inset: 58px 0 auto auto;
   width: 600px;
   height: 460px
}

:host .hero-section .branch-labels span {
   left: 72%;
   font-size: 16px
}

:host .hero-section .controls {
   padding: 0 34px 30px;
   gap: 24px
}

:host .hero-section .slide-tabs {
   gap: 12px
}

:host .hero-section .slide-tabs button {
   font-size: 14px
}

:host .hero-section .step-arrow {
   width: 42px;
   height: 42px
}

:host .control-actions {
   gap: 7px
}

@container (max-width:1000px) {
   :host .hero-intro {
      align-items: flex-start
   }

   :host .hero-intro h1 {
      font-size: 32px
   }

   :host .facts div {
      padding: 0 10px
   }

   :host .facts strong {
      font-size: 21px
   }

   :host .facts span {
      font-size: 11px
   }

   :host .hero-section .panel .slide-copy {
      max-width: 60%;
      padding: 62px 42px
   }

   :host .hero-section .panel h2 {
      font-size: 52px
   }

   :host .hero-section .panel.about .about-mark {
      width: 32%;
      right: 4%
   }

   :host .hero-section .selector-visual {
      width: 50%;
      height: 430px;
      top: 56px;
      right: 0
   }

   :host .hero-section .panel.selector h2 {
      font-size: 48px
   }

   :host .hero-section .branch-labels span {
      font-size: 14px
   }
}

@container (max-width:760px) {
   :host .hero-intro {
      display: block;
      margin: 8px 4px 20px;
      min-height: 0
   }

   :host .hero-intro h1 {
      font-size: clamp(25px, 5.5vw, 34px)
   }

   :host .facts {
      justify-content: flex-start;
      margin-top: 18px
   }

   :host .facts div {
      padding: 0 12px
   }

   :host .facts div:first-child {
      padding-left: 0
   }

   :host .facts strong {
      font-size: clamp(16px, 3.5vw, 22px)
   }

   :host .facts span {
      font-size: 11px
   }

   :host .hero-section .hero {
      height: 690px;
      border-radius: 24px
   }

   :host .hero-section .panel .slide-copy {
      max-width: 100%;
      padding: 38px 28px
   }

   :host .hero-section .panel h2 {
      font-size: clamp(40px, 6.7vw, 54px)
   }

   :host .hero-section .panel .slide-lead {
      font-size: 17px
   }

   :host .hero-section .panel .slide-cta {
      min-width: 0;
      min-height: 53px;
      font-size: 16px;
      margin-top: 25px
   }

   :host .hero-section .panel.about .about-mark {
      width: 260px;
      height: 300px;
      right: 6%;
      top: auto;
      bottom: 112px
   }

   :host .hero-section .panel.selector .slide-copy {
      max-width: 100%
   }

   :host .hero-section .panel.selector h2 {
      font-size: clamp(38px, 6.5vw, 50px)
   }

   :host .hero-section .panel.selector .slide-lead {
      font-size: 16px;
      max-width: 550px
   }

   :host .hero-section .selector-visual {
      inset: 330px 0 auto auto;
      width: 570px;
      height: 290px
   }

   :host .hero-section .branch-labels span {
      display: none
   }

   :host .hero-section .controls {
      padding: 0 20px 22px;
      gap: 10px
   }

   :host .hero-section .slide-tabs {
      gap: 7px
   }

   :host .hero-section .slide-tabs button {
      font-size: 11px;
      white-space: normal
   }

   :host .hero-section .step-arrow {
      width: 32px;
      height: 32px
   }

   :host .hero-section .step-arrow svg {
      width: 15px;
      height: 15px
   }

   :host .control-actions {
      gap: 4px
   }
}


@container (min-width:1001px) {
   :host .hero-section .panel.about .slide-copy {
      max-width: 57%;
      padding: 88px 70px
   }

   :host .hero-section .panel.about h2 {
      font-size: 56px;
      line-height: 1.09;
      margin: 37px 0 26px
   }

   :host .hero-section .panel.about .slide-lead {
      font-size: 19px;
      line-height: 1.45
   }

   :host .hero-section .panel.about .slide-cta {
      min-width: 205px;
      min-height: 56px;
      font-size: 17px;
      margin-top: 38px
   }
}

@container (min-width:761px) and (max-width:1000px) {
   :host .hero-section .panel.about .slide-copy {
      max-width: 65%;
      padding: 76px 42px
   }

   :host .hero-section .panel.about h2 {
      font-size: clamp(42px, 5cqw, 50px);
      line-height: 1.1;
      margin: 32px 0 24px
   }

   :host .hero-section .panel.about .slide-lead {
      font-size: 18px;
      line-height: 1.45
   }

   :host .hero-section .panel.about .slide-cta {
      min-width: 190px;
      min-height: 54px;
      font-size: 16px;
      margin-top: 34px
   }
}

@container (max-width:760px) {
   :host .hero-section .panel.about .slide-copy {
      padding: 46px 30px
   }

   :host .hero-section .panel.about h2 {
      font-size: clamp(37px, 6.5vw, 48px);
      line-height: 1.1;
      margin: 28px 0 19px
   }

   :host .hero-section .panel.about .slide-lead {
      font-size: 16px;
      line-height: 1.45
   }

   :host .hero-section .panel.about .slide-cta {
      min-width: 180px;
      min-height: 50px;
      font-size: 15px;
      margin-top: 29px
   }
}

@container (max-width:600px) {
   :host .hero-section .panel .slide-copy, 
   :host .hero-section .panel.about .slide-copy {
      padding: 24px 16px
   }

   .hero-section .panel.selector .eyebrow {
      padding: 6px 12px;
   }
   :host .hero-section .panel h2, 
   :host .hero-section .panel.about h2,
   :host .hero-section .panel.selector h2 {
      font-size: clamp(30px, 7vw, 40px);
      margin: 24px 0 16px;
   }

   :host .hero-section .panel .slide-cta,
   :host .hero-section .panel.about .slide-cta {
      min-height: 40px;
      margin-top: 20px;
   }
   :host .hero-intro h1 {
      font-size: 24px
   }

   :host .facts div {
      padding: 0 7px
   }

   :host .facts strong {
      font-size: 16px
   }

   :host .facts span {
      font-size: 9px
   }

   :host .hero-section .hero {
      height: auto;
      min-height: 60svh;
   }

   

   :host .hero-section .panel.selector .slide-lead {
      font-size: 14px
   }

   :host .hero-section .selector-visual {
      inset: auto auto 36px 126px;
        width: 72vw;
        height: auto;
   }

   :host .hero-section .controls {
      padding: 0 12px 17px;
      gap: 6px;
      flex-direction: column;
   }

   :host .hero-section .slide-tabs {
      gap: 4px;
      width: 100%;
   }

   :host .hero-section .slide-tabs button {
      font-size: 9px
   }

   :host .hero-section .step-arrow {
      width: 27px;
      height: 27px
   }

   :host .hero-section .panel.about .about-mark {
        width: 150px;
        height: auto;
        bottom: 65px;
        right: 2%;
   }

}
