/**
 * Landing: Техосмотр такси (Autovault-style, isolated from main site)
 */
:root {
    --lp-bg: #050B20;
    --lp-bg-card: #161F3F;
    --lp-bg-soft: #0d1228;
    --lp-primary: #FF3600;
    --lp-white: #ffffff;
    --lp-muted: #a8b0c8;
    --lp-muted-dark: #5a6278;
    --lp-text-dark: #050B20;
    --lp-border: rgba(255, 255, 255, 0.08);
    --lp-border-dark: rgba(5, 11, 32, 0.12);
    --lp-container: 1200px;
    --lp-font: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --lp-header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.lp-taxi {
    margin: 0;
    font-family: var(--lp-font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--lp-white);
    background: var(--lp-bg);
    -webkit-font-smoothing: antialiased;
    padding-top: var(--lp-header-h);
}

img { max-width: 100%; height: auto; display: block; }

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

.lp-container {
    width: 100%;
    max-width: var(--lp-container);
    margin: 0 auto;
    padding: 0 16px;
}

/* Header */
.lp-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--lp-white);
    box-shadow: 0 2px 24px rgba(5, 11, 32, 0.08);
}

.lp-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: var(--lp-header-h);
}

.lp-logo img {
    height: 42px;
    width: auto;
}

.lp-header__nav {
    display: none;
    align-items: center;
    justify-content: center;
    flex: 1;
    flex-wrap: wrap;
    gap: 6px 22px;
}

.lp-header__nav a {
    font-size: 14px;
    font-weight: 500;
    color: var(--lp-text-dark);
    transition: color 0.2s;
}

.lp-header__nav a:hover {
    color: var(--lp-primary);
}

.lp-header__phone {
    font-size: 18px;
    font-weight: 600;
    color: var(--lp-primary);
    white-space: nowrap;
}

.lp-header__phone:hover {
    opacity: 0.85;
}

@media (min-width: 992px) {
    .lp-header__nav {
        display: flex;
    }
}

/* Section headings */
.lp-section {
    padding: 100px 0;
}

.lp-section--dark {
    background: var(--lp-bg);
    color: var(--lp-white);
}

.lp-section--white {
    background: var(--lp-white);
    color: var(--lp-text-dark);
}

.lp-section--white .lp-title {
    color: var(--lp-text-dark);
}

.lp-section--white .lp-lead {
    color: var(--lp-muted-dark);
}

.lp-section--white .lp-about__phone-label {
    color: var(--lp-text-dark);
}

.lp-section--white .lp-about__phone-block {
    border-top-color: var(--lp-border-dark);
}

.lp-section--white .lp-service__title {
    color: var(--lp-text-dark);
}

.lp-section--white .lp-service__text {
    color: var(--lp-muted-dark);
}

.lp-section--white .lp-faq-item {
    border-bottom-color: var(--lp-border-dark);
}

.lp-section--white .lp-faq-item__q {
    color: var(--lp-text-dark);
}

.lp-section--white .lp-faq-item__a {
    color: var(--lp-muted-dark);
}

.lp-section--soft {
    background: var(--lp-bg-soft);
}

.lp-eyebrow {
    display: inline-block;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--lp-primary);
    margin-bottom: 12px;
}

.lp-eyebrow span {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.lp-title {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 500;
    line-height: 1.15;
    margin: 0 0 20px;
}

.lp-title--light { color: var(--lp-white); }

.lp-title-highlight {
    color: var(--lp-primary);
}

.lp-lead {
    font-size: 18px;
    color: var(--lp-muted);
    margin: 0;
    max-width: 640px;
}

.lp-lead--center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.lp-section-head {
    margin-bottom: 60px;
    text-align: center;
}

.lp-section-head .lp-lead {
    margin-left: auto;
    margin-right: auto;
}

.lp-section-head .lp-lead + .lp-lead {
    margin-top: 16px;
}

.lp-lead--subtitle {
    font-size: 20px;
    font-weight: 500;
    color: inherit;
    opacity: 0.9;
}

.lp-section-head--center {
    text-align: center;
}

.lp-section-head--center .lp-lead {
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.lp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 28px;
    border: none;
    border-radius: 0;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, opacity 0.2s;
}

.lp-btn--primary {
    background: var(--lp-primary);
    color: var(--lp-white);
}

.lp-btn--primary:hover {
    background: #e03000;
}

.lp-btn--outline {
    background: transparent;
    color: var(--lp-white);
    border: 1px solid var(--lp-white);
}

.lp-btn--block {
    width: 100%;
}

.lp-btn.is-loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
}

.lp-btn.is-loading::after {
    content: '';
    position: absolute;
    width: 22px;
    height: 22px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: lp-spin 0.7s linear infinite;
}

@keyframes lp-spin {
    to { transform: rotate(360deg); }
}

/* Page loader overlay */
.lp-page-loader {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(5, 11, 32, 0.45);
}

.lp-page-loader.is-visible {
    display: flex;
}

.lp-page-loader__spinner {
    width: 48px;
    height: 48px;
    border: 3px solid rgba(255, 255, 255, 0.25);
    border-top-color: var(--lp-primary);
    border-radius: 50%;
    animation: lp-spin 0.7s linear infinite;
}

/* Hero */
.lp-hero {
    position: relative;
    min-height: 720px;
    display: flex;
    align-items: stretch;
    background: var(--lp-bg);
    overflow: hidden;
}

.lp-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.lp-hero__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(284deg, rgba(5, 11, 32, 0) 0%, #050B20 66%);
}

.lp-hero__inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    align-items: center;
    width: 100%;
    max-width: var(--lp-container);
    margin: 0 auto;
    padding: 60px 16px 80px;
}

.lp-hero__title {
    font-size: clamp(38px, 5vw, 72px);
    font-weight: 500;
    line-height: 1.05;
    margin: 0 0 24px;
    max-width: 600px;
}

.lp-hero__desc {
    font-size: 18px;
    color: var(--lp-muted);
    margin: 0 0 16px;
    max-width: 520px;
}

.lp-hero__desc:last-of-type {
    margin-bottom: 0;
}

/* Form card */
.lp-form-card {
    background: rgba(22, 31, 63, 0.92);
    border: 1px solid var(--lp-border);
    padding: 32px 28px;
    backdrop-filter: blur(8px);
}

.lp-form-card__title {
    font-size: 22px;
    font-weight: 500;
    margin: 0 0 8px;
}

.lp-form-card__sub {
    font-size: 14px;
    color: var(--lp-muted);
    margin: 0 0 24px;
}

.lp-field {
    margin-bottom: 16px;
}

.lp-field input {
    width: 100%;
    height: 52px;
    padding: 0 16px;
    border: 1px solid var(--lp-border);
    background: rgba(5, 11, 32, 0.6);
    color: var(--lp-white);
    font-family: inherit;
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s;
}

.lp-field input::placeholder {
    color: rgba(168, 176, 200, 0.7);
}

.lp-field input:focus {
    border-color: var(--lp-primary);
}

.lp-field--error input {
    border-color: #ff5555;
}

.lp-field__error {
    font-size: 12px;
    color: #ff7777;
    margin-top: 6px;
}

/* About */
#about .lp-section-head {
    margin-bottom: 0;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--lp-border-dark);
}

.lp-about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: center;
    padding-top: 48px;
}

.lp-about__media {
    position: relative;
}

.lp-about__media img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.lp-about__phone-block {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--lp-border-dark);
}

.lp-about__phone-label {
    font-size: 18px;
    color: var(--lp-white);
    margin: 0 0 8px;
}

.lp-about__phone {
    font-size: 34px;
    font-weight: 500;
    color: var(--lp-primary);
}

/* Why choose us */
.lp-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.lp-feature {
    background: var(--lp-bg-soft);
    padding: 40px 30px;
    position: relative;
    overflow: hidden;
    transition: background 0.25s;
}

.lp-feature::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--lp-bg);
    transform: translateY(100%);
    transition: transform 0.3s;
    z-index: 0;
}

.lp-feature:hover::before {
    transform: translateY(0);
}

.lp-feature > * {
    position: relative;
    z-index: 1;
}

.lp-feature__icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--lp-primary);
    font-size: 24px;
    margin-bottom: 30px;
    color: var(--lp-white);
}

.lp-feature__icon .fas,
.lp-feature__icon .far {
    font-family: "Font Awesome 5 Free", "Font Awesome 5 Pro", "FontAwesome";
    font-weight: 900;
}

.lp-feature__title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 16px;
}

.lp-feature__text {
    font-size: 15px;
    color: var(--lp-muted);
    margin: 0;
}

.lp-feature:hover .lp-feature__text {
    color: rgba(255, 255, 255, 0.85);
}

/* Services */
.lp-services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
}

.lp-services--cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.lp-service__img {
    height: 258px;
    overflow: hidden;
    margin-bottom: 24px;
}

.lp-service__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.lp-service:hover .lp-service__img img {
    transform: scale(1.05);
}

.lp-service__title {
    font-size: 22px;
    font-weight: 600;
    margin: 0 0 12px;
}

.lp-service__text {
    font-size: 15px;
    color: var(--lp-muted-dark);
    margin: 0 0 12px;
}

.lp-service__text:last-child {
    margin-bottom: 0;
}

/* Statistics */
.lp-stats {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

.lp-stats__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.lp-stats__bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(5, 11, 32, 0.9);
}

.lp-stats__inner {
    position: relative;
    z-index: 1;
}

.lp-stats .lp-section-head {
    margin-bottom: 60px;
}

.lp-stats .lp-title {
    color: var(--lp-white);
}

.lp-stats .lp-lead {
    color: rgba(255, 255, 255, 0.85);
    max-width: none;
}

.lp-stats .lp-lead + .lp-lead {
    margin-top: 16px;
}

.lp-stats-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 60px;
    align-items: center;
}

.lp-stats__media img {
    width: 100%;
    height: 360px;
    object-fit: cover;
}

.lp-stats__counters {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-top: 56px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.lp-stat {
    padding: 8px 24px;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.lp-stat:last-child {
    border-right: none;
}

.lp-stat__num {
    font-size: 42px;
    font-weight: 500;
    color: var(--lp-white);
    line-height: 1;
}

.lp-stat__label {
    margin-top: 10px;
    font-size: 16px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.35;
}

/* Testimonials */
.lp-testimonials {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.lp-testimonials__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.lp-testimonials__bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(5, 11, 32, 0.92);
}

.lp-testimonials__accent {
    display: none;
}

.lp-testimonials__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 42%) minmax(0, 58%);
    gap: 0;
    align-items: stretch;
}

.lp-testimonials__info {
    position: relative;
    background: var(--lp-primary);
    padding: 48px 36px 48px 32px;
    text-align: center;
    min-width: 0;
    isolation: isolate;
}

.lp-testimonials__info::before {
    content: '';
    position: absolute;
    top: -100px;
    bottom: -100px;
    right: 100%;
    width: 100vw;
    background: var(--lp-primary);
    z-index: -1;
}

.lp-testimonials__info::after {
    content: '';
    position: absolute;
    top: -100px;
    bottom: -100px;
    left: 0;
    right: 0;
    background: var(--lp-primary);
    z-index: -1;
}

.lp-testimonials__info .lp-title {
    color: var(--lp-white);
}

.lp-testimonials__info .lp-title,
.lp-testimonials__info .lp-lead {
    position: relative;
    z-index: 1;
    margin-left: 0;
    margin-right: 0;
    max-width: none;
    width: 100%;
    overflow-wrap: break-word;
    word-break: break-word;
}

.lp-testimonials__info .lp-lead {
    color: rgba(255, 255, 255, 0.92);
    text-align: left;
    font-size: 16px;
    line-height: 1.55;
}

.lp-testimonials__info .lp-lead--subtitle {
    text-align: center;
    font-size: 18px;
}

.lp-testimonials__info .lp-lead + .lp-lead {
    margin-top: 14px;
}

.lp-testimonials__slider-wrap {
    padding: 48px 0 48px 48px;
    min-width: 0;
}

.lp-testimonial-slide {
    padding: 20px 0;
}

.lp-testimonial-slide__quote {
    font-size: 28px;
    font-weight: 500;
    line-height: 1.3;
    margin: 0 0 30px;
}

.lp-testimonial-slide__name {
    font-size: 20px;
    font-weight: 600;
    margin: 0;
}

.lp-testimonial-slide__date {
    font-size: 14px;
    color: var(--lp-muted);
    margin: 4px 0 0;
}

.lp-swiper-nav {
    display: flex;
    gap: 12px;
    margin-top: 30px;
}

.lp-swiper-nav button {
    width: 52px;
    height: 52px;
    border: 1px solid var(--lp-white);
    background: transparent;
    color: var(--lp-white);
    cursor: pointer;
    font-size: 18px;
    transition: background 0.2s, color 0.2s;
}

.lp-swiper-nav button:hover {
    background: var(--lp-white);
    color: var(--lp-bg);
}

/* FAQ */
.lp-faq {
    max-width: 900px;
    margin: 0 auto;
}

.lp-faq-item {
    border-bottom: 1px solid var(--lp-border);
}

.lp-faq-item__q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 0;
    background: none;
    border: none;
    color: var(--lp-white);
    font-family: inherit;
    font-size: 17px;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
}

.lp-faq-item__q i {
    color: var(--lp-primary);
    transition: transform 0.25s;
}

.lp-faq-item.is-open .lp-faq-item__q i {
    transform: rotate(180deg);
}

.lp-faq-item__a {
    display: none;
    padding: 0 0 22px;
    color: var(--lp-muted);
    font-size: 15px;
}

.lp-faq-item.is-open .lp-faq-item__a {
    display: block;
}

/* Contacts map + form */
.lp-contacts {
    padding: 0;
    background: var(--lp-white);
}

.lp-contacts__grid {
    display: grid;
    grid-template-columns: 60% 40%;
    min-height: 520px;
    width: 100%;
    max-width: none;
    margin: 0;
}

.lp-contacts__map {
    position: relative;
    min-height: 520px;
}

.lp-contacts__map .lp-map-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.lp-contacts__form-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 36px;
    background: linear-gradient(rgba(255, 54, 0, 0.8), rgba(255, 54, 0, 0.8)),
                url('/standalone/page1/img/service-01.webp') center/cover no-repeat;
}

.lp-contacts__form-wrap .lp-form-card {
    background: rgba(5, 11, 32, 0.55);
    width: 100%;
    max-width: 360px;
}

/* Footer */
.lp-footer {
    padding: 48px 0 32px;
    background: var(--lp-white);
    border-top: 1px solid var(--lp-border-dark);
    margin-top: 0;
    color: var(--lp-text-dark);
}

.lp-footer__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.lp-footer__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
}

.lp-footer__nav a {
    font-size: 14px;
    color: var(--lp-muted-dark);
    transition: color 0.2s;
}

.lp-footer__nav a:hover {
    color: var(--lp-primary);
}

.lp-footer__phone {
    font-size: 18px;
    font-weight: 600;
    color: var(--lp-primary);
}

.lp-footer__copy {
    width: 100%;
    text-align: center;
    font-size: 13px;
    color: var(--lp-muted-dark);
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--lp-border-dark);
}

/* Modal */
.lp-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.lp-modal.is-open {
    display: flex;
}

.lp-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
}

.lp-modal__dialog {
    position: relative;
    background: var(--lp-bg-card);
    padding: 36px 32px;
    max-width: 420px;
    width: calc(100% - 32px);
    text-align: center;
    border: 1px solid var(--lp-border);
}

.lp-modal__dialog h3 {
    margin: 0 0 12px;
    font-size: 24px;
}

.lp-modal__dialog p {
    color: var(--lp-muted);
    margin: 0 0 24px;
}

.lp-modal__close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    color: var(--lp-white);
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
}

/* Responsive */
@media (max-width: 1024px) {
    .lp-hero__inner {
        grid-template-columns: 1fr;
        padding-top: 120px;
    }

    .lp-about-grid,
    .lp-stats-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .lp-stats__media img {
        height: 280px;
    }

    .lp-stats__counters {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px 0;
    }

    .lp-stat {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
        padding: 20px 16px 24px;
    }

    .lp-stat:nth-last-child(-n+2) {
        border-bottom: none;
    }

    .lp-features {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .lp-testimonials__inner {
        grid-template-columns: 1fr;
    }

    .lp-testimonials__info {
        padding: 40px 24px;
    }

    .lp-testimonials__info::before,
    .lp-testimonials__info::after {
        display: none;
    }

    .lp-testimonials__slider-wrap {
        padding: 0 0 40px;
    }

    .lp-contacts__grid {
        grid-template-columns: 1fr;
    }

    .lp-contacts__map {
        min-height: 400px;
    }
}

@media (max-width: 767px) {
    .lp-section { padding: 60px 0; }

    .lp-features {
        grid-template-columns: 1fr;
    }

    .lp-stats__counters {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .lp-stat {
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
        padding: 20px 0 24px;
    }

    .lp-stat:last-child {
        border-bottom: none;
    }

    .lp-stat__num { font-size: 36px; }

    .lp-testimonial-slide__quote { font-size: 18px; }

    .lp-footer__inner {
        flex-direction: column;
        text-align: center;
    }

    .lp-footer__nav {
        justify-content: center;
    }
}
