@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;600;700;800&family=Russo+One&display=swap");

:root {
    --bg: #061014;
    --panel: #0d1b21;
    --panel-2: #10272f;
    --text: #f3f7f9;
    --muted: #a9bbc2;
    --line: rgba(255, 255, 255, 0.12);
    --accent: #10b9cf;
    --accent-2: #78ecf4;
    --ice: #dffbff;
    --warm: #f7d85c;
    --danger: #e13c4c;
    --max: 1220px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background:
        radial-gradient(circle at 12% 6%, rgba(16, 185, 207, 0.26), transparent 28rem),
        radial-gradient(circle at 82% 16%, rgba(247, 216, 92, 0.12), transparent 22rem),
        linear-gradient(180deg, #03080b 0%, var(--bg) 42%, #081217 100%);
    font-family: "Manrope", Arial, Helvetica, sans-serif;
    line-height: 1.55;
}

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

img {
    max-width: 100%;
    display: block;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 22px;
    min-height: 76px;
    padding: 14px clamp(18px, 4vw, 52px);
    background: rgba(3, 8, 11, 0.86);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 2px solid var(--accent);
    color: var(--accent-2);
    font-family: "Russo One", Arial, Helvetica, sans-serif;
    font-weight: 900;
}

.brand strong {
    display: block;
    font-family: "Russo One", Arial, Helvetica, sans-serif;
    font-size: 20px;
    letter-spacing: 0;
}

.brand small {
    display: block;
    color: var(--muted);
    font-size: 12px;
}

.main-nav {
    display: flex;
    justify-content: center;
    gap: 6px;
}

.main-nav a {
    padding: 10px 12px;
    border-radius: 6px;
    color: var(--muted);
    font-size: 15px;
}

.main-nav a:hover,
.main-nav a.is-active {
    color: var(--text);
    background: rgba(16, 185, 207, 0.14);
}

.header-phone {
    padding: 11px 14px;
    border: 1px solid rgba(120, 236, 244, 0.45);
    border-radius: 6px;
    color: var(--accent-2);
    font-weight: 700;
    white-space: nowrap;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: transparent;
}

.nav-toggle span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: var(--text);
}

.hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
    width: min(var(--max), calc(100% - 36px));
    min-height: calc(100vh - 76px);
    margin: 0 auto;
    padding: clamp(26px, 4vw, 46px) 0 clamp(34px, 5vw, 58px);
}

.hero-media {
    overflow: hidden;
    border: 1px solid rgba(120, 236, 244, 0.26);
    border-radius: 8px;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
}

.poster-hero {
    grid-template-columns: minmax(480px, 1fr) minmax(420px, 520px);
    gap: clamp(22px, 4vw, 46px);
    min-height: calc(100vh - 76px);
}

.hero-poster {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 1 / 1;
    border: 1px solid rgba(120, 236, 244, 0.34);
    border-radius: 8px;
    background: #02070a;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.58);
}

.hero-poster::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(0deg, rgba(3, 8, 11, 0.22), transparent 26%, transparent 76%, rgba(3, 8, 11, 0.12));
    pointer-events: none;
}

.hero-poster img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    filter: saturate(1.1) contrast(1.05);
}

.hero-media img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    margin-left: 0;
    padding: clamp(22px, 4vw, 44px);
    border: 1px solid rgba(120, 236, 244, 0.18);
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(3, 8, 11, 0.74), rgba(3, 8, 11, 0.48));
    backdrop-filter: blur(10px);
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--accent-2);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    overflow-wrap: anywhere;
}

h1,
h2,
h3,
.btn,
.card-number {
    font-family: "Russo One", Arial, Helvetica, sans-serif;
    font-weight: 400;
}

h1 {
    margin: 0;
    font-size: 82px;
    line-height: 0.88;
    letter-spacing: 0;
    text-transform: uppercase;
    overflow-wrap: normal;
    word-break: keep-all;
    white-space: nowrap;
}

h2 {
    margin: 0 0 16px;
    font-size: 46px;
    line-height: 1.02;
}

h3 {
    margin: 0 0 10px;
    font-size: 23px;
    line-height: 1.18;
}

p {
    color: var(--muted);
}

.lead {
    margin: 24px 0 0;
    color: #d7edf3;
    font-size: 21px;
}

.hero-actions,
.contact-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.hero-actions {
    margin-top: 32px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 18px;
    border-radius: 6px;
    border: 1px solid transparent;
    font-weight: 400;
    text-align: center;
}

.btn.primary {
    color: #021014;
    background: linear-gradient(135deg, var(--ice), var(--accent));
    box-shadow: 0 12px 34px rgba(16, 185, 207, 0.26);
}

.btn.ghost {
    border-color: var(--line);
    color: var(--text);
    background: rgba(255, 255, 255, 0.04);
}

.hero-facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 24px;
}

.hero-facts span {
    min-height: 94px;
    padding: 13px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--muted);
}

.hero-facts b {
    display: block;
    color: var(--text);
    font-size: 20px;
}

.section {
    width: min(var(--max), calc(100% - 36px));
    margin: 0 auto;
    padding: clamp(58px, 8vw, 98px) 0;
}

.parent-intro {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.85fr);
    gap: clamp(24px, 5vw, 70px);
    align-items: end;
}

.parent-intro p:last-child {
    margin: 0;
    font-size: 19px;
}

.text-link {
    display: inline-flex;
    margin-top: 16px;
    color: var(--accent-2);
    font-weight: 800;
}

.split {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
    gap: clamp(28px, 5vw, 64px);
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.feature-list article,
.info-panel,
.contact-card,
.lead-form,
.card {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025));
}

.feature-list article:hover,
.card:hover {
    background: linear-gradient(180deg, rgba(16, 185, 207, 0.12), rgba(255, 255, 255, 0.035));
}

.feature-list article,
.info-panel,
.contact-card,
.lead-form {
    padding: 24px;
}

.dark-band {
    width: 100%;
    max-width: none;
    padding-inline: max(18px, calc((100% - var(--max)) / 2));
    background:
        linear-gradient(135deg, rgba(16, 185, 207, 0.16), rgba(247, 216, 92, 0.06)),
        #071116;
    border-block: 1px solid var(--line);
}

.section-head {
    max-width: 760px;
    margin-bottom: 30px;
}

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

.card {
    min-height: 235px;
    padding: 24px;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

a.card:hover {
    transform: translateY(-4px);
    border-color: rgba(120, 236, 244, 0.5);
}

.card-number {
    display: inline-block;
    margin-bottom: 34px;
    color: var(--accent-2);
    font-weight: 900;
}

.age-band {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.seo-panel {
    padding-top: 42px;
    border-top: 1px solid var(--line);
}

.keyword-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.keyword-grid span {
    padding: 10px 12px;
    border: 1px solid rgba(120, 236, 244, 0.22);
    border-radius: 6px;
    color: #d7edf3;
    background: rgba(255, 255, 255, 0.045);
    font-weight: 700;
}

.age-seo {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.age-card,
.faq-list article {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025));
}

.age-card strong {
    display: inline-block;
    margin-bottom: 18px;
    color: var(--accent-2);
    font-size: 24px;
}

.age-card h2,
.faq-list h2 {
    font-size: 32px;
}

.faq-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    padding-top: 34px;
}

.age-item {
    min-height: 132px;
    padding: 24px;
    border: 1px solid rgba(120, 236, 244, 0.22);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
}

.age-item strong {
    display: block;
    margin-bottom: 12px;
    color: var(--ice);
    font-size: 25px;
}

.age-item span {
    color: var(--muted);
}

.contact-strip {
    justify-content: space-between;
    padding-top: 56px;
    border-top: 1px solid var(--line);
}

.contact-strip h2 {
    max-width: 820px;
    margin-bottom: 0;
}

.page-hero {
    width: min(var(--max), calc(100% - 36px));
    margin: 0 auto;
    padding: clamp(68px, 10vw, 118px) 0 clamp(30px, 5vw, 54px);
}

.child-page {
    position: relative;
}

.child-page::before {
    content: "";
    position: absolute;
    right: 0;
    top: 54px;
    width: min(360px, 45vw);
    height: 150px;
    border: 1px solid rgba(120, 236, 244, 0.22);
    border-radius: 8px;
    background:
        linear-gradient(90deg, rgba(3, 8, 11, 0.32), rgba(3, 8, 11, 0.84)),
        url("../images/kraken-promo.png") center / cover;
    opacity: 0.58;
    z-index: -1;
}

.page-hero.compact h1 {
    max-width: 980px;
    font-size: 68px;
    line-height: 0.96;
    white-space: normal;
}

.page-hero p:last-child {
    max-width: 760px;
    font-size: 19px;
}

.training-grid,
.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
    gap: 18px;
}

.info-panel.accent {
    background: linear-gradient(135deg, rgba(16, 185, 207, 0.18), rgba(255, 255, 255, 0.04));
}

.check-list {
    margin: 0;
    padding-left: 20px;
    color: var(--muted);
}

.check-list li {
    margin: 10px 0;
}

.steps {
    border-top: 1px solid var(--line);
}

.step-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.step-list div {
    min-height: 138px;
    padding: 20px;
    border-left: 3px solid var(--accent);
    background: rgba(255, 255, 255, 0.045);
}

.step-list b {
    display: block;
    margin-bottom: 18px;
    color: var(--accent-2);
}

.step-list span {
    color: var(--text);
    font-weight: 700;
}

.cards-section {
    padding-top: 38px;
}

.contact-card h2 {
    margin-top: 24px;
    font-size: 24px;
}

.contact-card h2:first-child {
    margin-top: 0;
}

.lead-form {
    display: grid;
    gap: 16px;
}

.lead-form label {
    display: grid;
    gap: 7px;
    color: var(--text);
    font-weight: 700;
}

.lead-form input,
.lead-form textarea {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid var(--line);
    border-radius: 6px;
    color: var(--text);
    background: rgba(0, 0, 0, 0.22);
    font: inherit;
}

.lead-form textarea {
    resize: vertical;
}

.form-success {
    padding: 14px;
    border: 1px solid rgba(120, 236, 244, 0.38);
    border-radius: 6px;
    color: var(--text);
    background: rgba(16, 185, 207, 0.12);
}

.site-footer {
    padding: 44px clamp(18px, 4vw, 52px) 24px;
    border-top: 1px solid var(--line);
    background: #03080b;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr 0.6fr;
    gap: 26px;
    width: min(var(--max), 100%);
    margin: 0 auto;
}

.footer-title {
    display: block;
    color: var(--accent-2);
    font-weight: 800;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    width: min(var(--max), 100%);
    margin: 28px auto 0;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 14px;
}

@media (max-width: 980px) {
    .site-header {
        grid-template-columns: auto auto;
    }

    .nav-toggle {
        display: block;
        justify-self: end;
    }

    .main-nav {
        display: none;
        grid-column: 1 / -1;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
    }

    .main-nav.is-open {
        display: flex;
    }

    .header-phone {
        display: none;
    }

    .hero,
    .poster-hero,
    .split,
    .training-grid,
    .contact-layout,
    .parent-intro {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
    }

    .poster-hero {
        min-height: auto;
        align-items: center;
    }

    .hero-content {
        width: min(100%, 620px);
        margin: 0 auto;
    }

    h1 {
        font-size: 76px;
    }

    h2 {
        font-size: 40px;
    }

    .page-hero.compact h1 {
        font-size: 54px;
    }

    .feature-list,
    .cards,
    .step-list,
    .age-band,
    .age-seo,
    .faq-list,
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .site-header {
        min-height: 68px;
        padding-inline: 14px;
    }

    .brand small {
        display: none;
    }

    .hero,
    .section,
    .page-hero {
        width: min(100% - 28px, var(--max));
    }

    .poster-hero {
        min-height: auto;
        padding-top: 18px;
    }

    .hero-poster {
        inset: auto;
        height: auto;
    }

    .hero-poster::after {
        background:
            linear-gradient(0deg, rgba(3, 8, 11, 0.94) 0%, rgba(3, 8, 11, 0.24) 50%, rgba(3, 8, 11, 0.08) 100%);
    }

    .hero-content {
        padding: 18px;
    }

    h1 {
        font-size: 54px;
        white-space: normal;
    }

    h2 {
        font-size: 32px;
    }

    h3 {
        font-size: 21px;
    }

    .lead {
        font-size: 18px;
    }

    .page-hero.compact h1 {
        font-size: 40px;
    }

    .hero-facts,
    .feature-list,
    .cards,
    .step-list,
    .age-band,
    .age-seo,
    .faq-list,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-facts span,
    .card,
    .step-list div {
        min-height: auto;
    }

    .contact-strip {
        align-items: flex-start;
    }

    .child-page::before {
        display: none;
    }

    .footer-bottom {
        flex-direction: column;
    }
}
