@font-face {
  font-family: Poppins;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/poppins-400.woff2") format("woff2");
}

@font-face {
  font-family: Poppins;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/poppins-500.woff2") format("woff2");
}

@font-face {
  font-family: Poppins;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/poppins-600.woff2") format("woff2");
}

@font-face {
  font-family: Poppins;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/poppins-700.woff2") format("woff2");
}

:root {
  --red: rgb(226, 4, 16);
  --yellow: rgb(255, 196, 0);
  --dark: #1f1f1f;
  --muted: #3f3f3f;
  --wa: #128c7e;
  --facebook: #1568c7;
  color-scheme: light;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100dvh;
  font-family: Poppins, "Segoe UI", sans-serif;
  color: var(--dark);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--yellow);
  color: var(--dark);
}

.wrap {
  min-height: 100dvh;
}

.page {
  width: min(440px, 100%);
  margin: 0 auto;
  padding-bottom: calc(28px + env(safe-area-inset-bottom));
}

.accent {
  height: 7px;
  background: linear-gradient(90deg, var(--red) 0 74%, var(--yellow) 74%);
}

.hero {
  padding: 28px 22px 0;
  text-align: center;
}

.logo-wrap {
  width: 128px;
  height: 128px;
  margin: 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 46%, #fff 0 58%, rgba(226, 4, 16, 0.07) 59% 100%);
  box-shadow: inset 0 0 0 1px rgba(226, 4, 16, 0.08);
}

.logo {
  width: 96px;
  height: auto;
  display: block;
}

h1 {
  margin: 16px 0 0;
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1;
}

h1 .peru {
  color: var(--red);
}

h1 .med {
  color: var(--dark);
}

.subtitle {
  margin: 12px auto 0;
  max-width: 22rem;
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--muted);
}

.links {
  list-style: none;
  margin: 26px 0 0;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 10px 12px 10px 10px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--dark);
  background: #fff;
  border: 1px solid rgba(31, 31, 31, 0.08);
  box-shadow: 0 1px 2px rgba(31, 31, 31, 0.04), 0 8px 18px rgba(31, 31, 31, 0.05);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.01em;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.btn-label {
  flex: 1;
  text-align: center;
  line-height: 1.2;
}

.btn-icon,
.btn-go {
  width: 42px;
  height: 42px;
  flex: none;
  display: grid;
  place-items: center;
}

.btn-icon {
  border-radius: 50%;
  background: rgba(226, 4, 16, 0.08);
  color: var(--red);
}

.btn-icon svg,
.btn-go svg {
  width: 22px;
  height: 22px;
  display: block;
}

.btn-go {
  color: currentColor;
  opacity: 0.55;
}

.btn-go svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn-review {
  background: linear-gradient(180deg, #ffd24d 0%, var(--yellow) 100%);
  border-color: transparent;
  color: var(--dark);
  box-shadow: 0 10px 22px rgba(255, 196, 0, 0.38);
}

.btn-review .btn-icon {
  width: 58px;
  background: rgba(31, 31, 31, 0.08);
  color: var(--dark);
}

.btn-review .btn-icon svg {
  width: 44px;
  height: 16px;
}

.btn-review .btn-go {
  width: 58px;
}

.btn-wa {
  background: linear-gradient(180deg, #17a392 0%, var(--wa) 100%);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 10px 22px rgba(18, 140, 126, 0.28);
}

.btn-wa .btn-icon {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.btn-store {
  background: linear-gradient(180deg, #f31d2c 0%, var(--red) 100%);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 10px 22px rgba(226, 4, 16, 0.28);
}

.btn-store .btn-icon {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.btn-tiktok .btn-icon {
  background: rgba(31, 31, 31, 0.06);
  color: var(--dark);
}

.btn-facebook .btn-icon {
  background: rgba(21, 104, 199, 0.1);
  color: var(--facebook);
}

.btn:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

.btn-review:focus-visible {
  outline-color: var(--dark);
}

.btn:active {
  transform: translateY(1px) scale(0.985);
}

.site-footer {
  margin-top: 26px;
  text-align: center;
}

.site-footer a {
  color: #6a6a6a;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--red);
}

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

.logo-wrap,
h1,
.subtitle,
.links li,
.site-footer {
  animation: enter 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

h1 { animation-delay: 0.05s; }
.subtitle { animation-delay: 0.1s; }
.links li:nth-child(1) { animation-delay: 0.14s; }
.links li:nth-child(2) { animation-delay: 0.19s; }
.links li:nth-child(3) { animation-delay: 0.24s; }
.links li:nth-child(4) { animation-delay: 0.29s; }
.links li:nth-child(5) { animation-delay: 0.34s; }
.links li:nth-child(6) { animation-delay: 0.39s; }
.links li:nth-child(7) { animation-delay: 0.44s; }
.site-footer { animation-delay: 0.5s; }

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

@media (hover: hover) {
  .btn {
    transition: transform 0.18s ease, box-shadow 0.18s ease;
  }

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

  .btn-review:hover {
    box-shadow: 0 14px 28px rgba(255, 196, 0, 0.48);
  }

  .btn-wa:hover {
    box-shadow: 0 14px 28px rgba(18, 140, 126, 0.36);
  }

  .btn-store:hover {
    box-shadow: 0 14px 28px rgba(226, 4, 16, 0.36);
  }

  .btn:not(.btn-review):not(.btn-wa):not(.btn-store):hover {
    box-shadow: 0 12px 26px rgba(31, 31, 31, 0.1);
  }
}

@media (max-width: 360px) {
  h1 {
    font-size: 1.6rem;
    letter-spacing: 0.1em;
  }

  .subtitle {
    font-size: 0.92rem;
  }

  .btn {
    font-size: 0.92rem;
    min-height: 58px;
  }

  .btn-icon,
  .btn-go {
    width: 36px;
    height: 36px;
  }

  .btn-review .btn-icon,
  .btn-review .btn-go {
    width: 50px;
  }

  .btn-review .btn-icon svg {
    width: 38px;
    height: 14px;
  }
}

@media (min-width: 840px) {
  body {
    background:
      radial-gradient(900px 420px at 50% -40px, rgba(226, 4, 16, 0.14), transparent 62%),
      #f4f2f1;
  }

  .wrap {
    display: grid;
    place-items: center;
    padding: 40px 20px;
  }

  .page {
    width: 460px;
    background: #fff;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(31, 31, 31, 0.06);
    box-shadow: 0 24px 60px rgba(31, 31, 31, 0.1);
    padding-bottom: 28px;
  }

  .hero {
    padding-top: 32px;
  }

  h1 {
    font-size: 2rem;
  }

  .btn {
    min-height: 68px;
    font-size: 1.05rem;
  }
}

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