:root {
  --green: #075a35;
  --green-bright: #0c7a46;
  --lime: #b9de2b;
  --yellow: #ffd52f;
  --orange: #f58225;
  --pink: #f04c75;
  --ink: #17352a;
  --muted: #66756f;
  --line: #dfe9e2;
  --paper: #f7faf6;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(7, 90, 53, 0.12);
  --radius-lg: 32px;
  --radius-md: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

body:has(dialog[open]) {
  overflow: hidden;
}

button,
a {
  font: inherit;
}

button,
.button,
.product-card {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 12px max(24px, calc((100vw - 1320px) / 2));
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(7, 90, 53, 0.1);
  backdrop-filter: blur(18px);
}

.brand img,
.footer-brand img {
  width: 190px;
  height: auto;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-link {
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--green-bright);
}

.nav-link--button {
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.lang-switch {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  flex: 0 0 46px;
  padding: 0;
  color: var(--green);
  background: var(--yellow);
  border: 2px solid rgba(7, 90, 53, 0.18);
  border-radius: 50%;
  font-size: 0.86rem;
  font-weight: 900;
  cursor: pointer;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.lang-switch:hover {
  transform: translateY(-2px) rotate(-4deg);
  box-shadow: 0 8px 18px rgba(7, 90, 53, 0.16);
}

.lang-switch:focus-visible {
  outline: 3px solid rgba(245, 130, 37, 0.5);
  outline-offset: 3px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 22px;
  border: 0;
  border-radius: 16px;
  font-weight: 800;
  line-height: 1.15;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button:focus-visible,
.category-button:focus-visible,
.product-card:focus-visible,
.modal-close:focus-visible,
.text-button:focus-visible {
  outline: 3px solid rgba(245, 130, 37, 0.5);
  outline-offset: 3px;
}

.button--compact {
  min-height: 46px;
  padding: 12px 18px;
}

.button--dark {
  color: white;
  background: var(--green);
  box-shadow: 0 8px 22px rgba(7, 90, 53, 0.18);
}

.button--green {
  color: white;
  background: var(--green-bright);
  box-shadow: 0 10px 24px rgba(7, 90, 53, 0.2);
}

.button--green:hover {
  background: var(--green);
}

.button--light {
  color: var(--green);
  background: white;
}

.button--outline {
  color: var(--green);
  background: transparent;
  border: 2px solid var(--green);
}

.button--wide {
  width: 100%;
}

.hero {
  position: relative;
  isolation: isolate;
  max-width: 1390px;
  min-height: 700px;
  margin: 24px auto 0;
  padding: 70px 6.5%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.84fr);
  align-items: center;
  overflow: hidden;
  background: linear-gradient(130deg, #fff17a 0%, var(--yellow) 47%, #f8bd1f 100%);
  border-radius: 44px;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 330px;
  height: 330px;
  left: -90px;
  bottom: -160px;
  border: 78px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
}

.hero-copy {
  position: relative;
  z-index: 3;
  max-width: 710px;
}

.eyebrow {
  margin: 0 0 16px;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow--green,
.modal-kicker {
  color: var(--green-bright);
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(3.2rem, 5.1vw, 5.4rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.03;
}

h1 span {
  color: var(--green);
}

.hero-text {
  max-width: 660px;
  margin: 28px 0 0;
  font-size: 1.18rem;
  line-height: 1.55;
}

.hero-actions {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.text-button {
  padding: 10px 0;
  color: var(--green);
  background: transparent;
  border: 0;
  border-bottom: 2px solid currentColor;
  font-weight: 800;
  cursor: pointer;
}

.hero-notes {
  display: flex;
  gap: 32px;
  margin-top: 40px;
  font-size: 0.93rem;
  color: rgba(23, 53, 42, 0.76);
}

.hero-notes span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-notes b {
  font-size: 1.55rem;
  color: var(--green);
}

.hero-visual {
  position: relative;
  align-self: stretch;
  min-height: 580px;
}

.hero-visual img {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  width: min(447px, 100%);
  height: auto;
  filter: drop-shadow(0 0 24px rgba(255, 255, 255, 0.72)) drop-shadow(0 28px 24px rgba(74, 68, 10, 0.19));
}

.hero-glow {
  position: absolute;
  z-index: 0;
  right: -3%;
  bottom: 4%;
  width: min(570px, 46vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.84) 0%, rgba(255, 244, 157, 0.5) 45%, transparent 72%);
  filter: blur(5px);
}

.hero-word {
  position: absolute;
  top: 4%;
  right: -8%;
  color: rgba(255, 255, 255, 0.36);
  font-size: clamp(4rem, 7.2vw, 8rem);
  font-weight: 900;
  letter-spacing: -0.08em;
  writing-mode: vertical-rl;
}

.hero-orbit {
  position: absolute;
  z-index: 1;
  border-radius: 50%;
  border: 2px solid rgba(7, 90, 53, 0.18);
}

.hero-orbit--one {
  width: 500px;
  height: 500px;
  left: 4%;
  bottom: -12%;
}

.hero-orbit--two {
  width: 390px;
  height: 390px;
  left: 15%;
  bottom: 0;
}

.hero-sticker {
  position: absolute;
  z-index: 4;
  top: 7%;
  left: -2%;
  width: 138px;
  height: 138px;
  display: grid;
  place-items: center;
  color: white;
  background: var(--orange);
  border: 7px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  font-weight: 900;
  line-height: 1.12;
  text-align: center;
  transform: rotate(-9deg);
  box-shadow: 0 14px 30px rgba(128, 74, 13, 0.18);
}

.catalog {
  max-width: 1320px;
  margin: 0 auto;
  padding: 112px 24px 90px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
}

.section-heading h2,
.contest h2,
.modal h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 4.4rem);
  letter-spacing: -0.045em;
  line-height: 1;
}

.category-switch {
  display: inline-flex;
  padding: 5px;
  background: #e7efe9;
  border-radius: 17px;
}

.category-button {
  min-height: 46px;
  padding: 11px 18px;
  border: 0;
  border-radius: 13px;
  color: #4e625a;
  background: transparent;
  font-weight: 800;
  cursor: pointer;
}

.category-button.is-active {
  color: white;
  background: var(--green);
  box-shadow: 0 6px 16px rgba(7, 90, 53, 0.18);
}

.catalog-intro {
  max-width: 720px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.disclaimer {
  margin: 18px 0 0;
  color: #6e7874;
  font-size: 0.78rem;
  line-height: 1.45;
}

.disclaimer--catalog {
  max-width: 780px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 38px;
}

.product-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 9px 30px rgba(10, 70, 44, 0.06);
  cursor: pointer;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(7, 90, 53, 0.28);
  box-shadow: var(--shadow);
}

.product-card__art {
  position: relative;
  aspect-ratio: 1 / 0.76;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #ffffff 0%, #f1f7ef 100%);
}

.product-card__art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 250ms ease;
}

.product-card:hover .product-card__art img {
  transform: scale(1.035);
}

.product-card__art--women {
  isolation: isolate;
  padding: 30px;
  align-content: end;
  justify-items: start;
  color: white;
  background: linear-gradient(140deg, var(--card-color, #f04c75), var(--card-color-two, #f58225));
}

.product-card__art--women::before {
  content: "ЛЕОВИТ";
  position: absolute;
  z-index: -1;
  top: 4%;
  right: -3%;
  color: rgba(255, 255, 255, 0.18);
  font-size: clamp(3rem, 5vw, 5.5rem);
  font-weight: 900;
  letter-spacing: -0.08em;
}

.women-art-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.women-art-title {
  display: block;
  max-width: 280px;
  margin-top: 8px;
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.product-card__band {
  position: absolute;
  z-index: 2;
  top: 16px;
  left: 16px;
  padding: 8px 12px;
  color: var(--green);
  background: rgba(255, 255, 255, 0.94);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 900;
  box-shadow: 0 5px 14px rgba(23, 53, 42, 0.1);
}

.product-card__body {
  padding: 22px 22px 20px;
}

.product-card__title {
  display: block;
  margin: 0;
  font-size: 1.32rem;
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.14;
}

.product-card__summary {
  display: -webkit-box;
  min-height: 46px;
  margin-top: 11px;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.product-card__disclaimer {
  display: block;
  min-height: 34px;
  margin-top: 14px;
  color: #7a8580;
  font-size: 0.75rem;
  line-height: 1.35;
}

.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.product-card__price {
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.product-card__action {
  color: var(--green-bright);
  font-size: 0.9rem;
  font-weight: 900;
}

.contest {
  max-width: 1320px;
  margin: 0 auto 110px;
  padding: 42px 48px;
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) auto;
  align-items: center;
  gap: 36px;
  color: white;
  background: var(--green);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(7, 90, 53, 0.19);
}

.contest-mark {
  width: 156px;
  height: 156px;
  display: grid;
  place-items: center;
  color: var(--green);
  background: var(--yellow);
  border: 8px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  font-size: 2.8rem;
  font-weight: 900;
  letter-spacing: -0.08em;
  transform: rotate(-8deg);
}

.contest h2 {
  max-width: 810px;
  font-size: clamp(2rem, 3.6vw, 3.8rem);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr 1.35fr 1fr auto;
  align-items: start;
  gap: 46px;
  padding: 64px max(24px, calc((100vw - 1320px) / 2));
  background: white;
  border-top: 1px solid var(--line);
}

.footer-brand p {
  margin: 14px 0 0;
  font-weight: 900;
}

.site-footer address {
  color: var(--muted);
  font-style: normal;
}

.footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.footer-contacts a {
  font-weight: 800;
  text-decoration: none;
}

.footer-contacts .toll-free {
  margin-top: 8px;
  font-size: 1.22rem;
  color: var(--green);
}

.footer-contacts small {
  max-width: 260px;
  color: var(--muted);
  line-height: 1.35;
}

.modal {
  width: min(960px, calc(100vw - 32px));
  max-height: min(860px, calc(100vh - 32px));
  padding: 0;
  overflow: auto;
  color: var(--ink);
  background: white;
  border: 0;
  border-radius: 28px;
  box-shadow: 0 30px 100px rgba(4, 35, 22, 0.35);
}

.modal::backdrop {
  background: rgba(4, 35, 22, 0.68);
  backdrop-filter: blur(5px);
}

.modal-close {
  position: absolute;
  z-index: 5;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0 0 3px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.93);
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(7, 90, 53, 0.1);
}

.modal-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  min-height: 620px;
}

.modal-art {
  min-height: 100%;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(145deg, white, #eef5ec);
}

.modal-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.modal-art.is-women {
  place-items: end start;
  padding: 42px;
  color: white;
  background: linear-gradient(145deg, var(--modal-color, #f04c75), var(--modal-color-two, #f58225));
}

.modal-art.is-women span {
  max-width: 280px;
  font-size: 2.8rem;
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 0.95;
}

.modal-content {
  padding: 54px 48px 46px;
}

.modal-kicker {
  margin: 0 0 12px;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.modal h2 {
  font-size: clamp(2.1rem, 4vw, 3.7rem);
}

.modal-price {
  margin: 20px 0 0;
  color: var(--green);
  font-size: 1.65rem;
  font-weight: 900;
}

.modal-description {
  margin: 18px 0 0;
  color: var(--muted);
}

.composition {
  margin-top: 24px;
  padding: 20px 22px;
  background: var(--paper);
  border-radius: 16px;
}

.composition h3 {
  margin: 0 0 10px;
  font-size: 1rem;
}

.composition ul {
  margin: 0;
  padding-left: 20px;
  color: #42574e;
  font-size: 0.92rem;
}

.composition li + li {
  margin-top: 5px;
}

.modal-content .button--wide {
  margin-top: 24px;
}

.contest-modal {
  width: min(640px, calc(100vw - 32px));
  padding: 56px;
  overflow: auto;
}

.contest-modal-icon {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  padding-left: 4px;
  color: var(--green);
  background: var(--yellow);
  border-radius: 50%;
  font-size: 1.65rem;
}

.contest-modal p:not(.modal-kicker) {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.contest-modal .contest-modal-note {
  padding: 16px 18px;
  color: var(--ink);
  background: var(--paper);
  border-left: 4px solid var(--lime);
  border-radius: 10px;
}

.contest-modal .button--wide {
  margin-top: 28px;
}

@media (max-width: 1120px) {
  .hero {
    min-height: 660px;
    margin-inline: 18px;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
    padding: 58px 5%;
  }

  .hero-visual img {
    right: 0;
    bottom: 0;
    width: min(447px, 100%);
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contest {
    margin-inline: 24px;
    grid-template-columns: 140px minmax(0, 1fr);
  }

  .contest-mark {
    width: 128px;
    height: 128px;
    font-size: 2.2rem;
  }

  .contest .button {
    grid-column: 2;
    justify-self: start;
  }

  .site-footer {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .brand img {
    width: 152px;
  }

  .header-actions .nav-link {
    display: none;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    align-content: start;
    padding: 50px 34px 0;
    border-radius: 32px;
  }

  h1 {
    font-size: clamp(3.2rem, 13vw, 5.4rem);
  }

  .hero-text {
    font-size: 1.05rem;
  }

  .hero-visual {
    min-height: 0;
    padding-top: 28px;
  }

  .hero-visual img {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(447px, 100%);
    margin: 0 auto;
    transform: none;
  }

  .hero-glow {
    right: 50%;
    bottom: 4%;
    width: min(570px, 92vw);
    transform: translateX(50%);
  }

  .hero-sticker {
    top: 5%;
    left: auto;
    right: -10px;
    width: 100px;
    height: 100px;
    font-size: 0.88rem;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }

  .category-switch {
    width: 100%;
  }

  .category-button {
    flex: 1;
  }

  .modal-layout {
    grid-template-columns: 1fr;
  }

  .modal-art {
    min-height: 340px;
  }

  .modal-content {
    padding: 38px 28px 30px;
  }

  .contest-modal {
    padding: 44px 28px 30px;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding-inline: 16px;
  }

  .header-actions {
    gap: 10px;
  }

  .button--compact {
    min-height: 42px;
    padding: 11px 13px;
    font-size: 0.82rem;
  }

  .hero {
    min-height: auto;
    margin: 10px;
    padding: 40px 23px 0;
    border-radius: 26px;
  }

  .brand img {
    width: 132px;
  }

  .lang-switch {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }

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

  .hero-notes {
    gap: 16px;
    font-size: 0.8rem;
  }

  .hero-visual {
    min-height: 0;
  }

  .hero-visual img {
    width: min(447px, 100%);
  }

  .hero-notes span {
    align-items: start;
    flex-direction: column;
    gap: 0;
  }

  .catalog {
    padding: 80px 16px 64px;
  }

  .section-heading h2 {
    font-size: 2.55rem;
  }

  .category-switch {
    flex-direction: column;
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .product-card__art {
    aspect-ratio: 1 / 0.72;
  }

  .contest {
    margin: 0 16px 72px;
    padding: 30px 26px;
    grid-template-columns: 1fr;
    gap: 24px;
    border-radius: 24px;
  }

  .contest .button {
    grid-column: auto;
    width: 100%;
  }

  .contest-mark {
    width: 106px;
    height: 106px;
    font-size: 1.9rem;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 50px 24px;
  }

  .site-footer .button {
    width: 100%;
  }

  .modal-art {
    min-height: 280px;
  }

  .modal-art.is-women span {
    font-size: 2.3rem;
  }

  .modal-content {
    padding-inline: 22px;
  }

  .modal h2 {
    font-size: 2.25rem;
  }
}

@media (max-width: 430px) {
  .site-header { gap: 8px; flex-wrap: wrap; padding: 10px 12px; }
  .brand img { width: 100px; }
  .header-actions { gap: 6px; }
  .button--compact { max-width: 155px; padding-inline: 10px; }
  .hero-sticker { width: 84px; height: 84px; font-size: 0.75rem; border-width: 4px; }
  h1 { font-size: clamp(2.4rem, 10vw, 3.8rem); }
}

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

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