:root {
    --blue-900: #0a3d7a;
    --blue-800: #0d4a94;
    --blue-700: #1565c0;
    --blue-600: #1e88e5;
    --blue-500: #2196f3;
    --blue-100: #e3f2fd;
    --blue-50: #f0f7ff;
    --white: #ffffff;
    --gray-100: #f5f8fc;
    --gray-200: #e8eef5;
    --gray-500: #6b7c93;
    --gray-800: #1a2b42;
    --shadow: 0 4px 24px rgba(13, 74, 148, 0.12);
    --shadow-lg: 0 12px 48px rgba(13, 74, 148, 0.18);
    --radius: 16px;
    --radius-sm: 10px;
    --font: 'Manrope', system-ui, sans-serif;
    --header-h: 72px;
    --safe-bottom: env(safe-area-inset-bottom, 0px);
    --safe-top: env(safe-area-inset-top, 0px);
    --touch-min: 44px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + var(--safe-top));
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    font-family: var(--font);
    color: var(--gray-800);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    padding-bottom: calc(4.5rem + var(--safe-bottom));
}

body.menu-open {
    overflow: hidden;
    touch-action: none;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding-left: max(1rem, env(safe-area-inset-left, 0px));
    padding-right: max(1rem, env(safe-area-inset-right, 0px));
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s, opacity 0.2s;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--gray-200);
    height: calc(var(--header-h) + var(--safe-top));
    padding-top: var(--safe-top);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 800;
    font-size: 1.25rem;
}

.logo-icon {
    font-size: 1.5rem;
}

.logo-text span {
    color: var(--blue-700);
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav a {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--gray-500);
}

.nav a:hover {
    color: var(--blue-700);
}

.header-phone {
    font-weight: 700;
    color: var(--blue-700);
    white-space: nowrap;
}

.header-phone:hover {
    color: var(--blue-900);
}

.nav-phone {
    display: none;
}

.burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    width: var(--touch-min);
    height: var(--touch-min);
    padding: 10px;
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
}

.burger span {
    width: 22px;
    height: 2px;
    background: var(--blue-800);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

.header.menu-open .burger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.header.menu-open .burger span:nth-child(2) {
    opacity: 0;
}

.header.menu-open .burger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Hero */
.hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    padding: calc(var(--header-h) + 3rem) 0 4rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(105deg, rgba(10, 61, 122, 0.88) 0%, rgba(10, 61, 122, 0.55) 45%, rgba(255, 255, 255, 0.15) 100%),
        url('photo/photo_2026-05-19_18-24-38.jpg') center / cover no-repeat;
    z-index: 0;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60%;
    height: 80%;
    background: radial-gradient(ellipse, rgba(30, 136, 229, 0.15) 0%, transparent 70%);
}

.hero-bg::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to top, var(--white), transparent);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 680px;
}

.hero-label {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--blue-100);
    background: rgba(255, 255, 255, 0.12);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    margin-bottom: 1.25rem;
    box-shadow: var(--shadow);
    backdrop-filter: blur(6px);
}

.hero h1 {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--white);
    margin-bottom: 1rem;
}

.hero h1 span {
    color: var(--blue-100);
}

.hero-desc {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: var(--touch-min);
    padding: 0.9rem 1.75rem;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 50px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn-primary {
    background: linear-gradient(135deg, var(--blue-700), var(--blue-600));
    color: var(--white);
    box-shadow: 0 4px 20px rgba(21, 101, 192, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(21, 101, 192, 0.45);
}

.btn-outline {
    background: var(--white);
    color: var(--blue-700);
    border-color: var(--blue-600);
}

.btn-outline:hover {
    background: var(--blue-50);
}

.hero .btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.75);
}

.hero .btn-outline:hover {
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
}

.btn-block {
    width: 100%;
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.hero .stat strong {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
}

.hero .stat span {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.stat strong {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--blue-800);
    line-height: 1.2;
}

.stat span {
    font-size: 0.9rem;
    color: var(--gray-500);
}

/* Advantages */
.advantages {
    padding: 5rem 0;
    background: var(--white);
}

.section-title {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 800;
    color: var(--blue-900);
    text-align: center;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    text-align: center;
    color: var(--gray-500);
    margin-bottom: 2.5rem;
    font-size: 1.05rem;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.advantage-card {
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 1.75rem;
    transition: transform 0.25s, box-shadow 0.25s;
}

.advantage-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: var(--blue-100);
}

.advantage-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    text-align: center;
}

.advantage-card h3 {
    font-size: 1.15rem;
    color: var(--blue-900);
    margin-bottom: 0.5rem;
}

.advantage-card p {
    font-size: 0.95rem;
    color: var(--gray-500);
}

/* Main sections */
.main-section {
    padding-bottom: 4rem;
}

.section-alt {
    background: linear-gradient(180deg, var(--blue-50) 0%, var(--white) 100%);
}

.section-header {
    background: linear-gradient(135deg, var(--blue-800), var(--blue-600));
    color: var(--white);
    padding: 3.5rem 0;
    margin-bottom: 2rem;
}

.section-header .section-title {
    color: var(--white);
    text-align: left;
    margin-bottom: 0.35rem;
}

.section-header .section-subtitle {
    text-align: left;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0;
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.8;
    margin-bottom: 0.5rem;
}

.chapters-nav {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.5rem;
    margin-bottom: 2.5rem;
    padding: 0.5rem;
    background: var(--gray-100);
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.chapters-nav::-webkit-scrollbar {
    display: none;
}

.chapter-link {
    padding: 0.55rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-500);
    border-radius: 50px;
    transition: background 0.2s, color 0.2s;
    flex-shrink: 0;
    min-height: var(--touch-min);
    display: inline-flex;
    align-items: center;
}

.chapter-link:hover,
.chapter-link.active {
    background: var(--white);
    color: var(--blue-700);
    box-shadow: var(--shadow);
}

.chapter {
    padding: 3rem 0;
    scroll-margin-top: calc(var(--header-h) + 1rem);
}

.chapter-alt {
    background: var(--gray-100);
}

.chapter-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.chapter-inner.reverse {
    direction: rtl;
}

.chapter-inner.reverse > * {
    direction: ltr;
}

.chapter-num {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--blue-600);
    margin-bottom: 0.5rem;
}

.chapter-text h3 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--blue-900);
    margin-bottom: 1rem;
}

.chapter-text p {
    color: var(--gray-500);
    margin-bottom: 1rem;
}

.check-list {
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--gray-800);
}

.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--blue-600);
    font-weight: 700;
}

.visual-card {
    background: linear-gradient(145deg, var(--blue-700), var(--blue-500));
    color: var(--white);
    border-radius: var(--radius);
    padding: 3rem;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.visual-card--photo {
    padding: 0;
    overflow: hidden;
    background: var(--gray-200);
}

.visual-card--photo img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 260px;
    object-fit: cover;
}

.chapter-visual {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.visual-emoji {
    font-size: 4rem;
    display: block;
    margin-bottom: 1rem;
}

.visual-card p {
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.5;
}

/* Gallery */
.gallery-section {
    padding: 5rem 0;
    background: var(--gray-100);
}

.gallery-section .section-title,
.gallery-section .section-subtitle {
    text-align: center;
}

.gallery-section .section-subtitle {
    margin-bottom: 2.5rem;
}

.photo-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.gallery-item {
    margin: 0;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    aspect-ratio: 4 / 3;
}

.gallery-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.gallery-item:hover img {
    transform: scale(1.04);
}

.mini-services {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.mini-services span {
    background: var(--white);
    border: 1px solid var(--gray-200);
    padding: 0.4rem 0.9rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--blue-800);
}

.price-hint {
    background: var(--white);
    border: 2px solid var(--blue-100);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
}

.price-hint p {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.price-hint strong {
    color: var(--blue-700);
    font-size: 1.5rem;
}

.link-arrow {
    color: var(--blue-600);
    font-weight: 700;
}

.link-arrow:hover {
    color: var(--blue-900);
}

.complex-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}

.complex-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    padding: 1.25rem;
}

.complex-card.featured {
    border-color: var(--blue-600);
    background: var(--blue-50);
    box-shadow: var(--shadow);
}

.complex-card h4 {
    color: var(--blue-900);
    margin-bottom: 0.35rem;
}

.complex-card p {
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
}

.complex-price {
    font-weight: 800;
    color: var(--blue-700);
}

/* Price tables */
.chapter-prices {
    background: var(--blue-50);
    padding: 4rem 0;
}

.chapter-prices h3 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--blue-900);
    margin-bottom: 0.5rem;
}

.price-note {
    color: var(--gray-500);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.category-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: var(--gray-500);
}

.category-legend b {
    color: var(--blue-800);
}

.price-block {
    margin-bottom: 2.5rem;
}

.price-group-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--blue-800);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--blue-600);
    display: inline-block;
}

.price-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    background: var(--white);
    border: 1px solid var(--gray-200);
    position: relative;
}

.price-table-wrap::after {
    content: 'Листайте →';
    display: none;
    position: sticky;
    left: 0;
    bottom: 0;
    width: 100%;
    padding: 0.35rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gray-500);
    text-align: right;
    background: linear-gradient(90deg, transparent, var(--white) 30%);
    pointer-events: none;
}

.price-table {
    width: 100%;
    min-width: 520px;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.price-table th,
.price-table td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--gray-200);
}

.price-table th {
    background: var(--blue-800);
    color: var(--white);
    font-weight: 700;
    white-space: nowrap;
}

.price-table th:not(:first-child):not(:nth-child(2)),
.price-table td:not(:first-child):not(:nth-child(2)) {
    text-align: center;
    min-width: 70px;
}

.price-table tbody tr:hover {
    background: var(--blue-50);
}

.price-table tbody tr:last-child td {
    border-bottom: none;
}

.highlight-row {
    background: rgba(30, 136, 229, 0.08);
}

.highlight-row:hover {
    background: rgba(30, 136, 229, 0.12) !important;
}

.single-price {
    text-align: center !important;
    font-weight: 700;
    color: var(--blue-700);
}

/* Tire placeholder */
.season-badges {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.season-badges span {
    background: var(--white);
    border: 1px solid var(--gray-200);
    padding: 1rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 1.1rem;
}

.placeholder-prices {
    text-align: center;
    padding: 2.5rem;
    background: var(--white);
    border-radius: var(--radius);
    border: 2px dashed var(--blue-200, #bbdefb);
    margin-bottom: 2rem;
}

.placeholder-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.placeholder-prices p {
    color: var(--gray-500);
    margin-bottom: 0.5rem;
}

.placeholder-hint {
    margin: 1rem 0 1.5rem !important;
}

.price-table-placeholder td {
    color: var(--gray-500);
    font-style: italic;
}

/* Contacts */
.contacts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-card {
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 1.75rem;
    scroll-margin-top: calc(var(--header-h) + 1rem);
}

.contact-card h3 {
    font-size: 1.25rem;
    color: var(--blue-900);
    margin-bottom: 0.75rem;
}

.contact-big {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

.contact-note {
    font-size: 0.9rem;
    color: var(--gray-500);
}

.contact-link {
    display: block;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--blue-700);
    margin-bottom: 0.35rem;
}

.contact-link:hover {
    color: var(--blue-900);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 0.75rem;
}

.social-links a {
    font-weight: 600;
    color: var(--blue-600);
    font-size: 0.9rem;
}

.contact-form-card {
    grid-column: span 1;
}

.contact-form-card .contact-note {
    margin-bottom: 1rem;
}

.contact-form-card .yclients-book {
    margin-top: 0.25rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    font-family: inherit;
    font-size: max(16px, 0.95rem);
    padding: 0.85rem 1rem;
    min-height: var(--touch-min);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    background: var(--white);
    outline: none;
    transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--blue-600);
}

.form-success {
    color: var(--blue-700);
    font-weight: 600;
    margin-top: 1rem;
}

.map-placeholder {
    margin-bottom: 3rem;
}

.map-box {
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    height: 400px;
    overflow: hidden;
}

.map-box iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.map-link-wrap {
    margin-top: 0.75rem;
    text-align: center;
}

.map-open-link {
    font-weight: 600;
    color: var(--blue-600);
    font-size: 0.9rem;
}

.map-open-link:hover {
    color: var(--blue-900);
}

/* Reviews */
.reviews-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, var(--white), var(--blue-50));
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.review-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 1.75rem;
    box-shadow: var(--shadow);
    transition: transform 0.25s;
}

.review-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.review-stars {
    color: #f5a623;
    font-size: 1.1rem;
    letter-spacing: 2px;
    margin-bottom: 0.75rem;
}

.review-text {
    color: var(--gray-800);
    margin-bottom: 1.25rem;
    font-size: 0.98rem;
    line-height: 1.65;
}

.review-author strong {
    display: block;
    color: var(--blue-900);
}

.review-author span {
    font-size: 0.85rem;
    color: var(--gray-500);
}

/* Footer */
.footer {
    background: var(--blue-900);
    color: rgba(255, 255, 255, 0.85);
    padding: 2.5rem 0;
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.footer-brand .logo-text {
    color: var(--white);
    font-weight: 800;
    font-size: 1.25rem;
}

.footer-brand .logo-text span {
    color: #90caf9;
}

.footer-brand p {
    font-size: 0.9rem;
    margin-top: 0.25rem;
    opacity: 0.8;
}

.footer-nav {
    display: flex;
    gap: 1.5rem;
}

.footer-nav a:hover {
    color: var(--white);
}

.footer-copy {
    width: 100%;
    text-align: center;
    font-size: 0.85rem;
    opacity: 0.6;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    margin-top: 0.5rem;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .photo-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .chapter-inner {
        grid-template-columns: 1fr;
    }

    .chapter-inner.reverse {
        direction: ltr;
    }

    .complex-cards {
        grid-template-columns: 1fr;
    }

    .section-header {
        padding: 2.5rem 0;
    }
}

@media (max-width: 768px) {
    :root {
        --header-h: 60px;
    }

    .nav,
    .header-phone {
        display: none;
    }

    .burger {
        display: flex;
    }

    .header.menu-open .nav {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0.25rem;
        position: fixed;
        top: calc(var(--header-h) + var(--safe-top));
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--white);
        padding: 1rem max(1rem, env(safe-area-inset-right)) 1.5rem max(1rem, env(safe-area-inset-left));
        border-bottom: 1px solid var(--gray-200);
        box-shadow: var(--shadow-lg);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        z-index: 999;
    }

    .header.menu-open .nav a {
        padding: 0.85rem 1rem;
        font-size: 1.05rem;
        color: var(--gray-800);
        border-radius: var(--radius-sm);
        min-height: var(--touch-min);
        display: flex;
        align-items: center;
    }

    .header.menu-open .nav a:hover,
    .header.menu-open .nav a:active {
        background: var(--blue-50);
        color: var(--blue-700);
    }

    .nav-phone {
        display: flex;
        align-items: center;
        margin-top: 0.75rem;
        padding: 1rem;
        font-size: 1.15rem;
        font-weight: 700;
        color: var(--blue-700);
        background: var(--blue-50);
        border-radius: var(--radius-sm);
        min-height: var(--touch-min);
    }

    .logo {
        font-size: 1.1rem;
    }

    .hero {
        min-height: auto;
        padding: calc(var(--header-h) + var(--safe-top) + 2rem) 0 2.5rem;
    }

    .hero-bg {
        background-position: 65% center;
    }

    .hero-label {
        font-size: 0.7rem;
        letter-spacing: 0.05em;
        padding: 0.35rem 0.75rem;
        max-width: 100%;
        line-height: 1.4;
    }

    .hero-desc {
        font-size: 1rem;
    }

    .hero-actions {
        flex-direction: column;
        margin-bottom: 2rem;
    }

    .hero-actions .btn {
        width: 100%;
        min-height: var(--touch-min);
    }

    .hero-stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .hero .stat strong {
        font-size: 1.5rem;
    }

    .hero .stat span {
        font-size: 0.75rem;
    }

    .advantages {
        padding: 3rem 0;
    }

    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .section-header {
        padding: 2rem 0;
    }

    .section-header .section-title {
        font-size: 1.5rem;
    }

    .section-header .section-subtitle {
        font-size: 0.95rem;
    }

    .chapter {
        padding: 2rem 0;
    }

    .chapter-text h3,
    .chapter-prices h3 {
        font-size: 1.4rem;
    }

    .visual-card--photo img {
        min-height: 200px;
    }

    .contacts-grid {
        grid-template-columns: 1fr;
    }

    .contact-card {
        padding: 1.25rem;
    }

    .social-links {
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .social-links a {
        padding: 0.5rem 0.75rem;
        background: var(--blue-50);
        border-radius: var(--radius-sm);
        min-height: var(--touch-min);
        display: inline-flex;
        align-items: center;
    }

    .photo-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.65rem;
    }

    .gallery-section {
        padding: 3rem 0;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .reviews-section {
        padding: 3rem 0;
    }

    .price-table-wrap::after {
        display: block;
    }

    .price-table {
        font-size: 0.78rem;
        min-width: 480px;
    }

    .price-table th,
    .price-table td {
        padding: 0.5rem 0.55rem;
    }

    .price-table th:not(:first-child):not(:nth-child(2)),
    .price-table td:not(:first-child):not(:nth-child(2)) {
        min-width: 56px;
    }

    .category-legend {
        flex-direction: column;
        gap: 0.35rem;
        font-size: 0.85rem;
    }

    .map-box {
        height: min(50vh, 320px);
        min-height: 240px;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .footer-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .footer-nav a {
        min-height: var(--touch-min);
        display: inline-flex;
        align-items: center;
    }

    .mini-services span {
        font-size: 0.8rem;
    }

    .season-badges {
        flex-direction: column;
    }
}

@media (max-width: 380px) {
    .hero-stats {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .photo-gallery {
        grid-template-columns: 1fr;
    }

}

@media (hover: none) and (pointer: coarse) {
    .advantage-card:hover,
    .review-card:hover,
    .gallery-item:hover img {
        transform: none;
    }

    .btn-primary:hover {
        transform: none;
    }
}
