:root {
    --dhc-bg: #0b0b0b;
    --dhc-surface: #121212;
    --dhc-surface-2: #171717;
    --dhc-border: rgba(255, 255, 255, 0.08);

    --dhc-text: #f5f5f5;
    --dhc-text-soft: #b8b8b8;
    --dhc-text-muted: #8f8f8f;

    --dhc-orange: #f09127;
    --dhc-orange-hover: #ffa13a;
    --dhc-orange-dark: #cf7415;

    --dhc-danger: #ff6b6b;
    --dhc-success: #62e6a4;
    --dhc-info: #71c7ff;
    --dhc-featured: #ffd76a;

    --dhc-shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.18);
    --dhc-shadow-medium: 0 18px 40px rgba(0, 0, 0, 0.25);
    --dhc-shadow-orange: 0 14px 34px rgba(240, 145, 39, 0.18);

    --dhc-radius-sm: 14px;
    --dhc-radius: 18px;
    --dhc-radius-lg: 24px;
    --dhc-radius-xl: 28px;

    --dhc-transition: all 0.25s ease;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    background: var(--dhc-bg);
    color: var(--dhc-text);
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: var(--dhc-orange);
    transition: var(--dhc-transition);
}

a:hover {
    color: var(--dhc-orange-hover);
}

.section-title {
    font-size: clamp(1.65rem, 2vw, 2.3rem);
    font-weight: 850;
    letter-spacing: -0.03em;
    margin-bottom: 0;
}

.section-text {
    color: var(--dhc-text-soft);
    line-height: 1.65;
}

.form-label {
    color: #fff;
    font-weight: 650;
    margin-bottom: 8px;
}

.dhc-container-fluid {
    max-width: 1680px;
    margin: 0 auto;
    padding-left: 22px;
    padding-right: 22px;
}

/* =========================
   NAVBAR
========================= */
.dhc-navbar {
    background: rgba(11, 11, 11, 0.9);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    padding-top: 12px;
    padding-bottom: 12px;
}

.dhc-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.dhc-brand:hover {
    color: #fff;
}

.dhc-brand-box {
    min-width: 48px;
    height: 48px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ffb24b, var(--dhc-orange));
    color: #111;
    font-weight: 900;
    font-size: 1rem;
    box-shadow: 0 12px 28px rgba(240, 145, 39, 0.18);
}

.dhc-brand-text-wrap {
    display: flex;
    flex-direction: column;
    line-height: 1.04;
}

.dhc-brand-title {
    font-size: 0.98rem;
    font-weight: 800;
    color: #fff;
}

.dhc-brand-subtitle {
    font-size: 0.76rem;
    color: var(--dhc-text-muted);
    font-weight: 600;
}

.navbar .nav-link {
    color: #f2f2f2;
    font-weight: 600;
    opacity: 0.95;
}

.navbar .nav-link:hover {
    color: var(--dhc-orange);
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* =========================
   BOTONES
========================= */
.dhc-btn-primary {
    background: var(--dhc-orange);
    color: #111;
    border: none;
    border-radius: 999px;
    padding: 13px 22px;
    font-weight: 800;
    box-shadow: var(--dhc-shadow-orange);
    transition: var(--dhc-transition);
}

.dhc-btn-primary:hover {
    background: var(--dhc-orange-hover);
    color: #111;
    transform: translateY(-1px);
}

.dhc-btn-outline {
    background: transparent;
    color: var(--dhc-orange);
    border: 1px solid rgba(240, 145, 39, 0.35);
    border-radius: 999px;
    padding: 13px 22px;
    font-weight: 700;
    transition: var(--dhc-transition);
}

.dhc-btn-outline:hover {
    background: rgba(240, 145, 39, 0.08);
    color: #fff;
    border-color: rgba(240, 145, 39, 0.55);
}

.dhc-btn-danger {
    background: rgba(255, 70, 70, 0.12);
    color: #ff8a8a;
    border: 1px solid rgba(255, 70, 70, 0.20);
    border-radius: 999px;
    padding: 12px 22px;
    font-weight: 700;
    transition: var(--dhc-transition);
}

.dhc-btn-danger:hover {
    background: rgba(255, 70, 70, 0.18);
    color: #fff;
    border-color: rgba(255, 70, 70, 0.32);
}

.dhc-chip {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--dhc-border);
    color: #fff;
    border-radius: 999px;
    padding: 10px 16px;
    font-weight: 600;
    transition: var(--dhc-transition);
}

.dhc-chip:hover,
.dhc-chip.active {
    background: rgba(240, 145, 39, 0.12);
    color: var(--dhc-orange-hover);
    border-color: rgba(240, 145, 39, 0.30);
}

/* =========================
   BADGES
========================= */
.dhc-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(240, 145, 39, 0.10);
    color: var(--dhc-orange-hover);
    border: 1px solid rgba(240, 145, 39, 0.20);
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 0.84rem;
    font-weight: 700;
}

.dhc-status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 11px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: lowercase;
    border: 1px solid transparent;
}

.dhc-status-badge.is-public {
    background: rgba(0, 153, 255, 0.12);
    color: var(--dhc-info);
    border-color: rgba(113, 199, 255, 0.25);
}

.dhc-status-badge.is-private {
    background: rgba(240, 145, 39, 0.12);
    color: var(--dhc-orange-hover);
    border-color: rgba(240, 145, 39, 0.22);
}

.dhc-status-badge.is-published {
    background: rgba(31, 201, 120, 0.12);
    color: var(--dhc-success);
    border-color: rgba(98, 230, 164, 0.22);
}

.dhc-status-badge.is-draft {
    background: rgba(255, 255, 255, 0.08);
    color: #d5d5d5;
    border-color: rgba(255, 255, 255, 0.12);
}

.dhc-status-badge.is-featured {
    background: rgba(255, 215, 0, 0.10);
    color: var(--dhc-featured);
    border-color: rgba(255, 215, 0, 0.18);
}

/* =========================
   INPUTS
========================= */
.dhc-input {
    background: rgba(255, 255, 255, 0.035);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    min-height: 54px;
    padding: 12px 16px;
    transition: var(--dhc-transition);
}

.dhc-input:focus {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border-color: rgba(240, 145, 39, 0.45);
    box-shadow: 0 0 0 0.2rem rgba(240, 145, 39, 0.10);
}

.dhc-input::placeholder {
    color: #999;
}

textarea.dhc-input {
    min-height: 120px;
    resize: vertical;
}

/* =========================
   HOME MAPA / BUSCADOR
========================= */
.dhc-home-search-section {
    padding: 22px 0 16px;
}

.dhc-home-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 18px;
}

.dhc-home-header-copy {
    min-width: 0;
}

.dhc-home-main-title {
    font-size: clamp(2rem, 4vw, 3.4rem);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -0.05em;
    margin: 0 0 8px;
}

.dhc-home-main-subtitle {
    margin: 0;
    color: var(--dhc-text-soft);
    font-size: 1rem;
    line-height: 1.6;
}

.dhc-home-create-desktop {
    flex-shrink: 0;
}

.dhc-search-bar-wrap {
    margin-bottom: 14px;
}

.dhc-search-bar {
    display: flex;
    align-items: stretch;
    gap: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.022), rgba(255,255,255,0.012));
    border: 1px solid var(--dhc-border);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: var(--dhc-shadow-soft);
}

.dhc-search-main {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 18px;
    min-width: 320px;
    flex: 1.4;
}

.dhc-search-icon {
    color: var(--dhc-text-muted);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.dhc-search-input {
    background: transparent;
    border: none;
    color: #fff;
    min-height: 68px;
    width: 100%;
    outline: none;
    box-shadow: none;
    font-size: 0.98rem;
}

.dhc-search-input:focus {
    background: transparent;
    color: #fff;
    outline: none;
    box-shadow: none;
}

.dhc-search-input::placeholder {
    color: #9a9a9a;
}

.dhc-search-separator {
    width: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 14px 0;
}

.dhc-search-field {
    min-width: 180px;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.dhc-search-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--dhc-text-muted);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.dhc-search-mini-input {
    background: transparent;
    border: none;
    color: #fff;
    padding: 0;
    min-height: auto;
    box-shadow: none;
    outline: none;
    font-size: 0.95rem;
}

.dhc-search-mini-input:focus {
    background: transparent;
    border: none;
    color: #fff;
    box-shadow: none;
    outline: none;
}

.dhc-search-actions {
    display: flex;
    align-items: center;
    padding: 12px 14px 12px 8px;
    flex-shrink: 0;
}

.dhc-search-btn {
    min-width: 126px;
    min-height: 48px;
}

.dhc-quick-filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.dhc-quick-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.02);
    color: #eaeaea;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--dhc-transition);
}

.dhc-quick-chip:hover,
.dhc-quick-chip.active {
    background: rgba(240, 145, 39, 0.12);
    border-color: rgba(240, 145, 39, 0.28);
    color: var(--dhc-orange-hover);
}

.dhc-map-layout-section {
    padding-top: 8px;
}

.dhc-map-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(320px, 420px);
    gap: 18px;
    align-items: stretch;
}

.dhc-map-column,
.dhc-results-column {
    min-width: 0;
}

.dhc-map-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
    border: 1px solid var(--dhc-border);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--dhc-shadow-soft);
}

#dhc-map {
    width: 100%;
    min-height: 720px;
    z-index: 1;
}

.dhc-results-panel {
    background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
    border: 1px solid var(--dhc-border);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--dhc-shadow-soft);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.dhc-results-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 18px 18px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    background: rgba(255,255,255,0.015);
    backdrop-filter: blur(6px);
}

.dhc-results-header h2 {
    font-size: 1rem;
    font-weight: 800;
    margin: 0;
    letter-spacing: -0.02em;
}

.dhc-results-header span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    border-radius: 999px;
    background: rgba(240, 145, 39, 0.12);
    color: var(--dhc-orange-hover);
    font-weight: 800;
    font-size: 0.9rem;
}

.dhc-results-list {
    overflow: auto;
    max-height: 720px;
    padding: 6px;
}

/* =========================
   ITEM RESULTADO MEJORADO
========================= */
.dhc-result-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px;
    margin: 6px;
    border-radius: 18px;
    border: 1px solid transparent;
    color: #fff;
    transition: var(--dhc-transition);
    position: relative;
}

.dhc-result-item:last-child {
    margin-bottom: 8px;
}

.dhc-result-item:hover {
    background: rgba(255,255,255,0.03);
    border-color: rgba(255,255,255,0.06);
    color: #fff;
    transform: translateY(-1px);
}

.dhc-result-thumb {
    width: 82px;
    height: 82px;
    flex-shrink: 0;
    border-radius: 14px;
    overflow: hidden;
    background: #111;
    border: 1px solid rgba(255,255,255,0.06);
    box-shadow: 0 8px 18px rgba(0,0,0,0.18);
}

.dhc-result-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.dhc-result-item-body {
    flex: 1;
    min-width: 0;
}

.dhc-result-top {
    margin-bottom: 8px;
}

.dhc-result-category {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(240, 145, 39, 0.10);
    border: 1px solid rgba(240, 145, 39, 0.18);
    color: var(--dhc-orange-hover);
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1;
}

.dhc-result-item h3 {
    font-size: 0.98rem;
    font-weight: 800;
    line-height: 1.32;
    margin: 0 0 10px;
    color: #fff;
    letter-spacing: -0.01em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dhc-result-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    color: var(--dhc-text-soft);
    font-size: 0.84rem;
    margin-bottom: 8px;
}

.dhc-result-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.dhc-result-meta i,
.dhc-result-location i {
    color: var(--dhc-orange);
    flex-shrink: 0;
}

.dhc-result-location {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--dhc-text-soft);
    font-size: 0.88rem;
    line-height: 1.3;
}

.dhc-result-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dhc-text-muted);
    flex-shrink: 0;
    width: 28px;
    opacity: 0.8;
    transition: var(--dhc-transition);
}

.dhc-result-item:hover .dhc-result-arrow {
    color: var(--dhc-orange-hover);
    transform: translateX(2px);
    opacity: 1;
}

.dhc-results-empty {
    padding: 24px 18px;
    color: var(--dhc-text-soft);
}

/* =========================
   TARJETAS GENERALES
========================= */
.dhc-side-list,
.dhc-event-card,
.dhc-form-card,
.dhc-stat-card,
.dhc-cta-box,
.dhc-empty-box,
.dhc-location-map-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.012));
    border: 1px solid var(--dhc-border);
    border-radius: var(--dhc-radius-xl);
    box-shadow: var(--dhc-shadow-soft);
}

.dhc-side-list {
    padding: 24px;
}

.dhc-side-title {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 18px;
}

.dhc-side-item {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    color: #fff;
    transition: var(--dhc-transition);
}

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

.dhc-side-item:hover {
    transform: translateX(2px);
}

.dhc-side-item:hover strong {
    color: var(--dhc-orange-hover);
}

.dhc-empty-box {
    padding: 24px;
    color: var(--dhc-text-soft);
}

/* =========================
   MAP POPUP
========================= */
.dhc-custom-marker-wrapper {
    background: transparent;
    border: none;
}

.dhc-custom-marker {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--dhc-orange);
    color: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 18px rgba(240, 145, 39, 0.30);
    border: 2px solid rgba(255,255,255,0.85);
    font-size: 0.9rem;
}

.dhc-map-popup {
    width: 240px;
    overflow: hidden;
    border-radius: 16px;
}

.dhc-map-popup img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 10px;
}

.dhc-map-popup-body {
    padding: 2px 2px 4px;
}

.dhc-map-popup-category {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--dhc-orange);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.dhc-map-popup h6 {
    margin-bottom: 6px;
    font-size: 1rem;
    font-weight: 800;
    color: #111;
}

.dhc-map-popup-meta {
    font-size: 0.86rem;
    color: #4b4b4b;
    margin-bottom: 4px;
    line-height: 1.4;
}

.dhc-map-popup-link {
    display: inline-block;
    margin-top: 8px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #d87308;
}

.dhc-map-popup-link:hover {
    color: #b85f00;
}

.leaflet-popup-content-wrapper {
    border-radius: 18px;
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.25);
}

.leaflet-popup-content {
    margin: 12px;
}

.leaflet-popup-tip {
    box-shadow: none;
}

/* =========================
   CARD EVENTO
========================= */
.dhc-event-card {
    overflow: hidden;
    transition: var(--dhc-transition);
}

.dhc-event-card:hover {
    transform: translateY(-4px);
    border-color: rgba(240, 145, 39, 0.16);
    box-shadow: var(--dhc-shadow-medium);
}

.dhc-event-image {
    width: 100%;
    height: 240px;
    background: #111;
    overflow: hidden;
}

.dhc-event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.dhc-event-card:hover .dhc-event-image img {
    transform: scale(1.03);
}

.dhc-event-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dhc-text-muted);
    font-size: 2rem;
}

.dhc-meta {
    display: grid;
    gap: 8px;
    color: var(--dhc-text-soft);
    font-size: 0.95rem;
    line-height: 1.55;
}

.dhc-meta i {
    color: var(--dhc-orange);
    margin-right: 7px;
}

/* =========================
   PANEL / FORM
========================= */
.dhc-form-card {
    padding: 28px;
}

.dhc-stat-card {
    padding: 24px;
}

.dhc-stat-label {
    color: var(--dhc-text-soft);
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.dhc-stat-value {
    font-size: 2rem;
    font-weight: 900;
    color: var(--dhc-orange-hover);
    letter-spacing: -0.03em;
}

.dhc-form-section-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--dhc-orange-hover);
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: -4px;
}

.form-check-input {
    background-color: #1a1a1a;
    border-color: rgba(255,255,255,0.2);
}

.form-check-input:checked {
    background-color: var(--dhc-orange);
    border-color: var(--dhc-orange);
}

.form-check-label {
    color: var(--dhc-text-soft);
}

.dhc-admin-preview-image {
    width: 100%;
    height: 260px;
    border-radius: 22px;
    overflow: hidden;
    background: #111;
}

.dhc-admin-preview-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* =========================
   DETALLE / INVITACIÓN
========================= */
.dhc-detail-hero,
.dhc-invitation-hero {
    padding: 34px 0 28px;
}

.dhc-detail-cover,
.dhc-invitation-cover {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    min-height: 360px;
    background: #131313;
    border: 1px solid var(--dhc-border);
    box-shadow: var(--dhc-shadow-medium);
}

.dhc-detail-cover img,
.dhc-invitation-cover img {
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
}

.dhc-detail-cover-placeholder {
    min-height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dhc-text-muted);
    font-size: 3rem;
}

.dhc-detail-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 28px;
    background: linear-gradient(180deg, rgba(0,0,0,0.08), rgba(0,0,0,0.72));
}

.dhc-invitation-overlay {
    align-items: center;
    text-align: center;
}

.dhc-detail-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.04em;
    margin-bottom: 14px;
}

.dhc-detail-top-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
    color: #f1f1f1;
    font-weight: 600;
}

.dhc-detail-top-meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.dhc-detail-top-meta i {
    color: var(--dhc-orange);
}

.dhc-detail-text {
    color: var(--dhc-text-soft);
    line-height: 1.8;
    font-size: 1rem;
}

.dhc-detail-location-box {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 22px;
    padding: 22px;
}

.dhc-sticky-card {
    position: sticky;
    top: 100px;
}

.dhc-invitation-card {
    margin-top: -60px;
    position: relative;
    z-index: 2;
}

.dhc-invitation-info-grid {
    display: grid;
    gap: 14px;
    margin-bottom: 24px;
}

.dhc-invitation-info-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: rgba(255,255,255,0.025);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 20px;
    padding: 16px;
}

.dhc-invitation-info-item i {
    color: var(--dhc-orange);
    font-size: 1.2rem;
    margin-top: 2px;
}

.dhc-invitation-info-item strong {
    display: block;
    margin-bottom: 4px;
    color: #fff;
}

.dhc-invitation-info-item span {
    color: var(--dhc-text-soft);
    line-height: 1.5;
}

.dhc-invitation-block {
    padding-top: 22px;
    margin-top: 22px;
    border-top: 1px solid rgba(255,255,255,0.06);
}

/* =========================
   MAPA UBICACIÓN FORM
========================= */
.dhc-location-search-bar {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.dhc-location-search-bar .dhc-input {
    flex: 1 1 260px;
}

.dhc-location-map-card {
    overflow: hidden;
    background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.012));
    border: 1px solid var(--dhc-border);
    border-radius: 24px;
    box-shadow: var(--dhc-shadow-soft);
}

#mapa_ubicacion_evento {
    width: 100%;
    min-height: 380px;
    z-index: 1;
}

/* =========================
   CTA / FOOTER
========================= */
.dhc-cta-box {
    padding: 48px 24px;
    text-align: center;
}

.dhc-footer {
    background: #090909;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.dhc-footer h5,
.dhc-footer h6 {
    color: #fff;
}

.dhc-footer a {
    color: var(--dhc-text-soft);
}

.dhc-footer a:hover {
    color: var(--dhc-orange-hover);
}

.text-footer {
    color: var(--dhc-text-soft);
}

/* =========================
   BOTÓN FLOTANTE MÓVIL
========================= */
.dhc-floating-create {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 999;
    background: var(--dhc-orange);
    color: #111;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 18px;
    border-radius: 999px;
    box-shadow: 0 14px 34px rgba(0,0,0,0.32);
}

.dhc-floating-create:hover {
    color: #111;
    background: var(--dhc-orange-hover);
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1199.98px) {
    .dhc-map-layout {
        grid-template-columns: 1fr;
    }

    .dhc-results-list {
        max-height: none;
    }

    #dhc-map {
        min-height: 520px;
    }
}

@media (max-width: 991.98px) {
    .dhc-brand-subtitle {
        display: none;
    }

    .dhc-home-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .dhc-home-create-desktop {
        display: none;
    }

    .dhc-search-bar {
        flex-wrap: wrap;
        border-radius: 22px;
        padding: 12px;
        gap: 12px;
    }

    .dhc-search-main {
        min-width: 100%;
        flex: 1 1 100%;
        background: rgba(255,255,255,0.02);
        border: 1px solid rgba(255,255,255,0.06);
        border-radius: 16px;
        min-height: 56px;
    }

    .dhc-search-separator {
        display: none;
    }

    .dhc-search-field {
        min-width: calc(50% - 6px);
        background: rgba(255,255,255,0.02);
        border: 1px solid rgba(255,255,255,0.06);
        border-radius: 16px;
        min-height: 72px;
    }

    .dhc-search-actions {
        width: 100%;
        padding: 0;
    }

    .dhc-search-btn {
        width: 100%;
    }

    .dhc-sticky-card {
        position: static;
    }

    .dhc-invitation-card {
        margin-top: 24px;
    }

    #dhc-map {
        min-height: 420px;
    }
}

@media (max-width: 768px) {
    .dhc-home-header {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .dhc-home-header-copy {
        width: 100%;
        text-align: center;
    }

    .dhc-home-main-title,
    .dhc-home-main-subtitle {
        text-align: center;
    }

    .dhc-result-item {
        gap: 12px;
        padding: 11px;
        border-radius: 16px;
    }

    .dhc-result-thumb {
        width: 72px;
        height: 72px;
        border-radius: 12px;
    }

    .dhc-result-item h3 {
        font-size: 0.93rem;
        margin-bottom: 8px;
    }

    .dhc-result-meta {
        gap: 7px 10px;
        font-size: 0.8rem;
    }

    .dhc-result-location {
        font-size: 0.84rem;
    }

    .dhc-result-arrow {
        width: 20px;
    }
}

@media (max-width: 575.98px) {
    .dhc-container-fluid {
        padding-left: 14px;
        padding-right: 14px;
    }

    .dhc-navbar {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .dhc-brand {
        gap: 10px;
    }

    .dhc-brand-box {
        min-width: 44px;
        height: 44px;
        font-size: 0.95rem;
        border-radius: 14px;
    }

    .dhc-brand-title {
        font-size: 0.92rem;
    }

    .dhc-home-search-section {
        padding-top: 16px;
    }

    .dhc-home-main-title {
        font-size: 2rem;
        line-height: 1.02;
    }

    .dhc-home-main-subtitle {
        font-size: 0.98rem;
        line-height: 1.58;
    }

    .dhc-search-bar {
        padding: 10px;
        gap: 10px;
    }

    .dhc-search-field {
        min-width: 100%;
    }

    .dhc-quick-filters {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 4px;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .dhc-quick-filters::-webkit-scrollbar {
        display: none;
    }

    .dhc-quick-chip {
        white-space: nowrap;
    }

    #dhc-map {
        min-height: 320px;
    }

    .dhc-results-header,
    .dhc-side-list,
    .dhc-form-card,
    .dhc-stat-card,
    .dhc-cta-box {
        padding-left: 16px;
        padding-right: 16px;
    }

    .dhc-results-list {
        padding: 4px;
    }

    .dhc-result-item {
        align-items: flex-start;
        padding: 10px;
        margin: 5px;
        gap: 10px;
    }

    .dhc-result-thumb {
        width: 64px;
        height: 64px;
        border-radius: 11px;
    }

    .dhc-result-item h3 {
        font-size: 0.9rem;
        line-height: 1.28;
        margin-bottom: 7px;
    }

    .dhc-result-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        margin-bottom: 6px;
    }

    .dhc-result-location {
        font-size: 0.82rem;
    }

    .dhc-result-category {
        font-size: 0.66rem;
        padding: 5px 8px;
    }

    .dhc-event-image {
        height: 210px;
    }

    .dhc-detail-cover,
    .dhc-invitation-cover,
    .dhc-detail-cover img,
    .dhc-invitation-cover img,
    .dhc-detail-cover-placeholder {
        min-height: 280px;
    }

    .dhc-detail-overlay {
        padding: 20px;
    }

    .dhc-detail-title {
        font-size: 2rem;
    }

    .dhc-detail-top-meta {
        flex-direction: column;
        gap: 10px;
    }

    .dhc-location-search-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .dhc-location-search-bar .btn {
        width: 100%;
    }

    #mapa_ubicacion_evento {
        min-height: 300px;
    }
}


.dhc-map-popup {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    width: 260px;
}

.dhc-map-popup img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

.dhc-map-popup-body {
    flex: 1;
}

.dhc-map-popup h6 {
    font-size: 14px;
    margin: 2px 0 4px;
    line-height: 1.2;
}

.dhc-map-popup-category {
    font-size: 11px;
    font-weight: 600;
    color: #ff6b00;
    text-transform: uppercase;
}

.dhc-map-popup-meta {
    font-size: 12px;
    color: #6c757d;
}

.dhc-map-popup-link {
    font-size: 12px;
    font-weight: 600;
}

