:root {
  --bg: #f4f1e8;
  --bg-soft: #ebe5d7;
  --text: #17231b;
  --muted: #667164;
  --green: #173f2a;
  --green-2: #24563a;
  --line: rgba(23, 63, 42, .16);
  --card: rgba(255, 255, 255, .72);
  --white: #ffffff;
  --sand: #d8c6a3;
  --shadow: 0 24px 70px rgba(23, 63, 42, .12);
  --header-height: 89px;
  --section-screen: calc(100svh - var(--header-height));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  min-width: 320px;
  background: radial-gradient(circle at 10% 0%, rgba(216, 198, 163, .42), transparent 28%),
              radial-gradient(circle at 90% 5%, rgba(36, 86, 58, .12), transparent 30%),
              var(--bg);
  color: var(--text);
  font-family: Inter, Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 18px clamp(16px, 4vw, 58px);
  background: rgba(244, 241, 232, .88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 210px;
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  background: var(--green);
  color: var(--white);
  font-weight: 800;
  letter-spacing: .08em;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-text span {
  color: var(--muted);
  font-size: 15px;
}

.header-nav {
  display: flex;
  justify-content: center;
  gap: clamp(12px, 2vw, 28px);
  color: var(--muted);
  font-size: 15px;
}

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

.section-wide {
  width: 100%;
  min-height: var(--section-screen);
  scroll-margin-top: var(--header-height);
  padding: clamp(15px, 7vw, 25px) clamp(16px, 5vw, 76px);
}

main > section[id],
.hero {
  scroll-margin-top: var(--header-height);
}

main > .section-wide:not(.hero):not(.split-section) {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-content: center;
}

.hero {
  position: relative;
  min-height: var(--section-screen);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  isolation: isolate;
  background: var(--bg);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("/assets/sets/aum-duo-render.jpg");
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg,
      rgba(244, 241, 232, .99) 0%,
      rgba(244, 241, 232, .96) 20%,
      rgba(244, 241, 232, .82) 36%,
      rgba(244, 241, 232, .46) 52%,
      rgba(244, 241, 232, .12) 66%,
      rgba(244, 241, 232, 0) 78%),
    linear-gradient(180deg,
      rgba(244, 241, 232, .36) 0%,
      rgba(244, 241, 232, 0) 32%,
      rgba(244, 241, 232, .34) 100%);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(1000px, 54vw);
  padding: clamp(22px, 3vw, 42px) 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green-2);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 12px;
  font-weight: 800;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 1180px;
  margin-bottom: 24px;
  font-size: clamp(42px, 7vw, 96px);
  line-height: .94;
  letter-spacing: -.065em;
}

.hero h1 {
  max-width: 920px;
  text-shadow: 0 1px 24px rgba(244, 241, 232, .9);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4.2vw, 62px);
  line-height: 1;
  letter-spacing: -.045em;
}

h3 {
  margin-bottom: 10px;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.08;
  letter-spacing: -.025em;
}

.hero-lead {
  max-width: 760px;
  color: #344137;
  font-size: clamp(18px, 2vw, 25px);
  text-shadow: 0 1px 22px rgba(244, 241, 232, .82);
}

.hero-actions,
.center-action {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: 0;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}

.btn-primary:hover {
  background: var(--green-2);
}

.btn-secondary {
  background: rgba(255, 255, 255, .52);
  color: var(--green);
  border-color: rgba(23, 63, 42, .24);
}

.btn-large {
  min-height: 58px;
  padding: 17px 28px;
  font-weight: 800;
}

.price-note {
  margin-top: 16px;
  color: var(--green);
  font-weight: 800;
}

.placeholder {
  display: grid;
  place-items: center;
  min-height: 260px;
  width: 100%;
  border: 1px dashed rgba(23, 63, 42, .28);
  background:
    linear-gradient(135deg, rgba(255,255,255,.78), rgba(235,229,215,.72)),
    repeating-linear-gradient(45deg, transparent 0 15px, rgba(23,63,42,.035) 15px 16px);
  color: rgba(23, 63, 42, .72);
  text-align: center;
  padding: 28px;
  box-shadow: var(--shadow);
}

.placeholder-large {
  min-height: clamp(380px, 58vw, 760px);
}

.placeholder-medium {
  min-height: 440px;
}

.assembly-visual {
  width: 100%;
  min-height: 440px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .52);
  box-shadow: var(--shadow);
}

.assembly-visual img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 440px;
  object-fit: cover;
  object-position: center;
}

.section-soft {
  background: rgba(235, 229, 215, .62);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-title {
  width: 100%;
  margin-bottom: 34px;
}

.section-title p {
  max-width: 1050px;
  color: var(--muted);
  font-size: 18px;
}

.cards {
  display: grid;
  width: 100%;
  gap: 18px;
}

.cards.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  min-height: 220px;
  padding: clamp(22px, 2.5vw, 36px);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: 0 14px 40px rgba(23, 63, 42, .07);
}

.card p {
  color: var(--muted);
  margin-bottom: 0;
}

.accent-line {
  margin-top: 28px;
  padding: 22px clamp(20px, 3vw, 36px);
  background: rgba(23, 63, 42, .08);
  border-left: 5px solid var(--green);
  color: var(--green);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 800;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr);
  gap: clamp(28px, 5vw, 78px);
  align-items: center;
}

.split-section p {
  color: var(--muted);
  font-size: 18px;
}

.fine-print {
  margin-top: 22px;
  color: var(--muted);
  font-size: 14px;
}

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

.section-green .eyebrow,
.section-green .section-title p {
  color: rgba(255, 255, 255, .76);
}

.ecosystem {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: visible;
  padding-bottom: 0;
  gap: 16px;
  align-items: stretch;
}

.card.dark {
  min-width: 0;
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .18);
}

.ecosystem-card {
  min-height: 248px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  padding: clamp(22px, 2vw, 30px);
  overflow: hidden;
}

.ecosystem-card h3 {
  max-width: 100%;
  margin-bottom: 12px;
  font-size: clamp(22px, 1.55vw, 30px);
  line-height: 1.04;
  letter-spacing: -.035em;
  overflow-wrap: anywhere;
}

.ecosystem-card p {
  max-width: 100%;
  margin-bottom: 0;
  color: rgba(255, 255, 255, .74);
  font-size: clamp(15px, .95vw, 18px);
  line-height: 1.42;
  overflow-wrap: anywhere;
}

.ecosystem-card-copy {
  min-width: 0;
}

.eco-icon {
  width: clamp(58px, 4.3vw, 78px);
  height: clamp(58px, 4.3vw, 78px);
  margin-top: auto;
  align-self: flex-end;
  flex: 0 0 auto;
  opacity: .96;
}

.eco-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.svg-white-stroke,
.svg-gold-stroke {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 5;
}

.svg-white-stroke {
  stroke: rgba(255, 255, 255, .94);
}

.svg-gold-stroke {
  stroke: #d8c06a;
}

.svg-green-fill {
  fill: rgba(92, 145, 99, .78);
}

.svg-gold-fill {
  fill: #d8c06a;
}

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

.product-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px;
  background: rgba(255, 255, 255, .72);
  border: 1px solid var(--line);
  box-shadow: 0 18px 54px rgba(23, 63, 42, .09);
}

.product-card.featured {
  border-color: rgba(23, 63, 42, .42);
  background: rgba(255, 255, 255, .9);
}

.product-card p {
  color: var(--muted);
}

.product-card strong {
  display: block;
  color: var(--green);
  font-size: 20px;
}

.product-image {
  min-height: 260px;
  box-shadow: none;
}

.product-plan {
  min-height: 150px;
  box-shadow: none;
}

.steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.steps article {
  padding: 24px;
  background: var(--card);
  border: 1px solid var(--line);
}

.steps span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  background: var(--green);
  color: var(--white);
  font-weight: 900;
}

.steps p {
  color: var(--muted);
  margin-bottom: 0;
}

.final-cta {
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(216,198,163,.45), transparent 32%),
    rgba(255,255,255,.38);
}

.final-cta p {
  max-width: 840px;
  margin-left: auto;
  margin-right: auto;
  color: var(--muted);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 28px clamp(16px, 5vw, 76px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.quiz-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
}

.quiz-modal.open {
  display: block;
}

.quiz-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 22, 16, .64);
}

.quiz-panel {
  position: absolute;
  right: 0;
  top: 0;
  width: min(720px, 100%);
  height: 100%;
  overflow: auto;
  background: var(--bg);
  padding: clamp(22px, 4vw, 50px);
  box-shadow: -24px 0 70px rgba(0,0,0,.24);
}

.quiz-close {
  position: absolute;
  right: 20px;
  top: 16px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.7);
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}

.quiz-progress {
  height: 6px;
  margin: 24px 52px 38px 0;
  background: rgba(23, 63, 42, .12);
}

.quiz-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--green);
  transition: width .25s ease;
}

.quiz-step {
  display: none;
}

.quiz-step.active {
  display: block;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.choice-grid label {
  cursor: pointer;
}

.choice-grid input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice-grid span {
  display: block;
  min-height: 68px;
  padding: 18px;
  background: rgba(255,255,255,.68);
  border: 1px solid var(--line);
  color: var(--text);
}

.choice-grid input:checked + span {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
}

.form-grid {
  display: grid;
  gap: 12px;
}

.field {
  width: 100%;
  min-height: 58px;
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: rgba(255,255,255,.78);
  color: var(--text);
  outline: none;
}

.field:focus {
  border-color: var(--green);
}

.quiz-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.quiz-message {
  margin-top: 20px;
  color: var(--green);
  font-weight: 800;
}

.admin-body {
  background: #f4f1e8;
}

.admin-login {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 20px;
}

.admin-card,
.admin-shell {
  width: 100%;
  background: rgba(255,255,255,.82);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.admin-card {
  max-width: 460px;
  padding: 34px;
}

.admin-shell {
  min-height: 100vh;
  padding: clamp(18px, 3vw, 42px);
}

.admin-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-bottom: 28px;
}

.admin-table-wrap {
  width: 100%;
  overflow: auto;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.72);
}

.admin-table {
  width: 100%;
  min-width: 1120px;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  font-size: 14px;
}

.admin-table th {
  background: rgba(23,63,42,.08);
  color: var(--green);
}

.admin-table tr {
  cursor: pointer;
}

.admin-table tr:hover {
  background: rgba(23,63,42,.045);
}

.admin-detail {
  display: none;
  margin-top: 24px;
  padding: 24px;
  background: rgba(255,255,255,.8);
  border: 1px solid var(--line);
}

.admin-detail.open {
  display: block;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.detail-item {
  padding: 14px;
  background: rgba(244,241,232,.74);
  border: 1px solid var(--line);
}

.detail-item strong {
  display: block;
  color: var(--green);
  margin-bottom: 6px;
}

.admin-comment {
  width: 100%;
  min-height: 120px;
  margin-top: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.8);
  resize: vertical;
}

.admin-status {
  min-height: 46px;
  padding: 10px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.8);
}

.hidden {
  display: none !important;
}

@media (max-width: 1180px) {
  .split-section,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    width: min(760px, 68vw);
  }

  .cards.four,
  .steps,
  .ecosystem {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .header-nav {
    display: none;
  }
}

@media (max-width: 720px) {
  :root {
    --header-height: 134px;
    --section-screen: calc(100svh - var(--header-height));
  }


  .site-header {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .site-header .btn {
    width: 100%;
  }

  h1 {
    font-size: clamp(38px, 14vw, 62px);
  }

  .section-wide {
    padding: 46px 16px;
  min-height: var(--section-screen);
  }

  .cards.four,
  .steps,
  .choice-grid,
  .detail-grid,
  .ecosystem {
    grid-template-columns: 1fr;
  }

  .ecosystem-card {
    min-height: 220px;
  }

  .eco-icon {
    width: 64px;
    height: 64px;
  }

  .hero {
    min-height: var(--section-screen);
    align-items: flex-start;
    padding-top: 42px;
  }

  .hero::before {
    background-position: 62% center;
  }

  .hero::after {
    background:
      linear-gradient(180deg,
        rgba(244, 241, 232, .98) 0%,
        rgba(244, 241, 232, .93) 34%,
        rgba(244, 241, 232, .48) 62%,
        rgba(244, 241, 232, .16) 100%),
      linear-gradient(90deg,
        rgba(244, 241, 232, .94) 0%,
        rgba(244, 241, 232, .54) 58%,
        rgba(244, 241, 232, .12) 100%);
  }

  .hero-copy {
    width: 100%;
    padding: 0;
  }

  .placeholder-large,
  .placeholder-medium {
    min-height: 300px;
  }

  .assembly-visual,
  .assembly-visual img {
    min-height: 300px;
  }

  .quiz-panel {
    width: 100%;
  }

  .site-footer,
  .admin-top {
    flex-direction: column;
  }
}

/* Section up/down navigation */
.section-jump-nav {
  position: fixed;
  right: clamp(14px, 2.2vw, 34px);
  bottom: clamp(18px, 4vh, 48px);
  z-index: 80;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 8px;
  background: rgba(244, 241, 232, .68);
  border: 1px solid rgba(23, 63, 42, .18);
  box-shadow: 0 18px 46px rgba(23, 63, 42, .18);
  backdrop-filter: blur(18px);
}

.section-jump-btn {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(23, 63, 42, .2);
  border-radius: 0;
  background: rgba(23, 63, 42, .92);
  color: var(--white);
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, opacity .18s ease;
}

.section-jump-btn span {
  display: block;
  font-size: 20px;
  line-height: 1;
  transform: translateY(-1px);
}

.section-jump-btn:hover {
  background: var(--green-2);
  transform: translateY(-1px);
}

.section-jump-btn:disabled {
  opacity: .34;
  cursor: default;
  transform: none;
}

.section-jump-indicator {
  min-width: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 4px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
}

.section-jump-indicator i {
  width: 1px;
  height: 14px;
  background: rgba(23, 63, 42, .28);
}

@media (max-width: 720px) {
  .section-jump-nav {
    right: 12px;
    bottom: 12px;
    gap: 6px;
    padding: 6px;
  }

  .section-jump-btn {
    width: 42px;
    height: 42px;
  }

  .section-jump-indicator {
    min-width: 42px;
    padding: 5px 3px;
    font-size: 11px;
  }
}

/* AUM set previews + image lightbox */
.set-preview {
  position: relative;
  width: 100%;
  height: clamp(128px, 13vw, 178px);
  display: block;
  padding: 0;
  margin: 0 0 14px;
  overflow: hidden;
  border: 1px solid rgba(23, 63, 42, .18);
  border-radius: 0;
  background: rgba(244, 241, 232, .78);
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .36);
}

.set-preview:nth-of-type(2) {
  height: clamp(106px, 10vw, 142px);
  margin-bottom: 18px;
}

.set-preview img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transform: scale(1);
  transition: transform .42s ease, filter .42s ease;
}

.set-preview:hover img {
  transform: scale(1.045);
  filter: saturate(1.04) contrast(1.03);
}

.set-preview::after {
  content: "";
  position: absolute;
  inset: -40% -80%;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .62) 50%, transparent 65%);
  transform: translateX(-120%);
  opacity: 0;
}

.set-preview:hover::after {
  opacity: 1;
  animation: setPreviewShine .82s ease forwards;
}

@keyframes setPreviewShine {
  from {
    transform: translateX(-120%);
  }
  to {
    transform: translateX(120%);
  }
}

.set-preview-caption {
  position: absolute;
  left: 14px;
  bottom: 12px;
  max-width: calc(100% - 28px);
  padding: 7px 10px;
  color: var(--white);
  background: rgba(23, 63, 42, .84);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .01em;
  text-align: left;
  backdrop-filter: blur(10px);
}

.image-lightbox[hidden] {
  display: none;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 54px);
  background: rgba(12, 22, 16, .72);
  backdrop-filter: blur(14px);
}

.image-lightbox-panel {
  position: relative;
  width: min(1180px, 94vw);
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  background: rgba(244, 241, 232, .96);
  border: 1px solid rgba(255, 255, 255, .28);
  box-shadow: 0 30px 120px rgba(0, 0, 0, .36);
}

.image-lightbox-panel img {
  display: block;
  width: 100%;
  max-height: calc(88vh - 58px);
  object-fit: contain;
  background: rgba(244, 241, 232, .9);
}

.image-lightbox-title {
  min-height: 54px;
  display: flex;
  align-items: center;
  padding: 16px 20px;
  color: var(--green);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .02em;
  border-top: 1px solid rgba(23, 63, 42, .12);
}

.image-lightbox-close {
  position: fixed;
  top: clamp(14px, 3vw, 32px);
  right: clamp(14px, 3vw, 36px);
  z-index: 210;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 0;
  background: rgba(23, 63, 42, .96);
  color: var(--white);
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease;
}

.image-lightbox-close:hover {
  transform: translateY(-1px);
  background: var(--green-2);
}

body.lightbox-open {
  overflow: hidden;
}

@media (max-width: 720px) {
  .set-preview {
    height: 168px;
  }

  .set-preview:nth-of-type(2) {
    height: 138px;
  }

  .set-preview-caption {
    left: 10px;
    bottom: 10px;
    font-size: 12px;
  }

  .image-lightbox {
    padding: 14px;
  }

  .image-lightbox-close {
    width: 46px;
    height: 46px;
    font-size: 30px;
  }

  .image-lightbox-panel {
    width: 100%;
    max-height: 84vh;
  }

  .image-lightbox-panel img {
    max-height: calc(84vh - 54px);
  }
}


/* AUM STEP 020 HEADER EXACT DUAL LOGO */
.header-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 270px;
}

.header-logo-pair {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  height: 58px;
}

.header-logo-img {
  display: block;
  width: 58px;
  height: 58px;
  object-fit: contain;
  background: transparent;
}

.header-logo-img--aum {
  box-shadow: none;
}

.header-logo-img--tree {
  padding: 2px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  line-height: 1.1;
}

@media (max-width: 980px) {
  .header-logo {
    min-width: 220px;
    gap: 10px;
  }

  .header-logo-pair {
    height: 50px;
    gap: 7px;
  }

  .header-logo-img {
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 640px) {
  .header-logo {
    min-width: 0;
    gap: 8px;
  }

  .header-logo-pair {
    height: 42px;
    gap: 6px;
  }

  .header-logo-img {
    width: 42px;
    height: 42px;
  }

  .logo-text span {
    display: none;
  }
}


/* AUM STEP 023 TYPOGRAPHY CORMORANT INTER */
:root {
  --font-heading: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Inter", Arial, sans-serif;
}

html,
body {
  font-family: var(--font-body);
}

button,
input,
textarea,
select {
  font-family: var(--font-body);
}

h1,
h2,
h3,
.hero h1,
.hero-title,
.section-title,
.section-wide h2,
.section-wide h3 {
  font-family: var(--font-heading);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 0.98;
}

.hero h1,
.hero-title {
  font-size: clamp(58px, 6.2vw, 104px);
}

.section-title,
.section-wide h2 {
  font-size: clamp(48px, 5.1vw, 82px);
}

.section-wide h3 {
  font-size: clamp(29px, 2.6vw, 42px);
  line-height: 1.04;
}

.card h3,
.set-card h3,
.ecosystem-card h3,
.step-card h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.02;
}

.logo-text strong,
.nav a,
.btn,
button {
  font-family: var(--font-body);
}

.eyebrow,
.kicker,
.section-kicker {
  font-family: var(--font-body);
  letter-spacing: 0.14em;
}

@media (max-width: 980px) {
  .hero h1,
  .hero-title {
    font-size: clamp(48px, 8vw, 76px);
  }

  .section-title,
  .section-wide h2 {
    font-size: clamp(40px, 7vw, 64px);
  }
}

@media (max-width: 640px) {
  h1,
  h2,
  h3,
  .hero h1,
  .hero-title,
  .section-title,
  .section-wide h2,
  .section-wide h3 {
    letter-spacing: -0.025em;
  }

  .hero h1,
  .hero-title {
    font-size: clamp(42px, 13vw, 58px);
  }

  .section-title,
  .section-wide h2 {
    font-size: clamp(36px, 11vw, 52px);
  }
}


/* AUM STEP 026 ECOSYSTEM LEAD EXACT FIX */
#platform .section-title.light {
  max-width: 1180px;
}

#platform .section-title.light > .ecosystem-lead {
  display: block;
  max-width: 1040px;
  margin: clamp(20px, 2.2vw, 30px) 0 clamp(34px, 4vw, 56px);
  font-family: var(--font-body, "Inter", Arial, sans-serif) !important;
  font-size: clamp(21px, 1.35vw, 27px);
  font-weight: 500;
  line-height: 1.52;
  letter-spacing: -0.012em;
  color: rgba(247, 249, 241, 0.9);
  text-wrap: balance;
}

#platform .section-title.light > .ecosystem-lead::first-line {
  color: rgba(255, 255, 255, 0.96);
}

@media (max-width: 980px) {
  #platform .section-title.light > .ecosystem-lead {
    max-width: 820px;
    font-size: clamp(19px, 2.1vw, 23px);
    line-height: 1.5;
  }
}

@media (max-width: 640px) {
  #platform .section-title.light > .ecosystem-lead {
    max-width: 100%;
    margin-bottom: 28px;
    font-size: 18px;
    line-height: 1.48;
    text-wrap: pretty;
  }
}


/* AUM STEP 027 SETS LEAD TYPOGRAPHY */
#sets .section-title {
  max-width: 1180px;
}

#sets .section-title > .sets-lead {
  display: block;
  max-width: 940px;
  margin: clamp(18px, 2vw, 28px) 0 clamp(34px, 4vw, 54px);
  font-family: var(--font-body, "Inter", Arial, sans-serif) !important;
  font-size: clamp(20px, 1.25vw, 25px);
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: -0.012em;
  color: rgba(18, 34, 24, 0.78);
  text-wrap: balance;
}

#sets .section-title > .sets-lead::first-line {
  color: rgba(18, 34, 24, 0.92);
}

@media (max-width: 980px) {
  #sets .section-title > .sets-lead {
    max-width: 780px;
    font-size: clamp(18px, 2.1vw, 22px);
    line-height: 1.52;
  }
}

@media (max-width: 640px) {
  #sets .section-title > .sets-lead {
    max-width: 100%;
    margin-bottom: 28px;
    font-size: 18px;
    line-height: 1.5;
    text-wrap: pretty;
  }
}


/* AUM STEP 029 HEADER LOGO SQUARE BG FIX */
.header-logo-img,
.header-logo-img--aum,
.header-logo-img--tree {
  background: transparent !important;
}

.header-logo-img--aum {
  box-shadow: none !important;
  filter: none !important;
  border-radius: 0;
}

.header-logo-pair {
  background: transparent !important;
  box-shadow: none !important;
}


/* AUM STEP 032 ONLY FONT SIZES MATCH SCREEN 3 */
/* Только размеры. Образец — 3-й экран / split-section. */

/* Заголовки экранов, кроме первого hero */
.section-wide:not(.hero) h2,
.section-wide:not(.hero) .section-title h2,
.section-wide:not(.hero).final-cta h2 {
  font-size: clamp(48px, 5.1vw, 82px) !important;
}

/* Вводные абзацы под заголовками экранов */
.section-wide:not(.hero) .section-title > p:not(.eyebrow),
.section-wide:not(.hero) > p:not(.eyebrow),
.split-section > div > p:not(.eyebrow),
.section-wide:not(.hero).final-cta > p:not(.eyebrow),
#platform .section-title.light > .ecosystem-lead,
#sets .section-title > .sets-lead {
  font-size: clamp(20px, 1.22vw, 24px) !important;
}

/* Заголовки карточек и внутренних блоков */
.card h3,
.card.dark h3,
.product-card h3,
.steps article h3,
.ecosystem-card h3 {
  font-size: clamp(22px, 1.35vw, 28px) !important;
}

/* Основной текст карточек и внутренних блоков */
.card p,
.card.dark p,
.product-card p,
.steps article p,
.ecosystem-card p,
.fine-print,
.accent-line,
.price-note {
  font-size: clamp(16px, 0.96vw, 18px) !important;
}

/* Цены и сильные строки в карточках комплектаций */
.product-card strong {
  font-size: clamp(18px, 1.08vw, 22px) !important;
}

@media (max-width: 980px) {
  .section-wide:not(.hero) h2,
  .section-wide:not(.hero) .section-title h2,
  .section-wide:not(.hero).final-cta h2 {
    font-size: clamp(40px, 7vw, 64px) !important;
  }

  .section-wide:not(.hero) .section-title > p:not(.eyebrow),
  .section-wide:not(.hero) > p:not(.eyebrow),
  .split-section > div > p:not(.eyebrow),
  .section-wide:not(.hero).final-cta > p:not(.eyebrow),
  #platform .section-title.light > .ecosystem-lead,
  #sets .section-title > .sets-lead {
    font-size: clamp(18px, 2.1vw, 22px) !important;
  }

  .card h3,
  .card.dark h3,
  .product-card h3,
  .steps article h3,
  .ecosystem-card h3 {
    font-size: clamp(21px, 2.35vw, 25px) !important;
  }
}

@media (max-width: 640px) {
  .section-wide:not(.hero) h2,
  .section-wide:not(.hero) .section-title h2,
  .section-wide:not(.hero).final-cta h2 {
    font-size: clamp(36px, 11vw, 52px) !important;
  }

  .section-wide:not(.hero) .section-title > p:not(.eyebrow),
  .section-wide:not(.hero) > p:not(.eyebrow),
  .split-section > div > p:not(.eyebrow),
  .section-wide:not(.hero).final-cta > p:not(.eyebrow),
  #platform .section-title.light > .ecosystem-lead,
  #sets .section-title > .sets-lead {
    font-size: 18px !important;
  }

  .card p,
  .card.dark p,
  .product-card p,
  .steps article p,
  .ecosystem-card p,
  .fine-print,
  .accent-line,
  .price-note {
    font-size: 16px !important;
  }





}



.btn-price-light {
  display: inline-block;
  margin-top: 3px;
  font-weight: 300;
  font-size: 0.86em;
  opacity: 0.9;
}



.btn-hero-price {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  line-height: 1.15;
}

.btn-hero-price .btn-main-text {
  display: block;
  font-weight: 800;
}

.btn-hero-price .btn-price-light {
  display: block;
  font-weight: 400 !important;
  font-size: 0.84em;
  line-height: 1.15;
  opacity: 0.9;
}


.btn-hero-price {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  line-height: 1.15;
}

.btn-hero-price .btn-main-text {
  display: block;
  font-weight: 800;
}

.btn-hero-price .btn-price-light {
  display: block;
  font-weight: 400 !important;
  font-size: 0.84em;
  line-height: 1.15;
  opacity: 0.9;
}


/* AUM STEP 038 GENERATED KIT CARD IMAGES */
#kit .cards.four > .card-kit-generated {
  position: relative;
  overflow: hidden;
  min-height: 220px;
}

#kit .cards.four > .card-kit-generated > * {
  position: relative;
  z-index: 2;
}

#kit .cards.four > .card-kit-generated::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 16px;
  z-index: 1;
  width: 108px;
  height: 108px;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  opacity: 0.9;
  pointer-events: none;
}

#kit .card-kit-life-generated::after {
  background-image: url("/assets/icons/kit/generated/aum-card-life-generated.png?v=039");
}

#kit .card-kit-rent-generated::after {
  background-image: url("/assets/icons/kit/generated/aum-card-rent-generated.png?v=039");
}

#kit .card-kit-business-generated::after {
  background-image: url("/assets/icons/kit/generated/aum-card-business-generated.png?v=039");
}

#kit .card-kit-sale-generated::after {
  background-image: url("/assets/icons/kit/generated/aum-card-sale-generated.png?v=039");
}

@media (max-width: 1180px) {
  #kit .cards.four > .card-kit-generated::after {
    right: 14px;
    bottom: 14px;
    width: 96px;
    height: 96px;
    opacity: 0.86;
  }
}

@media (max-width: 720px) {
  #kit .cards.four > .card-kit-generated {
    min-height: 205px;
  }

  #kit .cards.four > .card-kit-generated::after {
    right: 14px;
    bottom: 14px;
    width: 82px;
    height: 82px;
    opacity: 0.82;
  }
}


/* AUM STEP 039 REORDER GENERATED KIT CARD IMAGES */
/* Логика иконок после исправления:
   life = кресло / дом / растение
   rent = чемодан / ключ
   business = портфель / рабочий сценарий
   sale = ключ / галочка / сделка
*/


/* AUM STEP 040 PLATFORM FULL TEXT NO CLIP */
#platform .section-title.light {
  max-width: 1280px;
}

#platform .ecosystem-lead {
  max-width: 1120px;
}

#platform .cards.ecosystem {
  align-items: stretch;
}

#platform .ecosystem-card {
  height: auto;
  min-height: 320px;
  overflow: visible;
}

#platform .ecosystem-card-copy {
  min-width: 0;
}

#platform .ecosystem-card-copy p {
  display: block;
  max-height: none;
  overflow: visible;
  -webkit-line-clamp: unset;
  line-clamp: unset;
  white-space: normal;
  text-overflow: unset;
  line-height: 1.48;
}

@media (max-width: 1180px) {
  #platform .ecosystem-card {
    min-height: 300px;
  }
}

@media (max-width: 720px) {
  #platform .ecosystem-card {
    min-height: auto;
  }
}



/* AUM FIX FINAL QUIZ BUTTON NORMAL SIZE */
#quiz.final-cta .js-open-quiz {
  width: auto !important;
  min-width: 0 !important;
  max-width: max-content !important;
  min-height: 48px !important;
  padding: 14px 22px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  display: inline-flex !important;
}

/* AUM FIX FINAL QUIZ BUTTON CENTER */
#quiz.final-cta .js-open-quiz {
  display: inline-flex !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: max-content !important;
  min-height: 48px !important;
  padding: 14px 22px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  align-self: center !important;
  justify-self: center !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
}

/* AUM FIX HERO MOBILE TITLE SIZE */
@media (max-width: 720px) {
  :root {
    --aum-hero-mobile-title-size: 30px;
  }

  .hero .hero-copy > h2 {
    font-size: var(--aum-hero-mobile-title-size) !important;
    line-height: 0.96 !important;
  }
}

/* Только мобильная версия: ширина первой hero-кнопки */
@media (max-width: 720px) {
  .hero .hero-quiz-mobile-width {
    width: 300px !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}
/* Только мобильная версия: ширина второй hero-кнопки */
@media (max-width: 720px) {
  .hero .hero-details-mobile-width {
    width: 300px !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

/* Только мобильная версия: кнопка в хедере на уровне логотипа */
@media (max-width: 720px) {
  .site-header {
    grid-template-columns: auto auto !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 12px !important;
  }

  .site-header .header-logo {
    grid-column: auto !important;
  }

  .site-header .header-nav {
    display: none !important;
  }

  .site-header .header-mobile-quiz-btn {
    width: 120px !important;
    min-width: 0 !important;
    max-width: 170px !important;
    min-height: 42px !important;
    padding: 10px 12px !important;
    border-radius: 9px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;
    white-space: normal !important;
  }
}


/* Только мобильная версия: кнопка строго по центру хедера */
@media (max-width: 720px) {
  .site-header {
    position: sticky !important;
    grid-template-columns: auto 1fr !important;
    align-items: center !important;
    min-height: 76px !important;
  }

  .site-header .header-logo {
    justify-self: start !important;
    z-index: 2 !important;
  }

  .site-header .header-nav {
    display: none !important;
  }

  .site-header .header-mobile-center-btn {
    /* регулируешь ширину кнопки */
    --header-center-btn-width: 179px;

    /* регулируешь скругление */
    --header-center-btn-radius: 30px;

    position: absolute !important;
    left: 50% !important;
    top: 50% !important;

    width: var(--header-center-btn-width) !important;
    max-width: var(--header-center-btn-width) !important;
    min-width: 0 !important;

    min-height: 42px !important;
    padding: 10px 12px !important;
    border-radius: var(--header-center-btn-radius) !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    text-align: center !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;
    white-space: normal !important;

    transform: translate(-50%, -50%) !important;
    z-index: 3 !important;
  }
}
