/* ═══════════════════════════════════════════════════════════

MANN FILTER BRYANSK — PREMIUM AUTO SERVICE

Цвета: #007030 (зелёный), #FFEB00 (жёлтый)

Шрифты: Montserrat (заголовки), Inter (текст)

═══════════════════════════════════════════════════════════ */

/* === RESET & BASE === */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #007030;
    line-height: 1.6;
    overflow-x: hidden;
    background: #ffffff;
}

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

/* === TYPOGRAPHY === */

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #007030;
}

h1 {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 16px;
}

h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
}

.section-title {
    text-align: center;
    font-size: 44px;
    margin-bottom: 12px;
    color: #007030;
}

.section-title.light {
    color: white;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: #64748b;
    margin-bottom: 48px;
    font-weight: 400;
}

.section-subtitle.light {
    color: #e2e8f0;
}

/* === BUTTONS === */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-family: 'Inter', sans-serif;
}

.btn i {
    font-size: 18px;
}

.btn-primary {
    background: #007030;
    color: white;
    box-shadow: 0 4px 14px rgba(0, 112, 48, 0.3);
}

.btn-primary:hover {
    background: #005524;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 112, 48, 0.4);
}

/* === HEADER === */

.header {
    background: white;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 16px;
}

.logo-svg {
    height: 50px;
    width: auto;
}

.logo-subtitle {
    font-size: 13px;
    font-weight: 500;
    color: #64748b;
    line-height: 1.3;
    max-width: 120px;
}

.nav {
    display: flex;
    gap: 36px;
}

.nav a {
    color: #007030;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s;
    position: relative;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #FFEB00;
    transition: width 0.3s;
}

.nav a:hover::after {
    width: 100%;
}

.nav a:hover {
    color: #005524;
}

/* === ANNOUNCEMENT BAR === */

.announcement-bar {
    background: linear-gradient(135deg, #FFEB00 0%, #FFD700 100%);
    color: #007030;
    padding: 14px 0;
    position: relative;
    z-index: 99;
    box-shadow: 0 4px 12px rgba(255, 235, 0, 0.3);
}

.announcement-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    text-align: center;
}

.announcement-icon {
    font-size: 24px;
    color: #007030;
    flex-shrink: 0;
}

.announcement-text {
    font-size: 16px;
    line-height: 1.5;
    color: #007030;
}

.announcement-text strong {
    font-weight: 700;
    color: #003d1a;
}

.announcement-btn {
    background: #007030;
    color: white;
    padding: 10px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0, 112, 48, 0.3);
    flex-shrink: 0;
}

.announcement-btn:hover {
    background: #005524;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 112, 48, 0.4);
}

/* Скрытие announcement bar */
.announcement-hidden {
    display: none;
}

/* === HERO (GRADIENT + PATTERN) === */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 80px 0 60px;
    overflow: hidden;

    /* Градиент фон */
    background: linear-gradient(135deg, #007030 0%, #005a26 50%, #003d1a 100%);

    /* Паттерн точек (CSS) */
    background-image: 
        radial-gradient(circle, rgba(255, 235, 0, 0.15) 1px, transparent 1px),
        linear-gradient(135deg, #007030 0%, #005a26 50%, #003d1a 100%);
    background-size: 40px 40px, 100% 100%;
    background-position: 0 0, 0 0;
}

/* Анимация паттерна */
@keyframes movePattern {
    0% {
        background-position: 0 0, 0 0;
    }
    100% {
        background-position: 40px 40px, 0 0;
    }
}

.hero {
    animation: movePattern 20s linear infinite;
}

/* Контент Hero */
.hero-content {
    position: relative;
    z-index: 3;
    max-width: 700px;
    color: white;
}

.hero h1 {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-description {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 36px;
    line-height: 1.7;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

/* Hero Features */
.hero-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 17px;
    font-weight: 600;
    color: white;
}

.feature-icon {
    background: #FFEB00;
    color: #007030;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(255, 235, 0, 0.4);
    flex-shrink: 0;
}

.feature-icon i {
    font-size: 26px;
}

/* Hero Buttons */
.hero-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-top: 40px;
}

/* Telegram button */
.btn-telegram {
    background: #0088cc;
    color: white;
    padding: 18px 32px;
    font-size: 17px;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 16px rgba(0, 136, 204, 0.4);
    transition: all 0.3s ease;
    border: none;
}

.btn-telegram:hover {
    background: #006699;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 136, 204, 0.5);
}

/* WhatsApp button */
.btn-whatsapp {
    background: #25D366;
    color: white;
    padding: 18px 32px;
    font-size: 17px;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    border: none;
}

.btn-whatsapp:hover {
    background: #1DA851;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5);
}

/* Call button */
.btn-call {
    background: white;
    color: #007030;
    padding: 18px 32px;
    font-size: 17px;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 16px rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    border: 2px solid white;
}

.btn-call:hover {
    background: #FFEB00;
    color: #007030;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(255, 235, 0, 0.6);
    border-color: #FFEB00;
}

/* === SERVICES === */

.services {
    padding: 100px 0;
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.service-card {
    padding: 40px 32px;
    background: white;
    border-radius: 20px;
    border: 2px solid #e2e8f0;
    transition: all 0.4s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 112, 48, 0.15);
    border-color: #FFEB00;
}

.service-icon {
    font-size: 56px;
    color: #007030;
    margin-bottom: 20px;
    display: block;
}

.service-card h3 {
    margin-bottom: 16px;
    color: #007030;
}

.service-card p {
    color: #64748b;
    line-height: 1.7;
    font-size: 15px;
}

/* === GALLERY === */

.gallery {
    padding: 100px 0;
    background: linear-gradient(135deg, #007030 0%, #005524 100%);
    color: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    transition: all 0.4s ease;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.gallery-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    color: #FFEB00;
    padding: 24px 20px 20px;
    font-weight: 600;
    font-size: 17px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.gallery-caption i {
    font-size: 20px;
}

/* === PROCESS === */

.process {
    padding: 100px 0;
    background: white;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 40px;
    margin-top: 48px;
}

.process-step {
    text-align: center;
    position: relative;
    padding: 50px 24px 32px;
    background: #f8fafc;
    border-radius: 20px;
    border: 2px solid #e2e8f0;
    transition: all 0.4s ease;
}

.process-step:hover {
    border-color: #007030;
    box-shadow: 0 16px 40px rgba(0, 112, 48, 0.12);
    transform: translateY(-5px);
}

.step-number {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #007030 0%, #005524 100%);
    border: 4px solid #FFEB00;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 800;
    color: white;
    box-shadow: 0 8px 24px rgba(0, 112, 48, 0.4);
    font-family: 'Montserrat', sans-serif;
}

.step-icon {
    font-size: 64px;
    color: #007030;
    margin: 20px 0;
}

.process-step h3 {
    margin-bottom: 12px;
    color: #007030;
}

.process-step p {
    color: #64748b;
}

/* === ADVANTAGES === */

.advantages {
    padding: 100px 0;
    background: #f8fafc;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.advantage-card {
    padding: 40px 32px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border-left: 5px solid #FFEB00;
}

.advantage-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0, 112, 48, 0.15);
    border-left-color: #007030;
}

.advantage-icon {
    font-size: 56px;
    color: #007030;
    margin-bottom: 20px;
    display: block;
}

.advantage-card h3 {
    margin-bottom: 16px;
    color: #007030;
}

.advantage-card p {
    color: #64748b;
    line-height: 1.8;
}

/* === REVIEWS === */

.reviews {
    padding: 100px 0;
    background: white;
}

.yandex-widget-container {
    display: flex;
    justify-content: center;
    margin-top: 48px;
}

#yandex-reviews-widget {
    width: 100%;
    max-width: 760px;
}

/* === CONTACTS === */

.contacts {
    padding: 100px 0;
    background: #f8fafc;
}

.contacts-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 48px;
}

.contacts-info {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-item {
    display: flex;
    gap: 24px;
    padding: 28px;
    background: white;
    border-radius: 16px;
    border-left: 5px solid #007030;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
}

.contact-item:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 24px rgba(0, 112, 48, 0.15);
}

.contact-icon {
    font-size: 36px;
    color: #007030;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item h3 {
    margin-bottom: 8px;
    font-size: 20px;
    color: #007030;
}

.contact-item p {
    color: #475569;
    line-height: 1.8;
    font-size: 15px;
}

.contact-item a {
    color: #007030;
    text-decoration: none;
    font-weight: 600;
}

.contact-item a:hover {
    color: #005524;
    text-decoration: underline;
}

.contacts-map {
    background: #e2e8f0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border: 3px solid #007030;
    height: 600px;
}

.contacts-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* === FOOTER === */

.footer {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: white;
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo {
    height: 60px;
    width: auto;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.footer-column h4 {
    color: #FFEB00;
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 700;
}

.footer-column p {
    color: #cbd5e1;
    margin-bottom: 10px;
    font-size: 15px;
    line-height: 1.7;
}

.footer-column p i {
    color: #FFEB00;
    margin-right: 10px;
    width: 16px;
}

.footer-column a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: #FFEB00;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-nav a {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-nav i {
    color: #FFEB00;
}

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

.social-links-footer a {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #007030;
    color: #FFEB00;
    border-radius: 12px;
    font-size: 24px;
    transition: all 0.3s;
}

.social-links-footer a:hover {
    background: #FFEB00;
    color: #007030;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(255, 235, 0, 0.4);
}

.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    color: #94a3b8;
    font-size: 14px;
}

/* === RESPONSIVE === */

@media (max-width: 968px) {
    .header {
        padding: 8px 0;
    }

    .header-content {
        flex-direction: column;
        gap: 12px;
    }

    .logo-svg {
        height: 40px;
    }

    .nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
        font-size: 14px;
    }

    /* Announcement bar на мобильных */
    .announcement-content {
        flex-direction: column;
        gap: 12px;
    }

    .announcement-text {
        font-size: 14px;
    }

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

    .hero {
        min-height: 100vh;
        padding: 60px 0 40px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-buttons {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 36px;
    }

    .section-title {
        font-size: 32px;
    }

    .contacts-content {
        grid-template-columns: 1fr;
    }

    .contacts-map {
        height: 450px;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 640px) {
    .announcement-bar {
        padding: 12px 0;
    }

    .announcement-icon {
        font-size: 20px;
    }

    .announcement-text {
        font-size: 13px;
    }

    .announcement-btn {
        padding: 8px 20px;
        font-size: 14px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .hero-description {
        font-size: 15px;
    }

    .feature-icon {
        width: 48px;
        height: 48px;
    }

    .feature-icon i {
        font-size: 22px;
    }

    .btn-telegram,
    .btn-whatsapp,
    .btn-call {
        padding: 16px 24px;
        font-size: 16px;
        width: 100%;
        justify-content: center;
    }

    h1 {
        font-size: 28px;
    }

    .section-title {
        font-size: 26px;
    }

    .services-grid,
    .advantages-grid {
        grid-template-columns: 1fr;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item img {
        height: 220px;
    }

    .contacts-map {
        height: 400px;
    }
}

/* Booking Button */
.btn-booking {
  background: #FFEB00;
  color: #007030;
  padding: 18px 32px;
  font-size: 17px;
  font-weight: 700;
  border-radius: 12px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 16px rgba(255, 235, 0, 0.45);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}
.btn-booking:hover {
  background: #FFD700;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(255, 235, 0, 0.55);
}

/* MAX Messenger Button */
.btn-max {
  background: #000000;
  color: #ffffff;
  padding: 18px 32px;
  font-size: 17px;
  font-weight: 600;
  border-radius: 12px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}
.btn-max:hover {
  background: #333333;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.contacts-cta { display: flex; justify-content: center; margin: 20px 0; width: 100%; }
.btn-booking-contacts { width: 100%; max-width: 400px; justify-content: center; }
.btn-booking, .btn-booking-header, .btn-booking-contacts, .btn-max { text-decoration: none; }

/* Mobile Fixes */
@media (max-width: 640px) {
  .header { position: static !important; }
  .btn-booking, .btn-telegram, .btn-call, .btn-max { width: 100%; justify-content: center; margin-bottom: 10px; }
  .hero-buttons { display: flex; flex-direction: column; }
}
