/* ==========================================================================
   Sunnycars — public site styles (faithful to the original sunnycars.pro)
   Yellow #FDDF19 · dark #242424 · black #000 · brand red #FF0000
   Font: Montserrat (self-hosted, /static/fonts/montserrat.css)
   ========================================================================== */

:root {
  --yellow: #FDDF19;
  --yellow-hover: #ffe94a;
  --dark: #242424;
  --black: #000;
  --red: #ff0000;
  --text: #333;
  --muted: #6b7280;
  --line: #e5e5e5;
  --white: #fff;
  --radius: 8px;
  --container: 1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 15px; }
.text-yellow { color: var(--yellow); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 3px solid var(--yellow);
  border-radius: var(--radius);
  background: var(--yellow);
  color: #000;
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
  padding: 18px 40px;
  transition: background .18s ease, color .18s ease, transform .18s ease;
  white-space: nowrap;
}
.btn:hover { background: var(--yellow-hover); border-color: var(--yellow-hover); }
.btn:active { transform: translateY(1px); }
.btn--ghost { background: transparent; color: var(--yellow); border-color: var(--yellow); }
.btn--ghost:hover { background: var(--yellow); color: #000; }
.btn--dark { background: var(--dark); border-color: var(--dark); color: #fff; }
.btn--dark:hover { background: #000; border-color: #000; }
.btn--green { background: #25D366; border-color: #25D366; color: #fff; }
.btn--green:hover { background: #1fbe5a; border-color: #1fbe5a; }
.btn--sm { font-size: 15px; padding: 12px 22px; border-width: 2px; }
.btn--block { width: 100%; }

/* ---------- red telegram banner ---------- */
.tg-banner {
  display: block;
  min-height: 32px;
  padding: 7px 15px;
  line-height: 1.35;
  background: var(--red);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  transition: background .2s ease;
}
.tg-banner:hover { background: #d40000; }
.tg-banner svg { width: 16px; height: 16px; display: inline-block; vertical-align: -3px; margin-left: 4px; }

/* ---------- header ---------- */
.site-top { position: absolute; top: 0; left: 0; right: 0; z-index: 40; }
.site-head { position: static; color: #fff; }
.site-head--static { position: static; background: var(--dark); }
.head-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0 8px;
}
.brand img { height: 92px; width: auto; }
.head-actions { display: flex; align-items: center; gap: 12px; }
.head-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, .16);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  backdrop-filter: blur(6px);
  transition: background .18s ease;
  white-space: nowrap;
}
.head-pill:hover { background: rgba(255, 255, 255, .3); }
.head-pill .ic { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; flex: 0 0 auto; color: #fff; }
.head-pill .ic svg { width: 13px; height: 13px; }
.ic-wa { background: #25D366; }
.ic-tg { background: #29A9EB; }
.ic-tel { background: rgba(255,255,255,.22); }

.main-nav { display: flex; gap: 6px; padding: 4px 0 14px; flex-wrap: wrap; }
.main-nav a {
  display: inline-block;
  padding: 13px 20px;
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  border-radius: 4px;
  transition: color .15s ease;
}
.main-nav a:hover { color: var(--yellow); }
.main-nav a.is-active { color: var(--yellow); }

.menu-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,.16); }
.menu-toggle span { display: block; width: 20px; height: 2px; background: #fff; margin: 4px auto; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: min(100vh, 900px);
  display: flex;
  align-items: center;
  background: var(--dark) center/cover no-repeat;
  color: #fff;
  padding: 200px 0 90px;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.35) 45%, rgba(0,0,0,.45) 100%);
}
.hero > .container { position: relative; }
.hero-inner { margin-left: auto; max-width: 470px; }
.hero h1 { font-size: 40px; line-height: 1.06; font-weight: 600; }
.hero h1 + h1 { margin-top: 2px; }
.hero-sub { margin-top: 22px; font-size: 22px; font-weight: 400; line-height: 1.4; }
.hero-sub + .hero-sub { margin-top: 4px; font-size: 20px; }
.hero .btn { margin-top: 38px; }

.page-hero {
  position: relative;
  background: var(--dark) center/cover no-repeat;
  color: #fff;
  padding: 215px 0 70px;
}
.page-hero::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.45); }
.page-hero > .container { position: relative; }
.page-hero h1 { font-size: 40px; font-weight: 600; }
.page-hero--slim { background: #242424; padding: 194px 0 30px; }
.page-hero--slim::before { display: none; }
.page-hero--slim .crumbs { font-size: 14px; opacity: .8; }
.page-hero--slim .crumbs a:hover { color: var(--yellow); }
.page-hero p { margin-top: 12px; font-size: 18px; opacity: .9; }

/* ---------- features row ---------- */
.features { padding: 70px 0 60px; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.feature { display: flex; gap: 18px; align-items: flex-start; }
.feature .ic { width: 62px; height: 62px; border-radius: 50%; background: var(--yellow); display: grid; place-items: center; flex: 0 0 auto; }
.feature .ic svg { width: 30px; height: 30px; }
.feature h3 { font-size: 18px; font-weight: 600; }
.feature p { margin-top: 6px; font-size: 14px; color: #555; }

/* ---------- dark request block ---------- */
.request-block { padding: 10px 0 80px; }
.request-card {
  position: relative;
  background: var(--dark);
  border-radius: 30px;
  padding: 40px 45px 45px;
  color: #fff;
  box-shadow: 0 0 10px rgba(0,0,0,.1);
  overflow: hidden;
}
.request-card h2 { font-size: 40px; font-weight: 600; line-height: 1.1; max-width: 640px; }
.request-card .req-sub { margin-top: 14px; font-size: 16px; opacity: .85; max-width: 620px; }
.request-card .req-logo { position: absolute; right: 50px; top: 55px; height: 92px; opacity: .95; }
.request-form { display: grid; grid-template-columns: repeat(4, 1fr) auto; gap: 18px; align-items: end; margin-top: 30px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field label { font-size: 14px; font-weight: 500; opacity: .9; }
.field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid #4c4c4c;
  background: #1a1a1a;
  color: #fff;
  border-radius: 6px;
  padding: 13px 14px;
  font-family: inherit;
  font-size: 15px;
  outline: none;
  transition: border-color .15s ease;
}
.field input::placeholder, .field textarea::placeholder { color: #8a8a8a; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--yellow); }
.field input[type="date"] { color-scheme: dark; }
.request-form .btn { padding: 15px 30px; font-size: 16px; }

/* ---------- fleet / tabs ---------- */
.fleet-section { padding: 20px 0 60px; }
.tabs { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }
.tab {
  border: 1px solid #000;
  background: #fff;
  color: #000;
  border-radius: 20px;
  padding: 7px 25px;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  transition: background .15s ease;
}
.tab:hover { background: #f4f4f4; }
.tab.is-active { background: var(--yellow); }

.cat-block + .cat-block { margin-top: 20px; }
.cat-title { font-size: 28px; font-weight: 500; margin: 30px 0 22px; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 25px 24px; }

.card { min-width: 0;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 10px;
  padding: 14px 12px 14px;
  box-shadow: 0 2px 14px rgba(0,0,0,.09);
}
.card-specs { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 4px 6px; padding: 6px 4px 4px; }
.card-specs .k { font-size: 13px; text-transform: uppercase; color: #444; letter-spacing: .02em; }
.card-specs .v { font-size: 14px; font-weight: 700; white-space: nowrap; }
.card-photo { margin-top: 12px; border-radius: 6px; overflow: hidden; background: #f2f2f2; aspect-ratio: 16 / 10; }
.card-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.card:hover .card-photo img { transform: scale(1.03); }
.card-foot { min-height: 26px; display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 14px 4px 12px; flex-wrap: nowrap; }
.card-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 16px; font-weight: 700; line-height: 1.25; min-width: 0; flex: 1 1 0; }
.card-price { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; font-weight: 400; white-space: nowrap; flex: 0 0 auto; text-align: right; }
.card-price b { font-weight: 700; }
.card .btn { width: 100%; font-size: 16px; padding: 14px 12px; border-width: 3px; }

/* ---------- terms / steps / qa blocks ---------- */
.section { padding: 70px 0; }
.section--muted { background: #f7f7f7; }
.section h2.big { font-size: 45px; font-weight: 600; line-height: 1.15; }
.section h2.mid { font-size: 32px; font-weight: 600; }
.terms-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 40px; }
.terms-col { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 26px 24px; }
.terms-col h3 { font-size: 20px; font-weight: 600; margin-bottom: 14px; }
.terms-col .lead { font-size: 14px; font-weight: 500; margin-bottom: 10px; }
.terms-col li, .terms-col p { font-size: 14px; color: #444; line-height: 1.75; }

.steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 34px 40px; margin-top: 45px; }
.step { display: flex; gap: 22px; align-items: flex-start; }
.step .num {
  flex: 0 0 auto; width: 58px; height: 58px; border-radius: 50%; background: var(--yellow);
  display: grid; place-items: center; font-size: 22px; font-weight: 600;
}
.step h3 { font-size: 22px; font-weight: 600; }
.step p { margin-top: 8px; font-size: 16px; color: #4b4b4b; }

.qa { max-width: 100%; margin-top: 40px; display: grid; gap: 12px; }
.qa-item { border: 1px solid var(--line); border-radius: 8px; background: #fff; overflow: hidden; }
.qa-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 24px; font-size: 15px; font-weight: 600; text-transform: uppercase;
  letter-spacing: .02em; cursor: pointer; list-style: none;
}
.qa-item summary::-webkit-details-marker { display: none; }
.qa-item summary .plus { font-size: 26px; font-weight: 400; line-height: 1; color: #000; transition: transform .2s ease; }
.qa-item[open] summary .plus { transform: rotate(45deg); }
.qa-body { padding: 0 24px 24px; font-size: 15px; color: #444; line-height: 1.75; }
.qa-body p + p { margin-top: 10px; }

/* ---------- contacts ---------- */
.contacts-head { padding: 70px 0 40px; text-align: center; }
.contacts-head h2 { font-size: 45px; font-weight: 600; line-height: 1.15; }
.contacts-panel { background: var(--dark); color: #fff; padding: 70px 0; }
.contacts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contacts-panel h3 { font-size: 28px; font-weight: 600; }
.contacts-panel .c-line { font-size: 24px; font-weight: 400; margin-top: 16px; }
.contacts-panel .c-line a:hover { color: var(--yellow); }
.contacts-panel .c-addr { font-size: 18px; opacity: .85; margin-top: 24px; max-width: 470px; }
.contact-socials { display: flex; gap: 14px; margin-top: 30px; }
.contact-socials a {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #fff;
}
.contact-socials a svg { width: 22px; height: 22px; }
.contact-socials .wa { background: #25D366; }
.contact-socials .tg { background: #29A9EB; }

/* ---------- ratings ---------- */
.ratings { background: #000; color: #fff; padding: 34px 0; }
.ratings-row { display: flex; align-items: center; justify-content: center; gap: 90px; flex-wrap: wrap; }
.rating { display: flex; align-items: center; gap: 18px; }
.rating .score { font-size: 35px; font-weight: 600; }
.rating .stars { color: var(--yellow); font-size: 22px; letter-spacing: 2px; }
.ya-word { font-size: 26px; font-weight: 700; }
.ya-word .ya { color: #ff0000; }
.go-word { font-size: 26px; font-weight: 700; letter-spacing: -.5px; }
.go-word span:nth-child(1) { color: #4285F4; }
.go-word span:nth-child(2) { color: #EA4335; }
.go-word span:nth-child(3) { color: #FBBC05; }
.go-word span:nth-child(4) { color: #4285F4; }
.go-word span:nth-child(5) { color: #34A853; }
.go-word span:nth-child(6) { color: #EA4335; }

/* ---------- footer ---------- */
.site-footer { background: #000; color: #fff; padding: 60px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 50px; }
.footer-logo { height: 96px; width: auto; }
.footer-lead { margin-top: 20px; font-size: 20px; font-weight: 600; line-height: 1.35; max-width: 330px; }
.footer-form { margin-top: 20px; display: grid; gap: 10px; max-width: 300px; }
.footer-form input {
  width: 100%; background: #1f1f1f; border: 1px solid #3a3a3a; border-radius: 6px;
  padding: 12px 14px; color: #fff; font-family: inherit; font-size: 14px; outline: none;
}
.footer-form input:focus { border-color: var(--yellow); }
.footer-form .btn { font-size: 15px; padding: 13px 20px; border-width: 2px; }
.footer-socials { display: flex; gap: 12px; margin-top: 22px; }
.footer-socials a { width: 40px; height: 40px; border-radius: 50%; background: var(--yellow); color: #111; display: grid; place-items: center; transition: background .18s ease; }
.footer-socials a:hover { background: #fff; color: #000; }
.footer-socials svg { width: 18px; height: 18px; }
.footer-socials .wa { background: #25D366; }
.footer-socials .tg { background: #29A9EB; }
.footer-col .label { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; opacity: .55; }
.footer-col .value { font-size: 20px; font-weight: 500; margin-top: 4px; }
.footer-col .value a:hover { color: var(--yellow); }
.footer-col .block + .block { margin-top: 26px; }
.footer-col .addr { font-size: 16px; line-height: 1.6; opacity: .9; }
.footer-bottom {
  margin-top: 54px; padding-top: 22px; border-top: 1px solid #262626;
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  font-size: 13px; color: #8a8a8a;
}
.footer-bottom a:hover { color: var(--yellow); }

/* ---------- floating chat ---------- */
.floating-chat { position: fixed; left: 22px; bottom: 22px; display: flex; flex-direction: column; gap: 10px; z-index: 60; }
.floating-chat a { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: 0 4px 14px rgba(0,0,0,.25); }
.floating-chat .wa { background: #25D366; }
.floating-chat .tg { background: #29A9EB; }
.floating-chat svg { width: 24px; height: 24px; }

/* ---------- vehicle page ---------- */
.vehicle-page { padding: 50px 0 70px; }
.vehicle-top { display: grid; grid-template-columns: 1.05fr 1fr; gap: 45px; align-items: start; }
.gallery { border: 2px solid var(--yellow); border-radius: 10px; padding: 8px; background: #fff; position: relative; }
.gallery-stage { aspect-ratio: 4 / 3; border-radius: 6px; overflow: hidden; background: #f2f2f2; }
.gallery-stage img { width: 100%; height: 100%; object-fit: cover; }
.gallery-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255,255,255,.85); display: grid; place-items: center; box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.gallery-nav.prev { left: 16px; } .gallery-nav.next { right: 16px; }
.gallery-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; padding-bottom: 4px; }
.gallery-thumbs button { flex: 0 0 62px; height: 48px; border-radius: 5px; overflow: hidden; border: 2px solid transparent; padding: 0; background: #eee; }
.gallery-thumbs button.is-active { border-color: var(--yellow); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.vehicle-title { font-size: 24px; font-weight: 700; line-height: 1.25; }
.vehicle-price { margin-top: 10px; font-size: 20px; }
.vehicle-price b { font-weight: 700; }
.spec-table { margin-top: 26px; width: 100%; border-collapse: collapse; }
.spec-table td { padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 15px; vertical-align: top; }
.spec-table td:first-child { font-weight: 600; width: 52%; }
.vehicle-actions { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.vehicle-lower--single { grid-template-columns: 1fr; }
.vehicle-lower { display: grid; grid-template-columns: 1fr 1fr; gap: 45px; margin-top: 50px; align-items: start; }
.vehicle-desc p { margin-bottom: 12px; font-size: 15px; line-height: 1.7; color: #444; }
.vehicle-desc ul { margin: 12px 0; }
.vehicle-desc li { position: relative; padding-left: 16px; font-size: 15px; line-height: 1.8; color: #444; }
.vehicle-desc li::before { content: "•"; position: absolute; left: 0; }
.rates-title { font-size: 16px; font-weight: 600; margin-bottom: 14px; }
.rates { font-size: 13.5px; line-height: 1.7; color: #333; }
.rates p { margin-bottom: 8px; }
.rates b, .rates strong { font-weight: 600; }
.rates table { width: 100%; border-collapse: collapse; margin: 10px 0; }
.rates td, .rates th { border-bottom: 1px solid var(--line); padding: 5px 6px; font-size: 13px; }
.discount-note { margin: 60px 0 20px; background: #c40000; color: #fff; border-radius: 20px; padding: 34px 40px; font-size: 26px; font-weight: 600; line-height: 1.35; text-align: center; }

/* ---------- content pages (terms / services / qa) ---------- */
.content-page { padding: 50px 0 20px; }
.content-card {
  background: #fff; border-radius: 20px; padding: 40px 45px; box-shadow: 0 6px 26px rgba(0,0,0,.08);
  max-width: 900px; margin: 0 auto;
}
.content-card h1 { font-size: 28px; font-weight: 600; margin-bottom: 12px; }
.content-card h2 { font-size: 22px; font-weight: 600; margin: 26px 0 10px; }
.content-card h3 { font-size: 18px; font-weight: 600; margin: 22px 0 8px; }
.content-card p { font-size: 15px; line-height: 1.8; color: #3a3a3a; margin-bottom: 12px; }
.content-card ul, .content-card ol { margin: 0 0 14px 20px; padding: 0; list-style: disc; }
.content-card li { font-size: 15px; line-height: 1.8; color: #3a3a3a; }
.content-card img { border-radius: 10px; margin: 16px 0; }
.content-card table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.content-card td, .content-card th { border: 1px solid var(--line); padding: 8px 10px; font-size: 14px; }
.content-card .article-body a, .content-card > p a, .content-card > ul a { color: #b58c00; text-decoration: underline; }


/* ---------- article page ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: rgba(255,255,255,.75); margin-bottom: 14px; }
.crumbs a:hover { color: var(--yellow); }
.crumbs .is-current { color: rgba(255,255,255,.95); }
.page-hero--article { padding: 230px 0 58px; }
.page-hero--article::before { background: linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,.72)); }
.page-hero--article h1 { font-size: 36px; line-height: 1.25; max-width: 900px; }
.hero-meta { margin-top: 14px; font-size: 13px; letter-spacing: .07em; text-transform: uppercase; color: var(--yellow); font-weight: 600; }
.article-card { max-width: 860px; margin: 0 auto; }
.article-body > p:first-of-type { font-size: 17px; line-height: 1.75; color: #222; }
.article-body h2 { font-size: 22px; margin: 30px 0 10px; }
.article-body ul { margin: 0 0 16px 20px; }
.article-body li { margin-bottom: 6px; }
.article-body img { border-radius: 12px; margin: 18px 0; }
.article-foot { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.btn--ghost-dark { background: #fff; border-color: #ddd; color: #111; }
.btn--ghost-dark:hover { background: #f4f4f4; border-color: #ccc; }
.article-related { max-width: 1140px; margin: 56px auto 0; }
.article-related .related-title { font-size: 26px; font-weight: 600; margin-bottom: 24px; }

/* ---------- blog ---------- */
.blog-page { padding: 40px 0 70px; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.post-card { background: #fff; border-radius: 10px; box-shadow: 0 2px 14px rgba(0,0,0,.09); overflow: hidden; display: flex; flex-direction: column; }
.post-card .thumb { aspect-ratio: 16/10; background: #f1f1f1; overflow: hidden; }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.post-card:hover .thumb img { transform: scale(1.04); }
.post-card .body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-card .date { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: #8a8a8a; }
.post-card h3 { font-size: 17px; font-weight: 600; line-height: 1.35; }
.post-card p { font-size: 14px; color: #5a5a5a; line-height: 1.6; }
.post-card a { color: inherit; text-decoration: none; }
.post-card h3 a { color: #111; }
.post-card h3 a:hover { color: #b58c00; }
.post-card .more { margin-top: auto; font-size: 14px; font-weight: 600; color: #000; }
.post-card .more:hover { color: #b58c00; }
.article-page { padding: 46px 0 20px; }
.article-head { max-width: 900px; margin: 0 auto 24px; }
.article-head h1 { font-size: 34px; font-weight: 600; line-height: 1.25; }
.article-head .meta { margin-top: 10px; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: #8a8a8a; }
.article-body figure { margin: 20px 0; }
.article-body figcaption { font-size: 13px; color: #777; margin-top: 6px; }
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 46px; flex-wrap: wrap; }
.pagination a, .pagination span {
  min-width: 42px; height: 42px; display: grid; place-items: center; border-radius: 8px;
  border: 1px solid #ddd; font-size: 15px; padding: 0 12px;
}
.pagination .is-current { background: var(--yellow); border-color: var(--yellow); font-weight: 600; }

/* ---------- flash / 404 / sent ---------- */
.flash-wrap { position: fixed; top: 90px; right: 20px; z-index: 100; display: grid; gap: 10px; }
.flash { background: #fff; border-left: 4px solid var(--yellow); box-shadow: 0 6px 22px rgba(0,0,0,.16); border-radius: 6px; padding: 14px 18px; font-size: 14px; }
.flash.error { border-left-color: #d40000; }
.flash.success { border-left-color: #25D366; }
.notice-card { background: #fff; border-radius: 20px; padding: 50px 45px; text-align: center; box-shadow: 0 6px 26px rgba(0,0,0,.08); max-width: 640px; margin: 60px auto; }
.notice-card h1 { font-size: 28px; margin-bottom: 14px; }
.notice-card p { font-size: 16px; color: #555; margin-bottom: 24px; }
.err-page { text-align: center; padding: 90px 0; }
.err-page .code { font-size: 96px; font-weight: 700; color: var(--yellow); line-height: 1; }

/* ---------- language switcher ---------- */

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .cards, .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .request-form { grid-template-columns: repeat(2, 1fr); }
  .request-form .btn { grid-column: 1 / -1; }
  .request-card h2 { font-size: 32px; }
  .request-card .req-logo { position: static; height: 70px; margin-bottom: 18px; }
  .vehicle-top, .vehicle-lower, .contacts-grid { grid-template-columns: 1fr; }
  .terms-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section h2.big, .contacts-head h2 { font-size: 34px; }
  .hero-inner { max-width: none; }
  .hero h1 { font-size: 34px; }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .tg-banner { font-size: 12px; line-height: 1.35; padding: 7px 14px; gap: 5px; }
  .tg-banner svg { width: 13px; height: 13px; }
  .tg-more { display: none; }
  .floating-chat { left: 12px; bottom: 14px; gap: 8px; }
  .floating-chat a { width: 40px; height: 40px; }

  .head-top { padding: 12px 0 6px; }
  .main-nav { display: none; }
  .main-nav.is-open { display: flex; flex-direction: column; background: var(--dark); border-radius: 12px; padding: 10px; }
  .menu-toggle { display: block; }
  .head-actions .head-pill span.txt { display: none; }
  .head-pill { padding: 9px 12px; }
  .brand img { height: 56px; }
  .features-grid { grid-template-columns: 1fr; gap: 24px; }
  .cards, .blog-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 210px 0 60px; min-height: 0; }
  .hero h1 { font-size: 28px; }
  .hero-sub { font-size: 18px; }
  .request-card { padding: 26px 20px 30px; border-radius: 20px; }
  .request-form { grid-template-columns: 1fr; }
  .ratings-row { gap: 30px; }
  .rating .score { font-size: 26px; }
  .discount-note { font-size: 18px; padding: 24px; }
  .content-card { padding: 26px 20px; }
  .page-hero--article { padding: 176px 0 40px; }
  .page-hero--article h1 { font-size: 25px; }
  .page-hero--slim { padding: 148px 0 24px; }
  .section { padding: 46px 0; }
}

/* --- Google Translate chrome: keep the machine translation invisible -------------
   The original site translated pages the same way; hide Google's own banner,
   the injected iframe and the top offset it adds, so the layout stays identical. */
#google_translate_element,
#google_translate_element2,
.skiptranslate,
iframe.skiptranslate { display: none !important; }
body { top: 0 !important; }
font font { background-color: transparent !important; box-shadow: none !important; }

/* --- Contacts: карта из оригинала (Google Maps) --------------------------------- */
.contacts-split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 44px; align-items: start; }
.map-block { width: 100%; }
.map-frame {
  display: block; width: 100%; height: 400px; border: 0;
  border-radius: 18px; background: #1a1a1a; box-shadow: 0 18px 40px rgba(0,0,0,.28);
}
.map-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 14px; font-size: 15px; opacity: .9; }
.map-pin { display: inline-flex; color: var(--yellow); }
.map-addr { flex: 1 1 auto; min-width: 0; }
.map-link { color: var(--yellow); white-space: nowrap; font-weight: 500; }
.map-link:hover { text-decoration: underline; }
@media (max-width: 900px) {
  .contacts-split { grid-template-columns: 1fr; gap: 30px; }
  .map-frame { height: 300px; border-radius: 14px; }
  .contacts-map { order: -1; }
}
@media (max-width: 520px) {
  .map-frame { height: 240px; }
  .map-bar { font-size: 13.5px; }
}

/* --- Photo credits page --------------------------------------------------------- */
.credits-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 32px; font-size: 15px; line-height: 1.5; }
.credits-list li { padding-bottom: 8px; border-bottom: 1px solid rgba(0,0,0,.07); }
.credits-list a { font-weight: 500; }
.credits-meta { opacity: .7; }
@media (max-width: 820px) { .credits-list { grid-template-columns: 1fr; font-size: 14px; } }

/* --- Карточка авто: галерея с несколькими фото ---------------------------------- */
.gallery { position: relative; }
.gallery-stage img.is-fading { animation: galleryFade .28s ease; }
@keyframes galleryFade { from { opacity: .35 } to { opacity: 1 } }
.gallery-counter {
  position: absolute; right: 14px; bottom: 14px; padding: 4px 10px; border-radius: 20px;
  background: rgba(0,0,0,.55); color: #fff; font-size: 13px; letter-spacing: .02em; pointer-events: none;
}
@media (max-width: 760px) {
  .gallery-nav { width: 34px; height: 34px; font-size: 20px; }
  .gallery-nav.prev { left: 8px; } .gallery-nav.next { right: 8px; }
  .gallery-thumbs button { flex: 0 0 54px; height: 42px; }
  .gallery-counter { right: 8px; bottom: 8px; font-size: 12px; }
}

/* globe language widget: flags row plate (widget itself comes from gtranslate-globe.js) */
.gsatelite-plate{position:absolute;display:none;background:rgba(255,255,255,.95);border-radius:999px;box-shadow:0 10px 26px rgba(0,0,0,.18);pointer-events:none;z-index:99999}
.gtranslate_wrapper .gsatelite{z-index:100000!important}

/* article cover picture (the original site opened every story with its photo) */
.article-cover{margin:0 0 26px;border-radius:18px;overflow:hidden;background:#eef0e8;box-shadow:0 12px 32px rgba(0,0,0,.10)}
.article-cover img{display:block;width:100%;height:auto;max-height:520px;object-fit:cover}
@media (max-width:720px){.article-cover{border-radius:14px;margin-bottom:18px}.article-cover img{max-height:300px}}

/* мессенджеры и соцсети в подвале (как на оригинале) */
.social-rows{display:flex;flex-direction:column;gap:10px;margin:10px 0 4px}
.social-row{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.social-row .soc{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:50%;color:#fff;text-decoration:none;transition:transform .15s ease,filter .15s ease}
.social-row .soc svg{width:18px;height:18px}
.social-row .soc:hover{transform:translateY(-2px);filter:brightness(1.07)}
.soc--wa{background:#25d366}
.soc--tg{background:#29a9eb}
.soc--ig{background:#e8813a}
.soc--max{background:#4c6fff}
.soc--line{background:#06c755}
.social-row--yellow .soc--y{background:#ffe14d;color:#242424}
.social-row--yellow .soc--y svg{width:17px;height:17px}
@media (max-width:720px){.social-row .soc{width:32px;height:32px}.social-row .soc svg{width:17px;height:17px}}

/* подпись разработчика в подвале */
.dev-credit{white-space:nowrap}
.dev-credit a{color:inherit;text-decoration:none;border-bottom:1px solid rgba(255,255,255,.28);padding-bottom:1px;transition:border-color .15s ease,color .15s ease,opacity .15s ease;opacity:.9}
.dev-credit a:hover{color:#ffe14d;border-color:#ffe14d;opacity:1}
.dev-credit b{font-weight:700}

/* соцсети в шапке — как на оригинале sunnycars.pro */
.head-social{display:flex;align-items:center;gap:10px}
.head-social .hs{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;color:#fff;text-decoration:none;transition:transform .15s ease,filter .15s ease}
.head-social .hs svg{width:20px;height:20px}
.head-social .hs:hover{transform:translateY(-2px);filter:brightness(1.08)}
.hs--tg{background:#229ed9}
.hs--wa{background:#128c7e}
.hs--line{background:#00aa41}
.hs--max{background:#8b5cf6}
.hs--tel{background:#515151}
.hs-phone{display:inline-flex;align-items:center;gap:9px;text-decoration:none;color:#fff;font-weight:600;font-size:15px;letter-spacing:.01em}
.hs-phone .hs-num{border-bottom:1px solid rgba(255,255,255,.35);padding-bottom:1px}
.hs-phone:hover .hs-num{border-color:#ffe14d;color:#ffe14d}
@media (max-width:1100px){.hs-phone .hs-num{display:none}}
@media (max-width:760px){
  .head-social{gap:7px}
  .head-social .hs{width:36px;height:36px}
  .head-social .hs svg{width:18px;height:18px}
}

/* галерея: курсор-«рука» и запрет нативного перетаскивания картинки */
.gallery-stage{cursor:grab;touch-action:pan-y}
.gallery.is-dragging .gallery-stage{cursor:grabbing}
.gallery-stage img{user-select:none;-webkit-user-drag:none}
