﻿:root {
    /* YachtMinsk marine palette — консолидировано после design-system-audit 2026-05-10 */
    /* Surface */
    --color-dark: #041b33;
    --color-dark-2: #07355f;
    --color-dark-3: #0a4d86;
    --color-light: #f3f9ff;
    --color-light-2: #dceeff;
    --color-white: #ffffff;
    --color-ink: #0f1014;

    /* Brand — accent потемнён ради WCAG AA на CTA (4.07 → 6.94) */
    --color-accent: #075bb5;
    --color-accent-h: #044280;
    --color-accent-soft: #38bdf8;
    --color-accent-2: #f6c35f;

    /* Text */
    --color-text: #e6edf5;
    --color-text-dark: #0a1a2f;
    --color-text-muted: #a9c5dd;
    --color-text-muted-dark: #55708a;

    /* Borders */
    --color-border: #16456f;
    --color-border-light: #c4dced;

    /* State */
    --color-success: #22c55e;
    --color-danger: #ef4444;

    /* Messengers */
    --color-whatsapp: #25d366;
    --color-telegram: #0088cc;
    --color-viber: #7360f2;

    --font-heading: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

    --container: 1200px;
    --container-wide: 1360px;

    --radius-xs: 6px;
    --radius-sm: 8px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    --radius-round: 999px;

    --shadow-card-light: 0 20px 60px rgba(7, 48, 86, 0.08);
    --shadow-card-dark: 0 24px 80px rgba(0, 0, 0, 0.28);
    --shadow-header: 0 12px 40px rgba(0, 0, 0, 0.22);
    --shadow-modal: 0 30px 100px rgba(0, 0, 0, 0.45);

    --ease-standard: cubic-bezier(0.2, 0, 0, 1);
    --ease-emphasized: cubic-bezier(0.16, 1, 0.3, 1);
    --transition: 260ms var(--ease-standard);
    --transition-fast: 160ms var(--ease-standard);
    --transition-slow: 620ms var(--ease-emphasized);
    --focus-ring: 0 0 0 4px rgba(7, 91, 181, 0.45);

    --header-height: 84px;
    --mobile-bar-height: 60px;
    --safe-bottom: env(safe-area-inset-bottom, 0px);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    min-width: 320px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    min-width: 320px;
    background: var(--color-white);
    color: var(--color-text-dark);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    font-weight: 400;
    overflow-x: hidden;
    text-rendering: geometricPrecision;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.section-light,
.section-white {
    --color-text-muted: var(--color-text-muted-dark);
}

body.menu-open,
body.modal-open {
    overflow: hidden;
}

img,
svg,
video,
canvas,
picture {
    display: block;
    max-width: 100%;
}

img {
    height: auto;
}

.generated-picture,
.generated-picture img {
    display: block;
    width: 100%;
    height: 100%;
}

.generated-picture img {
    object-fit: cover;
    transform: translateZ(0);
}

.generated-picture-placeholder {
    display: block;
    width: 100%;
    min-height: 220px;
    border: 1px solid rgba(56, 189, 248, 0.28);
    border-radius: inherit;
    background:
        linear-gradient(135deg, rgba(56, 189, 248, 0.22), transparent 36%),
        linear-gradient(160deg, #031b35 0%, #0b3d70 56%, #0f5e9c 100%);
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition), border-color var(--transition), background var(--transition), opacity var(--transition);
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

input,
textarea,
select {
    width: 100%;
}

input:focus,
textarea:focus,
select:focus,
button:focus-visible,
a:focus-visible {
    outline: 2px solid rgba(11, 116, 222, 0.62);
    outline-offset: 3px;
    box-shadow: var(--focus-ring);
}

p,
ul,
ol,
figure,
blockquote {
    margin-top: 0;
}

p:last-child,
ul:last-child,
ol:last-child {
    margin-bottom: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0 0 20px;
    color: inherit;
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: 0;
}

h1 {
    font-size: 70px;
}

h2 {
    font-size: 48px;
}

h3 {
    font-size: 28px;
    line-height: 1.25;
    letter-spacing: 0;
}

h4 {
    font-size: 20px;
    line-height: 1.3;
    letter-spacing: 0;
}

small {
    font-size: 14px;
}

strong {
    font-weight: 750;
}

::selection {
    background: rgba(11, 116, 222, 0.24);
    color: var(--color-white);
}

.container {
    width: min(100% - 40px, var(--container));
    margin: 0 auto;
}

.container-wide {
    width: min(100% - 40px, var(--container-wide));
    margin: 0 auto;
}

.section {
    position: relative;
    padding: clamp(48px, 7vw, 96px) 0;
}

.section-compact {
    padding: clamp(36px, 5vw, 72px) 0;
}

.section-dark {
    background:
        linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
    color: var(--color-text-dark);
}

.section-dark-2 {
    background:
        linear-gradient(180deg, #f3f9ff 0%, #ffffff 100%);
    color: var(--color-text-dark);
}

.section-light {
    background: var(--color-light);
    color: var(--color-text-dark);
}

.section-white {
    background: var(--color-white);
    color: var(--color-text-dark);
}

.section-compact {
    padding: 64px 0;
}

.section-top-none {
    padding-top: 0;
}

.section-bottom-none {
    padding-bottom: 0;
}

.section-overflow-hidden {
    overflow: hidden;
}

.section-head {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(260px, 0.55fr);
    gap: 40px;
    align-items: end;
    margin-bottom: 46px;
}

.section-head.center {
    display: block;
    max-width: 820px;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.section-head.center .section-text {
    margin-right: auto;
    margin-left: auto;
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    color: var(--color-accent);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.section-kicker::before {
    content: "";
    width: 28px;
    height: 2px;
    border-radius: var(--radius-round);
    background: var(--color-accent);
}

.section-title {
    margin-bottom: 0;
}

.section-text {
    margin: 0;
    max-width: 640px;
    color: var(--color-text-muted);
    font-size: 18px;
    line-height: 1.72;
}

.section-dark .section-text,
.section-dark-2 .section-text,
.section-light .section-text,
.section-white .section-text {
    color: var(--color-text-muted-dark);
}

.text-accent {
    color: var(--color-accent);
}

.text-yellow {
    color: var(--color-accent-2);
}

.text-muted {
    color: var(--color-text-muted);
}

.section-dark .text-muted,
.section-dark-2 .text-muted,
.section-light .text-muted,
.section-white .text-muted {
    color: var(--color-text-muted-dark);
}

.label {
    margin-bottom: 10px;
    color: var(--color-accent);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.lead {
    font-size: 20px;
    line-height: 1.68;
}

.hidden {
    display: none !important;
}

.desktop-only {
    display: block;
}

.mobile-only {
    display: none;
}

.bg-grid {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.18;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: linear-gradient(to bottom, black, transparent 78%);
}

.bg-radial {
    position: absolute;
    inset: -20% -10% auto auto;
    width: 620px;
    height: 620px;
    border-radius: 50%;
    pointer-events: none;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.24), rgba(56, 189, 248, 0) 68%);
    filter: blur(4px);
}

.skip-link {
    position: fixed;
    left: 16px;
    top: 16px;
    z-index: 20000;
    transform: translateY(-140%);
    border-radius: var(--radius-sm);
    background: var(--color-accent);
    color: var(--color-white);
    padding: 12px 16px;
    font-weight: 800;
}

.skip-link:focus {
    transform: translateY(0);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    border: 0;
    border-radius: var(--radius-md);
    padding: 14px 24px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
    transition:
        transform var(--transition-slow),
        background var(--transition),
        color var(--transition),
        border-color var(--transition),
        box-shadow var(--transition),
        opacity var(--transition),
        filter var(--transition);
    isolation: isolate;
}

.btn i {
    font-size: 20px;
    line-height: 1;
}

.btn:hover {
    transform: translateY(-3px);
}

.btn:active {
    transform: translateY(0) scale(0.98);
}

.btn-accent {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--color-accent-h), var(--color-accent));
    color: var(--color-white);
    box-shadow: 0 14px 34px rgba(7, 91, 181, 0.32);
}

.btn-accent:hover {
    background: linear-gradient(135deg, #054388, var(--color-accent-h));
    color: var(--color-white);
    box-shadow: 0 18px 44px rgba(7, 91, 181, 0.42);
}

.btn-accent::after {
    content: "";
    position: absolute;
    inset: -1px;
    z-index: -1;
    background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.34) 42%, transparent 58%);
    transform: translateX(-120%);
}

.btn-accent:hover::after {
    transform: translateX(120%);
    transition: transform 720ms var(--ease-emphasized);
}

.btn-yellow {
    background: var(--color-accent-2);
    color: var(--color-dark);
    box-shadow: 0 14px 34px rgba(246, 195, 95, 0.2);
}

.btn-yellow:hover {
    background: #f5bd0b;
    color: var(--color-dark);
}

.btn-ghost {
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.06);
    color: var(--color-white);
}

.btn-ghost:hover {
    border-color: rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.12);
    color: var(--color-white);
}

.btn-ghost-dark {
    border: 1px solid rgba(15, 16, 20, 0.15);
    background: rgba(15, 16, 20, 0.04);
    color: var(--color-dark);
}

.btn-ghost-dark:hover {
    border-color: var(--color-accent);
    background: rgba(11, 116, 222, 0.08);
    color: var(--color-dark);
}

.section .btn-ghost,
.form-card.light .btn-ghost {
    border-color: rgba(11, 116, 222, 0.22);
    background: rgba(11, 116, 222, 0.06);
    color: var(--color-accent-h);
}

.section .btn-ghost:hover,
.form-card.light .btn-ghost:hover {
    border-color: rgba(11, 116, 222, 0.42);
    background: rgba(11, 116, 222, 0.1);
    color: var(--color-accent-h);
}

.hero .btn-ghost,
.cta-band .btn-ghost {
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.08);
    color: var(--color-white);
}

.hero .btn-ghost:hover,
.cta-band .btn-ghost:hover {
    border-color: rgba(255, 255, 255, 0.58);
    background: rgba(255, 255, 255, 0.15);
    color: var(--color-white);
}

.btn-white {
    background: var(--color-white);
    color: var(--color-dark);
}

.btn-white:hover {
    background: var(--color-light);
    color: var(--color-dark);
}

.btn-block {
    width: 100%;
}

.btn-sm {
    min-height: 42px;
    padding: 10px 16px;
    font-size: 14px;
}

.btn-lg {
    min-height: 60px;
    padding: 18px 30px;
    font-size: 16px;
}

.btn[disabled],
button[disabled] {
    pointer-events: none;
    opacity: 0.65;
}

.btn .spinner {
    width: 18px;
    height: 18px;
    border: 2px solid currentColor;
    border-top-color: transparent;
    border-radius: 50%;
    animation: rb-spin 0.8s linear infinite;
}

@keyframes rb-spin {
    to {
        transform: rotate(360deg);
    }
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10000;
    height: var(--header-height);
    border-bottom: 1px solid rgba(7, 48, 86, 0.08);
    background: rgba(255, 255, 255, 0.86);
    color: var(--color-text-dark);
    backdrop-filter: blur(18px);
    transition:
        height var(--transition),
        background var(--transition),
        box-shadow var(--transition),
        border-color var(--transition),
        backdrop-filter var(--transition);
}

.site-header.scrolled {
    height: 74px;
    border-color: rgba(7, 48, 86, 0.1);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 14px 40px rgba(7, 48, 86, 0.12);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    height: 100%;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
    color: var(--color-text-dark);
}

.logo-mark {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background:
        linear-gradient(135deg, var(--color-accent), #38bdf8);
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 900;
    letter-spacing: 0;
    box-shadow: 0 12px 28px rgba(56, 189, 248, 0.25);
}

.logo-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.logo-name {
    font-family: var(--font-heading);
    font-size: 19px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0;
}

.logo-descriptor {
    color: var(--color-text-muted-dark);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.header-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex: 1 1 auto;
    min-width: 0;
}

.nav-link,
.nav-trigger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 42px;
    border: 0;
    border-radius: var(--radius-round);
    background: transparent;
    color: rgba(10, 26, 47, 0.72);
    padding: 10px 13px;
    font-size: 14px;
    font-weight: 750;
    line-height: 1.2;
    white-space: nowrap;
    transition:
        color var(--transition),
        background var(--transition);
}

.nav-trigger i {
    font-size: 15px;
    transition: transform var(--transition);
}

.nav-link:hover,
.nav-link.active,
.nav-trigger:hover,
.nav-item.has-dropdown:hover .nav-trigger {
    background: rgba(11, 116, 222, 0.08);
    color: var(--color-accent-h);
}

.nav-item.has-dropdown:hover .nav-trigger i {
    transform: rotate(180deg);
}

.nav-item {
    position: relative;
}

.dropdown {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    min-width: 320px;
    max-width: 380px;
    transform: translateX(-50%) translateY(8px);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    border: 1px solid rgba(7, 48, 86, 0.1);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 28px 70px rgba(7, 48, 86, 0.16);
    padding: 10px;
    transition:
        opacity var(--transition),
        transform var(--transition),
        visibility var(--transition);
}

.dropdown::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 100%;
    height: 16px;
}

.nav-item.has-dropdown:hover .dropdown,
.nav-item.has-dropdown:focus-within .dropdown,
.nav-item.has-dropdown.open .dropdown {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.dropdown-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4px;
}

.dropdown-link {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    border-radius: 12px;
    padding: 10px;
    color: var(--color-text-dark);
}

.dropdown-link:hover,
.dropdown-link.active {
    background: rgba(11, 116, 222, 0.09);
    color: var(--color-accent-h);
}

.dropdown-link-icon {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: rgba(56, 189, 248, 0.12);
    color: var(--color-accent);
}

.dropdown-link-title {
    display: block;
    font-size: 14px;
    font-weight: 850;
    line-height: 1.25;
}

.dropdown-link-text {
    display: block;
    margin-top: 3px;
    color: var(--color-text-muted);
    font-size: 12px;
    line-height: 1.35;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
}

.header-phone {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    white-space: nowrap;
}

.header-phone-label {
    color: var(--color-text-muted);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.header-phone-link {
    color: var(--color-white);
    font-size: 16px;
    font-weight: 900;
    line-height: 1.2;
}

.header-phone-link:hover {
    color: var(--color-accent-2);
}

.burger {
    display: none;
    position: relative;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--color-white);
}

.burger span {
    position: absolute;
    left: 12px;
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform var(--transition), top var(--transition), opacity var(--transition);
}

.burger span:nth-child(1) {
    top: 15px;
}

.burger span:nth-child(2) {
    top: 22px;
}

.burger span:nth-child(3) {
    top: 29px;
}

.burger.active span:nth-child(1) {
    top: 22px;
    transform: rotate(45deg);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    top: 22px;
    transform: rotate(-45deg);
}

.mobile-menu {
    position: fixed;
    inset: var(--header-height) 0 auto 0;
    z-index: 9999;
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
    transform: translateY(-12px);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(15, 16, 20, 0.98);
    color: var(--color-white);
    padding: 18px 20px 28px;
    transition:
        opacity var(--transition),
        transform var(--transition),
        visibility var(--transition);
}

.mobile-menu.active {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.mobile-menu-section {
    padding: 12px 0;
}

.mobile-menu-title {
    margin-bottom: 8px;
    color: var(--color-accent);
    font-size: 12px;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.mobile-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 13px 0;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 750;
}

.mobile-link:hover,
.mobile-link.active {
    color: var(--color-accent-2);
}

.mobile-menu-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 18px;
}

.breadcrumbs-wrap {
    position: relative;
    z-index: 5;
    background: var(--color-dark);
    color: var(--color-text);
}

.breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    min-height: 54px;
    margin: 0;
    padding: 14px 0;
    list-style: none;
    color: var(--color-text-muted);
    font-size: 13px;
    line-height: 1.3;
}

.breadcrumbs li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.breadcrumbs li:not(:last-child)::after {
    content: "/";
    color: rgba(139, 143, 168, 0.55);
}

.breadcrumbs a {
    color: var(--color-text-muted);
}

.breadcrumbs a:hover {
    color: var(--color-accent-2);
}

.breadcrumbs span {
    color: var(--color-white);
}

.hero {
    position: relative;
    min-height: calc(100vh - var(--header-height));
    overflow: hidden;
    background: #031b35;
    color: var(--color-white);
}

.hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    z-index: 2;
    height: 64px;
    pointer-events: none;
    background:
        radial-gradient(70% 92px at 50% 100%, var(--color-white) 0 58%, transparent 59%),
        linear-gradient(180deg, transparent 0%, var(--color-white) 100%);
    opacity: 0.98;
}

.hero.hero-small {
    min-height: auto;
}

.hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-media picture,
.hero-media .generated-picture,
.hero-media .generated-picture-placeholder,
.hero-media img {
    width: 100%;
    height: 100%;
}

.hero-media img {
    object-fit: cover;
    opacity: 0.86;
    filter: saturate(1.12) contrast(1.06);
    transform-origin: center right;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(4, 27, 51, 0.9) 0%, rgba(4, 27, 51, 0.68) 46%, rgba(4, 27, 51, 0.2) 100%),
        linear-gradient(180deg, rgba(11, 116, 222, 0.18), rgba(4, 27, 51, 0.74));
}

.hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.58fr);
    gap: 48px;
    align-items: center;
    min-height: calc(100vh - var(--header-height));
    padding: 78px 0;
}

.hero.hero-small .hero-inner {
    min-height: auto;
    padding: 86px 0 78px;
}

.hero-content {
    max-width: 820px;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    border: 1px solid rgba(148, 215, 255, 0.52);
    border-radius: var(--radius-round);
    background: rgba(11, 116, 222, 0.16);
    color: #d8f3ff;
    padding: 8px 13px;
    font-size: 12px;
    font-weight: 850;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.09em;
}

.hero-kicker i {
    font-size: 17px;
}

.hero-title {
    margin-bottom: 22px;
    max-width: 880px;
}

.hero-title .accent-line {
    display: block;
    color: #bde9ff;
}

.hero-subtitle {
    max-width: 760px;
    margin: 0 0 30px;
    color: rgba(232, 244, 255, 0.9);
    font-size: 20px;
    line-height: 1.72;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 30px;
}

.hero-phone-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px 22px;
    margin-bottom: 30px;
}

.hero-phone-card {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    border: 1px solid rgba(142, 211, 246, 0.22);
    border-radius: var(--radius-lg);
    background: rgba(4, 36, 70, 0.52);
    padding: 12px 16px;
    color: var(--color-white);
    transition:
        transform var(--transition),
        border-color var(--transition),
        background var(--transition);
}

.hero-phone-card i {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: var(--color-accent);
    color: var(--color-white);
    font-size: 20px;
}

.hero-phone-card small {
    display: block;
    color: rgba(219, 237, 250, 0.74);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
}

.hero-phone-card strong {
    display: block;
    margin-top: 2px;
    color: var(--color-white);
    font-size: 18px;
    line-height: 1.2;
}

.hero-badges {
    display: grid;
    grid-template-columns: repeat(5, minmax(120px, 1fr));
    gap: 12px;
    max-width: 850px;
}

.hero-badge {
    border: 1px solid rgba(142, 211, 246, 0.18);
    border-radius: var(--radius-lg);
    background: rgba(4, 36, 70, 0.46);
    padding: 14px;
    backdrop-filter: blur(12px);
    transition:
        transform var(--transition),
        border-color var(--transition),
        background var(--transition);
}

.hero-badge i {
    margin-bottom: 8px;
    color: #8bdcff;
    font-size: 22px;
}

.hero-badge span {
    display: block;
    color: rgba(255, 255, 255, 0.88);
    font-size: 13px;
    font-weight: 750;
    line-height: 1.35;
}

.hero-form-card,
.form-card {
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.74);
    border-radius: var(--radius-xl);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(243, 249, 255, 0.9));
    color: var(--color-text-dark);
    box-shadow: 0 30px 90px rgba(7, 48, 86, 0.22);
    padding: 26px;
    backdrop-filter: blur(20px);
}

.form-card.light {
    border-color: rgba(15, 16, 20, 0.08);
    background: var(--color-white);
    color: var(--color-text-dark);
    box-shadow: var(--shadow-card-light);
}

@media (prefers-reduced-motion: no-preference) {
    .hero-media img {
        animation: rb-hero-image 9s var(--ease-emphasized) both;
    }

    .hero-content > .hero-kicker,
    .hero-content > .hero-title,
    .hero-content > .hero-subtitle,
    .hero-content > .hero-actions,
    .hero-content > .hero-phone-row,
    .hero-content > .hero-badges,
    .hero-form-card {
        animation: rb-hero-content 720ms var(--ease-emphasized) both;
    }

    .hero-content > .hero-title {
        animation-delay: 80ms;
    }

    .hero-content > .hero-subtitle {
        animation-delay: 150ms;
    }

    .hero-content > .hero-actions,
    .hero-content > .hero-phone-row {
        animation-delay: 220ms;
    }

    .hero-content > .hero-badges,
    .hero-form-card {
        animation-delay: 300ms;
    }
}

@keyframes rb-hero-image {
    from {
        transform: scale(1.055);
    }

    to {
        transform: scale(1);
    }
}

@keyframes rb-hero-content {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-form-card::before,
.form-card:not(.light)::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(11, 116, 222, 0.1), transparent 45%);
}

.card,
.service-card,
.case-card,
.price-card,
.step-card,
.faq-item,
.doc-card,
.included-item,
.related-card,
.contact-card {
    isolation: isolate;
}

@media (prefers-reduced-motion: no-preference) {
    .hero-phone-card,
    .hero-badge {
        animation: ym-soft-float 5.8s ease-in-out infinite;
    }

    .hero-badge:nth-child(2n),
    .hero-phone-card {
        animation-delay: 0.8s;
    }

    .hero-badge:nth-child(3n) {
        animation-delay: 1.4s;
    }

    .cta-band::after {
        animation: ym-wave-sheen 9s linear infinite;
    }
}

@keyframes ym-soft-float {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

@keyframes ym-wave-sheen {
    from {
        background-position: 0 0, 0 0;
    }

    to {
        background-position: 0 0, 180px 0;
    }
}

.form-title {
    position: relative;
    margin-bottom: 8px;
    font-size: 24px;
}

.form-text {
    position: relative;
    margin: 0 0 18px;
    color: var(--color-text-muted-dark);
    font-size: 14px;
    line-height: 1.55;
}

.form-card.light .form-text {
    color: var(--color-text-muted-dark);
}

.form {
    position: relative;
    display: grid;
    gap: 12px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.form-field {
    position: relative;
    display: grid;
    gap: 7px;
}

.form-field label {
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
    font-weight: 750;
    line-height: 1.2;
}

.hero-form-card .form-field label,
.form-card.light .form-field label,
.section-light .form-field label,
.section-white .form-field label {
    color: var(--color-text-muted-dark);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    min-height: 52px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: var(--radius-md);
    background: rgba(15, 16, 20, 0.6);
    color: var(--color-white);
    padding: 14px 15px;
    font-size: 15px;
    line-height: 1.35;
    transition:
        border-color var(--transition),
        background var(--transition),
        box-shadow var(--transition),
        transform var(--transition);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: rgba(232, 233, 236, 0.45);
}

.hero-form-card .form-input,
.hero-form-card .form-select,
.hero-form-card .form-textarea,
.form-card.light .form-input,
.form-card.light .form-select,
.form-card.light .form-textarea,
.section-dark .form-input,
.section-dark .form-select,
.section-dark .form-textarea,
.section-dark-2 .form-input,
.section-dark-2 .form-select,
.section-dark-2 .form-textarea,
.section-light .form-input,
.section-light .form-select,
.section-light .form-textarea,
.section-white .form-input,
.section-white .form-select,
.section-white .form-textarea {
    border-color: rgba(15, 16, 20, 0.12);
    background: var(--color-light);
    color: var(--color-text-dark);
}

.hero-form-card .form-input::placeholder,
.hero-form-card .form-textarea::placeholder,
.form-card.light .form-input::placeholder,
.form-card.light .form-textarea::placeholder,
.section-dark .form-input::placeholder,
.section-dark .form-textarea::placeholder,
.section-dark-2 .form-input::placeholder,
.section-dark-2 .form-textarea::placeholder,
.section-light .form-input::placeholder,
.section-light .form-textarea::placeholder,
.section-white .form-input::placeholder,
.section-white .form-textarea::placeholder {
    color: rgba(23, 25, 35, 0.45);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: rgba(56, 189, 248, 0.72);
    background: rgba(15, 16, 20, 0.78);
    box-shadow: var(--focus-ring);
    transform: translateY(-1px);
}

.hero-form-card .form-input:focus,
.hero-form-card .form-select:focus,
.hero-form-card .form-textarea:focus,
.form-card.light .form-input:focus,
.form-card.light .form-select:focus,
.form-card.light .form-textarea:focus,
.section-dark .form-input:focus,
.section-dark .form-select:focus,
.section-dark .form-textarea:focus,
.section-dark-2 .form-input:focus,
.section-dark-2 .form-select:focus,
.section-dark-2 .form-textarea:focus,
.section-light .form-input:focus,
.section-light .form-select:focus,
.section-light .form-textarea:focus,
.section-white .form-input:focus,
.section-white .form-select:focus,
.section-white .form-textarea:focus {
    background: var(--color-white);
}

.form-select {
    appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, currentColor 50%),
        linear-gradient(135deg, currentColor 50%, transparent 50%);
    background-position:
        calc(100% - 19px) 22px,
        calc(100% - 14px) 22px;
    background-size:
        5px 5px,
        5px 5px;
    background-repeat: no-repeat;
    padding-right: 42px;
}

.form-textarea {
    min-height: 116px;
    resize: vertical;
}

.form-file {
    display: grid;
    gap: 8px;
    border: 1px dashed rgba(56, 189, 248, 0.45);
    border-radius: var(--radius-lg);
    background: rgba(56, 189, 248, 0.08);
    padding: 16px;
}

.form-file input {
    color: var(--color-text);
    font-size: 14px;
}

.hero-form-card .form-file input,
.form-card.light .form-file input,
.section-dark .form-file input,
.section-dark-2 .form-file input,
.section-light .form-file input,
.section-white .form-file input {
    color: var(--color-text-dark);
}

.form-help {
    margin: 0;
    color: var(--color-text-muted);
    font-size: 12px;
    line-height: 1.45;
}

.hero-form-card .form-help,
.form-card.light .form-help,
.section-dark .form-help,
.section-dark-2 .form-help,
.section-light .form-help,
.section-white .form-help {
    color: var(--color-text-muted-dark);
}

.form-agree {
    margin: 2px 0 0;
    color: var(--color-text-muted);
    font-size: 12px;
    line-height: 1.45;
}

.form-agree a {
    color: var(--color-accent-2);
    border-bottom: 1px solid rgba(246, 195, 95, 0.35);
}

.hero-form-card .form-agree,
.form-card.light .form-agree,
.section-dark .form-agree,
.section-dark-2 .form-agree,
.section-light .form-agree,
.section-white .form-agree {
    color: var(--color-text-muted-dark);
}

.hero-form-card .form-agree a,
.form-card.light .form-agree a,
.section-dark .form-agree a,
.section-dark-2 .form-agree a,
.section-light .form-agree a,
.section-white .form-agree a {
    color: var(--color-accent);
    border-color: rgba(56, 189, 248, 0.35);
}

.form-agree a:hover {
    border-color: currentColor;
}

.form-error {
    display: none;
    margin: 0;
    border-radius: var(--radius-sm);
    background: rgba(239, 68, 68, 0.12);
    color: #fecaca;
    padding: 9px 11px;
    font-size: 13px;
    line-height: 1.45;
}

.form-error.visible {
    display: block;
}

.section-light .form-error,
.section-white .form-error,
.form-card.light .form-error {
    color: #991b1b;
}

.form-success-note {
    border-radius: var(--radius-lg);
    background: rgba(34, 197, 94, 0.12);
    color: #bbf7d0;
    padding: 14px;
    font-size: 14px;
}

.checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--color-text-muted);
    font-size: 13px;
    line-height: 1.45;
}

.checkbox-row input {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    margin: 2px 0 0;
    accent-color: var(--color-accent);
}

.form-inline {
    display: grid;
    gap: 12px;
}

.form-inline-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: start;
}

.stats-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.stat-card {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.065);
    padding: 22px;
    color: var(--color-white);
}

.section-dark .stat-card,
.section-dark-2 .stat-card,
.section-light .stat-card,
.section-white .stat-card {
    border-color: rgba(15, 16, 20, 0.08);
    background: var(--color-white);
    color: var(--color-text-dark);
    box-shadow: var(--shadow-card-light);
}

.stat-number {
    display: block;
    margin-bottom: 8px;
    color: var(--color-accent-2);
    font-family: var(--font-heading);
    font-size: 44px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0;
}

.section-dark .stat-number,
.section-dark-2 .stat-number,
.section-light .stat-number,
.section-white .stat-number {
    color: var(--color-accent);
}

.stat-label {
    display: block;
    color: var(--color-text-muted);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
}

.section-dark .stat-label,
.section-dark-2 .stat-label,
.section-light .stat-label,
.section-white .stat-label {
    color: var(--color-text-muted-dark);
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.card-grid.grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card-grid.grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card-grid.grid-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.055);
    color: var(--color-text);
    padding: 24px;
    transition:
        transform var(--transition-slow),
        border-color var(--transition),
        box-shadow var(--transition),
        background var(--transition);
}

.card:hover {
    transform: translateY(-6px);
    border-color: rgba(56, 189, 248, 0.55);
    box-shadow: var(--shadow-card-dark);
    background: rgba(255, 255, 255, 0.075);
}

.section-dark .card,
.section-dark-2 .card,
.section-light .card,
.section-white .card,
.card.light {
    border-color: rgba(15, 16, 20, 0.08);
    background: var(--color-white);
    color: var(--color-text-dark);
    box-shadow: var(--shadow-card-light);
}

.section-dark .card:hover,
.section-dark-2 .card:hover,
.section-light .card:hover,
.section-white .card:hover,
.card.light:hover {
    border-color: rgba(56, 189, 248, 0.42);
    box-shadow: 0 24px 70px rgba(15, 16, 20, 0.12);
}

.card-icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: 18px;
    border-radius: 16px;
    background: rgba(56, 189, 248, 0.12);
    color: var(--color-accent);
    font-size: 26px;
    transition:
        transform var(--transition),
        background var(--transition),
        color var(--transition);
}

.card:hover .card-icon {
    transform: translateY(-2px);
    background: var(--color-accent);
    color: var(--color-white);
}

.card-title {
    margin-bottom: 10px;
    font-size: 22px;
}

.card-text {
    margin: 0 0 18px;
    color: var(--color-text-muted);
    font-size: 15px;
    line-height: 1.65;
}

.section-dark .card-text,
.section-dark-2 .card-text,
.section-light .card-text,
.section-white .card-text,
.card.light .card-text {
    color: var(--color-text-muted-dark);
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-accent);
    font-size: 14px;
    font-weight: 850;
}

.card-link i {
    font-size: 17px;
    transition: transform var(--transition);
}

.card-link:hover i {
    transform: translateX(4px);
}

.service-card {
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    min-height: 100%;
    padding: 0;
}

.service-card:not(.card) {
    border: 1px solid rgba(15, 16, 20, 0.08);
    border-radius: var(--radius-lg);
    background: var(--color-white);
    color: var(--color-text-dark);
    box-shadow: var(--shadow-card-light);
    transition:
        transform var(--transition-slow),
        border-color var(--transition),
        box-shadow var(--transition);
}

.service-card:not(.card):hover {
    transform: translateY(-6px);
    border-color: rgba(56, 189, 248, 0.42);
    box-shadow: 0 24px 70px rgba(15, 16, 20, 0.12);
}

.service-card::after {
    content: "";
    position: absolute;
    right: -60px;
    bottom: -60px;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.16), transparent 70%);
    pointer-events: none;
}

.service-card-media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    height: auto;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    background: var(--color-dark-3);
}

.service-card-media img {
    transition: transform var(--transition-slow), filter var(--transition-slow);
}

.service-card:hover .service-card-media img {
    transform: scale(1.06);
    filter: saturate(1.04) contrast(1.04);
}

.service-card .card-icon {
    margin: 22px 22px 16px;
}

.service-card-icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin: 22px 22px 16px;
    border-radius: 16px;
    background: rgba(11, 116, 222, 0.1);
    color: var(--color-accent);
    font-size: 26px;
    transition:
        transform var(--transition-slow),
        background var(--transition),
        color var(--transition);
}

.service-card:hover .service-card-icon {
    transform: translateY(-3px) rotate(-3deg);
    background: var(--color-accent);
    color: var(--color-white);
}

.service-card .card-title,
.service-card h3,
.service-card .card-text,
.service-card p,
.service-card .card-link {
    margin-right: 22px;
    margin-left: 22px;
}

.service-card h3 {
    margin-bottom: 10px;
    font-size: 22px;
}

.service-card p {
    flex: 1;
    color: var(--color-text-muted-dark);
    font-size: 15px;
    line-height: 1.65;
}

.service-card .card-text {
    flex: 1;
}

.service-card .card-link {
    margin-top: auto;
    margin-bottom: 22px;
}

.decision-section {
    position: relative;
    overflow: hidden;
}

.decision-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.55fr);
    gap: 34px;
    align-items: stretch;
}

.decision-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.decision-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 28px;
}

.decision-card {
    border: 1px solid rgba(15, 16, 20, 0.08);
    border-radius: var(--radius-lg);
    background: var(--color-light);
    padding: 20px;
    transition:
        transform var(--transition-slow),
        border-color var(--transition),
        box-shadow var(--transition),
        background var(--transition);
}

.decision-card:hover {
    transform: translateY(-5px);
    border-color: rgba(56, 189, 248, 0.38);
    background: var(--color-white);
    box-shadow: 0 22px 60px rgba(15, 16, 20, 0.1);
}

.decision-card span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    margin-bottom: 12px;
    border-radius: var(--radius-round);
    background: rgba(56, 189, 248, 0.12);
    color: var(--color-accent);
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
}

.decision-card h3 {
    margin-bottom: 8px;
    font-size: 20px;
}

.decision-card p {
    margin: 0;
    color: var(--color-text-muted-dark);
    font-size: 14px;
    line-height: 1.55;
}

.decision-aside {
    display: grid;
    gap: 18px;
}

.decision-visual {
    overflow: hidden;
    min-height: 230px;
    border-radius: var(--radius-xl);
    background: var(--color-dark-3);
    box-shadow: var(--shadow-card-light);
}

.decision-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.96) contrast(1.05);
}

.decision-form {
    padding: 24px;
}

.object-card {
    display: grid;
    grid-template-rows: auto 1fr;
    min-height: 240px;
    padding: 0;
}

.object-card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    height: auto;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.object-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow), filter var(--transition-slow);
}

.object-card:hover .object-card-image img {
    transform: scale(1.06);
    filter: saturate(1.04) contrast(1.04);
}

.object-card-body {
    padding: 22px;
}

.price-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.price-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(15, 16, 20, 0.08);
    border-radius: var(--radius-xl);
    background: var(--color-white);
    color: var(--color-text-dark);
    box-shadow: var(--shadow-card-light);
    padding: 26px;
    transition:
        transform var(--transition-slow),
        border-color var(--transition),
        box-shadow var(--transition);
}

.price-card.dark {
    border-color: rgba(255, 255, 255, 0.12);
    background: var(--color-dark-2);
    color: var(--color-white);
    box-shadow: var(--shadow-card-dark);
}

.price-card:hover {
    transform: translateY(-6px);
    border-color: rgba(56, 189, 248, 0.45);
    box-shadow: 0 26px 78px rgba(15, 16, 20, 0.14);
}

.price-card-featured {
    border-color: rgba(56, 189, 248, 0.62);
}

.price-card-featured::before {
    content: "Популярно";
    position: absolute;
    top: 18px;
    right: 18px;
    border-radius: var(--radius-round);
    background: rgba(56, 189, 248, 0.12);
    color: var(--color-accent);
    padding: 6px 10px;
    font-size: 11px;
    font-weight: 850;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.price-title {
    margin-bottom: 12px;
    padding-right: 90px;
    font-size: 22px;
}

.price-value {
    display: flex;
    align-items: flex-end;
    gap: 7px;
    margin-bottom: 14px;
    color: var(--color-accent);
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0;
}

.price-value small {
    margin-bottom: 7px;
    color: var(--color-text-muted-dark);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0;
}

.price-card.dark .price-value small {
    color: var(--color-text-muted);
}

.price-list {
    display: grid;
    gap: 9px;
    margin: 18px 0 22px;
    padding: 0;
    list-style: none;
}

.price-list li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: var(--color-text-muted-dark);
    font-size: 14px;
    line-height: 1.5;
}

.price-card.dark .price-list li {
    color: var(--color-text-muted);
}

.price-list li::before {
    content: "✓";
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 19px;
    height: 19px;
    margin-top: 1px;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.13);
    color: var(--color-success);
    font-size: 12px;
    font-weight: 900;
}

.table-wrap {
    overflow-x: auto;
    border: 1px solid rgba(15, 16, 20, 0.08);
    border-radius: var(--radius-xl);
    background: var(--color-white);
    box-shadow: var(--shadow-card-light);
}

.price-table {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
    color: var(--color-text-dark);
}

.price-table th,
.price-table td {
    border-bottom: 1px solid rgba(15, 16, 20, 0.08);
    padding: 17px 20px;
    text-align: left;
    vertical-align: top;
}

.price-table th {
    background: var(--color-dark);
    color: var(--color-white);
    font-size: 13px;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.price-table tr:last-child td {
    border-bottom: 0;
}

.price-table td:first-child {
    font-weight: 800;
}

.steps {
    position: relative;
    display: grid;
    gap: 16px;
    counter-reset: step;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    counter-reset: step;
}

.step-card {
    position: relative;
    min-height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.055);
    padding: 24px;
    counter-increment: step;
}

.section-dark .step-card,
.section-dark-2 .step-card,
.section-light .step-card,
.section-white .step-card {
    border-color: rgba(15, 16, 20, 0.08);
    background: var(--color-white);
    color: var(--color-text-dark);
    box-shadow: var(--shadow-card-light);
}

.step-number {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-bottom: 18px;
    border-radius: 14px;
    background: var(--color-accent);
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 900;
}

.step-card.auto-number .step-number::before {
    content: counter(step);
}

.step-title {
    margin-bottom: 9px;
    font-size: 21px;
}

.step-text {
    margin: 0;
    color: var(--color-text-muted);
    font-size: 15px;
    line-height: 1.65;
}

.section-dark .step-text,
.section-dark-2 .step-text,
.section-light .step-text,
.section-white .step-text {
    color: var(--color-text-muted-dark);
}

.cta-band {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-2xl);
    background:
        radial-gradient(circle at 10% 20%, rgba(148, 215, 255, 0.3), transparent 32%),
        linear-gradient(135deg, #063463, var(--color-accent));
    color: var(--color-white);
    padding: 42px;
    box-shadow: var(--shadow-card-dark);
    isolation: isolate;
}

.cta-band::after {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    pointer-events: none;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.16), transparent 34%),
        repeating-linear-gradient(115deg, transparent 0 26px, rgba(255, 255, 255, 0.055) 27px 28px);
    opacity: 0.55;
}

.cta-band.light {
    background:
        radial-gradient(circle at 10% 20%, rgba(11, 116, 222, 0.12), transparent 32%),
        var(--color-white);
    color: var(--color-text-dark);
    box-shadow: var(--shadow-card-light);
}

.cta-band-inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.52fr);
    gap: 34px;
    align-items: center;
    z-index: 2;
}

.cta-title {
    margin-bottom: 14px;
}

.cta-text {
    max-width: 690px;
    margin: 0 0 22px;
    color: var(--color-text-muted);
    font-size: 18px;
    line-height: 1.65;
}

.cta-band.light .cta-text {
    color: var(--color-text-muted-dark);
}

.cta-band.light .cta-points li {
    color: var(--color-text-muted-dark);
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.cta-points {
    display: grid;
    gap: 10px;
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
}

.cta-points li {
    display: flex;
    gap: 9px;
    align-items: flex-start;
    color: rgba(255, 255, 255, 0.82);
    font-size: 15px;
}

.cta-band.light .cta-points li {
    color: var(--color-text-muted-dark);
}

.cta-points li::before {
    content: "✓";
    color: var(--color-accent-2);
    font-weight: 900;
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.case-card {
    overflow: hidden;
    border: 1px solid rgba(15, 16, 20, 0.08);
    border-radius: var(--radius-xl);
    background: var(--color-white);
    color: var(--color-text-dark);
    box-shadow: var(--shadow-card-light);
    transition:
        transform var(--transition-slow),
        border-color var(--transition),
        box-shadow var(--transition);
}

.section-dark .case-card,
.section-dark-2 .case-card {
    border-color: rgba(15, 16, 20, 0.08);
    background: var(--color-white);
    color: var(--color-text-dark);
    box-shadow: var(--shadow-card-light);
}

.case-card:hover {
    transform: translateY(-6px);
    border-color: rgba(56, 189, 248, 0.42);
    box-shadow: 0 26px 78px rgba(15, 16, 20, 0.14);
}

.case-image {
    position: relative;
    aspect-ratio: 16 / 10;
    height: auto;
    overflow: hidden;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow), filter var(--transition-slow);
}

.case-card:hover .case-image img {
    transform: scale(1.06);
    filter: saturate(1.04) contrast(1.04);
}

.case-badge {
    position: absolute;
    left: 16px;
    top: 16px;
    border-radius: var(--radius-round);
    background: rgba(15, 16, 20, 0.82);
    color: var(--color-white);
    padding: 7px 10px;
    font-size: 12px;
    font-weight: 850;
    line-height: 1.2;
}

.case-body {
    padding: 22px;
}

.case-title {
    margin-bottom: 10px;
    font-size: 22px;
}

.case-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.case-meta span {
    border-radius: var(--radius-round);
    background: rgba(56, 189, 248, 0.1);
    color: var(--color-accent);
    padding: 6px 9px;
    font-size: 12px;
    font-weight: 850;
    line-height: 1.2;
}

.case-text {
    color: var(--color-text-muted-dark);
    font-size: 15px;
    line-height: 1.62;
}

.section-dark .case-text,
.section-dark-2 .case-text {
    color: var(--color-text-muted-dark);
}

.equipment-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.equipment-card {
    overflow: hidden;
    border: 1px solid rgba(15, 16, 20, 0.08);
    border-radius: var(--radius-xl);
    background: var(--color-white);
    color: var(--color-text-dark);
    box-shadow: var(--shadow-card-light);
    transition:
        transform var(--transition-slow),
        border-color var(--transition),
        box-shadow var(--transition);
}

.equipment-image {
    aspect-ratio: 16 / 10;
    height: auto;
    overflow: hidden;
}

.equipment-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow), filter var(--transition-slow);
}

.equipment-card:hover {
    transform: translateY(-6px);
    border-color: rgba(56, 189, 248, 0.42);
    box-shadow: 0 26px 78px rgba(15, 16, 20, 0.14);
}

.equipment-card:hover .equipment-image img {
    transform: scale(1.06);
    filter: saturate(1.04) contrast(1.04);
}

.equipment-body {
    padding: 20px;
}

.equipment-title {
    margin-bottom: 8px;
    font-size: 20px;
}

.equipment-text {
    margin: 0;
    color: var(--color-text-muted-dark);
    font-size: 14px;
    line-height: 1.55;
}

.documents-visual {
    position: relative;
    overflow: hidden;
    height: 360px;
    margin-bottom: 22px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-xl);
    background: var(--color-dark-3);
    box-shadow: var(--shadow-card-dark);
}

.documents-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(15, 16, 20, 0.72), rgba(15, 16, 20, 0.08)),
        linear-gradient(180deg, transparent, rgba(15, 16, 20, 0.32));
    pointer-events: none;
}

.documents-visual img {
    filter: saturate(0.94) contrast(1.05);
}

.docs-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}

.doc-card {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.055);
    padding: 22px;
    text-align: center;
    transition:
        transform var(--transition-slow),
        border-color var(--transition),
        background var(--transition),
        box-shadow var(--transition);
}

.section-light .doc-card,
.section-white .doc-card {
    border-color: rgba(15, 16, 20, 0.08);
    background: var(--color-white);
    color: var(--color-text-dark);
    box-shadow: var(--shadow-card-light);
}

.doc-card i {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    margin: 0 auto 14px;
    border-radius: 16px;
    background: rgba(34, 197, 94, 0.12);
    color: var(--color-success);
    font-size: 28px;
    transition:
        transform var(--transition),
        background var(--transition);
}

.doc-card:hover {
    transform: translateY(-5px);
    border-color: rgba(56, 189, 248, 0.42);
    background: rgba(255, 255, 255, 0.075);
}

.doc-card:hover i {
    transform: translateY(-2px);
}

.doc-card h3 {
    margin-bottom: 7px;
    font-size: 18px;
}

.doc-card p {
    color: var(--color-text-muted);
    font-size: 13px;
    line-height: 1.5;
}

.section-light .doc-card p,
.section-white .doc-card p {
    color: var(--color-text-muted-dark);
}

.city-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;
}

.city-card {
    position: relative;
    overflow: hidden;
    min-height: 190px;
    border-radius: var(--radius-lg);
    color: var(--color-white);
    box-shadow: var(--shadow-card-light);
    transition:
        transform var(--transition-slow),
        box-shadow var(--transition);
}

.city-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow), filter var(--transition-slow);
}

.city-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(15, 16, 20, 0.1), rgba(15, 16, 20, 0.86)),
        radial-gradient(circle at 20% 20%, rgba(56, 189, 248, 0.26), transparent 42%);
}

.city-card:hover img {
    transform: scale(1.06);
    filter: saturate(1.04) contrast(1.04);
}

.city-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 24px 70px rgba(15, 16, 20, 0.16);
}

.city-card-content {
    position: absolute;
    z-index: 2;
    left: 18px;
    right: 18px;
    bottom: 18px;
}

.city-card-title {
    margin-bottom: 5px;
    font-size: 21px;
}

.city-card-text {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
    line-height: 1.45;
}

.faq-list {
    display: grid;
    gap: 12px;
}

.faq-item {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.055);
}

.section-light .faq-item,
.section-white .faq-item {
    border-color: rgba(15, 16, 20, 0.08);
    background: var(--color-white);
    color: var(--color-text-dark);
    box-shadow: var(--shadow-card-light);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    width: 100%;
    border: 0;
    background: transparent;
    color: inherit;
    padding: 22px 24px;
    text-align: left;
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: 0;
}

.faq-question i {
    flex: 0 0 auto;
    color: var(--color-accent);
    font-size: 22px;
    transition: transform var(--transition);
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows var(--transition);
}

.faq-item.active .faq-answer {
    grid-template-rows: 1fr;
}

.faq-answer-inner {
    overflow: hidden;
}

.faq-answer-content {
    padding: 0 24px 22px;
    color: var(--color-text-muted);
    font-size: 15px;
    line-height: 1.7;
}

.section-light .faq-answer-content,
.section-white .faq-answer-content {
    color: var(--color-text-muted-dark);
}

.quiz-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-2xl);
    background:
        radial-gradient(circle at 10% 20%, rgba(56, 189, 248, 0.18), transparent 34%),
        var(--color-dark-2);
    color: var(--color-white);
    box-shadow: var(--shadow-card-dark);
    padding: 32px;
}

.section-light .quiz-card,
.section-white .quiz-card {
    border-color: rgba(15, 16, 20, 0.08);
    background:
        radial-gradient(circle at 10% 20%, rgba(56, 189, 248, 0.12), transparent 34%),
        var(--color-white);
    color: var(--color-text-dark);
    box-shadow: var(--shadow-card-light);
}

.quiz-top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 22px;
    align-items: start;
    margin-bottom: 24px;
}

.quiz-title {
    margin-bottom: 8px;
}

.quiz-text {
    margin: 0;
    color: var(--color-text-muted);
    font-size: 16px;
}

.section-light .quiz-text,
.section-white .quiz-text {
    color: var(--color-text-muted-dark);
}

.quiz-step-counter {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    border-radius: var(--radius-round);
    background: rgba(56, 189, 248, 0.12);
    color: var(--color-accent);
    padding: 8px 13px;
    font-size: 13px;
    font-weight: 850;
    white-space: nowrap;
}

.quiz-progress {
    overflow: hidden;
    height: 9px;
    border-radius: var(--radius-round);
    background: rgba(255, 255, 255, 0.1);
    margin-bottom: 28px;
}

.section-light .quiz-progress,
.section-white .quiz-progress {
    background: rgba(15, 16, 20, 0.1);
}

.quiz-progress-bar {
    width: 12.5%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--color-accent), var(--color-accent-2));
    transition: width var(--transition-slow);
}

.quiz-form {
    position: relative;
}

.quiz-step {
    display: none;
    animation: rb-slide-up 320ms var(--ease-emphasized) both;
}

.quiz-step.active {
    display: block;
}

.quiz-step-title {
    margin-bottom: 18px;
    font-size: 25px;
}

.quiz-options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.quiz-options.grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.quiz-option {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-height: 82px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.055);
    color: inherit;
    padding: 16px;
    text-align: left;
    transition:
        border-color var(--transition),
        background var(--transition),
        transform var(--transition);
}

.section-light .quiz-option,
.section-white .quiz-option {
    border-color: rgba(15, 16, 20, 0.1);
    background: var(--color-light);
}

.quiz-option:hover {
    transform: translateY(-2px);
    border-color: rgba(56, 189, 248, 0.46);
}

.quiz-option.selected {
    border-color: var(--color-accent);
    background: rgba(56, 189, 248, 0.13);
}

.quiz-option i {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
    border-radius: 11px;
    background: rgba(56, 189, 248, 0.12);
    color: var(--color-accent);
    font-size: 20px;
}

.quiz-option-content {
    display: grid;
    gap: 3px;
}

.quiz-option-title {
    font-size: 15px;
    font-weight: 850;
    line-height: 1.3;
}

.quiz-option-text {
    color: var(--color-text-muted);
    font-size: 12px;
    line-height: 1.35;
}

.section-light .quiz-option-text,
.section-white .quiz-option-text {
    color: var(--color-text-muted-dark);
}

.quiz-contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.quiz-contact-grid .full {
    grid-column: 1 / -1;
}

.quiz-nav {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 24px;
}

.quiz-nav .btn {
    min-width: 150px;
}

@keyframes rb-slide-up {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(360px, 0.6fr);
    gap: 30px;
    align-items: stretch;
}

.contact-card {
    border: 1px solid rgba(15, 16, 20, 0.08);
    border-radius: var(--radius-xl);
    background: var(--color-white);
    color: var(--color-text-dark);
    box-shadow: var(--shadow-card-light);
    padding: 28px;
}

.section-dark .contact-card,
.section-dark-2 .contact-card {
    border-color: rgba(15, 16, 20, 0.08);
    background: var(--color-white);
    color: var(--color-text-dark);
    box-shadow: var(--shadow-card-light);
}

.contact-list {
    display: grid;
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.contact-item {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 13px;
    align-items: start;
}

.contact-item i {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: rgba(56, 189, 248, 0.12);
    color: var(--color-accent);
    font-size: 23px;
}

.contact-item span {
    display: block;
    color: var(--color-text-muted-dark);
    font-size: 13px;
    font-weight: 750;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.section-dark .contact-item span,
.section-dark-2 .contact-item span {
    color: var(--color-text-muted-dark);
}

.contact-item strong,
.contact-item a {
    display: block;
    margin-top: 4px;
    font-size: 17px;
    font-weight: 850;
    line-height: 1.35;
}

.contact-item a:hover {
    color: var(--color-accent);
}

.map-box {
    overflow: hidden;
    min-height: 420px;
    border: 1px solid rgba(15, 16, 20, 0.08);
    border-radius: var(--radius-xl);
    background: var(--color-light-2);
    box-shadow: var(--shadow-card-light);
}

.map-box iframe {
    width: 100%;
    height: 100%;
    min-height: 420px;
    border: 0;
}

.map-placeholder {
    display: grid;
    place-items: center;
    min-height: 420px;
    padding: 30px;
    text-align: center;
    color: var(--color-text-muted-dark);
}

.map-placeholder i {
    margin: 0 auto 12px;
    color: var(--color-accent);
    font-size: 44px;
}

.map-placeholder strong {
    display: block;
    margin-bottom: 8px;
    color: var(--color-text-dark);
    font-family: var(--font-heading);
    font-size: 24px;
}

.site-footer {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(180deg, #07355f 0%, #041b33 100%);
    color: var(--color-text);
    padding: 72px 0 0;
}

.site-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 14% 0%, rgba(56, 189, 248, 0.2), transparent 30%),
        repeating-linear-gradient(115deg, transparent 0 30px, rgba(255, 255, 255, 0.035) 31px 32px);
}

.site-footer > * {
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(260px, 1.2fr) minmax(170px, 0.7fr) minmax(150px, 0.55fr) minmax(260px, 0.85fr);
    gap: 34px;
    padding-bottom: 42px;
}

.footer-about {
    max-width: 360px;
}

.footer-logo {
    margin-bottom: 18px;
}

.footer-text {
    margin-bottom: 22px;
    color: var(--color-text-muted);
    font-size: 14px;
    line-height: 1.7;
}

.footer-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.footer-social {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.07);
    color: var(--color-white);
    font-size: 21px;
    transition:
        transform var(--transition),
        background var(--transition),
        color var(--transition),
        box-shadow var(--transition);
}

.footer-social:hover {
    transform: translateY(-2px);
}

.footer-social.telegram:hover {
    background: var(--color-telegram);
}

.footer-social.whatsapp:hover {
    background: var(--color-whatsapp);
}

.footer-social.viber:hover {
    background: var(--color-viber);
}

.footer-social.instagram,
.footer-social.instagram:hover,
.fc-instagram {
    background: radial-gradient(circle at 30% 107%, #fdf497 0 5%, #fdf497 5% 11%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
    color: var(--color-white) !important;
    box-shadow: 0 12px 28px rgba(214, 36, 159, 0.24);
}

.footer-social.email:hover {
    background: var(--color-accent-2);
    color: var(--color-dark);
}

.footer-title {
    margin-bottom: 16px;
    color: var(--color-white);
    font-size: 16px;
    font-weight: 900;
    letter-spacing: 0;
}

.footer-links {
    display: grid;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-links a {
    color: var(--color-text-muted);
    font-size: 14px;
    line-height: 1.35;
}

.footer-links a:hover,
.footer-links a.active {
    color: var(--color-accent-2);
}

.footer-contact-list {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-contact-list li {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 9px;
    color: var(--color-text-muted);
    font-size: 14px;
    line-height: 1.45;
}

.footer-contact-list i {
    color: var(--color-accent);
    font-size: 19px;
    line-height: 1.3;
}

.footer-contact-list a:hover {
    color: var(--color-accent-2);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 18px 0;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    color: var(--color-text-muted);
    font-size: 13px;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

.footer-bottom-links a:hover {
    color: var(--color-accent-2);
}

.floating-contacts {
    position: fixed;
    right: 0;
    top: 50%;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 2px;
    transform: translateY(-50%);
}

.floating-contacts a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 52px;
    height: 52px;
    overflow: hidden;
    border-radius: 8px 0 0 8px;
    color: var(--color-white);
    padding-left: 15px;
    text-decoration: none;
    box-shadow: -2px 2px 8px rgba(0, 0, 0, 0.3);
    transition:
        width 0.3s ease,
        padding 0.3s ease,
        transform 0.3s ease;
}

.floating-contacts a:hover {
    width: 168px;
    padding-right: 12px;
    transform: translateX(0);
}

.floating-contacts i {
    flex: 0 0 auto;
    font-size: 22px;
}

.fc-phone {
    background: var(--color-accent);
}

.fc-whatsapp {
    background: var(--color-whatsapp);
}

.fc-telegram {
    background: var(--color-telegram);
}

.fc-viber {
    background: var(--color-viber);
}

.fc-email {
    background: var(--color-accent-2);
    color: var(--color-dark) !important;
}

.fc-tooltip {
    display: none;
    margin-left: 10px;
    white-space: nowrap;
    font-size: 13px;
    font-weight: 800;
}

.floating-contacts a:hover .fc-tooltip {
    display: block;
}

.mobile-bottom-bar {
    position: fixed;
    left: 0;
    bottom: 0;
    z-index: 9999;
    display: none;
    width: 100%;
    height: calc(var(--mobile-bar-height) + var(--safe-bottom));
    border-top: 1px solid rgba(7, 48, 86, 0.12);
    background: var(--color-white);
    box-shadow: 0 -12px 34px rgba(7, 48, 86, 0.12);
    padding-bottom: var(--safe-bottom);
}

.mobile-bottom-bar a,
.mobile-bottom-bar button {
    display: flex;
    flex: 1 1 25%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    border: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.09);
    color: var(--color-white);
    padding: 5px;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.1;
    text-align: center;
}

.mobile-bottom-bar a:last-child,
.mobile-bottom-bar button:last-child {
    border-right: 0;
}

.mobile-bottom-bar i {
    font-size: 20px;
}

.mobile-bottom-phone {
    background: var(--color-accent);
}

.mobile-bottom-wa {
    background: var(--color-whatsapp);
}

.mobile-bottom-tg {
    background: var(--color-telegram);
}

.mobile-bottom-form {
    background: var(--color-accent-h);
}

.modal {
    position: fixed;
    inset: 0;
    z-index: 20000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 22px;
}

.modal.active {
    display: flex;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.68);
    backdrop-filter: blur(10px);
}

.modal-dialog {
    position: relative;
    width: min(100%, 520px);
    max-height: calc(100vh - 44px);
    overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: var(--radius-xl);
    background: var(--color-dark-2);
    color: var(--color-white);
    box-shadow: var(--shadow-modal);
    padding: 28px;
    animation: rb-modal-in 280ms var(--ease-emphasized) both;
}

@keyframes rb-modal-in {
    from {
        opacity: 0;
        transform: translateY(16px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-close {
    position: absolute;
    right: 16px;
    top: 16px;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--color-white);
    font-size: 22px;
}

.modal-close:hover {
    background: rgba(56, 189, 248, 0.16);
    color: var(--color-accent-2);
}

.modal-title {
    max-width: calc(100% - 44px);
    margin-bottom: 8px;
    font-size: 28px;
}

.modal-text {
    margin-bottom: 20px;
    color: var(--color-text-muted);
    font-size: 15px;
    line-height: 1.6;
}

.page-404 {
    background: var(--color-dark);
    color: var(--color-white);
}

.section-404 {
    position: relative;
    overflow: hidden;
    min-height: calc(100vh - var(--header-height));
    padding: 90px 0;
    background:
        radial-gradient(circle at 50% 20%, rgba(56, 189, 248, 0.22), transparent 34%),
        var(--color-dark);
}

.error-404-media,
.thank-hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.error-404-media::after,
.thank-hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(15, 16, 20, 0.96), rgba(15, 16, 20, 0.78)),
        linear-gradient(180deg, rgba(15, 16, 20, 0.46), rgba(15, 16, 20, 0.96));
}

.error-404-media picture,
.error-404-media .generated-picture,
.error-404-media img,
.thank-hero-media picture,
.thank-hero-media .generated-picture,
.thank-hero-media img {
    width: 100%;
    height: 100%;
}

.error-404-media img,
.thank-hero-media img {
    object-fit: cover;
    opacity: 0.45;
    filter: saturate(0.92) contrast(1.08);
}

.section-404 .container,
.thank-hero .container {
    position: relative;
    z-index: 1;
}

.error-404-wrap {
    position: relative;
    max-width: 960px;
    margin: 0 auto;
    text-align: center;
}

.error-404-number {
    position: absolute;
    left: 50%;
    top: -56px;
    z-index: 0;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.045);
    font-family: var(--font-heading);
    font-size: 260px;
    font-weight: 900;
    line-height: 0.85;
    letter-spacing: 0;
    pointer-events: none;
    animation: rb-fade-in 800ms var(--ease-emphasized) both;
}

.error-404-icon {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 94px;
    height: 94px;
    margin: 0 auto 24px;
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: 28px;
    background: rgba(56, 189, 248, 0.12);
    color: var(--color-accent-2);
    font-size: 48px;
    animation: rb-slide-up 0.45s ease both;
}

.error-404-title {
    position: relative;
    z-index: 1;
    margin-bottom: 16px;
    animation: rb-slide-up 520ms var(--ease-emphasized) 80ms both;
}

.error-404-subtitle {
    position: relative;
    z-index: 1;
    max-width: 680px;
    margin: 0 auto 28px;
    color: var(--color-text-muted);
    font-size: 20px;
    line-height: 1.65;
    animation: rb-slide-up 520ms var(--ease-emphasized) 140ms both;
}

.error-404-actions {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 36px;
    animation: rb-slide-up 520ms var(--ease-emphasized) 200ms both;
}

.error-404-popular {
    position: relative;
    z-index: 1;
    max-width: 780px;
    margin: 0 auto 28px;
    animation: rb-slide-up 520ms var(--ease-emphasized) 260ms both;
}

.error-404-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 9px;
}

.error-404-links a {
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-round);
    background: rgba(255, 255, 255, 0.065);
    color: rgba(255, 255, 255, 0.86);
    padding: 9px 13px;
    font-size: 13px;
    font-weight: 800;
}

.error-404-links a:hover {
    border-color: rgba(56, 189, 248, 0.55);
    background: rgba(56, 189, 248, 0.12);
    color: var(--color-white);
}

.error-404-form {
    position: relative;
    z-index: 1;
    max-width: 680px;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.06);
    padding: 24px;
    text-align: left;
    animation: rb-slide-up 520ms var(--ease-emphasized) 320ms both;
}

.error-404-form > p {
    margin-bottom: 14px;
    color: var(--color-white);
    font-weight: 800;
}

@keyframes rb-fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.thank-hero {
    position: relative;
    overflow: hidden;
    min-height: 620px;
    display: grid;
    align-items: center;
    background:
        radial-gradient(circle at 50% 20%, rgba(34, 197, 94, 0.22), transparent 30%),
        var(--color-dark);
    color: var(--color-white);
    padding: 100px 0;
}

.thank-card {
    max-width: 760px;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-2xl);
    background: rgba(255, 255, 255, 0.07);
    box-shadow: var(--shadow-card-dark);
    padding: 44px;
    text-align: center;
    backdrop-filter: blur(16px);
}

.thank-icon {
    display: grid;
    place-items: center;
    width: 84px;
    height: 84px;
    margin: 0 auto 22px;
    border-radius: 26px;
    background: rgba(34, 197, 94, 0.13);
    color: var(--color-success);
    font-size: 46px;
}

.thank-card h1 {
    margin-bottom: 16px;
}

.thank-card p {
    margin: 0 auto 26px;
    max-width: 620px;
    color: var(--color-text-muted);
    font-size: 18px;
}

.thank-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.next-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 34px;
    text-align: left;
}

.next-step {
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.06);
    padding: 18px;
}

.next-step span {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    margin-bottom: 12px;
    border-radius: 11px;
    background: var(--color-accent);
    color: var(--color-white);
    font-weight: 900;
}

.next-step strong {
    display: block;
    margin-bottom: 4px;
    color: var(--color-white);
}

.next-step small {
    color: var(--color-text-muted);
    line-height: 1.45;
}

.privacy-page {
    background: var(--color-light);
    color: var(--color-text-dark);
}

.privacy-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.76fr) minmax(260px, 0.24fr);
    gap: 34px;
    align-items: start;
}

.privacy-content {
    border-radius: var(--radius-xl);
    background: var(--color-white);
    box-shadow: var(--shadow-card-light);
    padding: 38px;
}

.privacy-content h1 {
    font-size: 54px;
}

.privacy-content h2 {
    margin-top: 34px;
    font-size: 34px;
}

.privacy-content h3 {
    margin-top: 26px;
    font-size: 22px;
}

.privacy-content p,
.privacy-content li {
    color: var(--color-text-muted-dark);
}

.privacy-content a {
    color: var(--color-accent);
    font-weight: 750;
}

.privacy-content ul,
.privacy-content ol {
    padding-left: 22px;
}

.privacy-sidebar {
    position: sticky;
    top: calc(var(--header-height) + 22px);
    border-radius: var(--radius-xl);
    background: var(--color-white);
    box-shadow: var(--shadow-card-light);
    padding: 22px;
}

.privacy-sidebar-title {
    margin-bottom: 14px;
    font-size: 18px;
}

.privacy-sidebar ul {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.privacy-sidebar a {
    color: var(--color-text-muted-dark);
    font-size: 14px;
    font-weight: 750;
}

.privacy-sidebar a:hover {
    color: var(--color-accent);
}

.service-hero-points {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 28px;
}

.service-hero-point {
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.065);
    padding: 16px;
}

.service-hero-point i {
    margin-bottom: 8px;
    color: var(--color-accent-2);
    font-size: 24px;
}

.service-hero-point strong {
    display: block;
    color: var(--color-white);
    font-size: 15px;
    line-height: 1.35;
}

.included-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.included-item {
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    border: 1px solid rgba(15, 16, 20, 0.08);
    border-radius: var(--radius-lg);
    background: var(--color-white);
    box-shadow: var(--shadow-card-light);
    padding: 22px;
}

.section-dark .included-item,
.section-dark-2 .included-item {
    border-color: rgba(15, 16, 20, 0.08);
    background: var(--color-white);
    color: var(--color-text-dark);
    box-shadow: var(--shadow-card-light);
}

.included-item i {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    border-radius: 15px;
    background: rgba(56, 189, 248, 0.12);
    color: var(--color-accent);
    font-size: 25px;
}

.included-item h3 {
    margin-bottom: 7px;
    font-size: 20px;
}

.included-item p {
    margin: 0;
    color: var(--color-text-muted-dark);
    font-size: 14px;
    line-height: 1.6;
}

.section-dark .included-item p,
.section-dark-2 .included-item p {
    color: var(--color-text-muted-dark);
}

.related-services {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.related-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    border: 1px solid rgba(15, 16, 20, 0.08);
    border-radius: var(--radius-lg);
    background: var(--color-white);
    color: var(--color-text-dark);
    box-shadow: var(--shadow-card-light);
    padding: 22px;
    transition:
        transform var(--transition-slow),
        border-color var(--transition),
        box-shadow var(--transition);
}

.section-dark .related-card,
.section-dark-2 .related-card {
    border-color: rgba(15, 16, 20, 0.08);
    background: var(--color-white);
    color: var(--color-text-dark);
    box-shadow: var(--shadow-card-light);
}

.related-card:hover {
    transform: translateY(-5px);
    border-color: rgba(56, 189, 248, 0.46);
    box-shadow: 0 24px 70px rgba(15, 16, 20, 0.12);
}

.related-card i {
    margin-bottom: 14px;
    color: var(--color-accent);
    font-size: 28px;
}

.related-card h3 {
    margin-bottom: 9px;
    font-size: 20px;
}

.related-card p {
    flex: 1 1 auto;
    margin-bottom: 16px;
    color: var(--color-text-muted-dark);
    font-size: 14px;
    line-height: 1.55;
}

.section-dark .related-card p,
.section-dark-2 .related-card p {
    color: var(--color-text-muted-dark);
}

.city-intro-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.7fr) minmax(320px, 0.4fr);
    gap: 34px;
    align-items: start;
}

.city-intro-text {
    color: var(--color-text-muted-dark);
    font-size: 17px;
    line-height: 1.78;
}

.city-aside-card {
    border-radius: var(--radius-xl);
    background: var(--color-white);
    box-shadow: var(--shadow-card-light);
    padding: 26px;
}

.city-aside-list {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.city-aside-list li {
    display: flex;
    gap: 10px;
    color: var(--color-text-muted-dark);
    font-size: 14px;
    line-height: 1.55;
}

.city-aside-list li::before {
    content: "✓";
    color: var(--color-success);
    font-weight: 900;
}

.blog-grid {
    align-items: stretch;
}

.blog-card {
    display: flex;
    flex-direction: column;
}

.blog-card .case-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
}

.blog-card .case-text {
    flex: 1 1 auto;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
    color: var(--color-text-muted-dark);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.3;
}

.article-meta span,
.article-meta time {
    border-radius: var(--radius-round);
    background: rgba(11, 116, 222, 0.08);
    padding: 6px 9px;
}

.article-meta-light {
    color: rgba(255, 255, 255, 0.86);
}

.article-meta-light span,
.article-meta-light time {
    background: rgba(255, 255, 255, 0.13);
}

.article-hero {
    position: relative;
    overflow: hidden;
    min-height: 620px;
    color: var(--color-white);
}

.article-hero-media,
.article-hero-media picture,
.article-hero-media .generated-picture,
.article-hero-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.article-hero-media img {
    object-fit: cover;
    filter: saturate(1.05) contrast(1.05);
}

.article-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(4, 27, 51, 0.9) 0%, rgba(4, 27, 51, 0.68) 48%, rgba(4, 27, 51, 0.18) 100%),
        linear-gradient(180deg, rgba(11, 116, 222, 0.12), rgba(4, 27, 51, 0.72));
}

.article-hero-inner {
    position: relative;
    display: flex;
    min-height: 620px;
    flex-direction: column;
    justify-content: center;
    max-width: 900px;
    padding: 96px 0;
    z-index: 2;
}

.article-title {
    max-width: 920px;
    font-size: 62px;
}

.article-lead {
    max-width: 760px;
    color: rgba(232, 244, 255, 0.9);
    font-size: 20px;
    line-height: 1.72;
}

.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.72fr) minmax(300px, 0.34fr);
    gap: 42px;
    align-items: start;
}

.article-content {
    display: grid;
    gap: 34px;
}

.article-block {
    border-bottom: 1px solid rgba(7, 48, 86, 0.1);
    padding-bottom: 28px;
}

.article-block h2 {
    color: var(--color-text-dark);
    font-size: 34px;
}

.article-block p,
.article-block li {
    color: var(--color-text-muted-dark);
    font-size: 18px;
    line-height: 1.82;
}

.article-takeaways {
    border: 0;
    border-radius: var(--radius-xl);
    background: var(--color-light);
    padding: 28px;
}

.article-takeaways ul,
.article-related {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.article-takeaways li {
    display: flex;
    gap: 10px;
}

.article-takeaways li::before {
    content: "✓";
    color: var(--color-accent);
    font-weight: 900;
}

.article-aside {
    position: sticky;
    top: calc(var(--header-height) + 24px);
    display: grid;
    gap: 18px;
}

.article-aside-card {
    border: 1px solid rgba(7, 48, 86, 0.1);
    border-radius: var(--radius-xl);
    background: var(--color-white);
    box-shadow: var(--shadow-card-light);
    padding: 24px;
}

.article-aside-card h2 {
    margin-bottom: 10px;
    font-size: 22px;
}

.article-aside-card p,
.article-related a {
    color: var(--color-text-muted-dark);
    font-size: 15px;
    line-height: 1.65;
}

.article-related a:hover {
    color: var(--color-accent);
}

.cookie-consent {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 30000;
    display: none;
    width: min(430px, calc(100vw - 32px));
    border: 1px solid rgba(7, 48, 86, 0.12);
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.96);
    color: var(--color-text-dark);
    box-shadow: 0 26px 80px rgba(7, 48, 86, 0.18);
    padding: 20px;
    backdrop-filter: blur(18px);
}

.cookie-consent.visible {
    display: block;
}

.cookie-title {
    margin-bottom: 7px;
    font-size: 18px;
}

.cookie-text {
    margin-bottom: 16px;
    color: var(--color-text-muted-dark);
    font-size: 13px;
    line-height: 1.55;
}

.cookie-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* .reveal класс — только мягкая анимация transform при добавлении .visible.
   Контент всегда виден (opacity не трогаем) — защита от race condition с IntersectionObserver. */
.reveal {
    transition:
        transform var(--transition-slow);
    transition-delay: var(--reveal-delay, 0ms);
}

.js-reveal-ready .reveal:not(.visible) {
    transform: translate3d(0, 16px, 0);
}

.js-reveal-ready .reveal.visible {
    transform: translate3d(0, 0, 0);
}

.animate-delay-1 {
    transition-delay: 0.08s;
}

.animate-delay-2 {
    transition-delay: 0.16s;
}

.animate-delay-3 {
    transition-delay: 0.24s;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}

@media (hover: none) {
    .btn:hover,
    .card:hover,
    .service-card:not(.card):hover,
    .object-card:hover,
    .price-card:hover,
    .case-card:hover,
    .equipment-card:hover,
    .doc-card:hover,
    .city-card:hover,
    .related-card:hover,
    .quiz-option:hover,
    .footer-social:hover {
        transform: none;
    }

    .service-card:hover .service-card-media img,
    .object-card:hover .object-card-image img,
    .case-card:hover .case-image img,
    .equipment-card:hover .equipment-image img,
    .city-card:hover img {
        transform: none;
        filter: none;
    }
}

@media (max-width: 1180px) {
    .header-nav {
        gap: 0;
    }

    .nav-link,
    .nav-trigger {
        padding-right: 10px;
        padding-left: 10px;
        font-size: 13px;
    }

    .header-actions .btn {
        display: none;
    }

    .hero-inner {
        grid-template-columns: minmax(0, 1fr) minmax(320px, 0.54fr);
        gap: 34px;
    }

    .hero-badges {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .article-layout {
        grid-template-columns: 1fr;
    }

    .article-aside {
        position: static;
    }

    .card-grid.grid-5 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .city-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .equipment-grid,
    .docs-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .footer-grid {
        grid-template-columns: minmax(260px, 1fr) minmax(180px, 0.7fr) minmax(180px, 0.7fr);
    }

    .footer-column-contact {
        grid-column: 1 / -1;
    }
}

@media (max-width: 1024px) {
    :root {
        --header-height: 76px;
    }

    h1 {
        font-size: 56px;
    }

    h2 {
        font-size: 42px;
    }

    h3 {
        font-size: 25px;
    }

    .lead {
        font-size: 18px;
    }

    .stat-number {
        font-size: 40px;
    }

    .privacy-content h1 {
        font-size: 46px;
    }

    .privacy-content h2 {
        font-size: 32px;
    }

    .container,
    .container-wide {
        width: min(100% - 32px, var(--container));
    }

    /* .section / .section-compact — управляются глобальным clamp() */

    .section-head {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-bottom: 36px;
    }

    .header-nav,
    .header-phone,
    .header-actions > .btn {
        display: none;
    }

    .burger {
        display: block;
    }

    .header-actions {
        gap: 8px;
    }

    .hero-inner,
    .hero.hero-small .hero-inner {
        grid-template-columns: 1fr;
        min-height: auto;
        padding: 72px 0;
    }

    .hero {
        min-height: auto;
    }

    .hero-form-card {
        max-width: 620px;
    }

    .hero-badges {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .stats-strip,
    .card-grid.grid-4,
    .price-grid,
    .case-grid,
    .steps-grid,
    .related-services {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .card-grid,
    .equipment-grid,
    .docs-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cta-band-inner,
    .contact-layout,
    .city-intro-layout,
    .privacy-layout,
    .decision-layout {
        grid-template-columns: 1fr;
    }

    .privacy-sidebar {
        position: static;
    }

    .quiz-options {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .city-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .documents-visual {
        height: 300px;
    }

    .floating-contacts {
        display: none;
    }
}

@media (max-width: 768px) {
    body {
        padding-bottom: calc(var(--mobile-bar-height) + var(--safe-bottom));
    }

    .container,
    .container-wide {
        width: min(100% - 28px, var(--container));
    }

    .desktop-only {
        display: none !important;
    }

    .mobile-only {
        display: block;
    }

    .site-header.scrolled {
        height: 70px;
    }

    .logo-mark {
        width: 40px;
        height: 40px;
        border-radius: 11px;
        font-size: 18px;
    }

    .logo-name {
        font-size: 17px;
    }

    .logo-descriptor {
        font-size: 10px;
    }

    /* .section / .section-compact — управляются глобальным clamp() */

    .section-text,
    .lead,
    .hero-subtitle,
    .cta-text {
        font-size: 16px;
    }

    h1 {
        font-size: 42px;
        line-height: 1.08;
    }

    .article-title {
        font-size: 40px;
    }

    .article-hero,
    .article-hero-inner {
        min-height: 540px;
    }

    .article-block h2 {
        font-size: 28px;
    }

    .article-block p,
    .article-block li {
        font-size: 16px;
    }

    .cookie-consent {
        right: 14px;
        bottom: calc(var(--mobile-bar-height) + var(--safe-bottom) + 14px);
    }

    h2 {
        font-size: 34px;
    }

    h3 {
        font-size: 23px;
    }

    .stat-number {
        font-size: 36px;
    }

    .privacy-content h1 {
        font-size: 38px;
    }

    .privacy-content h2 {
        font-size: 29px;
    }

    .hero-inner,
    .hero.hero-small .hero-inner {
        padding: 54px 0;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-overlay {
        background:
            radial-gradient(circle at 20% 12%, rgba(56, 189, 248, 0.22), transparent 34%),
            linear-gradient(180deg, rgba(15, 16, 20, 0.88), rgba(15, 16, 20, 0.94));
    }

    .hero-actions,
    .cta-actions,
    .thank-actions,
    .error-404-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions .btn,
    .cta-actions .btn,
    .thank-actions .btn,
    .error-404-actions .btn {
        width: 100%;
    }

    .hero-badges,
    .service-hero-points {
        grid-template-columns: 1fr;
    }

    .hero-badge {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .hero-badge i {
        margin-bottom: 0;
    }

    .hero-form-card,
    .form-card,
    .quiz-card,
    .cta-band,
    .thank-card,
    .privacy-content,
    .contact-card {
        border-radius: 20px;
        padding: 22px;
    }

    .form-input,
    .form-select,
    .form-textarea {
        min-height: 54px;
        font-size: 16px;
    }

    .form-row,
    .quiz-contact-grid,
    .quiz-options,
    .quiz-options.grid-2,
    .included-list,
    .stats-strip,
    .card-grid,
    .card-grid.grid-2,
    .card-grid.grid-4,
    .card-grid.grid-5,
    .price-grid,
    .case-grid,
    .equipment-grid,
    .docs-grid,
    .steps-grid,
    .related-services,
    .city-grid,
    .next-steps,
    .decision-grid {
        grid-template-columns: 1fr;
    }

    .service-card-media {
        aspect-ratio: 16 / 10;
    }

    .documents-visual {
        height: 220px;
    }

    .form-inline-row {
        grid-template-columns: 1fr;
    }

    .quiz-top {
        grid-template-columns: 1fr;
    }

    .quiz-step-counter {
        justify-self: start;
    }

    .quiz-nav {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .quiz-nav .btn {
        min-width: 0;
        width: 100%;
    }

    .contact-layout {
        gap: 20px;
    }

    .map-box,
    .map-box iframe,
    .map-placeholder {
        min-height: 340px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .mobile-bottom-bar {
        display: flex;
    }

    .modal {
        padding: 14px;
    }

    .modal-dialog {
        max-height: calc(100vh - 28px);
        padding: 22px;
        border-radius: 20px;
    }

    .section-404 {
        min-height: auto;
        padding: 64px 0;
    }

    .error-404-number {
        top: -28px;
        font-size: 170px;
    }

    .error-404-icon {
        width: 76px;
        height: 76px;
        border-radius: 22px;
        font-size: 40px;
    }
}

@media (max-width: 560px) {
    h1 {
        font-size: 36px;
    }

    h2 {
        font-size: 30px;
    }

    h3 {
        font-size: 22px;
    }

    .lead {
        font-size: 17px;
    }

    .privacy-content h1 {
        font-size: 34px;
    }

    .privacy-content h2 {
        font-size: 27px;
    }

    .container,
    .container-wide {
        width: min(100% - 24px, var(--container));
    }

    .btn {
        width: 100%;
        min-height: 52px;
        padding-right: 18px;
        padding-left: 18px;
        white-space: normal;
    }

    .header-inner {
        gap: 10px;
    }

    .logo-text {
        max-width: 164px;
    }

    .logo-descriptor {
        display: none;
    }

    .breadcrumbs {
        font-size: 12px;
    }

    .hero-kicker {
        align-items: flex-start;
        border-radius: 14px;
        font-size: 11px;
        line-height: 1.4;
    }

    .hero-phone-card {
        width: 100%;
    }

    .hero-phone-card strong {
        font-size: 17px;
    }

    .section-head {
        margin-bottom: 28px;
    }

    .card,
    .price-card,
    .case-body,
    .equipment-body,
    .included-item,
    .related-card,
    .city-aside-card {
        padding: 20px;
    }

    .included-item {
        grid-template-columns: 1fr;
    }

    .included-item i {
        width: 46px;
        height: 46px;
    }

    .faq-question {
        padding: 18px;
        font-size: 16px;
    }

    .faq-answer-content {
        padding: 0 18px 18px;
    }

    .quiz-card {
        padding: 18px;
    }

    .quiz-option {
        min-height: auto;
        padding: 14px;
    }

    .quiz-nav {
        grid-template-columns: 1fr;
    }

    .price-title {
        padding-right: 0;
    }

    .price-card-featured::before {
        position: static;
        display: inline-flex;
        margin-bottom: 14px;
    }

    .price-value {
        font-size: 36px;
    }

    .cta-band {
        padding: 22px;
    }

    .footer-bottom-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .mobile-bottom-bar a,
    .mobile-bottom-bar button {
        font-size: 10px;
    }

    .mobile-bottom-bar i {
        font-size: 19px;
    }

    .error-404-form {
        padding: 18px;
    }

    .error-404-links {
        justify-content: flex-start;
    }

    .thank-card {
        padding: 24px 18px;
    }

    .privacy-content {
        padding: 24px 18px;
    }
}

@media (max-width: 380px) {
    h1 {
        font-size: 32px;
    }

    h2 {
        font-size: 27px;
    }

    .error-404-number {
        font-size: 130px;
    }

    .logo-name {
        font-size: 16px;
    }

    .logo-mark {
        width: 38px;
        height: 38px;
    }

    .burger {
        width: 42px;
        height: 42px;
    }

    .burger span {
        left: 11px;
    }

    .hero-badge span {
        font-size: 12px;
    }

    .mobile-bottom-bar a,
    .mobile-bottom-bar button {
        gap: 1px;
        font-size: 9px;
    }
}

/* =================================================================
 * v2 — MARINE DESIGN MODULE
 * Стили для template-based страниц yachtminsk.by:
 * page-hero, contacts, locations, routes, about, fleet, article.
 * Морская палитра, fluid typography, premium hover states.
 * ================================================================= */

/* --- Fluid typography для заголовков ----------------------------- */
.page-hero-title,
.section-title,
.cta-title,
.article-title,
.hero-title {
    font-family: var(--font-heading);
    letter-spacing: -0.02em;
}

/* --- PAGE HERO — единый паттерн hero для template-страниц -------- */
.page-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(96px, 14vw, 168px) 0 clamp(56px, 8vw, 96px);
    background:
        radial-gradient(60% 80% at 18% 20%, rgba(7, 91, 181, 0.18), transparent 60%),
        radial-gradient(50% 70% at 88% 30%, rgba(246, 195, 95, 0.10), transparent 65%),
        linear-gradient(160deg, var(--color-dark) 0%, var(--color-dark-2) 60%, var(--color-dark-3) 100%);
    color: var(--color-text);
    isolation: isolate;
}

.page-hero::before {
    content: '';
    position: absolute;
    right: -10%;
    bottom: -50%;
    width: 80%;
    height: 100%;
    background: radial-gradient(closest-side, rgba(7, 91, 181, 0.12), transparent);
    filter: blur(40px);
    z-index: 0;
    pointer-events: none;
}

.page-hero .bg-grid {
    z-index: 0;
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero-inner {
    display: flex;
    flex-direction: column;
    gap: clamp(20px, 3vw, 32px);
    max-width: 880px;
}

.page-hero-title {
    margin: 0;
    font-size: clamp(36px, 6vw, 76px);
    font-weight: 800;
    line-height: 1.06;
    color: var(--color-white);
}

.page-hero-text {
    margin: 0;
    max-width: 720px;
    font-size: clamp(16px, 1.6vw, 19px);
    line-height: 1.7;
    color: var(--color-text-muted);
}

.page-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 4px;
}

.page-hero-meta {
    margin-top: 16px;
    color: var(--color-text-muted);
}

/* --- THANK-YOU и 404 — иконка успеха ----------------------------- */
.thank-you-icon,
.error-code-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 96px;
    height: 96px;
    margin: 0 auto 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-h));
    box-shadow: 0 18px 50px rgba(7, 91, 181, 0.32);
    color: var(--color-white);
    font-size: 56px;
}

/* --- CONTACTS GRID (страница /kontakty) -------------------------- */
.contacts-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(28px, 4vw, 48px);
    align-items: start;
}

.contacts-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contacts-info .section-title {
    margin: 0;
    font-size: clamp(28px, 3.2vw, 38px);
}

.contacts-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg);
    overflow: hidden;
    backdrop-filter: blur(8px);
}

.contacts-list li {
    display: grid;
    grid-template-columns: minmax(0, 0.55fr) minmax(0, 1fr);
    gap: 18px;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    align-items: center;
    transition: background-color var(--transition-fast);
}

.contacts-list li:last-child {
    border-bottom: 0;
}

.contacts-list li:hover {
    background: rgba(7, 91, 181, 0.05);
}

.contacts-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--color-text-muted);
    font-size: 14px;
    font-weight: 500;
}

.contacts-label i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: rgba(7, 91, 181, 0.14);
    color: var(--color-accent);
    font-size: 16px;
    flex-shrink: 0;
}

.contacts-value {
    color: var(--color-white);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    word-break: break-word;
    transition: color var(--transition-fast);
}

a.contacts-value:hover {
    color: var(--color-accent);
}

/* --- MAP BLOCK --------------------------------------------------- */
.contacts-map {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contacts-map iframe {
    display: block;
    width: 100%;
    border: 0;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card-dark);
}

.map-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* --- LOCATIONS GRID (3 базы) ------------------------------------- */
.locations-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.location-card {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 28px;
    background: linear-gradient(155deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: var(--radius-xl);
    transition:
        transform var(--transition),
        box-shadow var(--transition),
        border-color var(--transition);
    position: relative;
    overflow: hidden;
}

.section-light .location-card,
.section-white .location-card {
    background: var(--color-white);
    border-color: rgba(7, 91, 181, 0.18);
    box-shadow: 0 8px 28px rgba(6, 26, 53, 0.06);
}

.location-card::after {
    content: '';
    position: absolute;
    inset: auto -40% -60% auto;
    width: 60%;
    height: 100%;
    background: radial-gradient(closest-side, rgba(7, 91, 181, 0.18), transparent);
    opacity: 0;
    transition: opacity var(--transition);
    pointer-events: none;
}

.location-card:hover {
    transform: translateY(-4px);
    border-color: rgba(7, 91, 181, 0.36);
    box-shadow: 0 28px 56px rgba(6, 26, 53, 0.18);
}

.location-card:hover::after {
    opacity: 1;
}

.location-card-header {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.location-title {
    margin: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 22px;
    font-weight: 700;
    color: var(--color-white);
}

.section-light .location-title,
.section-white .location-title {
    color: var(--color-text-dark);
}

.location-address,
.location-transit {
    margin: 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 15px;
    line-height: 1.55;
    color: var(--color-text-muted);
}

.section-light .location-address,
.section-white .location-address,
.section-light .location-transit,
.section-white .location-transit {
    color: var(--color-text-muted-dark);
}

.location-address i,
.location-transit i {
    margin-top: 3px;
    color: var(--color-accent);
    flex-shrink: 0;
}

/* --- ROUTE CARDS (как добраться: электричка / машина / такси) ---- */
.route-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.route-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 32px 28px;
    background:
        linear-gradient(160deg, rgba(7, 91, 181, 0.05), rgba(7, 91, 181, 0) 60%),
        rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-xl);
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.route-card:hover {
    transform: translateY(-4px);
    border-color: rgba(7, 91, 181, 0.36);
    box-shadow: 0 24px 60px rgba(6, 26, 53, 0.30);
}

.route-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-h));
    color: var(--color-white);
    font-size: 32px;
    box-shadow: 0 12px 28px rgba(7, 91, 181, 0.32);
}

.route-title {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: var(--color-white);
}

.route-time {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--color-accent);
}

.route-steps {
    list-style: none;
    counter-reset: step;
    margin: 8px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.route-steps li {
    counter-increment: step;
    position: relative;
    padding-left: 36px;
    font-size: 15px;
    line-height: 1.6;
    color: var(--color-text-muted);
}

.route-steps li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(7, 91, 181, 0.16);
    color: var(--color-accent);
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}

.route-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    color: var(--color-accent);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: gap var(--transition-fast), color var(--transition-fast);
}

.route-link:hover {
    color: var(--color-accent-h);
    gap: 12px;
}

/* --- ABOUT — секция о капитане ----------------------------------- */
.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(28px, 4vw, 56px);
    align-items: center;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-content .section-title {
    margin: 0;
    font-size: clamp(28px, 3.4vw, 42px);
}

.about-content .section-text {
    color: var(--color-text-muted-dark);
}

.about-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.about-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 18px;
    background: rgba(7, 91, 181, 0.06);
    border: 1px solid rgba(7, 91, 181, 0.16);
    border-radius: var(--radius-md);
    font-size: 15px;
    line-height: 1.55;
    color: var(--color-text-dark);
    transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.section-dark .about-list li,
.section-dark-2 .about-list li {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.07);
    color: var(--color-text);
}

.about-list li:hover {
    transform: translateX(4px);
    background: rgba(7, 91, 181, 0.10);
}

.about-list li i {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: var(--color-accent);
    color: var(--color-white);
    font-size: 15px;
}

.about-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
}

.about-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.about-visual .generated-picture,
.about-visual .generated-picture-placeholder {
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 4 / 5;
    box-shadow: 0 30px 70px rgba(6, 26, 53, 0.28);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.stat-card {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 18px 16px;
    background: linear-gradient(160deg, rgba(7, 91, 181, 0.10), rgba(7, 91, 181, 0.02));
    border: 1px solid rgba(7, 91, 181, 0.20);
    border-radius: var(--radius-md);
    text-align: center;
    transition: transform var(--transition);
}

.stat-card:hover {
    transform: translateY(-3px);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 800;
    line-height: 1;
    color: var(--color-accent);
}

.stat-label {
    font-size: 12px;
    line-height: 1.35;
    color: var(--color-text-muted);
}

.section-light .stat-label,
.section-white .stat-label {
    color: var(--color-text-muted-dark);
}

/* --- FLEET PLACEHOLDER ------------------------------------------- */
.fleet-placeholder {
    padding: clamp(36px, 5vw, 56px);
    background:
        radial-gradient(60% 80% at 20% 0%, rgba(7, 91, 181, 0.12), transparent 60%),
        rgba(255, 255, 255, 0.02);
    border: 2px dashed rgba(7, 91, 181, 0.32);
    border-radius: var(--radius-xl);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.fleet-placeholder-text {
    margin: 0;
    max-width: 640px;
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text-muted);
}

/* --- CARD BADGE (бейдж "Главная" на картах локаций) ------------- */
.card-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-h));
    border-radius: var(--radius-round);
    color: var(--color-white);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.card-meta {
    margin: 0;
    font-size: 13px;
    color: var(--color-accent);
    font-weight: 600;
}

/* --- WAVE-DIVIDER (декоративные волны между секциями) ------------ */
.wave-divider {
    position: relative;
    height: 60px;
    overflow: hidden;
    line-height: 0;
}

.wave-divider svg {
    display: block;
    width: 100%;
    height: 100%;
}

/* --- УСИЛЕННЫЕ HOVER-СОСТОЯНИЯ для карточек ---------------------- */
.service-card,
.case-card,
.price-card {
    transition:
        transform var(--transition),
        box-shadow var(--transition),
        border-color var(--transition);
}

.service-card:hover,
.case-card:hover,
.price-card:hover {
    transform: translateY(-6px);
}

/* --- ARTICLE HERO — ограничение высоты, лучше mobile -------------- */
.article-hero {
    min-height: clamp(360px, 56vh, 560px);
}

.article-hero-inner {
    padding-top: clamp(80px, 12vw, 140px);
    padding-bottom: clamp(40px, 6vw, 64px);
}

/* --- PAGE-HERO MOBILE -------------------------------------------- */
@media (max-width: 1024px) {
    .contacts-grid {
        grid-template-columns: 1fr;
    }

    .locations-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .route-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .about-visual {
        max-width: 480px;
        margin: 0 auto;
    }

    .about-visual .generated-picture,
    .about-visual .generated-picture-placeholder {
        aspect-ratio: 16 / 11;
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: clamp(80px, 18vw, 120px) 0 clamp(40px, 8vw, 72px);
    }

    .page-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .page-hero-actions .btn {
        width: 100%;
    }

    .contacts-list li {
        grid-template-columns: 1fr;
        gap: 6px;
        padding: 14px 16px;
    }

    .contacts-label {
        font-size: 13px;
    }

    .contacts-value {
        font-size: 17px;
    }

    .locations-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .location-card {
        padding: 22px;
    }

    .route-card {
        padding: 26px 22px;
    }

    .route-icon {
        width: 56px;
        height: 56px;
        font-size: 28px;
        border-radius: 16px;
    }

    .route-title {
        font-size: 21px;
    }

    .about-list li {
        padding: 12px 14px;
        font-size: 14px;
    }

    .about-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .stat-card {
        padding: 14px 10px;
    }

    .stat-number {
        font-size: 22px;
    }

    .fleet-placeholder {
        padding: 28px 20px;
    }

    .article-hero {
        min-height: clamp(320px, 60vh, 460px);
    }

    .map-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .map-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 560px) {
    .page-hero-title {
        font-size: clamp(28px, 9vw, 38px);
    }

    .page-hero-text {
        font-size: 15px;
    }

    .contacts-list li {
        padding: 13px 14px;
    }

    .contacts-label i {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }

    .location-title {
        font-size: 19px;
    }

    .route-title {
        font-size: 19px;
    }

    .route-steps li {
        font-size: 14px;
        padding-left: 32px;
    }

    .about-stats {
        grid-template-columns: repeat(3, 1fr);
    }

    .stat-number {
        font-size: 20px;
    }

    .stat-label {
        font-size: 11px;
    }

    .thank-you-icon,
    .error-code-icon {
        width: 76px;
        height: 76px;
        font-size: 42px;
    }
}

/* --- STAGGER-REVEAL: секции на больших страницах оживают плавно --- */
.reveal {
    transition-timing-function: var(--ease-emphasized);
}

.section .reveal:nth-child(1) { transition-delay: 0ms; }
.section .reveal:nth-child(2) { transition-delay: 60ms; }
.section .reveal:nth-child(3) { transition-delay: 120ms; }
.section .reveal:nth-child(4) { transition-delay: 180ms; }
.section .reveal:nth-child(5) { transition-delay: 240ms; }

/* --- Smooth-scroll корректировка с учётом sticky-header ----------- */
:root {
    scroll-padding-top: calc(var(--header-height) + 12px);
}

[id] {
    scroll-margin-top: calc(var(--header-height) + 12px);
}

/* --- Form-hover для CTA-полей ------------------------------------ */
.form-input:hover,
.form-select:hover,
.form-textarea:hover {
    border-color: rgba(7, 91, 181, 0.4);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--color-accent);
    box-shadow: var(--focus-ring);
    outline: none;
}

/* --- Премиум tap-feedback на мобилах ------------------------------ */
@media (hover: none) {
    .service-card:active,
    .case-card:active,
    .location-card:active,
    .route-card:active,
    .price-card:active {
        transform: scale(0.985);
        transition-duration: 0.1s;
    }
}

/* =================================================================
 * v3 — PREMIUM POLISH: Cormorant display, Ken Burns, waves, Lenis
 * ================================================================= */

:root {
    /* Cormorant Garamond — только для italic-акцентов (один декоративный момент) */
    --font-display: "Cormorant Garamond", Georgia, serif;
}

/* --- Heritage display-typography для крупных заголовков ----------- */
.hero-title,
.page-hero-title,
.article-title {
    font-family: var(--font-heading);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.08;
}

/* Cormorant italic — единственный premium-акцент на главной */
.hero-title .accent-line {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 500;
    background: linear-gradient(135deg, var(--color-accent-2), #ffd97a);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

@supports not (background-clip: text) {
    .hero-title .accent-line { color: var(--color-accent-2); -webkit-text-fill-color: var(--color-accent-2); }
}

.section-title,
.cta-title {
    font-family: var(--font-heading);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

/* Body, кнопки, навигация остаются на Inter/Manrope для читаемости */

/* --- KEN BURNS на hero — медленный масштаб + дрейф фотографии ---- */
@media (prefers-reduced-motion: no-preference) {
    .hero-media .generated-picture img,
    .hero-media .generated-picture-placeholder,
    .article-hero-media .generated-picture img {
        animation: ymKenBurns 22s ease-in-out infinite alternate;
        will-change: transform;
    }
}

@keyframes ymKenBurns {
    0% {
        transform: scale(1.05) translate3d(0, 0, 0);
    }
    100% {
        transform: scale(1.14) translate3d(-1.5%, -1.2%, 0);
    }
}

/* --- Усиленный hero-overlay: больше глубины и атмосферы ----------- */
.hero-overlay {
    background:
        radial-gradient(60% 50% at 18% 18%, rgba(7, 91, 181, 0.16), transparent 65%),
        radial-gradient(40% 50% at 86% 78%, rgba(246, 195, 95, 0.10), transparent 62%),
        linear-gradient(180deg, rgba(6, 26, 53, 0.55) 0%, rgba(6, 26, 53, 0.78) 65%, rgba(6, 26, 53, 0.92) 100%);
}

/* --- WAVE-DIVIDER: SVG-волна для разделения секций (CSS-only) ---- */
.section-light + .section-dark::before,
.section-white + .section-dark::before,
.section-dark + .section-light::before,
.section-dark + .section-white::before,
.section-dark + .section-dark-2::before,
.section-dark-2 + .section-light::before,
.section-dark-2 + .section-white::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 38px;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    pointer-events: none;
    z-index: 1;
}

.section-light + .section-dark,
.section-white + .section-dark,
.section-dark + .section-light,
.section-dark + .section-white,
.section-dark + .section-dark-2,
.section-dark-2 + .section-light,
.section-dark-2 + .section-white {
    position: relative;
}

/* Волна "приходит" сверху из dark в light */
.section-dark + .section-light::before,
.section-dark + .section-white::before,
.section-dark-2 + .section-light::before,
.section-dark-2 + .section-white::before {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 38' preserveAspectRatio='none'><path fill='%23061a35' d='M0,0 C240,38 480,38 720,19 C960,0 1200,0 1440,19 L1440,0 L0,0 Z'/></svg>");
}

/* Волна "приходит" сверху из light в dark — инвертированная */
.section-light + .section-dark::before,
.section-white + .section-dark::before,
.section-dark + .section-dark-2::before {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 38' preserveAspectRatio='none'><path fill='%23f1f5f9' d='M0,0 C240,38 480,38 720,19 C960,0 1200,0 1440,19 L1440,0 L0,0 Z'/></svg>");
}

.section-dark + .section-dark-2::before {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 38' preserveAspectRatio='none'><path fill='%230a2547' d='M0,0 C240,38 480,38 720,19 C960,0 1200,0 1440,19 L1440,0 L0,0 Z'/></svg>");
}

/* --- LENIS — отключаем нативный smooth-scroll, чтобы не дублировался --- */
html.lenis-active {
    scroll-behavior: auto;
}

html.lenis-active body {
    overscroll-behavior: contain;
}

/* --- LIFT Hero — больше пространства, мягче градиент ------------- */
.hero-kicker {
    backdrop-filter: blur(8px);
    background: rgba(11, 116, 222, 0.12);
    border: 1px solid rgba(11, 116, 222, 0.32);
}

/* --- ПРЕМИУМ-КНОПКИ: блик при hover, чёткая тень ----------------- */
.btn-accent {
    position: relative;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(7, 91, 181, 0.32);
}

.btn-accent::after {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 80%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.32), transparent);
    transform: skewX(-20deg);
    transition: left 0.65s var(--ease-emphasized);
    pointer-events: none;
}

.btn-accent:hover::after {
    left: 130%;
}

.btn-accent:hover {
    box-shadow: 0 16px 36px rgba(7, 91, 181, 0.42);
    transform: translateY(-2px);
}

.btn-accent:active {
    transform: translateY(0);
}

/* --- HERO-FORM-CARD — усиленное "стекло" -------------------------- */
.hero-form-card {
    backdrop-filter: blur(14px);
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow:
        0 30px 70px rgba(6, 26, 53, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

/* --- Service-card-icon — мягкий glow вокруг ---------------------- */
.service-card-icon {
    box-shadow: 0 8px 24px rgba(7, 91, 181, 0.20);
    transition: box-shadow var(--transition), transform var(--transition);
}

.service-card:hover .service-card-icon {
    box-shadow: 0 14px 36px rgba(7, 91, 181, 0.42);
    transform: scale(1.05) rotate(-3deg);
}

/* --- CTA-band — премиум градиент --------------------------------- */
.cta-band {
    background:
        radial-gradient(70% 100% at 0% 0%, rgba(7, 91, 181, 0.18), transparent 60%),
        radial-gradient(60% 90% at 100% 100%, rgba(246, 195, 95, 0.10), transparent 65%),
        linear-gradient(160deg, var(--color-dark-2), var(--color-dark-3));
    border: 1px solid rgba(7, 91, 181, 0.18);
}

.cta-band.light {
    background:
        radial-gradient(70% 100% at 0% 0%, rgba(7, 91, 181, 0.12), transparent 60%),
        var(--color-white);
    border: 1px solid rgba(7, 91, 181, 0.18);
}

/* --- ARTICLE — мягкий drop-cap для лида --------------------------- */
.article-lead {
    font-family: var(--font-display);
    font-weight: 500;
    font-style: italic;
    font-size: clamp(20px, 2.2vw, 26px);
    line-height: 1.5;
    color: var(--color-light);
}

.article-block h2 {
    font-family: var(--font-heading);
    font-weight: 800;
    letter-spacing: -0.018em;
}

/* --- Footer полировка -------------------------------------------- */
.site-footer {
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 38px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 38' preserveAspectRatio='none'><path fill='%23061a35' d='M0,0 C240,38 480,38 720,19 C960,0 1200,0 1440,19 L1440,0 L0,0 Z'/></svg>");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    pointer-events: none;
}

/* --- HEADER — стеклянный sticky при скролле ----------------------- */
.site-header {
    transition: background-color var(--transition), box-shadow var(--transition), backdrop-filter var(--transition);
}

.site-header.scrolled {
    background: rgba(6, 26, 53, 0.85);
    backdrop-filter: blur(16px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
    border-bottom: 1px solid rgba(7, 91, 181, 0.12);
}

/* --- Floating contacts — премиум магнетический glow --------------- */
.floating-contacts a {
    transition:
        transform var(--transition),
        box-shadow var(--transition);
}

.floating-contacts a:hover {
    transform: translateY(-4px) scale(1.06);
    box-shadow: 0 18px 42px rgba(7, 91, 181, 0.42);
}

/* --- Lazy-картинки — лёгкое проявление при загрузке ------------- */
.generated-picture img {
    transition: opacity 0.45s var(--ease-emphasized), transform var(--transition);
}

/* --- Section padding harmonization, premium --------------------- */
/* --- Премиум "underline" на ссылках в текстах --------------------- */
.article-block p a,
.section-text a,
.faq-answer a {
    position: relative;
    color: var(--color-accent);
    text-decoration: none;
    background-image: linear-gradient(to right, var(--color-accent), var(--color-accent));
    background-size: 0 1px;
    background-position: 0 100%;
    background-repeat: no-repeat;
    transition: background-size 0.35s var(--ease-emphasized);
}

.article-block p a:hover,
.section-text a:hover,
.faq-answer a:hover {
    background-size: 100% 1px;
}

/* --- FAQ — мягкое раскрытие --------------------------------------- */
.faq-item {
    transition: background-color var(--transition), border-color var(--transition);
}

.faq-item[open] {
    background: rgba(7, 91, 181, 0.04);
    border-color: rgba(7, 91, 181, 0.22);
}

.faq-question {
    transition: color var(--transition-fast);
}

.faq-item[open] .faq-question {
    color: var(--color-accent);
}

/* --- Image fade-in helper --------------------------------------- */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* --- Tablet/mobile тюнинг для display-typography ------------------ */
@media (max-width: 768px) {
    .hero-title,
    .article-title {
        letter-spacing: -0.01em;
    }

    .article-lead {
        font-size: 18px;
        line-height: 1.55;
    }
}

/* --- Селекторы под Lenis: anchor-links должны корректно скроллиться --- */
html.lenis-active [data-lenis-prevent] {
    overflow: auto;
}


/* === TARIFF LIST (service-template блок цен) === */
.tariff-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
    margin: 28px 0 36px;
}

.tariff-card {
    display: grid;
    grid-template-columns: 56px 1fr;
    grid-template-rows: auto auto;
    column-gap: 14px;
    align-items: center;
    padding: 16px 18px;
    background: var(--color-accent-2);
    color: var(--color-text-dark);
    border-radius: var(--radius-round, 999px);
    box-shadow: 0 4px 14px rgba(11, 25, 51, 0.08);
}

.tariff-card-icon {
    grid-row: 1 / span 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    color: var(--color-accent);
    font-size: 26px;
}

.tariff-card-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text-dark);
    opacity: 0.78;
    line-height: 1.2;
}

.tariff-card-price {
    font-size: 20px;
    font-weight: 800;
    color: var(--color-text-dark);
    line-height: 1.1;
}

.tariff-card-price strong {
    font-size: 24px;
    margin-right: 2px;
}

.tariff-card-note {
    grid-column: 2;
    font-size: 13px;
    color: var(--color-text-dark);
    opacity: 0.7;
    line-height: 1.3;
}

@media (max-width: 640px) {
    .tariff-list {
        grid-template-columns: 1fr;
    }
    .tariff-card {
        border-radius: var(--radius-lg, 16px);
    }
}


/* === HERO MINIMAL — упрощённый под премиум-нишу === */
.hero-minimal {
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: clamp(80px, 12vh, 120px) 0 clamp(56px, 8vh, 80px);
    position: relative;
}

.hero-minimal .hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-minimal .hero-media img,
.hero-minimal .hero-media picture {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-minimal .hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg,
        rgba(4, 27, 51, 0.55) 0%,
        rgba(4, 27, 51, 0.75) 70%,
        rgba(4, 27, 51, 0.92) 100%);
}

.hero-minimal .hero-inner {
    position: relative;
    z-index: 2;
}

.hero-inner-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-inner-center .hero-content {
    max-width: 800px;
}

.hero-inner-center .hero-title {
    color: var(--color-white);
    font-size: clamp(2rem, 4.8vw, 3.6rem);
    line-height: 1.08;
    margin: 0 0 18px;
}

.hero-inner-center .hero-subtitle {
    color: var(--color-text);
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    line-height: 1.55;
    margin: 0 0 26px;
}

.hero-inner-center .hero-actions {
    justify-content: center;
    margin-top: 28px;
}

/* Социальное доказательство в hero */
.hero-rating {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    border: 1px solid rgba(246, 195, 95, 0.45);
    background: rgba(246, 195, 95, 0.12);
    border-radius: var(--radius-round);
    color: var(--color-white);
    font-size: 14px;
    backdrop-filter: blur(6px);
}

.hero-rating-stars {
    display: inline-flex;
    gap: 1px;
    color: var(--color-accent-2);
    font-size: 16px;
}

.hero-rating-text strong {
    font-weight: 800;
    margin-right: 2px;
}

/* Центрирование section-head под полностью простой блок */
.section-head-center {
    text-align: center;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.section-head-center .section-text {
    max-width: 640px;
}

/* CTA-полоска в конце секции тарифов */
.section-cta {
    display: flex;
    justify-content: center;
    margin-top: 32px;
}

@media (max-width: 720px) {
    .hero-minimal {
        min-height: 78vh;
        padding: 100px 0 60px;
    }
    .hero-rating {
        font-size: 13px;
    }
}


/* === HERO SERVICE — на страницах услуг ============================ */
.hero-service {
    min-height: 70vh;
    padding: 100px 0 60px;
}

.hero-service .hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: var(--radius-round);
    color: var(--color-white);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 18px;
}

.hero-service .hero-title {
    color: var(--color-white);
    font-size: clamp(1.8rem, 4vw, 3rem);
    line-height: 1.12;
    margin: 0 0 18px;
}

.hero-service .hero-subtitle {
    color: var(--color-text);
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    line-height: 1.55;
    margin: 0 0 28px;
}

/* === FINAL CTA BLOCK ================================================ */
.final-cta-block {
    text-align: center;
    padding: 48px 24px;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, var(--color-accent-h) 0%, var(--color-accent) 50%, var(--color-dark-3) 100%);
    box-shadow: 0 24px 60px rgba(7, 48, 86, 0.32);
    color: var(--color-white);
}

.final-cta-title {
    color: var(--color-white);
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    margin: 0 0 14px;
}

.final-cta-text {
    color: var(--color-text);
    font-size: 16px;
    line-height: 1.55;
    margin: 0 0 26px;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
}

.final-cta-actions {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

@media (max-width: 640px) {
    .hero-service {
        min-height: 64vh;
        padding: 80px 0 40px;
    }
    .final-cta-block {
        padding: 28px 18px;
    }
    .final-cta-actions {
        flex-direction: column;
        width: 100%;
    }
    .final-cta-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

/* === Адаптив для tariff-list — на мобильных более компактный === */
@media (max-width: 720px) {
    .tariff-list {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .tariff-card {
        padding: 14px 16px;
    }
}

/* === Отступы между секциями — единый clamp() для адаптива === */
/* Centralized in line 245 — no duplicates */


/* === HERO SPLIT — ПК-версия с формой справа =================== */
.hero-split .hero-split-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: center;
    text-align: left;
}

.hero-split .hero-content {
    max-width: 100%;
    text-align: center;
}

/* На мобильном форма скрыта — есть CTA-кнопка */
.hero-split .hero-form-card {
    display: none;
}

/* На мобильном trust-строки компактны */
.hero-trust {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 22px;
    color: var(--color-text);
    font-size: 14px;
    align-items: center;
}

.hero-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hero-trust-item i {
    color: var(--color-accent-2);
    font-size: 18px;
    flex-shrink: 0;
}

.btn-hero-cta {
    min-width: 280px;
}

/* Десктоп: 2-колоночный split с формой справа */
@media (min-width: 1024px) {
    .hero-split {
        min-height: 88vh;
    }

    .hero-split .hero-split-grid {
        grid-template-columns: minmax(0, 1fr) minmax(360px, 420px);
        gap: 48px;
        text-align: left;
    }

    .hero-split .hero-content {
        text-align: left;
        max-width: 600px;
    }

    .hero-split .hero-title,
    .hero-split .hero-subtitle {
        text-align: left;
    }

    .hero-split .hero-actions {
        justify-content: flex-start;
        margin-top: 28px;
    }

    .hero-split .hero-trust {
        align-items: flex-start;
    }

    .hero-split .hero-form-card {
        display: block;
        padding: 28px 26px;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(12px);
        border-radius: var(--radius-xl);
        border: 1px solid rgba(255, 255, 255, 0.6);
        box-shadow: 0 24px 60px rgba(4, 27, 51, 0.42);
        color: var(--color-text-dark);
    }

    .hero-split .hero-form-card .form-title {
        font-family: var(--font-heading);
        font-size: 22px;
        font-weight: 800;
        margin: 0 0 8px;
        color: var(--color-text-dark);
    }

    .hero-split .hero-form-card .form-text {
        font-size: 14px;
        line-height: 1.45;
        color: var(--color-text-muted-dark);
        margin: 0 0 20px;
    }

    .hero-split .hero-form-card .form-field label {
        color: var(--color-text-dark);
        font-weight: 600;
    }

    .hero-split .hero-form-card .form-input {
        background: var(--color-light);
        border-color: rgba(11, 116, 222, 0.18);
        color: var(--color-text-dark);
    }

    .hero-split .hero-form-card .form-input:focus-visible {
        border-color: var(--color-accent);
        outline: 3px solid rgba(11, 116, 222, 0.18);
        outline-offset: 0;
    }

    /* Скрываем дублирующую CTA-кнопку рядом с формой на десктопе */
    .hero-split .hero-actions {
        display: none;
    }
}

/* Очень широкие экраны — больше воздуха */
@media (min-width: 1440px) {
    .hero-split .hero-split-grid {
        gap: 64px;
        max-width: 1280px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-split .hero-title {
        font-size: 4rem;
    }
}


/* === FAQ caret rotation + prefers-reduced-motion (Sprint a11y 2026-05-10) === */
.faq-question i.ph-caret-down,
.faq-question i.ph-caret-right {
    transition: transform 200ms var(--ease-standard);
}

.faq-item[open] .faq-question i.ph-caret-down,
.faq-item[open] .faq-question i.ph-caret-right {
    transform: rotate(180deg);
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .btn:hover, .card:hover { transform: none !important; }
    .reveal { opacity: 1 !important; transform: none !important; }
}

/* === Form errors + required (Sprint a11y) === */
.form-input[aria-invalid="true"],
.form-select[aria-invalid="true"] {
    border-color: var(--color-danger);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.18);
}

.field-error {
    display: block;
    margin-top: 6px;
    color: var(--color-danger);
    font-size: 13px;
    font-weight: 600;
}

.section-light .field-error,
.section-white .field-error {
    color: #b91c1c;
}

.form-field label .req {
    color: var(--color-danger);
    margin-left: 2px;
}

/* === Form hint для type=date === */
.form-hint {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: var(--color-text-muted);
    line-height: 1.4;
}

.section-light .form-hint,
.section-white .form-hint {
    color: var(--color-text-muted-dark);
}


/* === ВИЗУАЛЬНЫЕ УЛУЧШЕНИЯ — Sprint visual 2026-05-10 === */
/* Wave-разделители удалены — класс .section-wave-top нигде в HTML не применялся */

/* --- Featured tariff card (2 часа — популярный) --- */
.tariff-card.tariff-card-featured {
    position: relative;
    background: linear-gradient(135deg, var(--color-accent-2), #ffe4a8);
    border: 2px solid var(--color-accent-2);
    transform: scale(1.04);
    box-shadow: 0 14px 40px rgba(246, 195, 95, 0.32);
    z-index: 1;
}

.tariff-card-featured::after {
    content: 'Популярно';
    position: absolute;
    top: -10px;
    right: 16px;
    padding: 4px 12px;
    background: var(--color-accent);
    color: var(--color-white);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    border-radius: var(--radius-round);
    box-shadow: 0 4px 12px rgba(7, 91, 181, 0.32);
}

@media (max-width: 720px) {
    .tariff-card.tariff-card-featured {
        transform: none;
        margin-top: 10px;
    }
}

/* --- Service cards — refined hover + glow --- */
.service-card {
    position: relative;
    overflow: hidden;
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 120px; height: 120px;
    background: radial-gradient(circle at top right, rgba(56, 189, 248, 0.18), transparent 70%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 320ms ease;
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-accent-soft);
    box-shadow: 0 20px 50px rgba(7, 91, 181, 0.22);
}

.service-card:hover::before { opacity: 1; }

.service-card .service-card-icon {
    background: linear-gradient(135deg, rgba(11, 116, 222, 0.12), rgba(56, 189, 248, 0.18));
    transition: background var(--transition), transform var(--transition);
}

.service-card:hover .service-card-icon {
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-soft));
    transform: rotate(-4deg) scale(1.08);
}

.service-card:hover .service-card-icon i { color: var(--color-white); }

.service-card .card-cta {
    transition: gap 240ms;
}

.service-card:hover .card-cta {
    gap: 12px;
    color: var(--color-accent);
}

/* --- Hero — parallax эффект на фото + улучшенный overlay --- */
@media (prefers-reduced-motion: no-preference) {
    .hero-minimal .hero-media {
        will-change: transform;
        animation: hero-parallax 20s ease-in-out infinite alternate;
    }
}

@keyframes hero-parallax {
    from { transform: scale(1.02) translateY(0); }
    to   { transform: scale(1.08) translateY(-2%); }
}

.hero-minimal .hero-overlay {
    background: linear-gradient(180deg,
        rgba(4, 27, 51, 0.42) 0%,
        rgba(4, 27, 51, 0.62) 55%,
        rgba(4, 27, 51, 0.92) 100%);
}

/* На split-hero overlay темнее справа чтобы выделить форму */
@media (min-width: 1024px) {
    .hero-split .hero-overlay {
        background: linear-gradient(105deg,
            rgba(4, 27, 51, 0.65) 0%,
            rgba(4, 27, 51, 0.55) 45%,
            rgba(4, 27, 51, 0.85) 100%);
    }
}

/* --- Typography refinement --- */
.hero-title {
    font-family: var(--font-heading);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.hero-title .accent-line {
    display: block;
    background: linear-gradient(135deg, var(--color-accent-2), #ffd97a);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-style: italic;
    letter-spacing: -0.01em;
}

@supports not (background-clip: text) {
    .hero-title .accent-line { color: var(--color-accent-2); }
}

.section-title {
    letter-spacing: -0.02em;
}

.section-kicker {
    display: inline-block;
    padding: 4px 12px;
    border-radius: var(--radius-round);
    background: rgba(7, 91, 181, 0.1);
    color: var(--color-accent);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

.section-dark .section-kicker,
.section-dark-2 .section-kicker {
    background: rgba(56, 189, 248, 0.18);
    color: var(--color-accent-soft);
}

/* --- Section helpers — ритм воздуха --- */
.section-head {
    margin-bottom: 40px;
}

@media (min-width: 1024px) {
    .section-head {
        margin-bottom: 56px;
    }
}

/* Усиленный focus для интерактивных элементов */
:where(a, button, input, textarea, select, [tabindex]):focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 3px;
    box-shadow: var(--focus-ring);
    border-radius: 6px;
}


/* === SERVICES GRID — БЫЛО НЕ ОПРЕДЕЛЕНО (баг) === */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: clamp(16px, 2vw, 24px);
    margin-top: 32px;
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* Усиленный padding и hover — хороший premium-card */
.services-grid .service-card {
    padding: clamp(20px, 3vw, 28px);
    background: var(--color-white);
    border: 1px solid rgba(11, 116, 222, 0.16);
    border-radius: var(--radius-xl);
    color: var(--color-text-dark);
    text-decoration: none;
    min-height: 220px;
    box-shadow: 0 8px 28px rgba(7, 48, 86, 0.08);
}

.services-grid .service-card:hover {
    box-shadow: 0 16px 44px rgba(7, 91, 181, 0.16);
    border-color: rgba(11, 116, 222, 0.32);
}

.services-grid .service-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: var(--radius-lg);
    color: var(--color-accent);
    font-size: 28px;
    margin-bottom: 16px;
}

.services-grid .card-title {
    font-family: var(--font-heading);
    font-size: clamp(18px, 2vw, 22px);
    font-weight: 800;
    margin: 0 0 8px;
    color: var(--color-text-dark);
    line-height: 1.2;
}

.services-grid .card-text {
    font-size: 14px;
    line-height: 1.55;
    color: var(--color-text-muted-dark);
    margin: 0 0 18px;
    flex: 1;
}

.services-grid .card-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-accent);
    font-weight: 700;
    font-size: 14px;
    margin-top: auto;
}

/* На yachtminsk все .section-* имеют светлый фон, поэтому карточки используют base стили */


/* === REVEAL FALLBACK — критический фикс (Sprint визуальный аудит) === */
/* Если JS не загрузился или отключён — .reveal покажется всё равно через 2.5с */
@keyframes reveal-fallback {
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.reveal.visible {
    animation: none;
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}
