* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --verde: #2D5016;
    --amarillo: #F4A500;
    --blanco: #FFFFFF;
    --negro: #1A1A1A;
    --gris-claro: #F5F5F5;
    --gris: #E0E0E0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    line-height: 1.6;
    color: var(--negro);
    background: var(--blanco);
}

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

.header {
    background: var(--verde);
    color: var(--blanco);
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 28px;
    margin-bottom: 5px;
}

.logo p {
    font-size: 14px;
    opacity: 0.9;
}

.nav {
    display: flex;
    gap: 25px;
    align-items: center;
}

.nav a {
    color: var(--blanco);
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
}

.nav a:hover {
    opacity: 0.8;
}

.btn-primary {
    background: var(--amarillo);
    color: var(--negro);
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: bold;
}

.hero {
    background: linear-gradient(135deg, var(--verde) 0%, #1f3810 100%);
    color: var(--blanco);
    padding: 80px 0;
    text-align: center;
}

.hero h2 {
    font-size: 42px;
    margin-bottom: 15px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.search-form {
    display: flex;
    gap: 10px;
    max-width: 900px;
    margin: 0 auto;
    background: var(--blanco);
    padding: 10px;
    border-radius: 8px;
}

.search-input,
.search-select {
    padding: 15px;
    border: 1px solid var(--gris);
    border-radius: 5px;
    font-size: 16px;
}

.search-input {
    flex: 2;
}

.search-select {
    flex: 1;
}

.btn-search {
    background: var(--amarillo);
    color: var(--negro);
    padding: 15px 40px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s;
}

.btn-search:hover {
    transform: scale(1.05);
}

.categorias {
    padding: 60px 0;
    background: var(--gris-claro);
}

.categorias h3 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    color: var(--verde);
}

.categorias-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.categoria-card {
    background: var(--blanco);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    text-decoration: none;
    color: var(--negro);
    transition: all 0.3s;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

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

.categoria-icono {
    font-size: 48px;
    margin-bottom: 15px;
}

.categoria-card h4 {
    font-size: 18px;
    color: var(--verde);
}

.anuncios {
    padding: 60px 0;
}

.anuncios h3 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    color: var(--verde);
}

.anuncios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.anuncio-card {
    background: var(--blanco);
    border: 1px solid var(--gris);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s;
    position: relative;
}

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

.anuncio-card.destacado {
    border: 2px solid var(--amarillo);
    background: linear-gradient(135deg, var(--blanco) 0%, #fffbf0 100%);
}

.badge-destacado {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--amarillo);
    color: var(--negro);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    z-index: 10;
}

.anuncio-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.no-imagen {
    width: 100%;
    height: 200px;
    background: var(--gris-claro);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gris);
}

.anuncio-info {
    padding: 20px;
}

.anuncio-info h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--negro);
}

.precio {
    font-size: 24px;
    font-weight: bold;
    color: var(--verde);
    margin: 10px 0;
}

.ubicacion {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

.btn-ver {
    display: block;
    width: 100%;
    text-align: center;
    background: var(--verde);
    color: var(--blanco);
    padding: 12px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
}

.btn-ver:hover {
    background: #1f3810;
}

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: transform 0.3s;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.footer {
    background: var(--negro);
    color: var(--blanco);
    padding: 40px 0;
    text-align: center;
    margin-top: 60px;
}

.footer a {
    color: var(--amarillo);
    text-decoration: none;
}

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

@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero h2 {
        font-size: 32px;
    }
    
    .search-form {
        flex-direction: column;
    }
    
    .categorias-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* MARCAS */
.marcas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.marca-card {
    background: white;
    border: 2px solid var(--gris);
    border-radius: 12px;
    padding: 25px;
    position: relative;
    transition: all 0.3s;
}

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

.marca-destacada {
    border-color: var(--amarillo);
    background: linear-gradient(135deg, #fff 0%, #fffbf0 100%);
}

.badge-destacado-marca {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--amarillo);
    color: var(--negro);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: bold;
}

.marca-logo, .marca-logo-placeholder {
    text-align: center;
    margin-bottom: 20px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.marca-logo img {
    max-width: 100%;
    max-height: 120px;
    object-fit: contain;
}

.marca-nombre {
    font-size: 20px;
    color: var(--verde);
    margin: 15px 0;
    text-align: center;
}

.badge-verificada {
    background: var(--verde);
    color: white;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 11px;
    margin-left: 8px;
}

.marca-valoracion {
    text-align: center;
    margin: 15px 0;
    font-size: 18px;
}

.valoracion-numero {
    font-weight: bold;
    color: var(--verde);
    margin: 0 5px;
}

.num-reviews {
    color: #666;
    font-size: 13px;
}

.marca-descripcion {
    color: #555;
    font-size: 14px;
    line-height: 1.6;
    margin: 15px 0;
    text-align: center;
}

.marca-info {
    margin: 20px 0;
    padding-top: 15px;
    border-top: 1px solid var(--gris);
}

.marca-info p {
    margin: 8px 0;
    font-size: 13px;
    color: #666;
}

.marca-acciones {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.btn-whatsapp, .btn-ver-marca {
    flex: 1;
    text-align: center;
    padding: 10px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
}

.btn-whatsapp {
    background: #25D366;
    color: white;
}

.btn-whatsapp:hover {
    background: #20ba59;
}

.btn-ver-marca {
    background: var(--verde);
    color: white;
}

.btn-ver-marca:hover {
    background: #1f3810;
}

/* FILTROS RÁPIDOS */
.filtros-rapidos {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    justify-content: center;
}

.filtro-btn {
    padding: 12px 25px;
    border: 2px solid var(--verde);
    border-radius: 25px;
    text-decoration: none;
    color: var(--verde);
    font-weight: bold;
    transition: all 0.3s;
}

.filtro-btn:hover,
.filtro-btn.active {
    background: var(--verde);
    color: white;
}

/* CTA EMPRESAS */
.cta-empresas {
    background: var(--gris-claro);
    padding: 60px 40px;
    border-radius: 15px;
    text-align: center;
    margin-top: 60px;
}

.cta-empresas h2 {
    color: var(--verde);
    font-size: 32px;
    margin-bottom: 15px;
}

.planes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.plan {
    background: white;
    padding: 30px;
    border-radius: 12px;
    border: 2px solid var(--gris);
    position: relative;
}

.plan-destacado {
    border-color: var(--amarillo);
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
}

.badge-popular {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--amarillo);
    color: var(--negro);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.plan h3 {
    color: var(--verde);
    margin-bottom: 10px;
}

.precio-plan {
    font-size: 32px;
    font-weight: bold;
    color: var(--negro);
    margin: 15px 0;
}

.plan ul {
    list-style: none;
    text-align: left;
    margin: 20px 0;
}

.plan ul li {
    padding: 8px 0;
    color: #555;
}

/* PANEL USUARIO */
.panel-header {
    background: var(--gris-claro);
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.panel-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.stat-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    border: 2px solid var(--gris);
}

.stat-card h3 {
    font-size: 42px;
    color: var(--verde);
    margin-bottom: 10px;
}

.stat-card p {
    color: #666;
    font-size: 14px;
}

.tabla-anuncios {
    background: white;
    border-radius: 10px;
    overflow: hidden;
}

.anuncio-row {
    display: grid;
    grid-template-columns: 100px 1fr auto;
    gap: 20px;
    padding: 20px;
    border-bottom: 1px solid var(--gris);
    align-items: center;
}

.anuncio-row.inactivo {
    opacity: 0.6;
    background: #fafafa;
}

.anuncio-imagen-mini img,
.anuncio-imagen-mini .no-img {
    width: 100px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

.anuncio-imagen-mini .no-img {
    background: var(--gris-claro);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}

.anuncio-meta {
    display: flex;
    gap: 15px;
    font-size: 13px;
    color: #666;
    margin-top: 8px;
}

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

.btn-accion {
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 13px;
    background: var(--gris-claro);
    color: var(--negro);
    transition: all 0.3s;
}

.btn-accion:hover {
    background: var(--verde);
    color: white;
}

.btn-danger:hover {
    background: #dc3545;
    color: white;
}

/* CONTACTO */
.contacto-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.info-box {
    background: white;
    padding: 25px;
    border-radius: 10px;
    border: 2px solid var(--gris);
    margin-bottom: 20px;
}

.info-box h3 {
    color: var(--verde);
    margin-bottom: 15px;
}

.btn-whatsapp-contacto {
    display: block;
    background: #25D366;
    color: white;
    text-align: center;
    padding: 12px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 15px;
}

.redes-icons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.red-social {
    display: block;
    padding: 10px;
    background: var(--gris-claro);
    border-radius: 6px;
    text-decoration: none;
    color: var(--negro);
    transition: all 0.3s;
}

.red-social:hover {
    background: var(--verde);
    color: white;
}

/* LOGIN */
.login-box {
    max-width: 500px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.form-login {
    margin-top: 30px;
}

/* ALERTAS */
.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* FOOTER GRID */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-col h4 {
    color: var(--amarillo);
    margin-bottom: 15px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin: 8px 0;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .contacto-layout,
    .anuncio-row {
        grid-template-columns: 1fr;
    }
    
    .marcas-grid {
        grid-template-columns: 1fr;
    }
    
    .planes {
        grid-template-columns: 1fr;
    }
}

/* SERVICIOS */
.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.servicio-card {
    background: white;
    border: 2px solid var(--gris);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s;
}

.servicio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-color: var(--verde);
}

.servicio-icono {
    font-size: 64px;
    margin-bottom: 20px;
}

.servicio-card h3 {
    color: var(--verde);
    margin: 15px 0;
    font-size: 22px;
}

.servicio-info {
    margin: 20px 0;
    padding: 15px 0;
    border-top: 1px solid var(--gris);
    border-bottom: 1px solid var(--gris);
}

.servicio-precio {
    font-size: 24px;
    font-weight: bold;
    color: var(--amarillo);
    margin: 10px 0;
}

.servicio-duracion {
    color: #666;
    font-size: 14px;
}

.btn-solicitar {
    display: block;
    background: var(--verde);
    color: white;
    padding: 12px 25px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 15px;
    transition: all 0.3s;
}

.btn-solicitar:hover {
    background: #1f3810;
}

.cta-servicios {
    background: var(--gris-claro);
    padding: 60px 40px;
    border-radius: 15px;
    text-align: center;
    margin: 60px 0;
}

.cta-servicios h2 {
    color: var(--verde);
    font-size: 32px;
    margin-bottom: 15px;
}

.cta-acciones {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.btn-whatsapp-grande, .btn-telefono-grande {
    padding: 18px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    transition: all 0.3s;
}

.btn-whatsapp-grande {
    background: #25D366;
    color: white;
}

.btn-whatsapp-grande:hover {
    background: #20ba59;
    transform: scale(1.05);
}

.btn-telefono-grande {
    background: var(--verde);
    color: white;
}

.btn-telefono-grande:hover {
    background: #1f3810;
    transform: scale(1.05);
}

/* TABLA CLIENTES */
.tabla-clientes {
    overflow-x: auto;
    background: white;
    border-radius: 10px;
    margin: 30px 0;
}

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

.tabla-clientes th {
    background: var(--verde);
    color: white;
    padding: 15px;
    text-align: left;
    font-weight: bold;
}

.tabla-clientes td {
    padding: 12px 15px;
    border-bottom: 1px solid var(--gris);
}

.tabla-clientes tr:hover {
    background: var(--gris-claro);
}

.badge-tipo {
    background: var(--amarillo);
    color: var(--negro);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
}

@media (max-width: 768px) {
    .cta-acciones {
        flex-direction: column;
    }
}

/* PRODUCTOS DESTACADOS HOME */
.destacados {
    padding: 60px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #ffffff 100%);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 36px;
    color: var(--verde);
    margin-bottom: 10px;
}

.section-title p {
    color: #666;
    font-size: 18px;
}

.productos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.producto-card-destacado {
    background: white;
    border: 3px solid var(--amarillo);
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    transition: all 0.3s;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.producto-card-destacado:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.badge-destacado-producto {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--amarillo);
    color: var(--negro);
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: bold;
    z-index: 10;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

.producto-card-destacado img,
.no-imagen-producto {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.no-imagen-producto {
    background: var(--gris-claro);
    display: flex;
    align-items: center;
    justify-content: center;
}

.producto-info {
    padding: 25px;
}

.producto-info h3 {
    font-size: 20px;
    color: var(--negro);
    margin-bottom: 10px;
    min-height: 48px;
}

.producto-categoria {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

.precio-producto {
    font-size: 28px;
    font-weight: bold;
    color: var(--verde);
    margin: 15px 0;
}

.precio-consultar {
    font-size: 24px;
    font-weight: bold;
    color: var(--amarillo);
    margin: 15px 0;
}

.precio-consultar-small {
    font-size: 18px;
    font-weight: bold;
    color: var(--amarillo);
    margin: 10px 0;
}

.ubicacion-producto {
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
}

.producto-acciones {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.btn-ver-producto,
.btn-whatsapp-producto {
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s;
}

.btn-ver-producto {
    background: var(--verde);
    color: white;
}

.btn-ver-producto:hover {
    background: #1f3810;
}

.btn-whatsapp-producto {
    background: #25D366;
    color: white;
}

.btn-whatsapp-producto:hover {
    background: #20ba59;
}

/* CTA HOME */
.cta-home {
    background: linear-gradient(135deg, var(--verde) 0%, #1f3810 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.cta-home h2 {
    font-size: 42px;
    margin-bottom: 15px;
}

.cta-home p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
}

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

.btn-cta-primary,
.btn-cta-whatsapp {
    padding: 18px 40px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    transition: all 0.3s;
}

.btn-cta-primary {
    background: var(--amarillo);
    color: var(--negro);
}

.btn-cta-primary:hover {
    background: #e89d00;
    transform: scale(1.05);
}

.btn-cta-whatsapp {
    background: #25D366;
    color: white;
}

.btn-cta-whatsapp:hover {
    background: #20ba59;
    transform: scale(1.05);
}

.btn-grande {
    padding: 15px 35px;
    font-size: 18px;
}

@media (max-width: 768px) {
    .productos-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-home h2 {
        font-size: 32px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
}

/* ===================================
   DESTACAR PRODUCTO - PAYPAL
=================================== */

.destacar-container {
    max-width: 1000px;
    margin: 0 auto;
}

.producto-preview {
    background: var(--gris-claro);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.producto-preview h3 {
    color: var(--verde);
    font-size: 22px;
    margin-bottom: 10px;
}

.plan-destacar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.plan-destacar {
    background: white;
    border: 3px solid var(--gris);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s;
    position: relative;
}

.plan-destacar:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.plan-popular {
    border-color: var(--amarillo);
    transform: scale(1.05);
    box-shadow: 0 10px 40px rgba(244,165,0,0.2);
}

.plan-popular:hover {
    transform: scale(1.08) translateY(-5px);
}

.badge-popular {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--amarillo);
    color: var(--negro);
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.plan-header {
    margin-bottom: 25px;
}

.plan-header h3 {
    font-size: 24px;
    color: var(--verde);
    margin-bottom: 10px;
}

.plan-precio {
    font-size: 48px;
    font-weight: bold;
    color: var(--amarillo);
    margin: 15px 0;
}

.ahorro {
    display: block;
    color: #27ae60;
    font-weight: bold;
    font-size: 14px;
}

.plan-beneficios {
    list-style: none;
    margin: 20px 0;
    text-align: left;
}

.plan-beneficios li {
    padding: 10px 0;
    border-bottom: 1px solid var(--gris);
    color: #555;
}

.plan-beneficios li:last-child {
    border-bottom: none;
}

.btn-paypal {
    width: 100%;
    background: #0070ba;
    color: white;
    border: none;
    padding: 15px 25px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-paypal:hover {
    background: #005a94;
    transform: scale(1.05);
}

.btn-paypal-popular {
    background: var(--amarillo);
    color: var(--negro);
}

.btn-paypal-popular:hover {
    background: #e89d00;
}

.btn-paypal img {
    height: 23px;
}

.info-destacar {
    background: var(--gris-claro);
    padding: 30px;
    border-radius: 12px;
    margin-top: 40px;
}

.info-destacar h3 {
    color: var(--verde);
    margin-bottom: 20px;
}

.info-destacar ul {
    list-style: none;
}

.info-destacar ul li {
    padding: 10px 0;
    font-size: 16px;
}

/* PÁGINA ÉXITO */
.exito-container {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    background: white;
    padding: 60px 40px;
    border-radius: 15px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.1);
}

.icono-exito {
    font-size: 80px;
    margin-bottom: 20px;
}

.exito-container h1 {
    color: var(--verde);
    font-size: 32px;
    margin-bottom: 15px;
}

.info-exito {
    background: var(--gris-claro);
    padding: 25px;
    border-radius: 10px;
    margin: 30px 0;
}

.info-exito h3 {
    color: var(--verde);
    margin-bottom: 15px;
}

.info-exito ul {
    list-style: none;
    text-align: left;
}

.info-exito ul li {
    padding: 8px 0;
    font-size: 15px;
}

.acciones-exito {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap;
}

.btn-secondary {
    background: #95a5a6;
    color: white;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: #7f8c8d;
}

/* RESPONSIVE DESTACAR */
@media (max-width: 768px) {
    .plan-destacar-grid {
        grid-template-columns: 1fr;
    }
    
    .plan-popular {
        transform: scale(1);
    }
    
    .acciones-exito {
        flex-direction: column;
    }
}

/* ===================================
   FOOTER COMPLETO
=================================== */

.footer {
    background: #1a1a1a;
    color: #ffffff;
    padding: 60px 0 20px;
    margin-top: 80px;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
    padding-bottom: 40px;
    border-bottom: 1px solid #333;
}

.footer-col h4 {
    color: var(--amarillo);
    font-size: 18px;
    margin-bottom: 20px;
}

.footer-col-principal p {
    margin: 10px 0;
    line-height: 1.6;
    color: #ccc;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin: 10px 0;
}

.footer-col ul li a {
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s;
}

.footer-col ul li a:hover {
    color: var(--amarillo);
    padding-left: 5px;
}

.footer-section {
    margin: 40px 0;
    padding: 30px 0;
    border-top: 1px solid #333;
}

.footer-section h4 {
    color: var(--amarillo);
    font-size: 20px;
    margin-bottom: 25px;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.footer-links-grid a {
    color: #ccc;
    text-decoration: none;
    padding: 8px 15px;
    background: rgba(255,255,255,0.05);
    border-radius: 5px;
    transition: all 0.3s;
}

.footer-links-grid a:hover {
    background: var(--verde);
    color: white;
}

.footer-provincias-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.provincia-columna {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.provincia-columna a {
    color: #ccc;
    text-decoration: none;
    padding: 5px 0;
    transition: all 0.3s;
}

.provincia-columna a:hover {
    color: var(--amarillo);
    padding-left: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid #333;
}

.footer-bottom p {
    margin: 8px 0;
    color: #999;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.footer-social a {
    font-size: 28px;
    transition: transform 0.3s;
    text-decoration: none;
}

.footer-social a:hover {
    transform: scale(1.3);
}

/* RESPONSIVE FOOTER */
@media (max-width: 1024px) {
    .footer-main {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-provincias-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .footer-main {
        grid-template-columns: 1fr;
    }
    
    .footer-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-provincias-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .footer-links-grid,
    .footer-provincias-grid {
        grid-template-columns: 1fr;
    }
}

/* ===================================
   ARREGLOS FINALES
=================================== */

/* Login Container mejorado */
.login-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.login-info {
    background: var(--gris-claro);
    padding: 40px;
    border-radius: 12px;
}

.login-info h3 {
    color: var(--verde);
    margin-bottom: 20px;
}

.login-info ul {
    list-style: none;
    margin: 20px 0;
}

.login-info ul li {
    padding: 10px 0;
    font-size: 16px;
}

.planes-mini {
    background: white;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

.planes-mini h4 {
    color: var(--verde);
    margin-bottom: 15px;
}

.planes-mini p {
    margin: 8px 0;
    font-size: 14px;
}

/* Header responsive */
@media (max-width: 1024px) {
    .header .nav {
        display: none;
    }
    
    .header {
        position: relative;
    }
}

/* Anuncios layout mejor */
.anuncios-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
    margin-top: 30px;
}

.filtros-sidebar {
    position: sticky;
    top: 20px;
    height: fit-content;
}

.filtros-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 20px;
}

.filtros-card h3 {
    color: var(--verde);
    margin-bottom: 20px;
}

.filtro-grupo {
    margin-bottom: 20px;
}

.filtro-grupo label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
    color: var(--negro);
}

.filtro-grupo input,
.filtro-grupo select {
    width: 100%;
    padding: 10px;
    border: 2px solid var(--gris);
    border-radius: 6px;
    font-size: 14px;
}

.filtro-grupo input:focus,
.filtro-grupo select:focus {
    border-color: var(--verde);
    outline: none;
}

.precio-rango {
    display: flex;
    gap: 10px;
    align-items: center;
}

.precio-rango input {
    flex: 1;
}

.precio-rango span {
    color: #666;
}

.btn-filtrar,
.btn-limpiar {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
}

.btn-filtrar {
    background: var(--verde);
    color: white;
}

.btn-filtrar:hover {
    background: #1f3810;
}

.btn-limpiar {
    background: #95a5a6;
    color: white;
}

.btn-limpiar:hover {
    background: #7f8c8d;
}

.cta-publicar {
    background: linear-gradient(135deg, var(--verde) 0%, #1f3810 100%);
    color: white;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
}

.cta-publicar h4 {
    margin-bottom: 10px;
}

.cta-publicar p {
    margin-bottom: 15px;
    opacity: 0.9;
}

/* Anuncios content */
.anuncios-content {
    min-height: 500px;
}

.no-resultados {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 12px;
}

.no-resultados h3 {
    font-size: 28px;
    color: var(--negro);
    margin-bottom: 15px;
}

.no-resultados p {
    color: #666;
    font-size: 16px;
}

/* Mejorar cards destacados */
.anuncio-card.destacado {
    border: 3px solid var(--amarillo);
    box-shadow: 0 5px 20px rgba(244,165,0,0.2);
}

/* Responsive anuncios */
@media (max-width: 1024px) {
    .anuncios-layout {
        grid-template-columns: 1fr;
    }
    
    .filtros-sidebar {
        position: relative;
    }
}

/* Botón WhatsApp mejorado */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(37,211,102,0.4);
    z-index: 9999;
    transition: all 0.3s;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37,211,102,0.6);
}

/* Login/Registro responsive */
@media (max-width: 768px) {
    .login-container {
        grid-template-columns: 1fr;
    }
    
    .login-info {
        order: -1;
    }
}

/* SERVICIOS */
.servicios-info {
    max-width: 900px;
    margin: 0 auto;
}

.servicios-info h2 {
    color: var(--verde);
    font-size: 32px;
    text-align: center;
    margin-bottom: 20px;
}

.servicios-lista {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.servicio-item {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    text-align: center;
    transition: all 0.3s;
}

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

.servicio-item h3 {
    color: var(--verde);
    margin-bottom: 10px;
}

/* CONTACTO */
.contacto-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.contacto-form {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.contacto-form h2 {
    color: var(--verde);
    margin-bottom: 25px;
}

.form-contacto-completo .form-grupo {
    margin-bottom: 20px;
}

.form-contacto-completo label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
    color: var(--negro);
}

.form-contacto-completo input,
.form-contacto-completo select,
.form-contacto-completo textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--gris);
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
}

.form-contacto-completo input:focus,
.form-contacto-completo select:focus,
.form-contacto-completo textarea:focus {
    border-color: var(--verde);
    outline: none;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contacto-info .info-box {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 20px;
}

.contacto-info .info-box h3 {
    color: var(--verde);
    margin-bottom: 15px;
}

.contacto-info .info-box p {
    margin: 8px 0;
}

.contacto-info .info-box a {
    color: var(--verde);
    text-decoration: none;
}

.contacto-info .info-box a:hover {
    text-decoration: underline;
}

.horario {
    color: #666;
    font-size: 13px;
}

.btn-whatsapp-contacto {
    display: block;
    background: #25D366;
    color: white;
    text-align: center;
    padding: 12px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 15px;
    transition: all 0.3s;
}

.btn-whatsapp-contacto:hover {
    background: #20ba59;
}

@media (max-width: 768px) {
    .contacto-layout,
    .form-row {
        grid-template-columns: 1fr;
    }
}
