/*
Theme Name: Автофранцуз
Theme URI: https://xn----7sbbgarrf1cexdhei1an3b.xn--p1ai/
Author: Автофранцуз
Description: Лёгкая адаптивная тема автосервиса «Автофранцуз».
Version: 1.2.11
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: autofrancuz
*/

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("assets/fonts/montserrat-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("assets/fonts/montserrat-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --af-navy: #071b38;
  --af-navy-deep: #031126;
  --af-red: #e21d25;
  --af-red-dark: #bf1119;
  --af-green: #16a75c;
  --af-white: #ffffff;
  --af-ink: #0b1730;
  --af-muted: #667085;
  --af-surface: #f4f6f9;
  --af-border: #d9dee7;
  --af-shadow: 0 20px 60px rgba(2, 15, 35, 0.22);
  --af-container: min(88vw, 1440px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--af-ink);
  overflow-x: hidden;
  background: var(--af-white);
  font-family: "Montserrat", "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

[hidden] {
  display: none !important;
}

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus {
  z-index: 9999;
  top: 8px;
  left: 8px;
  width: auto;
  height: auto;
  margin: 0;
  padding: 12px 16px;
  clip: auto;
  background: var(--af-white);
  color: var(--af-ink);
}

.site-header {
  position: relative;
  z-index: 30;
  box-shadow: 0 2px 16px rgba(2, 15, 35, 0.1);
}

.site-header__inner {
  width: var(--af-container);
  margin-inline: auto;
}

.site-header__top {
  color: var(--af-white);
  background: #031730;
}

.site-header__contacts {
  min-height: clamp(32px, 3vw, 44px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: clamp(10px, 0.83vw, 12px);
}

.contact-item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.ui-icon {
  width: 18px;
  height: 18px;
  display: block;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-item--phone {
  flex-shrink: 0;
  text-decoration: none;
  white-space: nowrap;
  font-weight: 600;
  font-size: clamp(12px, 1.02vw, 15px);
}

.contact-item--phone:hover { color: #dbeafe; }

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 750;
  line-height: 1.15;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button:focus-visible,
.menu-toggle:focus-visible,
.primary-navigation a:focus-visible,
.lead-dialog__close:focus-visible,
.lead-form input:focus-visible,
.lead-form textarea:focus-visible {
  outline: 3px solid rgba(22, 167, 92, 0.45);
  outline-offset: 3px;
}

.button--red {
  color: var(--af-white);
  background: linear-gradient(180deg, #ef2630, var(--af-red));
  box-shadow: 0 10px 24px rgba(226, 29, 37, 0.24);
}

.button--red:hover {
  background: var(--af-red-dark);
  box-shadow: 0 13px 28px rgba(226, 29, 37, 0.34);
}

.button--red:disabled {
  opacity: 0.66;
  cursor: wait;
  transform: none;
}

.site-header__cta {
  flex-shrink: 0;
  min-height: 30px;
  padding: 7px 20px;
  border-radius: 5px;
  box-shadow: none;
  font-size: clamp(10px, 0.82vw, 12px);
}

.site-header__main {
  background: var(--af-white);
}

.site-header__nav-row {
  min-height: clamp(68px, 6.4vw, 98px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.site-logo {
  width: clamp(180px, 17.2vw, 250px);
  display: inline-flex;
  flex: 0 0 auto;
}

.site-logo img {
  width: 100%;
  height: auto;
  display: block;
}

.primary-navigation {
  margin-left: auto;
  margin-right: 15%;
}

.primary-navigation__list {
  display: flex;
  align-items: center;
  gap: clamp(28px, 4vw, 64px);
  padding: 0;
  margin: 0;
  list-style: none;
}

.primary-navigation a {
  position: relative;
  display: inline-block;
  padding: 28px 0;
  color: #091932;
  font-size: clamp(11px, 0.9vw, 13px);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.primary-navigation a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 20px;
  left: 0;
  height: 2px;
  transform: scaleX(0);
  border-radius: 99px;
  background: var(--af-green);
  transition: transform 160ms ease;
}

.primary-navigation a:hover::after,
.primary-navigation a.is-current::after {
  transform: scaleX(1);
}

.menu-toggle {
  width: 48px;
  height: 44px;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid var(--af-border);
  border-radius: 6px;
  background: var(--af-white);
}

.menu-toggle__line {
  width: 22px;
  height: 2px;
  background: var(--af-navy);
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--af-white);
  background: #03172e;
}

.hero__visual {
  position: absolute;
  z-index: -1;
  inset: 0 18% 0 40%;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
}

.hero__visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 57%;
}

.hero__inner {
  width: var(--af-container);
  min-height: clamp(260px, 24vw, 400px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-inline: auto;
  padding-block: clamp(20px, 2.2vw, 34px);
}

.hero__copy {
  position: relative;
  z-index: 2;
  width: 54%;
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 12px;
  font-size: clamp(10px, 0.85vw, 13px);
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.hero__eyebrow span {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  transform: rotate(45deg);
  background: var(--af-red);
}

.hero h1 {
  margin: 0;
  font-size: clamp(28px, 2.8vw, 44px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.hero__description {
  margin: 14px 0 0;
  color: #eef4fb;
  font-size: clamp(12px, 1.15vw, 18px);
  font-weight: 500;
  line-height: 1.45;
}

.hero__description strong {
  color: #50d587;
  font-weight: 700;
  white-space: nowrap;
}

.hero__actions {
  display: flex;
  gap: clamp(12px, 1.3vw, 20px);
  margin-top: clamp(16px, 1.5vw, 24px);
}

.hero__actions .button {
  min-height: clamp(38px, 3.2vw, 50px);
  padding: 10px clamp(14px, 1.4vw, 24px);
  gap: clamp(10px, 1.4vw, 22px);
  font-size: clamp(10px, 0.9vw, 14px);
  font-weight: 700;
  white-space: nowrap;
}

.hero__actions .ui-icon { width: 16px; height: 16px; }

.button--outline {
  color: var(--af-white);
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(6, 25, 53, 0.35);
}

.button--outline:hover {
  border-color: var(--af-white);
  background: rgba(255, 255, 255, 0.12);
}

.hero__benefits {
  width: 22.5%;
  flex-shrink: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.benefit-card {
  min-height: clamp(106px, 10vw, 154px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px 8px;
  border: 1px solid #e7ebef;
  border-radius: 9px;
  color: var(--af-ink);
  background: #fff;
  box-shadow: 0 6px 18px rgba(0, 9, 24, 0.14);
  text-align: center;
}

.benefit-card__icon {
  width: clamp(34px, 3.2vw, 48px);
  height: clamp(34px, 3.2vw, 48px);
  position: relative;
  display: block;
  flex-shrink: 0;
  overflow: hidden;
  margin-bottom: 7px;
}

/* The supplied square images contain generous white margins. Crop those in
   the presentation only, retaining the original icon artwork and proportions. */
.benefit-card__icon img {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 172%;
  height: 172%;
  max-width: none;
  transform: translate(-50%, -50%);
  object-fit: contain;
}

.benefit-card h2,
.benefit-card p {
  font-size: clamp(10px, 0.85vw, 13px);
  line-height: 1.4;
  font-weight: 600;
}

.benefit-card h2 { margin: 0; }
.benefit-card p { margin: 0; }

.dialog-is-open,
.menu-is-open {
  overflow: hidden;
}

.lead-dialog {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
}

.lead-dialog__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(1, 9, 22, 0.78);
  backdrop-filter: blur(5px);
}

.lead-dialog__panel {
  width: min(100%, 560px);
  max-height: calc(100vh - 40px);
  position: relative;
  overflow-y: auto;
  padding: clamp(28px, 4vw, 44px);
  border-radius: 14px;
  background: var(--af-white);
  box-shadow: var(--af-shadow);
}

.lead-dialog__close {
  width: 42px;
  height: 42px;
  position: absolute;
  top: 14px;
  right: 14px;
  border: 0;
  border-radius: 50%;
  color: #26344c;
  background: #eef1f5;
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}

.lead-dialog__eyebrow {
  margin: 0 0 8px;
  color: var(--af-red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.lead-dialog h2 {
  margin: 0 48px 8px 0;
  color: var(--af-ink);
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.1;
}

.lead-dialog__intro {
  margin: 0 0 24px;
  color: var(--af-muted);
  line-height: 1.5;
}

.lead-form {
  display: grid;
  gap: 16px;
}

.lead-form__field {
  display: grid;
  gap: 7px;
  color: #26344c;
  font-size: 13px;
  font-weight: 700;
}

.lead-form__field b {
  color: var(--af-red);
}

.lead-form input,
.lead-form textarea {
  width: 100%;
  border: 1px solid var(--af-border);
  border-radius: 7px;
  color: var(--af-ink);
  background: #fbfcfd;
}

.lead-form input {
  min-height: 49px;
  padding: 10px 14px;
}

.lead-form textarea {
  min-height: 90px;
  padding: 12px 14px;
  resize: vertical;
}

.lead-form input:focus,
.lead-form textarea:focus {
  border-color: #5e83ad;
  background: var(--af-white);
}

.lead-form__field--honeypot {
  position: absolute;
  left: -10000px;
}

.lead-form__error {
  min-height: 1em;
  color: var(--af-red);
  font-weight: 600;
}

.lead-form__consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--af-muted);
  cursor: pointer;
  font-size: 12px;
  line-height: 1.4;
}

.lead-form__consent input {
  width: 18px;
  min-height: 18px;
  margin: 0;
  accent-color: var(--af-green);
}

.lead-form__submit {
  width: 100%;
  margin-top: 2px;
}

.lead-form__status {
  min-height: 1.4em;
  margin: 0;
  color: var(--af-muted);
  text-align: center;
  font-size: 13px;
  font-weight: 700;
}

.lead-form__status.is-success { color: #078342; }
.lead-form__status.is-error { color: var(--af-red); }

@media (max-width: 1200px) {
  .site-header__contacts { gap: 12px; }
  .contact-item { gap: 7px; }
  .contact-item .ui-icon { width: 15px; height: 15px; }
}

@media (max-width: 1000px) {
  .primary-navigation { margin-right: 0; }
  .primary-navigation__list { gap: 22px; }
  .site-header__cta { display: none; }
  .site-header__contacts { font-size: 11px; }
  .hero__inner { min-height: 320px; }
  .hero__copy { width: 59%; }
  .hero__benefits { width: 25%; }
  .hero h1 { font-size: clamp(25px, 2.8vw, 30px); }
  .hero__actions { flex-wrap: wrap; }
}

@media (max-width: 900px) {
  .site-header__contacts { min-height: 44px; gap: 16px; }
  .contact-item--hours { display: none; }
  .contact-item--address { max-width: 60%; line-height: 1.45; }
  .contact-item--phone { font-size: 12px; }
  .site-header__nav-row { min-height: 76px; }
  .site-logo { width: 190px; }
  .menu-toggle { display: flex; }
  .primary-navigation {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    padding: 8px 3.6vw 20px;
    border-top: 1px solid var(--af-border);
    background: var(--af-white);
    box-shadow: 0 20px 30px rgba(2, 15, 35, 0.14);
  }
  .primary-navigation.is-open { display: block; }
  .primary-navigation__list { flex-direction: column; align-items: stretch; gap: 0; }
  .primary-navigation a { display: block; padding: 14px 0; border-bottom: 1px solid #edf0f4; font-size: 14px; }
  .primary-navigation a::after { display: none; }
  .hero__inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; padding-block: 32px 24px; }
  .hero__copy { width: 100%; }
  .hero h1 { font-size: clamp(28px, 4.5vw, 34px); }
  .hero__description { font-size: 14px; }
  .hero__actions .button { min-height: 44px; font-size: 12px; }
  .hero__visual {
    position: relative;
    z-index: auto;
    inset: auto;
    width: calc(100% + 32px);
    height: auto;
    aspect-ratio: 1672 / 941;
    max-height: 350px;
    margin: 8px -16px;
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 15%, #000 85%, transparent);
    mask-image: linear-gradient(180deg, transparent, #000 15%, #000 85%, transparent);
  }
  .hero__visual img { object-fit: contain; }
  .hero__benefits { width: 100%; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 0; }
  .benefit-card { min-height: 134px; }
  .benefit-card__icon { width: 42px; height: 42px; }
  .benefit-card h2, .benefit-card p { font-size: 10px; }
}

@media (max-width: 480px) {
  :root { --af-container: calc(100% - 32px); }
  .site-header__contacts { align-items: flex-start; flex-direction: column; gap: 5px; padding-block: 9px; }
  .contact-item--address { max-width: none; font-size: 10px; }
  .contact-item--phone { font-size: 12px; }
  .site-logo { width: 178px; }
  .site-header__nav-row { min-height: 70px; }
  .menu-toggle { width: 42px; height: 40px; }
  .hero__inner { padding-top: 28px; }
  .hero__eyebrow { font-size: 10px; }
  .hero h1 { max-width: 390px; font-size: clamp(24px, 7.2vw, 34px); line-height: 1.15; }
  .hero__title-break { display: none; }
  .hero__description { margin-top: 18px; line-height: 1.55; }
  .hero__actions { display: grid; gap: 10px; margin-top: 20px; }
  .hero__actions .button { width: 100%; min-height: 48px; font-size: 12px; }
  .hero__visual { width: calc(100% + 48px); margin: 10px -24px; }
  .hero__benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 0; gap: 10px; }
  .benefit-card { min-height: 138px; padding: 16px 12px; }
  .benefit-card h2, .benefit-card p { font-size: 12px; }
  .lead-dialog { padding: 10px; }
  .lead-dialog__panel { max-height: calc(100dvh - 20px); padding: 30px 20px 24px; }
}

/* Brands, services, reasons and the short callback form. */
.section-container { width: var(--af-container); margin-inline: auto; }
.site-main section[id], .estimate-banner[id] { scroll-margin-top: 54px; }
.section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2vw, 28px);
  margin: 0 0 22px;
  color: var(--af-navy);
  text-align: center;
  font-size: clamp(19px, 1.75vw, 27px);
  line-height: 1.3;
  font-weight: 750;
}
.section-title::before, .section-title::after {
  content: "";
  width: clamp(26px, 4vw, 62px);
  height: 2px;
  flex-shrink: 0;
  background: var(--af-red);
}
.brands-section { padding-block: 28px 26px; }
.section-title--brands { font-size: clamp(17px, 1.5vw, 23px); margin-bottom: 18px; }
#brands .section-title--brands::before, #brands .section-title--brands::after { background: var(--af-red); }
.brand-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.brand-card {
  position: relative;
  min-height: clamp(182px, 16vw, 238px);
  overflow: visible;
  padding: 22px;
  border: 1px solid #e6eaf0;
  border-radius: 12px;
  background: linear-gradient(145deg, #fff 65%, #f7f9fc);
  box-shadow: 0 4px 14px rgba(9, 30, 59, .045);
}
.brand-card__name { position: relative; z-index: 1; margin: 0; font-size: clamp(16px, 1.45vw, 22px); font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.brand-card__vehicle { position: absolute; top: 30px; right: 8px; width: 67%; height: 52%; }
.brand-card__vehicle img { position: absolute; top: 50%; left: 50%; width: 100%; height: auto; transform: translate(-50%, -50%); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .brand-card { transition: transform .38s cubic-bezier(.2,.8,.2,1), box-shadow .38s ease, border-color .38s ease; }
  .brand-card__vehicle { transition: transform .38s cubic-bezier(.2,.8,.2,1); }
  .brand-card:hover { z-index: 2; transform: perspective(900px) rotateX(1.5deg) rotateY(-2.5deg) translateY(-4px); border-color: #d2e0ed; box-shadow: 0 14px 30px rgba(9,30,59,.12); }
  .brand-card:hover .brand-card__vehicle { transform: translate(20px,-7px) scale(1.09); }
}
.brand-card p { position: absolute; z-index: 1; bottom: 18px; left: 22px; margin: 0; color: #4e5d72; font-size: clamp(9px, .78vw, 12px); line-height: 1.5; }
.service-overview {
  margin-bottom: 32px;
  padding: clamp(22px, 2.4vw, 36px);
  border: 1px solid #edf1f5;
  border-radius: 20px;
  background: #f0f4f8;
}
.services-section > .section-title::before, .services-section > .section-title::after { background: var(--af-red); }
.services-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.service-card { display: flex; align-items: center; gap: 13px; min-height: 78px; padding: 14px; border: 1px solid #e1e7ed; border-radius: 9px; background: #fff; box-shadow: 0 2px 7px rgba(6, 27, 57, .025); }
.service-card h3 { margin: 0; font-size: clamp(10px, .86vw, 13px); line-height: 1.45; font-weight: 700; }
.service-card__icon { position: relative; width: clamp(34px, 3.3vw, 48px); height: clamp(34px, 3.3vw, 48px); overflow: hidden; flex-shrink: 0; }
.service-card__icon img { position: absolute; top: 50%; left: 50%; width: 132%; height: 132%; max-width: none; object-fit: contain; transform: translate(-50%, -50%); }
.section-icon-slot { display: inline-block; width: 40px; height: 40px; flex: 0 0 auto; border: 1px solid #d8e1eb; border-radius: 10px; background: #f0f4f8; }
.section-icon-slot--round { width: 52px; height: 52px; border-radius: 50%; margin-bottom: 12px; background: radial-gradient(circle, #fff, #edf2f7); }
.button--navy { color: var(--af-navy); border-color: #a8b7c8; background: #fff; font-size: 12px; min-height: 38px; padding: 9px 19px; }
.button--navy:hover { background: #e9eff5; }
.services-catalog { margin-top: 14px; }
.services-catalog > summary { display: flex; width: fit-content; margin-left: auto; list-style: none; }
.services-catalog > summary::-webkit-details-marker { display: none; }
.services-catalog > summary .ui-icon { width: 15px; height: 15px; transition: transform .15s ease; }
.services-catalog[open] > summary .ui-icon { transform: rotate(180deg); }
.services-catalog__body { padding: 26px; margin-top: 14px; border: 1px solid #e1e7ed; border-radius: 12px; background: #fff; }
.services-catalog__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 32px; margin-bottom: 24px; }
.services-catalog__grid h3 { font-size: 14px; margin: 0 0 7px; color: var(--af-navy); }
.services-catalog__grid p { font-size: 12px; line-height: 1.55; margin: 0; color: #536176; }
.services-catalog__body > .button { font-size: 12px; min-height: 40px; }
.reasons-section { padding-block: 28px 30px; }
.reasons-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.reason-card { position: relative; display: flex; align-items: center; flex-direction: column; padding: 0 clamp(10px, 1.5vw, 22px); text-align: center; }
.reason-card + .reason-card::before { content: ""; position: absolute; width: 1px; left: 0; top: 12px; bottom: 0; background: linear-gradient(transparent, #d8dee5 15%, #d8dee5 85%, transparent); }
.reason-card h3 { max-width: 180px; font-size: clamp(10px, .85vw, 13px); line-height: 1.45; font-weight: 700; margin: 0 0 10px; }
.reason-card p { margin: auto 0 0; font-size: clamp(9px, .77vw, 12px); line-height: 1.5; color: #526076; }
#why-us.reasons-section {
  margin-top: 36px;
  padding: 30px clamp(18px, 2.6vw, 38px) 34px;
  border: 1px solid #e1e8f0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(6, 31, 54, .045);
}
#why-us .reasons-grid { gap: 0; }
.callback-section { display: grid; grid-template-columns: 46% 54%; overflow: hidden; border: 1px solid #dfe5ec; border-radius: 12px; background: #fff; box-shadow: 0 6px 20px rgba(6, 25, 52, .06); }
.callback-panel { padding: clamp(22px, 2.2vw, 34px); }
.callback-panel h2 { margin: 0 0 18px; color: var(--af-navy); font-size: clamp(20px, 1.75vw, 27px); }
.callback-form { gap: 12px; }
.callback-form__fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.callback-form .lead-form__field { font-size: 11px; }
.callback-form input { min-height: 42px; font-size: 12px; padding: 10px 12px; }
.callback-form > .lead-form__error:empty, .callback-form > .lead-form__status:empty { display: none; }
.callback-form__submit { width: 100%; min-height: 42px; padding: 10px 16px; font-size: 12px; }
.callback-form .lead-form__consent { align-items: center; font-size: 10px; }
.callback-form .lead-form__consent input { padding: 0; min-height: 16px; width: 16px; flex-shrink: 0; }
.callback-form .lead-form__status { text-align: left; font-size: 11px; }
.estimate-banner { position: relative; display: flex; align-items: center; justify-content: flex-end; isolation: isolate; overflow: hidden; border-radius: 12px; padding: clamp(24px, 2.5vw, 38px); color: #fff; background: linear-gradient(115deg, #173553, #061d39 45%, #03152d); }
.estimate-banner__visual { position: absolute; z-index: -1; inset: 0 52% 0 0; background: radial-gradient(ellipse at 15% 80%, rgba(115, 155, 189, .23), transparent 72%); }
.estimate-banner__copy { width: 72%; }
.estimate-banner h2 { font-size: clamp(20px, 1.8vw, 28px); line-height: 1.25; margin: 0 0 14px; }
.estimate-banner p { font-size: clamp(11px, .95vw, 14px); line-height: 1.6; margin: 0 0 24px; color: #d8e2ee; }
.estimate-banner__benefits { display: flex; gap: 20px; }
.estimate-banner__benefits > span { display: flex; align-items: center; gap: 10px; font-size: 10px; line-height: 1.4; }
.estimate-banner .section-icon-slot { width: 30px; height: 30px; border-color: #6b829c; border-radius: 50%; background: rgba(255,255,255,.05); }
@media (max-width: 1100px) {
  .services-grid { gap: 10px; }
  .service-card { gap: 9px; padding: 11px; }
  .service-card__icon { width: 32px; height: 32px; }
  .reason-card { padding-inline: 10px; }
  .estimate-banner__copy { width: 86%; }
  .brand-card { padding: 18px; }
  .brand-card p { left: 18px; }
}
@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .service-card h3 { font-size: 12px; }
  .reasons-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 28px; }
  .reason-card:nth-child(4)::before { display: none; }
  .reason-card h3 { font-size: 12px; }
  .reason-card p { font-size: 11px; }
  .brand-card__name { font-size: 16px; }
  .brand-card__vehicle { width: 80%; right: 0; top: 29px; }
  .brand-card p { font-size: 9px; left: 12px; }
  .callback-form__fields { grid-template-columns: 1fr; }
  .estimate-banner__copy { width: 100%; }
  .estimate-banner__benefits { flex-direction: column; }
}
@media (max-width: 600px) {
  .brands-section { padding-block: 26px; }
  .section-title { font-size: 20px; gap: 10px; margin-bottom: 20px; }
  .section-title::before, .section-title::after { width: 20px; }
  .section-title--brands { font-size: 17px; }
  .section-title--brands::before, .section-title--brands::after { display: none; }
  .brand-grid { grid-template-columns: 1fr; gap: 12px; }
  .brand-card { min-height: 195px; }
  .brand-card__name { font-size: 20px; }
  .brand-card__vehicle { width: 67%; max-width: 310px; height: 52%; top: 30px; right: 8px; }
  .brand-card p { font-size: 10px; left: 18px; }
  .service-overview { width: 100%; padding: 25px 16px; border-radius: 16px; }
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .service-card { min-height: 80px; padding: 10px; gap: 8px; }
  .service-card h3 { font-size: 10px; }
  .service-card__icon { width: 30px; height: 30px; }
  .services-catalog__body { padding: 18px; }
  .services-catalog__grid { grid-template-columns: 1fr; gap: 18px; }
  .services-catalog > summary { min-height: 44px; }
  .reasons-section { padding-block: 28px; }
  .reasons-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 0; }
  .reason-card:nth-child(4)::before { display: block; }
  .reason-card:nth-child(odd)::before { display: none; }
  .callback-section { grid-template-columns: 1fr; }
  .callback-panel { padding: 22px; }
  .callback-form__fields { grid-template-columns: 1fr; }
  .callback-form input, .callback-form__submit { min-height: 46px; }
  .estimate-banner { min-height: 230px; padding: 28px; }
  .estimate-banner__copy { width: 100%; }
  .estimate-banner__benefits { flex-direction: row; }
}
@media (max-width: 360px) {
  .service-card { flex-direction: column; text-align: center; padding: 12px 8px; }
  .brand-card__vehicle { width: 72%; right: 2px; }
  .section-title { font-size: 18px; }
  .section-title::before, .section-title::after { width: 12px; }
}

@media (max-width: 600px) {
  #why-us.reasons-section {
    margin-top: 24px;
    padding: 24px 14px 26px;
    border-radius: 16px;
  }
}

/* Brand marks and the supplied reason icons load with the page. */
.brand-card__name { display: flex; align-items: center; gap: 10px; }
.brand-card__mark { position: relative; display: inline-block; width: 36px; height: 40px; flex-shrink: 0; overflow: hidden; }
.brand-card__mark img { position: absolute; top: 50%; left: 50%; width: 155%; height: 155%; max-width: none; object-fit: contain; transform: translate(-50%, -50%); mix-blend-mode: multiply; }
.reason-card__icon { position: relative; display: block; width: 52px; height: 52px; flex-shrink: 0; overflow: hidden; margin-bottom: 12px; background: transparent; }
.reason-card__icon img { position: absolute; top: 50%; left: 50%; width: 180%; height: 180%; max-width: none; object-fit: contain; transform: translate(-50%, -50%); mix-blend-mode: multiply; }
.reason-card__icon--guarantee img { width: 260%; height: 260%; }
@media (min-width: 601px) and (max-width: 900px) {
  .brand-card__name { gap: 6px; font-size: 14px; }
  .brand-card__mark { width: 28px; height: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Crop the supplied banner to its photograph; copy and icons remain independent. */
.estimate-banner { min-height: 300px; padding: 28px; background: #031c3b; }
.estimate-banner__visual { inset: 0 43% 0 0; background: url('assets/images/estimate-banner-source.png') no-repeat -14px center / auto 125%; mask-image: linear-gradient(to right, #000 60%, transparent 100%); }
.estimate-banner__copy { width: 56%; }
.estimate-banner h2 { font-size: clamp(20px, 1.65vw, 26px); }
.estimate-banner p { font-size: 12px; }
.estimate-banner__benefits { flex-direction: row; gap: 16px; }
.estimate-banner__benefits > span { gap: 8px; }
.estimate-banner__benefits svg { width: 30px; height: 34px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
@media (min-width: 601px) and (max-width: 1100px) {
  .callback-section { grid-template-columns: 1fr; }
  .callback-form__fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .estimate-banner { padding: 32px; }
  .estimate-banner__copy { width: 52%; }
  .estimate-banner h2 { font-size: 25px; }
  .estimate-banner p { font-size: 14px; }
  .estimate-banner__benefits > span { font-size: 12px; }
}
@media (max-width: 600px) {
  .estimate-banner { padding: 200px 24px 28px; }
  .estimate-banner__visual { inset: 0 0 auto; height: 230px; background-size: auto 155%; background-position: -14px 48%; mask-image: linear-gradient(to bottom, #000 45%, transparent 100%); }
  .estimate-banner__copy { width: 100%; }
  .estimate-banner h2 { font-size: 23px; }
  .estimate-banner p { font-size: 13px; }
  .estimate-banner__benefits { justify-content: space-between; gap: 12px; }
}

/* Editable block media retains the established layout. */
.af-content-icon { object-fit: contain; }
.reason-card__icon img { width: var(--icon-scale,180%); height: var(--icon-scale,180%); }
.reason-card__icon svg { width: 100%; height: 100%; }
.benefit-card__icon svg { width: 100%; height: 100%; }
.estimate-banner--photo .estimate-banner__visual { background-size: cover; background-position: center; }
.services-catalog > summary .ui-icon { transform: rotate(90deg); }
.services-catalog[open] > summary .ui-icon { transform: rotate(-90deg); }
.estimate-banner__benefits img { width: 30px; height: 34px; flex-shrink: 0; object-fit: contain; }
.price-section { padding-block: 52px 64px; }
.price-section__eyebrow { color: #0c355b; margin-bottom: 30px; font-weight: 700; }
.price-section__intro { display: grid; grid-template-columns: minmax(0,2fr) minmax(0,1fr); align-items: center; gap: 26px; margin-bottom: 30px; }
.price-section__intro h2 { font-size: clamp(27px,3vw,42px); line-height: 1.2; margin: 0; color: var(--af-navy); letter-spacing: -.5px; }
.price-section__intro p { color: #5e778e; line-height: 1.6; font-size: 14px; margin: 0; }
.price-layout { display: grid; grid-template-columns: minmax(0,2fr) minmax(0,1fr); gap: 26px; align-items: start; }
.price-list { padding: 22px; border: 1px solid #e5ebf1; border-radius: 14px; background: #fff; box-shadow: 0 8px 30px rgba(6,31,54,.04); min-width: 0; }
.price-tabs { display: flex; align-items: stretch; gap: 6px; padding-bottom: 18px; border-bottom: 1px solid #e7edf2; }
.price-tab { flex: 1; border: 0; border-radius: 12px; padding: 11px 8px; background: transparent; color: #123a5c; font: inherit; font-size: 10px; line-height: 1.4; cursor: pointer; }
.price-tab[aria-selected=true] { background: #052e55; color: white; box-shadow: 0 4px 10px #052e5520; }
.price-tab:focus-visible,.price-list__all:focus-visible { outline: 3px solid #da3347; outline-offset: 3px; }
.price-row { display: flex; align-items: center; gap: 16px; padding: 18px 5px; border-bottom: 1px solid #eaf0f5; border-radius: 10px; min-height: 85px; transition: background-color .18s ease, box-shadow .18s ease; }
@media (hover: hover) { .price-row:hover { background-color: #f3f7fb; box-shadow: inset 0 0 0 1px #e5edf5; } }
@media (prefers-reduced-motion: reduce) { .price-row { transition: none; } }
.price-row__icon { position: relative; display: block; width: 48px; height: 48px; flex-shrink: 0; overflow: hidden; border-radius: 12px; background: #edf3f8; }
.price-row__icon img { position: absolute; top: 50%; left: 50%; width: 155%; height: 155%; max-width: none; transform: translate(-50%,-50%); object-fit: contain; mix-blend-mode: multiply; }
.price-row__icon svg { width: 30px; height: 30px; margin: 9px; }
.price-row__copy { flex: 1; min-width: 0; }
.price-row__copy h4 { margin: 0 0 6px; font-size: 13px; color: #173655; line-height: 1.4; }
.price-row__copy p { margin: 0; font-size: 11px; color: #627e94; line-height: 1.5; }
.price-row__amount { flex-shrink: 0; color: #10385d; font-size: 14px; font-weight: 600; white-space: nowrap; }
.price-row__amount strong { font-weight: 700; }
.price-list__all { margin-top: 22px; border: 1px solid #d9414c; color: #bd202f; background: #fff; font-size: 11px; min-height: 42px; padding: 10px 22px; gap: 18px; }
.price-list__all .ui-icon { width: 15px; height: 15px; }
.price-list__all[aria-expanded=true] .ui-icon { transform: rotate(-90deg); }
.price-panel[hidden] { display: none; }
.price-panel__heading { display: none; }
.price-list.is-expanded .price-panel__heading { display: block; margin: 24px 0 6px; font-size: 17px; color: #173655; }
.price-banner { position: relative; isolation: isolate; overflow: hidden; color: white; border-radius: 12px; background: #031e3f; min-height: 564px; }
.price-banner__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; z-index: -2; }
.price-banner::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 0%,rgba(3,30,63,.2) 20%,#031e3f 43%); }
.price-banner__content { padding: 190px 28px 30px; }
.price-banner h3 { margin: 0 0 26px; font-size: clamp(19px,1.7vw,25px); line-height: 1.25; }
.price-banner__benefits { display: grid; gap: 21px; }
.price-banner__benefit { display: flex; align-items: center; gap: 14px; }
.price-banner__benefit h4 { font-size: 12px; margin: 0 0 5px; }
.price-banner__benefit p { font-size: 11px; line-height: 1.5; color: #c4d0de; margin: 0; }
.price-banner__icon { display: block; position: relative; width: 42px; height: 44px; flex-shrink: 0; overflow: hidden; }
.price-banner__icon img { position: absolute; top: 50%; left: 50%; width: 180%; height: 180%; max-width: none; object-fit: contain; transform: translate(-50%,-50%); mix-blend-mode: screen; filter: invert(1) grayscale(1); }
.price-banner__benefit:last-child .price-banner__icon img { width: 260%; height: 260%; }
.price-banner__icon svg { width: 100%; height: 100%; }
.price-empty { padding: 25px 0; color: #5e778e; }
@media (max-width:1100px) { .price-section__intro,.price-layout { grid-template-columns: minmax(0,1.8fr) minmax(0,1fr); gap: 18px; } .price-list { padding: 16px; } .price-tabs { flex-wrap: wrap; } .price-tab { flex: 1 1 28%; } .price-banner__content { padding: 210px 22px 25px; } .price-row { gap: 10px; } .price-row__copy h4 { font-size: 12px; } .price-row__amount { font-size: 12px; } }
@media (max-width:800px) { .price-section__intro,.price-layout { grid-template-columns: 1fr; } .price-section__intro { gap: 12px; } .price-banner { min-height: 0; } .price-banner__content { padding: 220px 28px 28px; } .price-banner::before { background: linear-gradient(180deg,transparent,#031e3f 57%); } .price-banner h3 { max-width: 450px; font-size: 24px; } .price-banner__benefits { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; } .price-banner__benefit { align-items: flex-start; } }
@media (max-width:600px) { .price-section { padding-block: 32px; } .price-section__eyebrow { font-size: 20px; margin-bottom: 24px; } .price-section__intro h2 { font-size: 28px; } .price-section__intro p { font-size: 12px; } .price-tabs { gap: 6px; } .price-tab { font-size: 10px; padding: 10px 6px; } .price-row { flex-wrap: wrap; padding: 16px 0; column-gap: 12px; row-gap: 8px; } .price-row__icon { width: 40px; height: 40px; } .price-row__copy { flex-basis: calc(100% - 52px); } .price-row__amount { margin-left: 52px; font-size: 14px; } .price-banner__benefits { grid-template-columns: 1fr; } .price-banner h3 { font-size: 23px; } .price-banner__benefit h4 { font-size: 13px; } .price-banner__benefit p { font-size: 12px; } }

.price-row__icon img { width: 132%; height: 132%; }
.price-row__amount { max-width: 40%; white-space: normal; text-align: right; }
@media (max-width:600px) { .price-row__amount { max-width: calc(100% - 52px); text-align: left; } }

.directions-section { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.35fr); gap: 28px; align-items: stretch; padding: 30px; margin-bottom: 50px; border: 1px solid #e1e8f0; border-radius: 14px; background: #fff; box-shadow: 0 6px 20px rgba(6,31,54,.045); }
.directions-copy { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; }
.directions-title { justify-content: flex-start; gap: 12px; margin: 0 0 14px; text-align: left; font-size: clamp(24px, 2.1vw, 32px); }
.directions-title::before { width: 30px; }
.directions-title::after { display: none; }
.directions-intro { position: relative; margin: 0 0 14px; padding-left: 30px; color: #285071; font-size: 14px; font-weight: 650; line-height: 1.55; }
.directions-intro::before { content: ''; position: absolute; left: 0; top: 9px; width: 20px; height: 2px; background: var(--af-red); }
.directions-text { margin: 0; color: #42607a; font-size: 14px; line-height: 1.6; }
.directions-meta { display: grid; width: 100%; gap: 8px; margin-top: 20px; }
.directions-meta__item { display: flex; align-items: center; gap: 10px; min-height: 42px; padding: 8px 12px; border-radius: 7px; background: #edf3f8; color: #315776; font-size: 14px; line-height: 1.4; }
.directions-meta__icon { display: grid; width: 22px; height: 22px; flex: 0 0 auto; place-items: center; color: #0a3c6a; }
.directions-meta__icon .ui-icon { width: 20px; height: 20px; }
.directions-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; width: 100%; margin-top: auto; padding-top: 16px; }
.directions-actions { margin-top: 0; }
.directions-actions .button { min-height: 42px; padding: 10px 18px; }
.directions-links { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-top: 12px; }
.directions-route { display: inline-flex; align-items: center; gap: 7px; color: #174d78; font-size: 14px; font-weight: 700; text-decoration: underline; }
.directions-route .ui-icon { width: 18px; height: 18px; }
.directions-route__hint { margin: 0; color: #71869a; font-size: 13px; }
.directions-media { position: relative; align-self: start; width: 100%; aspect-ratio: 16 / 9; min-height: 0; max-height: 520px; overflow: hidden; border-radius: 10px; background: #08294a; }
.directions-media > iframe, .directions-media > video, .directions-media__placeholder { display: block; width: 100%; height: 100%; min-height: 0; border: 0; }
.directions-media > video { object-fit: cover; background: #08294a; }
.directions-media__placeholder { position: relative; overflow: hidden; }
.directions-media__placeholder::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(3,17,38,.05) 30%, rgba(3,17,38,.72)); pointer-events: none; }
.directions-media__placeholder img { width: 100%; height: 100%; object-fit: cover; }
.directions-media__play { position: absolute; z-index: 1; top: 50%; left: 50%; width: 62px; height: 62px; display: grid; place-items: center; transform: translate(-50%, -50%); border: 2px solid rgba(255,255,255,.88); border-radius: 50%; background: rgba(12,59,100,.8); }
.directions-media__play span { display: block; margin-left: 4px; border-top: 10px solid transparent; border-bottom: 10px solid transparent; border-left: 15px solid #fff; }
.directions-media__caption { position: absolute; z-index: 1; right: 18px; bottom: 16px; left: 18px; color: #fff; font-size: 14px; font-weight: 700; text-shadow: 0 1px 3px rgba(0,0,0,.35); }
.company-section { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(0,1.6fr) minmax(0,.9fr); gap: 26px; align-items: stretch; padding: 30px; margin-bottom: 50px; background: #f2f7fb; border: 1px solid #edf2f7; border-radius: 14px; }
.company-copy h2 { color: #0d365d; font-size: 27px; line-height: 1.2; margin: 0 0 15px; }
.company-intro { position: relative; padding-left: 30px; color: #285071; font-size: 12px; font-weight: 600; line-height: 1.6; margin: 0 0 16px; }
.company-intro::before { content: ''; position: absolute; left: 0; top: 9px; width: 20px; height: 2px; background: #d5737e; }
.company-text { color: #42607a; font-size: 12px; line-height: 1.65; margin: 0 0 18px; }
.company-button { display: inline-flex; gap: 14px; min-height: 38px; padding: 10px 15px; font-size: 10px; box-shadow: none; }
.company-button .ui-icon { width: 15px; height: 15px; }
.company-more>summary { list-style: none; cursor: pointer; }
.company-more>summary::-webkit-details-marker { display: none; }
.company-more[open]>summary .ui-icon { transform: rotate(90deg); }
.company-more__text { margin-top: 16px; padding-top: 14px; border-top: 1px solid #d3dee8; font-size: 12px; line-height: 1.7; color: #42607a; }
.company-photo { width: 100%; height: 100%; min-height: 265px; max-height: 340px; object-fit: cover; border-radius: 9px; object-position: center; }
.company-facts { display: grid; gap: 9px; align-content: start; }
.company-fact { display: flex; align-items: center; gap: 12px; padding: 10px; min-height: 61px; background: #fff; border-radius: 7px; }
.company-fact__icon { position: relative; display: block; width: 40px; height: 43px; overflow: hidden; flex-shrink: 0; background: #edf3f9; border-radius: 9px; }
.company-fact__icon img { position: absolute; width: 160%; height: 160%; max-width: none; top: 50%; left: 50%; transform: translate(-50%,-50%); object-fit: contain; mix-blend-mode: multiply; }
.company-fact__icon svg { width: 100%; height: 100%; }
.company-fact h3 { font-size: 13px; line-height: 1.4; color: #173d61; margin: 0 0 3px; overflow-wrap: anywhere; }
.company-fact:nth-child(-n+2) h3 { font-size: 19px; }
.company-fact p { margin: 0; font-size: 11px; line-height: 1.4; color: #355673; }
@media(max-width:1100px) { .company-section { grid-template-columns: 1fr 1.3fr; gap: 22px; } .company-facts { grid-column: 1/-1; grid-template-columns: repeat(4,minmax(0,1fr)); } .company-fact { gap: 8px; padding: 9px; } .company-fact h3 { font-size: 11px; } .company-fact p { font-size: 10px; } }
@media(max-width:700px) { .company-section { grid-template-columns: 1fr; padding: 22px; } .company-photo { height: auto; min-height: 0; max-height: none; aspect-ratio: 4/3; } .company-facts { grid-template-columns: repeat(2,minmax(0,1fr)); } .company-copy h2 { font-size: 25px; } }
@media(max-width:380px) { .company-facts { grid-template-columns: 1fr; } .company-fact h3 { font-size: 13px; } .company-fact p { font-size: 12px; } }


/* Reviews and a shared booking form. */
.reviews-section { padding-block: 28px 24px; }
.reviews-section .section-title { margin-bottom: 18px; }
.reviews-note { text-align: center; color: #62768b; font-size: 14px; margin: 0 0 18px; }
.reviews-slider { position: relative; }
.reviews-track { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; align-items: flex-start; padding: 3px 1px 10px; }
.reviews-track::-webkit-scrollbar { display: none; }
.review-card { flex: 0 0 calc((100% - 36px)/3); min-width: 0; min-height: 235px; padding: 20px; border: 1px solid #e0e8f0; border-radius: 12px; background: #fff; box-shadow: 0 3px 10px #052a4910; scroll-snap-align: start; }
.review-card__header { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.review-card h3 { font-size: 16px; margin: 0 0 4px; color: #153f66; }
.review-card__header p { font-size: 14px; color: #5a748c; margin: 0; }
.review-stars { display: flex; flex-shrink: 0; gap: 2px; padding-top: 2px; }
.review-stars svg { width: 14px; height: 14px; fill: #dce4ed; }
.review-stars svg.is-filled { fill: #d91725; }
.review-card__body { position: relative; min-height: 125px; margin-top: 12px; padding-right: 80px; }
.review-card__body p { position: relative; z-index: 1; color: #4b6882; font-size: 14px; line-height: 1.6; margin: 0; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 5; overflow: hidden; }
.review-card__body img { position: absolute; right: -14px; bottom: -5px; width: 125px; height: 105px; object-fit: cover; object-position: center; mix-blend-mode: multiply; }
.review-card--no-image .review-card__body { padding-right: 0; }
.review-card.is-expanded .review-card__body p { display: block; }
.review-expand,.review-source { border: 0; background: transparent; color: #234f75; padding: 8px 0 0; font: inherit; font-size: 14px; cursor: pointer; text-decoration: underline; }
.review-source { display: block; }
.reviews-arrow { position: absolute; top: 90px; z-index: 2; width: 34px; height: 34px; border-radius: 50%; border: 1px solid #e4ebf2; background: white; color: #153f66; box-shadow: 0 3px 10px #061e3b12; display: grid; place-items: center; cursor: pointer; }
.reviews-arrow--prev { left: -16px; }.reviews-arrow--next { right: -16px; }.reviews-arrow--prev svg { transform: rotate(180deg); }.reviews-arrow svg { width: 17px; height: 17px; }
.reviews-arrow:disabled { opacity: .35; cursor: default; }
.reviews-dots { display: flex; justify-content: center; gap: 8px; margin-top: 10px; }
.reviews-dots button { width: 10px; height: 10px; border: 0; padding: 0; border-radius: 50%; background: #bfd0df; cursor: pointer; }
.reviews-dots button[aria-current=true] { background: #0e385f; }
.reviews-source-link { display: block; width: fit-content; margin: 16px auto 0; color: #1b527e; font-size: 14px; }
.yandex-widget { max-width: 760px; margin: auto; padding: 10px; background: #f0f5f9; border-radius: 16px; }
.yandex-widget iframe { width: 100%; min-height: 550px; border: 0; border-radius: 12px; background: white; }
.booking-section { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.3fr); align-items: center; gap: 25px; min-height: 165px; padding: 25px 28px 25px 180px; margin-block: 14px 36px; border-radius: 12px; background: #041e3a; color: #fff; }
.booking-visual { position: absolute; z-index: -1; inset: 0 auto 0 0; width: 205px; background-size: cover; background-position: 40% center; mask-image: linear-gradient(to right,#000 65%,transparent); }
.booking-copy h2 { margin: 0 0 10px; font-size: 20px; line-height: 1.3; }.booking-copy p { margin: 0; font-size: 14px; line-height: 1.6; color: #d4e1ee; }
.booking-form { gap: 9px; }.booking-form__fields { display: grid; grid-template-columns: 1fr 1fr 1.35fr; gap: 10px; }.booking-form .lead-form__field { min-width: 0; }.booking-form input:not([type=checkbox]) { width: 100%; min-height: 46px; font-size: 14px; padding: 12px; }.booking-form button { min-height: 46px; font-size: 14px; padding: 10px 15px; white-space: normal; }.booking-form .lead-form__consent { color: #d7e1ef; font-size: 14px; }.booking-form .lead-form__consent input { accent-color: #e61b2d; flex-shrink: 0; }.booking-form .lead-form__error:empty,.booking-form .lead-form__status:empty { display: none; }.booking-form .lead-form__status { margin: 0; text-align: left; font-size: 14px; }
/* Footer navigation, shared contacts and Yandex map. */
.site-footer { background: #031b35; color: #d5e0ec; padding: 36px 0 25px; scroll-margin-top: 48px; }
.footer-grid { display: grid; grid-template-columns: 1.15fr .7fr .9fr 1.25fr 1.4fr; gap: 26px; align-items: start; }
.footer-grid>nav { border-left: 1px solid #ffffff15; padding-left: 24px; }
.footer-logo { display: block; width: 190px; max-width: 100%; margin: -10px 0 10px; }.footer-logo img { width: 100%; height: auto; }
.footer-brand p { font-size: 14px; line-height: 1.55; margin: 0 0 14px; }.footer-brand .footer-copyright { margin: 14px 0 0; font-size: 14px; color: #9fb1c4; }
.site-footer h2 { font-size: 16px; line-height: 1.3; margin: 0 0 15px; color: white; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }.site-footer li { margin-bottom: 8px; }.site-footer a { color: #d5e0ec; text-decoration: none; font-size: 14px; line-height: 1.5; }.site-footer a:hover { color: white; text-decoration: underline; }
.footer-contacts>a,.footer-contacts>p { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.6; margin: 0 0 12px; overflow-wrap: anywhere; }.footer-contacts .ui-icon { width: 18px; height: 18px; margin-top: 3px; flex-shrink: 0; }
.messenger-links { display: flex; gap: 10px; align-items: center; }.messenger-links>a,.messenger-links>span { width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid #d9e6f2; border-radius: 50%; color: inherit; }.messenger-links .ui-icon { width: 18px; height: 18px; stroke-width: 1.6; }.messenger-links__pending { opacity: .7; }
.site-header .messenger-links { color: #11314e; }
.footer-map iframe { display: block; width: 100%; height: 180px; border: 0; border-radius: 9px; background: #eaf0f5; }.footer-map .footer-route { display: block; text-align: center; margin-top: 8px; padding: 8px; border: 1px solid #66809a; border-radius: 6px; font-size: 14px; font-weight: 600; }.footer-map p { text-align: center; margin: 7px 0 0; color: #b1c0d0; font-size: 14px; }
.service-card[id] { scroll-margin-top: 90px; }
@media(max-width:1200px) { .footer-grid { grid-template-columns: 1.15fr .8fr 1fr; }.footer-contacts { grid-column: 1/2; }.footer-map { grid-column: 2/4; }.booking-section { padding-left: 140px; }.booking-visual { width: 170px; }.booking-form__fields { grid-template-columns: 1fr 1fr; }.booking-form__fields>button { grid-column: 1/-1; } }
@media(max-width:900px) { .review-card { flex-basis: calc((100% - 18px)/2); }.booking-section { grid-template-columns: 1fr; padding: 28px 28px 28px 180px; }.booking-form__fields { grid-template-columns: 1fr 1fr 1.4fr; }.booking-form__fields>button { grid-column: auto; }.booking-visual { width: 210px; } }
@media(max-width:600px) { .review-card { flex-basis: 100%; min-height: 230px; }.reviews-section { padding-block: 26px 18px; }.booking-section { padding: 180px 22px 24px; grid-template-columns: 1fr; gap: 20px; }.booking-visual { width: 100%; height: 190px; inset: 0 0 auto; background-position: center 55%; mask-image: linear-gradient(to bottom,#000 65%,transparent); }.booking-form__fields { grid-template-columns: 1fr; }.booking-copy h2 { font-size: 22px; }.footer-grid { grid-template-columns: 1fr 1fr; gap: 30px 20px; }.footer-brand { grid-column: 1/-1; }.footer-contacts,.footer-map { grid-column: 1/-1; }.footer-grid>nav { padding-left: 0; border: 0; }.footer-map iframe { height: 240px; }.yandex-widget { padding: 0; }.review-stars svg { width: 13px; } }
/* Larger minimum text sizes across all earlier blocks, as requested. */
.hero__eyebrow,.contact-item,.primary-navigation a,.hero__actions .button,.site-header__cta { font-size: 14px; }
.benefit-card h2,.service-card h3,.reason-card h3,.price-row__copy h4 { font-size: 16px; line-height: 1.4; }
.benefit-card p,.brand-card p,.reason-card p,.price-row__copy p,.price-section__intro p,.price-tab,.company-intro,.company-text,.company-more__text { font-size: 14px; line-height: 1.6; }
@media (max-width:600px) { #why-us .reasons-grid { row-gap: 28px; } #why-us .reason-card { padding-inline: 4px; } #why-us .reason-card h3 { width: 100%; min-width: 0; font-size: 13.5px; overflow-wrap: anywhere; } }
.button,.company-button,.callback-form .lead-form__field,.callback-form input,.callback-form__submit,.callback-form .lead-form__consent,.lead-form__consent,.lead-form__field,.lead-form__error,.lead-form__status { font-size: 14px; }
.price-row__amount { font-size: 16px; }.price-banner__benefit h4 { font-size: 16px; }.price-banner__benefit p { font-size: 14px; }.price-banner h3 { font-size: clamp(23px,1.9vw,27px); }.estimate-banner h2 { font-size: clamp(23px,1.85vw,28px); }.estimate-banner p,.estimate-banner__benefits>span { font-size: 14px; }.company-fact h3 { font-size: 16px; }.company-fact:nth-child(-n+2) h3 { font-size: 21px; }.company-fact p { font-size: 14px; }
.benefit-card { min-height: 150px; }.hero__inner { min-height: 380px; }.brand-card { min-height: 235px; }.brand-card p { max-width: 70%; }.service-card { min-height: 100px; }.price-tabs { flex-wrap: wrap; }.price-tab { flex: 1 1 25%; }.estimate-banner__benefits { flex-wrap: wrap; }.company-photo { max-height: none; }.company-section { grid-template-columns: minmax(0,1.2fr) minmax(0,1.4fr) minmax(0,1fr); }.company-fact { min-height: 78px; }
@media(max-width:1100px) { .directions-section { grid-template-columns: 1fr 1.25fr; gap: 22px; padding: 24px; }.directions-media, .directions-media > iframe, .directions-media > video, .directions-media__placeholder { min-height: 0; }.company-section { grid-template-columns: 1fr 1.2fr; }.company-facts { grid-template-columns: repeat(2,minmax(0,1fr)); }.hero__benefits { width: 34%; }.brand-card p { max-width: 95%; }.brand-card { min-height: 265px; }.price-tab { flex-basis: 40%; } }
@media(max-width:900px) { .hero__benefits { width: 100%; }.service-card { flex-direction: column; text-align: center; }.company-photo { min-height: 340px; }.price-row { flex-wrap: wrap; }.price-row__amount { margin-left: 58px; }.price-row__copy { flex-basis: calc(100% - 65px); } }
@media(max-width:700px) { .directions-section { grid-template-columns: 1fr; padding: 22px; }.directions-media, .directions-media > iframe, .directions-media > video, .directions-media__placeholder { min-height: 0; }.company-section { grid-template-columns: 1fr; }.company-photo { min-height: 0; }.company-copy { min-width: 0; } }
@media(max-width:600px) { .directions-section { margin-bottom: 36px; padding: 20px 16px; border-radius: 12px; }.directions-title { font-size: 24px; }.directions-media, .directions-media > iframe, .directions-media > video, .directions-media__placeholder { min-height: 0; }.directions-media__caption { right: 12px; bottom: 12px; left: 12px; font-size: 13px; }.directions-meta__item,.directions-route { font-size: 14px; }.hero__inner { min-height: 0; }.brand-card { min-height: 250px; }.brand-card p { max-width: 95%; }.price-tab { font-size: 14px; }.company-facts { grid-template-columns: 1fr; }.price-banner__content { padding-top: 240px; }.estimate-banner h2 { font-size: 25px; }.service-card { padding: 14px 9px; }.services-grid { gap: 10px; } }
img[src=""] { display: none; }
@media(prefers-reduced-motion:reduce) { html,.reviews-track { scroll-behavior: auto !important; } }


.review-card__body { padding-right: 0; display: grid; grid-template-columns: minmax(0,1fr) 105px; gap: 10px; }
.review-card__body img { position: static; align-self: end; width: 105px; height: 110px; object-fit: contain; }
.review-card--no-image .review-card__body { grid-template-columns: 1fr; }
@media(max-width:600px) { .review-card__body { display: block; padding-bottom: 78px; }.review-card__body img { position: absolute; width: 115px; height: 90px; bottom: -10px; right: 0; }.review-card--no-image .review-card__body { padding-bottom: 0; } }

.hero__description { font-size: max(14px,1rem); }
@media(max-width:380px) { .company-fact { flex-direction: column; align-items: flex-start; } }

.review-card__body p { align-self: start; }

.services-catalog__grid p,.services-catalog__body > .button,.lead-dialog__eyebrow { font-size: 14px; }
