/* Такси «Малибу». Look of the old Helix Ultimate + SP Page Builder site (sizes measured on the copy of 20.10.2026). */
@font-face { font-family: "Source Sans Pro"; src: url("/fonts/SourceSansPro-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Source Sans Pro"; src: url("/fonts/SourceSansPro-Semibold.woff2") format("woff2"); font-weight: 500 600; font-display: swap; }
@font-face { font-family: "Source Sans Pro"; src: url("/fonts/SourceSansPro-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
/* Font Awesome Free 6 (icons: CC BY 4.0, fonts: SIL OFL 1.1) — only the glyphs used on the site are mapped below. */
@font-face { font-family: "FA Solid"; src: url("/fonts/fa-solid-900.woff2") format("woff2"); font-weight: 900; font-display: block; }
@font-face { font-family: "FA Regular"; src: url("/fonts/fa-regular-400.woff2") format("woff2"); font-weight: 400; font-display: block; }
@font-face { font-family: "FA Brands"; src: url("/fonts/fa-brands-400.woff2") format("woff2"); font-weight: 400; font-display: block; }

:root {
  --ink: #111114;
  --accent: #FECC00;
  --accent-hover: #FCC306;
  --navy: #2d334c;
  --muted: #989db5;
  --light: #f8f9fa;
  --section-pad: clamp(3rem, calc(2.3333rem + 3.0476vw), 5rem);
  --header-h: 70px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body { margin: 0; font-family: "Source Sans Pro", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; font-size: 16px; line-height: 1.5; color: var(--ink); background: #fff; accent-color: var(--accent); -webkit-text-size-adjust: 100%; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent-hover); }
h1, h2, h3, h4, h5 { margin: 0 0 .5rem; line-height: 1.2; }
h1, h2 { font-weight: 700; }
h3, h4, h5 { font-weight: 600; }
h2 { font-size: calc(1.325rem + .9vw); }
h3 { font-size: calc(1.3rem + .6vw); }
h4 { font-size: calc(1.275rem + .3vw); }
h5 { font-size: 1.25rem; }
@media (min-width: 1200px) { h2 { font-size: 2rem; } h3 { font-size: 1.75rem; } h4 { font-size: 1.5rem; } }
p { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.container { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 15px; }
@media (max-width: 1399.98px) { .container { max-width: 1140px; } }
@media (max-width: 1199.98px) { .container { max-width: 960px; } }
@media (max-width: 991.98px) { .container { max-width: 720px; } }
@media (max-width: 767.98px) { .container { max-width: 540px; } }
@media (max-width: 575.98px) { .container { max-width: none; padding: 0 16px; } }
.section { padding-block: var(--section-pad); }
.center { text-align: center; }
.accent { background: var(--accent); color: #000; }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 10000; background: var(--accent); color: #000; padding: 8px 14px; }
.skip:focus { top: 8px; }

/* Icons */
.fas, .far, .fab { display: inline-block; font-style: normal; font-variant: normal; line-height: 1; text-rendering: auto; -webkit-font-smoothing: antialiased; }
.fas { font-family: "FA Solid"; font-weight: 900; }
.far { font-family: "FA Regular"; font-weight: 400; }
.fab { font-family: "FA Brands"; font-weight: 400; }
.fa-phone-volume::before { content: "\f2a0"; }
.fa-phone::before { content: "\f095"; }
.fa-comment-dots::before { content: "\f4ad"; }
.fa-clock::before { content: "\f017"; }
.fa-shield-heart::before { content: "\e574"; }
.fa-mug-hot::before { content: "\f7b6"; }
.fa-eye-slash::before { content: "\f070"; }
.fa-route::before { content: "\f4d7"; }
.fa-person-walking-luggage::before { content: "\e554"; }
.fa-boxes-packing::before { content: "\e4c7"; }
.fa-calendar-check::before { content: "\f274"; }
.fa-id-card::before { content: "\f2c2"; }
.fa-list-check::before { content: "\f0ae"; }
.fa-child::before { content: "\f1ae"; }
.fa-battery-full::before { content: "\f240"; }
.fa-clock-rotate-left::before { content: "\f1da"; }
.fa-address-card::before { content: "\f2bb"; }
.fa-car-burst::before { content: "\f5e1"; }
.fa-car::before { content: "\f1b9"; }
.fa-angles-up::before { content: "\f102"; }
.fa-bars::before { content: "\f0c9"; }

/* Yellow parallelogram: button and price badge */
.decor { position: relative; }
.decor::before, .decor::after { content: ""; position: absolute; top: 0; height: 100%; width: .4em; background: inherit; }
.decor::before { left: -.396em; clip-path: polygon(100% 0, 0 100%, 100% 100%); }
.decor::after { right: -.396em; clip-path: polygon(100% 0, 0 0, 0 100%); }
.btn { display: inline-flex; align-items: center; gap: .5em; margin-inline: .6em; padding: .5em 1em; font-size: 1.25rem; font-weight: 500; line-height: 1; color: #000; background: var(--accent); border: 0; cursor: pointer; transition: background-color .15s; }
.btn::before { left: -.6em; width: .6em; }
.btn::after { right: -.6em; width: .6em; }
.btn:hover, .btn:focus-visible { color: #000; background: var(--accent-hover); }

/* Top bar */
.topbar { background: #fff; color: var(--ink); font-size: .875rem; padding: 8px 0; }
.topbar-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.logo img { height: 60px; width: auto; }
.topbar-info { text-align: center; flex: 1; }
.topbar-info p { margin: 0 0 .5rem; }
.phone-list { display: flex; justify-content: center; flex-wrap: wrap; gap: .25em 1em; font-size: 1rem; font-weight: 600; }
.phone-list i, .contact-list i { margin-right: .25rem; }
.topbar-call { display: grid; justify-content: end; }

/* Header */
.header { position: sticky; top: 0; z-index: 99; background: var(--ink); color: #fff; box-shadow: 0 0 4px rgba(0, 0, 0, .1); }
.header-row { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.header-phone { color: var(--accent); font-weight: 600; display: inline-flex; gap: .3em; align-items: center; }
.menu ul { display: flex; }
.menu a { display: block; padding: 0 10px; font-size: 14px; line-height: var(--header-h); color: #fff; }
.menu li:last-child a { padding: 0 15px; }
.menu a:hover, .menu a:focus-visible, .menu-mobile a:hover { background: var(--accent); color: var(--ink); }
.menu-mobile { display: none; position: relative; }
.menu-mobile summary { list-style: none; cursor: pointer; font-size: 1.5rem; padding: .5rem; color: #fff; }
.menu-mobile summary::-webkit-details-marker { display: none; }
.menu-mobile nav { position: absolute; right: 0; top: 100%; min-width: 220px; background: var(--ink); border-top: 2px solid var(--accent); box-shadow: 0 8px 20px rgba(0, 0, 0, .4); }
.menu-mobile a { display: block; padding: .75rem 1.25rem; color: #fff; }

/* Intro */
.intro { position: relative; color: #fff; background: url("/images/hero.webp") 50% 100% / cover no-repeat, var(--navy); }
.intro::before { content: ""; position: absolute; inset: 0; background: linear-gradient(128deg, rgba(45, 51, 77, .8) 30%, rgba(44, 50, 77, .1) 80%); }
.intro .container { position: relative; }
.intro h1 { font-size: clamp(3rem, calc(2.3333rem + 3.0476vw), 5rem); line-height: 1.2; margin-bottom: .5rem; }
.intro h1 .decor { font-size: .75em; display: inline-block; padding: .25rem 0; margin: 0 1.5rem; }
.intro h3 { margin-bottom: 1.5rem; }
.intro-features { display: grid; gap: .75rem; margin-bottom: 2rem; }
.intro-features li { display: flex; align-items: center; gap: .75rem; }
.intro-features h4 { margin: 0; }
.intro-features i, .cards i, .benefit-list > li > i { flex: none; display: flex; align-items: center; justify-content: center; width: 1.8em; height: 1.8em; border-radius: 50%; background: var(--accent); color: var(--ink); }
.intro-features i { font-size: 24px; }
.page-route .intro { min-height: 600px; }

/* Services */
.services { color: #fff; background: url("/images/asphalt.webp") 50% 50% / cover no-repeat fixed, #1c1d22; }
/* Parallax: the texture stays while the page scrolls (as on the old site); touch browsers ignore "fixed". */
@media (hover: none), (prefers-reduced-motion: reduce) { .services { background-attachment: scroll; } }
.services h2 { margin-bottom: 4rem; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 50px 24px; }
.card { position: relative; background: var(--navy); color: var(--light); padding: 48px 16px 16px; text-align: center; }
.card i { position: absolute; top: 0; left: 50%; translate: -50% -50%; font-size: 36px; }
.card h4, .card h5 { font-size: 20px; min-height: 2.5em; margin-bottom: .75rem; }
.card p { margin-bottom: .5rem; }
.services .center { margin-top: 3rem; }

/* Benefits */
.benefits h2 { margin-bottom: 2rem; }
.benefit-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem 24px; }
.benefit-list > li { display: flex; gap: 1rem; align-items: flex-start; }
.benefit-list > li > i { font-size: 36px; background: var(--navy); color: #fff; }
.benefit-list h3 { margin-bottom: .5rem; }
.benefit-list p { margin: 0; }
.benefits { position: relative; z-index: 2; }
@media (min-width: 768px) { .benefits { padding-bottom: calc(var(--section-pad) - 40px); } }
/* As on the old site: the photo in the last cell hangs below the yellow block onto the dark contacts section. */
.benefit-image { position: relative; }
.benefit-image img { position: absolute; top: 0; left: 0; width: 100%; border: 1px solid rgba(0, 0, 0, .25); box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }

/* Bottom: form and contacts */
.bottom { position: relative; z-index: 1; background: var(--ink); color: #fff; padding: 100px 0 25px; }
.bottom-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: end; }
.booking { background: var(--navy); padding: 20px; max-width: 500px; width: 100%; }
.booking h3 { margin-bottom: 1.25rem; }
.field { margin-bottom: 10px; }
.field label { display: block; margin-bottom: 4px; }
.req { color: #ff6b6b; }
.booking input:not([type="checkbox"]), .booking select, .booking textarea { display: block; width: 100%; padding: 12px; font: inherit; font-size: 16px; line-height: 1.25; color: var(--ink); background: #fff; border: 1px solid #ccc; border-radius: 0; }
.booking input:focus, .booking select:focus, .booking textarea:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 .2rem rgba(254, 204, 0, .25); }
.booking textarea { resize: vertical; min-height: 100px; }
.booking ::placeholder { color: #757575; opacity: .7; }
.pair { display: grid; grid-template-columns: 3fr 2fr; gap: 10px; }
.help { display: block; margin-top: 4px; font-size: 13px; color: #d5d8e3; }
.error { display: block; color: #ffb3b3; font-size: 14px; }
.error:empty { display: none; }
[aria-invalid="true"] { border-color: #ff6b6b !important; }
.form-bottom { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-top: 15px; }
.consent { display: flex; gap: .5em; align-items: flex-start; font-size: 14px; }
.consent input { width: 1.25em; height: 1.25em; margin: .15em 0 0; flex: none; }
.consent a { text-decoration: underline; }
.btn-submit { flex: none; padding: .8em 1.5em; font: inherit; color: #000; background: var(--accent); border: 0; cursor: pointer; }
.btn-submit:hover { background: var(--accent-hover); }
.btn-submit[disabled] { opacity: .6; cursor: progress; }
.form-status { margin: .75rem 0 0; font-weight: 600; }
.form-status:empty { display: none; }
.form-status.ok { color: var(--accent); }
.form-status.fail { color: #ffb3b3; }
.contacts { font-size: 20px; }
.contacts h3 { margin-bottom: 1.5rem; }
.contact-list { display: grid; gap: .5rem; }
.contact-list a:hover { color: var(--accent); }
.contacts address { display: inline-block; font-style: normal; padding: 1rem 0; margin-top: 1rem; border-top: 1px solid #dee2e6; }

/* Footer */
.footer { background: var(--ink); color: #fff; font-size: 14px; }
.footer-row { display: grid; grid-template-columns: auto 1fr auto; gap: 2rem; align-items: center; padding-block: 30px; border-top: 1px solid rgba(255, 255, 255, .1); }
.footer .logo img { height: 50px; }
.footer nav { justify-self: center; }
.footer h3 { font-size: 20px; margin-bottom: .5rem; }
.route-menu { display: grid; grid-template-columns: auto auto; gap: .25rem 1.25rem; }
.footer a { color: var(--muted); }
.footer a:hover { color: var(--accent); }
.footer-side { text-align: right; display: grid; gap: .5rem; justify-items: end; }
.analytics-settings { font: inherit; font-size: 14px; color: var(--muted); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; grid-column: 1 / -1; justify-self: end; }

/* Legal pages */
.article .narrow { max-width: 860px; }
.article h1 { font-size: clamp(2rem, 1.6rem + 2vw, 3rem); margin-bottom: 1.5rem; }
.article h3 { font-size: 1.4rem; margin-top: 2rem; }
.article ul, .article ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.article ul { list-style: disc; }
.article li { margin-bottom: .4rem; }
.article a { text-decoration: underline; }

/* Metrika consent notice */
.analytics-notice { position: fixed; z-index: 10000; left: 16px; right: 16px; bottom: 16px; max-width: 640px; margin: 0 auto; padding: 16px 20px; background: #fff; color: var(--ink); border-top: 4px solid var(--accent); box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
.analytics-notice p { margin: 0 0 12px; font-size: 15px; }
.analytics-notice a { text-decoration: underline; }
.analytics-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.analytics-actions button { font: inherit; padding: .5em 1.25em; border: 2px solid var(--ink); background: #fff; color: var(--ink); cursor: pointer; }
.analytics-actions button:first-child { background: var(--accent); border-color: var(--accent); color: #000; }

@media (max-width: 1199.98px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .benefit-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 991.98px) {
  :root { --header-h: 60px; }
  .logo img { height: 36px; }
  .topbar-row { flex-wrap: wrap; justify-content: center; }
  .topbar-info { order: 3; flex-basis: 100%; }
  .menu { display: none; }
  .menu-mobile { display: block; }
  .bottom { padding-top: 60px; }
  .bottom-row { grid-template-columns: 1fr; }
  .booking { max-width: none; }
  .footer-row { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .footer-side { justify-items: center; text-align: center; }
  .analytics-settings { justify-self: center; }
}
@media (max-width: 767.98px) {
  .cards, .benefit-list { grid-template-columns: 1fr; }
  .benefit-image img { position: static; }
  .intro h1 .decor { margin: .25rem .6rem; }
  .page-route .intro { min-height: 0; }
  .contacts { font-size: 18px; }
}
@media (max-width: 575.98px) {
  .topbar-row { justify-content: space-between; gap: .5rem; }
  .logo img { height: 32px; }
  .topbar-call .btn { font-size: .95rem; padding: .45em .6em; margin-inline: .5em .4em; }
  .intro h1 { font-size: 2.4rem; }
  .form-bottom { flex-direction: column; }
  .btn-submit { width: 100%; }
  .route-menu { grid-template-columns: 1fr; text-align: center; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
