:root {
    --os-green: #50C475;
    --os-blue: #2196F3;
    --os-soft: #F3FFFF;
    --os-soft-2: #F6FFFF;
    --os-black: #000;
    --os-text: #444;
    --os-border: #dceeee;
}

.header__contact {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: .15rem;
    margin-left: 2rem;
}
.header__contact .header__phone { margin-left: 0; }
.header__callback { color: #444; font-size: .85rem; font-weight: 600; }

.button {
    border: 0;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.1;
    text-align: center;
}
.button--outline {
    color: #000;
    background: transparent;
    border: 2px solid var(--os-green);
}
.button--outline:hover { background: rgba(80,196,117,.1); opacity: 1; }
.button--light { color: #000; background: white; }

.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero__callback { margin-top: 1rem; color: #444; font-size: 1rem; font-weight: 600; }
.tag-dot { width: 18px; height: 18px; border-radius: 50%; background: white; flex: 0 0 auto; }
.hero__tag:nth-child(even) .tag-dot { background: var(--os-green); }

.home-section-heading { max-width: 860px; margin: 0 auto 3.6rem; text-align: center; }
.home-section-heading--left { margin-left: 0; text-align: left; }
.home-section-heading > span {
    display: inline-block;
    margin-bottom: .7rem;
    color: var(--os-green);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.home-section-heading h2 {
    margin: 0 0 1rem;
    color: #000;
    font-size: clamp(2rem, 4vw, 3.4rem);
    font-weight: 800;
    line-height: 1.08;
}
.home-section-heading p { margin: 0; color: #666; line-height: 1.55; }

.home-problems { padding: 6rem 0; background: white; }
.home-problems__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.home-problem {
    min-height: 230px;
    padding: 1.5rem;
    border: 1px solid var(--os-border);
    border-radius: .75rem;
    background: linear-gradient(180deg, #fff 0%, #F6FFFF 100%);
    box-shadow: 0 18px 45px rgba(0,0,0,.035);
}
.home-problem b { display: block; margin-bottom: 1.5rem; color: var(--os-green); font-size: 1.9rem; font-weight: 900; }
.home-problem h3 { margin: 0 0 .75rem; color: #000; font-size: 1.25rem; line-height: 1.2; }
.home-problem p { margin: 0; font-size: 1rem; line-height: 1.45; }

.home-benefits { background: #111; color: white; }
.home-benefits__wrapper { display: grid; grid-template-columns: repeat(4,1fr); }
.home-benefit { padding: 2.4rem 2rem; border-right: 1px solid rgba(255,255,255,.15); }
.home-benefit:last-child { border-right: 0; }
.home-benefit strong { display: block; margin-bottom: .45rem; color: var(--os-green); font-size: 2rem; font-weight: 900; }
.home-benefit span { display: block; color: rgba(255,255,255,.82); font-size: 1rem; line-height: 1.35; }

.services__item-title { margin: 0; }
.services__item-description { margin-top: .8rem; color: #666; font-size: 1rem; line-height: 1.45; }
.services__item-content { gap: 1.8rem; }
.services__item-button { border: 0; font-family: inherit; }
.services__price-note { margin: 2rem 0 0; color: #666; font-size: .95rem; text-align: center; }
.services .home-section-heading { margin-bottom: 3rem; }

.brands-section { padding: 6rem 0; background: #fff; }
.brands-section__wrapper { display: grid; grid-template-columns: .8fr 1.2fr; gap: 4rem; align-items: center; }
.brands-section .home-section-heading { margin-bottom: 0; }
.brand-chips { display: flex; flex-wrap: wrap; gap: .8rem; }
.brand-chips span {
    padding: 1rem 1.35rem;
    border: 1px solid var(--os-border);
    border-radius: 999px;
    color: #000;
    background: var(--os-soft);
    font-size: 1rem;
    font-weight: 800;
}
.brands-section__note { grid-column: 2; margin: -2.8rem 0 0; font-size: .82rem; color: #888; }

.about__text .button { margin-top: .5rem; }
.team .home-section-heading { margin-bottom: 3rem; }
.team__swiper-slide { position: relative; overflow: hidden; border-radius: .75rem; }
.team__swiper-slide span {
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    padding: .8rem 1rem;
    border-radius: .55rem;
    background: rgba(0,0,0,.72);
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
    text-align: center;
}

.steps__number--simple {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    border-radius: 25px 25px 25px 0;
    background: white;
    box-shadow: inset 4px 4px 20px rgba(210,217,230,.9), inset -4px 4px 20px rgba(255,255,255,.9);
}
.steps__number--simple span { color: var(--os-green); font-size: 2.5rem; font-weight: 900; }

.districts-section { padding: 6rem 0; background: linear-gradient(180deg,#fff 0%,#F3FFFF 100%); }
.districts-section__wrapper { display: grid; grid-template-columns: .9fr 1.1fr; gap: 4rem; align-items: center; }
.districts-section .home-section-heading { margin-bottom: 0; }
.districts { display: flex; flex-wrap: wrap; gap: .75rem; }
.districts span {
    padding: .85rem 1.2rem;
    border-radius: 999px;
    background: white;
    border: 1px solid var(--os-green);
    color: #000;
    font-size: 1rem;
    font-weight: 700;
}

.content-block__text a { color: var(--os-green); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.content-block__text--columns { display: grid; grid-template-columns: repeat(2,1fr); gap: 3rem; }

.final-cta { background: #151515; color: white; }
.final-cta__wrapper { display: flex; justify-content: space-between; gap: 3rem; align-items: center; padding-top: 4.5rem; padding-bottom: 4.5rem; }
.final-cta span { color: var(--os-green); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: .95rem; }
.final-cta h2 { margin: .5rem 0 .8rem; color: #fff; font-size: clamp(2rem,4vw,3.2rem); line-height: 1.05; }
.final-cta p { margin: 0; max-width: 680px; color: rgba(255,255,255,.75); line-height: 1.5; }
.final-cta__actions { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: flex-end; flex: 0 0 auto; }
.final-cta__actions .button { min-width: 220px; }

.form-error { padding: .75rem; border-radius: .5rem; background: #fff2f2; color: #9b1c1c; font-size: .9rem; }

.mobile-contact-bar { display: none; }

@media (max-width: 1199px) {
    .home-problems__grid { grid-template-columns: repeat(3,1fr); }
    .brands-section__wrapper, .districts-section__wrapper { grid-template-columns: 1fr; gap: 2rem; }
    .brands-section__note { grid-column: auto; margin: 0; }
    .final-cta__wrapper { flex-direction: column; align-items: flex-start; }
    .final-cta__actions { justify-content: flex-start; }
}
@media (max-width: 981px) {
    .header__contact { margin-left: 0; align-items: center; }
    .header__callback { display: none; }
    .home-benefits__wrapper { grid-template-columns: repeat(2,1fr); }
    .home-benefit:nth-child(2) { border-right: 0; }
    .home-benefit:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.15); }
    .content-block__text--columns { grid-template-columns: 1fr; gap: 1rem; }
}
@media (max-width: 849px) {
    .mobile-contact-bar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1000;
        display: grid;
        grid-template-columns: 1fr 1fr;
        min-height: 54px;
        box-shadow: 0 -5px 20px rgba(0,0,0,.2);
    }
    .mobile-contact-bar a, .mobile-contact-bar button {
        display: flex;
        align-items: center;
        justify-content: center;
        border: 0;
        color: white;
        background: var(--os-green);
        font: 800 1rem/1 "Gilroy", sans-serif;
    }
    .mobile-contact-bar button { background: var(--os-blue); }
    body { padding-bottom: 54px; }
}
@media (max-width: 720px) {
    .home-problems { padding: 4rem 0; }
    .home-problems__grid { grid-template-columns: 1fr; }
    .home-problem { min-height: auto; }
    .home-benefits__wrapper { grid-template-columns: 1fr; }
    .home-benefit { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.15); }
    .home-benefit:last-child { border-bottom: 0; }
    .brand-chips span, .districts span { font-size: .9rem; padding: .7rem 1rem; }
    .final-cta__actions { width: 100%; }
    .final-cta__actions .button { width: 100%; min-width: 0; }
    .hero__actions { justify-content: center; }
}
@media (max-width: 720px) {
    .header__inner {
        flex-wrap: nowrap;
        justify-content: space-between;
        padding: .7rem 16px;
        gap: .75rem;
    }
    .header__logo {
        gap: .45rem;
        font-size: 1.15rem;
        white-space: nowrap;
    }
    .header__logo svg { width: 42px; height: 35px; flex: 0 0 42px; }
    .header__contact { margin-left: auto; align-items: flex-end; }
    .header__contact .header__phone { font-size: 1rem; white-space: nowrap; }
    .hero__wrapper { padding-top: 2rem; }
    .hero__sticker { margin-bottom: 2rem; }
}
@media (max-width: 420px) {
    .header__logo { font-size: 1rem; }
    .header__logo svg { width: 36px; height: 30px; flex-basis: 36px; }
    .header__contact .header__phone { font-size: .88rem; }
}

/* v7: preserve the original proportions of the image in the home hero */
.hero__image {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-width: 0;
}
.hero__image img {
    display: block;
    width: 100%;
    max-width: 707px;
    height: auto !important;
    aspect-ratio: 707 / 434;
    object-fit: contain;
    object-position: center;
    margin-left: auto;
}
@media (max-width: 1199px) {
    .hero__image {
        width: 100%;
        justify-content: center;
    }
    .hero__image img {
        max-width: min(100%, 707px);
        margin-inline: auto;
    }
}

/* Logo text layout for full brand name */
.logo__text {
    display: inline-flex;
    flex-direction: column;
    line-height: 0.94;
    align-items: flex-start;
    gap: 0.08rem;
}
.logo__text span:last-child {
    font-size: 0.72em;
    letter-spacing: 0.03em;
}
.logo__text--single {
    justify-content: center;
}
.header__logo,
.footer__logo {
    line-height: 1;
}
@media (max-width: 720px) {
    .header__logo {
        white-space: normal;
        align-items: center;
    }
    .logo__text {
        gap: 0.02rem;
    }
    .logo__text span:last-child {
        font-size: 0.68em;
    }
}
@media (max-width: 420px) {
    .header__logo {
        font-size: .92rem;
    }
}


/* Contact layout without messaging apps */
.hero__phone-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}
.hero__phone-wrap .hero__phone { margin: 0; }
.mobile-contact-bar--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.final-cta__actions { display: flex; flex-wrap: wrap; gap: .85rem; }
@media (max-width: 720px) {
    .final-cta__actions { width: 100%; display: grid; grid-template-columns: 1fr; }
    .final-cta__actions .button { width: 100%; }
}
