:root {
  --cream: #f5ecd5;
  --cream-light: #fbf5e7;
  --green: #6a9f45;
  --green-deep: #397239;
  --orange: #f59a0b;
  --orange-deep: #ef6736;
  --dark: #29251f;
  --white: #fffdf7;
  --page-width: 1366px;
  --display-font: Georgia, "Times New Roman", serif;
  --body-font: "Trebuchet MS", Verdana, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--cream);
  color: var(--dark);
  font-family: var(--body-font);
  -webkit-font-smoothing: antialiased;
}

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

figure,
h1,
h2,
p {
  margin: 0;
}

a {
  color: inherit;
}

main > section {
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.page-shell {
  width: min(100%, var(--page-width));
  margin-inline: auto;
}

.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;
}

.brand-logo {
  object-fit: contain;
}

.hero {
  min-height: 100svh;
  background: var(--cream);
}

.hero__inner {
  position: relative;
  display: flex;
  min-height: 100svh;
  flex-direction: column;
  justify-content: flex-start;
  padding: clamp(32px, 5vh, 70px) clamp(34px, 7vw, 96px) clamp(28px, 4vh, 54px);
}

.site-header {
  position: relative;
  display: block;
  min-height: 182px;
  align-items: center;
  margin-bottom: clamp(24px, 3vh, 38px);
}

.brand-logo--hero {
  position: absolute;
  top: -8px;
  left: 0;
  width: 180px;
  aspect-ratio: 1.21;
  object-position: center;
}

.hero__heading {
  text-align: center;
}

.hero__heading h1,
.hero__heading p {
  color: var(--green);
  font-family: var(--display-font);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.92;
}

.hero__heading h1 {
  font-size: clamp(58px, 7.45vw, 108px);
  white-space: nowrap;
}

.hero__heading p {
  margin-top: 14px;
  font-size: clamp(40px, 5.15vw, 74px);
}

.hero__photo {
  width: min(100%, 1000px);
  margin-inline: auto;
  overflow: hidden;
  border-radius: 0 0 46px 0;
  box-shadow: 0 18px 45px rgb(75 57 25 / 14%);
}

.hero__photo img {
  width: 100%;
  aspect-ratio: 1253 / 465;
  object-fit: cover;
}

.hero__facts {
  position: relative;
  z-index: 2;
  display: flex;
  width: fit-content;
  max-width: calc(100% - 32px);
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 4vw, 54px);
  margin: -1px auto 0;
  padding: 15px 32px 16px;
  border-radius: 0 0 38px 38px;
  background: var(--orange);
  color: var(--white);
  font-family: var(--display-font);
  font-size: clamp(18px, 2vw, 27px);
  font-weight: 800;
  list-style: none;
  box-shadow: 0 12px 24px rgb(139 84 3 / 18%);
}

.hero__facts li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.hero__facts i {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  border: 3px solid var(--dark);
  border-radius: 50%;
  color: var(--dark);
  font-family: var(--body-font);
  font-size: 18px;
  font-style: normal;
  line-height: 1;
}

.values {
  min-height: 100svh;
  background-color: var(--cream);
  background-image: url("static/images/part_2_bg.png");
  background-position: center;
  background-size: cover;
}

.values__inner {
  display: grid;
  min-height: 100svh;
  grid-template-columns: minmax(250px, 330px) minmax(340px, 1fr) minmax(
      250px,
      330px
    );
  align-items: center;
  justify-content: space-between;
  gap: clamp(36px, 5vw, 78px);
  padding: clamp(42px, 6vh, 80px) clamp(32px, 2.4vw, 48px);
}

.values__photo {
  position: relative;
  overflow: hidden;
  background: #d6d2a7;
  box-shadow: 0 22px 48px rgb(76 57 30 / 14%);
}

.values__photo--left {
  border-radius: 80px 0 0 0;
}

.values__photo--right {
  border-radius: 0 0 80px 0;
}

.values__photo-image {
  width: 100%;
  height: auto;
}

.values__message {
  align-self: center;
  text-align: center;
}

.brand-logo--values {
  width: clamp(200px, 17vw, 250px);
  aspect-ratio: 1.21;
  margin: 0 auto clamp(34px, 6vh, 72px);
}

.values__message h2 {
  color: var(--orange);
  font-family: var(--display-font);
  font-size: clamp(66px, 7.5vw, 106px);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1.05;
  text-align: left;
}

.delivery {
  min-height: 100svh;
  background-color: var(--cream);
  background-image: url("static/images/part_3_bg.png");
  background-position: center;
  background-size: cover;
}

.delivery__inner {
  display: grid;
  min-height: 100svh;
  grid-template-columns: minmax(330px, 0.82fr) minmax(520px, 1.45fr);
  align-items: center;
  gap: clamp(48px, 6vw, 86px);
  padding: clamp(42px, 6vh, 76px) clamp(54px, 5vw, 82px);
}

.delivery__photo {
  justify-self: center;
  width: min(100%, 405px);
  overflow: hidden;
  border-radius: 80px 0 0 0;
  box-shadow: 0 22px 48px rgb(76 57 30 / 14%);
}

.delivery__photo img {
  width: 100%;
  aspect-ratio: 480 / 769;
  object-fit: cover;
}

.delivery__content {
  display: grid;
  justify-items: start;
}

.brand-logo--delivery {
  width: clamp(200px, 17vw, 250px);
  aspect-ratio: 1.21;
  margin: 0 auto clamp(32px, 4vh, 50px);
}

.delivery__locations ul {
  display: grid;
  gap: 7px;
  padding: 0;
  margin: 0 0 clamp(32px, 5vh, 54px);
  list-style: none;
}

.delivery__locations li {
  display: flex;
  align-items: center;
  gap: 18px;
  font-family: var(--display-font);
  font-size: clamp(31px, 3.15vw, 45px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.location-pin {
  position: relative;
  display: inline-block;
  width: 25px;
  height: 25px;
  flex: 0 0 25px;
  border-radius: 50% 50% 50% 0;
  background: var(--orange-deep);
  transform: rotate(-45deg);
}

.location-pin::after {
  position: absolute;
  top: 8px;
  left: 8px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--cream-light);
  content: "";
}

.delivery__cta {
  position: relative;
  width: min(100%, 610px);
  margin-left: clamp(32px, 8vw, 130px);
  padding-top: 55px;
}

.delivery__cta::before {
  position: absolute;
  inset: 34px 0 0;
  z-index: 0;
  border-radius: 96px 0 96px 0;
  background: var(--orange);
  content: "";
}

.delivery__cta > p {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  min-width: 62%;
  padding: 18px 28px 20px;
  border-radius: 70px 0 70px 0;
  background: #5b9227;
  color: var(--white);
  font-size: clamp(22px, 2.1vw, 30px);
  text-align: center;
}

.delivery__contact {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 116px;
  align-items: end;
  justify-content: center;
  gap: 22px;
  padding: 40px 30px 22px;
  color: var(--white);
}

.whatsapp-link,
.phone-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  font-weight: 800;
  text-decoration: none;
  transition:
    transform 180ms ease,
    color 180ms ease;
}

.whatsapp-link {
  gap: 8px;
  font-size: 0;
}

.whatsapp-link__icon {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  padding: 7px;
  border: 5px solid var(--white);
  border-radius: 50%;
  background: #26c65d;
  box-shadow: 0 5px 0 rgb(86 95 44 / 20%);
  color: var(--white);
}

.whatsapp-link__bubble {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.5;
}

.whatsapp-link__phone {
  fill: currentColor;
}

.phone-link {
  font-size: clamp(28px, 3.1vw, 43px);
  white-space: nowrap;
}

.whatsapp-link:hover,
.whatsapp-link:focus-visible,
.phone-link:hover,
.phone-link:focus-visible {
  color: var(--dark);
  transform: translateY(-3px);
}

.whatsapp-link:focus-visible,
.phone-link:focus-visible {
  outline: 3px solid var(--dark);
  outline-offset: 5px;
}

.site-footer {
  display: grid;
  gap: 4px;
  padding: 18px 24px;
  background: var(--green-deep);
  color: var(--white);
  font-size: 14px;
  scroll-snap-align: end;
  text-align: center;
}

.site-footer address {
  font-size: 13px;
  font-style: normal;
}

[data-reveal] {
  animation: reveal 700ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

[data-reveal]:nth-child(2) {
  animation-delay: 90ms;
}

[data-reveal]:nth-child(3) {
  animation-delay: 180ms;
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1050px) {
  .site-header {
    min-height: 150px;
  }

  .values__inner {
    grid-template-columns: minmax(215px, 0.82fr) minmax(270px, 1fr) minmax(
        215px,
        0.82fr
      );
    gap: 30px;
  }

  .values__message h2 {
    font-size: clamp(58px, 6.8vw, 76px);
  }

  .delivery__inner {
    grid-template-columns: minmax(300px, 0.8fr) minmax(430px, 1.2fr);
    gap: 44px;
    padding-inline: 42px;
  }

  .delivery__cta {
    margin-left: 0;
  }
}

@media (max-width: 780px) {
  .hero__inner,
  .values__inner,
  .delivery__inner {
    min-height: auto;
  }

  .hero__inner {
    padding: 34px 22px 48px;
  }

  .site-header {
    display: flex;
    min-height: 0;
    flex-direction: column;
    gap: 18px;
  }

  .brand-logo--hero {
    position: static;
    width: 178px;
  }

  .hero__heading h1 {
    white-space: normal;
    font-size: clamp(48px, 12.5vw, 76px);
  }

  .hero__heading p {
    margin-top: 10px;
    font-size: clamp(34px, 9.5vw, 55px);
  }

  .hero__photo {
    border-radius: 0 0 34px 0;
  }

  .hero__photo img {
    min-height: 300px;
    aspect-ratio: 4 / 3;
    object-position: center;
  }

  .hero__facts {
    gap: 18px;
    padding: 13px 22px 14px;
    border-radius: 0 0 30px 30px;
  }

  .values,
  .delivery {
    background-position: center;
  }

  .values__inner {
    display: flex;
    flex-direction: column;
    gap: 34px;
    padding: 64px 24px 72px;
  }

  .values__message {
    order: -1;
  }

  .brand-logo--values {
    width: 205px;
    margin-bottom: 28px;
  }

  .values__message h2 {
    font-size: clamp(61px, 15vw, 94px);
    line-height: 0.98;
    text-align: center;
  }

  .values__photo {
    width: min(100%, 370px);
  }

  .values__photo--left {
    align-self: flex-start;
    border-radius: 80px 0 0 0;
  }

  .values__photo--right {
    align-self: flex-end;
    border-radius: 0 0 80px 0;
  }

  .delivery__inner {
    display: flex;
    flex-direction: column;
    gap: 44px;
    padding: 64px 24px 76px 0;
  }

  .delivery__photo {
    width: min(100%, 430px);
    align-self: flex-start;
    border-radius: 80px 0 0 0;
  }

  .delivery__content {
    width: min(calc(100% - 24px), 560px);
    margin-left: 24px;
    justify-items: stretch;
  }

  .brand-logo--delivery {
    width: 210px;
  }

  .delivery__locations {
    justify-self: center;
  }

  .delivery__locations li {
    font-size: clamp(31px, 8vw, 44px);
  }

  .delivery__cta {
    width: 100%;
  }
}

@media (max-width: 430px) {
  .hero__inner {
    padding-inline: 16px;
  }

  .brand-logo--hero {
    width: 165px;
  }

  .hero__heading h1 {
    font-size: clamp(43px, 13vw, 56px);
  }

  .hero__heading p {
    font-size: clamp(31px, 9.5vw, 41px);
  }

  .hero__photo img {
    min-height: 265px;
    object-position: 47% center;
  }

  .hero__facts {
    width: calc(100% - 12px);
    max-width: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
    padding: 12px 22px 14px;
    font-size: 19px;
  }

  .hero__facts i {
    width: 24px;
    height: 24px;
    border-width: 2px;
    font-size: 15px;
  }

  .values__inner {
    padding-inline: 16px;
  }

  .delivery__inner {
    padding-right: 16px;
  }

  .values__message h2 {
    font-size: clamp(55px, 16vw, 69px);
  }

  .values__photo {
    width: 100%;
  }

  .delivery__photo {
    width: 100%;
    border-radius: 80px 0 0 0;
  }

  .delivery__content {
    width: calc(100% - 16px);
    margin-left: 16px;
  }

  .delivery__locations li {
    gap: 15px;
    font-size: clamp(29px, 9.2vw, 37px);
  }

  .location-pin {
    width: 22px;
    height: 22px;
    flex-basis: 22px;
  }

  .location-pin::after {
    top: 7px;
    left: 7px;
    width: 8px;
    height: 8px;
  }

  .delivery__cta {
    padding-top: 50px;
  }

  .delivery__cta > p {
    min-width: 78%;
    padding: 15px 20px 17px;
    font-size: 21px;
  }

  .delivery__cta::before {
    inset: 30px 0 0;
    border-radius: 72px 0 72px 0;
  }

  .delivery__contact {
    min-height: 126px;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    padding: 43px 12px 18px;
  }

  .whatsapp-link__icon {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
    padding: 6px;
    border-width: 4px;
  }

  .phone-link {
    font-size: clamp(26px, 8.6vw, 35px);
  }
}

@media (min-width: 600px) and (max-width: 780px) {
  .values__inner {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 22px;
    row-gap: 28px;
    padding: 48px 24px 64px;
  }

  .values__message {
    grid-row: 1;
    grid-column: 1 / -1;
    order: 0;
  }

  .brand-logo--values {
    width: 160px;
    margin-bottom: 16px;
  }

  .values__message h2 {
    font-size: clamp(58px, 9vw, 70px);
  }

  .values__photo {
    width: 100%;
    max-width: none;
    align-self: start;
    justify-self: stretch;
  }

  .values__photo--left {
    grid-row: 2;
    grid-column: 1;
    align-self: start;
    border-radius: 60px 0 0;
  }

  .values__photo--right {
    grid-row: 2;
    grid-column: 2;
    align-self: start;
    border-radius: 0 0 60px;
  }
}

@media (max-width: 350px) {
  .hero__heading h1 {
    font-size: 40px;
  }

  .hero__heading p {
    font-size: 29px;
  }

  .values__message h2 {
    font-size: 49px;
  }

  .delivery__locations li {
    font-size: 28px;
  }

  .phone-link {
    font-size: 25px;
  }
}

@media (min-width: 640px) and (orientation: landscape) and (max-height: 600px) {
  .hero,
  .values,
  .delivery,
  .hero__inner,
  .values__inner,
  .delivery__inner {
    height: 100svh;
    min-height: 100svh;
  }

  .values__photo,
  .delivery__photo {
    width: min(22vw, 220px);
  }

  .hero__inner {
    padding: 9px max(28px, env(safe-area-inset-right)) 8px
      max(28px, env(safe-area-inset-left));
  }

  .site-header {
    position: relative;
    display: block;
    min-height: 78px;
    margin-bottom: 4px;
  }

  .brand-logo--hero {
    position: absolute;
    top: 0;
    left: 0;
    width: clamp(92px, 12vw, 112px);
  }

  .hero__heading h1 {
    font-size: clamp(38px, 5.6vw, 58px);
    white-space: nowrap;
  }

  .hero__heading p {
    margin-top: 3px;
    font-size: clamp(26px, 3.8vw, 36px);
  }

  .hero__photo {
    width: min(68vw, 620px);
    border-radius: 0 0 28px;
  }

  .hero__photo img {
    min-height: 0;
    aspect-ratio: 1253 / 465;
    object-position: center;
  }

  .hero__facts {
    width: fit-content;
    max-width: calc(100% - 24px);
    flex-direction: row;
    align-items: center;
    gap: clamp(18px, 3vw, 30px);
    padding: 7px 18px 8px;
    border-radius: 0 0 26px 26px;
    font-size: clamp(15px, 1.9vw, 18px);
  }

  .hero__facts i {
    width: 21px;
    height: 21px;
    border-width: 2px;
    font-size: 13px;
  }

  .values__inner {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(230px, 1.15fr) minmax(
        0,
        0.8fr
      );
    gap: clamp(14px, 2.2vw, 22px);
    padding: 10px max(24px, env(safe-area-inset-right)) 10px
      max(24px, env(safe-area-inset-left));
  }

  .values__photo {
    max-height: calc(100svh - 20px);
    align-self: center;
    justify-self: center;
    margin-bottom: 8px;
  }

  .values__photo--left {
    grid-row: auto;
    grid-column: auto;
    border-radius: 50px 0 0;
  }

  .values__photo--right {
    grid-row: auto;
    grid-column: auto;
    border-radius: 0 0 50px;
  }

  .values__message {
    min-width: 0;
    grid-row: auto;
    grid-column: auto;
    order: 0;
  }

  .brand-logo--values {
    width: clamp(100px, 14vw, 135px);
    margin-bottom: clamp(4px, 1vh, 8px);
  }

  .values__message h2 {
    font-size: clamp(38px, 5vw, 50px);
    line-height: 0.92;
    text-align: left;
  }

  .delivery__inner {
    display: grid;
    grid-template-columns: minmax(150px, 0.65fr) minmax(360px, 1.35fr);
    gap: clamp(16px, 2.5vw, 24px);
    padding: 10px max(28px, env(safe-area-inset-right)) 10px
      max(28px, env(safe-area-inset-left));
  }

  .delivery__photo {
    height: auto;
    margin-top: 8px;
    border-radius: 80px 0 0;
  }

  .delivery__photo img {
    width: 100%;
    height: auto;
    aspect-ratio: 480 / 769;
  }

  .delivery__content {
    width: 100%;
    align-self: center;
    justify-items: start;
  }

  .brand-logo--delivery {
    width: clamp(110px, 15vw, 140px);
    margin-bottom: 4px;
  }

  .delivery__locations {
    justify-self: start;
  }

  .delivery__locations ul {
    gap: 1px;
    margin-bottom: 8px;
  }

  .delivery__locations li {
    gap: 10px;
    font-size: clamp(20px, 2.5vw, 26px);
  }

  .location-pin {
    width: 17px;
    height: 17px;
    flex-basis: 17px;
  }

  .location-pin::after {
    top: 5px;
    left: 5px;
    width: 7px;
    height: 7px;
  }

  .delivery__cta {
    width: min(100%, 500px);
    margin-left: 0;
    padding-top: 32px;
  }

  .delivery__cta::before {
    inset: 20px 0 0;
    border-radius: 58px 0 58px;
  }

  .delivery__cta > p {
    min-width: 55%;
    padding: 8px 18px 9px;
    border-radius: 44px 0 44px;
    font-size: 18px;
  }

  .delivery__contact {
    min-height: 60px;
    flex-direction: row;
    align-items: end;
    justify-content: center;
    gap: 12px;
    padding: 15px 18px 15px;
  }

  .whatsapp-link {
    align-self: auto;
    margin-left: 0;
  }

  .whatsapp-link__icon {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
    padding: 5px;
    border-width: 3px;
  }

  .phone-link {
    font-size: clamp(22px, 3vw, 28px);
  }

}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
