:root {
    --primary: #f97316;
    --primary-dark: #ea580c;
    --primary-light: #fff7ed;
    --bg: #ffffff;
    --bg-light: #f9fafb;
    --bg-dark: #1f2937;
    --text: #1f2937;
    --text-light: #6b7280;
    --text-lighter: #9ca3af;
    --border: #e5e7eb;
    --shadow: 0 2px 12px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.1);
    --radius: 16px;
    --radius-sm: 10px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Rubik', 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========== ЛОГОТИП ЁИнструмент ========== */
.logo {
    display: flex;
    align-items: center;
    gap: 0;
    text-decoration: none;
    flex-shrink: 0;
    position: relative;
}

.logo-yo {
    font-family: 'Rubik', 'Inter', sans-serif;
    font-size: 48px;
    font-weight: 900;
    color: #1f2937;
    line-height: 1;
    letter-spacing: -0.02em;
    transition: color 0.3s;
    position: relative;
}

/* Декоративная точка над Ё */
.logo-yo::after {
    content: '';
    position: absolute;
    top: -12px;
    right: -2px;
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(249, 115, 22, 0.5);
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.7; }
}

.logo-text {
    font-family: 'Rubik', 'Inter', sans-serif;
    font-size: 30px;
    font-weight: 600;
    color: #1f2937;
    letter-spacing: -0.01em;
    margin-left: 2px;
}

.logo:hover .logo-yo {
    color: var(--primary);
}

.logo:hover .logo-text {
    color: var(--primary-dark);
}

/* ========== HEADER ========== */
.header {
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 14px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(8px);
    background: rgba(255,255,255,0.97);
}

.header-container {
    display: flex;
    align-items: center;
    gap: 28px;
}

/* ========== НАВИГАЦИЯ ========== */
.main-nav {
    flex: 1;
}

.nav-list {
    display: flex;
    gap: 6px;
    list-style: none;
    flex-wrap: wrap;
}

.nav-link {
    display: block;
    padding: 10px 16px;
    color: var(--text);
    text-decoration: none;
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 15px;
    transition: all 0.2s;
    white-space: nowrap;
}

.nav-link:hover {
    background: var(--primary-light);
    color: var(--primary);
}

/* Контакты в шапке */
.header-contacts {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.address-badge {
    display: flex;
    gap: 12px;
    font-size: 13px;
}

.address-item {
    display: flex;
    align-items: center;
    gap: 4px;
    background: var(--bg-light);
    padding: 6px 12px;
    border-radius: 20px;
}

.metro {
    color: var(--primary);
    font-weight: 600;
}

.phone-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
    transition: color 0.2s;
}

.phone-link svg {
    color: var(--primary);
}

.phone-link:hover {
    color: var(--primary);
}

/* Мобильное меню */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--text);
    border-radius: 3px;
    transition: all 0.3s;
}

/* ========== HERO ========== */
.hero {
    background: linear-gradient(135deg, #fef3c7 0%, #fff7ed 50%, #f0f9ff 100%);
    padding: 90px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(249,115,22,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-family: 'Rubik', sans-serif;
    font-size: 52px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    color: #1f2937;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 36px;
    line-height: 1.5;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========== КНОПКИ ========== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.25s;
    font-size: 16px;
    font-family: 'Rubik', 'Inter', sans-serif;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 16px rgba(249,115,22,0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(249,115,22,0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: #fff;
}

.btn-order {
    background: #fff;
    border: 2px solid var(--primary);
    color: var(--primary);
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: all 0.25s;
}

.btn-order:hover {
    background: var(--primary);
    color: #fff;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* ========== ПРЕИМУЩЕСТВА ========== */
.advantages {
    padding: 80px 0;
    background: var(--bg);
}

.advantages h2 {
    text-align: center;
    margin-bottom: 48px;
    font-size: 36px;
    font-weight: 700;
}

.adv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.adv-card {
    background: #fff;
    padding: 32px 28px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: transform 0.3s, box-shadow 0.3s;
}

.adv-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.adv-icon {
    font-size: 40px;
    display: block;
    margin-bottom: 16px;
}

.adv-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.adv-card p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.5;
}

.passport-discount {
    margin-top: 32px;
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    border: 1px solid #6ee7b7;
    padding: 18px 28px;
    border-radius: var(--radius);
    text-align: center;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.discount-icon {
    font-size: 28px;
}

/* ========== БРЕНДЫ ========== */
.brands {
    padding: 60px 0;
    background: var(--bg-light);
}

.brands h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 30px;
    font-weight: 700;
}

.brands-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.brand-item {
    background: #fff;
    padding: 16px 28px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 18px;
    color: var(--text);
    border: 1px solid var(--border);
    transition: all 0.2s;
    letter-spacing: 0.02em;
}

.brand-item:hover {
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: var(--shadow);
}

/* ========== КАТАЛОГ (ГАЛЕРЕЯ) ========== */
.catalog-section {
    padding: 60px 0;
}

.catalog-section:nth-child(even) {
    background: var(--bg-light);
}

.category-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 36px;
    padding-bottom: 12px;
    border-bottom: 3px solid var(--primary);
    display: inline-block;
}

.tools-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

/* Карточка инструмента */
.tool-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.tool-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

/* Изображение */
.tool-image-link {
    display: block;
    position: relative;
    height: 240px;
    overflow: hidden;
    background: var(--bg-light);
}

.tool-image-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.tool-image-link:hover img {
    transform: scale(1.08);
}

.tool-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(249,115,22,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.tool-image-overlay span {
    background: var(--primary);
    color: #fff;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
}

.tool-image-link:hover .tool-image-overlay {
    opacity: 1;
}

/* Информация */
.tool-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.tool-brand {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.tool-name {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
    line-height: 1.3;
}

.tool-name a {
    color: var(--text);
    text-decoration: none;
    transition: color 0.2s;
}

.tool-name a:hover {
    color: var(--primary);
}

.tool-desc {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 16px;
    line-height: 1.5;
    flex-grow: 1;
}

/* Цены */
.tool-pricing {
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    padding: 14px;
    margin-bottom: 16px;
}

.pricing-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0;
    font-size: 14px;
}

.pricing-label {
    color: var(--text-light);
    font-weight: 500;
}

.pricing-value {
    font-weight: 600;
}

.price {
    font-weight: 700;
    color: var(--primary);
    font-size: 16px;
}

.pricing-discount {
    color: #059669;
}

.price-week {
    font-weight: 700;
    color: #059669;
}

/* Селектор дней */
.tool-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.days-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-light);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    justify-content: center;
}

.days-btn {
    width: 32px;
    height: 32px;
    border: 2px solid var(--border);
    background: #fff;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.days-btn:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.days-count {
    font-size: 20px;
    font-weight: 700;
    min-width: 30px;
    text-align: center;
}

.days-label {
    font-size: 13px;
    color: var(--text-light);
}

/* ========== ВОПРОСЫ ========== */
.questions-section {
    padding: 60px 0;
}

.questions-card {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    padding: 48px;
    border-radius: var(--radius);
    text-align: center;
}

.questions-card h2 {
    font-size: 32px;
    margin-bottom: 12px;
}

.questions-card p {
    font-size: 18px;
    margin-bottom: 24px;
    opacity: 0.9;
}

.questions-card .btn {
    background: #fff;
    color: var(--primary);
}

.questions-card .btn:hover {
    background: #f0f9ff;
}

/* ========== МОДАЛЬНОЕ ОКНО ========== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 200;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.modal-content {
    background: #fff;
    max-width: 460px;
    width: 90%;
    padding: 36px 32px;
    border-radius: var(--radius);
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    animation: modalSlide 0.3s ease;
}

@keyframes modalSlide {
    from { transform: translateY(-30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.modal-close {
    position: absolute;
    top: 14px;
    right: 16px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--text-light);
    transition: color 0.2s;
}

.modal-close:hover {
    color: var(--text);
}

.modal h2 {
    font-size: 24px;
    margin-bottom: 8px;
}

.modal-tool-name {
    font-size: 16px;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 20px;
}

.modal-pricing-info {
    display: flex;
    justify-content: space-between;
    background: var(--bg-light);
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 15px;
}

.modal-deposit strong,
.modal-price strong {
    color: var(--primary);
}

/* ========== ФОРМЫ ========== */
.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    font-size: 14px;
    color: var(--text);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 16px;
    font-family: 'Rubik', 'Inter', sans-serif;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #fff;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(249,115,22,0.15);
}

/* ========== FOOTER ========== */
.footer {
    background: var(--bg-dark);
    color: #e5e7eb;
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 2fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #374151;
}

.footer h3 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 16px;
    font-weight: 600;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    margin-bottom: 16px;
}

.footer-logo .logo-yo {
    color: #fff;
    font-size: 40px;
}

.footer-logo .logo-text {
    color: #fff;
    font-size: 26px;
}

.footer-description {
    color: var(--text-lighter);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.footer-menu ul {
    list-style: none;
}

.footer-menu ul li {
    margin-bottom: 10px;
}

.footer-menu ul li a {
    color: var(--text-lighter);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-menu ul li a:hover {
    color: #fff;
}

.footer-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    text-decoration: none;
    margin-bottom: 8px;
}

.footer-phone svg {
    color: var(--primary);
}

.footer-hours {
    color: var(--text-lighter);
    font-size: 14px;
    margin-bottom: 8px;
}

.footer-discount {
    background: #065f46;
    color: #d1fae5;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    margin-top: 12px;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.social-link {
    background: #374151;
    padding: 10px;
    border-radius: var(--radius-sm);
    transition: background 0.2s;
    display: flex;
}

.social-link:hover {
    background: var(--primary);
}

/* Карта */
.map-container {
    margin-bottom: 16px;
}

.map-points {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.map-point {
    background: #374151;
    padding: 14px;
    border-radius: var(--radius-sm);
}

.map-point strong {
    color: var(--primary);
    font-size: 14px;
    display: block;
    margin-bottom: 4px;
}

.map-point p {
    color: #e5e7eb;
    font-size: 13px;
    margin: 0;
}

.map-point small {
    color: var(--text-lighter);
    font-size: 12px;
}

/* Footer bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    font-size: 13px;
    color: var(--text-lighter);
}

.footer-bottom-right {
    display: flex;
    gap: 24px;
}

.footer-bottom-right a {
    color: var(--text-lighter);
    text-decoration: none;
}

.footer-bottom-right a:hover {
    color: #fff;
}

/* ========== FEEDBACK FORM ========== */
.feedback-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #fef3c7, #fff7ed);
}

.feedback-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.feedback-info h2 {
    font-size: 34px;
    margin-bottom: 16px;
    font-weight: 700;
}

.feedback-info p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 32px;
}

.feedback-benefits {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.fb-benefit {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 500;
}

.fb-icon {
    font-size: 24px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.feedback-form {
    background: #fff;
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

.feedback-form h3 {
    font-size: 24px;
    margin-bottom: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-checkbox {
    display: flex;
    align-items: center;
}

.form-checkbox label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    cursor: pointer;
}

.form-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

.form-checkbox a {
    color: var(--primary);
}

.form-note {
    text-align: center;
    margin-top: 12px;
    font-size: 14px;
    color: var(--text-light);
}

.form-note a {
    color: var(--primary);
    font-weight: 600;
}

/* ========== УВЕДОМЛЕНИЯ ========== */
.notification {
    position: fixed;
    top: 24px;
    right: 24px;
    padding: 18px 24px;
    border-radius: var(--radius-sm);
    color: #fff;
    font-weight: 500;
    z-index: 300;
    animation: slideIn 0.3s ease;
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: 420px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    font-size: 15px;
}

.notification-success {
    background: #059669;
}

.notification-error {
    background: #dc2626;
}

.notification button {
    background: none;
    border: none;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
}

@keyframes slideIn {
    from { transform: translateX(120%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideOut {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(120%); opacity: 0; }
}

/* ========== АДАПТИВ ========== */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .feedback-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 34px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .header-container {
        flex-wrap: wrap;
    }
    
    .mobile-menu-toggle {
        display: flex;
        order: 3;
    }
    
    .main-nav {
        display: none;
        width: 100%;
        order: 4;
    }
    
    .main-nav.active {
        display: block;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 2px;
    }
    
    .header-contacts {
        order: 2;
    }
    
    .tools-gallery {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .footer-bottom-right {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .brands-grid {
        gap: 12px;
    }
    
    .brand-item {
        padding: 12px 18px;
        font-size: 14px;
    }
}