.inner-page {
  min-height: 100vh;
  background: #fafaf7;
}

.catalog-hero {
  position: relative;
  min-height: 510px;
  margin-top: 22px;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(460px, 1.1fr);
  overflow: hidden;
  background: #ebe5da;
  border-radius: var(--radius-xl);
}

.catalog-hero__content {
  position: relative;
  z-index: 2;
  padding: clamp(56px, 7vw, 100px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.catalog-hero__content h1,
.circle-hero__content h1 {
  max-width: 680px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(3.2rem, 6.2vw, 6.4rem);
  font-weight: 730;
  line-height: .92;
  letter-spacing: -.065em;
}

.catalog-hero__content > p,
.circle-hero__content > p {
  max-width: 590px;
  margin: 25px 0 0;
  color: #56616b;
  font-size: .93rem;
  line-height: 1.75;
}

.catalog-hero__meta {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.catalog-hero__meta span {
  padding: 8px 13px;
  color: var(--navy);
  background: rgba(255,255,255,.65);
  border: 1px solid rgba(255,255,255,.85);
  border-radius: 20px;
  font-size: .63rem;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.catalog-hero__visual {
  position: relative;
  min-height: 510px;
  overflow: hidden;
}

.catalog-hero__visual::after {
  position: absolute;
  content: "";
  inset: 0;
  background: linear-gradient(90deg, #ebe5da 0%, transparent 24%);
  pointer-events: none;
}

.catalog-hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.catalog-hero--tech {
  color: white;
  background: #071329;
}

.catalog-hero--tech .catalog-hero__content h1,
.catalog-hero--tech .catalog-hero__content > p {
  color: white;
}

.catalog-hero--tech .catalog-hero__content > p {
  color: rgba(255,255,255,.68);
}

.catalog-hero--tech .eyebrow {
  color: var(--gold-soft);
}

.catalog-hero--tech .catalog-hero__meta span {
  color: white;
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.14);
}

.catalog-hero--tech .catalog-hero__visual::after {
  background: linear-gradient(90deg, #071329 0%, transparent 30%);
}

.catalog-hero--beauty {
  background: #e7d5bd;
}

.catalog-hero--beauty .catalog-hero__visual::after {
  background: linear-gradient(90deg, #e7d5bd 0%, transparent 27%);
}

.catalog-hero--home {
  background: #d7c6ad;
}

.catalog-hero--home .catalog-hero__visual::after {
  background: linear-gradient(90deg, #d7c6ad 0%, transparent 27%);
}

.catalog-hero--new {
  color: white;
  background: #182d3b;
}

.catalog-hero--new .catalog-hero__content h1,
.catalog-hero--new .catalog-hero__content > p {
  color: white;
}

.catalog-hero--new .catalog-hero__content > p {
  color: rgba(255,255,255,.72);
}

.catalog-hero--new .eyebrow {
  color: var(--gold-soft);
}

.catalog-hero--new .catalog-hero__meta span {
  color: white;
  background: rgba(255,255,255,.09);
  border-color: rgba(255,255,255,.16);
}

.catalog-hero--new .catalog-hero__visual::after {
  background: linear-gradient(90deg, #182d3b 0%, transparent 30%);
}

.collection-nav {
  margin-top: 18px;
  padding: 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.collection-nav article {
  min-height: 122px;
  padding: 22px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  background: #f7f5ef;
  border-radius: 17px;
  transition: transform var(--ease), background var(--ease);
}

.collection-nav article:hover {
  background: var(--cream);
  transform: translateY(-3px);
}

.collection-nav article > span {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  color: var(--olive);
  background: white;
  border-radius: 15px;
  font-size: 1.15rem;
}

.collection-nav h2 {
  margin: 0 0 4px;
  font-size: .85rem;
}

.collection-nav p {
  margin: 0;
  color: var(--muted);
  font-size: .65rem;
}

.collection-nav a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: white;
  background: var(--navy);
  border-radius: 50%;
}

.catalog-products {
  padding-top: 86px;
  padding-bottom: 102px;
}

.catalog-toolbar {
  margin-bottom: 28px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.catalog-toolbar .eyebrow {
  margin-bottom: 5px;
}

.catalog-toolbar h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.1rem, 3.5vw, 3.6rem);
  line-height: 1;
  letter-spacing: -.05em;
}

.catalog-toolbar__controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.catalog-search,
.sort-control {
  height: 48px;
  display: flex;
  align-items: center;
  background: white;
  border: 1px solid var(--line);
  border-radius: 24px;
}

.catalog-search {
  width: min(330px, 30vw);
  padding: 0 15px;
  gap: 9px;
}

.catalog-search svg {
  flex: 0 0 auto;
  width: 17px;
  color: var(--muted);
}

.catalog-search input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: .7rem;
}

.sort-control {
  padding: 0 13px;
}

.sort-control select {
  border: 0;
  outline: 0;
  background: transparent;
  font-size: .69rem;
  font-weight: 700;
  cursor: pointer;
}

.products-grid--catalog {
  min-height: 340px;
}

.catalog-loading {
  grid-column: 1 / -1;
  min-height: 320px;
  display: grid;
  place-items: center;
  color: var(--muted);
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  font-size: .8rem;
}

.catalog-note {
  margin-top: 24px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  font-size: .7rem;
}

.catalog-note strong {
  color: var(--navy);
}

.category-story {
  margin-bottom: 102px;
  min-height: 320px;
  padding: 56px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 70px;
  overflow: hidden;
  color: white;
  background: var(--navy);
  border-radius: var(--radius-xl);
}

.category-story h2 {
  margin: 0;
  font-size: clamp(2rem, 3.8vw, 4rem);
  line-height: 1;
  letter-spacing: -.05em;
}

.category-story p {
  margin: 0;
  color: rgba(255,255,255,.68);
  font-size: .82rem;
  line-height: 1.85;
}

.category-story__facts {
  margin-top: 25px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.category-story__facts span {
  padding: 8px 12px;
  color: var(--gold-soft);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 18px;
  font-size: .6rem;
  font-weight: 800;
}

.circle-hero {
  position: relative;
  min-height: 580px;
  margin-top: 22px;
  padding: clamp(50px, 7vw, 100px);
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 60px;
  overflow: hidden;
  background: linear-gradient(125deg, #ece8dc, #dcd7c9 62%, #cec6b5);
  border-radius: var(--radius-xl);
}

.circle-hero::before {
  position: absolute;
  content: "";
  width: 600px;
  height: 600px;
  right: -200px;
  top: -230px;
  background: radial-gradient(circle, rgba(201,154,61,.23), transparent 67%);
  pointer-events: none;
}

.circle-hero__content,
.circle-hero__visual {
  position: relative;
  z-index: 2;
}

.circle-hero__content h1 {
  font-size: clamp(3.4rem, 6.5vw, 6.6rem);
}

.circle-hero__actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
}

.button--light-outline {
  color: var(--navy);
  border-color: rgba(11,43,75,.28);
  background: rgba(255,255,255,.38);
}

.circle-hero__visual {
  min-height: 380px;
  display: grid;
  place-items: center;
  perspective: 1200px;
}

.circle-hero__mark {
  position: absolute;
  width: 360px;
  opacity: .055;
}

.circle-membership-card {
  position: relative;
  width: min(440px, 90%);
  aspect-ratio: 1.58;
  padding: 42px;
  display: flex;
  flex-direction: column;
  color: white;
  background:
    linear-gradient(135deg, rgba(255,255,255,.08), transparent 40%),
    linear-gradient(135deg, #09233f, #164f74);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 28px;
  box-shadow: 0 40px 80px rgba(7,28,47,.28);
  transform: rotate(5deg);
}

.circle-membership-card::after {
  position: absolute;
  content: "";
  top: 40px;
  right: 40px;
  width: 55px;
  height: 55px;
  border: 1px solid rgba(232,212,168,.75);
  border-radius: 50%;
  box-shadow: inset 0 0 0 10px rgba(232,212,168,.06);
}

.circle-membership-card small,
.circle-membership-card span {
  font-size: .62rem;
  letter-spacing: .16em;
}

.circle-membership-card strong {
  margin-top: 8px;
  color: var(--gold-soft);
  font-size: 2.2rem;
  letter-spacing: .17em;
}

.circle-membership-card span {
  margin-top: auto;
  color: rgba(255,255,255,.5);
}

.circle-benefits {
  padding-top: 94px;
  padding-bottom: 94px;
}

.circle-section-heading {
  max-width: 700px;
  margin-bottom: 34px;
}

.circle-section-heading .eyebrow {
  margin-bottom: 6px;
}

.circle-section-heading h2,
.circle-join__content h2,
.circle-faq h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: -.05em;
}

.circle-section-heading p {
  max-width: 600px;
  margin: 17px 0 0;
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.8;
}

.circle-benefits__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.circle-benefits__grid article {
  min-height: 260px;
  padding: 29px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.circle-benefits__grid article > span {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  color: var(--olive);
  background: var(--cream);
  border-radius: 17px;
  font-size: 1.2rem;
}

.circle-benefits__grid h3 {
  margin: 38px 0 10px;
  font-size: 1rem;
}

.circle-benefits__grid p {
  margin: 0;
  color: var(--muted);
  font-size: .72rem;
  line-height: 1.75;
}

.circle-join {
  margin-bottom: 95px;
  padding: clamp(36px, 6vw, 72px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
  background: #0b243c;
  border-radius: var(--radius-xl);
}

.circle-join__content {
  color: white;
}

.circle-join__content h2 {
  color: white;
}

.circle-join__content p {
  max-width: 520px;
  margin: 20px 0 0;
  color: rgba(255,255,255,.66);
  font-size: .82rem;
  line-height: 1.8;
}

.circle-join__form {
  padding: 32px;
  background: white;
  border-radius: 24px;
}

.circle-join__form label {
  display: block;
  margin-bottom: 8px;
  font-size: .7rem;
  font-weight: 800;
}

.circle-join__form input,
.circle-join__form select {
  width: 100%;
  height: 50px;
  margin-bottom: 14px;
  padding: 0 15px;
  color: var(--ink);
  background: #f7f6f2;
  border: 1px solid var(--line);
  border-radius: 13px;
  outline: 0;
  font-size: .75rem;
}

.circle-join__form input:focus,
.circle-join__form select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,154,61,.12);
}

.circle-join__form small {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: .58rem;
  line-height: 1.6;
}

.circle-faq {
  padding-bottom: 100px;
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 80px;
}

.circle-faq__items {
  border-top: 1px solid var(--line);
}

.circle-faq details {
  padding: 21px 0;
  border-bottom: 1px solid var(--line);
}

.circle-faq summary {
  position: relative;
  padding-right: 35px;
  font-size: .82rem;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.circle-faq summary::-webkit-details-marker {
  display: none;
}

.circle-faq summary::after {
  position: absolute;
  content: "+";
  right: 5px;
  top: -2px;
  color: var(--gold);
  font-size: 1.15rem;
}

.circle-faq details[open] summary::after {
  content: "−";
}

.circle-faq details p {
  max-width: 700px;
  margin: 13px 35px 0 0;
  color: var(--muted);
  font-size: .72rem;
  line-height: 1.75;
}

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

  .collection-nav {
    grid-template-columns: 1fr;
  }

  .collection-nav article {
    min-height: 100px;
  }

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

@media (max-width: 780px) {
  .catalog-hero {
    min-height: 690px;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1.05fr;
  }

  .catalog-hero__content {
    grid-row: 2;
    padding: 38px 28px;
    justify-content: flex-end;
  }

  .catalog-hero__content h1 {
    font-size: clamp(3rem, 15vw, 5.2rem);
  }

  .catalog-hero__visual {
    position: absolute;
    inset: 0;
    min-height: 100%;
  }

  .catalog-hero__visual::after,
  .catalog-hero--tech .catalog-hero__visual::after,
  .catalog-hero--beauty .catalog-hero__visual::after,
  .catalog-hero--home .catalog-hero__visual::after,
  .catalog-hero--new .catalog-hero__visual::after {
    background: linear-gradient(0deg, rgba(10,25,37,.92) 0%, rgba(10,25,37,.48) 55%, transparent 85%);
  }

  .catalog-hero__content h1,
  .catalog-hero__content > p,
  .catalog-hero .eyebrow {
    color: white;
  }

  .catalog-hero__content > p {
    color: rgba(255,255,255,.74);
  }

  .catalog-hero__meta {
    margin-top: 20px;
  }

  .catalog-hero__meta span {
    color: white;
    background: rgba(255,255,255,.1);
    border-color: rgba(255,255,255,.17);
  }

  .collection-nav {
    padding: 10px;
  }

  .catalog-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .catalog-toolbar__controls {
    width: 100%;
  }

  .catalog-search {
    width: 100%;
    flex: 1;
  }

  .category-story {
    padding: 38px 28px;
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .circle-hero {
    min-height: 740px;
    padding: 45px 28px;
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .circle-hero__content h1 {
    font-size: clamp(3.4rem, 16vw, 5.5rem);
  }

  .circle-hero__visual {
    min-height: 280px;
  }

  .circle-membership-card {
    max-width: 350px;
    padding: 30px;
  }

  .circle-membership-card strong {
    font-size: 1.7rem;
  }

  .circle-join {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .circle-faq {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 520px) {
  .catalog-hero {
    min-height: 650px;
  }

  .catalog-hero__content {
    padding: 30px 22px;
  }

  .catalog-hero__content > p {
    font-size: .78rem;
  }

  .collection-nav article {
    padding: 17px;
    grid-template-columns: auto 1fr;
  }

  .collection-nav a {
    display: none;
  }

  .catalog-products {
    padding-top: 65px;
    padding-bottom: 75px;
  }

  .catalog-toolbar__controls {
    flex-direction: column;
  }

  .catalog-search,
  .sort-control {
    width: 100%;
  }

  .sort-control select {
    width: 100%;
  }

  .catalog-note {
    align-items: flex-start;
    flex-direction: column;
  }

  .category-story {
    margin-bottom: 75px;
  }

  .circle-benefits {
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .circle-benefits__grid {
    grid-template-columns: 1fr;
  }

  .circle-benefits__grid article {
    min-height: 210px;
  }

  .circle-join {
    padding: 30px 20px;
  }

  .circle-join__form {
    padding: 22px;
  }
}
