:root {
    --bg-white: #ffffff;
    --bg-main: #fafafa;
    --bg-soft: #f5f5f5;
    --bg-alt: #f7f7f7;
    --bg-accent-light: #f0f0f0;
    --bg-dark: #1a1a1a;
    --text-main: #1a1a1a;
    --text-secondary: #2f2f2f;
    --text-muted: #6f6f6f;
    --text-light: #ffffff;
    --accent: #1a1a1a;
    --accent-hover: #333333;
    --accent-light: #e8e8e8;
    --radius-s: 6px;
    --radius-m: 10px;
    --radius-l: 16px;
    --shadow-s: 0 2px 8px rgba(0,0,0,0.04);
    --shadow-m: 0 8px 24px rgba(0,0,0,0.06);
    --shadow-l: 0 12px 32px rgba(0,0,0,0.08);
    --transition: 0.25s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Inter, -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-white);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    color: var(--text-main);
}

h1, h2, h3, h4 {
    color: var(--text-main);
    font-weight: 700;
    letter-spacing: -0.02em;
}

h1 {
    font-size: 44px;
    line-height: 1.15;
}

h2 {
    font-size: 32px;
    margin-bottom: 24px;
}

h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

p {
    margin-bottom: 16px;
    color: var(--text-secondary);
}

a {
    text-decoration: none;
    color: var(--accent);
    transition: var(--transition);
}

a:hover {
    color: var(--accent-hover);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 26px;
    font-size: 16px;
    font-weight: 600;
    user-select: none;
    white-space: nowrap;
    text-decoration: none;
    border-radius: 12px;
    cursor: pointer;
    transition: 0.25s;
    box-shadow: var(--shadow-s);
}

.btn-primary {
    background: var(--accent);
    color: #fff;
}

.btn-primary:hover {
    background: var(--accent-hover);
}

.btn-outline {
    border: 1px solid var(--accent);
    background: transparent;
    color: var(--accent);
}

.btn-outline:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.container {
    width: min(1200px, 90%);
    margin: 0 auto;
    padding-left: 0;
    padding-right: 0;
}

section {
    padding: 80px 0;
}

section + section {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 -1px 12px rgba(0, 0, 0, 0.03);
}

.section-title {
    font-size: 32px;
    text-align: center;
    margin-bottom: 24px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 40px;
}

.section-dark {
    background: var(--bg-dark);
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark p {
    color: var(--text-light);
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.block {
    background: var(--bg-white);
    border-radius: var(--radius-l);
    padding: 32px;
    box-shadow: var(--shadow-s);
}

.card {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 28px;
    box-shadow: var(--shadow-s);
    transition: 0.25s;
}

.card:hover {
    box-shadow: var(--shadow-m);
    transform: translateY(-2px);
}

.avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    background: var(--bg-soft);
    color: var(--text-main);
}

.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 8px;
    background: var(--bg-soft);
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
}

.icon {
    font-size: 28px;
    margin-bottom: 12px;
    color: var(--accent);
}

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding: 12px 0;
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.logo img {
    height: 56px;
    width: auto;
    display: block;
    transition: opacity 0.2s;
}

.logo:hover img {
    opacity: 0.8;
}

.nav__desktop {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav__desktop > a {
    position: relative;
    font-size: 15px;
    color: var(--text-main);
    padding: 6px 0;
    transition: color 0.2s;
    font-weight: 500;
    text-decoration: none;
}

.nav__desktop > a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--accent);
    bottom: 0;
    left: 0;
    transition: width 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.nav__desktop > a:hover {
    color: var(--accent);
}

.nav__desktop > a:hover::after {
    width: 100%;
}

.nav__dropdown {
    position: relative;
}

.nav__dropdown-toggle {
    position: relative;
    font-size: 15px;
    color: var(--text-main);
    padding: 6px 0;
    transition: color 0.2s;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.nav__dropdown-toggle::after {
    content: '▼';
    font-size: 9px;
    transition: transform 0.25s;
}

.nav__dropdown-toggle::before {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--accent);
    bottom: 0;
    left: 0;
    transition: width 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.nav__dropdown:hover .nav__dropdown-toggle {
    color: var(--accent);
}

.nav__dropdown:hover .nav__dropdown-toggle::before {
    width: 100%;
}

.nav__dropdown:hover .nav__dropdown-toggle::after {
    transform: rotate(180deg);
}

.nav__dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    padding: 8px 0;
    margin: 8px 0 0;
    list-style: none;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
}

.nav__dropdown:hover .nav__dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav__dropdown-menu li {
    list-style: none;
}

.nav__dropdown-menu a {
    display: block;
    padding: 10px 18px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: 0.2s;
    font-size: 14px;
    white-space: nowrap;
    text-decoration: none;
}

.nav__dropdown-menu a:hover {
    background: rgba(0, 0, 0, 0.04);
    color: var(--accent);
    padding-left: 24px;
}

.phone-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 40px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: 0.25s;
    background: var(--accent);
    color: #fff;
    font-size: 14px;
    white-space: nowrap;
    text-decoration: none;
}

.phone-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    color: #fff;
}

/* Скрываем мобильное меню на десктопе */
#nav,
.burger,
.menu-overlay,
.nav__mobile,
.nav__mobile-header,
.phone-btn--menu {
    display: none !important;
}

/* Hero */
.hero {
    padding: 40px 0 100px;
    position: relative;
    overflow: hidden;
    background-color: #f5f5f7;
}

.hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero__bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.5);
    z-index: 1;
    pointer-events: none;
}

.hero__bg::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to top, #f5f5f7, transparent);
    z-index: 2;
    pointer-events: none;
}

.hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: relative;
}

.hero--compact {
    padding: 40px 0 80px;
}

.hero__compact-wrapper {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 3;
}

.hero__side-lines {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 28px;
    opacity: 0.5;
}

.hero__line-left,
.hero__line-right {
    flex: 1;
    height: 1px;
    background: var(--text-main);
    max-width: 120px;
}

.hero__line-text {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.18em;
    color: var(--text-main);
}

.hero__title {
    font-size: 46px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    color: var(--text-main);
}

.hero__subtitle {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.hero__desc {
    font-size: 17px;
    margin-bottom: 32px;
    line-height: 1.6;
    color: var(--text-main);
}

.hero__actions {
    margin-top: 80px;
}

.hero__actions .btn {
    font-size: 14px;
    padding: 10px 20px;
    border-radius: 30px;
    display: inline-block;
    width: auto;
    min-width: 180px;
}

.hero__actions .btn-primary:hover {
    background: var(--accent-hover);
}

.hero__actions .btn:hover {
    box-shadow: var(--shadow-m);
    transform: translateY(-3px);
}

/* Services */
.services {
    background: var(--bg-white);
    padding: 48px 0;
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 40px;
    padding: 0 20px;
}

.service {
    display: block;
    background: var(--bg-white);
    border-radius: 18px;
    padding: 0 0 24px;
    text-decoration: none;
    box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.2), 0 5px 12px -4px rgba(0, 0, 0, 0.1);
    transition: 0.28s;
    overflow: hidden;
    color: var(--text-main);
}

.service:hover {
    box-shadow: 0 30px 45px -12px rgba(0, 0, 0, 0.28), 0 8px 18px -6px rgba(0, 0, 0, 0.12);
    transform: translateY(-3px);
}

.service:hover h3 {
    color: var(--accent);
}

.service img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

.service:hover img {
    transform: scale(1.02);
}

.service h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 18px 20px 8px;
    letter-spacing: -0.01em;
    transition: color 0.2s;
}

.service p {
    font-size: 14px;
    margin: 0 20px;
    line-height: 1.5;
    color: var(--text-secondary);
}

/* Service Card */
.service-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    transition: 0.25s cubic-bezier(0.2, 0, 0, 1);
    cursor: pointer;
    color: inherit;
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -8px rgba(0, 0, 0, 0.12);
}

.service-card__icon {
    font-size: 32px;
    color: #333;
    min-width: 40px;
}

.service-card__title {
    margin: 0 0 4px;
    font-size: 18px;
    font-weight: 600;
}

.service-card__desc {
    margin: 0;
    color: #666;
    font-size: 14px;
    line-height: 1.4;
}

/* Features */
.features-new {
    background: var(--bg-white);
    padding: 48px 0;
}

.features-new__header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
    padding: 0 20px;
}

.features-new__header h2 {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.features-new__header p {
    font-size: 18px;
    color: var(--text-secondary);
}

.features-new__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
    padding: 0 20px;
}

.feature-new-card {
    background: #fff;
    border-radius: 18px;
    padding: 28px;
    box-shadow: none;
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: 0.25s;
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.feature-new-card:hover {
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.02);
    transform: translateY(-2px);
}

.feature-new-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--bg-soft, #f5f5f7);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--accent, #0071e3);
    flex-shrink: 0;
}

.feature-new-text h3 {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 6px;
}

.feature-new-text p {
    font-size: 15px;
    color: var(--text-secondary, #6e6e73);
    line-height: 1.55;
}

/* Works */
.works {
    background: var(--bg-alt);
}

.worksSwiper {
    width: 100%;
    padding: 20px 0 60px;
}

.worksSwiper .swiper-slide {
    background: var(--bg-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-s);
    transition: 0.25s;
}

.worksSwiper .swiper-slide:hover {
    box-shadow: var(--shadow-m);
    transform: translateY(-3px);
}

.worksSwiper img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
}

.worksSwiper .swiper-pagination {
    position: relative;
    bottom: auto;
    margin-top: 20px;
}

.swiper-pagination-bullet {
    background: #999 !important;
    opacity: 0.6 !important;
    transition: 0.25s;
}

.swiper-pagination-bullet-active {
    background: #000 !important;
    opacity: 1 !important;
}

/* Reviews */
.reviews {
    background: var(--bg-white);
    border-top: 1px solid rgba(0, 0, 0, 0.12);
    padding-top: 48px;
}

.reviews__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 32px;
}

.review-card {
    background: var(--bg-white);
    border-radius: 18px;
    padding: 20px 24px;
    box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.2), 0 5px 12px -4px rgba(0, 0, 0, 0.1);
    transition: 0.28s;
    display: flex;
    flex-direction: column;
    height: 100%;
    text-align: center;
}

.review-card:hover {
    box-shadow: 0 30px 45px -12px rgba(0, 0, 0, 0.28), 0 8px 18px -6px rgba(0, 0, 0, 0.12);
    transform: translateY(-3px);
}

.review-card__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.review-card__info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
    text-align: center;
}

.review-card__name {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--text-main);
    margin: 0;
}

.review-card__stars {
    font-size: 16px;
    color: #f5b300;
    letter-spacing: 2px;
    display: inline-block;
}

.review-card__text {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 10px;
}

.review-card__date {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
}

.review-card__avatar,
.review-card__project,
.review-card__source,
.reviews__trust {
    display: none;
}

.reviews__footer {
    margin-top: 32px;
    text-align: center;
}

/* SEO */
.seo {
    background: var(--bg-accent-light);
}

.seo__wrapper {
    max-width: 820px;
    margin: 0 auto;
    text-align: left;
}

.seo__title {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    color: #111;
    text-align: center;
}

.seo__intro p {
    font-size: 17px;
    color: #2c2c2e;
    line-height: 1.65;
    margin-bottom: 28px;
    text-align: center;
}

.seo__row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 20px;
}

.seo__subtitle {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 14px;
    color: #111;
    letter-spacing: -0.01em;
}

.seo__list {
    padding-left: 18px;
}

.seo__list li {
    font-size: 16px;
    color: #2c2c2e;
    margin-bottom: 10px;
    line-height: 1.55;
}

.seo__list--numbered {
    list-style: decimal;
}

.seo__footer p {
    font-size: 16px;
    color: #3a3a3c;
    margin-top: 32px;
    text-align: center;
}

.seo-block {
    transition: transform 0.25s cubic-bezier(0.2, 0.9, 0.4, 1.1), box-shadow 0.25s;
    cursor: pointer;
}

.seo-block:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px -8px rgba(0, 0, 0, 0.12) !important;
}

/* FAQ */
.faq {
    background: var(--bg-white);
}

.faq__list {
    max-width: 820px;
    margin: 0 auto;
}

.faq__item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding: 22px 0;
    cursor: pointer;
    transition: 0.25s;
}

.faq__item:last-child {
    border-bottom: none;
}

.faq__item h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 10px;
    position: relative;
    padding-right: 28px;
    letter-spacing: -0.01em;
}

.faq__item h3::after {
    content: "+";
    position: absolute;
    top: 0;
    right: 0;
    font-size: 22px;
    color: var(--text-muted);
    transition: 0.25s;
}

.faq__item.active h3::after {
    transform: rotate(45deg);
    color: var(--accent);
}

.faq__item [itemprop="acceptedAnswer"] {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s;
}

.faq__item.active [itemprop="acceptedAnswer"] {
    max-height: 500px;
}

.faq__item p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
    padding-right: 10px;
}

/* Contacts */
.contacts {
    background: var(--bg-white);
    padding: 40px 0;
}

.contacts__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.contacts__info {
    max-width: 420px;
}

.contacts__info .section-title {
    text-align: left;
    margin-bottom: 20px;
}

.contacts__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contacts__list li {
    font-size: 16px;
    color: var(--text-main);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.contacts__list a {
    color: var(--accent);
    text-decoration: none;
    transition: 0.25s;
}

.contacts__list a:hover {
    opacity: 0.7;
}

.contacts__map iframe {
    width: 100%;
    height: 200px;
    border: none;
    border-radius: 16px;
    box-shadow: var(--shadow-s);
    transition: 0.25s;
}

.contacts__map iframe:hover {
    box-shadow: var(--shadow-m);
    transform: translateY(-2px);
}

/* Pages Hero */
.pages-hero {
    padding: 90px 0 70px;
    background: var(--bg-main);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.pages-hero__inner {
    text-align: center;
    max-width: 820px;
    margin: 0 auto;
}

.pages-hero__title {
    font-size: 42px;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--text-main);
    margin-bottom: 16px;
}

.pages-hero__subtitle {
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-main);
    opacity: 0.9;
    max-width: 620px;
    margin: 0 auto;
}

.breadcrumbs {
    margin-top: 22px;
    font-size: 14px;
    color: var(--text-muted);
}

.breadcrumbs a {
    color: var(--text-secondary);
    transition: opacity 0.2s;
}

.breadcrumbs a:hover {
    opacity: 0.7;
}

.breadcrumbs span {
    margin: 0 6px;
    opacity: 0.5;
}

.pages-hero--with-image {
    position: relative;
    overflow: hidden;
    background-color: #f5f5f7;
    border-bottom: none;
}

.pages-hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.pages-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pages-hero__bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.65);
    z-index: 1;
    pointer-events: none;
}

.pages-hero--with-image .pages-hero__inner {
    position: relative;
    z-index: 2;
}

/* Footer */
.footer {
    background: var(--bg-white);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding: 20px 0;
}

.footer .container {
    max-width: 600px;
    margin: 0 auto;
}

.footer-social {
    display: flex;
    justify-content: center;
    margin-bottom: 8px;
}

.footer-social a {
    display: flex;
    align-items: center;
    gap: 6px;
    opacity: 0.7;
    transition: opacity 0.2s;
    text-decoration: none;
}

.footer-social a:hover {
    opacity: 1;
}

.footer-social a:hover .icon-tg {
    transform: scale(1.05);
}

.icon-tg {
    width: 24px;
    height: 24px;
    transition: 0.25s;
}

.icon-inst {
    width: 18px;
    height: 18px;
}

.footer-social span {
    font-size: 13px;
    color: var(--text-secondary);
    letter-spacing: -0.01em;
}

.footer p {
    font-size: 12px;
    color: var(--text-muted);
    margin: 0;
    text-align: center;
    letter-spacing: -0.01em;
}

/* Floating Button */
.floating-btn {
    position: fixed !important;
    bottom: 24px !important;
    right: 24px !important;
    width: 56px !important;
    height: 56px !important;
    background: #1a1a1a !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    z-index: 9999 !important;
    transition: 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    color: #fff;
    text-decoration: none;
}

.floating-btn svg {
    fill: none;
    stroke: #fff;
    stroke-linecap: round;
    stroke-linejoin: round;
    width: 26px !important;
    height: 26px !important;
    stroke-width: 1.8 !important;
}

.floating-btn:hover {
    transform: scale(1.08) !important;
    background: #333 !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.floating-btn:active {
    transform: scale(0.96);
}

.floating-btn.pulse {
    animation: 2s infinite pulse;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(26, 26, 26, 0.4);
    }
    70% {
        box-shadow: 0 0 0 12px rgba(26, 26, 26, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(26, 26, 26, 0);
    }
}

.floating-btn::before {
    content: "Оставить заявку";
    position: absolute;
    right: 70px;
    background: var(--accent, #1a1a1a);
    color: #fff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: 0.2s;
    pointer-events: none;
}

.floating-btn:hover::before {
    opacity: 1;
    visibility: visible;
    right: 65px;
}

/* Scroll to Top */
.scroll-to-top {
    position: fixed !important;
    bottom: 90px !important;
    right: 24px !important;
    width: 56px !important;
    height: 56px !important;
    background: #1a1a1a !important;
    border-radius: 50% !important;
    color: #fff !important;
    border: none !important;
    font-size: 24px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    box-shadow: var(--shadow-m);
    opacity: 0 !important;
    pointer-events: none !important;
    transition: 0.25s !important;
    z-index: 9998 !important;
}

.scroll-to-top.visible {
    opacity: 1 !important;
    pointer-events: auto !important;
}

.scroll-to-top:hover {
    background: #333 !important;
}

/* Auto Modal */
.auto-modal {
    position: fixed;
    bottom: 24px;
    right: 24px;
    left: auto;
    top: auto;
    width: auto;
    height: auto;
    z-index: 2000;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.3s, opacity 0.3s, transform 0.3s;
    transform: translateY(30px);
}

.auto-modal.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.auto-modal__overlay {
    display: none;
}

.auto-modal__window {
    position: relative;
    background: #fff;
    border-radius: 20px;
    padding: 20px 24px;
    width: 320px;
    max-width: calc(100vw - 48px);
    text-align: left;
    box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.auto-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.05);
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    transition: 0.2s;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    z-index: 10;
}

.auto-modal__close:hover {
    background: rgba(0, 0, 0, 0.1);
    color: var(--accent, #000);
}

.auto-modal__icon {
    display: none;
}

.auto-modal__title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
    letter-spacing: -0.01em;
    padding-right: 40px;
    color: #1a1a1a;
}

.auto-modal__subtitle {
    font-size: 13px;
    color: #666;
    margin-bottom: 16px;
}

.auto-modal__form input,
.auto-modal__form textarea {
    width: 100%;
    padding: 10px 14px;
    margin-bottom: 10px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    font-size: 14px;
    font-family: inherit;
    transition: 0.2s;
    background: #fff;
    box-sizing: border-box;
}

.auto-modal__form textarea {
    resize: vertical;
    min-height: 70px;
}

.auto-modal__form input:focus,
.auto-modal__form textarea:focus {
    outline: 0;
    border-color: var(--accent, #000);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.03);
}

.auto-modal__form button {
    width: 100%;
    margin-top: 4px;
    padding: 10px;
    font-size: 14px;
    background: var(--accent, #000);
    color: #fff;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: 0.2s;
}

.auto-modal__form button:hover {
    background: var(--accent-hover, #333);
}

.auto-modal__agreement {
    font-size: 10px;
    color: #999;
    margin-top: 12px;
    text-align: center;
}

.auto-modal__agreement a {
    color: var(--accent, #000);
    text-decoration: underline;
}

.auto-modal__success {
    margin-top: 12px;
    padding: 12px;
    background: #e8f5e9;
    border-radius: 12px;
    color: #2e7d32;
    font-size: 13px;
    text-align: center;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.auto-modal.active .auto-modal__window {
    animation: 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1) slideInUp;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-left {
    text-align: left;
}

.text-max {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.max-w-600 {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.w-100 {
    width: 100%;
}

.mt-0 {
    margin-top: 0 !important;
}

.mt-10 {
    margin-top: 10px !important;
}

.mt-20 {
    margin-top: 20px !important;
}

.mt-30 {
    margin-top: 30px !important;
}

.mt-40 {
    margin-top: 40px !important;
}

.mb-0 {
    margin-bottom: 0 !important;
}

.mb-10 {
    margin-bottom: 10px !important;
}

.mb-20 {
    margin-bottom: 20px !important;
}

.mb-30 {
    margin-bottom: 30px !important;
}

.mb-40 {
    margin-bottom: 40px !important;
}

.p-0 {
    padding: 0 !important;
}

.p-10 {
    padding: 10px !important;
}

.p-20 {
    padding: 20px !important;
}

.flex {
    display: flex;
}

.inline-flex {
    display: inline-flex;
}

.grid {
    display: grid;
}

.hidden {
    display: none !important;
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flex-column {
    display: flex;
    flex-direction: column;
}

.divider {
    width: 100%;
    height: 1px;
    background: rgba(0, 0, 0, 0.08);
    margin: 24px 0;
}

.rounded-sm {
    border-radius: var(--radius-sm);
}

.rounded-md {
    border-radius: var(--radius-md);
}

.rounded-full {
    border-radius: 999px;
}

.shadow-xs {
    box-shadow: var(--shadow-xs);
}

.shadow-sm {
    box-shadow: var(--shadow-sm);
}

.shadow-md {
    box-shadow: var(--shadow-md);
}

.shadow-lg {
    box-shadow: var(--shadow-lg);
}

.shadow-s {
    box-shadow: var(--shadow-s);
}

.shadow-m {
    box-shadow: var(--shadow-m);
}

/* Media Queries */
@media (max-width: 992px) {
    .grid-3,
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1100px) {
    .services__grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .reviews__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    /* Скрываем десктопное меню */
    .nav__desktop,
    .header .phone-btn {
        display: none !important;
    }
    
    /* Показываем мобильное меню */
    .burger {
        display: flex !important;
        flex-direction: column;
        gap: 5px;
        background: transparent;
        border: none;
        cursor: pointer;
        width: 44px;
        height: 44px;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        z-index: 1001;
    }
    
    .burger span {
        width: 22px;
        height: 2px;
        background: var(--text-main);
        border-radius: 2px;
        transition: 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    }
    
    .burger.active span:first-child {
        transform: translateY(7px) rotate(45deg);
    }
    
    .burger.active span:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }
    
    .burger.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
    
    .menu-overlay {
        display: block !important;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(4px);
        z-index: 998;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s, visibility 0.3s;
    }
    
    .menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    
    #nav {
        display: flex !important;
        position: fixed;
        top: 0;
        right: 0;
        width: min(85%, 320px);
        max-height: 90vh;
        margin-top: 10px;
        margin-bottom: 10px;
        background: var(--bg-white);
        box-shadow: -4px 0 24px rgba(0, 0, 0, 0.1);
        z-index: 999;
        flex-direction: column;
        transform: translateX(100%);
        transition: transform 0.35s cubic-bezier(0.2, 0.9, 0.4, 1.1);
        border-radius: 24px 0 24px 24px;
        overflow: hidden;
    }
    
    #nav.active {
        transform: translateX(0);
    }
    
    .nav__mobile-header {
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        padding: 20px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    }
    
    .nav__mobile-header span {
        font-size: 18px;
        font-weight: 600;
        color: var(--text-main);
    }
    
    .nav__close {
        background: transparent;
        border: none;
        font-size: 24px;
        cursor: pointer;
        padding: 8px;
        color: var(--text-muted);
    }
    
    .nav__mobile {
        display: flex !important;
        flex: 1;
        flex-direction: column;
        padding: 16px 0 80px;
        overflow-y: auto;
        scrollbar-width: thin;
    }
    
    .nav__mobile > a {
        display: block;
        text-decoration: none;
        font-size: 18px;
        font-weight: 500;
        color: var(--text-main);
        padding: 14px 20px;
    }
    
    .nav__mobile-dropdown {
        width: 100%;
    }
    
    .nav__mobile-dropdown-toggle {
        display: flex;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;
        font-size: 18px;
        font-weight: 500;
        color: var(--text-main);
        padding: 14px 20px;
    }
    
    .nav__mobile-dropdown-toggle .arrow {
        font-size: 12px;
        transition: transform 0.3s;
    }
    
    .nav__mobile-dropdown-toggle.active .arrow {
        transform: rotate(180deg);
    }
    
    .nav__mobile-dropdown-menu {
        display: none;
        flex-direction: column;
        padding: 8px 0 12px 16px;
        background: rgba(0, 0, 0, 0.02);
    }
    
    .nav__mobile-dropdown-menu.active {
        display: flex;
    }
    
    .nav__mobile-dropdown-menu a {
        display: block;
        text-decoration: none;
        font-size: 15px;
        font-weight: 400;
        color: var(--text-secondary);
        padding: 10px 16px;
        border-radius: 10px;
    }
    
    .phone-btn--menu {
        display: flex !important;
        justify-content: center;
        align-items: center;
        gap: 10px;
        margin: auto 20px 20px;
        padding: 14px 20px;
        font-size: 16px;
        font-weight: 600;
        background: var(--accent);
        color: #fff !important;
        text-decoration: none;
        border-radius: 40px;
    }
    
    .phone-btn--menu:hover,
    .phone-btn--menu:active {
        color: #fff !important;
        background: var(--accent-hover);
    }
    
    .hero {
        padding: 40px 0 70px;
    }
    
    .hero__title {
        font-size: 36px;
    }
    
    .hero__subtitle {
        font-size: 18px;
    }
    
    .hero__desc {
        font-size: 16px;
    }
    
    .hero__actions {
        margin-top: 60px;
    }
    
    .features-new__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }
}

@media (max-width: 800px) {
    .services__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contacts__inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    
    .floating-btn {
        right: 20px !important;
        width: 50px !important;
        height: 50px !important;
        bottom: 20px !important;
    }
    
    .floating-btn svg {
        width: 24px !important;
        height: 24px !important;
    }
    
    .floating-btn::before {
        display: none;
    }
    
    .scroll-to-top {
        right: 20px !important;
        width: 50px !important;
        height: 50px !important;
        bottom: 80px !important;
        font-size: 22px !important;
    }
    
    .pages-hero {
        padding: 70px 0 50px;
    }
    
    .pages-hero__title {
        font-size: 32px;
    }
    
    .pages-hero__subtitle {
        font-size: 16px;
    }
}

@media (max-width: 700px) {
    .worksSwiper img {
        height: 200px;
    }
    
    .worksSwiper .swiper-pagination {
        margin-top: 15px;
    }
    
    .reviews__grid,
    .seo__row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .block {
        padding: 24px;
    }
    
    .hero {
        padding: 40px 0 60px;
    }
    
    .hero__title {
        font-size: 30px;
    }
    
    .hero__actions {
        margin-top: 100px;
    }
    
    .features-new__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .swiper-button-next,
    .swiper-button-prev {
        display: none !important;
    }
    
    .contacts__map iframe {
        height: 180px;
    }
}

@media (max-width: 550px) {
    .services__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 500px) {
    .auto-modal {
        bottom: 16px;
        right: 16px;
        left: 16px;
    }
    
    .auto-modal__window {
        width: 100%;
        padding: 20px 16px;
    }
    
    .auto-modal__title {
        font-size: 16px;
        padding-right: 40px;
    }
    
    .auto-modal__close {
        top: 10px;
        right: 10px;
        width: 44px;
        height: 44px;
        font-size: 28px;
        background: rgba(0, 0, 0, 0.05);
    }
}

@media (max-width: 480px) {
    .pages-hero {
        padding: 60px 0 40px;
    }
    
    .pages-hero__title {
        font-size: 28px;
    }
}

@media (min-width: 901px) and (max-width: 1100px) {
    .nav__desktop {
        gap: 18px;
    }
    
    .nav__desktop > a,
    .nav__dropdown-toggle {
        font-size: 14px;
    }
    
    .phone-btn {
        padding: 8px 16px;
        font-size: 13px;
    }
}

@media (min-width: 601px) {
    .swiper-button-next,
    .swiper-button-prev {
        color: #000 !important;
        width: 42px;
        height: 42px;
        border-radius: 50%;
        background: var(--bg-white);
        box-shadow: var(--shadow-s);
        transition: 0.25s;
        user-select: none;
        -webkit-tap-highlight-color: transparent;
    }
    
    .swiper-button-next:hover,
    .swiper-button-prev:hover {
        box-shadow: var(--shadow-m);
        transform: translateY(-2px);
        color: #333 !important;
    }
    
    .swiper-button-next::after,
    .swiper-button-prev::after {
        font-size: 18px;
        color: #000 !important;
    }
    
    .swiper-button-next:hover::after,
    .swiper-button-prev:hover::after {
        color: #333 !important;
    }
}

/* Исправление для скрытия мобильного меню на десктопе */
@media (min-width: 901px) {
    #nav,
    .burger,
    .menu-overlay,
    .nav__mobile,
    .nav__mobile-header,
    .phone-btn--menu {
        display: none !important;
    }
    
    .nav__desktop {
        display: flex !important;
    }
    
    .header .phone-btn {
        display: inline-flex !important;
    }
}