/*
 * The Mi Vida Experience — page-mi-vida-experience.php.
 *
 * Standalone: loaded *instead of* main.css. Mi Vida brand: Mi Vida plum (the
 * logo colour) as the dark primary with Mi Vida gold, Mark Pro throughout.
 * Stage badges follow the brief: green Completed, amber Under Construction,
 * dark (plum, in place of the brief's navy) Off-Plan, grey Coming Soon.
 * Also styles the shared landing parts it uses (webinar-header, footer).
 */

/* ----------------------------------------------------------------- Fonts -- */

@font-face {
    font-family: "Mark Pro";
    src: url("../fonts/MarkPro-Light.woff2") format("woff2");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Mark Pro";
    src: url("../fonts/MarkPro.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Mark Pro";
    src: url("../fonts/MarkPro-Bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ---------------------------------------------------------------- Tokens -- */

:root {
    --mve-plum: #52283B;
    --mve-plum-deep: #3A1B29;
    --mve-plum-ink: #2A121F;
    --mve-gold: #FDC533;
    --mve-cream: #F7F3EE;
    --mve-sand: #EDE4D8;
    --mve-ink: #2B2326;
    --mve-muted: #6B5F64;
    --mve-line: rgba(82, 40, 59, 0.16);
    --mve-error: #B3261E;
    --mve-green: #1F6B45;
    --mve-amber: #B86E00;
    --mve-grey: #6E6A6C;
    --mve-font: "Mark Pro", Helvetica, Arial, sans-serif;
    --mve-header-h: 76px;
    --mve-sticky-h: 72px;
    --mve-radius: 16px;
}

/* ------------------------------------------------------------------ Base -- */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--mve-header-h) + 16px);
    -webkit-text-size-adjust: 100%;
}

body.mi-vida-experience-landing-page {
    margin: 0;
    padding-bottom: var(--mve-sticky-h);
    background: var(--mve-cream);
    color: var(--mve-ink);
    font-family: var(--mve-font);
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

.mi-vida-experience-landing-page img,
.mi-vida-experience-landing-page video {
    display: block;
    max-width: 100%;
    height: auto;
}

/* :where() keeps the resets at zero specificity so component classes win. */
.mi-vida-experience-landing-page :where(h1, h2, h3, p, ul, ol, figure) {
    margin: 0;
}

.mi-vida-experience-landing-page :where(ul, ol) {
    padding: 0;
    list-style: none;
}

.mi-vida-experience-landing-page :where(a) {
    color: inherit;
}

.mi-vida-experience-landing-page :focus-visible {
    outline: 3px solid var(--mve-gold);
    outline-offset: 3px;
}

.svg_hidden {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.wrap {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.mve_icon {
    width: 24px;
    height: 24px;
    flex: 0 0 auto;
}

.mve_icon--lg {
    width: 40px;
    height: 40px;
}

/* -------------------------------------------------------------- Header -- */

.mi-vida-experience-landing-page .header {
    position: sticky;
    top: 0;
    z-index: 50;
    height: var(--mve-header-h);
    background: #fff;
    border-bottom: 1px solid var(--mve-line);
}

.mi-vida-experience-landing-page .header .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: 16px;
}

.mi-vida-experience-landing-page .mivida_logo img {
    width: 150px;
    height: auto;
}

.mi-vida-experience-landing-page .header_cta {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 22px;
    border-radius: 999px;
    background: var(--mve-plum);
    color: var(--mve-gold);
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: background 0.2s;
}

.mi-vida-experience-landing-page .header_cta:hover {
    background: var(--mve-plum-deep);
}

/* ------------------------------------------------------------- Buttons -- */

.mve_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 30px;
    border: 0;
    border-radius: 999px;
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s, color 0.2s;
}

.mve_btn:hover {
    transform: translateY(-1px);
}

.mve_btn--gold {
    background: var(--mve-gold);
    color: var(--mve-plum-ink);
}

.mve_btn--gold:hover {
    background: #FFD45C;
}

/* The brief's primary style: dark brand colour with gold text. */
.mve_btn--plum {
    background: var(--mve-plum);
    color: var(--mve-gold);
}

.mve_btn--plum:hover {
    background: var(--mve-plum-deep);
}

.mve_btn--outline {
    background: transparent;
    color: var(--mve-plum);
    box-shadow: inset 0 0 0 1.5px var(--mve-plum);
}

.mve_btn--outline:hover {
    background: var(--mve-plum);
    color: var(--mve-gold);
}

.mve_btn--block {
    width: 100%;
}

.mve_btn:disabled {
    opacity: 0.7;
    cursor: progress;
    transform: none;
}

.mve_link {
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.mve_link--light {
    color: #fff;
}

.mve_link--light:hover {
    color: var(--mve-gold);
}

/* ---------------------------------------------------------- Typography -- */

.mve_eyebrow {
    margin-bottom: 12px;
    color: var(--mve-plum);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.mve_eyebrow--gold {
    color: var(--mve-gold);
}

.mve_title {
    max-width: 780px;
    color: var(--mve-plum-ink);
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.01em;
}

.mve_title span {
    color: var(--mve-plum);
}

.mve_title--light {
    color: #fff;
}

.mve_title--light span {
    color: var(--mve-gold);
}

.mve_lead {
    color: var(--mve-plum-ink);
    font-size: 20px;
    line-height: 1.55;
}

.mve_section {
    padding: 96px 0;
}

/* ---------------------------------------------------------------- Hero -- */

.mve_hero {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: min(820px, calc(100vh - var(--mve-header-h)));
    color: #fff;
    background: var(--mve-plum-ink);
    overflow: hidden;
}

.mve_hero_media img,
.mve_hero_video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
}

.mve_hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(42, 18, 31, 0.88) 0%, rgba(42, 18, 31, 0.6) 45%, rgba(42, 18, 31, 0.1) 100%),
        linear-gradient(0deg, rgba(42, 18, 31, 0.6) 0%, rgba(42, 18, 31, 0) 40%);
}

.mve_hero .wrap {
    position: relative;
    z-index: 2;
}

.mve_hero_content {
    max-width: 660px;
    padding: 120px 0 64px;
}

.mve_hero_title {
    font-size: clamp(42px, 6vw, 76px);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -0.02em;
}

.mve_hero_title span {
    color: var(--mve-gold);
}

.mve_hero_lead {
    margin-top: 20px;
    font-size: clamp(20px, 2.2vw, 26px);
    line-height: 1.35;
}

.mve_hero_text {
    margin-top: 16px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 300;
}

.mve_actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 28px;
    margin-top: 36px;
}

/* Top corner: the bottom-right one belongs to the WhatsApp widget. */
.mve_hero_toggle {
    position: absolute;
    top: 24px;
    right: 24px;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    background: rgba(42, 18, 31, 0.4);
    color: #fff;
    cursor: pointer;
}

.mve_hero_toggle .mve_icon--play,
.mve_hero_toggle.is-paused .mve_icon--pause {
    display: none;
}

.mve_hero_toggle.is-paused .mve_icon--play {
    display: block;
}

.mve_trust {
    position: relative;
    z-index: 2;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(42, 18, 31, 0.55);
    backdrop-filter: blur(6px);
}

.mve_trust_list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mve_trust_list li {
    padding: 22px 16px;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
}

.mve_trust_list li + li {
    border-left: 1px solid rgba(255, 255, 255, 0.18);
}

/* ----------------------------------------------------------- About -- */

.mve_about_grid {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 64px;
}

.mve_about_copy {
    display: grid;
    gap: 18px;
}

.mve_gift {
    padding-left: 18px;
    border-left: 3px solid var(--mve-gold);
    color: var(--mve-muted);
    font-style: italic;
}

/* ------------------------------------------------------- Developments -- */

.mve_developments {
    background: #fff;
}

.mve_filter {
    margin-top: 40px;
}

.mve_filter_title {
    margin-bottom: 16px;
    color: var(--mve-plum-ink);
    font-size: 20px;
}

.mve_filter_tabs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.mve_filter_tab {
    display: grid;
    gap: 4px;
    padding: 16px 18px;
    border: 1.5px solid var(--mve-line);
    border-radius: 12px;
    background: var(--mve-cream);
    color: var(--mve-ink);
    font-family: inherit;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}

.mve_filter_tab strong {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--mve-plum-ink);
    font-size: 16px;
}

.mve_filter_tab > span {
    color: var(--mve-muted);
    font-size: 14px;
    line-height: 1.45;
}

.mve_filter_tab:hover {
    border-color: var(--mve-plum);
}

.mve_filter_tab.is-active {
    border-color: var(--mve-plum);
    background: var(--mve-plum);
}

.mve_filter_tab.is-active strong {
    color: var(--mve-gold);
}

.mve_filter_tab.is-active > span {
    color: rgba(255, 255, 255, 0.85);
}

/* The active stage's description: phones only, where the chips are too
   small to carry it. */
.mve_filter_desc {
    display: none;
    margin-top: 12px;
    color: var(--mve-muted);
    font-size: 14px;
}

.mve_dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.mve_dot--completed { background: var(--mve-green); }
.mve_dot--construction { background: var(--mve-amber); }
.mve_dot--offplan { background: var(--mve-plum); box-shadow: 0 0 0 1.5px #fff; }

.mve_cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    margin-top: 32px;
}

.mve_card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--mve-line);
    border-radius: var(--mve-radius);
    background: var(--mve-cream);
}

.mve_card[hidden] {
    display: none;
}

.mve_card_media {
    position: relative;
}

.mve_card_media img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.mve_badges {
    position: absolute;
    top: 14px;
    left: 14px;
    right: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.mve_badge {
    padding: 5px 12px;
    border-radius: 999px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.4;
}

.mve_badge--completed { background: var(--mve-green); }
.mve_badge--construction { background: var(--mve-amber); }
.mve_badge--offplan { background: var(--mve-plum); }
.mve_badge--soon { background: var(--mve-grey); }

.mve_card_body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 8px;
    padding: 24px;
}

.mve_card_location {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--mve-muted);
    font-size: 14px;
}

.mve_card_location .mve_icon {
    width: 18px;
    height: 18px;
    color: var(--mve-plum);
}

.mve_card h3 {
    color: var(--mve-plum-ink);
    font-size: 22px;
    line-height: 1.25;
}

.mve_card_body > p:not(.mve_card_location) {
    flex: 1;
    color: var(--mve-muted);
    font-size: 15px;
}

.mve_card .mve_btn {
    align-self: flex-start;
    margin-top: 12px;
    min-height: 46px;
    padding: 0 24px;
    font-size: 15px;
}

/* Coming Soon: visibly greyed, per the brief. */
.mve_card--soon .mve_card_media img {
    filter: grayscale(1);
    opacity: 0.7;
}

.mve_card--soon {
    background: #F1EEEC;
}

.mve_cards_note {
    margin-top: 28px;
    color: var(--mve-muted);
}

.mve_cards_note a {
    color: var(--mve-plum);
    font-weight: 700;
    text-underline-offset: 4px;
}

/* ------------------------------------------------------------- Themes -- */

.mve_themes {
    background: var(--mve-plum);
    color: #fff;
}

.mve_themes_grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.mve_theme {
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: 100%;
    padding: 32px 28px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--mve-radius);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s;
}

.mve_theme:hover {
    border-color: var(--mve-gold);
    background: rgba(255, 255, 255, 0.1);
}

.mve_theme .mve_icon {
    color: var(--mve-gold);
}

.mve_theme h3 {
    margin-top: 8px;
    font-size: 22px;
    line-height: 1.25;
}

.mve_theme p {
    flex: 1;
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
}

.mve_theme_cta {
    color: var(--mve-gold);
    font-weight: 700;
    font-size: 15px;
}

.mve_theme_cta::after {
    content: " \2192";
}

/* ------------------------------------------------------------- Register -- */

.mve_register {
    background: var(--mve-sand);
}

.mve_register_grid {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 64px;
    align-items: start;
}

.mve_register_copy {
    position: sticky;
    top: calc(var(--mve-header-h) + 32px);
}

.mve_register_copy > p {
    margin-top: 20px;
    font-size: 18px;
}

.mve_register_list {
    display: grid;
    gap: 14px;
    margin-top: 32px;
}

.mve_register_list li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.mve_register_list .mve_icon {
    color: var(--mve-plum);
}

.mve_form_card {
    padding: 40px;
    border-radius: var(--mve-radius);
    background: #fff;
    box-shadow: 0 20px 50px rgba(42, 18, 31, 0.08);
}

.mve_form_title {
    margin-bottom: 24px;
    color: var(--mve-plum-ink);
    font-size: 26px;
    line-height: 1.25;
}

.mve_fieldset {
    margin: 0 0 12px;
    padding: 0;
    border: 0;
    min-width: 0;
}

.mve_fieldset > legend {
    width: 100%;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--mve-line);
    color: var(--mve-plum);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.mve_fieldset > legend span {
    color: var(--mve-muted);
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
}

.mve_form_card .form_group {
    margin: 0 0 20px;
    padding: 0;
    border: 0;
    min-width: 0;
}

.mve_form_card .form_group_label {
    display: block;
    margin-bottom: 6px;
    padding: 0;
    color: var(--mve-plum-ink);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
}

.mve_form_card abbr {
    color: var(--mve-plum);
    text-decoration: none;
}

.mve_form_card input[type="text"],
.mve_form_card input[type="email"],
.mve_form_card input[type="tel"],
.mve_form_card textarea,
.mve_form_card select {
    width: 100%;
    min-height: 52px;
    padding: 12px 16px;
    border: 1px solid rgba(43, 35, 38, 0.24);
    border-radius: 10px;
    background: #fff;
    color: var(--mve-ink);
    font-family: inherit;
    font-size: 16px; /* 16px stops iOS zooming into the field */
    line-height: 1.4;
    appearance: none;
}

.mve_form_card textarea {
    resize: vertical;
}

.mve_form_card input:focus,
.mve_form_card textarea:focus,
.mve_form_card select:focus {
    border-color: var(--mve-plum);
    outline: 2px solid rgba(82, 40, 59, 0.2);
    outline-offset: 0;
}

.mve_select {
    position: relative;
}

.mve_select::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 18px;
    width: 8px;
    height: 8px;
    margin-top: -6px;
    border-right: 2px solid var(--mve-plum);
    border-bottom: 2px solid var(--mve-plum);
    transform: rotate(45deg);
    pointer-events: none;
}

.mve_select select {
    padding-right: 44px;
}

.mve_phone {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 10px;
}

/* Native select stays full-size (so the OS picker opens) but is transparent;
   the visible "+254" badge sits beneath it. */
.mve_phone_country select {
    position: relative;
    z-index: 1;
    color: transparent;
    background: transparent;
}

.mve_phone_country select option {
    color: var(--mve-ink);
}

.mve_phone_dial {
    position: absolute;
    top: 50%;
    left: 16px;
    transform: translateY(-50%);
    font-weight: 700;
    pointer-events: none;
}

.mve_choice_options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.mve_pill {
    position: relative;
    flex: 1 1 0;
    min-width: 140px;
    cursor: pointer;
}

.mve_pill input {
    position: absolute;
    opacity: 0;
}

.mve_pill span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 10px 14px;
    border: 1.5px solid rgba(43, 35, 38, 0.24);
    border-radius: 10px;
    color: var(--mve-ink);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    transition: border-color 0.2s, background 0.2s;
}

.mve_pill:hover span {
    border-color: var(--mve-plum);
}

.mve_pill input:checked + span {
    border-color: var(--mve-plum);
    background: var(--mve-plum);
    color: var(--mve-gold);
}

.mve_pill input:focus-visible + span {
    outline: 3px solid var(--mve-gold);
    outline-offset: 2px;
}

.mve_hint {
    margin-top: 6px;
    color: var(--mve-muted);
    font-size: 13px;
    line-height: 1.5;
}

.mve_hint[hidden] {
    display: none;
}

.mve_reassure {
    margin-top: 14px;
    color: var(--mve-plum-ink);
    font-size: 14px;
    font-weight: 700;
    text-align: center;
}

.mve_privacy {
    margin-top: 14px;
    color: var(--mve-muted);
    font-size: 13px;
    line-height: 1.55;
}

/* Errors */

.mve_form_card input.error,
.mve_form_card textarea.error,
.mve_form_card .error > select,
.mve_choice.error .mve_pill span {
    border-color: var(--mve-error);
}

.mve_form_card label.error {
    display: block;
    margin-top: 6px;
    color: var(--mve-error);
    font-size: 14px;
    font-weight: 700;
}

.mve_notice {
    margin-bottom: 20px;
    padding: 14px 16px;
    border-left: 4px solid var(--mve-error);
    border-radius: 6px;
    background: #FBEAE9;
    color: var(--mve-error);
    font-weight: 700;
}

.mve_notice[hidden] {
    display: none;
}

/* Confirmation */

.mve_confirmation {
    padding: 16px 0;
    text-align: center;
}

.mve_confirmation_icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    color: var(--mve-plum);
}

.mve_confirmation p {
    color: var(--mve-muted);
}

.mve_confirmation .mve_btn {
    margin-top: 28px;
}

/* ----------------------------------------------------------------- Why -- */

.mve_why_grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.mve_why_item .mve_icon {
    color: var(--mve-plum);
}

.mve_why_item h3 {
    margin-top: 16px;
    color: var(--mve-plum-ink);
    font-size: 18px;
    line-height: 1.3;
}

.mve_why_item p {
    margin-top: 8px;
    color: var(--mve-muted);
    font-size: 15px;
}

/* ----------------------------------------------------------------- FAQ -- */

.mve_faq {
    background: #fff;
}

.mve_faq_grid {
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    gap: 64px;
}

.mve_faq_item {
    border-bottom: 1px solid var(--mve-line);
}

.mve_faq_item:first-child {
    border-top: 1px solid var(--mve-line);
}

.mve_faq_item summary {
    position: relative;
    padding: 22px 40px 22px 0;
    color: var(--mve-plum-ink);
    font-size: 18px;
    font-weight: 700;
    list-style: none;
    cursor: pointer;
}

.mve_faq_item summary::-webkit-details-marker {
    display: none;
}

.mve_faq_item summary::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 4px;
    color: var(--mve-plum);
    font-size: 26px;
    font-weight: 300;
    transform: translateY(-50%);
}

.mve_faq_item[open] summary::after {
    content: "\2212";
}

.mve_faq_item p {
    padding-bottom: 22px;
    color: var(--mve-muted);
}

/* ---------------------------------------------------------- Sticky bar -- */

/* Always on screen (desktop and mobile), except over the hero and while the
   form itself is in view, so it never sits over a field. */
.mve_sticky {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 40;
    min-height: var(--mve-sticky-h);
    padding: 10px 0;
    background: var(--mve-plum);
    color: #fff;
    box-shadow: 0 -6px 24px rgba(42, 18, 31, 0.2);
    transition: transform 0.3s ease;
}

.mve_sticky.is-hidden {
    transform: translateY(110%);
}

.mve_sticky .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

/* Clear the WhatsApp widget (scripts part), fixed bottom-right. */
@media (max-width: 1400px) {
    .mve_sticky .wrap {
        padding-right: 88px;
    }
}

.mve_sticky_text {
    font-size: 16px;
    line-height: 1.35;
}

.mve_sticky_text span {
    color: rgba(255, 255, 255, 0.8);
}

.mve_sticky .mve_btn {
    flex: 0 0 auto;
    min-height: 48px;
}

/* -------------------------------------------------------------- Footer -- */

.mi-vida-experience-landing-page .footer {
    padding: 28px 0;
    background: var(--mve-plum-ink);
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.mi-vida-experience-landing-page .footer .wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 32px;
}

.mi-vida-experience-landing-page .footer_left {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
}

.mi-vida-experience-landing-page .footer_left a {
    color: #fff;
    text-decoration: none;
}

.mi-vida-experience-landing-page .footer_left a:hover {
    color: var(--mve-gold);
}

/* The footer part's own sticky trigger is replaced by .mve_sticky. */
.mi-vida-experience-landing-page .mobile_scroll_trigger {
    display: none;
}

/* ---------------------------------------------------------- Responsive -- */

@media (max-width: 1080px) {
    .mve_cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mve_filter_tabs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mve_why_grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        row-gap: 40px;
    }

    .mve_register_grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
    }

    .mve_register_copy {
        position: static;
    }
}

@media (max-width: 860px) {
    .mve_section {
        padding: 72px 0;
    }

    .mve_trust_list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mve_trust_list li:nth-child(3) {
        border-left: 0;
    }

    .mve_trust_list li:nth-child(n + 3) {
        border-top: 1px solid rgba(255, 255, 255, 0.18);
    }

    .mve_about_grid,
    .mve_faq_grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }

    .mve_themes_grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Phones get the still image only, per the brief. */
@media (max-width: 767px) {
    .mve_hero .mve_hero_video,
    .mve_hero .mve_hero_toggle {
        display: none;
    }
}

@media (max-width: 640px) {
    :root {
        --mve-header-h: 64px;
        --mve-sticky-h: 68px;
    }

    .wrap {
        padding: 0 16px;
    }

    .mi-vida-experience-landing-page .mivida_logo img {
        width: 120px;
    }

    .mi-vida-experience-landing-page .header_cta {
        min-height: 40px;
        padding: 0 14px;
        font-size: 13px;
    }

    .mve_hero_content {
        padding: 72px 0 40px;
    }

    .mve_hero::before {
        background: linear-gradient(0deg, rgba(42, 18, 31, 0.95) 0%, rgba(42, 18, 31, 0.7) 60%, rgba(42, 18, 31, 0.4) 100%);
    }

    .mve_actions .mve_btn {
        width: 100%;
    }

    .mve_trust_list li {
        padding: 14px 8px;
        font-size: 13px;
    }

    /* Filter becomes a swipeable row of chips. */
    .mve_filter_tabs {
        display: flex;
        gap: 8px;
        margin: 0 -16px;
        padding: 0 16px 4px;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .mve_filter_tabs::-webkit-scrollbar {
        display: none;
    }

    .mve_filter_tab {
        flex: 0 0 auto;
        padding: 10px 16px;
        border-radius: 999px;
    }

    .mve_filter_tab > span {
        display: none;
    }

    .mve_filter_desc {
        display: block;
    }

    .mve_filter_tab strong {
        font-size: 14px;
        white-space: nowrap;
    }

    .mve_cards,
    .mve_why_grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .mve_form_card {
        padding: 24px 18px;
        margin: 0 -4px;
    }

    .mve_pill {
        min-width: 0;
    }

    .mve_sticky_text span {
        display: none;
    }

    .mve_sticky_text {
        font-size: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .mve_btn,
    .mve_sticky {
        transition: none;
    }
}
