﻿/* ==============================================
   TRADUCEHOMBRES — Landing Index
   Mobile-first · Rosa/Púrpura · Playful-editorial
   ============================================== */

/* -----------------------------------------------
   VARIABLES
----------------------------------------------- */
:root {
    --th-primary: #e91e8c;
    --th-primary-dark: #c2185b;
    --th-purple: #9c27b0;
    --th-purple-dark: #7b1fa2;
    --th-gradient: linear-gradient(135deg, #e91e8c 0%, #9c27b0 100%);
    --th-gradient-soft: linear-gradient(135deg, #fce4ec 0%, #f3e5f5 100%);
    --th-gradient-pro: linear-gradient(135deg, #9c27b0 0%, #4a148c 100%);
    --th-bg: #fff8fc;
    --th-surface: #ffffff;
    --th-text: #1a1a2e;
    --th-text-soft: #6b6b8a;
    --th-border: rgba(233, 30, 140, 0.15);
    --th-shadow-sm: 0 2px 8px rgba(233, 30, 140, 0.08);
    --th-shadow-md: 0 8px 24px rgba(233, 30, 140, 0.12);
    --th-shadow-lg: 0 20px 48px rgba(233, 30, 140, 0.18);
    --th-radius: 20px;
    --th-radius-sm: 12px;
    --th-radius-xl: 32px;
    --th-ease: cubic-bezier(0.4, 0, 0.2, 1);
    --th-transition: all 0.3s var(--th-ease);
}

/* -----------------------------------------------
   RESET BASE
----------------------------------------------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: var(--th-bg);
    color: var(--th-text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* -----------------------------------------------
   NAVBAR
----------------------------------------------- */
.th-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 248, 252, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--th-border);
    transition: var(--th-transition);
}

.th-navbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.875rem 1.25rem;
    max-width: 480px;
    margin: 0 auto;
}

.th-navbar__brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--th-text);
}

.th-navbar__logo-icon {
    font-size: 1.4rem;
    line-height: 1;
}

.th-navbar__logo-text {
    font-size: 1rem;
    font-weight: 800;
    background: var(--th-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.th-navbar__actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* -----------------------------------------------
   BOTONES — Sistema completo
----------------------------------------------- */
.th-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    border: none;
    cursor: pointer;
    font-weight: 700;
    text-decoration: none;
    transition: var(--th-transition);
    white-space: nowrap;
    font-family: inherit;
    border-radius: 100px;
    -webkit-tap-highlight-color: transparent;
}

    .th-btn:disabled {
        opacity: 0.45;
        cursor: not-allowed;
        pointer-events: none;
    }

/* Tamaños */
.th-btn--sm {
    font-size: 0.8rem;
    padding: 0.45rem 1rem;
}

.th-btn--md {
    font-size: 0.95rem;
    padding: 0.7rem 1.5rem;
}

.th-btn--lg {
    font-size: 1.05rem;
    padding: 1rem 1.5rem;
}

.th-btn--full {
    width: 100%;
}

/* Variantes */
.th-btn--primary {
    background: var(--th-gradient);
    color: #fff;
    box-shadow: 0 4px 16px rgba(233, 30, 140, 0.35);
}

    .th-btn--primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 24px rgba(233, 30, 140, 0.45);
    }

    .th-btn--primary:active {
        transform: translateY(0);
    }

.th-btn--ghost {
    background: transparent;
    color: var(--th-primary);
    border: 1.5px solid var(--th-border);
}

    .th-btn--ghost:hover {
        background: var(--th-gradient-soft);
        border-color: var(--th-primary);
    }

.th-btn--pro {
    background: var(--th-gradient-pro);
    color: #fff;
    box-shadow: 0 4px 16px rgba(156, 39, 176, 0.4);
}

    .th-btn--pro:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 28px rgba(156, 39, 176, 0.5);
    }

/* Estados del botón de buscar */
.th-btn__loading {
    display: none;
}

/* -----------------------------------------------
   BADGES Y PILLS
----------------------------------------------- */
.th-badge--pro {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.75rem;
    background: var(--th-gradient-pro);
    color: #fff;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
}

.th-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 1rem;
    background: var(--th-surface);
    border: 1.5px solid var(--th-border);
    border-radius: 100px;
    font-size: 0.82rem;
    color: var(--th-text-soft);
    box-shadow: var(--th-shadow-sm);
    transition: var(--th-transition);
}

    .th-pill strong {
        color: var(--th-primary);
        font-weight: 700;
    }

.th-pill__link {
    color: var(--th-primary);
    font-weight: 700;
    text-decoration: none;
}

    .th-pill__link:hover {
        text-decoration: underline;
    }

/* -----------------------------------------------
   HERO
----------------------------------------------- */
.th-hero {
    position: relative;
    min-height: 100svh;
    padding: 80px 1.25rem 2rem;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow: hidden;
}

.th-hero__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

/* Blobs decorativos */
.th-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.25;
    animation: blobFloat 8s ease-in-out infinite;
}

.th-blob--1 {
    width: 280px;
    height: 280px;
    background: var(--th-primary);
    top: -60px;
    right: -80px;
    animation-delay: 0s;
}

.th-blob--2 {
    width: 200px;
    height: 200px;
    background: var(--th-purple);
    bottom: 20%;
    left: -60px;
    animation-delay: -3s;
}

.th-blob--3 {
    width: 150px;
    height: 150px;
    background: #ff6b9d;
    bottom: 5%;
    right: 10%;
    animation-delay: -5s;
}

@keyframes blobFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(12px, -16px) scale(1.05);
    }

    66% {
        transform: translate(-8px, 10px) scale(0.97);
    }
}

.th-hero__content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 480px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    padding-top: 1rem;
}

/* Título hero */
.th-hero__title {
    font-size: clamp(2rem, 8vw, 2.8rem);
    font-weight: 900;
    line-height: 1.15;
    text-align: center;
    letter-spacing: -0.03em;
    color: var(--th-text);
    animation: fadeInUp 0.6s var(--th-ease) both;
}

.th-hero__title-accent {
    background: var(--th-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.th-hero__subtitle {
    font-size: 1rem;
    color: var(--th-text-soft);
    text-align: center;
    margin-top: -0.5rem;
    animation: fadeInUp 0.6s var(--th-ease) 0.1s both;
}

/* -----------------------------------------------
   SEARCH CARD — el corazón de la app
----------------------------------------------- */
.th-search-card {
    width: 100%;
    background: var(--th-surface);
    border-radius: var(--th-radius-xl);
    box-shadow: var(--th-shadow-lg);
    border: 1.5px solid var(--th-border);
    overflow: hidden;
    animation: fadeInUp 0.6s var(--th-ease) 0.2s both;
    position: relative;
}

    /* Línea superior degradada */
    .th-search-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: var(--th-gradient);
    }

.th-search-card__inner {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.th-search-card__label {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--th-text-soft);
}

.th-search-card__input {
    width: 100%;
    border: 1.5px solid var(--th-border);
    border-radius: var(--th-radius-sm);
    padding: 0.875rem 1rem;
    font-size: 1.05rem;
    font-family: inherit;
    color: var(--th-text);
    background: var(--th-bg);
    resize: none;
    transition: var(--th-transition);
    line-height: 1.5;
    outline: none;
    -webkit-appearance: none;
}

    .th-search-card__input:focus {
        border-color: var(--th-primary);
        box-shadow: 0 0 0 3px rgba(233, 30, 140, 0.12);
        background: #fff;
    }

    .th-search-card__input::placeholder {
        color: #c4a8b8;
    }

/* Spinner */
.th-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    vertical-align: middle;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Estado cargando en el botón */
.th-btn--loading .th-btn__text {
    display: none;
}

.th-btn--loading .th-btn__loading {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Límite notice */
.th-limit-notice {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--th-gradient-soft);
    border-radius: var(--th-radius-sm);
    text-align: center;
}

    .th-limit-notice p {
        font-weight: 600;
        color: var(--th-text);
        font-size: 0.95rem;
    }

.th-limit-notice__reset {
    font-size: 0.78rem;
    color: var(--th-text-soft);
}

/* -----------------------------------------------
   RESULTADO
----------------------------------------------- */
.th-result {
    width: 100%;
    background: var(--th-surface);
    border-radius: var(--th-radius-xl);
    box-shadow: var(--th-shadow-lg);
    border: 1.5px solid var(--th-border);
    overflow: hidden;
    animation: fadeInUp 0.5s var(--th-ease) both;
    position: relative;
}

    .th-result::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: var(--th-gradient);
    }

.th-result__header {
    padding: 1.25rem 1.5rem 0.5rem;
}

.th-result__label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--th-text-soft);
}

.th-result__traduccion {
    padding: 0.75rem 1.5rem 1rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--th-text);
    line-height: 1.4;
    border-bottom: 1px solid var(--th-border);
}

.th-result__meta {
    padding: 0.875rem 1.5rem;
    border-bottom: 1px solid var(--th-border);
}

/* Tags de categoría */
.th-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.85rem;
    background: var(--th-gradient-soft);
    color: var(--th-primary);
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 700;
    border: 1px solid rgba(233, 30, 140, 0.2);
}

/* Votación */
.th-vote {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--th-border);
}

.th-vote__label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--th-text-soft);
    margin-bottom: 0.75rem;
}

.th-vote__btns {
    display: flex;
    gap: 0.75rem;
}

.th-vote__btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.65rem 1rem;
    border-radius: var(--th-radius-sm);
    border: 1.5px solid var(--th-border);
    background: transparent;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--th-transition);
    font-family: inherit;
    color: var(--th-text);
    -webkit-tap-highlight-color: transparent;
}

    .th-vote__btn:hover,
    .th-vote__btn--active {
        background: var(--th-gradient-soft);
        border-color: var(--th-primary);
        color: var(--th-primary);
        transform: scale(1.03);
    }

.th-vote__btn--no:hover,
.th-vote__btn--no.th-vote__btn--active {
    background: #fff3f3;
    border-color: #ef4444;
    color: #ef4444;
}

/* Compartir */
.th-share {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--th-border);
}

.th-share__label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--th-text-soft);
    margin-bottom: 0.75rem;
}

.th-share__btns {
    display: flex;
    gap: 0.75rem;
}

.th-share__btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem;
    border-radius: var(--th-radius-sm);
    border: none;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--th-transition);
    font-family: inherit;
    -webkit-tap-highlight-color: transparent;
}

.th-share__btn--wa {
    background: #25d366;
    color: #fff;
}

    .th-share__btn--wa:hover {
        background: #1da851;
        transform: translateY(-2px);
    }

.th-share__btn--copy {
    background: var(--th-gradient-soft);
    color: var(--th-primary);
    border: 1.5px solid var(--th-border);
}

    .th-share__btn--copy:hover {
        background: var(--th-primary);
        color: #fff;
        border-color: var(--th-primary);
        transform: translateY(-2px);
    }

/* Botón nueva búsqueda dentro del result */
.th-result .th-btn--ghost {
    margin: 1rem 1.5rem;
    width: calc(100% - 3rem);
    font-size: 0.9rem;
}

/* -----------------------------------------------
   SIN RESULTADO
----------------------------------------------- */
.th-no-result {
    width: 100%;
    background: var(--th-surface);
    border-radius: var(--th-radius-xl);
    box-shadow: var(--th-shadow-md);
    border: 1.5px solid var(--th-border);
    padding: 2rem 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    animation: fadeInUp 0.5s var(--th-ease) both;
}

.th-no-result__emoji {
    font-size: 3rem;
}

.th-no-result__text {
    font-size: 1rem;
    font-weight: 700;
    color: var(--th-text);
}

.th-no-result__sub {
    font-size: 0.85rem;
    color: var(--th-text-soft);
    margin-bottom: 0.75rem;
}

/* -----------------------------------------------
   SECCIÓN FRASES POPULARES
----------------------------------------------- */
.th-populares {
    padding: 2.5rem 1.25rem;
    background: var(--th-surface);
    border-top: 1px solid var(--th-border);
}

.th-populares__inner {
    max-width: 480px;
    margin: 0 auto;
}

.th-section-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--th-text);
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

.th-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.th-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 1rem;
    background: var(--th-bg);
    border: 1.5px solid var(--th-border);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--th-text);
    cursor: pointer;
    transition: var(--th-transition);
    font-family: inherit;
    -webkit-tap-highlight-color: transparent;
}

    .th-chip:hover,
    .th-chip:active {
        background: var(--th-gradient);
        color: #fff;
        border-color: transparent;
        transform: scale(1.04);
        box-shadow: var(--th-shadow-sm);
    }

/* -----------------------------------------------
   SECCIÓN CÓMO FUNCIONA
----------------------------------------------- */
.th-como {
    padding: 2.5rem 1.25rem;
    background: var(--th-gradient-soft);
    border-top: 1px solid var(--th-border);
}

.th-como__inner {
    max-width: 480px;
    margin: 0 auto;
}

.th-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.th-step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: var(--th-surface);
    border-radius: var(--th-radius);
    padding: 1.1rem 1.25rem;
    border: 1.5px solid var(--th-border);
    box-shadow: var(--th-shadow-sm);
}

.th-step__num {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--th-gradient);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 900;
}

.th-step__text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

    .th-step__text strong {
        font-size: 0.95rem;
        font-weight: 700;
        color: var(--th-text);
    }

    .th-step__text span {
        font-size: 0.82rem;
        color: var(--th-text-soft);
    }

.th-step__arrow {
    text-align: center;
    font-size: 1.25rem;
    color: var(--th-primary);
    padding: 0.25rem 0;
    margin-left: 18px;
}

/* -----------------------------------------------
   SECCIÓN PRO — PAYWALL
----------------------------------------------- */
.th-pro {
    padding: 2.5rem 1.25rem;
    background: var(--th-surface);
    border-top: 1px solid var(--th-border);
}

.th-pro__inner {
    max-width: 480px;
    margin: 0 auto;
    background: var(--th-gradient-pro);
    border-radius: var(--th-radius-xl);
    padding: 2rem 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--th-shadow-lg);
    position: relative;
    overflow: hidden;
}

    /* Brillo decorativo en la card Pro */
    .th-pro__inner::before {
        content: '';
        position: absolute;
        top: -40%;
        right: -20%;
        width: 200px;
        height: 200px;
        background: rgba(255,255,255,0.08);
        border-radius: 50%;
        pointer-events: none;
    }

.th-pro__badge {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 1rem;
    background: rgba(255,255,255,0.2);
    color: #fff;
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: 1px solid rgba(255,255,255,0.3);
}

.th-pro__title {
    font-size: 1.5rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.02em;
}

.th-pro__sub {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.75);
    margin-top: -0.5rem;
}

.th-pro__features {
    list-style: none;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: left;
}

    .th-pro__features li {
        font-size: 0.9rem;
        color: rgba(255,255,255,0.9);
        font-weight: 500;
        padding: 0.6rem 0.875rem;
        background: rgba(255,255,255,0.1);
        border-radius: var(--th-radius-sm);
        border: 1px solid rgba(255,255,255,0.15);
    }

.th-pro .th-btn--pro {
    background: #fff;
    color: var(--th-purple-dark);
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

    .th-pro .th-btn--pro:hover {
        background: #f3e5f5;
        box-shadow: 0 8px 30px rgba(0,0,0,0.25);
    }

.th-pro__nota {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.55);
}

/* -----------------------------------------------
   FOOTER
----------------------------------------------- */
.th-footer {
    padding: 1.5rem 1.25rem;
    border-top: 1px solid var(--th-border);
    background: var(--th-bg);
}

.th-footer__inner {
    max-width: 480px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.78rem;
    color: var(--th-text-soft);
}

.th-footer__links {
    display: flex;
    gap: 1rem;
}

    .th-footer__links a {
        color: var(--th-text-soft);
        text-decoration: none;
        transition: var(--th-transition);
    }

        .th-footer__links a:hover {
            color: var(--th-primary);
        }

/* -----------------------------------------------
   ANIMACIONES
----------------------------------------------- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animación escalonada para el hero */
.th-pill {
    animation: fadeInUp 0.5s var(--th-ease) 0s both;
}

.th-hero__title {
    animation: fadeInUp 0.5s var(--th-ease) 0.1s both;
}

.th-hero__subtitle {
    animation: fadeInUp 0.5s var(--th-ease) 0.15s both;
}

.th-search-card {
    animation: fadeInUp 0.5s var(--th-ease) 0.2s both;
}

/* -----------------------------------------------
   DESKTOP — centrado y acotado
----------------------------------------------- */
@media (min-width: 600px) {
    .th-navbar__inner,
    .th-hero__content,
    .th-populares__inner,
    .th-como__inner,
    .th-pro__inner {
        max-width: 520px;
    }

    .th-hero {
        padding-top: 100px;
        align-items: center;
        min-height: 100svh;
    }

    .th-hero__title {
        font-size: 3rem;
    }

    .th-search-card__inner {
        padding: 2rem;
    }
}

@media (min-width: 900px) {
    .th-hero {
        padding-top: 120px;
    }

    .th-hero__title {
        font-size: 3.5rem;
    }
}

/* -----------------------------------------------
   ACCESIBILIDAD — Reduced motion
----------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

    .th-blob {
        animation: none;
    }
}

/* -----------------------------------------------
   SAFE AREA — iPhone con notch/isla
----------------------------------------------- */
.th-navbar {
    padding-top: env(safe-area-inset-top);
}

.th-footer {
    padding-bottom: calc(1.5rem + env(safe-area-inset-bottom));
}

.th-result__comentario {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin: 0 1.5rem;
    padding: 0.75rem 1rem;
    background: var(--th-gradient-soft);
    border-radius: var(--th-radius-sm);
    font-size: 0.85rem;
    color: var(--th-primary-dark);
    font-style: italic;
    border-left: 3px solid var(--th-primary);
}

/* ─── AUTOCOMPLETADO ─────────────────────────────────────── */
.th-autocomplete {
    position: relative;
    width: 100%;
}

.th-autocomplete__list {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: var(--th-surface);
    border: 1.5px solid var(--th-border);
    border-radius: var(--th-radius-sm);
    box-shadow: var(--th-shadow-md);
    list-style: none;
    margin: 0;
    padding: 0.25rem 0;
    z-index: 100;
    overflow: hidden;
    animation: fadeInUp 0.15s ease both;
}

.th-autocomplete__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.7rem 1rem;
    cursor: pointer;
    transition: background 0.15s ease;
    border-bottom: 1px solid rgba(233, 30, 140, 0.06);
}

    .th-autocomplete__item:last-child {
        border-bottom: none;
    }

    .th-autocomplete__item:hover,
    .th-autocomplete__item--active {
        background: var(--th-gradient-soft);
    }

.th-autocomplete__item-texto {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--th-text);
    flex: 1;
}

.th-autocomplete__item-cat {
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--th-primary);
    background: rgba(233, 30, 140, 0.08);
    padding: 0.2rem 0.5rem;
    border-radius: 20px;
    white-space: nowrap;
    flex-shrink: 0;
}

.th-result__comentario {
    margin-top: 12px; /* ✅ Separación respecto al bloque anterior */
}

/* ── Frase original — "Él dijo" ──────────────────────────── */
.th-result__el-dijo {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    padding: 1.1rem 1.5rem 0.75rem;
    background: var(--th-gradient-soft);
    border-bottom: 1px solid var(--th-border);
}

.th-result__el-dijo-label {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--th-primary);
    white-space: nowrap;
    flex-shrink: 0;
}

.th-result__el-dijo-texto {
    font-size: 1rem;
    font-weight: 700;
    color: var(--th-text);
    font-style: italic;
    line-height: 1.4;
}

/* ── Flecha entre "él dijo" y la traducción ─────────────── */
.th-result__arrow {
    text-align: center;
    padding: 0.4rem 0;
    font-size: 1rem;
    color: var(--th-primary);
    opacity: 0.6;
}

/* ── Comentario — margin top ────────────────────────────── */
.th-result__comentario {
    margin-top: 12px;
}