/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Container */
.header__container,
.hero__container,
.operators__container,
.cities__container,
.about__container,
.footer__container,
.city-hero__container,
.city-operators__container,
.operator-details__container,
.gibdd-complaints__container,
.operator-hero__container,
.operator-main__container,
.page-hero__container,
.operators-list__container,
.cities-list__container,
.about-content__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.nav__logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2563eb;
    text-decoration: none;
}

.nav__list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav__link {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav__link:hover,
.nav__link--active {
    color: #2563eb;
}

/* Hero sections */
.hero,
.city-hero,
.operator-hero,
.page-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.hero__title,
.city-hero__title,
.operator-hero__title,
.page-hero__title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero__description {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Main content */
.main {
    flex: 1;
}

/* Sections */
.operators,
.cities,
.about,
.city-operators,
.operator-details,
.gibdd-complaints,
.operator-main,
.operators-list,
.cities-list,
.about-content {
    padding: 4rem 0;
}

.operators__title,
.cities__title,
.about__title,
.city-operators__title,
.operator-details__title,
.gibdd-complaints__title {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    color: #1f2937;
}

/* Grids */
.operators__grid,
.cities__grid,
.city-operators__grid,
.operators-list__grid,
.cities-list__grid {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.operators__grid {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    align-items: stretch;
}

.operators-list__grid {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.cities__grid,
.city-operators__grid,
.cities-list__grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* Cards */
.operator-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.operator-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.operator-card__logo {
    text-align: center;
    margin-bottom: 1rem;
}

.operator-card__logo--big {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 140px;
    margin-bottom: 1.5rem;
}

.operator-card__image {
    max-width: 200px;
    max-height: 120px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.operator-card__name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1f2937;
    text-align: center;
}

.operator-card__content {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    height: 100%;
}

.operator-card__description {
    color: #6b7280;
    margin-bottom: 2rem;
    line-height: 1.5;
    flex-grow: 1;
}

.operator-card__link {
    display: inline-block;
    background: #2563eb;
    color: white;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    text-align: center;
    transition: background-color 0.3s;
    margin-top: auto;
    align-self: center;
    width: fit-content;
}

.operator-card__link:hover {
    background: #1d4ed8;
}

.city-card,
.city-operator-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.city-card:hover,
.city-operator-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.city-card__name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1f2937;
}

.city-card__link,
.city-operator-card__link {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
}

.city-card__link:hover,
.city-operator-card__link:hover {
    text-decoration: underline;
}

.city-operator-card__logo {
    max-width: 80px;
    max-height: 50px;
    object-fit: contain;
    margin-bottom: 0.5rem;
}

/* Operator page specific styles */
.operator-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background: #f9fafb;
    border-radius: 12px;
}

.operator-header__logo {
    max-width: 180px;
    max-height: 120px;
    object-fit: contain;
}

.operator-header__name {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1f2937;
}

/* Section icons */
.section-icon {
    font-size: 1.2em;
    margin-right: 0.5rem;
    vertical-align: middle;
}

.operator-contacts,
.rental-conditions,
.promocodes,
.tariffs,
.insurance,
.responsibility,
.fleet,
.operator-cities {
    margin-bottom: 3rem;
}

.operator-contacts__title,
.rental-conditions__title,
.promocodes__title,
.tariffs__title,
.insurance__title,
.responsibility__title,
.fleet__title,
.operator-cities__title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #1f2937;
    display: flex;
    align-items: center;
}

.operator-contacts__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: #f9fafb;
    border-radius: 8px;
    transition: background-color 0.2s;
}

.contact-item:hover {
    background: #f3f4f6;
}

.contact-item__icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.contact-item__content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
}

.contact-item__label {
    font-weight: 600;
    color: #6b7280;
    font-size: 0.875rem;
}

.contact-item__value,
.contact-item__link {
    color: #1f2937;
    text-decoration: none;
}

.contact-item__link:hover {
    color: #2563eb;
    text-decoration: underline;
}

/* Promocodes styles */
.promocodes__content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    justify-content: flex-start;
}

.promocode-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(37,99,235,0.08), 0 1.5px 4px rgba(0,0,0,0.03);
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    min-width: 0;
    max-width: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: box-shadow 0.2s;
    border: 1.5px solid #e5e7eb;
    position: relative;
}

.promocode-card:hover {
    box-shadow: 0 8px 32px rgba(37,99,235,0.13), 0 2px 8px rgba(0,0,0,0.04);
}

.promocode-card__title {
    font-size: 1.08rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 1.2rem;
    line-height: 1.4;
}

.promocode-card__code-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
}

.promocode-card__code {
    font-family: 'JetBrains Mono', 'Fira Mono', 'Consolas', monospace;
    font-size: 1.25rem;
    font-weight: 600;
    color: #2563eb;
    background: #f3f4f6;
    padding: 0.7rem 1.2rem;
    border-radius: 8px;
    border: none;
    letter-spacing: 1px;
    user-select: all;
    box-shadow: 0 1px 2px rgba(37,99,235,0.04);
    transition: background 0.2s;
}

.promocode-card__copy-btn,
.promocode-card__copy-btn:hover,
.promocode-card__copy-btn:focus,
.promocode-card__copy-btn:active {
    background: none !important;
    background-color: transparent !important;
    box-shadow: none !important;
    outline: none;
}

.promocode-card__copy-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #2563eb;
    border: 1.5px solid #2563eb;
    padding: 0.65rem 1.1rem;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    font-size: 1rem;
    transition: color 0.18s, border-color 0.18s, box-shadow 0.18s, background 0.18s;
    position: relative;
}
.promocode-card__copy-btn:hover,
.promocode-card__copy-btn:focus {
    color: #1d4ed8;
    border-color: #1d4ed8;
    box-shadow: 0 2px 8px rgba(37,99,235,0.13);
    z-index: 1;
}
.promocode-card__copy-btn:active {
    color: #10b981;
    border-color: #10b981;
}

.copy-icon {
    display: flex;
    align-items: center;
    font-size: 1.1em;
    margin-right: 0.1em;
}

/* Notification styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #2563eb;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(37,99,235,0.13);
    z-index: 1000;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(.4,2,.6,1), opacity 0.2s;
    font-weight: 500;
    opacity: 0.98;
}
.notification--show {
    transform: translateX(0);
    opacity: 1;
}

.app-downloads {
    margin-top: 2rem;
}

.app-downloads__title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1f2937;
    display: flex;
    align-items: center;
}

.app-downloads__links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.app-downloads__link {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s;
}

.app-downloads__link--android {
    background: #34d399;
    color: white;
}

.app-downloads__link--android:hover {
    background: #10b981;
}

.app-downloads__link--ios {
    background: #3b82f6;
    color: white;
}

.app-downloads__link--ios:hover {
    background: #2563eb;
}

.rental-conditions__item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.rental-conditions__label {
    font-weight: 600;
    color: #6b7280;
    min-width: 150px;
}

.rental-conditions__value {
    color: #1f2937;
}

/* Tariffs table */
.tariffs__table-wrapper {
    overflow-x: auto;
    margin-top: 1rem;
}

.tariffs__table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.tariffs__header {
    background: #f3f4f6;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: #1f2937;
    border-bottom: 1px solid #e5e7eb;
}

.tariffs__cell {
    padding: 1rem;
    border-bottom: 1px solid #e5e7eb;
    color: #374151;
}

.tariffs__row:last-child .tariffs__cell {
    border-bottom: none;
}

/* Map section */
.map-section {
    margin: 2rem 0;
}

.map-section__title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1f2937;
}

.map-section__map {
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
}

/* About content */
.about__content,
.about-content__text {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about__content h2,
.about__content h3,
.about-content__text h2,
.about-content__text h3 {
    margin: 2rem 0 1rem 0;
    color: #1f2937;
}

.about__content p,
.about-content__text p {
    margin-bottom: 1rem;
}

/* Footer */
.footer {
    background: #1f2937;
    color: white;
    padding: 2rem 0;
    text-align: center;
    margin-top: auto;
}

/* Responsive design */
@media (max-width: 768px) {
    .nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav__list {
        gap: 1rem;
    }
    
    .hero__title,
    .city-hero__title,
    .operator-hero__title,
    .page-hero__title {
        font-size: 2rem;
    }
    
    .operator-header {
        flex-direction: column;
        text-align: center;
    }
    
    .operator-header__logo {
        max-width: 150px;
        max-height: 100px;
    }
    
    .operator-contacts__grid {
        grid-template-columns: 1fr;
    }
    
    .app-downloads__links {
        flex-direction: column;
    }
    
    .app-downloads__link {
        text-align: center;
    }
    
    .contact-item {
        text-align: left;
    }
    
    .promocodes__content {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    
    .promocode-card {
        min-width: 0;
        max-width: 100%;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .header__container,
    .hero__container,
    .operators__container,
    .cities__container,
    .about__container,
    .footer__container,
    .city-hero__container,
    .city-operators__container,
    .operator-details__container,
    .gibdd-complaints__container,
    .operator-hero__container,
    .operator-main__container,
    .page-hero__container,
    .operators-list__container,
    .cities-list__container,
    .about-content__container {
        padding: 0 15px;
    }
    
    .operators__grid,
    .cities__grid,
    .city-operators__grid,
    .operators-list__grid,
    .cities-list__grid {
        grid-template-columns: 1fr;
    }
    
    .hero__title,
    .city-hero__title,
    .operator-hero__title,
    .page-hero__title {
        font-size: 1.75rem;
    }
    
    .operator-header__name {
        font-size: 1.5rem;
    }
    
    .operator-header__logo {
        max-width: 120px;
        max-height: 80px;
    }
}

/* Стили для списков */
ul, ol {
    margin: 1.2em 0 1.2em 2em;
    padding-left: 1.5em;
    line-height: 1.7;
    font-size: 1.05em;
}
ul {
    list-style-type: disc;
}
ol {
    list-style-type: decimal;
}
ul ul, ol ul, ul ol, ol ol {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    margin-left: 1.5em;
    font-size: 0.98em;
    list-style-type: circle;
}
li {
    margin-bottom: 0.4em;
    padding-left: 0.2em;
}

.operator-card--full .operator-card__description {
    margin-bottom: 2rem;
}

.operator-cities__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.operator-city-tile {
    background: #f3f4f6;
    border-radius: 8px;
    padding: 1rem 0.5rem;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
    transition: box-shadow 0.2s, background 0.2s;
}
.operator-city-tile__link {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.05em;
    display: block;
}
.operator-city-tile:hover {
    background: #e0e7ff;
    box-shadow: 0 4px 16px rgba(37,99,235,0.08);
}

.app-downloads--card {
    background: #f9fafb;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(37,99,235,0.06);
    padding: 2rem 1rem 1.5rem 1rem;
    margin: 2rem 0;
    text-align: center;
}
.app-downloads__links {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-top: 1.2rem;
}
.app-downloads__link {
    background: none;
    box-shadow: none;
    border: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.2s, box-shadow 0.2s;
}
.app-downloads__link:hover .app-downloads__img {
    transform: scale(1.08);
    box-shadow: none;
}
.app-downloads__img {
    height: 64px;
    width: auto;
    margin-bottom: 0.5rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

/* Современные карточки операторов на странице города */
.city-operator-card--modern {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(37,99,235,0.08), 0 1.5px 4px rgba(0,0,0,0.03);
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    min-width: 0;
    max-width: 100%;
    width: 100%;
    min-height: 320px;
    transition: box-shadow 0.2s, transform 0.2s;
    border: 1.5px solid #e5e7eb;
    position: relative;
}
.city-operator-card--modern:hover {
    box-shadow: 0 8px 32px rgba(37,99,235,0.13), 0 2px 8px rgba(0,0,0,0.04);
    transform: translateY(-2px) scale(1.01);
}
.city-operator-card__logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 90px;
    margin-bottom: 1.2rem;
}
.city-operator-card__logo {
    max-width: 110px;
    max-height: 70px;
    object-fit: contain;
    margin: 0 auto;
    display: block;
}
.city-operator-card__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    flex: 1 1 auto;
}
.city-operator-card__name {
    font-size: 1.15rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1.2rem;
    text-align: center;
}
.city-operator-card__btn {
    display: inline-block;
    background: #2563eb;
    color: #fff;
    padding: 0.7rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    font-size: 1rem;
    margin-top: auto;
    transition: background 0.2s, box-shadow 0.2s, color 0.2s;
    box-shadow: 0 2px 8px rgba(37,99,235,0.08);
}
.city-operator-card__btn:hover {
    background: #1d4ed8;
    color: #fff;
    box-shadow: 0 4px 16px rgba(37,99,235,0.13);
}

@media (max-width: 700px) {
  .city-operator-card--modern {
    min-height: 0;
    padding: 1.2rem 0.7rem 1rem 0.7rem;
  }
  .city-operator-card__logo-wrap {
    min-height: 60px;
  }
  .city-operator-card__logo {
    max-width: 80px;
    max-height: 50px;
  }
}

/* Инфографичные блоки парковки на странице города */
.parking-info-blocks {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin: 2rem 0 1.5rem 0;
}
.parking-block {
    display: flex;
    align-items: flex-start;
    background: #f9fafb;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(37,99,235,0.06);
    padding: 1.2rem 1.5rem;
    min-width: 220px;
    max-width: 340px;
    flex: 1 1 220px;
    border-left: 6px solid #2563eb;
    gap: 1.1rem;
    transition: box-shadow 0.2s;
}
.parking-block--allow {
    border-left-color: #22c55e;
    background: linear-gradient(90deg, #e7fbe9 0%, #f9fafb 100%);
}
.parking-block--deny {
    border-left-color: #ef4444;
    background: linear-gradient(90deg, #fde7e7 0%, #f9fafb 100%);
}
.parking-block--important {
    border-left-color: #f59e42;
    background: linear-gradient(90deg, #fff7e6 0%, #f9fafb 100%);
}
.parking-block__icon {
    font-size: 2.1rem;
    margin-right: 0.5rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}
.parking-block__content {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}
.parking-block__title {
    font-size: 1.08rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.2rem;
}
.parking-block__desc {
    color: #374151;
    font-size: 1rem;
    line-height: 1.6;
}
.parking-block__desc ul,
.parking-block__desc ol {
    margin-left: 1.2em;
    padding-left: 1.2em;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}
.parking-block__desc ul {
    list-style-type: disc;
}
.parking-block__desc ol {
    list-style-type: decimal;
}
@media (max-width: 700px) {
  .parking-info-blocks {
    flex-direction: column;
    gap: 1rem;
  }
  .parking-block {
    min-width: 0;
    max-width: 100%;
    width: 100%;
    padding: 1rem 0.7rem;
  }
  .parking-block__desc ul,
  .parking-block__desc ol {
    margin-left: 0.7em;
    padding-left: 0.7em;
  }
}