/* Styles for editable CTF under key page blocks. */

/* CTF под ключ */
.ctf-key-page { padding: 44px 0 110px; overflow: hidden; }
.ctf-key-hero { min-height: 630px; padding: clamp(38px, 7vw, 86px); border-radius: var(--radius); display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; background: var(--blue); color: var(--white); }
.ctf-key-kicker { margin-bottom: 20px; color: var(--blue); font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.ctf-key-hero .ctf-key-kicker { color: var(--white); }
.ctf-key-hero h1 { max-width: 1040px; font-size: clamp(48px, 6.3vw, 88px); line-height: .98; letter-spacing: -.06em; }
.ctf-key-hero__lead { max-width: 850px; margin-top: 34px; font-size: clamp(18px, 2vw, 24px); line-height: 1.4; }
.ctf-key-button { min-height: 50px; margin-top: 34px; padding: 0 24px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; background: var(--blue); color: var(--white); font-weight: 700; }
.ctf-key-button:hover { background: var(--dark); color: var(--white); }
.ctf-key-button--light { background: var(--white); color: var(--blue); }
.ctf-key-button--light:hover { background: var(--dark); color: var(--white); }
.ctf-key-section { margin-top: 100px; }
.ctf-key-section h2 { font-size: clamp(42px, 5.4vw, 72px); line-height: 1; letter-spacing: -.055em; }
.ctf-key-about { display: grid; grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr); gap: 72px; align-items: start; }
.ctf-key-heading { position: sticky; top: 170px; }
.ctf-key-heading--wide { position: static; max-width: 940px; margin-bottom: 40px; }
.ctf-key-about__copy { max-width: 690px; font-size: 20px; line-height: 1.55; }
.ctf-key-about__copy > * + * { margin-top: 24px; }
.ctf-key-intro { font-size: 27px; line-height: 1.35; letter-spacing: -.02em; }
.ctf-key-checklist { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; list-style: none; }
.ctf-key-checklist li { padding: 16px 18px; border-radius: 18px; background: var(--soft); font-weight: 600; }
.ctf-key-marquee-section h2 { margin-bottom: 34px; }
.logo-marquee { width: 100vw; margin-left: calc(50% - 50vw); overflow: hidden; }
.logo-marquee__track { width: max-content; display: flex; animation: ctf-key-marquee 36s linear infinite; }
.logo-marquee--reverse .logo-marquee__track { animation-direction: reverse; animation-duration: 42s; }
.logo-marquee:hover .logo-marquee__track { animation-play-state: paused; }
.logo-marquee__group, .logo-marquee__repeat { display: flex; gap: 16px; padding-right: 16px; }
.logo-tile { width: 190px; height: 126px; padding: 24px; border-radius: 22px; flex: 0 0 auto; display: grid; place-items: center; background: var(--gray); }
.logo-tile--wide { width: 240px; }
.logo-tile--dark { background: var(--dark); }
.logo-tile img { width: 100%; height: 64px; display: block; object-fit: contain; }
@keyframes ctf-key-marquee { to { transform: translateX(-50%); } }
.ctf-key-services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.ctf-key-service { min-height: 650px; padding: 34px; border-radius: var(--radius); display: flex; flex-direction: column; background: var(--gray); }
.ctf-key-service--blue { background: var(--blue); color: var(--white); }
.ctf-key-service--soft { background: var(--soft); }
.ctf-key-service__number { margin-bottom: 70px; color: var(--blue); font-size: 15px; font-weight: 700; }
.ctf-key-service--blue .ctf-key-service__number { color: var(--white); }
.ctf-key-service h3 { margin-bottom: 22px; font-size: clamp(27px, 2.4vw, 38px); line-height: 1.08; letter-spacing: -.035em; }
.ctf-key-service p, .ctf-key-service li { font-size: 17px; line-height: 1.45; }
.ctf-key-service__label { margin-top: 26px; font-weight: 700; }
.ctf-key-service ul { margin: 12px 0 26px; padding-left: 20px; }
.ctf-key-service li + li { margin-top: 7px; }
.ctf-key-service__note { margin-top: auto; padding-top: 24px; border-top: 1px solid rgba(15, 36, 61, .15); }
.ctf-key-service--blue .ctf-key-service__note { border-color: rgba(255, 255, 255, .35); }
.ctf-key-process { padding: clamp(34px, 6vw, 72px); border-radius: var(--radius); display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, .8fr); gap: 70px; background: var(--dark); color: var(--white); }
.ctf-key-process .ctf-key-kicker { color: var(--white); }
.ctf-key-process__intro > p:not(.ctf-key-kicker) { max-width: 620px; margin-top: 26px; font-size: 20px; }
.ctf-key-process__steps { margin: 0; padding: 0; list-style: none; }
.ctf-key-process__steps li { padding: 18px 0; border-bottom: 1px solid rgba(255, 255, 255, .25); display: grid; grid-template-columns: 48px 1fr; gap: 16px; font-size: 18px; font-weight: 600; }
.ctf-key-process__steps span { color: var(--blue); }
.ctf-key-trust { padding-bottom: 12px; }
@media (max-width: 980px) { .ctf-key-page { padding-top: 28px; } .ctf-key-hero { min-height: 560px; } .ctf-key-about { grid-template-columns: 1fr; gap: 34px; } .ctf-key-heading { position: static; } .ctf-key-about__copy { max-width: 760px; } .ctf-key-services { grid-template-columns: 1fr; } .ctf-key-service { min-height: auto; } .ctf-key-service__number { margin-bottom: 38px; } .ctf-key-service__note { margin-top: 32px; } .ctf-key-process { grid-template-columns: 1fr; gap: 48px; } }
@media (max-width: 600px) { .ctf-key-page { padding: 12px 0 76px; } .ctf-key-hero { min-height: 540px; padding: 28px 22px; } .ctf-key-hero h1 { font-size: 46px; } .ctf-key-hero__lead { margin-top: 24px; font-size: 17px; } .ctf-key-section { margin-top: 70px; } .ctf-key-section h2 { font-size: 42px; } .ctf-key-about__copy { font-size: 17px; } .ctf-key-intro { font-size: 22px; } .ctf-key-checklist { grid-template-columns: 1fr; } .logo-tile { width: 160px; height: 104px; padding: 20px; } .logo-tile--wide { width: 200px; } .logo-tile img { height: 54px; } .ctf-key-service { padding: 26px; } .ctf-key-process { padding: 28px 22px; } .ctf-key-process__steps li { font-size: 16px; } }
