/* CRO, variant A — tula-avtoservis.ru main page. Tilda design system: TildaSans, #F47D32, #2E2E2E, radius 5px. */

/* ---------- Header rec672053721: hide "Vacancies" on phones ---------- */
@media screen and (max-width: 639px) {
  #rec672053721 .tn-elem[data-elem-id="1721751183458"] { display: none !important; }
}

/* ---------- Shared ---------- */
.cro-hero, .cro-reviews {
  --cro-accent: #f47d32;
  --cro-accent-dark: #e06a1f;
  --cro-text: #2e2e2e;
  --cro-muted: #6b7378;
  --cro-card: #f2f6f7;
  font-family: 'TildaSans', Arial, sans-serif;
  color: var(--cro-text);
  box-sizing: border-box;
}
.cro-hero *, .cro-reviews * { box-sizing: border-box; }
.cro-ico { display: block; flex: 0 0 auto; }
.cro-star { color: var(--cro-accent); }

.cro-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 28px;
  border: 2px solid var(--cro-accent); border-radius: 5px;
  font-family: 'TildaSans', Arial, sans-serif; font-size: 18px; font-weight: 600; line-height: 1.2;
  text-decoration: none; text-align: center; white-space: nowrap;
  transition: background-color .2s ease-in-out, color .2s ease-in-out, border-color .2s ease-in-out;
  -webkit-tap-highlight-color: transparent;
}
#allrecords a.cro-btn_main { background-color: var(--cro-accent); color: #fff; }
#allrecords a.cro-btn_main:hover, #allrecords a.cro-btn_main:focus-visible { background-color: var(--cro-accent-dark); border-color: var(--cro-accent-dark); color: #fff; }
#allrecords a.cro-btn_second { background-color: #fff; color: var(--cro-accent); }
#allrecords a.cro-btn_second:hover, #allrecords a.cro-btn_second:focus-visible { background-color: var(--cro-accent); color: #fff; }
#allrecords a.cro-btn:focus-visible { outline: 3px solid rgba(244, 125, 50, .45); outline-offset: 2px; outline-style: solid; }

/* ---------- Hero ---------- */
.cro-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #eef1f3 0%, #f7f8f9 100%);
}
.cro-hero__inner { position: relative; max-width: 1160px; margin: 0 auto; padding: 22px 20px 26px; }
.cro-hero__text { position: relative; z-index: 2; }

.cro-hero__title { font-size: 29px; line-height: 1.18; font-weight: 600; color: var(--cro-text); }
.cro-hero__sub { margin-top: 6px; font-size: 22px; line-height: 1.25; font-weight: 500; color: var(--cro-accent); }

.cro-trust {
  display: flex; align-items: stretch; margin-top: 18px;
  background: #fff; border-radius: 15px; box-shadow: 0 6px 24px rgba(23, 33, 38, .07);
}
.cro-trust__rate, .cro-trust__hours { padding: 12px 14px; }
.cro-trust__rate { display: flex; align-items: center; gap: 10px; flex: 1 1 auto; }
.cro-trust__score { font-size: 30px; line-height: 1; font-weight: 700; white-space: nowrap; }
.cro-trust__note { font-size: 14px; line-height: 1.25; color: var(--cro-muted); }
.cro-trust__hours {
  display: flex; align-items: center; gap: 8px; flex: 0 0 auto; max-width: 132px;
  border-left: 1px solid #e4e9eb; font-size: 15px; line-height: 1.25; font-weight: 600;
}
.cro-trust__hours .cro-ico { color: var(--cro-accent); }

.cro-hero__tow { display: flex; align-items: center; gap: 10px; margin-top: 16px; font-size: 18px; line-height: 1.3; font-weight: 600; }
.cro-hero__tow .cro-ico { color: var(--cro-accent); }

.cro-hero__actions { display: grid; grid-template-columns: 1.45fr 1fr; gap: 10px; margin-top: 18px; }
.cro-hero__actions .cro-btn { width: 100%; padding: 0 12px; }
.cro-hero__actions .cro-btn_main { min-height: 60px; font-size: 20px; }
.cro-hero__actions .cro-btn_second { min-height: 60px; }

.cro-hero__save { margin-top: 14px; font-size: 16px; line-height: 1.35; font-weight: 500; color: #0d0d0d; }

.cro-hero__car { display: none; }

@media screen and (max-width: 359px) {
  .cro-hero__title { font-size: 26px; }
  .cro-trust { flex-direction: column; }
  .cro-trust__hours { max-width: none; border-left: 0; border-top: 1px solid #e4e9eb; }
  .cro-hero__actions { grid-template-columns: 1fr; }
}

/* Tablet */
@media screen and (min-width: 640px) {
  .cro-hero__inner { max-width: 600px; padding: 48px 0 0; }
  .cro-hero__title { font-size: 40px; line-height: 1.2; }
  .cro-hero__sub { font-size: 30px; }
  .cro-trust { display: inline-flex; margin-top: 26px; }
  .cro-trust__rate, .cro-trust__hours { padding: 16px 20px; }
  .cro-trust__score { font-size: 36px; }
  .cro-trust__note { font-size: 15px; max-width: 150px; }
  .cro-trust__hours { max-width: none; font-size: 17px; }
  .cro-hero__tow { margin-top: 22px; font-size: 20px; }
  .cro-hero__actions { display: flex; gap: 14px; margin-top: 26px; }
  .cro-hero__actions .cro-btn { width: auto; }
  .cro-hero__actions .cro-btn_main { min-width: 260px; padding: 0 32px; }
  .cro-hero__actions .cro-btn_second { min-width: 180px; padding: 0 28px; }
  .cro-hero__save { margin-top: 18px; font-size: 20px; }
  .cro-hero__car {
    display: block; position: relative; z-index: 1;
    width: 92%; margin: -6px -12% 0 auto; aspect-ratio: 1680 / 567;
    background: url('tild6330-3465-4634-a139-373766323732___-1.png') right bottom / contain no-repeat;
  }
}

/* Desktop */
@media screen and (min-width: 961px) {
  .cro-hero {
    background: #f4f6f7 url('tild6437-3636-4533-b530-616463663635__frame_1.png') center center / cover no-repeat;
  }
  .cro-hero__inner { max-width: 920px; min-height: 620px; padding: 70px 0 64px; }
  .cro-hero__text { max-width: 560px; }
  .cro-hero__title { font-size: 47px; line-height: 1.2; }
  .cro-hero__sub { font-size: 34px; }
  .cro-hero__car {
    position: absolute; z-index: 1; margin: 0;
    right: -200px; bottom: 0; width: 760px;
  }
}
@media screen and (min-width: 1201px) {
  .cro-hero__inner { max-width: 1160px; min-height: 660px; padding-top: 84px; }
  .cro-hero__text { max-width: 600px; }
  .cro-hero__title { font-size: 55px; line-height: 1.18; }
  .cro-hero__sub { font-size: 38px; }
  .cro-hero__car { right: -150px; width: 860px; }
}

/* ---------- Reviews ---------- */
.cro-reviews { background: #fff; padding: 20px 0 60px; }
.cro-wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.cro-reviews__title {
  margin: 0; text-align: center;
  font-family: 'TildaSans', Arial, sans-serif; font-size: 30px; line-height: 1.23; font-weight: 600; color: #000;
}

.cro-sum {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 24px;
  margin: 22px auto 0;
  padding-bottom: 28px;
}
.cro-sum__score { font-size: 44px; line-height: 1; font-weight: 700; white-space: nowrap; }
.cro-sum__counts { display: flex; flex-direction: column; font-size: 16px; line-height: 1.35; color: var(--cro-muted); }
.cro-sum__award {
  display: flex; align-items: center; gap: 8px; flex-basis: 100%; justify-content: center;
  font-size: 16px; line-height: 1.3; font-weight: 600;
}
.cro-sum__award .cro-ico { color: var(--cro-accent); }

.cro-reviews .cro-reviews__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 14px; }
/* Tilda's "#allrecords ul {padding-left:20px}" outweighs the rule above; reset it so the cards sit centred. */
#allrecords .cro-reviews__list { padding-left: 0; }
.cro-review { background: var(--cro-card); border-radius: 15px; padding: 20px; }
.cro-review__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; }
.cro-review__name { font-size: 18px; line-height: 1.3; font-weight: 600; }
.cro-review__date { font-size: 14px; line-height: 1.3; color: var(--cro-muted); }
.cro-review__stars { margin-top: 6px; font-size: 18px; line-height: 1; letter-spacing: 2px; color: var(--cro-accent); }
.cro-review__text { margin: 12px 0 0; font-size: 16px; line-height: 1.5; font-weight: 400; }

.cro-reviews__more { margin-top: 26px; text-align: center; }
.cro-reviews__more .cro-btn { min-height: 52px; font-size: 16px; white-space: normal; }

@media screen and (max-width: 639px) {
  .cro-reviews__more .cro-btn { width: 100%; }
}
@media screen and (min-width: 640px) {
  .cro-wrap { max-width: 640px; }
  .cro-reviews__title { font-size: 36px; }
  .cro-sum__award { flex-basis: auto; padding-left: 24px; border-left: 1px solid #e4e9eb; }
}
@media screen and (min-width: 961px) {
  .cro-reviews { padding: 30px 0 90px; }
  .cro-wrap { max-width: 960px; }
  .cro-reviews__title { font-size: 42px; }
  .cro-sum { margin-top: 26px; padding-bottom: 40px; }
  .cro-reviews .cro-reviews__list { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .cro-review { padding: 24px; }
  .cro-reviews__more { margin-top: 36px; }
}
@media screen and (min-width: 1201px) {
  .cro-wrap { max-width: 1200px; }
  .cro-review { padding: 28px; }
}

/* ---------- Turbo page /turbo (page32484278): hero modifiers only ---------- */
/* Longer second label "Записаться на диагностику": equal columns, label wraps to two lines on phones. */
@media screen and (min-width: 360px) and (max-width: 639px) {
  .cro-hero_turbo .cro-hero__actions { grid-template-columns: 1fr 1fr; }
}
@media screen and (max-width: 639px) {
  .cro-hero_turbo .cro-hero__actions .cro-btn_second { white-space: normal; font-size: 17px; line-height: 1.15; }
}

@media screen and (max-width: 639px) {
  .cro-hide-mobile { display: none !important; }
}

#allrecords .cro-footer-links {
  padding: 12px 16px;
  text-align: center;
  font: 14px/1.4 'TildaSans', Arial, sans-serif;
  color: #000;
}

#allrecords footer .cro-footer-links {
  background: #000;
  color: #adadad;
}

#allrecords .cro-footer-links a {
  color: inherit;
  text-decoration: none;
}

#allrecords .cro-footer-links a:hover {
  text-decoration: underline;
}

@media screen and (max-width: 640px) {
  body.cro-has-mobile-panel { padding-bottom: 74px; }
}
