:root {
    --pink: #FF557B;
    --pink-light: #fff0f3;
    --bg: #F1F1F1;
    --text: #434343;
    --text-muted: #B5B5B5;
    --text-grey: #A4A4A4;
    --sidebar-w: 250px;
    --sidebar-w-collapsed: 65px;
    --white: #ffffff;
    --card-radius: 14px;
    --transition: 0.22s ease;
}

* {
    box-sizing: border-box;
}

button,
input,
select,
textarea {
    font-family: inherit;
}

body {
    font-family: 'Work Sans', sans-serif;
    background: var(--bg);
    font-weight: 400;
    color: var(--text);
    margin: 0;
    min-height: 100vh;
}

b,
strong {
    font-weight: 600;
}

/* ── SIDEBAR ── */
#sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: var(--sidebar-w);
    background: var(--white);
    display: flex;
    flex-direction: column;
    padding: 24px 20px 20px;
    transition: width var(--transition);
    z-index: 100;
    overflow-x: hidden;
    box-shadow: 2px 0 12px rgba(0, 0, 0, .05);
}

#sidebar.collapsed {
    width: var(--sidebar-w-collapsed);
    padding: 24px 0 20px;
}

/* Logo area */
.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 18px 28px;
    white-space: nowrap;
}

/* Estado expandido (default) */
.logo-iso {
    display: none;
}

.logo-full {
    display: block;
    width: 140px;
}

/* Estado colapsado */
#sidebar.collapsed .logo-iso {
    display: block;
    width: 36px;
}

#sidebar.collapsed .logo-full {
    display: none;
}



#sidebar.collapsed .logo-text {
    opacity: 0;
    pointer-events: none;
}

/* Nav */
.sidebar-nav {
    flex: 1;
    min-height: 0;
    padding: 0;
    list-style: none;
    margin: 0;
    overflow-y: auto;
    overflow-x: hidden;
}

.sidebar-nav::-webkit-scrollbar {
    width: 3px;
}

.sidebar-nav::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar-nav::-webkit-scrollbar-thumb {
    background: #e0e0e0;
    border-radius: 99px;
}

.sidebar-nav li a {
    margin: 7px 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 18px;
    color: var(--text);
    text-decoration: none;
    font-size: 13px;
    font-weight: 400;
    white-space: nowrap;
    border-radius: 10px;
    transition: color .15s, background .15s;
}

.sidebar-nav li a:hover {
    color: var(--text);
    background: var(--bg);
}

#sidebar.collapsed .sidebar-nav li a {
    margin: 10px 0;
}

.sidebar-nav li.active a {
    color: var(--white);
    background: var(--pink);
    border-radius: 10px;
    margin: 0 10px;
    padding: 11px 12px;
}

.sidebar-nav li.active a i {
    color: var(--white);
}

.sidebar-nav li a i {
    font-size: 20px;
    flex-shrink: 0;
    width: 22px;
    text-align: center;
}

.nav-label {
    opacity: 1;
    transition: opacity var(--transition);
}

#sidebar.collapsed .nav-label {
    opacity: 0;
    pointer-events: none;
}

#sidebar.collapsed .sidebar-nav li.active a {
    margin: 0 10px;
    border-radius: 8px;
}

/* Plan box */
.sidebar-plan {
    padding: 16px 18px 0;
    white-space: nowrap;
    overflow: hidden;
}

.plan-label {
    font-size: 12px;
    font-weight: 500;
    color: var(--pink);
    text-transform: uppercase;
    opacity: 1;
    transition: opacity var(--transition);
}

#sidebar.collapsed .plan-label,
#sidebar.collapsed .plan-info {
    opacity: 0;
}

.plan-info {
    transition: opacity var(--transition);
}

.plan-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    line-height: 1;
}

.plan-days {
    font-size: 12px;
    color: var(--text-grey);
    margin-bottom: 10px;
}

.btn-upgrade {
    background: var(--pink);
    color: var(--white);
    border: none;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 500;
    padding: 3px 27px;
    cursor: pointer;
    transition: opacity .15s;
}

.btn-upgrade:hover {
    opacity: .85;
}

/* Toggle button */
.sidebar-toggle {
    position: fixed;
    top: 52px;
    left: calc(var(--sidebar-w) - 16px);
    width: 28px;
    height: 28px;
    background: var(--white);
    border: 1.5px solid #e8e8e8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 200;
    transition: left var(--transition);
    box-shadow: 0 2px 6px rgba(0, 0, 0, .08);
}

.sidebar-toggle.collapsed {
    left: calc(var(--sidebar-w-collapsed) - 16px);
}

.sidebar-toggle i {
    font-size: 14px;
    color: var(--text-muted);
    transition: transform .22s;
}

.sidebar-toggle.collapsed i {
    transform: rotate(180deg);
}

/* ── MAIN ── */
#main {
    margin-left: var(--sidebar-w);
    transition: margin-left var(--transition);
    padding: 32px 8%;
    min-height: 100vh;
}

#main.expanded {
    margin-left: var(--sidebar-w-collapsed);
}

body.no-business-nav #sidebar,
body.no-business-nav .mobile-topbar,
body.no-business-nav .sidebar-toggle,
body.no-business-nav .offcanvas {
    display: none !important;
}

body.no-business-nav #main,
body.no-business-nav #main.expanded {
    margin-left: 0;
}

/* ── STAT CARDS ── */
.stat-card {
    box-shadow: 0 4px 15px rgb(222 165 219 / 25%);
    background: var(--white);
    border-radius: var(--card-radius);
    padding: 22px 22px 18px;
    border: 1.5px solid #efefef;
    height: 100%;
    position: relative;
    transition: transform .15s ease, box-shadow .15s ease;
}

.stat-card:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 22px rgb(222 165 219 / 35%);
}

.rosa {
    color: var(--pink);
}

.font13 {
    font-size: 13px;
}

.font14 {
    font-size: 14px;
}

.btn-upgrade {
    background: linear-gradient(90deg, #FF557B 0%, #F991F3 50%, #FF557B 100%);
    background-size: 200% 100%;
    background-position: 0% 50%;
    color: #fff;
    border: none;
    border-radius: 7px;
    font-size: 12px;
    letter-spacing: 0.2px;
    font-weight: 500;
    padding: 5px 17px;
    cursor: pointer;
    transition: background-position .35s ease, transform .2s ease, opacity .2s ease;
}

.btn-upgrade:hover {
    background-position: 100% 50%;
    transform: translateY(-1px);
}

.stat-label {
    line-height: 13px;
    font-size: 13px;
    font-weight: 400;
    text-transform: uppercase;
    color: var(--pink);
    display: flex;
    align-items: start;
    margin-bottom: 14px;
}

.stat-label i {
    font-size: 15px;
}

.stat-number {
    font-size: 68px;
    font-weight: 600;
    color: var(--text);
    line-height: 1;
}

.dashboard-stat-loader {
    display: inline-block;
    font-size: 42px;
}

.stat-sub {
    font-size: 14px;
    line-height: 1;
    color: var(--text);
    margin-bottom: 5px;
}



.stat-link {
    font-size: 11px;
    color: var(--text-muted);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    transition: color .15s;
}

.stat-link:hover {
    color: var(--pink);
}

/* ── RATING BLOCK ── */
.rating-block {
    background: #2C2C2C;
    border-radius: var(--card-radius) 0 0 var(--card-radius);
    padding: 28px 32px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.rating-eyebrow {
    font-size: 14px;
    font-weight: 400;
    text-transform: uppercase;
    color: #FFFCFC;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 14px;
}

.rating-score {
    font-size: 58px;
    font-weight: 600;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1;
}

.rating-score i {
    font-size: 40px;
    color: var(--white);
}

.business-block {
    background: linear-gradient(90deg, #FF557B 0%, #F991F3 100%);
    border-radius: 0 var(--card-radius) var(--card-radius) 0;
    padding: 20px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.business-eyebrow {
    font-size: 14px;
    font-weight: 400;
    text-transform: uppercase;
    color: rgb(255, 255, 255);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
}

.business-name {
    font-size: 30px;
    font-weight: 600;
    color: var(--white);
}

.business-addr {
    font-size: 13px;
    line-height: 1;
    color: rgba(255, 255, 255);
    display: flex;
    align-items: start;
    gap: 6px;
    margin-bottom: 15px;
}

.business-reviews {
    font-size: 12px;
    color: rgba(255, 255, 255);
}

/* ── REVIEWS TABLE ── */
.reviews-card {
    background: #FCFBFF;
    border-radius: var(--card-radius);
    padding: 24px 26px;
    border: 1.5px solid #efefef;
    box-shadow: 0 4px 15px rgb(222 165 219 / 20%);
}

.reviews-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.reviews-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}

.search-box {
    position: relative;
    flex: 1;
}

.search-box i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 16px;
    pointer-events: none;
}

.search-box .form-control {
    height: 35px;
    border-radius: 999px;
    border: 1px solid #e7e2e8;
    background: #fff;
    padding-left: 40px;
    font-size: 12px;
    box-shadow: none;
}

.search-box .form-control:focus {
    border-color: var(--pink);
    box-shadow: 0 0 0 0.15rem rgba(255, 85, 123, 0.12);
}

.reviews-filters {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-btn {
    border: 0;
    background: transparent;
    color: var(--text);
    font-size: 13px;
    padding: 4px 10px;
    border-radius: 999px;
    transition: .2s ease;
    min-width: 90px;
}

.filter-btn.active {
    background: var(--pink);
    color: #fff;
}

.filter-btn:hover {
    background: #F991F3;
    color: #FFFFFF
}

@media (max-width: 768px) {
    .reviews-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .search-box {
        max-width: 100%;
    }

    .reviews-filters {
        justify-content: flex-start;
    }
}

.reviews-title {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: var(--pink);
    display: flex;
    align-items: center;
    gap: 6px;
}

.review-row {
    padding: 14px 0;
    border-bottom: 1px solid #f2f2f2;
}

.review-row:last-child {
    border-bottom: none;
}

.review-user {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 8px;
}

.review-date {
    font-size: 13px;
    color: var(--text-grey);
}

.review-text {
    font-size: 13px;
    color: var(--text);
    margin-top: 3px;
}

.stars {
    color: var(--pink);
    font-size: 12px;
    letter-spacing: 1px;
    line-height: 10px;
}

.stars .empty {
    color: #ddd;
}

/* ── BOTTOM CTA CARDS ── */
.cta-card {
    background: var(--white);
    border-radius: var(--card-radius);
    padding: 17px 24px;
    border: 1.5px solid #efefef;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    text-decoration: none;
    color: var(--text);
    transition: box-shadow .15s, border-color .15s;
    box-shadow: 0 4px 15px rgb(222 165 219 / 20%);
}

.cta-card:hover {
    border-color: var(--pink);
    box-shadow: 0 4px 18px rgba(255, 85, 123, .1);
    color: var(--text);
}

.cta-label {
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--pink);
    display: flex;
    align-items: center;
    gap: 6px;
}

.cta-label i {
    font-size: 15px
}

.cta-arrow {
    color: var(--text-muted);
    font-size: 18px;
}

/* Section spacing */
.section-gap {
    margin-bottom: 20px;
}

.font12 {
    font-size: 12px !important
}

.font13 {
    font-size: 13px !important
}

.font10 {
    font-size: 10px !important
}

::selection {
    background-color: var(--pink);
    color: var(--white)
}

/* Mobile: sin margin-left, el sidebar desktop está oculto */
@media (max-width: 991px) {
    #main {
        margin-left: 0 !important;
        padding: 100px 50px 32px;
        /* espacio para el topbar */
    }


    .sidebar-toggle {
        display: none;
    }
}



.mobile-topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
}

header button {
    border: 0;
    background-color: white;
    font-size: 24px;
    line-height: 1;
}

.offcanvas.offcanvas-end {
    width: 260px;
}

.offcanvas-header button {
    border: 0;
    background: none;
    font-size: 20px;
    line-height: 15px;
}

@media (max-width: 768px) {
    .rating-block {
        border-radius: var(--card-radius) var(--card-radius) 0 0
    }

    .business-block {
        border-radius: 0 0 var(--card-radius) var(--card-radius)
    }

    #main {
        padding: 100px 20px 32px;
    }
}


/* ── REPORTES ── */
.page-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
    margin: 0;
}

.btn-pdf {
    background: #2c2c2c;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
    padding: 7px 16px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: opacity .15s;
}

.btn-pdf:hover {
    opacity: .8;
}

.btn-pdf i {
    font-size: 15px;
}

/* Pink stat card */
.stat-card--pink {
    background: linear-gradient(135deg, #FF557B 0%, #F991F3 100%);
    border-color: transparent;
    box-shadow: 0 4px 20px rgba(255, 85, 123, .25);
}

.stat-label--white {
    color: #F1F1F1 !important;
}

.stat-number--white {
    color: #fff !important;
}

.stat-sub--white {
    color: #F1F1F1 !important;
    font-size: 14px;
}

/* Rating distribution */
.rating-dist-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rating-dist-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.rating-dist-label {
    display: flex;
    align-items: center;
    min-width: 36px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
    flex-shrink: 0;
}

.rating-dist-num {
    font-size: 14px;
    font-weight: 600;
}

.rating-dist-bar {
    flex: 1;
    height: 12px;
    background: #ffffff;
    border-radius: 99px;
    overflow: hidden;
    box-shadow: 0 0 10px rgb(222 165 219 / 25%)
}

.rating-dist-bar .progress-bar {
    background: #2c2c2c;
    border-radius: 99px;
}

.rating-dist-pct {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    min-width: 32px;
    text-align: right;
    flex-shrink: 0;
}

/* Palabras destacadas empty state */
.palabras-empty {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 12px;
    padding: 10px 0 4px;
}

.palabras-empty i {
    font-size: 18px;
}

/* AI generated response (reviews) */
.ai-response-card {
    background: var(--pink-light);
    border: 1px solid #ffd9e3;
    border-radius: var(--card-radius);
    padding: 16px 18px;
    margin-top: 14px;
}

.ai-response-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--pink);
    margin-bottom: 12px;
}

.ai-response-loading {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text);
    font-size: 13px;
    padding: 4px 0 6px;
}

.ai-response-loading--dark {
    color: #fff;
    font-size: 15px;
}

.ai-spin {
    color: var(--pink);
    font-size: 16px;
    animation: ai-spin-rotate .8s linear infinite;
}

.stat-number .dashboard-stat-loader {
    font-size: 52px;
}

@keyframes ai-spin-rotate {
    to {
        transform: rotate(360deg);
    }
}

.ai-response-box {
    background: #fff;
    border-radius: 10px;
    padding: 14px 16px;
    font-size: 13px;
    color: var(--text);
    line-height: 1.55;
}

.ai-response-text {
    cursor: text;
    outline: none;
    border-radius: 6px;
    padding: 4px 6px;
    margin: -4px -6px;
    transition: box-shadow .15s;
}

.ai-response-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.btn-copy-google {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    padding: 10px 16px;
    cursor: pointer;
    white-space: nowrap;
    transition: opacity .15s;
}

.btn-copy-google:hover {
    opacity: .85;
}

.btn-copy-google--success {
    background: #000;
    opacity: .7;
}

.ai-cancel-btn {
    background: none;
    border: none;
    color: var(--text);
    font-size: 12px;
    cursor: pointer;
    padding: 8px 4px;
    transition: color .15s;
}

.ai-cancel-btn:hover {
    color: var(--text);
}

/* Word tags */
.word-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.word-tag {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--text);
    color: var(--text);
    background: transparent;
    border-radius: 999px;
    padding: 4px 15px;
    font-size: 12px;
    font-weight: 500;
}

/* Keywords */
.keyword-add-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.keyword-input {
    flex: 1;
}

.btn-keyword-add {
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text);
    padding: 5px 8px;
    cursor: pointer;
    white-space: nowrap;
    transition: border-color .15s, color .15s;
    height: 40px;
    min-width: 110px;
}

.btn-keyword-add:hover {
    border-color: var(--pink);
    color: var(--pink);
}

.keyword-list {
    display: flex;
    flex-direction: column;
}

.keyword-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #f2f2f2;
}

.keyword-item:last-child {
    border-bottom: none;
}

.keyword-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
}

.keyword-meta {
    font-size: 13px;
    color: var(--text);
    margin-top: 0px;
}

.keyword-delete {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 18px;
    cursor: pointer;
    padding: 4px 6px;
    border-radius: 6px;
    transition: color .15s, background .15s;
    line-height: 1;
    flex-shrink: 0;
}

.keyword-delete:hover {
    color: var(--pink);
    background: var(--pink-light);
}

/* ── UPGRADE PLAN MODAL ── */
.upgrade-modal-content {
    border-radius: 20px;
    border: none;
    background: var(--bg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, .15);
}

.upgrade-modal-close {
    position: absolute;
    top: 18px;
    right: 20px;
    background: none;
    border: none;
    font-size: 22px;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1;
    z-index: 10;
    transition: color .15s;
}

.upgrade-modal-close:hover {
    color: var(--text);
}

.upgrade-title {
    font-size: 44px;
    font-weight: 600;
    color: #000000;
    letter-spacing: -2px;
}

.upgrade-subtitle {
    font-size: 16px;
    color: var(--text);
    letter-spacing: -0.2px;
}

.billing-toggle-wrap {
    display: inline-flex;
    background: #f2f2f2;
    border-radius: 999px;
    padding: 3px;
    margin-bottom: 25px;
}

.billing-tab {
    border: none;
    background: transparent;
    border-radius: 999px;
    padding: 6px 22px;
    font-size: 13px;
    font-weight: 400;
    color: var(--text);
    cursor: pointer;
    transition: background .2s, color .2s;
}

.billing-tab.active {
    background: var(--pink);
    color: #fff;
}

/* Plan cards */
.plan-card {
    background: #F8F7FB;
    border-radius: 10px;
    border: 1.5px solid #b5b5b5;
    padding: 22px 20px 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.plan-card--featured {
    border: 2px solid var(--pink);
    box-shadow: 0 4px 20px rgba(255, 85, 123, .12);
    background-color: #FFFFFF;
    margin-top: -20px;
}

.plan-card-name {
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text);
    margin-bottom: 6px;
}

.plan-card-desc {
    font-size: 13px;
    color: var(--text);
    line-height: 1.3;
    margin-bottom: 14px;
    flex-grow: 0;
}

.plan-card-price {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 2px;
    line-height: 1;
}

.plan-currency {
    font-size: 13px;
    font-weight: 400;
    color: var(--text);
    margin-right: 2px;
}

.plan-amount {
    font-size: 46px;
    font-weight: 600;
    color: var(--text);
    line-height: 1;
}

.plan-period {
    font-size: 12px;
    color: var(--text);
    margin-left: 2px;
    font-weight: 400;
}

.plan-billing-note {
    font-size: 13px;
    color: var(--pink);
    font-weight: 400;
    min-height: 18px;
    margin-bottom: 10px;
    letter-spacing: -0.2px;
}

.note-fixed {
    font-size: 12px;
    color: var(--pink);
    font-weight: 500;
}

.plan-limit {
    font-size: 10px;
    color: var(--text);
    background: #F8F7FB;
    border-radius: 12px;
    padding: 7px 5px;
    margin-bottom: 7px;
    display: inline-block;
    border: 1px solid #E3E3E3;
    font-weight: 600;
    text-align: center;
}

.bg-grey-light {
    background-color: #F8F7FB !important
}

/* CTA buttons */
.plan-cta {
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0;
    padding: 9px 16px;
    cursor: pointer;
    border: none;
    transition: opacity .2s, transform .15s;
    margin-bottom: 16px;
}

.plan-cta:hover {
    opacity: .85;
    transform: translateY(-1px);
}

.plan-cta--pink {
    background: linear-gradient(90deg, #FF557B 0%, #F991F3 50%, #FF557B 100%);
    background-size: 200% 100%;
    background-position: 0% 50%;
    color: #fff;
}

.plan-cta--pink:hover {
    background-position: 100% 50%;
}

.plan-cta--outline {
    background: #FFFFFF;
    border: 1.5px solid #ddd;
    color: var(--text);
}

.plan-cta--outline:hover {
    border-color: var(--pink);
    color: var(--pink);
    opacity: 1;
}

.plan-cta--dark {
    background: var(--text);
    color: #fff;
}

/* Feature list */
.plan-features {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
}

.plan-features li {
    font-size: 11.5px;
    color: var(--text);
    padding: 4px 0 4px 20px;
    position: relative;
    line-height: 1.3;
}

.plan-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--pink);
    font-weight: 700;
}

.upgrade-footer-note {
    font-size: 13px;
    color: #000000;
}

.upgrade-footer-note a {
    color: var(--pink);
    text-decoration: none;
}

.upgrade-footer-note a:hover {
    text-decoration: underline;
}

@media (max-width: 560px) {
    .stat-sub {
        font-size: 12px;
    }

    .stat-number {
        font-size: 59px;
    }
}

/* ── INSIGHTS IA ── */
.btn-embed {
    background: none;
    border: 1.5px solid #ddd;
    border-radius: 8px;
    color: var(--text-muted);
    font-size: 18px;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color .15s, color .15s;
}

.btn-embed:hover {
    border-color: var(--pink);
    color: var(--pink);
}

/* Main dark card */
.insights-main-card {
    background: var(--text);
    border-radius: var(--card-radius);
    padding: 22px 28px 28px;
    position: relative;
    overflow: hidden;
}

.insights-main-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.insights-eyebrow {
    font-size: 13px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0;
    color: rgb(255 255 255);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}

.insights-eyebrow i {
    font-size: 14px;
}

.btn-regenerar {
    background: rgba(255, 255, 255);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 20px;
    color: var(--text);
    font-size: 12px;
    font-weight: 500;
    padding: 5px 21px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: background .2s;
}

.btn-regenerar:hover {
    background: var(--pink);
    color: rgb(255, 255, 255);
}

.btn-regenerar i {
    font-size: 14px;
}

.insights-quote {
    font-size: 22px;
    font-weight: 500;
    color: #fff;
    line-height: 1.35;
    margin: 0;
    flex: 1;
}

.insights-mascot {
    width: 100%;
    object-fit: contain;
    margin-bottom: -28px;
    display: inline-block;
}

/* Unique card (pink) */
.insights-unique-card {
    background: linear-gradient(135deg, #FF557B 0%, #F991F3 100%);
    border-radius: var(--card-radius);
    padding: 22px 26px;
}

.insights-unique-label {
    font-size: 13px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0;
    color: rgb(255 255 255);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
}

.insights-unique-label i {
    font-size: 14px;
}

.insights-unique-text {
    font-size: 14px;
    color: rgba(255, 255, 255);
    line-height: 1.6;
    margin: 0;
}

/* Lo que aman / A mejorar items */
.insight-item {
    display: flex;
    gap: 10px;
    font-size: 12px;
    line-height: 1.5;
    color: var(--text);
    margin-bottom: 11px;
}

.insight-item:last-child {
    margin-bottom: 0;
}

.insight-bullet {
    font-size: 17px;
    flex-shrink: 0;
    margin-top: 1px;
}

.insight-bullet--check {
    color: var(--pink);
}

.insight-bullet--cross {
    color: #f05;
}

.insight-item-title {
    font-weight: 600;
    color: var(--text);
}

/* Plan de acción */
.impact-section {
    margin-bottom: 16px;
}

.impact-level {
    font-size: 12px;
    margin-top: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0;
    margin-bottom: 2px;
    color: var(--text);
}


.impact-text {
    font-size: 13px;
    color: var(--text);
    line-height: 1.6;
    margin: 0;
}

.impact-divider {
    border-color: #E3E3E3;
    margin: 8px 0;
    opacity: 1;
}

/* Floating mascot (bottom right) */
.mascot-float {
    position: fixed;
    bottom: 0;
    right: 24px;
    width: 90px;
    pointer-events: none;
    z-index: 50;
}

@media (max-width: 768px) {
    .insights-quote {
        font-size: 17px;
    }

    .insights-mascot,
    .mascot-float {
        display: none;
    }
}

/* ── COMPETIDORES ── */
.btn-add-competitor {
    letter-spacing: 0.2px;
    background: linear-gradient(90deg, #FF557B 0%, #F991F3 50%, #FF557B 100%);
    background-size: 200% 100%;
    background-position: 0% 50%;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
    padding: 7px 16px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    transition: background-position .35s ease, transform .15s ease;
    flex-shrink: 0;
}

.btn-add-competitor:hover {
    background-position: 100% 50%;
    transform: translateY(-1px);
}

.btn-add-competitor i {
    font-size: 14px;
}

/* Tabla responsive: scrollea horizontal en vez de romper el layout */
.competitor-table-scroll {
    overflow-x: auto;
}

/* La card pierde el padding horizontal: lo asumen el header y las filas,
   así la fila destacada (degradé) puede llegar borde a borde. */
.comp-table-card {
    padding-left: 0;
    padding-right: 0;
}

/* Table header */
.competitor-header-row {
    display: grid;
    grid-template-columns: 1fr 80px 90px 80px;
    padding: 6px 40px;
    font-size: 12px;
    font-weight: 400;
    text-transform: uppercase;
    color: var(--text-muted);
    gap: 10px;
    min-width: 472px;
}

/* Rows */
.competitor-row {
    display: grid;
    grid-template-columns: 1fr 80px 90px 80px;
    align-items: center;
    padding: 12px 40px;
    gap: 10px;
    border-bottom: 1px solid #E3E3E3;
    transition: background .15s;
    min-width: 472px;
}

.btn-regenerar.rosa {
    color: var(--pink);
    border-radius: 6px;
}

.btn-regenerar.rosa:hover {
    background-color: var(--pink);
    color: #FFFFFF;
}

.insights-quote.competencia {
    font-size: 17px;
}

.competitor-row:not(.competitor-row--featured):hover {
    background: #fafafa;
}

.competitor-row--featured {
    background: linear-gradient(90deg, #FF557B 0%, #F991F3 100%);
    border: none;
}

.competitor-row--featured .comp-name,
.competitor-row--featured .comp-addr,
.competitor-row--featured .comp-col-rating,
.competitor-row--featured .comp-col-reviews,
.competitor-row--featured .comp-rating-num {
    color: #fff;
}

/* Columns */
.comp-col-negocio {
    min-width: 0;
}

.comp-col-rating {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 4px;
}

.comp-col-reviews {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
}


.comp-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.comp-addr {
    font-size: 11px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.comp-rating-num {
    font-size: 13px;
    font-weight: 600;
}

/* VS badge */
.vs-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 20px;
    white-space: nowrap;
}

.vs-badge--above {
    background: rgb(222 165 219 / 25%);
    color: #F991F3;
}

.vs-badge--below {
    background: #e8f5e9;
    color: #43a047;
}

@media (max-width: 600px) {

    .competitor-header-row,
    .competitor-row {
        grid-template-columns: 1fr 60px 70px 60px;
        padding: 10px 18px;
        font-size: 11px;
        min-width: 0;
    }

    .comp-addr {
        display: none;
    }
}

/* ── MI MARCA ── */
.marca-input {
    width: 100%;
    height: 44px;
    border: 1.5px solid #e8e8e8;
    border-radius: 10px;
    padding: 0 16px;
    font-size: 13px;
    color: var(--text);
    background: #F8F7FB;
    outline: none;
    transition: border-color .15s, box-shadow .15s;
}

.marca-input::placeholder {
    color: var(--text-muted);
}

.marca-input:focus {
    border-color: var(--pink);
    box-shadow: 0 0 0 3px rgba(255, 85, 123, .1);
}

.btn-guardar {
    background: linear-gradient(90deg, #FF557B 0%, #F991F3 50%, #FF557B 100%);
    background-size: 200% 100%;
    background-position: 0% 50%;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    padding: 5px 24px;
    cursor: pointer;
    transition: background-position .35s ease, transform .15s ease;
}

.btn-guardar:hover:not(:disabled) {
    background-position: 100% 50%;
    transform: translateY(-1px);
}

.btn-guardar:disabled {
    opacity: .5;
    cursor: not-allowed;
}

/* Adjuntar button */
.btn-adjuntar {
    background: #F8F7FB;
    border: 1.5px solid #E3E3E3;
    border-radius: 18px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
    padding: 5px 48px;
    cursor: pointer;
    transition: border-color .15s, color .15s;
    flex-shrink: 0;
}

.btn-adjuntar:hover:not(:disabled) {
    border-color: var(--pink);
    color: var(--pink);
}

.btn-adjuntar:disabled {
    opacity: .45;
    cursor: not-allowed;
}

/* Logo upload area */
.logo-upload-area {
    width: 150px;
    height: 120px;
    border: 2px dashed #ddd;
    border-radius: 10px;
    background: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-upload-placeholder {
    font-size: 13px;
    color: var(--text-muted);
}

/* Logo card with overlay */
.marca-logo-card {
    position: relative;
    overflow: hidden;
}

.marca-logo-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    border-radius: var(--card-radius);
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.marca-logo-overlay-inner {
    text-align: center;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.marca-logo-overlay-inner i {
    font-size: 32px;
    opacity: .9;
}

.marca-logo-overlay-inner p {
    font-size: 14px;
    margin: 0;
    opacity: .9;
}

/* ── PLANTILLAS ── */
.template-card {
    background: var(--white);
    border-radius: var(--card-radius);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 100%;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .06);
}

/* Badge */
.template-badge {
    display: inline-flex;
    align-items: center;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 20px;
    align-self: flex-start;
}

.template-badge--positiva {
    background: var(--pink);
    color: var(--white);
    font-weight: 500;
}

.template-badge--negativa {
    background: #e05252;
    color: #ffffff;
    font-weight: 500;
}

.template-badge--neutral {
    background: #dfdfdf;
    color: var(--text);
    font-weight: 500;
}

/* Card text */
.template-title {
    font-size: 15px;
    font-weight: 400;
    color: var(--pink);
    text-transform: uppercase;
    /* letter-spacing: .2px; */
    line-height: 1.35;
}

.template-subtitle {
    font-size: 13px;
    line-height: 1.4;
    margin-bottom: 2px;
}

.template-text {
    font-size: 13px;
    color: var(--text);
    line-height: 1.6;
    background: #F8F7FB;
    border-left: 3px solid #e8e8e8;
    border-radius: 0 6px 6px 0;
    padding: 10px 14px;
    flex: 1;
    outline: none;
    cursor: text;
    transition: border-color .15s, box-shadow .15s;
}

.template-text:focus {
    border-left-color: var(--pink);
    box-shadow: 0 0 0 3px rgba(255, 85, 123, .08);
}

/* Buttons row */
.template-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}

.btn-copy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex: 1;
    background: var(--text);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
    padding: 8px 12px;
    cursor: pointer;
    transition: background .2s, transform .15s;
    white-space: nowrap;
}

.btn-copy:hover {
    background: #222;
    transform: translateY(-1px);
}

.btn-copy--success {
    background: #000000;
}

.btn-copy--success:hover {
    background: #000000;
}

.btn-copy i {
    font-size: 14px;
}

.btn-personalize {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    flex: 1;
    background: transparent;
    color: var(--pink);
    border: 1.5px solid var(--pink);
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
    padding: 8px 12px;
    cursor: pointer;
    transition: background .15s, color .15s;
    white-space: nowrap;
}

.btn-personalize:hover {
    background: var(--pink-light);
}

.btn-personalize i {
    font-size: 14px;
}

/* ── MI LOCAL ── */
.entity-search-panel {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #f0f0f0;
}

.entity-search-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.entity-search-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
}

.entity-search-close {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 16px;
    cursor: pointer;
    line-height: 1;
    transition: color .15s;
}

.entity-search-close:hover {
    color: var(--pink);
}

.entity-search-results {
    margin-top: 10px;
}

.entity-search-result {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    background: #f8f7fb;
    border: 1px solid #ebebeb;
    border-radius: 10px;
    padding: 10px 14px;
    text-align: left;
    cursor: pointer;
    transition: border-color .15s, background .15s;
}

.entity-search-result:hover {
    border-color: var(--pink);
    background: var(--pink-light);
}

.entity-search-result i {
    font-size: 18px;
    color: var(--pink);
}

.entity-search-result-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
}

.entity-search-result-addr {
    font-size: 11px;
    color: var(--text-grey);
}

.local-card {
    position: relative;
    background: linear-gradient(135deg, #FF557B 0%, #F991F3 100%);
    border-radius: var(--card-radius);
    padding: 24px 26px;
    box-shadow: 0 8px 26px rgba(255, 85, 123, .25);
}

.local-delete-btn {
    position: absolute;
    top: 20px;
    right: 22px;
    background: rgba(255, 255, 255, .18);
    border: none;
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .15s;
}

.local-delete-btn:hover {
    background: rgba(255, 255, 255, .3);
}

.local-badge {
    display: inline-flex;
    align-items: center;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .5px;
    text-transform: uppercase;
    color: var(--pink);
    background: #fff;
    padding: 2px 10px;
    border-radius: 20px;
    margin-bottom: 9px;
}

.local-name {
    font-size: 27px;
    font-weight: 500;
    color: #fff;
    margin-bottom: 2px;
}

.local-addr {
    font-size: 15px;
    line-height: 1;
    color: rgba(255, 255, 255, .9);
    display: flex;
    align-items: start;
    gap: 6px;
    margin-bottom: 20px;
}

.local-stat {
    background: rgba(255, 255, 255, .92);
    border-radius: 10px;
    padding: 14px 20px;
    height: 100%;
}

.local-stat--dark {
    background: var(--text);
}

.local-stat-label {
    font-size: 13px;
    text-transform: uppercase;
    color: var(--pink);
}

.local-stat--dark .local-stat-label {
    color: #FFFFFF;
}

.local-stat-value {
    font-size: 55px;
    font-weight: 600;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 4px;
}

.local-stat-value i {
    font-size: 36px;
}

.local-stat--dark .local-stat-value {
    color: #fff;
}

.local-divider {
    margin: 30px 0 16px;
    border: 1px solid #E3E3E3;
    opacity: 1;
}

.local-sync-text {
    font-size: 16px;
    color: #fff;
    text-decoration: underline;
}

.local-btn-cargar {
    background: var(--text);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    padding: 7px 20px;
    min-width: 160px;
    cursor: pointer;
}

.local-btn-cargar:hover {
    background: black;
}

/* ── LOGIN ── */
.login-body {
    background: #383838;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
    margin: 0;
}

.login-page {
    display: flex;
    width: 860px;
    max-width: 100%;
    min-height: 530px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 28px 70px rgba(0, 0, 0, .4);
}

.login-left {
    flex: 1.7;
    background: linear-gradient(180deg, #FF557B 0%, #F991F3 100%);
    position: relative;
    overflow: hidden;
}

form.form-login {
    padding: 0 10%;
}

.login-right {
    flex: 1;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 40px;
}

/* Staggered fade-in */
@keyframes lf-fadein {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.lf-el {
    animation: lf-fadein .55s ease both;
    animation-delay: var(--lf-delay, 0s);
}

/* Floating cards */
.lf-card--template .template-subtitle {
    font-size: 10px;
    line-height: 1.2;
}

.lf-card--template .template-text {
    font-size: 10px;
    line-height: 1.5;
}

.lf-card {
    position: absolute;
    border-radius: 12px;
    padding: 12px 14px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .14);
    will-change: transform;
}

.lf-card--template .template-card {
    gap: 7px;
}

.lf-card--template .btn-personalize {
    border-radius: 5px;
    padding: 6px 9px;
    font-size: 10px;
}

.lf-card--template .btn-copy {
    border-radius: 5px;
    padding: 6px 9px;
    font-size: 10px;
}

.lf-card--template {
    position: absolute;
    max-width: 330px;
    top: 7%;
    right: 6%;
}

.lf-card--dark {
    background: rgb(252 251 255 / 90%);
    width: 190px;
    top: 32%;
    left: 6%;
}

.lf-card--stat {
    background: rgba(252, 251, 255, 0.9);
    max-width: 200px;
    bottom: 20%;
    left: 6%;
    padding-bottom: 30px;
}

.lf-review {
    position: absolute;
    background: #F8F7FB;
    border-radius: 12px;
    padding: 10px 13px;
    width: 152px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .12);
    right: 6%;
    will-change: transform;
    text-align: center;
    z-index: 9;
}

.lf-review--1 {
    bottom: 24%;
}

.lf-review--2 {
    bottom: 10%;
}

.lf-robot {
    position: absolute;
    max-width: 380px;
    bottom: -1px;
    left: 0;
    right: 0;
    margin: 0 auto;
}

/* Card internals */
.lf-eyebrow {
    font-size: 12px;
    font-weight: 400;
    text-transform: uppercase;
    color: var(--pink);
    margin-bottom: 18px;
}


.lf-big {
    font-size: 48px;
    font-weight: 600;
    color: var(--text);
    line-height: 1;
    display: flex;
    align-items: center;
    gap: 4px;
}


.lf-big i {
    font-size: 20px;
}

.lf-sub {
    font-size: 9px;
    color: var(--text-grey);
    margin-top: 3px;
}

.lf-stars {
    font-size: 10px;
    color: var(--pink);
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.lf-quote {
    font-size: 9px;
    color: var(--text);
    line-height: 1.45;
}

/* Login form */
.login-form-wrap {
    width: 100%;
    max-width: 280px;
    text-align: center;
}

.login-logo {
    height: 63px;
    margin-bottom: 8px;
}

.login-title {
    font-size: 20px;
    font-weight: 700;
    color: #333333;
    margin-bottom: 26px;
    line-height: 1.3;
}

.login-field {
    position: relative;
    margin-bottom: 10px;
}

.login-field i {
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    color: var(--text-muted);
    pointer-events: none;
}

.login-field input {
    width: 100%;
    height: 40px;
    border: 1.5px solid #ebebeb;
    border-radius: 10px;
    padding: 0 20px 0 40px;
    font-size: 11px;
    color: var(--text);
    outline: none;
    transition: border-color .15s, box-shadow .15s;
    text-align: left;
}

.login-field input::placeholder {
    color: var(--text-muted);
}

.login-field input:focus {
    border-color: var(--pink);
    box-shadow: 0 0 0 3px rgba(255, 85, 123, .1);
    background: #fff;
}

.btn-login {
    width: 100%;
    height: 38px;
    background: #FF557B;
    background-position: 0% 50%;
    color: #fff;
    border: none;
    border-radius: 7px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .8px;
    cursor: pointer;
    margin-top: 6px;
    transition: background-position .35s ease, transform .15s;
}

.btn-login:hover {
    background-position: 100% 50%;
    transform: translateY(-1px);
}

.login-forgot {
    display: block;
    margin-top: 14px;
    font-size: 11px;
    color: #333333;
    text-decoration: none;
    transition: color .15s;
}

.login-forgot:hover {
    color: var(--pink);
}

@media (max-width: 600px) {
    .local-stat-value {
        font-size: 42px;
    }

    .local-stat-value i {
        font-size: 25px;
    }

    .local-btn-cargar {
        max-width: 100%;
        font-size: 15px;
    }

    .login-body {
        padding: 30px;
    }

    .login-page {
        min-height: auto
    }

    .login-field input {
        font-size: 12px
    }

    form.form-login {
        padding: 0;
    }

    .login-left {
        display: none;
    }

    .login-right {
        padding: 40px 28px;
    }

    .login-page {
        border-radius: 20px;
    }
}

/* ══════════════════════════ LANDING PAGE (index.html) ══════════════════════════ */

.lp-page {
    overflow-x: hidden;
}

.lp-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Promo bar */
.lp-promo-bar {
    background: linear-gradient(90deg, #FF557B 0%, #F991F3 50%, #FF557B 100%);
    color: #fff;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .3px;
    padding: 9px 16px;
}

.lp-promo-bar i {
    margin-right: 4px;
}

/* Header */
.lp-header {
    background: #fff;
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: 0 1px 0 rgba(0, 0, 0, .06);
}

.lp-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.lp-nav {
    display: flex;
    gap: 28px;
}

.lp-nav a {
    color: var(--text);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: color .15s;
}

.lp-nav a:hover {
    color: var(--pink);
}

.lp-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Buttons */
.lp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .3px;
    padding: 10px 22px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: opacity .2s, transform .15s, background-position .3s;
    white-space: nowrap;
}

.lp-btn-lg {
    padding: 13px 30px;
    font-size: 14px;
}

.lp-btn-pink {
    background: linear-gradient(90deg, #FF557B 0%, #F991F3 50%, #FF557B 100%);
    background-size: 200% 100%;
    background-position: 0% 50%;
    color: #fff;
}

.lp-btn-pink:hover {
    background-position: 100% 50%;
    color: #fff;
    transform: translateY(-1px);
}

.lp-btn-outline {
    background: #fff;
    border: 1.5px solid #ddd;
    color: var(--text);
}

.lp-btn-outline:hover {
    border-color: var(--pink);
    color: var(--pink);
}

.lp-btn-outline-dark {
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, .35);
    color: #fff;
}

.lp-btn-outline-dark:hover {
    border-color: #fff;
}

.lp-btn-ghost {
    background: transparent;
    color: var(--text);
    padding: 10px 14px;
}

.lp-btn-ghost:hover {
    color: var(--pink);
}

.lp-btn-dark {
    background: #1c1c1c;
    color: #fff;
}

.lp-btn-dark:hover {
    opacity: .85;
    color: #fff;
    transform: translateY(-1px);
}

/* Hero */
.lp-hero {
    background: var(--pink-light);
    padding: 56px 0 64px;
    overflow: hidden;
}

.lp-avatar-chips {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 18px;
}

.lp-chip-floating {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: 100%;
    background: #fff;
    border-radius: 999px;
    padding: 7px 14px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text);
    box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
}

.lp-chip-floating i {
    color: var(--pink);
}

.lp-h1 {
    font-size: 46px;
    font-weight: 600;
    letter-spacing: -1.5px;
    line-height: 1.08;
    color: #1c1c1c;
    margin-bottom: 10px;
}

.lp-hero-question {
    font-size: 20px;
    font-weight: 600;
    color: var(--pink);
    margin-bottom: 14px;
}

.lp-hero-body {
    font-size: 16px;
    color: var(--text);
    line-height: 1.5;
    max-width: 460px;
    margin-bottom: 26px;
}

.lp-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 26px;
}

.lp-trust-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    font-size: 12.5px;
    color: var(--text);
}

.lp-trust-row i.ph-fill.ph-check-circle {
    color: var(--pink);
    margin-right: 4px;
}

.lp-trust-plus {
    color: var(--text-muted);
    font-size: 11px;
}

.lp-hero-art {
    text-align: center;
}

.lp-hero-robot {
    width: 100%;
    max-width: 320px;
}

/* Generic section */
.lp-section {
    padding: 70px 0;
}

.lp-section--pink {
    background: var(--pink-light);
}

.lp-eyebrow {
    display: inline-block;
    background: var(--pink-light);
    color: var(--pink);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 6px 16px;
    border-radius: 999px;
    margin-bottom: 14px;
}

.lp-h2 {
    font-size: 32px;
    font-weight: 600;
    letter-spacing: -1px;
    line-height: 1.2;
    color: #1c1c1c;
    margin-bottom: 14px;
}

.lp-h2--white {
    color: #fff;
}

.lp-section-sub {
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.lp-body {
    font-size: 15px;
    color: var(--text);
    line-height: 1.6;
    margin-bottom: 18px;
}

.lp-pink {
    color: var(--pink);
}

/* Toggle (Tengo un:) */
.lp-toggle-row {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 6px;
}

.lp-toggle-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}

.lp-toggle {
    display: inline-flex;
    background: #f2f2f2;
    border-radius: 999px;
    padding: 4px;
}

.lp-toggle-btn {
    border: none;
    background: transparent;
    border-radius: 999px;
    padding: 7px 22px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .3px;
    color: var(--text);
    cursor: pointer;
}

.lp-toggle-btn.active {
    background: var(--pink);
    color: #fff;
}

.lp-toggle-sub {
    font-size: 14px;
    color: var(--text-grey);
    margin-bottom: 32px;
}

/* Mockup card */
.lp-mockup {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 16px 50px rgba(0, 0, 0, .08);
    overflow: hidden;
    text-align: left;
}

.lp-mockup-tab {
    background: #1c1c1c;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 12px 24px;
}

.lp-mockup-col {
    padding: 24px;
}

.lp-mockup-col--border {
    border-left: 1px solid #eee;
    border-right: 1px solid #eee;
}

.lp-mockup-col-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 16px;
}

.lp-bar-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lp-bar-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12.5px;
    color: var(--text);
    margin-bottom: 12px;
}

.lp-bar-list li span:first-child {
    width: 70px;
    flex-shrink: 0;
}

.lp-bar {
    flex: 1;
    height: 7px;
    background: #f0f0f0;
    border-radius: 999px;
    overflow: hidden;
}

.lp-bar i {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #FF557B 0%, #F991F3 100%);
}

.lp-info-card {
    background: var(--pink-light);
    color: var(--pink);
    font-size: 12.5px;
    font-weight: 500;
    border-radius: 10px;
    padding: 10px 14px;
    margin-bottom: 10px;
}

.lp-mini-mockup {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 16px 50px rgba(0, 0, 0, .08);
    padding: 28px;
}

/* Dark stat banner */
.lp-stat-dark {
    background: #1c1c1c;
    padding: 70px 0;
}

.lp-stat-dark--features {
    padding: 60px 0;
}

.lp-stat-dark-text {
    font-size: 32px;
    font-weight: 600;
    letter-spacing: -1px;
    line-height: 1.3;
    color: #fff;
    max-width: 700px;
    margin: 0 auto 28px;
}

.lp-pill-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
}

.lp-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .15);
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    border-radius: 999px;
    padding: 9px 18px;
}

.lp-pill i {
    color: var(--pink);
}

/* Signals section */
.lp-signals-robot {
    width: 100%;
    max-width: 280px;
}

.lp-check-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}

.lp-check-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14.5px;
    color: var(--text);
    margin-bottom: 10px;
}

.lp-check-list li i {
    color: var(--pink);
    font-size: 17px;
}

.lp-callout {
    background: var(--pink-light);
    border-left: 3px solid var(--pink);
    border-radius: 8px;
    padding: 14px 18px;
    font-size: 14.5px;
    color: var(--text);
    margin-bottom: 24px;
}

/* Process steps */
.lp-step-card {
    background: #fff;
    border-radius: 14px;
    padding: 24px 18px;
    height: 100%;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .05);
}

.lp-step-num {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--pink);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
}

.lp-step-icon {
    font-size: 30px;
    color: var(--pink);
    display: block;
    margin-bottom: 10px;
}

.lp-step-title {
    font-size: 14.5px;
    font-weight: 600;
    color: #1c1c1c;
    margin-bottom: 6px;
}

.lp-step-text {
    font-size: 12.5px;
    color: var(--text-grey);
    margin: 0;
}

/* Stats band */
.lp-stat-band {
    background: linear-gradient(135deg, #FF557B 0%, #F991F3 100%);
    padding: 64px 0;
}

.lp-stat-num {
    font-size: 44px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.lp-stat-label {
    font-size: 13px;
    color: rgba(255, 255, 255, .9);
    margin-top: 6px;
}

/* Comparison table */
.lp-compare {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .05);
    overflow: hidden;
}

.lp-compare-head {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.lp-compare-col {
    padding: 16px 24px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .3px;
    color: var(--text);
    background: #f7f7f7;
}

.lp-compare-col--pink {
    color: #fff;
    background: linear-gradient(90deg, #FF557B 0%, #F991F3 100%);
}

.lp-compare-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid #f0f0f0;
}

.lp-compare-cell {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    font-size: 13.5px;
    color: var(--text-grey);
}

.lp-compare-cell i {
    flex-shrink: 0;
}

.lp-compare-cell--pink {
    color: var(--text);
    font-weight: 500;
    background: var(--pink-light);
}

.lp-compare-cell--pink i {
    color: var(--pink);
}

/* Gradient CTA */
.lp-cta-gradient {
    background: linear-gradient(135deg, #FF557B 0%, #F991F3 100%);
    padding: 70px 0;
    text-align: center;
}

.lp-cta-robot {
    width: 140px;
    margin-bottom: 18px;
}

.lp-cta-title {
    font-size: 40px;
    font-weight: 600;
    letter-spacing: -1.5px;
    line-height: 1.15;
    color: #fff;
    margin-bottom: 28px;
}

.lp-cta-title span {
    color: #1c1c1c;
}

/* Testimonial */
.lp-testimonial {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 16px 50px rgba(0, 0, 0, .08);
    padding: 32px;
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.lp-testimonial-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--pink-light);
    color: var(--pink);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    flex-shrink: 0;
}

.lp-testimonial-body {
    flex: 1;
    min-width: 220px;
}

.lp-testimonial-quote {
    font-size: 16px;
    color: var(--text);
    line-height: 1.5;
    margin-bottom: 10px;
}

.lp-testimonial-author {
    font-size: 13px;
    font-weight: 600;
    color: #1c1c1c;
}

.lp-testimonial-author span {
    font-weight: 400;
    color: var(--text-grey);
}

.lp-testimonial-stat {
    text-align: center;
    border-left: 1px solid #eee;
    padding-left: 24px;
}

.lp-testimonial-stat-num {
    font-size: 30px;
    font-weight: 700;
    color: var(--pink);
}

.lp-testimonial-stat-label {
    font-size: 11.5px;
    color: var(--text-grey);
    max-width: 100px;
}

/* FAQ */
.lp-accordion .accordion-item {
    border: none;
    border-bottom: 1px solid #eee;
}

.lp-accordion .accordion-button {
    font-size: 15px;
    font-weight: 600;
    color: #1c1c1c;
    padding: 18px 4px;
    box-shadow: none;
}

.lp-accordion .accordion-button:not(.collapsed) {
    color: var(--pink);
    background: transparent;
}

.lp-accordion .accordion-button:focus {
    box-shadow: none;
}

.lp-accordion .accordion-body {
    padding: 0 4px 20px;
    font-size: 14px;
    color: var(--text-grey);
    line-height: 1.5;
}

/* Footer */
.lp-footer {
    background: #1c1c1c;
    padding: 36px 0;
}

.lp-footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.lp-footer-social {
    display: flex;
    gap: 14px;
}

.lp-footer-social a {
    color: #fff;
    font-size: 18px;
    opacity: .7;
    transition: opacity .15s;
}

.lp-footer-social a:hover {
    opacity: 1;
    color: var(--pink);
}

.lp-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 18px;
    font-size: 12.5px;
    color: rgba(255, 255, 255, .6);
}

.lp-footer-bottom a {
    color: rgba(255, 255, 255, .6);
    text-decoration: none;
}

.lp-footer-bottom a:hover {
    color: #fff;
}

/* Responsive */
@media (max-width: 991px) {
    .lp-h1 {
        font-size: 36px;
    }

    .lp-cta-title {
        font-size: 32px;
    }

    .lp-stat-dark-text {
        font-size: 26px;
    }

    .lp-mockup-col--border {
        border-left: none;
        border-right: none;
        border-top: 1px solid #eee;
        border-bottom: 1px solid #eee;
    }
}

@media (max-width: 576px) {
    .lp-h1 {
        font-size: 30px;
    }

    .lp-h2 {
        font-size: 24px;
    }

    .lp-compare-cell {
        padding: 12px 14px;
        font-size: 12px;
    }

    .lp-compare-col {
        padding: 12px 14px;
    }

    .lp-testimonial-stat {
        border-left: none;
        border-top: 1px solid #eee;
        padding-left: 0;
        padding-top: 16px;
        width: 100%;
    }
}

/* ── Hero centered (index.html redesign) ── */
.lp-hero--c {
    position: relative;
    overflow: hidden;
    padding: 0;
    min-height: 100vh;
    background: #fff;
    display: flex;
    align-items: center;
}

.lp-hero--c .lp-hero-question {
    color: #1c1c1c;
}

.lp-hero--c .lp-hero-body {
    color: #434343;
}

.lp-hero--c .lp-btn-pink {
    background: #FF557B;
    background-image: none;
    transition: opacity 0.18s ease;
}

.lp-hero--c .lp-btn-pink:hover {
    background-position: 0;
    opacity: 0.86;
}

.lp-hero-content {
    position: relative;
    z-index: 2;
    padding: 90px 0;
    opacity: 0;
}

.lp-hero-content .lp-h1 {
    font-size: 52px;
    letter-spacing: -2px;
}

.lp-hero-content .lp-hero-question {
    font-size: 22px;
}

.lp-hero-content .lp-hero-body {
    color: #434343;
}

/* Review card images */
.lp-review-card {
    position: absolute;
    width: 340px;
    height: auto;
    z-index: 1;
    opacity: 0;
    border-radius: 12px;
}

.lp-rc--left {
    left: 3%;
    top: 50%;
    margin-top: -130px;
}

.lp-rc--right {
    right: 3%;
    top: 50%;
    margin-top: -100px;
}

/* Hero entrance animations triggered by JS adding .hero-ready to body */
body.hero-ready .lp-rc--left {
    animation: heroCardIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}

body.hero-ready .lp-rc--right {
    animation: heroCardIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.35s both;
}

body.hero-ready .lp-hero-content {
    animation: heroFadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.6s both;
}

@keyframes heroCardIn {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Mobile: hide cards, always show content */
@media (max-width: 991px) {
    .lp-review-card { display: none; }
    .lp-hero-content {
        opacity: 1;
        animation: none !important;
        padding: 60px 0;
    }
    .lp-hero-content .lp-h1 { font-size: 36px; letter-spacing: -1px; }
    .lp-hero-content .lp-hero-question { font-size: 18px; }
}

/* ── Clients bar ── */
.lp-clients-bar {
    display: flex;
    align-items: center;
    background: #fff;
    border-top: 1px solid #ebebeb;
    border-bottom: 1px solid #ebebeb;
    padding: 20px 0;
    overflow: hidden;
}

.lp-clients-label {
    flex-shrink: 0;
    font-size: 12.5px;
    color: #aaa;
    white-space: nowrap;
    padding: 0 28px 0 28px;
    border-right: 1px solid #ebebeb;
}

.lp-clients-track-wrap {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.lp-clients-track-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 100%;
    background: linear-gradient(to right, transparent, #fff);
    pointer-events: none;
    z-index: 1;
}

.lp-clients-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: clientsScroll 20s linear infinite;
}

.lp-clients-track:hover {
    animation-play-state: paused;
}

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

.lp-client-logo {
    height: 22px;
    width: auto;
    opacity: 0.42;
    filter: grayscale(1);
    flex-shrink: 0;
    display: block;
    margin-right: 64px; /* espacio incluido en cada item → -50% es loop perfecto */
}
