/* ==========================================================================
   CSS Custom Properties (Цветовая палитра и переменные)
   ========================================================================== */
:root {
  /* Цветовая палитра */
  --color-primary:       #1a2a3a;
  --color-accent:        #4CAF50;
  --color-secondary:     #D4A853;
  --color-bg:            #F5F5F0;
  --color-white:         #ffffff;
  --color-dark:          #111820;
  --color-gray:          #6b7b8b;
  --color-light-gray:    #e0e0d8;
  --color-error:         #d32f2f;
  --color-success:       #388e3c;

  /* Типографика */
  --font-main:    Arial, Helvetica, 'Segoe UI', sans-serif;
  --font-accent:  'Caveat', cursive;

  /* Размеры */
  --header-height: 60px;
  --container-max: 1200px;
  --container-padding: 16px;

  /* Тени */
  --shadow-sm: 0 2px 8px rgba(26, 42, 58, 0.08);
  --shadow-md: 0 4px 20px rgba(26, 42, 58, 0.12);
  --shadow-lg: 0 8px 40px rgba(26, 42, 58, 0.16);

  /* Радиусы */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
}


/* ==========================================================================
   СБРОС СТИЛЕЙ (Reset / Normalize)
   ========================================================================== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  line-height: 1.6;
  font-family: var(--font-main);
  color: var(--color-primary);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul,
ol {
  list-style: none;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
  border: none;
  background: none;
  outline: none;
}

button {
  cursor: pointer;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
}


/* ==========================================================================
   ТИПОГРАФИКА
   ========================================================================== */

/* Декоративный шрифт для акцентных элементов */
.accent-font,
.section__subtitle--accent,
.nature__phrase,
.footer__slogan {
  font-family: var(--font-accent);
  font-weight: 600;
}

/* Заголовки секций */
.section__title {
  font-size: 2rem;
  font-weight: 800;
  text-align: center;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.section__subtitle {
  font-size: 1.05rem;
  text-align: center;
  color: var(--color-gray);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.section__subtitle--accent {
  font-family: var(--font-accent);
  font-size: 1.5rem;
  color: var(--color-accent);
}


/* ==========================================================================
   КОНТЕЙНЕР И СЕТКА (Mobile-First)
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

.section {
  padding: 60px 0;
}


/* ==========================================================================
   КНОПКИ
   ========================================================================== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  transition: background-color var(--transition-base),
              transform var(--transition-fast),
              box-shadow var(--transition-base);
  text-align: center;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn--primary {
  background-color: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
}

.btn--primary:hover {
  background-color: #3d9140;
  border-color: #3d9140;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--secondary {
  background-color: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn--secondary:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}


/* ==========================================================================
   ШАПКА (Header) — базовая структура
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: transparent;
  z-index: 1000;
  transition: box-shadow var(--transition-base), background-color var(--transition-base);
}

/* Тёмная Hero-секция под шапкой — делаем логотип и ссылки белыми */
.header .header__logo,
.header .header__nav-link,
.header .header__burger-line {
  color: var(--color-white);
  border-color: var(--color-white);
}

.header .header__burger-line {
  background-color: var(--color-white);
}

/* При скролле — белый фон с тенью */
.header--scrolled {
  box-shadow: var(--shadow-md);
  background-color: rgba(255, 255, 255, 0.97);
}

.header--scrolled .header__logo,
.header--scrolled .header__nav-link,
.header--scrolled .header__burger-line {
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.header--scrolled .header__burger-line {
  background-color: var(--color-primary);
}

.header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--color-primary);
  z-index: 1001;
}

.header__logo-icon {
  font-size: 1.5rem;
  color: var(--color-accent);
}

.header__nav-list {
  display: flex;
  align-items: center;
  gap: 24px;
}

.header__nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-white);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color var(--transition-fast), border-color var(--transition-fast);
}

.header__nav-link:hover {
  color: var(--color-accent);
  border-bottom-color: var(--color-accent);
}

/* Бургер-меню */
.header__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  gap: 5px;
  z-index: 1001;
}

.header__burger-line {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-primary);
  border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-base);
}

/* Анимация бургера в крестик */
.header__burger--active .header__burger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.header__burger--active .header__burger-line:nth-child(2) {
  opacity: 0;
}

.header__burger--active .header__burger-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}


/* ==========================================================================
   ОСНОВНОЙ КОНТЕНТ (Main) — отступ под фиксированную шапку
   ========================================================================== */
.main {
  padding-top: var(--header-height);
}


/* ==========================================================================
   БЛОКИРОВКА СКРОЛЛА ПРИ ОТКРЫТОМ БУРГЕР-МЕНЮ
   ========================================================================== */
.no-scroll {
  overflow: hidden;
  height: 100%;
}


/* ==========================================================================
   HERO-СЕКЦИЯ — базовая структура
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: var(--header-height);
  background: linear-gradient(135deg, var(--color-primary) 0%, #2a4a5a 100%);
  overflow: hidden;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26, 42, 58, 0.85) 0%, rgba(42, 74, 90, 0.70) 100%);
  z-index: 1;
}

.hero__container {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px var(--container-padding);
}

.hero__title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 16px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero__subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

.hero__cta {
  font-size: 1.1rem;
  padding: 16px 40px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 20px rgba(76, 175, 80, 0.4);
  animation: hero-pulse 2s ease-in-out infinite;
}

.hero__cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 30px rgba(76, 175, 80, 0.5);
}

@keyframes hero-pulse {
  0%, 100% {
    box-shadow: 0 4px 20px rgba(76, 175, 80, 0.4);
  }
  50% {
    box-shadow: 0 4px 30px rgba(76, 175, 80, 0.6);
  }
}


/* ==========================================================================
   СЕКЦИЯ «УСЛУГИ» — базовая структура
   ========================================================================== */
.services {
  background-color: var(--color-white);
}

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

.service-card {
  background-color: var(--color-bg);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  text-align: center;
  transition: transform var(--transition-base), box-shadow var(--transition-base), background-color var(--transition-base), border-color var(--transition-base);
  border: 1px solid var(--color-light-gray);
  position: relative;
  overflow: hidden;
}

/* Подсветка — псевдоэлемент создаёт эффект свечения */
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.05), rgba(212, 168, 83, 0.05));
  opacity: 0;
  transition: opacity var(--transition-base);
  border-radius: var(--radius-md);
  pointer-events: none;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-accent);
  background-color: #fafff8;
}

.service-card:hover::before {
  opacity: 1;
}

.service-card__icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  color: var(--color-accent);
  transition: transform var(--transition-base), color var(--transition-base);
  display: inline-block;
}

.service-card:hover .service-card__icon {
  transform: scale(1.15);
  color: #3d9140;
}

.service-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--color-primary);
}

.service-card__desc {
  font-size: 0.9rem;
  color: var(--color-gray);
  line-height: 1.6;
}


/* ==========================================================================
   СЕКЦИЯ «О НАС» — базовая структура
   ========================================================================== */
.about {
  background-color: var(--color-bg);
}

.about__content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}

.about__image {
  position: relative;
}

.about__image-wrapper {
  position: relative;
  background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
  border-radius: var(--radius-lg);
  padding: 40px 20px;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Декоративные фоновые элементы */
.about__image-wrapper::before {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(76, 175, 80, 0.12), transparent);
  top: -40px;
  right: -40px;
  border-radius: 50%;
}

.about__image-wrapper::after {
  content: '';
  position: absolute;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(212, 168, 83, 0.1), transparent);
  bottom: -30px;
  left: -30px;
  border-radius: 50%;
}

/* Сетка аватаров сотрудников */
.about__team {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 280px;
  width: 100%;
  position: relative;
  z-index: 1;
}

.about__team-member {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.about__team-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  border: 3px solid var(--color-white);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.about__team-avatar:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-md);
}

.about__team-avatar--1 { background: linear-gradient(135deg, #5B8C5A, #4CAF50); }
.about__team-avatar--2 { background: linear-gradient(135deg, #D4A853, #e0b96e); }
.about__team-avatar--3 { background: linear-gradient(135deg, #1a2a3a, #3a5a6a); }
.about__team-avatar--4 { background: linear-gradient(135deg, #6b7b8b, #8b9bab); }
.about__team-avatar--5 { background: linear-gradient(135deg, #4CAF50, #81C784); }
.about__team-avatar--6 { background: linear-gradient(135deg, #D4A853, #c49a3f); }

.about__team-name {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-primary);
  text-align: center;
  line-height: 1.2;
}

.about__team-role {
  font-size: 0.65rem;
  color: var(--color-gray);
}

.about__team-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  padding: 6px 16px;
  background-color: var(--color-white);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-accent);
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 1;
}

.about__description {
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--color-primary);
  margin-bottom: 16px;
}

.about__values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}

.about__value {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background-color: var(--color-white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
}

.about__value:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  background-color: #fafff8;
}

.about__value-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.about__value:hover .about__value-icon {
  transform: scale(1.2);
}


/* ==========================================================================
   СЕКЦИЯ «ОТДЫХ И ПРИРОДА» — базовая структура
   ========================================================================== */
.nature {
  background: linear-gradient(180deg, #e8f5e9 0%, #f1f8e9 50%, #fff8e1 100%);
  position: relative;
  overflow: hidden;
}

/* Декоративные природные элементы */
.nature::before {
  content: '🌿';
  position: absolute;
  font-size: 6rem;
  opacity: 0.08;
  top: 30px;
  right: 20px;
  transform: rotate(15deg);
  pointer-events: none;
}

.nature::after {
  content: '🍃';
  position: absolute;
  font-size: 4rem;
  opacity: 0.06;
  bottom: 60px;
  left: 20px;
  transform: rotate(-10deg);
  pointer-events: none;
}

.nature__content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.nature__text {
  text-align: center;
}

.nature__phrase {
  font-family: var(--font-accent);
  font-size: 1.6rem;
  color: var(--color-accent);
  margin-bottom: 12px;
  font-weight: 600;
  transition: transform var(--transition-fast);
}

.nature__phrase:hover {
  transform: translateX(4px);
}

.nature__description {
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--color-primary);
  margin-top: 20px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.nature__gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.nature__gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
}

/* Разные размеры элементов галереи */
.nature__gallery-item--1,
.nature__gallery-item--4,
.nature__gallery-item--7 {
  grid-column: span 2;
}

.nature__gallery-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  background: linear-gradient(135deg, #c8e6c9, #a5d6a7);
  min-height: 140px;
  border-radius: var(--radius-md);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

/* Разные градиенты для элементов галереи */
.nature__gallery-item--1 .nature__gallery-placeholder {
  background: linear-gradient(135deg, #a5d6a7, #81c784);
  min-height: 200px;
}

.nature__gallery-item--2 .nature__gallery-placeholder {
  background: linear-gradient(135deg, #c8e6c9, #b3d9b5);
}

.nature__gallery-item--3 .nature__gallery-placeholder {
  background: linear-gradient(135deg, #d4e8d0, #c8e6c9);
}

.nature__gallery-item--4 .nature__gallery-placeholder {
  background: linear-gradient(135deg, #b3d9b5, #a5d6a7);
  min-height: 200px;
}

.nature__gallery-item--5 .nature__gallery-placeholder {
  background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
}

.nature__gallery-item--6 .nature__gallery-placeholder {
  background: linear-gradient(135deg, #fff8e1, #f1f8e9);
}

.nature__gallery-item--7 .nature__gallery-placeholder {
  background: linear-gradient(135deg, #81c784, #66bb6a);
  min-height: 200px;
}

.nature__gallery-item--8 .nature__gallery-placeholder {
  background: linear-gradient(135deg, #f1f8e9, #e8f5e9);
}

.nature__gallery-item:hover .nature__gallery-placeholder {
  transform: scale(1.05);
  box-shadow: var(--shadow-md);
}

/* Подпись к фото */
.nature__gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 8px 12px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.4));
  color: var(--color-white);
  font-size: 0.75rem;
  font-weight: 600;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.nature__gallery-item:hover .nature__gallery-caption {
  opacity: 1;
}


/* ==========================================================================
   СЕКЦИЯ «КОНТАКТЫ» — базовая структура
   ========================================================================== */
.contacts {
  background-color: var(--color-white);
}

.contacts__content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.contacts__info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contacts__info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.98rem;
  line-height: 1.6;
}

.contacts__info-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--color-accent);
}

.contacts__info-item a {
  color: var(--color-accent);
  font-weight: 600;
  transition: color var(--transition-fast);
}

.contacts__info-item a:hover {
  color: #3d9140;
}

.contacts__callback {
  align-self: flex-start;
  margin-top: 8px;
}

/* Форма */
.contacts__form {
  background-color: var(--color-bg);
  padding: 32px 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-light-gray);
}

.contacts__form-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--color-primary);
}

.contacts__form-group {
  margin-bottom: 20px;
}

.contacts__form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-primary);
}

.required {
  color: var(--color-error);
}

.contacts__form-input {
  width: 100%;
  padding: 12px 16px;
  background-color: var(--color-white);
  border: 2px solid var(--color-light-gray);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  color: var(--color-primary);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.contacts__form-input:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.15);
}

.contacts__form-input--error {
  border-color: var(--color-error);
}

.contacts__form-input--success {
  border-color: var(--color-success);
}

.contacts__form-textarea {
  min-height: 120px;
  resize: vertical;
}

.contacts__form-error {
  display: block;
  font-size: 0.82rem;
  color: var(--color-error);
  margin-top: 4px;
  min-height: 0;
}

.contacts__form-submit {
  width: 100%;
}


/* ==========================================================================
   ПОДВАЛ (Footer)
   ========================================================================== */
.footer {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 32px 0;
}

.footer__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.footer__slogan {
  font-family: var(--font-accent);
  font-size: 1.3rem;
  color: var(--color-secondary);
  margin-bottom: 6px;
  font-weight: 600;
}

.footer__copyright {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer__social {
  display: flex;
  gap: 16px;
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-size: 1.4rem;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.footer__social-link:hover {
  background-color: var(--color-accent);
  transform: translateY(-3px);
}

.footer__timer {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer__timer-value {
  font-weight: 700;
  color: var(--color-secondary);
}


/* ==========================================================================
   TOAST-УВЕДОМЛЕНИЕ
   ========================================================================== */
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  display: flex;
  align-items: center;
  gap: 12px;
  background-color: var(--color-white);
  color: var(--color-primary);
  padding: 16px 28px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border-left: 4px solid var(--color-accent);
  opacity: 0;
  transition: transform var(--transition-base), opacity var(--transition-base);
  z-index: 2000;
  pointer-events: none;
}

.toast--visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.toast__icon {
  font-size: 1.5rem;
}

.toast__message {
  font-weight: 600;
  font-size: 0.95rem;
}


/* ==========================================================================
   АНИМАЦИЯ ПОЯВЛЕНИЯ ПРИ СКРОЛЛЕ (Intersection Observer)
   ========================================================================== */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll--visible {
  opacity: 1;
  transform: translateY(0);
}


/* ==========================================================================
   BREAKPOINT: 576px (Смартфоны landscape)
   ========================================================================== */
@media (min-width: 576px) {
  :root {
    --container-padding: 24px;
  }

  .section {
    padding: 70px 0;
  }

  .hero__title {
    font-size: 2.5rem;
  }

  .hero__subtitle {
    font-size: 1.2rem;
  }

  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .nature__gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .about__values {
    grid-template-columns: repeat(2, 1fr);
  }

  .contacts__form {
    padding: 36px 32px;
  }

  .footer__container {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}


/* ==========================================================================
   BREAKPOINT: 768px (Планшеты)
   ========================================================================== */
@media (min-width: 768px) {
  :root {
    --container-padding: 32px;
  }

  .section {
    padding: 80px 0;
  }

  .section__title {
    font-size: 2.3rem;
  }

  .hero__title {
    font-size: 3rem;
  }

  .hero__subtitle {
    font-size: 1.3rem;
  }

  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .about__values {
    grid-template-columns: repeat(2, 1fr);
  }

  .nature__content {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .nature__text {
    text-align: left;
  }

  .nature__gallery {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .contacts__form-submit {
    width: auto;
  }
}


/* ==========================================================================
   BREAKPOINT: 992px (Десктоп)
   ========================================================================== */
@media (min-width: 992px) {
  :root {
    --container-padding: 40px;
  }

  .section {
    padding: 100px 0;
  }

  .section__title {
    font-size: 2.5rem;
  }

  .hero__title {
    font-size: 3.5rem;
  }

  .services__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .about__values {
    grid-template-columns: repeat(4, 1fr);
  }

  .nature__gallery {
    grid-template-columns: repeat(4, 1fr);
  }
}


/* ==========================================================================
   BREAKPOINT: 1200px (Широкие экраны)
   ========================================================================== */
@media (min-width: 1200px) {
  :root {
    --container-padding: 40px;
  }

  .hero__title {
    font-size: 3.8rem;
  }
}


/* ==========================================================================
   БАЗОВЫЙ СТИЛЬ ДЛЯ МОБИЛЬНОЙ НАВИГАЦИИ (бургер)
   ========================================================================== */
@media (max-width: 767px) {
  .header__burger {
    display: flex;
  }

  .header__nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 75%;
    max-width: 320px;
    height: 100vh;
    background-color: var(--color-white);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
    padding: 80px 32px 32px;
    transform: translateX(100%);
    transition: transform var(--transition-base);
    z-index: 999;
  }

  .header__nav--open {
    transform: translateX(0);
  }

  .header__nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .header__nav-link {
    font-size: 1.1rem;
    color: var(--color-primary);
  }
}
