/* ═══════════════════════════════════════════════════════════
   landing.css — Sitio público del tenant
   Diseño aprobado. No modificar estructura visual.
   ═══════════════════════════════════════════════════════════ */

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

/* ══════════════════════════════════════
   TOKENS — LIGHT
══════════════════════════════════════ */
:root {
  --bg-0:      #ffffff;
  --bg-1:      #f4f4f5;
  --bg-2:      #e8e8ea;
  --border:    #dddde0;
  --text-hi:   #111113;
  --text-md:   #3a3a3f;
  --text-lo:   #72727a;
  --accent:    #111113;
  --accent-fg: #ffffff;
  --tag-bg:    #ebebed;
  --tag-text:  #4a4a52;
  --nav-bg:    rgba(255,255,255,0.92);
  --shadow:    0 2px 12px rgba(0,0,0,.07);
  --shadow-md: 0 8px 32px rgba(0,0,0,.09);
  --radius:    12px;
}

/* ══════════════════════════════════════
   TOKENS — DARK (negro + dorado)
══════════════════════════════════════ */
[data-theme="dark"] {
  --bg-0:      #0d0c0a;
  --bg-1:      #141210;
  --bg-2:      #1d1a16;
  --border:    #2a2620;
  --text-hi:   #f0e8d8;
  --text-md:   #c8bfb0;
  --text-lo:   #7a7060;
  --accent:    #c8a84a;
  --accent-fg: #0d0c0a;
  --tag-bg:    rgba(200,168,74,.12);
  --tag-text:  #c8a84a;
  --nav-bg:    rgba(13,12,10,0.92);
  --shadow:    0 2px 12px rgba(0,0,0,.4);
  --shadow-md: 0 8px 32px rgba(0,0,0,.5);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg-0);
  color: var(--text-md);
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.72;
  transition: background .3s, color .3s;
  overflow-x: hidden;
}

/* ══════════════════════════════════════
   NAV
══════════════════════════════════════ */
nav {
  position: fixed; top: 0; width: 100%; z-index: 200;
  background: var(--nav-bg);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background .3s, border-color .3s;
}
.nav-inner {
  max-width: 1160px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 2rem;
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem; font-weight: 400;
  color: var(--text-hi);
  letter-spacing: .03em;
  text-decoration: none;
  transition: color .3s;
}
.nav-logo em { font-style: italic; color: var(--accent); }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  color: var(--text-lo);
  text-decoration: none;
  font-size: .88rem; font-weight: 500;
  letter-spacing: .06em; text-transform: uppercase;
  transition: color .2s;
}
.nav-links a:hover { color: var(--text-hi); }
.nav-right { display: flex; align-items: center; gap: .8rem; }

/* Toggle modo oscuro */
.theme-toggle {
  width: 36px; height: 36px;
  background: transparent;
  border: 1.5px solid var(--border);
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-lo);
  transition: border-color .2s, color .2s, background .2s;
  flex-shrink: 0;
  padding: 0;
}
.theme-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--bg-1);
}

/* En modo claro: mostrá la luna (invitar a pasar a oscuro) */
.theme-toggle .icon-sun  { display: none; }
.theme-toggle .icon-moon { display: block; }

/* En modo oscuro: mostrá el sol (invitar a pasar a claro) */
[data-theme="dark"] .theme-toggle .icon-sun  { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

.btn-nav {
  background: var(--accent); color: var(--accent-fg);
  border: none; padding: .52rem 1.3rem;
  border-radius: 999px;
  font-family: 'Lato', sans-serif;
  font-weight: 600; font-size: .9rem;
  letter-spacing: .05em; text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: opacity .2s, transform .2s;
}
.btn-nav:hover { opacity: .85; transform: scale(1.02); }

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
#hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 8rem 2rem 5rem;
  max-width: 1160px; margin: 0 auto;
}
.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 6rem; align-items: center; width: 100%;
}
.hero-label {
  display: inline-block;
  font-size: .72rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--text-lo);
  margin-bottom: 1.2rem;
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 4.5vw, 4.6rem);
  font-weight: 400; line-height: 1.1;
  color: var(--text-hi);
  margin-bottom: 1.4rem;
  transition: color .3s;
}
.hero-title em { font-style: italic; }
.hero-sub {
  font-size: 1.1rem; font-weight: 300;
  color: var(--text-lo); line-height: 1.75;
  max-width: 42ch; margin-bottom: 2.4rem;
}
.hero-btns { display: flex; gap: .9rem; flex-wrap: wrap; }

.btn-primary {
  background: var(--accent); color: var(--accent-fg);
  border: none; padding: .85rem 2rem;
  border-radius: 999px; font-family: 'Lato', sans-serif;
  font-weight: 600; font-size: .9rem; cursor: pointer;
  text-decoration: none; display: inline-block;
  transition: opacity .2s, transform .2s;
}
.btn-primary:hover { opacity: .85; transform: translateY(-1px); }

.btn-ghost {
  background: transparent; color: var(--text-md);
  border: 1.5px solid var(--border);
  padding: .85rem 2rem; border-radius: 999px;
  font-family: 'Lato', sans-serif;
  font-weight: 500; font-size: .9rem; cursor: pointer;
  text-decoration: none; display: inline-block;
  transition: border-color .2s, color .2s;
}
.btn-ghost:hover { border-color: var(--text-lo); color: var(--text-hi); }

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-logo-img {
  max-width: 100%;
  max-height: 420px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}


/* ══════════════════════════════════════
   SECCIONES — estructura general
══════════════════════════════════════ */
.section-wrap { padding: 6rem 2rem; transition: background .3s; }
.section-wrap.alt { background: var(--bg-1); }
.section-inner { max-width: 1160px; margin: 0 auto; }
.section-head { margin-bottom: 3rem; }
.section-eyebrow {
  font-size: .72rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent); display: block; margin-bottom: .6rem;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  font-weight: 400; color: var(--text-hi);
  line-height: 1.2; margin-bottom: .7rem;
  transition: color .3s;
}
.section-desc {
  font-size: 1rem; color: var(--text-lo);
  max-width: 54ch; line-height: 1.7;
}

/* ══════════════════════════════════════
   SERVICIOS
══════════════════════════════════════ */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.2rem;
}
.card {
  background: var(--bg-0);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .25s, box-shadow .25s, border-color .25s, background .3s;
  cursor: pointer;
}
.section-wrap.alt .card { background: var(--bg-0); }
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}
.card-icon {
  aspect-ratio: 1 / 1;
  background: var(--bg-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  transition: background .3s, border-color .3s;
}

.card-icon img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 1.3rem 1.4rem; }
.card-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem; font-weight: 400;
  color: var(--text-hi); margin-bottom: .4rem;
  transition: color .3s;
}
.card-body p {
  font-size: .9rem; color: var(--text-lo);
  line-height: 1.65; margin-bottom: 1.1rem;
}
.card-foot { display: flex; justify-content: space-between; align-items: center; }
.card-time {
  font-size: .74rem; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--text-lo);
}
.btn-sm {
  background: var(--accent); color: var(--accent-fg);
  border: none; padding: .38rem .95rem;
  border-radius: 999px; font-size: .76rem;
  font-weight: 600; font-family: 'Lato', sans-serif;
  cursor: pointer; text-decoration: none; display: inline-block;
  transition: opacity .2s;
}
.btn-sm:hover { opacity: .8; }

/* ══════════════════════════════════════
   PROFESIONALES
══════════════════════════════════════ */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1.5rem;
}
.prof-card {
  background: var(--bg-0);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform .25s, box-shadow .25s, background .3s, border-color .25s;
}
.prof-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}
.prof-avatar {
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--bg-2);
  border: 2px solid var(--border);
  margin: 0 auto 1rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  overflow: hidden;
  transition: background .3s, border-color .3s;
}
.prof-avatar img { width: 100%; height: 100%; object-fit: cover; }
.prof-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem; font-weight: 400;
  color: var(--text-hi); margin-bottom: .25rem;
  transition: color .3s;
}
.prof-role {
  font-size: .74rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent); margin-bottom: .7rem;
  display: block;
}
.prof-bio {
  font-size: .88rem; color: var(--text-lo);
  line-height: 1.6; margin-bottom: 1rem;
}
.tags { display: flex; flex-wrap: wrap; gap: .35rem; justify-content: center; }
.tag {
  background: var(--tag-bg); color: var(--tag-text);
  border-radius: 999px; padding: .2rem .7rem;
  font-size: .7rem; font-weight: 500;
  transition: background .3s, color .3s;
}

/* ══════════════════════════════════════
   TIENDA / PRODUCTOS
══════════════════════════════════════ */
.tienda-header {
  display: flex; justify-content: space-between;
  align-items: flex-start; flex-wrap: wrap;
  gap: 1.5rem; margin-bottom: 3rem;
}
.wsp-chip {
  display: inline-flex; align-items: center; gap: .5rem;
  background: #f0faf4; border: 1.5px solid #b6e4c8;
  border-radius: var(--radius); padding: .75rem 1.1rem;
  font-size: .88rem; font-weight: 500; color: #1e7a43;
  white-space: nowrap;
}
[data-theme="dark"] .wsp-chip {
  background: rgba(30,122,67,.15);
  border-color: rgba(74,222,128,.2); color: #4ade80;
}
.grid-prod {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.2rem;
}
.prod-card {
  background: var(--bg-0);
  border: 1.5px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: transform .25s, box-shadow .25s, border-color .25s, background .3s;
}
.prod-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}
.prod-img {
  height: 136px; background: var(--bg-2);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.2rem; border-bottom: 1px solid var(--border);
  overflow: hidden;
  transition: background .3s, border-color .3s;
}
.prod-img img { width: 100%; height: 100%; object-fit: cover; }
.prod-body { padding: 1.1rem 1.2rem; }
.prod-body h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem; font-weight: 400;
  color: var(--text-hi); margin-bottom: .3rem;
  transition: color .3s;
}
.prod-body p { font-size: .86rem; color: var(--text-lo); line-height: 1.6; margin-bottom: .9rem; }
.prod-foot { display: flex; justify-content: space-between; align-items: center; }
.precio { font-size: 1rem; font-weight: 600; color: var(--text-hi); transition: color .3s; }
.btn-wsp {
  display: flex; align-items: center; gap: .3rem;
  background: #22c55e; color: #fff; border: none;
  padding: .36rem .85rem; border-radius: 999px;
  font-size: .73rem; font-weight: 600;
  font-family: 'Lato', sans-serif; cursor: pointer;
  text-decoration: none;
  transition: background .2s;
}
.btn-wsp:hover { background: #16a34a; }

/* ══════════════════════════════════════
   ANUNCIOS
══════════════════════════════════════ */
.anuncios-list { display: flex; flex-direction: column; gap: 1rem; }
.anuncio {
  background: var(--bg-0);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem 2rem;
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 1.8rem; align-items: center;
  transition: border-color .25s, transform .25s, box-shadow .25s, background .3s;
}
.anuncio:hover {
  border-color: var(--accent);
  transform: translateX(4px);
  box-shadow: var(--shadow);
}
.anuncio-date {
  text-align: center;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 10px; padding: .6rem;
  transition: background .3s, border-color .3s;
}
.anuncio-date .day {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem; font-weight: 400;
  color: var(--text-hi); line-height: 1;
  transition: color .3s;
}
.anuncio-date .month {
  font-size: .65rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-lo); margin-top: .15rem;
}
.anuncio-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem; font-weight: 400;
  color: var(--text-hi); margin-bottom: .35rem;
  transition: color .3s;
}
.anuncio-info p { font-size: .9rem; color: var(--text-lo); line-height: 1.65; }

.badge {
  border-radius: 999px; padding: .28rem .8rem;
  font-size: .7rem; font-weight: 600;
  letter-spacing: .05em; text-transform: uppercase;
  white-space: nowrap; border: 1.5px solid;
}
.badge-taller  { background: #f3f0ff; color: #6c47c9; border-color: #d4c8f5; }
.badge-curso   { background: #eff6ff; color: #2563eb; border-color: #bfdbfe; }
.badge-promo   { background: #fff7ed; color: #c2410c; border-color: #fed7aa; }
.badge-novedad { background: #f0fdf4; color: #166534; border-color: #bbf7d0; }
[data-theme="dark"] .badge-taller  { background: rgba(108,71,201,.15); color: #a78bfa; border-color: rgba(167,139,250,.3); }
[data-theme="dark"] .badge-curso   { background: rgba(37,99,235,.15);  color: #60a5fa; border-color: rgba(96,165,250,.3); }
[data-theme="dark"] .badge-promo   { background: rgba(194,65,12,.15);  color: #fb923c; border-color: rgba(251,146,60,.3); }
[data-theme="dark"] .badge-novedad { background: rgba(22,101,52,.15);  color: #4ade80; border-color: rgba(74,222,128,.3); }

/* ══════════════════════════════════════
   CTA FINAL
══════════════════════════════════════ */
.cta-section {
  background: var(--accent);
  padding: 6rem 2rem;
  text-align: center;
  transition: background .3s;
}
.cta-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 400; color: var(--accent-fg);
  margin-bottom: .8rem;
}
.cta-section p {
  font-size: 1rem; color: var(--accent-fg);
  opacity: .75; max-width: 46ch;
  margin: 0 auto 2rem; line-height: 1.7;
}
.btn-cta {
  background: var(--accent-fg); color: var(--accent);
  border: none; padding: .95rem 2.6rem;
  border-radius: 999px; font-family: 'Lato', sans-serif;
  font-weight: 700; font-size: 1rem; cursor: pointer;
  text-decoration: none; display: inline-block;
  transition: opacity .2s, transform .2s;
}
.btn-cta:hover { opacity: .9; transform: translateY(-2px); }

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
footer {
  background: var(--bg-1);
  border-top: 1.5px solid var(--border);
  padding: 2rem;
  transition: background .3s, border-color .3s;
}
.footer-inner {
  max-width: 1160px; margin: 0 auto;
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 1rem;
}
.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem; font-weight: 400;
  color: var(--text-hi); transition: color .3s;
  text-decoration: none;
}
.footer-logo em { font-style: italic; color: var(--accent); }
footer p { font-size: .9rem; color: var(--text-lo); }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a {
  font-size: .9rem; color: var(--text-lo);
  text-decoration: none; transition: color .2s;
}
.footer-links a:hover { color: var(--text-hi); }

/* ══════════════════════════════════════
   FADE-IN AL SCROLL
══════════════════════════════════════ */
.fade { opacity: 0; transform: translateY(20px); transition: opacity .55s ease, transform .55s ease; }
.fade.in { opacity: 1; transform: none; }

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 820px) {
  .hero-inner {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    gap: 2rem;
  }
  .hero-visual {
    order: -1; /* logo arriba en mobile */
    display: flex;
  }
  .hero-logo-img {
    max-height: 220px;
  }
  .hero-btns { flex-direction: column; }
  .nav-links { display: none; }
  .anuncio { grid-template-columns: 48px 1fr; }
  .anuncio .badge-anuncio { display: none; }
  .tienda-header { flex-direction: column; }
}


/* ══════════════════════════════════════
   BOTÓN FLOTANTE WHATSAPP
══════════════════════════════════════ */
.wsp-flotante {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 56px;
  height: 56px;
  background: #22c55e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(34,197,94,.4);
  z-index: 999;
  transition: transform .2s, box-shadow .2s;
  text-decoration: none;
}

.wsp-flotante:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(34,197,94,.5);
}


.staff-link {
  font-size: 12px;
  color: var(--text-lo);
  text-decoration: none;
  padding: .25rem .6rem;
  border: 0.5px solid var(--border);
  border-radius: 4px;
  opacity: .6;
  transition: opacity .2s;
}
.staff-link:hover { opacity: 1; }


/* ══════════════════════════════════════
   MAPA
══════════════════════════════════════ */
.mapa-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1.5px solid var(--border);
}

.mapa-iframe {
  width: 100%;
  height: 320px;
  border: none;
  display: block;
}

.mapa-footer {
  padding: 1rem 1.5rem;
  background: var(--bg-0);
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: center;
  transition: background .3s, border-color .3s;
}


/* ══════════════════════════════════════════════════════════════════════
   GALERÍA — Carrusel infinito marquee
   ══════════════════════════════════════════════════════════════════════ */

.galeria-marquee {
  overflow: hidden;
  width: 100%;
  padding: 1.5rem 0 2.5rem;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
}

.galeria-marquee__track {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: galeriaScroll var(--galeria-duration, 40s) linear infinite;
  will-change: transform;
}

.galeria-marquee:hover .galeria-marquee__track {
  animation-play-state: paused;
}

.galeria-marquee__slide {
  flex-shrink: 0;
  width: 260px;
  height: 320px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-1);
}

.galeria-marquee__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s cubic-bezier(.4,0,.2,1);
}

.galeria-marquee__slide:hover img {
  transform: scale(1.06);
}

@media (min-width: 640px) {
  .galeria-marquee__slide {
    width: 300px;
    height: 370px;
  }
}

@media (min-width: 1024px) {
  .galeria-marquee__slide {
    width: 340px;
    height: 420px;
  }
}

@keyframes galeriaScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .galeria-marquee__track {
    animation: none;
  }
}


/* ══════════════════════════════════════════════════════════════════════
   ANUNCIOS — Grid de cards
   ══════════════════════════════════════════════════════════════════════ */

.anuncios-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
}

@media (min-width: 640px) {
  .anuncios-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .anuncios-grid { grid-template-columns: repeat(3, 1fr); }
}

.anuncio-card {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease;
}

.anuncio-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.anuncio-card:active {
  transform: translateY(-1px);
}

.anuncio-card__img {
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--bg-2);
}

.anuncio-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}

.anuncio-card:hover .anuncio-card__img img {
  transform: scale(1.04);
}

.anuncio-card__body {
  padding: 1.2rem 1.3rem 1.4rem;
}

.anuncio-card__titulo {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-hi);
  margin-bottom: .45rem;
  line-height: 1.35;
}

.anuncio-card__desc {
  font-size: .92rem;
  color: var(--text-md);
  line-height: 1.6;
  margin-bottom: .7rem;
}

.anuncio-card__fecha {
  display: inline-block;
  font-size: .82rem;
  color: var(--text-lo);
  margin-bottom: .5rem;
}

.anuncio-card__ver {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--accent);
  margin-top: .3rem;
  transition: letter-spacing .2s;
}

.anuncio-card:hover .anuncio-card__ver {
  letter-spacing: .04em;
}


/* ══════════════════════════════════════════════════════════════════════
   MODAL DETALLE — bottom sheet mobile / centrado desktop
   ══════════════════════════════════════════════════════════════════════ */

.anuncio-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s;
}

.anuncio-modal-overlay.activo {
  opacity: 1;
  visibility: visible;
}

.anuncio-modal {
  background: var(--bg-0);
  width: 100%;
  max-width: 560px;
  max-height: 85vh;
  border-radius: 20px 20px 0 0;
  overflow-y: auto;
  transform: translateY(100%);
  transition: transform .35s cubic-bezier(.32,.72,0,1);
  -webkit-overflow-scrolling: touch;
}

.anuncio-modal-overlay.activo .anuncio-modal {
  transform: translateY(0);
}

@media (min-width: 640px) {
  .anuncio-modal-overlay {
    align-items: center;
  }
  .anuncio-modal {
    border-radius: var(--radius);
    max-height: 80vh;
    transform: translateY(40px) scale(.96);
    opacity: 0;
  }
  .anuncio-modal-overlay.activo .anuncio-modal {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.anuncio-modal__handle {
  width: 40px;
  height: 4px;
  background: var(--border);
  border-radius: 4px;
  margin: 12px auto 0;
}

@media (min-width: 640px) {
  .anuncio-modal__handle { display: none; }
}

.anuncio-modal__img {
  width: 100%;
  max-height: 300px;
  overflow: hidden;
  display: none;
}

.anuncio-modal__img.visible {
  display: block;
}

.anuncio-modal__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.anuncio-modal__content {
  padding: 1.4rem 1.6rem 2rem;
}

.anuncio-modal__content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-hi);
  margin-bottom: .5rem;
  line-height: 1.35;
}

.anuncio-modal__fecha {
  display: inline-block;
  font-size: .84rem;
  color: var(--text-lo);
  margin-bottom: .8rem;
}

.anuncio-modal__content p {
  font-size: .95rem;
  color: var(--text-md);
  line-height: 1.72;
  white-space: pre-line;
}


/* ══════════════════════════════════════════════════════════════════════
   MODAL DESTACADO — propaganda al ingresar
   ══════════════════════════════════════════════════════════════════════ */

.destacado-overlay {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(0,0,0,.6);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s, visibility .35s;
}

.destacado-overlay.activo {
  opacity: 1;
  visibility: visible;
}

.destacado-modal {
  background: var(--bg-0);
  width: 100%;
  max-width: 420px;
  border-radius: 20px;
  overflow: hidden;
  transform: scale(.9) translateY(20px);
  transition: transform .4s cubic-bezier(.32,.72,0,1);
  box-shadow: 0 24px 80px rgba(0,0,0,.25);
}

.destacado-overlay.activo .destacado-modal {
  transform: scale(1) translateY(0);
}

.destacado-modal__handle {
  width: 40px;
  height: 4px;
  background: var(--border);
  border-radius: 4px;
  margin: 12px auto 0;
}

@media (min-width: 640px) {
  .destacado-modal__handle { display: none; }
}

.destacado-modal__img {
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.destacado-modal__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.destacado-modal__body {
  padding: 1.3rem 1.5rem 1.8rem;
}

.destacado-modal__badge {
  display: inline-block;
  background: var(--tag-bg);
  color: var(--tag-text);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: .3rem .7rem;
  border-radius: 6px;
  margin-bottom: .7rem;
}

.destacado-modal__body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-hi);
  margin-bottom: .5rem;
  line-height: 1.35;
}

.destacado-modal__body p {
  font-size: .93rem;
  color: var(--text-md);
  line-height: 1.65;
  margin-bottom: .6rem;
}

.destacado-modal__fecha {
  display: inline-block;
  font-size: .84rem;
  color: var(--text-lo);
}