/****************************************
  Homepage â€” Maria Home (mh)
  Immersive calm studio Â· 2026
****************************************/
:root {
  --mh-ink: #14110f;
  --mh-soft: #3f3a37;
  --mh-muted: #7a726c;
  --mh-paper: #fffcfa;
  --mh-mist: #f3ebe6;
  --mh-sand: #e8dfd7;
  --mh-rose: #e86fd4;
  --mh-rose-deep: #c94bb8;
  --mh-line: rgba(20, 17, 15, 0.1);
  --mh-serif: "Roboto", Arial, sans-serif;
  --mh-sans: "Roboto", Arial, sans-serif;
  --mh-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --mh-space: clamp(4.5rem, 11vw, 8rem);
}

.mh {
  font-family: var(--mh-sans);
  color: var(--mh-ink);
  background: var(--mh-mist);
  overflow-x: hidden;
}

.mh h1, .mh h2, .mh h3 {
  font-family: var(--mh-serif) !important;
  font-weight: 550 !important;
  letter-spacing: -0.03em;
  line-height: 1.05 !important;
  color: var(--mh-ink) !important;
  text-shadow: none !important;
  text-align: left !important;
}

.mh-container {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.mh-eyebrow {
  margin: 0 0 0.85rem !important;
  font-family: var(--mh-sans) !important;
  font-size: 0.7rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mh-rose-deep) !important;
}

.mh-eyebrow--light { color: rgba(255, 200, 240, 0.9) !important; }

.mh-section-head {
  text-align: center;
  max-width: 28rem;
  margin: 0 auto 3rem;
}

.mh-section-head h2 {
  text-align: center !important;
  font-size: clamp(1.35rem, 2.4vw, 1.7rem) !important;
  margin: 0 !important;
}

.mh-section-head p:not(.mh-eyebrow) {
  margin: 0.85rem 0 0;
  color: var(--mh-muted);
}

/* Buttons */
.mh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  font-family: var(--mh-sans) !important;
  font-weight: 600 !important;
  font-size: 0.95rem;
  text-decoration: none !important;
  border: 1.5px solid transparent;
  transition: transform 0.25s var(--mh-ease), background 0.25s var(--mh-ease), color 0.25s var(--mh-ease), border-color 0.25s var(--mh-ease);
  cursor: pointer;
}

.mh-btn--primary {
  background: var(--mh-ink) !important;
  color: #fff !important;
}

.mh-btn--primary:hover {
  background: var(--mh-rose-deep) !important;
  transform: translateY(-2px);
}

.mh-btn--ghost {
  background: transparent !important;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.55) !important;
}

.mh-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: #fff !important;
}

.mh-btn--light {
  background: #fff !important;
  color: var(--mh-ink) !important;
}

.mh-btn--light:hover {
  background: #ffd6f5 !important;
  transform: translateY(-2px);
}

.mh-btn--ghost-light {
  background: transparent !important;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.45) !important;
}

.mh-btn--block {
  width: 100%;
}

/* Reveal */
@keyframes mh-up {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.mh-reveal { animation: mh-up 0.9s var(--mh-ease) both; }
.mh-reveal--d1 { animation-delay: 0.12s; }
.mh-reveal--d2 { animation-delay: 0.24s; }
.mh-reveal--d3 { animation-delay: 0.36s; }

/* ===== HERO ===== */
.mh-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  isolation: isolate;
  overflow: hidden;
}

.mh-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.mh-hero__media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.06);
  animation: mh-ken 18s ease-in-out infinite alternate;
}

@keyframes mh-ken {
  from { transform: scale(1.06) translate(0, 0); }
  to { transform: scale(1.12) translate(-1.5%, -1%); }
}

.mh-hero__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background:
    linear-gradient(105deg, rgba(12, 9, 10, 0.78) 0%, rgba(12, 9, 10, 0.4) 48%, rgba(12, 9, 10, 0.28) 100%),
    linear-gradient(0deg, rgba(12, 9, 10, 0.55) 0%, transparent 45%);
}

.mh-hero__content {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 0 0 clamp(4rem, 10vh, 6.5rem);
}

.mh-hero__logo {
  width: min(160px, 42vw);
  height: auto;
  display: block;
  margin-bottom: 1.25rem;
  filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.35));
}

.mh-hero h1 {
  margin: 0 0 0.85rem !important;
  max-width: 16ch;
  color: #fff !important;
  font-size: clamp(1.45rem, 2.8vw, 1.9rem) !important;
  line-height: 1.15 !important;
}

.mh-hero__sub {
  margin: 0 0 1.85rem !important;
  max-width: 28em;
  color: rgba(255, 255, 255, 0.86) !important;
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  font-weight: 450;
}

.mh-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.mh-hero__scroll {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 1.4rem;
  transform: translateX(-50%);
  width: 28px;
  height: 44px;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  display: grid;
  place-items: start center;
  padding-top: 8px;
}

.mh-hero__scroll span {
  width: 4px;
  height: 8px;
  border-radius: 999px;
  background: #fff;
  animation: mh-scroll 1.6s var(--mh-ease) infinite;
}

@keyframes mh-scroll {
  0% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(14px); }
}

@media (max-width: 720px) {
  .mh-hero {
    align-items: center;
    text-align: center;
    min-height: 92svh;
  }
  .mh-hero__content {
    padding: 5rem 0 4rem;
  }
  .mh-hero__logo {
    margin-inline: auto;
  }
  .mh-hero h1 {
    margin-inline: auto !important;
    text-align: center !important;
  }
  .mh-hero__sub {
    margin-inline: auto !important;
  }
  .mh-hero__cta {
    justify-content: center;
  }
  .mh-hero__scroll { display: none; }
  .mh-hero__media video {
    animation: none;
    transform: scale(1.02);
  }
}

/* ===== TRUST + MARQUEE ===== */
.mh-trust {
  padding: var(--mh-space) 0 0;
  background: var(--mh-paper);
  text-align: center;
}

.mh-trust__number {
  margin: 0 !important;
  font-family: var(--mh-serif) !important;
  font-size: clamp(1.75rem, 3.5vw, 2.25rem) !important;
  font-weight: 550 !important;
  line-height: 0.95 !important;
  color: var(--mh-ink) !important;
  letter-spacing: -0.03em;
}

.mh-trust__label {
  margin: 0.75rem 0 0 !important;
  color: var(--mh-muted) !important;
  font-size: 1.1rem;
}

.mh-marquee {
  margin-top: 3rem;
  border-block: 1px solid var(--mh-line);
  overflow: hidden;
  padding: 1.1rem 0;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.mh-marquee__track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  animation: mh-marquee 28s linear infinite;
}

.mh-marquee__track span {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mh-soft);
  white-space: nowrap;
}

.mh-marquee__track span::before {
  content: "";
  display: inline-block;
  width: 0.42em;
  height: 0.42em;
  margin-right: 2.5rem;
  background: var(--mh-rose);
  transform: rotate(45deg);
  vertical-align: 0.12em;
}

@keyframes mh-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===== TRIAL ===== */
.mh-trial {
  padding: var(--mh-space) 0;
  background: var(--mh-paper);
}

.mh-trial__grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}

.mh-trial__copy h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.7rem) !important;
  margin: 0 0 1rem !important;
  max-width: 16ch;
}

.mh-trial__copy p {
  color: var(--mh-muted);
  margin: 0 0 1.5rem;
  max-width: 32em;
}

.mh-trial__frame {
  border-radius: 28px;
  overflow: hidden;
  background: #0c0a0b;
  box-shadow: 0 30px 80px rgba(20, 17, 15, 0.18);
  aspect-ratio: 16 / 10;
}

.mh-trial__frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 900px) {
  .mh-trial__grid {
    grid-template-columns: 1fr;
  }
  .mh-trial__copy {
    text-align: center;
  }
  .mh-trial__copy h2 {
    margin-inline: auto !important;
    text-align: center !important;
  }
  .mh-trial__copy p {
    margin-inline: auto;
  }
}

/* ===== PROGRAMS ===== */
.mh-programs {
  padding: var(--mh-space) 0;
  background: var(--mh-mist);
}

.mh-program-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.mh-program {
  position: relative;
  display: grid;
  grid-template-columns: 140px auto 1fr auto auto;
  gap: 1rem 1.15rem;
  align-items: center;
  padding: 0.85rem 1.15rem 0.85rem 0.85rem;
  background: var(--mh-paper);
  border: 1px solid var(--mh-line);
  border-radius: 22px;
  text-decoration: none !important;
  overflow: hidden;
  transition: transform 0.3s var(--mh-ease), border-color 0.3s var(--mh-ease), box-shadow 0.3s var(--mh-ease);
}

.mh-program:hover {
  transform: translateY(-2px);
  border-color: rgba(232, 111, 212, 0.35);
  box-shadow: 0 14px 32px rgba(20, 17, 15, 0.07);
}

.mh-program__idx {
  font-family: var(--mh-serif);
  font-size: 1.15rem;
  color: var(--mh-rose-deep);
  font-weight: 550;
}

.mh-program__body h3 {
  margin: 0 0 0.25rem !important;
  font-size: 1.1rem !important;
}

.mh-program__body p {
  margin: 0;
  color: var(--mh-muted);
  font-size: 0.92rem;
}

.mh-program__price {
  font-family: var(--mh-serif);
  font-size: 1.25rem;
  font-weight: 550;
  color: var(--mh-ink);
  white-space: nowrap;
}

.mh-program__go {
  font-size: 1.25rem;
  color: var(--mh-rose-deep);
  transition: transform 0.25s var(--mh-ease);
}

.mh-program:hover .mh-program__go {
  transform: translateX(4px);
}

.mh-program__thumb {
  position: relative;
  width: 140px;
  height: 96px;
  border-radius: 14px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--mh-sand);
}

.mh-program__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 700px) {
  .mh-program {
    grid-template-columns: 96px 1fr auto;
    grid-template-areas:
      "thumb body price"
      "thumb body go";
    gap: 0.65rem 0.85rem;
    padding: 0.75rem;
  }
  .mh-program__thumb {
    grid-area: thumb;
    width: 96px;
    height: 96px;
  }
  .mh-program__idx { display: none; }
  .mh-program__body { grid-area: body; }
  .mh-program__price { grid-area: price; align-self: end; }
  .mh-program__go { grid-area: go; align-self: start; }
}

/* ===== STUDIO ===== */
.mh-studio {
  position: relative;
  padding: var(--mh-space) 0;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(232, 111, 212, 0.22), transparent 50%),
    linear-gradient(145deg, #151116 0%, #241820 55%, #1a1218 100%);
  color: #fff;
  text-align: center;
}

.mh-studio h2 {
  color: #fff !important;
  text-align: center !important;
  font-size: clamp(1.4rem, 2.6vw, 1.8rem) !important;
  margin: 0 0 1rem !important;
}

.mh-studio__addr {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.85rem !important;
  color: #ffd6f5 !important;
  font-weight: 600 !important;
}

.mh-studio__text {
  margin: 0 auto 1.75rem !important;
  max-width: 34em;
  color: rgba(255, 255, 255, 0.78) !important;
}

.mh-studio .mh-hero__cta {
  justify-content: center;
}

/* ===== VOICES ===== */
.mh-voices {
  padding: var(--mh-space) 0;
  background: var(--mh-paper);
}

.mh-voices__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.mh-voice {
  margin: 0;
  padding: 1.75rem 1.5rem;
  background: var(--mh-mist);
  border-radius: 24px;
  border: 1px solid var(--mh-line);
}

.mh-voice blockquote {
  margin: 0 0 1.4rem;
  font-family: var(--mh-serif);
  font-size: 1.05rem;
  font-weight: 500;
  font-style: italic;
  line-height: 1.4;
  color: var(--mh-ink);
}

.mh-voice figcaption {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.mh-voice img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.mh-voice span {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--mh-soft);
}

.mh-voices__more {
  text-align: center;
  margin: 2.25rem 0 0;
}

@media (max-width: 900px) {
  .mh-voices__grid {
    grid-template-columns: 1fr;
  }
}

/* ===== CONTACT ===== */
.mh-contact {
  padding: var(--mh-space) 0;
  background: var(--mh-sand);
}

.mh-contact__inner {
  max-width: 640px;
}

.mh-form {
  background: var(--mh-paper);
  border: 1px solid var(--mh-line);
  border-radius: 28px;
  padding: clamp(1.4rem, 3vw, 2.2rem);
}

.mh-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.mh-form__full {
  margin-top: 0.85rem;
}

.mh-form .uk-input,
.mh-form .uk-textarea {
  width: 100%;
  border-radius: 14px !important;
  border: 1px solid #ddd3cb !important;
  background: #fff !important;
  min-height: 48px;
  font-family: var(--mh-sans) !important;
}

.mh-form .uk-input:focus,
.mh-form .uk-textarea:focus {
  border-color: var(--mh-rose) !important;
  box-shadow: 0 0 0 3px rgba(232, 111, 212, 0.15) !important;
}

.mh-form__check {
  display: block;
  margin: 1rem 0 1.15rem;
  color: var(--mh-muted);
  font-size: 0.92rem;
}

@media (max-width: 640px) {
  .mh-form__grid {
    grid-template-columns: 1fr;
  }
  .mh-hero__cta .mh-btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mh-reveal,
  .mh-marquee__track,
  .mh-hero__media video,
  .mh-hero__scroll span {
    animation: none !important;
  }
}
