/* ===================================================
   style.css — ПотолокПро (очищенная версия)
   =================================================== */

/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: white;
}

html {
    scroll-padding-top: 80px;
    scroll-behavior: smooth;
}

body {
    background-color: #2C2C2C;
    font-size: 20px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
}

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

/* ===== ПЕРЕМЕННЫЕ ===== */
:root {
    --teal: #34C3A6;
    --teal-dark: #2ab096;
    --orange: #F07820;
    --bg: #2C2C2C;
    --bg-dark: #242424;
    --bg-darker: #1e1e1e;
    --border: #3a3a3a;
    --text-muted: #aaa;
    --text-dim: #888;
    --text-light: #ccc;
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 30px;
    --max-w: 1200px;
}

/* ===== ССЫЛКИ НА ПОЛИТИКУ ===== */
.policy-link {
    color: var(--teal) !important;
    text-decoration: underline;
    text-underline-offset: 2px;
    font-weight: 600;
    transition: color 0.2s;
}
.policy-link:hover { color: var(--orange) !important; }

/* ===== HEADER ===== */
.header {
    background-color: var(--bg);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 2px solid var(--teal);
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    font-size: 16px;
    max-width: 1400px;
    margin: 0 auto;
    height: 70px;
}

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

.navbar ul {
    display: flex;
    list-style: none;
    flex: 1;
    font-weight: bold;
    gap: 2vw;
    padding: 0 30px;
}

.navbar li {
    padding: 6px 14px;
    border-radius: var(--radius-lg);
    transition: background-color 0.3s ease;
    white-space: nowrap;
    position: relative;
}

.navbar li:hover,
.navbar li.active,
.nav-dropdown-wrap:hover,
.nav-dropdown-wrap.active {
    background-color: var(--teal);
}

.contact-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    white-space: nowrap;
    font-size: 14px;
    gap: 3px;
}
.contact-info .phone {
    font-size: 16px;
    font-weight: 700;
}

/* ===== CATALOG DROPDOWN ===== */
.nav-dropdown-wrap { position: relative; }

.nav-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    transform: translateX(-50%);
    background-color: #242424;
    padding: 24px 28px;
    z-index: 500;
    min-width: 580px;
    box-shadow: 0 16px 48px rgba(0,0,0,0.5);
    animation: dropdownFade 0.18s ease;
}

.nav-dropdown::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    width: 14px;
    height: 14px;
    background: #242424;
    border-top: 1px solid var(--teal);
    border-left: 1px solid var(--teal);
    transform: translateX(-50%) rotate(45deg);
}

.nav-dropdown.open { display: block; }

@keyframes dropdownFade {
    from { opacity: 0; transform: translateX(-50%) translateY(-6px); }
    to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

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

.dropdown-col {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dropdown-col + .dropdown-col {
    border-left: 1px solid var(--border);
    padding-left: 20px;
}

.dropdown-col-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--teal);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    white-space: nowrap;
}

.dropdown-link {
    font-size: 14px;
    font-weight: 500;
    color: #ccc;
    padding: 5px 8px;
    border-radius: 6px;
    transition: background-color 0.2s, color 0.2s;
    white-space: nowrap;
}
.dropdown-link:hover {
    background-color: var(--teal);
    color: #fff;
}

/* ===== BURGER ===== */
.burger-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
    flex-shrink: 0;
}
.burger-btn span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: white;
    border-radius: 3px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.burger-btn.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger-btn.open span:nth-child(2) { opacity: 0; }
.burger-btn.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: calc(100vh - 70px);
    background-image: url('img/HeroBlockFon.png');
    background-size: cover;
    background-position: 12% center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
}

.hero-content {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    padding-left: 15%;
    display: flex;
    flex-direction: column;
    font-size: clamp(28px, 4vw, 52px);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 1.5px;
    text-shadow: 8px 4px 12px rgba(0,0,0,0.7);
}

.hero-bottom-right {
    position: absolute;
    right: 60px;
    bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 20px;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 30px;
    justify-content: flex-end;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 12px 36px;
    border-radius: var(--radius-lg);
    font-weight: 700;
    font-size: 20px;
    cursor: pointer;
    border: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    font-family: 'Inter', sans-serif;
    text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn-orange { background-color: var(--orange); color: white; }
.btn-teal   { background-color: var(--teal);   color: white; }

/* ===== SOCIAL SIDEBAR ===== */
.social-sidebar {
    position: fixed;
    right: 0;
    top: 83%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 24px;
    z-index: 200;
}

.social-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.social-icon img {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-lg);
    object-fit: contain;
}
.social-icon:hover { background-color: var(--teal); }

/* ===== SCROLL-TO-TOP ===== */
.scroll-top-btn {
    position: fixed;
    left: 16px;
    top: 91.5%;
    transform: translateY(-50%);
    z-index: 200;
    width: 46px;
    height: 46px;
    background-color: var(--teal);
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    transition: background-color 0.2s, transform 0.2s, opacity 0.3s, visibility 0.3s;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    opacity: 0;
    visibility: hidden;
}
.scroll-top-btn:hover {
    background-color: var(--teal-dark);
    transform: translateY(calc(-50% - 2px));
}
.scroll-top-btn.show { opacity: 1; visibility: visible; }

/* ===== CATALOG (homepage) ===== */
.catalog { padding: 60px 0; }

.catalog-content,
.catalog-page-content,
.section-content,
.section-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 40px;
}

.catalog-title,
.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 40px;
}

.catalog-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* ===== HOMEPAGE CARDS ===== */
.card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    height: 250px;
    cursor: pointer;
    display: block;
}
.card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.card:hover img { transform: scale(1.07); }

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #34c3a6b6;
    padding: 12px 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease;
    height: 44px;
}
.card:hover .card-overlay { background-color: #ff8000b9; }

.card-label {
    font-size: 20px;
    font-weight: 700;
    text-align: center;
}

.catalog-more { text-align: center; margin-top: 36px; }

/* ===== PAGE HERO (catalog/servis) ===== */
.page-hero {
    background-color: var(--bg-dark);
    background-image: url('img/PageFon.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 40px 0 50px;
    border-bottom: 1px solid var(--border);
}

.page-hero-content {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 40px;
}

.breadcrumb {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-dim);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.breadcrumb a { color: var(--teal); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb span { color: #555; }

.page-hero-title,
.page-hero h1 {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.2;
}

.page-hero-sub,
.page-hero p {
    font-size: 16px;
    font-weight: 400;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 600px;
}

/* ===== CATALOG PAGE GRID ===== */
.catalog-page { padding: 50px 0; }

.catalog-section-block { margin-bottom: 60px; }

.catalog-section-heading {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 3px solid var(--orange);
    text-align: center;
}

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

.catalog-card {
    display: block;
    background: var(--bg);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.catalog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.3);
}

.catalog-card-img {
    height: 220px;
    overflow: hidden;
    border-bottom: 3px solid var(--teal);
    transition: border-color 0.3s ease;
}
.catalog-card:hover .catalog-card-img { border-bottom-color: var(--orange); }

.catalog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.catalog-card:hover .catalog-card-img img { transform: scale(1.05); }

.catalog-card-info {
    background: #1e1e1e;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
}

.catalog-card-title {
    font-size: 18px;
    font-weight: 700;
}

.catalog-card-price {
    font-size: 16px;
    font-weight: 600;
    color: var(--teal);
    transition: color 0.3s ease;
}
.catalog-card:hover .catalog-card-price { color: var(--orange); }

/* ===== PRODUCT PAGE ===== */
.product-page {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 40px 40px 60px;
}

.product-breadcrumb {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-dim);
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.product-breadcrumb a { color: var(--teal); transition: color 0.2s; }
.product-breadcrumb a:hover { color: var(--orange); }
.product-breadcrumb span { color: #555; }

.product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.product-main-img {
    border-radius: 18px;
    overflow: hidden;
    height: 420px;
    background: var(--border);
}
.product-main-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.product-main-img:hover img { transform: scale(1.03); }

.product-info {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.product-badge {
    display: inline-block;
    background: var(--teal);
    color: white;
    font-size: 13px;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: fit-content;
}

.product-title {
    font-size: clamp(26px, 3vw, 40px);
    font-weight: 700;
    line-height: 1.2;
}

.product-description {
    font-size: 16px;
    font-weight: 400;
    color: #bbb;
    line-height: 1.7;
}

.product-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: var(--border);
    border-radius: 12px;
    padding: 16px 20px;
}

.product-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 500;
}

.feature-check {
    color: var(--teal);
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}

.product-price-block {
    background: linear-gradient(135deg, #3a3a3a 0%, #333 100%);
    border: 1px solid var(--teal);
    border-radius: 14px;
    padding: 20px 24px;
}
.product-price-label { font-size: 14px; font-weight: 400; color: #BBBBBB; margin-bottom: 4px; }
.product-price { font-size: 28px; font-weight: 800; color: var(--teal); line-height: 1.2; }
.product-price-note { font-size: 13px; font-weight: 400; color: #BBBBBB; margin-top: 4px; }

.product-actions { display: flex; gap: 14px; }
.product-order-btn,
.product-consult-btn { flex: 1; font-size: 18px; padding: 14px 20px; }

/* ===== CALCULATOR ===== */
.calculator-section {
    padding: 0 60px;
    margin: 0 auto;
    position: relative;
    max-width: 90%;
}

.calculator-section .calc-bg {
    position: absolute;
    inset: 0;
    background-image: url('img/CalculatorFon.png');
    background-size: cover;
    background-position: center;
    filter: brightness(0.35);
    z-index: 0;
    border-radius: 24px;
    left: 60px;
    right: 60px;
}

.calc-content {
    position: relative;
    z-index: 1;
    max-width: 100%;
    margin: 0 auto;
    padding: 60px 40px;
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 60px;
    align-items: stretch;
    border-radius: 24px;
    overflow: hidden;
    min-height: 500px;
}

.slider-unit {
    font-size: 20px;
    color: #ffffff;
    font-weight: 700;
}

.slider-divider {
    color: #ffffff;
    font-weight: 300;
    font-size: 20px;
}

.slider-wrap {
    flex: 1;
    min-width: 0;
}

.calc-left {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-right: 20px;
}

.calc-title { font-size: 36px; font-weight: 700; margin-bottom: 24px; }

.calc-types {
    display: flex;
    gap: clamp(12px, 2vw, 24px);
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.type-btn {
    padding: 10px 20px;
    border-radius: var(--radius-lg);
    border: 2px solid #ffffff;
    background: transparent;
    color: white;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    flex: 1;
    text-align: center;
}
.type-btn.active, .type-btn:hover {
    background-color: var(--teal);
    border-color: var(--teal);
}

.calc-sliders {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.slider-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.slider-label {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 220px;
    font-size: 20px;
}
.slider-unit, .slider-divider { font-size: 20px; font-weight: 700; }

.slider-inline {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
    width: 100%;
}

.slider {
    width: 100%;
    height: 6px;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    cursor: pointer;
}
.slider::-webkit-slider-runnable-track {
    width: 100%;
    height: 6px;
    border-radius: 10px;
    background-color: #ffffff;
    background-image: linear-gradient(to right, var(--orange), var(--orange));
    background-repeat: no-repeat;
    background-size: var(--fill, 0%) 100%;
}
.slider::-moz-range-track { width: 100%; height: 6px; background: #ffffff; border-radius: 10px; }
.slider::-moz-range-progress { height: 6px; background: var(--orange); border-radius: 10px; }
.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px; height: 20px;
    background: var(--orange);
    border: 3px solid white;
    border-radius: 50%;
    cursor: pointer;
    margin-top: -7px;
}
.slider::-moz-range-thumb {
    width: 20px; height: 20px;
    background: var(--orange);
    border: 3px solid white;
    border-radius: 50%;
    cursor: pointer;
    transform: translateY(-7px);
}

.slider-minmax {
    display: flex;
    justify-content: space-between;
    font-size: 20px;
    color: #aaaaaab2;
    margin-top: 4px;
}

.slider-value {
    background-color: transparent;
    color: white;
    border: 2px solid #ffffff;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 16px;
    min-width: 48px;
    text-align: center;
    font-size: 20px;
}

.calc-result {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 10px;
    flex-wrap: nowrap;
}
.result-label { font-size: 20px; color: #ccc; line-height: 1.4; }

.calc-btn { padding: 12px 24px; }

/* ===== CONSULT CARD ===== */
.calc-right { display: flex; }

.consult-card {
    background-color: white;
    border-radius: var(--radius-md);
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex: 1;
    justify-content: center;
}

.consult-title { color: var(--orange); font-size: 36px; font-weight: 700; }
.consult-card p { font-size: 20px; color: #555; font-weight: 400; }

.consult-input {
    width: 100%;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid #ddd;
    background-color: #f5f5f5;
    color: #333;
    font-family: 'Inter', sans-serif;
    font-size: 20px;
}
.consult-input::placeholder { color: #999; }

.consult-btn { width: 100%; margin-top: 4px; }

/* ===== ADVANTAGES ===== */
.advantages { padding: 60px 0; }

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

.adv-card {
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 200px;
    position: relative;
    background-color: var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}
.adv-card:hover { transform: translateY(-4px); }

.adv-card img:not(.adv-award) {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0; left: 0;
}

.adv-award {
    width: 40px; height: 40px;
    min-width: 40px; max-width: 40px;
    object-fit: contain;
    flex-shrink: 0;
    position: relative;
}

.adv-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(52, 195, 166, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 20px;
    text-align: center;
    transition: background-color 0.3s ease;
}
.adv-card:hover .adv-overlay { background-color: rgba(240, 119, 32, 0.75); }
.adv-overlay span { font-size: 20px; font-weight: 700; line-height: 1.4; text-transform: uppercase; }

/* ===== CERTIFICATES ===== */
.certificates {
    padding: 60px 0;
    background-color: var(--bg-dark);
}

.cert-heading {
    color: var(--orange);
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
}

.certificates-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-top: 30px;
}

.cert-description-text {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.7;
    color: #ccc;
    margin-bottom: 24px;
}
.cert-description-text p { margin-bottom: 16px; }

.cert-list { list-style: none; padding: 0; margin: 16px 0; }
.cert-list li { position: relative; padding-left: 28px; margin-bottom: 10px; }
.cert-list li::before {
    content: "✓";
    color: var(--teal);
    font-weight: bold;
    position: absolute;
    left: 0; top: 0;
}

.cert-pdf-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    font-size: 18px;
    background-color: var(--teal);
    color: white;
    border-radius: 40px;
    font-weight: 600;
    transition: background-color 0.2s, transform 0.2s;
    border: none;
    cursor: pointer;
    text-decoration: none;
}
.cert-pdf-btn:hover { background-color: var(--teal-dark); transform: translateY(-2px); color: white; }

.certificates-carousel-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 108%;
}

.carousel-container {
    position: relative;
    height: 340px;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    perspective: 1200px;
}

.cert-slide {
    position: absolute;
    width: 180px;
    height: 250px;
    border-radius: 12px;
    background-color: var(--border);
    border: 2px solid #555;
    box-shadow: 0 8px 24px rgba(0,0,0,0.5);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: pointer;
    overflow: hidden;
    left: 50%;
    top: 50%;
    transform-origin: center center;
    will-change: transform, opacity, filter;
    backface-visibility: hidden;
}
.cert-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }

.carousel-arrow {
    background: rgba(52, 195, 166, 0.2);
    border: 2px solid var(--teal);
    color: white;
    width: 44px; height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.2s;
    z-index: 20;
    backdrop-filter: blur(4px);
    flex-shrink: 0;
}
.carousel-arrow:hover { background: var(--teal); transform: scale(1.1); }

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 6px 0 24px;
}

.dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background-color: #555;
    cursor: pointer;
    transition: all 0.3s;
}
.dot.active { background-color: var(--teal); transform: scale(1.3); }
.dot:hover  { background-color: var(--orange); }

.carousel-hint {
    color: var(--text-dim);
    font-size: 14px;
    font-weight: 400;
    margin-top: 8px;
    text-align: center;
}

/* ===== FAQ ===== */
.faq { padding: 60px 0; }

.faq-list { display: flex; flex-direction: column; gap: 12px; }

.faq-item { border-radius: 10px; overflow: hidden; }

.faq-question {
    background-color: var(--teal);
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 20px;
    font-weight: 600;
    transition: background-color 0.2s;
    gap: 16px;
}
.faq-question:hover { background-color: var(--teal-dark); }

.faq-arrow { transition: transform 0.3s ease; flex-shrink: 0; font-size: 20px; }
.faq-item.open .faq-arrow { transform: rotate(180deg); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    background-color: var(--border);
    padding: 0 24px;
    font-size: 20px;
    font-weight: 400;
    color: #ccc;
    transition: max-height 0.3s ease, padding 0.3s ease;
    line-height: 1.6;
}
.faq-item.open .faq-answer { max-height: 200px; padding: 16px 24px; }

/* ===== MODAL ===== */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.modal-overlay.open { display: flex; }

.modal-box {
    background: #fff;
    border-radius: 20px;
    padding: 40px 36px;
    max-width: 460px;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-close {
    position: absolute;
    top: 14px; right: 18px;
    background: transparent;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #888;
    transition: color 0.2s;
}
.modal-close:hover { color: var(--orange); }

.modal-title { color: var(--orange); font-size: 28px; font-weight: 700; }
.modal-desc  { font-size: 16px; color: #555; font-weight: 400; }
.modal-input { color: #333 !important; }

/* ===== CHECKBOXES (формы) ===== */
.modal-checkbox,
.consult-checkbox,
.footer-checkbox,
.booking-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.modal-checkbox input[type="checkbox"],
.consult-checkbox input[type="checkbox"],
.footer-checkbox input[type="checkbox"],
.booking-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    min-width: 18px;
    accent-color: var(--teal);
    margin-top: 2px;
    cursor: pointer;
    flex-shrink: 0;
}

.modal-checkbox span,
.consult-checkbox span,
.footer-checkbox span,
.booking-checkbox span {
    font-size: 13px;
    font-weight: 400;
    color: #888;
    line-height: 1.4;
}

.consult-checkbox span,
.footer-checkbox span,
.booking-checkbox span { color: #aaa; }

.modal-status, .booking-status {
    font-size: 14px;
    font-weight: 600;
    min-height: 18px;
}

/* ===== КАРТА + ФОРМА ===== */
.map-section { background-color: var(--bg-dark); }

.map-wrapper {
    position: relative;
    width: 100%;
    height: 550px;
    overflow: hidden;
}

.map-full { width: 100%; height: 100%; background-color: #1a1a1a; }

.map-form-overlay {
    position: absolute;
    top: 50%;
    left: 5%;
    transform: translateY(-50%);
    width: 380px;
    background: #fff;
    border-radius: 20px;
    padding: 30px 28px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 90vh;
    overflow-y: auto;
}

.map-form-title { color: var(--orange); font-size: 28px; font-weight: 700; }
.map-form-sub   { color: #555; font-size: 16px; font-weight: 400; line-height: 1.4; }

.map-form-input {
    width: 100%;
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid #ddd;
    background: #f8f8f8;
    color: #333;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
}

.map-form-checkbox span { color: #555; font-size: 13px; }

.map-form-btn { width: 100%; padding: 14px; font-size: 18px; }

/* ===== FOOTER ===== */
.footer-divider { width: 100%; height: 2px; background-color: var(--orange); }

.site-footer {
    background-color: var(--bg-darker);
    padding: 50px 40px 40px;
    border-top: 1px solid #333;
}

.footer-grid {
    max-width: var(--max-w);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1.5fr;
    gap: 40px;
}

.footer-col h4 { color: var(--teal); font-size: 18px; font-weight: 700; margin-bottom: 18px; }
.footer-col p  { color: #bbb; font-size: 15px; font-weight: 400; line-height: 1.7; margin-bottom: 6px; }
.footer-col a  { color: #bbb; text-decoration: none; transition: color 0.2s; }
.footer-col a:hover { color: var(--teal); }
.footer-disclaimer p { color: var(--text-dim); font-size: 13px; line-height: 1.6; }

/* ===== MARKER ===== */
.custom-marker {
    width: 56px; height: 68px;
    background-image: url('/img/marker-orange.svg');
    background-size: cover;
    transform: translate(-50%, -100%);
}

/* ===== СЕРВИС — ОБЩИЕ СЕКЦИИ ===== */
.section { padding: 70px 0; }
.section-alt { background-color: var(--bg-dark); }

.section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
}

.section-sub {
    font-size: 16px;
    font-weight: 400;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 50px;
    line-height: 1.6;
}

/* ===== SERVICE CARDS ===== */
.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background-color: var(--bg-dark);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: border-color 0.3s, transform 0.3s;
    display: flex;
    flex-direction: column;
}
.section-alt .service-card { background-color: var(--bg); }
.service-card:hover { border-color: var(--teal); transform: translateY(-4px); }

.service-card-img { width: 100%; height: 200px; object-fit: cover; display: block; }

.service-card-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-card-title { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.service-card-desc  { font-size: 15px; font-weight: 400; color: var(--text-muted); line-height: 1.6; flex: 1; margin-bottom: 20px; }

.service-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
}

.service-price { font-size: 22px; font-weight: 700; color: var(--teal); white-space: nowrap; }
.service-price span { font-size: 14px; font-weight: 400; color: var(--text-dim); }

.btn-service {
    display: inline-block;
    padding: 10px 22px;
    border-radius: var(--radius-lg);
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    border: none;
    background-color: var(--orange);
    color: white;
    transition: opacity 0.2s, transform 0.2s;
    font-family: 'Inter', sans-serif;
    white-space: nowrap;
}
.btn-service:hover { opacity: 0.88; transform: translateY(-2px); }

/* ===== BOOKING BLOCK ===== */
.booking-block {
    background-color: var(--bg-darker);
    border-radius: 20px;
    padding: 56px 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    border: 1px solid var(--border);
}

.booking-label {
    display: inline-block;
    background-color: rgba(52, 195, 166, 0.15);
    color: var(--teal);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: var(--radius-lg);
    margin-bottom: 20px;
}

.booking-title { font-size: clamp(24px, 2.5vw, 36px); font-weight: 700; line-height: 1.25; margin-bottom: 16px; }
.booking-desc  { font-size: 15px; font-weight: 400; color: var(--text-muted); line-height: 1.7; margin-bottom: 28px; }

.booking-phone {
    font-size: 28px;
    font-weight: 700;
    color: var(--teal);
    margin-bottom: 20px;
    display: block;
    transition: color 0.2s;
}
.booking-phone:hover { color: var(--orange); }

.booking-form { display: flex; flex-direction: column; gap: 14px; }

.booking-input {
    background-color: #2a2a2a;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 14px 18px;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    color: white;
    transition: border-color 0.2s;
    outline: none;
}
.booking-input::placeholder { color: #666; }
.booking-input:focus { border-color: var(--teal); }
.booking-input::-webkit-outer-spin-button,
.booking-input::-webkit-inner-spin-button { -webkit-appearance: none; }

.booking-submit {
    padding: 14px 36px;
    border-radius: var(--radius-lg);
    font-weight: 700;
    font-size: 18px;
    cursor: pointer;
    border: none;
    background-color: var(--orange);
    color: white;
    transition: opacity 0.2s, transform 0.2s;
    font-family: 'Inter', sans-serif;
}
.booking-submit:hover { opacity: 0.88; transform: translateY(-2px); }

/* ===== WARRANTY BANNER ===== */
.warranty-banner {
    display: flex;
    align-items: center;
    gap: 20px;
    background-color: rgba(52, 195, 166, 0.08);
    border: 1px solid rgba(52, 195, 166, 0.25);
    border-radius: 14px;
    padding: 22px 28px;
    margin-bottom: 50px;
}

.warranty-banner-icon {
    flex-shrink: 0;
    width: 56px; height: 56px;
    background-color: rgba(52, 195, 166, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.warranty-banner-text { font-size: 15px; font-weight: 400; color: #ccc; line-height: 1.6; }
.warranty-banner-text strong { color: #fff; font-weight: 700; }

.warranty-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.warranty-col {
    background-color: var(--bg-dark);
    border-radius: var(--radius-md);
    padding: 32px;
    border: 1px solid var(--border);
}

.warranty-col-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.warranty-col-title { font-size: 20px; font-weight: 700; }

.warranty-col-icon {
    width: 44px; height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.warranty-icon--yes { background-color: rgba(52, 195, 166, 0.12); }
.warranty-icon--no  { background-color: rgba(224, 82, 82, 0.12); }

.warranty-col-divider { height: 1px; margin-bottom: 22px; border-radius: 2px; }
.warranty-divider--yes { background-color: rgba(52, 195, 166, 0.3); }
.warranty-divider--no  { background-color: rgba(224, 82, 82, 0.3); }

.warranty-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.warranty-list li {
    font-size: 15px;
    font-weight: 400;
    color: #bbb;
    line-height: 1.55;
    padding-left: 18px;
    position: relative;
}
.warranty-list li::before { content: '•'; position: absolute; left: 0; color: var(--text-dim); }
.warranty-col--yes .warranty-list li::before { color: var(--teal); }
.warranty-col--no  .warranty-list li::before { color: #e05252; }

/* ===== REVIEWS ===== */
.reviews {
    padding: 60px 0;
    background-color: var(--bg-dark);
}

.reviews .section-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.reviews-slider {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
}

.reviews-track-wrapper {
    overflow: hidden;
    flex: 1;
}

.reviews-track {
    display: flex;
    transition: transform 0.5s ease;
    will-change: transform;
}

/* Карточка отзыва */
.review-card {
    flex: 0 0 33.333%;          /* 3 карточки в ряд на десктопе */
    padding: 0 10px;
    box-sizing: border-box;
}

.review-card-inner {
    background: #1e1e1e;
    border-radius: var(--radius-md);
    padding: 24px 20px;
    height: 100%;
    min-height: 320px;
    border: 1px solid var(--border);
    transition: border-color 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.review-card:hover .review-card-inner {
    border-color: var(--teal);
}

/* Аватар */
.review-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--teal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
    flex-shrink: 0;
}

/* Имя */
.review-name {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
    color: #fff;
}

/* Звёзды */
.review-stars {
    color: #FFD700 !important;
    font-size: 22px;
    letter-spacing: 4px;
}
.review-stars i,
.review-stars .fa-star,
.review-stars svg {
    color: #FFD700 !important;
}

/* Обёртка текста + кнопок – занимает всё свободное место */
.review-text-wrapper {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: 8px;
}

/* Текст – обрезается до 4.5 строк, раскрывается по клику */
.review-text {
    font-size: 15px;
    font-weight: 400;
    color: #ccc;
    line-height: 1.6;
    flex: 0 0 auto;
    margin-bottom: 12px;
    max-height: 4.5em;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.review-text.expanded {
    max-height: 500px; /* достаточно для любого текста */
}

/* Кнопки "Подробнее" / "Свернуть" */
.review-toggle-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 8px;
}

.review-toggle-btn {
    background: none;
    border: none;
    color: var(--teal);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    padding: 4px 12px;
    border-radius: 20px;
    transition: background 0.2s;
}

.review-toggle-btn:hover {
    background: rgba(52, 195, 166, 0.15);
}

/* Изображение в отзыве – фиксированная высота, прижато к низу */
.review-image {
    width: 100%;
    flex: 0 0 auto;
    height: 120px;
    overflow: hidden;
    border-radius: 8px;
    margin-top: 12px; /* отступ от текста */
}

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

/* Стрелки навигации */
.reviews-arrow {
    background: rgba(52, 195, 166, 0.15);
    border: 2px solid var(--teal);
    color: white;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
    background-color: rgba(0,0,0,0.4);
    backdrop-filter: blur(4px);
}
.reviews-arrow:hover {
    background: var(--teal);
    transform: scale(1.05);
}

/* Точки (пагинация) */
.reviews-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 24px;
}

.reviews-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #555;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    padding: 0;
}
.reviews-dot.active {
    background-color: var(--teal);
    transform: scale(1.2);
}
.reviews-dot:hover {
    background-color: var(--orange);
}

/* ===== АДАПТИВНОСТЬ ===== */

/* Планшет: 2 карточки в ряд */
@media (max-width: 1024px) {
    .review-card {
        flex: 0 0 50%;
        padding: 0 8px;
    }
    .reviews .section-content {
        padding: 0 20px;
    }
}

/* Телефон: 1 карточка, стрелки скрыты, управление свайпом */
@media (max-width: 600px) {
    .review-card {
        flex: 0 0 100%;
        padding: 0 6px;
    }
    .reviews-slider {
        gap: 0;
    }
    .reviews-arrow {
        display: none !important;
    }
    .reviews .section-content {
        padding: 0 15px;
    }
    .review-text {
        font-size: 16px;
        max-height: 5em; /* чуть больше строк на мобильном */
    }
    .review-toggle-btn {
        font-size: 16px;
        padding: 6px 16px;
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
    .burger-btn { display: flex; }
    .contact-info { font-size: 11px; gap: 1px; }
    .contact-info .phone { font-size: 13px; }

    .navbar {
        display: block;
        position: absolute;
        top: 70px; left: 0; right: 0;
        background-color: var(--bg);
        z-index: 99;
        box-shadow: 0 8px 20px rgba(0,0,0,0.4);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease;
    }
    .navbar.open { max-height: 600px; }
    .navbar ul { flex-direction: column; gap: 0; padding: 8px 0; }
    .navbar li { padding: 14px 24px; border-radius: 0; border-bottom: 1px solid var(--border); }
    .navbar li:last-child { border-bottom: none; }
    .navbar li:hover, .navbar li.active { background-color: var(--teal); border-radius: 0; }
    .nav-dropdown { display: none !important; }

    .hero { min-height: calc(85vh - 70px); background-position: 10% center; }
    .hero-content { padding-left: 8%; }
    .hero-bottom-right { right: 30px; bottom: 30px; }
    .catalog-grid { grid-template-columns: repeat(3, 1fr); }
    .product-layout { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 900px) {
    .calc-content { grid-template-columns: 1fr; gap: 40px; padding: 40px 24px; }
    .calc-left { padding-right: 0; order: 1; }
    .calc-right { order: 2; }
    .slider-row { flex-direction: column; align-items: flex-start; gap: 8px; margin-bottom: 28px; }
    .slider-label { min-width: unset; }
    .slider-inline { width: 100%; }
    .calc-result { flex-direction: column; align-items: flex-start; gap: 16px; }
    .calc-btn { width: 100%; text-align: center; }

    .catalog-grid, .catalog-items { grid-template-columns: repeat(2, 1fr); }
    .product-actions { flex-direction: column; }
    .advantages-grid { grid-template-columns: repeat(2, 1fr); }

    .service-grid { grid-template-columns: repeat(2, 1fr); }
    .booking-block { grid-template-columns: 1fr; gap: 40px; padding: 40px 36px; }
    .warranty-columns { grid-template-columns: 1fr; }
    .warranty-banner { flex-direction: column; text-align: center; }

    .certificates-container { grid-template-columns: 1fr; gap: 30px; }
    .carousel-container { max-width: 450px; }

    .map-form-overlay {
        left: 50%;
        transform: translate(-50%, -50%);
        width: 90%;
        max-width: 400px;
        padding: 24px 20px;
    }

    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
    .footer-disclaimer { grid-column: span 2; }
}

@media (max-width: 600px) {
    .calculator-section { padding: 0 20px; max-width: 100%; }
    .calculator-section .calc-bg { left: 20px; right: 20px; }
    .type-btn { font-size: 16px; padding: 8px 10px; }
    .calc-title { font-size: 26px; }

    .hero { min-height: calc(72vh - 70px); background-position: 9% center; }
    .hero-content { padding-left: 5%; }
    .hero-bottom-right { right: 16px; bottom: 20px; }
    .hero-buttons { gap: 14px; }
    .btn { padding: 10px 22px; font-size: 16px; }

    .modal-box { padding: 30px 20px; }
    .catalog-grid, .catalog-items { grid-template-columns: 1fr 1fr; }

    .product-page { padding: 24px 20px 40px; }
    .product-main-img { height: 280px; }
    .catalog-page-content { padding: 0 20px; }

    .service-grid { grid-template-columns: 1fr; }
    .section-inner { padding: 0 20px; }
    .page-hero-content { padding: 0 20px; }
    .booking-block { padding: 32px 20px; }
    .section { padding: 50px 0; }

    .map-wrapper { height: 500px; }
    .footer-grid { grid-template-columns: 1fr; gap: 25px; }
    .footer-disclaimer { grid-column: span 1; }

    .cert-slide[data-position="0"] { width: 200px; height: 280px; }
    .cert-slide[data-position="1"] { transform: translate(-50%, -50%) translateX(160px) translateZ(10px); width: 130px; height: 180px; }
    .cert-slide[data-position="-1"] { transform: translate(-50%, -50%) translateX(-160px) translateZ(10px); width: 130px; height: 180px; }
    .cert-slide[data-position="2"] { transform: translate(-50%, -50%) translateX(260px) translateZ(-40px); width: 100px; height: 140px; }
    .cert-slide[data-position="-2"] { transform: translate(-50%, -50%) translateX(-260px) translateZ(-40px); width: 100px; height: 140px; }
}

#calculatorSection, #certificatesSection, #contactsSection { scroll-margin-top: 80px; }

/* ===== ТЕКСТОВАЯ ПОДСКАЗКА ДЛЯ КАЛЬКУЛЯТОРА ===== */
.result-label {
    position: relative;
    display: inline-block;
}

.tooltip-trigger {
    display: inline-block;
    margin-left: 12px;
    font-size: 16px;
    font-weight: 500;
    color: #ccc;
    cursor: help;
    transition: color 0.2s;
    text-decoration: underline;           /* нижнее подчеркивание */
}

.tooltip-content {
    position: absolute;
    bottom: 100%;
    left: 0;
    transform: translateY(-10px);
    background-color: #1c1c1c;
    color: #ccc;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    padding: 12px 16px;
    border-radius: 12px;
    width: 280px;
    max-width: 85vw;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    pointer-events: none;
    text-align: left;
    white-space: normal;
}

.tooltip-trigger:hover {
    text-decoration: underline;           /* нижнее подчеркивание */
    color: #e2e2e2;
}

/* Показываем при наведении на текст */
.tooltip-trigger:hover + .tooltip-content,
.tooltip-trigger:focus + .tooltip-content,
.tooltip-content:hover {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Для мобильных – по клику (см. JS ниже) */
@media (max-width: 768px) {
    .tooltip-content.show-mobile {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
}
/* ===== ДОПОЛНИТЕЛЬНЫЕ ПРАВКИ ДЛЯ МОБИЛЬНОЙ АДАПТАЦИИ (ФИНАЛ) ===== */

/* Предотвращаем горизонтальный скролл на всём сайте */
html, body {
    overflow-x: hidden;
}

/* Бургер-меню: делаем всю плашку кликабельной */
@media (max-width: 1100px) {
    .navbar li {
        padding: 0;
    }
    .navbar li a {
        display: block;
        width: 100%;
        height: 100%;
        padding: 14px 24px;
    }
}

/* Уменьшаем плашки "Каталог натяжных потолков" и "Наши преимущества" */
@media (max-width: 900px) {
    .card {
        height: 200px;
    }
    .card-label {
        font-size: 18px;
    }
    .adv-card {
        height: 160px;
    }
    .adv-overlay span {
        font-size: 16px;
    }
}

@media (max-width: 600px) {
    .card {
        height: 160px;
    }
    .card-label {
        font-size: 15px;
    }
    .adv-card {
        height: 150px;
    }
    .adv-overlay span {
        font-size: 12px;
    }

    /* Уменьшаем текст в карточках на странице Каталог */
    .catalog-card-title {
        font-size: 14px;
    }
    .catalog-card-price {
        font-size: 13px;
    }

    /* Иконки соцсетей — сохраняем размер, но поджимаем к краю */
    .social-sidebar {
        top: 80%;
        gap: 12px;
        right: 8px;
    }
    .social-icon {
        width: 44px;
        height: 44px;
    }
    .social-icon img {
        width: 40px;
        height: 40px;
    }

    /* Кнопка "наверх" — синхронизируем размер с иконками */
    .scroll-top-btn {
        width: 42px;
        height: 42px;
        font-size: 22px;
        left: 8px;
        top: 88%;
    }

    /* Уменьшаем иконки-награды в блоке преимуществ */
    .adv-award {
        display: none !important;
    }

    /* Дополнительно уменьшаем заголовки на мобильных */
    h1, .page-hero-title, .product-title {
        font-size: 28px !important;
    }
    h2, .section-title, .catalog-title, .calc-title, .consult-title, .map-form-title {
        font-size: 24px !important;
    }
    h3, .catalog-section-heading, .cert-heading, .booking-title {
        font-size: 20px !important;
    }
    .hero-content p:first-child {
        font-size: 32px !important;
    }
    .hero-sub {
        font-size: 18px !important;
    }
}

@media (max-width: 600px) {
    .hero-bottom-right {
        right: 60px !important; /* для мобильных */
    }
}

@media (max-width: 600px) {
    .faq-question {
        font-size: 16px;
        padding: 12px 16px;
    }
    .faq-answer {
        font-size: 14px;
    }
    .faq-item.open .faq-answer {
        padding: 12px 16px;
    }
}