/* ==========================================================================
   1) TOKENS / VARIABLES
   ========================================================================== */

:root {
    --bg: #f6f7fb;
    --panel: #ffffff;
    --text: #1b2430;
    --muted: #5f6b7a;
    --line: rgba(15, 23, 42, .12);

    --accent: #41D4C3;   /* мягкий бирюзовый */
    --accent2: #66aaff;  /* спокойный голубой */

    --radius: 0;
    --radius2: 8px;
    --shadow: 0 10px 24px rgba(15, 23, 42, .06);
}

/* ==========================================================================
   2) BASE / RESET
   ========================================================================== */

* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    background:
        radial-gradient(900px 500px at 15% 10%, rgba(45, 212, 191, .22), transparent 60%),
        radial-gradient(900px 500px at 85% 15%, rgba(96, 165, 250, .18), transparent 55%),
        var(--bg);
    background-repeat: no-repeat;

    color: var(--text);
    line-height: 1.5;

    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1 0 auto;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    max-width: 1320px;
}

/* ==========================================================================
   3) GLOBAL UTILITIES / STATES
   ========================================================================== */

body.is-locked {
    overflow: hidden;
    touch-action: none;
}

/* фикс для grid (не удалять) */
.hero__grid > * {
    min-width: 0;
}

.hero__visual {
    min-width: 0;
}

.placeholder {
    min-width: 0;
}

.image-slider {
    width: 100%;
}

/* ==========================================================================
   4) HEADER + NAVIGATION (DESKTOP)
   ========================================================================== */

.header {
    position: sticky;
    top: 0;
    z-index: 2000;

    backdrop-filter: blur(10px);
    background: rgba(246, 247, 251, .75);
    border-bottom: 1px solid var(--line);
}

.header__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;

    padding-top: 10px;
    padding-bottom: 10px;
}

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

.nav {
    display: flex;
    gap: 18px;
}

.nav a {
    color: var(--muted);
    padding: 8px 10px;
    border-radius: var(--radius2);
}

.nav a:hover {
    background: rgba(15, 23, 42, .04);
    color: var(--text);
}

.header__cta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.phone {
    color: var(--text);
    opacity: .85;
}

.phone:hover {
    opacity: 1;
}

/* ==========================================================================
   5) BURGER + MOBILE NAV + OVERLAY
   ========================================================================== */

.burger {
    display: none;
    width: 48px;
    height: 44px;

    border: 1px solid var(--line);
    background: var(--panel);
    border-radius: var(--radius2);
}

.burger:focus {
    outline: none;
}

.burger span {
    display: block;
    height: 2px;
    width: 24px;
    margin: 7px auto;

    background: var(--text);
    opacity: .85;
}

.burger.is-active {
    background-color: rgba(0, 0, 0, .1);
}

.nav-overlay {
    position: fixed;
    inset: 0;
    z-index: 900;

    background: rgba(15, 23, 42, .25);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);

    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
}

.nav-overlay.is-active {
    opacity: 1;
    pointer-events: auto;
}

.mobile-nav {
    position: fixed;
    top: 84px;
    left: 0;
    right: 0;
    z-index: 1000;

    padding: 16px;
    border-top: 1px solid var(--line);

    background: rgba(246, 247, 251, .85);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(8px);

    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform .64s ease, opacity .2s ease;
}

.mobile-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.mobile-nav__menu {
    margin: 0;
    padding: 0;
    list-style: none;
}

.mobile-nav__menu li {
    margin: 0;
    padding: 0;
}

.mobile-nav__menu a {
    display: block;
    padding: 10px 0;
    color: var(--muted);
}

.mobile-nav__menu a:hover {
    color: var(--text);
}

.mobile-nav .btn {
    width: 100%;
    margin-top: 12px;
}

.mobile-nav__phone {
    color: var(--text);
}

/* ==========================================================================
   6) WP MENU (DESKTOP) / SUPERFISH
   ========================================================================== */

.menu-main {
    position: relative;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 100%;

    margin: 0 auto;
    list-style: none;
    font-style: normal;
}

.menu-main li {
    position: relative;
    padding: 0;
    margin: 0 4px;

    list-style: none;
    white-space: nowrap;

    transition: background-color .5s;
    border-radius: var(--radius2);
}

.menu-main > li > a {
    position: relative;
    display: block;
}

.menu-main a {
    display: block;
    line-height: 110%;
    padding: 10px 10px 9px;

    color: #444444;
    font-weight: 300;
    font-size: 15px;

    text-decoration: none;
    text-transform: uppercase;
}

.menu-main a:hover {
    text-decoration: none;
}

.menu-main .menu-item-has-children a {
    padding-right: 30px;
}

/* dropdowns */
.menu-main ul {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 100;

    display: none;
    opacity: 0;

    min-width: 300px;
    background-color: #182430;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, .3);
}

.menu-main ul ul {
    top: 0;
    left: 100%;
    display: none;
    background-color: #283440;
}

/* superfish */
.menu-main .sfHover ul {
    opacity: 1;
}

.menu-main li:hover {
    background-color: var(--accent2);
}

.menu-main li > ul {
    padding: 10px;
}

/* arrows */
.menu-main .sf-with-ul:after {
    content: '';
    position: absolute;
    top: 50%;
    right: 12px;
    margin-top: -3px;

    height: 0;
    width: 0;
    border: 5px solid transparent;
    border-top-color: rgba(0, 0, 0, .7);
}

.menu-main ul .sf-with-ul:after {
    margin-top: -5px;
    margin-right: -3px;

    border-color: transparent;
    border-left-color: rgba(0, 0, 0, .7);
}

/* current states */
.menu-main .current-menu-ancestor {
    background-color: rgba(0, 0, 0, .2);
}

.menu-main .current-menu-item {
    background-color: rgba(0, 0, 0, .1);
}

/* footer menu reset */
.menu-footer,
.menu-footer li {
    padding: 0;
    margin: 0;
    list-style: none;
}

/* ==========================================================================
   7) BUTTONS
   ========================================================================== */

.btn {
    border: 1px solid var(--line);
    background: var(--panel);
    color: var(--text);

    padding: 12px 14px;
    border-radius: var(--radius2);
    cursor: pointer;

    transition: transform .06s ease, box-shadow .2s ease, border-color .2s ease;
}

.btn:hover {
    box-shadow: 0 10px 22px rgba(15, 23, 42, .08);
}

.btn:active {
    transform: translateY(1px);
}

.btn--primary {
    border-color: transparent;
    background: linear-gradient(135deg, var(--accent));
    color: #042b2b;
    font-weight: 700;
}

.btn--ghost {
    background: rgba(255, 255, 255, .7);
}

.btn--ghost:hover {
    border-color: rgba(15, 23, 42, .18);
}

.btn.is-loading {
    opacity: .6;
    pointer-events: none;
}

/* ==========================================================================
   8) HERO
   ========================================================================== */

.hero {
    padding: 36px 0 26px;
}

.hero__grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 26px;
    align-items: start;
}

h1 {
    font-size: clamp(30px, 4vw, 52px);
    line-height: 1.08;
    margin: 0 0 12px;
}

.lead {
    color: var(--muted);
    margin: 0 0 16px;
    font-size: 16px;
}

.bullets {
    margin: 0 0 18px;
    padding-left: 18px;
    color: var(--text);
}

.bullets li {
    margin: 6px 0;
}

.hero__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.note {
    margin: 14px 0 0;
    color: var(--muted);
}

/* hero visual placeholder */
.hero__visual .placeholder {
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .6);
    border-radius: var(--radius);
    box-shadow: var(--shadow);

    padding: 10px;
    min-height: 320px;

    position: relative;
    overflow: hidden;
}

.placeholder__badge {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;

    background: rgba(255, 255, 255, .6);
    border: 1px solid var(--line);
    border-top: none;
    padding: 0 20px 4px;
    border-radius: 0 0 10px 10px;

    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);

    color: var(--muted);
    font-size: 20px;
    font-weight: 500;
    z-index: 10;
}

.placeholder__box {
    height: 190px;
    border-radius: var(--radius2);
    border: 1px dashed rgba(15, 23, 42, .18);

    margin-top: 42px;
    background: rgba(15, 23, 42, .02);
}

.placeholder__box--small {
    height: 72px;
    margin-top: 12px;
}

/* ==========================================================================
   9) SECTIONS / COMMON BLOCKS
   ========================================================================== */

.section {
    padding: 48px 0;
}

.section--alt {
    background: rgba(255, 255, 255, .55);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.section__head {
    margin-bottom: 18px;
}

.section__head h2 {
    margin: 0 0 8px;
    font-size: 28px;
}

.section__head p {
    margin: 0;
    color: var(--muted);
}

.section__cta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    flex-wrap: wrap;
}













.section--about {
    padding: 20px 0;
}

.about-hero {

}

.about-hero__title {
    margin-bottom: 20px;
    font-size: 36px;
}

.about-hero__lead {
    font-size: 18px;
    color: var(--muted);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.about-card {
    background: var(--panel);
    padding: 30px;
    border-radius: var(--radius2);
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
}

.about-grid .about-card:nth-child(3) {
    grid-column: 1 / -1;
}

.about-list {
    margin: 20px 0 0;
    padding-left: 18px;
}

.about-list li {
    margin-bottom: 10px;
}

.about-list--check li {
    list-style: none;
    position: relative;
    padding-left: 22px;
}

.about-list--check li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 600;
}

.about-steps {
    margin-bottom: 60px;
}

.about-steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.about-step {
    background: var(--panel);
    padding: 20px;
    border-radius: var(--radius2);
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
}
.about-step > div {
    margin-top: 8px;
}
.about-step__num {
    width: 26px;
    height: 26px;
    display: inline-grid;
    place-items: center;
    border-radius: var(--radius2);
    background: rgba(102, 170, 255, .2);
    border: 1px solid rgba(102, 170, 255, 1);
    color: var(--text);
    font-weight: 700;
}

.about-clients {
    margin-bottom: 50px;
    color: var(--muted);
}

.section__cta--center {
    text-align: center;
}

.cta-note {
    display: block;
    margin-top: 10px;
    color: var(--muted);
    font-size: 14px;
}




/* ==========================================================================
   10) CARDS / GRIDS
   ========================================================================== */

/* cards */
.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 18px;
}

.card {
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .85);
    border-radius: var(--radius);
    padding: 16px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .06);
}

.card h3 {
    margin: 0 0 8px;
    font-size: 16px;
}

.card p {
    margin: 0;
    color: var(--muted);
}

/* chips */
.grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 18px;
}

.chip {
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .85);
    border-radius: var(--radius2);
    padding: 10px 12px;
    text-align: center;
    color: var(--muted);
}

/* steps */
.steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 18px;
}

.step {
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .85);
    border-radius: var(--radius2);
    padding: 12px 14px;

    display: flex;
    gap: 10px;
    align-items: center;
}

.step span {
    width: 26px;
    height: 26px;
    display: inline-grid;
    place-items: center;
    border-radius: var(--radius2);
    background: rgba(102, 170, 255, .2);
    border: 1px solid rgba(102, 170, 255, 1);
    color: var(--text);
    font-weight: 700;
}

/* gallery */
.gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 18px;
}

.gallery__item {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;

    background: rgba(255, 255, 255, .85);
    box-shadow: 0 10px 22px rgba(15, 23, 42, .06);
}

.gallery__ph {
    height: 180px;
    display: grid;
    place-items: center;

    color: var(--muted);
    border-bottom: 1px solid var(--line);

    background: rgba(15, 23, 42, .02);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.gallery__cap {
    padding: 12px;
    color: var(--muted);
    font-size: 13px;
}

/* facts */
.facts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 18px;
}

.fact {
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .85);
    border-radius: var(--radius);

    padding: 14px;
    box-shadow: 0 10px 22px rgba(15, 23, 42, .06);
}

.fact strong {
    display: block;
    font-size: 18px;
}

.fact span {
    color: var(--muted);
}

/* faq */
.faq {
    margin-top: 16px;
}

details {
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .85);
    border-radius: var(--radius2);

    padding: 10px 12px;
    margin: 10px 0;
}

summary {
    cursor: pointer;
    color: var(--text);
}

details p {
    color: var(--muted);
    margin: 10px 0 0;
}

/* contacts */
.contacts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 18px;
}

.contacts__box {
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .85);
    border-radius: var(--radius);

    padding: 16px;
    display: grid;
    gap: 10px;

    box-shadow: 0 10px 22px rgba(15, 23, 42, .06);
}

.contacts__row {
    display: flex;
    justify-content: space-between;
    gap: 14px;

    padding: 10px 0;
    border-bottom: 1px dashed rgba(15, 23, 42, .12);
}

.contacts__row:last-child {
    border-bottom: none;
}

.contacts__row span:first-child {
    color: var(--muted);
}

.contacts__map {
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .85);
    border-radius: var(--radius);
    overflow: hidden;

    min-height: 280px;
    box-shadow: 0 10px 22px rgba(15, 23, 42, .06);
}

.map-ph {
    height: 100%;
    display: grid;
    place-items: center;
    color: var(--muted);
}

/* ==========================================================================
   11) FOOTER
   ========================================================================== */

.footer {
    border-top: 1px solid var(--line);
    padding: 18px 0;
    color: var(--muted);
    flex: 0 0 auto;
}

.footer__row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

/* ==========================================================================
   12) MODAL
   ========================================================================== */

.modal {
    display: block !important;
    position: fixed;
    inset: 0;
    z-index: 99999;
    pointer-events: none;
}

.modal.is-open {
    pointer-events: auto;
}

.modal__backdrop {
    position: absolute;
    inset: 0;
    z-index: 0;

    background: rgba(15, 23, 42, .35);

    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);

    opacity: 0;
    transition: opacity .25s ease;
    pointer-events: auto;
}

.modal.is-open .modal__backdrop {
    opacity: 1;
}

.modal__panel {
    position: absolute;
    z-index: 1;

    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateY(-20px);
    opacity: 0;

    width: min(580px, 92vw);
    max-height: 90vh;
    overflow-y: auto;

    padding: 18px 18px 10px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .95);
    border-radius: var(--radius);
    box-shadow: var(--shadow);

    transition: transform .65s ease, opacity .25s ease;
    pointer-events: auto;
}

.modal__panel p {
line-height: 120%;
    }

.modal.is-open .modal__panel {
    transform: translate(-50%, -50%);
    opacity: 1;
}

.modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    font-size: 28px;
    line-height: 0;
    padding-bottom: 3px;
    border-radius: var(--radius2);
    border: 1px solid var(--line);
    background: var(--panel);
    color: var(--text);
    cursor: pointer;
}

/* ==========================================================================
   13) FORMS / TYPO HELPERS
   ========================================================================== */

.muted {
    color: var(--muted);
    margin: 6px 0 0;
}

/* у тебя встречается повтор muted{color:#555} — оставил более системный вариант выше.
   Если нужно именно #555, сделай отдельный класс, например .muted-strong. */

.form {
    display: grid;
    gap: 12px;
    margin-top: 12px;
}

label {
    display: grid;
    gap: 6px;
    color: var(--muted);
    font-size: 13px;
}

input,
textarea {
    width: 100%;
    padding: 12px 12px;

    border-radius: var(--radius2);
    border: 1px solid rgba(15, 23, 42, .14);
    background: rgba(255, 255, 255, .9);

    color: var(--text);
    outline: none;
}

input:focus,
textarea:focus {
    border-color: rgba(45, 212, 191, .55);
    box-shadow: 0 0 0 4px rgba(45, 212, 191, .18);
}

.box {
    border: 1px solid #e7e7e7;
    padding: 14px 16px;
    background: #fafafa;
    border-radius: var(--radius);
}

code {
    background: #f3f3f3;
    padding: 2px 5px;
    border-radius: var(--radius);
}

.form-submit-wrap {
    position: relative;
}

.form-spinner {
    display: none;
    width: 100%;
    min-height: 48px;
    text-align: center;
}

.form-spinner.is-active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-spinner .spinner {
    width: 28px;
    height: 28px;
    border: 3px solid rgba(0, 0, 0, 0.15);
    border-top-color: rgba(0, 0, 0, 0.65);
    border-radius: 50%;
    animation: form-spin 0.8s linear infinite;
    display: inline-block;
}

@keyframes form-spin {
    to {
        transform: rotate(360deg);
    }
}

.form-success-message {
    display: none;
    font-size: 16px;
    line-height: 1.5;
    padding: 20px 0;
}

/* ==========================================================================
   14) SWIPER ARROWS
   ========================================================================== */

.swiper-prev,
.swiper-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    width: 60px;
    height: 60px;
    margin: 0;
    padding: 15px;

    transition: .5s;
    background: rgba(255, 255, 255, .3);
    border-radius: 100%;
    z-index: 10;
}

.swiper-prev {
    left: 15px;
}

.swiper-next {
    right: 15px;
}

.swiper-prev:hover,
.swiper-next:hover {
    background: rgba(255, 255, 255, .5);
}

.swiper-prev::after,
.swiper-prev::before,
.swiper-next::after,
.swiper-next::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 2px;
    background-color: #ffffff;
}

.swiper-prev::after {
    top: 22px;
    left: 18px;
    transform: rotate(-45deg);
}

.swiper-prev::before {
    top: 35px;
    left: 18px;
    transform: rotate(45deg);
}

.swiper-next::after {
    top: 22px;
    right: 18px;
    transform: rotate(45deg);
}

.swiper-next::before {
    top: 35px;
    right: 18px;
    transform: rotate(-45deg);
}

.swiper-prev.swiper-button-disabled,
.swiper-next.swiper-button-disabled {
    opacity: .5;
    cursor: default;
}

.swiper-prev.swiper-button-disabled:hover,
.swiper-next.swiper-button-disabled:hover {
    background: rgba(0, 0, 0, .1);
}

/* ==========================================================================
   15) MAIN SLIDER / HERO VISUAL (как у тебя было)
   ========================================================================== */

.visual-main {
    position: relative;
    height: 700px;
    overflow: hidden;
}

.visual-main .visual-slide {
    position: relative;
    height: 100%;
}

.visual-main .visual-slide .title {
    position: absolute;
    left: 0;
    bottom: 30px;
    padding: 5px;
    margin: 0;

    font-size: 70px;
    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: 700;
    line-height: 100%;
    letter-spacing: -0.03em;

    text-shadow: 0 2px 12px rgba(0, 0, 0, .2);
    /* text-transform: uppercase; */
    color: #f6f7fb;
}

.visual-main .visual-slide .title .mute1 {
    max-width: 880px;
    margin-bottom: 10px;
    display: block;
    color: #DFF0EB;
}

.visual-main .visual-slide .title .mute2 {
    font-size: 38px;
    font-weight: 500;
    line-height: 100%;
    display: block;
    color: #E0E5F0;
}

.visual-main .visual-slide .title .mute3 {
    font-weight: 200;
    display: block;
}

/* layers */
.main-slider {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.main-slider-text {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 2;
}

/* default state */
.main-slider-text .title span {
    will-change: transform, opacity, filter;
    opacity: 0;
    filter: blur(2px);
    transform: translate3d(-80px, 0, 0);
    transition:
        transform 900ms ease,
        opacity 600ms ease,
        filter 600ms ease;
}

/* Базовое состояние строк текста */
.main-slider-text .swiper-slide .title span {
    display: block;
    opacity: 0;
    filter: blur(8px);
    transform: translate3d(0, 30px, 0);
    transition: opacity 0.8s ease, transform 0.8s ease, filter 0.8s ease;
    will-change: opacity, transform, filter;
}

/* Индивидуальные стартовые смещения строк */
.main-slider-text .swiper-slide .title .mute1 {
    transform: translate3d(-40px, -20px, 0);
}

.main-slider-text .swiper-slide .title .mute2 {
    transform: translate3d(-80px, -20px, 0);
}

.main-slider-text .swiper-slide .title .mute3 {
    transform: translate3d(-120px, -20px, 0);
}

/* Активный слайд — показываем строки */
.main-slider-text .swiper-slide.is-anim .title span {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(0, 0, 0) scale(.98);
}

/* Задержки по строкам */
.main-slider-text .swiper-slide.is-anim .title .mute1 {
    transition-delay: 0ms;
}

.main-slider-text .swiper-slide.is-anim .title .mute2 {
    transition-delay: 120ms;
}

.main-slider-text .swiper-slide.is-anim .title .mute3 {
    transition-delay: 240ms;
}

/* Кнопка — базовое скрытое состояние */
.main-slider-text .swiper-slide .button-slide {
    opacity: 0;
    filter: blur(8px);
    transform: translate3d(0, 30px, 0);
    transition: opacity 0.8s ease, transform 0.8s ease, filter 0.8s ease;
    transition-delay: 0ms;
    will-change: opacity, transform, filter;
}

/* Кнопка на активном слайде */
.main-slider-text .swiper-slide.is-anim .button-slide {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(0, 0, 0);
    transition-delay: 420ms;
}




/* controls */
.visual-main .swiper-control {
    position: absolute;
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: flex-end;

    left: 50%;
    transform: translateX(-50%);
    bottom: 10px;

    z-index: 10;
    pointer-events: none;
}

.visual-main .swiper-next,
.visual-main .swiper-prev {
    position: relative;
    padding: 0 20px;
    color: #fff;

    top: auto;
    transform: none;

    pointer-events: auto;
}

.visual-main .swiper-pagination {
    width: auto;
    padding: 0 30px;
    position: static;
    bottom: 30px;
}

.visual-main .swiper-pagination-bullet {
    background: #fff;
    opacity: .3;
}

.visual-main .swiper-pagination-bullet.swiper-pagination-bullet-active {
    opacity: 1;
}

/* image slide */
.main-slider .swiper-slide {
    overflow: hidden;
}

.main-slider .swiper-slide .image-slide {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.main-slider .swiper-slide .image-slide::before {
    position: absolute;
    content: '';
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.6),
        rgba(0,0,0,0)
    );
}

.main-slider .swiper-slide .image-slide.light-r::before,
.main-slider .swiper-slide .image-slide.light::before {
    background: rgba(0, 0, 0, .2);
}

.main-slider .swiper-slide .image-slide.normal-r::before,
.main-slider .swiper-slide .image-slide.normal::before {
    background: rgba(0, 0, 0, .3);
}

.main-slider .swiper-slide .image-slide.black-r::before,
.main-slider .swiper-slide .image-slide.black::before {
    background: rgba(0, 0, 0, .4);
}

/* ==========================================================================
   16) IMAGE SLIDERS / USLUGI SLIDERS
   ========================================================================== */

.image-slider {
    position: relative;
    height: 100%;
    border-radius: var(--radius2);
    overflow: hidden;
}

.image-slider .image-slide {
    display: block;
    height: 100%;
    min-height: 400px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.image-slider .swiper-navigation {
    width: 95%;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);

    justify-content: space-between;
    z-index: 10;

    pointer-events: none;
}

.image-slider .swiper-arrow-next,
.image-slider .swiper-arrow-prev {
    opacity: .6;
}

.image-slider .swiper-arrow-next:hover,
.image-slider .swiper-arrow-prev:hover {
    opacity: .8;
}

.image-slider .image-slide a {
    display: block;
    width: 100%;
    height: 100%;
}

.uslugi-slider {
    position: relative;
    overflow: hidden;
}

.uslugi-slider .swiper-arrow-next,
.uslugi-slider .swiper-arrow-prev {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    opacity: .6;
    z-index: 10;
}

.uslugi-slider .swiper-arrow-next {
    right: 16px;
}

.uslugi-slider .swiper-arrow-prev {
    left: 16px;
}

.uslugi-slider .swiper-arrow-next:hover,
.uslugi-slider .swiper-arrow-prev:hover {
    opacity: .8;
}

/* ==========================================================================
   17) CATEGORY / EVENT LIST (как у тебя)
   ========================================================================== */

.cat-list {
    display: flex;
    flex-wrap: wrap;
    margin: 20px -10px;
}

.cat-card {
    width: 33.33%;
    margin: 10px 0 30px;
    padding: 10px 10px;
    transition: background .3s, transform .3s;
}

.cat-card:hover {
    background: #f5f5f5;
}

.cat-card .cat-image {
    overflow: hidden;
}

.cat-card .cat-image a {
    display: block;
    height: 266px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    transition: background .3s, transform .3s;
}

.cat-card:hover .cat-image a {
    transform: scale(1.1);
}

.cat-card .cat-title a {
    display: block;
    font-size: 22px;
    font-weight: 500;
    padding: 20px 0 15px;
}

.cat-card:hover .cat-title a {
    color: #444444;
}

/* events */
.event-list {
    display: flex;
    flex-wrap: wrap;
    margin: 20px -10px;
}

.event-card {
    width: calc(33.33% - 20px);
    margin: 10px 10px 20px;
    padding: 0;

    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, .2), inset 0 1px 0 0 hsla(0, 0%, 100%, 0);
    overflow: hidden;
}

.uslugi-main .event-card {
    width: 100%;
    height: 100%;
    margin: 0;
}

.event-card .image {
    position: relative;
    overflow: hidden;
}

.event-card .image a {
    display: block;
    height: 266px;

    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

    transition: background .3s, transform .3s;
    color: #ffffff;
}

.event-card .image:hover a {
    transform: scale(1.1);
}

.event-card .image a::before {
    position: absolute;
    content: '';
    inset: 0;

    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0) 50%,
        rgba(0, 0, 0, 0.3) 70%,
        rgba(0, 0, 0, 0.7) 100%
    );

    opacity: .6;
    transition: .4s;
}

.event-card .title {
    position: absolute;
    display: block;
    font-size: 26px;
    font-weight: 400;
    line-height: 100%;

    color: #ffffff;
    padding: 20px;

    bottombottom: 0;
    z-index: 10px;

    pointer-events: none;
    transition: .4s;
}

.event-card .info {
    padding: 10px 20px 20px;
}

.event-card .image:hover a::before {
    opacity: 1;
}

/* ==========================================================================
   18) PAGE LAYOUT (как у тебя)
   ========================================================================== */

.document {
}

.page-breadcrumb {
    padding: 30px 0 0;
}

.page-title h1 {
    margin: 20px 0;
}

.content {
    display: flex;
}

.content .text {
    width: 50%;
    padding-right: 30px;
}

.content .image {
    max-height: 400px;
    width: 50%;
}

.phone_work {
    display: none;
}

/* ==========================================================================
   19) RESPONSIVE
   ========================================================================== */

@media (max-width: 1199px) {
    .visual-main {
        height: 534px;
    }

    .visual-main .visual-slide .title {
        font-size: 62px;
        bottom: 20px;
    }
    .visual-main .visual-slide .title .mute2 {
    font-size: 32px;
    }
}

@media (max-width: 991px) {
    .visual-main {
        height: 434px;
    }

    .visual-main .visual-slide .title {
        font-size: 52px;
        bottom: 60px;
    }

    .hero {
        padding: 30px 0 20px;
    }
}

@media (max-width: 900px) {
    .hero__grid {
        grid-template-columns: 1fr;
    }

    .nav {
        display: none;
    }

    .burger {
        display: inline-block;
    }

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

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

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

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

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

    .visual-main .swiper-pagination {
        display: none;
    }

    .visual-main .swiper-control {
        /* top: 50%;
        transform: translateY(-50%); */
        bottom: 10px;
        /*left: auto;*/
        justify-content: space-between;
    }

    .swiper-next,
    .swiper-prev {
        width: 44px;
        height: 44px;
    }

    .swiper-next {
        right: 0;
    }

    .swiper-prev {
        left: 0;
    }

    .swiper-prev::before,
    .swiper-prev::after,
    .swiper-next::before,
    .swiper-next::after {
        width: 14px;
        height: 2px;
    }

    .swiper-prev::before {
        transform: rotate(-45deg);
        top: 16px;
        left: 13px;
    }

    .swiper-prev::after {
        transform: rotate(45deg);
        top: 24px;
        left: 13px;
    }

    .swiper-next::before {
        transform: rotate(45deg);
        top: 17px;
        left: 16px;
    }

    .swiper-next::after {
        transform: rotate(-45deg);
        top: 26px;
        left: 15px;
    }

    .cat-card {
        width: 50%;
        margin: 10px 0 20px;
    }
}

@media (max-width: 767px) {
    .hero {
        padding: 20px 0 10px;
    }

.about-hero__title {
font-size:33px;
}

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

    .content {
        flex-direction: column-reverse;
    }

    .content .text {
        width: 100%;
        padding: 20px 0;
    }

    .content .image {
        width: 100%;
    }
}

@media screen and (max-width: 600px) {
    #wpadminbar {
        position: fixed;
    }

    .cat-card {
        width: 100%;
        margin: 10px 0 10px;
    }

    .section {
        padding: 28px 0;
    }
}

@media (max-width: 575px) {
    .header__cta .btn--primary {
        display: none;
    }

    .about-hero__title {
    font-size:26px;
    }

    .h3, h3 {
    font-size: 24px;;
    }

    .visual-main {
    height: 360px;
    }

    .visual-main .visual-slide .title {
    font-size: 32px;
    }
    .visual-main .visual-slide .title .mute1 {
    max-width: 380px;
    }
    .visual-main .visual-slide .title .mute2 {
    max-width: 360px;
    font-size: 24px;
    }

    .hero__visual .placeholder,
    .image-slider .image-slide {
        min-height: 240px;
    }
}

@media (max-width: 400px) {
    .visual-main .visual-slide .title .mute1 {
    max-width: 310px;
    }
    .visual-main .visual-slide .title .mute2 {
    max-width: 300px;
    font-size: 20px;
    }

    .about-hero__title {
    font-size:22px;
    }

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

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