@font-face {
  font-family: "Body Text";
  src: url("./BodyText-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Body Text";
  src: url("./BodyText-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --green: #4d6649;
  --green-dark: #334031;
  --muted: #818181;
  --bg: #ffffff;
  --white: #ffffff;
}

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

html,
body {
  width: 100%;
  height: 100%;
}

body {
  font-family: "Body Text", "Muller Next", sans-serif;
  color: var(--green);
  background: var(--bg);
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

.page {
  width: 100%;
  min-height: 100dvh;
  height: 100dvh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 16px;
}

.decor {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: #fff;
  overflow: hidden;
}

.decor::before,
.decor::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: min(28vw, 340px);
  background: url("./bg-side.jpg") center / cover no-repeat;
  opacity: 0.9;
}

.decor::before {
  left: 0;
  mask-image: linear-gradient(90deg, #000 0%, #000 35%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 35%, transparent 100%);
}

.decor::after {
  right: 0;
  transform: scaleX(-1);
  mask-image: linear-gradient(90deg, #000 0%, #000 35%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 35%, transparent 100%);
}

@media (max-width: 859px) {
  .decor::before,
  .decor::after {
    width: 42vw;
    opacity: 0.35;
  }
}

.banner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  animation: rise 0.65s ease both;
}

.logo {
  width: 140px;
  height: auto;
  flex-shrink: 0;
}

.copy-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.offer-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(77, 102, 73, 0.1);
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.offer-tag svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.banner h1 {
  font-size: clamp(26px, 7vw, 44px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--green);
}

.banner h1 span {
  display: block;
}

.banner__sub {
  font-size: clamp(14px, 2.5vw, 17px);
  line-height: 1.4;
  color: var(--muted);
  max-width: 36ch;
}

.visual {
  width: 100%;
  display: flex;
  justify-content: center;
}

.visual--trio {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: min(100%, 420px);
  align-items: stretch;
}

.visual__card {
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 14px 32px rgba(51, 64, 49, 0.14);
  animation: float 5s ease-in-out infinite;
}

.visual--trio .visual__card:nth-child(2) {
  animation-delay: 0.35s;
}

.visual--trio .visual__card:nth-child(3) {
  animation-delay: 0.7s;
}

.visual__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.visual__badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(51, 64, 49, 0.82);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.cta {
  width: 100%;
  max-width: 400px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 10px 10px 22px;
  border-radius: 999px;
  color: #fff;
  transition: transform 0.2s ease, background 0.2s ease;
}

.cta:hover {
  transform: translateY(-2px);
}

.cta:active {
  transform: scale(0.98);
}

.cta__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  text-align: left;
}

.cta__text strong {
  font-size: clamp(13px, 3.5vw, 15px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.1;
}

.cta__text small {
  font-size: 12px;
  opacity: 0.85;
  font-weight: 400;
}

.cta__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

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

.cta--tg {
  background: #229ed9;
  box-shadow: 0 14px 32px rgba(34, 158, 217, 0.35);
  animation: pulseTg 2.2s ease-in-out infinite;
}

.cta--tg:hover {
  background: #1b8fc5;
}

.cta--tg .cta__icon {
  color: #229ed9;
}

.cta--wa {
  background: #25d366;
  box-shadow: 0 14px 32px rgba(37, 211, 102, 0.35);
  animation: pulseWa 2.2s ease-in-out infinite;
}

.cta--wa:hover {
  background: #1ebe57;
}

.cta--wa .cta__icon {
  color: #25d366;
}

.fine {
  font-size: 11px;
  line-height: 1.4;
  color: var(--muted);
  max-width: 36ch;
}

/* Desktop: two columns, fully centered */
@media (min-width: 860px) {
  .page {
    padding: 32px 48px;
  }

  .banner {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) minmax(320px, 480px);
    grid-template-areas:
      "logo visual"
      "copy visual"
      "cta visual"
      "fine visual";
    align-items: center;
    justify-items: start;
    column-gap: 48px;
    row-gap: 14px;
    text-align: left;
    max-width: 1040px;
  }

  .logo {
    grid-area: logo;
  }

  .copy-block {
    grid-area: copy;
    align-items: flex-start;
    text-align: left;
  }

  .banner h1 {
    font-size: clamp(30px, 3.4vw, 42px);
  }

  .banner__sub {
    max-width: 36ch;
  }

  .visual {
    grid-area: visual;
    justify-content: center;
    align-self: center;
  }

  .visual--trio {
    width: min(100%, 460px);
    gap: 12px;
  }

  .visual__card {
    border-radius: 18px;
  }

  .cta {
    grid-area: cta;
    justify-self: stretch;
    max-width: 420px;
  }

  .fine {
    grid-area: fine;
  }
}

@media (max-height: 720px) and (min-width: 860px) {
  .visual--trio {
    width: min(100%, 380px);
  }

  .banner h1 {
    font-size: 28px;
  }
}

@media (max-height: 700px) and (max-width: 859px) {
  .page {
    padding: 12px 14px;
  }

  .visual--trio {
    width: min(100%, 320px);
    gap: 8px;
  }

  .banner {
    gap: 10px;
  }

  .banner h1 {
    font-size: 22px;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes pulseTg {
  0%,
  100% {
    box-shadow: 0 14px 32px rgba(34, 158, 217, 0.35);
  }
  50% {
    box-shadow: 0 16px 40px rgba(34, 158, 217, 0.55);
  }
}

@keyframes pulseWa {
  0%,
  100% {
    box-shadow: 0 14px 32px rgba(37, 211, 102, 0.35);
  }
  50% {
    box-shadow: 0 16px 40px rgba(37, 211, 102, 0.55);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
