.home-page {
  --home-gutter: clamp(20px, 4vw, 58px);
  --home-width: 1320px;
  --home-pine: #0a271f;
  --home-light: #f7f6f2;
  --home-text: #0b271e;
  --home-body: #344940;
  color: var(--home-text);
  background: var(--home-light);
}

.home-shell,
.home-page footer {
  width: min(calc(100% - 2 * var(--home-gutter)), var(--home-width));
  margin-inline: auto;
}

.home-page .site-header {
  width: 100%;
  min-height: clamp(66px, 7vw, 90px);
  padding-inline: max(var(--home-gutter), calc((100% - var(--home-width)) / 2));
  gap: 8px 24px;
  background: var(--home-pine);
}

.home-page .site-header .brand,
.home-page .site-header .brand span,
.home-page .site-header nav a {
  color: #f6faf7;
}

.home-page .site-header .brand {
  font-size: clamp(21px, 2.5vw, 32px);
}

.home-page .site-header nav a {
  font-size: clamp(13px, 1.5vw, 18px);
  font-weight: 600;
}

.home-page .button {
  justify-content: center;
  padding: 9px clamp(12px, 1.75vw, 24px);
  font-size: clamp(14px, 1.5vw, 19px);
  line-height: 1.2;
  text-align: center;
}

.home-button--light {
  color: #0b392c;
  background: #fafbf8;
}

.home-button--light:hover {
  background: #e1efe5;
}

.home-button--outline {
  color: #f5f9f6;
  border-color: #b9d3c6;
  background: #0a2119a8;
}

.home-button--outline:hover {
  background: #214d3d;
}

.home-page :is(.site-header, .home-hero) a:focus-visible {
  outline-color: #c8f2d4;
}

.home-hero {
  position: relative;
  overflow: clip;
  color: #f9fbf9;
  background:
    linear-gradient(180deg, var(--home-pine), #0a271f00 24%),
    radial-gradient(ellipse at 72% 24%, #224f40 0%, #0c281f00 55%),
    radial-gradient(ellipse at 49% 103%, #466c58 0%, #0c281f00 52%),
    var(--home-pine);
}

.home-hero__layout {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  align-items: center;
  min-height: clamp(510px, 54vw, 730px);
  isolation: isolate;
}

.home-hero__copy {
  position: relative;
  z-index: 2;
  padding-block: 20px clamp(60px, 10vw, 132px);
}

.home-hero h1 {
  max-width: none;
  font-size: clamp(48px, 6.3vw, 91px);
  font-weight: 790;
  line-height: .99;
}

.home-hero__subtitle {
  max-width: 10em;
  margin-top: 12px;
  color: #e8f2eb;
  font-size: clamp(29px, 4.05vw, 57px);
  font-weight: 630;
  letter-spacing: -.045em;
  line-height: 1.09;
  text-wrap: balance;
}

.home-service-label {
  margin-top: 16px;
  font-size: clamp(14px, 1.53vw, 20px);
  line-height: 1.4;
}

.home-hero .home-service-label {
  margin-top: clamp(17px, 2.4vw, 32px);
  color: #e1eae4;
}

.home-hero .actions {
  gap: 12px;
  margin-top: clamp(21px, 2.7vw, 36px);
}

.home-dodo {
  position: relative;
  height: clamp(440px, 49vw, 690px);
  min-width: 0;
  margin: 0;
}

.home-dodo__glass {
  position: absolute;
  top: 5%;
  right: 1%;
  display: grid;
  width: 91%;
  grid-template-columns: clamp(24px, 4vw, 52px) minmax(0, 1fr);
  align-items: start;
  gap: clamp(11px, 1.4vw, 18px);
  padding: clamp(20px, 3.2vw, 44px) clamp(17px, 2.55vw, 35px);
  padding-inline-start: clamp(19px, 3.1vw, 42px);
  border: 1px solid #b7e4d0bd;
  border-radius: clamp(20px, 3vw, 36px);
  background: linear-gradient(147deg, #477b69f2, #2b5246e6 42%, #16342dd9 88%);
  box-shadow: 0 22px 70px #03160fa8, inset 0 0 0 3px #c4eddb17, inset 0 1px 16px #d2f4e648;
  transform: perspective(1200px) translate3d(0, calc(var(--depth, 0) * -25px), 0)
    rotateY(calc(-8deg + var(--depth, 0) * 6deg)) rotateZ(-2.1deg);
  transform-origin: 60% 50%;
}

.home-dodo__avatar {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  margin-top: 2px;
  border-radius: 40%;
  object-fit: cover;
}

.home-dodo__question {
  padding: 11px 15px;
  border-radius: 15px 15px 15px 4px;
  background: #d3e8d9;
  color: #0b372a;
  font-size: clamp(13px, 1.64vw, 23px);
  font-weight: 650;
  line-height: 1.35;
}

.home-dodo__match {
  overflow: hidden;
  min-width: 0;
  padding: clamp(8px, 1.1vw, 14px);
  border: 1px solid #f9fcf7;
  border-radius: clamp(12px, 1.6vw, 20px);
  background: #f2f5ef;
  box-shadow: 0 10px 24px #081b15a6;
}

.home-dodo__match img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2;
  border-radius: clamp(7px, 1.1vw, 13px);
  object-fit: cover;
}

.home-dodo__result {
  display: grid;
  gap: 2px;
  padding: clamp(8px, 1.1vw, 13px) 5px 1px;
  color: #0d271e;
  font-size: clamp(15px, 2.03vw, 29px);
  line-height: 1.12;
}

.home-dodo__result span {
  color: #175944;
  font-weight: 700;
}

.home-dodo__stage {
  position: absolute;
  z-index: 1;
  bottom: -1%;
  left: -33%;
  width: 84%;
  height: auto;
  pointer-events: none;
  filter: drop-shadow(0 20px 20px #020f0c9c);
  transform: translate3d(0, calc(var(--depth, 0) * 27px), 0);
}

.home-features {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 88px);
  padding-block: clamp(38px, 4.9vw, 70px) clamp(35px, 4vw, 62px);
}

.home-feature {
  position: relative;
  min-width: 0;
}

.home-feature--map::before {
  position: absolute;
  inset-block: 5px;
  left: calc(clamp(36px, 6vw, 88px) / -2);
  width: 1px;
  background: #d9e0d8;
  content: "";
}

.home-page h2 {
  font-size: clamp(30px, 4.45vw, 61px);
  font-weight: 775;
  letter-spacing: -.062em;
  line-height: 1.07;
}

.home-feature > p,
.home-whatsapp__copy > p:not(.home-service-label) {
  margin-top: 11px;
  color: var(--home-body);
  font-size: clamp(15px, 1.74vw, 22px);
  line-height: 1.38;
}

.home-register {
  margin-top: 16px;
  min-width: 160px;
}

.home-listings {
  display: grid;
  margin: 20px 0 0;
  padding: 8px clamp(10px, 1.55vw, 19px);
  list-style: none;
  border: 1px solid #e0e5dc;
  border-radius: 19px;
  background: #fdfdfb;
  box-shadow: 0 8px 22px #21352b13;
}

.home-listings li {
  display: grid;
  grid-template-columns: clamp(62px, 10.5vw, 138px) minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(8px, 1.4vw, 18px);
  min-height: 72px;
  padding-block: 9px;
  color: #142c22;
  font-size: clamp(13px, 1.53vw, 19px);
  line-height: 1.24;
}

.home-listings li + li {
  border-top: 1px solid #e3e8e0;
}

.home-listings li img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1.7;
  border-radius: 7px;
  object-fit: cover;
}

.home-listings li div {
  display: grid;
  gap: 3px;
}

.home-listings__status {
  padding: 4px clamp(5px, .7vw, 10px);
  border-radius: 9px;
  background: #e2efd9;
  color: #24503b;
  font-size: clamp(11px, 1.23vw, 16px);
}

.home-feature .home-example-note {
  margin-top: 8px;
  color: #586f62;
  font-size: 12px;
}

.home-map {
  margin-top: clamp(26px, 4.1vw, 55px);
}

.home-map__link {
  display: block;
  overflow: hidden;
  border-radius: clamp(14px, 2vw, 23px);
  box-shadow: 0 8px 22px #344d4017;
  transform: perspective(850px) translate3d(0, calc(var(--depth, 0) * -12px), 0)
    rotateX(calc(var(--depth, 0) * -4deg));
}

.home-map__link:hover {
  box-shadow: 0 10px 28px #344d4031;
}

.home-map__link img {
  display: block;
  width: 100%;
  height: auto;
}

.home-whatsapp {
  overflow: clip;
  background: radial-gradient(ellipse at 72% 20%, #f2f7ed, #d9e5d9 90%);
}

.home-whatsapp__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  min-height: clamp(307px, 31.5vw, 425px);
}

.home-whatsapp__copy {
  align-self: start;
  padding-block: clamp(34px, 5vw, 66px) 32px;
}

.home-whatsapp__copy .home-service-label {
  margin-top: 5px;
  color: #3c5449;
}

.home-whatsapp__copy .button {
  margin-top: 20px;
}

.home-whatsapp__link {
  gap: 13px;
}

.home-whatsapp__link img {
  width: clamp(23px, 3vw, 32px);
  height: auto;
  mix-blend-mode: multiply;
}

.home-whatsapp__link span {
  padding-left: 13px;
  border-left: 1px solid #c7d6c9;
}

.home-whatsapp__visual {
  position: relative;
  align-self: stretch;
  min-height: 100%;
}

.home-whatsapp__visual img {
  position: absolute;
  top: 21px;
  left: 8%;
  width: min(77%, 455px);
  height: auto;
  filter: drop-shadow(15px 24px 24px #29423540);
  transform: perspective(900px) translate3d(0, calc(var(--depth, 0) * 20px), 0)
    rotateY(calc(var(--depth, 0) * 5deg));
  transform-origin: 55% 28%;
}

.home-page footer {
  border-top: 0;
  color: var(--home-text);
  font-size: clamp(16px, 1.8vw, 24px);
  font-weight: 750;
  letter-spacing: -.045em;
}

@media (max-width: 760px) {
  .home-hero__layout,
  .home-features,
  .home-whatsapp__layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-hero__layout {
    min-height: 0;
  }

  .home-hero__copy {
    padding-block: 27px 24px;
  }

  .home-hero__subtitle {
    max-width: 13em;
    text-wrap: wrap;
  }

  .home-dodo {
    width: 100%;
    height: clamp(365px, 85vw, 570px);
  }

  .home-dodo__glass {
    z-index: 1;
    top: 1%;
    right: 1%;
    width: 88%;
    padding: clamp(13px, 3.4vw, 23px);
  }

  .home-dodo__stage {
    z-index: 0;
    bottom: 0;
    left: -6%;
    width: 64%;
  }

  .home-feature--map {
    border-top: 1px solid #d9e0d8;
    padding-top: 27px;
  }

  .home-feature--map::before {
    content: none;
  }

  .home-map {
    margin-top: 19px;
  }

  .home-whatsapp__copy {
    padding-block: 32px 13px;
  }

  .home-whatsapp__visual {
    min-height: clamp(232px, 64vw, 390px);
  }

  .home-whatsapp__visual img {
    top: 12px;
    left: 12%;
    width: min(75%, 430px);
  }
}

@media (max-width: 410px) {
  .home-page .site-header nav {
    gap: 5px 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-page [data-depth-scene] {
    --depth: 0 !important;
  }
}
