body {
  overflow-x:hidden;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

h1 {
  font-family: "EB Garamond", serif;
  font-weight: 700;
  color: #fff;
  font-size: 60px;
}

h2 {
  font-family: "EB Garamond", serif;
  font-weight: 700;
  font-size: 50px;
}

/*Header*/
.container {
  width: 1280px;
  margin: 0 auto;
}

header {
  background-color: rgba(239, 240, 235, 1);
  padding-top: 25px;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav a {
  font-family: "Inter";
  font-weight: 500;
  font-size: 15px;
  line-height: 15px;
  text-decoration: none;
  color: #195535;
  padding: 0 25px;
}

.active {
  font-weight: 800;
}

.buttons {
  display: flex;
  gap: 10px;
}

.btn {
  font-family: "Inter";
  font-weight: 500;
  font-size: 15px;
  line-height: 15px;

  padding: 15px 25px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
}

.btn-green {
  background: #257F4F;
  color: #fff;
}

.btn-yellow {
  background: #FEEF5E;
  color: #000;
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  cursor: pointer;
  z-index: 1100; /* чтобы было выше overlay */
}
.burger span {
  display: block;
  height: 3px;
  background: #195535;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Анимация крестика */
.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.burger.active span:nth-child(2) {
  opacity: 0;
}
.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Overlay */
.overlay {
  display: none;
  position: fixed;
  height: 100px;
  inset: 0;
  background: rgba(239,240,235,0.98);
  z-index: 1000;
}
.overlay.active {
  display: flex;
}
.overlay-menu {
  display: flex;
  text-align: left;
  flex-direction: column;
  gap: 20px;
  text-align: center;
}

@media (max-width: 1024px) {
  .container {
    width: 900px;
  }

  header .buttons {
    display: none; /* кнопки уезжают в бургер */
  }

  .burger {
    display: flex;
  }

  header {
    padding-top: 22px;
  }

  .overlay nav a {
    display: none;
  }
}

@media (max-width: 768px) {
  .container {
    width: 322px;
  }

  header nav {
    display: none; /* меню тоже прячем */
  }

  .overlay {
    display: none;
    position: fixed;
    height: 100%;
    inset: 0;
    background: rgba(239,240,235,0.98);
    z-index: 1000;
    text-align: left;
    align-items: start;
    padding: 80px;
  }

  .overlay-menu {
    display: flex;
    text-align: left;
    flex-direction: column;
    gap: 20px;
  }

  .overlay nav a {
    display: block;
    padding: 0;
  }
}

.hidden-desctop {
  display: none;
}

.hidden-4 {
  display: none;
}

h2 {
  font-family: "EB Garamond";
  font-weight: 600;
  font-size:50px;
  line-height: 60px;
  color:rgba(25, 85, 53, 1);
}

h2 span {
  color: rgba(25, 85, 53, 1);
  font-style: italic;
  background: linear-gradient(to bottom, transparent 0%, transparent 50%, #FEEF5E 100%);
}

.description {
  font-family: "Inter";
  font-weight: 400;
  font-size: 16px;
  line-height: 27.2px;
  color: rgba(4, 14, 8, 70%);

  margin-top: 25px;
}

.hidden-3 {
  display: none;
}

@media (max-width: 1024px) {

  .hidden-2 {
    display: none;
  }

  .hidden-3 {
    display: block;
  }
}

@media (max-width: 768px) {
  .hidden-2 {
    display: none;
  }

  .hidden-3 {
    display: block;
  }

  .hidden-4 {
    display: block;
  }
}

/*Cookie*/
.cookie-policy {
  padding: 94px 0;
  background-color: rgba(239, 240, 235, 1);
}

.cookie-policy h2 {
  text-align: center;
}

@media (max-width: 768px) {
  .cookie-policy {
    padding: 40px 0 69px;
  }
}


/*Cookie text*/
.cookie-text {
  padding: 61px 0;
  font-family: "Inter";
  font-weight: 400;
  font-size: 16px;
  line-height: 27.2px;
  color: rgba(4, 14, 8, 0.7);
}

@media (max-width: 1024px) {
  .cookie-text {
    padding: 30px 0;
  }
}

@media (max-width: 768px) {
  .cookie-text {
    padding: 40px 0;
  }
}


/*СTA*/
.start {
  position: relative;
  background-color: rgba(239, 240, 235, 1);
  padding: 100px 0;
  background-color: #EFF0EB;
}

.start-column {
  display: flex;
}

.start-title, .start-cta {
  width: 640px;
}

.start-title {
  padding-right: 40px;
}

.start-cta {
  padding-left: 40px;
}

.start-cta .description {
  margin-top: 34px;
}

.start-step {
  margin-top: 47px;
  display: flex;
}

.start-step button {
  padding: 18px 28px;
  border: none;
  border-radius: 10px;
  background: #257F4F;
  color: #fff;
  margin-right: 27px;

  font-family: "Inter";
  font-weight: 500;
  font-size: 15px;
  line-height: 15px;
}

.clients {
  margin-left: 27px;
}

.clients span {
  font-family: "EB Garamond";
  font-weight: 500;
  font-size: 26px;
  line-height:32px;
  color: rgba(25, 85, 53, 1);
}

.clients p {
  font-family: "Inter";
  font-weight: 400;
  font-size: 14px;
  line-height: 27px;
  color: rgba(4, 14, 8, 70%);
}

.start .arrow-decor {
  position: absolute;
  left: 881px;
  top: 177px;
  width: 70px;
}

.step-item {
  display: flex;
}

@media (max-width: 1024px) {
  .start-column {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .start-title {
    width: 473px;
  }

  .start-cta {
    width: 400px;
  }

  .start-title h2 {
    font-size: 40px;
    line-height: 43px;
  }

  .start-title {
    padding-right: 0px;
  }

  .start-cta {
    padding-left: 0px;
  }

  .start-cta .description {
    margin-top: 0px;
    width: 386px;
  }

  .start-step {
    margin-top: 52px;
    align-items: center;
  }

  .clients {
    margin-left: 5px;
  }

  .start-step img {
    width: 95px;
    height: 28px;
  }

  .clients span {
    font-size: 14px;
    line-height:17px;
  }

  .clients p {
    font-size: 7px;
    line-height: 15px;
  }

  .start .arrow-decor {
    left: 473px;
    top: 47px;
  }
}

@media (max-width: 768px) {
  .start {
    padding: 60px 0;
  }

  .start-column {
    flex-direction: column;
    align-items: start;
    justify-content: start;
  }

  .start-title {
    width: 100%;
  }

  .start-cta {
    width: 100%;
  }

  .start-title h2 span {
    font-size: 50px;
    line-height: 50px;
  }

  .start-cta .description {
    margin-top: 40px;
    width: 100%;
  }

  .start-step {
    margin-top: 40px;
    flex-direction: column-reverse;
    align-items: start;
    gap: 15px;
  }

  .step-item {
    display: flex;
    align-items: center;
    gap: 21px;
  }

  .clients {
    margin-left: 5px;
  }

  .people {
    display: none;
  }

  .start-step img {
    width: 219px;
    height: 51px;
  }

  .start-step button {
    width: 100%;
  }

  .clients span {
    font-size: 26px;
    line-height:32px;
  }

  .clients p {
    font-size: 14px;
    line-height: 27px;
  }

  .start .arrow-decor {
    left: 187px;
    top: auto;
    bottom: 194px;
  }
}


/*footer*/
  footer {
    background: #0b2b16;
    background-image: url(images/footer.png);
    background-repeat: no-repeat;
    color: #fff;
    padding: 98px 0 20px;
  }

  .footer-main {
    display: flex;
    justify-content: space-between;
    gap: 80px;
    margin-bottom: 50px;
  }

  .footer-navigation {
    width: 585px;
  }

  .footer-navigation h3 {
    font-family: "EB Garamond";
    font-weight: 500;
    font-size: 30px;
    line-height:36px;
    color: #fff;
  }

  .footer-navigation h3 span {
    font-style: italic;
    background: linear-gradient(to bottom, transparent 0%, transparent 50%, #FEEF5E 100%);
  }

  .subscribe-form {
    margin: 40px 0 59px;
  }

  .subscribe-input {
    position: relative;
    width: 492px;
  }

  .subscribe-input input {
    width: 492px;
    padding: 18px 3px 18px 20px; /* справа оставляем место под кнопку */
    border-radius: 10px;
    border: none;
    outline: none;
    font-size: 15px;
  }

  .subscribe-input .btn {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    background: #257F4F;
    color: #fff;
    font-family: "Inter", sans-serif;
    font-weight: 500;
    font-size: 15px;
    line-height: 15px;
    cursor: pointer;
  }

  .footer-links {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
  }

  .footer-links .links-column {
    flex: 1;
  }

  .footer-links .links-column h4 {
    font-family: "EB Garamond";
    font-weight: 500;
    font-size: 28px;
    line-height:34px;
    color: #fff;
    margin-bottom: 30px;
  }

  .footer-links ul {
    list-style: none;
    padding: 0;
  }

  .footer-links ul li {
    margin-bottom: 10px;
  }

  .footer-links ul li a {
    color: #fff;
    text-decoration: none;
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 27.2px;
  }

  .footer-form {
    width: 497px;
    background: #fff;
    border-radius: 20px;
    padding: 50px;
    color: rgba(4, 14, 8, 70%);
  }

  .footer-form form {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .footer-form .field-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .footer-form input,
  .footer-form textarea {
    padding: 19px 26px;
    border: 1px solid rgba(4, 14, 8, 20%);
    border-radius: 10px;
    width: 100%;

    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 16px;
  }

  .footer-form textarea {
    min-height: 140px;
  }

  .footer-form .btn {
    padding: 18px 40px;
    border: none;
    border-radius: 10px;
    background: #257F4F;
    color: #fff;
    font-family: "Inter", sans-serif;
    font-weight: 500;
    font-size: 15px;
    line-height: 15px;
    cursor: pointer;
  }

  footer .site {
    margin-top: 20px;
  }

  .policy {
    display: flex;
    gap: 40px;
  }

  .policy a {
    text-decoration: none;
    color: #fff;
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 13px;
    line-height: 22px;
    cursor: pointer;
  }

  .copyright {
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 16%);

    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 13px;
    line-height: 22px;
    color: rgba(255, 255, 255, 22%);
    text-align: center;
  }

  .hidden-5 {
    display: none;
  }

  @media (max-width: 1024px) {
    footer {
    padding: 112px 0 20px;
  }

  .footer-main {
    gap: 30px;
    margin-bottom: 40px;
  }

  .footer-main img {
    margin-top: 162px;
    width: 293.2px;
    height: 281px;
  }

  .footer-form {
    display: none;
  }

  footer .site {
    margin-top: 20px;
  }

  .hidden-5 {
    display: block;
  }
}

  @media (max-width: 768px) {
    footer {
    padding: 52px 0 30px;
  }

  .footer-main {
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
  }

  .footer-navigation {
    width: 100%;
  }

  .subscribe-form {
    margin: 53px 0 94px;
  }

  .subscribe-input {
    position: relative;
    width: 100%;
  }

  .subscribe-input input {
    width: 100%;
  }

  .footer-links {
    margin-bottom: 30px;
  }

  .footer-form {
    display: block;
    width: 100%;
    padding: 50px 17px;
  }

  .copyright {
    margin-top: 40px;
  }

  .hidden-5 {
    display: none;
  }
}





/* ============================================================
   Rich legal document layout (Terms / Privacy / Cookie Policy)
   ============================================================ */
.legal-hero {
  padding: 80px 0 44px;
  background: #EFF0EB;
  text-align: center;
}
.legal-hero .container { width: auto; max-width: 900px; padding: 0 20px; }
.legal-hero h1 {
  font-family: "EB Garamond", serif;
  font-weight: 700;
  font-size: 54px;
  line-height: 60px;
  color: rgba(25, 85, 53, 1);
}
.legal-hero h1 span {
  font-style: italic;
  background: linear-gradient(to bottom, transparent 0%, transparent 50%, #FEEF5E 100%);
}
.legal-updated {
  margin-top: 16px;
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: rgba(4, 14, 8, 0.55);
}

.legal-body { padding: 50px 0 90px; background: #fff; }
.legal-body .container { width: auto; max-width: 900px; padding: 0 20px; }

.legal-note {
  background: #EFF0EB;
  border-left: 4px solid #257F4F;
  border-radius: 10px;
  padding: 18px 22px;
  margin: 0 0 34px;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 24px;
  color: rgba(4, 14, 8, 0.78);
}
.legal-note strong { color: rgba(25, 85, 53, 1); }

.legal-toc {
  background: #fff;
  border: 1px solid rgba(4, 14, 8, 0.12);
  border-radius: 14px;
  padding: 26px 30px;
  margin-bottom: 44px;
}
.legal-toc h2 {
  font-family: "EB Garamond", serif;
  font-weight: 600;
  font-size: 22px;
  line-height: 28px;
  color: rgba(25, 85, 53, 1);
  margin-bottom: 12px;
}
.legal-toc ol { margin: 0 0 0 20px; padding: 0; }
.legal-toc li {
  margin-bottom: 7px;
  font-family: "Inter", sans-serif;
  font-size: 15px;
  line-height: 22px;
}
.legal-toc a { color: #257F4F; text-decoration: none; }
.legal-toc a:hover { text-decoration: underline; }

.legal-body h2 {
  font-family: "EB Garamond", serif;
  font-weight: 600;
  font-size: 28px;
  line-height: 36px;
  color: rgba(25, 85, 53, 1);
  margin: 42px 0 14px;
  scroll-margin-top: 24px;
}
.legal-body h3 {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 26px;
  color: rgba(4, 14, 8, 0.92);
  margin: 24px 0 8px;
}
.legal-body p,
.legal-body li {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 27px;
  color: rgba(4, 14, 8, 0.72);
}
.legal-body p { margin-bottom: 14px; }
.legal-body ul,
.legal-body ol { margin: 0 0 16px 22px; padding: 0; }
.legal-body li { margin-bottom: 8px; }
.legal-body a { color: #257F4F; }
.legal-body strong { color: rgba(4, 14, 8, 0.92); }

/* highlight for owner-fill placeholders */
.placeholder {
  background: #FEEF5E;
  color: #1E1E1E;
  padding: 0 5px;
  border-radius: 3px;
  font-weight: 600;
  font-family: "Inter", sans-serif;
  font-size: 15px;
}

/* cookie category table */
.legal-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0 24px;
  font-family: "Inter", sans-serif;
  font-size: 15px;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 0 0 1px rgba(4, 14, 8, 0.12);
}
.legal-body thead th {
  background: #257F4F;
  color: #fff;
  text-align: left;
  font-weight: 600;
  padding: 12px 16px;
  font-size: 14px;
}
.legal-body tbody td {
  padding: 12px 16px;
  border-top: 1px solid rgba(4, 14, 8, 0.1);
  color: rgba(4, 14, 8, 0.72);
  vertical-align: top;
  line-height: 22px;
}
.legal-body tbody tr:nth-child(even) td { background: rgba(239, 240, 235, 0.5); }

.table-scroll { width: 100%; overflow-x: auto; }

@media (max-width: 1024px) {
  .legal-hero .container,
  .legal-body .container { max-width: 760px; }
}
@media (max-width: 768px) {
  .legal-hero { padding: 44px 0 30px; }
  .legal-hero h1 { font-size: 38px; line-height: 44px; }
  .legal-body { padding: 36px 0 60px; }
  .legal-body h2 { font-size: 24px; line-height: 30px; }
}
