:root {
    --color-bg: #f7f9fc;
    --color-surface: #ffffff;
    --color-surface-2: #eef2f7;
    --color-primary: #2563eb;
    --color-primary-strong: #1d4ed8;
    --color-accent: #0f172a;
    --color-text: #0f172a;
    --color-muted: #4b5563;
    --color-border: #e5e7eb;
    --header-bg: #ffffff;
    --header-text: #0f172a;
    --header-border: rgba(0, 0, 0, 0.06);
    --footer-bg: #0b0b0f;
    --footer-text: #ffffff;
    --footer-border: rgba(255, 255, 255, 0.12);
    --logo-max-width: 240px;
    --footer-logo-max-width: 200px;
    --color-success: #16a34a;
    --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    --radius: 16px;
    --radius-pill: 999px;
    --max-width: 1200px;
    --gutter: 24px;
    --font-heading: "Space Grotesk", sans-serif;
    --font-body: "Manrope", sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: radial-gradient(circle at 16% 12%, rgba(37, 99, 235, 0.06), transparent 30%),
        linear-gradient(180deg, #fafdff 0%, #f4f6fb 100%);
    color: var(--color-text);
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--color-primary);
    text-decoration: none;
}

a:hover,
a:focus {
    color: var(--color-primary-strong);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0 0 12px;
    font-family: var(--font-heading);
    letter-spacing: -0.01em;
    color: var(--color-text);
    font-weight: 700;
    line-height: 1.1;
}

p {
    margin: 0 0 12px;
    color: var(--color-text);
    line-height: 1.6;
}

ul, ol {
    margin: 0;
    padding: 0;
}

.section {
    position: relative;
}

.section--padded {
    padding: 96px 0;
}


.section--split {
    background: var(--color-surface-2);
}

.section--cta {
    padding: 72px 0;
}

.shell {
    width: min(var(--max-width), 100% - 2 * var(--gutter));
    margin: 0 auto;
}
.hero--classic {
    position: relative;
    min-height: 0;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero__inner {
    position: relative;
    z-index: 1;
    padding: 32px 0;
}

.glass-box {
    background: #ffffff;
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.16);
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.glass-box--no-shadow {
    box-shadow: none;
    border: 1px solid var(--color-border);
}

.hero__logo-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 14px;
}

.hero--classic .custom-logo {
    max-height: 48px;
    height: auto;
    width: auto;
}

.hero__title {
    margin: 0 0 12px;
}

.hero__lede {
    color: var(--color-text);
    margin: 0 0 18px;
}

.hero__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0 0 18px;
}

.badge--soft {
    background: #f7f9fc;
    border: 1px solid var(--color-border);
    color: var(--color-text);
    padding: 8px 14px;
    border-radius: var(--radius-pill);
    font-weight: 600;
}

.hero__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}


.shell--wide {
    width: min(1280px, 100% - 2 * var(--gutter));
}

.shell--split {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    align-items: center;
}

.stack > * + * {
    margin-top: 12px;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: -999px;
    background: var(--color-primary);
    color: #03101c;
    padding: 10px 14px;
    border-radius: var(--radius-pill);
    z-index: 100;
}

.skip-link:focus {
    left: 12px;
    top: 12px;
}

.site-header {
    position: relative;
    top: 0;
    z-index: 20;
    background: var(--header-bg);
    color: var(--header-text);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid var(--header-border);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
}

body.has-sticky-header .site-header {
    position: sticky;
    top: 0;
    margin-top: 0;
}

body.no-sticky-header .site-header {
    position: relative;
    box-shadow: none;
    margin-top: 0;
}

body {
    padding-top: 0;
}

.site-header .shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
}

.brand img {
    height: auto;
    max-width: var(--logo-max-width);
}

.brand__text {
    font-weight: 700;
    font-size: 18px;
    color: var(--header-text);
}

.nav {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav .menu {
    display: flex;
    gap: 14px;
    list-style: none;
}

.nav .menu li {
    position: relative;
}

.nav .menu a {
    color: var(--header-text);
    padding: 10px 12px;
    border-radius: var(--radius-pill);
    transition: background 0.18s ease, color 0.18s ease;
}

.nav .menu a:hover,
.nav .menu a:focus {
    background: rgba(37, 99, 235, 0.08);
    color: var(--color-primary-strong);
}

.nav .menu .sub-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 220px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 10px 0;
    list-style: none;
    display: none;
    z-index: 30;
}

.nav .menu .sub-menu li a {
    display: block;
    color: var(--color-text);
    padding: 10px 14px;
    border-radius: 0;
}

.nav .menu .sub-menu li a:hover,
.nav .menu .sub-menu li a:focus {
    background: rgba(37, 99, 235, 0.08);
    color: var(--color-primary-strong);
}

.nav .menu li:hover > .sub-menu,
.nav .menu li:focus-within > .sub-menu {
    display: block;
}

.nav__cta {
    margin-left: 4px;
}

.nav__cta.button--ghost {
    color: var(--header-text);
    border-color: var(--header-border);
}

.nav__cta.button--ghost:hover {
    background: var(--header-border);
    color: var(--header-text);
}

.menu-toggle {
    display: none;
    background: none;
    border: 1px solid var(--header-border);
    padding: 10px;
    border-radius: var(--radius);
    cursor: pointer;
}

.menu-toggle__bar {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--header-text);
    margin: 4px 0;
}

.hero {
    padding: 120px 0 72px;
}

.hero--has-image {
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #f5f7fb;
}

.hero--has-image .eyebrow,
.hero--has-image .hero__subtitle,
.hero--has-image .pill__desc,
.hero--has-image p {
    color: #e5e9f2;
}

.hero--has-image .hero__title,
.hero--has-image .pill__label,
.hero--has-image .badge,
.hero--has-image .button {
    color: #ffffff;
}

.hero--has-image .button {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.28);
    box-shadow: none;
}

.hero--has-image .button:hover {
    background: rgba(255, 255, 255, 0.2);
}

.hero--has-image .button--ghost {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.28);
}

.hero--has-image .button--ghost:hover {
    background: rgba(255, 255, 255, 0.12);
}

.hero__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    align-items: center;
}

.hero__title {
    font-size: clamp(32px, 3vw + 8px, 52px);
    color: var(--color-text);
}

.hero__subtitle {
    font-size: 18px;
    color: var(--color-muted);
    max-width: 640px;
}

.hero__actions {
    display: flex;
    gap: 12px;
    margin: 20px 0 12px;
}

.hero__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero__panel {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow);
    border-radius: var(--radius);
    padding: 22px;
}

.panel__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.panel__list {
    list-style: none;
    display: grid;
    gap: 14px;
    padding: 0;
    margin: 0;
}

.panel__list li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
    align-items: center;
    padding: 12px;
    border-radius: var(--radius);
    background: #f8fafc;
    border: 1px solid var(--color-border);
}

.pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 52px;
    height: 42px;
    padding: 0 12px;
    border-radius: var(--radius-pill);
    background: rgba(0, 182, 230, 0.12);
    color: var(--color-primary-strong);
    font-weight: 700;
    letter-spacing: 0.04em;
}

.pill__label {
    color: var(--color-text);
    font-weight: 600;
    margin: 0;
}

.pill__desc {
    margin: 4px 0 0;
}

.dot {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-muted);
    font-size: 13px;
}

.dot::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    background: var(--color-muted);
}

.dot--online::before {
    background: var(--color-success);
    box-shadow: 0 0 0 6px rgba(22, 163, 74, 0.18);
}

.section__head {
    max-width: 760px;
    margin-bottom: 32px;
}

.section__title {
    font-size: clamp(26px, 2vw + 4px, 38px);
    color: var(--color-text);
}

.section__lede {
    font-size: 17px;
}

.grid {
    display: grid;
    gap: 18px;
}

.grid--cards {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: var(--shadow);
}

.card__title {
    color: var(--color-text);
    margin: 6px 0 8px;
}

.card__excerpt {
    color: var(--color-muted);
    margin-bottom: 16px;
}

.card__header .eyebrow {
    margin-bottom: 6px;
}

.card--article {
    padding: 26px;
}

.card--service .button {
    margin-top: 6px;
}

.card__footer {
    margin-top: 12px;
}


.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 18px;
    border-radius: var(--radius-pill);
    border: 1px solid transparent;
    background: var(--color-primary);
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
    box-shadow: var(--shadow);
    transition: transform 0.12s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.button:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.12);
}

.button--ghost {
    background: transparent;
    color: var(--color-text);
    border-color: var(--color-border);
    box-shadow: none;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: var(--radius-pill);
    background: #f8fafc;
    border: 1px solid var(--color-border);
    color: var(--color-muted);
    font-size: 13px;
}

.eyebrow {
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-accent);
    font-size: 13px;
    margin: 0 0 4px;
}

.list {
    list-style: disc;
    padding-left: 18px;
    color: var(--color-muted);
}

.panel--stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
    padding: 22px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
}

.stat {
    padding: 12px;
    border-radius: var(--radius);
    background: rgba(0, 182, 230, 0.04);
    border: 1px solid var(--color-border);
    text-align: center;
}

.stat__number {
    margin: 0;
    font-size: 26px;
    font-weight: 700;
    color: var(--color-text);
}

.stat__label {
    margin: 6px 0 0;
    color: var(--color-muted);
}

.accent {
    color: var(--color-primary-strong);
}

.cta {
    background: var(--color-surface-2);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 28px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
    box-shadow: var(--shadow);
}

.cta__title {
    margin: 8px 0;
}

.cta__lede {
    margin: 0;
}

.cta__actions {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: flex-end;
}

.site-footer {
    margin-top: 48px;
    background: var(--footer-bg);
    color: var(--footer-text);
    border-top: 1px solid var(--footer-border);
    padding: 48px 0 28px;
}

.footer__top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    align-items: start;
}

.footer__brand img,
.footer__brand .custom-logo {
    max-width: var(--footer-logo-max-width);
    height: auto;
}

.footer-menu {
    list-style: none;
    display: grid;
    gap: 10px;
}

.footer-menu a {
    color: var(--footer-text);
}

.footer__bottom {
    margin-top: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--footer-border);
    padding-top: 18px;
    color: var(--footer-text);
    font-size: 14px;
}

.footer__meta {
    display: flex;
    gap: 14px;
}

.footer__meta a {
    color: var(--footer-text);
}

.pagination {
    margin-top: 24px;
}

.page__header {
    margin-bottom: 16px;
}

.page__title {
    font-size: clamp(28px, 2vw + 8px, 40px);
}

.content p,
.content li {
    color: var(--color-text);
}

/* Animated headline block */
.headline-block {
    padding: 24px 0;
}

.headline-block--align-left {
    text-align: left;
}

.headline-block--align-center {
    text-align: center;
}

.headline-block--align-right {
    text-align: right;
}

.headline-block__eyebrow {
    display: inline-block;
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    background: rgba(37, 99, 235, 0.08);
    color: var(--color-primary-strong);
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-bottom: 12px;
}

.headline-block__title {
    margin: 0 0 12px;
    font-size: clamp(32px, 5vw, 48px);
}

.headline-block__lede {
    margin: 0;
    color: var(--color-muted);
    font-size: 18px;
}

.headline-animated {
    display: inline-block;
    opacity: 0;
    animation-duration: 0.9s;
    animation-fill-mode: forwards;
    animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

.headline-animated--fade {
    transform: translateY(12px);
    animation-name: headlineFade;
}

.headline-animated--slide {
    transform: translateY(18px);
    animation-name: headlineSlide;
}

.headline-animated--zoom {
    transform: scale(0.96);
    animation-name: headlineZoom;
}

.headline-animated--stagger {
    animation-name: none;
    opacity: 1;
}

.headline-animated__word {
    display: inline-block;
    opacity: 0;
    transform: translateY(16px);
    animation: headlineFade 0.8s forwards cubic-bezier(0.22, 1, 0.36, 1);
}

/* Services block */
.services-block {
    padding: 32px 0;
    display: grid;
    gap: 18px;
}

.services-block__header {
    display: grid;
    gap: 8px;
    max-width: 720px;
}

.services-block__eyebrow {
    display: inline-block;
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    letter-spacing: 0.02em;
}

.services-block__title {
    margin: 0;
    font-size: clamp(28px, 4vw, 38px);
    position: relative;
    display: inline-block;
}

.services-block__lede {
    margin: 0;
    font-size: 18px;
    color: var(--color-muted);
}

.services-block__underline {
    display: inline-block;
    position: absolute;
    left: 0;
    bottom: -4px;
    height: 3px;
    width: 120px;
    max-width: 100%;
    background: var(--color-primary);
    border-radius: 99px;
    transform-origin: left center;
}

.services-block__underline--animated {
    transform: scaleX(0);
    animation: underlineGrow 0.8s ease forwards;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}

.services-block__title,
.service-card__title,
.service-card__icon,
.service-card__icon-inner,
.service-card__icon-inner::before,
.service-card__icon * {
    vertical-align: middle;
}

.service-card {
    padding: 24px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: calc(var(--radius) + 4px);
    background: linear-gradient(145deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
    display: grid;
    gap: 14px;
    min-height: 100%;
    transition: transform 0.22s ease, box-shadow 0.24s ease, border-color 0.18s ease, background 0.24s ease;
}

.service-card--clickable {
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.service-card--clickable:hover,
.service-card--clickable:focus-visible {
    border-color: var(--color-primary);
    box-shadow: 0 22px 48px rgba(15, 23, 42, 0.16);
    transform: translateY(-4px);
    background: linear-gradient(145deg, #ffffff 0%, #eef4ff 100%);
}

.service-card--clickable:active {
    border-color: var(--color-primary);
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.18);
    transform: translateY(-1px);
}

.service-card__chevron {
    margin-left: auto;
    font-size: 20px;
    color: var(--color-primary);
    transition: transform 0.2s ease;
}

.service-card--clickable:hover .service-card__chevron,
.service-card--clickable:focus-visible .service-card__chevron {
    transform: translateX(4px);
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr !important;
        gap: 14px;
    }

    .service-card {
        padding: 20px;
        gap: 12px;
        border-radius: calc(var(--radius) + 2px);
    }

    .service-card__title {
        font-size: 17px;
    }

    .service-card__chevron {
        font-size: 18px;
    }
}

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: 1fr !important;
        gap: 14px;
    }
}

.service-card__title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: space-between;
}

.service-card__icon {
    font-size: 0 !important;
    line-height: 1 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px !important;
    height: 20px !important;
    flex: 0 0 20px !important;
    overflow: hidden;
    margin-left: auto;
}

.service-card__icon svg {
    width: 20px !important;
    height: 20px !important;
    max-width: 20px !important;
    max-height: 20px !important;
    display: block;
}

.service-card__icon i,
.service-card__icon span {
    font-size: 20px !important;
    line-height: 1 !important;
    width: 20px !important;
    height: 20px !important;
    max-width: 20px !important;
    max-height: 20px !important;
    display: block;
}

.service-card__icon * {
    width: 20px !important;
    height: 20px !important;
    max-width: 20px !important;
    max-height: 20px !important;
    display: block !important;
}

.service-card__icon-inner,
.service-card__icon-inner::before {
    width: 20px !important;
    height: 20px !important;
    max-width: 20px !important;
    max-height: 20px !important;
    font-size: 20px !important;
    line-height: 1 !important;
    display: block !important;
}

.service-card__icon i::before,
.service-card__icon .fa::before,
.service-card__icon .fas::before,
.service-card__icon .far::before,
.service-card__icon .fal::before,
.service-card__icon .fab::before {
    font-size: 20px !important;
    width: 20px !important;
    height: 20px !important;
    line-height: 1 !important;
    display: block !important;
}

.service-card__title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
}

.service-card__text {
    margin: 0;
    color: var(--color-muted);
    line-height: 1.5;
}

.service-card__link {
    margin-top: 4px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.service-card__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--color-primary);
    font-weight: 700;
    transition: transform 0.12s ease, box-shadow 0.12s ease, opacity 0.12s ease;
}

.service-card__button:hover,
.service-card__button:focus {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12);
    opacity: 0.95;
}

.service-card--animate {
    opacity: 0;
    transform: translateY(18px);
    animation: serviceFadeUp 0.6s ease forwards;
}

.service-card--animate.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes serviceFadeUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes underlineGrow {
    from { transform: scaleX(0); }
    to   { transform: scaleX(1); }
}

/* CTA Block */
.cta-block {
    padding: 32px 0;
}

.cta-box {
    position: relative;
    display: grid;
    gap: 24px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.16);
}

.cta-box--horizontal {
    grid-template-columns: 1fr auto;
    align-items: center;
}

.cta-box--vertical {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
}

.cta-box--boxed {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
}

.cta-box__ribbon {
    position: absolute;
    top: 16px;
    right: -32px;
    padding: 6px 40px;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transform: rotate(45deg);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.cta-box__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    margin-bottom: 12px;
}

.cta-box__icon svg {
    width: 1em;
    height: 1em;
    display: block;
}

.cta-box__content {
    display: grid;
    gap: 10px;
}

.cta-box__eyebrow {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.cta-box__title {
    margin: 0;
    font-size: clamp(26px, 4vw, 38px);
}

.cta-box__desc {
    margin: 0;
    font-size: 18px;
    opacity: 0.95;
    line-height: 1.6;
}

.cta-box__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.cta-box--vertical .cta-box__actions,
.cta-box--boxed .cta-box__actions {
    justify-content: center;
}

.cta-box__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 24px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 16px;
    transition: transform 0.16s ease, box-shadow 0.16s ease, opacity 0.16s ease;
    text-decoration: none;
    border: 2px solid transparent;
}

.cta-box__button--primary {
    box-shadow: 0 8px 20px rgba(0,0,0,0.16);
}

.cta-box__button--secondary {
    border-width: 2px;
}

.cta-box__button:hover,
.cta-box__button:focus {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.2);
    opacity: 0.96;
}

/* Parallax hero */
.parallax-hero {
    position: relative;
    overflow: hidden;
    display: grid;
    align-items: center;
    padding: clamp(32px, 6vw, 64px);
    margin: 0 0 18px;
    background: linear-gradient(145deg, #0b1224 0%, #0d182f 36%, #0b0f1c 100%);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.24);
    isolation: isolate;
    border: 1px solid rgba(255,255,255,0.06);
}

.parallax-hero__bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
    background: transparent;
}

.parallax-hero__bg-media {
    position: absolute;
    inset: -20% -10%;
    width: 120%;
    height: 140%;
    background: transparent;
    transform: translate3d(0,0,0) scale(1.22);
    will-change: transform;
}

.parallax-hero__bg-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.parallax-hero--no-parallax .parallax-hero__bg-media {
    inset: -16% -12%;
    width: 124%;
    height: 136%;
    transform: translate3d(0,0,0) scale(1.22);
}

@media (max-width: 768px) {
    .parallax-hero {
        padding: 28px 18px;
    }
    .parallax-hero__bg-media {
        inset: -22% -14%;
        width: 128%;
        height: 144%;
        transform: translate3d(0,0,0) scale(1.24);
    }
}

.parallax-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(4,7,16,0.32) 0%, rgba(4,7,16,0.78) 68%, rgba(4,7,16,0.9) 100%), radial-gradient(120% 120% at 10% 10%, rgba(76,110,245,0.16), transparent 35%);
}

.parallax-hero__inner {
    position: relative;
    z-index: 2;
    max-width: 780px;
    display: grid;
    gap: 12px;
}

.parallax-hero--mobile {
    min-height: 520px;
    align-items: end;
    padding: 26px 18px 28px;
    border-radius: 18px;
    box-shadow: 0 28px 64px rgba(10,14,26,0.48);
}

.parallax-hero--mobile .parallax-hero__bg-media {
    inset: 0;
    width: 100%;
    height: 100%;
    transform: translate3d(0,0,0) scale(1);
    filter: saturate(1.04) contrast(1.01);
}

.parallax-hero--mobile .parallax-hero__bg-media img {
    object-fit: fill;
}

@media (max-width: 1024px) {
    .parallax-hero {
        overflow: hidden;
    }
    .parallax-hero__bg-media {
        inset: 0;
        width: 100%;
        height: 100%;
        transform: translate3d(0,0,0) scale(1);
    }
    .parallax-hero__bg-media img {
        object-fit: fill !important;
    }
}

.parallax-hero--mobile .parallax-hero__overlay {
    background: linear-gradient(180deg, rgba(6,10,20,0.1) 0%, rgba(6,10,20,0.58) 40%, rgba(6,10,20,0.86) 100%), radial-gradient(140% 110% at 80% 0%, rgba(99,133,255,0.22), transparent 36%);
}

.parallax-hero--mobile .parallax-hero__inner {
    background: rgba(10,14,26,0.72);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    padding: 18px 16px 20px;
    box-shadow: 0 20px 50px rgba(5,8,15,0.45);
    backdrop-filter: blur(10px);
}

.parallax-hero__eyebrow {
    display: inline-flex;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    width: fit-content;
}

.parallax-hero__title {
    margin: 0;
    font-size: clamp(32px, 5vw, 52px);
    color: #fff;
    letter-spacing: -0.02em;
}

.parallax-hero__subtitle {
    margin: 0;
    font-size: 20px;
    opacity: 0.9;
}

.parallax-hero__desc {
    margin: 0;
    font-size: 18px;
    opacity: 0.85;
    line-height: 1.6;
    max-width: 640px;
}

.parallax-hero__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 22px;
    border-radius: 999px;
    border: 2px solid #fff;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    margin-top: 6px;
    transition: transform 0.18s ease, box-shadow 0.2s ease, opacity 0.18s ease;
}

.parallax-hero__button:hover,
.parallax-hero__button:focus {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.25);
    opacity: 0.95;
}

@media (max-width: 900px) {
    .parallax-hero__title {
        font-size: clamp(28px, 7vw, 36px);
        line-height: 1.1;
    }
    .parallax-hero__subtitle {
        font-size: 18px;
        opacity: 0.94;
    }
    .parallax-hero__desc {
        font-size: 17px;
        line-height: 1.7;
    }
    .parallax-hero__button {
        width: 100%;
        justify-content: center;
        margin-top: 10px;
    }
}

.cta-block--animate {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.cta-block--animate.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .cta-box--horizontal {
        grid-template-columns: 1fr;
        text-align: center;
        justify-items: center;
    }
    
    .cta-box__actions {
        justify-content: center;
    }
}


/* About block */
.about-block {
    padding: 32px 0;
}

.about-card {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
    align-items: center;
    padding: 24px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: #ffffff;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.about-card__content {
    display: grid;
    gap: 14px;
}

.about-card__eyebrow {
    display: inline-block;
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    letter-spacing: 0.02em;
    width: fit-content;
}

.about-card__title {
    margin: 0;
    font-size: clamp(28px, 4vw, 40px);
}

.about-card__lede {
    color: var(--color-muted);
    font-size: 18px;
    line-height: 1.7;
}

.about-card__links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-card__icon-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-border);
    color: var(--color-text);
    background: #f8fafc;
    transition: transform 0.14s ease, box-shadow 0.14s ease, border-color 0.14s ease;
}

.about-card__icon-link svg {
    width: 18px;
    height: 18px;
    display: block;
}

.about-card__icon-link:hover,
.about-card__icon-link:focus {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.about-card__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--color-primary);
    font-weight: 700;
    transition: transform 0.14s ease, box-shadow 0.14s ease, opacity 0.14s ease;
}

.about-card__cta:hover,
.about-card__cta:focus {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
    opacity: 0.96;
}

.about-card__media {
    justify-self: end;
    width: min(420px, 100%);
}

.about-card--photo-left .about-card__content {
    order: 2;
}

.about-card--photo-left .about-card__media {
    order: 1;
    justify-self: start;
}

.about-card--photo-right .about-card__media {
    justify-self: end;
}

.about-card__photo {
    border-radius: calc(var(--radius) + 4px);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.16);
}

.about-card__photo img {
    display: block;
    width: 100%;
    height: auto;
}

.about-block--animate {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.36s ease, transform 0.36s ease;
}

.about-block--animate.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes headlineFade {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes headlineSlide {
    from {
        opacity: 0;
        transform: translateY(28px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes headlineZoom {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@media (max-width: 960px) {
    .nav .menu {
        position: absolute;
        top: 68px;
        right: var(--gutter);
        background: rgba(10, 17, 28, 0.98);
        flex-direction: column;
        width: 240px;
        padding: 12px;
        border-radius: var(--radius);
        border: 1px solid var(--color-border);
        box-shadow: var(--shadow);
        transform: translateY(-12px);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.2s ease, transform 0.2s ease;
    }

    .nav .menu .sub-menu {
        position: static;
        display: block;
        background: rgba(255, 255, 255, 0.04);
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: var(--radius);
        padding: 8px;
        margin-top: 8px;
    }

    .nav .menu .sub-menu a {
        color: var(--footer-text);
        padding: 8px 10px;
    }

    .nav.is-open .menu {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    .menu-toggle {
        display: inline-flex;
        align-items: center;
    }

    .nav__cta {
        display: none;
    }

    .hero {
        padding-top: 96px;
    }

    .cta__actions {
        justify-content: flex-start;
    }
}

@media (max-width: 640px) {
    .site-header .shell {
        padding: 14px 0;
    }

    .section--padded {
        padding: 72px 0;
    }

    .hero__actions,
    .cta__actions {
        flex-direction: column;
        align-items: flex-start;
    }
}
