/* =============================================
   Home.css — Centered Search Hero
   All classes: hm- prefix
=============================================== */

.tm-main-content:has(.hm-hero) {
    padding-top: 0;
    padding-bottom: 0;
}

/* ══════════════════════════════════════════════
   HERO — Centered, light, Airbnb-style
══════════════════════════════════════════════ */
.hm-hero {
    position: relative;
    overflow: hidden;
    background: #ffffff;
    padding: 4rem 0 3.5rem;
    text-align: center;
    border-bottom: 1px solid var(--border-soft);
}

/* Soft color blobs in background */
.hm-hero-blob {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(70px);
    opacity: .55;
}
.hm-hero-blob--1 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, #dbeafe 0%, transparent 70%);
    top: -200px; right: -100px;
}
.hm-hero-blob--2 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, #d1fae5 0%, transparent 70%);
    bottom: -160px; left: -80px;
}
.hm-hero-blob--3 {
    width: 280px; height: 280px;
    background: radial-gradient(circle, #ede9fe 0%, transparent 70%);
    top: 20%; left: 50%;
    transform: translateX(-50%);
}

.hm-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 860px;
    margin: 0 auto;
}

/* Eyebrow label */
.hm-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    color: #0369a1;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    padding: .32rem 1rem;
    border-radius: var(--radius-pill);
    margin-bottom: 1.5rem;
}
.hm-hero-eyebrow-dot {
    width: 6px; height: 6px;
    background: #0ea5e9;
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(14,165,233,.2);
    animation: hm-pulse-dot 2.2s ease-in-out infinite;
    flex-shrink: 0;
}
@keyframes hm-pulse-dot {
    0%, 100% { box-shadow: 0 0 0 3px rgba(14,165,233,.2); }
    50%       { box-shadow: 0 0 0 6px rgba(14,165,233,.06); }
}

/* Heading */
.hm-hero-heading {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 900;
    line-height: 1.1;
    color: #0d1b2a;
    margin-bottom: .9rem;
    letter-spacing: -.035em;
}
.hm-hero-accent {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hm-hero-accent2 {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Sub */
.hm-hero-sub {
    font-size: clamp(.9rem, 1.8vw, 1.05rem);
    color: #4a5568;
    max-width: 560px;
    margin: 0 auto 2.2rem;
    line-height: 1.7;
}

/* ── Big search bar ── */
.hm-hero-search-wrap {
    max-width: 700px;
    margin: 0 auto 1.5rem;
    position: relative;
}

.hm-hero-search {
    display: flex;
    align-items: center;
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: var(--radius-pill);
    padding: .35rem .35rem .35rem 1.4rem;
    box-shadow: 0 4px 24px rgba(0,0,0,.08), 0 1px 3px rgba(0,0,0,.04);
    transition: border-color .18s ease, box-shadow .18s ease;
    gap: .5rem;
}
.hm-hero-search:focus-within,
.hm-hero-search.hm-search-bar--active {
    border-color: #0ea5e9;
    box-shadow: 0 0 0 4px rgba(14,165,233,.12), 0 4px 24px rgba(0,0,0,.08);
}

.hm-hero-search-left {
    display: flex;
    align-items: center;
    gap: .6rem;
    flex: 1;
    min-width: 0;
}

.hm-hero-search .hm-search-icon {
    color: #94a3b8;
    font-size: 1.05rem;
    flex-shrink: 0;
    transition: color .18s;
}
.hm-hero-search:focus-within .hm-search-icon { color: #0ea5e9; }

.hm-hero-search .hm-search-input {
    flex: 1;
    border: none !important;
    outline: none !important;
    background: transparent !important;
    box-shadow: none !important;
    font-size: 1rem;
    padding: .7rem 0;
    font-family: inherit;
    color: #0d1b2a;
}
.hm-hero-search .hm-search-input::placeholder { color: #a0aec0; }

.hm-hero-search-right {
    display: flex;
    align-items: center;
    gap: .35rem;
    flex-shrink: 0;
}

.hm-search-spinner { display: flex; align-items: center; color: #0ea5e9; padding: 0 .25rem; }

.hm-search-clear {
    width: 30px; height: 30px;
    border: none; border-radius: 50%;
    background: #f1f5f9; color: #94a3b8;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: var(--trans-fast); font-size: .78rem;
}
.hm-search-clear:hover { background: #fee2e2; color: #ef4444; }

.hm-search-btn {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    background: #0ea5e9;
    color: #fff;
    border: none;
    border-radius: var(--radius-pill);
    padding: .65rem 1.4rem;
    font-size: .9rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: background .18s ease, box-shadow .18s ease, transform .14s ease;
    box-shadow: 0 3px 12px rgba(14,165,233,.35);
    white-space: nowrap;
}
.hm-search-btn:hover {
    background: #0284c7;
    box-shadow: 0 5px 18px rgba(14,165,233,.45);
    transform: translateY(-1px);
}
.hm-search-btn i { font-size: .85rem; }

/* Results panel */
.hm-results-panel {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-top: none;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    box-shadow: 0 12px 36px rgba(0,0,0,.1);
    overflow: hidden;
    animation: hm-slide-down .16s ease;
    text-align: left;
}
@keyframes hm-slide-down {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}
.hm-results-header {
    padding: .55rem 1.1rem;
    font-size: .72rem; font-weight: 700;
    color: #94a3b8; letter-spacing: .07em; text-transform: uppercase;
    border-bottom: 1px solid #f1f5f9;
    background: #f8fafc;
}
.hm-results-scroll { max-height: 300px; overflow-y: auto; }
.hm-result-item {
    display: flex; align-items: center; gap: .85rem;
    padding: .8rem 1.1rem;
    text-decoration: none; color: #0d1b2a;
    border-bottom: 1px solid #f1f5f9;
    transition: background var(--trans-fast);
}
.hm-result-item:last-child { border-bottom: none; }
.hm-result-item:hover { background: #f0f9ff; }
.hm-result-icon {
    width: 36px; height: 36px;
    background: #eff6ff; color: #0ea5e9;
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    font-size: .88rem; flex-shrink: 0; transition: var(--trans-fast);
}
.hm-result-item:hover .hm-result-icon { background: #0ea5e9; color: #fff; }
.hm-result-info { flex: 1; min-width: 0; }
.hm-result-title {
    font-weight: 600; font-size: .92rem; color: #0d1b2a;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.hm-result-addr {
    font-size: .76rem; color: #94a3b8;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    display: block; margin-top: 2px;
}
.hm-result-chev { color: #cbd5e1; font-size: .75rem; flex-shrink: 0; transition: var(--trans-fast); }
.hm-result-item:hover .hm-result-chev { color: #0ea5e9; transform: translateX(3px); }
.hm-result-item--disabled { pointer-events: none; opacity: .4; }
.hm-results-empty {
    display: flex; align-items: center; gap: .7rem;
    padding: 1rem 1.1rem;
    color: #94a3b8; font-size: .88rem;
    background: #f8fafc;
    text-align: left;
}

/* ── Category chips ── */
.hm-hero-chips {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: .5rem;
}
.hm-chip-label {
    font-size: .78rem;
    font-weight: 600;
    color: #94a3b8;
    margin-right: .2rem;
}
.hm-chip {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .42rem 1rem;
    border-radius: var(--radius-pill);
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #475569;
    font-size: .8rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--trans-fast);
}
.hm-chip i { font-size: .78rem; color: #0ea5e9; }
.hm-chip:hover {
    background: #e0f2fe;
    border-color: #7dd3fc;
    color: #0369a1;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(14,165,233,.1);
}
.hm-chip--cta {
    background: linear-gradient(135deg, #0ea5e9, #10b981);
    border-color: transparent;
    color: #fff;
}
.hm-chip--cta i { color: #fff; }
.hm-chip--cta:hover {
    background: linear-gradient(135deg, #0284c7, #059669);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(14,165,233,.3);
}

/* ══════════════════════════════════════════════
   STATS BAR
══════════════════════════════════════════════ */
.hm-stats-bar {
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-soft);
    box-shadow: 0 2px 16px rgba(0,0,0,.04);
}
.hm-stats-inner {
    display: flex; align-items: center;
    justify-content: center;
    gap: 0; padding: 1rem 0; flex-wrap: wrap;
}
.hm-stat {
    display: flex; flex-direction: column;
    align-items: center; padding: .4rem 2rem; gap: .1rem;
}
.hm-stat-num {
    font-size: 1.25rem; font-weight: 800;
    color: var(--accent-primary); line-height: 1; letter-spacing: -.02em;
}
.hm-stat-label {
    font-size: .72rem; font-weight: 500; color: var(--text-muted);
    text-transform: uppercase; letter-spacing: .06em;
}
.hm-stat-div { width: 1px; height: 36px; background: var(--border-soft); flex-shrink: 0; }

/* ══════════════════════════════════════════════
   HOW IT WORKS
══════════════════════════════════════════════ */
.hm-how-section { padding: 4rem 0 3.5rem; background: var(--bg-main); }
.hm-section-header { text-align: center; margin-bottom: 2.8rem; }
.hm-section-tag {
    display: inline-flex; align-items: center;
    font-size: .75rem; font-weight: 700;
    letter-spacing: .08em; text-transform: uppercase;
    color: var(--accent-primary);
    background: rgba(14,165,233,.07);
    border: 1px solid rgba(14,165,233,.15);
    padding: .32rem .9rem;
    border-radius: var(--radius-pill); margin-bottom: .8rem;
}
.hm-section-header h2 {
    font-size: clamp(1.5rem, 3.5vw, 2.1rem); font-weight: 800;
    color: var(--text-primary); margin-bottom: .4rem; letter-spacing: -.02em;
}
.hm-section-header p { font-size: .97rem; color: var(--text-secondary); margin: 0; }

.hm-steps-grid { display: flex; align-items: center; justify-content: center; gap: 0; }
.hm-step-card {
    flex: 1; max-width: 280px;
    background: var(--bg-surface); border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem 1.75rem; text-align: center;
    box-shadow: var(--shadow-soft); position: relative;
    transition: var(--trans-smooth);
}
.hm-step-card:hover { transform: translateY(-6px); box-shadow: 0 20px 48px rgba(14,165,233,.1); border-color: rgba(14,165,233,.2); }
.hm-step-icon {
    width: 64px; height: 64px; border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem; margin: 0 auto 1.1rem; transition: var(--trans-fast);
}
.hm-step-icon--1 { background: linear-gradient(135deg, rgba(14,165,233,.12), rgba(14,165,233,.06)); color: var(--accent-primary); box-shadow: 0 4px 14px rgba(14,165,233,.15); }
.hm-step-icon--2 { background: linear-gradient(135deg, rgba(16,185,129,.12), rgba(16,185,129,.06)); color: var(--accent-success); box-shadow: 0 4px 14px rgba(16,185,129,.15); }
.hm-step-icon--3 { background: linear-gradient(135deg, rgba(139,92,246,.12), rgba(139,92,246,.06)); color: #8b5cf6; box-shadow: 0 4px 14px rgba(139,92,246,.15); }
.hm-step-card:hover .hm-step-icon--1 { background: var(--accent-primary); color: #fff; }
.hm-step-card:hover .hm-step-icon--2 { background: var(--accent-success); color: #fff; }
.hm-step-card:hover .hm-step-icon--3 { background: #8b5cf6; color: #fff; }
.hm-step-num-badge {
    position: absolute; top: 1rem; right: 1rem;
    width: 26px; height: 26px;
    background: var(--bg-surface-2); border: 1px solid var(--border-soft);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: .72rem; font-weight: 800; color: var(--text-muted);
}
.hm-step-card h3 { font-size: 1rem; font-weight: 700; color: var(--text-primary); margin-bottom: .4rem; }
.hm-step-card p { font-size: .83rem; color: var(--text-secondary); margin: 0; line-height: 1.5; }
.hm-step-connector { color: var(--text-muted); font-size: .9rem; padding: 0 .75rem; flex-shrink: 0; opacity: .4; }

/* ══════════════════════════════════════════════
   CTA EXPLORE BAND
══════════════════════════════════════════════ */
.hm-cta-section { padding: 1.5rem 0 2rem; background: var(--bg-surface); border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }
.hm-cta-explore {
    display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
    background: linear-gradient(135deg, var(--bg-surface-2) 0%, #eef6ff 100%);
    border: 1px solid rgba(14,165,233,.15); border-radius: var(--radius-lg);
    padding: 1.5rem 1.75rem; text-decoration: none; color: var(--text-primary);
    transition: var(--trans-smooth); position: relative; overflow: hidden;
}
.hm-cta-explore::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(14,165,233,.04), transparent); opacity: 0; transition: var(--trans-fast); }
.hm-cta-explore:hover { transform: translateY(-3px); box-shadow: 0 16px 44px rgba(14,165,233,.12); border-color: rgba(14,165,233,.3); color: var(--text-primary); }
.hm-cta-explore:hover::after { opacity: 1; }
.hm-cta-left { display: flex; align-items: center; gap: 1.2rem; flex: 1; min-width: 0; position: relative; z-index: 1; }
.hm-cta-icon-wrap { width: 56px; height: 56px; background: linear-gradient(135deg, var(--accent-success), #059669); color: #fff; border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; flex-shrink: 0; box-shadow: 0 6px 18px rgba(16,185,129,.3); transition: var(--trans-fast); }
.hm-cta-explore:hover .hm-cta-icon-wrap { transform: scale(1.08) rotate(-3deg); }
.hm-cta-left h4 { font-size: 1.05rem; font-weight: 700; color: var(--text-primary); margin-bottom: .2rem; }
.hm-cta-left p { font-size: .84rem; color: var(--text-secondary); margin: 0; line-height: 1.4; }
.hm-cta-right { flex-shrink: 0; position: relative; z-index: 1; }
.hm-cta-btn { display: inline-flex; align-items: center; gap: .4rem; background: var(--accent-primary); color: #fff; font-size: .88rem; font-weight: 700; padding: .65rem 1.4rem; border-radius: var(--radius-pill); box-shadow: 0 4px 14px rgba(14,165,233,.3); transition: var(--trans-fast); white-space: nowrap; }
.hm-cta-explore:hover .hm-cta-btn { background: var(--accent-primary-hover); box-shadow: 0 6px 20px rgba(14,165,233,.4); transform: translateX(3px); }

/* ══════════════════════════════════════════════
   SERVICES
══════════════════════════════════════════════ */
.hm-services-section { padding: 4rem 0 5rem; background: var(--bg-main); }
.hm-services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.hm-svc-card { background: var(--bg-surface); border: 1px solid var(--border-soft); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-soft); transition: var(--trans-smooth); display: flex; flex-direction: column; }
.hm-svc-card:hover { transform: translateY(-6px); box-shadow: 0 24px 52px rgba(14,165,233,.1); border-color: rgba(14,165,233,.2); }
.hm-svc-img { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-surface-2); }
.hm-svc-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .45s cubic-bezier(.4,0,.2,1); }
.hm-svc-card:hover .hm-svc-img img { transform: scale(1.06); }
.hm-svc-overlay { position: absolute; top: .75rem; left: .75rem; }
.hm-svc-tag { display: inline-block; background: rgba(0,0,0,.5); backdrop-filter: blur(8px); color: #fff; font-size: .7rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; padding: .25rem .65rem; border-radius: var(--radius-pill); border: 1px solid rgba(255,255,255,.15); }
.hm-svc-body { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.hm-svc-body h6 { font-size: 1rem; font-weight: 700; color: var(--text-primary); margin-bottom: .5rem; }
.hm-svc-desc { font-size: .83rem; color: var(--text-secondary); line-height: 1.6; margin: 0; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; flex: 1; }
.hm-svc-card.hm-expanded .hm-svc-desc { display: block; overflow: visible; -webkit-line-clamp: unset; }
.hm-svc-toggle { display: inline-flex; align-items: center; gap: .35rem; margin-top: .8rem; padding: 0; background: none; border: none; color: var(--accent-primary); font-size: .8rem; font-weight: 700; cursor: pointer; transition: var(--trans-fast); font-family: inherit; }
.hm-svc-toggle:hover { color: var(--accent-primary-hover); }
.hm-svc-toggle-icon { font-size: .7rem; transition: transform .25s ease; }
.hm-svc-card.hm-expanded .hm-svc-toggle-icon { transform: rotate(180deg); }

/* ══════════════════════════════════════════════
   SHARED .hm-search-bar (non-hero use)
══════════════════════════════════════════════ */
.hm-search-bar { display: flex; align-items: center; background: var(--bg-surface); border: 1.5px solid var(--border-soft); border-radius: var(--radius-pill); padding: .25rem .4rem .25rem 1.1rem; gap: .5rem; transition: var(--trans-fast); }
.hm-search-bar:focus-within, .hm-search-bar--active { border-color: var(--accent-primary); box-shadow: 0 0 0 3px var(--accent-primary-glow); }
.hm-search-icon { font-size: 1rem; flex-shrink: 0; display: flex; align-items: center; }
.hm-search-input { flex: 1; border: none !important; outline: none !important; background: transparent !important; box-shadow: none !important; font-size: 1rem; padding: .75rem 0; font-family: inherit; color: var(--text-primary); }

/* ══════════════════════════════════════════════
   DESKTOP ≥992px
══════════════════════════════════════════════ */
@media (min-width: 992px) {
    .hm-hero { padding: 5rem 0 4rem; }
    .hm-hero-heading { font-size: 3.8rem; }
    .hm-hero-search-wrap { max-width: 740px; }
    .hm-search-btn { padding: .75rem 1.75rem; font-size: .95rem; }
    .hm-steps-grid { gap: 1rem; }
    .hm-step-card { max-width: 320px; }
    .hm-services-grid { gap: 2rem; }
}

/* ══════════════════════════════════════════════
   TABLET 768–991px
══════════════════════════════════════════════ */
@media (max-width: 991.98px) {
    .hm-steps-grid { gap: .75rem; }
    .hm-step-connector { padding: 0 .4rem; font-size: .75rem; }
    .hm-services-grid { grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
    .hm-services-grid .hm-svc-card:last-child { grid-column: span 2; max-width: 480px; margin: 0 auto; width: 100%; }
}

/* ══════════════════════════════════════════════
   MOBILE ≤767px
══════════════════════════════════════════════ */
@media (max-width: 767.98px) {
    .hm-hero { padding: 2.5rem 0 2.5rem; }
    .hm-hero-heading { font-size: 2.1rem; letter-spacing: -.03em; }
    .hm-hero-sub { font-size: .88rem; margin-bottom: 1.5rem; }
    .hm-hero-eyebrow { font-size: .68rem; }

    .hm-hero-search { padding: .25rem .25rem .25rem 1rem; gap: .35rem; }
    .hm-search-btn span { display: none; }
    .hm-search-btn { padding: .65rem .9rem; border-radius: 50%; aspect-ratio: 1; }
    .hm-search-btn i { font-size: .95rem; }

    .hm-hero-chips { gap: .4rem; }
    .hm-chip { font-size: .74rem; padding: .38rem .8rem; }
    .hm-chip-label { display: none; }

    .hm-stats-inner { display: grid; grid-template-columns: 1fr 1fr; padding: .75rem 1rem; }
    .hm-stat { padding: .6rem .75rem; }
    .hm-stat-num { font-size: 1.1rem; }
    .hm-stat-div { display: none; }

    .hm-how-section { padding: 2.5rem 0 2rem; }
    .hm-steps-grid { flex-direction: column; gap: .75rem; align-items: stretch; }
    .hm-step-card { max-width: 100%; text-align: left; display: flex; flex-direction: row; align-items: center; gap: 1rem; padding: 1.1rem 1.2rem; }
    .hm-step-icon { width: 48px; height: 48px; font-size: 1.2rem; margin: 0; flex-shrink: 0; }
    .hm-step-num-badge { display: none; }
    .hm-step-card h3 { font-size: .92rem; margin-bottom: .2rem; }
    .hm-step-card p { font-size: .8rem; }
    .hm-step-connector { display: none; }

    .hm-cta-section { padding: 1.25rem 0 1.5rem; }
    .hm-cta-explore { flex-direction: column; align-items: flex-start; gap: 1rem; padding: 1.2rem 1.25rem; }
    .hm-cta-left { flex-direction: column; align-items: flex-start; gap: .85rem; }
    .hm-cta-right { width: 100%; }
    .hm-cta-btn { width: 100%; justify-content: center; padding: .75rem; }

    .hm-services-section { padding: 2.5rem 0 4rem; }
    .hm-services-grid { grid-template-columns: 1fr; gap: 1rem; }
    .hm-services-grid .hm-svc-card:last-child { grid-column: span 1; max-width: 100%; }
    .hm-svc-img { aspect-ratio: 16 / 7; }
}

@media (max-width: 400px) {
    .hm-hero-heading { font-size: 1.85rem; }
    .hm-stats-inner { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════
   SECCIÓN OFERTAS GLOBALES (Home)
══════════════════════════════════════════════ */
/* ══════════════════════════════════════════════
   SECCIÓN OFERTAS GLOBALES (Home)
══════════════════════════════════════════════ */
.hm-ofertas-section {
    padding: 3rem 0 2.35rem;
    background: var(--bg-surface);
    border-top: 1px solid var(--border-soft);
    border-bottom: 1px solid var(--border-soft);
}

    .hm-ofertas-section .tm-carousel-wrap {
        position: relative;
        padding-inline: 2.8rem;
    }

    .hm-ofertas-section .tm-carousel-grid {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: 232px;
        gap: .95rem;
        overflow-x: auto;
        overflow-y: hidden;
        padding: .3rem .05rem .85rem;
        margin: 0;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: .05rem;
        scroll-behavior: smooth;
        overscroll-behavior-x: contain;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-x;
        scrollbar-width: thin;
        scrollbar-color: #cbd5e1 transparent;
    }

        .hm-ofertas-section .tm-carousel-grid::-webkit-scrollbar {
            height: 8px;
        }

        .hm-ofertas-section .tm-carousel-grid::-webkit-scrollbar-thumb {
            background: #cbd5e1;
            border-radius: 999px;
        }

        .hm-ofertas-section .tm-carousel-grid::-webkit-scrollbar-track {
            background: transparent;
        }

        .hm-ofertas-section .tm-carousel-grid > * {
            scroll-snap-align: start;
            scroll-snap-stop: always;
        }

    .hm-ofertas-section .tm-carousel-arrow {
        position: absolute;
        top: 42%;
        transform: translateY(-50%);
        width: 40px;
        height: 40px;
        border: 1px solid var(--border-soft);
        border-radius: 50%;
        background: rgba(255, 255, 255, .96);
        color: var(--text-primary);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 10px 26px rgba(15, 23, 42, .12);
        z-index: 3;
        transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
    }

        .hm-ofertas-section .tm-carousel-arrow:hover {
            transform: translateY(-50%) scale(1.04);
            background: #fff;
            box-shadow: 0 14px 34px rgba(15, 23, 42, .16);
        }

    .hm-ofertas-section .tm-arrow-prev {
        left: 0;
    }

    .hm-ofertas-section .tm-arrow-next {
        right: 0;
    }

    .hm-ofertas-section .hm-oferta-card {
        position: relative;
        min-width: 0;
        max-width: none;
        display: flex;
        flex-direction: column;
        overflow: hidden;
        border: 1px solid var(--border-soft);
        border-radius: var(--radius-lg);
        background: var(--bg-surface);
        box-shadow: var(--shadow-soft);
        transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
    }

        .hm-ofertas-section .hm-oferta-card:hover {
            transform: translateY(-4px);
            border-color: rgba(14,165,233,.20);
            box-shadow: 0 18px 44px rgba(14,165,233,.12);
        }

        .hm-ofertas-section .hm-oferta-card .tm-thumb {
            position: relative;
            width: 100%;
            aspect-ratio: 1 / 1;
            overflow: hidden;
            padding: .6rem;
            background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
        }

            .hm-ofertas-section .hm-oferta-card .tm-thumb img {
                width: 100%;
                height: 100%;
                object-fit: contain;
                object-position: center center;
                display: block;
                transition: transform .24s ease;
            }

@media (hover: hover) and (pointer: fine) {
    .hm-ofertas-section .hm-oferta-card:hover .tm-thumb img {
        transform: scale(1.02);
    }
}

.hm-ofertas-section .tm-no-img-inner {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
    font-size: 1.5rem;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.hm-ofertas-section .tm-offer-ribbon {
    position: absolute;
    top: .7rem;
    left: .7rem;
    z-index: 2;
}

    .hm-ofertas-section .tm-offer-ribbon span {
        display: inline-flex;
        align-items: center;
        padding: .32rem .6rem;
        border-radius: 999px;
        background: rgba(239, 68, 68, .95);
        color: #fff;
        font-size: .68rem;
        font-weight: 800;
        letter-spacing: .03em;
        box-shadow: 0 8px 20px rgba(239, 68, 68, .22);
    }

.hm-ofertas-section .hm-oferta-card .card-body {
    padding: .9rem .9rem .95rem;
    display: flex;
    flex-direction: column;
    gap: .32rem;
    flex: 1;
}

.hm-oferta-negocio-link {
    display: block;
    font-size: .7rem;
    font-weight: 700;
    color: var(--accent-primary);
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

    .hm-oferta-negocio-link:hover {
        text-decoration: underline;
    }

.hm-ofertas-section .hm-oferta-card .card-title {
    margin: 0;
    min-height: 2.4em;
    font-size: .9rem;
    font-weight: 700;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

    .hm-ofertas-section .hm-oferta-card .card-title a {
        color: var(--text-primary) !important;
    }

        .hm-ofertas-section .hm-oferta-card .card-title a:hover {
            color: var(--accent-primary) !important;
        }

.hm-ofertas-section .tm-precio-wrap {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: .2rem;
    padding-top: .3rem;
}

.hm-ofertas-section .tm-precio-original {
    font-size: .79rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.hm-ofertas-section .tm-precio-oferta {
    font-size: 1rem;
    font-weight: 800;
    color: var(--accent-primary);
}

.hm-ofertas-section .tm-pct-badge {
    display: inline-flex;
    align-items: center;
    padding: .22rem .48rem;
    border-radius: 999px;
    background: rgba(16, 185, 129, .1);
    color: #059669;
    font-size: .68rem;
    font-weight: 800;
    white-space: nowrap;
}

@media (max-width: 991.98px) {
    .hm-ofertas-section .tm-carousel-wrap {
        padding-inline: 0;
    }

    .hm-ofertas-section .tm-carousel-arrow {
        display: none;
    }

    .hm-ofertas-section .tm-carousel-grid {
        grid-auto-columns: 214px;
    }
}

@media (max-width: 767.98px) {
    .hm-ofertas-section {
        padding: 2rem 0 1.35rem;
    }

        .hm-ofertas-section .tm-carousel-grid {
            grid-auto-columns: clamp(182px, 60vw, 228px);
            gap: .75rem;
            padding: .2rem .05rem .7rem;
        }

        .hm-ofertas-section .hm-oferta-card .tm-thumb {
            aspect-ratio: 4 / 3;
            padding: .48rem;
        }

        .hm-ofertas-section .hm-oferta-card .card-body {
            padding: .78rem .8rem .88rem;
        }

        .hm-ofertas-section .hm-oferta-card .card-title {
            font-size: .86rem;
            min-height: 2.35em;
        }

        .hm-ofertas-section .tm-precio-original {
            font-size: .75rem;
        }

        .hm-ofertas-section .tm-precio-oferta {
            font-size: .95rem;
        }

        .hm-ofertas-section .tm-pct-badge {
            font-size: .64rem;
            padding: .2rem .42rem;
        }
}

@media (max-width: 420px) {
    .hm-ofertas-section .tm-carousel-grid {
        grid-auto-columns: clamp(168px, 68vw, 208px);
    }
}


/* ══════════════════════════════════════════════
   SECCIÓN NEGOCIOS DESTACADOS (Home)
══════════════════════════════════════════════ */
.hm-negocios-section {
    padding: 2.9rem 0 2.5rem;
    background: var(--bg-main);
    border-bottom: 1px solid var(--border-soft);
}

    .hm-negocios-section .tm-carousel-wrap {
        position: relative;
        padding-inline: 2.8rem;
    }

    .hm-negocios-section .tm-carousel-grid {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: 232px;
        gap: .95rem;
        overflow-x: auto;
        overflow-y: hidden;
        padding: .3rem .05rem .85rem;
        margin: 0;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: .05rem;
        scroll-behavior: smooth;
        overscroll-behavior-x: contain;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-x;
        scrollbar-width: thin;
        scrollbar-color: #cbd5e1 transparent;
    }

        .hm-negocios-section .tm-carousel-grid::-webkit-scrollbar {
            height: 8px;
        }

        .hm-negocios-section .tm-carousel-grid::-webkit-scrollbar-thumb {
            background: #cbd5e1;
            border-radius: 999px;
        }

        .hm-negocios-section .tm-carousel-grid::-webkit-scrollbar-track {
            background: transparent;
        }

        .hm-negocios-section .tm-carousel-grid > * {
            scroll-snap-align: start;
            scroll-snap-stop: always;
        }

    .hm-negocios-section .tm-carousel-arrow {
        position: absolute;
        top: 42%;
        transform: translateY(-50%);
        width: 40px;
        height: 40px;
        border: 1px solid var(--border-soft);
        border-radius: 50%;
        background: rgba(255, 255, 255, .96);
        color: var(--text-primary);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 10px 26px rgba(15, 23, 42, .12);
        z-index: 3;
        transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
    }

        .hm-negocios-section .tm-carousel-arrow:hover {
            transform: translateY(-50%) scale(1.04);
            background: #fff;
            box-shadow: 0 14px 34px rgba(15, 23, 42, .16);
        }

    .hm-negocios-section .tm-arrow-prev {
        left: 0;
    }

    .hm-negocios-section .tm-arrow-next {
        right: 0;
    }

.hm-negocio-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-surface);
    box-shadow: var(--shadow-soft);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

    .hm-negocio-card:hover {
        transform: translateY(-4px);
        border-color: rgba(14,165,233,.20);
        box-shadow: 0 18px 44px rgba(14,165,233,.12);
    }

.hm-negocio-photo-link {
    display: block;
}

.hm-negocio-photo {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border-bottom: 1px solid var(--border-soft);
}

.hm-negocio-photo-fallback {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 0;
}

    .hm-negocio-photo-fallback span {
        width: 72px;
        height: 72px;
        border-radius: 22px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
        color: #fff;
        font-size: 1.55rem;
        font-weight: 900;
        box-shadow: 0 12px 26px rgba(14,165,233,.18);
    }

.hm-negocio-img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center center;
    transition: transform .28s ease;
}

.hm-negocio-card:hover .hm-negocio-img {
    transform: scale(1.02);
}

.hm-negocio-photo-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(180deg, rgba(15,23,42,.02) 0%, rgba(15,23,42,.18) 100%);
    pointer-events: none;
}

.hm-negocio-plan-badge {
    position: absolute;
    left: .7rem;
    bottom: .7rem;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    padding: .34rem .6rem;
    border-radius: 999px;
    background: rgba(14,165,233,.88);
    color: #fff;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .02em;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

    .hm-negocio-plan-badge.is-premium {
        background: rgba(245, 158, 11, .92);
        color: #fff;
    }

.hm-negocio-card .card-body {
    padding: .9rem .9rem .95rem;
    display: flex;
    flex-direction: column;
    gap: .45rem;
    flex: 1;
}

.hm-negocio-card .card-title {
    margin: 0;
    min-height: 2.45em;
    font-size: .92rem;
    font-weight: 700;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hm-negocio-meta {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    font-size: .76rem;
    color: var(--text-secondary);
}

    .hm-negocio-meta i {
        color: var(--accent-primary);
    }

.hm-negocio-link {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    font-size: .82rem;
    font-weight: 700;
    color: var(--accent-primary);
    text-decoration: none;
}

    .hm-negocio-link:hover {
        color: var(--accent-primary-hover);
    }

@media (max-width: 991.98px) {
    .hm-negocios-section .tm-carousel-wrap {
        padding-inline: 0;
    }

    .hm-negocios-section .tm-carousel-arrow {
        display: none;
    }

    .hm-negocios-section .tm-carousel-grid {
        grid-auto-columns: 214px;
    }
}

@media (max-width: 767.98px) {
    .hm-negocios-section {
        padding: 2rem 0 1.4rem;
    }

        .hm-negocios-section .tm-carousel-grid {
            grid-auto-columns: clamp(176px, 60vw, 220px);
            gap: .75rem;
            padding-bottom: .7rem;
        }

    .hm-negocio-card .card-body {
        padding: .78rem .8rem .88rem;
    }

    .hm-negocio-card .card-title {
        font-size: .86rem;
    }
}

/* ══════════════════════════════════════════════
   FEEDBACK SECTION (Home)
══════════════════════════════════════════════ */
.hm-feedback-section {
    padding: 4rem 0;
    background: #f8fafc;
    border-top: 1px solid var(--border-soft);
}

.hm-feedback-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 3rem 2rem;
    box-shadow: 0 10px 40px rgba(15, 23, 42, 0.05);
    border: 1px solid rgba(15, 23, 42, 0.03);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.hm-feedback-card:hover {
    transform: translateY(-5px);
}

.hm-feedback-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 5px;
    background: linear-gradient(90deg, #0061f2, #6900f2);
}

.hm-feedback-icon-bg {
    position: absolute;
    right: -20px;
    bottom: -20px;
    font-size: 8rem;
    color: rgba(0, 97, 242, 0.03);
    transform: rotate(-15deg);
    pointer-events: none;
}

@media (max-width: 767.98px) {
    .hm-feedback-section { padding: 3rem 0; }
    .hm-feedback-card { padding: 2rem 1.5rem; }
    .hm-feedback-icon-bg { font-size: 5rem; }
}
