/* Home page: premium polish and the extra sections (stats, interests, how it
   works, offers, closing banner). Loaded after home-redesign.css. */
html { scroll-behavior: smooth; }

[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; transition: none; } }

.hx-eyebrow { display: inline-block; margin-bottom: 6px; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--hx-orange); }
.hx-head h2 { letter-spacing: -0.01em; }
.hx-head-center { justify-content: center; text-align: center; margin-bottom: 30px; }
.hx-section { padding: 64px 0 8px; }

.hx-stats { margin: 36px 0 0; }
.hx-stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); border-radius: 18px; background: linear-gradient(135deg, var(--hx-blue-dark), var(--hx-blue)); box-shadow: 0 16px 40px rgba(30, 95, 184, 0.28); color: #fff; }
.hx-stat { padding: 26px 16px; text-align: center; border-right: 1px solid rgba(255, 255, 255, 0.16); }
.hx-stat:last-child { border-right: 0; }
.hx-stat strong { display: block; font-size: 2rem; font-weight: 800; }
.hx-stat span { font-size: 13px; opacity: 0.85; letter-spacing: 0.04em; }

.hx-theme-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.hx-theme { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 28px 22px 22px; border-radius: 20px; color: var(--hx-ink); text-decoration: none; background: var(--tone-bg, var(--hx-sky)); overflow: hidden; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.hx-theme::after { content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: rgba(255, 255, 255, 0.55); }
.hx-theme:hover { color: var(--hx-ink); transform: translateY(-6px); box-shadow: 0 18px 36px rgba(20, 60, 120, 0.18); }
.hx-theme strong { font-size: 1.2rem; }
.hx-theme small { color: var(--hx-muted); font-size: 13.5px; }
.hx-theme-icon { position: relative; z-index: 1; display: inline-flex; width: 52px; height: 52px; align-items: center; justify-content: center; margin-bottom: 14px; border-radius: 14px; background: #fff; color: var(--tone-fg, var(--hx-blue)); box-shadow: 0 6px 16px rgba(20, 60, 120, 0.12); }
.hx-theme-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.hx-theme-go { display: inline-flex; align-items: center; gap: 4px; margin-top: 12px; font-weight: 600; color: var(--tone-fg, var(--hx-blue)); }
.hx-theme-go svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform 0.2s ease; }
.hx-theme:hover .hx-theme-go svg { transform: translateX(4px); }
.hx-theme-rose { --tone-bg: #ffeef3; --tone-fg: #d6336c; }
.hx-theme-sky { --tone-bg: #e8f2ff; --tone-fg: #1e5fb8; }
.hx-theme-teal { --tone-bg: #e4f7f3; --tone-fg: #0f9d8a; }
.hx-theme-gold { --tone-bg: #fdf3dc; --tone-fg: #b7791f; }

.hx-steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.hx-steps::before { content: ""; position: absolute; top: 44px; left: 16%; right: 16%; border-top: 2px dashed #bcd3f2; }
.hx-step { position: relative; text-align: center; padding: 6px 14px 0; }
.hx-step-icon { position: relative; z-index: 1; display: inline-flex; width: 76px; height: 76px; align-items: center; justify-content: center; margin-bottom: 14px; border-radius: 50%; background: #fff; border: 2px solid #cfe0f7; color: var(--hx-blue); box-shadow: 0 10px 24px rgba(30, 95, 184, 0.14); }
.hx-step-icon svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.hx-step-no { position: absolute; top: 0; left: calc(50% + 18px); z-index: 2; width: 26px; height: 26px; border-radius: 50%; background: var(--hx-orange); color: #fff; font-size: 13px; font-weight: 700; line-height: 26px; }
.hx-step strong { display: block; font-size: 1.1rem; margin-bottom: 6px; }
.hx-step p { margin: 0 auto; max-width: 280px; color: var(--hx-muted); font-size: 14px; }

.hx-why-item { padding: 26px 18px; border-radius: 18px; background: #fff; box-shadow: 0 8px 24px rgba(20, 60, 120, 0.08); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.hx-why-item:hover { transform: translateY(-5px); box-shadow: 0 16px 34px rgba(20, 60, 120, 0.15); }

.hx-offers { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.hx-offer { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 34px 32px; min-height: 210px; border-radius: 22px; color: #fff; text-decoration: none; overflow: hidden; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.hx-offer::after { content: ""; position: absolute; right: -60px; bottom: -70px; width: 260px; height: 260px; border-radius: 50%; background: rgba(255, 255, 255, 0.12); }
.hx-offer:hover { color: #fff; transform: translateY(-5px); box-shadow: 0 20px 40px rgba(20, 60, 120, 0.25); }
.hx-offer-a { background: linear-gradient(135deg, #164a94, #3b82d6); }
.hx-offer-b { background: linear-gradient(135deg, #f26a1b, #f59e4b); }
.hx-offer-tag { align-self: flex-start; padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.22); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.hx-offer strong { font-size: 1.7rem; line-height: 1.15; }
.hx-offer p { max-width: 340px; margin: 0; opacity: 0.92; }
.hx-offer-go { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; font-weight: 700; }
.hx-offer-go svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }

.hx-cta { justify-content: space-between; padding: 54px max(16px, calc(50vw - 590px)); background: linear-gradient(110deg, var(--hx-blue-dark), var(--hx-blue) 55%, #3b82d6); }
.hx-cta-text h2 { font-size: 2rem; }
.hx-cta-text p { margin: 6px 0 0; color: rgba(255, 255, 255, 0.88); }
.hx-cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hx-btn-ghost { display: inline-flex; align-items: center; height: 48px; padding: 0 28px; border: 2px solid rgba(255, 255, 255, 0.8); border-radius: 10px; color: #fff; font-weight: 700; text-decoration: none; transition: background 0.2s ease, color 0.2s ease; }
.hx-btn-ghost:hover { background: #fff; color: var(--hx-blue); }

.hx-tour-photo { overflow: hidden; }
.hx-tour-photo img { transition: transform 0.5s ease; }
.hx-tour:hover .hx-tour-photo img { transform: scale(1.06); }
.hx-btn-dark { transition: background 0.2s ease; }
.hx-tour:hover .hx-btn-dark { background: var(--hx-orange); }

@media (max-width: 991.98px) {
  .hx-stats-inner, .hx-theme-grid { grid-template-columns: repeat(2, 1fr); }
  .hx-stat:nth-child(2) { border-right: 0; }
  .hx-steps { grid-template-columns: 1fr; }
  .hx-steps::before { display: none; }
  .hx-offers { grid-template-columns: 1fr; }
  .hx-cta { justify-content: center; text-align: center; }
}
@media (max-width: 575.98px) {
  .hx-stats-inner, .hx-theme-grid { grid-template-columns: 1fr; }
  .hx-stat { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.16); }
}
