/* Mamahotel "Teď vážně": the calm cream section where the joke ends (LAND-03, LAND-09, D-05..D-08, D-13).
   Portability contract: every selector starts with .mh- and every colour comes from tokens.css (var(--mh-*)).
   D-07: this file has no animation, no transition, no text-shadow and no glow tokens. Contrast on --mh-paper:
   --mh-ink 11.81:1, --mh-ink-soft 7.19:1, --mh-link-on-paper 7.48:1 (see tests/unit/contrast.test.cjs). */

.mh-serious {
  width: calc(100% - 2 * var(--mh-space-4));
  margin: var(--mh-space-8) auto 0;
  padding: var(--mh-space-8) var(--mh-space-6);
  border-radius: var(--mh-radius-lg);
  background: var(--mh-paper);
  color: var(--mh-ink);
}

.mh-serious__kicker {
  margin: 0 0 var(--mh-space-4);
  color: var(--mh-link-on-paper);
  font-family: var(--mh-font-display);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mh-serious .mh-h2 {
  color: var(--mh-ink);
}

.mh-serious__text {
  margin: 0 0 var(--mh-space-6);
  color: var(--mh-ink-soft);
}

/* ---- Tomáš's portrait: a cream frame with the hotel nameplate below (the photo itself is never recoloured) ---- */
.mh-concierge {
  display: grid;
  justify-items: center;
  gap: var(--mh-space-3);
  margin: 0 0 var(--mh-space-6);
}

.mh-concierge__frame {
  width: 15rem;
  max-width: 100%;
  padding: var(--mh-space-2);
  border: 3px solid var(--mh-paper-edge);
  border-radius: var(--mh-radius-md);
  background: var(--mh-paper);
}

.mh-concierge__photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  border-radius: var(--mh-radius-sm);
  object-fit: cover;
}

.mh-concierge__plate {
  display: grid;
  justify-items: center;
  margin: 0;
  padding: var(--mh-space-2) var(--mh-space-6);
  border-radius: var(--mh-radius-sm);
  background: var(--mh-brass-light);
  color: var(--mh-ink);
  font-family: var(--mh-font-display);
  text-align: center;
}

.mh-concierge__role {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.24em;
}

.mh-concierge__name {
  min-height: 1.5em;
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  overflow-wrap: anywhere;
}

/* ---- numbers from the content file: min-height reserves the space so hydration causes no layout shift ---- */
.mh-serious__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr));
  gap: var(--mh-space-3);
  margin: 0 0 var(--mh-space-4);
  padding: 0;
  list-style: none;
}

.mh-serious__stat {
  display: grid;
  align-content: start;
  gap: var(--mh-space-1);
  padding: var(--mh-space-3) var(--mh-space-4);
  border-radius: var(--mh-radius-md);
  background: var(--mh-paper-edge);
  color: var(--mh-ink);
}

.mh-serious__value {
  min-height: 1.75rem;
  font-family: var(--mh-font-display);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.mh-serious__label {
  font-size: 0.875rem;
}

/* yellow chip at the right edge, like the source chips; on cream an outlined gold pill would be unreadable,
   so it is filled: dark ink on --mh-gold, the pair of the yellow teaser buttons */
.mh-serious__register {
  display: flex;
  align-items: center;
  gap: var(--mh-space-1);
  width: fit-content;
  max-width: 100%;
  min-height: var(--mh-tap);
  margin: 0 0 var(--mh-space-2) auto;
  padding: 0 var(--mh-space-4);
  border-radius: var(--mh-radius-full);
  background: var(--mh-gold);
  color: var(--mh-label-ink);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: background-color 150ms ease;
}

.mh-serious__register::after {
  content: "\2197" / "";
  flex: none;
}

.mh-serious__register:hover {
  background: var(--mh-brass-light);
}

.mh-serious__register:focus-visible {
  outline: 3px solid var(--mh-link-on-paper);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .mh-serious__register {
    transition: none;
  }
}

/* ---- buttons on paper ---- */
.mh-serious .mh-btn--primary {
  border-color: var(--mh-accent-ink);
}

.mh-btn--on-paper {
  background: transparent;
  color: var(--mh-ink);
  border-color: var(--mh-ink-muted);
}

.mh-btn--on-paper:hover {
  background: var(--mh-paper-edge);
}

/* the green word: dark green on cream (5.75:1). Hover paints --mh-paper-edge, where the dark green is only 4.07:1,
   so on hover the word takes the ink like the rest of the label; focus-visible is an outline only, the green stays. */
.mh-btn--on-paper .mh-wa-word {
  color: var(--mh-whatsapp-on-paper);
}

.mh-btn--on-paper:hover .mh-wa-word {
  color: inherit;
}

.mh-serious a:focus-visible,
.mh-serious .mh-btn:focus-visible {
  outline: 3px solid var(--mh-link-on-paper);
  outline-offset: 2px;
}

/* ---- CTA row (D-13): a stacked grid on phones, reused on dark sections by plan 02-04 ---- */
.mh-cta-row {
  display: grid;
  gap: var(--mh-space-3);
  margin-top: var(--mh-space-4);
}

.mh-cta-row .mh-btn {
  width: 100%;
  min-height: var(--mh-tap);
  text-align: center;
}
