/* Еавто — главная по макету (статическая вёрстка) */

:root {
  --bg: #f0f2f5;
  --surface: #ffffff;
  --text: #1a1d24;
  --muted: #5c6570;
  --accent: #e85f00;
  --accent-hover: #ff6a00;
  --dark: #141414;
  --border: rgba(0, 0, 0, 0.08);
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.06);
  --radius: 16px;
  --radius-lg: 20px;
  --max: 1320px;
  --font: "Manrope", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 90% 60% at 90% -5%, rgba(255, 106, 0, 0.12), transparent 55%),
    linear-gradient(180deg, #fafbfc 0%, var(--bg) 30%);
}

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

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

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ——— Header ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.site-header__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 2rem);
  height: 76px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
}

.brand {
  display: flex;
  padding: 0.4rem 0.75rem;
  border-radius: 10px;
  background: var(--dark);
}

.brand img {
  max-height: 42px;
  width: auto;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.site-nav a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--muted);
  transition: color 0.2s;
}

.site-nav a:hover {
  color: var(--text);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 0 auto;
  background: var(--text);
  border-radius: 1px;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem clamp(1rem, 3vw, 2rem) 1.25rem;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.mobile-menu a {
  padding: 0.6rem 0;
  font-weight: 600;
  color: var(--muted);
}

.mobile-menu .btn--cta {
  margin-top: 0.5rem;
  justify-content: center;
}

@media (max-width: 820px) {
  .site-nav,
  .site-header__inner > .btn--cta {
    display: none;
  }

  .menu-toggle {
    display: flex;
    grid-column: 3;
  }

  .mobile-menu:not([hidden]) {
    display: flex;
  }
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.btn__icon {
  width: 20px;
  height: 20px;
  color: inherit;
}

.btn__icon svg {
  width: 100%;
  height: 100%;
}

.btn--cta {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 16px rgba(232, 95, 0, 0.35);
}

.btn--cta:hover {
  background: var(--accent-hover);
}

.btn--cta .btn__icon {
  color: #fff;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 16px rgba(232, 95, 0, 0.35);
}

.btn--primary:hover {
  background: var(--accent-hover);
}

.btn--primary .btn__icon {
  color: #fff;
}

/* ——— Layout ——— */
.site {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 2rem) 2.5rem;
}

.panel {
  margin-bottom: 1.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.panel__inner {
  padding: clamp(1.5rem, 3vw, 2.5rem);
}

.band {
  margin: 0 calc(-1 * clamp(1rem, 3vw, 2rem)) 1.75rem;
  padding: 2rem clamp(1rem, 3vw, 2rem);
}

.band--reviews {
  background: #e8eaee;
}

.band .panel {
  margin-bottom: 0;
}

.section-heading {
  margin: 0 0 1.25rem;
  font-size: clamp(1.75rem, 3vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

/* ——— Hero ——— */
.hero {
  position: relative;
  margin-bottom: 1.75rem;
  padding: 2.5rem 0 3.5rem;
  overflow: hidden;
}

.hero__glow {
  position: absolute;
  top: -20%;
  right: -5%;
  width: 65%;
  height: 90%;
  background: radial-gradient(ellipse at 70% 30%, rgba(255, 106, 0, 0.18), transparent 62%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.8fr);
  gap: 2rem;
  align-items: center;
}

.hero__eyebrow {
  margin: 0 0 1rem;
  font-size: clamp(0.65rem, 1.5vw, 0.82rem);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  line-height: 1.45;
}

.hero__title {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 5vw, 3.15rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.hero__text {
  margin: 0 0 1.75rem;
  max-width: 540px;
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.65;
}

.hero__logo-card {
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  width: 100%;
  max-width: 360px;
  padding: 2.5rem 2.75rem;
  border-radius: var(--radius-lg);
  background: var(--dark);
  box-shadow: var(--shadow);
  transform: rotate(-5deg);
  transition: transform 0.25s;
}

.hero__logo-card:hover {
  transform: rotate(-2deg) scale(1.02);
}

.hero__logo-card img {
  max-height: 120px;
  width: auto;
}

@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
  }

  .hero__logo-card {
    max-width: 300px;
    margin: 0 auto;
    transform: rotate(-2deg);
  }
}

/* ——— About ——— */
.about {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 2.5rem;
  align-items: start;
}

.about__media {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

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

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.tag {
  padding: 0.42rem 0.95rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent);
  border: 1.5px solid rgba(232, 95, 0, 0.45);
}

.benefits {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.benefits__item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.benefits__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255, 106, 0, 0.1);
  color: var(--accent);
}

.benefits__icon svg {
  width: 22px;
  height: 22px;
}

.benefits__item strong {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 1.02rem;
}

.benefits__item p {
  margin: 0;
  color: var(--muted);
  font-weight: 600;
}

.about__address {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 1.5rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  font-weight: 700;
}

.about__address-icon {
  width: 22px;
  height: 22px;
  color: var(--accent);
}

.about__address-icon svg {
  width: 100%;
  height: 100%;
}

@media (max-width: 900px) {
  .about {
    grid-template-columns: 1fr;
  }
}

/* ——— Reviews ——— */
.reviews {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 500px);
  gap: 2.5rem;
  align-items: start;
}

.reviews__sub {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
  font-weight: 800;
}

.reviews__intro {
  margin: 0 0 1.25rem;
  color: var(--muted);
  line-height: 1.65;
}

.highlights {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.highlights__item {
  padding: 1rem 0.75rem;
  text-align: center;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg);
}

.highlights__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0 auto 0.55rem;
  border-radius: 10px;
  background: rgba(255, 106, 0, 0.1);
  color: var(--accent);
}

.highlights__icon svg {
  width: 20px;
  height: 20px;
}

.highlights__item strong {
  display: block;
  font-size: 0.88rem;
  margin-bottom: 0.2rem;
}

.highlights__item span {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 600;
}

.reviews__cta {
  margin: 0;
  font-weight: 700;
  color: var(--accent);
}

.reviews__widget {
  display: flex;
  flex-direction: column;
  height: 620px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--surface);
}

.reviews__widget iframe {
  flex: 1;
  width: 100%;
  border: 0;
}

.reviews__widget-link {
  padding: 0.6rem 1rem;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent);
  background: #f0f1f4;
  border-top: 1px solid var(--border);
}

.reviews__widget-link:hover {
  color: var(--accent-hover);
}

@media (max-width: 960px) {
  .reviews {
    grid-template-columns: 1fr;
  }

  .reviews__widget {
    height: min(560px, 70vh);
  }

  .highlights {
    grid-template-columns: 1fr;
  }

  .highlights__item {
    display: flex;
    gap: 0.85rem;
    text-align: left;
    align-items: center;
  }

  .highlights__icon {
    margin: 0;
  }
}

/* ——— Contacts ——— */
.contacts__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.contacts__bottom {
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  gap: 1rem;
  align-items: stretch;
}

.card {
  display: flex;
  gap: 0.85rem;
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg);
}

.card--accent {
  border-color: rgba(232, 95, 0, 0.35);
  background: linear-gradient(135deg, rgba(255, 106, 0, 0.06), var(--surface));
}

.card__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255, 106, 0, 0.1);
  color: var(--accent);
}

.card__icon svg {
  width: 22px;
  height: 22px;
}

.card__title {
  margin: 0 0 0.25rem;
  font-size: 0.95rem;
  font-weight: 800;
}

.card__text {
  margin: 0;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.5;
}

.card__phone {
  display: block;
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--accent);
}

.card__phone:hover {
  color: var(--accent-hover);
}

.card__meta {
  margin: 0.2rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 600;
}

.hours {
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.75;
}

.map {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  min-height: 420px;
  background: var(--surface);
}

.map__frame {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
}

.map__btn {
  position: absolute;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 4;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
}

.embed-scroll-shield {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  cursor: default;
}

.embed-scroll-shield p {
  margin: 0;
  padding: 0.6rem 0.9rem;
  max-width: 14rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

.embed-scroll-guard:hover .embed-scroll-shield p {
  opacity: 1;
}

.embed-scroll-guard.is-active .embed-scroll-shield {
  pointer-events: none;
  opacity: 0;
}

@media (max-width: 1024px) {
  .contacts__cards {
    grid-template-columns: 1fr;
  }

  .contacts__bottom {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .map__btn {
    right: 1rem;
    left: 1rem;
    width: calc(100% - 2rem);
  }
}

/* ——— Footer ——— */
.site-footer {
  padding: 1.5rem clamp(1rem, 3vw, 2rem);
  background: #e4e6ea;
  border-top: 1px solid var(--border);
}

.site-footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  text-align: center;
}

.site-footer p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.6;
}

.site-footer__muted {
  margin-top: 0.35rem !important;
  font-size: 0.78rem !important;
}
