:root {
  --yellow: #ffd936;
  --yellow-dark: #dab200;
  --green: #536942;
  --green-soft: rgba(82, 104, 64, 0.75);
  --green-line: rgba(82, 104, 64, 0.3);
  --bg: #ffffff;
  --bg-soft: #f6f8f5;
  --text: #2c3624;
  --muted: rgba(82, 104, 64, 0.75);
  --font: "DM Sans", system-ui, sans-serif;
  --font-display: "Forum", Georgia, serif;
  --container: 1180px;
  --header-h: 88px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--muted);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
h1, h2, h3 { color: var(--text); line-height: 1.2; margin: 0 0 0.6em; }
p { margin: 0 0 1em; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
}
.skip-link:focus { left: 12px; background: #fff; padding: 8px 12px; z-index: 100; }

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.wrap {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  height: var(--header-h);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 100%;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.site-logo img,
.site-logo__mark { width: 40px; height: 40px; }
.custom-logo-link img { width: auto; height: 48px; }
.site-logo__text span { font-weight: 400; }

.main-nav { margin-left: auto; }
.main-nav ul {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav a {
  color: #fff;
  font-size: 15px;
  font-weight: 500;
}
.main-nav .current-menu-item a { color: var(--yellow); }

.header-email {
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: #fff;
  padding: 10px 16px;
  font-size: 13px;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  position: relative;
}
.nav-toggle__bar,
.nav-toggle__bar::before,
.nav-toggle__bar::after {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  position: absolute;
  left: 11px;
}
.nav-toggle__bar { top: 21px; }
.nav-toggle__bar::before { content: ""; top: -7px; }
.nav-toggle__bar::after { content: ""; top: 7px; }

.hero,
.page-hero,
.questions {
  position: relative;
  min-height: 72vh;
  display: grid;
  place-items: center;
  color: #fff;
  overflow: hidden;
}
.hero { min-height: 100vh; }
.hero__media,
.page-hero__media,
.questions__media {
  position: absolute;
  inset: 0;
}
.hero__media img,
.page-hero__media img,
.questions__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.25) 40%, rgba(0,0,0,.45));
}
.hero__content,
.page-hero__content,
.questions__content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 120px 20px 64px;
}
.hero__kicker {
  color: #fff;
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 500;
  margin-bottom: 8px;
}
.hero__title {
  color: #fff;
  font-size: clamp(40px, 7vw, 84px);
  font-weight: 700;
  margin: 0 0 12px;
}
.hero__slogan {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 36px);
  color: var(--yellow);
  margin-bottom: 28px;
}
.page-hero { min-height: 42vh; }
.page-hero__label {
  font-family: var(--font-display);
  font-size: clamp(42px, 7vw, 76px);
  color: #fff;
  margin: 0;
  font-weight: 400;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 28px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 700;
}
.btn--yellow { background: var(--yellow); color: #111; }
.btn--yellow:hover { background: var(--yellow-dark); }
.btn--ghost { border-color: #111; color: #111; background: #fff; }
.btn--ghost:hover { background: #111; color: #fff; }

.section { padding: 88px 0; }
.section-heading {
  text-align: center;
  font-size: 36px;
  margin-bottom: 48px;
  position: relative;
}
.section-heading::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  background: var(--yellow);
  margin: 12px auto 0;
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: start;
}
.service-card--2 { margin-top: -48px; }
.service-card h3 {
  font-family: var(--font-display);
  font-size: 32px;
  margin: 20px 0 12px;
}
.service-card p { font-size: 15px; }
.service-card__media img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }

.review { background: var(--bg-soft); text-align: center; }
.review__quotes { margin: 0 auto 24px; }
.review blockquote { margin: 0; }
.review p {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 34px);
  color: var(--green);
  line-height: 1.45;
  max-width: 820px;
  margin: 0 auto 24px;
}
.review footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.review__photo,
.review img.review__photo,
.review picture.review__photo img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}
.review cite { font-style: normal; font-size: 14px; color: var(--muted); }

.about-teaser__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 13px;
  color: var(--green);
  margin-bottom: 12px;
}
.about-teaser h2 { font-size: clamp(26px, 3vw, 36px); }
.about-teaser__media img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }

.questions { min-height: 56vh; }
.questions::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(246,248,245,.92), rgba(246,248,245,.55) 50%, transparent);
}
.questions__content { text-align: left; max-width: 640px; margin-left: 8%; }
.questions h2 {
  font-size: clamp(40px, 6vw, 72px);
  color: var(--green);
  letter-spacing: 0.04em;
}
.questions p { color: var(--green-soft); max-width: 520px; }

.site-footer { padding: 48px 0 24px; border-top: 1px solid var(--green-line); }
.site-footer__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-nav a { font-size: 14px; color: var(--text); }
.footer-mark img { width: 56px; height: 56px; margin: 0 auto; }
.footer-brand { text-align: right; font-weight: 700; color: var(--text); }
.footer-copy { margin-top: 24px; font-size: 13px; color: var(--muted); }

.service-row {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 72px;
}
.service-row__media img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.service-row h2 { font-family: var(--font-display); font-size: 40px; }
.service-row__price { font-weight: 700; font-size: 28px; color: var(--text); }

.why { background: var(--bg-soft); }
.why__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.why h2 { font-family: var(--font-display); font-size: 36px; }
.why__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.why__stats li {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  color: var(--text);
  font-weight: 600;
}
.why__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1px solid var(--green-line);
  position: relative;
}
.why__icon::before {
  content: "";
  position: absolute;
  inset: 18px;
  background: var(--green);
}
.why__icon--medal::before { clip-path: polygon(50% 0, 100% 38%, 82% 100%, 18% 100%, 0 38%); }
.why__icon--star::before { clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
.why__icon--time::before { border-radius: 50%; clip-path: none; inset: 16px; box-shadow: inset 0 0 0 3px var(--bg-soft); }
.why__icon--support::before { clip-path: circle(42% at 50% 50%); }

.prose { max-width: 820px; }
.prose h1 { font-size: clamp(28px, 4vw, 40px); }
.prose h2 { font-size: 26px; margin-top: 1.6em; }
.prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: 0.8em; }
.lead { font-size: 20px; text-align: center; margin-bottom: 40px; color: var(--green); }
.muted { color: var(--muted); }

.gallery {
  columns: 3;
  column-gap: 16px;
}
.gallery__item {
  display: block;
  width: 100%;
  margin: 0 0 16px;
  border: 0;
  padding: 0;
  background: none;
  cursor: zoom-in;
  break-inside: avoid;
}
.gallery__item img { width: 100%; }

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.86);
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(92vw, 1200px); max-height: 90vh; object-fit: contain; }
.lightbox__close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: 0;
  color: #fff;
  font-size: 40px;
  cursor: pointer;
}

.videos__list { display: grid; gap: 32px; }
.video-embed__frame { position: relative; padding-top: 56.25%; background: #111; }
.video-embed__frame iframe,
.video-embed__frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}
.contacts-list { margin: 0; }
.contacts-list dt {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 13px;
  margin-top: 24px;
}
.contacts-list dd { margin: 6px 0 0; color: var(--text); }
.contacts-list a { color: var(--green); }

.contact-form { display: grid; gap: 16px; }
.contact-form label span { display: block; font-size: 13px; margin-bottom: 6px; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--green-line);
  padding: 10px 0;
  background: transparent;
}
.contact-form .hp { position: absolute; left: -9999px; }
.form-status { min-height: 1.4em; }
.form-status.is-ok { color: var(--green); }
.form-status.is-err { color: #a33; }

body:not(.is-front) .site-header { position: absolute; }

@media (max-width: 1024px) {
  .service-card--2 { margin-top: 0; }
  .about-teaser__grid,
  .why__grid,
  .service-row,
  .contacts-grid { grid-template-columns: 1fr; }
  .questions__content { margin-left: auto; margin-right: auto; }
  .gallery { columns: 2; }
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .header-email { display: none; }
  .main-nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(84vw, 360px);
    background: #1a1a1a;
    padding: 88px 24px 24px;
    transform: translateX(100%);
    transition: transform .2s ease;
  }
  .main-nav.is-open { transform: none; }
  .main-nav ul { flex-direction: column; gap: 18px; }
  .service-cards { grid-template-columns: 1fr; }
  .site-footer__inner { grid-template-columns: 1fr; text-align: center; }
  .footer-nav ul { justify-content: center; }
  .footer-brand { text-align: center; }
  .gallery { columns: 1; }
  .hero, .page-hero { min-height: 70vh; }
}

@media (max-width: 480px) {
  .wrap { width: min(100% - 1.25rem, var(--container)); }
  .section { padding: 56px 0; }
  .why__stats { grid-template-columns: 1fr; }
}
