.subpage { background: var(--bg); }

.page { position: relative; z-index: 3; }

.container { width: min(1280px, 90vw); margin: 0 auto; }

#pagefx {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.subpage .footer {
  position: relative;
  z-index: 3;
  border-top: 1px solid var(--hairline);
  background: rgba(250, 247, 239, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  margin-top: clamp(40px, 7vh, 80px);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 36px;
  padding: 60px 0 44px;
}
.footer-brand p {
  margin-top: 14px;
  color: var(--dim);
  font-size: 14px;
  max-width: 280px;
  line-height: 1.7;
}
.footer-inner .footer-nav { flex-direction: column; gap: 11px; }
.footer-inner .footer-nav a {
  color: var(--dim);
  text-decoration: none;
  font-size: 14px;
  width: fit-content;
}
.footer-contact a { color: var(--dim); text-decoration: none; font-size: 14px; }
.footer-contact a:hover { color: var(--gold); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 20px 0;
  border-top: 1px solid var(--hairline);
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--faint);
}
@media (max-width: 880px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-inner { grid-template-columns: 1fr; } }

.page-hero {
  padding: clamp(150px, 20vh, 200px) 0 clamp(40px, 6vh, 70px);
}
.page-hero h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(38px, 5.4vw, 72px);
  letter-spacing: -0.025em;
  line-height: 1.12;
  max-width: 880px;
  text-shadow: none;
}
.page-hero h1 em {
  font-style: normal;
  color: var(--ink);
  background-image: linear-gradient(var(--gold), var(--gold));
  background-repeat: no-repeat;
  background-size: 100% 0.13em;
  background-position: 0 88%;
  padding: 0 0.06em;
  margin: 0 -0.06em;
}
.page-hero .lead {
  margin-top: 24px;
  max-width: 620px;
  color: #5c584d;
  font-size: clamp(15.5px, 1.4vw, 18px);
  line-height: 1.75;
}
.crumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 26px;
}
.crumb a { color: var(--dim); text-decoration: none; transition: color 0.3s ease; }
.crumb a:hover { color: var(--ink); }
.crumb i { font-style: normal; color: var(--faint); }

.page-section { padding: clamp(50px, 8vh, 90px) 0; }
.page-section.tight { padding: clamp(30px, 5vh, 50px) 0; }

.sec-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(26px, 3.2vw, 42px);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: clamp(28px, 4vh, 44px);
}
.sec-title em { font-style: normal; color: var(--gold); }

.grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}
.grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2vw, 28px);
}
@media (max-width: 880px) {
  .grid2, .grid3 { grid-template-columns: 1fr; }
}

.glass {
  background: rgba(255, 255, 255, 0.66);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--hairline);
  border-radius: 20px;
  padding: clamp(26px, 2.6vw, 38px);
}

.feature-list { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.feature-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  color: #57534a;
  font-size: 15.5px;
  line-height: 1.6;
}
.feature-list li::before {
  content: '✓';
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(202, 150, 8, 0.12);
  border: 1px solid rgba(202, 150, 8, 0.35);
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.feature-list li strong { color: var(--ink); font-weight: 600; }

.proc {
  counter-reset: proc;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
  border-radius: 20px;
  overflow: hidden;
}
.proc > div {
  counter-increment: proc;
  background: rgba(255, 255, 255, 0.78);
  padding: clamp(24px, 2.4vw, 36px);
}
.proc > div::before {
  content: '0' counter(proc);
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 14px;
}
.proc h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 19px;
  margin-bottom: 8px;
  color: var(--ink);
}
.proc p { color: var(--dim); font-size: 14px; line-height: 1.65; }
@media (max-width: 880px) { .proc { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .proc { grid-template-columns: 1fr; } }

.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 820px; }
details.faq {
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.3s ease;
}
details.faq[open] { border-color: var(--hairline-gold); }
details.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px;
  font-family: var(--display);
  font-weight: 500;
  font-size: 15.5px;
  color: var(--ink);
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: '+';
  font-size: 20px;
  color: var(--gold);
  transition: transform 0.3s ease;
}
details.faq[open] summary::after { transform: rotate(45deg); }
details.faq .faq-body {
  padding: 0 22px 20px;
  color: var(--dim);
  font-size: 14.5px;
  line-height: 1.7;
  max-width: 700px;
}

.cta-band {
  text-align: center;
  padding: clamp(50px, 8vh, 90px) clamp(24px, 4vw, 60px);
  background: linear-gradient(180deg, rgba(202, 150, 8, 0.05), rgba(255, 255, 255, 0.75));
  border: 1px solid var(--hairline-gold);
  border-radius: 24px;
}
.cta-band h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(24px, 3vw, 38px);
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.cta-band p { color: var(--dim); margin-bottom: 30px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field label {
  display: block;
  font-family: var(--display);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: #57534a;
  margin-bottom: 8px;
}
.field label b { color: var(--gold); font-weight: 600; }
.field input,
.field select,
.field textarea {
  width: 100%;
  background: rgba(23, 21, 16, 0.045);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: 14px 16px;
  color: var(--ink);
  font-family: var(--body);
  font-size: 15px;
  outline: none;
  transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}
.field select { appearance: none; cursor: pointer; }
.field select option { background: #fdfbf5; color: var(--ink); }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--hairline-gold);
  background: rgba(202, 150, 8, 0.04);
  box-shadow: 0 0 0 3px rgba(202, 150, 8, 0.08);
}
.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 13.5px;
  color: var(--dim);
  line-height: 1.6;
}
.consent input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--gold);
  flex-shrink: 0;
}
.form-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.form-note { font-size: 13px; color: var(--faint); }
.hp-field { position: absolute; left: -9999px; opacity: 0; }

.alert {
  padding: 16px 20px;
  border-radius: 12px;
  font-size: 14.5px;
  margin-bottom: 24px;
}
.alert.ok {
  background: rgba(202, 150, 8, 0.08);
  border: 1px solid rgba(202, 150, 8, 0.4);
  color: var(--gold);
}
.alert.err {
  background: rgba(220, 60, 60, 0.08);
  border: 1px solid rgba(220, 60, 60, 0.4);
  color: #ff9d9d;
}

.side-stack { display: flex; flex-direction: column; gap: 18px; }
.side-card {
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid var(--hairline);
  border-radius: 16px;
  padding: 24px 26px;
}
.side-card h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.side-card h3 i { font-style: normal; color: var(--gold); }
.side-card p, .side-card a { color: var(--dim); font-size: 14.5px; line-height: 1.65; text-decoration: none; }
.side-card a:hover { color: var(--gold); }
.badge-24 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--display);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--gold);
  border: 1px solid rgba(202, 150, 8, 0.35);
  background: rgba(202, 150, 8, 0.07);
  border-radius: 100px;
  padding: 7px 16px;
}
.badge-24 i {
  font-style: normal;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold);
  animation: consoleDot 2s ease-in-out infinite;
}

.wizard-steps {
  display: flex;
  gap: 0;
  margin-bottom: clamp(30px, 5vh, 50px);
  border: 1px solid var(--hairline);
  border-radius: 100px;
  overflow: hidden;
  width: fit-content;
}
.wizard-steps span {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 11px 24px;
  color: var(--faint);
  display: flex;
  align-items: center;
  gap: 9px;
  transition: color 0.3s ease, background 0.3s ease;
}
.wizard-steps span b {
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid var(--faint);
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.wizard-steps span.on { color: var(--ink); background: rgba(202, 150, 8, 0.06); }
.wizard-steps span.on b { border-color: var(--gold); background: var(--gold); color: #000; }
@media (max-width: 640px) { .wizard-steps span { padding: 10px 14px; } .wizard-steps span em { display: none; } }
.wizard-steps span em { font-style: normal; }

.wstep { display: none; }
.wstep.on { display: block; }

.pick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 760px) { .pick-grid { grid-template-columns: repeat(2, 1fr); } }
.pick {
  position: relative;
  cursor: pointer;
}
.pick input { position: absolute; opacity: 0; pointer-events: none; }
.pick span {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 22px;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 15.5px;
  color: var(--ink);
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
}
.pick span small {
  font-family: var(--body);
  font-weight: 400;
  font-size: 12.5px;
  color: var(--faint);
}
.pick:hover span { border-color: var(--hairline-gold); transform: translateY(-2px); }
.pick input:checked + span {
  border-color: var(--gold);
  background: rgba(202, 150, 8, 0.07);
  box-shadow: 0 0 24px rgba(202, 150, 8, 0.1);
}

.wnav { display: flex; gap: 14px; margin-top: 30px; }
.btn-back {
  font-family: var(--display);
  font-size: 14px;
  font-weight: 600;
  color: var(--dim);
  background: none;
  border: 1px solid var(--hairline);
  border-radius: 10px;
  padding: 13px 28px;
  cursor: pointer;
  transition: color 0.3s ease, border-color 0.3s ease;
}
.btn-back:hover { color: var(--ink); border-color: var(--hairline-gold); }
.btn-fill { border: none; cursor: pointer; }

.about-vals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 880px) { .about-vals { grid-template-columns: 1fr; } }
.val-card {
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid var(--hairline);
  border-radius: 16px;
  padding: 28px;
}
.val-card i {
  font-style: normal;
  font-size: 24px;
  color: var(--gold);
  text-shadow: 0 0 16px rgba(202, 150, 8, 0.5);
}
.val-card h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 18px;
  margin: 16px 0 8px;
}
.val-card p { color: var(--dim); font-size: 14.5px; line-height: 1.65; }

.svc-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.svc-jump a {
  font-family: var(--display);
  font-size: 13.5px;
  font-weight: 500;
  color: #57534a;
  text-decoration: none;
  border: 1px solid var(--hairline);
  border-radius: 100px;
  padding: 9px 20px;
  transition: all 0.3s ease;
}
.svc-jump a:hover, .svc-jump a.on {
  color: var(--gold);
  border-color: var(--hairline-gold);
  background: rgba(202, 150, 8, 0.06);
}

.nav-links .has-sub { position: relative; }
.nav-links .sub-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: rgba(16, 15, 12, 0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 198, 10, 0.2);
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(10, 8, 2, 0.4);
  padding: 10px;
  display: flex;
  flex-direction: column;
  min-width: 190px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}
.nav-links .has-sub:hover .sub-menu,
.nav-links .has-sub:focus-within .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-links .sub-menu::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
}
.nav-links .sub-menu a {
  padding: 10px 14px;
  border-radius: 9px;
  font-family: var(--display);
  font-size: 13.5px;
  font-weight: 500;
  color: #cfcabc;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease;
}
.nav-links .sub-menu a:hover,
.nav-links .sub-menu a.current {
  background: rgba(255, 198, 10, 0.1);
  color: #ffc60a;
}
.nav-links a.current .lnk i:first-child { color: #ffc60a; }
