/* Umid Clean — landing styles (companion to Tailwind utilities)
   Layout: 1280px container, light sky hero with photo bleed, white cards on a pale-blue paper ground. */
:root {
    --brand: #0B5CF0;
    --brand-dark: #0847BD;
    --deep: #0B3FB0;
    --navy: #0A1F4D;
    --accent: #CC6200;
    --accent-dark: #A84F00;
    --ink: #0E1A33;
    --muted: #4A5878;
    --line: #E3E9F4;
    --sky: #EAF2FF;
    --paper: #F3F7FD;
    --tint: #E8F0FF;
    --font-display: 'Unbounded', 'Manrope', system-ui, sans-serif;
    --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
    color-scheme: light;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-body);
}

h1,
h2,
h3 {
    text-wrap: balance;
}

img {
    max-width: 100%;
}

[hidden] {
    display: none !important;
}

:focus-visible {
    outline: 3px solid var(--brand);
    outline-offset: 2px;
    border-radius: 6px;
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -60px;
    z-index: 100;
    background: var(--navy);
    color: #fff;
    padding: 12px 18px;
    border-radius: 10px;
    font-weight: 700;
}

.skip-link:focus {
    top: 12px;
}

/* ---------- Header ---------- */
.site-header {
    top: env(safe-area-inset-top, 0px);
}

.site-header.is-scrolled {
    box-shadow: 0 6px 24px rgba(10, 31, 77, 0.08);
}

.nav-link {
    position: relative;
    color: #33415F;
    padding: 8px 0;
    transition: color .2s;
}

.nav-link:hover {
    color: var(--brand);
}

.nav-link.is-active {
    color: var(--brand);
}

.nav-link.is-active::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    border-radius: 2px;
    background: var(--brand);
}

.mobile-menu .menu-panel {
    animation: slideIn .25s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
    }

    to {
        transform: none;
    }
}

/* ---------- Buttons ---------- */
.btn-accent,
.btn-outline,
.btn-line {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 14px;
    font-weight: 800;
    transition: background-color .2s, color .2s, transform .15s, box-shadow .2s;
    cursor: pointer;
}

.btn-accent {
    background: var(--accent);
    color: #fff;
    border: 0;
}

.btn-accent:hover {
    background: var(--accent-dark);
    color: #fff;
}

.btn-accent:active,
.btn-outline:active,
.btn-line:active {
    transform: translateY(1px);
}

.btn-outline {
    background: #fff;
    color: var(--brand);
    border: 2px solid var(--brand);
}

.btn-outline:hover {
    background: var(--brand);
    color: #fff;
}

.btn-line {
    width: 100%;
    background: #fff;
    color: var(--brand);
    border: 2px solid var(--brand);
    font-size: 16px;
}

.btn-line:hover {
    background: var(--brand);
    color: #fff;
}

.chip {
    height: 40px;
    padding: 0 16px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #D5DEEE;
    color: var(--navy);
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: border-color .2s, color .2s;
}

.chip:hover {
    border-color: var(--brand);
    color: var(--brand);
}

/* ---------- Hero ---------- */
.hero-fade {
    background: linear-gradient(180deg, rgba(234, 242, 255, 0) 55%, var(--sky) 100%);
}

@media (min-width: 1024px) {
    .hero-fade {
        background: linear-gradient(90deg, var(--sky) 0%, rgba(234, 242, 255, .75) 18%, rgba(234, 242, 255, 0) 42%);
    }
}

/* ---------- Sections ---------- */
.section {
    padding-top: 64px;
}

@media (min-width: 1024px) {
    .section {
        padding-top: 96px;
    }
}

.section-band {
    margin-top: 64px;
    padding-block: 44px;
}

@media (min-width: 1024px) {
    .section-band {
        margin-top: 96px;
        padding-block: 72px;
    }
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}

@media (min-width: 1024px) {
    .section-head {
        margin-bottom: 36px;
    }
}

.section-title {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--navy);
    font-size: 25px;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

@media (min-width: 640px) {
    .section-title {
        font-size: 32px;
    }
}

@media (min-width: 1024px) {
    .section-title {
        font-size: 38px;
    }
}

.title-bar {
    display: block;
    width: 56px;
    height: 4px;
    border-radius: 2px;
    background: var(--accent);
    margin-top: 10px;
}

.ring-deco {
    position: absolute;
    border-radius: 50%;
    border-style: solid;
    border-color: rgba(255, 255, 255, .06);
    pointer-events: none;
}

/* ---------- Features ---------- */
.feature-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #fff;
    border-radius: 18px;
    padding: 14px;
    box-shadow: 0 14px 36px rgba(10, 31, 77, .10);
    font-size: 13px;
    line-height: 1.3;
}

.feature-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon svg {
    width: 22px;
    height: 22px;
}

@media (min-width: 1024px) {
    .feature-card {
        flex-direction: row;
        align-items: center;
        gap: 16px;
        padding: 22px 24px;
        border-radius: 20px;
        font-size: 16px;
    }

    .feature-icon {
        width: 58px;
        height: 58px;
    }

    .feature-icon svg {
        width: 28px;
        height: 28px;
    }
}

@media (max-width: 1023px) {
    .feature-card {
        margin-top: 0;
    }

    section[aria-label="Наши преимущества"] {
        padding-top: 20px;
    }
}

/* ---------- Services ---------- */
.service-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(10, 31, 77, .06);
    transition: transform .2s, box-shadow .2s;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(10, 31, 77, .12);
}

.service-photo {
    position: relative;
    height: 100px;
}

.service-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s;
}

.service-card:hover .service-photo img {
    transform: scale(1.05);
}

.badge-hit {
    position: absolute;
    right: 10px;
    top: 10px;
    padding: 5px 9px;
    border-radius: 8px;
    background: var(--accent);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
}

.service-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 0 12px 12px;
    flex-grow: 1;
}

.service-icon {
    position: relative;
    width: 44px;
    height: 44px;
    margin-top: -22px;
    border-radius: 50%;
    background: #fff;
    color: var(--brand);
    box-shadow: 0 6px 16px rgba(10, 31, 77, .15);
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon svg {
    width: 22px;
    height: 22px;
}

.service-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 14px;
    line-height: 1.3;
}

.service-text {
    display: none;
    font-size: 14px;
    line-height: 1.55;
    color: var(--muted);
    flex-grow: 1;
}

.service-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid var(--line);
}

.price {
    font-size: 14px;
    color: var(--brand);
    white-space: nowrap;
}

.service-go {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--tint);
    color: var(--brand);
    border: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color .2s, color .2s;
}

.service-go svg {
    width: 18px;
    height: 18px;
}

.service-go:hover {
    background: var(--brand);
    color: #fff;
}

@media (min-width: 640px) {
    .service-photo {
        height: 140px;
    }

    .service-body {
        padding: 0 20px 20px;
        gap: 10px;
    }

    .service-icon {
        width: 56px;
        height: 56px;
        margin-top: -28px;
    }

    .service-icon svg {
        width: 26px;
        height: 26px;
    }

    .service-title {
        font-size: 18px;
    }

    .service-text {
        display: block;
    }

    .price {
        font-size: 18px;
    }

    .service-go {
        width: 44px;
        height: 44px;
    }

    .service-card {
        border-radius: 22px;
    }
}

/* ---------- Problems ---------- */
.problem-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
    background: #F7F9FD;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 18px 10px;
}

.problem-tile b {
    font-size: 15px;
    font-weight: 800;
}

.problem-tile span {
    font-size: 13px;
    line-height: 1.4;
    color: var(--muted);
}

/* ---------- Before / after slider ---------- */
.ba {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    --pos: 50%;
    user-select: none;
}

.ba-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ba-before {
    position: absolute;
    inset: 0;
    clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}

.ba-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--pos);
    width: 3px;
    margin-left: -1.5px;
    background: #fff;
    pointer-events: none;
}

.ba-knob {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 44px;
    height: 44px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: var(--brand);
    color: #fff;
    border: 3px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .25);
}

.ba-knob svg {
    width: 20px;
    height: 20px;
}

.ba-knob-lg {
    width: 60px;
    height: 60px;
    background: #fff;
    color: var(--brand);
    border: 0;
}

.ba-knob-lg svg {
    width: 26px;
    height: 26px;
}

.ba-tag {
    position: absolute;
    bottom: 12px;
    padding: 5px 14px;
    border-radius: 999px;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    pointer-events: none;
}

.ba-range {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: ew-resize;
    margin: 0;
}

.ba:has(.ba-range:focus-visible) {
    outline: 3px solid var(--brand);
    outline-offset: 3px;
}

/* ---------- Why us ---------- */
.why-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
}

.why-item b {
    font-size: 12px;
    font-weight: 800;
    line-height: 1.3;
}

.why-item>span:last-child {
    display: none;
    font-size: 13px;
    color: #C9D8FF;
}

.why-icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .2);
}

.why-icon svg {
    width: 26px;
    height: 26px;
}

@media (min-width: 1024px) {
    .why-item {
        gap: 14px;
    }

    .why-item b {
        font-size: 16px;
    }

    .why-item>span:last-child {
        display: block;
    }

    .why-icon {
        width: 84px;
        height: 84px;
    }

    .why-icon svg {
        width: 38px;
        height: 38px;
    }
}

/* ---------- Steps ---------- */
.step-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 26px 22px 22px;
}

.step-num {
    position: absolute;
    left: -8px;
    top: -10px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--brand);
    color: #fff;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-num.bg-accent {
    background: var(--accent);
}

.step-icon {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-icon svg {
    width: 30px;
    height: 30px;
}

/* ---------- Prices ---------- */
.price-card {
    display: flex;
    flex-direction: column;
    gap: 18px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 26px;
    padding: 26px;
}

.price-card.border-2 {
    border: 2px solid var(--brand);
}

.price-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-grow: 1;
    font-size: 15px;
    font-variant-numeric: tabular-nums;
}

.price-list li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px dashed #D5DEEE;
}

.price-list li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.price-list b {
    white-space: nowrap;
}

/* ---------- Works ---------- */
.work-tile {
    display: block;
    padding: 0;
    border: 0;
    border-radius: 14px;
    overflow: hidden;
    cursor: zoom-in;
    background: var(--line);
}

.work-tile img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    display: block;
    transition: transform .4s;
}

.work-tile:hover img {
    transform: scale(1.06);
}

@media (min-width: 640px) {
    .work-tile {
        border-radius: 18px;
    }

    .work-tile img {
        height: 170px;
    }
}

/* ---------- Reviews ---------- */
.reviews-track {
    scrollbar-width: none;
}

.reviews-track::-webkit-scrollbar {
    display: none;
}

.review-card {
    flex: 0 0 85%;
    scroll-snap-align: start;
    display: flex;
    gap: 16px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 22px;
}

@media (min-width: 640px) {
    .review-card {
        flex-basis: calc(50% - 8px);
    }
}

@media (min-width: 1024px) {
    .review-card {
        flex-basis: calc((100% - 48px) / 3);
        padding: 28px;
    }
}

.review-card p {
    font-size: 15px;
    line-height: 1.6;
    color: #33415F;
}

.review-card b {
    font-size: 15px;
}

.avatar {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    border-radius: 50%;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stars {
    color: #E08A00;
    letter-spacing: 2px;
    font-size: 16px;
}

.review-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--muted);
}

.review-meta svg {
    width: 14px;
    height: 14px;
    color: var(--brand);
}

.slider-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity .2s;
}

.slider-btn svg {
    width: 18px;
    height: 18px;
}

.slider-btn:disabled {
    opacity: .4;
    cursor: default;
}

/* ---------- FAQ ---------- */
.faq-item {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    overflow: hidden;
}

.faq-q {
    width: 100%;
    min-height: 60px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border: 0;
    background: transparent;
    text-align: left;
    font-size: 15px;
    font-weight: 800;
    color: var(--ink);
    cursor: pointer;
}

@media (min-width: 1024px) {
    .faq-q {
        font-size: 16px;
        padding: 16px 22px;
    }
}

.faq-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--brand);
    flex-shrink: 0;
}

.faq-sign {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--tint);
    color: var(--brand);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .25s, background-color .2s, color .2s;
}

.faq-sign svg {
    width: 16px;
    height: 16px;
}

.faq-item.is-open .faq-sign {
    transform: rotate(45deg);
    background: var(--brand);
    color: #fff;
}

.faq-a p {
    padding: 0 20px 20px 38px;
    font-size: 15px;
    line-height: 1.6;
    color: var(--muted);
}

/* ---------- Order form ---------- */
.field {
    height: 54px;
    width: 100%;
    border-radius: 14px;
    border: 2px solid transparent;
    background: #fff;
    padding: 0 16px;
    font-size: 16px;
    color: var(--ink);
}

.field:focus {
    outline: none;
    border-color: #F5A623;
}

.field.is-invalid {
    border-color: #FF8A5C;
}

.cta-roll {
    -webkit-mask-image: linear-gradient(200deg, #000 40%, transparent 85%);
    mask-image: linear-gradient(200deg, #000 40%, transparent 85%);
}

@media (min-width: 640px) {
    .cta-roll {
        -webkit-mask-image: linear-gradient(90deg, transparent, #000 40%);
        mask-image: linear-gradient(90deg, transparent, #000 40%);
    }
}

/* ---------- Footer ---------- */
.foot-link {
    color: #C3D0EC;
    transition: color .2s;
}

.foot-link:hover {
    color: #fff;
}

.social {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color .2s;
}

.social:hover {
    background: var(--brand);
    color: #fff;
}

.social svg {
    width: 20px;
    height: 20px;
}

/* ---------- Quick buttons ---------- */
.quick-desktop {
    bottom: calc(28px + env(safe-area-inset-bottom, 0px));
}

.quick-mobile {
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
}

.quick-round {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 24px rgba(10, 31, 77, .3);
    transition: transform .2s;
}

.quick-round:hover {
    transform: scale(1.06);
    color: #fff;
}

.quick-round svg {
    width: 26px;
    height: 26px;
}

.quick-pulse {
    position: relative;
}

.quick-pulse::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid #15803D;
    animation: pulse 2s ease-out infinite;
}

@keyframes pulse {
    from {
        transform: scale(1);
        opacity: .7;
    }

    to {
        transform: scale(1.6);
        opacity: 0;
    }
}

/* ---------- Modal ---------- */
#appModal {
    animation: fadeIn .2s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal-content {
    animation: slideUp .25s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-backdrop {
    animation: fadeIn .2s ease-out;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
}