/* =============================================================
   LA FINQUITA — HOMEPAGE CSS
   Réplica del diseño de referencia con colores de marca.
   Estructura: Variables → Reset → Tipografía → Layout →
               Nav → Hero → Marquee → Services → Features →
               Testimonials → CTA Promo → FAQ → Newsletter → Footer
   ============================================================= */

/* ─────────────────────────────────────────
   1. VARIABLES DE DISEÑO
   ─────────────────────────────────────────
   PALETA DE MARCA — LA FINQUITA:
   Primary:    #A450C9  (púrpura)
   Secondary:  #DC8E95  (rosa)
   Accent:     #F5C7FF  (lila claro)
   Dark-1:     #00011B  (fondo más oscuro)
   Dark-2:     #000224  (fondo oscuro base)
   Light-bg:   #FDF4F7  (fondo claro rosa)
   Light-bg2:  #F4F4FD  (fondo claro lila)
   ───────────────────────────────────────── */
:root {
    /* Colores de marca */
    --lf-primary:       #A450C9;
    --lf-primary-dark:  #8A3DAA;
    --lf-primary-light: #BC6EDB;
    --lf-secondary:     #DC8E95;
    --lf-accent:        #F5C7FF;
    --lf-accent-muted:  rgba(245, 199, 255, 0.15);

    /* Fondos oscuros (tema dark del diseño de referencia) */
    --lf-bg-darkest:    #00011B;
    --lf-bg-dark:       #000224;
    --lf-bg-card:       #0A0A30;
    --lf-bg-card-light: #14144A;
    --lf-bg-elevated:   #1A1A50;

    /* Texto */
    --lf-text-white:    #FFFFFF;
    --lf-text-muted:    rgba(255, 255, 255, 0.60);
    --lf-text-subtle:   rgba(255, 255, 255, 0.35);

    /* Tipografía */
    --lf-font:          'Poppins', sans-serif;

    /* Espaciado y contenedor.
       10vw/140px era excesivo en desktop — generaba ~280px entre secciones.
       Con 7vw/100px: ~200px entre secciones a 1440px. Estándar premium. */
    --lf-section-py:    clamp(64px, 7vw, 100px);
    --lf-section-py-sm: clamp(40px, 5vw, 64px);
    --lf-container-max: 1240px;
    --lf-container-px:  clamp(20px, 5vw, 80px);

    /* Border radius */
    --lf-radius-card:   24px;
    --lf-radius-card-lg:32px;
    --lf-radius-btn:    100px;
    --lf-radius-sm:     12px;
    --lf-radius-xs:     8px;

    /* Sombras */
    --lf-shadow-card:   0 20px 60px rgba(0, 0, 0, 0.4);
    --lf-shadow-float:  0 30px 80px rgba(0, 0, 0, 0.5);
    --lf-shadow-glow:   0 0 60px rgba(164, 80, 201, 0.3);

    /* Transiciones */
    --lf-ease:          cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --lf-ease-out:      cubic-bezier(0.16, 1, 0.3, 1);
    --lf-ease-spring:   cubic-bezier(0.34, 1.56, 0.64, 1);
    --lf-duration-fast: 200ms;
    --lf-duration-base: 350ms;
    --lf-duration-slow: 600ms;
    --lf-duration-xl:   900ms;
}

/* ─────────────────────────────────────────
   2. RESET Y BASE
   ───────────────────────────────────────── */

/* ── COLORES GLOBALES DE HOMEPAGE ──────────────────────────────
   hello-elementor define body { color: #333333 } (0,0,1).
   Nuestros selectores con .lf-homepage (0,2,0+) ganan sin !important
   en la mayoría de casos, pero mantenemos !important en body base
   como salvaguarda frente a posibles plugins que inyecten estilos.
   El prefijo body.lf-homepage garantiza scope exclusivo en homepage.
   ─────────────────────────────────────────────────────────────── */

/* Base: fondo y color heredado blanco para toda la página */
body.lf-homepage {
    background-color: var(--lf-bg-dark) !important;
    color: var(--lf-text-white) !important;
}

/* Forzar herencia en todos los descendientes para que aplique
   nuestro color blanco en lugar del navy de Elementor */
body.lf-homepage * {
    color: inherit;
}

/* Headings — blanco explícito */
body.lf-homepage h1,
body.lf-homepage h2,
body.lf-homepage h3,
body.lf-homepage h4,
body.lf-homepage h5,
body.lf-homepage h6 {
    color: var(--lf-text-white) !important;
}

/* Hero h1 — anula text-transform:uppercase del Kit de Elementor en tipografía "primary" */
body.lf-homepage .lf-hero__title {
    text-transform: none !important;
}

/* Section headings — mixed case en toda la homepage.
   Los eyebrows SÍ deben ser uppercase (es su tratamiento tipográfico por diseño);
   sólo los h2/h3 de sección van en mixed case. */
body.lf-homepage .lf-section-header h2,
body.lf-homepage .lf-services__header h2,
body.lf-homepage .lf-features__header h2,
body.lf-homepage .lf-testimonials .lf-section-header h2,
body.lf-homepage .lf-faq__header h2,
body.lf-homepage .lf-cta-promo__content h2 {
    text-transform: none !important;
}

/* Paneles de servicios — texto visible sobre fondo oscuro */
body.lf-homepage .lf-panel__text h3 {
    color:          var(--lf-text-white) !important;
    text-transform: none !important; /* Kit tiene uppercase en h3 via "accent" typography */
}
body.lf-homepage .lf-panel__text .lf-eyebrow {
    color: var(--lf-primary) !important;
}
body.lf-homepage .lf-panel__text .lf-btn--outline {
    color:        var(--lf-text-white) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
}

/* Acento de título — gradient text, protegido de overrides de Elementor */
body.lf-homepage .lf-title-accent {
    color: transparent !important;
    -webkit-text-fill-color: transparent !important;
}

/* Párrafos — heredan el color blanco del ancestro */
body.lf-homepage p {
    color: inherit;
}

/* Muted text — explícito en elementos clave */
body.lf-homepage .lf-hero__subtitle,
body.lf-homepage .lf-panel__text p,
body.lf-homepage .lf-faq__header p,
body.lf-homepage .lf-faq-item__answer p,
body.lf-homepage .lf-newsletter__desc,
body.lf-homepage .lf-review-card__text,
body.lf-homepage .lf-footer__bottom p {
    color: var(--lf-text-muted) !important;
}

/* Subtle text — newsletter label solo en homepage */
body.lf-homepage .lf-newsletter__label {
    color: var(--lf-text-subtle) !important;
}

/* ================================================================
   OVERRIDES COMPARTIDOS — body.lf-custom-page
   ─────────────────────────────────────────────────────────────────
   Aplica a TODAS las páginas con template custom de La Finquita
   (home, reserva, galería y cualquier página futura).
   Para añadir una nueva página basta con:
     1. Añadir 'lf-custom-page' en functions.php → lf_add_homepage_body_class()
     2. No tocar este bloque.
   ================================================================ */

/* Eyebrow — acento primario en todas las páginas custom */
body.lf-custom-page .lf-eyebrow {
    color: var(--lf-primary) !important;
}

/* Footer — copyright */
body.lf-custom-page .lf-footer__bottom p {
    color: var(--lf-text-subtle) !important;
}

/* Footer — títulos de columna */
body.lf-custom-page .lf-footer__col-title {
    color: var(--lf-primary) !important;
}

/* Footer — enlaces de navegación */
body.lf-custom-page .lf-footer__col a,
body.lf-homepage .lf-footer__col a {
    color: var(--lf-text-muted) !important;
}
body.lf-custom-page .lf-footer__col a:hover,
body.lf-homepage .lf-footer__col a:hover {
    color: var(--lf-text-white) !important;
}

/* Footer — dirección NAP */
body.lf-custom-page .lf-footer__address,
body.lf-homepage .lf-footer__address {
    color: var(--lf-text-subtle) !important;
}

/* Nav links — fondo blanco del pill, texto oscuro */
body.lf-custom-page .lf-nav__links a,
body.lf-custom-page .lf-nav__link-secondary,
body.lf-custom-page .lf-nav__mobile a {
    color: var(--lf-bg-dark) !important;
}
body.lf-custom-page .lf-nav__links a:hover,
body.lf-custom-page .lf-nav__link-secondary:hover {
    color: var(--lf-primary) !important;
}

/* Nav inner — padding ajustado */
body.lf-custom-page .lf-nav__inner {
    padding: 7px 8px 7px 20px !important;
}

/* Logo — altura fija */
body.lf-custom-page .lf-nav__logo-img {
    height: 32px !important;
    width: auto !important;
    max-width: 180px !important;
    display: block !important;
}

/*
 * Hamburger — reset de estilos de browser/tema para el <button>.
 * Especificidad (0,2,1) supera holgadamente el selector de elemento
 * button (0,0,1) de hello-elementor. Sin !important.
 */
body.lf-custom-page .lf-nav__hamburger {
    background:    transparent;
    border:        none;
    border-radius: 8px;
    padding:       10px 6px;
    min-height:    unset;
    width:         40px;
    height:        40px;
    box-shadow:    none;
    color:         inherit;
}
body.lf-custom-page .lf-nav__hamburger:hover,
body.lf-custom-page .lf-nav__hamburger:focus {
    background: rgba(164, 80, 201, 0.10);
    outline:    none;
}

/* Hamburger barras — oscuras sobre fondo blanco del pill */
body.lf-custom-page .lf-nav__hamburger span {
    background-color: var(--lf-bg-dark);
}

/* Botones primary */
body.lf-custom-page .lf-btn--primary {
    color: #fff !important;
    background-color: var(--lf-primary) !important;
}

/* Botones ghost / outline — texto blanco sobre fondos oscuros */
body.lf-custom-page .lf-btn--outline,
body.lf-custom-page .lf-btn--ghost,
body.lf-custom-page .lf-btn--ghost-sm,
body.lf-custom-page .lf-btn--ghost-lg {
    color: var(--lf-text-white) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
}

/* ── fin overrides compartidos ─────────────────────────────────── */

/* Review card elements */
body.lf-homepage .lf-review-card__name,
body.lf-homepage .lf-review-card__title {
    color: var(--lf-text-white) !important;
}

/* Badge (fondo blanco — texto oscuro) */
body.lf-homepage .lf-hero__badge,
body.lf-homepage .lf-hero__badge strong {
    color: var(--lf-bg-dark) !important;
}
body.lf-homepage .lf-hero__badge span {
    color: rgba(0, 2, 36, 0.6) !important;
}
/* Especificidad aumentada para superar la regla genérica .lf-hero__badge span */
body.lf-homepage .lf-hero__badge .lf-hero__badge-stars {
    color: #FFB800 !important;
}

/* FAQ trigger — reset del <button> del navegador y hello-elementor.
   Especificidad (0,2,1) supera button (0,0,1). Sin !important. */
body.lf-homepage .lf-faq-item__trigger {
    background:      transparent;
    border:          none;
    border-radius:   0;
    padding:         22px 0;
    min-height:      unset;
    box-shadow:      none;
    color:           var(--lf-text-white);
    display:         flex;
    align-items:     center;
    justify-content: space-between;
    width:           100%;
    max-width:       100%;
    min-width:       0;
    box-sizing:      border-box;
    text-align:      left;
    white-space:     normal;
    overflow-wrap:   break-word;
    word-break:      break-word;
    text-transform:  none;
    letter-spacing:  normal;
    font-size:       15px;
    font-weight:     600;
    font-family:     var(--lf-font);
    gap:             16px;
    transition:      color var(--lf-duration-fast);
    cursor:          pointer;
}
body.lf-homepage .lf-faq-item__trigger:hover {
    color: var(--lf-primary);
}
body.lf-homepage .lf-faq-item__trigger[aria-expanded="true"] {
    color: var(--lf-primary);
}

/* Tab buttons — reset del <button> del navegador y hello-elementor.
   Especificidad (0,2,1) supera button (0,0,1). Sin !important. */
body.lf-homepage .lf-tab-btn {
    background:      transparent;
    border:          none;
    border-radius:   50%;
    padding:         0;
    width:           52px;
    height:          52px;
    min-height:      unset;
    box-shadow:      none;
    color:           var(--lf-text-subtle);
    display:         flex;
    align-items:     center;
    justify-content: center;
    letter-spacing:  0;
    text-transform:  none;
}
body.lf-homepage .lf-tab-btn:hover,
body.lf-homepage .lf-tab-btn:focus {
    background: rgba(255, 255, 255, 0.06);
    color:      var(--lf-text-muted);
    box-shadow: none;
    outline:    none;
}
body.lf-homepage .lf-tab-btn.is-active {
    background: var(--lf-primary);
    color:      #fff;
    box-shadow: 0 4px 20px rgba(164, 80, 201, 0.4);
}
/* SVG icons — renderizados al tamaño del viewBox (24×24) para nitidez máxima */
body.lf-homepage .lf-tab-btn svg {
    width:       24px;
    height:      24px;
    flex-shrink: 0;
    display:     block;
}

/* Newsletter/WhatsApp CTA — H2 anula uppercase del bloque tipográfico global */
body.lf-homepage .lf-newsletter__inner h2 {
    text-transform: none !important;
    letter-spacing: normal !important;
}

/* Marquee */
body.lf-homepage .lf-marquee__track span {
    color: rgba(255, 255, 255, 0.95) !important;
}
body.lf-homepage .lf-marquee__sep {
    color: rgba(255, 255, 255, 0.5) !important;
}

/* Icon cards */
body.lf-homepage .lf-icon-card--primary {
    color: #fff !important;
}
body.lf-homepage .lf-icon-card--accent {
    color: var(--lf-accent) !important;
}
body.lf-homepage .lf-icon-card--dark {
    color: var(--lf-text-muted) !important;
}

/* CTA promo — texto de apoyo (solo homepage) */
body.lf-homepage .lf-cta-promo__desc {
    color: var(--lf-text-muted) !important;
}
/* ─────────────────────────────────────────────────────────────── */

/*
 * GUARD GLOBAL: previene scroll horizontal en toda la página.
 * overflow-x: clip en lugar de hidden — clip no crea un nuevo scroll container,
 * por lo que position:sticky sigue funcionando correctamente.
 * Cubre tanto el desbordamiento de tracks animados como cualquier
 * elemento que supere el ancho del viewport.
 */
html {
    overflow-x: clip;
}

.lf-homepage {
    font-family: var(--lf-font);
    background-color: var(--lf-bg-dark);
    color: var(--lf-text-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden; /* Fallback para browsers sin soporte de clip */
}

.lf-homepage img {
    display: block;
    max-width: 100%;
    height: auto;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

/* ─────────────────────────────────────────
   3. LAYOUT BASE
   ─────────────────────────────────────────
   Selectores de clase (0,1,0) superan en especificidad a los
   selectores de elemento de hello-elementor (0,0,1). No se
   necesita !important para las reglas de layout base.
   ───────────────────────────────────────── */
.lf-container {
    width: 100%;
    max-width: var(--lf-container-max);
    margin-inline: auto;
    padding-inline: var(--lf-container-px);
}

.lf-section {
    padding-block: var(--lf-section-py);
}

.lf-section-header {
    text-align: center;
    margin-bottom: clamp(48px, 6vw, 80px);
}

.lf-section-header h2 {
    margin-block: 16px 28px;
}

/* ─────────────────────────────────────────
   4. TIPOGRAFÍA
   ─────────────────────────────────────────
   margin-block: 0 !important necesario tras eliminar el reset
   global de style.css. Hello Elementor define margin-block: 0.5rem 1rem
   en h1-h6, que sin reset produciría espaciado no deseado en
   los headings del hero y secciones (sumándose al flexbox gap).
   ───────────────────────────────────────── */
.lf-homepage h1,
.lf-homepage h2,
.lf-homepage h3 {
    font-family: var(--lf-font) !important;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.0;
    text-transform: uppercase;
    color: var(--lf-text-white) !important;
    margin-block: 0 !important;
}

/* Párrafos: hello-elementor añade margin-block-end: 0.9rem en <p>.
   Sin reset, los párrafos del hero y secciones ganarían margen inferior
   adicional al gap de flexbox. Neutralizamos solo donde el layout
   gestiona el espaciado con gap/padding propios. */
.lf-homepage p {
    margin-block: 0 !important;
}

.lf-hero__title {
    font-size: clamp(40px, 4.8vw, 78px);
    line-height: 0.95;
    letter-spacing: -0.025em;
    font-weight: 800;
    text-transform: none !important; /* Elementor Kit "primary" typography tiene text-transform: uppercase */
}

/* Palabra acento con gradient — "perfecta" */
.lf-hero__title .lf-title-accent {
    display: inline-block; /* necesario para background-clip: text */
    background: linear-gradient(120deg, #BC6EDB 0%, #A450C9 45%, #F5C7FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.lf-homepage h2 {
    font-size: clamp(36px, 5vw, 72px);
    line-height: 1.0;
}

.lf-services__bento h3,
.lf-faq__header h2 {
    font-size: clamp(32px, 4vw, 58px);
}

/* .lf-newsletter__right h3 eliminado — newsletter rediseñado a layout centrado */

/* Eyebrow — label pequeño sobre h2 */
.lf-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--lf-primary) !important;
    margin-bottom: 4px;
}

/* ─────────────────────────────────────────
   5. BOTONES
   ───────────────────────────────────────── */
.lf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--lf-radius-btn);
    font-family: var(--lf-font);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    border: 2px solid transparent;
    transition: background-color var(--lf-duration-base) var(--lf-ease-out),
                border-color var(--lf-duration-base) var(--lf-ease-out),
                color var(--lf-duration-base) var(--lf-ease-out),
                transform var(--lf-duration-base) var(--lf-ease-out),
                box-shadow var(--lf-duration-base) var(--lf-ease-out);
    white-space: nowrap;
    -webkit-user-select: none;
    user-select: none;
    position: relative;
    overflow: hidden;
}

.lf-btn:focus-visible {
    outline: 2px solid var(--lf-primary);
    outline-offset: 3px;
}

/* Botón primario — púrpura */
.lf-btn--primary {
    background-color: var(--lf-primary) !important;
    color: #fff !important;
    border-color: var(--lf-primary) !important;
}
.lf-btn--primary:hover {
    background-color: var(--lf-primary-light) !important;
    border-color: var(--lf-primary-light) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(164, 80, 201, 0.4);
}
.lf-btn--primary:active { transform: translateY(0); }

/* Botón outline — borde blanco */
.lf-btn--outline {
    background: transparent !important;
    color: var(--lf-text-white) !important;
    border-color: rgba(255,255,255,0.35) !important;
}
.lf-btn--outline:hover {
    background: rgba(255,255,255,0.08) !important;
    border-color: rgba(255,255,255,0.7) !important;
}

/* Botón ghost — borde blanco sólido, grande */
.lf-btn--ghost {
    background: transparent !important;
    color: var(--lf-text-white) !important;
    border-color: rgba(255,255,255,0.4) !important;
}
.lf-btn--ghost:hover {
    background: rgba(255,255,255,0.1) !important;
    border-color: #fff !important;
}

.lf-btn--ghost-lg {
    background: transparent;
    color: var(--lf-text-white);
    border-color: rgba(255,255,255,0.5);
    padding: 18px 40px;
    font-size: 14px;
}
.lf-btn--ghost-lg:hover {
    background: rgba(255,255,255,0.12);
    border-color: #fff;
    transform: translateY(-2px);
}

.lf-btn--ghost-sm {
    background: transparent;
    color: var(--lf-text-white);
    border-color: rgba(255,255,255,0.3);
    padding: 10px 20px;
    font-size: 12px;
}
.lf-btn--ghost-sm:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.6);
}

/* Tamaños */
.lf-btn--lg  { padding: 18px 36px; font-size: 14px; }
.lf-btn--sm  { padding: 9px 20px; font-size: 12px; letter-spacing: 1.5px; }

/* ─────────────────────────────────────────
   6. ANIMACIONES — Keyframes
   ───────────────────────────────────────── */
@keyframes lf-float-1 {
    0%, 100% { transform: translateY(0px) rotate(-6deg); }
    50%       { transform: translateY(-18px) rotate(-6deg); }
}
@keyframes lf-float-2 {
    0%, 100% { transform: translateY(0px) rotate(4deg); }
    50%       { transform: translateY(-24px) rotate(4deg); }
}
@keyframes lf-float-3 {
    0%, 100% { transform: translateY(0px) rotate(-2deg); }
    50%       { transform: translateY(-12px) rotate(-2deg); }
}
@keyframes lf-float-badge {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-8px); }
}
@keyframes lf-marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
@keyframes lf-fade-up {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes lf-fade-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes lf-scale-in {
    from { opacity: 0; transform: scale(0.92); }
    to   { opacity: 1; transform: scale(1); }
}
@keyframes lf-deco-rotate {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
@keyframes lf-glow-pulse {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50%       { opacity: 0.7; transform: scale(1.1); }
}

/* Clases de animación por scroll */
.lf-animate-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity var(--lf-duration-xl) var(--lf-ease-out),
                transform var(--lf-duration-xl) var(--lf-ease-out);
}
.lf-animate-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.lf-animate-up--delay-1 { transition-delay: 120ms; }
.lf-animate-up--delay-2 { transition-delay: 240ms; }
.lf-animate-up--delay-3 { transition-delay: 360ms; }

/* Cards de testimonios — arrancan apiladas y se despliegan */
.lf-animate-card {
    opacity: 0;
    transform: rotate(calc(var(--card-index, 0) * 3deg - 8deg)) translateY(30px) scale(0.95);
    transition: opacity 600ms var(--lf-ease-out),
                transform 600ms var(--lf-ease-out);
    transition-delay: calc(var(--card-index, 0) * 80ms);
}
.lf-animate-card.is-visible {
    opacity: 1;
    transform: rotate(0deg) translateY(0) scale(1);
}

/* ─────────────────────────────────────────
   7. NAVEGACIÓN
   ───────────────────────────────────────── */
.lf-nav {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 48px);
    max-width: 1160px;
    z-index: 1000;
    transition: top var(--lf-duration-base) var(--lf-ease);
}

/* Cuando la admin bar de WordPress está visible (admin logueado),
   la barra negra ocupa 32px fijos → empujamos el nav por debajo.
   En producción sin admin bar, top: 24px es el valor correcto. */
.admin-bar .lf-nav {
    top: calc(32px + 16px); /* 32px admin bar + 16px de separación flotante */
}
@media screen and (max-width: 782px) {
    .admin-bar .lf-nav {
        top: calc(46px + 12px); /* en móvil la admin bar es 46px */
    }
}

.lf-nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-radius: 100px;
    padding: 7px 8px 7px 20px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.18),
                0 0 0 1px rgba(0, 0, 0, 0.06);
    transition: box-shadow var(--lf-duration-base) var(--lf-ease);
}

/* Scrolled state */
.lf-nav.is-scrolled .lf-nav__inner {
    box-shadow: 0 6px 32px rgba(0, 0, 0, 0.22),
                0 0 0 1px rgba(0, 0, 0, 0.08);
}

/* Logo link — contenedor ajustado al logo horizontal */
.lf-nav__logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    line-height: 0;
}

.lf-nav__logo-img {
    height: 32px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}

.lf-nav__links {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.lf-nav__links a {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.2px;
    color: var(--lf-bg-dark);
    text-decoration: none;
    transition: color var(--lf-duration-fast) var(--lf-ease);
    white-space: nowrap;
    opacity: 0.75;
}

.lf-nav__links a:hover {
    color: var(--lf-primary);
    opacity: 1;
}

.lf-nav__actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.lf-nav__link-secondary {
    font-size: 14px;
    font-weight: 500;
    color: var(--lf-bg-dark);
    text-decoration: none;
    padding: 8px 16px;
    transition: color var(--lf-duration-fast);
    white-space: nowrap;
}
.lf-nav__link-secondary:hover { color: var(--lf-primary); }

/* Hamburger */
.lf-nav__hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-left: 8px;
}
.lf-nav__hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--lf-bg-dark);
    border-radius: 2px;
    transition: all var(--lf-duration-base) var(--lf-ease);
}
.lf-nav__hamburger.is-open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.lf-nav__hamburger.is-open span:nth-child(2) { opacity: 0; }
.lf-nav__hamburger.is-open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* Menú mobile */
.lf-nav__mobile {
    display: none;
    margin-top: 8px;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.2);
}
.lf-nav__mobile.is-open { display: block; }
.lf-nav__mobile ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.lf-nav__mobile a {
    display: block;
    padding: 12px 16px;
    font-size: 15px;
    font-weight: 500;
    color: var(--lf-bg-dark);
    text-decoration: none;
    border-radius: 12px;
    transition: background var(--lf-duration-fast);
}
.lf-nav__mobile a:hover { background: rgba(164, 80, 201, 0.08); }
.lf-nav__mobile .lf-btn {
    margin-top: 12px;
    width: 100%;
    justify-content: center;
}

/* ─────────────────────────────────────────
   8. HERO
   ───────────────────────────────────────── */
.lf-hero {
    /* 100vh en desktop — estable porque el chrome no aparece/desaparece */
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-block: 108px 64px;
    position: relative;
    overflow: hidden;
}

@media (max-width: 767px) {
    .lf-hero {
        /*
         * En mobile, 100vh incluye el chrome del navegador y cambia cuando
         * éste se oculta → CLS. Usamos 100svh (small viewport height) que
         * es constante e ignora el chrome. Fallback a 640px para browsers
         * antiguos sin soporte svh.
         */
        min-height: 640px;
        min-height: 100svh;
    }
}

.lf-hero__bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 80% at 70% 50%, rgba(164, 80, 201, 0.18) 0%, transparent 60%),
                radial-gradient(ellipse 60% 60% at 20% 80%, rgba(220, 142, 149, 0.12) 0%, transparent 50%),
                var(--lf-bg-darkest);
    z-index: 0;
}

.lf-hero__bg-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: lf-glow-pulse 6s ease-in-out infinite;
}
.lf-hero__bg-glow--1 {
    width: 600px;
    height: 600px;
    background: rgba(164, 80, 201, 0.22);
    top: -100px;
    right: 10%;
    animation-delay: 0s;
}
.lf-hero__bg-glow--2 {
    width: 400px;
    height: 400px;
    background: rgba(220, 142, 149, 0.15);
    bottom: 0;
    left: 5%;
    animation-delay: 3s;
}

.lf-hero__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 100px);
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Contenido izquierdo */
.lf-hero__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.lf-hero__content .lf-eyebrow {
    margin-bottom: 0;
}

.lf-hero__subtitle {
    font-size: clamp(15px, 1.5vw, 18px);
    color: var(--lf-text-muted) !important;
    line-height: 1.7;
    max-width: 420px;
}

.lf-hero__btns {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 8px;
}

/* Visual flotante (derecha) */
.lf-hero__visual {
    position: relative;
    height: 500px;
}

.lf-hero__card {
    position: absolute;
    border-radius: var(--lf-radius-card);
    overflow: hidden;
    box-shadow: var(--lf-shadow-float);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

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

/* Tarjeta principal — grande, anclada arriba-derecha */
.lf-hero__card--main {
    width: 280px;
    height: 380px;
    top: 20px;
    right: 20px;
    transform: rotate(-6deg);
    z-index: 3;
    animation: lf-float-1 7s ease-in-out infinite;
}

/* Tarjeta secundaria — mediana, anclada abajo-izquierda */
.lf-hero__card--secondary {
    width: 210px;
    height: 270px;
    bottom: 20px;
    left: 15px;
    transform: rotate(4deg);
    z-index: 1;
    animation: lf-float-2 9s ease-in-out infinite;
    animation-delay: 1s;
}

/* Tarjeta accent — pequeña, centro-izquierda (encima de secundaria) */
.lf-hero__card--accent {
    width: 150px;
    height: 190px;
    top: 130px;
    left: 30px;
    transform: rotate(-2deg);
    z-index: 2;
    animation: lf-float-3 8s ease-in-out infinite;
    animation-delay: 0.5s;
}

/* Badge de reseñas */
.lf-hero__badge {
    position: absolute;
    bottom: -10px;
    right: 20px;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 10px 16px;
    box-shadow: var(--lf-shadow-card);
    animation: lf-float-badge 5s ease-in-out infinite;
    animation-delay: 2s;
    color: var(--lf-bg-dark);
}

.lf-hero__badge-stars {
    color: #FFB800;
    font-size: 16px;
    letter-spacing: 2px;
}

.lf-hero__badge > div {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}
.lf-hero__badge strong {
    font-size: 13px;
    font-weight: 700;
    color: var(--lf-bg-dark);
}
.lf-hero__badge span {
    font-size: 11px;
    color: rgba(0, 2, 36, 0.6);
}

/* Decorativos */
.lf-hero__deco {
    position: absolute;
    border-radius: 50%;
    z-index: 0;
}
.lf-hero__deco--1 {
    width: 80px;
    height: 80px;
    background: var(--lf-primary);
    opacity: 0.15;
    top: -20px;
    left: 30%;
    filter: blur(20px);
    animation: lf-deco-rotate 20s linear infinite;
}
.lf-hero__deco--2 {
    width: 50px;
    height: 50px;
    background: var(--lf-secondary);
    opacity: 0.2;
    bottom: 30px;
    right: 30%;
    filter: blur(15px);
}

/* ─────────────────────────────────────────
   9. MARQUEE
   ───────────────────────────────────────── */
.lf-marquee-section {
    background: var(--lf-primary);
    padding-block: 18px;
    overflow: hidden;
    position: relative;
    z-index: 2;
    touch-action: pan-y;
    /*
     * contain: paint — impide que el track animado (will-change:transform)
     * escape del contenedor en Safari/iOS, donde overflow:hidden puede
     * no clipar capas GPU correctamente.
     */
    contain: paint;
}

.lf-marquee {
    overflow: hidden;
    white-space: nowrap;
}

.lf-marquee__track {
    display: inline-flex;
    align-items: center;
    gap: 0;
    animation: lf-marquee 25s linear infinite;
    will-change: transform;
}

.lf-marquee__track span {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.95);
    padding-inline: 20px;
}

.lf-marquee__sep {
    color: rgba(255, 255, 255, 0.5) !important;
    padding-inline: 0 !important;
    font-size: 18px !important;
}

.lf-marquee-section:hover .lf-marquee__track {
    animation-play-state: paused;
}

/* ─────────────────────────────────────────
   10. SERVICIOS BENTO
   ───────────────────────────────────────── */
.lf-services {
    background: var(--lf-bg-darkest);
}

.lf-services__bento {
    display: flex;
    gap: 0;
    background: var(--lf-bg-card);
    border-radius: var(--lf-radius-card-lg);
    overflow: hidden;
    box-shadow: var(--lf-shadow-card),
                0 0 0 1px rgba(255, 255, 255, 0.06);
    min-height: clamp(560px, 45vw, 700px);
}

/* Sidebar con tabs */
.lf-services__sidebar {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 32px 16px;
    background: var(--lf-bg-card-light);
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    flex-shrink: 0;
}

.lf-tab-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--lf-text-subtle);
    transition: all var(--lf-duration-base) var(--lf-ease-spring);
    position: relative;
}

.lf-tab-btn:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--lf-text-muted);
}

.lf-tab-btn.is-active {
    background: var(--lf-primary);
    color: #fff;
    box-shadow: 0 4px 20px rgba(164, 80, 201, 0.4);
}

.lf-tab-btn__label {
    position: absolute;
    left: calc(100% + 12px);
    background: var(--lf-bg-elevated);
    color: var(--lf-text-white);
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 8px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--lf-duration-fast);
    z-index: 10;
}
.lf-tab-btn:hover .lf-tab-btn__label { opacity: 1; }

/* Panels */
.lf-services__panels {
    flex: 1;
    position: relative;
    overflow: hidden;
    /* Altura mínima responsiva: todos los paneles son position:absolute,
       por lo que el contenedor necesita altura propia del contexto flex.
       clamp(560px, 45vw, 700px) — a 1440px = 648px, suficiente para el
       panel más alto (eyebrow + h3 4 líneas + párrafo + botón + padding). */
    min-height: clamp(560px, 45vw, 700px);
}

.lf-panel {
    /* TODOS los paneles siempre position:absolute — nunca cambia a relative.
       Cambiar entre absolute↔relative durante la transición destruye el layout
       porque ambos paneles (saliente + entrante) quedan en flujo simultáneamente,
       el contenedor dobla altura y el panel "desaparece" al volver a absolute. */
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: stretch;
    opacity: 0;
    transform: translateX(24px);
    transition: opacity var(--lf-duration-slow) var(--lf-ease-out),
                transform var(--lf-duration-slow) var(--lf-ease-out);
    pointer-events: none;
}

.lf-panel.is-active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
    /* posición no se cambia — sigue absolute, rellena el contenedor con inset:0 */
}

.lf-panel.is-exiting {
    opacity: 0;
    transform: translateX(-24px);
}

.lf-panel__text {
    padding: clamp(32px, 5vw, 60px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
}

.lf-panel__text .lf-eyebrow {
    margin-bottom: 0;
}

.lf-panel__text h3 {
    font-size: clamp(28px, 3.5vw, 52px);
    line-height: 1.0;
    margin: 0;
}

.lf-panel__text p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--lf-text-muted);
    max-width: 380px;
}

.lf-panel__image {
    position: relative;
    overflow: hidden;
}

.lf-panel__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--lf-duration-xl) var(--lf-ease-out);
}

.lf-panel:hover .lf-panel__image img {
    transform: scale(1.03);
}

/* ─────────────────────────────────────────
   11. FEATURES — Scroll horizontal
   ───────────────────────────────────────── */
.lf-features {
    background: var(--lf-bg-dark);
    overflow: hidden;
}

.lf-features__scroll-wrapper {
    margin-top: clamp(40px, 5vw, 64px);
    overflow: hidden;
    cursor: grab;
    -webkit-user-select: none;
    user-select: none;
    touch-action: pan-y;
    contain: paint; /* Clipa el track animado en Safari/iOS */
}
.lf-features__scroll-wrapper:active { cursor: grabbing; }

.lf-features__track {
    display: flex;
    gap: 16px;
    padding-inline: var(--lf-container-px);
    width: max-content;
    animation: lf-marquee 30s linear infinite;
    will-change: transform;
    /* Evita que la capa GPU intercepte eventos verticales */
    pointer-events: none;
}

.lf-features__scroll-wrapper:hover .lf-features__track {
    animation-play-state: paused;
}

.lf-features__item {
    flex-shrink: 0;
}

.lf-features__item--img {
    width: 280px;
    height: 380px;
    border-radius: var(--lf-radius-card);
    overflow: hidden;
}

.lf-features__item--img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--lf-duration-slow) var(--lf-ease-out);
}

.lf-features__item--img:hover img {
    transform: scale(1.05);
}

.lf-features__item--icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Icon cards */
.lf-icon-card {
    width: 160px;
    height: 160px;
    border-radius: var(--lf-radius-card);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    line-height: 1.3;
    transition: transform var(--lf-duration-base) var(--lf-ease-spring);
}
.lf-icon-card:hover { transform: scale(1.06); }

.lf-icon-card--primary {
    background: var(--lf-primary);
    color: #fff;
}
.lf-icon-card--accent {
    background: var(--lf-accent-muted);
    border: 1px solid rgba(245, 199, 255, 0.25);
    color: var(--lf-accent);
}
.lf-icon-card--dark {
    background: var(--lf-bg-card-light);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--lf-text-muted);
}

/* Número/stat destacado dentro de icon-card */
.lf-icon-card__stat {
    display: block;
    font-size: 32px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.02em;
    color: inherit;
}
.lf-icon-card--primary .lf-icon-card__stat { color: #fff; }
.lf-icon-card--accent  .lf-icon-card__stat { color: var(--lf-accent); }
.lf-icon-card--dark    .lf-icon-card__stat { color: var(--lf-text-white); }

/* ─────────────────────────────────────────
   12. TESTIMONIOS
   ───────────────────────────────────────── */
.lf-testimonials {
    background: var(--lf-bg-darkest);
}

.lf-testimonials__grid {
    margin-top: clamp(40px, 5vw, 60px);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: var(--lf-container-max);
    margin-inline: auto;
    padding-inline: var(--lf-container-px);
}

/* Review cards */
.lf-review-card {
    border-radius: var(--lf-radius-card);
    padding: clamp(20px, 2.5vw, 28px);
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: transform var(--lf-duration-base) var(--lf-ease-spring);
}
.lf-review-card:hover { transform: translateY(-6px) scale(1.01); }

.lf-review-card--purple {
    background: linear-gradient(135deg, rgba(164, 80, 201, 0.6) 0%, rgba(164, 80, 201, 0.25) 100%);
    border: 1px solid rgba(164, 80, 201, 0.3);
}
.lf-review-card--dark {
    background: var(--lf-bg-card-light);
    border: 1px solid rgba(255, 255, 255, 0.07);
}
.lf-review-card--accent {
    background: linear-gradient(135deg, rgba(245, 199, 255, 0.2) 0%, rgba(164, 80, 201, 0.15) 100%);
    border: 1px solid rgba(245, 199, 255, 0.2);
}
.lf-review-card--secondary {
    background: linear-gradient(135deg, rgba(220, 142, 149, 0.4) 0%, rgba(220, 142, 149, 0.15) 100%);
    border: 1px solid rgba(220, 142, 149, 0.25);
}

.lf-review-card__header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 12px;
}

/* Meta: Google icon + nombre + badge */
.lf-review-card__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.lf-review-card__google-icon {
    flex-shrink: 0;
    border-radius: 50%;
    background: #fff;
    padding: 2px;
    width: 20px;
    height: 20px;
}

.lf-review-card__name {
    font-size: 13px;
    font-weight: 700;
    color: var(--lf-text-white);
}

/* Badge "Local Guide" */
.lf-review-card__badge {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 100px;
    padding: 2px 7px;
    white-space: nowrap;
}

/* Estrellas */
.lf-review-card__stars {
    font-size: 13px;
    color: #FBBC05;
    letter-spacing: 1px;
    white-space: nowrap;
    flex-shrink: 0;
}

.lf-review-card__title {
    font-size: clamp(15px, 1.4vw, 19px);
    font-weight: 700;
    color: var(--lf-text-white);
    text-transform: none;
    letter-spacing: -0.01em;
    line-height: 1.3;
    margin-bottom: 8px;
}

.lf-review-card__text {
    font-size: 13px;
    line-height: 1.65;
    color: var(--lf-text-muted);
}

/* ─────────────────────────────────────────
   13. CTA PROMO
   ───────────────────────────────────────── */
/* ─── CTA PROMO — Rediseño 2 columnas ─── */
.lf-cta-promo {
    background: var(--lf-bg-card);
    position: relative;
    overflow: hidden;
}

.lf-cta-promo__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

/* Glow centrado detrás del contenido, más visible */
.lf-cta-promo__glow {
    position: absolute;
    top: 50%;
    left: 30%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 500px;
    background: radial-gradient(ellipse at center, rgba(164, 80, 201, 0.35) 0%, transparent 68%);
    filter: blur(80px);
    animation: lf-glow-pulse 5s ease-in-out infinite;
}

/* Layout 2 columnas: texto izquierda | imagen derecha */
.lf-cta-promo__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: center;
}

/* Columna izquierda — texto alineado a la izquierda */
.lf-cta-promo__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    text-align: left;
}

.lf-cta-promo__content h2 {
    /* Reducido de 96px — en 2 columnas hay menos ancho y 96px era desproporcionado */
    font-size: clamp(36px, 4.5vw, 68px);
    line-height: 1.0;
}

/* Texto de apoyo: urgency + trust */
.lf-cta-promo__desc {
    font-size: clamp(14px, 1.2vw, 16px);
    line-height: 1.65;
    color: var(--lf-text-muted);
    margin: 0;
}

/* Grupo de CTAs: primario + secundario */
.lf-cta-promo__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

/* Columna derecha — imagen artística */
.lf-cta-promo__visual {
    position: relative;
}

.lf-cta-promo__img-frame {
    border-radius: var(--lf-radius-card-lg);
    overflow: hidden;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5),
                0 0 0 1px rgba(255, 255, 255, 0.08);
    /* Ligera inclinación para dinamismo */
    transform: rotate(1.5deg) translateY(-8px);
    transition: transform var(--lf-duration-xl) var(--lf-ease-out);
}

.lf-cta-promo__visual:hover .lf-cta-promo__img-frame {
    transform: rotate(0.5deg) translateY(-12px);
}

.lf-cta-promo__img-frame img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
    transition: transform var(--lf-duration-xl) var(--lf-ease-out);
}

.lf-cta-promo__visual:hover .lf-cta-promo__img-frame img {
    transform: scale(1.04);
}

/* ─────────────────────────────────────────
   14. FAQ
   ───────────────────────────────────────── */
.lf-faq {
    background: var(--lf-bg-darkest);
}

.lf-faq__inner {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: clamp(40px, 6vw, 100px);
    align-items: start;
}

.lf-faq__header {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: sticky;
    top: 120px;
}

.lf-faq__header h2 {
    font-size: clamp(36px, 4.5vw, 64px);
    line-height: 1.0;
}

.lf-faq__header p {
    font-size: 16px;
    color: var(--lf-text-muted);
}

/* Accordion */
.lf-faq__list {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.lf-faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--lf-radius-card);
    padding-inline: 20px;
    overflow: hidden;         /* Contiene cualquier desbordamiento horizontal de hijos */
    transition: background var(--lf-duration-fast);
}
.lf-faq-item:hover {
    background: rgba(255, 255, 255, 0.03);
}
.lf-faq-item:has([aria-expanded="true"]) {
    background: rgba(164, 80, 201, 0.06);
    border-bottom-color: rgba(164, 80, 201, 0.2);
}

.lf-faq-item__trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-width: 0; /* Permite que el flex container se comprima por debajo de su contenido */
    padding: 22px 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    color: var(--lf-text-white);
    font-family: var(--lf-font);
    font-size: 15px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: normal;
    gap: 16px;
    transition: color var(--lf-duration-fast);
}

/* El span de texto dentro del trigger DEBE tener min-width:0 para
   que el flex item pueda comprimir su contenido y no desborde */
.lf-faq-item__trigger > span:first-child {
    min-width: 0;
    overflow-wrap: break-word;
    word-break: break-word;
}

.lf-faq-item__trigger:hover { color: var(--lf-primary); }

.lf-faq-item__trigger[aria-expanded="true"] { color: var(--lf-primary); }
.lf-faq-item__trigger[aria-expanded="true"] .lf-faq-icon-v {
    opacity: 0;
    transform: scaleY(0);
}

.lf-faq-item__icon {
    flex-shrink: 0;
    transition: transform var(--lf-duration-base) var(--lf-ease-spring);
}
.lf-faq-item__trigger[aria-expanded="true"] .lf-faq-item__icon {
    transform: rotate(45deg);
}

.lf-faq-icon-v {
    transition: opacity var(--lf-duration-fast), transform var(--lf-duration-base);
    transform-origin: center;
}

.lf-faq-item__answer {
    overflow: hidden;
    max-height: 0;
    max-width: 100%;          /* Contiene el texto dentro del acordeón */
    transition: max-height var(--lf-duration-slow) var(--lf-ease-out),
                padding var(--lf-duration-base) var(--lf-ease);
}

.lf-faq-item__answer.is-open {
    max-height: 600px;        /* Margen amplio para respuestas largas (6 FAQs) */
}

.lf-faq-item__answer p {
    padding-bottom: 22px;
    font-size: 15px;
    line-height: 1.7;
    color: var(--lf-text-muted);
    overflow-wrap: break-word;   /* Previene desbordamiento horizontal en respuestas */
    word-break: break-word;
}

/* Enlace inline dentro de respuestas FAQ.
   Necesita !important para superar el color: --lf-text-muted !important
   heredado del selector body.lf-homepage .lf-faq-item__answer p (línea ~154). */
.lf-faq-item__answer p a {
    color: var(--lf-primary) !important;
    text-decoration: underline;
    text-decoration-color: rgba(164, 80, 201, 0.45);
    text-underline-offset: 3px;
    font-weight: 500;
    transition: color var(--lf-duration-fast), text-decoration-color var(--lf-duration-fast);
}
.lf-faq-item__answer p a:hover,
.lf-faq-item__answer p a:focus-visible {
    color: var(--lf-primary-light, #c07ae0) !important;
    text-decoration-color: var(--lf-primary);
}

/* ─────────────────────────────────────────
   15. CTA WHATSAPP (ex-Newsletter)
   Sección de contacto directo vía WhatsApp.
   ───────────────────────────────────────── */
.lf-newsletter {
    background: var(--lf-bg-card);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.lf-newsletter__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    max-width: 560px;
    margin-inline: auto;
}

.lf-newsletter__inner h2 {
    font-size: clamp(28px, 3.5vw, 48px);
    line-height: 1.1;
    margin: 0;
}

.lf-newsletter__desc {
    font-size: 15px;
    line-height: 1.7;
    color: var(--lf-text-muted);
    margin: 0;
}

/* Botón WhatsApp — verde oficial de la marca */
.lf-btn--whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background:   #25D366;
    border-color: #25D366;
    color:        #ffffff;
    font-weight:  600;
}
.lf-btn--whatsapp:hover,
.lf-btn--whatsapp:focus-visible {
    background:   #1DAD56;
    border-color: #1DAD56;
    color:        #ffffff;
    box-shadow:   0 6px 24px rgba(37, 211, 102, 0.35);
    transform:    translateY(-2px);
}
.lf-btn--whatsapp svg {
    flex-shrink: 0;
}

/* Texto secundario — "O llámanos al…" */
.lf-newsletter__secondary {
    font-size: 14px;
    color: var(--lf-text-muted);
    margin: 0;
}
.lf-newsletter__secondary a {
    color: var(--lf-text-white) !important;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color var(--lf-duration-fast);
}
.lf-newsletter__secondary a:hover {
    color: var(--lf-primary-light) !important;
}

/* ─────────────────────────────────────────
   16. FOOTER
   ───────────────────────────────────────── */
.lf-footer {
    background: var(--lf-bg-darkest);
    padding-block: 48px 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.lf-footer__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
}

.lf-footer__logo-link {
    display: inline-flex;
}

.lf-footer__top-cta {
    display: flex;
    gap: 8px;
    align-items: center;
}

.lf-footer__divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 40px;
}

.lf-footer__nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 48px;
}

.lf-footer__col-title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--lf-primary);
    margin-bottom: 16px;
    text-transform: uppercase;
}

.lf-footer__col ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.lf-footer__col a {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--lf-text-muted);
    text-decoration: none;
    transition: color var(--lf-duration-fast);
}

.lf-footer__col a:hover { color: var(--lf-text-white); }

/* Dirección física NAP — entre nav y copyright */
.lf-footer__address {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding-block: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-style: normal;        /* <address> es italic por defecto */
    font-size: 13px;
    color: var(--lf-text-subtle);
    text-align: center;
}
.lf-footer__address svg { flex-shrink: 0; opacity: 0.5; }

/* Links de contacto en footer (tel + WhatsApp) con icono inline */
.lf-footer__contact-link {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
}
.lf-footer__contact-link svg { flex-shrink: 0; opacity: 0.7; }

.lf-footer__bottom {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    text-align: center;
}

.lf-footer__bottom p {
    font-size: 13px;
    color: var(--lf-text-subtle);
}

/* ─────────────────────────────────────────
   16b. FRANJA DE CONFIANZA — Trust strip
   ─────────────────────────────────────────
   Ubicada entre Testimonios y CTA Promo.
   Fondo blanco: rompe el ritmo dark-dark
   y hace la transición más elegante.
   ───────────────────────────────────────── */

.lf-trust-strip {
    background: #ffffff;
    padding: 80px 24px;
}

.lf-trust-strip__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

/* Imagen — proporciones naturales con recorte elegante */
.lf-trust-strip__image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.lf-trust-strip__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 0.6s var(--lf-ease);
}

.lf-trust-strip__image:hover img {
    transform: scale(1.03);
}

/* Acento decorativo en esquina */
.lf-trust-strip__image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to top, rgba(164, 80, 201, 0.15), transparent);
    pointer-events: none;
}

/* Contenido textual */
.lf-trust-strip__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

body.lf-homepage .lf-trust-strip .lf-eyebrow {
    color: var(--lf-primary);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin: 0;
}

/*
 * Especificidad (0,3,1) — supera body.lf-homepage h2 (0,1,2)
 * que tiene color:white !important global para el fondo oscuro.
 * Sin este selector más específico el título queda blanco sobre blanco.
 */
body.lf-homepage .lf-trust-strip .lf-trust-strip__title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.5rem, 2.8vw, 2.1rem);
    font-weight: 800;
    color: #020412 !important;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin: 0;
}

body.lf-homepage .lf-trust-strip .lf-trust-strip__text {
    font-size: 1rem;
    color: #4a4a5a !important;
    line-height: 1.75;
    margin: 0;
    max-width: 440px;
}

/* Botón outline sobre fondo blanco — color primario de marca */
body.lf-homepage .lf-trust-strip .lf-btn--outline {
    color: var(--lf-primary) !important;
    border-color: var(--lf-primary) !important;
    background: transparent !important;
    padding: 12px 28px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    border-radius: 100px !important;
    text-decoration: none !important;
    display: inline-flex !important;
    transition: background var(--lf-duration-fast) var(--lf-ease),
                color var(--lf-duration-fast) var(--lf-ease),
                box-shadow var(--lf-duration-fast) var(--lf-ease) !important;
}

body.lf-homepage .lf-trust-strip .lf-btn--outline:hover {
    background: var(--lf-primary) !important;
    color: #ffffff !important;
    box-shadow: 0 6px 20px rgba(164, 80, 201, 0.30) !important;
}

/* ─────────────────────────────────────────
   17. RESPONSIVE — Tablet (1024px)
   ───────────────────────────────────────── */
@media (max-width: 1024px) {

    /* Nav */
    .lf-nav__links,
    .lf-nav__link-secondary { display: none; }
    .lf-nav__hamburger { display: flex; }

    /* Hero */
    .lf-hero__inner {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    .lf-hero__content { align-items: center; }
    .lf-hero__btns { justify-content: center; }
    .lf-hero__visual {
        height: 360px;
        max-width: 500px;
        margin-inline: auto;
    }
    .lf-hero__card--main {
        width: 220px;
        height: 290px;
        top: 15px;
        right: 15px;
        bottom: auto;
        left: auto;
    }
    .lf-hero__card--secondary {
        width: 170px;
        height: 220px;
        bottom: 15px;
        left: 10px;
        top: auto;
        right: auto;
    }
    .lf-hero__card--accent {
        width: 120px;
        height: 155px;
        top: 90px;
        left: 20px;
        bottom: auto;
        right: auto;
    }

    /* Services */
    .lf-services__bento { flex-direction: column; }
    .lf-services__sidebar {
        flex-direction: row;
        padding: 16px 24px;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        overflow-x: auto;
        gap: 12px;
    }
    .lf-panel {
        grid-template-columns: 1fr;
    }
    .lf-panel__image { height: 280px; }

    /* Testimonials */
    .lf-testimonials__grid { grid-template-columns: repeat(2, 1fr); }

    /* Trust strip — columna única, imagen arriba */
    .lf-trust-strip { padding: 56px 24px; }
    .lf-trust-strip__inner {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    /* FAQ */
    .lf-faq__inner {
        grid-template-columns: 1fr;
        gap: 40px; /* Reducir el gap clamp(40px,6vw,100px) que en tablet es grande */
    }
    .lf-faq__header {
        position: static;
        /* El botón dentro del header puede ser más ancho que el viewport
           si el texto no se parte. Lo limitamos al 100% del contenedor. */
        max-width: 100%;
    }
    .lf-faq__header .lf-btn {
        align-self: flex-start;
        max-width: 100%;
        white-space: normal; /* Permite que el texto del botón se parta si es necesario */
        text-align: center;
    }

    /* Newsletter — ya es flex columna centrada, no necesita override en tablet */

    /* Footer */
    .lf-footer__nav { grid-template-columns: repeat(2, 1fr); }
}

/* ─────────────────────────────────────────
   18. RESPONSIVE — Mobile (767px)
   ───────────────────────────────────────── */
@media (max-width: 767px) {

    /* Variables ajustadas para mobile — la base (64px) ya es razonable en móvil */
    :root {
        --lf-section-py: clamp(48px, 10vw, 72px);
    }

    /* Nav */
    .lf-nav {
        top: 12px;
        width: calc(100% - 24px);
    }

    /* Hero */
    .lf-hero { padding-block: 120px 50px; }
    .lf-hero__inner { gap: 32px; } /* reduce el gap heredado de 60px en tablet */
    .lf-hero__subtitle { display: none; }
    .lf-hero__visual { height: 280px; }
    .lf-hero__card--main {
        width: 170px;
        height: 220px;
        top: 10px;
        right: 10px;
        left: auto;
        bottom: auto;
        transform: rotate(-6deg);
    }
    .lf-hero__card--secondary {
        width: 130px;
        height: 170px;
        top: 50px;
        left: 10px;
        right: auto;
        bottom: auto;
        transform: rotate(4deg);
    }
    .lf-hero__card--accent { display: none; }
    .lf-hero__badge {
        /* Centrado bajo la composición — ancla visualmente ambas cards */
        bottom: -14px;
        left: 50%;
        right: auto;
        top: auto;
        transform: translateX(-50%);
        white-space: nowrap; /* evita salto de línea en texto del badge */
        padding: 8px 14px;
        gap: 8px;
        border-radius: 12px;
        animation: none; /* sin flotado en móvil — ahorra repaint */
    }
    .lf-hero__badge-stars { font-size: 13px; letter-spacing: 1px; }
    .lf-hero__badge strong { font-size: 11px; }
    .lf-hero__badge > div span { font-size: 9px; }

    /* Services — mobile fixes */

    /* El CTA del header de sección aparece antes del bento en mobile,
       lo que es confuso y perjudica la conversión. En mobile el usuario
       debe ver el contenido primero. Lo ocultamos: los paneles tienen
       su propio CTA "Saber más". */
    .lf-services__header-cta {
        display: none;
    }

    /* Con position:absolute + inset:0, el contenedor necesita height explícita.
       En mobile el panel es 1 columna (texto apilado + imagen 280px).
       480px es insuficiente → texto + imagen superan ese valor fácilmente.
       Usamos position:static + display:none/block para el layout mobile,
       eliminando la dependencia de height fija y permitiendo altura natural. */
    .lf-services__panels {
        min-height: 0;
        overflow: visible;
    }
    .lf-panel {
        position: static;
        opacity: 1;
        transform: none;
        transition: none;
        pointer-events: auto;
    }
    /* Los paneles inactivos siguen usando el atributo hidden (gestionado por JS),
       que aplica display:none. No necesitamos más lógica de posicionamiento. */
    .lf-panel.is-active,
    .lf-panel.is-exiting {
        opacity: 1;
        transform: none;
    }

    /* Testimonials */
    .lf-testimonials__grid { grid-template-columns: 1fr; }

    /* Trust strip — más compacto en mobile */
    .lf-trust-strip { padding: 48px 20px; }
    .lf-trust-strip__inner { gap: 28px; }
    .lf-trust-strip__text { font-size: 0.95rem; }

    /* CTA Promo — apilado en mobile */
    .lf-cta-promo__inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .lf-cta-promo__content {
        align-items: center;
        text-align: center;
    }
    .lf-cta-promo__actions { justify-content: center; }
    .lf-cta-promo__img-frame {
        transform: none; /* quitar inclinación en mobile */
    }
    .lf-cta-promo__visual:hover .lf-cta-promo__img-frame {
        transform: none;
    }

    /* FAQ — Rediseño estético mobile
       ─────────────────────────────────────────
       Objetivo: header centrado (los <br> del H2 lo hacen elegante centrado),
       mejor jerarquía visual, separador decorativo, items compactos. */

    /* Inner: reduce gap en mobile (hereda 40px de tablet) */
    .lf-faq__inner { gap: 28px; }

    /* Header: centrado — queda más equilibrado con el H2 de tres líneas */
    .lf-faq__header {
        align-items: center;
        text-align: center;
        gap: 10px;
    }
    .lf-faq__header h2 {
        font-size: clamp(30px, 9vw, 44px);
        line-height: 1.05;
    }
    .lf-faq__header p { font-size: 14px; }
    .lf-faq__header .lf-btn {
        align-self: center;
        margin-top: 6px;
    }

    /* Separador decorativo entre header y lista */
    .lf-faq__list {
        border-top: 1px solid rgba(164, 80, 201, 0.18);
        padding-top: 4px;
    }

    /* Items: quitar padding lateral para dar más respiro al texto */
    .lf-faq-item { padding-inline: 4px; }

    /* Trigger: padding vertical algo más compacto en mobile */
    .lf-faq-item__trigger {
        padding: 18px 2px;
        font-size: 14px;
        gap: 12px;
    }

    /* Respuesta: fuente más compacta en mobile */
    .lf-faq-item__answer p {
        font-size: 14px;
        line-height: 1.65;
        padding-bottom: 18px;
    }

    /* Acento visual en ítem activo: borde izquierdo púrpura */
    .lf-faq-item:has([aria-expanded="true"]) {
        border-left: 2px solid var(--lf-primary);
        padding-left: 12px;
        margin-left: -2px;
    }

    /* Garantizar que botones no desborden el viewport en mobile */
    .lf-faq__header .lf-btn,
    .lf-cta-promo__actions .lf-btn,
    .lf-hero__btns .lf-btn {
        max-width: 100%;
        white-space: normal;
        word-break: break-word;
    }

    /* WhatsApp CTA — botón full width en mobile */
    .lf-btn--whatsapp { width: 100%; justify-content: center; }

    /* Footer */
    .lf-footer__nav { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .lf-footer__top { flex-direction: column; gap: 20px; text-align: center; }
}

/* ─────────────────────────────────────────
   19. ACCESIBILIDAD — Preferencias de movimiento
   ───────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    .lf-hero__card,
    .lf-hero__badge,
    .lf-hero__bg-glow,
    .lf-hero__deco--1,
    .lf-cta-promo__glow {
        animation: none !important;
    }
    .lf-marquee__track,
    .lf-features__track {
        animation: none !important;
    }
    .lf-animate-up,
    .lf-animate-card {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ─────────────────────────────────────────
   20. PÁGINAS LEGALES
   Política de Privacidad · Cookies · Aviso Legal
   ─────────────────────────────────────────

   Arquitectura de dos zonas:
     A) Hero oscuro — consistente con el resto del sitio
     B) Área de contenido clara — legibilidad óptima para textos largos

   El área clara usa una leve tinta lila (#F8F7FF) que conecta
   con la paleta de marca sin romper el contraste de lectura.
   ───────────────────────────────────────── */

/* ── A) HERO ──────────────────────────────── */
.lf-legal-hero {
    background: var(--lf-bg-darkest);
    padding-top: clamp(100px, 12vw, 140px);  /* compensa la nav fixed */
    padding-bottom: clamp(48px, 6vw, 80px);
    padding-inline: var(--lf-container-px);
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Glow decorativo sutil — coherente con el hero principal */
.lf-legal-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 50% at 50% 0%,
                rgba(164, 80, 201, 0.18) 0%,
                transparent 70%);
    pointer-events: none;
}

.lf-legal-hero__inner {
    position: relative;
    z-index: 1;
    max-width: var(--lf-container-max);
    margin-inline: auto;
}

.lf-legal-hero__eyebrow {
    margin-bottom: 12px;
}

.lf-legal-hero__title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--lf-text-white);
    line-height: 1.15;
    margin: 0 0 28px;
    letter-spacing: -0.02em;
}

/* Breadcrumb — mismo patrón que la galería */
.lf-legal-hero__breadcrumb {
    position: relative;
    z-index: 1;
    margin-top: 16px;
}

.lf-legal-hero__breadcrumb ol {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 13px;
    color: var(--lf-text-muted);
}

.lf-legal-hero__breadcrumb a {
    color: var(--lf-text-muted) !important;
    text-decoration: none;
    transition: color var(--lf-duration-fast) var(--lf-ease);
}

.lf-legal-hero__breadcrumb a:hover {
    color: var(--lf-primary-light) !important;
}

/* ── B) ÁREA DE CONTENIDO ─────────────────── */
.lf-legal-wrap {
    background: #F8F7FF;  /* lila muy suave — conecta con marca, no distrae */
    min-height: 40vh;
    padding-block: clamp(56px, 7vw, 100px);
    padding-inline: var(--lf-container-px);
}

.lf-legal-content {
    max-width: 800px;       /* ancho óptimo para lectura: ~70-75 caracteres/línea */
    margin-inline: auto;
    color: #1A1A2E;         /* navy oscuro — contraste 12:1 sobre el fondo claro */
}

/* ── Tipografía de contenido legal ─── */
.lf-legal-content h2 {
    font-size: clamp(1.25rem, 2.5vw, 1.625rem);
    font-weight: 700;
    color: #0D0D1A;
    margin: 2.5em 0 0.75em;
    padding-bottom: 0.4em;
    border-bottom: 2px solid rgba(164, 80, 201, 0.2);
    line-height: 1.3;
}

.lf-legal-content h3 {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    font-weight: 600;
    color: #0D0D1A;
    margin: 2em 0 0.6em;
    line-height: 1.35;
}

.lf-legal-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #1A1A2E;
    margin: 1.5em 0 0.5em;
}

.lf-legal-content p {
    font-size: clamp(0.9375rem, 1.5vw, 1rem);
    line-height: 1.8;
    color: #2D2D4A;
    margin: 0 0 1.1em;
}

.lf-legal-content ul,
.lf-legal-content ol {
    margin: 0 0 1.25em 1.5em;
    padding: 0;
}

.lf-legal-content li {
    font-size: clamp(0.9375rem, 1.5vw, 1rem);
    line-height: 1.75;
    color: #2D2D4A;
    margin-bottom: 0.4em;
}

/* Marcador de lista con color de marca */
.lf-legal-content ul li::marker {
    color: var(--lf-primary);
}

.lf-legal-content ol li::marker {
    color: var(--lf-primary);
    font-weight: 600;
}

/* Links dentro del contenido legal */
.lf-legal-content a {
    color: var(--lf-primary) !important;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(164, 80, 201, 0.4);
    transition: color var(--lf-duration-fast) var(--lf-ease),
                text-decoration-color var(--lf-duration-fast) var(--lf-ease);
}

.lf-legal-content a:hover {
    color: var(--lf-primary-dark) !important;
    text-decoration-color: var(--lf-primary-dark);
}

/* Tablas — para cookies/datos personales si procede */
.lf-legal-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
    font-size: 0.9rem;
    border-radius: var(--lf-radius-sm);
    overflow: hidden;
}

.lf-legal-content th {
    background: var(--lf-primary);
    color: #fff;
    font-weight: 600;
    text-align: left;
    padding: 10px 14px;
    font-size: 0.875rem;
}

.lf-legal-content td {
    padding: 9px 14px;
    border-bottom: 1px solid rgba(164, 80, 201, 0.12);
    color: #2D2D4A;
    vertical-align: top;
}

.lf-legal-content tr:nth-child(even) td {
    background: rgba(164, 80, 201, 0.04);
}

/* Strong / bold dentro de contenido */
.lf-legal-content strong,
.lf-legal-content b {
    font-weight: 700;
    color: #0D0D1A;
}

/* Separador horizontal */
.lf-legal-content hr {
    border: none;
    border-top: 1px solid rgba(164, 80, 201, 0.15);
    margin: 2.5em 0;
}

/* Primera h2 sin margen superior excesivo */
.lf-legal-content > h2:first-child,
.lf-legal-content > .wp-block-heading:first-child h2 {
    margin-top: 0;
}

/* ── Botón de retorno ──────────────────── */
.lf-legal-back {
    margin-top: 3em;
    padding-top: 2em;
    border-top: 1px solid rgba(164, 80, 201, 0.15);
}

/* Override del botón outline para que funcione sobre fondo claro */
body.lf-page-legal .lf-btn--outline {
    border-color: var(--lf-primary) !important;
    color: var(--lf-primary) !important;
    background: transparent !important;
}

body.lf-page-legal .lf-btn--outline:hover,
body.lf-page-legal .lf-btn--outline:focus-visible {
    background: var(--lf-primary) !important;
    color: #fff !important;
    border-color: var(--lf-primary) !important;
}

/* ── Responsive ──────────────────────── */
@media (max-width: 640px) {
    .lf-legal-content table {
        font-size: 0.8125rem;
    }

    .lf-legal-content th,
    .lf-legal-content td {
        padding: 8px 10px;
    }
}


/* ============================================================
   SECCIÓN PARTNER — Discomóvil Diamante
   Teaser narrativo entre trust-strip (blanca) y CTA-promo (oscura).
   Fondo: oscuro con glow ámbar — rompe la secuencia indigo y
   conecta visualmente con la paleta de la página de Discomóvil.
   ============================================================ */

/* ── Tokens propios de la sección ── */
.lf-partner-dm {
    --dm-accent:       #E8891A;           /* ámbar Discomóvil */
    --dm-accent-light: #F5A94A;           /* ámbar claro */
    --dm-glow:         rgba(232,137,26,.07);  /* glow sutil */
    --dm-glow-strong:  rgba(232,137,26,.18);

    position: relative;
    background: var(--lf-bg-darkest);    /* #00011B — máximo contraste con el blanco de trust-strip */
    padding: 96px 24px;
    overflow: hidden;
    isolation: isolate;
}

/* Glow radial: calidez ámbar centrado en la esquina inferior-derecha
   (donde está la imagen). Crea profundidad sin pesar en rendimiento. */
.lf-partner-dm__glow {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 70% at 85% 60%, var(--dm-glow-strong), transparent),
        radial-gradient(ellipse 50% 60% at 10% 90%, rgba(232,137,26,.04), transparent);
    pointer-events: none;
    z-index: 0;
}

/* ── Layout grid ── */
.lf-partner-dm__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

/* ── Columna texto ── */
.lf-partner-dm__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
}

.lf-partner-dm__eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: var(--dm-accent) !important;
    margin: 0;
}

/* Especificidad alta para vencer el h2 { color: white !important } global de Elementor */
body.lf-homepage .lf-partner-dm .lf-partner-dm__title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 800;
    color: #ffffff !important;
    line-height: 1.15;
    letter-spacing: -0.025em;
    margin: 0;
}

/* Acento en cursiva → color ámbar */
body.lf-homepage .lf-partner-dm .lf-partner-dm__title em {
    color: var(--dm-accent-light) !important;
    font-style: normal;
}

body.lf-homepage .lf-partner-dm .lf-partner-dm__text {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255,255,255,.65) !important;
    margin: 0;
    max-width: 460px;
}

/* ── Mini-stats horizontales ──
   Grid de 3 columnas iguales: cada stat ocupa 1fr.
   Los divisores son border-left CSS — nunca pueden desalinearse
   porque no existen como elementos en el DOM. */
.lf-partner-dm__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: start;
}

.lf-partner-dm__stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 0 20px;
    /* Divisor izquierdo en todos los stats excepto el primero */
    border-left: 1px solid rgba(232,137,26,.22);
}

.lf-partner-dm__stat:first-child {
    padding-left: 0;
    border-left: none;
}

.lf-partner-dm__stat-num {
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--dm-accent-light) !important;
    letter-spacing: -0.02em;
    line-height: 1;
    font-family: 'Poppins', sans-serif;
}

.lf-partner-dm__stat-label {
    font-size: 0.75rem;
    color: rgba(255,255,255,.50) !important;
    font-weight: 500;
    line-height: 1.35;
}

/* ── CTA Button — amber outline sobre fondo oscuro ── */
.lf-partner-dm__cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 28px;
    border-radius: 999px;
    border: 1.5px solid var(--dm-accent);
    color: var(--dm-accent-light) !important;
    background: transparent;
    font-family: 'Poppins', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-decoration: none;
    cursor: pointer;
    will-change: transform;
    transition:
        background  280ms ease,
        border-color 280ms ease,
        color        280ms ease,
        transform    200ms ease,
        box-shadow   280ms ease;
}

.lf-partner-dm__cta:hover,
.lf-partner-dm__cta:focus-visible {
    background: rgba(232,137,26,.10);
    border-color: var(--dm-accent-light);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(232,137,26,.18);
}

.lf-partner-dm__cta svg {
    transition: transform 200ms ease;
    flex-shrink: 0;
}

.lf-partner-dm__cta:hover svg {
    transform: translateX(4px);
}

/* ── Columna visual ── */
.lf-partner-dm__visual {
    position: relative;
}

.lf-partner-dm__img-wrap {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 4/3;
    /* Amber glow frame: simula la misma estética que la página de Discomóvil */
    box-shadow:
        0 0 0 1px rgba(232,137,26,.20),
        0 32px 72px rgba(0,0,0,.50),
        0 0 80px rgba(232,137,26,.08);
}

.lf-partner-dm__img-wrap picture,
.lf-partner-dm__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    will-change: transform;
    transition: transform 600ms ease;
}

.lf-partner-dm__img-wrap:hover img {
    transform: scale(1.03);
}

/* Gradiente inferior: quema suave la imagen para que el badge flote limpio */
.lf-partner-dm__img-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,1,27,.70) 0%,
        rgba(0,1,27,.20) 35%,
        transparent 60%
    );
    pointer-events: none;
}

/* Badge con logo Diamante — flotante sobre la imagen, esquina inferior izquierda */
.lf-partner-dm__badge {
    position: absolute;
    bottom: 18px;
    left: 18px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0,1,27,.72);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(232,137,26,.25);
    border-radius: 10px;
    padding: 10px 16px;
}

.lf-partner-dm__badge img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    display: block;
    border-radius: 6px;
}

.lf-partner-dm__badge span {
    font-family: 'Poppins', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255,255,255,.88) !important;
    white-space: nowrap;
}

/* ── Responsive: tablet (≤900px) ── */
@media (max-width: 900px) {
    .lf-partner-dm {
        padding: 72px 24px;
    }

    .lf-partner-dm__inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    /* En móvil/tablet: imagen primero (más visual), texto debajo */
    .lf-partner-dm__visual {
        order: -1;
    }

    body.lf-homepage .lf-partner-dm .lf-partner-dm__title {
        font-size: clamp(1.75rem, 5vw, 2.25rem);
    }

    body.lf-homepage .lf-partner-dm .lf-partner-dm__text {
        max-width: 100%;
    }
}

/* ── Responsive: móvil (≤640px) ── */
@media (max-width: 640px) {
    .lf-partner-dm {
        padding: 56px 20px;
    }

    .lf-partner-dm__inner {
        gap: 36px;
    }

    /* Stats: grid 3 columnas sigue funcionando en móvil con padding reducido */
    .lf-partner-dm__stat {
        padding: 0 12px;
    }

    .lf-partner-dm__stat-num {
        font-size: 1.4rem;
    }

    .lf-partner-dm__cta {
        width: 100%;
        justify-content: center;
    }
}
