/* =========================================================
   VITRINA NAHUEL · estilos
   Marca Epic: naranja #E87722 · crema #F0E4D8 · azul #34657F · verde petróleo #004851
   Tipografías: Artine Bold (principal), Space Grotesk (institucional)
   ========================================================= */

/* Tipografías de la marca (archivos en /fonts) */
@font-face { font-family: "Artine"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/Artine-Bold.woff2") format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-weight: 300; font-style: normal; font-display: swap; src: url("../fonts/SpaceGrotesk-Light.woff2") format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/SpaceGrotesk-Regular.woff2") format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/SpaceGrotesk-Medium.woff2") format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/SpaceGrotesk-SemiBold.woff2") format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/SpaceGrotesk-Bold.woff2") format("woff2"); }
/* Suddenly no trae ¿ ¡ ² · —: se usa solo en frases cortas y esos signos caen a Space Grotesk */
@font-face { font-family: "Suddenly"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/Suddenly_Regular.woff2") format("woff2"); }
@font-face { font-family: "Suddenly"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/Suddenly_Bold.woff2") format("woff2"); }
@font-face { font-family: "Suddenly"; font-weight: 400; font-style: italic; font-display: swap; src: url("../fonts/Suddenly_Italic.woff2") format("woff2"); }


:root {
  --orange: #E87722;
  --cream: #F0E4D8;
  --blue: #34657F;
  --teal: #004851;
  --white: #FFFFFF;
  --black: #000000;
  --line: rgba(0, 72, 81, .14);

  --font-display: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-warm: "Suddenly", "Space Grotesk", system-ui, sans-serif;
  --font-body: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;

  --maxw: 1160px;
  --pad: clamp(12px, 3vw, 24px);
  --r: 6px;
  --bg: #F4F2EF;
}

*, *::before, *::after { box-sizing: border-box; }
html { font-size: 15px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); line-height: 1.45; color: var(--teal); background: var(--bg); }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.12; margin: 0; letter-spacing: -0.005em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 18px; border-radius: 6px; border: 2px solid transparent;
  font-weight: 600; text-decoration: none; white-space: nowrap; background: none;
  transition: transform .12s ease, background-color .12s ease;
}
.btn:active { transform: scale(.97); }
.btn svg { width: 19px; height: 19px; flex: none; }
.btn-primary { background: var(--orange); color: var(--black); }
.btn-primary:hover { background: #f08a3a; }
.btn-dark { background: var(--teal); color: var(--cream); }
.btn-line { border-color: var(--teal); color: var(--teal); }
.btn-line:hover { background: var(--teal); color: var(--cream); }
.btn-block { width: 100%; }
.btn-sm { min-height: 40px; padding: 0 14px; font-size: .92rem; }

/* ---------- cabecera ---------- */
.announce { background: var(--teal); color: var(--cream); font-size: .84rem; }
.announce { overflow: hidden; }
.announce button { width: 100%; min-height: 38px; padding: 0 12px; background: none; border: 0; color: inherit; display: flex; align-items: center; justify-content: center; gap: 8px; text-align: center; }
.announce svg { width: 14px; height: 14px; color: var(--orange); flex: none; }
.top { position: relative; z-index: 40; background: var(--orange); color: var(--black); }
.hdr { position: relative; z-index: 40; }
@media (min-width: 900px) { .hdr { position: sticky; top: 0; } }
.top-in { max-width: var(--maxw); margin: 0 auto; padding: 10px var(--pad); display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px 18px; align-items: center; }
.logo img { height: 28px; width: auto; }
.search { display: flex; width: 100%; max-width: 640px; justify-self: center; background: var(--white); border-radius: 6px; overflow: hidden; }
.search input { flex: 1; min-width: 0; min-height: 42px; padding: 0 16px; border: 0; background: transparent; color: var(--teal); }
.search input::placeholder { color: rgba(0, 72, 81, .6); }
.search button { width: 48px; border: 0; background: var(--teal); color: var(--cream); display: grid; place-items: center; }
.search button svg { width: 19px; height: 19px; }
.favlink { display: flex; align-items: center; gap: 4px; min-height: 42px; padding: 0 4px; text-decoration: none; font-weight: 700; }
.favlink svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 2; }
@media (max-width: 640px) {
  .top-in { grid-template-columns: 1fr auto; }
  .search { grid-column: 1 / -1; order: 3; max-width: none; }
}

/* ---------- estructura ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 14px var(--pad) 40px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; }
.ptitle { font-size: 1.4rem; }
.rh { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; flex-wrap: wrap; }
.rh h2 { font-size: 1.2rem; display: flex; align-items: center; gap: 8px; }
.rh h2 svg { width: 18px; height: 18px; color: var(--orange); }
.arrows { display: none; gap: 6px; }
@media (min-width: 900px) { .arrows { display: flex; } }
.round { width: 36px; height: 36px; border-radius: 6px; border: 2px solid var(--teal); background: var(--white); color: var(--teal); display: grid; place-items: center; padding: 0; }
.round:hover { background: var(--teal); color: var(--cream); }
.round svg { width: 16px; height: 16px; }

/* categorías */
.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.cat { text-decoration: none; border-radius: var(--r); padding: 14px 14px; min-height: 84px; display: grid; align-content: center; gap: 2px; color: var(--cream); background-color: var(--blue); background-image: var(--stars); }
.cat b { font-family: var(--font-display); font-size: 1.3rem; }
.cat small { opacity: .9; }
.cat:hover { background-color: #3c7392; }

/* filtros */
.tools { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.chip { display: inline-flex; align-items: center; text-decoration: none; min-height: 38px; padding: 0 14px; border-radius: 6px; background: var(--white); border: 1px solid var(--line); font-weight: 500; font-size: .92rem; }
.chip[aria-pressed="true"], .chip[aria-current="page"] { background: var(--teal); color: var(--cream); border-color: var(--teal); }
.chiprow { display: flex; flex-wrap: wrap; gap: 8px; }
.sel { min-height: 38px; padding: 0 12px; border-radius: 6px; border: 1px solid var(--line); background: var(--white); }

/* tarjetas */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); gap: 10px; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 12px; } }
@media (max-width: 639px) { .card .body { padding: 8px 10px 10px; } .price { font-size: 1.1rem; } .card h3 { font-size: .86rem; } .card .loc, .card .facts { font-size: .78rem; } .badge { font-size: .66rem; padding: 2px 7px; } .rank { font-size: .85rem; padding: 4px 8px; } .card.ranked .badges { top: 38px; } .fav { width: 36px; height: 36px; } }
.rail { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x proximity; padding: 2px 2px 8px; scrollbar-width: thin; }
.rail .card { flex: 0 0 min(62vw, 210px); scroll-snap-align: start; }
.card { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; }
.card .ph { position: relative; aspect-ratio: 4 / 3; background: var(--blue); }
.card .ph a { display: block; height: 100%; }
.card .ph img { width: 100%; height: 100%; object-fit: cover; }
.badges { position: absolute; left: 8px; top: 8px; right: 52px; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; pointer-events: none; }
.badge { font-size: .72rem; font-weight: 700; line-height: 1.2; padding: 3px 9px; border-radius: 6px; background: var(--teal); color: var(--cream); }
.badge.drop { background: var(--orange); color: var(--black); }
.fav { position: absolute; right: 8px; top: 8px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .95); color: var(--teal); display: grid; place-items: center; padding: 0; }
.fav svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 2; }
.fav[aria-pressed="true"] svg { fill: var(--orange); stroke: var(--orange); }
.card .body { padding: 10px 12px 12px; display: grid; gap: 2px; text-decoration: none; }
.price { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; line-height: 1.1; }
.price s { font-family: var(--font-body); font-weight: 400; font-size: .85rem; opacity: .6; margin-right: 6px; }
.card h3 { font-family: var(--font-body); font-weight: 500; font-size: .93rem; letter-spacing: 0; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card .loc { font-size: .84rem; opacity: .75; }
.card .facts { font-size: .84rem; font-weight: 500; margin-top: 2px; }
.empty { background: var(--white); border: 1px dashed var(--line); border-radius: var(--r); padding: 28px 18px; text-align: center; display: grid; gap: 12px; justify-items: center; }

/* ---------- ficha ---------- */
.pdp { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); grid-template-areas: "gal" "buy" "det"; align-items: start; }
@media (min-width: 900px) {
  .pdp { grid-template-columns: minmax(0, 1fr) 360px; grid-template-areas: "gal buy" "det buy"; gap: 14px 18px; }
}
.crumbs { font-size: .85rem; opacity: .8; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.box { min-width: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; }
.box h2 { font-size: 1.1rem; margin-bottom: 10px; }

.gal { grid-area: gal; padding: 10px; }
.viewer { position: relative; }
.stage { height: clamp(250px, 44vw, 430px); background: var(--blue); border-radius: 6px; overflow: hidden; }
.stage img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.stage iframe { width: 100%; height: 100%; border: 0; display: block; }
.vnav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255, 255, 255, .95); border-color: transparent; width: 40px; height: 40px; }
.vnav.prev { left: 8px; } .vnav.next { right: 8px; }
.counter { position: absolute; right: 10px; bottom: 10px; background: rgba(0, 40, 46, .75); color: var(--cream); font-size: .8rem; font-weight: 500; padding: 3px 10px; border-radius: 6px; pointer-events: none; }
.thumbs { display: flex; gap: 6px; overflow-x: auto; margin-top: 8px; padding-bottom: 2px; scrollbar-width: thin; }
.thumbs button { position: relative; flex: 0 0 74px; height: 54px; padding: 0; border: 2px solid transparent; border-radius: 6px; overflow: hidden; background: var(--blue); }
.thumbs button[aria-current="true"] { border-color: var(--orange); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.thumbs .vid::after { content: ""; position: absolute; inset: 0; background: rgba(0, 40, 46, .45); }
.thumbs .vid svg { position: absolute; z-index: 1; left: 50%; top: 50%; width: 24px; height: 24px; transform: translate(-50%, -50%); fill: var(--cream); }

.buy { grid-area: buy; display: grid; gap: 12px; align-content: start; }
@media (min-width: 900px) { .buy { position: sticky; top: 126px; } }
.buy .tagline { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: .85rem; }
.buy .tagline .badge { position: static; }
.buy h1 { font-size: 1.35rem; }
.buy .where { font-size: .92rem; opacity: .8; }
.buy .price { font-size: 2rem; }
.permeter { font-size: .85rem; opacity: .75; margin-top: 2px; display: block; }
.clave { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.clave div { background: var(--cream); border-radius: 6px; padding: 8px 10px; display: grid; }
.clave b { font-family: var(--font-display); font-size: 1.05rem; }
.clave span { font-size: .8rem; opacity: .8; }
.buy .actions { display: grid; gap: 8px; }
.trust { font-size: .82rem; opacity: .8; display: grid; gap: 2px; }

.det { grid-area: det; display: grid; gap: 12px; }
.spec { display: grid; grid-template-columns: 1fr; gap: 0 28px; margin: 0; }
@media (min-width: 600px) { .spec { grid-template-columns: 1fr 1fr; } }
.spec div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: .93rem; }
.spec dt { opacity: .75; }
.spec dd { margin: 0; font-weight: 600; text-align: right; }
.pills { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0; }
.pills li { padding: 4px 11px; border-radius: 6px; background: var(--cream); font-size: .85rem; }
.sub { font-family: var(--font-body); font-size: .88rem; font-weight: 600; letter-spacing: 0; margin: 12px 0 6px; }
.sub:first-of-type { margin-top: 0; }
.map-chips { display: flex; gap: 6px; overflow-x: auto; margin-bottom: 10px; scrollbar-width: none; }
.map-chips::-webkit-scrollbar { display: none; }
.map-chips .chip { flex: none; min-height: 34px; font-size: .86rem; background: var(--cream); }
.map-chips .chip[aria-pressed="true"] { background: var(--teal); }
.map-frame { width: 100%; height: 280px; border: 0; border-radius: 6px; background: var(--blue); display: block; }

.adv { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.avatar { width: 76px; height: 76px; flex: none; border-radius: 50%; background: var(--blue); color: var(--cream); display: grid; place-items: center; overflow: hidden; font-family: var(--font-display); font-size: 1.5rem; }
.avatar img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.adv .who { flex: 1; min-width: 220px; display: grid; gap: 2px; }
.adv h2 { margin: 0; font-size: 1.15rem; }
.adv .cargo { font-size: .9rem; opacity: .85; }
.adv .sign { font-family: var(--font-warm); font-size: 1.6rem; line-height: 1.15; margin: 6px 0 2px; }
.contact { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 2px; font-size: .9rem; font-weight: 500; }
.contact a { text-decoration: none; }
.contact a:hover { text-decoration: underline; }
.adv .links { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 12px; width: 100%; font-size: .9rem; }
.linkbtn { background: none; border: 0; padding: 4px 0; text-decoration: underline; font-weight: 500; }

/* vendidos */
.sold-strip { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
.sold-strip::-webkit-scrollbar { display: none; }
.sold { position: relative; flex: 0 0 180px; aspect-ratio: 4 / 3; border-radius: 6px; overflow: hidden; }
.sold img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.8); }
.sold .ribbon { position: absolute; left: -10%; right: -10%; top: 40%; text-align: center; background: var(--orange); color: var(--black); font-weight: 700; padding: 5px 0; transform: rotate(-8deg); }
.sold small { position: absolute; left: 8px; bottom: 6px; color: var(--cream); font-weight: 500; text-shadow: 0 1px 6px rgba(0, 0, 0, .6); }

/* barra inferior (celular) */
.mbar { position: fixed; z-index: 38; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 10px; padding: 8px var(--pad) max(8px, env(safe-area-inset-bottom)); background: var(--teal); color: var(--cream); transform: translateY(110%); transition: transform .25s ease; }
.mbar.on { transform: none; }
.mbar .info { flex: 1; min-width: 0; line-height: 1.15; display: grid; }
.mbar .info b { font-family: var(--font-display); font-size: 1.25rem; }
.mbar .info span { font-size: .8rem; opacity: .85; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mbar .btn { min-height: 44px; padding: 0 16px; }
.mbar .btn-call { width: 44px; padding: 0; border-color: var(--cream); color: var(--cream); }
@media (min-width: 900px) { .mbar { display: none; } }

/* pie */
.footer { background: var(--teal); color: var(--cream); padding: 28px var(--pad) 90px; font-size: .85rem; }
.footer .in { max-width: var(--maxw); margin: 0 auto; display: grid; gap: 10px; }
.footer img { height: 28px; width: auto; }
.footer p { opacity: .85; max-width: 100ch; }

/* ---------- ventanas ---------- */
.overlay { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 14px; background: rgba(0, 32, 37, .7); animation: fade .18s ease; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.dialog { position: relative; width: min(100%, 640px); max-height: 92svh; overflow: auto; background: var(--cream); color: var(--teal); border-radius: 6px; padding: 20px; animation: rise .22s ease; }
@keyframes rise { from { transform: translateY(14px); opacity: 0; } to { transform: none; opacity: 1; } }
.dialog.narrow { width: min(100%, 420px); }
.dialog h2 { font-size: 1.35rem; margin-bottom: 4px; padding-right: 44px; display: flex; align-items: center; gap: 8px; }
.dialog h2 svg { width: 20px; height: 20px; color: var(--orange); flex: none; }
.dialog .lede { opacity: .85; margin-bottom: 14px; font-size: .93rem; }
.close { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border-radius: 6px; border: 0; background: var(--white); display: grid; place-items: center; padding: 0; }
.close svg { width: 17px; height: 17px; }
.flash { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 4px; }
@media (min-width: 640px) { .flash { display: grid; grid-template-columns: repeat(auto-fit, minmax(165px, 1fr)); overflow: visible; } }
.flash a { flex: 0 0 min(58vw, 190px); scroll-snap-align: start; text-decoration: none; background: var(--white); border-radius: 6px; overflow: hidden; display: grid; align-content: start; }
.flash .ph { aspect-ratio: 4 / 3; background: var(--blue); }
.flash .ph img { width: 100%; height: 100%; object-fit: cover; }
.flash .b { padding: 8px 10px 12px; display: grid; gap: 2px; font-size: .88rem; }
.flash .lab { font-size: .75rem; font-weight: 700; color: var(--orange); filter: brightness(.82); }
.flash .price { font-size: 1.2rem; }
.dlg-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }

.field { display: grid; gap: 4px; margin-bottom: 12px; }
.field label { font-weight: 500; font-size: .92rem; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"] { min-height: 48px; padding: 0 14px; border-radius: 6px; border: 2px solid var(--blue); background: var(--white); color: var(--teal); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .85rem; margin: 4px 0 14px; }
.check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--teal); }
.msg { font-size: .88rem; color: #8a2d00; min-height: 1.2em; margin-bottom: 6px; }
.notice { margin-top: 12px; font-size: .8rem; opacity: .7; }

.lightbox { background: rgba(0, 24, 28, .94); }
.lightbox img { max-width: 94vw; max-height: 86svh; object-fit: contain; border-radius: 6px; }
.lightbox .nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; }
.lightbox .prev { left: 12px; } .lightbox .next { right: 12px; }
.lightbox .round { background: var(--cream); color: var(--teal); border-color: var(--cream); }
.lightbox .cnt { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; color: var(--cream); }

.snack { position: fixed; z-index: 36; left: 14px; bottom: 14px; max-width: min(340px, calc(100vw - 28px)); background: var(--teal); color: var(--cream); border-radius: 6px; padding: 12px 14px; display: flex; gap: 10px; align-items: center; font-size: .9rem; animation: rise .25s ease; box-shadow: 0 6px 22px rgba(0, 40, 46, .35); }
.snack a { color: var(--orange); font-weight: 700; white-space: nowrap; }
.snack button { background: none; border: 0; color: var(--cream); width: 32px; height: 32px; padding: 0; display: grid; place-items: center; flex: none; }
.snack button svg { width: 14px; height: 14px; }
@media (max-width: 899px) { .snack { bottom: 78px; } }
.toast { position: fixed; z-index: 90; left: 50%; bottom: 90px; transform: translateX(-50%); background: var(--teal); color: var(--cream); padding: 10px 18px; border-radius: 6px; font-weight: 500; font-size: .92rem; animation: rise .25s ease; max-width: 92vw; text-align: center; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- barra de secciones (estilo tienda) ---------- */
.subnav { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad) 8px; display: flex; align-items: center; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.subnav::-webkit-scrollbar { display: none; }
.subnav a, .subnav button { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px; border: 0; border-radius: 6px; background: none; color: var(--black); font-weight: 600; font-size: .92rem; text-decoration: none; }
.subnav a:hover, .subnav button:hover { background: rgba(255, 255, 255, .35); }
.subnav [aria-current="page"] { background: var(--white); }
.subnav svg { width: 18px; height: 18px; flex: none; }
.pop { position: fixed; z-index: 50; min-width: 210px; background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: 6px; box-shadow: 0 8px 24px rgba(0, 40, 46, .22); }
.pop a { display: flex; justify-content: space-between; gap: 16px; padding: 10px 12px; border-radius: 6px; text-decoration: none; font-weight: 500; }
.pop a:hover { background: var(--cream); }
.pop small { opacity: .65; }

/* ---------- puestos ---------- */
.ranks { display: flex; flex-wrap: wrap; gap: 4px 6px; }
.rankchip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px 4px 4px; border-radius: 6px; background: var(--cream); color: var(--teal); text-decoration: none; font-size: .8rem; border: 1px solid transparent; }
.rankchip b { background: var(--orange); color: var(--black); padding: 1px 9px; border-radius: 6px; font-size: .8rem; }
.rankchip.soft { padding: 4px 12px; background: transparent; border-color: var(--line); }
.rankchip:hover { text-decoration: underline; }
.rank { position: absolute; left: 8px; top: 8px; z-index: 1; background: var(--orange); color: var(--black); font-family: var(--font-display); font-weight: 700; font-size: 1rem; line-height: 1; padding: 6px 10px; border-radius: 6px; }
.card.ranked .badges { top: 46px; }
.note { font-size: .85rem; background: var(--white); border: 1px dashed var(--line); border-radius: 6px; padding: 8px 12px; }
.note.demo { border-color: var(--orange); }

/* =========================================================
   MOVIMIENTO Y JERARQUÍA
   Fondos alternados (blanco / azul / verde petróleo / crema) para que cada bloque se despegue del anterior.
   Todo lo animado se apaga con "reducir movimiento" del sistema.
   ========================================================= */

/* franja superior rotativa */
.tick { list-style: none; margin: 0; padding: 0; position: relative; height: 38px; }
.tick li { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; visibility: hidden; opacity: 0; transform: translateY(100%); transition: transform .5s ease, opacity .5s ease, visibility 0s .5s; }
.tick li[data-on] { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.tick li.out { visibility: visible; opacity: 0; transform: translateY(-100%); }
.tick .line { display: inline-flex; align-items: center; gap: 8px; padding: 0 12px; max-width: 100%; }
.tick span:not(.line) { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tick svg { width: 15px; height: 15px; color: var(--orange); flex: none; }

/* carrusel de portada */
.hero { position: relative; isolation: isolate; border-radius: var(--r); overflow: hidden; background: var(--teal); color: var(--cream); min-height: clamp(280px, 29vw, 340px); }
.hero .slides { position: absolute; inset: 0; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility 0s .7s; }
.slide[data-on] { opacity: 1; visibility: visible; transition-delay: 0s; }
.slide .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide[data-on] .bg { animation: kb 9s ease-out both; }
.slide .shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 46, 53, .96) 0%, rgba(0, 46, 53, .62) 48%, rgba(0, 46, 53, .08) 100%); }
.slide .copy { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 18px 58px; display: grid; gap: 6px; justify-items: start; max-width: 600px; }
.slide .kick { background: var(--orange); color: var(--black); font-size: .74rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 3px 10px; border-radius: 6px; }
.slide h2 { color: var(--white); font-size: clamp(1.35rem, 3.3vw, 2.2rem); }
.slide .where { opacity: .9; font-size: .95rem; }
.slide .hp { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.6rem, 4vw, 2.4rem); line-height: 1.1; margin: 2px 0 6px; color: var(--white); }
.slide .hp s { font-family: var(--font-body); font-weight: 400; font-size: .5em; opacity: .75; margin-right: 8px; }
.slide[data-on] .copy > * { animation: up .6s ease both; }
.slide[data-on] .copy > :nth-child(2) { animation-delay: .08s; } .slide[data-on] .copy > :nth-child(3) { animation-delay: .14s; }
.slide[data-on] .copy > :nth-child(4) { animation-delay: .2s; } .slide[data-on] .copy > :nth-child(5) { animation-delay: .28s; }
.hero .vnav { display: none; z-index: 2; }
.hbar { position: absolute; z-index: 2; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; align-items: center; gap: 10px; }
.dots { display: flex; }
.dots button { position: relative; width: 30px; height: 26px; padding: 0; border: 0; background: none; }
.dots button::before { content: ""; position: absolute; left: 4px; right: 4px; top: 11px; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .5); transition: background .2s; }
.dots button[aria-current="true"]::before { background: var(--orange); }
.hpause { width: 32px; height: 32px; border-radius: 6px; border: 0; background: rgba(255, 255, 255, .22); color: var(--white); display: grid; place-items: center; padding: 0; }
.hpause:hover { background: rgba(255, 255, 255, .38); }
.hpause svg { width: 14px; height: 14px; }
@media (min-width: 760px) {
  .slide .shade { background: linear-gradient(90deg, rgba(0, 46, 53, .95) 0%, rgba(0, 46, 53, .72) 40%, rgba(0, 46, 53, 0) 72%); }
  .slide .copy { padding: 28px 28px 64px 72px; max-width: 640px; top: auto; }
  .hero .vnav { display: grid; }
}

/* banda "por qué" */
.why { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 12px 16px; display: grid; gap: 10px 24px; align-items: center; }
.why .who { display: flex; align-items: center; gap: 12px; }
.why h2 { font-size: 1.05rem; }
.why .avatar { width: 48px; height: 48px; flex: none; }
.why ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 14px; }
.why li { display: flex; gap: 10px; align-items: center; min-width: 0; }
.why li svg { flex: none; width: 32px; height: 32px; padding: 7px; border-radius: 6px; background: var(--orange); color: var(--black); }
.why li b { display: block; font-size: .9rem; line-height: 1.2; }
.why li span { display: block; font-size: .8rem; opacity: .8; overflow-wrap: anywhere; line-height: 1.25; }
@media (min-width: 960px) { .why { grid-template-columns: auto minmax(0, 1fr); } .why ul { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* banda oscura de oportunidades */
.band { background: var(--teal); color: var(--cream); border-radius: var(--r); padding: 14px 14px 8px; }
.band .rh h2 { color: var(--cream); }
.band .rh h2 svg { color: var(--orange); animation: flick 3s infinite; }

/* categorías con más presencia */
.cat { transition: transform .2s ease, box-shadow .2s ease; }
@media (hover: hover) { .cat:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(0, 72, 81, .25); } }

/* tarjetas: sombra, elevación al pasar el mouse y entrada escalonada */
.card { color: var(--teal); box-shadow: 0 1px 3px rgba(0, 72, 81, .1); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.card .ph img { transition: transform .5s ease; }
@media (hover: hover) {
  .card:hover { transform: translateY(-4px); box-shadow: 0 12px 26px rgba(0, 72, 81, .18); border-color: var(--orange); }
  .card:hover .ph img { transform: scale(1.06); }
}
.rv .reveal { opacity: 0; translate: 0 18px; transition: opacity .5s ease var(--d, 0ms), translate .5s ease var(--d, 0ms), transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.rv .reveal.in { opacity: 1; translate: 0 0; }

/* insignias */
.badge.new { background: var(--blue); color: var(--cream); }

/* corazón que late */
.fav { overflow: visible; }
[data-fav].beat svg { animation: beat .55s ease; }
.fav.beat::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--orange); animation: ring .55s ease-out forwards; pointer-events: none; }

/* puesto en una línea (ficha) */
.rankline { display: flex; margin: -4px 0 -2px; }
.rankline a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-size: .86rem; color: var(--blue); }
.rankline b { background: var(--orange); color: var(--black); padding: 2px 8px; border-radius: 4px; font-size: .7rem; letter-spacing: .04em; text-transform: uppercase; }
.rankline a:hover span { text-decoration: underline; }

/* filtros rápidos y búsquedas relacionadas */
.filters { display: grid; gap: 8px; }
.filters:empty { display: none; }
.quick { display: flex; flex-wrap: wrap; gap: 8px; }
.sw { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 12px 0 8px; border-radius: 6px; background: var(--white); border: 1px solid var(--line); font-weight: 500; font-size: .9rem; }
.sw i { position: relative; flex: none; width: 30px; height: 18px; border-radius: 999px; background: #dfe6e8; box-shadow: inset 0 0 0 1px rgba(0, 72, 81, .4); transition: background .2s ease; }
.sw i::after { content: ""; position: absolute; left: 2px; top: 2px; width: 14px; height: 14px; border-radius: 50%; background: var(--teal); transition: transform .2s ease, background .2s ease; }
.sw[aria-checked="true"] { background: var(--cream); border-color: var(--teal); }
.sw[aria-checked="true"] i { background: var(--orange); box-shadow: none; }
.sw[aria-checked="true"] i::after { transform: translateX(12px); background: var(--white); }
.sw small { opacity: .65; }
.related { display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; font-size: .88rem; }
.related > span { opacity: .8; }
.related .chip { min-height: 32px; padding: 0 12px; font-size: .86rem; }

/* progreso de la galería */
.gprog { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255, 255, 255, .35); border-radius: 0 0 6px 6px; overflow: hidden; pointer-events: none; }
.gprog i { display: block; height: 100%; width: 0; background: var(--orange); transition: width .3s ease; }

@keyframes kb { from { transform: scale(1); } to { transform: scale(1.07); } }
@keyframes up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes beat { 0% { transform: scale(1); } 30% { transform: scale(1.4); } 60% { transform: scale(.9); } 100% { transform: scale(1); } }
@keyframes ring { from { transform: scale(.8); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }
@keyframes flick { 0%, 86%, 100% { opacity: 1; } 90% { opacity: .35; } 94% { opacity: 1; } 97% { opacity: .5; } }

/* celular: banda de confianza en una sola tira y categorías sin desbordes */
@media (max-width: 959px) {
  .why { padding: 10px 12px; gap: 8px; }
  .why .avatar { width: 40px; height: 40px; }
  .why h2 { font-size: .98rem; }
  .why ul { display: flex; overflow-x: auto; gap: 8px 16px; scrollbar-width: none; padding-bottom: 2px; }
  .why ul::-webkit-scrollbar { display: none; }
  .why li { flex: none; }
  .why li span { display: none; }
  .why li svg { width: 28px; height: 28px; padding: 6px; }
  .why li b { font-size: .86rem; white-space: nowrap; }
}
@media (max-width: 639px) {
  .cats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .cat { padding: 12px 10px; min-height: 76px; }
  .cat b { font-size: .9rem; overflow-wrap: anywhere; }
  .cat small { font-size: .74rem; }
}
@media (max-width: 639px) {
  .quick, .related { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: calc(var(--pad) * -1); padding-right: var(--pad); }
  .quick::-webkit-scrollbar, .related::-webkit-scrollbar { display: none; }
  .sw, .related > *, .related .chip { flex: none; white-space: nowrap; }
}


/* ---------- ajustes: banda clickeable, guías, espaciado y video ---------- */
.why li a { display: flex; gap: 10px; align-items: center; min-width: 0; text-decoration: none; border-radius: 6px; padding: 4px 6px; margin: -4px -6px; transition: background .15s ease; }
.why li a:hover { background: var(--cream); }
.why li a:hover svg { transform: scale(1.08); }
.why li svg { transition: transform .15s ease; }
.why ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (min-width: 960px) { .why ul { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.guides { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.guides a { display: flex; align-items: center; gap: 10px; text-decoration: none; background: var(--cream); border-radius: 6px; padding: 10px 12px; transition: transform .15s ease, background .15s ease; }
.guides a:hover { background: var(--teal); color: var(--cream); transform: translateY(-2px); }
.guides a > svg:first-child { flex: none; width: 32px; height: 32px; padding: 7px; border-radius: 6px; background: var(--teal); color: var(--cream); }
.guides a:hover > svg:first-child { background: var(--orange); color: var(--black); }
.guides a > svg:last-child { flex: none; width: 16px; height: 16px; margin-left: auto; }
.guides b { display: block; font-size: .92rem; line-height: 1.2; }
.guides span { display: block; font-size: .8rem; opacity: .8; line-height: 1.25; }
@media (max-width: 639px) { .guides { grid-template-columns: 1fr; } .why ul { gap: 8px 12px; } }

.guia .lede { font-size: 1.02rem; margin: 6px 0 14px; max-width: 62ch; }
.steps { list-style: none; counter-reset: s; margin: 0 0 16px; padding: 0; display: grid; gap: 10px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 34px 1fr; column-gap: 12px; align-items: start; background: var(--cream); border-radius: 6px; padding: 12px 14px; }
.steps li::before { content: counter(s); grid-row: 1 / 3; width: 34px; height: 34px; border-radius: 50%; background: var(--orange); color: var(--black); font-family: var(--font-display); font-weight: 700; display: grid; place-items: center; }
.steps b { font-size: 1rem; }
.steps span { font-size: .92rem; opacity: .85; }
.guia .cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
a.linkbtn { text-decoration: underline; }

/* aire entre filtros/búsquedas relacionadas y las tarjetas */
.filters { margin-bottom: 16px; }

/* video: botón claro en la ficha y etiqueta en las tarjetas */
.vbtn { position: absolute; z-index: 2; left: 10px; bottom: 14px; display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 16px 0 12px; border: 0; border-radius: 6px; background: var(--orange); color: var(--black); font-weight: 700; box-shadow: 0 3px 10px rgba(0, 0, 0, .3); }
.vbtn svg { width: 16px; height: 16px; fill: currentColor; }
.vbtn:hover { background: #f08a3a; }
.vtag { position: absolute; left: 8px; bottom: 8px; display: inline-flex; align-items: center; gap: 4px; background: rgba(0, 40, 46, .82); color: var(--cream); font-size: .72rem; font-weight: 600; padding: 3px 9px 3px 7px; border-radius: 6px; pointer-events: none; }
.vtag svg { width: 10px; height: 10px; fill: currentColor; }

/* celular: los 3 ítems de la banda entran sin deslizar */
@media (max-width: 959px) {
  .why ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; gap: 6px; }
  .why li, .why li a { flex-direction: column; align-items: center; text-align: center; gap: 4px; margin: 0; }
  .why li a { padding: 4px 2px; margin: -4px -2px; }
  .why li b { white-space: normal; font-size: .8rem; line-height: 1.15; }
}


/* =========================================================
   BARRA DE SECCIONES (franja clara aparte) + BOTÓN "QUIERO VENDER"
   ========================================================= */
.top { z-index: auto; }
.subnav-bar { background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 3px 10px rgba(0, 72, 81, .09); }
.subnav { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); display: flex; align-items: center; gap: 10px; overflow: visible; }
.subnav .items { flex: 1; min-width: 0; display: flex; align-items: center; gap: 2px; overflow-x: auto; scrollbar-width: none; padding: 6px 0; }
.subnav .items::-webkit-scrollbar { display: none; }
.subnav .items a, .subnav .items button { color: var(--teal); background: none; font-weight: 600; font-size: .92rem; min-height: 40px; padding: 0 12px; border-radius: 6px; }
.subnav .items a:hover, .subnav .items button:hover { background: var(--cream); }
.subnav .items [aria-current="page"] { background: var(--teal); color: var(--cream); }
.subnav .items svg { color: var(--orange); }
.subnav .items [aria-current="page"] svg { color: var(--orange); }
.subnav .sell { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 18px; border-radius: 6px; background: var(--orange); color: var(--black); font-weight: 700; font-size: .95rem; text-decoration: none; box-shadow: 0 2px 8px rgba(232, 119, 34, .45); transition: transform .15s ease, background .15s ease; }
.subnav .sell:hover { background: #f08a3a; transform: translateY(-1px); }
.subnav .sell svg { width: 20px; height: 20px; }
.subnav .sell[aria-current="page"] { background: var(--teal); color: var(--cream); box-shadow: none; }
.subnav .sell[aria-current="page"] svg { color: var(--orange); }
.sell .l-short { display: none; }
@media (max-width: 639px) { .sell .l-long { display: none; } .sell .l-short { display: inline; } .subnav .sell { padding: 0 14px; } }

/* banner grande del inicio */
.sellbanner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; background: var(--orange); color: var(--black); border-radius: var(--r); padding: 20px 22px; }
.sellbanner h2 { font-size: clamp(1.3rem, 3vw, 1.8rem); }
.sellbanner p { font-weight: 500; margin-top: 2px; }
@media (max-width: 639px) { .sellbanner .btn { width: 100%; } }

/* =========================================================
   PÁGINA "QUIERO VENDER"
   ========================================================= */
.draft { background: var(--white); border: 1px dashed var(--orange); border-radius: 6px; padding: 8px 12px; font-size: .85rem; }
.vhero { display: grid; gap: 18px; background: var(--teal); color: var(--cream); border-radius: var(--r); padding: clamp(20px, 4vw, 36px); align-items: center; }
@media (min-width: 800px) { .vhero { grid-template-columns: minmax(0, 1fr) 260px; } }
.vhero .kick { display: inline-block; background: var(--orange); color: var(--black); font-size: .74rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 3px 10px; border-radius: 6px; }
.vhero h1 { color: var(--white); font-size: clamp(1.8rem, 5vw, 2.8rem); margin: 8px 0 8px; }
.vhero p { font-size: 1.05rem; max-width: 46ch; opacity: .95; }
.vh-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.btn-ghost { border-color: rgba(240, 228, 216, .55); color: var(--cream); }
.btn-ghost:hover { background: var(--cream); color: var(--teal); }
.vh-who { display: grid; justify-items: center; text-align: center; gap: 4px; background: rgba(255, 255, 255, .08); border-radius: var(--r); padding: 18px 14px; }
.vh-who .avatar { width: 112px; height: 112px; border: 3px solid var(--orange); }
.vh-who b { font-family: var(--font-display); font-size: 1.1rem; }
.vh-who span { font-size: .85rem; opacity: .85; }
@media (max-width: 799px) { .vh-who { grid-template-columns: 76px 1fr; justify-items: start; text-align: left; align-items: center; column-gap: 12px; } .vh-who .avatar { width: 76px; height: 76px; grid-row: 1 / 3; } }

.strategy { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
@media (min-width: 800px) { .strategy { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.strategy > li { display: flex; gap: 12px; align-items: flex-start; background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--orange); border-radius: var(--r); padding: 14px 16px; }
.strategy .n { flex: none; width: 30px; height: 30px; color: var(--orange); }
.strategy .n svg { width: 100%; height: 100%; }
.strategy h3 { font-size: 1.05rem; margin-bottom: 3px; }
.strategy p { font-size: .93rem; opacity: .9; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 8px 0 0; }
.chips li { font-size: .78rem; font-weight: 600; background: var(--cream); color: var(--teal); padding: 3px 10px; border-radius: 6px; }

.tres { display: grid; gap: 10px; }
@media (min-width: 760px) { .tres { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tres article { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; display: grid; gap: 6px; align-content: start; }
.tres .who { justify-self: start; font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; background: var(--orange); color: var(--black); padding: 3px 10px; border-radius: 6px; }
.tres h3 { font-size: 1.25rem; }
.tres p { font-size: .93rem; opacity: .9; }
.more { margin-top: 10px; font-weight: 600; }

.tools2 { display: grid; gap: 10px; }

.tool { background: var(--blue); color: var(--cream); border-radius: var(--r); padding: 18px; display: grid; gap: 8px; align-content: start; justify-items: start; }
.tool h3 { color: var(--white); font-size: 1.2rem; }
.tool .fine { font-size: .82rem; opacity: .85; }
.tool .tag { font-size: .7rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; background: var(--orange); color: var(--black); padding: 2px 9px; border-radius: 6px; }
.tool .btn-dark { background: var(--teal); }
.tool .btn-line { border-color: var(--cream); color: var(--cream); }
.tool .btn-line:hover { background: var(--cream); color: var(--teal); }

.about { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; }
.about h2 { font-size: 1.3rem; margin-bottom: 6px; color: var(--orange); }
.about p { max-width: 70ch; }
.adv.big .avatar { width: 96px; height: 96px; }
.adv.big .contact li { display: flex; gap: 6px; align-items: center; }
.adv.big .contact svg { width: 16px; height: 16px; color: var(--orange); flex: none; }

.vform-box { scroll-margin-top: 130px; }
.vform { display: grid; gap: 12px; max-width: 520px; }
.vform .btn { justify-self: start; }
.done { display: grid; gap: 10px; justify-items: start; background: var(--cream); border-radius: var(--r); padding: 16px; }

/* =========================================================
   GUÍA PARA VENDEDORES
   ========================================================= */
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 16px; }
.gsec { padding: 16px 0; border-top: 1px solid var(--line); display: grid; gap: 10px; scroll-margin-top: 130px; }
.gsec h2 { font-size: 1.3rem; }
.gsec h3 { font-size: 1.05rem; }
.gsec p { max-width: 72ch; }
.gsec .tres { margin-top: 4px; }
.ask { background: var(--cream); border-radius: var(--r); padding: 12px 16px; }
.ask ul, .dos ul { margin: 6px 0 0; padding-left: 18px; display: grid; gap: 3px; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.checks.two { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.checks li { display: flex; gap: 10px; align-items: flex-start; background: var(--cream); border-radius: 6px; padding: 10px 12px; }
.checks svg { flex: none; width: 20px; height: 20px; padding: 3px; border-radius: 6px; background: var(--orange); color: var(--black); margin-top: 1px; }
.dos { display: grid; gap: 10px; }
@media (min-width: 760px) { .dos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.dos article { background: var(--cream); border-radius: var(--r); padding: 14px 16px; }
.guia .note { font-size: .88rem; background: var(--cream); border: 0; }

/* =========================================================
   CARRUSEL DE VENDIDAS (sin clics)
   ========================================================= */
.marquee { overflow: hidden; border-radius: var(--r); -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.track { display: flex; gap: 12px; width: max-content; animation: marq var(--dur, 40s) linear infinite; }
.marquee:hover .track, .marquee.paused .track { animation-play-state: paused; }
.sold-card { position: relative; flex: 0 0 230px; aspect-ratio: 4 / 3; border-radius: 6px; overflow: hidden; background: var(--blue); pointer-events: none; user-select: none; }
.sold-card img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85); }
.sold-card .ph-stars { position: absolute; inset: 0; background-color: var(--blue); background-image: var(--stars); }
.sold-band { position: absolute; left: 0; right: 0; top: 0; z-index: 1; text-align: center; background: var(--orange); color: var(--black); font-weight: 700; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; padding: 6px 0; }
.sold-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 12px 10px; color: var(--cream); background: linear-gradient(0deg, rgba(0, 46, 53, .92), transparent); display: grid; gap: 1px; }
.sold-cap b { font-size: .95rem; }
.sold-cap span { font-size: .8rem; opacity: .9; }
.hpause.dark { background: var(--teal); color: var(--cream); }
.hpause.dark:hover { background: var(--blue); }
@keyframes marq { to { transform: translateX(calc(-50% - 6px)); } }
@media (prefers-reduced-motion: reduce) { .marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; } }


/* =========================================================
   ESTIMADOR DE VALOR
   ========================================================= */
.sb-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.btn-light { background: var(--white); color: var(--black); }
.btn-light:hover { background: var(--cream); }
.btn-lg { min-height: 54px; padding: 0 28px; font-size: 1.05rem; }
@media (max-width: 639px) { .sb-btns, .sb-btns .btn { width: 100%; } }

.estbanner { display: grid; gap: 16px; align-items: center; background: var(--orange); color: var(--black); border-radius: var(--r); padding: clamp(18px, 3vw, 28px); box-shadow: 0 8px 22px rgba(232, 119, 34, .35); }
@media (min-width: 860px) { .estbanner { grid-template-columns: auto minmax(0, 1fr) auto; } }
.eb-ic { width: 72px; height: 72px; border-radius: 6px; background: var(--white); color: var(--teal); display: grid; place-items: center; }
.eb-ic svg { width: 38px; height: 38px; }
.estbanner h2 { font-size: clamp(1.5rem, 3.6vw, 2.2rem); }
.estbanner p { font-weight: 500; margin-top: 4px; max-width: 56ch; }
.estbanner ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 14px; padding: 0; margin: 10px 0 0; font-weight: 700; font-size: .9rem; }
.estbanner li::before { content: "✓ "; }
@media (max-width: 859px) { .estbanner .btn { width: 100%; } }

.est-title .lede { max-width: 62ch; margin-top: 6px; }
.est-layout { display: grid; gap: 16px; align-items: start; }
@media (min-width: 960px) { .est-layout { grid-template-columns: minmax(0, 1fr) 300px; } .est-aside { position: sticky; top: 130px; } }
.est-main { display: grid; gap: 16px; min-width: 0; }
.est-form { display: grid; gap: 16px; }
.est-form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.est-form legend, .est-form .grp h2 { font-weight: 700; font-size: 1rem; margin-bottom: 8px; padding: 0; font-family: var(--font-body); }
.tipos { display: flex; flex-wrap: wrap; gap: 10px; }
.tipos legend { width: 100%; }
.opt { flex: 1 1 130px; position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.opt span { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 8px; border: 2px solid var(--line); border-radius: var(--r); background: var(--white); font-weight: 600; transition: border-color .15s ease, background .15s ease, transform .15s ease; }
.opt svg { width: 30px; height: 30px; color: var(--orange); }
.opt input:checked + span { border-color: var(--orange); background: var(--cream); transform: translateY(-2px); }
.opt input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.metros { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.est-form .hint, .est-form .help { font-size: .86rem; opacity: .85; }
.est-form .help { margin-top: 8px; }
.est-form .help a { font-weight: 600; }
.est-form .more { background: var(--cream); border-radius: var(--r); padding: 10px 14px; }
.est-form .more summary { cursor: pointer; font-weight: 600; }
.est-form .more[open] { display: grid; gap: 10px; }
.extras { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.extras legend { width: 100%; }
.check.inline { display: inline-flex; gap: 6px; align-items: center; }

.est-card { background: var(--teal); color: var(--cream); border-radius: var(--r); padding: 16px; display: grid; gap: 10px; }
.est-card .contact a { color: var(--cream); }
.est-who { display: flex; align-items: center; gap: 12px; }
.est-who .avatar { width: 64px; height: 64px; border: 2px solid var(--orange); flex: none; }
.est-who b { display: block; font-family: var(--font-display); }
.est-who span { font-size: .82rem; opacity: .85; }
@media (max-width: 959px) { .est-aside { display: none; } }
.vbar { display: none; }
@media (max-width: 959px) {
  .vbar { display: flex; position: fixed; z-index: 45; left: 0; right: 0; bottom: 0; align-items: center; justify-content: space-between; gap: 10px; background: var(--teal); color: var(--cream); padding: 8px 14px calc(8px + env(safe-area-inset-bottom, 0px)); box-shadow: 0 -4px 14px rgba(0, 0, 0, .25); }
  .vbar b { display: block; } .vbar span { font-size: .8rem; opacity: .85; }
  .est-page { padding-bottom: 80px; }
}

.est-res { display: grid; gap: 14px; outline: 0; scroll-margin-top: 130px; }
.est-head { display: grid; gap: 12px; }
@media (min-width: 760px) { .est-head { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); } }
.est-range { background: var(--white); border: 2px solid var(--orange); border-radius: var(--r); padding: 18px; display: grid; gap: 6px; align-content: center; }
.est-range .lab { font-size: .76rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--blue); }
.est-range .val { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.6rem, 4.5vw, 2.4rem); line-height: 1.1; }
.est-range .val i { font-family: var(--font-body); font-style: normal; font-weight: 500; font-size: .5em; opacity: .7; }
.est-range .val.sm { font-size: 1.3rem; }
.est-range .fine { font-size: .85rem; opacity: .85; }
.est-range.none { border-color: var(--line); }
.est-cta { background: var(--teal); color: var(--cream); border-radius: var(--r); padding: 16px; display: grid; gap: 10px; align-content: center; }
.est-cta .btn-line { border-color: var(--cream); color: var(--cream); }
.est-cta .btn-line:hover { background: var(--cream); color: var(--teal); }
.est-det { display: grid; gap: 1px; margin: 0; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.est-det div { display: flex; justify-content: space-between; gap: 12px; background: var(--white); padding: 10px 14px; }
.est-det dt { opacity: .8; } .est-det dd { margin: 0; font-weight: 600; text-align: right; }
.est-warn { background: var(--cream); border-left: 4px solid var(--orange); border-radius: 6px; padding: 12px 16px; display: grid; gap: 4px; font-size: .92rem; }
.est-next { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; background: var(--orange); border-radius: var(--r); padding: 16px 18px; }
.est-next h3 { font-size: 1.15rem; } .est-next p { font-weight: 500; }
@media (max-width: 639px) { .est-next .btn { width: 100%; } }
.legal-est { font-size: .78rem; opacity: .75; }

.est-range .val span { white-space: nowrap; }
.field select { width: 100%; min-height: 46px; padding: 0 12px; border: 1px solid var(--line); border-radius: 6px; background: var(--white); font: inherit; color: var(--teal); }
.field select:focus-visible, .field input:focus-visible { outline: 3px solid var(--orange); outline-offset: 1px; }
.est-form .btn-lg { justify-self: start; }
@media (max-width: 639px) { .est-form .btn-lg { justify-self: stretch; } }


/* =========================================================
   GUÍAS: jerarquía visual (bloque de color arriba, temas numerados, bandas) en lugar de "todo blanco"
   ========================================================= */
.guia-page { counter-reset: g; gap: 22px; }
.g-hero { background: var(--teal); color: var(--cream); border-radius: var(--r); padding: clamp(20px, 4vw, 34px); display: grid; gap: 10px; justify-items: start; }
.g-hero .kick { background: var(--orange); color: var(--black); font-size: .74rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 3px 10px; border-radius: 6px; }
.g-hero h1 { color: var(--white); font-size: clamp(1.8rem, 5vw, 2.8rem); }
.g-hero .lede { color: var(--cream); max-width: 64ch; font-size: 1.02rem; margin: 0; }
.g-hero .toc { margin: 8px 0 0; }
.g-hero .toc .chip { background: transparent; color: var(--cream); border: 1px solid rgba(240, 228, 216, .55); }
.g-hero .toc .chip:hover { background: var(--orange); border-color: var(--orange); color: var(--black); }

.guia-page .gsec { border: 0; padding: 0; gap: 12px; }
.guia-page .gsec > h2 { display: flex; align-items: center; gap: 12px; font-size: clamp(1.25rem, 3vw, 1.6rem); }
.guia-page .gsec > h2::before { counter-increment: g; content: counter(g); flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--orange); color: var(--black); display: grid; place-items: center; font-size: 1.05rem; }
.guia-page .gsec.nonum > h2::before { display: none; }
.guia-page .gsec > p { max-width: 70ch; }

/* los 3 factores: tres colores, tres identidades */
.guia-page .tres article { border: 0; color: var(--cream); }
.guia-page .tres article:nth-child(1) { background: var(--blue); }
.guia-page .tres article:nth-child(2) { background: var(--teal); }
.guia-page .tres article:nth-child(3) { background: var(--orange); color: var(--black); }
.guia-page .tres h3 { color: inherit; font-size: 1.5rem; }
.guia-page .tres article:nth-child(1) .who, .guia-page .tres article:nth-child(2) .who { background: var(--orange); color: var(--black); }
.guia-page .tres article:nth-child(3) .who { background: var(--black); color: var(--cream); }
.guia-page .ask { background: var(--white); border-left: 5px solid var(--orange); border-radius: 6px; }

/* checklist y documentación: fichas blancas sobre el crema de la página */
.guia-page .checks li { background: var(--white); border: 1px solid var(--line); }
.guia-page .steps li { background: var(--white); border: 1px solid var(--line); }

/* precio: banda azul con el concepto destacado */
.guia-page .band-blue { background: var(--blue); color: var(--cream); border-radius: var(--r); padding: clamp(16px, 3vw, 26px); }
.guia-page .band-blue > h2 { color: var(--white); }
.guia-page .band-blue p { color: var(--cream); }
.guia-page .band-blue .dos article { background: var(--white); color: var(--teal); }
.guia-page .band-blue .dos article:last-child { background: var(--cream); }
.guia-page .band-blue .quote { font-family: var(--font-display); font-size: clamp(1.05rem, 2.4vw, 1.3rem); line-height: 1.4; padding: 14px 18px; border-left: 5px solid var(--orange); background: rgba(0, 72, 81, .35); border-radius: 6px; color: var(--white); max-width: none; }

/* preguntas: dos tonos */
.guia-page #g-preg .dos article:first-child { background: var(--white); border: 1px solid var(--line); }
.guia-page #g-preg .dos article:last-child { background: var(--teal); color: var(--cream); }
.guia-page #g-preg .dos article:last-child h3 { color: var(--white); }
.guia-page .note { background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--orange); }

/* cierre */
.g-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; background: var(--orange); color: var(--black); border-radius: var(--r); padding: 20px 22px; }
.g-cta h2 { font-size: 1.4rem; } .g-cta p { font-weight: 500; }
.g-btns { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 639px) { .g-btns, .g-btns .btn { width: 100%; } }

/* "Ver más propiedades" */
.pager { display: grid; justify-items: center; gap: 10px; margin-top: 20px; }
.pager .count { font-size: .9rem; opacity: .8; outline: 0; }
.pager .btn { min-width: 240px; }


/* =========================================================
   BLOQUE GRANDE DEL ASESOR (antes del pie) y redes
   El fondo de la foto es casi negro: el bloque usa un color parecido y los bordes de la foto se difuminan para que se funda.
   ========================================================= */
.meet { background: #1b1b1b; color: var(--cream); margin-top: 40px; overflow: hidden; }
.meet-in { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); display: grid; align-items: end; }
.meet-photo { max-width: 380px; width: 86%; margin: 0 auto; padding: 28px 0 0; }
.meet-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 6%; border-radius: 6px; box-shadow: 0 6px 28px rgba(0, 0, 0, .4); }
.meet-photo { padding-bottom: 26px; }
.meet-copy { padding: 6px 0 40px; display: grid; gap: 10px; justify-items: start; }
.meet-copy .kick { background: var(--orange); color: var(--black); font-size: .74rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 3px 10px; border-radius: 6px; }
.meet-copy h2 { color: var(--white); font-size: clamp(1.9rem, 4.5vw, 2.8rem); line-height: 1.05; }
.meet-copy .cargo { color: var(--orange); font-weight: 600; }
.meet-copy .frase { max-width: 46ch; font-size: 1.05rem; opacity: .95; }
.meet-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.meet-btns .btn svg { width: 20px; height: 20px; }
.meet-data { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; font-size: .9rem; opacity: .9; }
.meet-data a { color: var(--cream); text-decoration: underline; text-underline-offset: 3px; }
.meet-data svg { width: 16px; height: 16px; color: var(--orange); vertical-align: -2px; }
@media (min-width: 820px) {
  .meet-in { grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 56px; align-items: end; }
  .meet-photo { margin: 0; width: 100%; padding: 44px 0 0; align-self: end; }
  .meet-photo img { border-radius: 6px 6px 0 0; box-shadow: 0 -6px 30px rgba(0, 0, 0, .35); }
  .meet-copy { padding: 48px 0 56px; align-self: center; }
}
@media (max-width: 639px) { .meet-btns .btn { flex: 1 1 100%; } }
.footer .redes { display: flex; gap: 10px; }
.footer .redes a { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 6px; border: 1px solid rgba(240, 228, 216, .5); color: var(--cream); transition: background .15s ease, color .15s ease, transform .15s ease; }
.footer .redes a:hover { background: var(--orange); border-color: var(--orange); color: var(--black); transform: translateY(-2px); }
.footer .redes svg { width: 20px; height: 20px; }

/* =========================================================
   LOGOS OFICIALES DE REDES (sin modificar; solo cambia el tamaño)
   ========================================================= */
.logo-red { width: 20px; height: 20px; display: block; flex: none; }
.btn .logo-red { width: 22px; height: 22px; border-radius: 5px; }
.footer .redes { gap: 14px; }
.footer .redes a { width: auto; height: auto; border: 0; border-radius: 6px; display: inline-flex; transition: transform .15s ease, opacity .15s ease; }
.footer .redes a:hover { background: none; transform: translateY(-2px); opacity: .85; }
.footer .redes .logo-red { width: 34px; height: 34px; border-radius: 6px; }

/* =========================================================
   OFERTAS RELÁMPAGO: motivo de cada tarjeta y bajada de la sección
   ========================================================= */
.rsub { font-size: .88rem; opacity: .85; max-width: 78ch; margin: -4px 0 10px; }
.card .why { display: inline-flex; align-items: center; gap: 5px; align-self: start; background: var(--orange); color: var(--black); font-size: .72rem; font-weight: 700; letter-spacing: .02em; padding: 3px 9px; border-radius: 6px; margin-bottom: 6px; }
.card .why svg { width: 13px; height: 13px; flex: none; }
.card .ppm { font-size: .8rem; font-weight: 600; color: var(--blue); }

/* =========================================================
   FILTROS
   ========================================================= */
.fbar { margin: 4px 0 14px; }
.fbtn { display: none; }
.fbtn .fcount { background: var(--orange); color: var(--black); border-radius: 999px; min-width: 20px; padding: 0 6px; font-size: .75rem; line-height: 20px; text-align: center; }
.fpanel { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; display: grid; gap: 14px; }
.fhead { display: none; }
.fgrid { display: grid; gap: 14px 28px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.f .flab { display: block; font-weight: 700; font-size: .85rem; margin-bottom: 6px; }
.f-zonas { grid-column: 1 / -1; }
.frow { display: flex; gap: 8px; align-items: center; }
.frow input { width: 100%; min-height: 42px; border: 1px solid var(--line); border-radius: 6px; padding: 0 12px; font: inherit; color: var(--teal); background: var(--white); }
.frow input:focus-visible { outline: 3px solid var(--orange); outline-offset: 1px; }
.seg, .sws, .zchips { display: flex; flex-wrap: wrap; gap: 8px; }
.seg .chip[aria-pressed="true"] { background: var(--teal); color: var(--cream); border-color: var(--teal); }
.zchip { position: relative; }
.zchip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; cursor: pointer; }
.zchip span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border: 1px solid var(--line); border-radius: 6px; background: var(--white); font-size: .9rem; cursor: pointer; transition: background .15s ease; }
.zchip span:hover { background: var(--cream); }
.zchip input:checked + span { background: var(--teal); color: var(--cream); border-color: var(--teal); }
.zchip input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.zchip small { opacity: .7; }
.ffoot { display: flex; gap: 10px; justify-content: space-between; align-items: center; }
.ffoot .btn[disabled] { opacity: .45; cursor: default; }
.fscrim { position: fixed; inset: 0; background: rgba(0, 0, 0, .5); z-index: 59; }
@media (max-width: 899px) {
  .fbtn { display: inline-flex; gap: 8px; }
  .fpanel { position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; max-height: 88vh; overflow-y: auto; border-radius: 6px 6px 0 0; border: 0; box-shadow: 0 -10px 40px rgba(0, 0, 0, .35); transform: translateY(105%); visibility: hidden; transition: transform .28s ease, visibility 0s linear .28s; padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px)); }
  .fpanel.open { transform: none; visibility: visible; transition: transform .28s ease; }
  .fhead { display: flex; justify-content: space-between; align-items: center; }
  .fhead h3 { font-size: 1.15rem; }
  .ffoot { position: sticky; bottom: -14px; background: var(--white); padding: 12px 0 2px; border-top: 1px solid var(--line); }
}
@media (prefers-reduced-motion: reduce) { .fpanel { transition: none; } }

/* =========================================================
   SECCIÓN DE VIDEOS: fondo con los colores de Instagram y TikTok que se funden en el centro
   ========================================================= */
.reels { position: relative; border-radius: var(--r); overflow: hidden; color: #fff; isolation: isolate; padding: clamp(22px, 4vw, 38px) 0 clamp(14px, 3vw, 26px); }
.reels-bg { position: absolute; inset: 0; z-index: -1; background: #0b0b10; }
.reels-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .38), rgba(0, 0, 0, .12) 45%, rgba(0, 0, 0, .5)); }
.rb-ig, .rb-tt { position: absolute; top: -25%; bottom: -25%; width: 68%; filter: blur(46px); mix-blend-mode: screen; will-change: transform; }
.rb-ig { left: -12%; background:
  radial-gradient(circle at 24% 82%, #fdc94a 0, rgba(253, 201, 74, 0) 42%),
  radial-gradient(circle at 18% 28%, #8a3ab9 0, rgba(138, 58, 185, 0) 52%),
  radial-gradient(circle at 62% 52%, #e1306c 0, rgba(225, 48, 108, 0) 56%),
  radial-gradient(circle at 78% 86%, #fd1d1d 0, rgba(253, 29, 29, 0) 44%);
  animation: derivaA 26s ease-in-out infinite alternate; }
.rb-tt { right: -12%; background:
  radial-gradient(circle at 72% 24%, #25f4ee 0, rgba(37, 244, 238, 0) 44%),
  radial-gradient(circle at 86% 72%, #fe2c55 0, rgba(254, 44, 85, 0) 42%),
  radial-gradient(circle at 34% 50%, #24242c 0, rgba(36, 36, 44, 0) 62%);
  animation: derivaB 30s ease-in-out infinite alternate; }
@keyframes derivaA { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(3%, 4%, 0) scale(1.05); } }
@keyframes derivaB { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-3%, -4%, 0) scale(1.06); } }
@media (prefers-reduced-motion: reduce) { .rb-ig, .rb-tt { animation: none; } }
.reels-in { padding: 0 clamp(14px, 3vw, 30px); }
.reels-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; }
.reels h2 { color: #fff; font-size: clamp(1.5rem, 3.4vw, 2.1rem); text-shadow: 0 2px 14px rgba(0, 0, 0, .55); }
.reels-head p { max-width: 52ch; opacity: .95; margin-top: 4px; text-shadow: 0 1px 8px rgba(0, 0, 0, .6); }
.reels-follow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.rf { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 7px; border-radius: 6px; background: rgba(0, 0, 0, .38); border: 1px solid rgba(255, 255, 255, .35); color: #fff; text-decoration: none; backdrop-filter: blur(6px); transition: background .15s ease, transform .15s ease; }
.rf:hover { background: rgba(0, 0, 0, .55); transform: translateY(-2px); }
.rf-logo { width: 40px; height: 40px; border-radius: 6px; display: block; }
.rf b { display: block; font-size: .95rem; line-height: 1.1; }
.rf small { font-size: .78rem; opacity: .85; }
.reels .hpause { background: rgba(0, 0, 0, .45); color: #fff; border: 1px solid rgba(255, 255, 255, .4); }
.reels-wrap { position: relative; }
.reels-track { list-style: none; margin: 0; padding: 22px 4px 26px; display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.reels-track::-webkit-scrollbar { display: none; }
.reels-wrap.fits .reels-track { justify-content: center; }
.reels-wrap.fits .round { display: none; }
.reel { flex: 0 0 clamp(150px, 44vw, 236px); scroll-snap-align: center; }
.reel-btn { position: relative; display: block; width: 100%; aspect-ratio: 9 / 16; padding: 0; border: 0; border-radius: 6px; overflow: hidden; background: #000; color: #fff; text-align: left; cursor: pointer; box-shadow: 0 16px 36px rgba(0, 0, 0, .55); transition: transform .2s ease, box-shadow .2s ease; text-decoration: none; }
.reel-btn:hover { transform: translateY(-5px); box-shadow: 0 22px 44px rgba(0, 0, 0, .6); }
.reel-btn:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.reel .rv { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.reel-title { position: absolute; left: 0; right: 0; bottom: 0; padding: 38px 12px 12px; background: linear-gradient(0deg, rgba(0, 0, 0, .85), transparent); font-size: .85rem; font-weight: 600; line-height: 1.25; }
.reel-nets { position: absolute; top: 10px; right: 10px; display: flex; gap: 6px; }
.reel-nets img { width: 28px; height: 28px; border-radius: 6px; display: block; box-shadow: 0 2px 8px rgba(0, 0, 0, .4); }
.reels .r-prev, .reels .r-next { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; }
.reels .r-prev { left: 4px; } .reels .r-next { right: 4px; }
@media (max-width: 639px) { .reels .r-prev, .reels .r-next { display: none; } }
.rl-btns { display: grid; gap: 10px; margin-top: 8px; }
.rl-btn { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 6px; background: var(--white); border: 2px solid var(--line); color: var(--teal); font-weight: 700; font-size: 1.05rem; text-decoration: none; transition: border-color .15s ease, transform .15s ease; }
.rl-btn:hover { border-color: var(--orange); transform: translateY(-2px); }
.rl-btn img { width: 34px; height: 34px; border-radius: 6px; display: block; }

/* =========================================================
   FORMULARIOS (campo trampa, enlace directo a WhatsApp, errores)
   ========================================================= */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.skip { text-align: center; margin-top: 12px; font-size: .9rem; }
.skip a { color: var(--teal); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.msg a { color: inherit; font-weight: 700; text-decoration: underline; }

/* =========================================================
   POLÍTICA DE PRIVACIDAD
   ========================================================= */
.legal { display: grid; gap: 10px; }
.legal h2 { font-size: 1.15rem; margin-top: 12px; }
.legal p, .legal li { max-width: 74ch; }
.legal ul { margin: 0; padding-left: 20px; display: grid; gap: 4px; }
.legal a { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
.legal .fine { font-size: .85rem; opacity: .75; }

/* =========================================================
   PROPIEDADES POR ZONA (enlaces internos, también para buscadores)
   ========================================================= */
.zlinks { margin-top: 30px; }
.zlinks h2 { font-size: 1.3rem; margin-bottom: 10px; }
.zl { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.zl li { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 12px 14px; display: grid; gap: 6px; align-content: start; }
.zl .zn { font-weight: 700; color: var(--teal); text-decoration: none; }
.zl .zn:hover { text-decoration: underline; }
.zl small { opacity: .7; font-weight: 500; }
.zl li > span { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .88rem; }
.zl li > span a { color: var(--blue); text-decoration: none; }
.zl li > span a:hover { text-decoration: underline; }

/* lo que se marca como oculto tiene que quedar oculto siempre (por ejemplo "Monoambiente" en Casas), aunque otro estilo le dé formato */
[hidden] { display: none !important; }

/* =========================================================
   GUÍA DE VENDEDORES EN TARJETAS DESPLEGABLES
   ========================================================= */
.guia-page .gd-sec { padding: 0; }
.guia-page .gd summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr auto; column-gap: 12px; row-gap: 2px; align-items: center; padding: 14px 16px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); transition: background .15s ease; }
.guia-page .gd summary::-webkit-details-marker { display: none; }
.guia-page .gd summary:hover { background: #fff8f0; }
.guia-page .gd summary:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.guia-page .gd summary h2 { grid-column: 1; display: flex; align-items: center; gap: 12px; font-size: clamp(1.1rem, 2.6vw, 1.4rem); }
.guia-page .gd summary h2::before { counter-increment: g; content: counter(g); flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--orange); color: var(--black); display: grid; place-items: center; font-size: 1rem; }
.guia-page .gd .gres { grid-column: 1; font-size: .9rem; opacity: .8; padding-left: 46px; }
.guia-page .gd .gchev { grid-column: 2; grid-row: 1 / span 2; width: 12px; height: 12px; border-right: 3px solid var(--teal); border-bottom: 3px solid var(--teal); transform: rotate(45deg); transition: transform .2s ease; margin-right: 6px; }
.guia-page .gd[open] .gchev { transform: rotate(-135deg); }
.guia-page .gd[open] summary { border-radius: var(--r) var(--r) 0 0; }
.guia-page .gd .gbody { display: grid; gap: 12px; padding: 16px; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 var(--r) var(--r); background: rgba(255, 255, 255, .55); }
.guia-page .gd-sec.band-blue { background: none; padding: 0; color: inherit; border-radius: 0; }
.guia-page .gd-sec.band-blue summary { background: var(--blue); border-color: var(--blue); color: var(--cream); }
.guia-page .gd-sec.band-blue summary:hover { background: #2c5870; }
.guia-page .gd-sec.band-blue summary h2 { color: var(--white); }
.guia-page .gd-sec.band-blue .gres { color: var(--cream); opacity: .9; }
.guia-page .gd-sec.band-blue .gchev { border-color: var(--cream); }
.guia-page .gd-sec.band-blue .gbody { background: var(--blue); border-color: var(--blue); color: var(--cream); }
.guia-page .gtodo { margin-top: 10px; }
.guia-page .gtodo .chip { background: transparent; color: var(--cream); border: 1px solid rgba(240, 228, 216, .6); }
.guia-page .gtodo .chip:hover { background: rgba(240, 228, 216, .15); }
.guia-page .gtodo .chip[aria-pressed="true"] { background: var(--cream); color: var(--teal); border-color: var(--cream); }
@media (prefers-reduced-motion: reduce) { .guia-page .gd .gchev, .guia-page .gd summary { transition: none; } }

/* =========================================================
   "AVISAME CUANDO HAYA ALGO ASÍ"
   ========================================================= */
.linkbtn { background: none; border: 0; padding: 4px 0; font: inherit; font-weight: 600; color: var(--teal); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; text-align: left; }
.linkbtn:hover { color: var(--orange); }
.linkbtn:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.faviso { margin: -2px 0 0; }
.dialog fieldset.zonas { border: 0; padding: 0; margin: 0 0 14px; min-inline-size: 0; }
.dialog fieldset.zonas legend { font-weight: 700; font-size: .9rem; padding: 0; margin-bottom: 6px; }
.dialog .zchips { display: flex; flex-wrap: wrap; gap: 8px; }
.dialog select { width: 100%; min-height: 44px; border: 1px solid var(--line); border-radius: 6px; padding: 0 10px; font: inherit; color: var(--teal); background: var(--white); }
.empty { display: grid; gap: 12px; justify-items: center; text-align: center; padding: 24px 0; }


/* =========================================================
   TANDA 1 · barra única, paleta y esquinas chicas
   ========================================================= */
h1, h2, h3 { letter-spacing: -0.02em; }
.card { border-color: transparent; box-shadow: 0 2px 10px rgba(0, 38, 44, .08); }

/* barra única (reemplaza la cinta verde, la barra naranja y la barra blanca) */
.top { background: var(--orange); }
.top-in { max-width: var(--maxw); margin: 0 auto; padding: 10px var(--pad); display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px 14px; align-items: center; }
.top-in .logo { grid-column: 1; grid-row: 1; }
.top-in .actions { grid-column: 3; grid-row: 1; display: flex; align-items: center; gap: 8px; justify-self: end; }
.top-in .search { grid-column: 1 / -1; grid-row: 2; max-width: none; justify-self: stretch; }
.mainnav { display: none; }
.menubtn { width: 44px; height: 44px; border: 0; border-radius: var(--r); background: rgba(255, 255, 255, .5); color: var(--black); display: grid; place-items: center; padding: 0; }
.menubtn svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.menubtn:hover { background: rgba(255, 255, 255, .75); }
.favlink { min-height: 44px; min-width: 44px; justify-content: center; border-radius: var(--r); background: rgba(255, 255, 255, .5); padding: 0 8px; }
.favlink:hover { background: rgba(255, 255, 255, .75); }
.wabtn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; min-width: 44px; border-radius: var(--r); background: var(--teal); color: #fff; font-weight: 600; text-decoration: none; white-space: nowrap; }
.wabtn:hover { background: #00606c; }
.wabtn svg { width: 22px; height: 22px; flex: none; }
.wabtn span { display: none; }
@media (min-width: 900px) {
  .top-in { grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px 22px; }
  .top-in .search { grid-column: 2; grid-row: 1; max-width: 560px; }
  .wabtn { padding: 0 18px; }
  .wabtn span { display: inline; }
}
@media (min-width: 1100px) {
  .top-in { grid-template-columns: auto minmax(220px, 1fr) auto auto; }
  .top-in .actions { grid-column: 4; }
  .mainnav { display: flex; grid-column: 3; grid-row: 1; align-items: center; gap: 2px; }
  .mainnav a, .mainnav button { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 12px; border: 0; border-radius: var(--r); background: none; color: var(--black); font-weight: 600; font-size: .95rem; text-decoration: none; white-space: nowrap; }
  .mainnav a:hover, .mainnav button:hover { background: rgba(255, 255, 255, .45); }
  .mainnav [aria-current="page"] { background: var(--white); }
  .mainnav svg { width: 16px; height: 16px; }
  .menubtn { display: none; }
}
.pop { min-width: 220px; max-width: calc(100vw - 16px); }
.pop .sep { border: 0; border-top: 1px solid var(--line); margin: 6px 4px; }
.pop .m-only { display: none; }
@media (max-width: 1099px) { .pop .m-only { display: flex; } }


/* =========================================================
   TANDA 2 · portada nueva: accesos, vendidas, reseñas
   ========================================================= */
.sec-gap { margin-top: 26px; }
#propiedades, #ofertas, #vendidas, #resenas { scroll-margin-top: 84px; }

/* tarjetas de acceso */
.accesos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.acc { display: flex; align-items: center; gap: 10px; min-height: 64px; padding: 10px 12px; background: var(--white); border: 0; border-radius: var(--r); box-shadow: 0 2px 10px rgba(0, 38, 44, .1); color: var(--teal); text-decoration: none; text-align: left; font: inherit; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease; }
.acc:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0, 38, 44, .16); }
.acc .ic { flex: none; width: 38px; height: 38px; padding: 8px; border-radius: var(--r); background: var(--orange); color: var(--black); display: block; }
.acc .ic svg { width: 100%; height: 100%; display: block; }
.acc .ic-heart svg { fill: none; stroke: currentColor; stroke-width: 2; }
.acc-t { display: grid; gap: 2px; min-width: 0; }
.acc-t b { font-size: .92rem; line-height: 1.2; }
.acc-t small { display: none; font-size: .8rem; opacity: .75; line-height: 1.3; }
@media (min-width: 900px) {
  .hero--acc { min-height: clamp(330px, 31vw, 390px); }
  .hero--acc .slide .copy { padding-bottom: 84px; }
  .hero--acc .hbar { bottom: 68px; justify-content: flex-end; padding: 0 24px; }
  .accesos { grid-template-columns: repeat(var(--n, 6), minmax(0, 1fr)); gap: 14px; margin-top: -78px; padding: 0 22px; position: relative; z-index: 3; }
  .acc { flex-direction: column; align-items: flex-start; justify-content: flex-start; min-height: 132px; padding: 18px; gap: 12px; box-shadow: 0 8px 24px rgba(0, 38, 44, .14); }
  .acc-t b { font-size: 1rem; }
  .acc-t small { display: block; }
}

/* últimas vendidas, sin fotos todavía */
.sold-soon { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 760px) { .sold-soon { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.sold-soon .sold-card { flex: none; width: auto; }
.sold-soon-t { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: 2px; padding: 34px 12px 12px; color: var(--white); }
.sold-soon-t b { font-family: var(--font-display); font-size: 1.1rem; }
.sold-soon-t span { font-size: .78rem; opacity: .9; }

/* reseñas de Google */
.resenas .rh { align-items: center; }
.rev { margin: 0; background: var(--white); border-radius: var(--r); box-shadow: 0 2px 10px rgba(0, 38, 44, .08); overflow: hidden; }
.rev img { width: 100%; height: auto; display: block; }
.rev-rail { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 6px; }
.rev-rail .rev { flex: 0 0 min(82vw, 340px); scroll-snap-align: start; }
.rev-soon { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
@media (min-width: 760px) { .rev-soon { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.rev-ghost { border: 1px dashed rgba(0, 72, 81, .3); background: transparent; box-shadow: none; min-height: 150px; display: grid; place-content: center; justify-items: center; text-align: center; gap: 4px; padding: 20px; }
.rev-ghost span { color: var(--orange); letter-spacing: 3px; }
.rev-ghost small { opacity: .75; max-width: 30ch; }


/* =========================================================
   TANDA 3 · filtros desplegables, grilla corta, oportunidades compactas
   ========================================================= */
/* filtros: en compu, una barra con casillas desplegables; en celular sigue el panel que sube desde abajo */
.fsum { display: none; }
.fdrop { display: block; }
@media (min-width: 900px) {
  .fbar { margin: 0 0 14px; }
  .fpanel { background: none; border: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
  .fgrid { display: contents; }
  .f { position: relative; }
  .fsum { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); color: var(--teal); font-weight: 600; font-size: .92rem; cursor: pointer; }
  .fsum svg { width: 14px; height: 14px; transition: transform .15s ease; }
  .f.open .fsum svg { transform: rotate(180deg); }
  .fsum:hover, .f.open .fsum { border-color: var(--teal); }
  .fsum.on { background: var(--teal); border-color: var(--teal); color: var(--cream); }
  .fdrop { display: none; position: absolute; z-index: 30; top: calc(100% + 6px); left: 0; min-width: 280px; background: var(--white); border-radius: var(--r); box-shadow: 0 12px 32px rgba(0, 38, 44, .22); padding: 14px; }
  .f.open .fdrop { display: block; }
  .f-zonas .fdrop { width: min(560px, calc(100vw - 48px)); }
  .fdrop .flab { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .ffoot { display: contents; }
  .ffoot .btn-primary, .ffoot .btn[disabled] { display: none; }
  .ffoot .btn-line { order: 1; }
  .faviso { order: 2; margin: 0 0 0 auto; }
}

/* oportunidades relámpago: más compactas */
.band { padding: 12px 14px 6px; }
.band .rh { margin-bottom: 6px; }
.band .rh h2 { font-size: 1.05rem; }
.rsub-d { margin: 0 0 8px; font-size: .84rem; }
.rsub-d summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 6px; opacity: .9; }
.rsub-d summary::-webkit-details-marker { display: none; }
.rsub-d summary::after { content: "▾"; }
.rsub-d[open] summary::after { content: "▴"; }
.rsub-d p { margin: 6px 0 0; max-width: 78ch; opacity: .9; }
.band .rail .card { flex: 0 0 min(52vw, 170px); }
.band .card .ph { aspect-ratio: 3 / 2; }
.band .card .body { padding: 8px 10px 10px; gap: 1px; }
.band .card .why { font-size: .66rem; padding: 2px 7px; margin-bottom: 3px; }
.band .card .price { font-size: 1.05rem; }
.band .card .ppm { font-size: .72rem; }
.band .card h3 { font-size: .8rem; }
.band .card .loc { display: none; }
.band .card .facts { font-size: .74rem; }


/* enlaces por zona en el pie */
.footer .fzonas { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 16px; font-size: .8rem; }
.footer .fzonas b { opacity: .7; font-weight: 600; }
.footer .fzonas ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 2px 16px; }
.footer .fzonas a { display: inline-block; padding: 6px 0; color: var(--cream); opacity: .85; text-decoration: none; }
.footer .fzonas a:hover { opacity: 1; text-decoration: underline; }


/* reseñas de Google como tarjetas de texto */
.rev-txt { padding: 16px; display: grid; gap: 10px; align-content: start; }
.rev-h { display: flex; align-items: center; gap: 10px; }
.rev-h b { display: block; font-size: .95rem; line-height: 1.2; }
.rev-h small { display: block; font-size: .75rem; opacity: .7; }
.rev-av { flex: none; width: 40px; height: 40px; border-radius: 6px; color: #fff; font-weight: 700; display: grid; place-items: center; }
.rev-st { color: #F5A800; letter-spacing: 2px; font-size: 1.05rem; line-height: 1; }
.rev-txt blockquote { margin: 0; font-size: .92rem; line-height: 1.5; }


/* vendidos: cartel rojo en diagonal sobre la foto */
.sold-card .sold-band { left: -25%; right: -25%; top: 50%; bottom: auto; transform: translateY(-50%) rotate(-16deg); background: #D32F2F; color: #fff; font-size: 1.25rem; font-weight: 700; letter-spacing: .2em; padding: 9px 0; border-top: 2px solid rgba(255, 255, 255, .6); border-bottom: 2px solid rgba(255, 255, 255, .6); box-shadow: 0 4px 14px rgba(0, 0, 0, .35); }
.sold-card img { filter: saturate(.9); }
.sold-soon-t { place-content: end center; padding: 12px; }

.acc[hidden] { display: none; }


/* =========================================================
   TANDA 8 · ficha de propiedad
   ========================================================= */
.clave div, .pills li { background: var(--bg); }
.rail { overflow-y: hidden; padding: 6px 4px 12px; }
.arow { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.arow .btn { min-height: 40px; padding: 0 10px; font-size: .86rem; gap: 6px; }
.arow .btn svg { width: 18px; height: 18px; }


/* =========================================================
   TANDA 9 · ficha: tarjeta de precio que entra en pantallas bajas
   ========================================================= */
.arow { grid-template-columns: 1.6fr 1fr; }
@media (min-width: 900px) {
  .buy { top: 88px; max-height: calc(100vh - 104px); overflow-y: auto; gap: 8px; padding: 14px; scrollbar-width: thin; }
  .buy h1 { font-size: 1.2rem; }
  .buy .price { font-size: 1.75rem; }
  .clave { gap: 6px; }
  .clave div { padding: 5px 10px; }
  .clave b { font-size: .98rem; }
  .clave span { font-size: .74rem; }
  .buy .actions { gap: 6px; }
  .buy .actions .btn { min-height: 44px; }
}


/* =========================================================
   TANDA 11 · compartir, impresión de la ficha, foco visible
   ========================================================= */
.arow { grid-template-columns: 1fr 1fr; }
.arow [data-aviso] { grid-column: 1 / -1; }

/* foco visible: el aro naranja no se veía sobre fondos naranjas */
.top :focus-visible { outline-color: var(--black); }
.btn-primary:focus-visible, .acc .ic:focus-visible { outline-color: var(--teal); outline-offset: 3px; }
.band :focus-visible, .footer :focus-visible, .meet :focus-visible { outline-color: var(--cream); }
a, button { -webkit-tap-highlight-color: rgba(232, 119, 34, .22); }
.btn:active, .acc:active { transform: translateY(1px); }

/* ficha para imprimir o guardar en PDF */
.print-only { display: none; }
@media print {
  @page { margin: 14mm; }
  body { background: #fff; color: #000; }
  .hdr, .mbar, .footer, .meet, .crumbs, .rail, .band, .snack, .fscrim, #overlay-root, .thumbs, .vnav, .vbtn, .counter, .gprog,
  .buy .actions, .map-chips, .map-frame, .adv, .tagline .badge, .rankline { display: none !important; }
  .print-only { display: grid !important; }
  .wrap { padding: 0; max-width: none; }
  .pdp { display: block; }
  .box { box-shadow: none; border: 0; padding: 0 0 10px; break-inside: avoid; }
  .buy { position: static; max-height: none; overflow: visible; }
  .gal { max-width: 100%; }
  a { color: inherit; text-decoration: none; }
  .pfoot { grid-template-columns: 96px 1fr; gap: 6px 14px; align-items: center; border-top: 2px solid #000; padding-top: 12px; margin-top: 16px; break-inside: avoid; font-size: 10pt; }
  .pfoot img { width: 96px; height: 96px; object-fit: cover; border-radius: 6px; }
  .pf-datos { display: grid; gap: 1px; }
  .pf-datos b { font-size: 13pt; }
  .pf-legal, .pf-url { grid-column: 1 / -1; margin: 0; font-size: 8.5pt; }
}

/* página "no encontrada" */
.nf { min-height: 62vh; place-items: center; align-content: center; }
.nf-card { background: var(--white); border-radius: var(--r); box-shadow: 0 2px 10px rgba(0, 38, 44, .08); padding: 28px 24px; width: min(100%, 480px); display: grid; gap: 8px; }
.nf-code { color: var(--orange); font-family: var(--font-display); font-size: 3.4rem; font-weight: 700; line-height: 1; }
.nf-card h1 { font-size: 1.5rem; margin: 0; }
.nf-card p { margin: 0; opacity: .85; }
.nf-btns { display: grid; gap: 8px; margin-top: 14px; }


/* =========================================================
   TANDA 15 · celular: letra legible, zonas táctiles, accesos y oportunidades
   ========================================================= */
/* letra: nada por debajo de 12 px (la base del sitio es 15 px) */
.badge, .kick, .slide .kick, .vhero .kick, .g-hero .kick, .meet-copy .kick, .rankline b, .cat small, .vtag, .tres .who, .tool .tag,
.card .why, .band .card .why, .band .card .ppm, .band .card .facts, .clave span, .card .loc, .card .facts { font-size: .8rem; }

/* zonas táctiles de unos 44 px */
.logo { display: inline-flex; align-items: center; min-height: 44px; }
.crumbs a { padding: 14px 3px; }
.footer .redes a { padding: 5px; }
.dots button { width: 34px; height: 44px; }
.dots button::before { top: 20px; left: 5px; right: 5px; }

@media (max-width: 899px) {
  .chip { min-height: 42px; }
  .acc-wide { grid-column: 1 / -1; }
  .related { flex-wrap: wrap; overflow: visible; margin-right: 0; padding-right: 0; }
}

/* oportunidades relámpago en celular: más chicas */
@media (max-width: 639px) {
  .band .rail .card { flex-basis: min(46vw, 160px); }
  .band .card .ph { aspect-ratio: 16 / 10; }
  .band .card .ppm, .band .card .facts { display: none; }
}

/* pop-up de oportunidades: chico, una sola fila deslizable */
.dialog-flash { width: min(100%, 520px); padding: 14px 14px 12px; }
.dialog-flash h2 { font-size: 1.05rem; margin-bottom: 6px; }
.dialog-flash .lede { display: none; }
.dialog-flash .flash { display: flex; overflow-x: auto; gap: 8px; padding-bottom: 2px; }
.dialog-flash .flash a { flex: 0 0 140px; }
.dialog-flash .flash .ph { aspect-ratio: 16 / 10; }
.dialog-flash .flash .b { padding: 6px 8px 8px; font-size: .8rem; }
.dialog-flash .flash .lab { font-size: .8rem; }
.dialog-flash .flash .price { font-size: 1rem; }
.dialog-flash .flash .b > span:last-child { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
