/**
 * Marko Alegre Coach — sistema de diseño (MAC)
 * -----------------------------------------------------------------
 * Carga en HTML *después* de styles.css (la landing home incluye bloques
 * bajo body.mac-landing al final de styles.css) para que tokens y overrides
 * del tema oscuro ganen a esas reglas base.
 *
 * Alcance: body.mac-landing y descendientes. Reutilizar en landing,
 * servicios públicos y páginas de marketing sin tocar panel admin.
 *
 * Capas:
 *   1. Tokens (--mac-*)     → color, tipo, radio, sombra
 *   2. Tipografía (.mac-h*) → display / títulos / cuerpo
 *   3. Botones (.mac-btn*)  → primario / secundario / ghost / link
 *   4. Superficies (.mac-card, .mac-section)
 *   5. Utilidades (.mac-kicker, .mac-container)
 */

/* -----------------------------------------------------------------
   1. Tokens (solo aplican bajo .mac-landing)
   ----------------------------------------------------------------- */
body.mac-landing {
    --mac-bg-deep: #080808;
    --mac-bg: #0f0f0f;
    --mac-bg-raised: #161616;
    --mac-bg-elevated: #1c1c1c;
    --mac-border: rgba(255, 255, 255, 0.06);
    --mac-border-strong: rgba(255, 255, 255, 0.12);
    --mac-text: #f5f5f4;
    --mac-text-muted: #a8a29e;
    --mac-text-subtle: #78716c;
    --mac-accent: #d4ff00;
    --mac-accent-hover: #e5ff4d;
    --mac-accent-pressed: #b8e600;
    --mac-on-accent: #0f0f0f;
    --mac-danger: #f87171;
    /** Éxito / ahorro sobre fondo oscuro (WCAG con cuerpo pequeño) */
    --mac-teal: #0f766e;
    --mac-radius-sm: 8px;
    --mac-radius-md: 12px;
    --mac-radius-lg: 16px;
    --mac-radius-xl: 24px;
    --mac-radius-pill: 999px;
    --mac-font-display: "Bebas Neue", Impact, "Arial Narrow", sans-serif;
    --mac-font-body: "Inter", system-ui, -apple-system, sans-serif;
    --mac-tracking-display: 0.02em;
    --mac-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.35);
    --mac-shadow-md: 0 8px 32px rgba(0, 0, 0, 0.5);
    --mac-shadow-glow: 0 0 40px rgba(212, 255, 0, 0.08);
    --mac-focus: 0 0 0 3px rgba(212, 255, 0, 0.28);
    --mac-space-section: clamp(3.5rem, 8vw, 6rem);
    --mac-space-block: clamp(1.5rem, 4vw, 2.5rem);

    /* Puente de tokens legacy (styles.css) → evita “verde vs MAC” */
    --primary-color: var(--mac-accent);
    --primary-dark: var(--mac-accent-pressed);
    --secondary-color: #60a5fa;
    --danger-color: var(--mac-danger);
    --text-dark: var(--mac-text);
    --text-light: var(--mac-text-muted);
    --bg-light: var(--mac-bg);
    --white: var(--mac-bg-raised);
    --border-color: var(--mac-border);
    --shadow-sm: var(--mac-shadow-sm);
    --shadow-md: var(--mac-shadow-md);
    --shadow-lg: 0 14px 44px rgba(0, 0, 0, 0.55);
}

body.mac-landing {
    background: var(--mac-bg-deep);
    color: var(--mac-text);
    font-family: var(--mac-font-body);
}

/* -----------------------------------------------------------------
   2. Tipografía
   ----------------------------------------------------------------- */
body.mac-landing .mac-display,
body.mac-landing .hero__title.mac-display {
    font-family: var(--mac-font-display);
    font-weight: 400;
    letter-spacing: var(--mac-tracking-display);
    text-transform: uppercase;
    line-height: 1.05;
}

body.mac-landing .mac-h1 {
    font-family: var(--mac-font-display);
    font-size: clamp(2.75rem, 7vw, 4.25rem);
    font-weight: 400;
    letter-spacing: var(--mac-tracking-display);
    text-transform: uppercase;
    line-height: 1.05;
    color: var(--mac-text);
}

body.mac-landing .mac-h2,
body.mac-landing .mac-section .section__title {
    font-family: var(--mac-font-body);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--mac-text);
}

body.mac-landing .mac-h3 {
    font-family: var(--mac-font-body);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--mac-text);
}

body.mac-landing .mac-lead {
    font-size: clamp(1.05rem, 2.5vw, 1.25rem);
    line-height: 1.65;
    color: var(--mac-text-muted);
    max-width: 38rem;
}

body.mac-landing .mac-kicker {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--mac-accent);
    margin-bottom: 0.75rem;
}

/* Utilidades landing (evitar style="" inline; tokens MAC) */
body.mac-landing .mac-kicker--stack {
    display: block;
    margin-bottom: 0.35rem;
}

body.mac-landing .mac-kicker--tight {
    margin-bottom: 0.5rem;
}

body.mac-landing .mac-section-header--spaced {
    margin-top: 3rem;
}

body.mac-landing .section__subtitle--center-narrow {
    margin-top: 1.5rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

body.mac-landing .mac-dashboard__bar-fill {
    display: block;
    width: 68%;
    height: 100%;
    border-radius: inherit;
}

body.mac-landing .pricing__description--annual {
    margin-top: 0.25rem;
}

/** Texto “ahorro” en planes (teal MAC / legible sobre oscuro) */
body.mac-landing .pricing__savings-hint {
    color: var(--mac-teal);
}

body.mac-landing .mac-section .section__subtitle {
    color: var(--mac-text-muted);
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
    text-wrap: balance;
}

/* Ritmo y legibilidad: evitar “paredes” de texto centrado */
body.mac-landing .section__header {
    max-width: 62rem;
    margin-left: auto;
    margin-right: auto;
}

body.mac-landing .about__content,
body.mac-landing .newsletter__content {
    max-width: 62rem;
}

body.mac-landing .about__description,
body.mac-landing .section__subtitle {
    line-height: 1.75;
}

@media (min-width: 900px) {
    body.mac-landing .section__subtitle,
    body.mac-landing .about__description {
        font-size: 1.05rem;
    }
}

/* -----------------------------------------------------------------
   3. Botones (usar en <a> o <button>)
   ----------------------------------------------------------------- */
body.mac-landing .mac-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.65rem;
    min-height: 48px;
    font-family: var(--mac-font-body);
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    border-radius: var(--mac-radius-pill);
    border: 2px solid transparent;
    cursor: pointer;
    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

body.mac-landing .mac-btn:focus-visible {
    outline: none;
    box-shadow: var(--mac-focus);
}

body.mac-landing .mac-btn--primary {
    background: var(--mac-accent);
    color: var(--mac-on-accent);
    border-color: var(--mac-accent);
}

body.mac-landing .mac-btn--primary:hover {
    background: var(--mac-accent-hover);
    border-color: var(--mac-accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--mac-shadow-sm), var(--mac-shadow-glow);
}

body.mac-landing .mac-btn--secondary {
    background: transparent;
    color: var(--mac-text);
    border-color: var(--mac-border-strong);
}

body.mac-landing .mac-btn--secondary:hover {
    border-color: var(--mac-accent);
    color: var(--mac-accent);
    background: rgba(212, 255, 0, 0.06);
}

body.mac-landing .mac-btn--ghost {
    background: transparent;
    color: var(--mac-accent);
    border-color: transparent;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

body.mac-landing .mac-btn--ghost:hover {
    color: var(--mac-accent-hover);
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

body.mac-landing .mac-btn--block {
    width: 100%;
}

/* Compatibilidad: botones legacy .btn en landing (bloque único; ver también overrides de contacto) */
body.mac-landing .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-sizing: border-box;
    text-decoration: none;
    text-align: center;
    font-family: inherit;
    font-size: 0.9375rem;
    line-height: 1.25;
    min-height: 2.75rem;
    padding: 0.65rem 1.35rem;
    cursor: pointer;
    border-style: solid;
    border-width: 2px;
    transition:
        background 0.22s cubic-bezier(0.4, 0, 0.2, 1),
        color 0.22s cubic-bezier(0.4, 0, 0.2, 1),
        border-color 0.22s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.22s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

body.mac-landing .btn:focus {
    outline: none;
}

body.mac-landing .btn:focus-visible {
    box-shadow: var(--mac-focus);
}

body.mac-landing .btn.btn--primary {
    background: var(--mac-accent);
    color: var(--mac-on-accent);
    border-color: var(--mac-accent);
    border-radius: var(--mac-radius-pill);
    font-weight: 600;
}

body.mac-landing .btn.btn--secondary {
    background: transparent;
    color: var(--mac-text);
    border-color: var(--mac-border-strong);
    border-radius: var(--mac-radius-pill);
    font-weight: 600;
}

body.mac-landing .btn.btn--full {
    width: 100%;
}

@media (hover: hover) and (pointer: fine) {
    body.mac-landing .btn.btn--primary:hover {
        background: var(--mac-accent-hover);
        border-color: var(--mac-accent-hover);
        color: var(--mac-on-accent);
        box-shadow: var(--mac-shadow-sm);
    }

    body.mac-landing .btn.btn--primary:active {
        background: var(--mac-accent-pressed);
        border-color: var(--mac-accent-pressed);
        transform: translateY(1px);
        box-shadow: none;
    }

    body.mac-landing .btn.btn--secondary:hover {
        border-color: var(--mac-accent);
        color: var(--mac-accent);
        background: rgba(212, 255, 0, 0.06);
    }

    body.mac-landing .btn.btn--secondary:active {
        transform: translateY(1px);
    }
}

@media (prefers-reduced-motion: reduce) {
    body.mac-landing .btn {
        transition-duration: 0.01ms;
    }

    body.mac-landing .btn.btn--primary:active,
    body.mac-landing .btn.btn--secondary:active {
        transform: none;
    }
}

/* -----------------------------------------------------------------
   4. Layout: header, hero, secciones, tarjetas
   ----------------------------------------------------------------- */
body.mac-landing .header {
    background: rgba(8, 8, 8, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--mac-border);
    box-shadow: none;
}

body.mac-landing .nav__logo h2,
body.mac-landing .nav__logo a,
body.mac-landing .nav__logo-link {
    color: var(--mac-text);
    font-family: var(--mac-font-body);
    font-weight: 700;
    font-size: 1.125rem;
    letter-spacing: -0.02em;
}

body.mac-landing .nav__logo-img {
    display: block;
    height: clamp(4.2rem, 6.8vw, 5.2rem);
    max-width: min(390px, 66vw);
    width: auto;
}

body.mac-landing .nav__link {
    color: var(--mac-text-muted);
    font-size: 0.875rem;
}

body.mac-landing .nav__link:hover {
    color: var(--mac-accent);
}

body.mac-landing .nav__link--highlight {
    background: var(--mac-accent);
    color: var(--mac-on-accent);
    border-radius: var(--mac-radius-pill);
    padding: 0.45rem 1.1rem;
}

body.mac-landing .nav__link--highlight:hover {
    background: var(--mac-accent-hover);
    color: var(--mac-on-accent);
    transform: translateY(-1px);
    box-shadow: var(--mac-shadow-sm);
}

body.mac-landing .nav__toggle span {
    background: var(--mac-text);
}

body.mac-landing .nav__toggle:hover {
    background: var(--mac-bg-raised);
}

body.mac-landing .hero {
    padding: clamp(6rem, 12vw, 9rem) 0 clamp(3rem, 6vw, 5rem);
    background:
        radial-gradient(ellipse 80% 60% at 70% 20%, rgba(212, 255, 0, 0.07) 0%, transparent 55%),
        linear-gradient(180deg, var(--mac-bg) 0%, var(--mac-bg-deep) 100%);
}

/* Hero: la ilustración es decorativa — no debe robar toques frente a los CTAs (móvil / solapes) */
body.mac-landing .mac-hero .hero__container {
    position: relative;
}

body.mac-landing .mac-hero .hero__content {
    position: relative;
    z-index: 2;
}

body.mac-landing .mac-hero .hero__image {
    position: relative;
    z-index: 0;
    pointer-events: none;
}

body.mac-landing .mac-hero .hero__image.hero__image--media {
    pointer-events: auto;
}

body.mac-landing .mac-hero .hero__buttons {
    position: relative;
    z-index: 3;
}

body.mac-landing .mac-hero .hero__buttons a.btn {
    pointer-events: auto;
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(212, 255, 0, 0.2);
    cursor: pointer;
}

body.mac-landing .hero__title {
    font-family: var(--mac-font-display);
    font-size: clamp(2.75rem, 8vw, 4.5rem);
    font-weight: 400;
    letter-spacing: var(--mac-tracking-display);
    text-transform: uppercase;
    color: var(--mac-text);
    line-height: 1.02;
}

body.mac-landing .hero__description {
    color: var(--mac-text-muted);
    font-size: clamp(1rem, 2.2vw, 1.2rem);
    line-height: 1.65;
    max-width: 46rem;
}

body.mac-landing .hero__image-placeholder {
    border-radius: var(--mac-radius-xl);
    background: var(--mac-bg-raised);
    border: 1px solid var(--mac-border);
    box-shadow: var(--mac-shadow-md);
    color: var(--mac-accent);
}

body.mac-landing .hero__video-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
    padding: 0.85rem;
}

body.mac-landing .hero__video-grid.hero__video-grid--single {
    grid-template-columns: 1fr;
}

body.mac-landing .hero__video-card {
    border-radius: calc(var(--mac-radius-lg) - 4px);
    border: 1px solid rgba(212, 255, 0, 0.18);
    background: rgba(8, 8, 8, 0.75);
    overflow: hidden;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

body.mac-landing .hero__video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    background: #000;
}

@media (max-width: 900px) {
    body.mac-landing .hero__video-grid {
        grid-template-columns: 1fr;
    }

    body.mac-landing .hero__video {
        aspect-ratio: 9 / 16;
    }
}

/* Ilustración hero: acento MAC (sin verde genérico heredado de plantillas antiguas) */
body.mac-landing .hero-visual-mac {
    display: block;
    width: 100%;
    height: auto;
}
body.mac-landing .hero-visual-mac__glow {
    fill: currentColor;
    opacity: 0.14;
}
body.mac-landing .hero-visual-mac__check {
    stroke: currentColor;
}

body.mac-landing .hero__image-placeholder svg circle[fill]:not(.hero-visual-mac__glow) {
    fill: rgba(212, 255, 0, 0.12) !important;
}

body.mac-landing .hero__image-placeholder svg path:not(.hero-visual-mac__check),
body.mac-landing .hero__image-placeholder svg polyline {
    stroke: var(--mac-accent) !important;
}

/* Sección servicios y grillas genéricas */
body.mac-landing .mac-section,
body.mac-landing section#servicios {
    padding: var(--mac-space-section) 0;
    background: var(--mac-bg-deep);
}

body.mac-landing section#servicios {
    border-top: 1px solid var(--mac-border);
}

/* Cuatro tarjetas: evita el layout 3+1 (cuarta sola debajo de la primera) */
body.mac-landing section#servicios .services__grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

@media (min-width: 900px) {
    body.mac-landing section#servicios .services__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1200px) {
    body.mac-landing section#servicios .services__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

body.mac-landing .service__card {
    background: var(--mac-bg-raised);
    border: 1px solid var(--mac-border);
    border-radius: var(--mac-radius-lg);
    box-shadow: var(--mac-shadow-sm);
}

body.mac-landing .service__card:hover {
    border-color: var(--mac-border-strong);
    box-shadow: var(--mac-shadow-md);
    transform: translateY(-4px);
}

body.mac-landing .service__icon {
    background: linear-gradient(145deg, rgba(212, 255, 0, 0.18) 0%, rgba(212, 255, 0, 0.06) 100%);
    color: var(--mac-accent);
    border: 1px solid rgba(212, 255, 0, 0.2);
}

body.mac-landing .service__title {
    color: var(--mac-text);
}

body.mac-landing .service__description {
    color: var(--mac-text-muted);
}

/* About */
body.mac-landing .about {
    background: var(--mac-bg);
    border-top: 1px solid var(--mac-border);
}

body.mac-landing .about .section__title {
    color: var(--mac-text);
}

body.mac-landing .about__description {
    color: var(--mac-text-muted);
}

/* Tarjeta genérica reutilizable (CTAs en servicios, bloques futuros) */
body.mac-landing .mac-card {
    background: var(--mac-bg-raised);
    border: 1px solid var(--mac-border);
    border-radius: var(--mac-radius-lg);
    padding: var(--mac-space-block);
    box-shadow: var(--mac-shadow-sm);
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

body.mac-landing .mac-card:hover {
    border-color: var(--mac-border-strong);
    box-shadow: var(--mac-shadow-md);
}

/* -----------------------------------------------------------------
   6.x Prueba social (segmento coaching premium)
   ----------------------------------------------------------------- */
body.mac-landing .mac-proof {
    background: linear-gradient(180deg, var(--mac-bg-deep) 0%, rgba(22, 22, 22, 0.6) 100%);
    border-top: 1px solid var(--mac-border);
    border-bottom: 1px solid var(--mac-border);
}

body.mac-landing .mac-proof__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin: 2.25rem auto 1.75rem;
    max-width: 72rem;
}

@media (max-width: 900px) {
    body.mac-landing .mac-proof__stats {
        grid-template-columns: 1fr;
    }
}

body.mac-landing .mac-proof__stat {
    background: var(--mac-bg-raised);
    border: 1px solid var(--mac-border);
    border-radius: var(--mac-radius-lg);
    padding: 1.15rem 1.25rem;
    display: flex;
    gap: 0.9rem;
    align-items: center;
    box-shadow: var(--mac-shadow-sm);
}

body.mac-landing .mac-proof__stat-kpi {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(212, 255, 0, 0.12);
    border: 1px solid rgba(212, 255, 0, 0.22);
    color: var(--mac-accent);
    font-weight: 800;
}

body.mac-landing .mac-proof__stat-text {
    color: var(--mac-text-muted);
    line-height: 1.55;
}

body.mac-landing .mac-proof__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin: 1.25rem auto 0;
    max-width: 72rem;
}

@media (max-width: 980px) {
    body.mac-landing .mac-proof__grid {
        grid-template-columns: 1fr;
    }
}

body.mac-landing .mac-proof__card {
    background: var(--mac-bg-raised);
    border: 1px solid var(--mac-border);
    border-radius: var(--mac-radius-lg);
    padding: 1.35rem 1.35rem 1.15rem;
    box-shadow: var(--mac-shadow-sm);
}

body.mac-landing .mac-proof__quote {
    color: var(--mac-text);
    line-height: 1.65;
    margin-bottom: 0.85rem;
}

body.mac-landing .mac-proof__meta {
    color: var(--mac-text-muted);
    font-size: 0.9375rem;
}

body.mac-landing .mac-proof__cta {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

/* -----------------------------------------------------------------
   Hero mock “plataforma” (dashboard)
   ----------------------------------------------------------------- */
body.mac-landing .mac-dashboard {
    width: min(560px, 100%);
    margin: 0 auto;
    padding: 1.1rem;
    border-radius: var(--mac-radius-xl);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow: var(--mac-shadow-md), var(--mac-shadow-glow);
}

body.mac-landing .mac-dashboard__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.9rem;
}

body.mac-landing .mac-dashboard__chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.75rem;
    border-radius: var(--mac-radius-pill);
    border: 1px solid rgba(212, 255, 0, 0.22);
    background: rgba(212, 255, 0, 0.10);
    color: var(--mac-accent);
    font-weight: 700;
    font-size: 0.8rem;
}

body.mac-landing .mac-dashboard__chip--muted {
    color: var(--mac-text-muted);
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.04);
}

body.mac-landing .mac-dashboard__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

body.mac-landing .mac-dashboard__card {
    background: rgba(22, 22, 22, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--mac-radius-lg);
    padding: 0.95rem;
    min-height: 120px;
}

body.mac-landing .mac-dashboard__card--wide {
    grid-column: 1 / -1;
}

body.mac-landing .mac-dashboard__card-title {
    color: var(--mac-text);
    font-weight: 800;
    letter-spacing: -0.01em;
    margin-bottom: 0.35rem;
}

body.mac-landing .mac-dashboard__kpi {
    color: var(--mac-text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.55rem;
}

body.mac-landing .mac-dashboard__bar {
    height: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

body.mac-landing .mac-dashboard__bar span {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--mac-accent), rgba(96, 165, 250, 0.55));
}

body.mac-landing .mac-dashboard__mini {
    margin-top: 0.65rem;
    color: var(--mac-text-muted);
    font-size: 0.85rem;
}

body.mac-landing .mac-dashboard__list {
    list-style: none;
    padding: 0;
    margin: 0.4rem 0 0;
    display: grid;
    gap: 0.35rem;
    color: var(--mac-text-muted);
    font-size: 0.9rem;
}

body.mac-landing .mac-dashboard__list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

body.mac-landing .mac-dashboard__list li span {
    width: 10px;
    height: 10px;
    border-radius: 3px;
    background: rgba(212, 255, 0, 0.22);
    border: 1px solid rgba(212, 255, 0, 0.28);
}

body.mac-landing .mac-dashboard__split {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0.45rem;
}

body.mac-landing .mac-dashboard__pill {
    padding: 0.3rem 0.6rem;
    border-radius: var(--mac-radius-pill);
    background: rgba(212, 255, 0, 0.10);
    border: 1px solid rgba(212, 255, 0, 0.22);
    color: var(--mac-accent);
    font-weight: 700;
    font-size: 0.8rem;
}

body.mac-landing .mac-dashboard__pill--muted {
    color: var(--mac-text-muted);
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.12);
}

@media (max-width: 768px) {
    body.mac-landing .mac-dashboard {
        padding: 0.9rem;
    }
    body.mac-landing .mac-dashboard__grid {
        grid-template-columns: 1fr;
    }
}

/* -----------------------------------------------------------------
   Timeline “cómo trabajamos”
   ----------------------------------------------------------------- */
body.mac-landing .mac-timeline__list {
    max-width: 72rem;
    margin: 2rem auto 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.9rem;
}

body.mac-landing .mac-timeline__item {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 0.9rem;
    padding: 1.1rem 1.15rem;
    border-radius: var(--mac-radius-lg);
    background: var(--mac-bg-raised);
    border: 1px solid var(--mac-border);
    box-shadow: var(--mac-shadow-sm);
}

body.mac-landing .mac-timeline__badge {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: rgba(212, 255, 0, 0.12);
    border: 1px solid rgba(212, 255, 0, 0.22);
    color: var(--mac-accent);
    font-weight: 900;
}

body.mac-landing .mac-timeline__title {
    margin: 0;
    color: var(--mac-text);
    font-size: 1.05rem;
    letter-spacing: -0.01em;
}

body.mac-landing .mac-timeline__text {
    margin: 0.35rem 0 0;
    color: var(--mac-text-muted);
    line-height: 1.7;
}

/* -----------------------------------------------------------------
   Comparador rápido (debajo de planes)
   ----------------------------------------------------------------- */
body.mac-landing .mac-compare {
    margin-top: 2rem;
    padding: 1.25rem;
    border-radius: var(--mac-radius-lg);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--mac-border);
    max-width: 72rem;
    margin-left: auto;
    margin-right: auto;
}

body.mac-landing .mac-compare__title {
    margin: 0 0 0.9rem;
    color: var(--mac-text);
    font-size: 1.05rem;
    letter-spacing: -0.01em;
}

body.mac-landing .mac-compare__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

@media (max-width: 900px) {
    body.mac-landing .mac-compare__grid {
        grid-template-columns: 1fr;
    }
}

body.mac-landing .mac-compare__item {
    background: var(--mac-bg-raised);
    border: 1px solid var(--mac-border);
    border-radius: var(--mac-radius-lg);
    padding: 0.95rem;
}

body.mac-landing .mac-compare__item-title {
    color: var(--mac-text);
    font-weight: 800;
    margin-bottom: 0.3rem;
}

body.mac-landing .mac-compare__item-text {
    color: var(--mac-text-muted);
    line-height: 1.65;
}

body.mac-landing .mac-compare__note {
    margin: 0.9rem 0 0;
    color: var(--mac-text-muted);
}

/* -----------------------------------------------------------------
   FAQ (landing)
   ----------------------------------------------------------------- */
body.mac-landing .mac-faq {
    background: var(--mac-bg-deep);
    border-top: 1px solid var(--mac-border);
}

body.mac-landing .mac-faq__list {
    max-width: 48rem;
    margin: 1.5rem auto 0;
    display: grid;
    gap: 0.65rem;
}

body.mac-landing .mac-faq__item {
    border-radius: var(--mac-radius-lg);
    border: 1px solid var(--mac-border);
    background: var(--mac-bg-raised);
    box-shadow: var(--mac-shadow-sm);
    overflow: hidden;
}

body.mac-landing .mac-faq__summary {
    list-style: none;
    cursor: pointer;
    padding: 1rem 1.15rem;
    padding-right: 2.75rem;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: -0.01em;
    color: var(--mac-text);
    position: relative;
    transition: background 0.2s ease, color 0.2s ease;
}

body.mac-landing .mac-faq__summary::-webkit-details-marker {
    display: none;
}

body.mac-landing .mac-faq__summary::after {
    content: "";
    position: absolute;
    right: 1.1rem;
    top: 50%;
    width: 0.55rem;
    height: 0.55rem;
    border-right: 2px solid var(--mac-accent);
    border-bottom: 2px solid var(--mac-accent);
    transform: translateY(-65%) rotate(45deg);
    transition: transform 0.22s ease;
    opacity: 0.9;
}

body.mac-landing .mac-faq__item[open] .mac-faq__summary::after {
    transform: translateY(-35%) rotate(-135deg);
}

@media (hover: hover) and (pointer: fine) {
    body.mac-landing .mac-faq__summary:hover {
        background: rgba(212, 255, 0, 0.06);
        color: var(--mac-accent);
    }
}

body.mac-landing .mac-faq__summary:focus {
    outline: none;
}

body.mac-landing .mac-faq__summary:focus-visible {
    box-shadow: inset 0 0 0 2px rgba(212, 255, 0, 0.35);
}

body.mac-landing .mac-faq__body {
    padding: 0 1.15rem 1.1rem;
    color: var(--mac-text-muted);
    line-height: 1.7;
    font-size: 0.95rem;
    border-top: 1px solid var(--mac-border);
}

body.mac-landing .mac-faq__body p {
    margin: 0.75rem 0 0;
}

body.mac-landing .mac-faq__body p:first-child {
    margin-top: 0.85rem;
}

body.mac-landing .mac-faq__muted {
    font-size: 0.875rem;
    color: var(--mac-text-subtle);
    margin-top: 0.65rem !important;
}

body.mac-landing .mac-faq__footer-cta {
    text-align: center;
    margin: 2rem auto 0;
    max-width: 40rem;
    color: var(--mac-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

body.mac-landing .mac-faq__footer-cta a {
    color: var(--mac-accent);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

body.mac-landing .mac-faq__footer-cta a:hover {
    color: var(--mac-accent-hover);
}

@media (prefers-reduced-motion: reduce) {
    body.mac-landing .mac-faq__summary,
    body.mac-landing .mac-faq__summary::after {
        transition: none;
    }
}

/* -----------------------------------------------------------------
   Cinta de precios base (encima de cards de planes)
   ----------------------------------------------------------------- */
body.mac-landing .mac-price-strip {
    margin: 0.4rem auto 0.6rem;
    max-width: 72rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

body.mac-landing .mac-price-strip__item {
    border-radius: var(--mac-radius-lg);
    border: 1px solid var(--mac-border);
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.03) 100%);
    padding: 0.8rem 0.95rem;
    box-shadow: var(--mac-shadow-sm);
}

body.mac-landing .mac-price-strip__label {
    margin: 0;
    color: var(--mac-text-muted);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

body.mac-landing .mac-price-strip__price {
    margin: 0.2rem 0 0;
    color: var(--mac-accent);
    font-weight: 900;
    font-size: clamp(1.25rem, 2.2vw, 1.55rem);
    letter-spacing: -0.01em;
    line-height: 1.2;
}

body.mac-landing .mac-price-strip__note {
    margin: 0 auto 1.05rem;
    max-width: 72rem;
    color: var(--mac-text-muted);
    font-size: 0.85rem;
}

@media (max-width: 900px) {
    body.mac-landing .mac-price-strip {
        grid-template-columns: 1fr;
    }
}

/* -----------------------------------------------------------------
   Contacto guiado con chips
   ----------------------------------------------------------------- */
body.mac-landing .mac-chips {
    border: 1px solid var(--mac-border);
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--mac-radius-lg);
    padding: 1rem;
    margin: 1rem 0 1rem;
}

body.mac-landing .mac-chips__legend {
    color: var(--mac-text);
    font-weight: 800;
    font-size: 0.95rem;
    padding: 0 0.35rem;
}

body.mac-landing .mac-chips__row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

body.mac-landing .mac-chips__label {
    color: var(--mac-text-muted);
    font-size: 0.85rem;
    font-weight: 700;
    margin-right: 0.25rem;
    min-width: 108px;
}

body.mac-landing .mac-chip {
    border: 1px solid var(--mac-border-strong);
    background: rgba(255, 255, 255, 0.04);
    color: var(--mac-text);
    padding: 0.4rem 0.75rem;
    border-radius: var(--mac-radius-pill);
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

body.mac-landing .mac-chip.is-selected {
    background: rgba(212, 255, 0, 0.12);
    border-color: rgba(212, 255, 0, 0.35);
    color: var(--mac-accent);
}

@media (hover: hover) and (pointer: fine) {
    body.mac-landing .mac-chip:hover {
        transform: translateY(-1px);
        border-color: rgba(212, 255, 0, 0.22);
    }
}

body.mac-landing .mac-chip:focus-visible {
    outline: none;
    box-shadow: var(--mac-focus);
}

/* -----------------------------------------------------------------
   Diagnóstico interactivo (quiz)
   ----------------------------------------------------------------- */
body.mac-landing .mac-diagnostico__panel {
    max-width: 72rem;
    margin: 1.5rem auto 0;
    display: grid;
    gap: 0.9rem;
}

body.mac-landing .mac-diagnostico__q {
    background: var(--mac-bg-raised);
    border: 1px solid var(--mac-border);
    border-radius: var(--mac-radius-lg);
    padding: 1.15rem 1.15rem;
    box-shadow: var(--mac-shadow-sm);
}

body.mac-landing .mac-diagnostico__title {
    margin: 0;
    color: var(--mac-text);
    font-size: 1.05rem;
    letter-spacing: -0.01em;
}

body.mac-landing .mac-diagnostico__choices {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.85rem;
}

body.mac-landing .mac-choice {
    border: 1px solid var(--mac-border-strong);
    background: rgba(255, 255, 255, 0.04);
    color: var(--mac-text);
    padding: 0.45rem 0.85rem;
    border-radius: var(--mac-radius-pill);
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

body.mac-landing .mac-choice.is-selected {
    background: rgba(212, 255, 0, 0.12);
    border-color: rgba(212, 255, 0, 0.35);
    color: var(--mac-accent);
}

@media (hover: hover) and (pointer: fine) {
    body.mac-landing .mac-choice:hover {
        transform: translateY(-1px);
        border-color: rgba(212, 255, 0, 0.22);
    }
}

body.mac-landing .mac-choice:focus-visible {
    outline: none;
    box-shadow: var(--mac-focus);
}

/* -----------------------------------------------------------------
   Toasts (PWA updates / avisos)
   ----------------------------------------------------------------- */
body.mac-landing .mac-toast-root {
    position: fixed;
    left: 0;
    right: 0;
    bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
    display: grid;
    place-items: center;
    padding: 0 1rem;
    z-index: 10003;
    pointer-events: none;
}

body.mac-landing .mac-toast {
    width: min(720px, 100%);
    background: rgba(8, 8, 8, 0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 18px;
    box-shadow: 0 18px 70px rgba(0, 0, 0, 0.7);
    padding: 0.95rem 1rem;
    pointer-events: auto;
}

body.mac-landing .mac-toast__title {
    color: var(--mac-text);
    font-weight: 900;
    letter-spacing: -0.01em;
    margin-bottom: 0.2rem;
}

body.mac-landing .mac-toast__text {
    color: var(--mac-text-muted);
    line-height: 1.6;
}

body.mac-landing .mac-toast__actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0.75rem;
}

body.mac-landing .mac-toast__btn {
    min-height: 44px;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.06);
    color: var(--mac-text);
    font-weight: 800;
    cursor: pointer;
}

body.mac-landing .mac-toast__btn--primary {
    background: var(--mac-accent);
    border-color: var(--mac-accent);
    color: var(--mac-on-accent);
}

body.mac-landing .mac-toast__btn:focus-visible {
    outline: none;
    box-shadow: var(--mac-focus);
}

@media (max-width: 968px) {
    body.mac-landing .mac-toast-root {
        bottom: calc(84px + 0.75rem + env(safe-area-inset-bottom, 0px));
    }
}

body.mac-landing .mac-diagnostico__result {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--mac-border);
    border-radius: var(--mac-radius-lg);
    padding: 1.15rem;
}

body.mac-landing .mac-diagnostico__summary {
    color: var(--mac-text-muted);
    line-height: 1.7;
    margin: 0.5rem 0 0;
}

body.mac-landing .mac-diagnostico__actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-top: 1rem;
}

/* Lead magnet bullets */
body.mac-landing .mac-leadmag__bullets {
    margin: 0.9rem auto 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.4rem;
    color: var(--mac-text-muted);
    max-width: 42rem;
}

body.mac-landing .mac-leadmag__bullets li {
    display: flex;
    gap: 0.55rem;
    align-items: flex-start;
}

body.mac-landing .mac-leadmag__bullets li::before {
    content: "✓";
    color: var(--mac-accent);
    font-weight: 900;
    margin-top: 0.05rem;
}

/* pricing ideal */
body.mac-landing .pricing__ideal {
    margin: 0.8rem 0 0.5rem;
    padding: 0.75rem 0.85rem;
    border-radius: 14px;
    background: rgba(212, 255, 0, 0.08);
    border: 1px solid rgba(212, 255, 0, 0.18);
    color: var(--mac-text-muted);
    line-height: 1.65;
}

/* -----------------------------------------------------------------
   CTA sticky móvil (reduce fricción de conversión)
   ----------------------------------------------------------------- */
body.mac-landing .mac-sticky-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0.75rem max(0.9rem, env(safe-area-inset-left)) calc(0.75rem + env(safe-area-inset-bottom, 0px)) max(0.9rem, env(safe-area-inset-right));
    background: rgba(8, 8, 8, 0.72);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--mac-border);
    display: none;
    gap: 0.65rem;
    z-index: 10001;
}

body.mac-landing .mac-sticky-cta__btn {
    flex: 1;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--mac-radius-pill);
    font-weight: 700;
    text-decoration: none;
    border: 1px solid transparent;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

body.mac-landing .mac-sticky-cta__btn--primary {
    background: var(--mac-accent);
    color: var(--mac-on-accent);
    border-color: var(--mac-accent);
}

body.mac-landing .mac-sticky-cta__btn--secondary {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--mac-border-strong);
    color: var(--mac-text);
}

@media (hover: hover) and (pointer: fine) {
    body.mac-landing .mac-sticky-cta__btn:hover {
        transform: translateY(-1px);
        box-shadow: var(--mac-shadow-sm);
    }
}

@media (max-width: 968px) {
    body.mac-landing .mac-sticky-cta {
        display: flex;
    }

    /* Chatbot (landing): no solapar la barra fija inferior; mantener toque claro a la izquierda */
    body.mac-landing #chatbot-toggle.chatbot-toggle-left {
        bottom: calc(92px + env(safe-area-inset-bottom, 0px)) !important;
        left: calc(12px + env(safe-area-inset-left, 0px)) !important;
        right: auto !important;
    }

    /* Evita duplicar CTAs cuando el menú está abierto */
    body.mac-landing.menu-open .mac-sticky-cta {
        display: none;
    }

    /* Deja espacio al contenido para no tapar footer/form */
    body.mac-landing {
        padding-bottom: 84px;
    }

    /* En móvil ya existe sticky CTA → ocultar botón flotante para no duplicar */
    body.mac-landing .whatsapp-float {
        display: none !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.mac-landing .mac-sticky-cta__btn {
        transition-duration: 0.01ms !important;
    }
}

/* -----------------------------------------------------------------
   Responsive pro (móvil): ritmo, legibilidad, tacto
   ----------------------------------------------------------------- */
@media (max-width: 640px) {
    /* Evita que CTAs del hero y video se empalmen en pantallas pequeñas */
    body.mac-landing .mac-hero .hero__container {
        grid-template-columns: 1fr;
        gap: 1rem;
        align-items: start;
    }

    body.mac-landing .mac-hero .hero__content {
        margin-bottom: 0.6rem;
    }

    body.mac-landing .mac-hero .hero__buttons,
    body.mac-landing .mac-proof__cta {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.65rem;
        position: static;
        z-index: auto;
    }

    body.mac-landing .mac-hero .hero__image {
        margin-top: 0.4rem;
    }

    body.mac-landing .hero__image-placeholder {
        height: auto;
        min-height: 0;
    }

    body.mac-landing .hero {
        padding: 5.75rem 0 2.75rem;
    }

    body.mac-landing .hero__buttons {
        gap: 0.75rem;
    }

    body.mac-landing .hero__buttons .btn {
        width: 100%;
        min-height: 48px;
        text-align: center;
        box-sizing: border-box;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    body.mac-landing .mac-dashboard {
        padding: 0.85rem;
    }

    body.mac-landing .mac-dashboard__card {
        padding: 0.85rem;
        min-height: auto;
    }

    body.mac-landing .mac-proof__stats,
    body.mac-landing .mac-proof__grid,
    body.mac-landing .mac-compare__grid {
        gap: 0.75rem;
    }

    body.mac-landing .mac-timeline__item {
        grid-template-columns: 42px 1fr;
        padding: 1rem;
    }

    body.mac-landing .mac-timeline__badge {
        width: 42px;
        height: 42px;
        border-radius: 12px;
    }

    body.mac-landing .mac-chips {
        padding: 0.9rem;
    }

    body.mac-landing .mac-chips__label {
        min-width: 100%;
        margin-right: 0;
        margin-bottom: 0.15rem;
    }

    body.mac-landing .mac-chip,
    body.mac-landing .mac-choice {
        min-height: 44px;
        padding: 0.55rem 0.9rem;
    }

    body.mac-landing .mac-diagnostico__q,
    body.mac-landing .mac-diagnostico__result {
        padding: 1rem;
    }

    body.mac-landing .mac-diagnostico__actions .btn {
        width: 100%;
        text-align: center;
    }

    body.mac-landing .mac-proof__cta .btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 420px) {
    body.mac-landing .mac-dashboard__top {
        flex-direction: column;
        align-items: flex-start;
    }
    body.mac-landing .mac-dashboard__chip {
        width: 100%;
        justify-content: center;
    }
}

body.mac-landing .mac-card__icon {
    width: 56px;
    height: 56px;
    border-radius: var(--mac-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, rgba(212, 255, 0, 0.2) 0%, rgba(212, 255, 0, 0.05) 100%);
    color: var(--mac-accent);
    margin-bottom: 1.25rem;
    border: 1px solid rgba(212, 255, 0, 0.22);
}

body.mac-landing .mac-card__icon svg {
    width: 28px;
    height: 28px;
}

body.mac-landing .mac-card__title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--mac-text);
}

body.mac-landing .mac-card__text {
    color: var(--mac-text-muted);
    line-height: 1.65;
    font-size: 0.95rem;
}

/* -----------------------------------------------------------------
   5. Utilidades
   ----------------------------------------------------------------- */
body.mac-landing .mac-container {
    width: 100%;
    max-width: 72rem;
    margin-left: auto;
    margin-right: auto;
    padding-left: max(1.25rem, env(safe-area-inset-left));
    padding-right: max(1.25rem, env(safe-area-inset-right));
}

body.mac-landing .mac-divider {
    height: 1px;
    background: var(--mac-border);
    margin: var(--mac-space-block) 0;
}

/* Ajuste móvil nav */
@media (max-width: 768px) {
    body.mac-landing .nav__menu {
        background: var(--mac-bg-elevated);
        border: 1px solid var(--mac-border);
    }

    body.mac-landing .nav__link {
        color: var(--mac-text);
    }
}

/* Navegación premium (móvil/tablet): overlay + panel con motion */
@media (max-width: 968px) {
    body.mac-landing::before {
        content: "";
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.55);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.25s ease;
        z-index: 998;
    }

    body.mac-landing.menu-open::before {
        opacity: 1;
        pointer-events: auto;
    }

    body.mac-landing .nav__menu {
        left: 0 !important;
        top: 65px;
        background: rgba(22, 22, 22, 0.92) !important;
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        border-top: 1px solid var(--mac-border);
        box-shadow: 0 22px 70px rgba(0, 0, 0, 0.65);
        transform: translate3d(0, -10px, 0);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.22s ease;
        z-index: 999;
    }

    body.mac-landing .nav__menu.active {
        transform: translate3d(0, 0, 0);
        opacity: 1;
        pointer-events: auto;
    }

    body.mac-landing .nav__menu li {
        border-bottom-color: var(--mac-border) !important;
    }

    body.mac-landing .nav__menu .nav__link {
        color: var(--mac-text) !important;
    }

    body.mac-landing .nav__menu .nav__link:hover {
        color: var(--mac-accent) !important;
    }

    body.mac-landing .nav__menu .nav__link--highlight {
        background: var(--mac-accent) !important;
        color: var(--mac-on-accent) !important;
        border-radius: var(--mac-radius-pill) !important;
    }

    body.mac-landing .nav__toggle:hover {
        background: rgba(255, 255, 255, 0.06) !important;
    }
}

/* -----------------------------------------------------------------
   6. Cohesión con resto de la landing (planes, contacto, plataforma)
   Sobrescribe reglas del <style> inline al cargar este archivo después.
   ----------------------------------------------------------------- */
body.mac-landing section#caracteristicas {
    background: linear-gradient(180deg, var(--mac-bg-raised) 0%, var(--mac-bg-deep) 100%) !important;
    padding: var(--mac-space-section) 0 !important;
    border-top: 1px solid var(--mac-border);
}

body.mac-landing .pricing {
    background: var(--mac-bg) !important;
    border-top: 1px solid var(--mac-border);
}

body.mac-landing .pricing--integradores {
    background: var(--mac-bg-deep) !important;
}

body.mac-landing .pricing__card {
    background: var(--mac-bg-raised) !important;
    border: 1px solid var(--mac-border) !important;
    color: var(--mac-text);
}

body.mac-landing .pricing__name,
body.mac-landing .pricing__amount,
body.mac-landing .section__title {
    color: var(--mac-text) !important;
}

body.mac-landing .pricing__description,
body.mac-landing .pricing__features li {
    color: var(--mac-text-muted) !important;
    border-color: var(--mac-border) !important;
}

body.mac-landing .pricing__features li::before {
    color: var(--mac-accent) !important;
}

body.mac-landing .pricing__note {
    background: var(--mac-bg-raised) !important;
    color: var(--mac-text-muted) !important;
    border: 1px solid var(--mac-border);
}

body.mac-landing .planes-tabs__segmented {
    background: var(--mac-bg-elevated) !important;
    border: 1px solid var(--mac-border) !important;
}

body.mac-landing .planes-tabs__btn {
    color: var(--mac-text-muted) !important;
}

body.mac-landing .planes-tabs__btn.active,
body.mac-landing .planes-tabs__btn[aria-selected="true"] {
    background: var(--mac-accent) !important;
    color: var(--mac-on-accent) !important;
}

body.mac-landing .contact {
    background: var(--mac-bg-deep) !important;
    border-top: 1px solid var(--mac-border);
}

/* Formulario + columna lateral: ancho fijo al panel derecho para que los inputs no queden aplastados */
body.mac-landing .contact__content {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
    max-width: min(1100px, 100%);
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 1100px) {
    body.mac-landing .contact__content {
        grid-template-columns: 1fr;
    }
}

/* Instagram / redes en el bloque contacto: el reset global svg{max-width:100%;height:auto} puede inflar el icono */
body.mac-landing .contact .social__link {
    box-sizing: border-box;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    max-width: 44px !important;
    max-height: 44px !important;
    overflow: hidden;
    flex-shrink: 0;
}

body.mac-landing .contact .social__link svg {
    width: 20px !important;
    height: 20px !important;
    max-width: 20px !important;
    max-height: 20px !important;
    flex-shrink: 0;
}

body.mac-landing .contact__form-wrapper {
    background: var(--mac-bg-raised) !important;
    border: 1px solid var(--mac-border) !important;
}

body.mac-landing .contact__form-group label {
    color: var(--mac-text) !important;
}

body.mac-landing .contact__form-group input,
body.mac-landing .contact__form-group textarea {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    background: var(--mac-bg-elevated) !important;
    border-color: var(--mac-border-strong) !important;
    color: var(--mac-text) !important;
}

body.mac-landing .contact__form-group input:focus,
body.mac-landing .contact__form-group textarea:focus {
    border-color: var(--mac-accent) !important;
    box-shadow: var(--mac-focus) !important;
}

body.mac-landing .contact__item {
    background: var(--mac-bg-raised) !important;
    border: 1px solid var(--mac-border) !important;
}

body.mac-landing .contact__item h4 {
    color: var(--mac-text) !important;
}

body.mac-landing .contact__item p,
body.mac-landing .contact__item a {
    color: var(--mac-text-muted) !important;
}

body.mac-landing .contact__item a:hover {
    color: var(--mac-accent) !important;
}

body.mac-landing .contact__icon {
    background: linear-gradient(145deg, rgba(212, 255, 0, 0.25) 0%, rgba(212, 255, 0, 0.08) 100%) !important;
    color: var(--mac-accent) !important;
    border: 1px solid rgba(212, 255, 0, 0.25);
}

body.mac-landing .medicos-digitales {
    background: linear-gradient(180deg, var(--mac-bg) 0%, var(--mac-bg-raised) 100%) !important;
    border-top: 1px solid var(--mac-border);
}

body.mac-landing .medicos-digitales .section__title,
body.mac-landing .medicos-digitales h2,
body.mac-landing .medicos-digitales h3,
body.mac-landing .medicos-digitales h4 {
    color: var(--mac-text) !important;
}

body.mac-landing .newsletter {
    background: var(--mac-bg) !important;
    border-top: 1px solid var(--mac-border);
}

body.mac-landing .newsletter__title {
    color: var(--mac-text) !important;
}

body.mac-landing .newsletter__description {
    color: var(--mac-text-muted) !important;
}

/* -----------------------------------------------------------------
   7. Plataforma (#características) — rejilla y tarjetas sin inline
   ----------------------------------------------------------------- */
body.mac-landing section#caracteristicas .services__grid--features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 1.5rem;
}

body.mac-landing section#caracteristicas .mac-feature-card {
    padding: 1.5rem;
    border-radius: var(--mac-radius-lg);
    background: var(--mac-bg-elevated);
    border: 1px solid var(--mac-border);
    box-shadow: var(--mac-shadow-sm);
}

body.mac-landing section#caracteristicas .mac-feature-card .service__icon {
    background: linear-gradient(145deg, rgba(212, 255, 0, 0.2) 0%, rgba(212, 255, 0, 0.06) 100%);
    color: var(--mac-accent);
    border: 1px solid rgba(212, 255, 0, 0.22);
}

/* -----------------------------------------------------------------
   8. Profesionales / médicos digitales (.mac-medicos)
   ----------------------------------------------------------------- */
body.mac-landing .mac-medicos {
    padding: var(--mac-space-section) max(1rem, env(safe-area-inset-left));
    background: linear-gradient(165deg, var(--mac-bg) 0%, var(--mac-bg-deep) 50%, var(--mac-bg-raised) 100%);
    border-top: 1px solid var(--mac-border);
}

body.mac-landing .mac-medicos .section__header--center {
    text-align: center;
    margin-bottom: 3rem;
}

body.mac-landing .mac-medicos .mac-medicos__title {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
    color: var(--mac-text);
}

body.mac-landing .mac-medicos .mac-medicos__lead {
    font-size: 1.125rem;
    color: var(--mac-text-muted);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

body.mac-landing .mac-panel {
    background: var(--mac-bg-raised);
    border: 1px solid var(--mac-border);
    border-radius: var(--mac-radius-xl);
    padding: clamp(1.5rem, 4vw, 3rem);
    margin-bottom: 2rem;
    box-shadow: var(--mac-shadow-md);
}

body.mac-landing .mac-panel__head {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

body.mac-landing .mac-panel__icon {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    border-radius: var(--mac-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, rgba(212, 255, 0, 0.25) 0%, rgba(212, 255, 0, 0.08) 100%);
    color: var(--mac-accent);
    border: 1px solid rgba(212, 255, 0, 0.25);
}

body.mac-landing .mac-panel__icon--blue {
    background: linear-gradient(145deg, rgba(59, 130, 246, 0.35) 0%, rgba(37, 99, 235, 0.15) 100%);
    color: #93c5fd;
    border-color: rgba(59, 130, 246, 0.35);
}

body.mac-landing .mac-panel__heading h3 {
    font-size: 1.75rem;
    margin: 0 0 0.5rem 0;
    color: var(--mac-text);
    font-weight: 700;
}

body.mac-landing .mac-panel__heading p {
    margin: 0;
    color: var(--mac-text-muted);
    font-size: 1rem;
}

body.mac-landing .mac-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

body.mac-landing .mac-callout {
    padding: 1.5rem;
    background: var(--mac-bg-deep);
    border-radius: var(--mac-radius-md);
    border: 1px solid var(--mac-border);
    border-left: 4px solid var(--mac-accent);
}

body.mac-landing .mac-callout--blue {
    border-left-color: #3b82f6;
}

body.mac-landing .mac-callout h4 {
    font-size: 1.25rem;
    margin: 0 0 0.75rem 0;
    color: var(--mac-text);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

body.mac-landing .mac-callout p {
    margin: 0;
    color: var(--mac-text-muted);
    line-height: 1.6;
    font-size: 0.9375rem;
}

body.mac-landing .mac-info-box {
    background: linear-gradient(145deg, var(--mac-bg-elevated) 0%, var(--mac-bg-deep) 100%);
    padding: 2rem;
    border-radius: var(--mac-radius-lg);
    margin-top: 1.5rem;
    border: 1px solid var(--mac-border);
}

body.mac-landing .mac-info-box > p:first-child {
    font-size: 1.125rem;
    color: var(--mac-text);
    line-height: 1.8;
    margin: 0 0 1.5rem 0;
}

body.mac-landing .mac-check-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

body.mac-landing .mac-check-row {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

body.mac-landing .mac-check-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: rgba(212, 255, 0, 0.15);
    border: 1px solid rgba(212, 255, 0, 0.3);
    border-radius: var(--mac-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mac-accent);
}

body.mac-landing .mac-check-row h4 {
    margin: 0 0 0.5rem 0;
    color: var(--mac-text);
    font-size: 1rem;
    font-weight: 600;
}

body.mac-landing .mac-check-row p {
    margin: 0;
    color: var(--mac-text-muted);
    font-size: 0.9375rem;
    line-height: 1.5;
}

body.mac-landing .mac-benefits-heading {
    text-align: center;
    margin: 0 0 2rem 0;
    font-size: clamp(1.25rem, 3vw, 1.75rem);
}

body.mac-landing .mac-benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

body.mac-landing .mac-benefit-tile {
    padding: 1.5rem;
    background: var(--mac-bg-deep);
    border-radius: var(--mac-radius-md);
    border: 1px solid var(--mac-border);
}

body.mac-landing .mac-benefit-tile__icon {
    width: 48px;
    height: 48px;
    border-radius: var(--mac-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    background: linear-gradient(145deg, rgba(212, 255, 0, 0.2) 0%, rgba(212, 255, 0, 0.06) 100%);
    color: var(--mac-accent);
    border: 1px solid rgba(212, 255, 0, 0.2);
}

body.mac-landing .mac-benefit-tile h4 {
    margin: 0 0 0.75rem 0;
    color: var(--mac-text);
    font-size: 1.125rem;
    font-weight: 600;
}

body.mac-landing .mac-benefit-tile p {
    margin: 0;
    color: var(--mac-text-muted);
    font-size: 0.9375rem;
    line-height: 1.6;
}

body.mac-landing .mac-cta-pro {
    background: linear-gradient(135deg, rgba(212, 255, 0, 0.18) 0%, rgba(212, 255, 0, 0.06) 100%);
    border: 1px solid rgba(212, 255, 0, 0.35);
    border-radius: var(--mac-radius-xl);
    padding: clamp(2rem, 5vw, 3rem);
    text-align: center;
    color: var(--mac-text);
    box-shadow: var(--mac-shadow-md);
}

body.mac-landing .mac-cta-pro h3 {
    font-size: clamp(1.35rem, 3vw, 2rem);
    margin: 0 0 1rem 0;
    color: var(--mac-text);
}

body.mac-landing .mac-cta-pro > p {
    font-size: 1.125rem;
    margin: 0 0 1rem 0;
    color: var(--mac-text-muted);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

body.mac-landing .mac-cta-pro > p + p {
    margin-top: 0.5rem;
}

body.mac-landing .mac-cta-pro__actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

body.mac-landing .mac-cta-pro__btn-solid {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--mac-accent);
    color: var(--mac-on-accent);
    border-radius: var(--mac-radius-md);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.125rem;
    border: 2px solid var(--mac-accent);
    transition: transform 0.2s, box-shadow 0.2s;
}

body.mac-landing .mac-cta-pro__btn-solid:hover {
    background: var(--mac-accent-hover);
    border-color: var(--mac-accent-hover);
    transform: translateY(-2px);
}

body.mac-landing .mac-cta-pro__btn-outline {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: transparent;
    color: var(--mac-text);
    border: 2px solid var(--mac-border-strong);
    border-radius: var(--mac-radius-md);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.125rem;
    transition: border-color 0.2s, color 0.2s;
}

body.mac-landing .mac-cta-pro__btn-outline:hover {
    border-color: var(--mac-accent);
    color: var(--mac-accent);
}

body.mac-landing .mac-cta-pro__note {
    margin: 2rem 0 0 0;
    font-size: 0.9375rem;
    color: var(--mac-text-subtle);
}

@media (max-width: 640px) {
    body.mac-landing .mac-grid-2 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 968px) {
    body.mac-landing .mac-medicos .mac-panel {
        padding: 1.75rem 1.25rem;
    }

    body.mac-landing .mac-medicos .mac-grid-2 {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    body.mac-landing .mac-medicos .mac-check-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    body.mac-landing .mac-medicos {
        padding: 2rem 0.75rem !important;
    }

    body.mac-landing .mac-medicos .section__header {
        margin-bottom: 2rem !important;
    }

    body.mac-landing .mac-medicos .mac-medicos__title {
        font-size: 1.6rem !important;
    }

    body.mac-landing .mac-medicos .mac-medicos__lead {
        font-size: 1rem !important;
    }

    body.mac-landing .mac-medicos .mac-panel__head {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    body.mac-landing .mac-medicos {
        padding: 1.5rem 0.5rem !important;
    }

    body.mac-landing .mac-medicos .mac-medicos__title {
        font-size: 1.4rem !important;
    }

    body.mac-landing .mac-medicos .mac-panel {
        padding: 1.25rem 0.75rem !important;
        border-radius: var(--mac-radius-lg) !important;
    }
}

/* -----------------------------------------------------------------
   9. Newsletter + pricing en landing (reglas base; sustituyen parte del <style> inline)
   ----------------------------------------------------------------- */
body.mac-landing .newsletter {
    background: linear-gradient(135deg, var(--mac-bg-elevated) 0%, var(--mac-bg-deep) 100%) !important;
    border-top: 1px solid var(--mac-border);
    padding: 4rem 2rem !important;
    color: var(--mac-text) !important;
}

body.mac-landing .newsletter__input-group input {
    background: var(--mac-bg-deep) !important;
    border: 1px solid var(--mac-border-strong) !important;
    color: var(--mac-text) !important;
}

body.mac-landing .newsletter__input-group .btn--primary {
    border-radius: var(--mac-radius-md);
}

body.mac-landing .pricing__header {
    border-bottom-color: var(--mac-border) !important;
}

body.mac-landing .pricing__card--featured {
    border-color: var(--mac-accent) !important;
    box-shadow: 0 0 0 1px rgba(212, 255, 0, 0.2);
}

body.mac-landing .pricing__badge {
    background: linear-gradient(135deg, var(--mac-accent) 0%, var(--mac-accent-pressed) 100%) !important;
    color: var(--mac-on-accent) !important;
}

body.mac-landing .pricing__badge--featured {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
    color: #fff !important;
}

body.mac-landing .pricing__badge-ia {
    color: var(--mac-accent) !important;
    background: rgba(212, 255, 0, 0.12) !important;
    border-color: rgba(212, 255, 0, 0.35) !important;
}

body.mac-landing .planes-tabs__hint,
body.mac-landing .planes-tabs__note {
    color: var(--mac-text-muted);
}

body.mac-landing .pricing__empty {
    background: var(--mac-bg-raised) !important;
    border-color: var(--mac-border) !important;
}

body.mac-landing .pricing__empty-text {
    color: var(--mac-text) !important;
}

body.mac-landing .pricing__empty-sub {
    color: var(--mac-text-muted) !important;
}

/* -----------------------------------------------------------------
   10. Auth público (login, registro, 2FA, recuperar) — body.mac-landing.mac-auth
   ----------------------------------------------------------------- */
body.mac-landing.mac-auth {
    background: var(--mac-bg-deep);
    color: var(--mac-text);
}

body.mac-landing.mac-auth .auth-container {
    background: linear-gradient(165deg, var(--mac-bg-deep) 0%, var(--mac-bg) 45%, #050505 100%);
}

body.mac-landing.mac-auth .auth-container::before {
    background: radial-gradient(ellipse, rgba(212, 255, 0, 0.09) 0%, transparent 72%);
}

body.mac-landing.mac-auth .auth-container::after {
    background: radial-gradient(ellipse, rgba(212, 255, 0, 0.05) 0%, transparent 68%);
}

body.mac-landing.mac-auth .auth-card,
body.mac-landing.mac-auth .auth-card-register {
    background: var(--mac-bg-raised);
    border: 1px solid var(--mac-border);
    box-shadow: var(--mac-shadow-md);
}

body.mac-landing.mac-auth .auth-title {
    color: var(--mac-text);
}

body.mac-landing.mac-auth .auth-subtitle {
    color: var(--mac-text-muted);
}

body.mac-landing.mac-auth .auth-logo {
    color: var(--mac-text);
}

body.mac-landing.mac-auth .auth-logo:hover {
    color: var(--mac-accent);
}

body.mac-landing.mac-auth .auth-logo--image:hover {
    color: inherit;
}

body.mac-landing.mac-auth .auth-logo-img {
    max-height: clamp(4rem, 9vw, 6rem);
    max-width: min(420px, 90vw);
}

body.mac-landing.mac-auth .auth-card .form-group label {
    color: var(--mac-text-muted);
}

body.mac-landing.mac-auth .auth-card .form-group input,
body.mac-landing.mac-auth .auth-card .form-group select,
body.mac-landing.mac-auth .auth-card .form-group textarea {
    background: var(--mac-bg-elevated);
    border-color: var(--mac-border-strong);
    color: var(--mac-text);
}

body.mac-landing.mac-auth .auth-card .form-group input::placeholder,
body.mac-landing.mac-auth .auth-card .form-group textarea::placeholder {
    color: var(--mac-text-subtle);
}

body.mac-landing.mac-auth .auth-card .form-group input:hover,
body.mac-landing.mac-auth .auth-card .form-group select:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

body.mac-landing.mac-auth .auth-card .form-group input:focus,
body.mac-landing.mac-auth .auth-card .form-group select:focus,
body.mac-landing.mac-auth .auth-card .form-group textarea:focus {
    border-color: var(--mac-accent);
    box-shadow: var(--mac-focus);
}

body.mac-landing.mac-auth .auth-card .form-hint {
    color: var(--mac-text-muted);
}

body.mac-landing.mac-auth .auth-form .btn-primary,
body.mac-landing.mac-auth .auth-form button.btn-primary {
    background: var(--mac-accent);
    color: var(--mac-on-accent);
    border: none;
}

body.mac-landing.mac-auth .auth-form .btn-primary:hover,
body.mac-landing.mac-auth .auth-form button.btn-primary:hover {
    background: var(--mac-accent-hover);
    color: var(--mac-on-accent);
}

body.mac-landing.mac-auth .auth-footer .auth-link {
    color: var(--mac-accent);
}

body.mac-landing.mac-auth .auth-footer .auth-link:hover {
    color: var(--mac-accent-hover);
}

body.mac-landing.mac-auth .auth-footer .auth-link-muted {
    color: var(--mac-text-muted);
}

body.mac-landing.mac-auth .auth-footer .auth-link-muted:hover {
    color: var(--mac-text);
}

body.mac-landing.mac-auth .auth-footer-register a {
    color: var(--mac-accent);
}

body.mac-landing.mac-auth .auth-footer-register a:hover {
    color: var(--mac-accent-hover);
}

body.mac-landing.mac-auth .auth-card h1,
body.mac-landing.mac-auth .auth-card h2 {
    color: var(--mac-text);
}

body.mac-landing.mac-auth .auth-card > p {
    color: var(--mac-text-muted);
}

body.mac-landing.mac-auth .auth-card form:not(.auth-form) .btn-primary,
body.mac-landing.mac-auth .auth-card .btn-block.btn-primary {
    background: var(--mac-accent);
    color: var(--mac-on-accent);
    border: none;
}

body.mac-landing.mac-auth .auth-card form:not(.auth-form) .btn-primary:hover {
    background: var(--mac-accent-hover);
    color: var(--mac-on-accent);
}

body.mac-landing.mac-auth .auth-card .auth-links a {
    color: var(--mac-accent);
}

body.mac-landing.mac-auth .auth-card .auth-links a:hover {
    color: var(--mac-accent-hover);
}

body.mac-landing.mac-auth .auth-inline-link a {
    color: var(--mac-accent);
}

body.mac-landing.mac-auth .auth-inline-link a:hover {
    color: var(--mac-accent-hover);
}

body.mac-landing.mac-auth .auth-step-desc {
    color: var(--mac-text-muted);
}

body.mac-landing.mac-auth .alert {
    border-radius: var(--mac-radius-md);
}

body.mac-landing.mac-auth .alert-error {
    background: rgba(248, 113, 113, 0.12);
    border: 1px solid rgba(248, 113, 113, 0.35);
    color: #fecaca;
}

body.mac-landing.mac-auth .alert-success {
    background: rgba(212, 255, 0, 0.1);
    border: 1px solid rgba(212, 255, 0, 0.28);
    color: var(--mac-accent);
}

body.mac-landing.mac-auth .alert-warning {
    background: rgba(251, 191, 36, 0.12);
    border: 1px solid rgba(251, 191, 36, 0.35);
    color: #fde68a;
}

body.mac-landing.mac-auth .auth-success-message {
    color: var(--mac-text-muted);
}

body.mac-landing.mac-auth .auth-code-input {
    background: var(--mac-bg-elevated);
    border-color: var(--mac-border-strong);
    color: var(--mac-text);
}

body.mac-landing.mac-auth .auth-whatsapp-link {
    color: var(--mac-accent);
}

body.mac-landing.mac-auth .tipo-cuenta-legend {
    color: var(--mac-text);
}

body.mac-landing.mac-auth .tipo-cuenta-desc {
    color: var(--mac-text-muted);
}

body.mac-landing.mac-auth .tipo-cuenta-option {
    border-color: var(--mac-border-strong);
    background: var(--mac-bg-elevated);
}

body.mac-landing.mac-auth .tipo-cuenta-option:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background: var(--mac-bg-raised);
}

body.mac-landing.mac-auth .tipo-cuenta-option input[type="radio"]:checked + .tipo-cuenta-title {
    color: var(--mac-accent);
}

body.mac-landing.mac-auth .tipo-cuenta-option:has(input:checked) {
    border-color: var(--mac-accent);
    background: rgba(212, 255, 0, 0.08);
}

body.mac-landing.mac-auth .tipo-cuenta-title {
    color: var(--mac-text);
}

body.mac-landing.mac-auth .tipo-cuenta-text {
    color: var(--mac-text-muted);
}

/* -----------------------------------------------------------------
   11. Página contacto pública — body.mac-landing.mac-contact
       (base en contacto-public.css; este bloque aplica después para el tema MAC)
   ----------------------------------------------------------------- */
body.mac-landing.mac-contact {
    background: var(--mac-bg-deep);
}

body.mac-landing.mac-contact .contact {
    background: transparent !important;
    min-height: auto !important;
    border-top: 1px solid var(--mac-border);
}

body.mac-landing.mac-contact .section__title,
body.mac-landing.mac-contact .section__subtitle {
    color: var(--mac-text);
}

body.mac-landing.mac-contact .section__subtitle {
    color: var(--mac-text-muted);
}

body.mac-landing.mac-contact .contact__card {
    background: var(--mac-bg-raised) !important;
    border: 1px solid var(--mac-border) !important;
    box-shadow: var(--mac-shadow-sm);
}

body.mac-landing.mac-contact .contact__card h3 {
    color: var(--mac-text);
}

body.mac-landing.mac-contact .contact__card p,
body.mac-landing.mac-contact .contact__card a {
    color: var(--mac-text-muted);
}

body.mac-landing.mac-contact .contact__card a:hover {
    color: var(--mac-accent);
}

body.mac-landing.mac-contact .contact__social-title {
    color: var(--mac-text) !important;
}

/* El fondo del bloque va en .contact__form-wrapper; el <form> queda limpio */
body.mac-landing.mac-contact .contact__form {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

body.mac-landing.mac-contact .contact__form-group label {
    color: var(--mac-text-muted) !important;
}

body.mac-landing.mac-contact .contact__form-group input,
body.mac-landing.mac-contact .contact__form-group textarea {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    background: var(--mac-bg-elevated) !important;
    border-color: var(--mac-border-strong) !important;
    color: var(--mac-text) !important;
}

body.mac-landing.mac-contact .contact__form-group input:focus,
body.mac-landing.mac-contact .contact__form-group textarea:focus {
    border-color: var(--mac-accent) !important;
    box-shadow: var(--mac-focus) !important;
}

body.mac-landing.mac-contact .btn.btn--primary {
    background: var(--mac-accent) !important;
    color: var(--mac-on-accent) !important;
    border: 2px solid var(--mac-accent) !important;
    box-shadow: none !important;
}

body.mac-landing.mac-contact .btn.btn--primary:hover {
    background: var(--mac-accent-hover) !important;
    border-color: var(--mac-accent-hover) !important;
}

body.mac-landing.mac-contact .btn:focus {
    outline: none !important;
}

body.mac-landing.mac-contact .btn:focus-visible {
    box-shadow: var(--mac-focus) !important;
}

body.mac-landing.mac-contact .contact__icon {
    background: rgba(212, 255, 0, 0.12) !important;
    color: var(--mac-accent) !important;
}

body.mac-landing.mac-contact .contact__card:hover {
    border-color: rgba(212, 255, 0, 0.35) !important;
}

body.mac-landing.mac-contact .contact__social-link {
    background: var(--mac-bg-elevated) !important;
    border-color: var(--mac-border-strong) !important;
    color: var(--mac-text-muted) !important;
}

body.mac-landing.mac-contact .contact__social-link:hover {
    border-color: var(--mac-accent) !important;
    color: var(--mac-accent) !important;
    background: rgba(212, 255, 0, 0.08) !important;
}

body.mac-landing.mac-contact .contact .social__link {
    background: var(--mac-bg-elevated) !important;
    border: 1px solid var(--mac-border-strong) !important;
    color: var(--mac-text-muted) !important;
}

body.mac-landing.mac-contact .contact .social__link:hover {
    border-color: var(--mac-accent) !important;
    color: var(--mac-accent) !important;
    background: rgba(212, 255, 0, 0.08) !important;
}

/* Refuerzo: icono Instagram / social (evita SVG gigante por reset global img,svg) */
body.mac-landing.mac-contact .contact__social .social__link {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    max-width: 44px !important;
    max-height: 44px !important;
    overflow: hidden !important;
    flex-shrink: 0 !important;
}

body.mac-landing.mac-contact .contact__social .social__link svg {
    width: 20px !important;
    height: 20px !important;
    max-width: 20px !important;
    max-height: 20px !important;
}

/* -----------------------------------------------------------------
   12. Botón flotante WhatsApp — mismo acento MAC que la landing
   ----------------------------------------------------------------- */
body.mac-landing .whatsapp-float {
    background: linear-gradient(145deg, var(--mac-accent) 0%, var(--mac-accent-pressed) 100%) !important;
    color: var(--mac-on-accent) !important;
    box-shadow: 0 4px 22px rgba(212, 255, 0, 0.32) !important;
}

body.mac-landing .whatsapp-float:hover {
    box-shadow: 0 6px 30px rgba(212, 255, 0, 0.42) !important;
}

body.mac-landing .whatsapp-float svg {
    color: var(--mac-on-accent) !important;
    fill: currentColor !important;
}

/* -----------------------------------------------------------------
   13. Cierre cascada — prioridad sobre styles.css (caché / orden / hosting)
       Colores literales alineados a --mac-* por si falla el bloque de tokens.
   ----------------------------------------------------------------- */
body.mac-landing {
    background-color: #080808 !important;
    color: #f5f5f4 !important;
}

body.mac-landing .header {
    background: rgba(8, 8, 8, 0.92) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
    box-shadow: none !important;
}

body.mac-landing .header.header--scrolled {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55) !important;
}

body.mac-landing .hero {
    background:
        radial-gradient(ellipse 80% 60% at 70% 20%, rgba(212, 255, 0, 0.07) 0%, transparent 55%),
        linear-gradient(180deg, #0f0f0f 0%, #080808 100%) !important;
}

body.mac-landing .mac-section,
body.mac-landing section#servicios {
    background-color: #080808 !important;
}

body.mac-landing .about {
    background-color: #0f0f0f !important;
}

body.mac-landing .about .section__title {
    color: #f5f5f4 !important;
}

body.mac-landing .about__description {
    color: #a8a29e !important;
}

body.mac-landing .mac-section .section__title,
body.mac-landing section#servicios .section__title {
    color: #f5f5f4 !important;
}

body.mac-landing .mac-section .section__subtitle {
    color: #a8a29e !important;
}

body.mac-landing .hero__title {
    color: #f5f5f4 !important;
}

body.mac-landing .hero__description {
    color: #a8a29e !important;
}

body.mac-landing .service__card {
    background-color: #161616 !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
}

body.mac-landing .service__title {
    color: #f5f5f4 !important;
}

body.mac-landing .service__description {
    color: #a8a29e !important;
}

body.mac-landing .service__icon {
    background: linear-gradient(145deg, rgba(212, 255, 0, 0.18) 0%, rgba(212, 255, 0, 0.06) 100%) !important;
    border: 1px solid rgba(212, 255, 0, 0.2) !important;
    color: #d4ff00 !important;
}

@media (max-width: 900px) {
    body.mac-landing .mac-kicker--hero-mobile-offset {
        margin-top: 1.35rem !important;
        display: inline-block;
    }
}
