/* ==========================================
   1. ОБЩИЕ ЭЛЕМЕНТЫ
========================================== */

.btn.ghost {
    background: #fff;
    color: var(--cyan);
    border: 1px solid #57b7cb;
    box-shadow: none;
}

.pill,
.eyebrow {
    display: inline-block;
    color: var(--cyan);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.pill {
    background: #e6f7fb;
    padding: 8px 14px;
    border-radius: 99px;
}

@media (max-width: 900px) {
    .eyebrow {
        display: block;
        text-align: center;
    }
}


/* ==========================================
   2. HERO / ПЕРВЫЙ ЭКРАН
========================================== */

.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(
        110deg,
        #fff 15%,
        #f2fbfe 100%
    );
}

.hero .swiper-slide {
    display: block;
    min-height: 550px;
    height: auto;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    min-height: 550px;
}

.hero-copy {
    padding: 65px 0;
}

.hero h1 {
    font-size: 45px;
    line-height: 1.04;
    color: var(--blue);
    margin: 20px 0;
}

.hero p {
    font-size: 17px;
    line-height: 1.7;
    max-width: 510px;
}

.actions {
    display: flex;
    gap: 12px;
    margin-top: 28px;
}


/* Hero: изображение */

.hero-art {
    height: 550px;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.hero-art img {
    position: absolute;
    height: 440px;
    border-radius: 5%;
    top: 55px;
}


/* Hero: информация о филиалах */

.branch-note {
    position: absolute;
    right: 0;
    bottom: 70px;
    z-index: 3;
    background: #fff;
    padding: 22px;
    border-radius: 18px;
    box-shadow: 0 12px 40px #17355b1c;
}

.branch-note strong {
    font-size: 38px;
    color: var(--cyan);
    display: block;
}

.branch-note b {
    display: block;
    margin-bottom: 15px;
}

.branch-note a {
    font-size: 12px;
    color: var(--cyan);
}


@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr;
        min-height: 720px;
    }

    .hero .swiper-slide {
        min-height: 720px;
    }

    .hero-copy {
        padding: 42px 0 0;
        position: relative;
        z-index: 4;
        display: none;
    }

    .hero h1 {
        font-size: 43px;
        margin: 14px 0;
    }

    .hero p {
        font-size: 15px;
    }

    .hero-art {
        height: 340px;
        margin-top: 20px;
    }

    .hero-art .orb {
        width: 310px;
        height: 310px;
        top: 15px;
    }

    .hero-art img {
        height: 340px;
    }

    .branch-note {
        right: 0;
        bottom: 20px;
        padding: 15px;
        display: none;
    }

    .branch-note strong {
        font-size: 30px;
    }

    .hero .swiper-button-next,
    .hero .swiper-button-prev {
        width: 34px;
        height: 34px;
    }

    .hero-grid {
        display: flex;
        flex-direction: column;
    }

    .hero-art {
        order: 2;
        width: 100%;
        height: auto;
    }

    .hero-copy {
        order: 1;
        width: 100%;
        padding: 25px 0 45px;
        text-align: center;
    }
    .actions {
        text-align: center;
        display: block;
    }

    .hero-grid,
.hero .swiper-slide {
        min-height: 0;
    }
}


@media (max-width: 480px) {
    .hero h1 {
        font-size: 30px;
    }

    .actions {
        flex-wrap: wrap;
    }

    .hero-art img {
        width: 100%;
        height: auto;
        position: relative;
        top: 0;
    }

    .hero-art .orb {
        width: 280px;
        height: 280px;
    }

    .hero .swiper-button-next,
    .hero .swiper-button-prev {
        top: 61%;
    }
}


/* ==========================================
   3. СТАРЫЕ ЭЛЕМЕНТЫ СЛАЙДЕРА
========================================== */

.arrow {
    position: absolute;
    top: 46%;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--blue);
    font-size: 28px;
    z-index: 5;
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

.dots {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dots button {
    border: 0;
    background: none;
    color: #9baabd;
    padding: 8px 18px;
    border-bottom: 2px solid #d8e2e7;
}

.dots .on {
    color: var(--cyan);
    border-color: var(--cyan);
}


@media (max-width: 900px) {
    .arrow {
        top: 54%;
        width: 36px;
        height: 36px;
    }

    .prev {
        left: 8px;
    }

    .next {
        right: 8px;
    }

    .dots {
        bottom: 10px;
    }
}


/* ==========================================
   4. ОБЩИЕ СТИЛИ СЕКЦИЙ
========================================== */

.section {
    padding: 82px 0;
}

.soft {
    background: #f8fcfd;
}

.section h2 {
    font-size: 36px;
    color: var(--blue);
    margin: 8px 0 30px;
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
}

.section-head > a {
    color: var(--cyan);
    font-weight: 700;
    margin-bottom: 34px;
}


@media (max-width: 900px) {
    .section {
        padding: 40px 0;
    }

    .section h2 {
        font-size: 29px;
        text-align: center;
    }

    .section-head {
        align-items: start;
    }

    .section-head > a {
        font-size: 13px;
        white-space: nowrap;
        margin-left: 12px;
    }
}


@media (max-width: 480px) {
    .section-head {
        display: block;
    }

    .section-head > a {
        display: inline-block;
        margin: 0 0 24px;
    }
}


/* ==========================================
   5. УСЛУГИ
========================================== */

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

.service {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #0ca3a9;
    border-radius: 22px;
    background: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 45px rgba(19, 41, 92, 0.09);
}

.service-image {
    display: block;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background: #eef8f9;
}

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

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

.service-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    padding: 26px;
}

.service h3 {
    margin: 0 0 12px;
    color: var(--blue);
    font-size: 22px;
    font-weight: 800;
    line-height: 1.3;
}
.service h3 a:hover {
    color: var(--cyan);
}

.service p {
    margin: 0 0 20px;
    color: #65738d;
    font-size: 14px;
    line-height: 1.7;
    height: 115px;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;    
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
    color: var(--cyan);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: gap 0.25s ease;
}

.service-link span {
    font-size: 20px;
    line-height: 1;
}

.service-link:hover {
    gap: 18px;
}

.popular-services {
    margin-top: 55px;
}

.popular-services-head {
    margin-bottom: 24px;
}

.popular-services-head h3 {
    margin: 0 0 8px;
    color: var(--blue);
    font-size: 27px;
    font-weight: 800;
}

.popular-services-head p {
    margin: 0;
    color: #65738d;
    font-size: 14px;
}

.popular-services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.popular-service {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    min-height: 85px;
    padding: 20px;
    border: 1px solid #e2ecef;
    border-radius: 16px;
    background: #f8fcfd;
    color: var(--blue);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;
    transition: background 0.25s ease, border-color 0.25s ease;
}

.popular-service:hover {
    background: #eaf8f9;
    border-color: var(--cyan);
}

.popular-service-icon {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: #e0f3f4;
    color: var(--cyan);
    font-size: 13px;
    font-weight: 800;
}

.popular-service-arrow {
    margin-left: auto;
    color: var(--cyan);
    font-size: 23px;
    font-weight: 400;
    transition: transform 0.25s ease;
}

.popular-service:hover .popular-service-arrow {
    transform: translate(3px, -3px);
}


@media (max-width: 900px) {
    .services {
        gap: 16px;
    }

    .service-content {
        padding: 20px;
    }

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

    .popular-services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


@media (max-width: 600px) {
    .services {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .service-image {
        aspect-ratio: 16 / 10;
    }

    .service-content {
        padding: 22px;
    }

    .service h3 {
        font-size: 21px;
    }

    .service p {
        margin-bottom: 18px;
    }

    .popular-services {
        margin-top: 40px;
    }

    .popular-services-head h3 {
        font-size: 23px;
    }

    .popular-services-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .popular-service {
        min-height: 72px;
        padding: 14px 16px;
        font-size: 14px;
    }
}


/* ==========================================
   6. БЛОГ
========================================== */

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

.post {
    background: #fff;
    border: 1px solid #e6eef1;
    border-radius: 18px;
    overflow: hidden;
    padding-bottom: 24px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.post:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 38px rgba(23, 53, 91, 0.08);
}

.post > *:not(.post-img) {
    margin-left: 22px;
    margin-right: 22px;
}

.post-img {
    display: block;
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: #f2f8fa;
}

.post-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
}

.post:hover .post-img img {
    transform: scale(1.05);
}




/* Контент статей */

.post small {
    display: block;
    margin-top: 20px;
    color: #8290a4;
}

.post h3 {
    color: var(--blue);
    height: 68px;
}

.post p {
    color: #66748b;
    line-height: 1.5;
    height: 72px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post a {
    color: var(--cyan);
    font-weight: 700;
}


@media (max-width: 900px) {
    .post-img {
        height: 200px;
    }

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

    .post-img {
        height: 170px;
    }
}


/* ==========================================
   7. О КОМПАНИИ
========================================== */

.about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about p,
.about li {
    line-height: 1.7;
    color: #66748b;
}

.about ul {
    margin: 10px 0 30px;
}

.about li {
    margin: 9px 0;
}


/* Изображение */

.about-art img {
    width: 100%;
    border-radius: 20px;
}


/* Карточка поверх изображения */

.about-card {
    position: absolute;
    left: 35px;
    top: 45px;
    width: 240px;
    z-index: 2;
}

.about-card span {
    color: var(--cyan);
    font-weight: 900;
}

.about-card b {
    display: block;
    font-size: 28px;
    color: var(--blue);
    margin-top: 14px;
}


@media (max-width: 900px) {
    .about {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    .about .link-a {
        text-align: center;
    }
}


@media (max-width: 480px) {
    .about-card {
        left: 22px;
        top: 25px;
        width: 170px;
    }

    .about-card b {
        font-size: 22px;
    }
}


/* ==========================================
   8. ЦИФРЫ
========================================== */

.numbers {
    padding: 55px 0;
    background: #effafd;
}

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

.number-grid > div {
    padding: 20px 35px;
    border-right: 1px solid #cfe5eb;
}

.number-grid > div:last-child {
    border: 0;
}

.number-grid b {
    display: block;
    font-size: 34px;
    color: var(--cyan);
}

.number-grid span {
    font-size: 14px;
    line-height: 1.5;
}


@media (max-width: 900px) {
    .numbers {
        padding: 30px 0;
    }
    .number-grid {
        grid-template-columns: 1fr 1fr;
    }

    .number-grid > div {
        border-bottom: 1px solid #cfe5eb;
        text-align: center;
    }
    .number-grid > div:nth-child(2) {
        border-right: none;
    }
    .number-grid > div:nth-child(3) {
        border-bottom: none;
    }
}


@media (max-width: 480px) {
    .number-grid > div {
        padding: 18px 15px;
    }

    .number-grid b {
        font-size: 28px;
    }
}


/* ==========================================
   9. CTA / ПРИЗЫВ К ДЕЙСТВИЮ
========================================== */

.cta {
    min-height: 220px;
    border-radius: 28px;
    background: linear-gradient(
        120deg,
        #038f97,
        #12a1a8
    );
    color: #fff;
    padding: 42px 55px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.cta div {
    width: 55%;
}

.cta h2 {
    color: #fff;
    margin: 8px 0;
    font-size: 34px;
}

.cta p {
    margin: 0;
    opacity: 0.85;
}

.cta .white {
    margin-left: auto;
    background: #fff;
    color: var(--cyan);
    position: relative;
    z-index: 3;
}

.cta img {
    position: absolute;
    right: 290px;
    bottom: -22px;
    height: 240px;
}


@media (max-width: 900px) {
    .cta {
        padding: 32px 25px;
        display: block;
        text-align: center;
    }

    .cta h2 {
        font-size: 27px;
    }

    .cta .white {
        margin: 22px 0 0;
    }

    .cta img {
        height: 240px;
        right: -40px;
        bottom: -95px;
        opacity: 0.35;
    }
    .cta div {
        width: 100%;
    }
}


/* ==========================================
   10. FAQ / ВОПРОСЫ И ОТВЕТЫ
========================================== */

.faq-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.faq details {
    background: #fff;
    border: 1px solid #e2ecef;
    border-radius: 14px;
    margin: 10px 0;
}

.faq summary {
    cursor: pointer;
    font-weight: 700;
    color: var(--blue);
    position: relative;
    padding: 18px 20px;
}

.faq details p {
    color: #66748b;
    line-height: 1.6;
    padding: 0 20px;
    margin: 0 0 15px;
}

.faq .faq-link {
    margin-top: 40px;
}

@media (max-width: 900px) {
    .faq .faq-link {
        text-align: center;
    }
    .faq summary {
        padding: 18px 50px 18px 20px;
    }
    .faq-row summary::after {
        top: 30px;
    }
}


/* Блок вопроса */

.question {
    background: #eaf8fb;
    border-radius: 24px;
    padding: 35px;
    align-self: end;
}

.question b {
    font-size: 24px;
    color: var(--blue);
}

.question p {
    line-height: 1.6;
    margin: 10px 0 25px;
}
.faq-row summary::marker {
    content: "";
}

.faq-row summary::after {
    content: "";
    display: inline-block;
    flex-shrink: 0;
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--cyan);
    border-bottom: 2px solid var(--cyan);
    transform: rotate(45deg);
    transition: transform 0.25s ease;
    margin-right: 10px;
    margin-bottom: 3px;
    position: absolute;
    right: 15px;
}

.faq-row[open] summary::after {
    transform: rotate(225deg);
}


@media (max-width: 900px) {
    .question {
        margin-top: 5px;
        text-align: center;
    }
    .faq-grid {
        grid-template-columns: 1fr;
    }
}


/* ==========================================
   11. КОНТАКТЫ / ФИЛИАЛЫ
========================================== */

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

.branches article {
    border: 1px solid #e2ecef;
    border-radius: 20px;
    padding: 28px;
    background: #fff;
    overflow: hidden;
}

.branches article .whatsapp svg {
    width: 30px;
    height: 30px;
    margin-right: 10px;
}

.branches h3 {
    font-size: 23px;
    color: var(--blue);
}

.branches article > a {
    font-weight: 800;
    color: var(--cyan);
    vertical-align: middle;
}
@media (max-width: 900px) {
    .branches {
        grid-template-columns: 1fr;
    }
}


/* Карта */

.map {
    background: linear-gradient(
        25deg,
        #f5f2e9,
        #e9f1ee
    );
    margin: 25px -28px -28px;
    text-align: center;
    color: #81908c;
}

.map b {
    font-size: 30px;
    color: var(--cyan);
}


@media (max-width: 480px) {
    .branches article {
        padding: 22px;
        text-align: center;
    }

    .map {
        margin: 20px -22px -22px;
    }
    .map iframe {
        height: 200px;
    }
}


/* ==========================================
   13. SWIPER 11
========================================== */

.hero .swiper-wrapper {
    align-items: stretch;
}


/* Стрелки */

.hero .swiper-button-next,
.hero .swiper-button-prev {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--line);
    color: var(--cyan);
    box-shadow: 0 4px 15px #13295c12;
}

.hero .swiper-button-next::after,
.hero .swiper-button-prev::after {
    font-size: 16px;
    font-weight: 700;
}


/* Пагинация */

.hero .swiper-pagination {
    bottom: 15px !important;
}

.hero .swiper-pagination-bullet {
    width: 26px;
    height: 4px;
    border-radius: 4px;
    background: #9ed7d8;
    opacity: 1;
}

.hero .swiper-pagination-bullet-active {
    background: var(--cyan);
}
/* COOKIE CONSENT */
.cookie-banner{position:fixed;left:24px;right:24px;bottom:24px;z-index:9999;max-width:1060px;margin:auto;padding:22px 24px;background:#fff;border:1px solid #dce9ee;border-radius:20px;box-shadow:0 16px 60px rgba(19,41,92,.18);display:none;align-items:center;gap:24px}
.cookie-banner.is-visible{display:flex}.cookie-copy{flex:1;min-width:0}.cookie-copy strong{display:block;color:#13295c;font-size:17px;margin-bottom:6px}.cookie-copy p{margin:0;color:#65738d;font-size:13px;line-height:1.6}.cookie-copy a{color:#008c93;text-decoration:underline}.cookie-actions{display:flex;flex-wrap:wrap;gap:8px}.cookie-actions button,.cookie-settings button,.map-consent button{border:1px solid #dce9ee;border-radius:99px;padding:12px 16px;background:#fff;color:#13295c;font:inherit;font-size:13px;font-weight:700;cursor:pointer}.cookie-actions .cookie-accept,.cookie-settings .cookie-save,.map-consent button{background:#008c93;color:#fff;border-color:#008c93}.cookie-settings{position:fixed;inset:0;z-index:10000;display:none;align-items:center;justify-content:center;padding:16px;background:rgba(19,41,92,.55)}.cookie-settings.is-visible{display:flex}.cookie-settings-panel{width:100%;max-width:480px;background:#fff;border-radius:22px;padding:26px}.cookie-settings-panel h2{margin:0 0 12px;color:#13295c;font-size:23px}.cookie-settings-panel p{color:#65738d;font-size:14px;line-height:1.6}.cookie-setting{display:flex;align-items:flex-start;gap:12px;padding:14px 0;border-top:1px solid #e5edef;color:#13295c;font-size:14px}.cookie-setting input{margin-top:3px;accent-color:#008c93}.cookie-settings-actions{display:flex;gap:8px;justify-content:flex-end;margin-top:14px}.map-consent{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;height:100%;min-height:220px;padding:22px;text-align:center;background:#edf6f7;color:#13295c}.map-consent p{max-width:320px;margin:0;color:#65738d;font-size:13px;line-height:1.5}
@media(max-width:900px){.cookie-banner{left:14px;right:14px;bottom:14px;flex-direction:column;align-items:stretch;gap:16px}.cookie-actions button{flex:1}.cookie-settings-panel{padding:22px}}
@media(max-width:480px){.cookie-banner{padding:18px;border-radius:16px}.cookie-actions{display:grid;grid-template-columns:1fr 1fr}.cookie-actions .cookie-accept{grid-column:1/-1;grid-row:1}.cookie-copy strong{font-size:15px}.cookie-settings-actions{flex-direction:column}.cookie-settings-actions button{width:100%}}

/* ХЛЕБНЫЕ КРОШКИ */

/* ХЛЕБНЫЕ КРОШКИ */

.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 12px 0 30px;
    padding: 0;
    list-style: none;
    background: transparent;
    font-size: 13px;
    line-height: 1.6;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0;
    color: #8190a5;
}

.breadcrumb-item a {
    color: #8190a5;
    text-decoration: none;
    transition: color .2s ease;
}

.breadcrumb-item a:hover {
    color: var(--cyan);
}

.breadcrumb-item + .breadcrumb-item {
    padding-left: 0;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "/";
    display: inline-block;
    float: none;
    padding: 0;
    color: var(--cyan);
    opacity: .6;
}

.breadcrumb-item.active {
    color: var(--blue);
    font-weight: 600;
}

@media (max-width: 600px) {
    .breadcrumb {
        gap: 7px;
        margin: 10px 0 24px;
        font-size: 12px;
    }

    .breadcrumb-item {
        gap: 7px;
    }
    .breadcrumb-item:last-child {
        display: none;
    }
}
