* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Manrope', sans-serif;
    color: #222;
    background: #f5f5f5;
}

.container {
    width: 100%;
    max-width: 1760px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ===== HEADER ===== */

.header {
    padding: 24px 0;
    background: transparent;
    border-bottom: none;
}

.header .container {
    max-width: 1760px;
    margin: 0 auto;
    padding: 0 24px;
    display: block;
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    border-radius: 24px;
    padding: 24px 40px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
}

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

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo img {
    display: block;
    height: 64px;
    width: auto;
}

.menu {
    display: flex;
    gap: 28px;
    flex-wrap: nowrap;
    margin: 0;
}

.menu a {
    text-decoration: none;
    color: #222;
    font-size: 16px;
    font-weight: 500;
}

.menu a:hover {
    color: #2f6b2f;
}

.header__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: nowrap;
}

.header__search {
    width: 170px;
    height: 44px;
    padding: 0 16px;
    border: 1px solid #d8d8d8;
    border-radius: 12px;
    outline: none;
    font-size: 15px;
    font-family: 'Manrope', sans-serif;

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.35-4.35'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px 16px;
    padding-right: 36px;
}

.header__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 22px;
    border-radius: 12px;
    text-decoration: none;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
}

.header__btn--green {
    background: #59cf2f;
}

.header__btn--blue {
    background: #3b82f6;
}

/* ===== MAIN ===== */

.main {
    min-height: 906px;
    max-width: 1760px;
    margin: 0 auto;
    padding: 24px 24px 40px;
    background: transparent;
}

/* ===== HERO ===== */

.hero {
    background:
        linear-gradient(
            90deg,
            rgba(63,111,68,0.84) 0%,
            rgba(63,111,68,0.72) 34%,
            rgba(63,111,68,0.46) 62%,
            rgba(63,111,68,0.24) 100%
        ),
        url("./images/hero.jpg") center/cover no-repeat;

    border-radius: 32px;
    color: #fff;

    padding: 56px 64px 34px;

    min-height: 720px;
    overflow: hidden;
}

.hero__content {
    width: 100%;
    max-width: none;
}

.hero__title {
    margin: 0 0 24px;

    max-width: 1408px;

    font-family: 'Manrope', sans-serif;
    font-size: 64px;
    font-weight: 700;

    line-height: 1.1;

    letter-spacing: 0;

    color: #ffffff;
}

.hero__title span {
    color: #3ECE1B;
}

.hero__text {
    margin: 0 0 40px;

    max-width: 1408px;

    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 500;

    line-height: 1.4;

    color: rgba(255,255,255,0.9);
}

/* ===== HERO CARDS ===== */

.hero__cards-scroll {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    margin-bottom: 14px;
    padding-bottom: 8px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-snap-type: x mandatory;

    border-top-right-radius: 32px;
    border-bottom-right-radius: 32px;
}

.hero__cards-scroll::-webkit-scrollbar {
    display: none;
}

.hero__cards-track {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: stretch;
    gap: 18px;
    width: max-content;
    min-width: 100%;
}

.hero__cards-track > .hero-card {
    display: block !important;
    flex: 0 0 360px !important;
    width: 360px !important;
    min-width: 360px !important;
    max-width: 360px !important;
    min-height: 180px;
    margin: 0 !important;
    padding: 24px 24px 18px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.94);
    color: #222;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    scroll-snap-align: start;
}

.hero__cards-track > .hero-card h3 {
    margin: 0 0 16px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.25;
}

.hero__cards-track > .hero-card ul {
    margin: 0;
    padding-left: 18px;
    display: grid;
    grid-template-rows: repeat(3, minmax(44px, auto));
    row-gap: 14px;
}

.hero__cards-track > .hero-card li {
    margin: 0px;
    font-size: 15px;
    line-height: 1.45;
}

/* ===== DOTS ===== */

.hero__dots {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    padding-left: 8px;
}

.hero__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
}

.hero__dot--active {
    width: 34px;
    border-radius: 999px;
    background: #fff;
}

/* ===== HERO BOTTOM ===== */

.hero__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 18px 24px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.96);
}

.hero__button {
    display: inline-block;
    min-width: 340px;
    padding: 16px 28px;
    border-radius: 14px;
    background: #63d632;
    color: #fff;
    text-align: center;
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
}

.hero__contacts {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    color: #0862AC;
    font-size: 16px;
    font-weight: 500;
}

/* ===== WHY ===== */

.why-shell {
    width: 100%;
    margin-top: 48px;
    margin-bottom: 56px;
    padding: 0;
}

.why {
    background: #fff;
    border-radius: 32px;
    padding: 48px 40px 56px;
}

.why__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
}

.why__left {
    flex: 1 1 720px;
    max-width: 760px;
}

.why__eyebrow {
    margin: 0 0 28px;
    font-family: 'Manrope', sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    color: #0862AC;
}

.why__title {
    margin: 0 0 28px;
    font-family: 'Manrope', sans-serif;
    font-size: 48px;
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: 0;
    color: #000;
    max-width: 760px;
}

.why__text {
    margin: 0;
    max-width: 760px;
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.45;
    color: #222;
}

.why__right {
    display: flex;
    align-items: stretch;
    gap: 20px;
    flex: 0 0 auto;
}

.why-card {
    width: 248px;
    min-height: 156px;
    padding: 24px 22px;
    border-radius: 24px;
    background: #66A8F0;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.why-card__icon {
    margin-bottom: 18px;
    color: #fff;
    line-height: 0;
}

.why-card__icon svg {
    width: 40px;
    height: 40px;
    display: block;
}

.why-card__title {
    margin: 0;
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.25;
    color: #fff;
}


/* ===== FOOTER ===== */

.footer {
    margin-top: 64px;
    background: #1a3d1a;
    color: #fff;
}

.footer__container {
    max-width: 1760px;
    margin: 0 auto;
    padding: 0 40px;
}

.footer__top {
    padding: 56px 0 48px;
}

.footer__top .footer__container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.footer__logo {
    height: 52px;
    width: auto;
    margin-bottom: 16px;
    display: block;
    filter: brightness(0) invert(1);
}

.footer__desc {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    line-height: 1.6;
    margin: 0;
    max-width: 360px;
}

.footer__nav-title {
    font-family: 'Manrope', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0 0 16px;
}

.footer__nav-list,
.footer__contacts-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer__nav-list a,
.footer__contacts-list a,
.footer__contacts-list li {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    line-height: 1.4;
}

.footer__nav-list a:hover,
.footer__contacts-list a:hover {
    color: #63d632;
}

.footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
}

.footer__bottom .footer__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.footer__copy {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: rgba(255,255,255,0.4);
    margin: 0;
}

.footer__legal {
    display: flex;
    gap: 24px;
}

.footer__legal a {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: rgba(255,255,255,0.4);
    text-decoration: none;
}

.footer__legal a:hover {
    color: rgba(255,255,255,0.7);
}

@media (max-width: 1024px) {
    .footer__top .footer__container {
        grid-template-columns: 1fr 1fr;
    }
    .footer__brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .footer__container {
        padding: 0 20px;
    }
    .footer__top .footer__container {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .footer__bottom .footer__container {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}


/* ===== ADAPTIVE ===== */

@media (max-width: 1200px) {
    .header__inner {
        flex-wrap: wrap;
    }

    .menu {
        order: 3;
        width: 100%;
    }

    .hero__title {
        font-size: 56px;
        line-height: 1.15;
    }

    .hero__bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero__button {
        min-width: 240px;
    }

    .hero__cards-track > .hero-card {
        flex: 0 0 320px !important;
        width: 320px !important;
        min-width: 320px !important;
        max-width: 320px !important;
    }

    .why__inner {
        flex-direction: column;
    }

    .why__right {
        flex-wrap: wrap;
        padding-top: 0;
    }
}

@media (max-width: 768px) {
    .main {
        padding: 20px 14px 30px;
    }

    .hero {
        padding: 32px 20px 24px;
        min-height: auto;
    }

    .hero__title {
        font-size: 38px;
        line-height: 1.1;
    }

    .hero__text {
        max-width: 100%;
        font-size: 16px;
    }

    .hero__cards-track > .hero-card {
        flex: 0 0 280px !important;
        width: 280px !important;
        min-width: 280px !important;
        max-width: 280px !important;
        min-height: 160px;
    }

    .header__actions {
        width: 100%;
        flex-wrap: wrap;
    }

    .header__search {
        width: 100%;
    }

    .why-shell {
        padding: 0 14px;
        margin-bottom: 40px;
    }

    .why {
        padding: 32px 20px 36px;
    }

    .why__title {
        font-size: 30px;
    }

    .why__right {
        gap: 14px;
    }

    .why-card {
        width: 100%;
        min-height: auto;
    }
}


/* ===== GREEN BANNER ===== */

.green-banner-shell {
    width: 100%;
    margin-top: 48px;
}

.green-banner {
    background:
        linear-gradient(
            90deg,
            rgba(63, 111, 68, 0.82) 0%,
            rgba(63, 111, 68, 0.70) 40%,
            rgba(63, 111, 68, 0.50) 70%,
            rgba(63, 111, 68, 0.30) 100%
        ),
        url("./images/hero.jpg") center/cover no-repeat;
    border-radius: 32px;
    padding: 64px 64px;
    min-height: 160px;
    display: flex;
    align-items: center;
}

.green-banner__title {
    margin: 0;
    max-width: 700px;
    font-family: 'Manrope', sans-serif;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
    text-align: left;
}

@media (max-width: 1200px) {
    .green-banner {
        padding: 56px 40px;
    }
    .green-banner__title {
        font-size: 34px;
    }
}

@media (max-width: 768px) {
    .green-banner-shell {
        padding: 0 14px;
    }
    .green-banner {
        padding: 40px 24px;
        border-radius: 24px;
        min-height: auto;
    }
    .green-banner__title {
        font-size: 26px;
        line-height: 1.25;
    }
}

/* ===== PAGE CONTENT (внутренние страницы) ===== */

.page-content {
    background: #fff;
    border-radius: 32px;
    padding: 56px 64px;
    margin-bottom: 48px;
}

.page-content h1 {
    font-family: 'Manrope', sans-serif;
    font-size: 48px;
    font-weight: 700;
    line-height: 1.15;
    color: #000;
    margin: 0 0 32px;
}

.page-content h2 {
    font-family: 'Manrope', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #0862AC;
    margin: 48px 0 20px;
}

.page-content p {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
    color: #333;
    margin: 0 0 20px;
    max-width: 820px;
}

.contact-block {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 40px;
}

.contact-item {
    background: #f0f7ff;
    border-radius: 20px;
    padding: 28px 32px;
    min-width: 220px;
}

.contact-item__label {
    font-size: 13px;
    font-weight: 600;
    color: #0862AC;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 8px;
}

.contact-item__value {
    font-family: 'Manrope', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #222;
}

.contact-item__value a {
    color: #222;
    text-decoration: none;
}

.contact-item__value a:hover {
    color: #0862AC;
}

@media (max-width: 768px) {
    .page-content {
        padding: 32px 20px;
        border-radius: 24px;
    }
    .page-content h1 {
        font-size: 32px;
    }
    .page-content h2 {
        font-size: 22px;
    }
    .page-content p {
        font-size: 16px;
    }
}

/* ===== SERVICES CARDS ===== */

.services-shell {
    margin-top: 32px;
}

.services-wrapper {
    background: #fff;
    border-radius: 32px;
    padding: 40px 40px 32px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.service-card {
    display: flex;
    flex-direction: column;
    padding: 0 28px 0 0;
}

.service-card:not(:first-child) {
    padding: 0 28px 0 28px;
}

.service-card:last-child {
    padding-right: 0;
}

.service-card__header {
    background: #EBF3FF;
    border-radius: 16px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.service-card__icon {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    color: #5DA8FF;
}

.service-card__icon svg,
.service-card__icon img {
    width: 52px;
    height: 52px;
}

.service-card__title {
    font-family: 'Manrope', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: #000;
    margin: 0;
    line-height: 1.3;
}

.service-card__body {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: #333;
    line-height: 1.5;
    margin: 0 0 12px;
    flex-grow: 1;
}

.service-card__list {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.service-card__list li {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: #222;
    line-height: 1.4;
    padding-left: 24px;
    position: relative;
}

.service-card__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2.5px solid #2FB80E;
    background: transparent;
}

.service-card__tag {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #555;
    background: #f2f2f2;
    border-radius: 20px;
    padding: 8px 18px;
    margin-top: auto;
    align-self: flex-start;
}

.services-join {
    margin-top: 32px;
    padding-top: 28px;
    border-top: 1px solid #eeeeee;
}

.services-join__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 52px;
    padding: 0 48px;
    background: #63d632;
    color: #fff;
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 700;
    border-radius: 14px;
    text-decoration: none;
    min-width: 280px;
}

@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    .service-card,
    .service-card:not(:first-child),
    .service-card:last-child {
        padding: 0;
        border-left: none;
    }
    .service-card:nth-child(n+3) {
        border-top: 1px solid #e8e8e8;
        padding-top: 24px;
    }
}

@media (max-width: 768px) {
    .services-wrapper {
        padding: 24px 20px 20px;
        border-radius: 24px;
    }
    .services-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .service-card:nth-child(n+2) {
        border-top: 1px solid #e8e8e8;
        padding-top: 24px;
    }
    .services-join__btn {
        width: 100%;
    }
}

/* ===== REVIEWS ===== */

.reviews-shell {
    margin-top: 32px;
}

.reviews-wrapper {
    background: #fff;
    border-radius: 48px;
    padding: 48px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.06);
}

.reviews-title {
    font-family: 'Manrope', sans-serif;
    font-size: 40px;
    font-weight: 700;
    color: #000;
    margin: 0 0 32px;
    line-height: 1.2;
}

.reviews-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.review-card {
    background: #F2F5F0;
    border-radius: 24px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.review-card--wide {
    grid-column: 1 / -1;
}

.review-stars {
    display: block;
    margin-bottom: 2px;
}

.review-author {
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #000;
}

.review-tag {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #555;
    background: #EFEFEF;
    border-radius: 20px;
    padding: 5px 14px;
    align-self: flex-start;
}

.review-text {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: #333;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .reviews-wrapper {
        padding: 28px 20px;
        border-radius: 28px;
    }
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    .review-card--wide {
        grid-column: 1;
    }
    .reviews-title {
        font-size: 28px;
    }
}

/* ===== MATERIALS ===== */

.materials-shell {
    margin-top: 48px;
}

.materials-header {
    margin-bottom: 32px;
}

.materials-title {
    font-family: 'Manrope', sans-serif;
    font-size: 40px;
    font-weight: 700;
    color: #000;
    margin: 0 0 12px;
    line-height: 1.2;
}

.materials-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    color: #555;
    margin: 0;
    max-width: 560px;
    line-height: 1.5;
}

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

.material-card {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.material-card__img {
    width: 100%;
    height: 280px;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
}

.material-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
    display: block;
}

.material-card__body {
    padding: 20px 24px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 8px;
}

.material-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.material-tag {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: #555;
    background: #F0F0F0;
    border-radius: 20px;
    padding: 4px 12px;
}

.material-card__title {
    font-family: 'Manrope', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: #000;
    margin: 0;
    line-height: 1.3;
}

.material-card__label {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 700;
    color: #0862AC;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.material-card__text {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #555;
    line-height: 1.55;
    margin: 0;
    flex: 1;
}

.material-card__link {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #0862AC;
    text-decoration: none;
    margin-top: auto;
}

.material-card__link:hover {
    text-decoration: underline;
}

.materials-footer {
    margin-top: 32px;
}

.materials-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 52px;
    padding: 0 40px;
    background: #63d632;
    color: #fff;
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 700;
    border-radius: 14px;
    text-decoration: none;
}

@media (max-width: 1200px) {
    .materials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .materials-title {
        font-size: 28px;
    }
    .materials-grid {
        grid-template-columns: 1fr;
    }
    .material-card__img {
        height: 260px;
    }
}

/* ===== CONTACT BANNER ===== */

.contact-banner-shell {
    margin-top: 48px;
    margin-bottom: 48px;
}

.contact-banner {
    border-radius: 32px;
    overflow: hidden;
    min-height: 280px;
    background:
        linear-gradient(
            90deg,
            rgba(10, 50, 20, 0.95) 0%,
            rgba(10, 50, 20, 0.85) 30%,
            rgba(10, 50, 20, 0.40) 55%,
            rgba(10, 50, 20, 0.0) 75%
        ),
        url('/images/contact-banner.jpg') center top/cover no-repeat;
    display: flex;
    align-items: center;
    padding: 40px 64px;
}

.contact-banner__left {
    max-width: 62%;
    width: 62%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-banner__title {
    font-family: 'Manrope', sans-serif;
    font-size: 52px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.15;
    text-align: justify;
    text-align-last: justify;
    max-width: 100%;
    width: 100%;
}

.contact-banner__text {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: rgba(255,255,255,0.85);
    line-height: 1.6;
    margin: 0;
    width: 100%;
    text-align: justify;
}

.contact-form-wrap {
    background: rgba(255,255,255,0.12);
    border-radius: 24px;
    padding: 24px;
    margin-top: 8px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-form__input {
    height: 56px;
    padding: 0 20px;
    border: none;
    border-radius: 16px;
    background: rgba(255,255,255,0.92);
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: #333;
    outline: none;
    width: 100%;
    box-sizing: border-box;
}

.contact-form__input::placeholder {
    color: #999;
}

.contact-form__btn {
    height: 56px;
    border: none;
    border-radius: 16px;
    background: #63d632;
    color: #fff;
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
}

.contact-form__btn:hover {
    background: #55c028;
}

@media (max-width: 768px) {
    .contact-banner {
        padding: 40px 24px;
        border-radius: 24px;
    }
    .contact-banner__title {
        font-size: 34px;
    }
    .contact-banner__left {
        max-width: 100%;
    }
}

/* ===== TEAM CAROUSEL ===== */

.team-shell {
    margin-top: 48px;
}

.team-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 32px;
}

.team-title {
    font-family: 'Manrope', sans-serif;
    font-size: 40px;
    font-weight: 700;
    color: #000;
    margin: 0 0 10px;
    line-height: 1.2;
}

.team-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: #555;
    margin: 0;
    max-width: 480px;
}

.team-header__btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    padding: 0 28px;
    background: #5DA8FF;
    color: #fff;
    font-family: 'Manrope', sans-serif;
    font-size: 15px;
    font-weight: 600;
    border-radius: 14px;
    text-decoration: none;
    margin-top: 8px;
}

.team-carousel-wrap {
    background: #F0F5F0;
    border-radius: 32px;
    padding: 32px 32px 24px;
}

.team-carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 8px;
}

.team-carousel::-webkit-scrollbar {
    display: none;
}

.team-card {
    flex: 0 0 300px;
    min-width: 300px;
    scroll-snap-align: start;
    background: #fff;
    border-radius: 20px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.team-card__photo {
    width: 100%;
    height: 260px;
    border-radius: 14px;
    overflow: hidden;
    background: #e8e8e8;
    margin-bottom: 8px;
}

.team-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.team-card__name {
    font-family: 'Manrope', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #000;
    margin: 0;
}

.team-card__role {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #555;
    margin: 0;
}

.team-card__exp {
    font-family: 'Manrope', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #000;
    margin: 0;
}

.team-card__spec-label {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: #888;
    margin: 4px 0 2px;
}

.team-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.team-tag {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    color: #444;
    background: #F0F0F0;
    border-radius: 12px;
    padding: 3px 10px;
}

.team-dots {
    display: flex;
    gap: 8px;
    margin-top: 20px;
    padding-left: 4px;
}

.team-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0,0,0,0.15);
    cursor: pointer;
    transition: all 0.2s;
}

.team-dot--active {
    width: 32px;
    border-radius: 999px;
    background: #2FB80E;
}

/* ===== ABOUT PAGE ===== */

.about-page { padding: 0; display: flex; flex-direction: column; gap: 24px; }
.about-accent { color: #2FB80E; }

.about-hero {
    border-radius: 32px;
    overflow: hidden;
    background:
        linear-gradient(
            90deg,
            rgba(10, 40, 15, 0.88) 0%,
            rgba(10, 40, 15, 0.75) 40%,
            rgba(10, 40, 15, 0.35) 65%,
            rgba(10, 40, 15, 0.0) 85%
        ),
        url('/local/templates/happy_main/images/hero.jpg') center 30% / cover no-repeat;
    padding: 56px 64px;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-hero__title {
    font-family: 'Manrope', sans-serif;
    font-size: 48px;
    font-weight: 700;
    line-height: 1.15;
    color: #fff;
    margin: 0 0 16px;
    max-width: 1100px;
}

.about-accent {
    color: #63d632;
}

.about-hero__sub {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    margin: 0;
    line-height: 1.6;
    max-width: 540px;
}

.about-founder { display: grid; grid-template-columns: 1fr 1.5fr; gap: 24px; align-items: stretch; margin: 48px 0; }
.about-founder__photo { border-radius: 28px; overflow: hidden; min-height: 600px; }
.about-founder__photo img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center top; }
.about-founder__text { display: flex; flex-direction: column; gap: 16px; }

.about-text-block { background: #fff; border-radius: 16px; padding: 28px 32px; display: flex; flex-direction: column; gap: 14px; }
.about-text-block p { font-family: 'Inter', sans-serif; font-size: 15px; color: #333; line-height: 1.7; margin: 0; }
.about-section-title { font-family: 'Manrope', sans-serif; font-size: 20px; font-weight: 700; color: #000; margin: 0; line-height: 1.3; }

/* МИССИЯ — белый блок с зелёным dot-паттерном */
.about-mission {
    margin: 48px 0;
    background: #fff;
    border-radius: 24px;
    padding: 40px 48px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    overflow: hidden;
}
.about-mission::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(47,184,14,0.15) 1.5px, transparent 1.5px);
    background-size: 20px 20px;
    pointer-events: none;
    z-index: 0;
}
.about-mission > * { position: relative; z-index: 1; }

.about-mission__label {
    font-family: 'Manrope', sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: #2FB80E;
    text-transform: uppercase;
    margin: 0;
    letter-spacing: 0.02em;
}
.about-mission__text {
    font-family: 'Manrope', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #000;
    margin: 0;
    line-height: 1.5;
}
.about-mission p {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: #444;
    line-height: 1.7;
    margin: 0;
}

.about-how { margin: 0 0 48px; }
.about-how__title { font-family: 'Manrope', sans-serif; font-size: 28px; font-weight: 700; color: #000; margin: 0 0 16px; }
.about-how p { font-family: 'Inter', sans-serif; font-size: 15px; color: #333; line-height: 1.7; margin: 0 0 12px; }
.about-list { margin: 4px 0 12px 20px; padding: 0; }
.about-list li { font-family: 'Inter', sans-serif; font-size: 15px; color: #333; line-height: 1.7; margin-bottom: 6px; }

@media (max-width: 1024px) {
    .about-founder { grid-template-columns: 1fr; }
    .about-founder__photo { min-height: 400px; }
    .about-hero__title { font-size: 28px; }
}

/* ===== SEARCH PAGE ===== */
.search-page {
    padding: 40px 0 64px;
}
.search-page__title {
    font-family: 'Manrope', sans-serif;
    font-size: 40px;
    font-weight: 700;
    color: #000;
    margin: 0 0 32px;
}

/* ===== SEARCH ===== */
.header__search-wrap {
    position: relative;
}
.header__search-wrap input[type="text"] {
    height: 36px;
    padding: 0 14px;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #333;
    outline: none;
    width: 180px;
    background: #f8f8f8;
}
.search-page {
    padding: 40px 0 64px;
}
.search-page__title {
    font-family: 'Manrope', sans-serif;
    font-size: 40px;
    font-weight: 700;
    color: #000;
    margin: 0 0 32px;
}

/* ===== SEARCH DROPDOWN ===== */
.header__search {
    position: relative;
}
.search-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    width: 340px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    z-index: 1000;
    overflow: hidden;
    padding: 8px 0;
}
.search-dropdown__item {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px 16px;
    text-decoration: none;
    transition: background 0.15s;
}
.search-dropdown__item:hover {
    background: #f5f5f5;
}
.search-dropdown__title {
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #000;
}
.search-dropdown__excerpt {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: #888;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-wrapper {
    position: relative;
    display: inline-block;
}

.about-text-block p,.about-mission p,.about-mission__text,.about-how p,.about-list li{text-align:justify}

.review-text { text-align: justify; }


/* ===== CONTACTS PAGE ===== */

.contacts-page {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Info-bar */
.contacts-infobar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding: 0 4px;
}

.contacts-infobar__breadcrumb {
    font-size: 14px;
    color: #666;
}

.contacts-infobar__breadcrumb a {
    color: #555;
    text-decoration: none;
}

.contacts-infobar__breadcrumb a:hover {
    color: #2f6b2f;
}

.contacts-infobar__contacts {
    display: flex;
    align-items: center;
    gap: 24px;
}

.contacts-infobar__link {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #1e6be6;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.contacts-infobar__link:hover {
    color: #1454c2;
}

/* Hero photo */
.contacts-hero {
    width: 100%;
    border-radius: 32px;
    overflow: hidden;
    min-height: 200px;
    position: relative;
    margin-top: 24px;
    margin-bottom: 24px;
}

.contacts-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
    display: block;
    min-height: 200px;
}

.contacts-hero__title {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 64px;
    font-family: 'Manrope', sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 16px rgba(0,0,0,0.35);
    background: linear-gradient(90deg, rgba(10,50,20,0.70) 0%, rgba(10,50,20,0.30) 60%, rgba(10,50,20,0.0) 100%);
}

/* about: многострочный заголовок + подпись */
.contacts-hero__title.about-hero__overlay {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 16px;
    padding: 48px 64px;
    font-size: inherit;
    text-shadow: none;
    background: linear-gradient(90deg, rgba(10,50,20,0.88) 0%, rgba(10,50,20,0.65) 45%, rgba(10,50,20,0.10) 80%);
}

.about-hero__title--on-photo {
    font-family: 'Manrope', sans-serif;
    font-size: 44px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.2;
    max-width: 62%;
    text-shadow: 0 2px 12px rgba(0,0,0,0.20);
}

.about-accent--white {
    color: #63d632;
}

.about-hero__sub--on-photo {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: rgba(255,255,255,0.88);
    margin: 0;
    line-height: 1.6;
    max-width: 55%;
}

/* Office cards */
.offices-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 24px;
}

.office-card {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    align-items: stretch;
    min-height: 180px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.office-card__info {
    flex: 0 0 50%;
    padding: 28px 32px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.office-card__label {
    font-size: 12px;
    font-weight: 600;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.office-card__address {
    font-size: 17px;
    font-weight: 700;
    color: #1e6be6;
    line-height: 1.3;
    margin-top: 2px;
}

.office-card__row {
    display: flex;
    align-items: center;
    gap: 9px;
}

.office-card__icon {
    flex-shrink: 0;
    opacity: 0.55;
}

.office-card__row a {
    color: #333;
    text-decoration: none;
    font-size: 15px;
}

.office-card__row a:hover {
    color: #2f6b2f;
}

.office-card__map {
    flex: 0 0 50%;
    height: 240px;
    background: #e8e8e8;
}

.office-card__map iframe {
    display: block;
    width: 100%;
    height: 240px;
    border: none;
}

/* Contact banner — horizontal form variant */
.contact-banner--contacts {
    background:
        linear-gradient(
            90deg,
            rgba(10, 50, 20, 0.95) 0%,
            rgba(10, 50, 20, 0.85) 30%,
            rgba(10, 50, 20, 0.40) 55%,
            rgba(10, 50, 20, 0.0) 75%
        ),
        url('./images/hero.jpg') right center/cover no-repeat;
}



@media (max-width: 900px) {
    .contacts-infobar {
        flex-direction: column;
        align-items: flex-start;
    }
    .office-card {
        flex-direction: column;
    }
    .office-card__info {
        flex: none;
    }
    .office-card__map {
        min-height: 220px;
    }
    
}

/* ===== SERVICES PAGE ===== */

.services-page {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.services-page__title {
    font-family: 'Manrope', sans-serif;
    font-size: 40px;
    font-weight: 700;
    color: #111;
    margin: 0;
}

.services-table-wrap {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    overflow-x: auto;
}

.services-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Manrope', sans-serif;
    min-width: 700px;
}

/* Header row */
.col-label   { width: 50px; }
.col-feature { width: 28%; }
.col-plan    { width: 18%; }
.st-feature  { }

.st-plan {
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    padding: 20px 12px;
    color: #333;
    border-bottom: 2px solid #eee;
    width: 17%;
}

/* Feature rows */
.st-row td {
    padding: 13px 20px;
    font-size: 14px;
    color: #333;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: middle;
}

.st-row--alt td {
    background: #f9f9f9;
}

.st-name {
    font-weight: 500;
    color: #222;
}

.st-cell {
    text-align: center;
}

.feat-check, .feat-cross {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Diagnostics group */
.st-group-label {
    width: 60px !important;
    padding: 0 !important;
    vertical-align: middle;
    text-align: center;
    border-right: 1px solid #eee;
    background: #f9f9f9 !important;
}

.st-group-label span {
    display: block;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-size: 12px;
    font-weight: 700;
    color: #555;
    white-space: nowrap;
    padding: 16px 0;
    letter-spacing: 0.04em;
}

.st-subname {
    font-size: 13px;
    color: #444;
    padding-left: 16px !important;
}

.st-diag-cell {
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
    padding: 16px 16px !important;
    vertical-align: middle;
}

.st-diag--free  { background: #EBEBEB !important; color: #555; }
.st-diag--start { background: #FFDDC8 !important; color: #7a3800; }
.st-diag--base  { background: #FFF099 !important; color: #6b5200; }
.st-diag--pro   { background: #AADF96 !important; color: #1a5010; }

@media (max-width: 768px) {
    .services-table-wrap {
        border-radius: 16px;
    }
}

/* ── Горизонтальная форма в баннере ── */
.contact-form--horiz {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
}
.contact-form--horiz .contact-form__input {
    flex: 1 1 0;
    min-width: 0;
    height: 48px;
    background: rgba(255,255,255,0.15);
    border: 1.5px solid rgba(255,255,255,0.35);
    color: #fff;
    font-size: 14px;
    padding: 0 14px;
    border-radius: 12px;
}
.contact-form--horiz .contact-form__input::placeholder {
    color: rgba(255,255,255,0.60);
}
.contact-form--horiz .contact-form__btn {
    flex: 0 0 140px;
    height: 48px;
    width: 140px;
    font-size: 15px;
    border-radius: 12px;
}

/* ===== ABOUT HERO ON PHOTO ===== */

.about-hero__overlay {
    justify-content: flex-start !important;
    padding-left: 48px !important;
    padding-right: 48px;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 16px;
    background: linear-gradient(90deg,
        rgba(10,40,15,0.72) 0%,
        rgba(10,40,15,0.50) 50%,
        rgba(10,40,15,0.10) 100%) !important;
}

.about-hero__title--on-photo {
    font-family: 'Manrope', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.2;
    max-width: 700px;
}

.about-accent--white {
    color: #7ee857;
}

.about-hero__sub--on-photo {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: rgba(255,255,255,0.88);
    margin: 0;
    max-width: 580px;
    line-height: 1.5;
}

/* ===== ABOUT HERO BANNER ===== */

.about-hero-banner {
    border-radius: 32px;
    overflow: hidden;
    background:
        linear-gradient(
            90deg,
            rgba(10, 50, 20, 0.88) 0%,
            rgba(10, 50, 20, 0.75) 35%,
            rgba(10, 50, 20, 0.40) 60%,
            rgba(10, 50, 20, 0.10) 80%
        ),
        url('/local/templates/happy_main/images/contacts-hero.png') center 40% / cover no-repeat;
    min-height: 240px;
    display: flex;
    align-items: center;
    padding: 48px 64px;
    margin-bottom: 32px;
}

.about-hero-banner__content {
    max-width: 62%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.about-hero-banner__title {
    font-family: 'Manrope', sans-serif;
    font-size: 44px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.2;
}

.about-hero-banner__accent {
    color: #63d632;
}

.about-hero-banner__sub {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: rgba(255,255,255,0.85);
    margin: 0;
    line-height: 1.6;
}


/* ===== ABOUT HERO IMAGE ===== */
.about-hero-img {
    position: relative;
    width: 100%;
    border-radius: 32px;
    overflow: hidden;
    height: 320px;
}

.about-hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
    display: block;
}

.about-hero-img__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 0 64px 0 56px;
    background: linear-gradient(
        90deg,
        rgba(10, 50, 20, 0.90) 0%,
        rgba(10, 50, 20, 0.75) 40%,
        rgba(10, 50, 20, 0.30) 65%,
        rgba(10, 50, 20, 0.0) 85%
    );
}

.about-hero-img__title {
    font-family: 'Manrope', sans-serif;
    font-size: 64px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.1;
}

.about-hero-img__accent {
    color: #3ECE1B;
}

.about-hero-img__sub {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 500;
    color: #fff;
    margin: 32px 0 0;
    line-height: 1.5;
}

.services-page .about-hero-img {
    margin-top: 24px;
    margin-bottom: 24px;
}

.about-page .about-hero-img {
    margin-top: 24px;
    margin-bottom: 24px;
}

.team-page .about-hero-img {
    margin-top: 24px;
    margin-bottom: 24px;
}

/* ===== TEAM PAGE ===== */
.team-page {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* ===== TEAM PAGE SECTIONS ===== */
.team-about-shell { background: #fff; border-radius: 24px; padding: 40px 48px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.team-about__title { font-family: 'Manrope', sans-serif; font-size: 28px; font-weight: 700; color: #111; margin: 0 0 20px; }
.team-about__text { font-family: 'Inter', sans-serif; font-size: 15px; color: #333; line-height: 1.65; margin: 0 0 14px; }
.team-how { display: flex; gap: 24px; align-items: stretch; }
.team-how__left { flex: 1; background: #fff; border-radius: 24px; padding: 40px 48px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.team-how__title { font-family: 'Manrope', sans-serif; font-size: 26px; font-weight: 700; color: #111; margin: 0 0 20px; }
.team-how__left p { font-family: 'Inter', sans-serif; font-size: 15px; color: #333; line-height: 1.65; margin: 0 0 12px; }
.team-how__list { list-style: none; margin: 0 0 16px; padding: 0; }
.team-how__list li { font-family: 'Inter', sans-serif; font-size: 15px; color: #333; padding-left: 20px; position: relative; margin-bottom: 8px; line-height: 1.55; }
.team-how__list li::before { content: ''; position: absolute; left: 0; top: 3px; width: 10px; height: 10px; border-radius: 50%; border: 2.5px solid #2FB80E; background: transparent; }
.team-how__photo { flex: 0 0 48%; border-radius: 24px; overflow: hidden; min-height: 300px; }
.team-how__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; display: block; }
.team-specs-shell { overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; margin-top: 24px; }
.team-specs-shell::-webkit-scrollbar { display: none; }
.team-specs-track { display: flex; gap: 16px; padding-bottom: 4px; }
.team-spec-card { flex: 0 0 560px; background: #fff; border-radius: 20px; padding: 36px 40px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.team-spec-card__title { font-family: 'Manrope', sans-serif; font-size: 20px; font-weight: 700; color: #1a56db; margin: 0 0 24px; line-height: 1.3; }
.team-spec-card__sub { color: #555; font-weight: 500; font-size: 14px; }
.team-spec-card__label { font-family: 'Manrope', sans-serif; font-size: 15px; font-weight: 700; color: #111; margin: 20px 0 8px; }
.team-spec-card__text { font-family: 'Inter', sans-serif; font-size: 15px; color: #888; line-height: 1.65; margin: 0; }


.contacts-page .about-hero-img {
    height: 280px;
    margin-top: 24px;
    margin-bottom: 24px;
}

.about-page .about-hero-img {
    height: 280px;
}

.services-page .about-hero-img {
    height: 280px;
}

.team-page .about-hero-img {
    height: 280px;
}
/* ===== AUTH MODAL ===== */
.auth-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}
.auth-modal-overlay--active {
    display: flex;
}
.auth-modal {
    background: #fff;
    border-radius: 24px;
    padding: 40px 36px 32px;
    width: 100%;
    max-width: 480px;
    position: relative;
    box-shadow: 0 8px 40px rgba(0,0,0,0.18);
}
.auth-modal__close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    font-size: 28px;
    color: #888;
    cursor: pointer;
    line-height: 1;
    padding: 0;
}
.auth-modal__close:hover { color: #333; }
.auth-modal__title {
    font-family: 'Manrope', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #111;
    margin: 0 0 24px;
}
.auth-modal__yandex {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1.5px solid #e0e0e0;
    border-radius: 12px;
    padding: 12px 20px;
    background: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: #333;
    cursor: pointer;
    transition: border-color 0.2s;
}
.auth-modal__yandex:hover { border-color: #aaa; }
.auth-modal__divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0;
    color: #aaa;
    font-size: 13px;
}
.auth-modal__divider::before,
.auth-modal__divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e0e0e0;
}
.auth-modal__field {
    margin-bottom: 14px;
    position: relative;
}
.auth-modal__input {
    width: 100%;
    border: 1.5px solid #e0e0e0;
    border-radius: 12px;
    padding: 13px 16px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: #333;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.2s;
}
.auth-modal__input:focus { border-color: #2FB80E; }
.auth-modal__field--password .auth-modal__input { padding-right: 48px; }
.auth-modal__eye {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #aaa;
    padding: 0;
}
.auth-modal__eye:hover { color: #555; }
.auth-modal__submit {
    width: 100%;
    background: #2FB80E;
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 14px;
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 4px;
    transition: background 0.2s;
}
.auth-modal__submit:hover { background: #27a00c; }
.auth-modal__forgot {
    display: block;
    margin-top: 16px;
    font-size: 14px;
    color: #2FB80E;
    text-decoration: none;
}
.auth-modal__forgot:hover { text-decoration: underline; }
.auth-modal__register {
    margin-top: 12px;
    font-size: 14px;
    color: #555;
}
.auth-modal__register-link {
    color: #2FB80E;
    font-weight: 600;
    text-decoration: none;
}
.auth-modal__register-link:hover { text-decoration: underline; }

/* ===== REGISTER MODAL ===== */
.auth-modal--register { max-width: 540px; max-height: 90vh; overflow-y: auto; }
.auth-modal__row { display: flex; gap: 12px; }
.auth-modal__row .auth-modal__field { flex: 1; }
.auth-modal__row--dob .auth-modal__select { flex: 1; }
.auth-modal__row--dob { display: flex; gap: 10px; }
.auth-modal__select {
    flex: 1;
    border: 1.5px solid #e0e0e0;
    border-radius: 12px;
    padding: 12px 14px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: #333;
    background: #fff;
    outline: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
    cursor: pointer;
}
.auth-modal__select:focus { border-color: #2FB80E; }
.auth-modal__label {
    display: block;
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}
.auth-modal__hint {
    font-size: 12px;
    color: #888;
    margin: -6px 0 12px;
}
.auth-modal__gender {
    display: flex;
    gap: 12px;
}
.auth-modal__gender-option {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid #e0e0e0;
    border-radius: 12px;
    padding: 12px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: #555;
    gap: 8px;
    transition: border-color 0.2s;
}
.auth-modal__gender-option:has(input:checked) {
    border-color: #2FB80E;
    color: #2FB80E;
}
.auth-modal__gender-option input { display: none; }

/* Auth modal logo bar */
.auth-modal__logo-bar {
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 0 20px;
    margin-bottom: 4px;
}
.auth-modal__logo-bar img {
    height: 48px;
    width: auto;
    display: block;
}
