/* =========================================================
   Список желаний Ивана — детский праздничный вишлист
   ========================================================= */

:root {
  --cream: #fff7ec;
  --ink: #342c4d;
  --ink-soft: #5b4d72;
  --muted: #7a7290;
  --coral: #ff7a5c;
  --pink: #ff4d7e;
  --yellow: #ffd166;
  --mint: #7fe0bd;
  --sky: #8fd3f4;
  --violet: #b39ddb;
  --line: #f1e9ff;
  --white: #fff;
  --shadow: 0 24px 50px -30px rgba(74, 54, 120, 0.45);
  --shadow-hover: 0 34px 60px -28px rgba(74, 54, 120, 0.5);
  --radius: 30px;
}

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

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: "Nunito", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  background:
    radial-gradient(circle at 10% 4%, #ffe3ce 0, transparent 38%),
    radial-gradient(circle at 92% 2%, #e2f1ff 0, transparent 36%),
    radial-gradient(circle at 84% 88%, #ffe6f0 0, transparent 42%),
    radial-gradient(circle at 6% 92%, #e6fbf2 0, transparent 38%),
    var(--cream);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: "Baloo 2", "Nunito", sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
}

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

button {
  font-family: inherit;
}

/* ---------- декоративный фон ---------- */

.bg-decor {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.bg-decor__item {
  position: absolute;
  font-size: 42px;
  opacity: 0.22;
  filter: saturate(0.9);
  animation: drift 12s ease-in-out infinite;
}

.bg-decor__item--1 { top: 20%; left: 2.5%; animation-delay: -1s; }
.bg-decor__item--2 { top: 58%; left: 4.5%; font-size: 26px; animation-delay: -4s; }
.bg-decor__item--3 { top: 12%; right: 3%; font-size: 34px; animation-delay: -7s; }
.bg-decor__item--4 { top: 74%; right: 4%; font-size: 30px; animation-delay: -2s; }
.bg-decor__item--5 { top: 39%; right: 1.5%; font-size: 24px; animation-delay: -9s; }

@keyframes drift {
  0%, 100% { transform: translateY(0) rotate(-6deg); }
  50% { transform: translateY(-16px) rotate(6deg); }
}

/* ---------- каркас ---------- */

.page {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 22px clamp(16px, 4vw, 40px) 40px;
}

/* ---------- шапка ---------- */

.topbar {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 4px 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--ink);
  text-decoration: none;
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  font-size: 1.06rem;
}

.brand__paw {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffd9c2, #ffc6da);
  font-size: 19px;
  box-shadow: 0 8px 16px -8px rgba(255, 122, 92, 0.8);
}

.brand__text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.topbar__date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: none;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid #fff;
  color: var(--ink-soft);
  font-weight: 700;
  font-size: 0.86rem;
  white-space: nowrap;
  box-shadow: 0 10px 24px -18px rgba(74, 54, 120, 0.5);
}

/* ---------- герой ---------- */

.hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  padding: clamp(28px, 4.4vw, 52px);
  border-radius: 46px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  background: linear-gradient(118deg, #ffe6d3 0%, #ffdde8 46%, #deefff 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 34px 70px -46px rgba(120, 80, 140, 0.7);
}

.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(4px);
  pointer-events: none;
}

.hero__blob--one {
  width: 340px;
  height: 340px;
  right: -90px;
  top: -140px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.85), transparent 68%);
}

.hero__blob--two {
  width: 260px;
  height: 260px;
  left: 42%;
  bottom: -170px;
  background: radial-gradient(circle, rgba(255, 212, 168, 0.6), transparent 70%);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 620px;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.95);
  color: #8a5a3b;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  box-shadow: 0 8px 18px -14px rgba(120, 80, 60, 0.7);
}

.hero__title {
  margin: 16px 0 16px;
  font-size: clamp(2.35rem, 5.4vw, 4.15rem);
  line-height: 1.02;
  color: #3b2f58;
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.35);
}

.hero__name {
  display: inline-block;
  background: linear-gradient(100deg, #ff5a1f 0%, #ff1f6b 52%, #7c2bff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
  padding-right: 0.08em;
}

.hero__lead {
  max-width: 50ch;
  margin: 0 0 22px;
  color: #5c4d73;
  font-size: clamp(0.98rem, 1.4vw, 1.08rem);
  line-height: 1.62;
  font-weight: 500;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 15px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
}

.chip--white {
  background: #fff;
  color: var(--ink-soft);
  box-shadow: 0 10px 22px -16px rgba(74, 54, 120, 0.55);
}

.chip--yellow {
  background: #ffe8a6;
  color: #7c5300;
}

.chip--mint {
  background: #c9f7e4;
  color: #1c6d52;
}

.hero__art {
  position: relative;
  z-index: 2;
  width: 290px;
  height: 260px;
  display: grid;
  place-items: center;
}

.hero__art-glow {
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  background: radial-gradient(circle, #fff 0%, rgba(255, 255, 255, 0.55) 48%, transparent 72%);
  filter: blur(2px);
}

.hero__dog {
  position: relative;
  font-size: clamp(96px, 12vw, 132px);
  line-height: 1;
  filter: drop-shadow(0 18px 22px rgba(120, 80, 140, 0.28));
  animation: bob 5.5s ease-in-out infinite;
}

@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-12px) rotate(2deg); }
}

.float {
  position: absolute;
  line-height: 1;
  filter: drop-shadow(0 8px 10px rgba(120, 80, 140, 0.22));
  animation: floaty 6s ease-in-out infinite;
}

.float--balloon { top: 4px; left: 6%; font-size: 46px; animation-delay: -1s; }
.float--gift { bottom: 8px; right: 2%; font-size: 44px; animation-delay: -3s; }
.float--star { top: 30%; right: 2%; font-size: 26px; animation-delay: -2s; }
.float--paw { bottom: 18%; left: 0; font-size: 26px; animation-delay: -4s; opacity: 0.8; }

@keyframes floaty {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50% { transform: translateY(-14px) rotate(5deg); }
}

/* ---------- шаги ---------- */

.steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 2.4vw, 26px);
  margin: 22px 0 38px;
  padding: 18px clamp(16px, 3vw, 28px);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px dashed #ffd9c7;
  box-shadow: 0 18px 34px -30px rgba(74, 54, 120, 0.5);
}

.step {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.step__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(140deg, #fff3e4, #ffe7f0);
  font-size: 20px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.9);
}

.step p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.35;
  color: var(--muted);
}

.step strong {
  color: var(--ink);
  font-weight: 800;
}

.step__arrow {
  color: #e2d5f6;
  font-weight: 800;
  font-size: 18px;
  flex: none;
}

/* ---------- список ---------- */

.list__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.list__title {
  margin: 0 0 6px;
  font-size: clamp(1.9rem, 3.2vw, 2.5rem);
  color: var(--ink);
}

.list__sub {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
  max-width: 56ch;
}

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.legend__item {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid #f3ebff;
  color: #8a819c;
  font-size: 0.77rem;
  font-weight: 700;
  white-space: nowrap;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(272px, 1fr));
  gap: 22px;
}

/* ---------- карточка ---------- */

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.9);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.card__media {
  position: relative;
  aspect-ratio: 4 / 5;
  background: linear-gradient(160deg, #f7f3ff, #fff);
  overflow: hidden;
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.card:hover .card__media img {
  transform: scale(1.045);
}

.wish {
  position: absolute;
  top: 13px;
  left: 13px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 8px 16px -10px rgba(60, 30, 80, 0.65);
  backdrop-filter: blur(6px);
}

.wish--3 {
  background: linear-gradient(120deg, #ff8a5c, #ff4d7e);
  color: #fff;
}

.wish--2 {
  background: rgba(255, 236, 184, 0.95);
  color: #8a5b00;
}

.wish--1 {
  background: rgba(209, 247, 233, 0.95);
  color: #1f6e58;
}

.card__cat {
  position: absolute;
  top: 13px;
  right: 13px;
  z-index: 2;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #6c5b8c;
  font-size: 0.71rem;
  font-weight: 800;
  box-shadow: 0 8px 16px -12px rgba(60, 30, 80, 0.6);
}

.card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 18px 20px 20px;
}

.card__title {
  margin: 0 0 8px;
  font-size: 1.18rem;
  line-height: 1.24;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card__desc-wrap {
  margin-bottom: 2px;
}

.card__desc {
  margin: 0;
  color: #6f6783;
  font-size: 0.88rem;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card__desc.is-open {
  display: block;
  -webkit-line-clamp: unset;
  overflow: visible;
}

.card__more {
  margin-top: 7px;
  padding: 0;
  border: 0;
  background: none;
  color: #f2614f;
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 3px;
}

.card__more:hover {
  color: #d94a3a;
}

.card__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 8px;
  margin-top: auto;
  padding: 16px 0 14px;
}

.card__price {
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  font-size: 1.34rem;
  line-height: 1;
  color: var(--ink);
}

.card__price-note {
  font-size: 0.77rem;
  color: #a49bb8;
  font-weight: 700;
}

.card__shop {
  margin-left: auto;
  order: 3;
}

.card__search {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  border: 2px solid #f0e8ff;
  border-radius: 999px;
  background: #faf6ff;
  color: #4b3f68;
  font-size: 0.8rem;
  font-weight: 800;
  white-space: nowrap;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.card__search:hover {
  background: #f3ebff;
  border-color: #e0cffb;
  transform: translateY(-1px);
}

.card__actions {
  display: flex;
  gap: 9px;
}

/* ---------- кнопки ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  white-space: nowrap;
}

.btn--primary {
  flex: 1;
  padding: 13px 18px;
  font-size: 0.94rem;
  color: #fff;
  background: linear-gradient(135deg, #ff8b5e 0%, #ff4d7e 100%);
  box-shadow: 0 16px 28px -14px rgba(255, 77, 126, 0.85);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 32px -14px rgba(255, 77, 126, 0.9);
}

.btn--primary:active {
  transform: translateY(0);
}

.btn--ghost {
  padding: 9px 14px;
  font-size: 0.8rem;
  color: #4b3f68;
  background: #fff;
  border: 2px solid #f0e8ff;
}

.btn--ghost:hover {
  border-color: #e0cffb;
  background: #faf6ff;
}

.btn__icon {
  width: 14px;
  height: 14px;
  flex: none;
}

.btn--wide {
  width: 100%;
  flex: none;
}

.btn:disabled {
  opacity: 0.65;
  cursor: progress;
  transform: none;
}

/* ---------- пустое состояние ---------- */

.empty {
  margin-top: 6px;
  padding: clamp(38px, 6vw, 66px) 24px;
  text-align: center;
  background: rgba(255, 255, 255, 0.9);
  border: 2px dashed #ffd9c7;
  border-radius: 34px;
  animation: pop 0.45s ease both;
}

.empty__emoji {
  font-size: 64px;
  line-height: 1;
  margin-bottom: 10px;
}

.empty__title {
  margin: 0 0 8px;
  font-size: 1.6rem;
}

.empty__text {
  margin: 0 auto;
  max-width: 52ch;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.6;
}

@keyframes pop {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

/* ---------- подвал ---------- */

.footer {
  margin-top: 52px;
  text-align: center;
  color: #9b92ad;
  font-size: 0.85rem;
}

.footer p {
  margin: 4px 0;
}

.footer__paws {
  font-size: 18px;
  letter-spacing: 8px;
  opacity: 0.55;
  margin-bottom: 6px;
}

.footer__note {
  font-size: 0.76rem;
  color: #b0a8c0;
}

/* ---------- модальное окно ---------- */

.modal {
  border: 0;
  padding: 0;
  background: transparent;
  width: min(460px, calc(100vw - 32px));
  max-height: 92vh;
  overflow: visible;
}

.modal::backdrop {
  background: rgba(51, 44, 74, 0.48);
  backdrop-filter: blur(6px);
}

.modal[open] {
  animation: modalIn 0.3s cubic-bezier(0.2, 0.9, 0.3, 1.2) both;
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(18px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal__card {
  position: relative;
  overflow: hidden;
  padding: 32px 30px 24px;
  border-radius: 34px;
  background: #fff;
  text-align: center;
  box-shadow: 0 40px 90px -34px rgba(40, 20, 70, 0.6);
}

.modal__card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 9px;
  background: linear-gradient(90deg, #ff9a5c, #ff4d7e 50%, #b35cff);
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: #f7f2ff;
  color: #7a6f90;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.modal__close:hover {
  background: #efe6ff;
}

.modal__badge {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  margin: 2px auto 14px;
  border-radius: 50%;
  background: linear-gradient(140deg, #ffe9d6, #ffd9e6);
  font-size: 34px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.9);
}

.modal__title {
  margin: 0 0 8px;
  font-size: 1.7rem;
  line-height: 1.1;
}

.modal__text {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.modal__gift {
  margin: 0 0 16px;
  padding: 9px 14px;
  border-radius: 14px;
  background: #fff7ec;
  border: 1px dashed #ffd9ae;
  color: #7a5a35;
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.4;
}

.field {
  display: block;
  text-align: left;
  margin-bottom: 14px;
}

.field__label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #8a819c;
}

.field__input {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #efe8ff;
  border-radius: 16px;
  background: #fcfaff;
  color: var(--ink);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.field__input::placeholder {
  color: #b5adc6;
  font-weight: 500;
}

.field__input:focus {
  border-color: #ff9a8a;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255, 122, 107, 0.16);
}

.modal__error {
  margin: 0 0 12px;
  padding: 9px 12px;
  border-radius: 12px;
  background: #fff0f3;
  color: #d43f5a;
  font-size: 0.82rem;
  font-weight: 800;
  text-align: left;
}

.modal__hint {
  margin: 12px 0 0;
  color: #a49bb8;
  font-size: 0.77rem;
}

/* ---------- уведомления ---------- */

.toast-stack,
.flash {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 70;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: min(92vw, 480px);
  pointer-events: none;
}

.toast,
.flash__item {
  width: 100%;
  padding: 13px 20px;
  border-radius: 18px;
  background: #fff;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
  text-align: center;
  box-shadow: 0 22px 44px -20px rgba(50, 30, 80, 0.55);
  border: 1px solid #f3ecff;
  animation: toastIn 0.4s cubic-bezier(0.2, 0.9, 0.3, 1.2) both;
}

.toast--leaving,
.flash__item--leaving {
  animation: toastOut 0.35s ease forwards;
}

.toast--success {
  border-color: #c9f7e4;
  background: linear-gradient(140deg, #f4fffa, #fff);
}

.flash__item--error {
  border-color: #ffd0d8;
  background: #fff5f7;
}

@keyframes toastIn {
  from { opacity: 0; transform: translateY(16px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes toastOut {
  to { opacity: 0; transform: translateY(12px); }
}

/* ---------- конфетти ---------- */

.confetti {
  position: fixed;
  top: -8vh;
  z-index: 80;
  pointer-events: none;
  line-height: 1;
  animation: fall linear forwards;
}

@keyframes fall {
  0% { transform: translateY(-10vh) rotate(0deg); opacity: 1; }
  100% { transform: translateY(115vh) rotate(680deg); opacity: 0.2; }
}

/* ---------- удаление карточки ---------- */

.card--leaving {
  animation: cardOut 0.45s cubic-bezier(0.4, 0, 0.6, 1) forwards;
  pointer-events: none;
}

@keyframes cardOut {
  to {
    opacity: 0;
    transform: scale(0.92) translateY(12px);
  }
}

/* ---------- адаптив ---------- */

@media (max-width: 920px) {
  .hero {
    grid-template-columns: 1fr;
    border-radius: 38px;
  }

  .hero__art {
    display: none;
  }

  .steps {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .step__arrow {
    display: none;
  }

  .step {
    padding-left: 4px;
  }
}

@media (max-width: 640px) {
  .page {
    padding: 16px 14px 32px;
  }

  .topbar {
    gap: 8px;
    padding: 4px 0 14px;
  }

  .brand {
    gap: 8px;
  }

  .brand__paw {
    width: 34px;
    height: 34px;
    font-size: 17px;
  }

  .brand__text {
    font-size: 0.9rem;
  }

  .topbar__date {
    font-size: 0.73rem;
    padding: 6px 9px;
  }

  .hero {
    padding: 26px 20px 28px;
    border-radius: 30px;
  }

  .hero__title {
    font-size: clamp(2.1rem, 9vw, 2.9rem);
  }

  .hero__lead {
    font-size: 0.95rem;
  }

  .chip {
    font-size: 0.79rem;
    padding: 8px 12px;
    white-space: normal;
  }

  .steps {
    margin: 18px 0 30px;
    padding: 16px 18px;
    border-radius: 22px;
  }

  .grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
  }

  .card {
    border-radius: 26px;
  }

  .card__body {
    padding: 16px 17px 18px;
  }

  .modal__card {
    padding: 28px 20px 22px;
    border-radius: 28px;
  }

  .modal__title {
    font-size: 1.5rem;
  }

  .footer {
    margin-top: 38px;
  }
}

@media (max-width: 380px) {
  .brand__paw {
    width: 31px;
    height: 31px;
    font-size: 15px;
  }

  .brand__text {
    font-size: 0.82rem;
  }

  .topbar__date {
    gap: 4px;
    padding: 6px 8px;
    font-size: 0.68rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
