/* Home (Views/Home/Index.cshtml). Tokens and shared components come from tokens.css + platform.css;
   scroll effects (data-reveal, data-split, data-clip, data-parallax…) from js/effects.js. */

/* ── Hero ── */
.hm-hero {
    position: relative;
    /* runs under the floating navbar */
    margin-top: calc(-1 * (var(--ec-nav-h) + var(--ec-nav-top) * 2));
    padding: calc(var(--ec-nav-h) + var(--ec-nav-top) * 2 + clamp(2.5rem, 1rem + 5vw, 5.5rem)) 0 clamp(3rem, 2rem + 4vw, 5rem);
    overflow: hidden;
}
.hm-hero__glow {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(48% 60% at 88% 18%, rgba(232, 76, 136, 0.22) 0%, transparent 70%),
        radial-gradient(40% 55% at 6% 30%, rgba(242, 167, 195, 0.32) 0%, transparent 70%),
        radial-gradient(50% 50% at 60% 100%, rgba(253, 220, 200, 0.45) 0%, transparent 70%),
        linear-gradient(180deg, var(--ec-blush) 0%, var(--ec-bg) 100%);
}
.hm-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    align-items: center;
    gap: clamp(2.5rem, 1rem + 4vw, 4.5rem);
}
.hm-hero__title {
    margin: 0 0 1.25rem;
    font-size: var(--ec-fs-hero);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.04em;
}
.hm-hero__title em { font-size: 1.08em; }
.hm-hero__lead {
    max-width: 34rem;
    margin: 0;
    color: var(--ec-ink-2);
    font-size: var(--ec-fs-md);
}
.hm-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 2.25rem 0 2rem;
}
.hm-hero__checks {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 1.4rem;
    margin: 0;
    padding: 0;
    list-style: none;
    color: var(--ec-ink-2);
    font-size: var(--ec-fs-sm);
    font-weight: 500;
}
.hm-hero__checks i {
    display: inline-grid;
    place-items: center;
    width: 1.3rem;
    height: 1.3rem;
    margin-right: 0.35rem;
    border-radius: 50%;
    background: var(--ec-rose-soft);
    color: var(--ec-rose-deep);
    font-size: 0.62rem;
}

/* Stage: real templates + moments from the couple's day */
.hm-stage {
    position: relative;
    aspect-ratio: 1.12;
    max-width: 640px;
    width: 100%;
    margin-left: auto;
}
.hm-stage img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }

.hm-browser {
    position: absolute;
    z-index: 2;
    top: 15%;
    left: 7%;
    right: 5%;
    overflow: hidden;
    border-radius: 18px;
    background: var(--ec-surface);
    box-shadow: var(--ec-shadow-lg);
}
.hm-browser img { aspect-ratio: 16 / 10; height: auto; }
.hm-browser__bar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    height: 34px;
    padding: 0 0.8rem;
    border-bottom: 1px solid var(--ec-line);
    background: var(--ec-surface);
}
.hm-browser__dots { display: flex; gap: 5px; }
.hm-browser__dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--ec-rose-soft); }
.hm-browser__dots i:nth-child(2) { background: var(--ec-peach); }
.hm-browser__dots i:nth-child(3) { background: var(--ec-lilac-deep); }
.hm-browser__url {
    flex: 1;
    max-width: 260px;
    margin: 0 auto;
    padding: 0.2rem 0.75rem;
    border-radius: var(--ec-radius-pill);
    background: var(--ec-surface-2);
    color: var(--ec-ink-3);
    font-size: 0.7rem;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.hm-browser__url i { font-size: 0.6rem; margin-right: 0.25rem; }

.hm-stage__card {
    position: absolute;
    width: 50%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border: 5px solid var(--ec-surface);
    border-radius: 16px;
    box-shadow: var(--ec-shadow-md);
}
.hm-stage__card--back-left { top: 0; left: -1%; transform: rotate(-7deg); }
.hm-stage__card--back-right { right: -2%; bottom: 5%; z-index: 1; transform: rotate(6deg); }

/* Chips: the wrapper moves with the scroll (parallax), the chip itself floats */
.hm-chip-wrap { position: absolute; z-index: 3; }
.hm-chip-wrap--gift { top: 7%; right: -3%; }
.hm-chip-wrap--rsvp { top: 56%; left: -6%; }
.hm-chip-wrap--count { bottom: 0; left: 18%; }
.hm-chip {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.6rem 0.85rem 0.6rem 0.6rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: var(--ec-shadow-lg);
    font-size: 0.8rem;
    line-height: 1.25;
    white-space: nowrap;
    animation: hm-float 6s ease-in-out infinite alternate;
}
.hm-chip-wrap--gift .hm-chip { animation-delay: -2s; }
.hm-chip-wrap--count .hm-chip { animation-delay: -4s; }
.hm-chip strong { display: block; color: var(--ec-ink); font-weight: 700; }
.hm-chip small { display: block; color: var(--ec-ink-3); font-size: 0.72rem; }

.hm-chip__avatar,
.hm-chip__icon {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 50%;
    background: var(--ec-rose-soft);
    color: var(--ec-rose-deep);
    font-weight: 700;
}
.hm-chip__icon { border-radius: 12px; background: var(--ec-champagne-soft); color: var(--ec-champagne); }
.hm-chip__ok {
    display: grid;
    place-items: center;
    width: 1.35rem;
    height: 1.35rem;
    margin-left: 0.2rem;
    border-radius: 50%;
    background: var(--ec-ok);
    color: var(--ec-white);
    font-size: 0.6rem;
}
.hm-chip__date {
    display: grid;
    place-items: center;
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 12px;
    background: var(--ec-rose);
    color: var(--ec-white);
    font-size: 0.55rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1;
}
.hm-chip__date b { font-size: 0.95rem; letter-spacing: -0.02em; }

@keyframes hm-float {
    from { transform: translateY(0); }
    to { transform: translateY(-10px); }
}

/* Hero entrance: the back cards slide in from behind the browser */
.ec-js .hm-hero .hm-stage__card { transition: translate 1.2s var(--ec-ease) 0.5s, opacity 1s var(--ec-ease) 0.5s; }
.ec-js .hm-hero:not(.is-in) .hm-stage__card--back-left { translate: 30% 25%; opacity: 0; }
.ec-js .hm-hero:not(.is-in) .hm-stage__card--back-right { translate: -30% -20%; opacity: 0; }
.ec-js .hm-hero .hm-chip-wrap { transition: opacity 0.8s var(--ec-ease) 1s; }
.ec-js .hm-hero:not(.is-in) .hm-chip-wrap { opacity: 0; }

/* ── Statement (words light up with the scroll) ── */
.hm-statement { padding: clamp(3rem, 2rem + 4vw, 6rem) 0 clamp(1rem, 0.5rem + 2vw, 2rem); }
.hm-statement p {
    max-width: 980px;
    margin: 0 auto;
    font-size: clamp(1.7rem, 1.1rem + 2.6vw, 3.2rem);
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: -0.03em;
    text-align: center;
}
.hm-statement em { font-family: var(--ec-serif); font-style: italic; font-weight: 400; }

/* ── Features bento ── */
.hm-bento {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 1.25rem;
}
.hm-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    min-height: 380px;
    padding: clamp(1.5rem, 1rem + 1.5vw, 2.25rem);
    overflow: hidden;
    border-radius: var(--ec-radius-xl);
    box-shadow: inset 0 0 0 1px var(--ec-line);
}
.hm-tile--site { grid-column: span 7; flex-direction: row; background: linear-gradient(160deg, var(--ec-rose-tint) 0%, var(--ec-blush) 100%); }
.hm-tile--rsvp { grid-column: span 5; background: linear-gradient(160deg, var(--ec-sage-soft) 0%, var(--ec-sage-mist) 100%); }
.hm-tile--tables { grid-column: span 5; background: linear-gradient(160deg, var(--ec-peach) 0%, var(--ec-peach-mist) 100%); }
.hm-tile--gifts { grid-column: span 7; flex-direction: row; background: linear-gradient(160deg, var(--ec-rose-soft) 0%, var(--ec-rose-wash) 100%); }

.hm-tile__text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.7rem;
    flex: 1 1 0;
    min-width: 0;
}
.hm-tile--rsvp .hm-tile__text,
.hm-tile--tables .hm-tile__text { flex: 0 0 auto; }
.hm-tile h3 { margin: 0; font-size: clamp(1.3rem, 1.15rem + 0.5vw, 1.6rem); }
.hm-tile p { margin: 0; color: var(--ec-ink-2); font-size: 0.95rem; }
.hm-tile .btn { margin-top: auto; }
.hm-tile--rsvp .btn,
.hm-tile--tables .btn { margin-top: 0.5rem; }

.hm-tile__visual { flex: 1 1 0; min-width: 0; }

.hm-mini-browser {
    align-self: flex-end;
    overflow: hidden;
    border-radius: 16px;
    background: var(--ec-surface);
    box-shadow: var(--ec-shadow-lg);
    transform: rotate(-3deg);
    transition: transform 0.6s var(--ec-ease);
}
.hm-tile--site .hm-mini-browser { flex: 0 0 62%; margin: auto -6rem -5rem 0; }
.hm-mini-browser .hm-browser__bar { height: 26px; }
.hm-mini-browser img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.hm-tile--site:hover .hm-mini-browser { transform: rotate(-1deg) translateY(-6px); }

.hm-mock {
    align-self: stretch;
    padding: 0.9rem 1rem;
    border-radius: 20px;
    background: var(--ec-surface);
    box-shadow: var(--ec-shadow-md);
    font-size: 0.85rem;
}
.hm-tile--gifts .hm-mock { align-self: center; }
.hm-mock__head { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; padding-bottom: 0.5rem; }
.hm-mock__row {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.6rem 0;
    border-top: 1px solid var(--ec-line);
    color: var(--ec-ink);
    font-weight: 500;
}
.hm-mock__row small { display: block; color: var(--ec-ink-3); font-size: 0.74rem; font-weight: 500; }
.hm-mock__row .hm-badge { margin-left: auto; }
.hm-mock__row--add { color: var(--ec-ink-3); }

.hm-badge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: var(--ec-radius-pill);
    font-size: 0.7rem;
    font-weight: 600;
    white-space: nowrap;
}
.hm-badge--ok { background: var(--ec-ok-soft); color: var(--ec-ok-text); }
.hm-badge--wait { background: var(--ec-warn-soft); color: var(--ec-warn-text); }
.hm-badge--rose { background: var(--ec-rose-soft); color: var(--ec-rose-deep); }

.hm-dot,
.hm-gift {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: var(--ec-blush);
    color: var(--ec-rose-deep);
    font-size: 0.75rem;
    font-weight: 700;
}
.hm-gift { width: 2.3rem; height: 2.3rem; border-radius: 12px; }
.hm-gift--add { background: transparent; border: 1.5px dashed var(--ec-line-strong); color: var(--ec-ink-3); }

.hm-mock--tables {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.6rem;
    padding: 0;
    background: none;
    box-shadow: none;
}
.hm-table {
    padding: 0.9rem 0.5rem;
    border-radius: 18px;
    background: var(--ec-surface);
    box-shadow: var(--ec-shadow-sm);
    text-align: center;
}
.hm-table b { display: block; font-size: 0.82rem; }
.hm-table--on { box-shadow: inset 0 0 0 2px var(--ec-rose), var(--ec-shadow-md); transform: translateY(-6px); }
.hm-seats {
    display: grid;
    grid-template-columns: repeat(3, 12px);
    justify-content: center;
    gap: 5px;
    margin-top: 0.6rem;
}
.hm-seats i { width: 12px; height: 12px; border-radius: 50%; background: var(--ec-champagne); }
.hm-seats i.off { background: var(--ec-line-strong); }

.hm-included {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
    margin: 2.25rem 0 0;
    padding: 0;
    list-style: none;
}
.hm-included li {
    padding: 0.55rem 1rem;
    border-radius: var(--ec-radius-pill);
    background: var(--ec-surface);
    box-shadow: inset 0 0 0 1px var(--ec-line);
    color: var(--ec-ink-2);
    font-size: 0.88rem;
    font-weight: 500;
}
.hm-included i { margin-right: 0.35rem; color: var(--ec-rose); }

/* ── Templates carousel: starts at the container edge and bleeds to the right of the screen ── */
.hm-templates { padding-top: 0; overflow: hidden; }
.hm-templates__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2rem;
}
.hm-templates__head .ec-title { margin-top: 0; }
.hm-templates__head .ec-lead { max-width: 36rem; }

.hm-carousel__nav { display: flex; gap: 0.5rem; flex: 0 0 auto; }
.hm-carousel {
    --hm-edge: max(var(--ec-gutter), calc((100vw - var(--ec-container)) / 2));
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-left: var(--hm-edge);
    scrollbar-width: none;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
}
.hm-carousel::-webkit-scrollbar { display: none; }
.hm-carousel.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.hm-carousel.is-dragging .hm-template__open { pointer-events: none; }
.hm-carousel__track {
    display: flex;
    gap: 1.25rem;
    width: max-content;
    margin: 0;
    padding: 0.75rem var(--hm-edge) 1.5rem;
    list-style: none;
}
.hm-template { flex: 0 0 auto; width: clamp(250px, 16vw + 110px, 350px); scroll-snap-align: start; }
.hm-template__open {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    text-align: left;
    cursor: inherit;
}
.hm-template__shot {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 20px;
    background: var(--ec-blush);
    box-shadow: var(--ec-shadow-md);
    transition: box-shadow 0.5s var(--ec-ease), transform 0.6s var(--ec-ease);
}
.hm-template__shot img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.8s var(--ec-ease);
    -webkit-user-drag: none;
}
.hm-template__zoom {
    position: absolute;
    left: 50%;
    bottom: 1rem;
    padding: 0.5rem 0.95rem;
    border-radius: var(--ec-radius-pill);
    background: rgba(255, 255, 255, 0.94);
    color: var(--ec-rose-deep);
    font-size: 0.82rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    transform: translate(-50%, 8px);
    transition: opacity 0.35s var(--ec-ease), transform 0.45s var(--ec-ease);
}
.hm-template__zoom i { margin-right: 0.3rem; }
.hm-template__open:hover .hm-template__shot,
.hm-template__open:focus-visible .hm-template__shot { box-shadow: 0 0 0 3px var(--ec-rose), var(--ec-shadow-lg); transform: translateY(-4px); }
.hm-template__open:hover img { transform: scale(1.05); }
.hm-template__open:hover .hm-template__zoom,
.hm-template__open:focus-visible .hm-template__zoom { opacity: 1; transform: translate(-50%, 0); }
.hm-template__open:focus-visible { outline: none; }
.hm-template__caption { display: block; padding: 0.95rem 0.2rem 0; }
.hm-template__caption strong { display: block; font-size: 1.05rem; }
.hm-template__caption > span { display: block; color: var(--ec-ink-3); font-size: 0.88rem; line-height: 1.45; }

/* ── Pix band (dark rose) ── */
.hm-pix {
    --clip-r: var(--ec-radius-xl);
    margin: var(--ec-section) var(--ec-gutter) 0;
    padding: var(--ec-section) 0;
    border-radius: var(--ec-radius-xl);
    background:
        linear-gradient(115deg, rgba(74, 15, 43, 0.95) 0%, rgba(140, 29, 80, 0.86) 50%, rgba(194, 58, 114, 0.6) 100%),
        var(--hm-pix-photo) center / cover no-repeat,
        var(--ec-wine);
    color: var(--ec-on-dark);
}
.hm-pix__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: center;
    gap: clamp(2.5rem, 1rem + 4vw, 4.5rem);
}
.hm-pix h2 { margin: 0 0 1rem; color: var(--ec-on-dark); font-size: var(--ec-fs-xl); }
.hm-pix h2 em { color: var(--ec-rose-pale); }
.hm-pix p { max-width: 32rem; margin: 0; color: var(--ec-on-dark-2); font-size: var(--ec-fs-md); }
.hm-pix__items { display: grid; gap: 0.9rem; margin-top: 2rem; }
.hm-pix__item {
    display: flex;
    gap: 1rem;
    padding: 1rem 1.15rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}
.hm-pix__item > i {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 50%;
    background: rgba(255, 194, 218, 0.22);
    color: var(--ec-rose-mist);
}
.hm-pix__item strong { display: block; color: var(--ec-on-dark); }
.hm-pix__item span { display: block; color: var(--ec-on-dark-2); font-size: 0.9rem; }
.hm-pix__media img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border: 6px solid rgba(255, 255, 255, 0.92);
    border-radius: var(--ec-radius-l);
    box-shadow: 0 30px 60px -25px rgba(0, 0, 0, 0.55);
    transform: rotate(2.5deg);
}

/* ── Suppliers: full-width band ── */
.hm-suppliers {
    position: relative;
    margin-top: var(--ec-section);
    padding: var(--ec-section) 0;
    overflow: hidden;
    background:
        radial-gradient(45% 70% at 92% 30%, rgba(232, 76, 136, 0.20) 0%, transparent 70%),
        radial-gradient(40% 60% at 0% 100%, rgba(253, 220, 200, 0.6) 0%, transparent 70%),
        linear-gradient(180deg, var(--ec-rose-soft) 0%, var(--ec-blush) 100%);
}
.hm-suppliers__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(2.5rem, 1rem + 5vw, 5.5rem);
}
.hm-suppliers__tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.95rem;
    border-radius: var(--ec-radius-pill);
    background: var(--ec-rose);
    color: var(--ec-white);
    font-size: var(--ec-fs-sm);
    font-weight: 700;
    box-shadow: var(--ec-shadow-rose);
}
.hm-suppliers h2 { margin: 1.25rem 0 1rem; font-size: clamp(2.1rem, 1.3rem + 3vw, 3.6rem); line-height: 1.04; letter-spacing: -0.035em; }
.hm-suppliers p { max-width: 34rem; margin: 0; color: var(--ec-ink-2); font-size: var(--ec-fs-md); }
.hm-suppliers__list { display: grid; gap: 0.75rem; margin: 1.75rem 0 2.25rem; padding: 0; list-style: none; }
.hm-suppliers__list li { display: flex; align-items: center; gap: 0.85rem; color: var(--ec-ink-2); }
.hm-suppliers__list strong { color: var(--ec-ink); }
.hm-suppliers__list i {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 12px;
    background: var(--ec-surface);
    color: var(--ec-rose);
    box-shadow: var(--ec-shadow-sm);
}
.hm-suppliers__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.hm-supplier-mock { position: relative; max-width: 520px; width: 100%; margin-left: auto; padding: 2.5rem 0 3rem; }
.hm-profile {
    overflow: hidden;
    border-radius: 28px;
    background: var(--ec-surface);
    box-shadow: var(--ec-shadow-lg);
    transform: rotate(-2deg);
}
.hm-profile__cover { aspect-ratio: 16 / 9; overflow: hidden; }
.hm-profile__cover img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hm-profile__body { display: flex; align-items: center; gap: 0.8rem; padding: 1.1rem 1.25rem 0.6rem; }
.hm-profile__logo {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 3rem;
    height: 3rem;
    margin-top: -2.2rem;
    border: 4px solid var(--ec-surface);
    border-radius: 16px;
    background: var(--ec-rose);
    color: var(--ec-white);
    font-size: 1.1rem;
}
.hm-profile__body strong { display: block; font-size: 1.02rem; }
.hm-profile__body small { display: block; color: var(--ec-ink-3); font-size: 0.8rem; }
.hm-profile__rating {
    margin-left: auto;
    padding: 0.3rem 0.65rem;
    border-radius: var(--ec-radius-pill);
    background: var(--ec-champagne-soft);
    color: var(--ec-champagne);
    font-size: 0.82rem;
    font-weight: 700;
}
.hm-profile__tags { display: flex; flex-wrap: wrap; gap: 0.4rem; padding: 0.4rem 1.25rem 1.25rem; }
.hm-profile__tags span { padding: 0.25rem 0.7rem; border-radius: var(--ec-radius-pill); background: var(--ec-blush); color: var(--ec-rose-deep); font-size: 0.75rem; font-weight: 600; }

.hm-bubble {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    gap: 0.6rem;
    max-width: 290px;
}
.hm-bubble p {
    margin: 0;
    padding: 0.75rem 1rem;
    border-radius: 18px;
    background: var(--ec-surface);
    box-shadow: var(--ec-shadow-lg);
    color: var(--ec-ink);
    font-size: 0.85rem;
    line-height: 1.4;
}
.hm-bubble p strong { display: block; color: var(--ec-rose-deep); font-size: 0.75rem; }
.hm-bubble--in { left: -12%; top: 40%; }
.hm-bubble .hm-chip__avatar { background: var(--ec-surface); box-shadow: var(--ec-shadow-md); }
.hm-bubble--in p { border-bottom-left-radius: 6px; }
.hm-bubble--out { right: -6%; bottom: -0.5rem; }
.hm-bubble--out p { border-bottom-right-radius: 6px; background: var(--ec-rose); color: var(--ec-white); }
.hm-stat {
    position: absolute;
    z-index: 2;
    top: 0;
    right: -4%;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.65rem 0.95rem 0.65rem 0.65rem;
    border-radius: 18px;
    background: var(--ec-surface);
    box-shadow: var(--ec-shadow-lg);
    font-size: 0.8rem;
    line-height: 1.25;
}
.hm-stat i {
    display: grid;
    place-items: center;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 12px;
    background: var(--ec-ok-soft);
    color: var(--ec-ok);
}
.hm-stat strong { display: block; color: var(--ec-ink); }
.hm-stat small { display: block; color: var(--ec-ink-3); font-size: 0.72rem; }

/* ── Testimonials ── */
.hm-testimonials__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
}
.hm-quote {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.75rem;
    border-radius: var(--ec-radius-l);
    background: var(--ec-surface);
    box-shadow: var(--ec-shadow-sm);
    color: var(--ec-ink);
    text-decoration: none;
    transition: transform 0.5s var(--ec-ease), box-shadow var(--ec-dur);
}
.hm-quote:hover { color: var(--ec-ink); transform: translateY(-4px); box-shadow: var(--ec-shadow-md); }
.hm-quote__stars { display: flex; gap: 0.2rem; color: var(--ec-champagne); font-size: 0.85rem; }
.hm-quote blockquote { margin: 0; font-size: 1.02rem; line-height: 1.55; }
.hm-quote__author { margin: auto 0 0; color: var(--ec-ink-3); font-size: 0.9rem; font-weight: 600; }

/* ── Final CTA ── */
.hm-cta__card {
    padding: clamp(3rem, 2rem + 4vw, 5.5rem) var(--ec-gutter);
    border-radius: var(--ec-radius-xl);
    background:
        radial-gradient(50% 90% at 0% 100%, rgba(232, 76, 136, 0.2) 0%, transparent 70%),
        radial-gradient(50% 90% at 100% 0%, rgba(242, 167, 195, 0.4) 0%, transparent 70%),
        var(--ec-blush);
    text-align: center;
}
.hm-cta h2 { max-width: 18ch; margin: 0 auto; font-size: var(--ec-fs-xl); }
.hm-cta p { max-width: 34rem; margin: 1rem auto 2rem; color: var(--ec-ink-2); font-size: var(--ec-fs-md); }
.hm-cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; }

/* ── Responsive ── */
@media (max-width: 991.98px) {
    .hm-hero__grid { grid-template-columns: 1fr; }
    .hm-hero__copy { text-align: center; }
    .hm-hero__lead { margin: 0 auto; }
    .hm-hero__actions,
    .hm-hero__checks { justify-content: center; }
    .hm-stage { margin: 0 auto; max-width: 560px; }

    .hm-tile--site,
    .hm-tile--rsvp,
    .hm-tile--tables,
    .hm-tile--gifts { grid-column: span 12; }

    .hm-pix__grid,
    .hm-suppliers__grid { grid-template-columns: 1fr; }
    .hm-pix__media { max-width: 520px; }
    .hm-supplier-mock { margin: 0 auto; }
}

@media (max-width: 767.98px) {
    .hm-tile--site,
    .hm-tile--gifts { flex-direction: column; }
    .hm-tile--gifts .hm-tile__text { order: 2; }
    .hm-tile { min-height: 0; }
    .hm-tile--site .hm-mini-browser { flex: none; margin: 0 -3rem -3.5rem 0; }

    .hm-templates__head { flex-direction: column; align-items: flex-start; gap: 1rem; }
    .hm-carousel__nav { display: none; }

    .hm-bubble--in { left: -2%; }
    .hm-bubble--out { right: 0; }
    .hm-stat { right: 0; }
}

@media (max-width: 575.98px) {
    .hm-hero__actions .btn { width: 100%; }
    .hm-hero__checks { flex-direction: column; align-items: center; gap: 0.5rem; }
    .hm-stage { aspect-ratio: 1; margin-top: 0.5rem; }
    .hm-browser { top: 18%; left: 4%; right: 4%; }
    .hm-stage__card { width: 58%; }
    .hm-chip { font-size: 0.72rem; padding: 0.5rem 0.7rem 0.5rem 0.5rem; }
    .hm-chip small { font-size: 0.66rem; }
    .hm-chip__avatar, .hm-chip__icon { width: 1.9rem; height: 1.9rem; }
    .hm-chip-wrap--gift { top: 2%; right: 0; }
    .hm-chip-wrap--rsvp { top: auto; bottom: 18%; left: 0; }
    .hm-chip-wrap--count { bottom: 0; left: auto; right: 2%; }
    .hm-pix { margin-left: 0.5rem; margin-right: 0.5rem; }
    .hm-suppliers__actions .btn { width: 100%; }
    .hm-bubble { max-width: 230px; }
}
