/* ========================================
   БАЗА — С ТЕКСТУРОЙ
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #f5f0eb;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255, 122, 47, 0.04) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(255, 122, 47, 0.03) 0%, transparent 50%),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ff7a2f' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    color: #1a1a1a;
    padding: 20px;
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ========================================
   ШАПКА — С ТЕНЬЮ И ГРАДИЕНТОМ
   ======================================== */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 12px 28px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.04), inset 0 1px 0 rgba(255,255,255,0.8);
    margin-bottom: 28px;
    transition: 0.3s;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 40px;
    width: auto;
    display: block;
}

.logo-text {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: -0.5px;
}
.logo-text span {
    background: linear-gradient(135deg, #ff7a2f, #ff9a5e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

nav {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}

nav a {
    padding: 8px 18px;
    border-radius: 40px;
    font-weight: 500;
    font-size: 14px;
    color: #444;
    transition: 0.25s ease;
    position: relative;
}
nav a:hover {
    background: rgba(255, 122, 47, 0.08);
    color: #ff7a2f;
}
nav a.active {
    background: linear-gradient(135deg, #ff7a2f, #ff9a5e);
    color: #fff;
    box-shadow: 0 4px 16px rgba(255, 122, 47, 0.2);
}
nav a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    border-radius: 4px;
    background: #ff7a2f;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.phone-link {
    font-weight: 600;
    color: #1a1a1a;
    font-size: 15px;
    white-space: nowrap;
    transition: 0.3s;
    padding: 6px 16px;
    border-radius: 40px;
    background: rgba(255, 122, 47, 0.06);
    border: 1px solid rgba(255, 122, 47, 0.1);
}
.phone-link:hover {
    background: rgba(255, 122, 47, 0.12);
    color: #ff7a2f;
    border-color: #ff7a2f;
}

.socials {
    display: flex;
    gap: 6px;
}
.social-link {
    background: rgba(0, 0, 0, 0.04);
    padding: 5px 14px;
    border-radius: 40px;
    font-size: 12px;
    font-weight: 600;
    color: #555;
    transition: 0.25s ease;
}
.social-link:hover {
    background: linear-gradient(135deg, #ff7a2f, #ff9a5e);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 122, 47, 0.2);
}

/* ========================================
   ГЕРОЙ — С ПАТТЕРНОМ И ТЕНЬЮ
   ======================================== */
.hero {
    background: linear-gradient(145deg, #ff7a2f 0%, #ff9a5e 100%);
    padding: 56px 40px;
    border-radius: 28px;
    color: #fff;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(255, 122, 47, 0.2);
    border: 1px solid rgba(255,255,255,0.1);
}
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    pointer-events: none;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    pointer-events: none;
}
.hero h1 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -1px;
    position: relative;
    text-shadow: 0 2px 20px rgba(0,0,0,0.05);
}
.hero p {
    font-size: 18px;
    opacity: 0.92;
    max-width: 560px;
    margin: 0 auto 24px;
    position: relative;
}
.hero .btn-primary {
    background: #fff;
    color: #ff7a2f;
    padding: 14px 44px;
    border-radius: 60px;
    font-weight: 600;
    font-size: 16px;
    transition: 0.3s;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    display: inline-block;
}
.hero .btn-primary:hover {
    transform: scale(1.04);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}
.hero .rating-badge {
    margin-top: 20px;
    display: inline-block;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(8px);
    padding: 6px 20px;
    border-radius: 40px;
    font-size: 14px;
    border: 1px solid rgba(255,255,255,0.15);
}

/* ========================================
   БЫСТРЫЙ ЗАКАЗ — С ГРАДИЕНТОМ
   ======================================== */
.quick-order {
    background: linear-gradient(135deg, #ffffff, #faf7f2);
    border-radius: 24px;
    padding: 28px 30px;
    border: 1px solid rgba(255, 122, 47, 0.08);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}
.quick-order::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff7a2f, #ff9a5e, #ff7a2f);
    background-size: 200% 100%;
    animation: shimmer 3s infinite;
}
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}
.quick-order h2 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 4px;
}
.quick-order p {
    color: #666;
    margin-bottom: 14px;
}
.quick-order .btn-call {
    background: linear-gradient(135deg, #28a745, #34ce57);
    color: #fff;
    padding: 14px 48px;
    border-radius: 60px;
    font-weight: 600;
    font-size: 18px;
    transition: 0.3s;
    box-shadow: 0 4px 20px rgba(40, 167, 69, 0.25);
    display: inline-block;
}
.quick-order .btn-call:hover {
    transform: scale(1.04);
    box-shadow: 0 8px 32px rgba(40, 167, 69, 0.3);
}

/* ========================================
   СЕКЦИИ — С ДЕКОРАТИВНЫМИ ЭЛЕМЕНТАМИ
   ======================================== */
.section {
    margin-bottom: 44px;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(8px);
    border-radius: 24px;
    padding: 32px 28px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
    position: relative;
}
.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, #ff7a2f, transparent);
    border-radius: 24px 24px 0 0;
    opacity: 0.3;
}

.section h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 14px;
}
.section h2::before {
    content: '◆';
    color: #ff7a2f;
    font-size: 16px;
}
.section h2::after {
    content: '';
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, rgba(255, 122, 47, 0.2), transparent);
}

/* ========================================
   ПРЕИМУЩЕСТВА — ЦВЕТНЫЕ КАРТОЧКИ
   ======================================== */
.benefits {
    background: linear-gradient(135deg, #ffffff, #fdf8f4);
}
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}
.benefit-item {
    padding: 20px 16px;
    border-radius: 16px;
    text-align: center;
    transition: 0.3s;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 122, 47, 0.06);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}
.benefit-item:hover {
    background: #ffffff;
    border-color: rgba(255, 122, 47, 0.15);
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(255, 122, 47, 0.08);
}
.benefit-icon {
    font-size: 42px;
    margin-bottom: 8px;
}
.benefit-item h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 4px;
}
.benefit-item p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* ========================================
   КАК АРЕНДОВАТЬ — С ЦВЕТНЫМИ ШАГАМИ
   ======================================== */
.how-to {
    background: linear-gradient(135deg, #faf7f2, #ffffff);
}
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}
.step-item {
    text-align: center;
    padding: 20px 12px;
    border-radius: 16px;
    transition: 0.3s;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 122, 47, 0.04);
}
.step-item:hover {
    background: #ffffff;
    border-color: rgba(255, 122, 47, 0.1);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}
.step-number {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff7a2f, #ff9a5e);
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    box-shadow: 0 4px 16px rgba(255, 122, 47, 0.2);
}
.step-item h3 {
    font-size: 17px;
    font-weight: 600;
}
.step-item p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* ========================================
   КАРТОЧКИ ТОВАРОВ — ЦВЕТНЫЕ АКЦЕНТЫ
   ======================================== */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 20px;
}

.card {
    background: #ffffff;
    border-radius: 20px;
    padding: 14px 14px 16px;
    transition: 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    position: relative;
}
.card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    border-radius: 20px 20px 0 0;
    background: linear-gradient(90deg, #ff7a2f, #ff9a5e);
    opacity: 0;
    transition: 0.3s;
}
.card:hover::after {
    opacity: 1;
}
.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 44px rgba(255, 122, 47, 0.08);
    border-color: rgba(255, 122, 47, 0.12);
}

.card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 14px;
    background: #f5f2ed;
}

.card h3 {
    font-size: 14px;
    font-weight: 600;
    margin: 10px 0 4px;
    line-height: 1.3;
    min-height: 36px;
}

.card .price {
    font-size: 18px;
    font-weight: 700;
    color: #ff7a2f;
    margin: 4px 0 10px;
}
.card .price small {
    font-size: 12px;
    font-weight: 400;
    color: #888;
}

.card .tool-meta {
    font-size: 12px;
    color: #888;
    margin: 2px 0 6px;
}

.card button {
    background: linear-gradient(135deg, #ff7a2f, #ff9a5e);
    color: #fff;
    border: none;
    padding: 11px 0;
    border-radius: 60px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: 0.3s;
    margin-top: auto;
    box-shadow: 0 4px 16px rgba(255, 122, 47, 0.12);
}
.card button:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 28px rgba(255, 122, 47, 0.2);
}

/* ========================================
   ФИЛЬТРЫ — СТИЛЬНЫЕ
   ======================================== */
.filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.8);
    padding: 12px 18px;
    border-radius: 16px;
    border: 1px solid rgba(255, 122, 47, 0.06);
}
.filter a {
    padding: 6px 18px;
    border-radius: 40px;
    font-weight: 500;
    font-size: 13px;
    background: rgba(0, 0, 0, 0.04);
    color: #555;
    transition: 0.25s ease;
}
.filter a:hover {
    background: rgba(255, 122, 47, 0.08);
    color: #ff7a2f;
}
.filter a.active {
    background: linear-gradient(135deg, #ff7a2f, #ff9a5e);
    color: #fff;
    box-shadow: 0 4px 16px rgba(255, 122, 47, 0.15);
}

.filters-form {
    background: rgba(255, 255, 255, 0.6);
    padding: 16px 20px;
    border-radius: 16px;
    border: 1px solid rgba(255, 122, 47, 0.04);
    margin-top: 12px;
}
.filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: flex-end;
}
.filter-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1 1 140px;
    min-width: 100px;
}
.filter-group label {
    font-size: 13px;
    font-weight: 500;
    color: #555;
}
.filter-group input,
.filter-group select {
    padding: 8px 14px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 10px;
    font-size: 14px;
    background: #ffffff;
    transition: 0.3s;
    width: 100%;
}
.filter-group input:focus,
.filter-group select:focus {
    border-color: #ff7a2f;
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 122, 47, 0.06);
}
.filter-submit {
    background: linear-gradient(135deg, #ff7a2f, #ff9a5e);
    color: #fff;
    border: none;
    padding: 8px 24px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    height: 40px;
}
.filter-submit:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 16px rgba(255, 122, 47, 0.15);
}
.filter-reset {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 16px;
    color: #888;
    text-decoration: none;
    font-size: 14px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 10px;
    transition: 0.3s;
    background: #ffffff;
}
.filter-reset:hover {
    border-color: #ff7a2f;
    color: #ff7a2f;
}

/* ========================================
   ДЕТАЛЬНАЯ КАРТОЧКА ТОВАРА
   ======================================== */
.tool-detail-wrapper {
    display: flex;
    gap: 36px;
    flex-wrap: wrap;
    background: #ffffff;
    padding: 32px;
    border-radius: 24px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
}
.tool-image {
    flex: 1 1 40%;
    min-width: 260px;
    border-radius: 16px;
    overflow: hidden;
    background: #f5f2ed;
    border: 1px solid rgba(255, 122, 47, 0.04);
}
.tool-image img {
    width: 100%;
    height: 340px;
    object-fit: cover;
}
.tool-info {
    flex: 1 1 50%;
}
.tool-info h1 {
    font-size: 30px;
    font-weight: 700;
    letter-spacing: -0.5px;
}
.price-big {
    font-size: 32px;
    font-weight: 700;
    color: #ff7a2f;
    margin: 10px 0 16px;
}
.specs-block {
    background: #f8f6f1;
    padding: 16px 20px;
    border-radius: 14px;
    margin: 16px 0;
    border-left: 4px solid #ff7a2f;
}

/* ========================================
   ОТЗЫВЫ
   ======================================== */
.reviews-iframe-wrapper {
    background: #ffffff;
    border-radius: 16px;
    padding: 6px;
    border: 1px solid rgba(0, 0, 0, 0.04);
}
.reviews-iframe-wrapper iframe {
    width: 100%;
    height: 420px;
    border: 0;
    border-radius: 12px;
}

/* ========================================
   АКЦИИ — ЯРКИЙ БАННЕР
   ======================================== */
.promo-banner {
    background: linear-gradient(145deg, #ff7a2f, #ff9a5e);
    border-radius: 24px;
    padding: 32px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    color: #fff;
    box-shadow: 0 12px 36px rgba(255, 122, 47, 0.15);
    position: relative;
    overflow: hidden;
}
.promo-banner::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}
.promo-text h2 {
    font-size: 26px;
    margin: 0 0 4px;
}
.promo-text p {
    font-size: 16px;
    margin: 0 0 12px;
    opacity: 0.92;
}
.promo-text .btn-primary {
    background: #fff;
    color: #ff7a2f;
}
.promo-icon {
    font-size: 68px;
    opacity: 0.7;
}

/* ========================================
   МОДАЛКА — С АНИМАЦИЕЙ
   ======================================== */
.modal {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    justify-content: center;
    align-items: center;
    z-index: 1000;
    animation: fadeIn 0.25s ease;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.modal-content {
    background: #ffffff;
    padding: 34px 28px 28px;
    border-radius: 28px;
    width: 92%;
    max-width: 440px;
    position: relative;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.12);
    animation: slideUp 0.3s ease;
}
@keyframes slideUp {
    from { transform: translateY(24px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
.close {
    position: absolute;
    top: 12px;
    right: 22px;
    font-size: 28px;
    cursor: pointer;
    color: #aaa;
    transition: 0.3s;
}
.close:hover {
    color: #333;
    transform: rotate(90deg);
}

.contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 8px 0;
}
.contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 16px;
    border-radius: 14px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: 0.25s ease;
    border: 2px solid transparent;
}
.contact-btn:hover {
    transform: scale(1.02);
}
.phone-btn {
    background: #e8f5e9;
    color: #2e7d32;
    border-color: #a5d6a7;
}
.phone-btn:hover { background: #c8e6c9; }
.telegram-btn {
    background: #e3f2fd;
    color: #0d47a1;
    border-color: #90caf9;
}
.telegram-btn:hover { background: #bbdefb; }
.whatsapp-btn {
    background: #e8f5e9;
    color: #1b5e20;
    border-color: #81c784;
}
.whatsapp-btn:hover { background: #c8e6c9; }
.vk-btn {
    background: #e3f2fd;
    color: #0d47a1;
    border-color: #90caf9;
}
.vk-btn:hover { background: #bbdefb; }

/* ========================================
   ПОДВАЛ — С ТЕКСТУРОЙ
   ======================================== */
footer {
    margin-top: 50px;
    padding: 32px 28px 20px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 24px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
}
footer h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #1a1a1a;
    position: relative;
}
footer h4::after {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, #ff7a2f, transparent);
    margin-top: 4px;
}
footer a {
    display: block;
    color: #666;
    font-size: 14px;
    margin: 4px 0;
    transition: 0.25s ease;
}
footer a:hover {
    color: #ff7a2f;
    padding-left: 4px;
}
.footer-bottom {
    grid-column: 1 / -1;
    text-align: center;
    padding-top: 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.04);
    color: #999;
    font-size: 13px;
}

/* ========================================
   АДАПТАЦИЯ — ИСПРАВЛЕНА ДЛЯ МОБИЛЬНЫХ
   ======================================== */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 10px;
        padding: 14px 18px;
    }
    .logo a { justify-content: center; }
    nav { justify-content: center; }
    .header-actions { justify-content: center; }
    .hero { padding: 36px 20px; }
    .hero h1 { font-size: 28px; }
    .grid { grid-template-columns: repeat(auto-fill, minmax(155px, 1fr)); gap: 14px; }
    .tool-image img { height: 240px; }
    .promo-icon { font-size: 44px; }
    .section h2 { font-size: 22px; }
    .section { padding: 24px 16px; }
}

@media (max-width: 480px) {
    .grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .card { padding: 8px; }
    .card img { height: 100px; }
    .card h3 { font-size: 11px; min-height: 28px; }
    .card .price { font-size: 14px; }
    
    /* ===== УВЕЛИЧЕННЫЕ КЛИКАБЕЛЬНЫЕ ЭЛЕМЕНТЫ ===== */
    .card button {
        padding: 12px 0;
        font-size: 13px;
    }
    .filter a {
        padding: 8px 14px;
        font-size: 13px;
    }
    .contact-btn {
        padding: 16px;
        font-size: 16px;
    }
    
    .logo-text { font-size: 16px; }
    .logo-img { height: 28px; }
    .phone-link { font-size: 12px; padding: 6px 12px; }
    .social-link { font-size: 10px; padding: 4px 10px; }
    .tool-image img { height: 180px; }
    .reviews-iframe-wrapper iframe { height: 280px; }
    .hero h1 { font-size: 22px; }
    .hero p { font-size: 15px; }
    .quick-order .btn-call { font-size: 15px; padding: 12px 28px; }
    .benefits-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .steps-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
}

/* ===== ПОИСК ===== */
.search-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.search-input {
    flex: 1;
    min-width: 200px;
    padding: 12px 18px;
    border: 2px solid #e8e4de;
    border-radius: 50px;
    font-size: 15px;
    background: #ffffff;
    transition: 0.3s;
    outline: none;
}
.search-input:focus {
    border-color: #ff7a2f;
    box-shadow: 0 0 0 4px rgba(255, 122, 47, 0.1);
}
.search-input::placeholder {
    color: #aaa;
}

.search-count {
    font-size: 14px;
    color: #888;
    white-space: nowrap;
    min-width: 60px;
    text-align: right;
}

.card.hidden {
    display: none;
}

@media (max-width: 480px) {
    .search-wrapper {
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
    }
    .search-count {
        text-align: left;
        font-size: 12px;
    }
    .search-input {
        font-size: 14px;
        padding: 10px 14px;
    }
}

/* ========================================
   СТРАНИЦА «О НАС»
   ======================================== */
.about-page {
    background: #ffffff;
    padding: 30px 24px;
    border-radius: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.about-hero {
    text-align: center;
    padding: 20px 0 30px;
    border-bottom: 2px solid #f0ede8;
    margin-bottom: 30px;
}
.about-hero h1 {
    font-size: 32px;
    font-weight: 700;
    color: #1e1e1e;
}
.about-hero h1::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: #ff7a2f;
    margin: 8px auto 0;
    border-radius: 4px;
}
.about-hero p {
    font-size: 18px;
    color: #666;
    margin-top: 12px;
}

.about-grid {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}
.about-text {
    flex: 1 1 55%;
}
.about-text h2 {
    font-size: 22px;
    margin: 24px 0 12px;
    color: #1e1e1e;
}
.about-text h2:first-of-type {
    margin-top: 0;
}
.about-text p {
    font-size: 16px;
    color: #444;
    line-height: 1.7;
    margin-bottom: 12px;
}
.about-advantages {
    list-style: none;
    padding: 0;
}
.about-advantages li {
    padding: 8px 0;
    font-size: 15px;
    color: #444;
    border-bottom: 1px solid #f5f2ed;
    line-height: 1.5;
}
.about-advantages li:last-child {
    border-bottom: none;
}

.about-image {
    flex: 1 1 35%;
    min-width: 220px;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    height: fit-content;
}
.about-image img {
    width: 100%;
    height: auto;
    display: block;
}
.about-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #ff7a2f;
    color: #fff;
    padding: 10px 16px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(255, 122, 47, 0.3);
}
.about-badge span {
    display: block;
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
}
.about-badge small {
    font-size: 11px;
    opacity: 0.9;
}

.about-repair {
    display: flex;
    gap: 30px;
    background: #f8f6f3;
    padding: 28px 24px;
    border-radius: 16px;
    margin: 30px 0;
    flex-wrap: wrap;
    align-items: flex-start;
}
.repair-icon {
    font-size: 48px;
    flex: 0 0 60px;
    text-align: center;
}
.repair-text {
    flex: 1;
}
.repair-text h2 {
    font-size: 22px;
    margin: 0 0 8px;
}
.repair-text p {
    font-size: 15px;
    color: #444;
    line-height: 1.6;
    margin-bottom: 10px;
}
.repair-text ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
}
.repair-text ul li {
    font-size: 14px;
    color: #555;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
    margin: 30px 0;
    text-align: center;
}
.stat-item {
    background: #ffffff;
    padding: 16px 12px;
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    border: 1px solid #f0ede8;
}
.stat-number {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: #ff7a2f;
}
.stat-label {
    font-size: 14px;
    color: #888;
}

.about-cta {
    background: linear-gradient(145deg, #ff7a2f 0%, #ff9a5e 100%);
    border-radius: 20px;
    padding: 0;
    margin-top: 40px;
    box-shadow: 0 8px 32px rgba(255, 122, 47, 0.25);
    overflow: hidden;
}

.cta-content {
    padding: 44px 32px 36px;
    text-align: center;
    color: #fff;
}

.cta-content h3 {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 8px;
}

.cta-content p {
    font-size: 18px;
    opacity: 0.9;
    margin: 0 0 24px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.cta-buttons .btn-primary {
    display: inline-block;
    background: #ffffff;
    color: #ff7a2f;
    padding: 14px 40px;
    border-radius: 60px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    transition: 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.cta-buttons .btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.15);
}

.cta-buttons .btn-secondary {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    padding: 14px 36px;
    border-radius: 60px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: 0.3s ease;
    backdrop-filter: blur(4px);
}

.cta-buttons .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: #ffffff;
    transform: translateY(-2px);
}

@media (max-width: 600px) {
    .cta-content {
        padding: 30px 16px 24px;
    }
    .cta-content h3 {
        font-size: 22px;
    }
    .cta-content p {
        font-size: 16px;
    }
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    .cta-buttons .btn-primary,
    .cta-buttons .btn-secondary {
        width: 100%;
        max-width: 280px;
        text-align: center;
        padding: 14px 20px;
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .about-grid {
        flex-direction: column;
    }
    .about-image {
        order: -1;
    }
    .about-hero h1 {
        font-size: 26px;
    }
    .about-repair {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .repair-text ul {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .about-page {
        padding: 16px;
    }
    .about-hero h1 {
        font-size: 22px;
    }
    .about-stats {
        grid-template-columns: 1fr 1fr;
    }
}

/* ========================================
   ГАЛЕРЕЯ 5 ФОТО
   ======================================== */
.about-gallery {
    margin: 40px 0 30px;
}
.about-gallery h2 {
    text-align: center;
    font-size: 26px;
    margin-bottom: 24px;
}
.about-gallery h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: #ff7a2f;
    margin: 8px auto 0;
    border-radius: 4px;
}

.gallery-5 {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 12px;
}

.gallery-5 .gallery-main {
    grid-row: 1 / 3;
}

.gallery-item {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    cursor: pointer;
    transition: 0.3s ease;
    background: #f5f2ed;
    aspect-ratio: 4 / 3;
}

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    z-index: 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.6));
    color: #fff;
    padding: 30px 14px 12px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    pointer-events: none;
}

.gallery-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(6px);
    justify-content: center;
    align-items: center;
    z-index: 9999;
    cursor: pointer;
    padding: 20px;
}

.gallery-modal img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    object-fit: contain;
}

.gallery-modal .close-modal {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 48px;
    color: #fff;
    cursor: pointer;
    transition: 0.2s;
    font-weight: 300;
}
.gallery-modal .close-modal:hover {
    transform: rotate(90deg);
    color: #ff7a2f;
}

@media (max-width: 768px) {
    .gallery-5 {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }
    .gallery-5 .gallery-main {
        grid-row: auto;
        grid-column: 1 / 3;
    }
    .gallery-item {
        aspect-ratio: 4 / 3;
    }
}

@media (max-width: 480px) {
    .gallery-5 {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    .gallery-5 .gallery-main {
        grid-column: 1 / 3;
    }
    .gallery-item {
        aspect-ratio: 1 / 1;
    }
    .gallery-label {
        font-size: 11px;
        padding: 20px 10px 8px;
    }
    .gallery-modal img {
        max-width: 95%;
        max-height: 80%;
    }
    .gallery-modal .close-modal {
        top: 20px;
        right: 24px;
        font-size: 36px;
    }
}

/* ===== ПАГИНАЦИЯ ===== */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.04);
    flex-wrap: wrap;
}

.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    border-radius: 10px;
    background: #ffffff;
    color: #444;
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
    transition: 0.25s ease;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.page-link:hover {
    background: rgba(255, 122, 47, 0.06);
    border-color: #ff7a2f;
    color: #ff7a2f;
}

.page-link.active {
    background: linear-gradient(135deg, #ff7a2f, #ff9a5e);
    color: #fff;
    border-color: #ff7a2f;
    box-shadow: 0 4px 16px rgba(255, 122, 47, 0.12);
}

.page-link.disabled {
    opacity: 0.4;
    pointer-events: none;
    cursor: default;
}

/* ===== ФОРМА ПОИСКА ===== */
.search-form {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    flex-wrap: wrap;
}

.search-submit {
    background: linear-gradient(135deg, #ff7a2f, #ff9a5e);
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: 0.3s;
    white-space: nowrap;
}
.search-submit:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 16px rgba(255, 122, 47, 0.15);
}

.search-reset {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.04);
    color: #888;
    font-size: 18px;
    text-decoration: none;
    transition: 0.3s;
}
.search-reset:hover {
    background: rgba(255, 0, 0, 0.06);
    color: #e74c3c;
}

@media (max-width: 480px) {
    .search-form {
        flex-direction: row;
        flex-wrap: wrap;
    }
    .search-input {
        flex: 1;
        min-width: 120px;
    }
    .search-submit {
        padding: 10px 16px;
        font-size: 13px;
    }
    .page-link {
        min-width: 36px;
        height: 36px;
        font-size: 13px;
        padding: 0 10px;
    }
}