
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
    margin:0;
    font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
    background:#0b0b0d;
    color:#f6f3ff;
}
a{text-decoration:none;color:inherit}
img{display:block;max-width:100%}
.container{width:min(1180px,calc(100% - 28px));margin:auto}
.site-header{
    position:sticky;top:0;z-index:30;
    background:#f4c430;
    border-bottom:1px solid rgba(0,0,0,.15);
}
.nav{
    min-height:70px;display:flex;align-items:center;justify-content:space-between;gap:16px;
}
.brand{
    font-size:1.7rem;font-weight:900;color:#111;letter-spacing:-.03em
}
.brand span{color:#d61a72}
.nav-links{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.nav-links a{color:#111;font-weight:800}
.hero{
    padding:64px 0 40px;
    background:radial-gradient(circle at top right, rgba(214,26,114,.25), transparent 25%),
               radial-gradient(circle at top left, rgba(244,196,48,.22), transparent 22%);
}
.hero-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:26px;align-items:center}
.hero h1{font-size:clamp(2.4rem,5vw,4.6rem);line-height:.95;margin:0 0 14px}
.hero h1 span{color:#f4c430}
.hero p{font-size:1.08rem;line-height:1.75;color:#d9d2eb;max-width:760px}
.hero-card,.panel-card,.form-card,.legal-card,.filter-card,.empty,.product-main,.card{
    background:#15151a;border:1px solid #26262f;border-radius:22px;box-shadow:0 16px 40px rgba(0,0,0,.3)
}
.hero-card{padding:24px}
.hero-card ul{margin:10px 0 0 18px;padding:0;color:#e5def8;line-height:1.7}
.section{padding:40px 0 65px}
.section-title{display:flex;align-items:end;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:20px}
.section-title h2,.form-card h1,.legal-card h1{margin:0 0 6px}
.section-title p,.form-card p.lead,.legal-card p.lead{margin:0;color:#cdc7df}
.filters{
    display:grid;grid-template-columns:1.2fr .8fr .8fr auto;gap:12px;align-items:end;
    margin-bottom:22px
}
.filters.compact{grid-template-columns:.8fr .8fr auto}
label{display:block;margin-bottom:8px;font-weight:800;font-size:1.03rem}
input[type=text],input[type=email],input[type=password],input[type=tel],input[type=number],select,textarea,input[type=file]{
    width:100%;padding:15px 16px;border-radius:16px;border:1px solid #343446;
    background:#0f1015;color:#fff;outline:none;font-size:1rem
}
textarea{min-height:180px;resize:vertical}
small, .hint{display:block;color:#bdb6d4;line-height:1.6}
.form-card,.legal-card{max-width:960px;margin:40px auto;padding:28px}
.form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}
.field.full{grid-column:1/-1}
.check-group{
    display:grid;gap:10px;background:#0f1015;border:1px solid #343446;border-radius:16px;padding:16px
}
.check-inline{display:flex;gap:10px;align-items:flex-start;color:#ddd6f3}
.check-inline input{margin-top:4px}
.btn,button,.button{
    display:inline-flex;justify-content:center;align-items:center;gap:8px;
    border:none;border-radius:999px;padding:13px 18px;cursor:pointer;
    font-weight:900;letter-spacing:.01em;transition:.2s ease;line-height:1.1
}
.btn:hover,button:hover,.button:hover{transform:translateY(-1px)}
.btn-pink,button,.button,.request-btn{
    background:#e11d7b;color:#fff
}
.btn-outline{
    background:transparent;color:#f4c430;border:1px solid #f4c430
}
.btn-dark{
    background:#111;color:#f4c430;border:1px solid #2f2f2f
}
.btn-sm{padding:10px 14px;font-size:.95rem}
.flash-wrap{padding-top:14px}
.flash{padding:14px 16px;border-radius:16px;margin-bottom:12px;font-weight:700}
.flash.success{background:rgba(20, 132, 74, .18);border:1px solid #22c55e;color:#bcf7d0}
.flash.error{background:rgba(165, 36, 36, .18);border:1px solid #f87171;color:#ffd5d5}
.stats-row{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:24px 0}
.stat{
    padding:18px;border-radius:18px;background:#111118;border:1px solid #26262f
}
.stat strong{display:block;font-size:1.7rem;color:#f4c430}
.grid{
    display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:20px
}
.card{overflow:hidden}
.card-media{
    position:relative;width:100%;height:399px;background:#0f1015
}
.card-media img{
    width:100%;height:100%;object-fit:cover
}
.card-caption{
    position:absolute;left:0;right:0;bottom:0;
    padding:18px 14px 12px;
    background:linear-gradient(180deg, transparent 0%, rgba(0,0,0,.82) 68%);
}
.card-caption strong{display:block;font-size:1.05rem}
.badge-row{
    position:absolute;top:12px;left:12px;right:12px;display:flex;justify-content:space-between;gap:8px
}
.badge{
    display:inline-flex;align-items:center;gap:6px;border-radius:999px;padding:8px 12px;
    font-size:.8rem;font-weight:900;border:1px solid transparent
}
.badge-featured{background:#f4c430;color:#111}
.badge-city{background:rgba(0,0,0,.65);color:#fff}
.card-body{padding:16px}
.card-body p{color:#cfc8e3;line-height:1.6;margin:.35rem 0}
.card-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}
.price{font-size:1.35rem;font-weight:900;color:#f4c430}
.meta{color:#f1ca46;font-size:.9rem;font-weight:800;letter-spacing:.02em}
.note{
    padding:14px 16px;border-radius:16px;background:rgba(244,196,48,.08);border:1px solid rgba(244,196,48,.24);color:#f7e3a1
}
.warning{color:#ffd3d9}
.table-wrap{overflow:auto}
.table{width:100%;border-collapse:collapse;min-width:720px}
.table th,.table td{padding:12px 10px;border-bottom:1px solid #282832;text-align:left;vertical-align:top}
.table th{color:#f4c430}
.plan-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:16px}
.plan{
    padding:20px;border-radius:20px;background:#111118;border:1px solid #2a2a35
}
.plan h3{margin:0 0 8px}
.plan .plan-price{font-size:2rem;color:#f4c430;font-weight:900}
.plan ul{margin:12px 0 0 18px;padding:0;color:#ddd5f2;line-height:1.7}
.footer-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;padding:34px 0}
.site-footer{border-top:1px solid #24242b;margin-top:40px;background:#101015}
.product-layout{display:grid;grid-template-columns:minmax(300px,380px) 1fr;gap:28px;align-items:start}
.product-main{overflow:hidden}
.product-main img{width:100%;height:auto;max-height:520px;object-fit:cover}
.legal-card h2{margin-top:28px}
.legal-card li{line-height:1.7;color:#ddd6ee}
.text-yellow{color:#f4c430}
.text-pink{color:#f472b6}
.package-banner{
    display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;
    padding:18px;border-radius:18px;background:#0f1015;border:1px solid #2c2c37
}
.status-pill{
    display:inline-flex;padding:8px 12px;border-radius:999px;font-size:.82rem;font-weight:900
}
.status-pending{background:#332d16;color:#ffe08a}
.status-active{background:#12391e;color:#b8f2c8}
.status-rejected,.status-suspended{background:#3d1d24;color:#ffc5d0}
.status-approved{background:#1a2a4c;color:#cfe2ff}
.empty{padding:28px}
@media (max-width:920px){
    .hero-grid,.product-layout,.footer-grid,.plan-grid{grid-template-columns:1fr}
    .filters,.filters.compact,.form-grid,.stats-row{grid-template-columns:1fr}
    .nav{padding:10px 0}
    .nav-links{justify-content:flex-end}
}


/* ===== CercaGo V3: galería, opiniones y cuentas de cliente ===== */
.rating-line{display:flex;align-items:center;gap:8px;margin-top:7px;flex-wrap:wrap}
.stars{color:#f4c430;letter-spacing:.06em;font-size:1.05rem}
.rating-count{color:#bfb8cd;font-size:.88rem}
.badge-verified{background:#164e63;color:#cffafe}
.gallery-thumbs{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin-top:10px}
.gallery-thumb{border:2px solid transparent;border-radius:12px;overflow:hidden;background:#111;padding:0;aspect-ratio:1/1}
.gallery-thumb img{width:100%;height:100%;object-fit:cover}
.gallery-thumb.active{border-color:#f4c430}
.review-summary{display:flex;align-items:center;gap:16px;flex-wrap:wrap;padding:18px;background:#111118;border:1px solid #292933;border-radius:18px;margin:22px 0}
.review-score{font-size:2.2rem;font-weight:950;color:#f4c430}
.reviews-list{display:grid;gap:14px}
.review-card{padding:18px;background:#15151a;border:1px solid #292932;border-radius:22px;box-shadow:0 18px 50px rgba(0,0,0,.32)}
.review-head{display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap}
.review-card p{line-height:1.65;color:#ddd6ea}
.seller-reply{margin-top:14px;padding:13px;border-left:3px solid #e11d7b;background:#101016;border-radius:0 14px 14px 0}
.account-choice{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;margin:18px 0}
.account-option{display:block;padding:18px;border:1px solid #343442;border-radius:18px;background:#101016}
.account-option.active{border-color:#f4c430}
.upload-preview{display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:10px;margin-top:12px}
.upload-preview img{width:100%;aspect-ratio:300/399;object-fit:cover;border-radius:12px;border:1px solid #333}
.stats-row{grid-template-columns:repeat(4,1fr)}
.btn-danger{background:#7f1d1d;color:#fff}
.product-main img{width:100%;max-height:630px;object-fit:contain;background:#0e0e12}
@media(max-width:940px){.stats-row{grid-template-columns:1fr 1fr}}
@media(max-width:650px){.stats-row,.account-choice{grid-template-columns:1fr}.gallery-thumbs{grid-template-columns:repeat(4,1fr)}}

.edit-images{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(155px,1fr));
    gap:14px;
    margin-top:12px
}
.edit-image-card{
    overflow:hidden;
    border:1px solid #343441;
    border-radius:17px;
    background:#101016
}
.edit-image-card img{
    width:100%;
    aspect-ratio:300/399;
    object-fit:cover;
    background:#0a0a0d
}
.edit-image-choice,.edit-image-delete{
    display:flex;
    align-items:flex-start;
    gap:8px;
    padding:10px 11px;
    margin:0;
    font-size:.88rem;
    cursor:pointer
}
.edit-image-choice{
    color:#f4c430;
    border-top:1px solid #2c2c36
}
.edit-image-delete{
    color:#fecdd3;
    border-top:1px solid #2c2c36
}
.edit-image-choice input,.edit-image-delete input{
    margin-top:3px
}

.review-register-card{
    padding:28px;
    text-align:center;
    border:1px solid rgba(244,196,48,.36);
    border-radius:24px;
    background:
        radial-gradient(circle at top right,rgba(225,29,123,.18),transparent 35%),
        #15151a;
    box-shadow:0 18px 50px rgba(0,0,0,.32)
}
.review-register-card h3{
    margin:8px 0;
    font-size:clamp(1.4rem,3vw,2rem)
}
.review-register-card p{
    max-width:720px;
    margin:0 auto;
    color:#d6cfe2;
    line-height:1.7
}
.review-register-stars{
    color:#f4c430;
    font-size:2rem;
    letter-spacing:.12em
}
.review-register-actions{
    justify-content:center;
    margin-top:18px
}
.review-form-card{
    background:
        radial-gradient(circle at top right,rgba(225,29,123,.13),transparent 30%),
        #15151a
}
.review-form-heading{
    display:flex;
    align-items:flex-start;
    gap:12px;
    margin-bottom:20px
}
.review-form-heading h3{
    margin:0 0 6px
}
.review-form-icon{
    display:grid;
    place-items:center;
    width:50px;
    height:50px;
    flex:0 0 50px;
    border-radius:16px;
    background:#f4c430;
    font-size:1.55rem
}
.star-rating-input{
    display:flex;
    flex-direction:row-reverse;
    justify-content:flex-end;
    gap:4px
}
.star-rating-input input{
    position:absolute;
    opacity:0;
    pointer-events:none
}
.star-rating-input label{
    margin:0;
    color:#4b4b57;
    font-size:2.55rem;
    line-height:1;
    cursor:pointer;
    transition:transform .15s ease,color .15s ease
}
.star-rating-input label:hover,
.star-rating-input label:hover ~ label,
.star-rating-input input:checked ~ label{
    color:#f4c430
}
.star-rating-input label:hover{
    transform:scale(1.08)
}
.star-rating-input input:focus-visible + label{
    outline:2px solid #f472b6;
    outline-offset:4px;
    border-radius:6px
}
.emoji-toolbar{
    display:flex;
    gap:7px;
    flex-wrap:wrap;
    margin-bottom:10px;
    padding:10px;
    border:1px solid #343441;
    border-radius:15px;
    background:#101016
}
.emoji-button{
    width:42px;
    height:42px;
    padding:0;
    border:1px solid #343441;
    border-radius:12px;
    background:#1c1c23;
    color:#fff;
    font-size:1.35rem
}
.emoji-button:hover{
    background:#2a2a34;
    transform:translateY(-2px)
}
@media(max-width:650px){
    .star-rating-input label{font-size:2.25rem}
    .emoji-button{width:40px;height:40px}
    .review-register-actions .button,
    .review-register-actions .btn{width:100%}
}

.city-hero{
    padding:58px 0 44px;
    background:
        radial-gradient(circle at 88% 10%,rgba(225,29,123,.25),transparent 30%),
        radial-gradient(circle at 10% 15%,rgba(244,196,48,.2),transparent 28%),
        #0b0b0e
}
.city-hero-grid{
    display:grid;
    grid-template-columns:1.2fr .8fr;
    gap:28px;
    align-items:center
}
.city-hero h1,.city-directory-hero h1{
    margin:10px 0 14px;
    font-size:clamp(2.4rem,5vw,4.6rem);
    line-height:.98;
    letter-spacing:-.045em
}
.city-hero h1 span{color:#f4c430}
.city-hero p,.city-directory-hero p{
    color:#d7d0e5;
    line-height:1.75;
    max-width:760px
}
.city-breadcrumb{
    display:flex;
    align-items:center;
    gap:8px;
    flex-wrap:wrap;
    color:#cfc8dc;
    font-size:.92rem
}
.city-breadcrumb a{color:#f4c430}
.city-summary-card{
    display:flex;
    flex-direction:column;
    padding:28px;
    border:1px solid #31313b;
    border-radius:25px;
    background:linear-gradient(145deg,#19191f,#101014);
    box-shadow:0 20px 55px rgba(0,0,0,.38)
}
.city-summary-card small{color:#f4c430;text-transform:uppercase;letter-spacing:.12em}
.city-summary-card strong{font-size:2rem;margin-top:8px}
.city-summary-card span{color:#c9c2d7;margin-top:3px}
.city-count{
    margin-top:22px;
    padding:14px;
    border-radius:15px;
    background:#0d0d11;
    color:#f5d665;
    font-weight:850
}
.city-nearby-section{padding-top:5px}
.city-link-grid,.city-directory-grid{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(210px,1fr));
    gap:12px
}
.city-link-card{
    display:flex;
    flex-direction:column;
    gap:4px;
    padding:18px;
    border:1px solid #2e2e38;
    border-radius:18px;
    background:#15151a;
    transition:.2s ease
}
.city-link-card:hover,.city-directory-link:hover{
    transform:translateY(-2px);
    border-color:#f4c430
}
.city-link-card span{font-size:1.35rem}
.city-link-card small{color:#bdb6cb}
.city-directory-hero{
    padding:55px 0 35px;
    background:radial-gradient(circle at top right,rgba(225,29,123,.22),transparent 32%),#0c0c10
}
.state-directory{display:grid;gap:22px}
.state-city-block{
    padding:22px;
    border:1px solid #292933;
    border-radius:22px;
    background:#141419
}
.state-city-block h2{color:#f4c430;margin:0 0 15px}
.city-directory-link{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    padding:14px 15px;
    border:1px solid #30303a;
    border-radius:15px;
    background:#0f1015;
    transition:.2s ease
}
.city-directory-link span{display:flex;flex-direction:column;gap:3px}
.city-directory-link small{color:#aaa4b8}
.city-directory-link b{color:#e11d7b;font-size:1.2rem}
.city-card-link{margin-top:10px!important}
.city-card-link a,.city-inline-link{color:#f4c430;font-weight:850}
.city-card-link a:hover,.city-inline-link:hover{text-decoration:underline}
@media(max-width:900px){
    .city-hero-grid{grid-template-columns:1fr}
}

.marketplace-filters{
    grid-template-columns:minmax(230px,1.5fr) repeat(5,minmax(145px,.75fr)) auto
}
.filter-action{align-self:end}
.category-strip-section{
    padding:38px 0 10px;
    background:#101015;
    border-top:1px solid #22222a;
    border-bottom:1px solid #22222a
}
.market-category-grid{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(150px,1fr));
    gap:13px
}
.market-category-card{
    display:flex;
    min-height:145px;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:7px;
    padding:17px;
    text-align:center;
    border:1px solid #30303a;
    border-radius:20px;
    background:#17171d;
    transition:.2s ease
}
.market-category-card:hover{
    transform:translateY(-3px);
    border-color:#f4c430;
    box-shadow:0 14px 34px rgba(0,0,0,.3)
}
.market-category-card>span{font-size:2.15rem}
.market-category-card strong{line-height:1.25}
.market-category-card small{color:#aaa4b7}
.badge-service{background:#e11d7b;color:#fff}
.badge-product{background:#27272f;color:#f4c430;border:1px solid #4a4734}
.badge-category{background:#24242d;color:#f6f2ff}
.listing-category-line{
    margin-top:8px;
    color:#e4ddef;
    font-size:.9rem;
    font-weight:800
}
.listing-detail-badges{
    display:flex;
    gap:8px;
    flex-wrap:wrap
}
.selection-display{
    padding:15px 16px;
    border:1px solid #383847;
    border-radius:15px;
    background:#0f1015;
    font-weight:900;
    color:#f4c430
}
.service-facts{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(145px,1fr));
    gap:10px;
    margin:18px 0
}
.service-facts>div{
    padding:14px;
    border:1px solid #30303a;
    border-radius:16px;
    background:#101016
}
.service-facts small{
    display:block;
    margin-bottom:5px;
    color:#f4c430
}
.service-facts strong{
    display:block;
    line-height:1.4
}
.city-section-links{
    display:flex;
    gap:9px;
    flex-wrap:wrap;
    margin-top:18px
}
.city-section-links a{
    padding:10px 14px;
    border:1px solid #363640;
    border-radius:999px;
    background:#111118;
    font-weight:850
}
.city-section-links a:hover{
    border-color:#f4c430;
    color:#f4c430
}
[hidden]{display:none!important}
@media(max-width:1180px){
    .marketplace-filters{
        grid-template-columns:repeat(3,1fr)
    }
    .filter-search{grid-column:span 2}
}
@media(max-width:760px){
    .marketplace-filters{grid-template-columns:1fr}
    .filter-search{grid-column:auto}
    .filter-action button{width:100%}
    .market-category-grid{grid-template-columns:repeat(2,1fr)}
}
