/* ============================================================
   Public home page (home.css) — loads after tokens.css + site.css
   Everything is scoped under .hm-* / .is-home so inner pages are
   unaffected. Palette: petrol #0D5C63, sand #E8DCC8, coral #E8763C,
   ink #1C2B2D, off-white #FAF8F5
   ============================================================ */

:root {
  --hm-petrol: #0D5C63;
  --hm-petrol-deep: #083F44;
  --hm-sand: #E8DCC8;
  --hm-sand-soft: #F4EDE0;
  --hm-coral: #E8763C;
  --hm-ink: #1C2B2D;
  --hm-paper: #FAF8F5;
  --hm-bg: #0A1112;
  --hm-card: #111B1C;
  --hm-cream: #F6F3D5;
  --hm-muted: #9FB0AB;
  --hm-line: rgba(246, 243, 213, .09);
}

body.is-home { background: var(--hm-bg); }

/* ---------- Shared bits ---------- */
.hm-eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px;
  font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--hm-sand);
}
.hm-eyebrow--dark { color: var(--hm-coral); }
.hm-pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--hm-coral); box-shadow: 0 0 0 0 rgba(232, 118, 60, .7); animation: hm-pulse 2s infinite; }
@keyframes hm-pulse { 70% { box-shadow: 0 0 0 10px rgba(232, 118, 60, 0); } 100% { box-shadow: 0 0 0 0 rgba(232, 118, 60, 0); } }

.hm-blob { position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none; will-change: transform; }
.hm-blob--coral { width: 520px; height: 520px; right: -120px; top: -160px; background: rgba(232, 118, 60, .24); animation: hm-float 16s ease-in-out infinite alternate; }
.hm-blob--sand { width: 420px; height: 420px; left: -160px; bottom: -120px; background: rgba(232, 220, 200, .22); animation: hm-float 20s ease-in-out infinite alternate-reverse; }
.hm-blob--teal { width: 380px; height: 380px; left: 38%; top: 10%; background: rgba(63, 167, 158, .3); animation: hm-float 18s ease-in-out infinite alternate; }
.hm-blob--sm { width: 380px; height: 380px; right: -100px; top: -120px; opacity: .6; }
@keyframes hm-float { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(40px, 30px, 0) scale(1.12); } }

.hm-js .hm-reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); }
.hm-js .hm-reveal.is-in { opacity: 1; transform: none; }

/* ---------- Hero ---------- */
.hm-hero {
  position: relative; overflow: hidden; color: var(--hm-paper);
  display: flex; flex-direction: column; justify-content: flex-end;
  margin: 14px 14px 0; border-radius: 30px; min-height: clamp(560px, 76vh, 740px);
  background:
    radial-gradient(900px 600px at 82% 20%, rgba(232, 118, 60, .32), transparent 60%),
    radial-gradient(800px 600px at 15% 90%, rgba(63, 167, 158, .35), transparent 60%),
    linear-gradient(135deg, var(--hm-petrol-deep) 0%, var(--hm-petrol) 100%);
}
.hm-rings { position: absolute; right: -140px; top: -90px; width: 640px; height: 640px; pointer-events: none; animation: hm-spin 120s linear infinite; }
.hm-rings circle { fill: none; stroke: rgba(250, 248, 245, .1); stroke-width: 1.2; stroke-dasharray: 3 9; }
@keyframes hm-spin { to { transform: rotate(360deg); } }

.hm-hero__grid {
  position: relative; z-index: 1;
  width: 100%; max-width: 1320px; padding-left: 48px; padding-right: 48px;
  display: grid; grid-template-columns: 1.15fr 420px; gap: 84px; align-items: end;
  padding-top: 140px; padding-bottom: 56px;
}
.hm-hero h1 {
  color: var(--hm-paper); margin-bottom: 44px;
  font-size: clamp(2.6rem, 4vw + 1rem, 5rem); line-height: 1; max-width: 12.5em; letter-spacing: -.02em;
}
.hm-hero h1 em {
  font-style: normal; color: #F9D2B6;
  background: linear-gradient(transparent 88%, rgba(232, 118, 60, .75) 88%);
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

.hm-stats { display: flex; gap: 52px; flex-wrap: wrap; padding-top: 28px; border-top: 1px solid rgba(250, 248, 245, .18); }
.hm-stats > div { min-width: 90px; }
.hm-stats b { display: block; font-family: var(--font-display); font-size: 42px; line-height: 1; color: var(--hm-paper); margin-bottom: 8px; font-variant-numeric: tabular-nums; }
.hm-stats > div > span { font-size: 13px; color: var(--hm-muted); letter-spacing: .04em; text-transform: lowercase; }

/* Login card + floating chips */
.hm-login-wrap { position: relative; }
.hm-login {
  position: relative; z-index: 1;
  background: var(--hm-paper); color: var(--hm-ink);
  border-radius: 22px; padding: 36px 32px 28px;
  box-shadow: 0 40px 80px -28px rgba(3, 20, 22, .7), 0 0 0 1px rgba(255, 255, 255, .1);
}
.hm-login h3 { margin: 0 0 4px; font-family: var(--font); font-size: 21px; font-weight: 700; }
.hm-login__sub { margin: 0 0 24px; font-size: 14px; color: var(--ink-500); }
.hm-login .field { margin-bottom: 18px; }
.hm-login .field label { display: block; margin-bottom: 7px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-500); }
.hm-login .input {
  width: 100%; padding: 13px 14px; font: inherit; font-size: 15px; color: var(--hm-ink);
  background: #fff; border: 1px solid rgba(13, 92, 99, .22); border-radius: 12px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.hm-login .input:focus { outline: none; border-color: var(--hm-petrol); box-shadow: 0 0 0 3px rgba(13, 92, 99, .16); }
.hm-login .btn { width: 100%; justify-content: center; padding: 14px; font-size: 15px; border-radius: 12px; margin-top: 4px; box-shadow: 0 14px 26px -12px rgba(232, 118, 60, .9); }
.hm-login .note { margin: 18px 0 0; text-align: center; font-size: 13px; color: var(--ink-500); }
.hm-login .note a { font-weight: 600; color: var(--hm-petrol); }

.hm-chip {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px;
  padding: 12px 18px 12px 12px; border-radius: 16px; color: var(--hm-ink);
  background: #fff; box-shadow: 0 22px 40px -16px rgba(3, 20, 22, .6);
  animation: hm-bob 5s ease-in-out infinite;
}
.hm-chip b { display: block; font-size: 13.5px; line-height: 1.2; }
.hm-chip small { display: block; font-size: 12px; color: var(--ink-500); font-variant-numeric: tabular-nums; }
.hm-chip__ico { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 11px; font-size: 18px; font-weight: 700; }
.hm-chip--ok { top: -52px; left: -76px; }
.hm-chip--ok .hm-chip__ico { background: #DCF1E3; color: #1B6E3C; }
.hm-chip--time { bottom: -52px; right: -20px; animation-delay: -2.4s; }
.hm-chip--time .hm-chip__ico { background: #FDE6D8; color: var(--hm-coral); }
@keyframes hm-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ---------- Destination strip: plain text + outline icons on a band ---------- */
.hm-marquee { overflow: hidden; margin-top: 14px; padding: 34px 0; background: #151B1C; color: #CFD8D3; }
.hm-marquee__track { display: inline-flex; white-space: nowrap; animation: hm-scroll 45s linear infinite; }
.hm-logo { display: inline-flex; align-items: center; gap: 14px; padding: 0 44px; font-size: 20px; font-weight: 400; color: #CFD8D3; }
.hm-logo svg { color: #CFD8D3; flex-shrink: 0; }
@keyframes hm-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Sections (dark system) ---------- */
.hm-section { position: relative; padding: 96px 0; background: var(--hm-bg); color: var(--hm-cream); }
.hm-head { max-width: 680px; margin-bottom: 56px; }
.hm-head h2 { margin-bottom: 14px; font-size: clamp(2rem, 2.2vw + 1rem, 3rem); line-height: 1.08; letter-spacing: -.015em; color: var(--hm-cream); }
.hm-head p { margin: 0; font-size: 17px; color: var(--hm-muted); }
.hm-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.hm-head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.hm-section h2 { color: var(--hm-cream); }

.hm-section--intro { padding-bottom: 40px; }
.hm-section--intro .wrap { padding-left: 24px; padding-right: 24px; }
.hm-intro { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 72px; align-items: end; padding-bottom: 36px; border-bottom: 1px solid var(--hm-line); }
.hm-intro h2 { margin: 0; max-width: 15ch; font-size: clamp(2.2rem, 2.6vw + 1rem, 3.8rem); line-height: 1.08; text-wrap: balance; letter-spacing: -.02em; font-weight: 500; }
.hm-intro p { margin: 0 0 6px; max-width: 440px; padding-left: 22px; border-left: 2px solid var(--hm-coral); font-size: 17px; line-height: 1.65; color: var(--hm-muted); }

/* ---------- Feature card slider ---------- */
.hm-section--slider { padding: 48px 0 110px; }
.hm-wide { max-width: 1440px; }
.hm-section--slider .hm-slider__nav { justify-content: flex-end; margin-bottom: 28px; }
.hm-section--slider .hm-slider__btn { width: 62px; height: 52px; border-radius: 14px; border: 0; background: var(--hm-card); }
.hm-features { padding-left: 0; padding-right: 0; }
.hm-tile {
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 12px;
  flex: 0 0 clamp(300px, 27vw, 400px); min-height: 400px; scroll-snap-align: start;
  padding: 30px 28px 30px; border-radius: 26px; color: var(--hm-cream);
  background: var(--hm-card); transition: transform .3s ease;
}
.hm-tile:hover { transform: translateY(-6px); }
.hm-tile h3 { margin: auto 0 0; font-family: var(--font); font-size: 22px; font-weight: 500; line-height: 1.2; color: var(--hm-cream); }
.hm-tile p { margin: 0; font-size: 14.5px; line-height: 1.55; color: rgba(246, 243, 213, .72); }
.hm-tile__body { display: contents; }
.hm-tile__ico { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 14px; background: rgba(246, 243, 213, .1); color: var(--hm-cream); }
.hm-tile--c0 { background: radial-gradient(420px 320px at 80% 0%, rgba(63, 167, 158, .5), transparent 65%), linear-gradient(160deg, #0F4A50, #0A2A2E); }
.hm-tile--c1 { background: radial-gradient(420px 320px at 20% 0%, rgba(232, 118, 60, .55), transparent 65%), linear-gradient(160deg, #3A2418, #1B1210); }
.hm-tile--c2 { background: radial-gradient(420px 320px at 80% 0%, rgba(232, 220, 200, .3), transparent 65%), linear-gradient(160deg, #26332F, #121C1B); }
.hm-tile--c3 { background: radial-gradient(420px 320px at 20% 0%, rgba(13, 92, 99, .7), transparent 65%), linear-gradient(160deg, #123A3C, #0B1819); }

.hm-rates { margin-top: 6px; padding: 12px 16px; border-radius: 16px; background: rgba(0, 0, 0, .22); }
.hm-rates__row { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 9px 0; border-bottom: 1px dashed rgba(246, 243, 213, .2); font-size: 11.5px; color: var(--hm-muted); }
.hm-rates__row span:nth-child(2) { grid-column: 1; color: var(--hm-cream); font-weight: 600; font-size: 12.5px; }
.hm-rates__row b { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-family: var(--font-display); font-size: 20px; color: var(--hm-cream); }
.hm-rates__row--hi b { color: #F9B68E; }
.hm-rates__foot { padding-top: 9px; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--hm-muted); }
.hm-route { width: 100%; height: auto; overflow: visible; margin-top: 4px; }
.hm-route path { fill: none; stroke: var(--hm-cream); stroke-opacity: .6; stroke-width: 2; stroke-dasharray: 5 7; animation: hm-dash 1.4s linear infinite; }
.hm-route circle { fill: var(--hm-coral); }
@keyframes hm-dash { to { stroke-dashoffset: -24; } }
.hm-pills { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 6px; }
.hm-pills span { padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--hm-cream); background: rgba(246, 243, 213, .1); }
.hm-pills span.is-on { color: var(--hm-bg); background: var(--hm-cream); }
.hm-pills i { font-style: normal; color: var(--hm-coral); font-weight: 700; }
.hm-clock { margin-top: 6px; font-family: var(--font-display); font-size: 46px; line-height: 1; color: var(--hm-cream); font-variant-numeric: tabular-nums; }
.hm-flows { display: flex; flex-direction: column; gap: 12px; margin-top: 6px; }
.hm-flow { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; }
.hm-flow span { padding: 8px 12px; border-radius: 10px; font-size: 12px; font-weight: 700; color: var(--hm-cream); background: rgba(246, 243, 213, .1); white-space: nowrap; }
.hm-flow span:last-child { color: var(--hm-bg); background: var(--hm-cream); }
.hm-flow--b span:last-child { background: var(--hm-coral); color: #fff; }
.hm-flow i { position: relative; height: 2px; background: repeating-linear-gradient(90deg, rgba(246, 243, 213, .5) 0 7px, transparent 7px 14px); background-size: 14px 2px; animation: hm-march .9s linear infinite; }
@keyframes hm-march { to { background-position: 14px 0; } }

/* ---------- Steps ---------- */
.hm-section--steps { padding-top: 40px; }
.hm-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.hm-step { padding: 30px 26px 32px; border-radius: 24px; background: var(--hm-card); transition: transform .25s ease, background .25s ease; }
.hm-step:hover { transform: translateY(-5px); background: #16282A; }
.hm-step__num { display: block; margin-bottom: 44px; font-size: 44px; font-weight: 300; line-height: 1; color: var(--hm-coral); font-variant-numeric: tabular-nums; }
.hm-step h3 { margin-bottom: 10px; font-family: var(--font); font-size: 19px; font-weight: 500; color: var(--hm-cream); }
.hm-step p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--hm-muted); }
.hm-step i { font-style: normal; font-weight: 700; color: var(--hm-cream); }

/* ---------- Stats + globe ---------- */
.hm-stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.hm-globe canvas { display: block; width: 100%; max-width: 560px; aspect-ratio: 1; margin: 0 auto; }
.hm-section--stats h2 { margin-bottom: 18px; font-size: clamp(2rem, 2.4vw + 1rem, 3.2rem); line-height: 1.1; font-weight: 500; }
.hm-section--stats p { margin: 0 0 56px; font-size: 17px; line-height: 1.7; color: var(--hm-muted); max-width: 520px; }
.hm-section--stats .hm-stats { gap: 40px; padding-top: 0; border-top: 0; }
.hm-section--stats .hm-stats > div { min-width: 120px; padding-bottom: 22px; border-bottom: 1px solid var(--hm-line); flex: 1 1 120px; }
.hm-section--stats .hm-stats b { color: var(--hm-cream); font-weight: 400; margin-bottom: 18px; }

/* ---------- Reviews (dark) ---------- */
.hm-section--dark { overflow: hidden; color: var(--hm-cream); background: var(--hm-bg); }
.hm-section--dark .wrap { position: relative; z-index: 1; }
.hm-section--dark .hm-head h2 { color: #fff; }
.hm-section--dark .hm-head p { color: #BFD8D4; }
.hm-section--dark .hm-eyebrow { color: var(--hm-sand); }

.hm-slider__nav { display: flex; gap: 10px; flex-shrink: 0; }
.hm-slider__btn {
  width: 48px; height: 48px; border-radius: 50%; cursor: pointer;
  font-size: 24px; line-height: 1; color: #fff; background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .3); transition: background .15s ease, color .15s ease, transform .15s ease;
}
.hm-slider__btn:hover { background: var(--hm-coral); border-color: var(--hm-coral); transform: scale(1.06); }
.hm-slider__btn[hidden] { display: none; }

.hm-slider__track {
  display: flex; gap: 22px; overflow-x: auto; padding: 8px 2px 22px;
  scroll-snap-type: x mandatory; scrollbar-width: none; -ms-overflow-style: none;
}
.hm-slider__track::-webkit-scrollbar { display: none; }
.hm-slider__track:focus-visible { outline-offset: 6px; }

.hm-review {
  position: relative; flex: 0 0 calc((100% - 44px) / 3); scroll-snap-align: start; margin: 0;
  display: flex; flex-direction: column; gap: 18px; padding: 32px 28px 26px;
  color: var(--hm-ink); background: #EEEAD6; border-radius: 22px;
  box-shadow: 0 30px 50px -30px rgba(2, 18, 20, .8);
}
.hm-review::before { content: "“"; position: absolute; top: 4px; right: 24px; font-family: var(--font-display); font-size: 96px; line-height: 1; color: rgba(13, 92, 99, .16); }
.hm-review__stars { color: var(--hm-coral); font-size: 18px; letter-spacing: .1em; }
.hm-review__stars span { color: #E6DFD0; }
.hm-review blockquote { position: relative; margin: 0; font-size: 15.5px; line-height: 1.7; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; }
.hm-review figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 18px; border-top: 1px solid rgba(13, 92, 99, .12); }
.hm-review__avatar { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 46px; height: 46px; border-radius: 50%; font-size: 14px; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--hm-petrol), #1B7A72); }
.hm-review figcaption b { display: block; font-size: 14.5px; }
.hm-review figcaption small { display: block; font-size: 12.5px; color: var(--ink-500); }

.hm-slider__foot { display: flex; justify-content: flex-end; margin-top: 8px; }
.hm-link { font-weight: 700; font-size: 14px; color: var(--hm-sand); }
.hm-link:hover { color: #fff; text-decoration: none; }

/* ---------- CTA ---------- */
.hm-cta {
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  padding: 58px 60px; border-radius: 28px; color: var(--hm-ink);
  background: linear-gradient(120deg, #F5995F 0%, var(--hm-coral) 55%, #DD6428 100%);
}
.hm-cta::before, .hm-cta::after { content: ""; position: absolute; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .35); pointer-events: none; }
.hm-cta::before { width: 360px; height: 360px; right: -80px; top: -140px; }
.hm-cta::after { width: 220px; height: 220px; right: 40px; top: -60px; }
.hm-cta > * { position: relative; z-index: 1; }
.hm-cta h2 { margin-bottom: 10px; color: var(--hm-ink); font-size: clamp(1.8rem, 1.6vw + 1rem, 2.5rem); }
.hm-cta p { margin: 0; max-width: 520px; font-size: 16px; color: rgba(28, 43, 45, .85); }
.hm-cta .btn { flex-shrink: 0; color: #fff; background: var(--hm-petrol-deep); border-radius: 999px; padding: 17px 34px; box-shadow: 0 18px 30px -14px rgba(8, 63, 68, .9); }
.hm-cta .btn:hover { background: #052C30; text-decoration: none; transform: translateY(-2px); }

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
  .hm-steps { grid-template-columns: repeat(2, 1fr); }
  .hm-step:last-child { grid-column: 1 / -1; }
  .hm-step__num { margin-bottom: 28px; }
}
@media (max-width: 1000px) {
  .hm-hero__grid { grid-template-columns: 1fr; gap: 56px; padding-top: 130px; padding-bottom: 88px; }
  .hm-hero { min-height: 0; }
  .hm-login-wrap { max-width: 460px; }
  .hm-intro, .hm-stats-grid { grid-template-columns: 1fr; gap: 32px; }
  .hm-review { flex-basis: calc((100% - 22px) / 2); }
}
@media (max-width: 640px) {
  .hm-section { padding: 64px 0; }
  .hm-hero__grid { padding: 110px 20px 92px; gap: 52px; }
  .hm-hero { margin: 8px 8px 0; border-radius: 22px; }
  .hm-hero h1 { margin-bottom: 0; }
  .hm-logo { padding: 0 26px; font-size: 16px; }
  .hm-marquee { padding: 24px 0; }
  .hm-section--slider .hm-slider__nav { display: none; }
  .hm-features { flex-direction: column; gap: 12px; overflow: visible; padding: 0; scroll-snap-type: none; }
  .hm-tile { flex: none; display: grid; grid-template-columns: 46px 1fr; column-gap: 16px; row-gap: 6px; align-content: start; min-height: 0; padding: 22px 22px 24px; border-radius: 22px; }
  .hm-tile:hover { transform: none; }
  .hm-tile__ico { grid-row: 1 / span 2; width: 46px; height: 46px; border-radius: 14px; margin: 0; }
  .hm-tile h3 { margin: 2px 0 0; font-size: 19px; }
  .hm-tile p { font-size: 14px; line-height: 1.55; }
  .hm-rates, .hm-route, .hm-pills, .hm-clock, .hm-flows { display: none; }
  .hm-steps { grid-template-columns: 1fr; gap: 12px; }
  .hm-step:last-child { grid-column: auto; }
  .hm-step { display: grid; grid-template-columns: 52px 1fr; column-gap: 18px; padding: 22px 22px 24px; border-radius: 22px; }
  .hm-step__num { grid-row: 1 / span 2; margin: 0; font-size: 34px; line-height: 1.1; }
  .hm-step h3 { margin: 0 0 6px; font-size: 18px; }
  .hm-stats { gap: 30px; }
  .hm-stats b { font-size: 32px; }
  .hm-section--stats .hm-stats { flex-wrap: nowrap; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-right: -20px; padding-right: 20px; }
  .hm-section--stats .hm-stats::-webkit-scrollbar { display: none; }
  .hm-section--stats .hm-stats > div { flex: 0 0 62%; min-width: 0; scroll-snap-align: start; padding: 24px 22px; border: 1px solid var(--hm-line); border-radius: 20px; background: var(--hm-card); }
  .hm-section--stats .hm-stats b { margin-bottom: 12px; }
  .hm-login { padding: 28px 22px 22px; }
  .hm-chip--ok { top: -34px; left: 8px; }
  .hm-chip--time { bottom: -64px; right: 8px; }
  .hm-head { margin-bottom: 38px; }
  .hm-head--row { flex-direction: column; align-items: flex-start; }
  .hm-review { flex-basis: 88%; }
  .hm-cta { flex-direction: column; align-items: flex-start; padding: 38px 26px; border-radius: 22px; }
  .hm-cta .btn { width: 100%; justify-content: center; }
  .hm-blob--coral { width: 340px; height: 340px; }
}
@media (prefers-reduced-motion: reduce) {
  .hm-blob, .hm-rings, .hm-chip, .hm-marquee__track, .hm-route path, .hm-flow i, .hm-pulse { animation: none; }
  .hm-js .hm-reveal { opacity: 1; transform: none; transition: none; }
  .hm-tile, .hm-step { transition: none; }
}
.hm-section--tight { padding: 24px 0 110px; }

/* Only three feature cards: let them fill the row on desktop */
@media (min-width: 1001px) { .hm-features .hm-tile { flex: 1 1 0; } .hm-section--slider .hm-slider__nav { display: none; } }

/* ---------- How the flow works: connected timeline ---------- */
.hm-section--steps .wrap { max-width: 1260px; }
.hm-steps { gap: 24px; }
.hm-step { position: relative; padding: 32px 26px 36px; background: transparent; border: 1px solid var(--hm-line); }
.hm-step:hover { transform: none; background: rgba(246, 243, 213, .04); border-color: rgba(246, 243, 213, .28); }
.hm-step__num { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; margin-bottom: 34px; border-radius: 50%; background: var(--hm-coral); color: #fff; font-size: 20px; font-weight: 600; }
@media (min-width: 1200px) {
  .hm-step:not(:last-child)::after { content: ""; position: absolute; top: 57px; left: 92px; right: -38px; border-top: 1px dashed rgba(246, 243, 213, .35); pointer-events: none; }
  .hm-step h3 { min-height: 2.6em; font-size: 21px; }
  .hm-step p { font-size: 15px; line-height: 1.7; }
}
@media (max-width: 1199px) { .hm-step__num { margin-bottom: 22px; } }
@media (max-width: 640px) {
  .hm-step { grid-template-columns: 44px 1fr; }
  .hm-step__num { width: 44px; height: 44px; margin: 0; font-size: 17px; }
}

/* Stop the stats slider from stretching its grid track past the viewport on small screens */
.hm-stats-grid > * { min-width: 0; }
@media (max-width: 1000px) { .hm-stats-grid { grid-template-columns: minmax(0, 1fr); } }

/* Group tours block on the home page */
.hm-section--tours { padding-top: 24px; }
.hm-tours-empty { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 48px 24px; border-radius: 28px; border: 1px dashed rgba(13, 92, 99, .35); text-align: center; background: rgba(13, 92, 99, .05); }
.hm-tours-empty b { font-size: 20px; font-weight: 600; }
.hm-tours-empty span { color: var(--hm-muted, #5d6f6b); }
@media (max-width: 640px) {
  .hm-section--tours .hm-head--row { flex-direction: column; align-items: flex-start; }
  .hm-tours-empty { padding: 36px 18px; border-radius: 22px; }
}

/* Group tours block: cards reuse the sanatorium card look (.san-card in site.css) */
.hm-tours-more { flex-shrink: 0; padding: 14px 26px; border-radius: 999px; border: 1px solid rgba(246, 243, 213, .5); color: #F6F3D5; font-weight: 600; text-decoration: none; transition: background .2s, border-color .2s; }
.hm-tours-more:hover { background: rgba(246, 243, 213, .1); border-color: #F6F3D5; color: #F6F3D5; }
