:root {
  --bg-page: #f7f9f8;
  --bg-surface: #ffffff;
  --bg-soft: #eef5f1;
  --text: #1f2a24;
  --text-secondary: #5b6b63;
  --accent: #2f9e7a;
  --accent-deep: #1f8a70;
  --coral: #e85d4c;
  --coral-hover: #d64d3d;
  --stroke: #d7e3dc;
  --telegram: #2aabee;
  --telegram-text: #1a8bc7;
  --max: #7b5cff;
  --max-text: #5a3fd6;
  --radius: 12px;
  --radius-sm: 8px;
  --container: 1120px;
  --header-h: 72px;
  --font: "Manrope", system-ui, sans-serif;
  --display: "Unbounded", "Manrope", system-ui, sans-serif;
  --shadow-soft: 0 1px 0 rgba(31, 42, 36, 0.04);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.5;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(47, 158, 122, 0.12), transparent 60%),
    radial-gradient(900px 500px at 100% 0%, rgba(232, 93, 76, 0.08), transparent 55%),
    var(--bg-page);
  padding-bottom: 72px;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--accent-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--coral);
}

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--bg-surface);
  padding: 0.75rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.container.narrow {
  width: min(100% - 40px, 760px);
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.header.is-scrolled {
  border-bottom-color: var(--stroke);
  background: rgba(255, 255, 255, 0.96);
}

.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--text);
}

.logo:hover {
  color: var(--text);
}

.logo__mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.logo__name {
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
}

.logo__tag {
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
}

.nav {
  display: flex;
  gap: 1.35rem;
}

.nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}

.nav a:hover {
  color: var(--text);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.header__phones {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.15rem;
  line-height: 1.2;
}

.header__phone {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.86rem;
  white-space: nowrap;
}

.header__phone:hover {
  color: var(--accent-deep);
}

.burger {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--stroke);
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}

.burger span {
  width: 18px;
  height: 1.5px;
  background: var(--text);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.75rem 1.35rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--coral);
  color: #fff;
}

.btn--primary:hover {
  background: var(--coral-hover);
  color: #fff;
}

.btn--secondary {
  background: transparent;
  border-color: var(--stroke);
  color: var(--text);
}

.btn--secondary:hover {
  border-color: var(--accent);
  color: var(--accent-deep);
}

.btn--telegram {
  background: #fff;
  border-color: var(--telegram);
  color: var(--telegram-text);
}

.btn--telegram:hover {
  background: rgba(42, 171, 238, 0.08);
  color: var(--telegram-text);
}

.btn--max {
  background: #fff;
  border-color: var(--max);
  color: var(--max-text);
}

.btn--max:hover {
  background: rgba(123, 92, 255, 0.08);
  color: var(--max-text);
}

.btn--sm {
  min-height: 42px;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

.btn--block {
  width: 100%;
}

/* Hero */
.hero {
  padding: clamp(1.5rem, 4vw, 3rem) 0 clamp(2rem, 5vw, 3.5rem);
  background:
    linear-gradient(135deg, rgba(238, 245, 241, 0.95) 0%, rgba(247, 249, 248, 0.4) 45%, transparent 70%),
    var(--bg-page);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.9fr);
  gap: clamp(1.25rem, 3vw, 3rem);
  align-items: center;
}

.hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  max-width: none;
  margin: 0;
  padding: 0;
  width: 100%;
}

.hero__brand {
  margin: 0 0 0.85rem;
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--accent-deep);
}

.hero__title {
  margin: 0 0 1rem;
  font-family: var(--display);
  font-size: clamp(1.75rem, 3.4vw, 2.75rem);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.hero__lead {
  margin: 0 0 1.5rem;
  color: var(--text-secondary);
  max-width: 36rem;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.hero__micro {
  margin: 0 0 1.25rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.trust-row {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.trust-row li {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--stroke);
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  font-size: 0.82rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.hero__visual {
  min-width: 0;
  width: min(100%, 480px);
  justify-self: end;
  border-radius: 20px;
  overflow: hidden;
  background: #1a1a1a;
  border: 1px solid var(--stroke);
}

.hero__visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero__content > .reveal {
    animation: rise 0.55s ease both;
  }

  .reveal--delay-1 { animation-delay: 0.06s; }
  .reveal--delay-2 { animation-delay: 0.12s; }
  .reveal--delay-3 { animation-delay: 0.18s; }
  .reveal--delay-4 { animation-delay: 0.24s; }
}

/* Sections */
.section {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}

.section--surface {
  background: var(--bg-surface);
}

.section--soft {
  background:
    linear-gradient(180deg, rgba(47, 158, 122, 0.05), transparent 30%),
    var(--bg-soft);
}

.section--cta {
  background:
    radial-gradient(700px 300px at 20% 0%, rgba(47, 158, 122, 0.14), transparent 60%),
    var(--bg-soft);
}

.eyebrow {
  margin: 0 0 0.6rem;
  color: var(--accent-deep);
  font-size: 0.9rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.section__title {
  margin: 0 0 0.75rem;
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.section__lead {
  margin: 0 0 2rem;
  color: var(--text-secondary);
  max-width: 40rem;
}

.section__note {
  margin: 1.75rem 0 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.seo-text {
  margin: 0 0 1rem;
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.6;
}

.seo-text strong {
  color: var(--text);
  font-weight: 600;
}

.section__actions {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.section__actions--left {
  justify-content: flex-start;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.service-card {
  display: block;
  padding: 1.25rem;
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  background: var(--bg-page);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.service-card:hover {
  border-color: var(--accent);
  background: #fff;
  color: inherit;
  transform: translateY(-2px);
}

.service-card__icon {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  color: var(--accent-deep);
  margin-bottom: 0.85rem;
}

.service-card__icon svg {
  width: 24px;
  height: 24px;
}

.service-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
}

.service-card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.92rem;
}

/* Advantages */
.advantages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.advantages article {
  padding: 0.25rem 0;
}

.advantages h3 {
  margin: 0 0 0.45rem;
  font-size: 1.15rem;
}

.advantages p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.98rem;
}

/* Process */
.process {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  counter-reset: none;
}

.process li {
  display: grid;
  gap: 0.75rem;
  padding: 1rem 0.25rem;
  border-top: 2px solid var(--accent);
}

.process__num {
  font-family: var(--display);
  font-size: 0.95rem;
  color: var(--accent-deep);
  font-weight: 600;
}

.process h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.process p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.92rem;
}

/* Prices */
.price-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
}

.price-badges span {
  background: #fff;
  border: 1px solid var(--stroke);
  border-radius: var(--radius-sm);
  padding: 0.55rem 0.85rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.price-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 1.25rem;
  align-items: start;
}

.price-panel,
.quiz,
.prep,
.review,
.docs article {
  background: #fff;
  border: 1px solid var(--stroke);
  border-radius: 16px;
  padding: 1.25rem;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.tabs__btn {
  border: 1px solid var(--stroke);
  background: var(--bg-page);
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  min-height: 40px;
  padding: 0.4rem 0.85rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
}

.tabs__btn.is-active {
  background: rgba(47, 158, 122, 0.12);
  border-color: var(--accent);
  color: var(--accent-deep);
}

.price-table {
  display: grid;
  gap: 0.35rem;
}

.price-table > div {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 0.75rem;
  padding: 0.85rem 0.35rem;
  border-bottom: 1px solid var(--stroke);
  align-items: center;
}

.price-table__head {
  font-size: 0.82rem;
  color: var(--text-secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.price-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.price-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--stroke);
}

.price-extra {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.price-from {
  color: var(--coral);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.disclaimer {
  margin: 0.85rem 0 0;
  color: var(--text-secondary);
  font-size: 0.88rem;
}

.quiz h3 {
  margin: 0 0 1rem;
  font-size: 1.2rem;
}

.quiz__form,
.lead-form {
  display: grid;
  gap: 0.85rem;
}

label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--stroke);
  border-radius: var(--radius-sm);
  background: var(--bg-page);
  padding: 0.75rem 0.85rem;
  color: var(--text);
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(47, 158, 122, 0.35);
  border-color: var(--accent);
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-weight: 500;
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.35;
}

.checkbox input {
  width: 1.1rem;
  height: 1.1rem;
  min-width: 1.1rem;
  margin-top: 0.15rem;
  accent-color: var(--accent);
  cursor: pointer;
}

.checkbox a {
  color: var(--accent-deep);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.checkbox a:hover {
  color: var(--accent);
}

.form-hint,
.form-success,
.form-error {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.form-success {
  color: var(--accent-deep);
}

.form-error {
  color: var(--coral);
}

.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Safety / about / gallery */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.check-list,
.prep ol {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--text-secondary);
}

.check-list li,
.prep ol li {
  margin-bottom: 0.55rem;
}

.prep h3 {
  margin: 0 0 0.85rem;
}

.text-link {
  display: inline-block;
  margin-top: 1rem;
  font-weight: 650;
}

.about {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: center;
}

.about__photo {
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid var(--stroke);
  min-height: 420px;
}

.about__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 420px;
}

.about__content p {
  color: var(--text-secondary);
}

.badges {
  list-style: none;
  margin: 1.25rem 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.badges li {
  background: #fff;
  border: 1px solid var(--stroke);
  border-radius: var(--radius-sm);
  padding: 0.45rem 0.75rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.chip {
  border: 1px solid var(--stroke);
  background: #fff;
  color: var(--text-secondary);
  border-radius: 999px;
  min-height: 38px;
  padding: 0.35rem 0.9rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.88rem;
}

.chip.is-active {
  background: rgba(47, 158, 122, 0.12);
  border-color: var(--accent);
  color: var(--accent-deep);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  max-width: 920px;
}

.gallery__item {
  margin: 0;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--stroke);
  background: #fff;
  cursor: zoom-in;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.gallery__item:hover,
.gallery__item:focus-within {
  border-color: var(--accent);
  box-shadow: 0 6px 18px rgba(31, 42, 36, 0.08);
}

.gallery__item.is-hidden {
  display: none;
}

.gallery__media {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #e8eee9;
}

.gallery__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  display: block;
}

.gallery__item figcaption {
  padding: 0.45rem 0.6rem 0.55rem;
  font-size: 0.78rem;
  line-height: 1.3;
  color: var(--text-secondary);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(18, 24, 21, 0.82);
  backdrop-filter: blur(2px);
}

.lightbox[hidden] {
  display: none;
}

.lightbox__dialog {
  position: relative;
  width: min(100%, 1080px);
  max-height: min(92vh, 900px);
  display: grid;
  gap: 0.65rem;
  justify-items: center;
}

.lightbox__img {
  max-width: 100%;
  max-height: min(82vh, 820px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  background: #0f1411;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

.lightbox__caption {
  margin: 0;
  color: #f4f7f5;
  text-align: center;
  font-size: 0.95rem;
  max-width: 40rem;
}

.lightbox__close {
  position: absolute;
  top: -0.35rem;
  right: -0.15rem;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  z-index: 1;
}

.lightbox__close:hover {
  background: #fff;
}

/* Reviews / docs / geo / faq */
.reviews-score {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.5rem;
}

.reviews-score strong {
  font-family: var(--display);
  font-size: 2.5rem;
  display: block;
  line-height: 1;
}

.reviews-score span {
  color: var(--text-secondary);
}

.reviews-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.reviews-tags span {
  background: #fff;
  border: 1px solid var(--stroke);
  border-radius: var(--radius-sm);
  padding: 0.4rem 0.7rem;
  font-size: 0.85rem;
}

.reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.review h3 {
  margin: 0 0 0.25rem;
}

.review__meta,
.review__price {
  color: var(--text-secondary);
  font-size: 0.88rem;
}

.review p {
  margin: 0.65rem 0;
}

.docs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.docs h3 {
  margin: 0 0 0.4rem;
}

.docs p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.geo-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.geo-list li {
  background: #fff;
  border: 1px solid var(--stroke);
  border-radius: var(--radius-sm);
  padding: 0.55rem 0.85rem;
  font-size: 0.92rem;
}

.faq details {
  border-bottom: 1px solid var(--stroke);
  padding: 0.9rem 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 650;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  color: var(--accent-deep);
  font-weight: 600;
}

.faq details[open] summary::after {
  content: "–";
}

.faq p {
  margin: 0.75rem 0 0.25rem;
  color: var(--text-secondary);
}

.cta-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
  background: #fff;
  border: 1px solid var(--stroke);
  border-radius: 20px;
  padding: clamp(1.25rem, 3vw, 2rem);
}

.cta-phones {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin: 0.75rem 0 0.5rem;
  font-weight: 700;
  font-size: 1.15rem;
}

.cta-phones a {
  color: var(--text);
  text-decoration: none;
}

.cta-phones a:hover {
  color: var(--accent-deep);
}

.cta-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.75rem;
  font-weight: 650;
}

.footer__phones {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

/* Footer */
.footer {
  background: #fff;
  border-top: 1px solid var(--stroke);
  padding: 2.5rem 0 2rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
}

.footer a {
  color: var(--text);
  text-decoration: none;
}

.footer a:hover {
  color: var(--accent-deep);
}

.footer__legal {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  align-items: flex-start;
}

.footer__legal-title {
  margin: 0;
  color: var(--text);
  font-weight: 650;
  font-size: 0.98rem;
  line-height: 1.35;
}

.footer__requisites {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.85rem;
  font-size: 0.86rem;
  line-height: 1.35;
}

.footer__email {
  margin: 0;
  font-size: 0.92rem;
}

.footer__docs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.25rem;
  margin: 0.35rem 0 0;
  align-items: center;
}

.footer__docs a {
  font-size: 0.86rem;
  color: var(--text-secondary);
  padding: 0.25rem 0.6rem;
  border: 1px solid var(--stroke);
  border-radius: var(--radius-sm);
  background: var(--bg-page);
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.footer__docs a:hover {
  color: var(--accent-deep);
  border-color: var(--accent);
  background: #fff;
}

.footer__copy {
  margin: 0.45rem 0 0;
  font-size: 0.84rem;
}

.footer__credit {
  width: min(100% - 40px, var(--container));
  margin: 1.75rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--stroke);
  text-align: right;
  font-size: 0.84rem;
  color: var(--text-secondary);
  font-weight: 400;
}

.footer__credit a {
  color: inherit;
  font-weight: inherit;
  text-decoration: none;
}

.footer__credit a:hover {
  color: var(--text-secondary);
  text-decoration: underline;
}

/* Mobile bar */
.mobile-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  background: #fff;
  border-top: 1px solid var(--stroke);
  padding: 0.55rem 0.5rem calc(0.55rem + env(safe-area-inset-bottom));
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 0.35rem;
}

.mobile-bar a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 650;
  font-size: 0.78rem;
  background: var(--bg-page);
  color: var(--text);
  border: 1px solid var(--stroke);
}

.mobile-bar__tg {
  background: rgba(42, 171, 238, 0.12) !important;
  border-color: var(--telegram) !important;
  color: var(--telegram-text) !important;
}

.mobile-bar__max {
  background: rgba(123, 92, 255, 0.12) !important;
  border-color: var(--max) !important;
  color: var(--max-text) !important;
}

/* Privacy modal */
.privacy-modal {
  position: fixed;
  inset: 0;
  background: rgba(31, 42, 36, 0.35);
  display: grid;
  place-items: center;
  padding: 1rem;
  z-index: 80;
}

.privacy-modal[hidden] {
  display: none;
}

.privacy-modal__card {
  width: min(100%, 640px);
  max-height: min(86vh, 760px);
  overflow: auto;
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--stroke);
  padding: 1.5rem;
  position: relative;
}

.privacy-modal__card h2 {
  margin: 0 2rem 1rem 0;
  font-size: 1.15rem;
  line-height: 1.3;
}

.privacy-modal__card p {
  margin: 0 0 0.75rem;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.45;
}

.privacy-modal__close {
  position: absolute;
  top: 0.65rem;
  right: 0.75rem;
  border: 0;
  background: transparent;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-secondary);
}

.privacy-modal__close:hover {
  color: var(--text);
}

.privacy-modal__card--faq {
  width: min(100%, 720px);
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: calc(1rem + env(safe-area-inset-bottom));
  z-index: 90;
  max-width: 560px;
  margin: 0 auto;
  padding: 1rem 1.1rem;
  background: #fff;
  border: 1px solid var(--stroke);
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(31, 42, 36, 0.14);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner__text {
  margin: 0 0 0.85rem;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--text-secondary);
}

.cookie-banner__text a {
  color: var(--accent-deep);
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cookie-banner__actions .btn {
  flex: 1 1 auto;
  min-height: 42px;
  font-size: 0.88rem;
}

/* Legal pages */
.legal-page {
  padding-bottom: 2rem;
}

.legal-top {
  background: #fff;
  border-bottom: 1px solid var(--stroke);
  padding: 0.85rem 0;
  margin-bottom: 1.5rem;
}

.legal-top__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.legal {
  padding-bottom: 3rem;
  max-width: 760px;
}

.legal h1 {
  font-family: var(--display);
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  line-height: 1.25;
  margin: 0 0 0.5rem;
}

.legal h2 {
  font-size: 1.1rem;
  margin: 1.6rem 0 0.55rem;
}

.legal p,
.legal li {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
}

.legal ul,
.legal ol {
  margin: 0.4rem 0 0.8rem;
  padding-left: 1.25rem;
}

.legal__meta {
  margin: 0 0 1.25rem;
  font-size: 0.88rem;
}

.legal__note {
  margin-top: 1.5rem;
  padding: 0.85rem 1rem;
  background: var(--bg-soft);
  border-radius: var(--radius-sm);
  font-size: 0.86rem !important;
}

@media (max-width: 720px) {
  .cookie-banner {
    left: 0.65rem;
    right: 0.65rem;
    bottom: calc(4.6rem + env(safe-area-inset-bottom));
  }
}

/* Landing pages */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  padding: 1rem 0 0.25rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.breadcrumbs a {
  color: var(--text-secondary);
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--accent-deep);
}

.landing-hero {
  padding: 1.25rem 0 2.5rem;
}

.landing-hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
}

.landing-hero__visual {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--stroke);
  background: var(--bg-soft);
}

.landing-hero__visual img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
}

.landing-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.landing-step {
  padding: 1.1rem 1.15rem;
  background: #fff;
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
}

.landing-step h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
}

.landing-step p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.94rem;
}

.landing-split__titles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 2rem;
  align-items: start;
}

.landing-split__titles .section__title {
  margin: 0;
}

.landing-split__note {
  margin: 0.85rem 0 0.35rem;
  max-width: none;
}

.landing-pairs {
  display: grid;
  gap: 0;
}

.landing-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 2rem;
  align-items: stretch;
  border-bottom: 1px solid var(--stroke);
}

.landing-pair__price {
  display: grid;
  grid-template-columns: 1.2fr auto;
  gap: 0.75rem;
  align-items: center;
  min-height: 3.6rem;
  padding: 0.95rem 0;
  box-sizing: border-box;
}

.landing-pair__price strong {
  text-align: right;
  font-weight: 700;
}

.landing-pair__faq {
  margin: 0;
  min-height: 3.6rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
}

.landing-pair__faq summary {
  cursor: pointer;
  font-weight: 650;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 3.6rem;
  padding: 0.95rem 0;
  box-sizing: border-box;
}

.landing-pair__faq summary::-webkit-details-marker {
  display: none;
}

.landing-pair__faq summary::after {
  content: "+";
  color: var(--accent-deep);
  font-weight: 600;
  flex-shrink: 0;
}

.landing-pair__faq[open] summary {
  min-height: auto;
  padding-bottom: 0.35rem;
}

.landing-pair__faq[open] summary::after {
  content: "–";
}

.landing-pair__faq p {
  margin: 0 0 0.85rem;
  color: var(--text-secondary);
  font-size: 0.94rem;
  line-height: 1.45;
}

.landing-page .faq-fab {
  display: none;
}

@media (max-width: 900px) {
  .landing-hero__grid,
  .landing-steps {
    grid-template-columns: 1fr;
  }

  .landing-split__titles,
  .landing-pair {
    grid-template-columns: 1fr;
    row-gap: 0;
  }

  .landing-split__titles .section__title:last-child {
    margin-top: 1.5rem;
  }

  .landing-pair {
    border-bottom: 0;
    padding: 0.35rem 0 0.85rem;
  }

  .landing-pair__price {
    border-bottom: 1px solid var(--stroke);
  }

  .landing-pair__faq {
    border-bottom: 1px solid var(--stroke);
  }
}

.faq-cta {
  text-align: center;
}

.faq-cta .section__lead {
  margin-left: auto;
  margin-right: auto;
}

.faq-cta .btn {
  margin-top: 0.35rem;
}

.faq-fab {
  position: fixed;
  left: 1rem;
  bottom: 1.1rem;
  z-index: 55;
  border: 1px solid var(--stroke);
  background: #fff;
  color: var(--text);
  border-radius: 999px;
  min-height: 46px;
  padding: 0.55rem 1.1rem;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 10px 28px rgba(31, 42, 36, 0.14);
  cursor: pointer;
}

.faq-fab:hover {
  border-color: var(--accent);
  color: var(--accent-deep);
}

/* Responsive */
@media (max-width: 1100px) {
  .services-grid,
  .advantages,
  .process,
  .reviews,
  .docs {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .process {
    grid-template-columns: 1fr 1fr;
  }

  .price-layout,
  .split,
  .about,
  .cta-box {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  body {
    font-size: 16px;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: #fff;
    border-bottom: 1px solid var(--stroke);
    display: none;
    flex-direction: column;
    padding: 1rem 1.25rem 1.25rem;
    gap: 0.85rem;
  }

  .nav.is-open {
    display: flex;
  }

  .burger {
    display: inline-flex;
  }

  .header__phones,
  .header__actions .btn {
    display: none;
  }

  .hero__cta {
    flex-direction: column;
  }

  .hero__cta .btn {
    width: 100%;
  }

  .hero {
    padding-top: 1rem;
  }

  .hero__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
  }

  .hero__content {
    max-width: none;
    margin: 0;
    padding: 0;
    order: 2;
  }

  .hero__visual {
    order: 1;
    justify-self: stretch;
    max-width: none;
    width: 100%;
  }

  .hero__visual img {
    aspect-ratio: 16 / 11;
    max-height: 360px;
  }

  .trust-row {
    margin-inline: -4px;
    padding-inline: 4px;
  }

  .trust-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.25rem;
    -webkit-overflow-scrolling: touch;
  }

  .trust-row li {
    flex: 0 0 auto;
  }

  .services-grid,
  .advantages,
  .process,
  .reviews,
  .docs,
  .footer__inner {
    grid-template-columns: 1fr;
  }

  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: none;
  }

  .lightbox__close {
    top: 0.35rem;
    right: 0.35rem;
  }

  .price-table > div {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

  .price-table__head {
    display: none;
  }

  .price-table > div:not(.price-table__head) span:nth-child(2)::before {
    content: "Холодный туман ОТ: ";
    color: var(--text-secondary);
    font-size: 0.8rem;
  }

  .price-table > div:not(.price-table__head) span:nth-child(3)::before {
    content: "С барьером ОТ: ";
    color: var(--text-secondary);
    font-size: 0.8rem;
  }

  #panel-house .price-table > div:not(.price-table__head) span:nth-child(2)::before {
    content: "ОТ: ";
  }

  #panel-house .price-table > div:not(.price-table__head) span:nth-child(3)::before {
    content: "Комплекс ОТ: ";
  }

  #panel-plot .price-table > div:not(.price-table__head) span:nth-child(2)::before {
    content: "От клещей ОТ: ";
  }

  #panel-plot .price-table > div:not(.price-table__head) span:nth-child(3)::before {
    content: "От комаров ОТ: ";
  }

  .mobile-bar {
    display: grid;
  }

  .faq-fab {
    bottom: calc(4.6rem + env(safe-area-inset-bottom));
    left: 0.75rem;
    font-size: 0.82rem;
    min-height: 42px;
    padding: 0.45rem 0.9rem;
  }

  .section__actions--left {
    justify-content: stretch;
  }

  .section__actions--left .btn {
    width: 100%;
  }
}

.section.will-animate {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.section.will-animate.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .section.will-animate {
    opacity: 1;
    transform: none;
    animation: none;
    transition: none;
  }

  .btn:hover,
  .service-card:hover {
    transform: none;
  }
}
