/* =========================================================
   СТРАНИЦА ФРАНШИЗЫ
   Стили вынесены из page-franchise.php
========================================================= */

/* ===================================================
       БЛОК: ПЕРВЫЙ ЭКРАН ФРАНШИЗЫ
    =================================================== */

    .fr-hero,
    .fr-hero * {
        box-sizing: border-box;
    }

    .fr-hero {
        padding: 115px 0;
        background: #fcfcfc;
        color: #171827;
    }

    .fr-hero-in {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(480px, 640px);
        gap: 70px;
        align-items: center;
    }

    .fr-hero-txt {
        min-width: 0;
    }

    .fr-hero h1 {
        max-width: 590px;
        margin: 0 0 30px;
        color: #171827;
        font-size: clamp(42px, 4vw, 59px);
        font-weight: 700;
        line-height: 1.02;
        letter-spacing: -1.4px;
    }

    .fr-hero p {
        max-width: 620px;
        margin: 0 0 38px;
        color: #7c8491;
        font-size: 20px;
        line-height: 1.75;
    }

    .fr-hero-btns {
        display: flex;
        gap: 16px;
    }

    .fr-btn {
        display: inline-flex;
        min-height: 66px;
        align-items: center;
        justify-content: center;
        padding: 15px 25px;
        border: 1px solid transparent;
        border-radius: 10px;
        color: #171827;
        font-size: 17px;
        font-weight: 700;
        line-height: 1.25;
        text-align: center;
        text-decoration: none;
        transition: transform .2s ease, background .2s ease;
    }

    .fr-btn:hover {
        transform: translateY(-2px);
    }

    .fr-btn-blue {
        background: #087bc1;
        color: #fff;
    }

    .fr-btn-blue:hover {
        background: #056aa8;
        color: #fff;
    }

    .fr-btn-light {
        border-color: #e2e5ea;
        background: #fff;
    }

    .fr-btn-light:hover {
        background: #f5f7f9;
        color: #171827;
    }

    .fr-hero-img {
        overflow: hidden;
        border-radius: 22px;
        background: #f6f7f8;
        box-shadow: 0 20px 45px rgba(24, 37, 53, .13);
    }

    .fr-hero-img img {
        display: block;
        width: 100%;
        height: 525px;
        object-fit: cover;
    }

    /* Планшет */
    @media (max-width: 1024px) {
        .fr-hero {
            padding: 80px 0;
        }

        .fr-hero-in {
            grid-template-columns: minmax(0, 1fr) minmax(390px, 48%);
            gap: 40px;
        }

        .fr-hero h1 {
            margin-bottom: 24px;
            font-size: 42px;
        }

        .fr-hero p {
            margin-bottom: 30px;
            font-size: 17px;
            line-height: 1.65;
        }

        .fr-btn {
            min-height: 58px;
            padding: 13px 23px;
            font-size: 15px;
        }

        .fr-hero-img img {
            height: 430px;
        }
    }

    /* Мобильная версия */
    @media (max-width: 767px) {
        .fr-hero {
            padding: 48px 0 55px;
        }

        .fr-hero-in {
            display: flex;
            flex-direction: column;
            gap: 32px;
        }

        .fr-hero-txt {
            width: 100%;
        }

        .fr-hero h1 {
            margin-bottom: 22px;
            font-size: clamp(34px, 10vw, 45px);
            line-height: 1.07;
            letter-spacing: -.7px;
        }

        .fr-hero p {
            margin-bottom: 28px;
            font-size: 16px;
            line-height: 1.6;
        }

        .fr-hero-btns {
            display: grid;
            grid-template-columns: 1fr;
            gap: 12px;
        }

        .fr-btn {
            width: 100%;
            min-height: 57px;
            padding: 13px 18px;
            border-radius: 8px;
            font-size: 15px;
        }

        .fr-hero-img {
            order: -1;
            width: 100%;
            border-radius: 16px;
        }

        .fr-hero-img img {
            height: auto;
            aspect-ratio: 4 / 3;
        }
    }

    @media (max-width: 380px) {
        .fr-hero {
            padding: 38px 0 45px;
        }

        .fr-hero-in {
            gap: 25px;
        }

        .fr-hero h1 {
            font-size: 30px;
        }

        .fr-hero p {
            font-size: 14px;
        }

        .fr-btn {
            min-height: 54px;
            font-size: 14px;
        }
    }

    @media (prefers-reduced-motion: reduce) {
        .fr-btn {
            transition: none;
        }
    }

/* ===================================================
   БЛОК: О ШКОЛЕ
=================================================== */

.fr-about,
.fr-about * {
    box-sizing: border-box;
}

.fr-about {
    padding: 105px 0;
    background: #fff;
    color: #171827;
}

.fr-about-in {
    display: grid;
    grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr);
    gap: 55px;
    align-items: center;
}

.fr-about-img {
    overflow: hidden;
    border-radius: 18px;
    background: #eef2f5;
    box-shadow: 0 18px 38px rgba(24, 37, 53, .12);
}

.fr-about-img img {
    display: block;
    width: 100%;
    height: 430px;
    object-fit: cover;
}

.fr-about-txt {
    min-width: 0;
}

.fr-about h2 {
    margin: 34px 0 18px;
    color: #176eb1;
    font-size: 27px;
	width: 90%;
    font-weight: 700;
    line-height: 1.3;	
}
h2.tit {
    max-width: 518px;
    margin: 0 0 24px;
    color: #171827;
    font-size: clamp(34px, 3.2vw, 48px);
    font-weight: 700;
    line-height: 1.16;
    letter-spacing: -.7px;
}


/* Прокручиваемая область начинается после первого заголовка */
.fr-about-scroll {
    max-height: 310px;
    padding-right: 16px;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: #26b7d6 #e9f2f5;
}

.fr-about-scroll::-webkit-scrollbar {
    width: 6px;
}

.fr-about-scroll::-webkit-scrollbar-track {
    background: #e9f2f5;
    border-radius: 10px;
}

.fr-about-scroll::-webkit-scrollbar-thumb {
    background: #26b7d6;
    border-radius: 10px;
}

.fr-about-scroll::-webkit-scrollbar-thumb:hover {
    background: #159bb8;
}



.fr-about p + p {
    margin-top: 20px;
}

.fr-about-scroll h2 {
    margin: 32px 0 18px;
    font-size: 27px;
    line-height: 1.25;
    letter-spacing: -.3px;
}

.fr-about-scroll ul {
    margin: 18px 0 22px;
    padding-left: 22px;
    color: #7c8491;
    font-size: 17px;
    line-height: 1.7;
}

.fr-about-scroll li + li {
    margin-top: 7px;
}

.fr-about-scroll a {
    color: #159bb8;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

/* Планшет */
@media (max-width: 1024px) {
    .fr-about {
        padding: 75px 0;
    }

    .fr-about-in {
        grid-template-columns: minmax(250px, .8fr) minmax(0, 1.2fr);
        gap: 38px;
    }

    .fr-about-img img {
        height: 390px;
    }

    .fr-about h2 {
        margin-bottom: 22px;
        font-size: 35px;
    }

    .fr-about-scroll {
        max-height: 310px;
        padding-right: 12px;
    }

    .fr-about p,
    .fr-about-scroll ul {
        font-size: 16px;
        line-height: 1.65;
    }

    .fr-about-scroll h2 {
        font-size: 24px;
    }
}

/* Мобильная версия */
@media (max-width: 767px) {
    .fr-about {
        padding: 52px 0;
    }

    .fr-about-in {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }

    .fr-about-img {
        width: 100%;
        border-radius: 14px;
    }

    .fr-about-img img {
        height: auto;
        aspect-ratio: 4 / 3;
    }

    .fr-about-txt {
        width: 100%;
    }

    .fr-about h2 {
        margin-bottom: 20px;
        font-size: 29px;
        line-height: 1.2;
    }

    .fr-about-scroll {
        max-height: 360px;
        padding-right: 10px;
    }

    .fr-about p,
    .fr-about-scroll ul {
        font-size: 15px;
        line-height: 1.65;
    }

    .fr-about p + p {
        margin-top: 18px;
    }

    .fr-about-scroll h2 {
        margin-top: 28px;
        font-size: 22px;
    }
}

@media (max-width: 380px) {
    .fr-about {
        padding: 42px 0;
    }

    .fr-about-in {
        gap: 24px;
    }

    .fr-about h2 {
        font-size: 25px;
    }

    .fr-about p,
    .fr-about-scroll ul {
        font-size: 14px;
    }

    .fr-about-scroll {
        max-height: 330px;
    }

    .fr-about-scroll h2 {
        font-size: 20px;
    }
}
/* ===================================================
   БЛОК: ИНФОРМАЦИЯ О ФРАНШИЗЕ
=================================================== */

.fr-info,
.fr-info * {
    box-sizing: border-box;
}

.fr-info {
    padding: 90px 0;
    background: #fcfcfc;
    color: #171827;
}

.fr-info-in {
    display: grid;
    grid-template-columns: 365px minmax(0, 1fr);
    gap: 62px;
    height: 455px;
    align-items: stretch;
}

.fr-info-img {
    overflow: hidden;
    border-radius: 3px;
    background: #eef2f5;
}

.fr-info-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fr-info-scroll {
    min-width: 0;
    height: 455px;
    overflow-y: auto;
    padding: 0 25px 10px 0;
    scrollbar-width: thin;
    scrollbar-color: #7c8491 #eef1f3;
}

.fr-info-scroll::-webkit-scrollbar {
    width: 7px;
}

.fr-info-scroll::-webkit-scrollbar-track {
    background: #eef1f3;
    border-radius: 10px;
}

.fr-info-scroll::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background: #7c8491;
}

.fr-info .formatted-text {
    color: #24242b;
    font-size: 16px;
    line-height: 1.7;
}

.fr-info .formatted-text h2 {
    margin: 0 0 27px;
    color: #171827;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.25;
}

.fr-info .formatted-text p {
    margin: 0 0 20px;
}

.fr-info .formatted-text h2:not(:first-child) {
    margin-top: 36px;
}

.fr-info .formatted-text ul {
    margin: 0 0 24px;
    padding-left: 35px;
}

.fr-info .formatted-text li {
    margin-bottom: 10px;
}

.fr-info .formatted-text a {
    color: inherit;
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.fr-info .formatted-text a:hover {
    color: #087bc1;
}

/* Планшет */
@media (max-width: 1024px) {
    .fr-info {
        padding: 70px 0;
    }

    .fr-info-in {
        grid-template-columns: 310px minmax(0, 1fr);
        gap: 38px;
        height: 430px;
    }

    .fr-info-scroll {
        height: 430px;
    }

    .fr-info .formatted-text {
        font-size: 15px;
    }

    .fr-info .formatted-text h2 {
        font-size: 25px;
    }
}

/* Мобильная версия */
@media (max-width: 767px) {
    .fr-info {
        padding: 52px 0;
    }

    .fr-info-in {
        display: flex;
        height: auto;
        flex-direction: column;
        gap: 28px;
    }

    .fr-info-img {
        width: 100%;
        height: 330px;
        border-radius: 12px;
    }

    .fr-info-scroll {
        width: 100%;
        height: 430px;
        padding: 20px 16px 20px 20px;
        border: 1px solid #e3e7eb;
        border-radius: 12px;
    }

    .fr-info .formatted-text {
        font-size: 14px;
        line-height: 1.65;
    }

    .fr-info .formatted-text h2 {
        margin-bottom: 20px;
        font-size: 23px;
    }

    .fr-info .formatted-text h2:not(:first-child) {
        margin-top: 30px;
    }
}

@media (max-width: 380px) {
    .fr-info {
        padding: 42px 0;
    }

    .fr-info-img {
        height: 280px;
    }

    .fr-info-scroll {
        height: 400px;
        padding: 17px 12px 17px 15px;
    }

    .fr-info .formatted-text {
        font-size: 13px;
    }

    .fr-info .formatted-text h2 {
        font-size: 21px;
    }
}

/* ===================================================
   БЛОК: ОБРАЗОВАТЕЛЬНЫЕ ПРОГРАММЫ
=================================================== */

.fr-programs,
.fr-programs * {
    box-sizing: border-box;
}

.fr-programs {
    padding: 95px 0;
    background: #fafbfc;
    color: #171827;
}

.fr-programs-head {
    margin-bottom: 45px;
    text-align: center;
}

.fr-programs-head h2 {
    margin: 0 0 20px;
    font-size: clamp(38px, 4vw, 54px);
    line-height: 1.15;
}

.fr-programs-head p {
    margin: 0;
    color: #7c8491;
    font-size: 19px;
    line-height: 1.6;
}

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

.fr-program-card {
    min-height: 300px;
    padding: 35px;
    border: 1px solid #e1e5e9;
    border-radius: 18px;
    background: #fff;
}

.fr-program-icon {
    display: grid;
    width: 60px;
    height: 60px;
    margin-bottom: 22px;
    place-items: center;
    border-radius: 13px;
    background: #087bc1;
}

.fr-program-icon svg {
    width: 29px;
    height: 29px;
    fill: none;
    stroke: #fff;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.fr-program-card h3 {
    margin: 0 0 15px;
    font-size: 20px;
    line-height: 1.35;
}

.fr-program-card p {
    margin: 0;
    color: #7c8491;
    font-size: 16px;
    line-height: 1.65;
}

/* Планшет */
@media (max-width: 1024px) {
    .fr-programs {
        padding: 75px 0;
    }

    .fr-programs-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .fr-program-card {
        min-height: 270px;
        padding: 28px;
    }

    .fr-programs-head h2 {
        font-size: 40px;
    }
}

/* Мобильная версия */
@media (max-width: 767px) {
    .fr-programs {
        padding: 52px 0;
    }

    .fr-programs-head {
        margin-bottom: 30px;
    }

    .fr-programs-head h2 {
        margin-bottom: 15px;
        font-size: 30px;
    }

    .fr-programs-head p {
        font-size: 15px;
    }

    .fr-programs-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .fr-program-card {
        min-height: 0;
        padding: 24px;
        border-radius: 14px;
    }

    .fr-program-icon {
        width: 52px;
        height: 52px;
        margin-bottom: 18px;
        border-radius: 11px;
    }

    .fr-program-icon svg {
        width: 25px;
        height: 25px;
    }

    .fr-program-card h3 {
        margin-bottom: 11px;
        font-size: 18px;
    }

    .fr-program-card p {
        font-size: 14px;
    }
}

@media (max-width: 380px) {
    .fr-programs {
        padding: 42px 0;
    }

    .fr-programs-head h2 {
        font-size: 27px;
    }

    .fr-program-card {
        padding: 20px;
    }
}

/* ===================================================
   БЛОК: ПРЕИМУЩЕСТВА ФРАНШИЗЫ
=================================================== */

.fr-benefits,
.fr-benefits * {
    box-sizing: border-box;
}

.fr-benefits {
    padding: 95px 0;
    background: #fff;
    color: #171827;
}

.fr-benefits-head {
    max-width: 800px;
    margin: 0 auto 42px;
    text-align: center;
}

.fr-benefits-head h2 {
    margin: 0 0 18px;
    font-size: clamp(38px, 4vw, 52px);
    line-height: 1.15;
}

.fr-benefits-head p {
    margin: 0;
    color: #7c8491;
    font-size: 18px;
    line-height: 1.55;
}

.fr-benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.fr-benefit-card {
    position: relative;
    display: grid;
    min-height: 170px;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
    overflow: hidden;
    padding: 28px 30px;
    border: 1px solid #e1e5e9;
    border-radius: 16px;
    background: #fff;
    transition:
        transform .25s ease,
        border-color .25s ease,
        box-shadow .25s ease;
}

.fr-benefit-card::after {
    content: "";
    position: absolute;
    right: -45px;
    bottom: -45px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(8, 123, 193, .08);
    transition: transform .3s ease;
}

.fr-benefit-card:hover {
    border-color: rgba(8, 123, 193, .38);
    transform: translateY(-5px);
    box-shadow: 0 16px 34px rgba(19, 46, 72, .11);
}

.fr-benefit-card:hover::after {
    transform: scale(1.8);
}

.fr-benefit-icon {
    position: relative;
    z-index: 1;
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 10px;
    background: #087bc1;
    transition: transform .25s ease;
}

.fr-benefit-card:hover .fr-benefit-icon {
    transform: rotate(-5deg) scale(1.08);
}

.fr-benefit-icon svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: #fff;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.fr-benefit-card div {
    position: relative;
    z-index: 1;
    min-width: 0;
}

.fr-benefit-card h3 {
    margin: 5px 0 10px;
    font-size: 18px;
    line-height: 1.35;
}

.fr-benefit-card p {
    margin: 0;
    color: #7c8491;
    font-size: 15px;
    line-height: 1.6;
}

/* Планшет */
@media (max-width: 1024px) {
    .fr-benefits {
        padding: 75px 0;
    }

    .fr-benefits-head h2 {
        font-size: 40px;
    }

    .fr-benefit-card {
        min-height: 180px;
        padding: 24px;
    }
}

/* Мобильная версия */
@media (max-width: 767px) {
    .fr-benefits {
        padding: 52px 0;
    }

    .fr-benefits-head {
        margin-bottom: 30px;
    }

    .fr-benefits-head h2 {
        margin-bottom: 14px;
        font-size: 30px;
    }

    .fr-benefits-head p {
        font-size: 15px;
    }

    .fr-benefits-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .fr-benefit-card {
        min-height: 0;
        grid-template-columns: 42px minmax(0, 1fr);
        gap: 15px;
        padding: 22px;
        border-radius: 14px;
    }

    .fr-benefit-card:hover {
        transform: none;
    }

    .fr-benefit-icon {
        width: 42px;
        height: 42px;
    }

    .fr-benefit-card h3 {
        margin-top: 3px;
        font-size: 17px;
    }

    .fr-benefit-card p {
        font-size: 14px;
    }
}

@media (max-width: 380px) {
    .fr-benefits {
        padding: 42px 0;
    }

    .fr-benefits-head h2 {
        font-size: 27px;
    }

    .fr-benefit-card {
        grid-template-columns: 38px minmax(0, 1fr);
        padding: 18px;
    }

    .fr-benefit-icon {
        width: 38px;
        height: 38px;
    }

    .fr-benefit-icon svg {
        width: 20px;
        height: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fr-benefit-card,
    .fr-benefit-card::after,
    .fr-benefit-icon {
        transition: none;
    }
}

/* ===================================================
   БЛОК: КОМУ ПОДОЙДЕТ ФРАНШИЗА
=================================================== */

.fr-who,
.fr-who * {
    box-sizing: border-box;
}

.fr-who {
    padding: 95px 0;
    background: #fafbfc;
    color: #171827;
}

.fr-who-head {
    max-width: 760px;
    margin: 0 auto 42px;
    text-align: center;
}

.fr-who-head h2 {
    margin: 0 0 18px;
    font-size: clamp(38px, 4vw, 52px);
    line-height: 1.15;
}

.fr-who-head p {
    max-width: 680px;
    margin: 0 auto;
    color: #7c8491;
    font-size: 18px;
    line-height: 1.55;
}

.fr-who-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.fr-who-card {
    position: relative;
    min-height: 235px;
    overflow: hidden;
    padding: 24px 22px;
    border: 1px solid #e1e5e9;
    border-radius: 16px;
    background: #fff;
    text-align: center;
    transition:
        transform .25s ease,
        border-color .25s ease,
        box-shadow .25s ease;
}

.fr-who-card::before {
    content: "";
    position: absolute;
    top: -80px;
    left: 50%;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: rgba(8, 123, 193, .07);
    transform: translateX(-50%) scale(0);
    transition: transform .3s ease;
}

.fr-who-card:hover {
    border-color: rgba(8, 123, 193, .35);
    transform: translateY(-6px);
    box-shadow: 0 16px 34px rgba(19, 46, 72, .11);
}

.fr-who-card:hover::before {
    transform: translateX(-50%) scale(1.8);
}

.fr-who-icon {
    position: relative;
    z-index: 1;
    display: grid;
    width: 60px;
    height: 60px;
    margin: 0 auto 18px;
    place-items: center;
    border-radius: 50%;
    background: #087bc1;
    transition: transform .25s ease;
}

.fr-who-card:hover .fr-who-icon {
    transform: scale(1.1) rotate(5deg);
}

.fr-who-icon svg {
    width: 29px;
    height: 29px;
    fill: none;
    stroke: #fff;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.fr-who-card h3 {
    position: relative;
    z-index: 1;
    margin: 0 0 12px;
    font-size: 17px;
    line-height: 1.25;
}

.fr-who-card p {
    position: relative;
    z-index: 1;
    margin: 0;
    color: #7c8491;
    font-size: 14px;
    line-height: 1.55;
}

/* Планшет */
@media (max-width: 1024px) {
    .fr-who {
        padding: 75px 0;
    }

    .fr-who-head h2 {
        font-size: 40px;
    }

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

    .fr-who-card {
        min-height: 220px;
    }
}

/* Мобильная версия */
@media (max-width: 767px) {
    .fr-who {
        padding: 52px 0;
    }

    .fr-who-head {
        margin-bottom: 30px;
    }

    .fr-who-head h2 {
        margin-bottom: 14px;
        font-size: 30px;
    }

    .fr-who-head p {
        font-size: 15px;
    }

    .fr-who-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .fr-who-card {
        min-height: 0;
        padding: 24px 20px;
        border-radius: 14px;
    }

    .fr-who-card:hover {
        transform: none;
    }

    .fr-who-icon {
        width: 54px;
        height: 54px;
        margin-bottom: 16px;
    }

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

    .fr-who-card h3 {
        font-size: 17px;
    }

    .fr-who-card p {
        font-size: 14px;
    }
}

@media (max-width: 380px) {
    .fr-who {
        padding: 42px 0;
    }

    .fr-who-head h2 {
        font-size: 27px;
    }

    .fr-who-card {
        padding: 21px 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fr-who-card,
    .fr-who-card::before,
    .fr-who-icon {
        transition: none;
    }
}

/* ===================================================
   БЛОК: РАБОТАЕТ В ЛЮБОМ ГОРОДЕ
=================================================== */

.fr-city,
.fr-city * {
    box-sizing: border-box;
}

.fr-city {
    padding: 95px 0;
    background: #fff;
    color: #171827;
}

.fr-city-head {
    max-width: 780px;
    margin: 0 auto 36px;
    text-align: center;
}

.fr-city-head h2 {
    margin: 0 0 18px;
    font-size: clamp(38px, 4vw, 52px);
    line-height: 1.15;
}

.fr-city-head p {
    margin: 0;
    color: #7c8491;
    font-size: 18px;
    line-height: 1.55;
}

.fr-city-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
}

.fr-city-card {
    position: relative;
    min-height: 280px;
    overflow: hidden;
    padding: 34px 32px;
    border: 1px solid #e1e5e9;
    border-radius: 16px;
    background: #fff;
    transition:
        transform .25s ease,
        border-color .25s ease,
        box-shadow .25s ease;
}

.fr-city-card::after {
    content: "";
    position: absolute;
    right: -70px;
    bottom: -70px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: rgba(8, 123, 193, .07);
    transition: transform .3s ease;
}

.fr-city-card:hover {
    border-color: rgba(8, 123, 193, .35);
    transform: translateY(-6px);
    box-shadow: 0 18px 38px rgba(19, 46, 72, .11);
}

.fr-city-card:hover::after {
    transform: scale(1.65);
}

.fr-city-title {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.fr-city-icon {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    transition: transform .25s ease;
}

.fr-city-card:hover .fr-city-icon {
    transform: translateY(-2px) scale(1.08);
}

.fr-city-icon svg {
    width: 27px;
    height: 27px;
    fill: none;
    stroke: #087bc1;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.fr-city-card h3 {
    margin: 0;
    font-size: 22px;
    line-height: 1.3;
}

.fr-city-card p {
    position: relative;
    z-index: 1;
    margin: 0;
    color: #7c8491;
    font-size: 16px;
    line-height: 1.75;
}

/* Планшет */
@media (max-width: 1024px) {
    .fr-city {
        padding: 75px 0;
    }

    .fr-city-head h2 {
        font-size: 40px;
    }

    .fr-city-card {
        min-height: 300px;
        padding: 28px;
    }

    .fr-city-card h3 {
        font-size: 20px;
    }

    .fr-city-card p {
        font-size: 15px;
    }
}

/* Мобильная версия */
@media (max-width: 767px) {
    .fr-city {
        padding: 52px 0;
    }

    .fr-city-head {
        margin-bottom: 30px;
    }

    .fr-city-head h2 {
        margin-bottom: 14px;
        font-size: 30px;
    }

    .fr-city-head p {
        font-size: 15px;
    }

    .fr-city-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .fr-city-card {
        min-height: 0;
        padding: 24px 22px;
        border-radius: 14px;
    }

    .fr-city-card:hover {
        transform: none;
    }

    .fr-city-title {
        gap: 12px;
        margin-bottom: 15px;
    }

    .fr-city-card h3 {
        font-size: 19px;
    }

    .fr-city-card p {
        font-size: 14px;
        line-height: 1.65;
    }
}

@media (max-width: 380px) {
    .fr-city {
        padding: 42px 0;
    }

    .fr-city-head h2 {
        font-size: 27px;
    }

    .fr-city-card {
        padding: 20px 18px;
    }

    .fr-city-card h3 {
        font-size: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fr-city-card,
    .fr-city-card::after,
    .fr-city-icon {
        transition: none;
    }
}

/* ===================================================
   БЛОК: ПОДДЕРЖКА ПАРТНЁРОВ
=================================================== */

.fr-support,
.fr-support * {
    box-sizing: border-box;
}

.fr-support {
    position: relative;
    overflow: hidden;
    padding: 95px 0;
    background: #0876b9;
    color: #fff;
}

.fr-support::before {
    content: "";
    position: absolute;
    top: -180px;
    left: 50%;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .035);
    transform: translateX(-50%);
}

.fr-support .container {
    position: relative;
    z-index: 1;
}

.fr-support-head {
    max-width: 800px;
    margin: 0 auto 42px;
    text-align: center;
}

.fr-support-head h2 {
    margin: 0 0 18px;
    color: #fff;
    font-size: clamp(38px, 4vw, 52px);
    line-height: 1.15;
}

.fr-support-sub {
    margin: 0 0 28px;
    color: rgba(255, 255, 255, .78);
    font-size: 18px;
    line-height: 1.55;
}

.fr-support-text {
    max-width: 760px;
    margin: 0 auto;
    color: rgba(255, 255, 255, .86);
    font-size: 17px;
    line-height: 1.7;
}

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

.fr-support-card {
    position: relative;
    min-height: 205px;
    overflow: hidden;
    padding: 28px 24px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 16px;
    background: rgba(255, 255, 255, .1);
    text-align: center;
    backdrop-filter: blur(3px);
    transition:
        transform .25s ease,
        background .25s ease,
        border-color .25s ease,
        box-shadow .25s ease;
}

.fr-support-card::after {
    content: "";
    position: absolute;
    right: -45px;
    bottom: -45px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .09);
    transition: transform .3s ease;
}

.fr-support-card:hover {
    border-color: rgba(255, 255, 255, .38);
    background: rgba(255, 255, 255, .16);
    transform: translateY(-6px);
    box-shadow: 0 18px 36px rgba(0, 49, 86, .2);
}

.fr-support-card:hover::after {
    transform: scale(1.8);
}

.fr-support-icon {
    position: relative;
    z-index: 1;
    display: grid;
    width: 52px;
    height: 52px;
    margin: 0 auto 18px;
    place-items: center;
    transition: transform .25s ease;
}

.fr-support-card:hover .fr-support-icon {
    transform: scale(1.12) rotate(-4deg);
}

.fr-support-icon svg {
    width: 34px;
    height: 34px;
    fill: none;
    stroke: #fff;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.fr-support-card h3 {
    position: relative;
    z-index: 1;
    margin: 0 0 12px;
    color: #fff;
    font-size: 18px;
    line-height: 1.3;
}

.fr-support-card p {
    position: relative;
    z-index: 1;
    max-width: 290px;
    margin: 0 auto;
    color: rgba(255, 255, 255, .78);
    font-size: 14px;
    line-height: 1.6;
}

/* Планшет */
@media (max-width: 1024px) {
    .fr-support {
        padding: 75px 0;
    }

    .fr-support-head h2 {
        font-size: 40px;
    }

    .fr-support-grid {
        gap: 18px;
    }

    .fr-support-card {
        min-height: 220px;
        padding: 25px 20px;
    }
}

/* Мобильная версия */
@media (max-width: 767px) {
    .fr-support {
        padding: 52px 0;
    }

    .fr-support-head {
        margin-bottom: 30px;
    }

    .fr-support-head h2 {
        margin-bottom: 14px;
        font-size: 30px;
    }

    .fr-support-sub {
        margin-bottom: 20px;
        font-size: 15px;
    }

    .fr-support-text {
        font-size: 14px;
        line-height: 1.65;
    }

    .fr-support-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .fr-support-card {
        min-height: 0;
        padding: 24px 20px;
        border-radius: 14px;
    }

    .fr-support-card:hover {
        transform: none;
    }

    .fr-support-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 15px;
    }

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

@media (max-width: 380px) {
    .fr-support {
        padding: 42px 0;
    }

    .fr-support-head h2 {
        font-size: 27px;
    }

    .fr-support-card {
        padding: 21px 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fr-support-card,
    .fr-support-card::after,
    .fr-support-icon {
        transition: none;
    }
}

/* ===================================================
   БЛОК: СТАТЬ ДИРЕКТОРОМ
=================================================== */

.fr-director,
.fr-director * {
    box-sizing: border-box;
}

.fr-director {
    padding: 105px 0;
    overflow: hidden;
    background: #fff;
    
	background-image: url('/wp-content/uploads/2026/07/pattern-bg-p2-1.webp');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.fr-director-box {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
    padding: 2px;
    overflow: hidden;
    border-radius: 15px;
    background: #1684c5;
    box-shadow: 0 18px 42px rgba(20, 62, 93, .12);
}

/* Бегущий электрический импульс */
.fr-director-box::before {
    content: "";
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 50%;
    width: 160%;
    aspect-ratio: 1;
    background: conic-gradient(
        transparent 0deg 70deg,
        #29bfff 82deg,
        #fff 88deg,
        #73e0ff 94deg,
        transparent 106deg 250deg,
        #1684c5 260deg,
        #fff 267deg,
        #35c5ff 274deg,
        transparent 286deg 360deg
    );
    animation: fr-electric 4s linear infinite;
}

/* Внутренний фон */
.fr-director-in {
    position: relative;
    z-index: 2;
    padding: 48px 35px 38px;
    border-radius: 13px;
    background: #f4f5f6;
    text-align: center;
}

.fr-director h2 {
    margin: 0 0 24px;
    color: #173a57;
    font-size: clamp(38px, 4vw, 54px);
    font-weight: 700;
    line-height: 1.12;
}

.fr-director p {
    margin: 0 0 17px;
    color: #2874ad;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.5;
}

.fr-director strong {
    display: block;
    margin-bottom: 30px;
    color: #2d78b1;
    font-size: clamp(34px, 4vw, 47px);
    line-height: 1.15;
}

.fr-director-btn {
    display: inline-flex;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    padding: 13px 28px;
    border-radius: 9px;
    background: #ffd43b;
    color: #202020;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(255, 212, 59, .25);
    transition:
        transform .2s ease,
        background .2s ease,
        box-shadow .2s ease;
}

.fr-director-btn:hover {
    background: #ffc928;
    color: #202020;
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(255, 201, 40, .4);
}

.fr-director-box:hover {
    box-shadow:
        0 0 22px rgba(32, 184, 245, .24),
        0 22px 48px rgba(20, 62, 93, .15);
}

@keyframes fr-electric {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Планшет */
@media (max-width: 1024px) {
    .fr-director {
        padding: 80px 0;
    }

    .fr-director-box {
        max-width: 680px;
    }

    .fr-director-in {
        padding: 42px 30px 34px;
    }

    .fr-director h2 {
        font-size: 42px;
    }

    .fr-director p {
        font-size: 18px;
    }

    .fr-director strong {
        font-size: 40px;
    }
}

/* Мобильная версия */
@media (max-width: 767px) {
    .fr-director {
        padding: 52px 0;
    }

    .fr-director-box {
        border-radius: 13px;
    }

    .fr-director-in {
        padding: 32px 20px 26px;
        border-radius: 11px;
    }

    .fr-director h2 {
        margin-bottom: 20px;
        font-size: 30px;
    }

    .fr-director p {
        margin-bottom: 14px;
        font-size: 15px;
    }

    .fr-director strong {
        margin-bottom: 24px;
        font-size: 32px;
    }

    .fr-director-btn {
        width: 100%;
        min-height: 54px;
        padding: 12px 18px;
        font-size: 15px;
    }
}

@media (max-width: 380px) {
    .fr-director {
        padding: 42px 0;
    }

    .fr-director-in {
        padding: 27px 16px 22px;
    }

    .fr-director h2 {
        font-size: 27px;
    }

    .fr-director p {
        font-size: 14px;
    }

    .fr-director strong {
        font-size: 28px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fr-director-box::before {
        animation: none;
    }

    .fr-director-btn {
        transition: none;
    }
}
