.ndor-experience {
    --ndor-primary: #8d5b67;
    --ndor-accent: #d7b89c;
    --ndor-surface: #fffaf6;
    --ndor-popup-text: #ffffff;
    --ndor-text: #2f292b;
    --ndor-muted: #756d70;
    --ndor-border: rgba(55, 41, 45, .12);
    --ndor-shadow: 0 24px 70px rgba(51, 34, 40, .12);
    color: var(--ndor-text);
    font-family: inherit;
    position: relative;
}

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

.ndor-shell {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 72px 0;
}

.ndor-eyebrow {
    color: var(--ndor-primary);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .16em;
    margin: 0 0 10px;
    text-transform: uppercase;
}

.ndor-summary {
    align-items: center;
    background:
        radial-gradient(circle at top right, color-mix(in srgb, var(--ndor-accent) 32%, transparent), transparent 36%),
        var(--ndor-surface);
    border: 1px solid var(--ndor-border);
    border-radius: 30px;
    box-shadow: var(--ndor-shadow);
    display: grid;
    gap: 36px;
    grid-template-columns: minmax(0, 1fr) auto;
    overflow: hidden;
    padding: clamp(28px, 5vw, 58px);
    position: relative;
}

.ndor-summary::after {
    border: 1px solid color-mix(in srgb, var(--ndor-primary) 22%, transparent);
    border-radius: 999px;
    content: "";
    height: 180px;
    position: absolute;
    right: -70px;
    top: -90px;
    width: 180px;
}

.ndor-summary h2 {
    font-size: clamp(30px, 5vw, 58px);
    letter-spacing: -.04em;
    line-height: 1.02;
    margin: 0 0 16px;
    max-width: 760px;
}

.ndor-summary p:not(.ndor-eyebrow) {
    color: var(--ndor-muted);
    font-size: clamp(16px, 2vw, 19px);
    line-height: 1.65;
    margin: 0;
    max-width: 700px;
}

.ndor-score-card {
    align-items: center;
    background: rgba(255,255,255,.82);
    border: 1px solid rgba(255,255,255,.9);
    border-radius: 24px;
    box-shadow: 0 18px 45px rgba(53, 37, 42, .09);
    display: flex;
    flex-direction: column;
    min-width: 185px;
    padding: 28px 24px;
    position: relative;
    text-align: center;
    z-index: 1;
}

.ndor-score-card > strong {
    font-size: 52px;
    letter-spacing: -.06em;
    line-height: 1;
}

.ndor-stars-static,
.ndor-card-rating { color: #d49a3d; letter-spacing: .08em; }
.ndor-score-card small { color: var(--ndor-muted); margin-top: 8px; }

.ndor-category-summary {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    margin: 18px 0 0;
}

.ndor-category-chip {
    align-items: center;
    background: #fff;
    border: 1px solid var(--ndor-border);
    border-radius: 16px;
    display: flex;
    justify-content: space-between;
    padding: 14px 16px;
}
.ndor-category-chip span { color: var(--ndor-muted); font-size: 14px; }
.ndor-category-chip strong { color: var(--ndor-primary); font-size: 18px; }

.ndor-main-grid {
    align-items: start;
    display: grid;
    gap: 28px;
    grid-template-columns: minmax(0, 1.45fr) minmax(320px, .75fr);
    margin-top: 28px;
}

.ndor-reviews-section,
.ndor-form-card {
    background: #fff;
    border: 1px solid var(--ndor-border);
    border-radius: 26px;
    box-shadow: 0 18px 55px rgba(50, 34, 39, .08);
}

.ndor-reviews-section { min-width: 0; overflow: hidden; padding: clamp(24px, 4vw, 38px); }
.ndor-form-card { padding: clamp(24px, 4vw, 34px); position: sticky; top: 24px; }

.ndor-section-heading,
.ndor-form-heading,
.ndor-review-top {
    align-items: center;
    display: flex;
}

.ndor-section-heading { gap: 20px; justify-content: space-between; margin-bottom: 24px; }
.ndor-section-heading h3,
.ndor-form-heading h3 { font-size: clamp(23px, 3vw, 34px); line-height: 1.1; margin: 0; }
.ndor-form-heading p:last-child { color: var(--ndor-muted); margin: 5px 0 0; }

.ndor-review-controls { display: flex; gap: 8px; }
.ndor-round-btn {
    align-items: center;
    background: var(--ndor-surface);
    border: 1px solid var(--ndor-border);
    border-radius: 50%;
    color: var(--ndor-primary);
    cursor: pointer;
    display: inline-flex;
    font-size: 27px;
    height: 44px;
    justify-content: center;
    line-height: 1;
    transition: .2s ease;
    width: 44px;
}
.ndor-round-btn:hover { background: var(--ndor-primary); color: #fff; transform: translateY(-2px); }

.ndor-review-track {
    display: grid;
    gap: 16px;
    grid-auto-columns: minmax(290px, 78%);
    grid-auto-flow: column;
    overflow-x: auto;
    padding: 2px 2px 14px;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
}

.ndor-review-card,
.ndor-empty-review {
    background: linear-gradient(145deg, var(--ndor-surface), #fff);
    border: 1px solid var(--ndor-border);
    border-radius: 22px;
    min-height: 260px;
    padding: 24px;
    scroll-snap-align: start;
}

.ndor-review-top { gap: 12px; }
.ndor-avatar {
    align-items: center;
    background: var(--ndor-primary);
    border-radius: 50%;
    color: #fff;
    display: inline-flex;
    flex: 0 0 44px;
    font-weight: 800;
    height: 44px;
    justify-content: center;
    width: 44px;
}
.ndor-review-top h4 { font-size: 17px; margin: 0; }
.ndor-review-top span { color: var(--ndor-muted); font-size: 12px; }
.ndor-card-rating { margin-left: auto; white-space: nowrap; }
.ndor-review-text { font-size: 17px; line-height: 1.65; margin: 24px 0; }
.ndor-mini-ratings { display: flex; flex-wrap: wrap; gap: 8px; }
.ndor-mini-ratings span {
    background: #fff;
    border: 1px solid var(--ndor-border);
    border-radius: 999px;
    color: var(--ndor-muted);
    font-size: 12px;
    padding: 7px 10px;
}
.ndor-mini-ratings strong { color: var(--ndor-primary); }

.ndor-empty-review { align-items: center; display: flex; flex-direction: column; justify-content: center; text-align: center; }
.ndor-empty-review > span { color: var(--ndor-primary); font-size: 48px; }
.ndor-empty-review h4 { font-size: 22px; margin: 10px 0 8px; }
.ndor-empty-review p { color: var(--ndor-muted); margin: 0; max-width: 390px; }

.ndor-form-heading { gap: 14px; margin-bottom: 24px; }
.ndor-form-icon {
    align-items: center;
    background: var(--ndor-surface);
    border-radius: 18px;
    color: var(--ndor-primary);
    display: inline-flex;
    flex: 0 0 54px;
    font-size: 30px;
    height: 54px;
    justify-content: center;
    width: 54px;
}

.ndor-fieldset { border: 0; margin: 0 0 20px; padding: 0; }
.ndor-fieldset legend,
.ndor-field-row > label { display: block; font-size: 14px; font-weight: 800; margin-bottom: 9px; }
.ndor-fieldset legend span,
.ndor-field-row > label span { color: #b24646; }
.ndor-field-row > label small { color: var(--ndor-muted); font-weight: 500; }

.ndor-stars-input { direction: rtl; display: inline-flex; gap: 2px; }
.ndor-stars-input input { height: 1px; opacity: 0; position: absolute; width: 1px; }
.ndor-stars-input label {
    color: #d8d0d2;
    cursor: pointer;
    font-size: 35px;
    line-height: 1;
    transition: color .15s ease, transform .15s ease;
}
.ndor-stars-input label:hover,
.ndor-stars-input label:hover ~ label,
.ndor-stars-input input:checked ~ label { color: #d49a3d; }
.ndor-stars-input label:hover { transform: scale(1.12); }
.ndor-stars-input input:focus-visible + label { outline: 2px solid var(--ndor-primary); outline-offset: 3px; }

.ndor-details {
    background: var(--ndor-surface);
    border: 1px solid var(--ndor-border);
    border-radius: 16px;
    margin-bottom: 20px;
    padding: 0 16px;
}
.ndor-details summary { cursor: pointer; font-size: 14px; font-weight: 800; list-style: none; padding: 15px 0; }
.ndor-details summary::-webkit-details-marker { display: none; }
.ndor-details summary::after { content: "+"; float: right; font-size: 20px; font-weight: 400; }
.ndor-details[open] summary::after { content: "−"; }
.ndor-details summary span { color: var(--ndor-muted); font-size: 11px; font-weight: 500; margin-left: 6px; }
.ndor-category-fields { border-top: 1px solid var(--ndor-border); padding: 15px 0; }
.ndor-category-field { align-items: center; display: flex; justify-content: space-between; padding: 6px 0; }
.ndor-category-field > label { color: var(--ndor-muted); font-size: 13px; }
.ndor-category-field .ndor-stars-input label { font-size: 23px; }

.ndor-field-row { margin-bottom: 18px; position: relative; }
.ndor-field-row input,
.ndor-field-row textarea {
    background: #fff;
    border: 1px solid var(--ndor-border);
    border-radius: 14px;
    color: var(--ndor-text);
    font: inherit;
    outline: none;
    padding: 14px 15px;
    transition: border-color .2s ease, box-shadow .2s ease;
    width: 100%;
}
.ndor-field-row textarea { min-height: 120px; resize: vertical; }
.ndor-field-row input:focus,
.ndor-field-row textarea:focus { border-color: var(--ndor-primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ndor-primary) 12%, transparent); }
.ndor-char-counter { bottom: 10px; color: var(--ndor-muted); font-size: 11px; position: absolute; right: 12px; }

.ndor-consent { align-items: flex-start; color: var(--ndor-muted); display: flex; font-size: 12px; gap: 9px; line-height: 1.45; margin-bottom: 18px; }
.ndor-consent input { accent-color: var(--ndor-primary); margin-top: 2px; }
.ndor-honeypot { left: -9999px !important; position: absolute !important; }

.ndor-btn {
    align-items: center;
    border: 0;
    border-radius: 14px;
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    font-weight: 800;
    gap: 9px;
    justify-content: center;
    min-height: 50px;
    padding: 13px 19px;
    text-decoration: none !important;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.ndor-btn:hover { transform: translateY(-2px); }
.ndor-btn-primary { background: var(--ndor-primary); box-shadow: 0 12px 28px color-mix(in srgb, var(--ndor-primary) 28%, transparent); color: #fff; }
.ndor-btn-soft { background: rgba(255,255,255,.14); color: #fff; }
.ndor-btn-link { background: transparent; color: #fff; text-decoration: underline !important; }
.ndor-submit-btn { width: 100%; }
.ndor-submit-btn[disabled] { cursor: wait; opacity: .72; transform: none; }
.ndor-loader { animation: ndor-spin .75s linear infinite; border: 2px solid rgba(255,255,255,.35); border-radius: 50%; border-top-color: #fff; display: none; height: 18px; width: 18px; }
.ndor-submit-btn[disabled] .ndor-loader { display: inline-block; }
@keyframes ndor-spin { to { transform: rotate(360deg); } }

.ndor-form-message { border-radius: 12px; display: none; font-size: 13px; margin-top: 14px; padding: 12px 13px; }
.ndor-form-message.is-success { background: #edf8ef; color: #276235; display: block; }
.ndor-form-message.is-error { background: #fff0f0; color: #973b3b; display: block; }

.ndor-gate {
    align-items: center;
    box-sizing: border-box;
    display: none;
    height: 100%;
    inset: 0 !important;
    isolation: isolate;
    justify-content: center;
    margin: 0 !important;
    max-height: none !important;
    max-width: none !important;
    min-height: 100dvh;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 20px;
    position: fixed !important;
    transform: none !important;
    width: 100vw;
    z-index: 2147483000 !important;
}
.ndor-gate.is-visible { display: flex; }
body > .ndor-gate { contain: layout style; }
body > .ndor-gate .ndor-gate-card { flex: 0 0 auto; margin: auto; }
.ndor-gate-backdrop { backdrop-filter: blur(10px); background: rgba(21, 16, 18, .67); inset: 0; position: absolute; }
.ndor-gate-card {
    background-color: #30272a;
    background-position: center;
    background-size: cover;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 30px;
    box-shadow: 0 30px 100px rgba(0,0,0,.34);
    color: #fff;
    max-height: calc(100dvh - 40px);
    max-width: 720px;
    overflow: auto;
    padding: clamp(34px, 6vw, 70px);
    position: relative;
    text-align: center;
    width: 100%;
    z-index: 1;
}
.ndor-gate-card::before { background: linear-gradient(135deg, color-mix(in srgb, var(--ndor-primary) 68%, #20191b), #231c1f); border-radius: inherit; content: ""; inset: 0; opacity: .92; position: absolute; z-index: -1; }
.ndor-gate-card[style*="background-image"]::before { opacity: .48; }
.ndor-close { background: rgba(255,255,255,.13); border: 0; border-radius: 50%; color: #fff; cursor: pointer; font-size: 27px; height: 42px; line-height: 1; position: absolute; right: 18px; top: 18px; width: 42px; }
.ndor-gate-icon { font-size: 58px; line-height: 1; margin-bottom: 10px; }
.ndor-gate-card .ndor-eyebrow { color: color-mix(in srgb, var(--ndor-accent) 85%, #fff); }
.ndor-gate-card h2 { font-size: clamp(34px, 7vw, 66px); letter-spacing: -.05em; line-height: 1; margin: 0 0 18px; }
.ndor-gate-card > p:not(.ndor-eyebrow) { color: rgba(255,255,255,.86); font-size: 18px; line-height: 1.65; margin: 0 auto; max-width: 570px; }
.ndor-gate-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 28px 0 16px; }
.ndor-gate-card small { color: rgba(255,255,255,.64); }
html.ndor-modal-open,
body.ndor-modal-open { overflow: hidden !important; overscroll-behavior: none; }

.ndor-fab {
    align-items: center;
    background: var(--ndor-primary);
    border: 0;
    border-radius: 999px;
    bottom: 22px;
    box-shadow: 0 16px 40px color-mix(in srgb, var(--ndor-primary) 34%, transparent);
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    gap: 8px;
    padding: 13px 18px;
    position: fixed;
    right: 22px;
    transition: transform .2s ease, box-shadow .2s ease;
    z-index: 9990;
}
.ndor-fab:hover { box-shadow: 0 20px 48px color-mix(in srgb, var(--ndor-primary) 42%, transparent); transform: translateY(-3px); }
.ndor-fab span { font-size: 21px; line-height: 1; }
.ndor-fab strong { font-size: 13px; }

.ndor-gallery-content { scroll-margin-top: 24px; }
.ndor-standalone { margin: 30px auto; max-width: 1180px; padding: 0 16px; }
.ndor-standalone .ndor-summary { margin-bottom: 24px; }
.ndor-standalone .ndor-form-card { max-width: 520px; position: static; }

.ndor-confetti { pointer-events: none; position: fixed; z-index: 1000000; }
.ndor-confetti span { animation: ndor-fall 1.4s ease-out forwards; font-size: 20px; position: absolute; }
@keyframes ndor-fall { 0% { opacity: 1; transform: translate(0,0) rotate(0); } 100% { opacity: 0; transform: translate(var(--x), var(--y)) rotate(460deg); } }

@media (max-width: 900px) {
    .ndor-main-grid { grid-template-columns: 1fr; }
    .ndor-form-card { position: static; }
    .ndor-summary { grid-template-columns: 1fr; }
    .ndor-score-card { align-items: flex-start; min-width: 0; width: 100%; }
}

@media (max-width: 640px) {
    .ndor-shell { padding: 40px 0; width: min(100% - 20px, 1180px); }
    .ndor-summary { border-radius: 22px; gap: 24px; padding: 28px 22px; }
    .ndor-summary h2 { font-size: 36px; }
    .ndor-score-card { align-items: center; padding: 22px; }
    .ndor-category-summary { grid-template-columns: repeat(2, 1fr); }
    .ndor-main-grid { gap: 16px; margin-top: 16px; }
    .ndor-reviews-section,
    .ndor-form-card { border-radius: 22px; padding: 22px 18px; }
    .ndor-section-heading { align-items: flex-end; }
    .ndor-section-heading h3 { font-size: 25px; }
    .ndor-review-track { grid-auto-columns: 91%; }
    .ndor-review-card { min-height: 245px; padding: 20px; }
    .ndor-card-rating { font-size: 12px; }
    .ndor-category-field { align-items: flex-start; flex-direction: column; gap: 4px; }
    .ndor-gate { padding: 10px; }
    .ndor-gate-card { border-radius: 24px; padding: 56px 22px 28px; }
    .ndor-gate-card h2 { font-size: 39px; }
    .ndor-gate-card > p:not(.ndor-eyebrow) { font-size: 16px; }
    .ndor-gate-actions { flex-direction: column; }
    .ndor-gate-actions .ndor-btn { width: 100%; }
    .ndor-fab { bottom: 14px; padding: 12px 14px; right: 14px; }
    .ndor-fab strong { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .ndor-experience *, .ndor-experience *::before, .ndor-experience *::after { scroll-behavior: auto !important; transition: none !important; }
}


/* =========================================================
   Mejoras UX 1.1.0
   ========================================================= */

.ndor-action-bar {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 18px;
}

.ndor-action-card {
    align-items: center;
    background: #fff;
    border: 1px solid var(--ndor-border);
    border-radius: 20px;
    box-shadow: 0 12px 35px rgba(50, 34, 39, .07);
    color: var(--ndor-text);
    cursor: pointer;
    display: grid;
    font: inherit;
    gap: 14px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    min-height: 92px;
    padding: 18px 20px;
    text-align: left;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
    width: 100%;
}

.ndor-action-card:hover {
    border-color: color-mix(in srgb, var(--ndor-primary) 40%, var(--ndor-border));
    box-shadow: 0 18px 42px rgba(50, 34, 39, .11);
    transform: translateY(-3px);
}

.ndor-action-card-primary {
    background: linear-gradient(135deg, var(--ndor-primary), color-mix(in srgb, var(--ndor-primary) 80%, #241b1e));
    border-color: transparent;
    color: #fff;
}

.ndor-action-icon {
    align-items: center;
    background: var(--ndor-surface);
    border-radius: 15px;
    color: var(--ndor-primary);
    display: inline-flex;
    font-size: 25px;
    height: 52px;
    justify-content: center;
    width: 52px;
}

.ndor-action-card-primary .ndor-action-icon {
    background: rgba(255,255,255,.16);
    color: #fff;
}

.ndor-action-copy { min-width: 0; }
.ndor-action-copy strong { display: block; font-size: 17px; line-height: 1.2; }
.ndor-action-copy small { color: var(--ndor-muted); display: block; font-size: 12px; line-height: 1.4; margin-top: 4px; }
.ndor-action-card-primary .ndor-action-copy small { color: rgba(255,255,255,.78); }
.ndor-action-arrow { font-size: 22px; transition: transform .2s ease; }
.ndor-action-card:hover .ndor-action-arrow { transform: translateX(4px); }

.ndor-section-description {
    color: var(--ndor-muted);
    font-size: 13px;
    line-height: 1.45;
    margin: 7px 0 0;
}

.ndor-swipe-hint {
    align-items: center;
    color: var(--ndor-muted);
    display: none;
    font-size: 12px;
    gap: 7px;
    justify-content: center;
    margin-top: 5px;
}
.ndor-swipe-hint span { color: var(--ndor-primary); font-size: 19px; }
.ndor-empty-cta { margin-top: 18px; }

.ndor-form-card { scroll-margin-top: 20px; }
.ndor-reviews-section { scroll-margin-top: 20px; }

.ndor-form-step {
    align-items: center;
    display: flex;
    gap: 11px;
    margin: 24px 0 13px;
}
.ndor-form-step:first-of-type { margin-top: 0; }
.ndor-form-step > span {
    align-items: center;
    background: var(--ndor-primary);
    border-radius: 50%;
    color: #fff;
    display: inline-flex;
    flex: 0 0 30px;
    font-size: 13px;
    font-weight: 800;
    height: 30px;
    justify-content: center;
    width: 30px;
}
.ndor-form-step strong { display: block; font-size: 14px; line-height: 1.2; }
.ndor-form-step small { color: var(--ndor-muted); display: block; font-size: 11px; margin-top: 2px; }

.ndor-overall-fieldset {
    background: linear-gradient(145deg, var(--ndor-surface), #fff);
    border: 1px solid var(--ndor-border);
    border-radius: 18px;
    margin-bottom: 16px;
    padding: 17px 14px;
    text-align: center;
}

.ndor-stars-control-featured .ndor-stars-input {
    display: flex;
    justify-content: center;
    width: 100%;
}
.ndor-stars-control-featured .ndor-stars-input label {
    font-size: clamp(40px, 5vw, 48px);
    padding: 1px 3px;
}
.ndor-rating-feedback {
    background: #fff;
    border: 1px solid var(--ndor-border);
    border-radius: 999px;
    color: var(--ndor-muted);
    display: inline-flex;
    font-size: 12px;
    font-weight: 700;
    justify-content: center;
    margin-top: 10px;
    min-width: 190px;
    padding: 7px 13px;
    transition: .2s ease;
}
.ndor-stars-control-featured.is-selected .ndor-rating-feedback {
    background: color-mix(in srgb, var(--ndor-accent) 22%, #fff);
    border-color: color-mix(in srgb, var(--ndor-accent) 55%, var(--ndor-border));
    color: var(--ndor-primary);
}

.ndor-details {
    margin: 14px 0 22px;
}
.ndor-details summary {
    align-items: center;
    display: flex;
    gap: 8px;
}
.ndor-details summary::after { margin-left: auto; }
.ndor-details summary strong { font-size: 13px; }
.ndor-details summary span {
    background: rgba(255,255,255,.9);
    border: 1px solid var(--ndor-border);
    border-radius: 999px;
    padding: 3px 8px;
}

.ndor-comment-prompts {
    background: var(--ndor-surface);
    border: 1px dashed color-mix(in srgb, var(--ndor-primary) 30%, var(--ndor-border));
    border-radius: 15px;
    margin-bottom: 14px;
    padding: 13px;
}
.ndor-comment-prompts > span {
    color: var(--ndor-muted);
    display: block;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 8px;
}
.ndor-comment-prompts > div { display: flex; flex-wrap: wrap; gap: 7px; }
.ndor-comment-prompts button {
    background: #fff;
    border: 1px solid var(--ndor-border);
    border-radius: 999px;
    color: var(--ndor-primary);
    cursor: pointer;
    font: inherit;
    font-size: 11px;
    font-weight: 700;
    padding: 8px 10px;
    transition: .18s ease;
}
.ndor-comment-prompts button:hover {
    background: var(--ndor-primary);
    color: #fff;
    transform: translateY(-1px);
}
.ndor-comment-field textarea { min-height: 138px; padding-bottom: 30px; }

.ndor-focus-pulse {
    animation: ndor-focus-pulse .85s ease;
}
@keyframes ndor-focus-pulse {
    0%, 100% { box-shadow: 0 18px 55px rgba(50, 34, 39, .08); }
    50% { box-shadow: 0 0 0 6px color-mix(in srgb, var(--ndor-primary) 16%, transparent), 0 22px 62px rgba(50, 34, 39, .12); }
}

/* Popup configurable y más visual */
.ndor-gate-card {
    color: var(--ndor-popup-text);
}
.ndor-close,
.ndor-gate-icon,
.ndor-gate-card h2,
.ndor-gate-description,
.ndor-gallery-direct,
.ndor-gate-note { color: var(--ndor-popup-text); }
.ndor-gate-description { font-size: 18px; line-height: 1.65; margin: 0 auto; max-width: 570px; opacity: .86; }
.ndor-close { background: color-mix(in srgb, var(--ndor-popup-text) 13%, transparent); }
.ndor-gate-actions {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 28px 0 18px;
}
.ndor-gate-choice {
    align-items: center;
    background: color-mix(in srgb, var(--ndor-popup-text) 11%, transparent);
    border: 1px solid color-mix(in srgb, var(--ndor-popup-text) 22%, transparent);
    border-radius: 18px;
    color: var(--ndor-popup-text);
    cursor: pointer;
    display: grid;
    font: inherit;
    gap: 11px;
    grid-template-columns: auto minmax(0, 1fr);
    min-height: 88px;
    padding: 15px;
    text-align: left;
    transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.ndor-gate-choice:hover { background: color-mix(in srgb, var(--ndor-popup-text) 18%, transparent); transform: translateY(-2px); }
.ndor-gate-choice-primary {
    background: var(--ndor-primary);
    border-color: var(--ndor-primary);
    color: #fff;
}
.ndor-gate-choice-primary:hover { background: color-mix(in srgb, var(--ndor-primary) 84%, #fff); }
.ndor-gate-choice-icon {
    align-items: center;
    background: color-mix(in srgb, currentColor 15%, transparent);
    border-radius: 13px;
    display: inline-flex;
    font-size: 23px;
    height: 46px;
    justify-content: center;
    width: 46px;
}
.ndor-gate-choice strong { display: block; font-size: 15px; line-height: 1.2; }
.ndor-gate-choice small { color: inherit; display: block; font-size: 11px; line-height: 1.35; margin-top: 4px; opacity: .72; }
.ndor-gallery-direct {
    align-items: center;
    background: color-mix(in srgb, var(--ndor-popup-text) 14%, transparent);
    border: 2px solid color-mix(in srgb, var(--ndor-popup-text) 88%, transparent);
    border-radius: 18px;
    box-shadow: 0 12px 34px rgba(0, 0, 0, .16);
    color: var(--ndor-popup-text);
    display: grid;
    gap: 12px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    margin: 4px auto 0;
    min-height: 68px;
    padding: 12px 16px;
    text-align: left;
    text-decoration: none !important;
    transition: background .2s ease, box-shadow .2s ease, transform .2s ease;
    width: 100%;
}
.ndor-gallery-direct:hover,
.ndor-gallery-direct:focus-visible {
    background: color-mix(in srgb, var(--ndor-popup-text) 22%, transparent);
    box-shadow: 0 16px 42px rgba(0, 0, 0, .22);
    color: var(--ndor-popup-text);
    transform: translateY(-2px);
}
.ndor-gallery-direct-icon {
    align-items: center;
    background: color-mix(in srgb, var(--ndor-popup-text) 16%, transparent);
    border-radius: 13px;
    display: inline-flex;
    font-size: 24px;
    height: 44px;
    justify-content: center;
    transition: transform .2s ease;
    width: 44px;
}
.ndor-gallery-direct-copy { min-width: 0; }
.ndor-gallery-direct-copy strong {
    display: block;
    font-size: 16px;
    font-weight: 850;
    line-height: 1.18;
}
.ndor-gallery-direct-copy small {
    color: inherit;
    display: block;
    font-size: 11px;
    line-height: 1.35;
    margin-top: 4px;
    opacity: .72;
}
.ndor-gallery-direct-arrow {
    font-size: 24px;
    line-height: 1;
    transition: transform .2s ease;
}
.ndor-gallery-direct:hover .ndor-gallery-direct-arrow,
.ndor-gallery-direct:focus-visible .ndor-gallery-direct-arrow { transform: translateX(5px); }
.ndor-gallery-direct:hover .ndor-gallery-direct-icon,
.ndor-gallery-direct:focus-visible .ndor-gallery-direct-icon { transform: scale(1.05); }
.ndor-gate-note { display: block; font-size: 11px; margin-top: 12px; opacity: .72; }

@media (max-width: 900px) {
    .ndor-form-column { order: -1; }
    .ndor-action-bar { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
    .ndor-action-bar { gap: 10px; grid-template-columns: 1fr; }
    .ndor-action-card { border-radius: 17px; min-height: 78px; padding: 14px 15px; }
    .ndor-action-icon { height: 46px; width: 46px; }
    .ndor-action-copy strong { font-size: 16px; }
    .ndor-swipe-hint { display: flex; }
    .ndor-review-controls { display: none; }
    .ndor-section-heading { align-items: flex-start; }
    .ndor-form-heading { margin-bottom: 18px; }
    .ndor-form-step { margin-top: 21px; }
    .ndor-comment-prompts { margin-left: -2px; margin-right: -2px; }
    .ndor-comment-prompts > div { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 3px; scrollbar-width: none; }
    .ndor-comment-prompts > div::-webkit-scrollbar { display: none; }
    .ndor-comment-prompts button { flex: 0 0 auto; }
    .ndor-gate-actions { grid-template-columns: 1fr; }
    .ndor-gate-choice { min-height: 78px; }
    .ndor-gallery-direct { border-radius: 16px; min-height: 66px; padding: 11px 13px; }
    .ndor-gallery-direct-copy strong { font-size: 15px; }
    .ndor-gate-description { font-size: 16px; }
}

/* Ajustes de especificidad frente a los estilos base del popup */
.ndor-gate-card > p.ndor-gate-description {
    color: var(--ndor-popup-text);
    font-size: 18px;
    line-height: 1.65;
    margin: 0 auto;
    max-width: 570px;
    opacity: .86;
}
.ndor-gate-card .ndor-gate-note { color: var(--ndor-popup-text); }

.ndor-review-card {
    overflow: hidden;
    position: relative;
    transition: transform .2s ease, box-shadow .2s ease;
}
.ndor-review-card::after {
    color: color-mix(in srgb, var(--ndor-primary) 12%, transparent);
    content: "“";
    font-family: Georgia, serif;
    font-size: 120px;
    line-height: 1;
    pointer-events: none;
    position: absolute;
    right: 16px;
    top: 22px;
}
.ndor-review-card:hover {
    box-shadow: 0 18px 45px rgba(50, 34, 39, .10);
    transform: translateY(-3px);
}
.ndor-review-top,
.ndor-review-text,
.ndor-mini-ratings { position: relative; z-index: 1; }

@media (max-width: 640px) {
    .ndor-gate-card > p.ndor-gate-description { font-size: 16px; }
}

/* =========================================================
   V1.2.0 · MAQUETACIÓN AMPLIA, FORMULARIO HORIZONTAL Y
   OPINIONES EN REJILLA
   ========================================================= */

.ndor-shell {
    left: 50%;
    margin: 0;
    max-width: none;
    padding: 56px 0 72px;
    position: relative;
    transform: translateX(-50%);
    width: min(1480px, calc(100vw - 48px));
}

.ndor-main-grid {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-top: 28px;
}

.ndor-form-column,
.ndor-main-column {
    min-width: 0;
    width: 100%;
}

.ndor-form-card {
    padding: clamp(26px, 3vw, 42px);
    position: static;
    top: auto;
}

.ndor-form-heading-wide {
    align-items: center;
    display: flex;
    gap: 28px;
    justify-content: space-between;
    margin-bottom: 28px;
}

.ndor-form-heading-main {
    align-items: center;
    display: flex;
    gap: 16px;
    min-width: 0;
}

.ndor-form-heading-wide h3 {
    font-size: clamp(27px, 3vw, 40px);
}

.ndor-form-time {
    align-items: center;
    background: linear-gradient(145deg, var(--ndor-surface), #fff);
    border: 1px solid var(--ndor-border);
    border-radius: 18px;
    display: flex;
    flex: 0 0 auto;
    gap: 10px;
    padding: 13px 16px;
}

.ndor-form-time > span {
    align-items: center;
    background: var(--ndor-primary);
    border-radius: 50%;
    color: #fff;
    display: inline-flex;
    height: 34px;
    justify-content: center;
    width: 34px;
}

.ndor-form-time strong,
.ndor-form-time small {
    display: block;
}

.ndor-form-time strong {
    font-size: 13px;
    line-height: 1.2;
}

.ndor-form-time small {
    color: var(--ndor-muted);
    font-size: 11px;
    margin-top: 2px;
}

.ndor-form-layout {
    display: grid;
    gap: clamp(18px, 2.5vw, 30px);
    grid-template-columns: minmax(300px, .85fr) minmax(460px, 1.55fr);
}

.ndor-form-panel {
    background: linear-gradient(145deg, color-mix(in srgb, var(--ndor-surface) 78%, #fff), #fff);
    border: 1px solid var(--ndor-border);
    border-radius: 22px;
    min-width: 0;
    padding: clamp(20px, 2.5vw, 30px);
}

.ndor-form-panel .ndor-form-step:first-child {
    margin-top: 0;
}

.ndor-form-panel-rating {
    align-self: start;
}

.ndor-form-panel-comment {
    display: flex;
    flex-direction: column;
}

.ndor-overall-fieldset {
    background: #fff;
    min-height: 150px;
    padding: 24px 18px;
}

.ndor-stars-control-featured .ndor-stars-input label {
    font-size: clamp(44px, 4.3vw, 58px);
}

.ndor-details {
    background: #fff;
    margin-bottom: 0;
}

.ndor-comment-prompts {
    background: #fff;
    margin-bottom: 16px;
}

.ndor-comment-prompts > span {
    font-size: 12px;
}

.ndor-comment-prompts button {
    font-size: 12px;
    padding: 9px 12px;
}

.ndor-comment-field textarea {
    min-height: 150px;
}

.ndor-signature-box {
    background: color-mix(in srgb, var(--ndor-surface) 72%, #fff);
    border: 1px solid var(--ndor-border);
    border-radius: 18px;
    margin-top: 4px;
    padding: 18px;
}

.ndor-form-step-compact {
    margin: 0 0 14px;
}

.ndor-signature-grid {
    align-items: end;
    display: grid;
    gap: 14px;
    grid-template-columns: minmax(0, 1fr) minmax(210px, auto);
}

.ndor-signature-grid .ndor-field-row {
    margin-bottom: 0;
}

.ndor-signature-grid .ndor-submit-btn {
    align-self: end;
    min-height: 52px;
    white-space: nowrap;
    width: 100%;
}

.ndor-signature-box .ndor-consent {
    margin: 13px 0 0;
}

.ndor-form-message {
    margin-top: 16px;
}

.ndor-reviews-section {
    overflow: visible;
    padding: clamp(26px, 3vw, 42px);
}

.ndor-section-heading {
    align-items: flex-end;
    margin-bottom: 26px;
}

.ndor-review-count-badge {
    align-items: center;
    background: var(--ndor-surface);
    border: 1px solid var(--ndor-border);
    border-radius: 999px;
    color: var(--ndor-primary);
    display: inline-flex;
    flex: 0 0 auto;
    gap: 8px;
    padding: 10px 15px;
}

.ndor-review-count-badge span {
    font-size: 20px;
    line-height: 1;
}

.ndor-review-count-badge strong {
    font-size: 12px;
}

.ndor-review-track,
.ndor-review-grid {
    display: grid;
    gap: 18px;
    grid-auto-columns: initial;
    grid-auto-flow: row;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: visible;
    padding: 0;
    scroll-snap-type: none;
}

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

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

.ndor-review-card,
.ndor-empty-review {
    min-height: 100%;
    padding: clamp(22px, 2.2vw, 30px);
    scroll-snap-align: unset;
}

.ndor-review-grid.ndor-review-count-1 .ndor-review-card {
    min-height: 0;
    width: 100%;
}

.ndor-review-author {
    min-width: 0;
}

.ndor-review-author small {
    color: var(--ndor-muted);
    display: block;
    font-size: 11px;
    margin-top: 3px;
}

.ndor-review-text {
    font-size: clamp(16px, 1.5vw, 19px);
    margin: 22px 0;
}

.ndor-review-hidden {
    display: none !important;
}

.ndor-show-more-wrap {
    display: flex;
    justify-content: center;
    margin-top: 24px;
}

.ndor-btn-secondary {
    background: var(--ndor-surface);
    border: 1px solid var(--ndor-border);
    color: var(--ndor-primary);
}

.ndor-show-more {
    min-width: 230px;
}

.ndor-show-more span,
.ndor-show-more small {
    display: block;
}

.ndor-show-more small {
    color: var(--ndor-muted);
    font-size: 10px;
    font-weight: 600;
}

.ndor-show-more:hover {
    background: var(--ndor-primary);
    color: #fff;
}

.ndor-show-more:hover small {
    color: rgba(255,255,255,.78);
}

.ndor-swipe-hint,
.ndor-review-controls {
    display: none !important;
}

.ndor-standalone .ndor-form-card {
    max-width: none;
}

@media (max-width: 1120px) {
    .ndor-form-layout {
        grid-template-columns: minmax(280px, .9fr) minmax(390px, 1.25fr);
    }

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

    .ndor-review-grid.ndor-review-count-1 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .ndor-shell {
        width: min(100% - 28px, 900px);
    }

    .ndor-form-column {
        order: initial;
    }

    .ndor-form-layout {
        grid-template-columns: 1fr;
    }

    .ndor-form-heading-wide {
        align-items: flex-start;
    }

    .ndor-form-time {
        display: none;
    }

    .ndor-signature-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .ndor-shell {
        left: 0;
        margin: 0 auto;
        padding: 38px 0 54px;
        transform: none;
        width: min(100% - 20px, 640px);
    }

    .ndor-form-heading-wide,
    .ndor-form-heading-main {
        align-items: flex-start;
    }

    .ndor-form-heading-wide {
        margin-bottom: 20px;
    }

    .ndor-form-heading-main {
        gap: 12px;
    }

    .ndor-form-icon {
        flex-basis: 46px;
        height: 46px;
        width: 46px;
    }

    .ndor-form-heading-wide h3 {
        font-size: 27px;
    }

    .ndor-form-card,
    .ndor-reviews-section {
        padding: 20px 16px;
    }

    .ndor-form-panel {
        border-radius: 18px;
        padding: 18px 14px;
    }

    .ndor-overall-fieldset {
        min-height: 0;
    }

    .ndor-stars-control-featured .ndor-stars-input label {
        font-size: 43px;
        padding: 1px;
    }

    .ndor-category-field {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
        padding: 9px 0;
    }

    .ndor-comment-field textarea {
        min-height: 132px;
    }

    .ndor-section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }

    .ndor-review-track,
    .ndor-review-grid,
    .ndor-review-grid.ndor-review-count-2 {
        grid-template-columns: 1fr;
    }

    .ndor-review-count-badge {
        align-self: stretch;
        justify-content: center;
    }

    .ndor-review-card {
        min-height: 0;
    }

    .ndor-card-rating {
        font-size: 12px;
    }
}


/* =========================================================
   1.3.0 · LIBRO DE RECUERDOS (NO ENCUESTA PÚBLICA)
   ========================================================= */
.ndor-memory-count-card .ndor-memory-heart {
    color: var(--ndor-primary);
    font-size: 38px;
    line-height: 1;
    margin-bottom: 6px;
}

.ndor-memory-count-card > strong {
    color: var(--ndor-text);
}

.ndor-memory-form-layout {
    grid-template-columns: minmax(500px, 1.55fr) minmax(300px, .75fr);
}

.ndor-private-rating-panel {
    align-self: start;
    background: linear-gradient(145deg, color-mix(in srgb, var(--ndor-surface) 65%, #fff), #fff);
}

.ndor-private-rating-panel .ndor-form-step > span {
    font-size: 20px;
}

.ndor-private-rating-title {
    color: var(--ndor-text);
    display: block;
    font-size: 15px;
    font-weight: 800;
    margin-bottom: 14px;
    text-align: center;
}

.ndor-private-rating-panel .ndor-overall-fieldset {
    min-height: 0;
    padding: 20px 14px;
}

.ndor-private-rating-panel .ndor-stars-control-featured .ndor-stars-input label {
    font-size: clamp(34px, 3vw, 44px);
}

.ndor-private-rating-panel .ndor-stars-input label {
    color: #ddd5d7;
}

.ndor-private-rating-panel .ndor-stars-input label:hover,
.ndor-private-rating-panel .ndor-stars-input label:hover ~ label,
.ndor-private-rating-panel .ndor-stars-input input:checked ~ label {
    color: var(--ndor-primary);
}

.ndor-private-note {
    color: var(--ndor-muted);
    font-size: 12px;
    line-height: 1.5;
    margin: 0 0 10px;
}

.ndor-card-heart {
    align-items: center;
    background: color-mix(in srgb, var(--ndor-surface) 78%, #fff);
    border: 1px solid var(--ndor-border);
    border-radius: 50%;
    color: var(--ndor-primary);
    display: inline-flex;
    flex: 0 0 40px;
    font-size: 24px;
    height: 40px;
    justify-content: center;
    margin-left: auto;
    width: 40px;
}

.ndor-review-card .ndor-review-text {
    margin-bottom: 0;
}

@media (max-width: 1120px) {
    .ndor-memory-form-layout {
        grid-template-columns: minmax(390px, 1.25fr) minmax(280px, .75fr);
    }
}

@media (max-width: 900px) {
    .ndor-memory-form-layout {
        grid-template-columns: 1fr;
    }

    .ndor-private-rating-panel {
        order: 2;
    }
}

@media (max-width: 680px) {
    .ndor-private-rating-panel .ndor-stars-control-featured .ndor-stars-input label {
        font-size: 39px;
    }

    .ndor-comment-prompts button {
        text-align: left;
    }
}
