@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500&display=swap");

:root {
  --bg: #f9f6f0;
  --bg-alt: #f2ede4;
  --bg-dark: #2c2c2c;
  --text: #2c2c2c;
  --muted: #7a7a7a;
  --accent: #5b7b5b;
  --accent-light: rgba(91, 123, 91, 0.08);
  --border: #e0d8cc;
  --white: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "DM Sans", sans-serif;
  font-size: 17px;
  font-weight: 300;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

h1 {
  font-size: clamp(36px, 4.5vw, 64px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.5px;
  color: var(--text);
}

h2 {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.3px;
  color: var(--text);
  margin-bottom: 56px;
}

h3 {
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.2px;
  color: var(--text);
  margin-bottom: 10px;
}

.label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 20px;
}

.accent-line {
  width: 40px;
  height: 2px;
  background: var(--accent);
  display: block;
  margin-bottom: 32px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--accent);
  color: var(--bg);
  font-family: "DM Sans", sans-serif;
  font-weight: 400;
  font-size: 15px;
  padding: 14px 36px;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: opacity 0.2s;
  text-decoration: none;
}

.btn-primary:hover {
  opacity: 0.82;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: transparent;
  color: var(--text);
  font-family: "DM Sans", sans-serif;
  font-weight: 400;
  font-size: 15px;
  padding: 13px 34px;
  border: 1px solid var(--border);
  border-radius: 2px;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  text-decoration: none;
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--accent);
  font-family: "DM Sans", sans-serif;
  font-weight: 400;
  font-size: 15px;
  border: none;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
  cursor: pointer;
  transition: opacity 0.2s;
  text-decoration: none;
}

.btn-text:hover {
  opacity: 0.65;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 36px;
  transition: border-color 0.25s;
}

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

section {
  padding: 120px 100px;
  position: relative;
}

.section-alt {
  background: var(--bg-alt);
}

.section-rule {
  height: 1px;
  background: var(--border);
  margin: 0 100px;
}

.fade {
  opacity: 0;
  transition: opacity 0.8s ease;
}

.fade.visible {
  opacity: 1;
}

/* ——— NAV ——— */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 68px;
  padding: 0 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 100%;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
  color: var(--text);
}

.nav-logo-icon {
  display: block;
  width: 50px;
  height: 50px;
}

.nav-links {
  display: none;
  list-style: none;
  gap: 28px;
  align-items: center;
}

.nav-links a {
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.3px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--text);
}

.nav-links a.is-active {
  color: var(--accent);
}

.nav-right {
  display: none;
  align-items: center;
  gap: 20px;
}

.nav-phone {
  font-size: 14px;
  font-weight: 400;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}

.nav-cta {
  padding: 10px 24px;
  font-size: 13px;
}

.burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.burger span {
  display: block;
  height: 1px;
  background: var(--text);
  width: 22px;
  margin: 0 auto;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  padding: 100px 32px 40px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-menu.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.mobile-menu a {
  font-size: 18px;
  font-weight: 300;
  color: var(--muted);
  text-decoration: none;
}

.mobile-menu a:hover {
  color: var(--text);
}

.mobile-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
  color: var(--text);
}

/* ——— HERO ——— */
.hero {
  padding: 140px 100px 100px;
  border-bottom: 1px solid var(--border);
}

.hero-grid {
  display: grid;
  gap: 48px;
  align-items: center;
}

.hero-label-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}

.hero-label-row .label {
  margin-bottom: 0;
}

.hero-sub {
  font-size: 19px;
  font-weight: 300;
  color: var(--muted);
  max-width: 420px;
  line-height: 1.8;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.hero-fact-num {
  font-size: 36px;
  font-weight: 400;
  color: var(--text);
  line-height: 1.1;
}

.hero-fact-cap {
  font-size: 14px;
  font-weight: 300;
  color: var(--muted);
}

.hero-photo-wrap {
  position: relative;
  width: 100%;
}

.hero-photo {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 2px;
}

.hero-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(91, 123, 91, 0.88);
  padding: 20px 28px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero-caption p {
  font-size: 14px;
  font-weight: 400;
  color: #fff;
  margin: 0;
  line-height: 1.4;
}

.h1-accent {
  margin-top: 32px;
}

/* ——— TRUST ——— */
.trust {
  padding: 60px 100px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trust-flex {
  display: flex;
  flex-direction: column;
}

.trust-item {
  flex: 1;
  border-right: none;
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
}

.trust-item:first-child {
  padding-left: 0;
}

.trust-item:last-child {
  border-right: none;
  border-bottom: none;
}

.trust-num {
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 400;
  color: var(--text);
  line-height: 1.1;
}

.trust-cap {
  font-size: 13px;
  font-weight: 300;
  color: var(--muted);
  letter-spacing: 0.5px;
}

/* ——— PHILOSOPHY ——— */
.philosophy-grid {
  display: grid;
  gap: 48px;
}

.philosophy-text p {
  font-size: 18px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 18px;
}

.philosophy-photo {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 2px;
}

.philosophy-list {
  margin-top: 24px;
  border-left: 2px solid var(--accent);
  padding-left: 20px;
}

.philosophy-list li {
  font-size: 15px;
  font-weight: 300;
  color: var(--muted);
  margin-bottom: 16px;
  list-style: none;
}

/* ——— SERVICES ——— */
.services-grid {
  display: grid;
  gap: 48px;
}

.service-row {
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
  cursor: default;
  transition: border-bottom-color 0.2s;
}

.service-row:hover {
  border-bottom-color: var(--accent);
}

.service-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 10px;
}

.service-head-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-head-left h3 {
  margin-bottom: 0;
}

.service-num {
  font-size: 22px;
  font-weight: 300;
  color: var(--border);
}

.service-row p {
  font-size: 15px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.75;
}

.service-arrow {
  flex-shrink: 0;
  opacity: 0;
  transition: opacity 0.2s;
}

.service-row:hover .service-arrow {
  opacity: 1;
}

.service-tree-note {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  width: 100%;
}

.service-tree-note p {
  font-size: 13px;
  font-weight: 300;
  color: var(--muted);
  text-align: center;
}

/* ——— FOREST ——— */
.forest-divider {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 40px;
  padding: 80px 100px;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.forest-quote {
  font-size: 20px;
  font-weight: 300;
  font-style: italic;
  color: var(--muted);
  line-height: 1.7;
  max-width: 440px;
}

.forest-author {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 16px;
}

.forest-metrics-block > div {
  border-left: 2px solid var(--accent);
  padding-left: 20px;
  margin-bottom: 28px;
}

.forest-m-num {
  font-size: 36px;
  font-weight: 400;
  color: var(--text);
}

.forest-m-cap {
  font-size: 13px;
  font-weight: 300;
  color: var(--muted);
}

.forest-metrics-block > div:last-child {
  margin-bottom: 0;
}

.forest-metrics-block > div:last-child {
  margin-bottom: 0;
}

/* ——— CASES ——— */
.cases-grid {
  display: grid;
  gap: 24px;
}

.case-card {
  overflow: hidden;
}

.case-photo {
  height: 200px;
  width: calc(100% + 72px);
  max-width: none;
  margin: -36px -36px 28px;
  object-fit: cover;
  border-radius: 2px 2px 0 0;
}

.case-badge {
  background: var(--bg);
  border: 1px solid var(--border);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 2px;
  display: inline-block;
  margin-bottom: 12px;
}

.case-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
  border-top: 1px solid var(--border);
  padding-top: 20px;
  font-size: 14px;
  font-weight: 300;
  color: var(--muted);
}

/* ——— PROCESS ——— */
.process-grid {
  display: grid;
  gap: 48px;
  align-items: start;
}

.process-photo {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 2px;
}

.process-note.card {
  margin-top: 16px;
  padding: 24px;
}

.process-note p {
  font-size: 15px;
  font-weight: 300;
  color: var(--muted);
}

.process-steps .step {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}

.process-steps .step:last-child {
  border-bottom: none;
}

.step-num {
  font-size: 20px;
  font-weight: 300;
  color: var(--border);
}

.step-body h3 {
  margin-bottom: 6px;
}

.step-body p {
  font-size: 14px;
  font-weight: 300;
  color: var(--muted);
}

.step-term {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 6px;
}

/* ——— PRICING ——— */
.pricing-intro {
  font-size: 18px;
  font-weight: 300;
  color: var(--muted);
  max-width: 540px;
  margin-bottom: 48px;
}

.pricing-grid {
  display: grid;
  gap: 0;
}

.pricing-card {
  border: 1px solid var(--border);
  padding: 30px 24px;
  background: var(--white);
}

.pricing-card.is-featured {
  border-color: var(--accent);
  position: relative;
}

.pricing-card.is-featured::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
}

.pricing-price {
  font-size: 34px;
  font-weight: 400;
  color: var(--text);
  line-height: 1.1;
}

.pricing-per {
  font-size: 14px;
  font-weight: 300;
  color: var(--muted);
}

.pricing-line {
  width: 30px;
  height: 2px;
  background: var(--accent);
  margin: 18px 0;
}

.pricing-list {
  list-style: none;
}

.pricing-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  font-weight: 300;
  margin-bottom: 8px;
  color: var(--text);
  line-height: 1.45;
}

.pricing-foot {
  font-size: 13px;
  font-weight: 300;
  color: var(--muted);
  margin-top: 24px;
  font-style: italic;
}

/* ——— REVIEWS ——— */
.reviews-list .review-item {
  display: block;
  border-top: 1px solid var(--border);
  padding: 30px 0;
  transition: border-top-color 0.25s;
}

.reviews-list .review-item:hover {
  border-top-color: var(--accent);
}

.review-name {
  font-size: 17px;
  font-weight: 500;
}

.review-role {
  font-size: 13px;
  font-weight: 300;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.review-stars {
  font-size: 14px;
  font-weight: 400;
  color: var(--accent);
}

.review-date {
  font-size: 12px;
  font-weight: 300;
  color: var(--muted);
  margin-top: 4px;
}

.review-text {
  font-size: 16px;
  font-weight: 300;
  color: var(--muted);
  margin-top: 10px;
  line-height: 1.75;
}

/* ——— BLOG ——— */
.blog-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.blog-notes span {
  font-size: 12px;
  font-weight: 300;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 6px 10px;
  border-radius: 2px;
}

.blog-grid {
  display: grid;
  gap: 20px;
}

.blog-card {
  padding: 24px;
}

.blog-date {
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.blog-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.blog-card p {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 12px;
}

/* ——— FAQ ——— */
.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-toggle {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 28px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font: inherit;
}

.faq-toggle h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
}

.faq-icons {
  flex-shrink: 0;
  position: relative;
  width: 16px;
  height: 16px;
}

.faq-icon-plus,
.faq-icon-minus {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-icon-minus {
  display: none;
}

.faq-panel {
  display: none;
  padding-bottom: 28px;
  font-size: 16px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.8;
}

.faq-item.is-open .faq-panel {
  display: block;
}

.faq-item.is-open .faq-icon-minus {
  display: flex;
}

.faq-item.is-open .faq-icon-plus {
  display: none;
}

/* ——— FORM ——— */
.form-grid {
  display: grid;
  gap: 48px;
}

.form-field {
  margin-bottom: 24px;
}

.form-field label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 12px 16px;
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  font-weight: 300;
  color: var(--text);
  transition: border-color 0.2s;
}

.form-input:focus {
  outline: none;
  border-color: var(--accent);
}

textarea.form-input {
  resize: vertical;
  min-height: 96px;
}

.form-card {
  padding: 48px;
}

.form-thankyou {
  display: none;
  text-align: center;
  padding: 20px 0;
}

.form-thankyou h3 {
  margin-top: 16px;
  margin-bottom: 8px;
}

.form-thankyou p {
  font-weight: 300;
  color: var(--muted);
}

.form-disclaimer {
  font-size: 12px;
  font-weight: 300;
  color: var(--muted);
  margin-top: 16px;
}

.form-disclaimer a {
  color: var(--accent);
}

/* ——— CONTACTS ——— */
.contacts-shell {
  display: grid;
  gap: 24px;
}

.contacts-main {
  display: grid;
  gap: 24px;
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 28px;
  transition: border-color 0.25s;
}

.contact-card:hover {
  border-color: var(--accent);
}

.contact-phone-big {
  display: inline-block;
  font-size: 28px;
  font-weight: 400;
  text-decoration: none;
  margin-bottom: 6px;
}

.contact-hours {
  font-size: 14px;
  font-weight: 300;
  color: var(--muted);
  margin-top: 6px;
}

.contact-mail {
  display: inline-block;
  font-size: 16px;
  font-weight: 300;
  color: var(--muted);
  margin-top: 2px;
  text-decoration: none;
}

.map-frame {
  width: 100%;
  height: 300px;
  border: 1px solid var(--border);
  border-radius: 2px;
  margin-top: 16px;
}

.social-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
  text-decoration: none;
  font-size: 15px;
  font-weight: 300;
  color: var(--text);
  transition: color 0.2s;
}

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

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.contact-actions .btn-primary,
.contact-actions .btn-outline {
  padding: 10px 20px;
  font-size: 13px;
}

.contact-address-main {
  font-size: 16px;
  font-weight: 400;
  color: var(--text);
  margin-top: 2px;
}

.contact-address-sub {
  font-size: 14px;
  color: var(--muted);
}

.contact-social-caption {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 12px;
  line-height: 1.7;
}

/* ——— FOOTER ——— */
.site-footer {
  background: var(--bg-dark);
  padding: 60px 100px 40px;
  color: #fff;
}

.footer-topline {
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 28px;
  margin-bottom: 38px;
}

.footer-topline-text {
  font-size: clamp(20px, 2.2vw, 30px);
  font-weight: 300;
  line-height: 1.3;
  letter-spacing: -0.2px;
  color: rgba(255, 255, 255, 0.9);
}

.footer-topline-btn {
  width: fit-content;
}

.footer-grid {
  display: grid;
  gap: 40px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-size: 18px;
  font-weight: 500;
}

.footer-logo-icon {
  display: block;
  width: 22px;
  height: 22px;
  filter: brightness(0) invert(1);
}

.footer-brand-tag {
  font-size: 14px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 8px;
}

.footer-meta {
  font-size: 13px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 16px;
  line-height: 1.7;
}

.footer-col-title {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 16px;
}

.footer-list {
  list-style: none;
}

.footer-list li {
  margin-bottom: 8px;
}

.footer-list a {
  font-size: 14px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-list a:hover {
  color: #fff;
}

.footer-contact p,
.footer-contact a {
  display: block;
  font-size: 14px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  line-height: 1.7;
  margin-bottom: 4px;
}

.footer-socials {
  display: flex;
  gap: 14px;
  margin-top: 16px;
}

.footer-socials a {
  display: inline-flex;
  transition: opacity 0.2s;
}

.footer-socials a:hover {
  opacity: 1;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom a {
  font-size: 12px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-bottom a:hover {
  color: rgba(255, 255, 255, 0.8);
}

.footer-socials a:hover svg path,
.footer-socials a:hover svg rect {
  stroke: #ffffff;
}

/* ——— FLOAT CALL ——— */
.float-call {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1200;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.float-call.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.float-call .btn-primary {
  padding: 12px 18px;
  font-size: 13px;
  box-shadow: none;
}

/* ——— LEGAL PAGES ——— */
.legal-page {
  min-height: 100vh;
  padding: 80px 120px;
  max-width: 760px;
  margin: 0 auto;
}

.legal-page h1 {
  font-size: 32px;
  margin-bottom: 12px;
}

.legal-underline {
  width: 40px;
  height: 2px;
  background: var(--accent);
  margin-bottom: 32px;
}

.legal-page h2 {
  font-size: 22px;
  margin: 40px 0 16px;
}

.legal-page p,
.legal-page li {
  font-size: 16px;
  font-weight: 300;
  color: var(--muted);
  margin-bottom: 14px;
}

.legal-page ul {
  padding-left: 20px;
  margin-bottom: 16px;
}

.legal-back {
  display: inline-block;
  margin-bottom: 40px;
  color: var(--accent);
  text-decoration: none;
  font-size: 14px;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
}

@media (max-width: 767px) {
  section {
    padding: 80px 24px;
  }

  .site-nav {
    padding: 0 24px;
    height: 60px;
  }

  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 26px;
    margin-bottom: 40px;
  }

  .hero {
    padding: 110px 24px 80px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-photo {
    height: 280px;
  }

  .hero-facts {
    flex-direction: column;
    gap: 24px;
  }

  .trust {
    padding: 40px 24px;
  }

  .trust-flex {
    flex-direction: column;
  }

  .trust-item {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 24px 0;
  }

  .trust-item:last-child {
    border-bottom: none;
  }

  .philosophy-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .forest-divider {
    padding: 80px 24px;
    flex-direction: column;
    gap: 40px;
  }

  .process-steps .step {
    gap: 0;
  }
  .form-card {
    padding: 30px;
  }

  .forest-svg {
    display: none;
  }

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

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

  .process-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

  .reviews-list .review-item {
    grid-template-columns: 1fr;
  }

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

  .contacts-shell {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .contacts-main {
    grid-template-columns: 1fr;
    gap: 18px;
  }

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

  .footer-topline {
    margin-bottom: 28px;
    padding-bottom: 20px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
  }

  .section-rule {
    margin: 0 24px;
  }

  .legal-page {
    padding: 80px 24px;
  }
  .site-footer {
    padding: 45px 24px;
  }
}


@media (min-width: 768px) and (max-width: 1279px) {
  section {
    padding: 90px 60px;
  }

  .site-nav {
    padding: 0 60px;
  }

  .hero {
    padding: 130px 60px 90px;
  }

  .trust {
    padding: 50px 60px;
  }

  .forest-divider {
    padding: 70px 60px;
    flex-direction: row;
    align-items: center;
    gap: 60px;
  }

  .forest-svg {
    display: block;
    flex-shrink: 0;
  }

  .section-rule {
    margin: 0 60px;
  }

  .site-footer {
    padding: 50px 60px 36px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .philosophy-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 64px;
  }

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

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

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

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

  .contacts-shell {
    grid-template-columns: 1fr;
  }

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

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

  .footer-topline {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
  }
}

@media (min-width: 768px) {
  .burger {
    display: none;
  }

  .nav-links {
    display: flex;
  }

  .nav-right {
    display: flex;
  }

  .trust-flex {
    display: flex;
    flex-direction: row;
  }

  .trust-item {
    flex: 1;
    border-right: 1px solid var(--border);
    border-bottom: none;
    padding: 0 48px;
  }

  .trust-item:first-child {
    padding-left: 0;
  }

  .trust-item:last-child {
    border-right: none;
  }
}

@media (min-width: 1280px) {
  .hero-grid {
    display: grid;
    grid-template-columns: 55fr 45fr;
    gap: 80px;
    align-items: center;
  }

  .philosophy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
  }

  .services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
  }

  .forest-divider {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 80px;
  }

  .forest-svg {
    display: block;
    flex-shrink: 0;
  }

  .cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

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

  .pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
  }

  .form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
  }

  .contacts-shell {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 24px;
    align-items: start;
  }

  .contacts-main {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
    gap: 52px;
  }

  .footer-bottom {
    flex-direction: row;
    align-items: center;
  }
}

@media (min-width: 1920px) {
  .hero,
  section,
  .trust,
  .forest-divider,
  .site-nav,
  .site-footer,
  .section-rule {
    padding-left: max(100px, calc((100vw - 1600px) / 2));
    padding-right: max(100px, calc((100vw - 1600px) / 2));
  }

  .section-rule {
    margin-left: max(100px, calc((100vw - 1600px) / 2));
    margin-right: max(100px, calc((100vw - 1600px) / 2));
  }
}
