:root {
  --bg: #f6f1e8;
  --paper: #fffaf1;
  --ink: #17221d;
  --muted: #66736b;
  --line: #ded2bd;
  --green: #19372d;
  --green-2: #244b3d;
  --gold: #c69a48;
  --amber: #e7c878;
  --red: #9f4d38;
  --soft: #efe4d1;
  --shadow: 0 22px 55px rgba(24, 35, 29, 0.14);
  --radius: 22px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family:
    Inter,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
  background:
    radial-gradient(
      circle at top left,
      rgba(198, 154, 72, 0.18),
      transparent 34rem
    ),
    var(--bg);
  line-height: 1.65;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea {
  font: inherit;
}
.container {
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
}
.skip-link {
  position: absolute;
  top: -80px;
  left: 16px;
  z-index: 100;
  background: var(--gold);
  color: #111;
  padding: 10px 14px;
  border-radius: 12px;
}
.skip-link:focus {
  top: 16px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 250, 241, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(222, 210, 189, 0.75);
}
.header__inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 850;
  letter-spacing: -0.03em;
  color: var(--green);
}
.brand__mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid !important;
  place-items: center;
  color: var(--paper);
  background: linear-gradient(135deg, var(--green), #0d1d18);
  box-shadow: inset 0 0 0 2px rgba(231, 200, 120, 0.35);
}
.brand__text {
  font-size: 1.35rem;
}
.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav__link {
  color: var(--muted);
  padding: 10px 12px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 650;
}
.nav__link:hover,
.nav__link.is-active {
  background: var(--soft);
  color: var(--green);
}
.header-phone {
  color: var(--green);
  font-weight: 800;
}
.menu-btn {
  display: none;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 999px;
  padding: 9px 14px;
  color: var(--green);
}

.hero {
  position: relative;
  overflow: hidden;
  background-image: url(../assets/hero-workshop.png);
background-position: center;
background-repeat: no-repeat;
background-size: cover;
  color: #fff;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(14, 27, 22, 0.96) 0%,
      rgba(20, 49, 39, 0.88) 44%,
      rgba(20, 49, 39, 0.45) 100%
    ),
    var(--hero-image, none);
  background-size: cover;
  background-position: center right;
  transform: scale(1.01);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 80px;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(246, 241, 232, 0.98)
  );
}
.hero__grid {
  position: relative;
  z-index: 1;
  min-height: 660px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  padding-block: 92px;
}
.hero__content {
  max-width: 720px;
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 900;
}
h1,
h2,
h3 {
  margin: 0;
  line-height: 1.06;
  letter-spacing: -0.045em;
  font-family: Georgia, "Times New Roman", serif;
}
h1 {
  font-size: clamp(2.7rem, 6vw, 3.8rem);
}
h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
}
h3 {
  font-size: 1.45rem;
}
.lead {
  font-size: clamp(1.06rem, 2vw, 1.32rem);
  max-width: 680px;
  color: rgba(255, 255, 255, 0.84);
  margin: 24px 0 0;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 13px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  color: #1b160c;
  background: linear-gradient(135deg, var(--gold), var(--amber));
  font-weight: 850;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.16);
}
.btn--light {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.32);
}
.btn--ghost {
  color: var(--green);
  background: var(--soft);
  border-color: var(--line);
}
.hero__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 42px 0 0;
  max-width: 700px;
}
.hero__facts div {
  border: 1px solid rgba(231, 200, 120, 0.28);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 16px;
}
.hero__facts dt {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.84rem;
}
.hero__facts dd {
  margin: 4px 0 0;
  font-weight: 900;
  font-size: 1.05rem;
}
.inspection-card {
  justify-self: end;
  width: min(100%, 410px);
  padding: 18px;
  border-radius: 34px;
  background: rgba(255, 250, 241, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.25);
}
.inspection-card__inner {
  border-radius: 26px;
  overflow: hidden;
  background: var(--paper);
  color: var(--ink);
}
.inspection-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.inspection-card__text {
  padding: 22px;
}
.inspection-card__text strong {
  display: block;
  font-family: Georgia, serif;
  font-size: 1.5rem;
  line-height: 1.1;
}
.inspection-card__text span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}

.inspection-card__inner--info {
  padding: 28px;
  background:
    radial-gradient(
      circle at top right,
      rgba(198, 154, 72, 0.18),
      transparent 8rem
    ),
    linear-gradient(
      180deg,
      rgba(255, 250, 241, 0.98),
      rgba(239, 228, 209, 0.96)
    );
}
.inspection-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.inspection-list {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  gap: 12px;
}
.inspection-list li {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(25, 55, 45, 0.06);
  color: var(--green);
  font-weight: 700;
}
.card__media {
  margin: -28px -28px 22px;
  overflow: hidden;
  border-radius: 22px 22px 18px 18px;
}
.card__media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.card--service {
  padding-top: 28px;
}
.card--service .icon {
  margin-top: 2px;
}

.section {
  padding: 88px 0;
}
.section--tight {
  padding: 56px 0;
}
.section--paper {
  background: rgba(255, 250, 241, 0.65);
  border-block: 1px solid rgba(222, 210, 189, 0.7);
}
.section--dark {
  background: var(--green);
  color: #fff;
}
.section--dark p {
  color: rgba(255, 255, 255, 0.76);
}
.section__head {
  max-width: 770px;
  margin-bottom: 34px;
}
.section__head.center {
  text-align: center;
  margin-inline: auto;
}
.section__head p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.08rem;
}
.cards {
  display: grid;
  gap: 22px;
}
.cards--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.cards--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 10px 32px rgba(24, 35, 29, 0.07);
}
.card .icon {
  width: 48px;
  height: 48px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: var(--soft);
  color: var(--green);
  font-size: 1.3rem;
  margin-bottom: 20px;
}
.card p {
  color: var(--muted);
  margin-bottom: 0;
}
.card ul {
  margin: 16px 0 0;
  padding-left: 19px;
  color: var(--muted);
}
.price {
  display: inline-block;
  margin: 16px 0 4px;
  color: var(--green);
  font-size: 1.8rem;
  font-weight: 950;
}
.split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 42px;
  align-items: center;
}
.feature-image {
  border-radius: 32px;
  overflow: hidden;
  border: 1px solid rgba(231, 200, 120, 0.35);
  box-shadow: var(--shadow);
}
.feature-image img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}
.steps {
  display: grid;
  gap: 14px;
}
.steps div {
  display: grid;
  grid-template-columns: 68px 1fr;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.steps span {
  color: var(--gold);
  font-weight: 950;
  font-size: 1.3rem;
}
.steps p {
  margin: 0;
  font-size: 1.08rem;
}
.timeline {
  display: grid;
  gap: 18px;
  counter-reset: item;
}
.timeline__item {
  position: relative;
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 18px;
  align-items: start;
}
.timeline__num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--green);
  color: var(--gold);
  font-weight: 950;
}
.timeline__item p {
  color: var(--muted);
  margin: 8px 0 0;
}
.map-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 32px;
  align-items: center;
}
.map-box {
  margin: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 12px;
  border-radius: 30px;
  box-shadow: var(--shadow);
}
.map-box img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 22px;
}
.text-link {
  color: var(--green);
  font-weight: 900;
  border-bottom: 2px solid var(--gold);
}
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 28px;
}
.contact-card,
.form-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 10px 32px rgba(24, 35, 29, 0.07);
}
.contact-list {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}
.contact-list div {
  padding: 16px;
  border-radius: 17px;
  background: var(--soft);
}
.contact-list strong {
  display: block;
  color: var(--green);
}
.form-grid {
  display: grid;
  gap: 16px;
}
.form-grid label {
  display: grid;
  gap: 6px;
  font-weight: 800;
  color: var(--green);
}
.form-grid input,
.form-grid textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 13px 14px;
  background: #fffdf8;
  color: var(--ink);
}
.form-grid textarea {
  min-height: 132px;
  resize: vertical;
}
.legal {
  max-width: 900px;
}
.legal h2 {
  margin-top: 34px;
  font-size: 2rem;
}
.legal p,
.legal li {
  color: var(--muted);
}
.legal ul {
  padding-left: 20px;
}
.footer {
  background: #111d18;
  color: rgba(255, 255, 255, 0.76);
  padding: 56px 0 28px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.7fr 0.7fr 1fr;
  gap: 30px;
}
.footer h2 {
  font-family: Inter, system-ui, sans-serif;
  font-size: 1rem;
  letter-spacing: 0.02em;
  color: var(--gold);
  margin-bottom: 12px;
}
.footer a,
.footer span {
  display: block;
  margin: 8px 0;
  color: rgba(255, 255, 255, 0.75);
}
.footer a:hover {
  color: var(--gold);
}
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  margin-top: 34px;
  padding-top: 22px;
  font-size: 0.92rem;
}
.cookie {
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  width: min(980px, calc(100% - 36px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  background: rgba(255, 250, 241, 0.97);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 18px;
  box-shadow: var(--shadow);
}
.cookie[hidden] {
  display: none;
}
.cookie__text {
  color: var(--muted);
}
.cookie__text a {
  color: var(--green);
  font-weight: 850;
  text-decoration: underline;
}
.cookie__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

@media (max-width: 980px) {
  .menu-btn {
    display: inline-flex;
  }
  .nav {
    position: absolute;
    top: 78px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 12px;
    box-shadow: var(--shadow);
  }
  .nav.is-open {
    display: flex;
  }
  .header-phone {
    display: none;
  }
  .hero__grid,
  .split,
  .map-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .inspection-card {
    justify-self: start;
  }
  .cards--three,
  .cards--two,
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 680px) {
  .container {
    width: min(100% - 24px, var(--max));
  }
  .hero__grid {
    min-height: auto;
    padding-block: 70px;
  }
  .hero__facts,
  .cards--three,
  .cards--two,
  .footer__grid {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 64px 0;
  }
  .cookie {
    grid-template-columns: 1fr;
  }
  .cookie__actions .btn {
    flex: 1;
  }
}
