html,
body,
#container,
#container > div {
  height: 100%;
}

*,
::after,
::before,
::backdrop,
::file-selector-button {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0 solid;
}

html,
:host {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  tab-size: 4;
  font-family: var(--default-font-family, ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji');
  font-feature-settings: var(--default-font-feature-settings, normal);
  font-variation-settings: var(--default-font-variation-settings, normal);
  -webkit-tap-highlight-color: transparent;
}

hr {
  height: 0;
  color: inherit;
  border-top-width: 1px;
}

abbr:where([title]) {
  -webkit-text-decoration: underline dotted;
  text-decoration: underline dotted;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
  line-height: 1.15;
}

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

b,
strong {
  font-weight: bolder;
}

code,
kbd,
samp,
pre {
  font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace);
  font-feature-settings: var(--default-mono-font-feature-settings, normal);
  font-variation-settings: var(--default-mono-font-variation-settings, normal);
  font-size: 1em;
}

small {
  font-size: 80%;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

table {
  text-indent: 0;
  border-color: inherit;
  border-collapse: collapse;
}

:-moz-focusring {
  outline: auto;
}

progress {
  vertical-align: baseline;
}

summary {
  display: list-item;
}

ol,
ul,
menu {
  list-style: none;
}

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block;
  vertical-align: middle;
}

img,
video {
  max-width: 100%;
  height: auto;
}

button,
input,
select,
optgroup,
textarea,
::file-selector-button {
  font: inherit;
  font-feature-settings: inherit;
  font-variation-settings: inherit;
  letter-spacing: inherit;
  color: inherit;
  border-radius: 0;
  background-color: transparent;
  opacity: 1;
}

:where(select:is([multiple], [size])) optgroup {
  font-weight: bolder;
}

:where(select:is([multiple], [size])) optgroup option {
  padding-inline-start: 20px;
}

::file-selector-button {
  margin-inline-end: 4px;
}

::placeholder {
  opacity: 1;
}

/* CSS Variables */
:root {
  --color-primary: #6b7f39;
  --color-accent: #f4d03f;
  --color-dark: #1a1a1a;
  --color-gray: #4a4a4a;
  --color-light: #f5f5f5;
  --color-white: #ffffff;
}

/* Page */
.page {
  min-height: 100vh;
  background-color: var(--color-white);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  background-color: var(--color-white);
  padding: 20px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header__content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
}

.logo__text {
  font-size: 24px;
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: 1px;
  text-transform: uppercase;
  width: 145px;
}

.logo--footer .logo__text {
  color: var(--color-white);
}

.logo--footer img {
  filter: invert(1) hue-rotate(-203deg);
}

/* Navigation */
.nav {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav__link {
  text-decoration: none;
  color: var(--color-dark);
  font-weight: 500;
  transition: color 0.3s;
  padding: 8px 0;
  text-transform: uppercase;
}

.nav__link:hover {
  color: var(--color-primary);
}

.nav__link--cta {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 10px 24px;
  border-radius: 6px;
}

.nav__link--cta:hover {
  background-color: #5a6b2f;
  color: var(--color-white);
}

/* Hero */
.hero {
  position: relative;
  min-height: 769px;
  background-image: url('../img/bg-hero.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgb(107 127 57 / 59%), rgba(26, 26, 26, 0.85));
}

.hero__bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle at 20% 80%, rgba(244, 208, 63, 0.1) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgba(244, 208, 63, 0.15) 0%, transparent 50%);
  z-index: 1;
}

.hero__adres {
  display: block;
  text-align: center;
  font-weight: 600;
  font-size: 28px;
  margin-top: 5px;
  color: #ccc;
}

.hero__content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: var(--color-white);
  max-width: 900px;
  padding: 0 0 40px;
}

.hero__badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--color-accent), #f4d855);
  padding: 10px 24px;
  border-radius: 50px;
  margin-bottom: 30px;
  animation: pulse 2s infinite;
  box-shadow: 0 4px 20px rgba(244, 208, 63, 0.4);
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

.hero__badge-text {
  font-weight: 700;
  font-size: 15px;
  color: var(--color-dark);
  letter-spacing: 0.5px;
}

.hero__title {
  font-size: 64px;
  font-weight: 900;
  margin-bottom: 24px;
  line-height: 1.1;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero__title-accent {
  color: var(--color-accent);
  position: relative;
  display: inline-block;
}

.hero__subtitle {
  font-size: 20px;
  margin-bottom: 40px;
  opacity: 0.95;
  line-height: 1.6;
}

.hero__subtitle strong {
  color: var(--color-accent);
  font-weight: 700;
}

.hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.hero__features {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 60px;
}

.hero__feature {
  display: flex;
  align-items: center;
  gap: 16px;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 16px 24px;
  border-radius: 12px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero__feature-icon {
  font-size: 32px;
}

.hero__feature-text {
  text-align: left;
  font-size: 14px;
  line-height: 1.4;
}

.hero__feature-text strong {
  font-size: 18px;
  display: block;
  margin-bottom: 2px;
}

.hero__scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.hero__scroll-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--color-white);
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.hero__scroll-link:hover {
  opacity: 1;
}

.hero__scroll-text {
  font-size: 14px;
  font-weight: 500;
}

.hero__scroll-icon {
  font-size: 24px;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(10px);
  }
}

/* Button */
.button {
  display: inline-block;
  padding: 16px 40px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}

.button--primary {
  background-color: var(--color-accent);
  color: var(--color-dark);
}

.button--primary:hover {
  background-color: #e6c136;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(244, 208, 63, 0.4);
}

.button--secondary {
  background-color: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-white);
}

.button--secondary:hover {
  background-color: var(--color-white);
  color: var(--color-primary);
  transform: translateY(-2px);
}

.button--large {
  padding: 18px 48px;
  font-size: 17px;
}

.button--full {
  width: 100%;
}

/* About Section */
.about {
  padding: 0px 0 100px;
  background: linear-gradient(180deg, #ffffff 0%, #f8f9f5 100%);
}

.about__header {
  text-align: center;
  max-width: 850px;
  margin: 0 auto 70px;
}

.about__lead {
  font-size: 24px;
  color: var(--color-gray);
  margin-top: 16px;
  line-height: 1.6;
}

.about__content {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.about__main {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  /* align-items: start; */
}

.about__image-primary {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  max-width: 750px;
  width: 100%;
  max-height: 448px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.about__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about__image-badge {
  position: absolute;
  bottom: 30px;
  right: 30px;
  background: linear-gradient(135deg, var(--color-primary), #5a6b2f);
  padding: 20px 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.about__badge-number {
  display: block;
  font-size: 36px;
  font-weight: 900;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 4px;
}

.about__badge-text {
  display: block;
  font-size: 14px;
  color: var(--color-white);
  font-weight: 600;
}

.about__stats {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 370px;
  width: 100%;
}

/* Stat Card */
.stat-card {
  background-color: var(--color-white);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border-left: 4px solid var(--color-primary);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}

.stat-card:hover {
  transform: translateX(8px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.stat-card--accent {
  background: linear-gradient(135deg, var(--color-primary), #5a6b2f);
  border-left: 4px solid var(--color-accent);
}

.stat-card__number {
  font-size: 48px;
  font-weight: 900;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-card--accent .stat-card__number {
  color: var(--color-accent);
}

.stat-card__label {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-card--accent .stat-card__label {
  color: var(--color-white);
}

.stat-card__text {
  font-size: 15px;
  color: var(--color-gray);
  line-height: 1.6;
}

.stat-card--accent .stat-card__text {
  color: rgba(255, 255, 255, 0.9);
}

.about__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(48%, 1fr));
  gap: 30px;
}

.about__feature-card {
  background-color: var(--color-white);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}

.about__feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.about__feature-icon {
  font-size: 40px;
  margin-bottom: 16px;
}

.about__feature-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 12px;
}

.about__feature-text {
  color: var(--color-gray);
  line-height: 1.6;
  font-size: 15px;
}

/* Section Title */
.section-title {
  font-size: 42px;
  font-weight: 800;
  color: var(--color-dark);
  margin-bottom: 16px;
}

.section-title--center {
  text-align: center;
  margin-bottom: 60px;
}

.section-title--light {
  color: var(--color-white);
}

/* Directions Section */
.directions {
  padding: 100px 0;
  background: linear-gradient(180deg, #f8f9f5 0%, #ffffff 100%);
}

.directions__header {
  text-align: center;
  max-width: 768px;
  margin: 0 auto 60px;
}

.directions__subtitle {
  /* font-size: 18px; */
  color: var(--color-gray);
  line-height: 1.6;
  margin-top: 16px;
}

.directions__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

/* Direction Card */
.direction-card {
  background-color: var(--color-white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s;
  position: relative;
  display: flex;
  flex-direction: column;
}

.direction-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.15);
}

.direction-card--featured {
  border: 2px solid var(--color-accent);
}

.direction-card__badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: linear-gradient(135deg, var(--color-accent), #f4d855);
  color: var(--color-dark);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  z-index: 10;
  box-shadow: 0 4px 15px rgba(244, 208, 63, 0.4);
}

.direction-card__image-wrapper {
  width: 100%;
  height: 240px;
  overflow: hidden;
  position: relative;
}

.direction-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.direction-card:hover .direction-card__image {
  transform: scale(1.08);
}

.direction-card__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  padding: 20px;
  display: flex;
  align-items: flex-end;
}

.direction-card__category {
  color: var(--color-white);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  background-color: rgba(107, 127, 57, 0.9);
  padding: 6px 12px;
  border-radius: 6px;
}

.direction-card__content {
  padding: 30px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.direction-card__icon {
  font-size: 40px;
  margin-bottom: 12px;
}

.direction-card__title {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 12px;
}

.direction-card__description {
  color: var(--color-gray);
  line-height: 1.6;
  font-size: 15px;
}

/* Advantages Section */
.advantages {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--color-primary), #5a6b2f);
  scroll-margin-top: 60px;
}

.advantages__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

/* Advantage */
.advantage {
  text-align: center;
  padding: 30px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  transition: background-color 0.3s;
}

.advantage:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.advantage__icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.advantage__title {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 12px;
}

.advantage__text {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

/* Form Section */
.form-section {
  padding: 80px 0 0;
  background-color: var(--color-white);
  scroll-margin-top: 60px;
}

.form-section__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.form-section__text {
  margin-top: 20px;
  color: var(--color-gray);
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 40px;
}

/* Contacts */
.contacts {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contacts__item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contacts__label {
  font-weight: 600;
  color: var(--color-primary);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contacts__link {
  color: var(--color-dark);
  text-decoration: none;
  font-size: 18px;
  transition: color 0.3s;
  font-weight: 500;
}

.contacts__link:hover {
  color: var(--color-primary);
}

.contacts__text {
  color: var(--color-dark);
  font-size: 18px;
  font-weight: 500;
}

/* Form */
.form {
  background-color: var(--color-light);
  padding: 40px;
  border-radius: 12px;
}

.form__group {
  margin-bottom: 24px;
}

.form__label {
  display: block;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 8px;
  font-size: 14px;
}

.form__group-select {
  position: relative;
}
.form__group-select select {
  appearance: none;
}

.form__group-select::after {
  content: '';
  position: absolute;
  right: 5px;
  top: 50%;
  /* transform: translateY(-50%); */
  width: 25px;
  height: 25px;
  background-image: url(../img/ico-arrow-down.svg);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  pointer-events: none;
}

.form__input,
.form__select,
.form__textarea {
  width: 100%;
  padding: 14px;
  border: 2px solid #ddd;
  border-radius: 6px;
  font-size: 16px;
  font-family: inherit;
  transition: border-color 0.3s;
  background-color: var(--color-white);
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}

.form__textarea {
  resize: vertical;
  min-height: 100px;
}

.form__privacy {
  margin-top: 16px;
  font-size: 12px;
  color: var(--color-gray);
  text-align: center;
  line-height: 1.5;
}

/* Footer */
.footer {
  background-color: var(--color-dark);
  color: var(--color-white);
  padding: 60px 0 30px;
}

.footer__content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer__section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 8px;
}

.footer__text {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.footer__nav,
.footer__contacts {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s;
  font-size: 15px;
}

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

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  text-align: center;
}

.footer__copy {
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
}

.modal {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;

  background: rgba(0, 0, 0, 0.6);
  z-index: 1000;

  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.5s,
    visibility 0s 0.5s;
}

.modal.active {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s;
}

.modal:not(.active) .modal__content {
  opacity: 0;
}
.modal__content {
  display: block;
  max-width: 480px;
  width: 95%;
  margin: 0 auto;
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background-color: #fff;
  z-index: 999;
  padding: 49px 60px 57px;
  border-radius: 10px;
  overflow: hidden;
  background-size: 100%;
  background-position: center top;
  background-repeat: no-repeat;
}
.modal-order .modal__content {
  max-width: 906px;
}
.close {
  position: absolute;
  top: 26px;
  right: 27px;
  width: 20px;
  height: 20px;
  cursor: pointer;
  background: 0 0;
  border: none;
}
.close:hover {
  cursor: pointer;
}
.close:hover:after,
.close:hover:before {
  background-color: #ccc;
}
.close::after,
.close::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 2px;
  background-color: #ffa200;
  transform-origin: center center;
  transform: translate(-50%, -50%) rotate(45deg);
}
.close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}
.modal__close {
  display: block;
}
.modal__title {
  font-size: 29px;
  line-height: 1.15;
  margin-bottom: 35px;
  text-align: center;
  font-weight: 700;
}
.modal__contacts-ico {
  display: block;
}
.modal__contacts-ico svg circle {
  transition-duration: 0.3s;
}
.modal__contacts-ico:hover svg circle {
  fill: var(--brown-hover);
}
.modal__contacts-small-desc {
  font-size: 14px;
  color: #999;
  display: block;
  margin-bottom: 39px;
}

.map iframe {
  width: 80%;
  height: 100%;
  /* margin-top: 50px; */
}

.map__wrap {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  height: 500px;
  margin-top: 50px;
}
.map__zal {
  display: block;
  object-fit: cover;
  width: 50%;
  height: 500px;
  height: 100%;
}

.hero__contacts {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 20px;
  color: var(--color-gray);
}
.hero__contacts-soc {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 7px;
}
.hero__contacts-soc-item {
  display: block;
}
.hero__contacts-soc-item svg {
  display: block;
  width: 24px;
}

.form-acc {
  display: flex;
  align-items: center;
  font-size: 12px;
  gap: 10px;
  max-width: 810px;
  width: 100%;
  margin: 0 auto 10px;
}

.form-acc a {
  text-decoration: underline;
  font-size: 12px;
}

.form-acc input[type='checkbox'] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: 1px solid var(--color-primary);
  width: 20px;
  height: 20px;
  border-radius: 2px;
  padding: 0;
  margin: 0;
}
.form-acc input[type='checkbox']:checked::after {
  content: '';
  display: block;
  width: 7px;
  height: 12px;
  border: solid var(--color-primary);
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
  position: relative;
  left: 6px;
  top: 2px;
}

.form-acc-wrap {
  display: block;
  margin-top: -10px;
  margin-bottom: 23px;
}

.content {
  display: block;
  line-height: 1.5;
  font-size: 18px;
  font-weight: 400;
  width: 100%;
  padding: 50px 0;
}
.content h1 {
  font-size: 36px;
  margin-bottom: 15px;
  font-weight: 500;
}
.content h2,
.content h3,
.content h4,
.content h5 {
  margin-top: 25px;
  position: relative;
  display: block;
  margin-bottom: 10px;
  font-weight: 500;
  font-size: 30px;
}
.content h2 + p,
.content h3 + p,
.content h4 + p,
.content h5 + p {
  margin-top: 0;
}
.content p {
  margin: 20px 0;
}
.content a {
  color: var(--green);
  text-decoration: underline;
}
.content ol,
.content ul {
  margin: 16px 0 16px 24px;
  padding: 0;
}
.content li {
  margin-bottom: 3px;
}
.content ul li {
  list-style-type: disc;
}
.content ol li {
  list-style-type: auto;
}
.wp-block-quote {
  padding: 20px 16px;
  margin: 16px 0;
  border-left: 4px solid var(--green);
  border-radius: 12px;
  background-color: #f3f4f6;
  line-height: 1.4;
  max-width: 770px;
  width: 100%;
}
.wp-block-quote:has(cite) {
  padding: 24px 32px 24px 48px;
  position: relative;
  border: none;
}
.wp-block-quote:has(cite):before {
  content: '"';
  display: block;
  color: var(--green);
  position: absolute;
  left: 20px;
  top: 14px;
  font-size: 36px;
  line-height: 36px;
  font-family: Georgia, sans-serif;
  opacity: 0.4;
}
.wp-block-quote cite {
  font-size: 14px;
  color: #6b7280;
}
.wp-block-quote p {
  margin-top: 0;
  margin-bottom: 16px;
}
.wp-block-quote p:last-child {
  margin-bottom: 0;
}
.content table {
  font-size: 14px;
  display: table;
  max-width: 768px;
}
.content img {
  border-radius: 12px;
  max-width: 768px;
}
.content figure {
  margin: 0 0 20px;
}
.content iframe {
  max-width: 768px;
  width: 100%;
  aspect-ratio: 16/9;
  height: auto;
  min-height: 400px;
  border-radius: 12px;
}
.wp-block-gallery.has-nested-images figure.wp-block-image figcaption {
  background: 0 0;
  position: absolute;
  bottom: -35px;
  margin-top: 0;
  color: #000;
}
.content td,
.content th {
  border: 2px solid #e5e7eb;
  padding: 9px 15px;
}
.content th {
  font-weight: 600;
  font-size: 18px;
  background-color: #f3f4f6;
}
.content td {
  font-size: 14px;
}
.content tr:nth-child(even) {
  background-color: #f9f9fa;
}
.content thead {
  border-bottom: none;
}

.rasp {
  display: block;
  padding: 50px;
  background-color: #eee;
  scroll-margin-top: 80px;
}

.rasp__container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}
.rasp__link {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  text-transform: uppercase;
  font-weight: 700;
}

.rasp__link svg {
  display: block;
  width: 23px;
  transition-duration: 0.3s;
}

.rasp__link:hover {
  text-decoration: underline;
  color: #5a6b2f;
}

.rasp__link:hover svg {
  transform: scale(1.1);
}

.button-mob {
  display: none;
}

@media (max-width: 1140px) {
  .nav {
    gap: 20px;
    display: none;
  }

  .nav__link {
    font-size: 14px;
  }

  .hero {
    min-height: 600px;
    padding: 60px 0;
  }

  .hero__title {
    font-size: 42px;
  }

  .hero__subtitle {
    font-size: 18px;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__features {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }

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

  .about__img {
    height: 400px;
  }

  .form-section__content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .section-title {
    font-size: 36px;
  }

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

  .advantages__grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  .map__wrap {
    flex-direction: column;
    height: auto;
  }
  .map__zal {
    width: 100%;
    height: auto;
  }
  .map iframe {
    width: 100%;
    height: 400px;
  }
}

@media (max-width: 767px) {
  .header__content {
    flex-direction: column;
    gap: 20px;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }

  .hero {
    min-height: 550px;
  }

  .hero__title {
    font-size: 36px;
  }

  .hero__subtitle {
    font-size: 16px;
  }

  .hero__badge-text {
    font-size: 13px;
  }

  .hero__scroll {
    display: none;
  }

  .button--large {
    padding: 16px 32px;
    font-size: 16px;
  }

  .section-title {
    font-size: 28px;
  }

  .about,
  .directions,
  .advantages,
  .form-section {
    padding: 50px 0;
  }

  .about__header {
    margin-bottom: 40px;
  }

  .about__lead {
    font-size: 18px;
  }

  .about__img {
    height: 300px;
  }

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

  .stat-card__number {
    font-size: 40px;
  }

  .form {
    padding: 30px 20px;
  }

  .footer__content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .about__main {
    flex-direction: column;
  }
  .about__stats {
    max-width: 100%;
  }
  .form-section {
    padding-bottom: 0;
  }

  .rasp__link {
    font-size: 16px;
  }

  .rasp__link svg {
    width: 17px;
  }

  .button-mob {
    display: none;
    position: fixed;
    left: 0;
    bottom: -2px;
    width: 100%;
    text-align: center;
    border-radius: 0;
    padding: 10px 32px;
    z-index: 999;
  }
}
