*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: #292524;
  background: #faf7f2;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
}
button {
  font-family: inherit;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.terra-section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  color: #292524;
  margin-bottom: 12px;
}
.terra-section-sub {
  font-size: 17px;
  color: #78716c;
  max-width: 560px;
  margin-bottom: 48px;
  line-height: 1.75;
}
.terra-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.terra-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s ease;
  border-radius: 999px;
  padding: 14px 32px;
}
.terra-btn--primary {
  background: #c2410c;
  color: #ffffff;
}
.terra-btn--primary:hover {
  background: #9a340a;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(194, 65, 12, 0.25);
}
.terra-btn--soft {
  background: #fde8dd;
  color: #c2410c;
}
.terra-btn--soft:hover {
  background: #fcdbca;
  transform: translateY(-2px);
}
.terra-btn--ghost {
  background: transparent;
  color: #c2410c;
  padding: 10px 0;
}
.terra-btn--ghost:hover {
  text-decoration: underline;
}
.terra-btn--lg {
  padding: 16px 48px;
  font-size: 16px;
}
.terra-btn--sm {
  padding: 10px 24px;
  font-size: 13px;
}
.terra-wave {
  line-height: 0;
}
.terra-wave svg {
  width: 100%;
  height: 60px;
  display: block;
}
.terra-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 76px;
  display: flex;
  align-items: center;
  background: #faf7f2;
  border-bottom: 1px solid #e5ded6;
  transition: all 0.25s ease;
}
.terra-header--scrolled {
  box-shadow: 0 4px 24px rgba(44, 31, 20, 0.08);
}
.terra-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  width: 100%;
}
.terra-header__cta {
  flex-shrink: 0;
}
.terra-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.terra-logo__bar {
  width: 4px;
  height: 38px;
  background: linear-gradient(180deg, #c2410c 0%, #882e08 100%);
  border-radius: 4px;
  flex-shrink: 0;
}
.terra-logo__name {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  color: #292524;
  letter-spacing: 0.1em;
}
.terra-logo__sub {
  display: block;
  font-size: 11px;
  color: #78716c;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.terra-nav {
  display: flex;
  gap: 32px;
}
.terra-nav a {
  font-size: 14px;
  font-weight: 500;
  color: #78716c;
  text-decoration: none;
  transition: all 0.25s ease;
}
.terra-nav a:hover {
  color: #c2410c;
}
.terra-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.terra-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #292524;
  border-radius: 2px;
  transition: all 0.25s ease;
}
.terra-burger--active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.terra-burger--active span:nth-child(2) {
  opacity: 0;
}
.terra-burger--active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
.terra-hero {
  position: relative;
  padding: 80px 0 96px;
  background: #faf7f2;
  overflow: hidden;
}
.terra-hero::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: #fde8dd;
  top: -150px;
  right: -100px;
  z-index: 0;
  filter: blur(60px);
  opacity: 0.5;
}
.terra-hero::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: #f3ede4;
  bottom: -50px;
  left: 5%;
  z-index: 0;
  filter: blur(40px);
}
.terra-hero__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 55% 45%;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.terra-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fde8dd;
  color: #c2410c;
  font-size: 13px;
  font-weight: 500;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 28px;
}
.terra-hero__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(42px, 5.5vw, 72px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 24px;
  color: #292524;
}
.terra-hero__title-accent {
  color: #c2410c;
  font-style: italic;
}
.terra-hero__sub {
  font-size: 18px;
  color: #78716c;
  max-width: 480px;
  margin-bottom: 36px;
  line-height: 1.75;
}
.terra-hero__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 36px;
}
.terra-hero__trust {
  font-size: 14px;
  color: #78716c;
  font-weight: 500;
}
.terra-hero__img-wrap {
  border-radius: 40% 60% 60% 40% / 50% 40% 60% 50%;
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: 0 24px 64px rgba(44, 31, 20, 0.15);
}
.terra-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.terra-services {
  padding: 96px 0;
  background: #f3ede4;
}
.terra-services .terra-section-sub {
  margin-bottom: 32px;
}
.terra-services__scroll {
  overflow-x: auto;
  overflow-y: visible;
  padding: 16px 0 32px;
  scrollbar-width: thin;
  scrollbar-color: #e5ded6 transparent;
  cursor: grab;
  margin: 0 -24px;
  padding-left: 24px;
  padding-right: 24px;
}
.terra-services__scroll:active {
  cursor: grabbing;
}
.terra-services__scroll::-webkit-scrollbar {
  height: 4px;
}
.terra-services__scroll::-webkit-scrollbar-track {
  background: transparent;
}
.terra-services__scroll::-webkit-scrollbar-thumb {
  background: #e5ded6;
  border-radius: 2px;
}
.terra-services__track {
  display: flex;
  align-items: stretch;
  gap: 20px;
  width: max-content;
  padding: 8px 24px 8px 0;
}
.terra-service-card {
  width: 280px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #e5ded6;
  border-radius: 20px;
  padding: 32px 28px;
  transition: all 0.25s ease;
}
.terra-service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(194, 65, 12, 0.12);
  border-color: #c2410c;
}
.terra-service-card__photo {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 20px;
  flex-shrink: 0;
}
.terra-service-card__icon {
  width: 56px;
  height: 56px;
  background: #fde8dd;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 20px;
}
.terra-service-card__title {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: #292524;
  margin-bottom: 12px;
}
.terra-service-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.terra-service-card__text {
  flex: 1;
  font-size: 14px;
  color: #78716c;
  line-height: 1.7;
  margin-bottom: 0;
}
.terra-service-card__price {
  display: block;
  margin-top: auto;
  padding-top: 20px;
  align-self: flex-start;
  background: #f3ede4;
  color: #c2410c;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
}
.terra-cases {
  padding: 96px 0;
  background: #faf7f2;
}
.terra-cases .terra-section-title,
.terra-cases .terra-section-sub {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.terra-cases__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.terra-case {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #e5ded6;
  transition: all 0.25s ease;
}
.terra-case:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(44, 31, 20, 0.1);
}
.terra-case__photo-wrap {
  position: relative;
}
.terra-case__photo {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}
.terra-case__tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: #c2410c;
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.terra-case__body {
  padding: 28px;
}
.terra-case__title {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: #292524;
  margin-bottom: 10px;
}
.terra-case__text {
  font-size: 14px;
  color: #78716c;
  line-height: 1.7;
  margin-bottom: 20px;
}
.terra-case__results {
  display: flex;
  gap: 20px;
  padding: 16px 0;
  border-top: 1px solid #e5ded6;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.terra-case__result-num {
  display: block;
  font-size: 22px;
  font-weight: 800;
  color: #c2410c;
  font-family: 'Playfair Display', serif;
}
.terra-case__result-label {
  font-size: 12px;
  color: #78716c;
}
.terra-case__author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.terra-case__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fde8dd;
}
.terra-case__name {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #292524;
}
.terra-case__role {
  font-size: 12px;
  color: #78716c;
}
.terra-about {
  padding: 96px 0;
  background: #3d2b1f;
  position: relative;
  overflow: hidden;
}
.terra-about::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(194, 65, 12, 0.12), transparent 70%);
  top: -150px;
  right: -80px;
  pointer-events: none;
}
.terra-about .terra-section-title {
  color: #ffffff;
  position: relative;
  z-index: 1;
}
.terra-about__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.terra-about__text {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.75;
}
.terra-about__text p + p {
  margin-top: 20px;
}
.terra-about__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.terra-about-card {
  background: #ffffff;
  border: 1px solid #e5ded6;
  border-radius: 20px;
  padding: 28px 24px;
  transition: all 0.25s ease;
}
.terra-about-card:hover {
  border-color: #c2410c;
  box-shadow: 0 12px 40px rgba(44, 31, 20, 0.08);
}
.terra-about-card__icon {
  font-size: 32px;
  margin-bottom: 12px;
}
.terra-about-card__title {
  font-size: 16px;
  font-weight: 700;
  color: #292524;
  margin-bottom: 8px;
}
.terra-about-card__text {
  font-size: 14px;
  color: #78716c;
  line-height: 1.7;
}
.terra-faq {
  padding: 96px 0;
  background: #faf7f2;
}
.terra-faq .terra-section-title {
  text-align: center;
  margin-bottom: 48px;
}
.terra-faq__list {
  max-width: 800px;
  margin: 0 auto;
}
.terra-faq__item {
  border-bottom: 1px solid #e5ded6;
  overflow: hidden;
}
.terra-faq__item--open .terra-faq__icon {
  transform: rotate(45deg);
}
.terra-faq__item--open .terra-faq__answer {
  max-height: 300px;
}
.terra-faq__question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: #292524;
  text-align: left;
  gap: 16px;
  transition: all 0.25s ease;
}
.terra-faq__question:hover {
  color: #c2410c;
}
.terra-faq__icon {
  font-size: 24px;
  color: #c2410c;
  flex-shrink: 0;
  transition: transform 0.3s ease;
  font-weight: 300;
}
.terra-faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}
.terra-faq__answer p {
  font-size: 15px;
  color: #78716c;
  line-height: 1.75;
  padding-bottom: 24px;
}
.terra-blog {
  padding: 96px 0;
  background: #f3ede4;
}
.terra-blog__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.terra-blog-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #e5ded6;
  transition: all 0.25s ease;
}
.terra-blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(44, 31, 20, 0.08);
}
.terra-blog-card__photo {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.terra-blog-card__body {
  padding: 24px;
}
.terra-blog-card__tag {
  display: inline-block;
  background: #fde8dd;
  color: #c2410c;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}
.terra-blog-card__title {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  color: #292524;
  margin-bottom: 10px;
  line-height: 1.4;
}
.terra-blog-card__excerpt {
  font-size: 14px;
  color: #78716c;
  line-height: 1.7;
  margin-bottom: 16px;
}
.terra-blog-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid #e5ded6;
}
.terra-blog-card__date {
  font-size: 12px;
  color: #a8a29e;
}
.terra-blog-card__link {
  font-size: 13px;
  font-weight: 600;
  color: #c2410c;
  text-decoration: none;
}
.terra-blog-card__link:hover {
  text-decoration: underline;
}
.terra-process {
  padding: 96px 0;
  background: #faf7f2;
}
.terra-process .terra-section-title,
.terra-process .terra-section-sub {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.terra-process__steps {
  position: relative;
  max-width: 700px;
  margin: 48px auto 0;
}
.terra-process__steps::before {
  content: '';
  position: absolute;
  left: 27px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #e5ded6;
}
.terra-process__step {
  display: flex;
  gap: 28px;
  padding: 0 0 40px 0;
  position: relative;
}
.terra-process__step:last-child {
  padding-bottom: 0;
}
.terra-process__dot {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #c2410c;
  color: #ffffff;
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 6px #fde8dd;
}
.terra-process__content {
  padding-top: 12px;
}
.terra-process__title {
  font-size: 18px;
  font-weight: 700;
  color: #292524;
  margin-bottom: 8px;
}
.terra-process__text {
  font-size: 14px;
  color: #78716c;
  line-height: 1.7;
}
.terra-cta {
  padding: 96px 0;
  background: #2d1f14;
  position: relative;
  overflow: hidden;
}
.terra-cta::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(194, 65, 12, 0.2), transparent 70%);
  bottom: -150px;
  left: -100px;
}
.terra-cta__inner {
  max-width: 1200px;
  padding: 0 24px;
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}
.terra-cta__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
}
.terra-cta__sub {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 40px;
  line-height: 1.75;
}
.terra-cta__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
}
.terra-cta__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.terra-cta__form input,
.terra-cta__form textarea {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  color: #ffffff;
  padding: 14px 18px;
  font-size: 15px;
  width: 100%;
  font-family: 'Inter', sans-serif;
  transition: all 0.25s ease;
}
.terra-cta__form input:focus,
.terra-cta__form textarea:focus {
  outline: none;
  border-color: #c2410c;
  background: rgba(255, 255, 255, 0.1);
}
.terra-cta__form input::placeholder,
.terra-cta__form textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
}
.terra-cta__submit {
  margin-top: 8px;
  width: 100%;
}
.terra-cta__agree {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
  text-align: center;
}
.terra-cta__success {
  display: none;
  font-size: 20px;
  font-weight: 600;
  color: #ffffff;
  padding: 48px 24px;
  text-align: center;
}
.terra-footer {
  background: #1a120b;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 64px 0 32px;
}
.terra-footer .terra-logo__bar {
  background: linear-gradient(180deg, #c2410c 0%, #e84e0e 100%);
}
.terra-footer .terra-logo__name {
  color: #ffffff;
}
.terra-footer .terra-logo__sub {
  color: rgba(255, 255, 255, 0.4);
}
.terra-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.terra-footer__desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 16px;
  line-height: 1.7;
  max-width: 260px;
}
.terra-footer__col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.terra-footer__col-title {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 4px;
}
.terra-footer__col a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: all 0.25s ease;
}
.terra-footer__col a:hover {
  color: #ffffff;
}
.terra-footer__copy {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.25);
}
@media (max-width: 768px) {
  .terra-header__cta {
    display: none;
  }
  .terra-nav {
    display: none;
  }
  .terra-nav--open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 76px 0 0;
    background: #faf7f2;
    padding: 32px 24px;
    z-index: 99;
    gap: 24px;
    border-top: 1px solid #e5ded6;
  }
  .terra-burger {
    display: flex;
  }
  body.terra-no-scroll {
    overflow: hidden;
  }
  .terra-hero__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .terra-hero__img-wrap {
    max-width: 400px;
    margin: 0 auto;
  }
  .terra-cases__grid {
    grid-template-columns: 1fr;
  }
  .terra-about__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .terra-blog__grid {
    grid-template-columns: 1fr;
  }
  .terra-cta__row {
    grid-template-columns: 1fr;
  }
  .terra-footer__inner {
    grid-template-columns: 1fr 1fr;
  }
  .terra-footer__brand {
    grid-column: 1 / -1;
  }
}
@media (max-width: 480px) {
  .terra-about__grid {
    grid-template-columns: 1fr;
  }
  .terra-footer__inner {
    grid-template-columns: 1fr;
  }
  .terra-footer__copy {
    flex-direction: column;
  }
  .terra-section-head {
    flex-direction: column;
    align-items: flex-start;
  }
}
