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

:root {
  --green-900: #173625;
  --green-700: #47723b;
  --green-500: #759b67;
  --cream: #fbf8f0;
  --cream-2: #f7f3e8;
  --line: #e8ddc9;
  --text: #172018;
  --page-width: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #eeeeec;
  color: var(--text);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

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

.page {
  width: min(100%, var(--page-width));
  margin: 0 auto;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 0 24px rgb(29 43 31 / 7%);
}

.site-header {
  height: 102px;
  padding: 0 47px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  background: #fff;
}

.brand {
  flex: 0 1 370px;
}

.brand img {
  width: 370px;
  height: auto;
}

.main-nav ul {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 46px;
  list-style: none;
  white-space: nowrap;
}

.main-nav a {
  font-size: 17px;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--green-700);
}

.mobile-call {
  display: none;
}

.hero {
  height: 470px;
  display: grid;
  grid-template-columns: 44% 56%;
  background: var(--cream);
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding: 56px 20px 42px 50px;
}

.hero-copy::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  right: -64px;
  width: 126px;
  height: 100%;
  background: var(--cream);
  clip-path: polygon(0 0, 48% 0, 100% 50%, 48% 100%, 0 100%);
}

.hero h1 {
  max-width: 455px;
  margin: 0 0 20px;
  color: var(--green-900);
  font: 700 49px/1.1 "Lora", Georgia, serif;
  letter-spacing: -1.5px;
}

.hero-copy > p {
  max-width: 410px;
  margin: 0 0 27px;
  font-size: 18px;
  line-height: 1.55;
}

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

.button {
  min-height: 56px;
  padding: 0 22px;
  border: 2px solid var(--green-700);
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  font-size: 17px;
  font-weight: 600;
}

.button svg {
  width: 22px;
  height: 22px;
}

.button-primary {
  border-color: transparent;
  background: linear-gradient(135deg, #5d874e, #3d6832);
  color: #fff;
  line-height: 115%;
}

.button-secondary {
  background: #fff;
  color: var(--green-700);
}

.hero-photo {
  min-width: 0;
  overflow: hidden;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 54% center;
}

.content {
  padding: 26px 40px 17px;
  background: #fff;
}

.process ol,
.benefits ul,
.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.process ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px;
}

.process li {
  position: relative;
  min-height: 230px;
  padding: 18px 22px 19px;
  border: 1px solid var(--line);
  border-radius: 18px;
  text-align: center;
}

.process li:not(:last-child)::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 105px;
  right: -39px;
  width: 40px;
  height: 18px;
  background: url("images/arrow.svg") center / contain no-repeat;
}

.step-number {
  position: absolute;
  top: 17px;
  left: 20px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--green-500);
  color: #fff;
  font: 700 25px/1 "Lora", Georgia, serif;
}

.icon-circle {
  width: 98px;
  height: 98px;
  margin: 0 auto 8px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 35% 30%, #fbfcf7, #e9eee1);
  color: var(--green-900);
}

.icon-circle svg {
  width: 52px;
  height: 52px;
}

.process h3,
.benefits h3 {
  margin: 0;
  color: #111713;
  font-size: 18px;
  line-height: 1.3;
}

.process p {
  margin: 5px 0 0;
  font-size: 15px;
  line-height: 1.55;
}

.benefits {
  margin: 22px 0 19px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(90deg, #fbf8ef, #fff, #fbf8ef);
}

.benefits ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.benefits li {
  min-width: 0;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  border-right: 1px solid #ded2be;
}

.benefits li:first-child {
  padding-left: 0;
}

.benefits li:last-child {
  padding-right: 0;
  border-right: 0;
}

.benefit-icon {
  flex: 0 0 70px;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--green-500);
  color: #fff;
}

.benefit-icon svg {
  width: 42px;
  height: 42px;
}

.benefits h3 {
  font: 700 17px/1.25 "Lora", Georgia, serif;
}

.benefits p {
  margin: 3px 0 0;
  font-size: 13px;
  line-height: 1.45;
}

.lower-row {
  display: grid;
  grid-template-columns: 47% 53%;
  gap: 22px;
}

.price-card,
.contact-card {
  min-width: 0;
  min-height: 250px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.price-card {
  padding: 28px 30px 22px 24px;
  display: grid;
  grid-template-columns: 125px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  background: linear-gradient(120deg, #fbfaf3, #f1f4e7);
}

.price-icon {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e9eee0;
  color: var(--green-900);
}

.price-icon svg {
  width: 59px;
  height: 59px;
}

.price-card h2,
.contact-card h2 {
  margin: 0;
  color: var(--green-900);
  font: 700 22px/1.25 "Lora", Georgia, serif;
}

.prices {
  margin: 9px 0 0;
}

.prices > div {
  padding: 3px 0 9px;
  display: flex;
  align-items: baseline;
  gap: 8px;
  border-bottom: 1px dashed #9bb58c;
}

.prices dt,
.prices dd {
  margin: 0;
}

.prices dt strong {
  color: var(--green-700);
  font: 700 34px/1.1 "Lora", Georgia, serif;
  white-space: nowrap;
}

.prices dd::before {
  content: "/ ";
}

.prices dd {
  font-size: 14px;
}

.price-content > p {
  margin: 18px 0 0;
  font-size: 13px;
}

.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 67%) minmax(0, 33%);
  background: #fff;
}

.contact-content {
  position: relative;
  z-index: 1;
  padding: 25px 18px 18px 23px;
}

.contact-intro {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-icon {
  flex: 0 0 62px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #f1dfc0;
  color: var(--green-700);
}

.contact-icon svg {
  width: 34px;
  height: 34px;
}

.contact-intro p {
  margin: 3px 0 0;
  font-size: 14px;
  line-height: 1.4;
}

.phone-number {
  min-height: 54px;
  margin-top: 12px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, #649254, #47783b);
  color: #fff;
  font-size: 28px;
  font-weight: 700;
}

.phone-number svg {
  width: 27px;
  height: 27px;
}

.contact-note {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.35;
}

.contact-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.faq-section {
  margin-top: 22px;
  padding: 38px 42px 41px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    radial-gradient(circle at 100% 0%, rgb(231 237 220 / 72%), transparent 37%),
    linear-gradient(135deg, #fbf8f0, #fff);
}

.section-heading {
  max-width: 690px;
  margin-bottom: 25px;
}

.section-heading .eyebrow {
  margin: 0 0 6px;
  color: var(--green-700);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-heading h2 {
  margin: 0;
  color: var(--green-900);
  font: 700 28px/1.3 "Lora", Georgia, serif;
  letter-spacing: -0.4px;
}

.faq-list {
  border-top: 1px solid #d9cfbd;
}

.faq-list details {
  border-bottom: 1px solid #d9cfbd;
}

.faq-list summary {
  position: relative;
  min-height: 64px;
  padding: 19px 54px 17px 0;
  display: flex;
  align-items: center;
  color: var(--green-900);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 8px;
  width: 11px;
  height: 11px;
  border-right: 2px solid var(--green-700);
  border-bottom: 2px solid var(--green-700);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 180ms ease;
}

.faq-list details[open] summary::after {
  transform: translateY(-25%) rotate(225deg);
}

.faq-list summary:hover {
  color: var(--green-700);
}

.faq-list summary:focus-visible {
  outline: 3px solid rgb(117 155 103 / 35%);
  outline-offset: 5px;
  border-radius: 3px;
}

.faq-list details p {
  max-width: 770px;
  margin: -3px 54px 20px 0;
  color: #3d493e;
  font-size: 15px;
  line-height: 1.65;
}

.site-footer {
  min-height: 58px;
  padding: 0 41px;
  background: #eef1df;
}

.site-footer ul {
  min-height: 58px;
  display: grid;
  grid-template-columns: 1.35fr 1.35fr 1fr;
  align-items: center;
}

.site-footer li {
  min-height: 27px;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid #a8b29a;
  font-size: 13px;
}

.site-footer li:first-child {
  padding-left: 0;
  justify-content: flex-start;
  gap: 18px;
}

.site-footer li:last-child {
  padding-right: 0;
  justify-content: flex-end;
  border-right: 0;
  color: var(--green-700);
  font-size: 16px;
}

.site-footer svg {
  width: 27px;
  height: 27px;
  color: var(--green-500);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 980px) {
  .site-header {
    padding-inline: 30px;
  }

  .brand {
    flex-basis: 315px;
  }

  .brand img {
    width: 315px;
  }

  .main-nav ul {
    gap: 25px;
  }

  .hero h1 {
    font-size: 43px;
  }

  .content {
    padding-inline: 26px;
  }

  .process ol {
    gap: 18px;
  }

  .process li:not(:last-child)::after {
    display: none;
  }

  .benefits li {
    padding-inline: 16px;
    gap: 13px;
  }

  .benefit-icon {
    flex-basis: 58px;
    width: 58px;
    height: 58px;
  }

  .benefit-icon svg {
    width: 34px;
    height: 34px;
  }

  .lower-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 16px;
  }

  .site-header {
    position: sticky;
    z-index: 10;
    top: 0;
    height: 74px;
    padding: 0 19px;
    box-shadow: 0 2px 12px rgb(23 54 37 / 10%);
  }

  .brand {
    flex: 0 1 275px;
  }

  .brand img {
    width: min(275px, 100%);
  }

  .main-nav {
    display: none;
  }

  .mobile-call {
    flex: 0 0 43px;
    width: 43px;
    height: 43px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--green-700);
    color: #fff;
  }

  .mobile-call svg {
    width: 23px;
    height: 23px;
  }

  .hero {
    height: auto;
    display: flex;
    flex-direction: column-reverse;
  }

  .hero-photo {
    height: 330px;
  }

  .hero-photo img {
    object-position: 51% center;
  }

  .hero-copy {
    padding: 31px 21px 37px;
  }

  .hero-copy::after {
    display: none;
  }

  .hero h1 {
    margin-bottom: 18px;
    font-size: clamp(34px, 10vw, 43px);
    letter-spacing: -1px;
  }

  .hero h1 br {
    display: none;
  }

  .hero-copy > p {
    margin-bottom: 24px;
    font-size: 17px;
  }

  .hero-actions {
    flex-direction: column;
    gap: 11px;
  }

  .button {
    width: 100%;
  }

  .content {
    padding: 20px 16px 16px;
  }

  .process ol,
  .benefits ul {
    grid-template-columns: 1fr;
  }

  .process ol {
    gap: 14px;
  }

  .process li {
    min-height: 214px;
  }

  .benefits {
    padding: 5px 20px;
  }

  .benefits li,
  .benefits li:first-child,
  .benefits li:last-child {
    padding: 17px 0;
    border-right: 0;
    border-bottom: 1px solid #ded2be;
  }

  .benefits li:last-child {
    border-bottom: 0;
  }

  .price-card {
    padding: 27px 23px 23px;
    grid-template-columns: 1fr;
    text-align: center;
  }

  .price-icon {
    margin: 0 auto;
  }

  .prices > div {
    justify-content: center;
  }

  .contact-card {
    grid-template-columns: 1fr;
  }

  .contact-content {
    padding: 24px 20px 20px;
  }

  .contact-photo {
    height: 190px;
  }

  .faq-section {
    margin-top: 18px;
    padding: 29px 21px 31px;
  }

  .section-heading {
    margin-bottom: 20px;
  }

  .section-heading h2 {
    font-size: 24px;
  }

  .faq-list summary {
    min-height: 60px;
    padding-right: 38px;
    font-size: 16px;
  }

  .faq-list summary::after {
    right: 5px;
  }

  .faq-list details p {
    margin-right: 30px;
  }

  .phone-number {
    font-size: clamp(23px, 8vw, 28px);
  }

  .site-footer {
    padding: 14px 21px;
  }

  .site-footer ul {
    grid-template-columns: 1fr;
  }

  .site-footer li,
  .site-footer li:first-child,
  .site-footer li:last-child {
    min-height: auto;
    padding: 8px 0;
    justify-content: flex-start;
    border-right: 0;
  }
}
