:root {
  --bg: #f7f5f0;
  --card: #ffffff;
  --text: #181818;
  --muted: #6d6d6d;
  --accent: #ff6b35;
  --accent-dark: #e95720;
  --line: rgba(0,0,0,.08);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}

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

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247,245,240,.84);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.header__inner {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 22px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo__icon {
  color: var(--accent);
  font-size: 34px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 15px;
}

.nav a {
  color: var(--muted);
}

.nav a:hover {
  color: var(--text);
}

.nav__phone {
  color: var(--text) !important;
  font-weight: 700;
}

.burger {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: var(--card);
  border-radius: 14px;
}

.burger span {
  display: block;
  height: 2px;
  background: var(--text);
  margin: 7px;
}

.hero {
  padding: 86px 0 70px;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: center;
}

.badge,
.eyebrow,
.section-head span {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff0e9;
  color: var(--accent-dark);
  font-size: 14px;
  font-weight: 700;
}

h1 {
  margin: 0;
  font-size: clamp(42px, 7vw, 82px);
  line-height: .95;
  letter-spacing: -3px;
}

h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
  letter-spacing: -2px;
}

.hero p,
.why p,
.order p,
.catalog-head p,
.catalog-order p {
  max-width: 580px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.55;
}

.hero__buttons {
  display: flex;
  gap: 14px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 800;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn--primary {
  color: #fff;
  background: var(--accent);
}

.btn--primary:hover {
  background: var(--accent-dark);
}

.btn--ghost {
  background: transparent;
  border-color: var(--line);
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 48px;
}

.hero__stats div {
  padding: 18px;
  background: rgba(255,255,255,.7);
  border: 1px solid var(--line);
  border-radius: 22px;
}

.hero__stats strong {
  display: block;
  font-size: 24px;
}

.hero__stats span {
  color: var(--muted);
  font-size: 13px;
}

.hero__card {
  position: relative;
  min-height: 520px;
  border-radius: 40px;
  background: radial-gradient(circle at 50% 35%, #fff 0, #fff4ed 32%, #f2e4d9 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stamp-preview__circle {
  width: 330px;
  height: 330px;
  border: 16px double var(--accent);
  border-radius: 50%;
  color: var(--accent);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: rotate(-8deg);
  text-align: center;
  opacity: .92;
}

.stamp-preview__circle span {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 5px;
}

.stamp-preview__circle b {
  margin-top: 18px;
  font-size: 18px;
}

.stamp-preview__circle small {
  margin-top: 12px;
  font-weight: 700;
}

.price-box {
  position: absolute;
  right: 28px;
  bottom: 28px;
  width: 210px;
  padding: 22px;
  background: var(--card);
  border-radius: 26px;
  box-shadow: 0 24px 80px rgba(0,0,0,.12);
}

.price-box span {
  color: var(--muted);
}

.price-box strong {
  display: block;
  font-size: 38px;
}

.price-box p {
  margin: 8px 0 0;
  font-size: 14px;
  color: var(--muted);
}

.services,
.why,
.order {
  padding: 80px 0;
}

.section-head {
  margin-bottom: 34px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.service-card {
  min-height: 260px;
  padding: 26px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: .25s;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 70px rgba(0,0,0,.08);
}

.service-card h3 {
  margin: 0;
  font-size: 24px;
}

.service-card p {
  color: var(--muted);
  line-height: 1.5;
}

.service-card__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.service-card__bottom strong {
  font-size: 22px;
}

.service-card__bottom a {
  color: var(--accent);
  font-weight: 800;
}

.why__grid,
.order__grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 40px;
  align-items: start;
}

.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.features div {
  padding: 26px;
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  font-size: 20px;
  font-weight: 700;
}

.order-form {
  padding: 30px;
  background: var(--card);
  border-radius: 34px;
  border: 1px solid var(--line);
  display: grid;
  gap: 18px;
}

.order-form label {
  display: grid;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
}

.order-form input,
.order-form select {
  width: 100%;
  height: 56px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  font-size: 16px;
  background: #fafafa;
}

.order-form small {
  color: var(--muted);
  line-height: 1.4;
}

/* Catalog */

.catalog-page {
  padding: 70px 0 90px;
}

.catalog-head {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: flex-end;
  margin-bottom: 42px;
}

.catalog-head h1 {
  margin: 0;
  font-size: clamp(42px, 6vw, 72px);
  line-height: .95;
  letter-spacing: -3px;
}

.catalog-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  align-items: start;
}

.catalog-sidebar {
  position: sticky;
  top: 100px;
  display: grid;
  gap: 18px;
}

.filter-box {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.filter-box h3 {
  margin: 0 0 18px;
  font-size: 22px;
}

.filter-box p {
  color: var(--muted);
  line-height: 1.5;
}

.category-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.category-list a {
  display: block;
  padding: 13px 15px;
  border-radius: 16px;
  background: #fafafa;
  color: var(--muted);
  font-weight: 700;
}

.category-list a:hover {
  background: #fff0e9;
  color: var(--accent-dark);
}

.catalog-toolbar {
  min-height: 66px;
  padding: 16px 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
}

.catalog-count {
  color: var(--muted);
  font-weight: 700;
}

.catalog-sort select {
  height: 42px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fafafa;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.product-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 30px;
  overflow: hidden;
  transition: .25s;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 70px rgba(0,0,0,.08);
}

.product-card__image {
  height: 230px;
  background: radial-gradient(circle at center, #fff5ef, #f2e4d9);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-card__image img {
  max-width: 82%;
  max-height: 82%;
  object-fit: contain;
  transition: .25s;
}

.product-card:hover .product-card__image img {
  transform: scale(1.06) rotate(-2deg);
}

.product-card__placeholder {
  width: 155px;
  height: 155px;
  border: 9px double var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-weight: 900;
  text-transform: uppercase;
  transform: rotate(-8deg);
}

.product-card__body {
  padding: 22px;
}

.product-card__title {
  display: block;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 12px;
}

.product-card__body p {
  color: var(--muted);
  line-height: 1.45;
  min-height: 64px;
}

.product-card__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}

.product-card__price {
  font-size: 24px;
  font-weight: 900;
}

.product-card__btn {
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  display: inline-flex;
  align-items: center;
  font-weight: 800;
}

.product-card__btn:hover {
  background: var(--accent-dark);
}

.catalog-pagination {
  margin-top: 34px;
}

.catalog-pagination ul {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.catalog-pagination a,
.catalog-pagination span {
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  border-radius: 14px;
  background: var(--card);
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.catalog-pagination .active span,
.catalog-pagination a:hover {
  background: var(--accent);
  color: #fff;
}

.empty-catalog {
  padding: 50px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 34px;
  text-align: center;
}

.empty-catalog h3 {
  margin-top: 0;
  font-size: 30px;
}

.empty-catalog p {
  color: var(--muted);
}

.catalog-order {
  padding: 70px 0 90px;
}

.footer {
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
}

@media (max-width: 1040px) {
  .catalog-layout {
    grid-template-columns: 1fr;
  }

  .catalog-sidebar {
    position: static;
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 960px) {
  .nav {
    display: none;
  }

  .burger {
    display: block;
  }

  .nav.is-open {
    display: grid;
    position: absolute;
    top: 78px;
    left: 16px;
    right: 16px;
    padding: 22px;
    background: var(--card);
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0,0,0,.12);
  }

  .hero__grid,
  .why__grid,
  .order__grid {
    grid-template-columns: 1fr;
  }

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

  .hero__card {
    min-height: 420px;
  }
}

@media (max-width: 680px) {
  .catalog-head {
    display: grid;
  }

  .catalog-toolbar {
    display: grid;
  }

  .catalog-sidebar,
  .catalog-grid {
    grid-template-columns: 1fr;
  }

  .product-card__image {
    height: 210px;
  }
}

@media (max-width: 620px) {
  h1 {
    letter-spacing: -2px;
  }

  .hero {
    padding-top: 52px;
  }

  .hero__stats,
  .cards,
  .features {
    grid-template-columns: 1fr;
  }

  .stamp-preview__circle {
    width: 250px;
    height: 250px;
  }

  .price-box {
    left: 20px;
    right: 20px;
    width: auto;
  }

  .footer__inner {
    display: grid;
    gap: 10px;
  }
}