/* 257: the welcome page's card-fee band (#card-fees), second on the page, and the hero's welcome-pack places.
   A paper card that lifts onto the hero's lower edge: one big number, the comparison under the terminal photo,
   and Find out what you get folded underneath. Loaded after welcome.css and helcim-pages.css (the lockup). */

.home-hero-places { display: block; margin-top: 4px; color: var(--g-gold-on-dark); font-size: 13px; line-height: 18px; font-weight: 600; }
.home-hero-places[hidden] { display: none; }

.home-fees-section { position: relative; z-index: 1; margin-top: -64px; padding-block: 0; }
.home-fees-section + .home-section { border-top: 0; }

.home-helcim { margin: 0; padding: 56px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr); align-items: start; gap: 40px 64px;
  border: 1px solid rgba(23, 32, 27, 0.08); border-radius: var(--g-radius-2xl); background: #fbf9f4; color: var(--g-text);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 48px 96px -48px rgba(8, 20, 14, 0.55); scroll-margin-top: 96px; }

/* The headline: a short line, the number, then the gold italic tail. */
.home-helcim-copy h2 { margin-top: 28px; color: var(--g-text); font-size: 28px; line-height: 34px; font-weight: 500; letter-spacing: -0.02em; }
.home-helcim-copy h2 b { display: block; margin: 8px 0 6px; color: var(--g-forest); font-size: clamp(64px, 7.4vw, 108px); line-height: 0.95; font-weight: 600; letter-spacing: -0.055em; font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }
.home-helcim-copy h2 i { display: block; color: var(--g-gold-text); font: italic 400 44px/52px var(--g-display); letter-spacing: -0.02em; }
html[lang^="fr"] .home-helcim-copy h2 b { font-size: clamp(52px, 6vw, 88px); }
html[lang^="vi"] .home-helcim-copy h2 b { font-size: clamp(56px, 6.6vw, 96px); }
.home-helcim-lede { margin-top: 20px; max-width: 46ch; color: var(--g-text-2); font-size: 17px; line-height: 28px; text-wrap: pretty; }

.hx-facts { margin: 20px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.hx-facts li { display: inline-flex; align-items: center; gap: 8px; color: var(--g-text); font-size: 15px; line-height: 22px; font-weight: 500; }
.hx-facts li::before { content: ""; width: 20px; height: 20px; flex: none; border-radius: 50%; background: var(--g-forest) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e2c275' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* The welcome pack, one dark line that opens the detail. */
.hx-pack-line { margin-top: 24px; max-width: 52ch; }
.hx-pack-line a { display: block; padding: 14px 18px; border-radius: var(--g-radius-lg); background: var(--g-forest); color: var(--g-on-dark-2); font-size: 15px; line-height: 22px; text-decoration: none; transition: background-color 200ms ease; }
.hx-pack-line a:hover { background-color: var(--g-forest-3); }
.hx-pack-line a:focus-visible { outline: var(--g-focus-outline); outline-offset: 2px; }
.hx-pack-line strong { color: var(--g-gold-on-dark); font-weight: 600; }
.hx-pack-go { color: var(--g-on-dark); font-weight: 500; text-decoration: underline; text-decoration-color: var(--g-gold-on-dark); text-underline-offset: 3px; white-space: nowrap; }

.home-helcim-actions { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; }
.home-helcim-paid { margin-top: 16px; max-width: 52ch; color: var(--g-text-2); font-size: 14px; line-height: 20px; }

/* The comparison card: the terminal on the desk, then the same month on four card systems. */
.hx-stage { min-width: 0; }
.hx-card { position: relative; margin: 0; overflow: hidden; border: 1px solid var(--g-line); border-radius: var(--g-radius-xl); background: #fff; box-shadow: 0 28px 56px -36px rgba(8, 20, 14, 0.45); }
.hx-stage-photo { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.hx-slip { padding: 22px 24px 24px; }
.hx-photo-cap { position: absolute; top: 14px; left: 14px; padding: 4px 10px; border-radius: 999px; background: rgba(11, 26, 19, 0.72); color: var(--g-on-dark); font-size: 12px; line-height: 18px; font-weight: 500; backdrop-filter: blur(6px); }
.hx-slip-head { color: var(--g-text); font-size: 18px; line-height: 24px; font-weight: 600; letter-spacing: -0.01em; }
.hx-slip-head small { display: block; margin-top: 2px; color: var(--g-text-3); font-size: 14px; line-height: 20px; font-weight: 400; letter-spacing: 0; }
.hx-slip-rows { margin: 12px 0 0; }
.hx-slip-rows > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 6px 16px; padding: 10px 0; border-top: 1px solid var(--g-line); }
.hx-slip-rows dt { color: var(--g-text); font-size: 15px; line-height: 22px; font-weight: 500; }
.hx-slip-rows dd { margin: 0; color: var(--g-text-2); font-size: 19px; line-height: 24px; font-weight: 500; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.hx-bar { grid-column: 1 / -1; display: block; height: 6px; border-radius: 3px; background: var(--g-line-strong); }
.hx-slip-rows .is-fresha .hx-bar { width: 100%; }
.hx-slip-rows .is-square .hx-bar { width: 77%; }
.hx-slip-rows .is-vagaro .hx-bar { width: 73%; }
.hx-slip-rows .is-helcim { margin-top: 6px; padding: 14px 16px; border-top: 0; border-radius: var(--g-radius-lg); background: var(--g-forest); }
.hx-slip-rows .is-helcim dt { color: var(--g-on-dark); font-weight: 600; }
.hx-slip-rows .is-helcim dt small { display: block; color: var(--g-on-dark-3); font-size: 13px; line-height: 18px; font-weight: 400; }
.hx-slip-rows .is-helcim dd { color: var(--g-gold-on-dark); font-size: 26px; line-height: 30px; }
.hx-slip-rows .is-helcim .hx-bar { width: 57%; background: var(--g-gold-on-dark); }
.hx-stage-fine { margin-top: 14px; color: var(--g-text-3); font-size: 13px; line-height: 19px; }

/* Find out what you get. */
.hx-more { grid-column: 1 / -1; padding-top: 8px; border-top: 1px solid var(--g-line); }
.hx-more > summary { list-style: none; min-height: 56px; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 1px solid var(--g-line-strong); border-radius: var(--g-radius-lg); background: #fff; color: var(--g-text); font-size: 17px; line-height: 24px; font-weight: 600; cursor: pointer; transition: background-color 200ms ease, border-color 200ms ease; }
.hx-more > summary::-webkit-details-marker { display: none; }
.hx-more > summary:hover { border-color: var(--g-forest); }
.hx-more > summary:active { background-color: rgba(23, 32, 27, 0.04); }
.hx-more > summary:focus-visible { outline: var(--g-focus-outline); outline-offset: 3px; }
.hx-more-chev { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--g-text); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 220ms ease; }
.hx-more[open] > summary .hx-more-chev { transform: rotate(180deg); }
.hx-more-body { margin-top: 28px; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px 48px; align-items: start; }
.hx-more-reasons { display: grid; gap: 24px; }
.hx-more-reason h3 { color: var(--g-text); font-size: 19px; line-height: 26px; font-weight: 600; letter-spacing: -0.01em; }
.hx-more-reason p { margin-top: 6px; max-width: 60ch; color: var(--g-text-2); font-size: 16px; line-height: 26px; }
.hx-more-pack { padding: 24px; border-radius: var(--g-radius-xl); background: radial-gradient(90% 80% at 100% 0%, rgba(212, 173, 75, 0.18), transparent 70%), var(--g-forest); color: var(--g-on-dark-2); font-size: 15px; line-height: 22px; }
.hx-more-pack-head strong { display: block; color: var(--g-on-dark); font-size: 19px; line-height: 26px; font-weight: 600; letter-spacing: -0.01em; text-wrap: balance; }
.hx-more-steps { margin: 16px 0 0; padding: 0; list-style: none; counter-reset: hx-step; display: grid; gap: 14px; }
.hx-more-steps li { position: relative; padding-left: 40px; counter-increment: hx-step; display: grid; gap: 2px; }
.hx-more-steps li::before { content: counter(hx-step); position: absolute; left: 0; top: 0; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--g-gold-on-dark); color: var(--g-forest); font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.hx-more-steps li > span { color: var(--g-on-dark-3); font-size: 14px; line-height: 20px; }
.hx-more-steps li > b { color: var(--g-on-dark); font-weight: 500; }
.hx-pack-then { display: block; margin-top: 16px; padding-top: 12px; border-top: 1px solid rgba(226, 194, 117, 0.24); color: var(--g-on-dark); font-weight: 500; }
.hx-pack-fine { margin-top: 10px; color: var(--g-on-dark-3); font-size: 13px; line-height: 19px; }
.hx-places-left { display: block; margin-top: 4px; color: var(--g-gold-on-dark); font-weight: 500; }
.hx-places-left[hidden] { display: none; }
.hx-more-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; }
.hx-more-link { min-height: 44px; display: inline-flex; align-items: center; color: var(--g-tint); text-decoration: underline; text-underline-offset: 3px; }
.hx-more-link:hover { color: var(--g-text); }
@media (prefers-reduced-motion: no-preference) {
  .hx-more[open] .hx-more-body { animation: hx-more-in 320ms cubic-bezier(.2, .8, .2, 1) both; }
}
@keyframes hx-more-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

@media (max-width: 1100px) {
  .home-helcim { padding: 44px; gap: 32px 40px; }
}
@media (max-width: 860px) {
  .home-fees-section { margin-top: -40px; }
  .home-helcim { grid-template-columns: 1fr; padding: 28px 20px; gap: 28px; }
  .home-helcim-copy h2 { margin-top: 20px; font-size: 22px; line-height: 28px; }
  .home-helcim-copy h2 b { font-size: clamp(44px, 16.4vw, 64px); }
  html[lang^="fr"] .home-helcim-copy h2 b { font-size: clamp(36px, 12.8vw, 50px); }
  html[lang^="vi"] .home-helcim-copy h2 b { font-size: clamp(38px, 13.8vw, 54px); }
  .home-helcim-copy h2 i { font-size: 32px; line-height: 38px; }
  .home-helcim-lede { font-size: 16px; line-height: 26px; }
  .hx-slip { padding: 18px 16px 20px; }
  .hx-more-body { grid-template-columns: 1fr; margin-top: 20px; gap: 24px; }
  .hx-more-pack { padding: 20px; }
}
