/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #be206b;
    --primary-dark: #9a1a57;
    --primary-light: #d44a8a;
    --secondary: #be206b;
    --accent: #be206b;
    --bg: #ffffff;
    --bg-card: #ffffff;
    --bg-card-hover: #fafafa;
    --bg-section: #f5f5f5;
    --text: #1a1a1a;
    --text-muted: #666666;
    --text-dark: #999999;
    --border: #e0e0e0;
    --border-light: #f0f0f0;
    --success: #22c55e;
    --warning: #eab308;
    --danger: #ef4444;
    --gradient-primary: linear-gradient(135deg, #be206b, #d44a8a);
    --gradient-accent: linear-gradient(135deg, #be206b, #e85d9a);
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 25px rgba(0, 0, 0, 0.12);
    --radius: 12px;
    --radius-sm: 8px;
    --radius-full: 50px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    padding: 12px 0;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i {
    font-size: 28px;
    color: var(--primary);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.logo h1, .logo h3 {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary);
}

.logo h3 {
    font-size: 18px;
}

.nav-menu {
    display: flex;
    gap: 4px;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--primary);
    background: rgba(190, 32, 107, 0.06);
}

.nav-link.active {
    color: var(--primary);
    font-weight: 600;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
}

.btn-publicar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(190, 32, 107, 0.3);
}

.btn-publicar:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(190, 32, 107, 0.4);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 140px 0 60px;
    background: linear-gradient(180deg, rgba(190, 32, 107, 0.04) 0%, transparent 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(190, 32, 107, 0.03) 0%, transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(190, 32, 107, 0.03) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(1deg); }
    66% { transform: translate(-20px, 20px) rotate(-1deg); }
}

.hero-content {
    position: relative;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero h2 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text);
    line-height: 1.2;
}

.hero p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.search-box {
    display: flex;
    align-items: center;
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: var(--radius-full);
    padding: 4px 4px 4px 20px;
    max-width: 600px;
    margin: 0 auto 32px;
    transition: var(--transition);
}

.search-box:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(190, 32, 107, 0.12);
}

.search-box i {
    color: var(--text-dark);
    font-size: 18px;
}

.search-box input {
    flex: 1;
    background: none;
    border: none;
    padding: 12px 16px;
    color: var(--text);
    font-size: 16px;
    font-family: inherit;
    outline: none;
}

.search-box input::placeholder {
    color: var(--text-dark);
}

.search-box button {
    padding: 10px 28px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.search-box button:hover {
    background: var(--primary-dark);
    transform: scale(1.02);
}

.ciudad-selector {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
}

.ciudad-select {
    padding: 10px 36px 10px 16px;
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: var(--radius-full);
    font-size: 15px;
    font-weight: 600;
    color: var(--primary);
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    outline: none;
    min-width: 220px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23be206b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
}

.ciudad-select:hover {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(190, 32, 107, 0.12);
}

.category-tags {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.category-tag {
    padding: 8px 20px;
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: var(--radius-full);
    font-size: 14px;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.category-tag:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(190, 32, 107, 0.04);
}

.category-tag.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* Anuncios Section */
.anuncios-section {
    padding: 60px 0;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
}

.section-header h2 {
    font-size: 28px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text);
}

.badge {
    background: var(--primary);
    color: white;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
}

.view-options {
    display: flex;
    gap: 8px;
}

.view-btn {
    padding: 10px 14px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
    font-size: 16px;
}

.view-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.view-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* Grid View */
.anuncios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.anuncios-grid.list-view {
    grid-template-columns: 1fr;
}

/* Card */
.anuncio-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    display: block;
    color: inherit;
    text-decoration: none;
}

.anuncio-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    background: var(--bg-card-hover);
}

.card-image {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.anuncio-card:hover .card-image img {
    transform: scale(1.05);
}

.card-favorite {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    color: white;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    z-index: 3;
}

.card-favorite:hover {
    background: var(--danger);
    transform: scale(1.1);
}

.card-favorite.active {
    background: var(--danger);
    color: white;
}

.card-category {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 14px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    color: white;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
}

.card-featured {
    position: absolute;
    top: 52px;
    left: 12px;
    padding: 4px 14px;
    background: linear-gradient(135deg, #be206b, #d44a8a);
    color: white;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 700;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(190, 32, 107, 0.4);
}

.card-body {
    padding: 20px;
}

.card-body h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.3;
    color: var(--text);
}

.card-body p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    font-size: 13px;
    color: var(--text-muted);
}

.card-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.card-meta i {
    color: var(--primary);
    font-size: 14px;
}

.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
}

.card-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
}

.btn-card-contact {
    padding: 8px 20px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-card-contact:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

/* List View */
.anuncios-grid.list-view .anuncio-card {
    display: flex;
    flex-direction: row;
}

.anuncios-grid.list-view .card-image {
    width: 280px;
    min-width: 280px;
    height: auto;
}

.anuncios-grid.list-view .card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Modal Carousel */
.modal-carousel {
    position: relative;
    overflow: hidden;
    background: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-container {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1a1a1a;
}

.carousel-slide {
    width: 100%;
    height: auto;
    max-height: 450px;
    object-fit: contain;
    display: block;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    z-index: 10;
}

.carousel-btn:hover {
    background: var(--primary);
}

.carousel-prev { left: 12px; }
.carousel-next { right: 12px; }

.carousel-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.carousel-dot.active {
    background: var(--primary);
    transform: scale(1.2);
}

.carousel-counter {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
    z-index: 10;
}

.card-image-count {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    z-index: 2;
}

/* Modal */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 2000;
    padding: 40px;
    overflow-y: auto;
}

.modal-overlay.active {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 60px 40px;
}

.modal {
    background: var(--bg-card);
    border-radius: var(--radius);
    max-width: 900px;
    width: 100%;
    position: relative;
    border: 1px solid var(--border);
    animation: modalIn 0.3s ease;
}

@keyframes modalIn {
    from { opacity: 0; transform: scale(0.9) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.modal-close:hover {
    background: var(--danger);
    transform: rotate(90deg);
}

.modal-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.modal-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.modal-info {
    padding: 32px;
}

.modal-category {
    display: inline-block;
    padding: 4px 14px;
    background: rgba(190, 32, 107, 0.1);
    color: var(--primary);
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 16px;
}

.modal-info h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text);
}

.modal-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 14px;
    color: var(--text-muted);
}

.modal-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.modal-info p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 24px;
}

.modal-contact {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-top: 20px;
    border-top: 1px solid var(--border-light);
}

.modal-contact .modal-price {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
}

.btn-contacto {
    padding: 12px 32px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-contacto:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(190, 32, 107, 0.3);
}

/* Footer */
.footer {
    background: #1a1a1a;
    padding: 60px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 40px;
}

.footer-section p {
    color: #999;
    font-size: 14px;
    margin: 16px 0;
    line-height: 1.8;
}

.footer-section h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #fff;
}

.footer-section a {
    display: block;
    color: #999;
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 12px;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--primary);
    transform: translateX(4px);
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    color: #666;
    font-size: 13px;
}

/* Skills Tags */
.skill-tag {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(190, 32, 107, 0.08);
    color: var(--primary);
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
    margin: 4px;
    transition: var(--transition);
    border: 1px solid rgba(190, 32, 107, 0.15);
}

.skill-tag:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-1px);
}

.skills-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 8px;
}

.modal-skills h4,
.detalle-skills h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.modal-skills h4 i,
.detalle-skills h4 i {
    color: var(--primary);
}

/* Action Buttons */
.btn-accion {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-llamar {
    background: #22c55e;
    color: white;
}

.btn-llamar:hover {
    background: #16a34a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

.btn-whatsapp {
    background: #25D366;
    color: white;
}

.btn-whatsapp:hover {
    background: #1da851;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.modal-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* Video Container */
.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    background: #000;
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-top: 8px;
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}

.modal-video,
.detalle-video {
    margin: 20px 0;
}

.modal-video h4,
.detalle-video h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.modal-video h4 i,
.detalle-video h4 i {
    color: var(--primary);
}

/* Detail Page */
.detalle-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 24px;
}

.detalle-imagenes {
    position: relative;
}

.detalle-carousel {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    background: #f0f0f0;
}

.detalle-img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
}

.detalle-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-top: 12px;
}

.detalle-gallery img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.detalle-gallery img:hover,
.detalle-gallery img.active {
    border-color: var(--primary);
    transform: scale(1.05);
}

.detalle-info {
    padding: 0;
}

.detalle-category {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(190, 32, 107, 0.1);
    color: var(--primary);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
}

.detalle-info h1 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text);
    line-height: 1.3;
}

.detalle-meta {
    display: flex;
    gap: 24px;
    margin-bottom: 20px;
    font-size: 14px;
    color: var(--text-muted);
    flex-wrap: wrap;
}

.detalle-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.detalle-meta i {
    color: var(--primary);
}

.detalle-price {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 20px;
}

.detalle-info p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 24px;
    font-size: 15px;
}

.detalle-acciones {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
}

.detalle-acciones-row {
    display: flex;
    gap: 10px;
}

.detalle-fav {
    background: transparent;
    color: var(--danger);
    border: 2px solid var(--danger);
    border-radius: var(--radius-sm);
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.detalle-fav:hover {
    background: var(--danger);
    color: white;
}

.detalle-fav.active {
    background: var(--danger);
    color: white;
}

.detalle-compartir {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid var(--border-light);
}

.detalle-compartir span {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
}

.share-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-section);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
    font-size: 16px;
}

.share-btn:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    font-size: 14px;
    color: var(--text-muted);
    flex-wrap: wrap;
}

.breadcrumb a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb-sep {
    color: var(--text-dark);
    font-size: 12px;
}

/* Contact Page */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-top: 24px;
}

.contact-info h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text);
}

.contact-info > p {
    color: var(--text-muted);
    margin-bottom: 32px;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-item i {
    width: 44px;
    height: 44px;
    background: rgba(190, 32, 107, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 18px;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
}

.contact-item p {
    color: var(--text-muted);
    font-size: 14px;
}

.contact-form {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
}

.contact-form h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text);
}

/* Form Elements */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg);
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: 14px;
    font-family: inherit;
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(190, 32, 107, 0.12);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-dark);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group small {
    display: block;
    color: var(--text-dark);
    font-size: 12px;
    margin-top: 6px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Publish Page */
.publish-wrapper {
    max-width: 700px;
    margin: 0 auto;
    margin-top: 24px;
}

.publish-header {
    text-align: center;
    margin-bottom: 32px;
}

.publish-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}

.publish-header p {
    color: var(--text-muted);
    font-size: 15px;
}

.publish-form {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-state i {
    font-size: 64px;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.empty-state h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}

.empty-state p {
    color: var(--text-muted);
    margin-bottom: 24px;
    font-size: 15px;
}

/* Success Message */
.success-message {
    text-align: center;
    padding: 40px 20px;
}

.success-message i {
    font-size: 64px;
    color: var(--success);
    margin-bottom: 20px;
}

.success-message h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}

.success-message p {
    color: var(--text-muted);
    margin-bottom: 24px;
    font-size: 15px;
}

/* Form Section Titles */
.form-section-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    margin: 28px 0 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-light);
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-section-title i {
    color: var(--primary);
}

.form-help {
    color: var(--text-muted);
    font-size: 13px;
    margin-bottom: 12px;
}

/* File Input Wrapper */
.file-input-wrapper {
    position: relative;
    overflow: hidden;
}

.file-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.file-input-placeholder {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: var(--bg);
    border: 2px dashed var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-dark);
    font-size: 13px;
    transition: var(--transition);
    cursor: pointer;
}

.file-input-placeholder i {
    font-size: 16px;
    color: var(--primary);
}

.file-input-wrapper:hover .file-input-placeholder {
    border-color: var(--primary);
    background: rgba(190, 32, 107, 0.04);
}

.file-input-wrapper.has-file .file-input-placeholder {
    border-style: solid;
    border-color: var(--success);
    background: rgba(34, 197, 94, 0.06);
    color: var(--success);
}

.file-input-wrapper.has-file .file-input-placeholder i {
    color: var(--success);
}

.video-input-wrapper .file-input-placeholder {
    padding: 14px 16px;
    border-style: dashed;
}

.video-input-wrapper .file-input-placeholder i {
    font-size: 20px;
}

/* Photos Grid */
.photos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.photo-slot {
    margin-bottom: 0;
}

.photo-slot label {
    font-size: 12px;
    font-weight: 500;
}

.photo-slot input {
    padding: 10px 12px;
    font-size: 13px;
}

/* Radio Buttons */
.radio-group {
    display: flex;
    gap: 20px;
    padding-top: 8px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    color: var(--text);
    font-weight: 500;
}

.radio-label input[type="radio"] {
    display: none;
}

.radio-custom {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    position: relative;
}

.radio-custom::after {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary);
    transform: scale(0);
    transition: var(--transition);
}

.radio-label input[type="radio"]:checked + .radio-custom {
    border-color: var(--primary);
}

.radio-label input[type="radio"]:checked + .radio-custom::after {
    transform: scale(1);
}

/* Checkbox Buttons */
.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    color: var(--text);
    font-weight: 500;
    padding: 8px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkbox-custom {
    width: 18px;
    height: 18px;
    border: 2px solid var(--border);
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
}

.checkbox-custom::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 10px;
    color: white;
    transform: scale(0);
    transition: var(--transition);
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom {
    background: var(--primary);
    border-color: var(--primary);
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after {
    transform: scale(1);
}

.checkbox-label:has(input[type="checkbox"]:checked) {
    border-color: var(--primary);
    background: rgba(190, 32, 107, 0.06);
}

/* Skills Grid */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 8px;
}

.skill-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 13px;
    color: var(--text);
    font-weight: 500;
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.skill-checkbox input[type="checkbox"] {
    display: none;
}

.skill-checkmark {
    width: 16px;
    height: 16px;
    border: 2px solid var(--border);
    border-radius: 3px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
    font-size: 9px;
}

.skill-checkmark::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: white;
    transform: scale(0);
    transition: var(--transition);
}

.skill-checkbox input[type="checkbox"]:checked + .skill-checkmark {
    background: var(--primary);
    border-color: var(--primary);
}

.skill-checkbox input[type="checkbox"]:checked + .skill-checkmark::after {
    transform: scale(1);
}

.skill-checkbox:has(input[type="checkbox"]:checked) {
    border-color: var(--primary);
    background: rgba(190, 32, 107, 0.06);
}

/* Personal Badges */
.personal-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.personal-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 14px;
    background: rgba(190, 32, 107, 0.08);
    color: var(--primary);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    border: 1px solid rgba(190, 32, 107, 0.15);
}

.personal-badge i {
    font-size: 12px;
}

/* Lugar Tags */
.lugar-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.modal-lugar h4,
.detalle-lugar h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.modal-lugar h4 i,
.detalle-lugar h4 i {
    color: var(--primary);
}

/* Page Sections */
.page-section {
    padding: 120px 0 60px;
    min-height: 100vh;
}

/* Responsive */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
    
    .detalle-wrapper {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .detalle-img {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .header {
        padding: 10px 0;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--border);
        padding: 16px;
        flex-direction: column;
        gap: 4px;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-link {
        padding: 12px 16px;
        font-size: 16px;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .btn-publicar {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .hero {
        padding: 120px 0 40px;
    }
    
    .hero h2 {
        font-size: 28px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .search-box {
        flex-direction: column;
        border-radius: var(--radius-sm);
        padding: 12px;
        gap: 8px;
    }
    
    .search-box i {
        display: none;
    }
    
    .search-box input {
        width: 100%;
        padding: 10px 12px;
        border: 1px solid var(--border);
        border-radius: var(--radius-sm);
    }
    
    .search-box button {
        width: 100%;
        padding: 10px;
    }
    
    .ciudad-selector {
        margin-bottom: 12px;
    }
    
    .ciudad-select {
        min-width: 180px;
        font-size: 14px;
        padding: 8px 32px 8px 14px;
    }
    
    .category-tags {
        gap: 8px;
    }
    
    .category-tag {
        padding: 6px 14px;
        font-size: 12px;
    }
    
    .anuncios-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .anuncios-grid.list-view .anuncio-card {
        flex-direction: column;
    }
    
    .anuncios-grid.list-view .card-image {
        width: 100%;
        min-width: 100%;
        height: 200px;
    }
    
    .card-image {
        height: 200px;
    }
    
    .section-header {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }
    
    .section-header h2 {
        font-size: 22px;
    }
    
    /* Modal mobile */
    .modal-overlay {
        padding: 0;
    }
    
    .modal {
        border-radius: 0;
        max-width: 100%;
        height: 100%;
        overflow-y: auto;
    }
    
    .modal-content {
        grid-template-columns: 1fr;
    }
    
    .modal-carousel {
        min-height: 250px;
    }
    
    .carousel-container {
        min-height: 250px;
    }
    
    .carousel-slide {
        height: 250px;
    }
    
    .modal-img {
        height: 250px;
    }
    
    .modal-info {
        padding: 20px;
    }
    
    .modal-info h3 {
        font-size: 20px;
    }
    
    .modal-contact .modal-price {
        font-size: 24px;
    }
    
    .modal-actions {
        flex-direction: column;
    }
    
    .modal-actions button {
        width: 100%;
        justify-content: center;
    }
    
    /* Detail page mobile */
    .detalle-img {
        height: 250px;
    }
    
    .detalle-gallery {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .detalle-gallery img {
        height: 60px;
    }
    
    .detalle-info h1 {
        font-size: 22px;
    }
    
    .detalle-price {
        font-size: 26px;
    }
    
    .detalle-acciones-row {
        flex-direction: column;
    }
    
    .detalle-acciones-row button {
        width: 100%;
        justify-content: center;
    }
    
    /* Contact page mobile */
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .contact-form {
        padding: 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    /* Publish page mobile */
    .publish-form {
        padding: 20px;
    }
    
    /* Footer mobile */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer {
        padding: 40px 0 0;
    }
    
    .page-section {
        padding: 100px 0 40px;
    }
    
    .breadcrumb {
        font-size: 13px;
    }
    
    .detalle-compartir {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .hero h2 {
        font-size: 24px;
    }
    
    .logo h1 {
        font-size: 18px;
    }
    
    .logo i {
        font-size: 22px;
    }
    
    .card-body {
        padding: 16px;
    }
    
    .card-body h3 {
        font-size: 16px;
    }
    
    .card-price {
        font-size: 18px;
    }
    
    .detalle-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .detalle-meta {
        gap: 12px;
        font-size: 13px;
    }
}
