:root {
  --bg: #fff7f7;
  --surface: #ffffff;
  --text: #3f2f37;
  --muted: #7a6170;
  --primary: #d94e7a;
  --primary-soft: #f7dce6;
  --border: #f0dfe5;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  position: relative;
  margin: 0;
  min-height: 100vh;
  font-family: "Ubuntu", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top right, #ffeef3 0%, transparent 40%),
    radial-gradient(circle at bottom left, #fff0eb 0%, transparent 35%),
    var(--bg);
}

.page {
  position: relative;
  z-index: 2;
  width: min(1100px, calc(100% - 2.5rem));
  margin: 2.5rem auto 3rem;
}

.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1rem, 3vw, 2rem);
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: clamp(1.5rem, 4vw, 3rem);
  box-shadow: 0 14px 35px rgba(217, 78, 122, 0.1);
}

.hero-content {
  max-width: 58ch;
}

.logo {
  display: block;
  width: 136px;
  max-width: 45%;
  margin: 0;
}

.eyebrow {
  display: inline-block;
  margin: 1rem 0 0;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
}

h1 {
  margin: 0.75rem 0 0.9rem;
  max-width: 24ch;
  font-size: clamp(1.7rem, 4vw, 2.7rem);
  line-height: 1.15;
}

.lead {
  max-width: 58ch;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.1rem);
  line-height: 1.6;
}

.products {
  margin-top: 2rem;
}

h2 {
  margin: 0 0 1rem;
  text-align: center;
  font-size: clamp(1.15rem, 2.8vw, 1.5rem);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.95rem;
}

.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  min-height: 215px;
  padding: 1rem 0.75rem 0.8rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--surface);
  text-decoration: none;
  color: var(--text);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card img {
  width: 92%;
  height: 130px;
  object-fit: contain;
}

.card span {
  margin-top: 0.8rem;
  text-align: center;
  font-size: 0.93rem;
  font-weight: 500;
  line-height: 1.35;
}

.card:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
  box-shadow: 0 10px 24px rgba(217, 78, 122, 0.18);
}

.card:focus-visible {
  outline: 3px solid var(--primary-soft);
  outline-offset: 2px;
}

.hero-gif {
  display: block;
  width: min(420px, 40vw);
  max-width: 100%;
  opacity: 1;
  border-radius: 14px;
}

@media (max-width: 640px) {
  .page {
    width: min(100% - 1rem, 1100px);
    margin-top: 1rem;
  }

  .hero {
    position: relative;
    overflow: hidden;
    flex-direction: column;
    text-align: left;
    border-radius: 18px;
  }

  .hero-content {
    position: relative;
    z-index: 1;
  }

  .hero-gif {
    position: absolute;
    right: 0.5rem;
    bottom: 0.5rem;
    width: min(180px, 42%);
    opacity: 0.1;
  }
}
