/* hostmoodle2026.css — mobile-first, hm-* namespace */

/* ── Custom properties ──────────────────────────────────────────────────── */
:root {
  --hm-primary:       #1d8a9c;
  --hm-primary-dark:  #166878;
  --hm-primary-light: #6ad8e8;
  --hm-accent:        #d9534f;
  --hm-accent-dark:   #b93530;
  --hm-dark:          #0c1519;
  --hm-dark-2:        #1a2d34;
  --hm-dark-3:        #243d46;
  --hm-text:          #1e2d32;
  --hm-text-muted:    #64808a;
  --hm-surface:       #f4f8f9;
  --hm-white:         #ffffff;
  --hm-border:        #d0dfe3;
  --hm-success:       #16a34a;
  --hm-success-dark:  #15803d;
  --hm-success-light: #4ade80;
  --hm-success-soft:  #dcfce7;
  --hm-focus-ring:    rgba(29,138,156,.15);
  --hm-radius:        0.75rem;
  --hm-radius-lg:     1.25rem;
  --hm-shadow:        0 2px 12px rgba(12,21,25,.08);
  --hm-shadow-lg:     0 8px 32px rgba(12,21,25,.14);
  --hm-font-heading:  'Bricolage Grotesque', system-ui, sans-serif;
  --hm-font-body:     'Plus Jakarta Sans', system-ui, sans-serif;
  --hm-container-max: 1200px;
  --hm-header-h:      64px;
}

/* ── Base reset ──────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: var(--hm-font-body);
  color: var(--hm-text);
  background: var(--hm-white);
  margin: 0;
  padding-bottom: 70px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: var(--hm-font-heading);
  line-height: 1.2;
  margin: 0;
}
p  { margin: 0; }
a  { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; padding: 0; margin: 0; }

/* account for sticky CTA bar height on mobile */
@media (min-width: 768px) { body { padding-bottom: 0; } }

/* ── Container ───────────────────────────────────────────────────────────── */
.hm-container {
  width: 100%;
  max-width: var(--hm-container-max);
  margin-inline: auto;
  padding-inline: 1.25rem;
}
@media (min-width: 768px)  { .hm-container { padding-inline: 2rem; } }
@media (min-width: 1280px) { .hm-container { padding-inline: 2.5rem; } }

/* ── Skip link ───────────────────────────────────────────────────────────── */
.hm-skip-link {
  position: absolute; top: -40px; left: 0;
  background: var(--hm-primary); color: #fff;
  padding: .5rem 1rem; z-index: 1000;
  transition: top .2s;
}
.hm-skip-link:focus { top: 0; }

/* ── Header ──────────────────────────────────────────────────────────────── */
.hm-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(12,21,25,.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  height: var(--hm-header-h);
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.hm-header__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  height: 100%;
}

.hm-header__brand img { height: 36px; width: auto; }

/* ── Desktop nav ─────────────────────────────────────────────────────────── */
.hm-nav {
  display: none;
  align-items: center;
  gap: .25rem;
  margin-left: auto;
}
@media (min-width: 768px) { .hm-nav { display: flex; } }

.hm-nav__link {
  color: rgba(255,255,255,.72);
  font-size: .9rem; font-weight: 500;
  padding: .4rem .75rem;
  border-radius: .375rem;
  transition: color .15s, background .15s;
}
.hm-nav__link:hover { color: #fff; background: rgba(255,255,255,.06); }

.hm-nav__cta {
  display: inline-flex; align-items: center;
  background: var(--hm-primary); color: #fff;
  font-size: .875rem; font-weight: 700;
  padding: .5rem 1.25rem;
  border-radius: var(--hm-radius);
  margin-left: .5rem;
  transition: background .15s, transform .1s;
}
.hm-nav__cta:hover { background: var(--hm-primary-dark); transform: translateY(-1px); }

/* ── Burger ──────────────────────────────────────────────────────────────── */
.hm-burger {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  margin-left: auto;
  background: transparent; border: none;
  color: rgba(255,255,255,.8);
  cursor: pointer; border-radius: .375rem;
  transition: background .15s;
}
.hm-burger:hover { background: rgba(255,255,255,.07); }
@media (min-width: 768px) { .hm-burger { display: none; } }

/* ── Mobile nav overlay ──────────────────────────────────────────────────── */
.hm-mobile-nav {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(12,21,25,.98);
  display: flex; flex-direction: column;
  padding: 1.25rem 1.25rem 2rem;
  overflow-y: auto;
}

.hm-mobile-nav__header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 2rem;
}

.hm-mobile-nav__close {
  background: rgba(255,255,255,.06); border: none; cursor: pointer;
  color: rgba(255,255,255,.7); width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: .375rem; transition: background .15s;
}
.hm-mobile-nav__close:hover { background: rgba(255,255,255,.12); }

.hm-mobile-nav__links { display: flex; flex-direction: column; }

.hm-mobile-nav__link {
  color: rgba(255,255,255,.8); font-size: 1.2rem; font-weight: 600;
  padding: .875rem .5rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: color .15s;
}
.hm-mobile-nav__link:hover { color: var(--hm-primary-light); }

.hm-mobile-nav__cta {
  display: block; text-align: center;
  background: var(--hm-primary); color: #fff;
  font-size: 1rem; font-weight: 700;
  padding: 1rem; border-radius: var(--hm-radius);
  margin-top: auto; padding-top: 1rem;
  margin-top: 2rem;
}

/* ── Main ────────────────────────────────────────────────────────────────── */
.hm-main { scroll-padding-top: var(--hm-header-h); }

/* ── Section utilities ───────────────────────────────────────────────────── */
.hm-section { padding: 3.5rem 0; }
@media (min-width: 768px) { .hm-section { padding: 5rem 0; } }
@media (min-width: 1024px) { .hm-section { padding: 6rem 0; } }

.hm-section--dark    { background: var(--hm-dark);    color: #fff; }
.hm-section--dark-2  { background: var(--hm-dark-2);  color: #fff; }
.hm-section--dark-3  { background: var(--hm-dark-3);  color: #fff; }
.hm-section--surface { background: var(--hm-surface); }

.hm-plans,
.hm-includes,
.hm-features,
.hm-about,
.hm-testimonials,
.hm-cta,
.hm-setup {
  position: relative;
}
.hm-about {
  background:
    linear-gradient(105deg, rgba(26,45,52,.99) 0%, rgba(26,45,52,.95) 45%, rgba(26,45,52,.85) 100%),
    url('../img/host-moodle/sobre.jpg') center center / cover no-repeat;
}

.hm-section__eyebrow {
  display: inline-block;
  font-size: .72rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--hm-primary);
  margin-bottom: .5rem;
}
.hm-section--dark   .hm-section__eyebrow,
.hm-section--dark-2 .hm-section__eyebrow,
.hm-section--dark-3 .hm-section__eyebrow { color: var(--hm-primary-light); }

.hm-section__title {
  font-size: clamp(1.625rem, 3.5vw, 2.5rem);
  font-weight: 800; line-height: 1.15; margin-bottom: 1rem;
}

.hm-section__lead {
  font-size: 1rem; color: var(--hm-text-muted); line-height: 1.7; max-width: 600px;
}
.hm-section__lead--center { margin-inline: auto; }
.hm-section__lead--spaced { margin-bottom: 2rem; }
.hm-section--dark   .hm-section__lead,
.hm-section--dark-2 .hm-section__lead,
.hm-section--dark-3 .hm-section__lead { color: rgba(255,255,255,.62); }

.hm-section__header { margin-bottom: 2.5rem; }
@media (min-width: 768px) { .hm-section__header { margin-bottom: 3.5rem; } }

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.hm-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--hm-font-body); font-weight: 700; font-size: .9rem;
  padding: .75rem 1.75rem;
  border-radius: var(--hm-radius); border: 2px solid transparent;
  cursor: pointer; transition: all .15s; white-space: nowrap;
}
.hm-btn--primary {
  background: var(--hm-primary); color: #fff; border-color: var(--hm-primary);
}
.hm-btn--primary:hover { background: var(--hm-primary-dark); border-color: var(--hm-primary-dark); transform: translateY(-1px); }

.hm-btn--accent {
  background: var(--hm-accent); color: #fff; border-color: var(--hm-accent);
}
.hm-btn--accent:hover { background: var(--hm-accent-dark); border-color: var(--hm-accent-dark); transform: translateY(-1px); }

.hm-btn--outline {
  background: transparent; color: var(--hm-primary); border-color: var(--hm-primary);
}
.hm-btn--outline:hover { background: var(--hm-primary); color: #fff; }

.hm-btn--ghost {
  background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.15);
}
.hm-btn--ghost:hover { background: rgba(255,255,255,.14); }

.hm-btn--muted-outline {
  background: transparent;
  border-color: var(--hm-border);
  color: var(--hm-text-muted);
}
.hm-btn--muted-outline:hover {
  background: var(--hm-white);
  border-color: var(--hm-primary);
  color: var(--hm-text);
}

.hm-btn--lg  { padding: 1rem 2.25rem; font-size: 1rem; }
.hm-btn--sm  { padding: .5rem 1.25rem; font-size: .8rem; }
.hm-btn--full { width: 100%; }
.hm-btn--no-shrink { flex-shrink: 0; }

/* ── Hero section ────────────────────────────────────────────────────────── */
.hm-hero {
  position: relative; overflow: hidden;
  background-color: var(--hm-dark);
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  color: #fff;
  padding: 4rem 0 3.5rem;
  min-height: 520px;
  display: flex; align-items: center;
}
@media (min-width: 768px)  { .hm-hero { padding: 6rem 0 5rem; min-height: 600px; } }
@media (min-width: 1024px) { .hm-hero { padding: 7rem 0 6rem; min-height: 700px; } }

/* Gradient overlay — garante legibilidade do texto sobre a foto */
.hm-hero::before {
  content: '';
  position: absolute; inset: 0;
  pointer-events: none;
}

.hm-hero-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none; opacity: .65;
}

.hm-hero__inner {
  position: relative; z-index: 1;
  display: grid; gap: 2.5rem;
}
@media (min-width: 1024px) {
  .hm-hero__inner { grid-template-columns: 1fr 1fr; align-items: center; }
}

.hm-hero__eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--hm-primary-light);
  background: rgba(106,216,232,.1); border: 1px solid rgba(106,216,232,.2);
  padding: .3rem .75rem; border-radius: 999px;
  margin-bottom: .875rem;
}

.hm-hero__title {
  font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800;
  line-height: 1.1; margin-bottom: 1.25rem;
}
.hm-hero__title em { font-style: normal; color: var(--hm-primary-light); }

.hm-hero__subtitle {
  font-size: 1.05rem; color: rgba(255,255,255,.7); line-height: 1.7;
  max-width: 540px; margin-bottom: 2rem;
}

.hm-hero__actions {
  display: flex; flex-wrap: wrap; gap: .75rem; align-items: center;
}

.hm-hero__trust {
  display: flex; flex-wrap: wrap; gap: 1.25rem; align-items: center;
  margin-top: 2rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.1);
}
.hm-hero__trust-item {
  display: flex; align-items: center; gap: .5rem;
  font-size: .82rem; color: rgba(255,255,255,.6);
}
.hm-hero__trust-item i { color: var(--hm-primary-light); font-size: .875rem; }

/* ── Social proof toast (floating notification) ──────────────────────────── */
.hm-toast {
  position: fixed;
  bottom: 80px;
  left: 12px;
  right: 12px;
  z-index: 9000;
  display: flex;
  align-items: center;
  gap: .75rem;
  background: #fff;
  border: 1px solid rgba(0,0,0,.09);
  border-radius: 14px;
  padding: .875rem 1rem;
  box-shadow: 0 8px 32px rgba(0,0,0,.15), 0 2px 8px rgba(0,0,0,.08);
  pointer-events: auto;
}
@media (min-width: 640px) {
  .hm-toast { bottom: 100px; left: 30px; right: auto; width: 288px; }
}
.hm-toast__dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--hm-success); flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(22,163,74,.2);
  animation: hm-pulse 2s infinite;
}
@keyframes hm-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(22,163,74,.2); }
  50%       { box-shadow: 0 0 0 6px rgba(22,163,74,.08); }
}
.hm-toast__body { display: flex; flex-direction: column; gap: .1rem; flex: 1; min-width: 0; }
.hm-toast__label {
  font-size: .63rem; text-transform: uppercase; letter-spacing: .07em;
  color: var(--hm-primary); font-weight: 700;
}
.hm-toast__name {
  font-size: .875rem; font-weight: 600; color: #111;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.hm-toast__plan {
  font-size: .78rem; color: #666;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.hm-toast__close {
  background: none; border: none; cursor: pointer;
  color: #aaa; font-size: 1rem; line-height: 1;
  padding: 0 0 0 .25rem; flex-shrink: 0; transition: color .15s;
}
.hm-toast__close:hover { color: #333; }
/* Transitions */
.hm-toast-enter       { transition: opacity .35s, transform .35s; }
.hm-toast-enter-start { opacity: 0; transform: translateY(14px); }
.hm-toast-enter-end   { opacity: 1; transform: translateY(0); }
.hm-toast-leave       { transition: opacity .25s, transform .25s; }
.hm-toast-leave-start { opacity: 1; transform: translateY(0); }
.hm-toast-leave-end   { opacity: 0; transform: translateY(10px); }

/* ── Plan cards ──────────────────────────────────────────────────────────── */
.hm-plans-grid {
  display: grid; gap: 1.25rem; min-width: 0;
}
@media (min-width: 640px)  { .hm-plans-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .hm-plans-grid { grid-template-columns: repeat(3, 1fr); } }
.hm-plans-grid--catalog { grid-template-columns: 1fr; }
@media (min-width: 640px)  { .hm-plans-grid--catalog { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .hm-plans-grid--catalog { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .hm-plans-grid--catalog { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.hm-plan-card {
  background: var(--hm-white);
  border: 2px solid var(--hm-border);
  border-radius: var(--hm-radius-lg);
  padding: 1.75rem 1.5rem;
  display: flex; flex-direction: column; gap: .875rem;
  min-width: 0;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.hm-plan-card:hover {
  border-color: var(--hm-primary); box-shadow: var(--hm-shadow-lg); transform: translateY(-3px);
}
.hm-plan-card--featured {
  border-color: var(--hm-primary);
  background: linear-gradient(135deg, #eff9fb 0%, var(--hm-white) 100%);
  position: relative;
}
.hm-plan-card__badge {
  display: inline-block;
  background: var(--hm-primary); color: #fff;
  font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  padding: .25rem .75rem; border-radius: 999px;
  position: absolute; top: -13px; left: 1.5rem;
}
.hm-plan-card__name { font-size: 1rem; font-weight: 700; color: var(--hm-text); }
.hm-plan-card__desc { font-size: .85rem; color: var(--hm-text-muted); line-height: 1.5; }
.hm-plan-card__price {
  display: flex; align-items: baseline; gap: .25rem;
  margin: .25rem 0;
}
.hm-plan-card__currency { font-size: .9rem; color: var(--hm-text-muted); font-weight: 600; align-self: flex-start; margin-top: .25rem; }
.hm-plan-card__value    { font-size: 2.5rem; font-weight: 800; font-family: var(--hm-font-heading); color: var(--hm-dark); line-height: 1; }
.hm-plan-card__period   { font-size: .8rem; color: var(--hm-text-muted); }
.hm-plan-card__economy  { font-size: .78rem; color: var(--hm-success); font-weight: 600; background: var(--hm-success-soft); padding: .2rem .625rem; border-radius: 999px; align-self: flex-start; }
.hm-plan-card__specs    { display: flex; flex-direction: column; gap: .5rem; margin-top: .25rem; }
.hm-plan-card__spec     { display: flex; align-items: center; gap: .5rem; font-size: .85rem; color: var(--hm-text-muted); }
.hm-plan-card__spec i   { color: var(--hm-primary); font-size: .875rem; width: 16px; text-align: center; }
.hm-plan-card__cta      { margin-top: auto; padding-top: .875rem; }

/* Dedicated plan cards (dark) */
.hm-plan-card--dedicated {
  background: var(--hm-dark-2); border-color: rgba(255,255,255,.1); color: #fff;
}
.hm-plan-card--dedicated .hm-plan-card__name  { color: #fff; }
.hm-plan-card--dedicated .hm-plan-card__desc  { color: rgba(255,255,255,.55); }
.hm-plan-card--dedicated .hm-plan-card__value { color: #fff; }
.hm-plan-card--dedicated .hm-plan-card__spec  { color: rgba(255,255,255,.65); }

/* ── Features / includes grid ────────────────────────────────────────────── */
.hm-features-grid {
  display: grid; gap: 1.25rem;
}
@media (min-width: 640px)  { .hm-features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .hm-features-grid { grid-template-columns: repeat(3, 1fr); } }

.hm-feature-card {
  background: var(--hm-white); border: 1px solid var(--hm-border);
  border-radius: var(--hm-radius); padding: 1.5rem;
  display: flex; flex-direction: column; gap: .875rem;
}
.hm-section--dark   .hm-feature-card,
.hm-section--dark-2 .hm-feature-card {
  background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.08); color: #fff;
}

.hm-feature-card__icon {
  width: 44px; height: 44px; border-radius: .625rem;
  background: rgba(29,138,156,.12);
  display: flex; align-items: center; justify-content: center;
  color: var(--hm-primary); font-size: 1.25rem;
}
.hm-section--dark   .hm-feature-card__icon,
.hm-section--dark-2 .hm-feature-card__icon {
  background: rgba(106,216,232,.12); color: var(--hm-primary-light);
}

.hm-feature-card__title { font-size: .95rem; font-weight: 700; }
.hm-feature-card__desc  { font-size: .85rem; line-height: 1.6; color: var(--hm-text-muted); }
.hm-section--dark   .hm-feature-card__desc,
.hm-section--dark-2 .hm-feature-card__desc { color: rgba(255,255,255,.55); }

/* ── FAQ accordion ───────────────────────────────────────────────────────── */
.hm-faq { display: flex; flex-direction: column; gap: .625rem; }
.hm-faq--narrow { max-width: 760px; margin-inline: auto; }

.hm-faq__item {
  border: 1px solid var(--hm-border); border-radius: var(--hm-radius);
  overflow: hidden; background: var(--hm-white);
}
.hm-section--dark .hm-faq__item {
  background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1);
}

.hm-faq__trigger {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  width: 100%; background: transparent; border: none; cursor: pointer; text-align: left;
  padding: 1.125rem 1.25rem;
  font-family: var(--hm-font-body); font-size: .95rem; font-weight: 600;
  color: var(--hm-text); transition: background .15s;
}
.hm-section--dark .hm-faq__trigger { color: #fff; }
.hm-faq__trigger:hover { background: rgba(0,0,0,.025); }
.hm-section--dark .hm-faq__trigger:hover { background: rgba(255,255,255,.04); }

.hm-faq__trigger i {
  flex-shrink: 0; font-size: .875rem; color: var(--hm-primary);
  transition: transform .2s;
}
.hm-faq__trigger[aria-expanded="true"] i { transform: rotate(180deg); }

.hm-faq__body {
  padding: 0 1.25rem 1.25rem;
  font-size: .9rem; line-height: 1.7; color: var(--hm-text-muted);
}
.hm-section--dark .hm-faq__body { color: rgba(255,255,255,.6); }

/* ── Testimonial cards ───────────────────────────────────────────────────── */
.hm-testimonials-grid {
  display: grid; gap: 1.25rem;
}
@media (min-width: 768px)  { .hm-testimonials-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .hm-testimonials-grid { grid-template-columns: repeat(3, 1fr); } }

.hm-testimonial-card {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--hm-radius-lg); padding: 1.5rem;
  display: flex; flex-direction: column; gap: 1rem;
}
.hm-testimonial-card__stars { color: #fbbf24; font-size: .875rem; letter-spacing: .05em; }
.hm-testimonial-card__quote { font-size: .9rem; line-height: 1.7; color: rgba(255,255,255,.75); flex: 1; }
.hm-testimonial-card__author { display: flex; align-items: center; gap: .75rem; }
.hm-testimonial-card__name   { font-size: .875rem; font-weight: 700; color: #fff; }
.hm-testimonial-card__role   { font-size: .78rem; color: rgba(255,255,255,.45); }

/* ── CTA section ─────────────────────────────────────────────────────────── */
.hm-cta-section {
  background: linear-gradient(135deg, var(--hm-dark) 0%, var(--hm-dark-3) 100%);
  color: #fff; padding: 4rem 0;
  text-align: center;
}
@media (min-width: 768px) { .hm-cta-section { padding: 5rem 0; } }

.hm-cta-section__title { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 800; margin-bottom: 1rem; }
.hm-cta-section__lead  { font-size: 1rem; color: rgba(255,255,255,.65); line-height: 1.7; max-width: 520px; margin: 0 auto 2rem; }
.hm-cta-section__actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }

/* ── Sticky CTA bar (mobile only) ────────────────────────────────────────── */
.hm-sticky-cta {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
  background: var(--hm-dark);
  border-top: 2px solid var(--hm-primary);
  padding: .75rem 1.25rem;
  display: flex; align-items: center; gap: .75rem;
}
@media (min-width: 768px) { .hm-sticky-cta { display: none; } }

.hm-sticky-cta__text         { flex: 1; }
.hm-sticky-cta__text strong  { display: block; color: #fff; font-size: .875rem; font-weight: 700; }
.hm-sticky-cta__text span    { color: rgba(255,255,255,.5); font-size: .75rem; }

.hm-sticky-cta__btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--hm-primary); color: #fff;
  font-size: .875rem; font-weight: 700;
  padding: .625rem 1.25rem; border-radius: var(--hm-radius);
  white-space: nowrap; transition: background .15s;
}
.hm-sticky-cta__btn:active { background: var(--hm-primary-dark); }

/* ── Footer ──────────────────────────────────────────────────────────────── */
.hm-footer {
  background: var(--hm-dark); color: rgba(255,255,255,.6);
  padding: 2.5rem 0 1.5rem;
}

.hm-footer__grid {
  display: grid; grid-template-columns: 1fr; gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,.07);
  margin-bottom: 1.5rem;
}
@media (min-width: 640px)  { .hm-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .hm-footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }

.hm-footer__brand img { height: 30px; width: auto; margin-bottom: .875rem; }
.hm-footer__brand p   { font-size: .85rem; line-height: 1.6; }

.hm-footer__nav h3 {
  font-family: var(--hm-font-heading);
  font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.35); margin-bottom: .875rem;
}
.hm-footer__nav ul { display: flex; flex-direction: column; gap: .5rem; }
.hm-footer__nav a  { font-size: .875rem; color: rgba(255,255,255,.65); transition: color .15s; }
.hm-footer__nav a:hover { color: #fff; }

.hm-footer__bar {
  display: flex; flex-direction: column; gap: .375rem;
  font-size: .78rem; color: rgba(255,255,255,.3);
}
@media (min-width: 768px) { .hm-footer__bar { flex-direction: row; justify-content: space-between; } }

/* ── WhatsApp float ──────────────────────────────────────────────────────── */
.wa-float {
  position: fixed; bottom: 82px; right: 1.25rem; z-index: 500;
}
@media (min-width: 768px) { .wa-float { bottom: 1.25rem; } }

.wa-float__btn {
  display: flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; border: none; cursor: pointer;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  position: relative; transition: transform .15s, box-shadow .15s;
}
.wa-float__btn:hover { transform: scale(1.08); box-shadow: 0 6px 24px rgba(37,211,102,.5); }

.wa-float__avatar { width: 100%; height: 100%; object-fit: cover; clip-path: circle(50%); }

.wa-float__badge {
  position: absolute; bottom: -2px; right: -2px;
  width: 22px; height: 22px;
  background: #25d366; border: 2px solid #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: #fff;
}
.wa-float__badge svg { width: 12px; height: 12px; }

.wa-float__tooltip {
  position: absolute; right: 100%; top: 50%; transform: translateY(-50%);
  margin-right: .5rem;
  background: var(--hm-dark); color: #fff;
  font-size: .72rem; font-weight: 600; white-space: nowrap;
  padding: .25rem .625rem; border-radius: .375rem;
  pointer-events: none; opacity: 0; transition: opacity .15s;
}
.wa-float__btn:hover .wa-float__tooltip { opacity: 1; }

.wa-float__modal {
  position: absolute; bottom: calc(100% + .75rem); right: 0;
  width: 280px;
  background: #fff; border-radius: var(--hm-radius-lg); box-shadow: var(--hm-shadow-lg); overflow: hidden;
}
.wa-float__modal-header {
  background: #25d366; padding: 1rem 1.25rem;
  display: flex; align-items: center; gap: .75rem;
}
.wa-float__modal-icon {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: #fff;
}
.wa-float__modal-icon svg  { width: 20px; height: 20px; }
.wa-float__modal-title     { color: #fff; font-weight: 700; font-size: .95rem; }
.wa-float__modal-body      { padding: 1rem 1.25rem; font-size: .85rem; color: var(--hm-text-muted); line-height: 1.55; }
.wa-float__modal-cta {
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  background: #25d366; color: #fff; font-weight: 700; font-size: .9rem;
  padding: .875rem; margin: 0 1.25rem 1.25rem; border-radius: var(--hm-radius); transition: background .15s;
}
.wa-float__modal-cta:hover { background: #1da851; }
.wa-float__modal-close {
  position: absolute; top: .625rem; right: .625rem;
  background: rgba(255,255,255,.25); border: none; cursor: pointer;
  width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; transition: background .15s;
}
.wa-float__modal-close:hover { background: rgba(255,255,255,.4); }

/* Alpine transition helpers */
.wa-enter             { transition-property: opacity, transform; transition-duration: .2s; }
.wa-enter-start       { opacity: 0; transform: scale(.95) translateY(4px); }
.wa-enter-end         { opacity: 1; transform: scale(1) translateY(0); }

[x-cloak] { display: none !important; }

/* Desktop specialist prompt */
.hm-specialist-prompt { display: none; }
.hm-specialist-prompt-open { overflow: hidden; }

@media (min-width: 1024px) {
  .hm-specialist-prompt {
    position: fixed;
    inset: 0;
    z-index: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
  }

  .hm-specialist-prompt__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(12, 21, 25, .62);
    backdrop-filter: blur(6px);
  }

  .hm-specialist-prompt__dialog {
    position: relative;
    width: min(920px, calc(100vw - 4rem));
    min-height: 460px;
    display: grid;
    grid-template-columns: .88fr 1.12fr;
    align-items: center;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(255,255,255,.7);
    border-radius: 28px;
    box-shadow: 0 34px 110px rgba(8, 15, 18, .36);
  }

  .hm-specialist-prompt__dialog::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
      radial-gradient(circle at 86% 12%, rgba(106,216,232,.2), transparent 30%),
      linear-gradient(135deg, rgba(29,138,156,.08), transparent 45%);
    pointer-events: none;
  }

  .hm-specialist-prompt__close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    z-index: 3;
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(16,59,69,.08);
    border-radius: 999px;
    background: rgba(255,255,255,.92);
    color: var(--hm-dark);
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(16,59,69,.12);
    transition: transform .16s, background .16s, color .16s;
  }

  .hm-specialist-prompt__close:hover {
    transform: translateY(-1px);
    background: var(--hm-dark);
    color: #fff;
  }

  .hm-specialist-prompt__copy {
    position: relative;
    z-index: 2;
    padding: 4rem 1.5rem 4rem 3.2rem;
  }

  .hm-specialist-prompt__eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-bottom: .9rem;
    padding: .38rem .7rem;
    border-radius: 999px;
    background: var(--hm-primary-soft);
    color: var(--hm-primary-dark);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
  }

  .hm-specialist-prompt__title {
    max-width: 390px;
    margin: 0;
    color: var(--hm-dark);
    font-family: var(--hm-font-heading);
    font-size: clamp(2rem, 3vw, 2.6rem);
    font-weight: 800;
    line-height: 1.05;
  }

  .hm-specialist-prompt__text {
    max-width: 400px;
    margin: 1rem 0 1.6rem;
    color: var(--hm-text-muted);
    font-size: .98rem;
    line-height: 1.6;
  }

  .hm-specialist-prompt__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .65rem;
    min-height: 52px;
    padding: .95rem 1.35rem;
    border-radius: var(--hm-radius);
    background: var(--hm-primary);
    color: #fff;
    font-weight: 800;
    box-shadow: 0 16px 34px rgba(29,138,156,.26);
    transition: background .16s, transform .16s, box-shadow .16s;
  }

  .hm-specialist-prompt__cta:hover {
    transform: translateY(-1px);
    background: var(--hm-primary-dark);
    box-shadow: 0 20px 42px rgba(29,138,156,.32);
  }

  .hm-specialist-prompt__media {
    position: relative;
    z-index: 2;
    align-self: stretch;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.8rem 3rem 2.4rem .5rem;
  }

  .hm-specialist-prompt__media img {
    width: min(440px, 100%);
    height: auto;
    display: block;
    filter: drop-shadow(0 20px 48px rgba(16,59,69,.18));
  }
}

/* ── Utility helpers ──────────────────────────────────────────────────────── */
.hm-sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.hm-divider { border: none; border-top: 1px solid var(--hm-border); margin: 0; }
.hm-text-center { text-align: center; }
.hm-inline-highlight { color: var(--hm-primary-light); }

/* ── Icon filter utilities ───────────────────────────────────────────────── */
.hm-icon--primary  { filter: invert(46%) sepia(48%) saturate(598%) hue-rotate(150deg) brightness(85%); }
.hm-icon--white    { filter: invert(1) brightness(2); }
.hm-icon--white-sm { filter: invert(1) brightness(2); opacity: .8; }
.hm-icon--teal     { filter: brightness(0) saturate(100%) invert(42%) sepia(34%) saturate(960%) hue-rotate(142deg) brightness(94%) contrast(90%); }
.hm-icon--teal-sm  { filter: brightness(0) saturate(100%) invert(42%) sepia(34%) saturate(960%) hue-rotate(142deg) brightness(94%) contrast(90%); opacity: 1; }
.hm-icon--muted    { filter: invert(50%) sepia(10%) saturate(300%) hue-rotate(150deg); opacity: .7; }

/* ── Rotation helper ─────────────────────────────────────────────────────── */
.hm-rotate-90 { transform: rotate(90deg); }

/* Alpine generic fade */
.hm-fade-enter       { transition: opacity .3s; }
.hm-fade-enter-start { opacity: 0; }
.hm-fade-enter-end   { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }

  .hm-hero-canvas {
    display: none;
  }
}

/* ── Plan toggle ─────────────────────────────────────────────────────────── */
.hm-plan-toggle {
  display: inline-flex; align-items: center;
  background: var(--hm-white); border: 1px solid var(--hm-border);
  border-radius: 999px; padding: .25rem;
  gap: .125rem;
}
.hm-plan-toggle__btn {
  display: inline-flex; align-items: center; gap: .375rem;
  background: transparent; border: none; cursor: pointer;
  font-family: var(--hm-font-body); font-size: .875rem; font-weight: 600;
  color: var(--hm-text-muted);
  padding: .4rem 1.1rem; border-radius: 999px;
  transition: background .15s, color .15s;
}
.hm-plan-toggle__btn--active { background: var(--hm-dark); color: #fff; }
.hm-plan-toggle__btn:not(.hm-plan-toggle__btn--active):hover { color: var(--hm-text); }

.hm-plan-toggle__badge {
  display: inline-block;
  background: var(--hm-success-soft); color: var(--hm-success-dark);
  font-size: .65rem; font-weight: 700; letter-spacing: .05em;
  padding: .1rem .4rem; border-radius: 999px;
}
.hm-plan-toggle__btn--active .hm-plan-toggle__badge { background: rgba(22,163,74,.2); color: var(--hm-success-light); }

/* ── Hero photo background — copy centralizada ───────────────────────────── */

/* Hero agora usa foto como background; copy ocupa coluna única com max-width */
.hm-hero__inner { max-width: 680px; }
@media (min-width: 1024px) {
  .hm-hero__inner { grid-template-columns: 1fr; }
}

/* Browser window */
.hm-mockup-win {
  border-radius: 10px 10px 6px 6px;
  box-shadow: 0 28px 80px rgba(0,0,0,.55), 0 6px 20px rgba(0,0,0,.4);
  overflow: hidden; height: 280px; background: #fff;
}
@media (min-width: 1024px) { .hm-mockup-win { height: 540px; } }

/* Browser chrome bar */
.hm-mockup-bar {
  height: 34px; background: #e4e6ea; border-bottom: 1px solid #d0d3d8;
  display: flex; align-items: center; gap: .5rem; padding: 0 .875rem;
}
.hm-mockup-bar__dots { display: flex; gap: 5px; }
.hm-mockup-bar__dots span { display: block; width: 11px; height: 11px; border-radius: 50%; }
.hm-mockup-bar__dots span:nth-child(1) { background: #ff5f57; }
.hm-mockup-bar__dots span:nth-child(2) { background: #febc2e; }
.hm-mockup-bar__dots span:nth-child(3) { background: #28c840; }
.hm-mockup-bar__url {
  flex: 1; height: 20px; background: #fff;
  border: 1px solid #d0d3d8; border-radius: 4px;
  display: flex; align-items: center; gap: .3rem; padding: 0 .5rem;
  font-size: .6rem; color: #666; overflow: hidden; white-space: nowrap;
}

/* Moodle interface */
.hm-mockup-ui {
  display: flex; flex-direction: column;
  height: calc(100% - 34px); background: #f3f6f9; overflow: hidden;
}

/* Top navbar */
.hm-mockup-nav {
  height: 44px; flex-shrink: 0; background: #1d2d4a;
  display: flex; align-items: center; padding: 0 .75rem; gap: .5rem;
}
.hm-mockup-nav__burger {
  background: none; border: none; cursor: default; padding: 2px;
  display: flex; flex-direction: column; gap: 3px;
}
.hm-mockup-nav__burger span { display: block; width: 14px; height: 2px; background: rgba(255,255,255,.55); border-radius: 1px; }
.hm-mockup-nav__brand { display: flex; align-items: center; gap: .375rem; flex: 1; min-width: 0; }
.hm-mockup-nav__m {
  width: 24px; height: 24px; border-radius: 5px; flex-shrink: 0;
  background: #f97316; color: #fff; font-size: .75rem; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
}
.hm-mockup-nav__site {
  font-size: .68rem; font-weight: 600; color: rgba(255,255,255,.82);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.hm-mockup-nav__end { display: flex; align-items: center; gap: .4rem; flex-shrink: 0; }
.hm-mockup-nav__icon {
  position: relative; width: 28px; height: 28px;
  background: rgba(255,255,255,.1); border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
}
.hm-mockup-nav__notif {
  position: absolute; top: -3px; right: -3px;
  background: #e53e3e; color: #fff; font-size: .48rem; font-weight: 800;
  line-height: 1; padding: 1px 3px; border-radius: 99px;
  min-width: 13px; text-align: center;
}
.hm-mockup-nav__avatar {
  width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0;
  background: #1d8a9c; color: #fff;
  font-size: .56rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

/* Body */
.hm-mockup-body { display: flex; flex: 1; overflow: hidden; }

/* Sidebar */
.hm-mockup-sidebar {
  width: 148px; flex-shrink: 0; background: #fff;
  border-right: 1px solid #e8ecf0; padding: .625rem 0;
  display: none; flex-direction: column;
}
@media (min-width: 1024px) { .hm-mockup-sidebar { display: flex; } }

.hm-mockup-nav-item {
  display: flex; align-items: center; gap: .5rem;
  padding: .45rem .875rem; cursor: default;
  font-size: .67rem; color: #4a5568;
  border-right: 2px solid transparent;
}
.hm-mockup-nav-item--on {
  background: #eef6ff; color: #1d2d4a; font-weight: 600;
  border-right-color: #1d8a9c;
}

/* Content */
.hm-mockup-content {
  flex: 1; overflow: hidden; padding: .75rem;
  display: flex; flex-direction: column; gap: .5rem;
}
.hm-mockup-content__hd { display: flex; align-items: center; gap: .5rem; flex-shrink: 0; }
.hm-mockup-content__ttl { font-size: .75rem; font-weight: 700; color: #1a202c; }
.hm-mockup-content__badge {
  font-size: .58rem; font-weight: 700; background: #1d8a9c; color: #fff;
  border-radius: 999px; padding: .1rem .45rem;
}

/* KPI strip */
.hm-mockup-kpis { display: flex; gap: .4rem; flex-shrink: 0; }
.hm-mockup-kpi {
  flex: 1; background: #fff; border: 1px solid #e8ecf0;
  border-radius: 6px; padding: .4rem .5rem;
  display: flex; flex-direction: column; align-items: center; gap: .1rem;
}
.hm-mockup-kpi__val { font-size: .72rem; font-weight: 700; color: #1d2d4a; }
.hm-mockup-kpi__val--ok   { color: #10b981; }
.hm-mockup-kpi__val--warn { color: #e53e3e; }
.hm-mockup-kpi__lbl { font-size: .52rem; color: #718096; }

/* Bar chart */
.hm-mockup-chart {
  flex-shrink: 0; background: #fff;
  border: 1px solid #e8ecf0; border-radius: 7px; padding: .5rem .625rem;
}
.hm-mockup-chart__lbl {
  display: block; font-size: .58rem; font-weight: 600;
  color: #4a5568; margin-bottom: .375rem;
}
.hm-mockup-chart__bars {
  display: flex; align-items: flex-end; gap: 3px; height: 48px;
}
.hm-mockup-chart__col {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: flex-end; gap: 2px;
}
.hm-mockup-chart__col span { font-size: .44rem; color: #a0aec0; }
.hm-mockup-chart__bar { width: 100%; border-radius: 2px 2px 0 0; background: #e2e8f0; }
.hm-mockup-chart__bar--hi { background: #1d8a9c; }
.hm-mockup-chart__bar--seg { height: 22px; }
.hm-mockup-chart__bar--ter { height: 32px; }
.hm-mockup-chart__bar--qua { height: 40px; }
.hm-mockup-chart__bar--qui { height: 26px; }
.hm-mockup-chart__bar--sex { height: 36px; }
.hm-mockup-chart__bar--sab { height: 12px; }
.hm-mockup-chart__bar--dom { height: 8px; }

/* Course cards — 2-col grid */
.hm-mockup-courses {
  display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; flex-shrink: 0;
}
.hm-mockup-card {
  background: #fff; border: 1px solid #e8ecf0; border-radius: 7px;
  overflow: hidden; display: flex; flex-direction: column;
}
.hm-mockup-card__hd { height: 34px; flex-shrink: 0; }
.hm-mockup-card__hd--blue   { background: linear-gradient(135deg,#3b82f6,#1d4ed8); }
.hm-mockup-card__hd--green  { background: linear-gradient(135deg,#10b981,#059669); }
.hm-mockup-card__hd--orange { background: linear-gradient(135deg,#f59e0b,#d97706); }
.hm-mockup-card__bd { padding: .45rem .5rem; flex: 1; display: flex; flex-direction: column; gap: .18rem; }
.hm-mockup-card__name {
  font-size: .6rem; font-weight: 600; color: #1a202c; line-height: 1.3;
  overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.hm-mockup-card__prof { font-size: .52rem; color: #718096; }
.hm-mockup-card__bar-wrap { height: 3px; background: #e2e8f0; border-radius: 2px; margin-top: .2rem; }
.hm-mockup-card__bar { height: 100%; border-radius: 2px; }
.hm-mockup-card__bar--blue   { background: #3b82f6; }
.hm-mockup-card__bar--green  { background: #10b981; }
.hm-mockup-card__bar--orange { background: #f59e0b; }
.hm-mockup-card__bar--p45 { width: 45%; }
.hm-mockup-card__bar--p72 { width: 72%; }
.hm-mockup-card__bar--p88 { width: 88%; }
.hm-mockup-card__ft {
  display: flex; align-items: center; justify-content: space-between; margin-top: .2rem;
}
.hm-mockup-card__pct { font-size: .52rem; color: #a0aec0; }
.hm-mockup-card__btn { font-size: .52rem; color: #1d8a9c; font-weight: 600; }
.hm-mockup-card--more {
  align-items: center; justify-content: center;
  font-size: .6rem; color: #1d8a9c; font-weight: 600;
  border: 1.5px dashed #d1dce8; background: transparent; min-height: 80px;
}

/* .hm-mockup-fade removido — mockup posicionado após a copy sem sobreposição */
.hm-mockup-fade { display: none; }

/* ── Plan card extras ────────────────────────────────────────────────────── */
.hm-plan-card__hint     { font-size: .75rem; color: var(--hm-text-muted); margin-top: .125rem; }
.hm-plan-card__price-cta { margin: .75rem 0; }
.hm-plan-card__price-label { font-size: .95rem; font-weight: 700; color: rgba(255,255,255,.55); }

.hm-plans-more { text-align: center; margin-top: 2rem; }

/* ── Dedicated / VPS wrapper ─────────────────────────────────────────────── */
.hm-dedicated-wrap { margin-top: 4rem; padding-top: 3rem; }

/* VPS card */
.hm-vps-card {
  position: relative; overflow: hidden;
  display: grid; gap: 2.5rem;
  padding: 2.5rem;
  background:
    linear-gradient(105deg, rgba(9,21,39,.97) 0%, rgba(9,21,39,.88) 40%, rgba(9,21,39,.60) 75%, rgba(9,21,39,.75) 100%),
    url('../img/host-moodle/vps-dedicado.jpg') center right / cover no-repeat;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 20px;
}
@media (min-width: 768px) {
  .hm-vps-card { grid-template-columns: 220px 1fr; align-items: center; gap: 3.5rem; padding: 3rem 3.5rem; }
}

/* Orb glow */
.hm-vps-card__orb {
  position: absolute; width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, rgba(6,182,212,.1) 0%, transparent 70%);
  top: -80px; left: -80px; pointer-events: none;
}

/* Visual column */
.hm-vps-card__visual {
  display: flex; flex-direction: column; align-items: center; gap: 1.5rem;
  position: relative; z-index: 1;
}
.hm-vps-card__icon-wrap {
  width: 96px; height: 96px; border-radius: 50%;
  background: rgba(6,182,212,.1); border: 1px solid rgba(6,182,212,.2);
  display: flex; align-items: center; justify-content: center;
}
.hm-vps-card__pills { display: flex; flex-direction: column; gap: .5rem; width: 100%; }
.hm-vps-pill {
  display: flex; align-items: center; gap: .5rem;
  font-size: .78rem; color: rgba(255,255,255,.6);
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px; padding: .45rem .75rem;
}

/* Body column */
.hm-vps-card__body { position: relative; z-index: 1; }
.hm-vps-card__title {
  font-size: clamp(1.4rem, 2.8vw, 2rem); font-weight: 800;
  line-height: 1.2; color: #fff; margin: .5rem 0 1rem;
  font-family: var(--hm-font-heading);
}
.hm-vps-card__lead {
  font-size: 1rem; color: rgba(255,255,255,.65); line-height: 1.7;
  margin-bottom: 1.5rem; max-width: 520px;
}
.hm-vps-card__bullets {
  list-style: none; padding: 0; margin: 0 0 2rem;
  display: flex; flex-direction: column; gap: .625rem;
}
.hm-vps-card__bullets li {
  display: flex; align-items: center; gap: .625rem;
  font-size: .92rem; color: rgba(255,255,255,.8);
}
.hm-vps-card__actions { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.hm-dedicated-header {
  display: flex; flex-direction: column; gap: 1.25rem; margin-bottom: 2rem;
}
@media (min-width: 768px) { .hm-dedicated-header { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.hm-dedicated-title { font-size: clamp(1.25rem, 2.5vw, 1.75rem); font-weight: 800; font-family: var(--hm-font-heading); margin: .375rem 0 .5rem; }
.hm-dedicated-sub   { font-size: .9rem; color: var(--hm-text-muted); max-width: 520px; line-height: 1.6; }
.hm-plans-grid--dedicated { grid-template-columns: 1fr; }
@media (min-width: 640px)  { .hm-plans-grid--dedicated { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .hm-plans-grid--dedicated { grid-template-columns: repeat(4, 1fr); } }

#dedicated-plans .hm-plans-grid--dedicated { grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { #dedicated-plans .hm-plans-grid--dedicated { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { #dedicated-plans .hm-plans-grid--dedicated { grid-template-columns: repeat(2, 1fr); } }

.hm-dedicated-premium .hm-plan-card--dedicated {
  overflow: hidden;
  padding: 0;
  background:
    linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.025)),
    var(--hm-dark-2);
  border-color: rgba(255,255,255,.14);
}
.hm-dedicated-premium .hm-plan-card--dedicated:hover {
  border-color: rgba(29,138,156,.72);
  box-shadow: 0 24px 64px rgba(0,0,0,.28);
}
.hm-dedicated-card__media {
  position: relative;
  margin: 0;
  aspect-ratio: 16 / 7;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(29,138,156,.35), rgba(7,18,23,.9));
}
.hm-dedicated-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7,18,23,0), rgba(7,18,23,.5));
  pointer-events: none;
}
.hm-dedicated-card__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.hm-dedicated-card__body {
  display: flex;
  flex-direction: column;
  gap: .95rem;
  padding: 1.5rem;
  flex: 1;
}
.hm-dedicated-card__badge {
  align-self: flex-start;
  border: 1px solid rgba(29,138,156,.42);
  border-radius: 999px;
  padding: .28rem .7rem;
  background: rgba(29,138,156,.14);
  color: #9ee8f2;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.hm-dedicated-premium .hm-plan-card__name {
  font-size: clamp(1.25rem, 2vw, 1.7rem);
}
.hm-dedicated-premium .hm-plan-card__desc {
  color: rgba(255,255,255,.72);
  font-size: .96rem;
}
.hm-dedicated-premium .hm-plan-card__specs {
  display: grid;
  grid-template-columns: 1fr;
  gap: .6rem;
  margin-top: .15rem;
  padding: 1rem;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--hm-radius);
  background: rgba(3,12,15,.34);
}
.hm-dedicated-card__fit {
  padding: 1rem;
  border-left: 3px solid var(--hm-primary);
  border-radius: var(--hm-radius);
  background: rgba(29,138,156,.1);
}
.hm-dedicated-card__fit strong {
  display: block;
  margin-bottom: .35rem;
  color: #fff;
  font-size: .86rem;
}
.hm-dedicated-card__fit p {
  margin: 0;
  color: rgba(255,255,255,.66);
  font-size: .88rem;
  line-height: 1.6;
}
.hm-dedicated-card__arguments {
  display: flex;
  flex-direction: column;
  gap: .65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.hm-dedicated-card__arguments li {
  position: relative;
  padding-left: 1.15rem;
  color: rgba(255,255,255,.68);
  font-size: .88rem;
  line-height: 1.55;
}
.hm-dedicated-card__arguments li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: .42rem;
  height: .42rem;
  border-radius: 50%;
  background: var(--hm-primary);
  box-shadow: 0 0 0 4px rgba(29,138,156,.14);
}

/* ── Includes accordion ──────────────────────────────────────────────────── */
.hm-includes-grid { display: flex; flex-direction: column; gap: .75rem; }

.hm-include-card {
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--hm-radius);
  background: rgba(255,255,255,.04);
  overflow: hidden;
}

.hm-include-card__trigger {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  width: 100%; background: transparent; border: none; cursor: pointer;
  padding: 1.25rem 1.5rem; text-align: left;
  transition: background .15s;
}
.hm-include-card__trigger:hover { background: rgba(255,255,255,.04); }

.hm-include-card__header { display: flex; align-items: flex-start; gap: 1rem; flex: 1; }

.hm-include-card__icon-wrap {
  width: 46px; height: 46px; flex-shrink: 0;
  background: rgba(29,138,156,.2); border-radius: .625rem;
  display: flex; align-items: center; justify-content: center;
}

.hm-include-card__title { font-size: .95rem; font-weight: 700; color: #fff; margin-bottom: .2rem; }
.hm-include-card__short { font-size: .82rem; color: rgba(255,255,255,.5); line-height: 1.5; }
.hm-include-card__arrow { flex-shrink: 0; transition: transform .2s; }

.hm-include-card__body  { padding: 0 1.5rem 1.25rem 4.5rem; }

.hm-include-card__list  { display: flex; flex-direction: column; gap: .625rem; }
.hm-include-card__list li {
  display: flex; align-items: flex-start; gap: .625rem;
  font-size: .875rem; color: rgba(255,255,255,.65); line-height: 1.55;
}
.hm-include-card__list img { flex-shrink: 0; margin-top: .15rem; }

/* ── About section ───────────────────────────────────────────────────────── */
.hm-about-grid {
  display: grid; gap: 3rem;
}
@media (min-width: 1024px) { .hm-about-grid { grid-template-columns: 1fr 1fr; align-items: start; } }

.hm-about__text { font-size: .95rem; line-height: 1.75; color: rgba(255,255,255,.68); }
.hm-about__text--muted { margin-top: .875rem; color: rgba(255,255,255,.5); }
.hm-text-strong-white { color: rgba(255,255,255,.8); }
.hm-link-light {
  color: var(--hm-primary-light);
  text-decoration: underline;
  text-underline-offset: .15em;
}
.hm-link-light:hover { color: #fff; }

.hm-about__stats {
  display: flex; gap: 2rem; flex-wrap: wrap;
  margin: 2rem 0;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255,255,255,.1);
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.hm-about__stat        { display: flex; flex-direction: column; gap: .25rem; }
.hm-about__stat-value  { font-size: 2rem; font-weight: 800; font-family: var(--hm-font-heading); color: var(--hm-primary-light); line-height: 1; }
.hm-about__stat-label  { font-size: .78rem; color: rgba(255,255,255,.45); }

.hm-about__logo-wrap { margin-top: 1.75rem; }
.hm-about__logo      { height: 28px; width: auto; opacity: .6; }

.hm-about__cases-label {
  font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: rgba(255,255,255,.3); margin-bottom: 1rem;
}

.hm-case-card {
  padding: 1.1rem 1.25rem;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--hm-radius); background: rgba(255,255,255,.04);
  margin-bottom: .75rem;
}
.hm-case-card__name { font-size: .9rem; font-weight: 700; color: rgba(255,255,255,.85); margin-bottom: .3rem; }
.hm-case-card__desc { font-size: .82rem; color: rgba(255,255,255,.45); line-height: 1.55; }

/* ── Testimonial brand logo ──────────────────────────────────────────────── */
.hm-testimonial-card__brand-logo { height: 28px; width: auto; opacity: .4; object-fit: contain; }

/* ── Gate / Lead capture modal ───────────────────────────────────────────── */
.hm-gate-overlay {
  position: fixed; inset: 0; z-index: 900;
  background: rgba(12,21,25,.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 1.25rem;
}

.hm-gate-modal {
  background: var(--hm-dark);
  border-radius: var(--hm-radius-lg);
  box-shadow: 0 24px 80px rgba(12,21,25,.4);
  width: 100%; max-width: 440px;
  overflow: hidden;
}

.hm-gate-modal__head {
  position: relative;
  background: var(--hm-dark);
  padding: 1.75rem 1.75rem 1.5rem;
  text-align: center;
}
.hm-gate-modal__close {
  position: absolute;
  top: .8rem;
  right: .8rem;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.86);
  cursor: pointer;
  transition: background .15s, color .15s, transform .15s;
}
.hm-gate-modal__close:hover,
.hm-gate-modal__close:focus-visible {
  background: rgba(255,255,255,.18);
  color: #fff;
  transform: translateY(-1px);
}
.hm-gate-modal__title {
  font-size: 1.25rem; font-weight: 800; color: #fff;
  font-family: var(--hm-font-heading); margin-bottom: .375rem;
}
.hm-gate-modal__sub { font-size: .875rem; color: rgba(255,255,255,.55); line-height: 1.5; }

.hm-gate-modal__form {
  background: var(--hm-white);
  padding: 1.5rem 1.75rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hm-gate-modal__field { display: flex; flex-direction: column; gap: .375rem; }
.hm-gate-modal__field label {
  font-size: .8rem; font-weight: 600; color: var(--hm-text-muted);
  letter-spacing: .02em;
}
.hm-gate-modal__field input {
  width: 100%; padding: .7rem 1rem;
  border: 1.5px solid var(--hm-border); border-radius: var(--hm-radius);
  font-family: var(--hm-font-body); font-size: .9rem; color: var(--hm-text);
  background: var(--hm-surface); outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.hm-gate-modal__field input:focus {
  border-color: var(--hm-primary);
  box-shadow: 0 0 0 3px var(--hm-focus-ring);
}
.hm-gate-modal__field input[aria-invalid="true"] {
  border-color: var(--hm-accent);
  background: #fff7f7;
}
.hm-gate-modal__field input[aria-invalid="true"]:focus {
  box-shadow: 0 0 0 3px rgba(217,83,79,.16);
}
.hm-gate-modal__error {
  color: var(--hm-accent);
  font-size: .72rem;
  font-weight: 700;
  line-height: 1.35;
}

.hm-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.hm-gate-modal__privacy {
  display: flex; align-items: center; justify-content: center; gap: .375rem;
  font-size: .75rem; color: var(--hm-text-muted); text-align: center;
}

.hm-captura-modal {
  align-items: stretch;
  padding: 0;
}
.hm-captura-modal__dialog {
  max-width: none;
  min-height: 100vh;
  min-height: 100dvh;
  border-radius: 0;
  display: flex;
  flex-direction: column;
}
.hm-captura-modal__dialog .hm-gate-modal__form {
  flex: 1;
  justify-content: center;
}
@media (min-width: 641px) {
  .hm-captura-modal {
    align-items: center;
    padding: 1.25rem;
  }
  .hm-captura-modal__dialog {
    max-width: 440px;
    min-height: 0;
    border-radius: var(--hm-radius-lg);
  }
  .hm-captura-modal__dialog .hm-gate-modal__form {
    flex: initial;
    justify-content: flex-start;
  }
}

/* ── Logos Bar ─────────────────────────────────────────────────────────── */
.hm-logos-bar {
  padding: 1.4rem 0;
}
.hm-logos-bar__label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--hm-text-muted);
  letter-spacing: 0.05em;
  text-align: center;
  text-transform: uppercase;
  margin: 0 0 1.25rem;
}
.hm-logos-track {
  overflow: hidden;
  width: 100%;
}
.hm-logos-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  width: max-content;
  animation: hm-logos-scroll 32s linear infinite;
}
.hm-logos-inner:hover {
  animation-play-state: paused;
}
.hm-logos-inner img {
  opacity: 0.70;
  filter: grayscale(1);
  transition: opacity 0.2s ease, filter 0.2s ease;
  object-fit: contain;
  max-height: 6rem;
}
.hm-logos-inner img:hover {
  opacity: 0.72;
  filter: grayscale(0.2);
}
@keyframes hm-logos-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@media (min-width: 768px) {
  .hm-logos-inner { gap: 3.5rem; }
  .hm-logos-inner img { max-height: none; }
}

/* ── Host Moodle internal pages ─────────────────────────────────────────── */
.hm-inner-hero {
  position: relative;
  overflow: hidden;
  background: var(--hm-dark);
  color: #fff;
  padding: 1.6rem 0 1.85rem;
}
@media (min-width: 768px) { .hm-inner-hero { padding: 2rem 0 2.25rem; } }
.hm-inner-hero--compact { padding-bottom: 1.85rem; }
@media (min-width: 768px) { .hm-inner-hero--compact { padding-bottom: 2.1rem; } }

.hm-inner-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: .9rem;
}

.hm-inner-hero__title {
  max-width: 720px;
  font-size: clamp(1.65rem, 3.4vw, 2.45rem);
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: .55rem;
}

.hm-inner-hero__lead {
  max-width: 640px;
  color: rgba(255,255,255,.68);
  font-size: .92rem;
  line-height: 1.55;
}

.hm-inner-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: 1rem;
}
.hm-inner-hero__actions .hm-btn--lg {
  min-height: 44px;
  padding: .72rem 1.35rem;
}
@media (min-width: 1024px) {
  .hm-inner-hero__actions {
    display: none;
  }
}

.hm-breadcrumbs {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: .55rem;
  margin-bottom: .8rem;
  color: rgba(255,255,255,.48);
  font-size: .78rem;
}
.hm-breadcrumbs a { color: rgba(255,255,255,.72); }
.hm-breadcrumbs a:hover { color: #fff; }

.hm-inner-summary {
  display: none;
}
.hm-inner-summary strong {
  display: block;
  color: var(--hm-primary-light);
  font-family: var(--hm-font-heading);
  font-size: 1.45rem;
  line-height: 1.15;
  margin-bottom: .55rem;
}
.hm-inner-summary span {
  display: block;
  color: rgba(255,255,255,.62);
  font-size: .9rem;
  line-height: 1.6;
}

.hm-split-header {
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
}
@media (min-width: 768px) {
  .hm-split-header {
    grid-template-columns: minmax(0, .9fr) minmax(280px, .55fr);
    align-items: end;
  }
}

.hm-plan-card__spec dt {
  color: var(--hm-text-muted);
  min-width: 96px;
}
.hm-plan-card__spec dd {
  margin: 0 0 0 auto;
  color: var(--hm-text);
  font-weight: 700;
  text-align: right;
}
.hm-plan-card--dedicated .hm-plan-card__spec dd { color: rgba(255,255,255,.86); }

.hm-note-list {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.25rem;
  margin-top: 1.5rem;
}
.hm-note-list span,
.hm-feature-line {
  display: flex;
  align-items: center;
  gap: .55rem;
  color: var(--hm-text-muted);
  font-size: .88rem;
  line-height: 1.5;
}
.hm-note-list img,
.hm-feature-line img {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.hm-feature-line-grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 640px) { .hm-feature-line-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .hm-feature-line-grid { grid-template-columns: repeat(3, 1fr); } }

.hm-feature-line {
  align-items: flex-start;
  padding: 1rem 0;
  border-top: 1px solid var(--hm-border);
}

.hm-setup-grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 980px) {
  .hm-setup-grid {
    grid-template-columns: minmax(0, 1fr) 340px;
    align-items: start;
  }
}

.hm-setup-panel,
.hm-setup-aside,
.hm-result {
  background: #fff;
  border: 1px solid var(--hm-border);
  border-radius: var(--hm-radius-lg);
  box-shadow: var(--hm-shadow);
}
.hm-setup-panel {
  padding: 1.75rem;
}
@media (min-width: 768px) { .hm-setup-panel { padding: 2.5rem; } }

.hm-setup-aside {
  padding: 1.4rem;
}
.hm-setup-aside h2 {
  color: var(--hm-text);
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: .75rem;
}
.hm-setup-aside p {
  color: var(--hm-text-muted);
  font-size: .9rem;
  line-height: 1.65;
  margin-bottom: 1rem;
}
.hm-setup-aside dl {
  display: grid;
  gap: .85rem;
  margin: 0;
}
.hm-setup-aside dl div {
  padding-top: .85rem;
  border-top: 1px solid var(--hm-border);
}
.hm-setup-aside dt {
  color: var(--hm-text);
  font-weight: 800;
  font-size: .84rem;
}
.hm-setup-aside dd {
  margin: .2rem 0 0;
  color: var(--hm-text-muted);
  font-size: .84rem;
  line-height: 1.55;
}

.hm-progress {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-bottom: 1.5rem;
}
.hm-progress__bar {
  position: relative;
  flex: 1;
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--hm-border);
}
.hm-progress__fill {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: inherit;
  background: var(--hm-primary);
}
.hm-progress__fill--one { width: 33%; }
.hm-progress__fill--two { width: 66%; }
.hm-progress__fill--three { width: 90%; }
.hm-progress__fill--done { width: 100%; }
.hm-progress strong {
  color: var(--hm-primary-dark);
  font-size: .86rem;
}

.hm-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.hm-form__grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 720px) {
  .hm-form__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hm-form__field--wide { grid-column: 1 / -1; }
}
.hm-form__field {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.hm-form__field label {
  color: var(--hm-text);
  font-weight: 800;
  font-size: .82rem;
}
.hm-form__field input,
.hm-form__field select,
.hm-form__field textarea {
  width: 100%;
  border: 1.5px solid var(--hm-border);
  border-radius: var(--hm-radius);
  background: var(--hm-surface);
  color: var(--hm-text);
  font-family: var(--hm-font-body);
  font-size: .92rem;
  line-height: 1.45;
  padding: .78rem .95rem;
  outline: none;
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.hm-form__field textarea { resize: vertical; min-height: 112px; }
.hm-form__field input:focus,
.hm-form__field select:focus,
.hm-form__field textarea:focus {
  border-color: var(--hm-primary);
  background: #fff;
  box-shadow: 0 0 0 3px var(--hm-focus-ring);
}
.hm-form__field small {
  color: var(--hm-accent);
  font-size: .78rem;
}
.hm-form__field .hm-form__hint {
  color: var(--hm-text-muted);
}
.hm-form__note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  color: var(--hm-text-muted);
  font-size: .78rem;
  line-height: 1.5;
  text-align: center;
}
.hm-btn:disabled {
  opacity: .5;
  cursor: not-allowed;
  transform: none;
}

.hm-check-row {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  color: var(--hm-text);
  font-weight: 700;
  font-size: .9rem;
  line-height: 1.65;
}
.hm-check-row input {
  width: 18px;
  height: 18px;
  margin-top: .12rem;
  accent-color: var(--hm-primary);
  flex: 0 0 auto;
}

.hm-link-button {
  align-self: flex-start;
  border: 0;
  background: transparent;
  color: var(--hm-primary);
  font-family: var(--hm-font-body);
  font-size: .86rem;
  font-weight: 800;
  padding: 0;
  cursor: pointer;
}
.hm-link-button:hover { color: var(--hm-primary-dark); }

.hm-link-inline {
  display: inline;
  border: 0;
  background: transparent;
  color: var(--hm-primary);
  font-family: inherit;
  font-size: inherit;
  font-weight: 800;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.hm-link-inline:hover { color: var(--hm-primary-dark); }

.hm-alert {
  border-radius: var(--hm-radius);
  padding: .85rem 1rem;
  font-size: .86rem;
  line-height: 1.5;
}
.hm-alert--error {
  color: #7d302f;
  background: #fbe0de;
  border: 1px solid #f6c1be;
}

.hm-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .35rem;
  padding: .3rem;
  border: 1px solid var(--hm-border);
  border-radius: var(--hm-radius);
  background: var(--hm-surface);
}
.hm-tabs__btn {
  border: 0;
  border-radius: calc(var(--hm-radius) - .2rem);
  background: transparent;
  color: var(--hm-text-muted);
  cursor: pointer;
  font-family: var(--hm-font-body);
  font-weight: 800;
  padding: .75rem .65rem;
}
.hm-tabs__btn--active {
  background: #fff;
  color: var(--hm-primary-dark);
  box-shadow: var(--hm-shadow);
}

.hm-modal {
  position: fixed;
  inset: 0;
  z-index: 950;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(12,21,25,.82);
}
.hm-modal__dialog {
  width: min(100%, 560px);
  max-height: min(760px, 90vh);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-radius: var(--hm-radius-lg);
  background: #fff;
  box-shadow: 0 24px 80px rgba(12,21,25,.4);
}
.hm-modal__dialog--wide { width: min(100%, 760px); }
.hm-modal__head {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 1.4rem;
  border-bottom: 1px solid var(--hm-border);
}
.hm-modal__head h3 {
  color: var(--hm-text);
  font-size: 1.25rem;
  font-weight: 800;
}
.hm-modal__close {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--hm-surface);
  color: var(--hm-text);
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
}
.hm-modal__body {
  flex: 1 1 auto;
  min-height: 0;
  max-height: none;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 1.4rem;
}
.hm-modal__actions {
  display: flex;
  flex: 0 0 auto;
  justify-content: flex-end;
  padding: 1rem 1.4rem 1.4rem;
  border-top: 1px solid var(--hm-border);
}

.hm-terms {
  display: grid;
  gap: .85rem;
  color: var(--hm-text-muted);
  font-size: .9rem;
  line-height: 1.7;
}
.hm-terms h4 {
  color: var(--hm-text);
  font-size: 1rem;
  font-weight: 800;
  margin-top: .35rem;
}
.hm-terms strong { color: var(--hm-text); }

.hm-result {
  padding: 1.5rem;
  text-align: center;
}
@media (min-width: 768px) { .hm-result { padding: 2.5rem; } }
.hm-result .hm-section__lead {
  margin-inline: auto;
}
.hm-result__icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 1.2rem;
}
.hm-result__signature {
  margin-top: 1.2rem;
  color: var(--hm-text);
  font-family: var(--hm-font-heading);
  font-size: 1.2rem;
  font-weight: 800;
}
.hm-result__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .8rem;
  margin-top: 1.7rem;
}
