:root {
  --bg: #f7f5e8;
  --surface: rgba(255, 255, 255, 0.82);
  --text: #2f3f18;
  --muted: #657247;
  --primary: #879b3f;
  --primary-deep: #6d8031;
  --line: rgba(47, 63, 24, 0.14);
  --shadow: 0 22px 55px rgba(109, 128, 49, 0.17);
  --overlay: linear-gradient(90deg, rgba(247, 245, 232, 0.98) 0%, rgba(247, 245, 232, 0.93) 43%, rgba(247, 245, 232, 0.3) 72%, rgba(247, 245, 232, 0.08) 100%);
}

html[data-theme="dark"] {
  --bg: #18221c;
  --surface: rgba(27, 38, 31, 0.88);
  --text: #e4ead4;
  --muted: #aab79b;
  --primary: #9bb35a;
  --primary-deep: #b6cb73;
  --line: rgba(228, 234, 212, 0.14);
  --shadow: 0 22px 55px rgba(0, 0, 0, 0.28);
  --overlay: linear-gradient(90deg, rgba(24, 34, 28, 0.99) 0%, rgba(24, 34, 28, 0.94) 43%, rgba(24, 34, 28, 0.4) 72%, rgba(24, 34, 28, 0.14) 100%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: Georgia, "Times New Roman", serif;
}

a {
  color: inherit;
}

.site-header {
  position: relative;
  z-index: 3;
  width: min(1180px, calc(100% - 40px));
  min-height: 108px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: block;
  width: 150px;
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
}

.header-contact {
  color: var(--muted);
  font-size: 0.98rem;
  font-weight: 700;
  text-decoration: none;
}

.service-hero {
  position: relative;
  min-height: calc(100svh - 108px);
  isolation: isolate;
  overflow: hidden;
  border-top: 1px solid var(--line);
}

.hero-photo {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.service-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: var(--overlay);
}

.hero-inner {
  width: min(1180px, calc(100% - 40px));
  min-height: calc(100svh - 108px);
  margin: 0 auto;
  padding: clamp(64px, 10vh, 118px) 0 54px;
  display: flex;
  align-items: center;
}

.hero-copy {
  width: min(670px, 62%);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  color: var(--primary-deep);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 40px;
  height: 3px;
  background: var(--primary);
}

h1 {
  max-width: 660px;
  margin: 0;
  font-size: 3.4rem;
  line-height: 1.08;
  letter-spacing: 0;
}

.intro {
  max-width: 620px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 1.18rem;
  line-height: 1.7;
}

.benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 25px 0 0;
  padding: 0;
  list-style: none;
}

.benefits li {
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 34px;
}

.button {
  min-height: 50px;
  padding: 14px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.96rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--primary);
  color: #fffdf7;
  box-shadow: var(--shadow);
}

.button-secondary {
  border-color: var(--line);
  background: var(--surface);
  color: var(--text);
  backdrop-filter: blur(8px);
}

.viber-button {
  width: 50px;
  flex: 0 0 50px;
  padding: 0;
  border-color: var(--line);
  background: var(--surface);
  color: var(--primary-deep);
}

.viber-button svg {
  width: 23px;
  height: 23px;
  fill: currentColor;
}

.micro-note {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 0.92rem;
}

.breadcrumbs a,
.service-copy a,
.service-footer a {
  text-underline-offset: 4px;
}

.service-section {
  padding: 56px 0;
  border-top: 1px solid var(--line);
}

.content-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.service-copy h2 {
  margin: 0 0 20px;
  font-size: 2rem;
  line-height: 1.2;
}

.service-copy h3 {
  margin: 0 0 12px;
  font-size: 1.3rem;
  line-height: 1.3;
}

.service-copy p,
.service-copy li {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.service-copy p {
  margin: 0 0 16px;
}

.service-copy ul,
.service-copy ol {
  margin: 0;
  padding-left: 22px;
}

.service-copy li + li {
  margin-top: 8px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin-top: 28px;
}

.service-results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 760px;
  gap: 18px;
  margin-top: 28px;
}

.service-results figure {
  min-width: 0;
  margin: 0;
}

.service-results img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: contain;
  background: var(--surface);
  border-radius: 8px;
}

.service-results figcaption {
  padding-top: 10px;
  font-size: 0.92rem;
  font-weight: 700;
}

.service-faq {
  max-width: 850px;
}

.service-faq details {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.service-faq summary {
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.5;
}

.service-faq details p {
  margin: 14px 0 0;
}

.service-related {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  margin-top: 24px;
}

.service-footer {
  padding: 26px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--primary-deep);
  outline-offset: 4px;
}

@media (max-width: 760px) {
  .site-header {
    width: min(100% - 28px, 1180px);
    min-height: 88px;
  }

  .brand {
    width: 126px;
  }

  .header-contact {
    font-size: 0.88rem;
  }

  .service-hero {
    min-height: calc(100svh - 88px);
  }

  .service-hero::after {
    background: linear-gradient(180deg, rgba(247, 245, 232, 0.97) 0%, rgba(247, 245, 232, 0.93) 62%, rgba(247, 245, 232, 0.6) 100%);
  }

  html[data-theme="dark"] .service-hero::after {
    background: linear-gradient(180deg, rgba(24, 34, 28, 0.98) 0%, rgba(24, 34, 28, 0.94) 62%, rgba(24, 34, 28, 0.68) 100%);
  }

  .hero-photo {
    object-position: 58% center;
  }

  .hero-inner {
    width: min(100% - 32px, 1180px);
    min-height: calc(100svh - 88px);
    padding: 48px 0 42px;
    align-items: flex-start;
  }

  .hero-copy {
    width: 100%;
  }

  h1 {
    font-size: 2.35rem;
    line-height: 1.12;
  }

  .intro {
    font-size: 1.04rem;
    line-height: 1.62;
  }

  .actions {
    gap: 9px;
  }

  .button-primary,
  .button-secondary {
    flex: 1 1 calc(50% - 8px);
  }

  .button-more {
    flex-basis: 100%;
  }

  .content-inner {
    width: calc(100% - 32px);
  }

  .service-section {
    padding: 36px 0;
  }

  .service-copy h2 {
    font-size: 1.65rem;
  }

  .service-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .service-related {
    flex-direction: column;
  }
}

@media (max-width: 430px) {
  .header-contact {
    max-width: 120px;
    text-align: right;
  }

  .button-primary,
  .button-secondary {
    flex-basis: 100%;
  }

  .viber-button {
    flex-basis: 50px;
  }
}
