* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #1f2933;
    background: #ffffff;
}

a {
    color: inherit;
}

.container {
    width: min(1120px, 92%);
    margin: 0 auto;
}

.site-header {
    border-bottom: 1px solid #e5e7eb;
    background: #ffffff;
    position: sticky;
    top: 0;
    z-index: 10;
}

.header-inner {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo {
    font-weight: 700;
    font-size: 22px;
    text-decoration: none;
    color: #111827;
}

.main-nav {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    font-size: 14px;
}

.main-nav a {
    text-decoration: none;
    color: #4b5563;
}

.main-nav a:hover {
    color: #111827;
}

.hero {
    padding: 88px 0 72px;
    background: #f9fafb;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 13px;
    color: #6b7280;
    font-weight: 700;
}

h1 {
    font-size: clamp(36px, 6vw, 64px);
    line-height: 1.05;
    margin: 16px 0 24px;
    max-width: 900px;
}

h2 {
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.15;
    margin: 0 0 24px;
}

h3 {
    margin-top: 0;
    font-size: 22px;
}

.lead {
    font-size: 22px;
    max-width: 850px;
}

.hero-formula,
.accent {
    font-size: 20px;
    font-weight: 700;
    margin-top: 28px;
}

.hero-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.button {
    display: inline-block;
    padding: 12px 18px;
    border-radius: 10px;
    background: #111827;
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
}

.button.secondary {
    background: #ffffff;
    color: #111827;
    border: 1px solid #d1d5db;
}

.section {
    padding: 72px 0;
}

.section-soft {
    background: #f9fafb;
}

.grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.card ul,
.steps {
    margin-bottom: 0;
}

li {
    margin-bottom: 8px;
}

.process-line {
    margin: 28px 0;
    padding: 22px;
    border-radius: 16px;
    background: #111827;
    color: #ffffff;
    font-weight: 700;
    font-size: 20px;
}

.steps {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 28px 28px 28px 48px;
}

.final-section {
    padding: 80px 0;
    background: #111827;
    color: #ffffff;
}

.site-footer {
    padding: 40px 0;
    background: #f3f4f6;
    color: #374151;
}

.muted {
    color: #6b7280;
}

@media (max-width: 760px) {
    .header-inner {
        align-items: flex-start;
        flex-direction: column;
        padding: 18px 0;
    }

    .main-nav {
        gap: 10px;
    }

    .hero {
        padding: 56px 0;
    }

    .section {
        padding: 52px 0;
    }

    .grid {
        grid-template-columns: 1fr;
    }

    .process-line {
        font-size: 17px;
    }
}
/* --- Vizoron visual polish --- */

:root {
    --color-text: #1f2933;
    --color-muted: #6b7280;
    --color-dark: #111827;
    --color-soft: #f9fafb;
    --color-line: #e5e7eb;
    --color-accent: #0f766e;
    --color-accent-soft: #ecfdf5;
}

body {
    color: var(--color-text);
}

.site-header {
    backdrop-filter: blur(10px);
}

.logo {
    letter-spacing: -0.02em;
}

.main-nav a {
    padding: 6px 0;
    border-bottom: 2px solid transparent;
}

.main-nav a:hover {
    border-bottom-color: var(--color-accent);
}

.hero {
    background:
        radial-gradient(circle at top right, rgba(15, 118, 110, 0.10), transparent 34%),
        linear-gradient(180deg, #f9fafb 0%, #ffffff 100%);
}

.eyebrow {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    background: var(--color-accent-soft);
    color: var(--color-accent);
}

h1 {
    letter-spacing: -0.045em;
}

.lead {
    color: #374151;
}

.hero-formula {
    display: inline-block;
    padding: 14px 18px;
    border-left: 4px solid var(--color-accent);
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.button {
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.button:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}

.button.secondary:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.card {
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.card:hover {
    transform: translateY(-2px);
    border-color: rgba(15, 118, 110, 0.25);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
}

.card h3 {
    color: var(--color-dark);
}

.card li::marker,
.steps li::marker {
    color: var(--color-accent);
    font-weight: 700;
}

.process-line {
    background:
        linear-gradient(135deg, #111827 0%, #164e63 100%);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.16);
}

.accent {
    padding: 18px 20px;
    border-radius: 16px;
    background: var(--color-accent-soft);
    color: #064e3b;
}

.final-section {
    background:
        radial-gradient(circle at top right, rgba(20, 184, 166, 0.18), transparent 36%),
        #111827;
}

.site-footer {
    border-top: 1px solid var(--color-line);
}

/* --- Mobile polish --- */

@media (max-width: 760px) {
    .site-header {
        position: static;
    }

    .header-inner {
        gap: 14px;
    }

    .logo {
        font-size: 24px;
    }

    .main-nav {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .main-nav a {
        padding: 9px 10px;
        border: 1px solid var(--color-line);
        border-radius: 10px;
        background: #ffffff;
        text-align: center;
        font-size: 13px;
    }

    h1 {
        font-size: clamp(34px, 11vw, 46px);
    }

    h2 {
        font-size: clamp(26px, 8vw, 34px);
    }

    .lead {
        font-size: 19px;
    }

    .hero-links {
        flex-direction: column;
    }

    .button {
        width: 100%;
        text-align: center;
        padding: 14px 18px;
    }

    .card {
        padding: 22px;
    }

    .process-line {
        font-size: 16px;
        line-height: 1.7;
        word-spacing: 0.15em;
    }

    .steps {
        padding: 22px 22px 22px 42px;
    }

    .final-section {
        padding: 60px 0;
    }
}

@media (max-width: 420px) {
    .container {
        width: min(100% - 28px, 1120px);
    }

    .main-nav {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 44px 0 48px;
    }

    .section {
        padding: 44px 0;
    }

    .eyebrow {
        font-size: 12px;
    }
}
/* --- Landing composition polish --- */

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.75fr);
    gap: 48px;
    align-items: center;
}

.hero-main {
    max-width: 920px;
}

.hero-side-card {
    background: #ffffff;
    border: 1px solid rgba(15, 118, 110, 0.18);
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
}

.side-label,
.card-kicker {
    margin: 0 0 14px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-accent);
}

.insight-list {
    margin: 0;
    padding-left: 20px;
}

.insight-list li {
    margin-bottom: 12px;
}

.section-compact {
    padding: 42px 0;
}

.offer-preview {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.offer-preview-card {
    position: relative;
    padding: 30px;
    border-radius: 22px;
    background: #ffffff;
    border: 1px solid var(--color-line);
    box-shadow: 0 14px 38px rgba(15, 23, 42, 0.06);
}

.offer-preview-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 5px;
    border-radius: 22px 0 0 22px;
    background: var(--color-accent);
}

.offer-preview-card h2 {
    margin-bottom: 14px;
    font-size: clamp(26px, 3vw, 34px);
}

.flow-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 30px 0;
}

.flow-steps span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 74px;
    padding: 14px;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid rgba(15, 118, 110, 0.22);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
    font-weight: 700;
    text-align: center;
}

@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero-side-card {
        max-width: 640px;
    }

    .flow-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .offer-preview {
        grid-template-columns: 1fr;
    }

    .section-compact {
        padding: 32px 0;
    }
}

@media (max-width: 420px) {
    .hero-side-card,
    .offer-preview-card {
        padding: 22px;
    }

    .flow-steps {
        grid-template-columns: 1fr;
    }

    .flow-steps span {
        min-height: 58px;
    }
}
/* --- Detailed process steps --- */

.flow-steps-detailed {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.flow-step {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-height: 120px;
    padding: 18px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid rgba(15, 118, 110, 0.22);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.flow-step-number {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--color-accent);
}

.flow-step strong {
    font-size: 17px;
    line-height: 1.25;
    color: var(--color-dark);
}

.flow-step small {
    font-size: 14px;
    line-height: 1.4;
    color: var(--color-muted);
}

@media (max-width: 900px) {
    .flow-steps-detailed {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 420px) {
    .flow-steps-detailed {
        grid-template-columns: 1fr;
    }

    .flow-step {
        min-height: auto;
    }
}

/* --- Process steps override --- */

.flow-steps.flow-steps-detailed {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 14px !important;
    margin: 34px 0 !important;
}

.flow-steps.flow-steps-detailed .flow-step {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 7px !important;
    min-height: 128px !important;
    padding: 18px !important;
    border-radius: 18px !important;
    background: #ffffff !important;
    border: 1px solid rgba(15, 118, 110, 0.22) !important;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05) !important;
    text-align: left !important;
}

.flow-steps.flow-steps-detailed .flow-step-number {
    display: inline-block !important;
    min-height: auto !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    letter-spacing: 0.08em !important;
    color: var(--color-accent) !important;
}

.flow-steps.flow-steps-detailed .flow-step strong {
    display: block !important;
    font-size: 17px !important;
    line-height: 1.25 !important;
    color: var(--color-dark) !important;
}

.flow-steps.flow-steps-detailed .flow-step small {
    display: block !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
    color: var(--color-muted) !important;
}

@media (max-width: 900px) {
    .flow-steps.flow-steps-detailed {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 420px) {
    .flow-steps.flow-steps-detailed {
        grid-template-columns: 1fr !important;
    }

    .flow-steps.flow-steps-detailed .flow-step {
        min-height: auto !important;
    }
}

/* --- Typography refinement --- */

body {
    font-family: "Segoe UI", "Inter", Arial, sans-serif;
}

h1 {
    font-size: clamp(34px, 5.2vw, 56px);
    line-height: 1.14;
    letter-spacing: -0.018em;
    font-weight: 700;
    max-width: 980px;
}

h2 {
    letter-spacing: -0.025em;
}

.lead {
    font-size: 21px;
    line-height: 1.55;
}

@media (max-width: 760px) {
    h1 {
        font-size: clamp(32px, 10vw, 42px);
        line-height: 1.16;
        letter-spacing: -0.012em;
    }

    .lead {
        font-size: 18px;
    }
}

/* --- Hero title readability fix --- */

.hero h1 {
    max-width: 820px !important;
    font-size: clamp(32px, 4.4vw, 50px) !important;
    line-height: 1.22 !important;
    letter-spacing: -0.004em !important;
    font-weight: 600 !important;
    color: #1f2933 !important;
}

@media (max-width: 760px) {
    .hero h1 {
        font-size: clamp(30px, 8.5vw, 38px) !important;
        line-height: 1.22 !important;
        letter-spacing: 0 !important;
    }
}

/* Mobile layout for Vizoron */
@media (max-width: 640px) {
    body {
        font-size: 16px;
        line-height: 1.55;
    }

    .site-header {
        padding: 14px 0 10px;
    }

    .site-header .container,
    .site-header-inner,
    .header-inner {
        gap: 12px;
    }

    .site-logo,
    .logo,
    .brand {
        font-size: 22px;
        line-height: 1.1;
    }

    .site-header nav,
    .site-nav,
    .nav-links {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 8px;
        overflow-x: auto;
        padding-bottom: 4px;
        -webkit-overflow-scrolling: touch;
    }

    .site-header nav a,
    .site-nav a,
    .nav-links a {
        flex: 0 0 auto;
        width: auto;
        min-width: auto;
        padding: 9px 13px;
        font-size: 13px;
        line-height: 1.2;
        white-space: nowrap;
    }

    .hero {
        padding-top: 28px;
        padding-bottom: 34px;
    }

    .hero-label,
    .eyebrow,
    .section-label {
        font-size: 11px;
        line-height: 1.3;
        letter-spacing: 0.08em;
    }

    .hero h1 {
        font-size: 32px;
        line-height: 1.08;
        letter-spacing: -0.03em;
        margin-top: 14px;
        margin-bottom: 16px;
    }

    .hero p,
    .hero-lead,
    .lead {
        font-size: 16px;
        line-height: 1.55;
    }

    .hero-actions,
    .buttons,
    .cta-row {
        display: flex;
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }

    .hero-actions a,
    .button,
    .btn {
        width: 100%;
        min-height: 44px;
        justify-content: center;
        text-align: center;
    }

    section,
    .section {
        padding-top: 42px;
        padding-bottom: 42px;
    }

    h2 {
        font-size: 25px;
        line-height: 1.15;
    }

    h3 {
        font-size: 19px;
        line-height: 1.2;
    }

    .card,
    .info-card,
    .feature-card,
    .service-card,
    .route-card {
        padding: 18px;
        border-radius: 18px;
    }

    .cards,
    .cards-grid,
    .features-grid,
    .services-grid,
    .route-grid,
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    ul,
    ol {
        padding-left: 20px;
    }

    li {
        margin-bottom: 8px;
    }

    .site-footer {
        padding-top: 34px;
        padding-bottom: 34px;
    }
}

/* Extra tuning for small mobile screens */
@media (max-width: 380px) {
    .site-header {
        padding-top: 12px;
        padding-bottom: 8px;
    }

    .site-header nav,
    .site-nav,
    .nav-links {
        gap: 6px;
        scrollbar-width: none;
    }

    .site-header nav::-webkit-scrollbar,
    .site-nav::-webkit-scrollbar,
    .nav-links::-webkit-scrollbar {
        display: none;
    }

    .site-header nav a,
    .site-nav a,
    .nav-links a {
        padding: 8px 10px;
        font-size: 12px;
        border-radius: 10px;
    }

    .hero {
        padding-top: 24px;
        padding-bottom: 30px;
    }

    .hero h1 {
        font-size: 29px;
        line-height: 1.08;
        margin-top: 14px;
        margin-bottom: 14px;
    }

    .hero p,
    .hero-lead,
    .lead {
        font-size: 15px;
        line-height: 1.55;
    }

    .hero-label,
    .eyebrow,
    .section-label {
        font-size: 10px;
        letter-spacing: 0.07em;
    }

    .card,
    .info-card,
    .feature-card,
    .service-card,
    .route-card {
        padding: 16px;
    }
}

/* Final mobile tuning for content blocks */
@media (max-width: 640px) {
    main h2 {
        font-size: 26px;
        line-height: 1.16;
        letter-spacing: -0.02em;
    }

    main p {
        line-height: 1.6;
    }

    .section,
    section {
        padding-top: 38px;
        padding-bottom: 38px;
    }

    .card,
    .info-card,
    .feature-card,
    .service-card,
    .route-card,
    .step-card {
        padding: 18px;
    }

    .route-card,
    .step-card {
        min-height: auto;
    }

    .route-card h3,
    .step-card h3 {
        font-size: 18px;
        line-height: 1.25;
        margin-bottom: 8px;
    }

    .route-card p,
    .step-card p {
        font-size: 15px;
        line-height: 1.45;
    }

    .cards,
    .cards-grid,
    .features-grid,
    .services-grid,
    .route-grid,
    .steps-grid {
        gap: 14px;
    }

    .site-footer {
        font-size: 15px;
        line-height: 1.6;
    }
}

@media (max-width: 380px) {
    main h2 {
        font-size: 24px;
        line-height: 1.16;
    }

    h3 {
        font-size: 18px;
    }

    .card,
    .info-card,
    .feature-card,
    .service-card,
    .route-card,
    .step-card {
        padding: 17px;
        border-radius: 17px;
    }

    .route-card,
    .step-card {
        padding-top: 18px;
        padding-bottom: 18px;
    }

    .site-footer {
        padding-top: 32px;
        padding-bottom: 32px;
    }
}

/* Fix mobile header menu: no cropped nav buttons */
@media (max-width: 640px) {
    .site-header nav,
    .site-nav,
    .nav-links {
        display: flex;
        flex-wrap: wrap;
        overflow-x: visible;
        gap: 8px;
        padding-bottom: 0;
    }

    .site-header nav a,
    .site-nav a,
    .nav-links a {
        flex: 1 1 calc(50% - 8px);
        width: auto;
        min-width: 0;
        max-width: none;
        text-align: center;
        white-space: nowrap;
    }
}

@media (max-width: 380px) {
    .site-header nav,
    .site-nav,
    .nav-links {
        gap: 7px;
    }

    .site-header nav a,
    .site-nav a,
    .nav-links a {
        flex-basis: calc(50% - 7px);
        padding: 8px 8px;
        font-size: 12px;
    }
}

/* Fix hero eyebrow text wrapping on small screens */
@media (max-width: 640px) {
    .hero .hero-label,
    .hero .eyebrow,
    .hero .section-label {
        font-size: 10px;
        line-height: 1.25;
        letter-spacing: 0.045em;
        white-space: nowrap;
        padding-left: 14px;
        padding-right: 14px;
    }
}

@media (max-width: 380px) {
    .hero .hero-label,
    .hero .eyebrow,
    .hero .section-label {
        font-size: 9.5px;
        letter-spacing: 0.035em;
    }
}
/* Final section: softer than black, but more accent than plain light */
.final-section {
    background: linear-gradient(135deg, #d3e8e5 0%, #dff0ed 45%, #c7e0dc 100%);
    color: #1f2933;
}

.final-section h2 {
    color: #1f2933;
}

.final-section p {
    color: #344054;
}

@media (max-width: 640px) {
    .final-section {
        padding-top: 54px;
        padding-bottom: 54px;
    }
}

@media (max-width: 380px) {
    .final-section {
        padding-top: 46px;
        padding-bottom: 46px;
    }
}

/* Soften the active shortcut button */
.hero-actions .button-primary,
.hero-actions .btn-primary,
.hero-actions .button.is-active,
.hero-actions .btn.is-active,
.hero-actions a[aria-current="page"] {
    background: #dff0ed;
    color: #1f2933;
    border: 1px solid #b9d8d2;
    box-shadow: none;
}

/* Keep non-active buttons calm */
.hero-actions .button,
.hero-actions .btn,
.hero-actions a {
    box-shadow: none;
}

/* Optional hover */
.hero-actions .button-primary:hover,
.hero-actions .btn-primary:hover,
.hero-actions .button.is-active:hover,
.hero-actions .btn.is-active:hover,
.hero-actions a[aria-current="page"]:hover {
    background: #d6ebe7;
    border-color: #aacfc7;
}
/* Soften hero shortcut button "Кому это подходит" */
.hero a[href="#for-whom"] {
    background: #dff0ed !important;
    color: #1f2933 !important;
    border: 1px solid #b9d8d2 !important;
    box-shadow: none !important;
}

.hero a[href="#for-whom"]:hover {
    background: #d6ebe7 !important;
    border-color: #aacfc7 !important;
    color: #1f2933 !important;
}
