/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --c-mint: #d0f4e4;
    --c-green: #62eb67;
    --c-teal: #35bccc;
    --c-dark: #1a2332;
    --c-dark-light: #2a3a4e;
    --c-text: #3d4f5f;
    --c-text-light: #6b7f8e;
    --c-white: #ffffff;
    --c-bg: #f5faf8;
    --c-border: #e0efe8;
    --gradient-main: linear-gradient(135deg, #35bccc 0%, #62eb67 100%);
    --gradient-soft: linear-gradient(135deg, #d0f4e4 0%, #b8f0d8 50%, #c5eef4 100%);
    --gradient-dark: linear-gradient(135deg, #1a2332 0%, #2a3a4e 100%);
    --radius: 16px;
    --radius-sm: 10px;
    --shadow: 0 4px 24px rgba(26, 35, 50, 0.08);
    --shadow-lg: 0 12px 48px rgba(26, 35, 50, 0.12);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-feature-settings: 'kern' 1, 'liga' 1, 'calt' 1;
}

::selection {
    background: rgba(53, 188, 204, 0.2);
    color: var(--c-dark);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--c-text);
    background: var(--c-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-size: 16px;
    letter-spacing: -0.011em;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

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

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

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn--primary {
    background: var(--gradient-main);
    color: var(--c-white);
    box-shadow: 0 4px 20px rgba(53, 188, 204, 0.3);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(53, 188, 204, 0.4);
}

.btn--outline {
    background: transparent;
    color: var(--c-white);
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn--outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.7);
}

.btn--sm {
    padding: 10px 24px;
    font-size: 14px;
}

.btn--lg {
    padding: 16px 40px;
    font-size: 16px;
}

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #ffffff;
    border-bottom: 1px solid var(--c-border);
    transition: var(--transition);
}

.header__inner {
    display: flex;
    align-items: center;
    height: 72px;
    gap: 32px;
}

/* ===== Hero Split ===== */
.hero-split {
    padding: 96px 0 32px;
}

.hero-split__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    min-height: 520px;
}

.hero-split__left {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Promo Cards */
.promo-card--main {
    background: var(--gradient-main);
    border-radius: var(--radius);
    padding: 36px 32px;
    color: var(--c-white);
    flex: 1;
    position: relative;
    overflow: hidden;
}

.promo-card--has-bg {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.promo-card--has-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26, 35, 50, 0.75) 0%, rgba(26, 35, 50, 0.45) 100%);
    z-index: 0;
}

.promo-card--has-bg > * {
    position: relative;
    z-index: 1;
}

.promo-card__tag {
    display: inline-block;
    padding: 5px 14px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.promo-card__title {
    font-size: clamp(24px, 2.5vw, 32px);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
}

.promo-card__desc {
    font-size: 14px;
    opacity: 0.85;
    margin-bottom: 12px;
}

/* Fallback features list */
.promo-card__features {
    list-style: none;
    margin: 0 0 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.promo-card__features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 500;
}

.promo-card__features svg {
    flex-shrink: 0;
    color: var(--c-green);
}

/* Timer */
.promo-card__timer {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 24px;
}

.timer__item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.timer__num {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 24px;
    font-weight: 700;
    min-width: 52px;
    text-align: center;
}

.timer__label {
    font-size: 11px;
    opacity: 0.7;
    margin-top: 4px;
}

.timer__sep {
    font-size: 24px;
    font-weight: 700;
    opacity: 0.6;
    margin-bottom: 18px;
}

.btn--outline-dark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    background: var(--c-white);
    color: var(--c-teal);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn--outline-dark:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Small promo cards row */
.promo-cards-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.promo-card--small {
    background: var(--c-white);
    border-radius: var(--radius);
    padding: 24px;
    border: 1px solid var(--c-border);
    transition: var(--transition);
    cursor: pointer;
}

.promo-card--small:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.promo-card__title-sm {
    font-size: 18px;
    font-weight: 700;
    color: var(--c-dark);
    line-height: 1.3;
    margin-bottom: 8px;
}

.promo-card__desc-sm {
    font-size: 13px;
    color: var(--c-text-light);
    line-height: 1.5;
}

/* Right: Large promo banner */
.hero-split__right {
    display: flex;
}

.promo-banner {
    flex: 1;
    border-radius: var(--radius);
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 40px 36px;
}

.promo-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 300px 300px at 70% 20%, rgba(53, 188, 204, 0.3), transparent),
        radial-gradient(ellipse 200px 200px at 30% 80%, rgba(98, 235, 103, 0.2), transparent);
}

.promo-banner--has-bg {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.promo-banner--has-bg::before {
    background: linear-gradient(to top, rgba(26, 35, 50, 0.85) 0%, rgba(26, 35, 50, 0.3) 100%);
}

.promo-banner__content {
    position: relative;
    z-index: 1;
    color: var(--c-white);
}

.promo-banner__title {
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 14px;
}

.promo-banner__desc {
    font-size: 15px;
    opacity: 0.75;
    line-height: 1.5;
    margin-bottom: 24px;
    max-width: 320px;
}

.btn--outline-light {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    background: transparent;
    color: var(--c-white);
    border: 2px solid rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition);
}

.btn--outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.7);
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 22px;
    font-weight: 800;
    color: var(--c-dark);
    flex-shrink: 0;
}

.logo__icon {
    color: var(--c-teal);
    font-size: 18px;
}

.logo__accent {
    color: var(--c-teal);
}

.nav {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
}

.nav__link {
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 500;
    color: var(--c-dark);
    text-transform: uppercase;
    transition: var(--transition);
    text-align: center;
    display: inline-block;
}

.nav__link:hover {
    color: var(--c-teal);
}

.nav__link--accent {
    color: var(--c-teal);
    font-weight: 600;
}

.header__phone {
    font-size: 15px;
    font-weight: 600;
    color: var(--c-dark);
    flex-shrink: 0;
}

.header__phone:hover {
    color: var(--c-teal);
}

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--c-dark);
    border-radius: 2px;
    transition: var(--transition);
}


/* ===== Section Titles ===== */
.section-title {
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 800;
    color: var(--c-dark);
    text-align: center;
    margin-bottom: 12px;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.section-subtitle {
    font-size: 17px;
    color: var(--c-text-light);
    text-align: center;
    margin-bottom: 48px;
    letter-spacing: -0.005em;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== Mortgage Slider ===== */
.mortgage-slider {
    padding: 80px 0;
}

.slider {
    position: relative;
    overflow: hidden;
}

.slider__track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 24px;
}

.slider__slide {
    flex: 0 0 auto;
}

.mortgage-card {
    background: var(--c-white);
    border-radius: var(--radius);
    padding: 32px;
    height: 100%;
    box-shadow: var(--shadow);
    border: 1px solid var(--c-border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.mortgage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
}

.mortgage-card--1::before { background: var(--gradient-main); }
.mortgage-card--2::before { background: linear-gradient(90deg, #62eb67, #35bccc); }
.mortgage-card--3::before { background: linear-gradient(90deg, #35bccc, #2a9fb0); }
.mortgage-card--4::before { background: linear-gradient(90deg, #62eb67, #4dd952); }
.mortgage-card--5::before { background: linear-gradient(90deg, #d0f4e4, #62eb67); }

.mortgage-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.mortgage-card__badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--c-mint);
    color: var(--c-teal);
    font-size: 20px;
    font-weight: 700;
    border-radius: 50px;
    margin-bottom: 16px;
}

.mortgage-card__title {
    font-size: 20px;
    font-weight: 700;
    color: var(--c-dark);
    margin-bottom: 12px;
}

.mortgage-card__desc {
    font-size: 14px;
    color: var(--c-text-light);
    margin-bottom: 16px;
    line-height: 1.6;
}

.mortgage-card__features {
    list-style: none;
    margin-bottom: 24px;
}

.mortgage-card__features li {
    padding: 6px 0;
    font-size: 14px;
    color: var(--c-text);
    display: flex;
    align-items: center;
    gap: 8px;
}

.mortgage-card__features li::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--c-green);
    flex-shrink: 0;
}

/* Slider Controls */
.slider__controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 36px;
}

.slider__btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--c-border);
    background: var(--c-white);
    color: var(--c-dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.slider__btn:hover {
    border-color: var(--c-teal);
    color: var(--c-teal);
    background: var(--c-mint);
}

.slider__dots {
    display: flex;
    gap: 8px;
}

.slider__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--c-border);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.slider__dot--active {
    background: var(--c-teal);
    width: 28px;
    border-radius: 5px;
}

/* ===== Services Grid ===== */
.services {
    padding: 80px 0;
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--c-white);
    border-radius: var(--radius);
    padding: 36px 32px;
    box-shadow: var(--shadow);
    border: 1px solid var(--c-border);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.service-card--large {
    grid-row: span 2;
    background: var(--gradient-soft);
    border-color: transparent;
}

.service-card--accent {
    background: var(--gradient-main);
    color: var(--c-white);
    border-color: transparent;
}

.service-card--accent .service-card__title,
.service-card--accent .service-card__desc {
    color: var(--c-white);
}

.service-card--accent .service-card__link {
    color: rgba(255, 255, 255, 0.85);
}

.service-card--accent .service-card__link:hover {
    color: var(--c-white);
}

.service-card__img {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    color: var(--c-teal);
}

.service-card--accent .service-card__img {
    color: var(--c-white);
}

.service-card__icon {
    width: 100%;
    height: 100%;
}

.service-card__title {
    font-size: 20px;
    font-weight: 700;
    color: var(--c-dark);
    margin-bottom: 10px;
}

.service-card__desc {
    font-size: 14px;
    color: var(--c-text-light);
    line-height: 1.6;
    margin-bottom: auto;
    padding-bottom: 16px;
}

.service-card__link {
    font-size: 14px;
    font-weight: 600;
    color: var(--c-teal);
    transition: var(--transition);
}

.service-card__link:hover {
    color: var(--c-green);
}

/* ===== Stats ===== */
.stats {
    padding: 60px 0;
    background: var(--gradient-dark);
}

.stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.stats__number {
    display: block;
    font-size: clamp(36px, 4vw, 52px);
    font-weight: 800;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.stats__label {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
}

/* ===== CTA ===== */
.cta {
    padding: 80px 0;
}

.cta__inner {
    background: var(--gradient-soft);
    border-radius: var(--radius);
    padding: 56px;
    display: flex;
    align-items: center;
    gap: 48px;
}

.cta__content {
    flex: 1;
}

.cta__title {
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 800;
    color: var(--c-dark);
    margin-bottom: 12px;
}

.cta__desc {
    font-size: 16px;
    color: var(--c-text-light);
}

.cta__form {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cta__input {
    padding: 14px 20px;
    border: 2px solid var(--c-border);
    border-radius: 50px;
    font-size: 15px;
    font-family: inherit;
    background: var(--c-white);
    outline: none;
    transition: var(--transition);
    width: 180px;
}

.cta__input:focus {
    border-color: var(--c-teal);
}

/* ===== Footer ===== */
.footer {
    background: var(--c-dark);
    padding: 60px 0 30px;
    color: rgba(255, 255, 255, 0.6);
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.logo--footer .logo__text {
    color: var(--c-white);
}

.footer__about {
    margin-top: 16px;
    font-size: 14px;
    line-height: 1.6;
}

.footer__heading {
    font-size: 15px;
    font-weight: 600;
    color: var(--c-white);
    margin-bottom: 20px;
}

.footer__link {
    display: block;
    font-size: 14px;
    padding: 5px 0;
    transition: var(--transition);
}

a.footer__link:hover {
    color: var(--c-green);
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    font-size: 13px;
    text-align: center;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .hero-split__grid {
        grid-template-columns: 1fr;
    }

    .promo-banner {
        min-height: 360px;
    }

    .services__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-card--large {
        grid-row: span 1;
    }

    .stats__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .cta__inner {
        flex-direction: column;
        text-align: center;
        padding: 40px 32px;
    }

    .cta__form {
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(180deg, #1a8a3e 0%, #1a7a8a 100%);
        flex-direction: column;
        padding: 32px 24px;
        gap: 8px;
        transform: translateX(100%);
        transition: var(--transition);
        z-index: 999;
    }

    .nav--open {
        transform: translateX(0);
    }

    .nav .nav__link {
        color: #ffffff;
        font-size: 18px;
        padding: 14px 16px;
    }

    .nav .nav__link:hover {
        color: var(--c-mint);
    }

    .nav .nav__link--accent {
        color: var(--c-mint);
    }

    .header__phone {
        display: none;
    }

    .burger {
        display: flex;
    }

    .burger--active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .burger--active span:nth-child(2) {
        opacity: 0;
    }

    .burger--active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero-split {
        padding-top: 84px;
    }

    .hero-split__grid {
        grid-template-columns: 1fr;
    }

    .promo-cards-row {
        grid-template-columns: 1fr;
    }

    .promo-banner {
        min-height: 300px;
    }

    .services__grid {
        grid-template-columns: 1fr;
    }

    .stats__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .cta__form {
        flex-direction: column;
        width: 100%;
    }

    .cta__input {
        width: 100%;
    }

    .footer__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* ===== Page Hero (inner pages) ===== */
.page-hero {
    padding: 96px 0 0;
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 500px 300px at 85% 40%, rgba(53, 188, 204, 0.2), transparent),
        radial-gradient(ellipse 300px 200px at 10% 80%, rgba(98, 235, 103, 0.12), transparent);
}

.page-hero__inner {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 40px 0 48px;
    gap: 40px;
}

.page-hero__content { flex: 1; }

.page-hero__title {
    font-size: clamp(32px, 4.2vw, 50px);
    font-weight: 800;
    color: var(--c-white);
    line-height: 1.1;
    margin-bottom: 14px;
    letter-spacing: -0.03em;
}

.page-hero__subtitle {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.55);
    max-width: 600px;
    line-height: 1.6;
    letter-spacing: -0.005em;
}

/* Breadcrumbs */
.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    font-size: 13px;
    flex-wrap: wrap;
}

.breadcrumbs__link {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumbs__link:hover { color: var(--c-green); }

.breadcrumbs__sep { color: rgba(255, 255, 255, 0.3); }

.breadcrumbs__current { color: rgba(255, 255, 255, 0.7); }

/* ===== Content Section (inner pages) ===== */
.content-section {
    padding: 64px 0 88px;
}

.content {
    max-width: 100%;
    font-size: 16.5px;
    line-height: 1.75;
    color: var(--c-text);
    letter-spacing: -0.006em;
}

.content > h2,
.content > h3,
.content > h4,
.content > p,
.content > ul:not(.advantages),
.content > ol,
.content > blockquote,
.content > table:not(.price-table),
.content > hr {
    max-width: 820px;
}

/* — Lead paragraph (first <p> under first <h2>) — */
.content > h2:first-child + p,
.content > p:first-child {
    font-size: 19px;
    line-height: 1.65;
    color: var(--c-dark-light);
    letter-spacing: -0.01em;
}

/* — Headings — */
.content h2 {
    font-size: 28px;
    font-weight: 800;
    color: var(--c-dark);
    margin: 56px 0 20px;
    line-height: 1.25;
    letter-spacing: -0.025em;
    position: relative;
    padding-bottom: 14px;
}

.content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 48px;
    height: 3px;
    background: var(--gradient-main);
    border-radius: 2px;
}

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

.content h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--c-dark);
    margin: 40px 0 14px;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.content h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--c-dark);
    margin: 32px 0 10px;
    letter-spacing: -0.015em;
}

/* — Paragraphs — */
.content p {
    margin-bottom: 18px;
}

.content p:last-child { margin-bottom: 0; }

.content strong {
    font-weight: 700;
    color: var(--c-dark);
}

/* — Lists (ul/ol) — */
.content ul:not(.advantages),
.content ol {
    margin: 20px 0;
    padding-left: 0;
    list-style: none;
}

.content ul:not(.advantages) > li,
.content ol > li {
    margin-bottom: 12px;
    padding-left: 32px;
    position: relative;
    line-height: 1.65;
}

.content ul:not(.advantages) > li::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 11px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--c-teal);
}

/* Styled ordered list — numbered steps */
.content ol {
    counter-reset: steps;
}

.content ol > li {
    counter-increment: steps;
    padding-left: 48px;
    margin-bottom: 20px;
}

.content ol > li::before {
    content: counter(steps);
    position: absolute;
    left: 0;
    top: 1px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-main);
    color: var(--c-white);
    font-size: 14px;
    font-weight: 700;
    border-radius: 50%;
}

.content ol > li strong {
    display: inline;
}

/* — Links — */
.content a {
    color: var(--c-teal);
    text-decoration: underline;
    text-decoration-color: rgba(53, 188, 204, 0.35);
    text-underline-offset: 3px;
    text-decoration-thickness: 1.5px;
    transition: var(--transition);
}

.content a:hover {
    color: var(--c-green);
    text-decoration-color: var(--c-green);
}

/* — Images — */
.content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius);
    margin: 28px 0;
}

/* — Blockquote — */
.content blockquote {
    margin: 32px 0;
    padding: 24px 28px 24px 32px;
    border-left: 4px solid var(--c-teal);
    background: linear-gradient(135deg, rgba(208, 244, 228, 0.3), rgba(197, 238, 244, 0.2));
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-size: 16px;
    font-style: italic;
    color: var(--c-dark-light);
    line-height: 1.7;
}

.content blockquote p:last-child { margin-bottom: 0; }

/* — Tables — */
.content table {
    width: 100%;
    border-collapse: collapse;
    margin: 28px 0;
    font-size: 15px;
}

.content th {
    background: var(--c-dark);
    color: var(--c-white);
    padding: 14px 20px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.content th:first-child { border-radius: var(--radius-sm) 0 0 0; }
.content th:last-child { border-radius: 0 var(--radius-sm) 0 0; }

.content td {
    padding: 14px 20px;
    border-bottom: 1px solid var(--c-border);
}

.content tr:hover td {
    background: rgba(208, 244, 228, 0.2);
}

.content tr:last-child td { border-bottom: none; }

/* — Horizontal rule — */
.content hr {
    border: none;
    height: 1px;
    background: var(--c-border);
    margin: 48px 0;
}

/* Features grid for service pages */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin: 36px 0 40px;
}

.feature-card {
    padding: 32px 28px;
    background: var(--c-white);
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-main);
    opacity: 0;
    transition: var(--transition);
}

.feature-card:hover {
    border-color: var(--c-teal);
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

.feature-card:hover::after {
    opacity: 1;
}

.feature-card__icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-main);
    border-radius: var(--radius-sm);
    color: var(--c-white);
    font-size: 22px;
    margin-bottom: 18px;
    box-shadow: 0 4px 12px rgba(53, 188, 204, 0.25);
}

.feature-card__title {
    font-size: 17px;
    font-weight: 700;
    color: var(--c-dark);
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.feature-card__text {
    font-size: 14.5px;
    color: var(--c-text-light);
    line-height: 1.65;
}

/* Advantages list */
.advantages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
    margin: 36px 0 40px;
    list-style: none;
    padding: 0;
}

.advantages li {
    padding: 22px 24px 22px 58px;
    background: var(--c-white);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-sm);
    position: relative;
    font-size: 15px;
    font-weight: 500;
    color: var(--c-dark);
    line-height: 1.5;
    transition: var(--transition);
}

.advantages li:hover {
    border-color: var(--c-teal);
    box-shadow: 0 2px 12px rgba(53, 188, 204, 0.1);
}

.advantages li::before {
    content: '✓';
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-main);
    color: var(--c-white);
    border-radius: 50%;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(53, 188, 204, 0.25);
}

/* Price table for service pages */
.price-table {
    width: 100%;
    margin: 36px 0;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--c-border);
    box-shadow: var(--shadow);
}

.price-table th {
    background: var(--gradient-dark);
    color: var(--c-white);
    padding: 16px 24px;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.price-table td {
    padding: 18px 24px;
    border-bottom: 1px solid var(--c-border);
    font-size: 15px;
}

.price-table tr:last-child td { border-bottom: none; }

.price-table tbody tr {
    transition: var(--transition);
}

.price-table tbody tr:hover td {
    background: rgba(208, 244, 228, 0.2);
}

.price-table .price-val {
    font-weight: 700;
    color: var(--c-teal);
    white-space: nowrap;
    font-size: 16px;
    font-variant-numeric: tabular-nums;
}

/* Responsive inner */
@media (max-width: 768px) {
    .page-hero__inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 32px 0 36px;
    }

    .content-section {
        padding: 40px 0 56px;
    }

    .content {
        font-size: 15.5px;
    }

    .content > h2:first-child + p,
    .content > p:first-child {
        font-size: 17px;
    }

    .content h2 {
        font-size: 23px;
        margin-top: 40px;
        padding-bottom: 12px;
    }

    .content h3 { font-size: 19px; }

    .content ol > li {
        padding-left: 42px;
        margin-bottom: 16px;
    }

    .content ol > li::before {
        width: 28px;
        height: 28px;
        font-size: 13px;
    }

    .features-grid { grid-template-columns: 1fr; }
    .advantages { grid-template-columns: 1fr; }

    .feature-card { padding: 24px 20px; }
    .feature-card__icon { width: 44px; height: 44px; font-size: 20px; }

    .price-table th,
    .price-table td { padding: 12px 16px; }
}

/* ===== Cookie Banner ===== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: var(--c-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ===== Dev Banner ===== */
.dev-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 998;
    background: var(--c-dark);
    border-top: 2px solid var(--c-teal);
    padding: 16px 0;
    animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.dev-banner__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.dev-banner__text {
    flex: 1;
    min-width: 0;
}

.dev-banner__title {
    font-size: 15px;
    font-weight: 700;
    color: var(--c-white);
    margin-bottom: 4px;
    letter-spacing: -0.02em;
}

.dev-banner__desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    letter-spacing: -0.005em;
    margin: 0;
}

.dev-banner__close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    border-radius: 50%;
    color: var(--c-white);
    font-size: 20px;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
}

.dev-banner__close:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: rotate(90deg);
}

@media (max-width: 768px) {
    .dev-banner {
        padding: 12px 0;
    }

    .dev-banner__content {
        gap: 12px;
    }

    .dev-banner__title {
        font-size: 14px;
    }

    .dev-banner__desc {
        font-size: 13px;
    }

    .dev-banner__close {
        width: 32px;
        height: 32px;
        font-size: 18px;
    }
}

.cookie-banner__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.cookie-banner__text {
    flex: 1;
    min-width: 0;
}

.cookie-banner__title {
    font-size: 15px;
    font-weight: 700;
    color: var(--c-white);
    margin-bottom: 6px;
    letter-spacing: -0.02em;
}

.cookie-banner__desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    letter-spacing: -0.005em;
    margin: 0;
}

.cookie-banner__link {
    color: var(--c-green);
    text-decoration: none;
    font-weight: 600;
    transition: color var(--transition);
}

.cookie-banner__link:hover {
    color: var(--c-mint);
    text-decoration: underline;
}

.cookie-banner__actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
    white-space: nowrap;
}

.cookie-banner__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.cookie-banner__btn--primary {
    background: var(--c-green);
    color: var(--c-dark);
    box-shadow: 0 4px 16px rgba(98, 235, 103, 0.3);
}

.cookie-banner__btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(98, 235, 103, 0.4);
}

.cookie-banner__btn--secondary {
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cookie-banner__btn--secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--c-white);
}

/* Mobile */
@media (max-width: 768px) {
    .cookie-banner {
        padding: 16px 0;
    }

    .cookie-banner__content {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .cookie-banner__title {
        font-size: 14px;
    }

    .cookie-banner__desc {
        font-size: 13px;
    }

    .cookie-banner__actions {
        width: 100%;
        gap: 10px;
    }

    .cookie-banner__btn {
        flex: 1;
        padding: 12px 16px;
        font-size: 13px;
    }
}

/* ===== Contacts Page Styles ===== */
.contacts-hero {
    text-align: center;
    margin-bottom: 48px;
}

.contacts-hero h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--c-dark);
    margin-bottom: 16px;
}

.contacts-hero p {
    font-size: 18px;
    color: var(--c-text-light);
}

.contacts-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.contacts-map {
    border-radius: var(--radius);
    overflow: hidden;
    border: 2px solid var(--c-teal);
    box-shadow: 0 4px 24px rgba(53, 188, 204, 0.15);
    transition: var(--transition);
    width: 100%;
    max-width: 550px;
    height: 400px;
}

.contacts-map:hover {
    box-shadow: 0 8px 32px rgba(53, 188, 204, 0.25);
    border-color: var(--c-green);
}

.contacts-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: none;
    transition: filter 0.3s ease;
}

.contacts-map:hover iframe {
    filter: brightness(1.02) contrast(1);
}

/* Yandex Maps Styles */
.contacts-map .ymaps-container {
    width: 100% !important;
    height: 100% !important;
    border-radius: 0 !important;
}

.contacts-map [style*="ymaps"] {
    border-radius: 0 !important;
}

.contacts-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
    padding: 32px;
    border-left: 4px solid #d42d2d;
    background: var(--c-white);
    border-radius: var(--radius-sm);
}

.contact-item {
    padding: 0;
    background: transparent;
    border-radius: 0;
    border: none;
    transition: var(--transition);
}

.contact-item:hover {
    /* hover effect removed */
}

.contact-item h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--c-dark);
    margin-bottom: 8px;
}

.contact-item p {
    color: var(--c-text);
    font-size: 15px;
    line-height: 1.6;
}

.contact-item a {
    color: var(--gradient-main);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.contact-item a:hover {
    text-decoration: underline;
}

@media (max-width: 1024px) {
    .contacts-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .contacts-hero h2 {
        font-size: 24px;
    }

    .contacts-hero p {
        font-size: 16px;
    }

    .contacts-map {
        min-height: 300px;
    }

    .contacts-info {
        gap: 24px;
    }

    .contact-item {
        padding: 20px;
    }

    .contact-item h3 {
        font-size: 14px;
    }

    .contact-item p,
    .contact-item a {
        font-size: 14px;
    }
}

/* Requisites Section */
.contacts-requisites {
    margin-top: 60px;
    padding: 40px;
    background: var(--c-white);
    border-radius: var(--radius);
    border: 1px solid var(--c-border);
    box-shadow: var(--shadow);
}

.contacts-requisites h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--c-dark);
    margin-bottom: 32px;
    position: relative;
    padding-bottom: 16px;
}

.contacts-requisites h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background: var(--gradient-main);
    border-radius: 2px;
}

.requisites-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.requisite-item {
    display: flex;
    flex-direction: column;
    padding: 16px;
    background: var(--c-bg);
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--c-teal);
    transition: var(--transition);
}

.requisite-item:hover {
    background: rgba(53, 188, 204, 0.08);
    border-left-color: var(--c-green);
    transform: translateX(4px);
}

.requisite-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--c-text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.requisite-value {
    font-size: 15px;
    font-weight: 600;
    color: var(--c-dark);
    line-height: 1.5;
}

@media (max-width: 768px) {
    .contacts-requisites {
        margin-top: 40px;
        padding: 24px;
    }

    .contacts-requisites h2 {
        font-size: 24px;
        margin-bottom: 24px;
    }

    .requisites-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .requisite-item {
        padding: 12px;
    }

    .requisite-label {
        font-size: 11px;
    }

    .requisite-value {
        font-size: 14px;
    }
}
