/* ==========================================================================
   HAZLO POR MÍ · Hoja de estilos
   Identidad: azul marino + amarillo, tarjetas blancas redondeadas, tipografía Outfit.
   ========================================================================== */
@font-face { font-family: "Outfit"; src: url("/fonts/outfit-latin.woff2") format("woff2"); font-weight: 300 800; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Outfit"; src: url("/fonts/outfit-latin-ext.woff2") format("woff2"); font-weight: 300 800; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0; }

:root {
  --navy: #0b1f4d; --navy-2: #14306e; --blue: #1857d6; --blue-2: #0f45b3; --blue-soft: #e9f0fd; --blue-line: #c9d8f6;
  --yellow: #ffc21a; --yellow-2: #ffae00; --yellow-soft: #fff5d1; --yellow-line: #f7dc86;
  --bg: #f3f6fc; --card: #fff; --line: #dfe6f3; --text: #0b1f4d; --muted: #55648a;
  --green: #15934a; --green-soft: #dff5e6; --red: #c62f3a; --red-soft: #fde7e8;
  --r: 18px; --r-sm: 12px; --shadow: 0 2px 6px rgba(11, 31, 77, .05), 0 10px 28px rgba(11, 31, 77, .07);
  --shadow-lg: 0 6px 14px rgba(11, 31, 77, .08), 0 22px 48px rgba(11, 31, 77, .14);
  --ease: cubic-bezier(.22, .9, .3, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 16px; line-height: 1.5; color: var(--text); background: var(--bg); min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { margin: 0 0 .4em; line-height: 1.15; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); } h2 { font-size: clamp(1.35rem, 2.4vw, 1.8rem); } h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.wrap { width: min(1240px, 100% - 32px); margin-inline: auto; }
.wrap-narrow { width: min(860px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); } .small { font-size: .9rem; } .center { text-align: center; }
.ic { flex: none; vertical-align: -4px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; font: inherit; font-weight: 600; padding: 12px 22px; border-radius: 999px; text-decoration: none !important; transition: transform .18s var(--ease), box-shadow .18s, background .18s, border-color .18s, color .18s; white-space: nowrap; line-height: 1.2; }
.btn .ic { transition: transform .22s var(--ease); }
.btn:hover .ic.go { transform: translateX(4px); } .btn:hover .ic.back { transform: translateX(-4px); }
.btn:active { transform: scale(.97); }
.btn-yellow { background: linear-gradient(180deg, #ffd23d, var(--yellow-2)); color: var(--navy); box-shadow: 0 4px 12px rgba(255, 174, 0, .35); }
.btn-yellow:hover { box-shadow: 0 8px 20px rgba(255, 174, 0, .45); transform: translateY(-2px); }
.btn-blue { background: var(--blue); color: #fff; box-shadow: 0 4px 12px rgba(24, 87, 214, .3); }
.btn-blue:hover { background: var(--blue-2); transform: translateY(-2px); }
.btn-ghost { background: #fff; color: var(--navy); border: 1.5px solid var(--blue-line); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-soft); }
.btn-danger { background: #fff; color: var(--red); border: 1.5px solid #f1c3c6; } .btn-danger:hover { background: var(--red-soft); }
.btn-sm { padding: 8px 16px; font-size: .92rem; } .btn-lg { padding: 15px 28px; font-size: 1.06rem; } .btn-block { width: 100%; }
.btn[disabled], .btn.loading { opacity: .65; pointer-events: none; }
.spinner { width: 18px; height: 18px; border: 2.5px solid rgba(11, 31, 77, .25); border-top-color: var(--navy); border-radius: 50%; animation: spin .7s linear infinite; flex: none; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Cabecera ---------- */
.site-header { background: #fff; position: sticky; top: 0; z-index: 50; box-shadow: 0 1px 0 var(--line); transition: box-shadow .25s; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(11, 31, 77, .1); }
.header-in { display: flex; align-items: center; gap: 22px; height: 76px; }
.logo img { height: 56px; width: auto; transition: transform .3s var(--ease); } .logo:hover img { transform: scale(1.04) rotate(-1.5deg); }
.main-nav { display: flex; gap: 4px; position: relative; flex: 1; }
.main-nav a { display: inline-flex; align-items: center; gap: 7px; color: var(--navy); font-weight: 500; padding: 10px 12px; border-radius: 10px; text-decoration: none; font-size: .97rem; white-space: nowrap; transition: color .2s; }
.main-nav a .ic { width: 18px; height: 18px; } .main-nav a:hover, .main-nav a.active { color: var(--blue); } .main-nav a.active { font-weight: 600; }
.header-actions { display: flex; gap: 10px; align-items: center; margin-left: auto; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; color: var(--navy); cursor: pointer; margin-left: auto; }
.user-menu { position: relative; }
.user-btn { display: flex; align-items: center; gap: 9px; background: #fff; border: 1.5px solid var(--blue-line); border-radius: 999px; padding: 5px 14px 5px 5px; font: inherit; font-weight: 600; color: var(--navy); cursor: pointer; transition: border-color .2s, background .2s; }
.user-btn:hover { border-color: var(--blue); background: var(--blue-soft); }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; object-fit: cover; flex: none; overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar-lg { width: 112px; height: 112px; font-size: 2.6rem; border: 4px solid #fff; box-shadow: var(--shadow); } .avatar-md { width: 64px; height: 64px; font-size: 1.5rem; }
.dropdown { position: absolute; right: 0; top: calc(100% + 10px); background: #fff; border-radius: var(--r-sm); box-shadow: var(--shadow-lg); padding: 8px; min-width: 220px; opacity: 0; transform: translateY(-8px) scale(.98); pointer-events: none; transition: opacity .18s, transform .22s var(--ease); z-index: 60; }
.user-menu.open .dropdown { opacity: 1; transform: none; pointer-events: auto; }
.dropdown a, .dropdown button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border-radius: 8px; color: var(--navy); background: none; border: 0; font: inherit; cursor: pointer; text-decoration: none; text-align: left; }
.dropdown a:hover, .dropdown button:hover { background: var(--blue-soft); color: var(--blue); }

/* ---------- Indicador que sigue la selección (animación distintiva) ---------- */
[data-follow] { position: relative; }
.follow-ind { position: absolute; pointer-events: none; opacity: 0; transition: transform .38s var(--ease), width .38s var(--ease), height .38s var(--ease), opacity .25s; z-index: 2; left: 0; top: 0; }
.follow-ind.on { opacity: 1; }
.follow-underline { height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--yellow), var(--yellow-2)); }
.follow-arrow { width: 0; height: 0; border-style: solid; border-width: 7px 0 7px 10px; border-color: transparent transparent transparent var(--yellow-2); filter: drop-shadow(0 2px 3px rgba(255, 174, 0, .5)); }
.follow-arrow.on { animation: nudge 1.4s ease-in-out infinite; }
@keyframes nudge { 0%, 100% { margin-left: 0; } 50% { margin-left: 4px; } }
.follow-pill { border-radius: 12px; background: var(--blue-soft); z-index: 0; }
[data-follow] > * { position: relative; z-index: 1; }
[data-follow] > .follow-pill { z-index: 0; position: absolute; }
[data-follow] > .follow-ind { position: absolute; }

/* ---------- Formularios ---------- */
label { font-weight: 600; display: block; margin-bottom: 6px; }
.field { margin-bottom: 16px; }
.input, select.input, textarea.input { width: 100%; font: inherit; color: var(--navy); background: #fff; border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: 12px 14px; transition: border-color .2s, box-shadow .2s; appearance: none; }
textarea.input { min-height: 120px; resize: vertical; }
select.input { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230b1f4d' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 38px; }
.input:hover { border-color: var(--blue-line); }
.input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(24, 87, 214, .14); }
.input.bad { border-color: var(--red); } .err { color: var(--red); font-size: .9rem; margin-top: 5px; font-weight: 500; }
.hint { color: var(--muted); font-size: .9rem; margin-top: 5px; }
.with-icon { position: relative; } .with-icon > .ic { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--blue); pointer-events: none; } .with-icon .input { padding-left: 42px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; } .grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 16px; }
.check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-weight: 500; margin-bottom: 0; position: relative; }
.check input { position: absolute; opacity: 0; width: 22px; height: 22px; margin: 0; cursor: pointer; }
.check .box { width: 22px; height: 22px; border-radius: 6px; border: 2px solid var(--blue-line); background: #fff; flex: none; display: inline-flex; align-items: center; justify-content: center; transition: background .18s, border-color .18s, transform .2s var(--ease); margin-top: 1px; }
.check .box svg { width: 14px; height: 14px; stroke: #fff; stroke-width: 3.5; fill: none; stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset .25s .05s; }
.check:hover .box { border-color: var(--blue); transform: scale(1.08); }
.check input:checked + .box { background: var(--blue); border-color: var(--blue); animation: pop .3s var(--ease); }
.check input:checked + .box svg { stroke-dashoffset: 0; }
.check input:focus-visible + .box { outline: 3px solid var(--blue); outline-offset: 2px; }
.check input[type=radio] + .box { border-radius: 50%; }
@keyframes pop { 0% { transform: scale(.8); } 60% { transform: scale(1.18); } 100% { transform: scale(1); } }
.notice { border-radius: var(--r-sm); padding: 14px 16px; margin-bottom: 16px; display: flex; gap: 12px; align-items: flex-start; background: var(--blue-soft); border: 1px solid var(--blue-line); }
.notice .ic { color: var(--blue); margin-top: 2px; } .notice p:last-child { margin: 0; }
.notice-ok { background: var(--green-soft); border-color: #b5e3c5; } .notice-ok .ic { color: var(--green); }
.notice-warn { background: var(--yellow-soft); border-color: var(--yellow-line); } .notice-warn .ic { color: #a86b00; }
.notice-bad { background: var(--red-soft); border-color: #f1c3c6; } .notice-bad .ic { color: var(--red); }
.hp { position: absolute !important; left: -9999px !important; height: 0; overflow: hidden; }

/* ---------- Tarjetas base ---------- */
.card { background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); padding: 24px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; font-size: .85rem; font-weight: 600; background: var(--blue-soft); color: var(--blue); }
.chip .ic { width: 14px; height: 14px; }
.chip-blue { background: var(--blue); color: #fff; } .chip-green { background: var(--green-soft); color: var(--green); } .chip-yellow { background: var(--yellow-soft); color: #7a5200; }
.chip-red { background: var(--red-soft); color: var(--red); } .chip-grey { background: #eceff5; color: var(--muted); }
.stars { color: var(--yellow-2); display: inline-flex; align-items: center; gap: 5px; font-weight: 600; } .stars .ic { fill: var(--yellow); width: 18px; height: 18px; } .stars span { color: var(--navy); }

/* ---------- Banner y portada ---------- */
.banner { position: relative; color: #fff; background: var(--navy) url("/img/banner.jpg") right center / cover no-repeat; overflow: hidden; }
.banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #0b2a73 0%, rgba(13, 49, 130, .96) 30%, rgba(24, 87, 214, .55) 55%, rgba(24, 87, 214, 0) 78%); }
.banner .wrap { position: relative; padding: 34px 0 62px; }
.banner h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 800; margin-bottom: .2em; }
.banner p { font-size: clamp(1rem, 1.8vw, 1.25rem); margin: 0; max-width: 520px; opacity: .96; }
.banner .swoosh { display: block; width: 260px; max-width: 60%; height: 10px; margin-top: 16px; }
.banner-sm .wrap { padding-bottom: 40px; }
.pull-up { margin-top: -34px; position: relative; z-index: 3; }
/* Banner de Buscar anuncios: ilustración de mapa con anuncios cercanos */
.banner-map { background: linear-gradient(100deg, #0b2a73 0%, #0d3182 42%, #1857d6 100%); }
.banner-map::before { display: none; }
.banner-art { position: absolute; top: 0; right: 0; height: 100%; width: min(60%, 820px); pointer-events: none; }
.banner-art .bm-pin { animation: bmBob 2.8s ease-in-out infinite; transform-box: fill-box; transform-origin: bottom; }
.banner-art .bm-d2 { animation-delay: .7s; } .banner-art .bm-d3 { animation-delay: 1.4s; }
.banner-art .bm-lens { animation: bmFloat 5s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.banner-art .bm-route { stroke-dasharray: 3 9; animation: bmDash 1s linear infinite; }
.banner-art .bm-pulse { animation: bmPulse 2.2s ease-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes bmBob { 50% { transform: translateY(-6px); } }
@keyframes bmFloat { 50% { transform: translate(-12px, -5px) rotate(-5deg); } }
@keyframes bmDash { to { stroke-dashoffset: -24; } }
@keyframes bmPulse { from { transform: scale(.5); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
@media (max-width: 980px) { .banner-art { display: none; } }
@media (prefers-reduced-motion: reduce) { .banner-art * { animation: none !important; } }

.hero { position: relative; color: #fff; background: var(--navy) url("/img/hero.jpg") right -11vw top / cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(95deg, #0a2566 0%, rgba(11, 42, 115, .97) 36%, rgba(24, 87, 214, .32) 56%, rgba(24, 87, 214, 0) 70%), linear-gradient(0deg, rgba(243, 246, 252, 1) 0%, rgba(243, 246, 252, 0) 22%); }
/* Anchuras intermedias: la foto no cabe junto al título, así que los iconos quedan atenuados bajo el degradado */
@media (max-width: 1270px) { .hero { background-position: right -5vw top; } .hero::before { background: linear-gradient(95deg, #0a2566 0%, rgba(11, 42, 115, .97) 38%, rgba(24, 87, 214, .6) 55%, rgba(24, 87, 214, 0) 72%), linear-gradient(0deg, rgba(243, 246, 252, 1) 0%, rgba(243, 246, 252, 0) 22%); } }
.hero .wrap { position: relative; padding: 64px 0 150px; }
.hero h1 { font-size: clamp(2.1rem, 5.4vw, 3.6rem); font-weight: 800; max-width: 640px; }
.hero h1 em { font-style: normal; color: var(--yellow); position: relative; white-space: nowrap; }
.hero h1 em::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 6px; border-radius: 6px; background: var(--yellow); transform: scaleX(0); transform-origin: left; animation: underline .7s .5s var(--ease) forwards; opacity: .85; }
@keyframes underline { to { transform: scaleX(1); } }
.hero-sub { font-size: clamp(1.05rem, 2vw, 1.3rem); max-width: 520px; margin-bottom: 26px; }
.hero-search { display: flex; background: #fff; border-radius: 999px; padding: 6px; max-width: 520px; box-shadow: var(--shadow-lg); transition: transform .25s var(--ease), box-shadow .25s; }
.hero-search:focus-within { transform: translateY(-2px); box-shadow: 0 0 0 4px rgba(255, 194, 26, .55), var(--shadow-lg); }
.hero-search .ic { margin: auto 6px auto 16px; color: var(--muted); }
.hero-search input { flex: 1; border: 0; font: inherit; background: none; color: var(--navy); min-width: 0; padding: 10px 6px; } .hero-search input:focus { outline: none; }
.hero-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 680px; margin: -108px auto 0; position: relative; z-index: 3; }
.hero-cta .card { text-align: center; padding: 26px 22px; transition: transform .3s var(--ease), box-shadow .3s; }
.hero-cta .card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.hero-cta h3 { font-size: 1.3rem; } .hero-cta p { color: var(--blue); font-size: .98rem; }
.hero-cta .card.cta { padding: 0; overflow: hidden; } .cta-img { display: block; aspect-ratio: 16/8; overflow: hidden; position: relative; }
.cta-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); } .cta:hover .cta-img img { transform: scale(1.06); }
.cta-img .tagi { position: absolute; left: 14px; bottom: -20px; width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(180deg, #ffd23d, var(--yellow-2)); color: var(--navy); display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 10px rgba(255, 174, 0, .45); border: 3px solid #fff; }
.cta-img { overflow: visible; } .cta-img img { border-radius: var(--r) var(--r) 0 0; } .cta-body { padding: 26px 22px 24px; }
.how-steps .n .ic { width: 20px; height: 20px; color: var(--navy); stroke-width: 2.3; } .how-steps .n { width: 44px; height: 44px; }

.section { padding: 44px 0; } .section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.cat-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cat-card { display: flex; gap: 16px; align-items: center; background: linear-gradient(180deg, #fff, #f1f5fd); border-radius: var(--r); padding: 14px; box-shadow: var(--shadow); color: var(--navy); text-decoration: none !important; transition: transform .3s var(--ease), box-shadow .3s; overflow: hidden; }
.cat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.cat-card .ph { width: 42%; aspect-ratio: 4/3; border-radius: 12px; overflow: hidden; flex: none; } .cat-card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.cat-card:hover .ph img { transform: scale(1.08); }
.cat-card h3 { color: var(--blue); margin-bottom: 4px; } .cat-card p { font-size: .9rem; color: var(--muted); margin-bottom: 6px; }
.more { color: var(--blue); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; } .more .ic { color: var(--yellow-2); transition: transform .22s var(--ease); width: 18px; }
a:hover .more .ic, .more:hover .ic { transform: translateX(5px); }

/* ---------- Tarjeta de anuncio ---------- */
.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.ad-card { background: #fff; border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; position: relative; transition: transform .3s var(--ease), box-shadow .3s; }
.ad-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.ad-card.featured { box-shadow: 0 0 0 2px var(--yellow), var(--shadow); }
.ad-card .ph { position: relative; aspect-ratio: 16/9; overflow: hidden; background: var(--blue-soft); display: block; }
.ad-card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); } .ad-card:hover .ph img { transform: scale(1.07); }
.ad-card .badge { position: absolute; left: 10px; bottom: 10px; background: var(--blue); color: #fff; font-size: .82rem; font-weight: 600; padding: 4px 11px; border-radius: 8px; display: inline-flex; gap: 6px; align-items: center; }
.ad-card .badge .ic { width: 14px; height: 14px; } .badge.cat-vac { background: var(--green); } .badge.cat-veh { background: #1e3a8a; }
.ribbon { position: absolute; left: 10px; top: 10px; background: linear-gradient(180deg, #ffd23d, var(--yellow-2)); color: var(--navy); font-size: .78rem; font-weight: 700; padding: 3px 10px; border-radius: 8px; display: inline-flex; gap: 5px; align-items: center; }
.ribbon .ic { width: 13px; height: 13px; fill: var(--navy); }
.fav-btn { position: absolute; right: 10px; top: 10px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .95); color: var(--navy); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: transform .2s var(--ease), color .2s; box-shadow: 0 2px 8px rgba(0, 0, 0, .15); }
.fav-btn:hover { transform: scale(1.12); color: var(--red); } .fav-btn .ic { width: 19px; height: 19px; }
.fav-btn.on { color: var(--red); } .fav-btn.on .ic { fill: var(--red); animation: pop .35s var(--ease); }
.ad-card .body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.ad-card h3 { margin: 0; font-size: 1.12rem; } .ad-card h3 a { color: var(--navy); text-decoration: none; } .ad-card h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.ad-card .fav-btn, .ad-card .foot .btn { z-index: 2; }
.ad-card .where { display: flex; align-items: center; gap: 6px; font-size: .95rem; } .ad-card .where .ic { width: 16px; color: var(--navy); }
.ad-card .desc { color: var(--muted); font-size: .92rem; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ad-card .foot { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 8px; }
.price { background: linear-gradient(180deg, #ffd23d, var(--yellow-2)); color: var(--navy); font-weight: 700; padding: 5px 11px; border-radius: 9px; white-space: nowrap; }
.ad-card .when { color: var(--muted); font-size: .85rem; display: inline-flex; gap: 5px; align-items: center; margin-right: auto; white-space: nowrap; } .ad-card .when .ic { width: 15px; }
.ad-card .foot .btn { position: relative; padding: 8px 14px; font-size: .88rem; }

/* ---------- Buscador ---------- */
.search-bar { display: grid; grid-template-columns: 1.3fr 1.2fr 1.1fr 1fr 1fr auto; background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg); overflow: hidden; }
.search-bar .cell { position: relative; border-right: 1px solid var(--line); display: flex; align-items: center; }
.search-bar .cell > .ic { position: absolute; left: 16px; color: var(--navy); pointer-events: none; width: 18px; }
.search-bar .input { border: 0; border-radius: 0; padding: 16px 34px 16px 44px; background-color: transparent; height: 100%; font-size: .95rem; }
.search-bar .input:focus { box-shadow: inset 0 -3px 0 var(--yellow); }
.search-bar .btn { border-radius: 0 16px 16px 0; padding-inline: 34px; font-size: 1.05rem; }
.search-layout { display: grid; grid-template-columns: 270px 1fr; gap: 26px; padding: 24px 0 48px; align-items: start; }
.filters { position: sticky; top: 96px; padding: 20px; } .filters h2 { display: flex; gap: 10px; align-items: center; font-size: 1.3rem; } .filters h2 .ic { color: var(--blue); fill: var(--blue); }
.filters h3 { font-size: 1rem; margin: 18px 0 10px; display: flex; gap: 7px; align-items: center; } .filters h3 .ic { width: 16px; color: var(--blue); }
.filter-list { display: grid; gap: 4px; padding-left: 14px; } .filter-list .check { padding: 7px 8px; border-radius: 10px; align-items: center; font-size: .95rem; } .filter-list .check .ic { width: 17px; }
.results-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; } .results-head strong { font-size: 1.05rem; }
.sort { display: flex; align-items: center; gap: 10px; } .sort label { margin: 0; white-space: nowrap; } .sort .input { padding: 8px 36px 8px 12px; width: auto; }
.filters-toggle { display: none; }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 30px; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 40px; height: 40px; padding: 0 8px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; background: #fff; border: 1.5px solid var(--line); color: var(--navy); font-weight: 600; text-decoration: none; transition: transform .2s var(--ease), border-color .2s, background .2s; }
.pagination a:hover { border-color: var(--blue); transform: translateY(-2px); } .pagination .cur { background: var(--navy); color: #fff; border-color: var(--navy); } .pagination .off { opacity: .4; }
.empty { text-align: center; padding: 50px 20px; } .empty .ic { width: 54px; height: 54px; color: var(--blue-line); margin-bottom: 10px; }
.promo { display: block; background: #fff; border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; color: var(--navy); text-decoration: none !important; margin-top: 18px; position: relative; transition: transform .25s var(--ease); }
.promo:hover { transform: translateY(-3px); } .promo img { width: 100%; aspect-ratio: 16/9; object-fit: cover; } .promo .txt { padding: 12px 14px; } .promo small { position: absolute; right: 8px; top: 8px; background: rgba(11, 31, 77, .7); color: #fff; padding: 2px 8px; border-radius: 6px; font-size: .7rem; }

/* ---------- Detalle de anuncio ---------- */
.crumbs { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: .92rem; padding: 14px 0; color: var(--navy); } .crumbs a { color: var(--navy); } .crumbs .ic { width: 14px; }
.detail { display: grid; grid-template-columns: 1fr 340px; gap: 24px; align-items: start; padding-bottom: 30px; }
.detail-head { display: flex; justify-content: space-between; gap: 18px; align-items: flex-start; flex-wrap: wrap; }
.detail-head > div:first-child { flex: 1; min-width: 260px; }
.detail-meta { display: flex; gap: 8px 18px; flex-wrap: wrap; margin: 6px 0 18px; } .detail-meta span { display: inline-flex; gap: 7px; align-items: center; } .detail-meta span + span { border-left: 1.5px solid var(--line); padding-left: 18px; }
.reward-box { background: linear-gradient(180deg, #fff3bf, #ffe793); border-radius: 14px; padding: 10px 22px; text-align: right; animation: glow 3s ease-in-out infinite; }
.reward-box b { display: block; font-size: 2.2rem; color: #0f5132; line-height: 1.1; } .reward-box span { font-size: .9rem; }
@keyframes glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 194, 26, 0); } 50% { box-shadow: 0 0 0 6px rgba(255, 194, 26, .22); } }
.detail-top { display: grid; grid-template-columns: 1.55fr 1fr; gap: 16px; }
.gallery { display: grid; grid-template-columns: 1fr 110px; gap: 10px; }
.gallery.single { grid-template-columns: 1fr; }
.gallery-main { position: relative; border-radius: 14px; overflow: hidden; background: var(--navy); aspect-ratio: 4/3; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; transition: opacity .3s; } .gallery-main img.swap { opacity: 0; }
.g-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .95); color: var(--navy); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: transform .2s var(--ease); box-shadow: 0 2px 10px rgba(0, 0, 0, .2); }
.g-nav:hover { transform: translateY(-50%) scale(1.1); } .g-prev { left: 12px; } .g-next { right: 12px; }
.g-count { position: absolute; left: 12px; bottom: 12px; background: rgba(11, 31, 77, .75); color: #fff; padding: 4px 12px; border-radius: 8px; font-weight: 600; display: flex; gap: 7px; align-items: center; font-size: .92rem; }
.g-source { position: absolute; right: 12px; bottom: 12px; background: rgba(11, 31, 77, .75); color: #fff; padding: 4px 10px; border-radius: 8px; font-size: .78rem; }
.thumbs { display: grid; gap: 8px; align-content: start; max-height: 100%; overflow: auto; }
.thumbs button { padding: 0; border: 3px solid transparent; border-radius: 10px; overflow: hidden; cursor: pointer; background: none; aspect-ratio: 3/2; transition: border-color .2s, transform .2s var(--ease); }
.thumbs button:hover { transform: scale(1.04); } .thumbs button.on { border-color: var(--yellow); } .thumbs img { width: 100%; height: 100%; object-fit: cover; }
.info-card { border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; background: #fff; margin-bottom: 14px; }
.info-card h2 { font-size: 1.15rem; display: flex; gap: 10px; align-items: center; padding-bottom: 10px; border-bottom: 1px solid var(--line); margin-bottom: 10px; } .info-card h2 .ic { color: var(--blue); }
.info-rows { display: grid; grid-template-columns: auto 1fr; gap: 9px 18px; margin: 0; } .info-rows dt { display: flex; gap: 9px; align-items: center; } .info-rows dt .ic { width: 17px; color: var(--navy); } .info-rows dd { margin: 0; font-weight: 500; }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; } .check-list li { display: flex; gap: 10px; align-items: center; } .check-list .ic { color: var(--green); stroke-width: 3; width: 18px; }
.original { background: var(--blue-soft); border-color: var(--blue-line); }
.reward-strip { background: var(--yellow-soft); border: 1px solid var(--yellow-line); border-radius: 14px; padding: 16px 20px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 18px; }
.reward-strip > div + div { border-left: 1.5px solid var(--yellow-line); padding-left: 20px; } .reward-strip small { display: flex; gap: 7px; align-items: center; } .reward-strip b { font-size: 1.08rem; } .reward-strip .big { font-size: 1.7rem; }
.side-card h2 { font-size: 1.25rem; display: flex; gap: 10px; align-items: center; padding-bottom: 12px; border-bottom: 1px solid var(--line); } .side-card h2 .ic { color: var(--blue); }
.owner { display: flex; gap: 16px; align-items: center; margin: 14px 0; }
.channels { list-style: none; margin: 10px 0 16px; padding: 0; display: grid; gap: 10px; } .channels li { display: flex; gap: 12px; align-items: center; }
.ch { width: 38px; height: 38px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff; flex: none; } .ch-wa { background: #25d366; } .ch-ph { background: var(--blue-soft); color: var(--blue); } .ch-em { background: var(--blue); }
.contact-links { display: grid; gap: 10px; margin-top: 14px; animation: rise .4s var(--ease); }
.contact-links a { display: flex; gap: 12px; align-items: center; padding: 10px 14px; border-radius: 12px; border: 1.5px solid var(--line); color: var(--navy); font-weight: 600; text-decoration: none; transition: transform .2s var(--ease), border-color .2s; } .contact-links a:hover { transform: translateX(4px); border-color: var(--blue); }
.actions-bar { display: flex; gap: 14px; flex-wrap: wrap; padding: 18px 0 40px; } .actions-bar .sp { flex: 1; }
.owner-bar { background: var(--navy); color: #fff; border-radius: 14px; padding: 12px 18px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 14px; } .owner-bar .sp { flex: 1; }

/* ---------- Asistente de publicación ---------- */
.wizard { display: grid; grid-template-columns: 300px 1fr; gap: 0; padding: 0; overflow: hidden; margin-bottom: 30px; }
.steps { list-style: none; margin: 0; padding: 20px 16px; border-right: 1px solid var(--line); background: #fbfcff; display: grid; gap: 4px; align-content: start; }
.steps li { display: grid; grid-template-columns: 42px 38px 1fr; gap: 10px; align-items: center; padding: 12px 10px; border-radius: 12px; cursor: pointer; position: relative; transition: background .25s; border: 0; background: none; width: 100%; text-align: left; font: inherit; color: var(--navy); }
.steps li::before { content: ""; position: absolute; left: 30px; top: 54px; bottom: -14px; width: 2px; background: var(--line); transition: background .3s; } .steps li:last-child::before { display: none; }
.steps .n { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--line); background: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; position: relative; z-index: 1; transition: background .3s, border-color .3s, color .3s, transform .3s var(--ease); }
.steps .si { width: 38px; height: 38px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; color: var(--navy); box-shadow: 0 1px 4px rgba(11, 31, 77, .1); }
.steps b { display: block; } .steps small { color: var(--muted); display: block; line-height: 1.25; }
.steps li.current { background: var(--blue-soft); } .steps li.current .n { background: var(--blue); border-color: var(--blue); color: #fff; transform: scale(1.08); } .steps li.current b { color: var(--blue); }
.steps li.done .n { background: var(--green); border-color: var(--green); color: #fff; } .steps li.done::before { background: var(--green); }
.steps li.locked { cursor: not-allowed; opacity: .6; }
.wizard-body { padding: 26px 30px 24px; min-width: 0; }
.step-pane { animation: slideIn .4s var(--ease); } .step-pane.back { animation-name: slideBack; }
@keyframes slideIn { from { opacity: 0; transform: translateX(26px); } to { opacity: 1; transform: none; } }
@keyframes slideBack { from { opacity: 0; transform: translateX(-26px); } to { opacity: 1; transform: none; } }
.wizard-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 22px; }
.cat-pick { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; margin: 18px 0; }
.cat-opt { position: relative; background: #fff; border: 2px solid var(--line); border-radius: 16px; padding: 8px 8px 18px; text-align: center; cursor: pointer; transition: transform .3s var(--ease), border-color .25s, box-shadow .25s; display: block; font-weight: 400; margin: 0; }
.cat-opt:hover { transform: translateY(-4px); border-color: var(--blue-line); box-shadow: var(--shadow); }
.cat-opt input { position: absolute; opacity: 0; }
.cat-opt .ph { display: block; border-radius: 10px; overflow: hidden; aspect-ratio: 16/9; margin-bottom: 10px; } .cat-opt .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); } .cat-opt:hover .ph img { transform: scale(1.06); }
.cat-opt .radio { position: absolute; left: 16px; top: 16px; width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 2px solid var(--blue-line); display: flex; align-items: center; justify-content: center; transition: border-color .2s; z-index: 1; }
.cat-opt .radio::after { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--blue); transform: scale(0); transition: transform .3s var(--ease); }
.cat-opt > .ic { width: 34px; height: 34px; color: var(--blue); } .cat-opt h3 { margin: 4px 0; font-size: 1.2rem; } .cat-opt p { margin: 0; font-size: .95rem; padding: 0 8px; }
.cat-opt.sel { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(24, 87, 214, .12); } .cat-opt.sel .radio { border-color: var(--blue); } .cat-opt.sel .radio::after { transform: scale(1); }
.cat-opt:has(input:focus-visible) { outline: 3px solid var(--blue); outline-offset: 2px; }
.import-box { background: linear-gradient(180deg, #fff9e0, #fff3c4); border: 2px dashed var(--yellow-2); border-radius: 16px; padding: 20px; margin-bottom: 22px; }
.import-box label { font-size: 1.05rem; letter-spacing: .02em; display: flex; gap: 8px; align-items: center; } .import-row { display: flex; gap: 10px; }
.import-status { margin-top: 14px; } .import-status .notice { margin: 0; }
.progress { height: 6px; border-radius: 6px; background: rgba(11, 31, 77, .1); overflow: hidden; margin-top: 12px; } .progress i { display: block; height: 100%; width: 40%; border-radius: 6px; background: linear-gradient(90deg, var(--blue), var(--yellow)); animation: slide 1.1s ease-in-out infinite; }
@keyframes slide { 0% { transform: translateX(-100%); } 100% { transform: translateX(260%); } }
.found { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.check-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.check-tile { border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; background: #fff; transition: border-color .2s, background .2s, transform .2s var(--ease); align-items: center; } .check-tile:hover { transform: translateX(3px); border-color: var(--blue-line); }
.check-tile:has(input:checked) { border-color: var(--blue); background: var(--blue-soft); }
.drop { border: 2px dashed var(--blue-line); border-radius: 16px; padding: 28px 16px; text-align: center; background: #fbfcff; cursor: pointer; transition: border-color .2s, background .2s, transform .2s var(--ease); display: block; font-weight: 400; }
.drop:hover, .drop.over { border-color: var(--blue); background: var(--blue-soft); transform: scale(1.01); } .drop .ic { width: 36px; height: 36px; color: var(--blue); }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; margin-top: 14px; }
.photo { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 4/3; background: var(--blue-soft); animation: rise .35s var(--ease); } .photo img { width: 100%; height: 100%; object-fit: cover; }
.photo button { position: absolute; right: 6px; top: 6px; width: 28px; height: 28px; border-radius: 50%; border: 0; background: rgba(11, 31, 77, .8); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; } .photo button .ic { width: 15px; }
.photo .tag { position: absolute; left: 6px; bottom: 6px; background: rgba(11, 31, 77, .8); color: #fff; font-size: .7rem; padding: 2px 7px; border-radius: 6px; }
.reward-input { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; } .reward-input .input { max-width: 170px; font-size: 1.6rem; font-weight: 700; text-align: right; }
.quick { display: flex; gap: 8px; flex-wrap: wrap; } .quick button { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 7px 14px; font: inherit; font-weight: 600; cursor: pointer; color: var(--navy); transition: transform .2s var(--ease), border-color .2s, background .2s; } .quick button:hover { border-color: var(--yellow-2); background: var(--yellow-soft); transform: translateY(-2px); }
.preview { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; } .preview .pv-img { aspect-ratio: 21/9; background: var(--blue-soft); overflow: hidden; } .preview .pv-img img { width: 100%; height: 100%; object-fit: cover; } .preview .pv-body { padding: 18px 20px; }
.success { text-align: center; padding: 30px 10px; } .success-mark { width: 96px; height: 96px; margin: 0 auto 14px; } .success-mark circle { stroke: var(--green); stroke-width: 4; fill: var(--green-soft); stroke-dasharray: 290; stroke-dashoffset: 290; animation: draw .6s var(--ease) forwards; } .success-mark path { stroke: var(--green); stroke-width: 6; fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw .4s .5s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 90; overflow: hidden; } .confetti i { position: absolute; top: -12px; width: 9px; height: 14px; border-radius: 2px; animation: fall linear forwards; }
@keyframes fall { to { transform: translateY(105vh) rotate(720deg); opacity: .7; } }

/* ---------- Acceso ---------- */
.auth-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 34px 0 50px; align-items: start; }
.auth-grid .card { padding: 30px; } .auth-grid h2 { font-size: 1.7rem; } .auth-single { max-width: 480px; margin: 40px auto 60px; padding: 30px; }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.pw-wrap { position: relative; } .pw-wrap button { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); border: 0; background: none; color: var(--muted); cursor: pointer; padding: 6px; }

/* ---------- Mi cuenta ---------- */
.account { display: grid; grid-template-columns: 250px 1fr; gap: 24px; padding: 28px 0 50px; align-items: start; }
.side-nav { padding: 12px; display: grid; gap: 2px; position: sticky; top: 96px; }
.side-nav a, .side-nav button { display: flex; gap: 12px; align-items: center; padding: 12px 14px 12px 20px; border-radius: 12px; color: var(--navy); font-weight: 500; text-decoration: none; background: none; border: 0; font: inherit; cursor: pointer; width: 100%; text-align: left; transition: color .2s; }
.side-nav a .ic, .side-nav button .ic { color: var(--blue); } .side-nav a.active { background: var(--blue-soft); color: var(--blue); font-weight: 600; } .side-nav a:hover, .side-nav button:hover { color: var(--blue); }
.side-nav .count { margin-left: auto; background: var(--red); color: #fff; border-radius: 999px; font-size: .75rem; padding: 1px 8px; font-weight: 700; }
.profile-head { display: flex; gap: 26px; align-items: center; flex-wrap: wrap; margin: 16px 0 22px; } .profile-head h3 { font-size: 1.5rem; margin-bottom: 2px; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 18px 0; } .stat { background: var(--bg); border-radius: 14px; padding: 14px 16px; } .stat b { font-size: 1.6rem; display: block; }
.tabs { display: flex; gap: 6px; border-bottom: 2px solid var(--line); margin-bottom: 18px; position: relative; overflow-x: auto; }
.tabs a { padding: 10px 16px; color: var(--muted); font-weight: 500; text-decoration: none; white-space: nowrap; } .tabs a.active { color: var(--blue); font-weight: 700; } .tabs .follow-underline { top: auto; bottom: -2px; }
.my-ad { display: grid; grid-template-columns: 130px 1fr auto; gap: 16px; align-items: center; background: #fff; border-radius: 16px; box-shadow: var(--shadow); padding: 12px; margin-bottom: 14px; transition: transform .25s var(--ease), box-shadow .25s; }
.my-ad:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); } .my-ad img { width: 130px; aspect-ratio: 4/3; object-fit: cover; border-radius: 12px; }
.my-ad h3 { margin: 0 0 4px; } .my-ad h3 a { color: var(--navy); } .my-ad .rw { color: var(--green); font-weight: 700; } .my-ad .acts { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; align-items: center; }
.timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; } .timeline li { display: flex; gap: 12px; align-items: center; padding: 12px 14px; background: var(--bg); border-radius: 12px; } .timeline .ic { color: var(--blue); }

/* ---------- Páginas informativas ---------- */
.how-head { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; padding: 36px 0 10px; }
.how-art { display: flex; gap: 10px; align-items: flex-end; } .how-art span { width: 62px; border-radius: 18px 18px 8px 8px; display: flex; align-items: center; justify-content: center; color: #fff; animation: bob 3s ease-in-out infinite; } .how-art span:nth-child(2) { animation-delay: .4s; } .how-art span:nth-child(3) { animation-delay: .8s; } .how-art span:nth-child(4) { animation-delay: 1.2s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.how-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0; padding: 0; } .how-cols > div { padding: 28px 30px; } .how-cols > div + div { border-left: 1.5px solid var(--line); }
.how-steps { list-style: none; padding: 0; margin: 18px 0 22px; display: grid; gap: 6px; }
.how-steps li { display: flex; gap: 16px; align-items: center; padding: 12px 12px 12px 18px; border-radius: 12px; font-size: 1.1rem; font-weight: 500; } .how-steps li > div small { display: block; font-weight: 400; color: var(--muted); font-size: .92rem; }
.how-steps .n { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(180deg, #ffd23d, var(--yellow-2)); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; flex: none; box-shadow: 0 3px 8px rgba(255, 174, 0, .4); }
.faq { display: grid; gap: 12px; padding: 0 0 50px; }
.faq details { background: #fff; border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; transition: box-shadow .25s; } .faq details:hover { box-shadow: var(--shadow-lg); }
.faq summary { display: flex; gap: 12px; align-items: center; padding: 18px 20px; font-weight: 600; font-size: 1.1rem; cursor: pointer; list-style: none; } .faq summary::-webkit-details-marker { display: none; } .faq summary > .ic { color: var(--blue); }
.faq .pm { margin-left: auto; width: 22px; height: 22px; position: relative; flex: none; } .faq .pm::before, .faq .pm::after { content: ""; position: absolute; background: var(--navy); border-radius: 2px; transition: transform .3s var(--ease); } .faq .pm::before { left: 3px; right: 3px; top: 10px; height: 2.5px; } .faq .pm::after { top: 3px; bottom: 3px; left: 10px; width: 2.5px; }
.faq details[open] .pm::after { transform: rotate(90deg) scaleX(0); } .faq details[open] summary { color: var(--blue); }
.faq .ans { padding: 0 20px 18px 52px; color: var(--muted); }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 760px; margin: -40px auto 0; position: relative; z-index: 3; }
.plan { text-align: center; padding: 30px 26px; transition: transform .3s var(--ease), box-shadow .3s; } .plan:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.plan > .ic { width: 58px; height: 58px; color: var(--yellow-2); fill: var(--yellow); stroke-width: 1.4; animation: bob 3s ease-in-out infinite; } .plan ul { list-style: none; padding: 0; margin: 14px 0; text-align: left; display: grid; gap: 9px; } .plan li { display: flex; gap: 10px; align-items: center; } .plan li .ic { color: var(--green); stroke-width: 3; width: 18px; }
.plan .amount { font-size: 1.9rem; font-weight: 800; color: #0f5132; margin: 8px 0 16px; } .plan .amount small { font-size: 1.1rem; }
.legal h2 { font-size: 1.2rem; margin-top: 1.4em; } .legal ul { padding-left: 20px; } .legal li { margin-bottom: 6px; } .legal code { background: var(--blue-soft); padding: 1px 6px; border-radius: 5px; }

/* ---------- Rastreadores ---------- */
.tracker-hero { background: linear-gradient(110deg, #fff 0%, #eef3fd 100%); overflow: hidden; }
.tracker-hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 30px; align-items: end; }
.tracker-hero .txt { padding: 54px 0 60px; } .tracker-hero h1 { font-size: clamp(1.8rem, 4vw, 2.7rem); font-weight: 700; } .tracker-hero h1 em { font-style: normal; color: var(--blue); }
.tracker-hero ul { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 12px; font-size: 1.15rem; font-weight: 500; } .tracker-hero li { display: flex; gap: 14px; align-items: center; } .tracker-hero li .ic { color: var(--green); stroke-width: 3.5; }
.tracker-hero .pic { align-self: stretch; position: relative; min-height: 320px; } .tracker-hero .pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 28px 28px 0 0; }
.tracker-card { display: flex; gap: 16px; align-items: flex-start; color: var(--navy); text-decoration: none !important; transition: transform .3s var(--ease), box-shadow .3s; } .tracker-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.tracker-card h3 { margin: 0; } .tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.rate-form .star-pick { display: inline-flex; flex-direction: row-reverse; gap: 4px; } .star-pick input { position: absolute; opacity: 0; } .star-pick label { cursor: pointer; margin: 0; color: var(--line); transition: transform .15s var(--ease), color .15s; } .star-pick label .ic { width: 30px; height: 30px; fill: currentColor; }
.star-pick label:hover, .star-pick label:hover ~ label, .star-pick input:checked ~ label { color: var(--yellow); } .star-pick label:hover { transform: scale(1.2); }

/* ---------- Administración ---------- */
.admin { display: grid; grid-template-columns: 230px 1fr; gap: 24px; padding: 24px 0 50px; align-items: start; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 20px; } .kpi b { font-size: 2.2rem; display: block; line-height: 1.1; margin: 6px 0; } .kpi .up { color: var(--green); font-weight: 600; } .kpi .down { color: var(--red); font-weight: 600; }
.admin-cols { display: grid; grid-template-columns: 1.7fr 1fr; gap: 18px; } .quick-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; } .quick-list a { display: flex; gap: 12px; align-items: center; padding: 12px 12px 12px 18px; color: var(--navy); border-radius: 10px; text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--line); } .quick-list a .ic { color: var(--blue); }
.chart { width: 100%; height: auto; display: block; } .chart .line { fill: none; stroke: var(--blue); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 3000; stroke-dashoffset: 3000; animation: draw 1.6s var(--ease) forwards; } .chart .area { fill: url(#gr); opacity: 0; animation: fade .8s .6s forwards; } .chart text { font-size: 11px; fill: var(--muted); font-family: inherit; } .chart .grid { stroke: var(--line); stroke-width: 1; }
@keyframes fade { to { opacity: 1; } }
.bars { display: grid; gap: 10px; } .bar-row { display: grid; grid-template-columns: 150px 1fr 44px; gap: 10px; align-items: center; font-size: .95rem; } .bar { height: 12px; border-radius: 8px; background: var(--blue-soft); overflow: hidden; } .bar i { display: block; height: 100%; border-radius: 8px; background: linear-gradient(90deg, var(--blue), #5b8cf0); transform-origin: left; animation: grow .9s var(--ease); }
@keyframes grow { from { transform: scaleX(0); } }
.table-wrap { overflow-x: auto; } table.data { width: 100%; border-collapse: collapse; font-size: .94rem; } .data th { text-align: left; color: var(--muted); font-weight: 600; padding: 10px 12px; border-bottom: 2px solid var(--line); white-space: nowrap; } .data td { padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; } .data tr:hover td { background: #f8faff; }
.data .acts { display: flex; gap: 6px; flex-wrap: wrap; } .data form { display: inline; } .mini { border: 1.5px solid var(--line); background: #fff; border-radius: 8px; padding: 5px 10px; font: inherit; font-size: .84rem; font-weight: 600; color: var(--navy); cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: 5px; transition: border-color .2s, background .2s; } .mini:hover { border-color: var(--blue); background: var(--blue-soft); text-decoration: none; } .mini.red { color: var(--red); } .mini.red:hover { border-color: var(--red); background: var(--red-soft); } .mini.yel { background: var(--yellow-soft); border-color: var(--yellow-line); }
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; align-items: center; } .toolbar .input { width: auto; padding: 9px 12px; } .toolbar select.input { padding-right: 36px; }
.cat-admin { border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; overflow: hidden; } .cat-admin summary { padding: 14px 16px; cursor: pointer; display: flex; gap: 12px; align-items: center; font-weight: 600; } .cat-admin .in { padding: 4px 16px 16px; }
pre.mail { white-space: pre-wrap; background: var(--bg); padding: 12px; border-radius: 10px; font-family: inherit; font-size: .9rem; margin: 6px 0 0; overflow-wrap: anywhere; }

/* ---------- Pie ---------- */
.trust { background: #eaf0fb; position: relative; overflow: hidden; margin-top: 30px; }
.trust .wrap { display: grid; grid-template-columns: repeat(4, 1fr) 220px; gap: 10px; align-items: center; padding: 22px 0; }
.trust .item { display: flex; gap: 14px; align-items: center; padding: 6px 14px; } .trust .item + .item { border-left: 1.5px solid #cbd6ec; } .trust .item > .ic { width: 38px; height: 38px; flex: none; color: var(--navy); } .trust .item:nth-child(2) > .ic, .trust .item:nth-child(3) > .ic, .trust .item:nth-child(4) > .ic { color: var(--yellow-2); fill: var(--yellow); } .trust .item:first-child > .ic { fill: var(--navy); stroke: #fff; }
.trust b { display: block; } .trust small { color: var(--muted); font-size: .9rem; }
.trust .motto { font-weight: 700; font-style: italic; font-size: 1.25rem; transform: rotate(-7deg); text-align: center; color: var(--navy); line-height: 1.2; position: relative; z-index: 1; } .trust .motto u { text-decoration-color: var(--navy); text-underline-offset: 5px; }
.trust::after { content: ""; position: absolute; right: -80px; bottom: -150px; width: 400px; height: 300px; border-radius: 50%; background: linear-gradient(180deg, #ffd23d, var(--yellow-2)); }
.site-footer { background: var(--navy); color: #c9d5f2; padding: 34px 0 100px; font-size: .95rem; } .site-footer a { color: #fff; } .foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 26px; } .site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 10px; } .site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; } .foot-logo { background: #fff; display: inline-block; padding: 8px 14px; border-radius: 14px; margin-bottom: 12px; } .foot-logo img { height: 46px; }
.copy { border-top: 1px solid rgba(255, 255, 255, .15); margin-top: 24px; padding-top: 16px; font-size: .88rem; }
.tabbar { display: none; }

/* ---------- Ventanas y avisos ---------- */
.modal-back { position: fixed; inset: 0; background: rgba(11, 31, 77, .55); display: flex; align-items: center; justify-content: center; padding: 16px; z-index: 80; opacity: 0; pointer-events: none; transition: opacity .2s; backdrop-filter: blur(3px); }
.modal-back.open { opacity: 1; pointer-events: auto; } .modal { background: #fff; border-radius: 20px; padding: 26px; width: min(480px, 100%); max-height: 90vh; overflow: auto; transform: translateY(18px) scale(.97); transition: transform .3s var(--ease); box-shadow: var(--shadow-lg); } .modal-back.open .modal { transform: none; }
.modal h2 { display: flex; gap: 10px; align-items: center; font-size: 1.3rem; } .modal-foot { display: flex; gap: 10px; justify-content: flex-end; margin-top: 18px; flex-wrap: wrap; }
.toasts { position: fixed; right: 16px; bottom: 16px; display: grid; gap: 10px; z-index: 95; max-width: calc(100vw - 32px); }
.toast { background: var(--navy); color: #fff; padding: 13px 18px; border-radius: 12px; box-shadow: var(--shadow-lg); display: flex; gap: 10px; align-items: center; animation: toastIn .35s var(--ease); max-width: 380px; } .toast.ok { background: #0f6b39; } .toast.bad { background: var(--red); } .toast.out { animation: toastOut .3s forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateY(16px) scale(.96); } } @keyframes toastOut { to { opacity: 0; transform: translateX(30px); } }

/* ---------- Animaciones de entrada ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.js .reveal.in { opacity: 1; transform: none; }
.hero h1, .hero-sub, .hero-search, .banner h1, .banner p { animation: rise .7s var(--ease) both; } .hero-sub, .banner p { animation-delay: .1s; } .hero-search { animation-delay: .2s; }

/* ---------- Adaptación a tablet ---------- */
@media (max-width: 1100px) {
  .main-nav a span { display: none; } .main-nav a { padding: 10px; } .main-nav a .ic { width: 22px; height: 22px; }
  .search-bar { grid-template-columns: 1fr 1fr 1fr; border-radius: 16px; } .search-bar .cell { border-bottom: 1px solid var(--line); } .search-bar .btn { border-radius: 0; grid-column: 1 / -1; padding: 14px; }
  .detail { grid-template-columns: 1fr; } .detail-top { grid-template-columns: 1fr; }
  .trust .wrap { grid-template-columns: 1fr 1fr; } .trust .item + .item { border-left: 0; } .trust .motto { grid-column: 1 / -1; transform: none; padding: 6px 0; } .trust::after { opacity: .35; }
  .wizard { grid-template-columns: minmax(0, 1fr); } .tabs { scrollbar-width: none; } .steps { display: flex; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); padding: 12px; gap: 6px; scrollbar-width: none; } .steps::-webkit-scrollbar { display: none; }
  .steps li { grid-template-columns: 40px auto; flex: none; width: auto; padding: 8px 12px 8px 8px; } .steps li::before, .steps .si, .steps small { display: none; } .steps li:not(.current) b { display: none; } .steps li:not(.current) { padding: 8px; }
  .steps .follow-ind { display: none; }
  .admin-cols { grid-template-columns: 1fr; }
}
/* ---------- Adaptación a móvil ---------- */
@media (max-width: 820px) {
  body { padding-bottom: 68px; }
  .header-in { height: 64px; gap: 10px; } .logo img { height: 46px; }
  .nav-toggle { display: block; } .header-actions .btn-ghost, .header-actions .btn-yellow { display: none; } .user-btn > span:not(.avatar) { display: none; } .user-btn { padding: 4px; } .header-actions { margin-left: auto; } .nav-toggle { margin-left: 0; }
  .main-nav { position: fixed; left: 0; right: 0; top: 64px; background: #fff; flex-direction: column; padding: 12px 16px 18px; gap: 2px; box-shadow: 0 20px 30px rgba(11, 31, 77, .15); transform: translateY(-12px); opacity: 0; pointer-events: none; transition: transform .28s var(--ease), opacity .2s; max-height: calc(100vh - 64px); overflow: auto; }
  .main-nav.open { transform: none; opacity: 1; pointer-events: auto; } .main-nav a { padding: 14px 12px; font-size: 1.08rem; } .main-nav a span { display: inline; } .main-nav .follow-ind { display: none; }
  .main-nav .mobile-only { display: flex !important; }
  .hero .wrap { padding: 38px 0 130px; } .hero::before { background: linear-gradient(180deg, rgba(10, 37, 102, .96) 0%, rgba(11, 42, 115, .9) 60%, rgba(243, 246, 252, 1) 100%); }
  .hero-cta { grid-template-columns: 1fr; margin-top: -100px; gap: 14px; } .hero-cta .card { padding: 20px; }
  .cat-cards { grid-template-columns: 1fr; } .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .banner .wrap { padding: 24px 0 52px; } .banner::before { background: linear-gradient(90deg, rgba(11, 42, 115, .97) 0%, rgba(13, 49, 130, .9) 60%, rgba(24, 87, 214, .6) 100%); }
  .search-bar { grid-template-columns: 1fr 1fr; } .search-bar .cell.opt { display: none; } .search-bar.expanded .cell.opt { display: flex; }
  .search-layout { grid-template-columns: 1fr; gap: 14px; } .filters { position: fixed; inset: 0; z-index: 70; border-radius: 0; overflow: auto; transform: translateY(100%); transition: transform .35s var(--ease); padding: 22px 20px 100px; top: 0; } .filters.open { transform: none; }
  .filters-toggle { display: inline-flex; } .filters .close-f { display: inline-flex !important; }
  .grid-cards { grid-template-columns: 1fr; } .ad-card .ph { aspect-ratio: 16/8; }
  .gallery { grid-template-columns: 1fr; } .thumbs { grid-auto-flow: column; grid-auto-columns: 84px; overflow-x: auto; } .detail-meta span + span { border: 0; padding: 0; }
  .reward-strip { grid-template-columns: 1fr; } .reward-strip > div + div { border-left: 0; padding-left: 0; border-top: 1.5px solid var(--yellow-line); padding-top: 12px; }
  .reward-box { width: 100%; text-align: left; display: flex; align-items: baseline; gap: 12px; }
  .actions-bar .btn { flex: 1 1 100%; } .actions-bar .sp { display: none; }
  .wizard-body { padding: 20px 16px; } .import-row { flex-direction: column; } .wizard-nav .btn { flex: 1; padding-inline: 12px; }
  .auth-grid { grid-template-columns: 1fr; padding-top: 20px; } .auth-grid .card { padding: 22px; }
  .account, .admin { grid-template-columns: minmax(0, 1fr); gap: 14px; padding-top: 14px; }
  .account > *, .admin > *, .my-ad > * { min-width: 0; } .btn { white-space: normal; text-align: center; } .search-bar .btn, .hero-search .btn { white-space: nowrap; }
  .side-nav { position: static; display: flex; overflow-x: auto; padding: 8px; gap: 4px; scrollbar-width: none; } .side-nav::-webkit-scrollbar { display: none; } .side-nav a, .side-nav button { white-space: nowrap; width: auto; padding: 10px 14px; } .side-nav .follow-ind { display: none; }
  .my-ad { grid-template-columns: 96px 1fr; } .my-ad img { width: 96px; } .my-ad .acts { grid-column: 1 / -1; justify-content: stretch; } .my-ad .acts > * { flex: 1; }
  .stat-row, .kpis { grid-template-columns: 1fr; } .kpis { gap: 12px; }
  .how-head { grid-template-columns: 1fr; } .how-art { display: none; } .how-cols { grid-template-columns: 1fr; } .how-cols > div { padding: 20px 16px; } .how-cols > div + div { border-left: 0; border-top: 1.5px solid var(--line); }
  .plans { grid-template-columns: 1fr; }
  .tracker-hero .wrap { grid-template-columns: 1fr; } .tracker-hero .txt { padding: 30px 0 10px; } .tracker-hero .pic { min-height: 300px; }
  .trust .wrap { grid-template-columns: 1fr; padding: 16px 0; } .foot-grid { grid-template-columns: 1fr 1fr; } .site-footer { padding-bottom: 30px; }
  .bar-row { grid-template-columns: 100px 1fr 36px; }
  .tabbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; background: #fff; box-shadow: 0 -4px 20px rgba(11, 31, 77, .12); z-index: 55; padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
  .tabbar a { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: .7rem; color: var(--muted); text-decoration: none; padding: 4px 0; font-weight: 500; } .tabbar a.active { color: var(--blue); } .tabbar a .ic { width: 22px; height: 22px; }
  .tabbar .plus { margin-top: -22px; } .tabbar .plus i { width: 50px; height: 50px; border-radius: 50%; background: linear-gradient(180deg, #ffd23d, var(--yellow-2)); display: flex; align-items: center; justify-content: center; color: var(--navy); box-shadow: 0 6px 14px rgba(255, 174, 0, .5); }
  .toasts { bottom: 80px; left: 16px; right: 16px; } .toast { max-width: none; }
  .modal-back { align-items: flex-end; padding: 0; } .modal { border-radius: 22px 22px 0 0; width: 100%; padding-bottom: 30px; }
}
.mobile-only { display: none !important; }

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .chart .line { stroke-dashoffset: 0; } .chart .area { opacity: 1; }
}

/* ---------- Carrusel de la portada: qué es Hazlo por mí en un vistazo ---------- */
.showcase-sec { padding-bottom: 0; }
.showcase { position: relative; border-radius: var(--r); overflow: hidden; background: var(--navy); box-shadow: var(--shadow-lg); }
.showcase-track { display: flex; align-items: flex-start; transition: height .35s var(--ease); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; outline: none; }
.showcase-track::-webkit-scrollbar { display: none; }
.showcase-track:focus-visible { box-shadow: inset 0 0 0 3px var(--yellow); }
.showcase-slide { position: relative; flex: 0 0 100%; scroll-snap-align: start; min-height: 440px; display: flex; align-items: center; color: #fff; overflow: hidden; }
/* Fotos verticales: en pantallas anchas ocupan solo la mitad derecha para que se vean enteras */
.showcase-slide.is-portrait img { left: auto; width: 52%; }
.showcase-slide.is-portrait::before { background: linear-gradient(90deg, rgba(8, 26, 72, 1) 0%, rgba(11, 38, 100, .95) 45%, rgba(11, 38, 100, .4) 56%, rgba(11, 38, 100, 0) 70%); }
.showcase-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 5.2s linear; }
.showcase-slide.is-active img { transform: scale(1); }
.showcase-slide::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(8, 26, 72, .94) 0%, rgba(11, 38, 100, .86) 34%, rgba(11, 38, 100, .35) 60%, rgba(11, 38, 100, 0) 78%); }
.showcase-text { position: relative; z-index: 2; max-width: 560px; padding: 44px 0 92px 56px; }
.showcase-text h3 { font-size: clamp(1.6rem, 3.2vw, 2.45rem); font-weight: 800; line-height: 1.12; margin: 0 0 14px; color: #fff; text-wrap: balance; }
.showcase-text p { font-size: clamp(1rem, 1.5vw, 1.15rem); margin: 0 0 20px; color: #e3ebff; max-width: 470px; }
.showcase-slide .showcase-text > * { opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.showcase-slide.is-active .showcase-text > * { opacity: 1; transform: none; }
.showcase-slide.is-active .showcase-text > :nth-child(2) { transition-delay: .08s; }
.showcase-slide.is-active .showcase-text > :nth-child(3) { transition-delay: .16s; }
.showcase-slide.is-active .showcase-text > :nth-child(4) { transition-delay: .24s; }
.showcase-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 22px; }
.showcase-chips li { background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .35); padding: 5px 12px; border-radius: 999px; font-size: .9rem; font-weight: 600; }
.showcase-ui { position: absolute; z-index: 3; left: 56px; bottom: 26px; display: flex; align-items: center; gap: 10px; }
.showcase-btn { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .5); background: rgba(8, 26, 72, .45); color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: background .2s, border-color .2s, transform .2s var(--ease); }
.showcase-btn:hover { background: var(--yellow); border-color: var(--yellow); color: var(--navy); transform: scale(1.06); }
.showcase-btn .ic { width: 18px; height: 18px; }
.showcase-btn[data-prev] .ic { transform: rotate(180deg); }
.showcase-dots { display: flex; gap: 6px; margin: 0 4px; }
.showcase-dots button { width: 34px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; display: inline-flex; align-items: center; }
.showcase-dots i { display: block; width: 100%; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .35); overflow: hidden; position: relative; }
.showcase-dots i::after { content: ""; position: absolute; inset: 0; background: var(--yellow); transform: scaleX(0); transform-origin: left; }
.showcase-dots .is-done i::after { transform: scaleX(1); }
.showcase-dots .is-active i::after { transform: scaleX(1); }
.showcase.is-playing .showcase-dots .is-active i::after { animation: showcase-progress var(--dur, 6s) linear forwards; }
@keyframes showcase-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.i-pause, .i-play { display: block; width: 12px; height: 14px; }
.i-pause { border-left: 4px solid currentColor; border-right: 4px solid currentColor; }
.i-play { width: 0; height: 0; border-style: solid; border-width: 7px 0 7px 12px; border-color: transparent transparent transparent currentColor; margin-left: 3px; }
@media (max-width: 820px) {
  .showcase-slide { flex-direction: column; align-items: stretch; min-height: 0; }
  .showcase-slide img, .showcase-slide.is-portrait img { position: relative; width: 100%; height: 230px; flex: none; }
  .showcase-slide::before { display: none; }
  .showcase-text { max-width: none; padding: 22px 20px 82px; }
  .showcase-ui { left: 20px; right: 20px; bottom: 18px; }
  .showcase-dots button { width: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .showcase-track { scroll-behavior: auto; }
  .showcase-slide img, .showcase-slide .showcase-text > * { transition: none; transform: none; opacity: 1; }
}

/* ---------- Portada: el carrusel ocupa la cabecera (sustituye a la foto) ---------- */
.hero-carousel { --gutter: max(16px, calc((100vw - 1240px) / 2)); }
.hero-carousel .showcase { border-radius: 0; box-shadow: none; }
.hero-carousel .showcase-slide { min-height: clamp(460px, 44vw, 580px); }
.hero-carousel .showcase-text { max-width: calc(var(--gutter) + 600px); padding: 48px 0 150px var(--gutter); }
.hero-carousel .showcase-text h3 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
.hero-carousel .showcase-ui { left: var(--gutter); bottom: 92px; }
.home-search { position: relative; z-index: 4; max-width: 720px; margin: -36px auto 0; }
.home-cta { margin-top: 30px; }
@media (max-width: 820px) {
  .hero-carousel .showcase-slide { min-height: 0; }
  .hero-carousel .showcase-slide img, .hero-carousel .showcase-slide.is-portrait img { height: 250px; }
  .hero-carousel .showcase-text { max-width: none; padding: 22px 20px 82px; }
  .hero-carousel .showcase-ui { left: 20px; bottom: 18px; }
  .home-search { margin-top: 18px; }
}

/* ---------- Anuncio flotante (Administración > Publicidad > posición «Flotante») ---------- */
.float-ad { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 272px; background: #fff; border-radius: var(--r-sm); box-shadow: var(--shadow-lg); border: 1px solid var(--line); overflow: hidden; opacity: 0; transform: translateY(16px); transition: opacity .35s var(--ease), transform .35s var(--ease); }
.float-ad.is-in { opacity: 1; transform: none; }
.float-ad-link { display: block; color: var(--navy); text-decoration: none; }
.float-ad-link img, .float-ad-link video { display: block; width: 100%; aspect-ratio: 2 / 1; object-fit: cover; background: var(--navy); }
.float-ad:has(video) .float-ad-link video { aspect-ratio: 16 / 9; }
.float-ad-txt { display: block; padding: 10px 14px 12px; }
.float-ad-txt small { display: block; font-size: .72rem; color: var(--muted); margin-bottom: 2px; }
.float-ad-txt b { display: block; font-size: .98rem; line-height: 1.25; }
.float-ad-txt span { display: block; font-size: .86rem; color: var(--muted); margin-top: 3px; }
.float-ad-link:hover b { color: var(--blue); }
.float-ad-close { position: absolute; top: 8px; right: 8px; z-index: 1; width: 30px; height: 30px; border-radius: 50%; border: 0; background: rgba(11, 31, 77, .72); color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: background .2s, transform .2s var(--ease); }
.float-ad-close:hover { background: var(--navy); transform: scale(1.08); }
.float-ad-close .ic { width: 16px; height: 16px; }
.float-ad:not(:has(img, video)) .float-ad-txt { padding-right: 46px; }
.float-ad:not(:has(img, video)) .float-ad-close { background: var(--blue-soft); color: var(--navy); }
@media (max-width: 820px) {
  .float-ad { left: 12px; right: 12px; width: auto; bottom: calc(80px + env(safe-area-inset-bottom)); }
  .float-ad-link { display: flex; align-items: stretch; }
  .float-ad-link img { width: 96px; aspect-ratio: auto; flex: none; }
  .float-ad:has(video) .float-ad-link video { width: 128px; aspect-ratio: auto; flex: none; }
  .float-ad-txt { padding: 9px 44px 10px 12px; }
  .float-ad-txt span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
}
@media (prefers-reduced-motion: reduce) { .float-ad { transition: none; transform: none; } }

/* ---------- Mejoras: avisos al publicar, páginas por ciudad, consejos de seguridad ---------- */
.near-hint, .reward-hint { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 14px; padding: 12px 14px; border-radius: 12px; font-size: .95rem; line-height: 1.45; }
.near-hint[hidden], .reward-hint[hidden] { display: none; }
.near-hint .ic, .reward-hint .ic { flex: none; margin-top: 1px; }
.near-hint.is-ok { background: #e8f7ee; color: #14532d; } .near-hint.is-ok .ic { color: var(--green); }
.near-hint.is-none { background: #fff7e0; color: #5c4400; } .near-hint.is-none .ic { color: #b7791f; }
.reward-hint { background: var(--blue-soft); color: var(--navy); } .reward-hint .ic { color: var(--blue); }
.reward-hint p { margin: 2px 0 8px; }
.banner .crumbs, .banner .crumbs a { color: rgba(255, 255, 255, .85); padding: 0 0 10px; }
.landing-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.btn-ghost-light { background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, .6); } .btn-ghost-light:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.landing-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: -26px; position: relative; z-index: 2; }
.landing-stats .card { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; }
.landing-stats .card > .ic { color: var(--blue); flex: none; width: 26px; height: 26px; }
.landing-stats b { display: block; color: var(--navy); } .landing-stats span { display: block; margin-top: 2px; }
.landing-cols { gap: 26px; align-items: start; }
.landing-links p { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 0; }
.landing-links a { padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--blue-line); color: var(--navy); font-size: .92rem; text-decoration: none; }
.landing-links a:hover { border-color: var(--blue); color: var(--blue); }
.safety-tips { padding: 0; background: var(--blue-soft); box-shadow: none; }
.safety-tips summary { display: flex; gap: 12px; align-items: center; padding: 14px 16px; cursor: pointer; list-style: none; } .safety-tips summary::-webkit-details-marker { display: none; }
.safety-tips summary > .ic { color: var(--blue); flex: none; } .safety-tips summary small { display: block; color: var(--muted, #5b6b8c); font-size: .85rem; }
.safety-tips .pm { margin-left: auto; width: 18px; height: 18px; position: relative; flex: none; }
.safety-tips .pm::before, .safety-tips .pm::after { content: ""; position: absolute; background: var(--navy); border-radius: 2px; transition: transform .3s; }
.safety-tips .pm::before { left: 2px; right: 2px; top: 8px; height: 2px; } .safety-tips .pm::after { top: 2px; bottom: 2px; left: 8px; width: 2px; }
.safety-tips[open] .pm::after { transform: scaleY(0); }
.safety-body { padding: 0 16px 16px; font-size: .93rem; }
.safety-h { font-weight: 700; color: var(--navy); margin: 8px 0 6px; }
.safety-body .check-list li { align-items: flex-start; } .safety-body .check-list .ic { margin-top: 3px; flex: none; }
@media (max-width: 800px) { .landing-stats { grid-template-columns: 1fr; margin-top: 16px; } }

/* ---------- Anuncios de ejemplo ---------- */
.example-tag { position: absolute; top: 12px; right: 56px; z-index: 2; padding: 4px 10px; border-radius: 999px; background: #fff7e0; color: #7a5200; border: 1.5px dashed #d99a00; font-weight: 800; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; }
.example-tag-inline { position: static; display: inline-block; vertical-align: middle; font-size: .7em; margin-right: 6px; }
.ad-card.is-example { outline: 2px dashed #e5b33c; outline-offset: -2px; }
.example-notice { background: #fff7e0; border-color: #f0c96a; color: #5c4400; margin: 0 0 16px; }
.example-notice a { font-weight: 700; }

/* ---------- Foto de «Quiero ser rastreador»: se muestra entera, sin recortes ---------- */
.tracker-hero .pic { min-height: 0; align-self: end; display: flex; justify-content: center; }
.tracker-hero .pic img { position: static; display: block; width: 100%; max-width: 440px; height: auto; object-fit: contain; border-radius: 28px 28px 0 0; }
@media (max-width: 820px) { .tracker-hero .pic img { max-width: 340px; } }

/* Tarjetas "Publicar" y "Rastreador" de la portada: mismo alto de título y botones alineados abajo */
.hero-cta .card.cta { display: flex; flex-direction: column; }
.hero-cta .card.cta .cta-body { flex: 1; display: flex; flex-direction: column; align-items: center; }
.hero-cta .card.cta .cta-body h3 { min-height: 2.5em; display: flex; align-items: center; justify-content: center; text-align: center; }
.hero-cta .card.cta .cta-body .btn { margin-top: auto; }
@media (max-width: 820px) { .hero-cta .card.cta .cta-body h3 { min-height: 0; } }

/* Imágenes de las dos tarjetas de la portada: mismo tamaño exacto, recortadas igual */
.hero-cta .card.cta .cta-img { aspect-ratio: 16 / 9; }
.hero-cta .card.cta .cta-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-cta .cta-img img[src*="cta-ayuda-3"] { object-position: 50% 0%; } /* si hay que recortar, se recorta por abajo y no los iconos de arriba */
