/* =========================================
    Stylesheet principal - Cusco Escorts
    Desarrollado por Supersonic Network
    =========================================================
*/
/* =========================================
   1. VARIABLES
   ========================================= */
:root {
    --color-bg: #ffffff;
    --color-card: #ffffff;
    --color-primary: #ED008C;
    --color-primary-hover: #c40075;
    --color-text: #1a1a1a;
    --color-text-muted: #666666;
    --color-whatsapp: #25D366;
    --color-danger: #e74c3c;
    --color-border: #e5e5e5;
    --color-gray-100: #f9f9f9;
    --color-gray-200: #f4f4f5;
    --color-gray-300: #d1d5db;
    --cols-movil: 2;
    --cols-tablet: 2;
    --cols-desktop: 4;
    --cols-gigante: 6;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* =========================================
   2. RESET Y BASE
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    font-weight: 400;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    color: var(--color-text);
}

h1 {
    font-weight: 800;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.text-primary {
    color: var(--color-primary);
}

/* =========================================
   UTILIDADES Y ESTILOS REPETIDOS
   ========================================= */
.text-center {
    text-align: center;
}

.text-link,
.link-primary {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
}

.text-link:hover,
.link-primary:hover {
    text-decoration: underline;
}

.text-link-small {
    font-size: 0.9rem;
}

.notice {
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
}

.notice-error {
    background: #fee2e2;
    color: #991b1b;
    border-left: 4px solid #ef4444;
}

.notice-success {
    background: #dcfce7;
    color: #166534;
    border-left: 4px solid #16a34a;
}

.subtle-text {
    color: var(--color-text-muted);
}

.catalogo-title {
    font-family: 'Manrope', sans-serif;
    color: #1a1a1a;
    margin-bottom: 30px;
    font-size: 1.8rem;
}

.admin-page-title {
    margin-bottom: 20px;
}

.admin-search-form {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    max-width: 700px;
}

.admin-search-input {
    flex: 1;
    padding: 10px 16px;
    border-radius: 8px;
    border: 1px solid var(--color-border);
    font-size: 0.95rem;
}

.admin-search-button {
    padding: 10px 20px;
    border-radius: 8px;
    background: var(--color-primary);
    color: #fff;
    border: none;
    font-weight: 600;
    cursor: pointer;
}

.admin-clear-link {
    padding: 10px 20px;
    border-radius: 8px;
    background: var(--color-gray-200);
    color: var(--color-text);
    text-decoration: none;
    font-weight: 600;
}

.flag-img {
    width: 24px;
    height: 18px;
    vertical-align: middle;
    border-radius: 2px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.empty-results-card {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid var(--color-border);
    grid-column: 1 / -1;
}

.empty-results-copy {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 20px;
}

.empty-results-cta {
    display: inline-block;
    width: auto;
    padding: 12px 30px;
}

.search-page {
    padding-top: 42px;
}

.search-hero {
    margin-bottom: 38px;
    padding: 34px 36px 28px;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    background: linear-gradient(135deg, #fff 0%, #fff5f9 100%);
    box-shadow: var(--shadow-sm);
}

.search-heading {
    margin-bottom: 24px;
}

.search-heading h1 {
    margin-bottom: 6px;
    font-size: clamp(1.8rem, 4vw, 2.7rem);
}

.search-heading > p:last-child {
    color: var(--color-text-muted);
    margin: 0;
}

.search-kicker {
    margin: 0 0 5px;
    color: var(--color-primary);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.search-form {
    position: relative;
    display: flex;
    gap: 10px;
    margin-bottom: 34px;
}

.search-form input {
    min-width: 0;
    flex: 1;
    padding: 14px 16px 14px 42px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background: var(--color-gray-100);
    color: var(--color-text);
    font: inherit;
}

.search-form input:focus {
    outline: 2px solid rgba(237, 0, 140, 0.2);
    border-color: var(--color-primary);
    background: #fff;
}

.search-submit {
    padding: 0 22px;
    border: 0;
    border-radius: 8px;
    background: var(--color-primary);
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.search-submit:hover {
    background: var(--color-primary-hover);
}

.search-results-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.search-results-heading h2 {
    margin: 0;
    font-size: 1.35rem;
}

.search-results-heading span {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.search-suggestions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--color-text-muted);
    font-size: 0.85rem;
}

.search-suggestions a {
    padding: 5px 10px;
    border: 1px solid var(--color-border);
    border-radius: 20px;
    background: #fff;
    color: var(--color-text);
    font-weight: 600;
}

.search-suggestions a:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.category-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.category-nav a {
    padding: 7px 11px;
    border: 1px solid var(--color-border);
    border-radius: 20px;
    background: #fff;
    color: var(--color-text);
    font-size: 0.85rem;
    font-weight: 600;
}

.category-nav a:hover,
.category-nav a.active {
    border-color: var(--color-primary);
    background: var(--color-primary);
    color: #fff;
}

.search-result-count {
    padding: 5px 10px;
    border-radius: 20px;
    background: var(--color-gray-200);
}

.search-results-grid {
    margin-bottom: 50px;
}

.search-empty-state {
    margin-bottom: 60px;
}

@media (max-width: 600px) {
    .search-page {
        padding-top: 24px;
    }

    .search-hero {
        padding: 24px 18px 20px;
        border-radius: 10px;
    }

    .search-form {
        flex-wrap: wrap;
    }

    .search-form input {
        flex-basis: 100%;
    }

    .search-submit {
        min-height: 44px;
        width: 100%;
    }

    .search-results-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }
}

.admin-legend-dot-success {
    background: #16a34a;
}

.admin-legend-dot-warning {
    background: #ca8a04;
}

.admin-legend-dot-danger {
    background: #dc2626;
}

.admin-legend-dot-muted {
    background: #9ca3af;
}

.admin-inline-user {
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-inline-meta {
    color: var(--color-text-muted);
}

.profile-page {
    margin: 40px 0;
}

.profile-title {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    margin-bottom: 10px;
    font-size: 2rem;
}

.profile-message {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 500;
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
}

.profile-stats {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 30px;
    padding: 22px 24px;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    background: linear-gradient(135deg, #fff 0%, #fff5f9 100%);
}

.profile-stats h2 {
    margin: 0 0 4px;
    font-size: 1.2rem;
}

.profile-views-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    padding: 5px 8px;
    border-radius: 6px;
    background: var(--color-gray-200);
    color: var(--color-text);
    font-weight: 700;
}

.profile-legend-grid {
    display: grid;
    grid-template-columns: 60% 40%;
    gap: 20px;
    margin-bottom: 30px;
}

.profile-legend-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(255,240,245,0.9));
    padding: 25px;
    border-radius: 12px;
}

.profile-legend-card.secondary {
    background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(248,250,252,0.9));
}

.profile-legend-card h3,
.profile-insights h3 {
    color: var(--color-primary);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.profile-legend-stack {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    font-size: 0.85rem;
}

.profile-state-line {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
}

.profile-state-line.success {
    color: #16a34a;
}

.profile-state-line.warning {
    color: #d97706;
}

.profile-state-line.danger {
    color: #dc2626;
}

.profile-state-line.muted {
    color: #6b7280;
}

.profile-state-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.profile-state-dot.success {
    background: #16a34a;
}

.profile-state-dot.warning {
    background: #d97706;
}

.profile-state-dot.danger {
    background: #dc2626;
}

.profile-state-dot.muted {
    background: #6b7280;
}

.profile-state-text {
    margin: 5px 0 0 0;
    color: var(--color-text-muted);
}

.tab-content {
    display: block;
}

.tab-content.hidden {
    display: none;
}

.profile-placeholder {
    color: var(--color-text-muted);
    font-size: 1.2rem;
}

.auth-help {
    margin-top: 20px;
}

.modal-form-info {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin: 0 0 10px;
}

.modal-submit-btn {
    margin-top: 15px;
    width: 100%;
}

.tarifa-label,
.servicios-label {
    color: #fff;
}

.servicios-label {
    margin-bottom: 10px;
}

.profile-table-wrap {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.profile-table {
    width: 100%;
    border-collapse: collapse;
}

.profile-table thead {
    background: linear-gradient(135deg, rgba(220,38,127,0.1), rgba(255,255,255,0.1));
    border-bottom: 2px solid var(--color-border);
}

.profile-table th {
    padding: 15px;
    text-align: left;
    font-size: 0.75rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.profile-table th:nth-child(n+3),
.profile-table td:nth-child(n+3) {
    text-align: center;
}

.profile-table tr {
    border-bottom: 1px solid var(--color-border);
    transition: background 0.2s;
}

.profile-table tbody tr:hover {
    background: rgba(248, 250, 252, 0.6);
}

.profile-table td {
    padding: 15px;
    vertical-align: middle;
}

.profile-anuncio-cell {
    display: flex;
    align-items: center;
    gap: 15px;
}

.profile-anuncio-thumb {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.profile-anuncio-name {
    font-weight: 600;
    color: var(--color-text);
    font-size: 1rem;
}

.profile-anuncio-meta {
    color: var(--color-text-muted);
    font-size: 0.85rem;
    margin-top: 3px;
}

.profile-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.profile-status-pill.pending {
    background: rgba(251,191,36,0.15);
    color: #d97706;
}

.profile-status-pill.rejected {
    background: rgba(239,68,68,0.15);
    color: #dc2626;
}

.profile-status-pill.expired {
    background: rgba(200,200,200,0.2);
    color: #666;
}

.profile-status-pill.active {
    background: rgba(34,197,94,0.15);
    color: #16a34a;
}

.profile-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.profile-status-dot.pending {
    background: #d97706;
}

.profile-status-dot.rejected {
    background: #dc2626;
}

.profile-status-dot.expired {
    background: #999;
}

.profile-status-dot.active {
    background: #16a34a;
}

.profile-star {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    border-radius: 50%;
    color: white;
    font-size: 1rem;
}

.profile-empty-state {
    background: #fff;
    padding: 60px 40px;
    border-radius: 12px;
    border: 1px solid var(--color-border);
    text-align: center;
}

.profile-empty-state p {
    color: var(--color-text-muted);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.profile-empty-state a {
    display: inline-block;
    padding: 14px 32px;
    background: var(--color-primary);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s;
}

.profile-action-group {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.profile-inline-action {
    display: inline-flex;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
}

.profile-action-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.2s;
    text-decoration: none;
}

.profile-action-link.view { background: rgba(236,72,153,0.1); color: #ec4899; }
.profile-action-link.edit { background: rgba(251,191,36,0.1); color: #f59e0b; }
.profile-action-link.delete { background: rgba(239,68,68,0.1); color: #ef4444; }

.profile-action-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.profile-form-card {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    max-width: 600px;
}

.profile-form-group {
    margin-bottom: 20px;
}

.profile-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--color-text);
}

.profile-form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    font-size: 1rem;
}

.profile-form-divider {
    margin: 30px 0;
    border: none;
    border-top: 1px solid var(--color-border);
}

.profile-form-subtitle {
    margin-bottom: 20px;
    color: var(--color-text);
    font-size: 1.2rem;
}

.profile-form-help {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.profile-submit-btn {
    width: 100%;
    padding: 14px;
    background: var(--color-primary);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.profile-submit-btn:hover {
    background: var(--color-primary-hover);
}

.profile-section-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.profile-toggle-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    text-decoration: none;
    border: 0;
    padding: 0;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.profile-toggle-status.active {
    background: #16a34a;
    color: white;
}

.profile-toggle-status.inactive {
    background: #e5e7eb;
    color: #9ca3af;
}

.profile-verified-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(34,197,94,0.15);
    border-radius: 50%;
    color: #16a34a;
    font-size: 1.1rem;
}

.profile-expiration-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 10px;
    background: rgba(99,102,241,0.1);
    color: #4f46e5;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
}

.password-reset-page {
    max-width: 500px;
    margin: 80px auto;
    padding: 0 20px;
}

.password-reset-title {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    margin-bottom: 10px;
    font-size: 2rem;
    text-align: center;
}

.password-reset-subtitle {
    color: var(--color-text-muted);
    margin-bottom: 30px;
    text-align: center;
}

.password-reset-message {
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.password-reset-message.success {
    background: rgba(34,197,94,0.1);
    color: #16a34a;
}

.password-reset-message.error {
    background: rgba(239,68,68,0.1);
    color: #ef4444;
}

.password-reset-message strong {
    font-size: 1.5rem;
    color: var(--color-primary);
}

.password-reset-card {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.password-reset-form-group {
    margin-bottom: 20px;
}

.password-reset-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--color-text);
}

.password-reset-input {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    font-size: 1rem;
}

.password-reset-input.token {
    letter-spacing: 5px;
    text-align: center;
}

.password-reset-submit {
    width: 100%;
    padding: 14px;
    background: var(--color-primary);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.password-reset-submit:hover {
    background: var(--color-primary-hover);
}

.password-reset-footer {
    text-align: center;
    margin-top: 20px;
}

.password-reset-link {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 500;
}

.footer-logo-img {
    width: 180px;
    height: auto;
    opacity: 0.8;
    z-index: 1 !important;
    position: relative !important;
}

.footer-warning {
    margin-top: 10px;
    color: var(--color-danger);
    font-weight: 600;
}

.footer-contact-link {
    color: var(--color-primary);
    font-weight: 600;
}

/* =========================================
   3. HEADER
   ========================================= */
.header {
    background-color: #ffffff;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    height: 75px;
    padding: 0 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.header-desktop {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.header-mobile {
    display: none;
}

.header-logo {
    flex-shrink: 0;
}

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

.icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: #333;
    transition: all 0.2s ease;
}

.icon-btn:hover {
    background-color: var(--color-gray-200);
    color: var(--color-primary);
}

.icon-admin {
    color: var(--color-primary);
}

.icon-admin:hover {
    background-color: rgba(237, 0, 140, 0.1);
}

.btn-publicar {
    display: inline-block;
    margin-left: 10px;
    padding: 10px 22px;
    border-radius: 25px;
    background-color: var(--color-primary);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-publicar:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(237, 0, 140, 0.3);
}

.header-mobile .header-menu {
    position: relative;
    grid-column: 1;
    justify-self: start;
    z-index: 1001;
}

.header-mobile .header-menu-toggle {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: var(--color-text);
    cursor: pointer;
    list-style: none;
}

.header-mobile .header-menu-toggle::-webkit-details-marker {
    display: none;
}

.header-mobile .header-menu-toggle:hover,
.header-mobile .header-menu[open] .header-menu-toggle {
    background: var(--color-gray-200);
    color: var(--color-primary);
}

.header-mobile .header-menu-toggle svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
}

.header-mobile .header-menu-panel {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    display: grid;
    min-width: 230px;
    padding: 8px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    box-shadow: var(--shadow-md);
}

.header-mobile .header-menu-panel a {
    padding: 11px 12px;
    border-radius: 4px;
    color: var(--color-text);
    font-size: 0.95rem;
    font-weight: 600;
}

.header-mobile .header-menu-panel a:hover,
.header-mobile .header-menu-panel a:focus-visible {
    background: var(--color-gray-200);
    color: var(--color-primary);
}

.header-mobile .header-logo {
    grid-column: 2;
    justify-self: center;
    min-width: 0;
}

.logo-img {
    width: 200px;
    height: auto;
    display: block;
}

.header-mobile .header-publish-icon {
    grid-column: 3;
    justify-self: end;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--color-primary);
    color: #fff;
    box-shadow: 0 3px 10px rgba(237, 0, 140, 0.22);
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.header-mobile .header-publish-icon:hover {
    background: var(--color-primary-hover);
    color: #fff;
    transform: translateY(-1px);
}

.header-mobile .header-publish-icon svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
    stroke-linecap: round;
}

/* =========================================
   4. HERO SECTION
   ========================================= */
.hero-section {
    padding: 80px 0;
    margin-bottom: 40px;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-family: 'Inter', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    color: var(--color-text);
    margin-bottom: 15px;
    line-height: 1.2;
}

.hero-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    color: var(--color-text-muted);
    margin-bottom: 35px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-hero-primary {
    display: inline-block;
    background-color: var(--color-primary);
    color: white;
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(237, 0, 140, 0.2);
}

.btn-hero-primary:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(237, 0, 140, 0.3);
}

.btn-hero-secondary {
    display: inline-block;
    background-color: transparent;
    color: var(--color-text);
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid var(--color-border);
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-hero-secondary:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: translateY(-2px);
}

/* =========================================
   5. CARDS DE ANUNCIOS Y GRID
   ========================================= */

/* --- CONTROL DE GRID Y COLUMNAS --- */
.grid-anuncios {
    display: grid;
    grid-template-columns: repeat(var(--cols-movil), minmax(0, 1fr));
    gap: 25px;
    margin-bottom: 60px;
}

/* Sobrescribir columnas para la sección VIP (más grandes) */
.grid-vip {
    --cols-desktop: 4;
    --cols-gigante: 4;
}

/* Sobrescribir columnas para la sección Normales (más compactas) */
.grid-normales {
    --cols-desktop: 4;
    --cols-gigante: 5;
}

/* Media Queries para activar las columnas en pantallas grandes */
@media (min-width: 600px) { 
    .grid-anuncios { grid-template-columns: repeat(var(--cols-tablet), minmax(0, 1fr)); } 
}
@media (min-width: 900px) { 
    .grid-anuncios { grid-template-columns: repeat(var(--cols-desktop), minmax(0, 1fr)); } 
}
@media (min-width: 1400px) { 
    .grid-anuncios { grid-template-columns: repeat(var(--cols-gigante), minmax(0, 1fr)); } 
}

/* --- CARD BASE --- */
.card-anuncio {
    background-color: #fff; /* Forzamos blanco por si la variable falla */
    border-radius: 12px;
    overflow: hidden; 
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb; /* Borde base gris claro */
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: flex;       /* Asegura estructura vertical */
    flex-direction: column;
}

.card-anuncio:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* --- VARIANTES DE ESTADO --- */
.card-anuncio.vip {
    border: 2px solid #d4af37;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.15);
}

.card-anuncio.verified {
    border: 1px solid #16a34a;
}

/* Blanco y Negro Automático */
.card-anuncio.unavailable .card-img img {
    filter: grayscale(100%);
    opacity: 0.85;
}

/* --- IMAGEN (CRUCIAL PARA QUE NO SE VEAN RARAS) --- */
.card-img {
    position: relative; 
    width: 100%;
    aspect-ratio: 4 / 5;
    flex: 0 0 auto;
    overflow: visible;   /* PERMITE que la banda VIP sobresalga */
    background-color: #f3f4f6;
}

.card-img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;      /* Elimina espacio fantasma bajo imágenes */
}

/* --- BANDA VIP DIAGONAL --- */
.vip-ribbon {
    position: absolute;
    top: 12px;
    right: -25px;
    background: linear-gradient(135deg, #ffd700, #d4af37);
    color: white;
    padding: 5px 40px;
    font-size: 0.75rem;
    font-weight: 800;
    transform: rotate(45deg);
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    text-transform: uppercase;
    letter-spacing: 1px;
    pointer-events: none;
}

.new-badge {
    position: absolute;
    right: 12px;
    bottom: 12px;
    z-index: 6;
    padding: 4px 8px;
    border-radius: 5px;
    background: var(--color-primary);
    color: #fff;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.14);
}

/* --- BADGES DE ESTADO --- */
.card-en-linea {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(255,255,255,0.95);
    color: #16a34a;
    padding: 3px 8px;
    border-radius: 20px;
    font-size: 0.68rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    backdrop-filter: blur(4px);
    z-index: 5;
}

.card-en-linea .punto {
    width: 5px; height: 5px; background: #16a34a; border-radius: 50%;
}

.card-en-linea.inactiva { color: #666; background: rgba(229,231,235,0.95); }
.card-en-linea.inactiva .punto { background: #9ca3af; }

/* --- INFO DE LA CARD --- */
.card-info {
    padding: 15px;
    flex-grow: 1; /* Ocupa el resto del espacio */
}

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

.card-nombre {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

/* Check Verde Sólido */
.card-verificado {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px; height: 16px;
    background-color: #16a34a;
    border-radius: 50%;
    flex-shrink: 0;
}
.card-verificado svg { width: 10px; height: 10px; stroke: white; stroke-width: 3; }

.card-bandera { font-size: 1.2rem; line-height: 1; }

.card-edad { font-size: 0.9rem; color: #6b7280; margin-bottom: 6px; }
.card-edad strong { color: #1a1a1a; font-weight: 600; }

.card-ubicacion {
    display: flex; align-items: center; gap: 4px;
    font-size: 0.85rem; color: #9ca3af;
}
.card-ubicacion svg { width: 12px; height: 12px; stroke: #ec4899; } /* Color primario rosa */

/* =========================================
   6. FORMULARIOS
   ========================================= */
.form-container {
    max-width: 700px;
    margin: 40px auto;
    background-color: var(--color-card);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
}

.form-container h1 {
    color: var(--color-primary);
    text-align: center;
    margin-bottom: 10px;
}

.form-container>p {
    text-align: center;
    color: var(--color-text-muted);
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--color-text);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    background-color: var(--color-gray-200);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    color: var(--color-text);
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    background-color: white;
}

.btn-submit {
    width: 100%;
    padding: 15px;
    background-color: var(--color-primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 10px;
    font-family: 'Inter', sans-serif;
}

.btn-submit:hover {
    background-color: var(--color-primary-hover);
}

.form-alert {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 25px;
    border-left: 4px solid transparent;
}

.form-alert strong {
    display: block;
    margin-bottom: 8px;
}

.form-alert ul {
    margin: 0;
    padding-left: 20px;
}

.form-alert li {
    margin-bottom: 5px;
}

.form-alert-error {
    background: #fee2e2;
    color: #991b1b;
    border-left-color: #ef4444;
}

.form-alert-success {
    background: #dcfce7;
    color: #166534;
    border-left-color: #16a34a;
}

.form-help-text {
    color: var(--color-text-muted);
    display: block;
    margin-top: 5px;
}

.btn-submit.btn-submit-large {
    margin-top: 30px;
    padding: 18px;
    font-size: 1.15rem;
}

.gallery-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 12px;
    margin-top: 10px;
}

.gallery-preview-item {
    position: relative;
    text-align: center;
}

.gallery-preview-item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
}

.gallery-remove-label {
    display: block;
    margin-top: 5px;
    font-size: 0.8rem;
    color: #dc2626;
    cursor: pointer;
}

.gallery-preview-main {
    margin: 10px 0;
}

.gallery-preview-main img {
    width: 150px;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
}

/* =========================================
   7. PERFIL DETALLE - NUEVO DISEÑO 50/50
   ========================================= */
.perfil-detalle-nuevo {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 40px;
    margin: 40px 0;
}

/* COLUMNA IZQUIERDA: FOTOS */
.perfil-fotos-columna {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.foto-principal-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 3px solid var(--color-border);
    cursor: pointer;
    transition: border-color 0.3s;
}

.foto-principal-container:hover {
    border-color: var(--color-primary);
}

.foto-principal-container:focus-visible,
.collage-item:focus-visible {
    outline: 3px solid var(--color-primary);
    outline-offset: 3px;
}

.foto-principal-container.vip {
    border-color: #d4af37;
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.2);
}

.foto-principal-container.vip::before {
    content: 'VIP';
    position: absolute;
    top: 10px;
    right: -35px;
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 50%, #d4af37 100%);
    color: #ffffff;
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: 1px;
    padding: 8px 50px;
    transform: rotate(45deg);
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.foto-principal {
    width: 100%;
    height: auto;
    display: block;
    max-height: 700px;
    object-fit: cover;
    object-position: top center;
}

.foto-principal-label {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background-color: rgba(237, 0, 140, 0.9);
    color: white;
    padding: 8px 18px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    backdrop-filter: blur(8px);
}

/* GALERÍA 2 COLUMNAS */
.galeria-collage h3 {
    margin-bottom: 15px;
    color: var(--color-text);
    font-size: 1.1rem;
}

.collage-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.collage-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 1;
    border: 2px solid var(--color-border);
    transition: all 0.3s;
}

.collage-item:hover {
    border-color: var(--color-primary);
    transform: scale(1.02);
}

.collage-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.collage-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    opacity: 0;
    transition: opacity 0.3s;
}

.collage-item:hover .collage-overlay {
    opacity: 1;
}

/* COLUMNA DERECHA: INFO */
.perfil-info-columna {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.perfil-info-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 25px;
    box-shadow: var(--shadow-sm);
}

.single-header { order: 1; }
.datos-grid { order: 2; }
.servicios-panel { order: 3; }
.tarifa-panel { order: 4; }
.perfil-contacto { order: 5; }
.telefono-oculto-wrapper { order: 6; }
.mensaje-box-soft { order: 7; }
.mensaje-footer-outside { order: 8; }
.btn-denunciar { order: 9; }

/* BOTONES DE CONTACTO */
.perfil-contacto {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 0 0 24px;
}

.btn-contacto {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s;
    text-decoration: none;
}

.btn-contacto.whatsapp {
    background-color: var(--color-whatsapp);
    color: white;
}

.btn-contacto.whatsapp:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
}

.btn-contacto.llamar {
    background-color: var(--color-primary);
    color: white;
}

.btn-contacto.llamar svg {
    stroke: white;
    /* Ícono en blanco */
    fill: none;
}

.btn-contacto.llamar:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-2px);
}

/* BLOQUE DE MENSAJE FIRMADO */

.mensaje-texto {
    font-size: 1.05rem;
    color: var(--color-text);
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.mensaje-firma,
.mensaje-firma-soft {
    text-align: right;
    font-family: 'Alex Brush', cursive;
    font-size: 2rem;
    color: var(--color-primary);
    margin-top: 15px;
}

.mensaje-footer {
    text-align: center;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed var(--color-border);
}

.mensaje-footer strong {
    color: var(--color-primary);
}

/* =========================================
   9. PANEL DE ADMINISTRADOR
   ========================================= */

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table tr:last-child td {
    border-bottom: none;
}

.admin-table tr:hover td {
    background-color: #fafafa;
}

.admin-inline-form {
    display: inline;
}

.admin-empty-state {
    text-align: center;
    padding: 30px;
    color: var(--color-text-muted);
}

.admin-profile-inline {
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-muted-text {
    color: var(--color-text-muted);
}

.admin-account-meta {
    font-size: 0.85rem;
}

.admin-status-note {
    color: #9ca3af;
}

.admin-inspector-panel {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.admin-inspector-panel h2 {
    color: var(--color-primary);
    margin-bottom: 5px;
    font-size: 1.3rem;
}

.empty-state-panel {
    text-align: center;
    padding: 60px 20px;
}

.empty-state-title {
    color: var(--color-text);
    margin-bottom: 20px;
}

.empty-state-copy {
    color: var(--color-text-muted);
    margin-bottom: 30px;
}

.btn-volver-inicio {
    display: inline-block;
    padding: 12px 30px;
}

.status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.status-dot.success {
    background-color: #16a34a;
}

.status-dot.muted {
    background-color: #9ca3af;
}

.dato-item-full {
    grid-column: 1 / -1;
}

.tarifa-panel {
    margin-bottom: 25px;
}

.tarifa-valor {
    font-size: 1rem;
    font-weight: 800;
    color: var(--color-primary);
}

.servicios-panel {
    margin-top: 5px;
    margin-bottom: 25px;
}

.servicios-list {
    display: flex;
    flex-wrap: wrap;
    margin-top: 10px;
    gap: 8px;
}

.servicio-tag {
    background-color: var(--color-gray-200);
    color: var(--color-text);
    padding: 6px 12px;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
}

.related-profiles {
    margin: 56px 0 12px;
}

.related-profiles .catalogo-title {
    margin-bottom: 24px;
}

.related-profiles-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

@media (min-width: 481px) and (max-width: 899px) {
    .related-profiles .related-profiles-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }
}

.telefono-label {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 8px;
}

.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 50px;
    cursor: pointer;
    z-index: 10001;
    background: rgba(237, 0, 140, 0.5);
    padding: 15px;
    border-radius: 5px;
}

.lightbox-nav.prev {
    left: 20px;
}

.lightbox-nav.next {
    right: 20px;
}

.lightbox-image {
    display: block;
    margin: 50px auto 0;
    max-width: 90%;
    max-height: 85vh;
    border-radius: 10px;
}

.lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 1rem;
    background: rgba(0, 0, 0, 0.7);
    padding: 5px 15px;
    border-radius: 15px;
}

.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: capitalize;
}

.acciones {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.select-estado {
    padding: 6px 10px;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    font-size: 0.85rem;
    background-color: #fff;
    color: #333;
    cursor: pointer;
    transition: border-color 0.2s;
}

.select-estado:hover,
.select-estado:focus {
    outline: none;
    border-color: var(--color-primary);
}

/* =========================================
   10. FOOTER
   ========================================= */
.footer {
    background-color: var(--color-gray-100);
    border-top: 1px solid var(--color-border);
    padding: 50px 0 30px;
    margin-top: 80px;
    text-align: center;
}

.footer-logo {
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.footer-logo img {
    z-index: auto !important;
    position: relative !important;
}

.footer-disclaimer {
    max-width: 800px;
    margin: 0 auto 30px;
    padding: 25px;
    background-color: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    font-size: 0.95rem;
    color: #444444;
    line-height: 1.7;
}

.footer-disclaimer p {
    margin-bottom: 12px;
}

.footer-disclaimer p:last-child {
    margin-bottom: 0;
}

.footer-bottom {
    border-top: 1px solid var(--color-border);
    padding-top: 25px;
    font-size: 0.95rem;
    color: #555555;
}

.footer-contact {
    margin-bottom: 15px;
}

.footer-contact a {
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: none;
}

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

.copyright {
    font-weight: 500;
    color: #333333;
}

.footer-legal-links {
    margin-top: 15px;
    font-size: 0.9rem;
}

.footer-legal-links a {
    color: #555555;
    margin: 0 10px;
    transition: color 0.2s;
    text-decoration: none;
}

.footer-legal-links a:hover {
    color: var(--color-primary);
    text-decoration: underline;
}

/* BOTÓN IR ARRIBA */
.btn-ir-arriba {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--color-primary);
    color: white;
    border: none;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(237, 0, 140, 0.4);
    transition: all 0.3s ease;
    z-index: 999;
}

.btn-ir-arriba:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-3px);
}

/* =========================================
   12. RESPONSIVE
   ========================================= */
@media (max-width: 768px) {
    .profile-stats {
        align-items: flex-start;
        padding: 18px;
    }

    .header-container {
        padding: 0 15px;
        height: 68px;
    }

    .header-desktop {
        display: none;
    }

    .header-mobile {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
        align-items: center;
        height: 100%;
    }

    .logo-img {
        width: 150px;
    }

    .hero-section {
        padding: 50px 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        text-align: center;
    }

    .grid-anuncios {
        grid-template-columns: repeat(var(--cols-movil), minmax(0, 1fr));
        gap: 15px;
    }

    .card-info {
        padding: 14px 15px 16px;
    }

    .card-nombre {
        font-size: 1.1rem;
    }

    .perfil-detalle-nuevo {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .foto-principal {
        max-height: 500px;
    }

    .perfil-info-columna {
        position: static;
    }

    .collage-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .admin-table th,
    .admin-table td {
        padding: 10px;
        font-size: 0.85rem;
    }

    .acciones {
        flex-direction: column;
    }

    .footer {
        padding: 30px 0 20px;
    }

    .footer-disclaimer {
        padding: 20px 15px;
        font-size: 0.9rem;
        margin: 0 15px 30px;
    }

    .footer-legal-links a {
        display: block;
        margin: 8px 0;
    }

    .btn-ir-arriba {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }

}

@media (max-width: 480px) {
    .header-container {
        height: 62px;
        padding: 0 12px;
    }

    .header-logo .logo-img {
        width: 126px;
    }

    .header-mobile .header-menu-toggle,
    .header-mobile .header-publish-icon {
        width: 38px;
        height: 38px;
    }

    .header-mobile .header-menu-panel {
        top: calc(100% + 6px);
        min-width: min(230px, calc(100vw - 24px));
    }

    .related-profiles .related-profiles-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }

    .single-row-1 {
        align-items: flex-start;
        gap: 8px;
    }

    .single-nombre {
        min-width: 0;
        flex: 1 1 auto;
        overflow-wrap: anywhere;
        font-size: 1.3rem;
    }

    .single-bandera {
        flex: 0 0 auto;
        font-size: 1.5rem;
    }

    .badge-moderno {
        gap: 4px;
        padding: 4px 8px;
        font-size: 0.72rem;
    }

    .foto-principal-label {
        right: 8px;
        bottom: 8px;
        max-width: calc(100% - 16px);
        padding: 5px 9px;
        border-radius: 6px;
        font-size: 0.72rem;
        line-height: 1.2;
    }

    .foto-principal-container.vip::before {
        top: 7px;
        right: -31px;
        padding: 5px 38px;
        font-size: 0.72rem;
    }

    .foto-principal {
        max-height: 400px;
    }

    .perfil-detalle-nuevo {
        gap: 20px;
    }

    .mensaje-firma {
        font-size: 1.5rem;
    }
}

/* =========================================
   SINGLE PERFIL - REDISEÑO MODERNO
   ========================================= */

/* Encabezado del Perfil */
.single-header {
    margin-bottom: 25px;
}

.single-row-1 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.single-nombre {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-text);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Check moderno (Sleek) */
.check-moderno {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background-color: #16a34a;
    /* Azul moderno tipo Twitter/IG */
    border-radius: 50%;
}

.check-moderno svg {
    width: 12px;
    height: 12px;
    stroke: white;
    stroke-width: 3;
    fill: none;
}

.single-bandera {
    font-size: 2rem;
}

.single-row-2 {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* Badges modernos (Texto limpio) */
.badge-moderno {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.badge-verificada {
    background-color: #f0f9ff;
    color: #0284c7;
    border: 1px solid #bae6fd;
}

.badge-disponible {
    background-color: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
}

.badge-no-disponible {
    background-color: #f9fafb;
    color: #6b7280;
    border: 1px solid #e5e7eb;
}

/* Tabla de Datos 2 Columnas */
.dato-item {
    display: block;
    padding: 8px 0;
}

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

.dato-label {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    font-weight: 600;
    display: inline;
    margin-bottom: 20px;
}

.dato-valor {
    font-size: 0.95rem;
    color: var(--color-text);
    font-weight: 600;
    display: inline;
    margin-left: 8px;
}

/* Caja de Mensaje Suave */
.mensaje-box-soft {
    background-color: #fff5f9;
    /* Rosa muy suave, sin degradado */
    padding: 30px;
    border-radius: 12px;
    margin: 30px 0 10px 0;
    position: relative;
}

.mensaje-box-soft::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 4rem;
    color: var(--color-primary);
    opacity: 0.15;
    font-family: Georgia, serif;
    line-height: 1;
}

.mensaje-texto-soft {
    font-size: 1.05rem;
    color: var(--color-text);
    line-height: 1.7;
    font-style: italic;
    position: relative;
    z-index: 1;
}

.mensaje-footer-outside {
    text-align: center;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 30px;
    font-style: italic;
}

.mensaje-footer-outside strong {
    color: var(--color-primary);
}

/* Teléfono Oculto */
.telefono-oculto-wrapper {
    background-color: var(--color-gray-100);
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    margin: 20px 0;
    border: 1px solid var(--color-border);
}

.telefono-mascarado {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--color-text);
    margin-right: 10px;
}

.btn-revelar {
    background: none;
    border: none;
    color: var(--color-primary);
    font-weight: 600;
    cursor: pointer;
    font-size: 0.9rem;
    transition: opacity 0.2s;
}

.btn-revelar:hover {
    opacity: 0.7;
}

/* Botón Denunciar */
.btn-denunciar {
    display: block;
    width: 100%;
    padding: 12px;
    background-color: transparent;
    color: #9ca3af;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 30px;
    transition: all 0.2s;
    cursor: pointer;
}

.btn-denunciar:hover {
    background-color: #fee2e2;
    color: #ef4444;
    border-color: #fca5a5;
}

/* Galería Título */
.galeria-titulo {
    color: #808080;
    /* Gris 80% */
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.galeria-titulo svg {
    stroke: var(--color-primary);
}

/* Responsive para el single */
@media (max-width: 768px) {
    .perfil-detalle-nuevo {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    .perfil-info-card {
        padding: 20px;
    }

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

    .single-nombre {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .perfil-contacto {
        grid-template-columns: 1fr;
    }

    .perfil-info-card {
        padding: 16px;
    }

    .datos-grid {
        gap: 10px 8px;
    }

    .dato-item {
        align-items: flex-start;
        flex-direction: column;
        gap: 2px;
    }

    .dato-valor {
        padding-left: 0;
        text-align: left;
        overflow-wrap: anywhere;
    }
}

/* =========================================
   13. SUBIDA DE ARCHIVOS
   ========================================= */
.file-upload-wrapper {
    position: relative;
    margin-top: 10px;
}

.file-upload-input {
    position: absolute;
    left: -9999px;
    opacity: 0;
}

.file-upload-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background-color: var(--color-gray-200);
    border: 2px dashed var(--color-border);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    color: var(--color-text-muted);
}

.file-upload-label:hover {
    background-color: var(--color-gray-100);
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.file-upload-label svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
}

.file-upload-info {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-top: 8px;
}

.file-counter {
    display: inline-block;
    margin-left: 10px;
    padding: 4px 10px;
    background-color: var(--color-primary);
    color: white;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Contador de caracteres */
.char-counter {
    text-align: right;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-top: 5px;
}

.char-counter .remaining {
    color: var(--color-primary);
    font-weight: 600;
}

.char-counter .warning {
    color: #f59e0b;
}

.char-counter .danger {
    color: #ef4444;
}

/* =========================================
   FORMULARIO PUBLICAR - ANCHO AMPLIADO
   ========================================= */
.form-container.amplio {
    max-width: 950px;
    padding: 40px 50px;
}

.publish-progress {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 0 0 34px;
    padding: 0;
    list-style: none;
}

.publish-progress li {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 10px 12px;
    border-bottom: 2px solid var(--color-border);
    color: var(--color-text-muted);
    font-size: 0.9rem;
    font-weight: 600;
}

.publish-progress li span {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    border-radius: 50%;
    background: var(--color-gray-200);
    color: var(--color-text-muted);
}

.publish-progress li.active {
    border-color: var(--color-primary);
    color: var(--color-text);
}

.publish-progress li.active span {
    background: var(--color-primary);
    color: #fff;
}

.publish-progress li.complete {
    border-color: #16a34a;
    color: #166534;
}

.publish-progress li.complete span {
    background: #16a34a;
    color: #fff;
}

.publish-step[hidden] {
    display: none !important;
}

.publish-step-heading {
    margin: 0 0 28px;
}

.publish-step-heading h2 {
    margin: 0 0 6px;
    font-size: 1.55rem;
}

.publish-step-heading > p:last-child {
    color: var(--color-text-muted);
    margin: 0;
}

.publish-step-kicker {
    margin: 0 0 5px;
    color: var(--color-primary);
    font-size: 0.75rem;
    font-weight: 800;
}

.publish-step-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 28px;
}

.publish-step-actions .publish-next,
.publish-step-actions .btn-submit-large {
    width: min(100%, 260px);
    margin: 0;
}

.publish-back {
    min-height: 48px;
    padding: 10px 16px;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    background: #fff;
    color: var(--color-text);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.publish-back:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.publish-review {
    margin-top: 28px;
    padding: 20px 0 4px;
    border-top: 1px solid var(--color-border);
}

.publish-review h3 {
    margin-top: 0 !important;
}

.publish-review p {
    margin: 7px 0;
    color: var(--color-text-muted);
}

.publish-review strong {
    color: var(--color-text);
}

.form-container.amplio h3 {
    color: #333333;
    /* Negro al 80%, no tan oscuro */
    font-size: 1.3rem;
    font-weight: 700;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--color-gray-200);
    margin-top: 35px;
    margin-bottom: 25px;
}

.form-container.amplio h3:first-of-type {
    margin-top: 10px;
}

/* Grid de 3 columnas para campos cortos */
.form-row-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* Grid de 2 columnas */
.form-row-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* Checkboxes de servicios más grandes y cómodos */
.checkbox-grid-servicios {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
    margin-top: 10px;
}

.checkbox-grid-servicios label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background-color: var(--color-gray-100);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.95rem;
    color: var(--color-text);
}

.checkbox-grid-servicios label:hover {
    background-color: #fff5f9;
    border-color: var(--color-primary);
}

.checkbox-grid-servicios input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--color-primary);
    cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
    .form-container.amplio {
        padding: 25px 20px;
    }

    .publish-progress {
        gap: 4px;
        margin-bottom: 26px;
    }

    .publish-progress li {
        justify-content: center;
        gap: 6px;
        padding: 8px 4px;
        font-size: 0.75rem;
    }

    .publish-progress li span {
        width: 24px;
        height: 24px;
        flex-basis: 24px;
    }

    .publish-step-heading h2 {
        font-size: 1.35rem;
    }

    .form-row-3,
    .form-row-2 {
        grid-template-columns: 1fr;
    }

    .checkbox-grid-servicios {
        grid-template-columns: 1fr;
    }

    .publish-step-actions .publish-next,
    .publish-step-actions .btn-submit-large {
        width: 68%;
    }
}

/* =====================================================
   PANEL ADMIN PROFESIONAL (VERSIÓN ÚNICA)
   ===================================================== */
.admin-wide {
    width: 98%;
    max-width: 1600px;
    margin: 30px auto;
}

.admin-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.admin-tab {
    padding: 8px 16px;
    border-radius: 20px 20px 0 0;
    background: var(--color-gray-200);
    color: var(--color-text);
    font-weight: 600;
    font-size: .9rem;
    text-decoration: none;
}

.admin-tab.active {
    background: var(--color-primary);
    color: #fff;
}

.admin-legend {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    background: white;
    padding: 12px 18px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: .85rem;
    color: var(--color-text-muted);
}

.legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 6px;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .08);
}

.admin-table th {
    background: var(--color-gray-100);
    padding: 12px;
    text-align: left;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--color-text-muted);
    border-bottom: 1px solid var(--color-border);
}

.admin-table td {
    padding: 10px 5px;
    border-top: 1px solid var(--color-gray-200);
    border-bottom: 1px solid var(--color-gray-200);
    color: #333;
    vertical-align: middle;
    font-size: .9rem;
}

.admin-thumb {
    width: 48px;
    height: 48px;
    object-fit: cover;
    object-position: top;
    border-radius: 8px;
}

/* Selector de ESTADO (colores) */
.estado-select {
    padding: 5px 10px;
    border-radius: 12px;
    border: 1px solid transparent;
    font-size: .78rem;
    font-weight: 700;
    cursor: pointer;
}

.estado-select-activo,
.badge-estado-activo {
    background: #dcfce7;
    color: #16a34a;
}

.estado-select-pendiente,
.badge-estado-pendiente {
    background: #fef9c3;
    color: #ca8a04;
}

.estado-select-rechazado,
.badge-estado-rechazado {
    background: #fee2e2;
    color: #dc2626;
}

/* Selects e inputs de la pestaña USUARIOS */
.admin-select {
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid var(--color-border);
    background: #fff;
    font-size: .9rem;
    color: var(--color-text);
    cursor: pointer;
}

.admin-input,
.admin-table input[type="number"] {
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid var(--color-border);
    background: #fff;
    font-size: .9rem;
    text-align: center;
    width: 80px;
}

/* Colores por ROL */
.rol-independiente {
    background: #f0f9ff;
    color: #0369a1;
    border-color: #bae6fd;
}

.rol-manager {
    background: #faf5ff;
    color: #7e22ce;
    border-color: #e9d5ff;
}

.rol-agencia {
    background: #fffbeb;
    color: #b45309;
    border-color: #fde68a;
}

.rol-admin {
    background: #fef2f2;
    color: #b91c1c;
    border-color: #fecaca;
}

/* Badges de estado */
.badge-estado {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: .75rem;
    font-weight: 700;
    white-space: nowrap;
}

.badge-estado-vencido {
    background: #e5e7eb;
    color: #6b7280;
}

/* Botones de gestión */
.admin-btn {
    border: none;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: .85rem;
    margin-right: 4px;
    text-decoration: none;
    display: inline-block;
}

.admin-btn.on {
    background: var(--color-primary);
    color: #fff;
}

.admin-btn.off {
    background: var(--color-gray-200);
    color: var(--color-text-muted);
}

.admin-btn.aprobar {
    background: #dcfce7;
    color: #16a34a;
}

.admin-btn.rechazar {
    background: #fee2e2;
    color: #dc2626;
}

.admin-btn.eliminar {
    background: transparent;
    padding: 4px 6px;
}

.admin-btn.eliminar svg {
    position: relative;
    top: 2px;
}

.admin-btn.ver {
    background: #e0e7ff;
    color: #4338ca;
}

/* ===== MODAL DENUNCIA ===== */
.modal-overlay {
    position: fixed !important;
    inset: 0;
    background: rgba(0, 0, 0, .6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999 !important;
    padding: 20px;
}

.modal-overlay.activo {
    display: flex !important;
}

.modal-caja {
    background: #fff;
    border-radius: 14px;
    padding: 25px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, .3);
}

.modal-cabecera {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.modal-cabecera h3 {
    margin: 0;
    color: var(--color-text);
    font-size: 1.15rem;
}

.modal-cerrar {
    background: none;
    border: none;
    font-size: 1.6rem;
    cursor: pointer;
    color: var(--color-text-muted);
    line-height: 1;
}

.modal-caja label {
    display: block;
    font-weight: 600;
    margin: 12px 0 6px;
    font-size: .9rem;
}

.modal-caja select,
.modal-caja textarea {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid var(--color-border);
    font-size: .9rem;
}

/* MODAL: siempre encima de TODO */
#modalDenuncia {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 9999999 !important;
    display: none !important;
}

#modalDenuncia[style*="flex"] {
    display: flex !important;
}

/* Footer: siempre abajo */
footer,
.footer {
    position: relative !important;
    z-index: 1 !important;
}

/* ===== MODAL VERIFICACIÓN DE EDAD ===== */
.modal-edad-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 99999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-edad-caja {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    max-width: 500px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal-edad-logo {
    margin-bottom: 30px;
}

.modal-edad-logo img {
    max-width: 200px;
    height: auto;
}

.modal-edad-contenido h2 {
    color: #dc2626;
    font-size: 1.3rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.modal-edad-contenido p {
    color: var(--color-text);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.modal-edad-alerta {
    background: #fee2e2;
    padding: 12px;
    border-radius: 8px;
    color: #991b1b !important;
    font-weight: 600;
}

.modal-edad-botones {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 30px;
}

.btn-edad-entrar {
    background: var(--color-primary);
    color: #fff;
    border: none;
    padding: 16px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-edad-entrar:hover {
    background: #db2777;
    transform: translateY(-2px);
}

.btn-edad-entrar:focus-visible,
.btn-edad-salir:focus-visible {
    outline: 3px solid #111827;
    outline-offset: 3px;
}

.btn-edad-salir {
    background: var(--color-gray-200);
    color: var(--color-text);
    border: none;
    padding: 16px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-edad-salir:hover {
    background: var(--color-gray-300);
}

@media (max-width: 768px) {
    .modal-edad-caja {
        padding: 30px 20px;
    }

    .modal-edad-contenido h2 {
        font-size: 1.1rem;
    }

    .modal-edad-contenido p {
        font-size: 0.9rem;
    }
}

/* ===== DECORACION: planes, pagos, panel (bloque simple, editar aqui) ===== */
.planes-page { padding: 40px 16px 60px; max-width: 1100px; margin: 0 auto; }
.planes-hero { text-align: center; margin-bottom: 36px; }
.planes-hero h1 { font-family: 'Manrope', sans-serif; font-size: 2.2rem; color: var(--color-primary); margin-bottom: 8px; }
.planes-hero p { color: var(--color-text-muted); max-width: 520px; margin: 0 auto; }

.planes-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; margin-bottom: 40px; }
.plan-card { background: #fff; border: 1px solid var(--color-border); border-radius: 16px; padding: 24px 20px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.plan-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.plan-card h2 { font-size: 1.4rem; margin: 10px 0 4px; }
.plan-card--destacado { border: 2px solid #16a34a; }
.plan-card--vip { border: 2px solid var(--color-primary); background: linear-gradient(180deg, #fff0f8, #fff 45%); }
.plan-tag { align-self: flex-start; font-size: .75rem; font-weight: 700; padding: 4px 10px; border-radius: 20px; background: #f3f4f6; color: #555; }
.plan-tag--verde { background: #dcfce7; color: #15803d; }
.plan-tag--vip { background: var(--color-primary); color: #fff; }
.plan-precio { font-size: 2rem; font-weight: 800; margin: 6px 0 14px; }
.plan-precio small { display: block; font-size: .8rem; font-weight: 500; color: var(--color-text-muted); }
.plan-lista { list-style: none; padding: 0; margin: 0 0 20px; flex: 1; }
.plan-lista li { padding: 6px 0 6px 24px; position: relative; font-size: .92rem; }
.plan-lista li::before { content: "✓"; position: absolute; left: 0; color: #16a34a; font-weight: 800; }
.plan-boton { display: block; text-align: center; padding: 12px; border-radius: 30px; font-weight: 700; background: var(--color-primary); color: #fff; text-decoration: none; }
.plan-boton:hover { background: var(--color-primary-hover); }
.plan-boton--suave { background: #fde7f4; color: var(--color-primary); }
.plan-boton--suave:hover { background: #fbcfe8; }
.plan-boton--vip { background: linear-gradient(90deg, #ED008C, #ff5db1); }

.planes-info { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.info-card { background: #fff; border-left: 4px solid var(--color-primary); border-radius: 10px; padding: 16px 18px; box-shadow: var(--shadow-sm); }
.info-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.info-card p { font-size: .92rem; color: var(--color-text-muted); line-height: 1.5; margin: 0; }
.info-card a { color: var(--color-primary); font-weight: 600; }

/* Panel: botones de accion con texto */
.profile-action-link.con-texto, .profile-action-group button.profile-action-link {
    width: auto; height: 36px; padding: 0 12px; border: none; border-radius: 18px;
    font-size: .8rem; font-weight: 700; white-space: nowrap; cursor: pointer;
    display: inline-flex; align-items: center; gap: 4px; text-decoration: none;
}
.profile-action-link.subir { background: #e0f2fe; color: #0369a1; }
.profile-action-link.renew { background: #16a34a; color: #fff; }
.profile-action-link.renew:hover { background: #15803d; }
.profile-table .fila-vencida { background: #f9fafb; }
.profile-table .fila-vencida .profile-anuncio-name { color: #777; }

.boton-pagar { display: inline-block; margin: 8px 0 16px; padding: 10px 20px; background: var(--color-primary); color: #fff; border-radius: 30px; font-weight: 700; text-decoration: none; }
.boton-pagar:hover { background: var(--color-primary-hover); }

/* Avisos de color */
.aviso { padding: 14px 16px; border-radius: 10px; margin-bottom: 16px; line-height: 1.5; }
.aviso a { font-weight: 700; text-decoration: underline; }
.aviso--alerta { background: #fffbeb; border: 1px solid #fcd34d; color: #92400e; }

/* Estados de pago y datos de pago */
.estado-pago { display: inline-block; padding: 3px 10px; border-radius: 12px; font-size: .75rem; font-weight: 700; }
.estado-pago.pendiente { background: #fef3c7; color: #92400e; }
.estado-pago.aprobado { background: #dcfce7; color: #15803d; }
.estado-pago.rechazado { background: #fee2e2; color: #b91c1c; }

/* ===== HEADER: menú hamburguesa en escritorio ===== */

/* ===== ADMIN: partes, chips, leyenda, tablas ===== */
.admin-parts {
    display: flex;
    gap: 12px;
    margin-bottom: 18px;
}

.admin-part-btn {
    flex: 1;
    text-align: center;
    padding: 16px 20px;
    border-radius: 12px;
    background: var(--color-gray-200);
    color: var(--color-text);
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: .05em;
    text-decoration: none;
}

.admin-part-btn.active {
    background: var(--color-primary);
    color: #fff;
}

.admin-chips .admin-tab {
    border-radius: 20px 20px 0 0 ;
}

.admin-subtitle {
    margin: 0 0 14px;
    color: var(--color-text-muted);
    font-size: .95rem;
}

.admin-legend-toggle {
    display: none;
}

.admin-email {
    display: inline-block;
    max-width: 240px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: bottom;
}

.admin-anuncios-cell {
    white-space: nowrap;
}

.admin-anuncios-cell .admin-input {
    width: 64px;
    padding: 6px;
}

.admin-identidad-line {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.admin-table form.admin-inline-form {
    display: inline;
}

@media (max-width: 767px) {
    .admin-parts {
        flex-direction: column;
    }

    .admin-part-btn {
        width: 100%;
        min-height: 52px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .admin-legend-wrap {
        position: relative;
        margin-bottom: 14px;
    }

    .admin-legend-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border: none;
        border-radius: 50%;
        background: var(--color-gray-200);
        font-weight: 800;
        cursor: pointer;
    }

    .admin-legend-wrap .admin-legend {
        display: none;
        margin: 8px 0 0;
    }

    .admin-legend-wrap.open .admin-legend {
        display: flex;
    }

    .admin-tabs {
        gap: 6px;
    }

    .admin-tab {
        padding: 10px 14px;
    }

    .admin-table,
    .admin-table thead,
    .admin-table tbody,
    .admin-table tr,
    .admin-table td {
        display: block;
        width: 100%;
    }

    .admin-table {
        background: transparent;
        box-shadow: none;
    }

    .admin-table thead {
        display: none;
    }

    .admin-table tr {
        background: #fff;
        border-radius: 10px;
        box-shadow: 0 1px 3px rgba(0, 0, 0, .12);
        margin-bottom: 14px;
        padding: 6px 0;
    }

    .admin-table tr:hover td {
        background: transparent;
    }

    .admin-table td {
        border-top: none;
        padding: 8px 14px;
        box-sizing: border-box;
    }

    .admin-table td::before {
        content: attr(data-label);
        display: block;
        font-size: .7rem;
        font-weight: 700;
        text-transform: uppercase;
        color: var(--color-text-muted);
        margin-bottom: 3px;
    }

    .admin-table td.admin-empty-state::before {
        content: none;
    }

    .admin-table .admin-btn {
        min-width: 40px;
        min-height: 40px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .admin-table .estado-select,
    .admin-table .admin-select {
        min-height: 40px;
    }

    .admin-email {
        max-width: 100%;
    }
}

/* ===== MI PERFIL: cabecera, consejos, tarjetas móviles ===== */
.codigo-personal {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-weight: 700;
    letter-spacing: .08em;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}

.profile-header .profile-title {
    margin: 0;
    font-size: 1.6rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.profile-codigo {
    color: var(--color-text-muted);
    font-size: .95rem;
    white-space: nowrap;
}

.profile-codigo .codigo-personal {
    color: var(--color-primary);
    font-size: 1.05rem;
}

.profile-header-link {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 40px;
    color: var(--color-text);
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.profile-header-link:hover {
    color: var(--color-primary);
}

.profile-stats-line {
    margin-bottom: 22px;
    padding: 12px 18px;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    background: linear-gradient(135deg, #fff 0%, #fff5f9 100%);
    font-size: .95rem;
}

.profile-stats-line strong {
    color: var(--color-primary);
    font-size: 1.15rem;
    margin-left: 4px;
}

#vista-anuncios .profile-legend-grid {
    margin-top: 30px;
}

.profile-tips {
    display: grid;
    gap: 12px;
    align-content: start;
}

.profile-tips .info-card.tip-verde {
    border-left-color: #16a34a;
    background: #f0fdf4;
}

.profile-tips .info-card.tip-ambar {
    border-left-color: #d97706;
    background: #fffbeb;
}

.profile-tips .info-card.tip-rosa {
    border-left-color: var(--color-primary);
    background: #fff5f9;
}

@media (max-width: 767px) {
    .profile-page {
        margin: 20px 0;
    }

    .profile-header {
        flex-wrap: wrap;
        gap: 6px 12px;
    }

    .profile-header .profile-title {
        font-size: 1.3rem;
        max-width: 100%;
    }

    .profile-legend-grid {
        grid-template-columns: 1fr;
    }

    .profile-table-wrap {
        background: transparent;
        box-shadow: none;
        overflow: visible;
    }

    .profile-table,
    .profile-table tbody,
    .profile-table tr,
    .profile-table td {
        display: block;
        width: 100%;
    }

    .profile-table thead {
        display: none;
    }

    .profile-table tr {
        background: #fff;
        border: none;
        border-radius: 10px;
        box-shadow: 0 1px 3px rgba(0, 0, 0, .12);
        margin-bottom: 14px;
        padding: 6px 0;
    }

    .profile-table td,
    .profile-table td:nth-child(n+3) {
        padding: 8px 14px;
        text-align: left;
        box-sizing: border-box;
    }

    .profile-table td::before {
        content: attr(data-label);
        display: block;
        font-size: .7rem;
        font-weight: 700;
        text-transform: uppercase;
        color: var(--color-text-muted);
        margin-bottom: 3px;
    }

    .profile-table .profile-action-link,
    .profile-table .profile-toggle-status {
        min-width: 40px;
        min-height: 40px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .profile-action-group {
        flex-wrap: wrap;
    }
}

/* ===== Interruptor Oculto/Visible (tabla Mi Perfil) ===== */
.switch-oculto{display:inline-flex;align-items:center;gap:8px;background:none;border:none;cursor:pointer;padding:4px 6px;}
.switch-oculto-track{width:44px;height:24px;border-radius:999px;background:#d1d5db;position:relative;transition:background .2s;flex:none;}
.switch-oculto-knob{position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:#fff;transition:left .2s;box-shadow:0 1px 3px rgba(0,0,0,.25);}
.switch-oculto.on .switch-oculto-track{background:#ED008C;}
.switch-oculto.on .switch-oculto-knob{left:23px;}
.switch-oculto-text{font-size:.78rem;font-weight:700;color:#6b7280;}
.switch-oculto.on .switch-oculto-text{color:#ED008C;}
/* ===== Interruptor ROJO de bloqueo (tabla admin) ===== */
.switch-bloqueo{display:inline-flex;align-items:center;gap:8px;background:none;border:none;cursor:pointer;padding:4px 6px;}
.switch-bloqueo-track{width:44px;height:24px;border-radius:999px;background:#d1d5db;position:relative;transition:background .2s;flex:none;}
.switch-bloqueo-knob{position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:#fff;transition:left .2s;box-shadow:0 1px 3px rgba(0,0,0,.25);}
.switch-bloqueo.on .switch-bloqueo-track{background:#dc2626;}
.switch-bloqueo.on .switch-bloqueo-knob{left:23px;}
.switch-bloqueo-text{font-size:.78rem;font-weight:700;color:#6b7280;}
.switch-bloqueo.on .switch-bloqueo-text{color:#dc2626;}

/* ===== Dropdown del ícono User (desktop) ===== */
.header-user-menu{position:relative;}
.header-user-menu summary{list-style:none;cursor:pointer;}
.header-user-menu summary::-webkit-details-marker{display:none;}
.header-user-panel{
    position:absolute;top:calc(100% + 8px);right:0;min-width:200px;
    background:#fff;border:1px solid var(--color-border);border-radius:12px;
    box-shadow:0 10px 30px rgba(0,0,0,.12);padding:8px 0;z-index:100;
    display:flex;flex-direction:column;gap:2px;
}
.header-user-link{
    display:block;padding:10px 16px;color:var(--color-text);text-decoration:none;
    font-size:.9rem;font-weight:500;transition:background .15s;
}
.header-user-link:hover{background:#fff5f9;color:var(--color-primary);}
.header-user-logout{color:#dc2626;border-top:1px solid var(--color-border);margin-top:4px;padding-top:10px;}
.header-user-logout:hover{background:#fee2e2;color:#dc2626;}
/* Separador dentro del dropdown */
.header-user-separator{height:1px;background:var(--color-border);margin:6px 0;}

/* ===== Checkbox de Términos en Registro ===== */
.registro-terminos {
    margin: 15px 0 20px;
    font-size: 0.85rem;
    color: #6b7280;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.4;
}
.registro-terminos input[type="checkbox"] {
    margin-top: 2px;
    accent-color: var(--color-primary); /* Usa tu rosa de marca */
    cursor: pointer;
    width: 16px;
    height: 16px;
}
.registro-terminos a {
    color: var(--color-primary);
    text-decoration: underline;
    font-weight: 500;
}
.registro-terminos a:hover {
    color: var(--color-primary-hover);
}

/* === PUBLICAR.PHP - Formulario de publicación === */
.publish-optional-details {
    border: 1px dashed #d1d5db;
    border-radius: 8px;
    padding: 10px 15px;
    margin: 20px 0;
    background: #fafafa;
    transition: all 0.3s ease;
}

.publish-optional-details[open] {
    background: #fff;
    border-color: var(--color-primary);
    box-shadow: 0 2px 8px rgba(237, 0, 140, 0.1);
}

.publish-optional-details summary {
    color: var(--color-primary);
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.05rem;
}

.publish-optional-details summary::before {
    content: '✨';
    font-size: 1.2rem;
}

.publish-optional-details[open] summary {
    margin-bottom: 16px;
}

.photo-tips-card {
    background: linear-gradient(135deg, #fff5f9 0%, #ffe0f0 100%);
    border-left: 4px solid var(--color-primary);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 25px;
}

.photo-tips-card h4 {
    color: var(--color-primary);
    margin: 0 0 10px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.photo-tips-card ul {
    margin: 0;
    padding-left: 20px;
    color: #4b5563;
    font-size: 0.95rem;
    line-height: 1.6;
}

.photo-tips-card li {
    margin-bottom: 6px;
}

.publish-review-card {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 25px;
    margin-top: 30px;
}

.publish-review-card h3 {
    margin-top: 0 !important;
    border-bottom: none !important;
    padding-bottom: 0 !important;
    color: var(--color-primary);
}

.publish-review-card p {
    margin: 10px 0;
    color: #374151;
    font-size: 0.95rem;
    border-bottom: 1px dashed #e5e7eb;
    padding-bottom: 8px;
}

.publish-review-card p:last-child {
    border-bottom: none;
}

.publish-review-card strong {
    color: #111827;
    display: inline-block;
    min-width: 140px;
}

/* ============================================
   ANIMACIONES ELEGANTES - CUSCO ESCORTS
   Sutiles, rápidas y profesionales
   ============================================ */

/* 1. FADE-IN GENERAL DE LA PÁGINA */
@keyframes fadeInPage {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

body {
    animation: fadeInPage 0.4s ease-out;
}

/* 2. CASCADA EN CARDS DE ANUNCIOS */
@keyframes fadeInCard {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.card-anuncio {
    opacity: 0;
    animation: fadeInCard 0.5s ease-out forwards;
}

/* Delay escalonado para efecto cascada (hasta 12 cards) */
.card-anuncio:nth-child(1)  { animation-delay: 0.05s; }
.card-anuncio:nth-child(2)  { animation-delay: 0.10s; }
.card-anuncio:nth-child(3)  { animation-delay: 0.15s; }
.card-anuncio:nth-child(4)  { animation-delay: 0.20s; }
.card-anuncio:nth-child(5)  { animation-delay: 0.25s; }
.card-anuncio:nth-child(6)  { animation-delay: 0.30s; }
.card-anuncio:nth-child(7)  { animation-delay: 0.35s; }
.card-anuncio:nth-child(8)  { animation-delay: 0.40s; }
.card-anuncio:nth-child(9)  { animation-delay: 0.45s; }
.card-anuncio:nth-child(10) { animation-delay: 0.50s; }
.card-anuncio:nth-child(11) { animation-delay: 0.55s; }
.card-anuncio:nth-child(12) { animation-delay: 0.60s; }

/* 3. TRANSICIONES SUAVES EN ELEMENTOS INTERACTIVOS */
.btn-submit,
.admin-btn,
.card-anuncio,
a,
input,
select,
textarea {
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hover elegante en cards */
.card-anuncio:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

/* 4. MODAL DE DENUNCIA CON FADE */
@keyframes fadeInModal {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(-10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

#modalDenuncia,
.modal-overlay {
    animation: fadeInModal 0.3s ease-out;
}

/* 5. SECCIONES DE FORMULARIO (PASOS) */
@keyframes slideInStep {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.publish-step:not([hidden]) {
    animation: slideInStep 0.4s ease-out;
}

/* 6. NOTICIAS Y ALERTAS */
@keyframes slideDownAlert {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.notice,
.form-alert {
    animation: slideDownAlert 0.35s ease-out;
}

/* 7. TABLAS DEL ADMIN */
@keyframes fadeInRow {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.admin-table tbody tr {
    opacity: 0;
    animation: fadeInRow 0.3s ease-out forwards;
}

.admin-table tbody tr:nth-child(1)  { animation-delay: 0.03s; }
.admin-table tbody tr:nth-child(2)  { animation-delay: 0.06s; }
.admin-table tbody tr:nth-child(3)  { animation-delay: 0.09s; }
.admin-table tbody tr:nth-child(4)  { animation-delay: 0.12s; }
.admin-table tbody tr:nth-child(5)  { animation-delay: 0.15s; }
.admin-table tbody tr:nth-child(6)  { animation-delay: 0.18s; }
.admin-table tbody tr:nth-child(7)  { animation-delay: 0.21s; }
.admin-table tbody tr:nth-child(8)  { animation-delay: 0.24s; }
.admin-table tbody tr:nth-child(9)  { animation-delay: 0.27s; }
.admin-table tbody tr:nth-child(10) { animation-delay: 0.30s; }

/* 8. REDUCIR ANIMACIONES PARA USUARIOS QUE LO PREFIEREN (accesibilidad) */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ============================================
   INDICADOR DE VIDEO EN CARDS
   ============================================ */

/* Contenedor de ubicación: separa texto del ícono de video */
.card-ubicacion, 
.card-lab-location {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

/* Espaciado entre ícono de ubicación y texto */
.card-ubicacion svg,
.card-lab-location svg,
.card-ubicacion .location-icon,
.card-lab-location .location-icon {
    margin-right: 5px;
    flex-shrink: 0;
}

/* Wrapper interno para alinear ícono + texto */
.card-ubicacion > div,
.card-lab-location > div {
    display: flex;
    align-items: center;
    gap: 0px;
}

/* Estilo del ícono de video fucsia */
.card-video-inline {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: rgba(219, 39, 119, 0.1);
    border-radius: 50%;
    color: #db2777;
    flex-shrink: 0;
    transition: background 0.2s ease;
}

.card-anuncio:hover .card-video-inline,
.card-lab:hover .card-video-inline {
    background: rgba(219, 39, 119, 0.2);
}

/* === CORRECCIÓN DE CENTRADO VISUAL DEL TRIÁNGULO === */
.card-video-inline svg {
    width: 12px;
    height: 12px;
    fill: currentColor;
    margin-left: 4.8px; /* Compensa la asimetría del triángulo */
}