/* Sexmetasex — plantilla alargado (build local) */
:root {
  --pink: #F8059F;
  --magenta: #F8059F;
  --mint: #A7F891;
  --green: #0a0a0a;
  --red: #9e0101;
  --ink: #f2f2f2;
  --lime: #A7F891;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Libre Baskerville", Georgia, serif;
  background: #0a0a0a;
  color: #f0f0f0;
}
a { color: var(--pink); }
.site-header {
  position: relative;
  z-index: 2;
  background: #000;
  color: #fff;
  padding: 10px 18px 12px;
  border-top: 3px solid var(--magenta);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 10px 18px;
}
.site-header a { color: #fff; text-decoration: none; }
.site-header nav { align-self: center; }
.site-header .brand-block {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  gap: 6px;
}
.site-header .brand {
  display: inline-flex;
  align-items: center;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 1.35rem;
  letter-spacing: 0.01em;
  line-height: 1;
}
.site-header .brand img {
  height: 28px;
  width: auto;
  display: block;
}
.site-header .nav-home {
  display: inline-block;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--mint);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}
.site-header .nav-home:hover { color: #fff; filter: brightness(1.08); }
.sms-home-under-search {
  display: none;
  text-align: center;
  padding: 0 12px 10px;
  background: #0a0a0a;
  border-bottom: 1px solid #222;
  font-family: "DM Sans", system-ui, sans-serif;
}
.sms-home-under-search a {
  color: #ddd;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
}
.sms-home-under-search a:hover { color: var(--mint); }
.site-header .brand .wm-s,
.site-header .brand .wm-m,
.site-header .brand .wm-x { color: var(--mint); }
.site-header .brand .wm-rest { color: var(--magenta); }
.site-header nav {
  margin-left: auto;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 0.88rem;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
}
.site-header nav a { opacity: 0.92; }
.site-header nav a:hover { color: var(--mint); }
.badge-build {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(248, 5, 159, 0.18);
  color: var(--mint);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-family: "DM Sans", system-ui, sans-serif;
}
.hero-portada {
  position: relative;
  min-height: min(68vh, 600px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #000;
  isolation: isolate;
}
.hero-portada .hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center; /* fondo ya es horizontal 16:9 */
  z-index: 0;
  filter: contrast(1.05) saturate(1.1);
}
.hero-portada::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 75% 70% at 50% 42%, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.45) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.25) 0%, transparent 30%, transparent 55%, rgba(0,0,0,0.75) 100%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px 22px 36px;
  width: min(920px, 94vw);
}
.hero-wordmark {
  margin: 0 auto 14px;
  line-height: 0;
}
.hero-wordmark img {
  width: min(860px, 94vw);
  height: auto;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 2px 18px rgba(0,0,0,0.55));
}
/* Jerarquía: wordmark > tag (más grande) > sub (más pequeño) — sin copiar Ciro */
.hero-tag {
  margin: 0 0 10px;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: clamp(1.55rem, 3.8vw, 2.35rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--mint);
  text-transform: uppercase;
  line-height: 1.2;
}
.hero-sub {
  margin: 0 auto;
  max-width: 28em;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: clamp(0.88rem, 1.7vw, 1.05rem);
  line-height: 1.5;
  color: var(--mint);
  opacity: 0.92;
}
.hero-links {
  margin-top: 18px;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 0.9rem;
}
.hero-links a {
  color: #fff;
  margin: 0 8px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.hero-links a:hover { color: var(--mint); }
.home-main {
  background: #0d0d0d;
  padding: 18px 20px 32px;
  margin: 0;
}
.site-footer {
  margin-top: 28px;
  padding: 18px 16px 22px;
  background: #000;
  color: #f5e6ee;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 0.85rem;
  text-align: center;
  border-top: 1px solid rgba(248, 5, 159, 0.35);
}
.site-footer a { color: var(--mint); }
.site-footer .disclaimer { color: var(--magenta); font-size: 0.78rem; margin-top: 8px; }
.site-footer p { margin: 0 0 6px; }
.site-footer p:last-child { margin-bottom: 0; }
.nav-dropdown { position: relative; }
.nav-drop-btn {
  background: none; border: none; color: #fff; font: inherit; cursor: pointer;
  padding: 0; opacity: 0.92;
}
.nav-drop-btn:hover { color: var(--mint); }
.nav-drop-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 220px;
  max-height: min(70vh, 420px);
  overflow: auto;
  background: #111;
  border: 1px solid rgba(248, 5, 159, 0.45);
  border-radius: 6px;
  padding: 8px 0;
  z-index: 40;
  box-shadow: 0 12px 28px rgba(0,0,0,0.55);
}
.nav-dropdown:hover .nav-drop-menu,
.nav-dropdown:focus-within .nav-drop-menu { display: block; }
.nav-drop-menu a {
  display: block;
  padding: 8px 14px;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  font-size: 0.88rem;
}
.nav-drop-menu a:hover { background: rgba(248, 5, 159, 0.2); color: var(--mint); }
.container { max-width: 1180px; margin: 0 auto; padding: 20px 22px; }
.home-main.container {
  padding-top: 10px;
  padding-bottom: 36px;
}
.home-main h2#anuncios {
  margin: 0 0 22px;
  padding: 0;
  line-height: 1.2;
}
.home-main .card-grid { margin-top: 0; }
/* Ficha: color por renglón (sobrio). Home: loc verde / nombre magenta (aparte). */
h1, h2, h3 { text-align: center; margin: 10px 0; }
h1 { font-size: 2.2em; text-decoration: underline; text-decoration-thickness: 2px; color: var(--mint); }
h2 { font-size: 1.45em; color: var(--magenta); }
h3 { font-size: 1.2em; text-decoration: underline; text-decoration-thickness: 1.5px; color: var(--mint); }
.meta {
  text-align: center; margin-bottom: 15px; font-size: 1.02em;
  font-family: "DM Sans", system-ui, sans-serif; color: #c8c8c8; line-height: 1.55;
}
.contact-icons {
  display: flex; justify-content: center; gap: 28px; margin: 20px 0; flex-wrap: wrap;
  font-family: "DM Sans", system-ui, sans-serif;
}
.contact-icons a { text-decoration: none; color: var(--mint); font-size: 1.05em; text-align: center; }
.contact-icons img,
.contact-icons svg {
  width: 40px !important; height: 40px !important; max-width: 40px !important; max-height: 40px !important;
  display: block; margin: 0 auto 6px; object-fit: contain;
}
.sms-search-wrap {
  background: #0a0a0a;
  border-bottom: 1px solid #222;
  padding: 12px 14px;
  font-family: "DM Sans", system-ui, sans-serif;
}
.sms-search {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1.2fr 1.2fr 1fr 1.3fr auto;
  gap: 8px;
  align-items: stretch;
}
.sms-search select,
.sms-search input {
  width: 100%;
  min-width: 0;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #333;
  background: #141414;
  color: #eee;
  font: inherit;
  font-size: 0.88rem;
}
.sms-search select:disabled { opacity: 0.55; }
.sms-search button {
  border: 0; border-radius: 8px; padding: 10px 18px;
  background: var(--magenta); color: #fff; font-weight: 700; cursor: pointer; font: inherit; font-size: 0.9rem;
  white-space: nowrap;
}
.sms-search button:hover { filter: brightness(1.08); }
.sms-search-empty { text-align: center; color: #999; font-family: "DM Sans", system-ui, sans-serif; margin: 16px 0; }
.myads-shell { max-width: 720px; }
.myads-toolbar { margin-bottom: 18px; }
.myads-search-label { display:block; font-size:0.85rem; color:#bbb; margin-bottom:6px; }
.myads-search {
  width:100%; padding:12px 14px; border-radius:8px; border:1px solid #333; background:#111; color:#eee; font:inherit;
}
.myads-meta { margin:10px 0 0; font-size:0.88rem; color:#888; }
.myads-list { display:flex; flex-direction:column; gap:12px; margin-top:16px; }
.myads-card {
  display:flex; flex-wrap:wrap; gap:12px; justify-content:space-between; align-items:flex-start;
  padding:14px 16px; border:1px solid #2a2a2a; border-radius:10px; background:#101010;
}
.myads-photo {
  flex:0 0 72px; width:72px; height:96px; border-radius:8px; overflow:hidden;
  background:#1a1a1a; border:1px solid #333; display:block; text-decoration:none;
}
.myads-photo img, .myads-photo-img {
  width:100%; height:100%; object-fit:cover; display:block;
  background-size:cover; background-position:center top;
}
.myads-photo-empty { background:linear-gradient(160deg,#222,#111); }
.myads-card-body { flex:1 1 180px; min-width:0; display:flex; gap:12px; align-items:flex-start; }
.myads-card-main { flex:1 1 auto; min-width:0; }
.myads-name { margin:0 0 4px; font-size:1.05rem; color:var(--mint); text-decoration:none; }
.myads-loc, .myads-status { margin:0; font-size:0.88rem; color:#aaa; line-height:1.4; }
.myads-status .ok { color:var(--mint); }
.myads-status .off { color:#f59e0b; }
.myads-actions { display:flex; flex-wrap:wrap; gap:8px; }
.myads-actions .btn-line, .myads-actions .btn-danger {
  display:inline-block; padding:8px 12px; border-radius:8px; border:1px solid #444; background:#181818;
  color:#eee; text-decoration:none; font:inherit; font-size:0.85rem; cursor:pointer;
}
.myads-actions .btn-danger { border-color:#7f1d1d; color:#fecaca; background:#1a0a0a; }
.myads-empty { text-align:center; color:#999; padding:24px 8px; }
.myads-empty a { color:var(--mint); }
.ad-id {
  text-align: center; margin: 8px 0 0; font-family: "DM Sans", system-ui, sans-serif;
  font-size: 0.92rem; color: #9a9a9a; letter-spacing: 0.02em;
}
.ad-id strong { color: var(--mint); font-weight: 700; }
.owner-bar {
  display: none;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  align-items: center;
  margin: 0 0 16px;
  padding: 12px 14px;
  border: 1px solid rgba(167, 248, 145, 0.35);
  border-radius: 10px;
  background: rgba(167, 248, 145, 0.08);
  font-family: "DM Sans", system-ui, sans-serif;
}
.owner-bar.is-on { display: flex; }
.owner-bar .owner-label {
  width: 100%;
  text-align: center;
  font-size: 0.78rem;
  color: #9f9f9f;
  margin: 0 0 2px;
}
.owner-bar .owner-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  padding: 12px 18px;
  border-radius: 8px;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: 0;
}
.owner-bar .owner-edit {
  background: var(--magenta);
  color: #fff;
}
.owner-bar .owner-edit:hover { filter: brightness(1.08); color: #fff; }
.owner-bar .owner-del {
  background: #1a0a0a;
  color: #fecaca;
  border: 1px solid #7f1d1d;
}
.owner-bar .owner-del:hover { background: #2a1010; }
.form-shell {
  max-width: 440px; margin: 0 auto; padding: 20px 18px 40px;
  font-family: "DM Sans", system-ui, sans-serif; text-align: left;
}
.form-shell h1 {
  text-align: center; text-decoration: none; font-size: 1.55rem; color: var(--mint);
  margin: 0 0 10px; line-height: 1.25;
}
.form-shell .sub, .form-shell .form-note {
  color: #b0b0b0; line-height: 1.5; font-size: 0.95rem; margin: 0 0 14px; text-align: center;
}
.form-shell .form-note { margin-top: 18px; }
.form-shell .field { margin: 14px 0; }
.form-shell label { display: block; font-size: 0.85rem; color: #bbb; margin-bottom: 6px; }
.form-shell input[type="text"], .form-shell input[type="email"], .form-shell input[type="password"] {
  width: 100%; padding: 12px 14px; border-radius: 8px; border: 1px solid #333; background: #111; color: #eee; font: inherit;
}
.form-shell .pass-field {
  position: relative;
  display: block;
}
.form-shell .pass-field input {
  width: 100%;
  padding-right: 46px;
  box-sizing: border-box;
}
.form-shell .pass-toggle {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #aaa;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.form-shell .pass-toggle:hover { color: var(--mint); background: rgba(255,255,255,0.06); }
.form-shell .pass-toggle svg { width: 20px; height: 20px; display: block; pointer-events: none; }
.form-shell .pass-toggle[aria-pressed="true"] { color: var(--mint); }
.form-shell .btn, .form-shell button[type="submit"] {
  display: block; width: 100%; margin-top: 16px; padding: 14px 18px; border: 0; border-radius: 8px;
  background: var(--magenta); color: #fff; font-weight: 700; cursor: pointer; font: inherit;
  text-decoration: none; text-align: center; box-sizing: border-box;
}
.form-shell .btn-secondary {
  display: block; width: 100%; margin-top: 12px; padding: 12px 18px; border-radius: 8px;
  border: 1px solid rgba(167,248,145,0.35); background: transparent; color: var(--mint);
  font-weight: 700; text-decoration: none; text-align: center; box-sizing: border-box;
}
.reg-legal { margin-top: 16px; display: grid; gap: 12px; }
.reg-legal-check { display: flex; gap: 10px; align-items: flex-start; color: #ccc; font-size: 0.88rem; line-height: 1.45; }
.reg-legal-check input { margin-top: 3px; flex-shrink: 0; }
.reg-email-hint {
  background: #141414; border: 1px solid #2a2a2a; border-radius: 8px;
  padding: 12px 14px; color: #bbb; font-size: 0.9rem; line-height: 1.45; margin: 0 0 16px; text-align: left;
}
.reg-email-hint p { margin: 0 0 6px; }
.reg-email-hint p:last-child { margin-bottom: 0; }
.toast { margin-top: 14px; color: var(--mint); font-size: 0.9rem; text-align: center; }
.page-publish {
  max-width: 440px; margin: 0 auto; padding: 20px 18px 40px;
  font-family: "DM Sans", system-ui, sans-serif; text-align: center;
}
.page-publish h1 {
  text-decoration: none; font-size: 1.55rem; color: var(--mint); margin: 0 0 12px; line-height: 1.25;
}
.page-publish .lead {
  margin: 0 0 16px; font-size: 0.98rem; line-height: 1.55; color: #c8c8c8; text-align: center;
}
.page-publish .steps {
  text-align: left; margin: 0 0 20px; padding: 14px 16px; background: #141414;
  border: 1px solid #2a2a2a; border-radius: 10px; color: #ccc; font-size: 0.92rem; line-height: 1.55;
}
.page-publish .steps ol { margin: 8px 0 0; padding-left: 1.2rem; }
.page-publish .steps li { margin: 0 0 8px; }
.page-publish .steps li:last-child { margin-bottom: 0; }
.page-publish .cta-stack { display: grid; gap: 12px; margin: 20px 0 18px; }
.page-publish .cta-stack .btn,
.page-publish .cta-stack .btn-secondary {
  display: block; width: 100%; padding: 14px 16px; border-radius: 8px; font-weight: 700;
  text-decoration: none; box-sizing: border-box; font-family: inherit;
}
.page-publish .cta-stack .btn { background: var(--magenta); color: #fff; border: 0; }
.page-publish .cta-stack .btn-secondary {
  background: transparent; color: var(--mint); border: 1px solid rgba(167,248,145,0.4);
}
.page-publish .mail-line {
  margin: 0 0 16px; font-size: 0.9rem; line-height: 1.45; color: #9a9a9a;
}
.page-publish .back-home { font-size: 0.9rem; }
[data-check-email] {
  position: fixed; inset: 0; z-index: 80; display: flex; align-items: center; justify-content: center;
  padding: 16px;
}
[data-check-email][hidden] { display: none !important; }
.sms-mail-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.72); }
.sms-mail-card {
  position: relative; z-index: 1; max-width: 420px; width: 100%; background: #141414;
  border: 1px solid #333; border-radius: 12px; padding: 22px 18px; font-family: "DM Sans", system-ui, sans-serif;
}
.sms-mail-card h2 { margin: 0 0 8px; color: var(--mint); text-align: left; text-decoration: none; font-size: 1.35rem; }
.sms-mail-card .lead { color: #ccc; line-height: 1.45; font-size: 0.95rem; }
.sms-mail-card .email { color: var(--magenta); font-weight: 700; word-break: break-all; }
.sms-mail-card ul { color: #bbb; padding-left: 1.1rem; line-height: 1.5; }
.sms-mail-card .actions { margin-top: 14px; }
.sms-mail-card .actions button {
  border: 0; border-radius: 8px; padding: 10px 14px; background: var(--magenta); color: #fff;
  font-weight: 700; cursor: pointer; font: inherit;
}
.main-image { text-align: center; margin: 8px 0 36px; }
.main-image img { max-width: 90%; height: auto; border-radius: 8px; cursor: pointer; }
.main-image + h3 { margin-top: 8px; margin-bottom: 22px; }
.gallery {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
  margin: 28px 0 12px;
}
.gallery img { width: 150px; height: auto; border-radius: 6px; object-fit: contain; cursor: pointer; }
.gallery + .description,
.main-image + .description,
h3 + .description {
  margin-top: 36px;
}
.description { font-size: 1.08em; line-height: 1.55; margin-top: 32px; text-align: justify; color: #ddd; }
.description p { margin: 0 0 0.85em; }
.description p:last-child { margin-bottom: 0; }
.description strong { color: #eee; }
.description a { color: var(--magenta); }
.card-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px 16px;
  font-family: "DM Sans", system-ui, sans-serif;
  width: 100%;
}
.sms-card {
  width: 100%;
  margin: 0;
  text-align: center;
  padding: 0;
}
.sms-card a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.sms-card img {
  display: block; width: 100%; aspect-ratio: 220 / 318; height: auto;
  object-fit: cover; margin: 4px auto 0; border-radius: 2px;
}
/* Localidad = verde logotipo · Nombre = magenta logotipo */
.sms-card a.loc,
.sms-card .loc {
  /* Reserva 2 renglones (fotos a ras) y pega el texto abajo, junto a su foto */
  display: flex;
  align-items: flex-end;
  justify-content: center;
  text-align: center;
  font-size: 15px;
  margin: 0;
  line-height: 1.3;
  min-height: calc(1.3em * 2);
  color: var(--mint);
}
.sms-card:not(:has(.loc))::before {
  content: "";
  display: block;
  min-height: calc(1.3em * 2);
  font-size: 15px;
}
.sms-card a.name,
.sms-card .name {
  display: block; font-size: 16px; margin-top: 10px; line-height: 1.3;
  color: var(--magenta);
}
.sms-card a.loc:hover { color: #c8ffb8; }
.sms-card a.name:hover { color: #ff4ec4; }
.prov-list a { color: var(--magenta); }
.prov-list a:hover { color: var(--mint); }
.home-main h2#anuncios { color: var(--magenta); }
.home-main h2#provincias { color: var(--mint); }
.prov-list { list-style: none; padding: 0; columns: 2; gap: 24px; font-family: "DM Sans", system-ui, sans-serif; }
.prov-list li { margin: 0 0 8px; break-inside: avoid; }
.prov-list a { font-weight: 600; }
.lead {
  font-family: "DM Sans", system-ui, sans-serif;
  text-align: center;
  color: #ccc;
  max-width: 640px;
  margin: 0 auto 24px;
  line-height: 1.5;
}
.prov-seo {
  font-family: "DM Sans", system-ui, sans-serif;
  max-width: 720px;
  margin: 36px auto 28px;
  padding: 8px 4px 0;
  color: #c4c4c4;
  font-size: 0.98rem;
  line-height: 1.55;
  text-align: left;
}
.card-grid + .prov-seo { margin-top: 40px; }
.prov-seo p { margin: 0 0 0.7em; }
.prov-seo p:last-child { margin-bottom: 0; }
@media (max-width: 1100px) {
  .card-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 14px; }
  .container { padding-left: 18px; padding-right: 18px; }
}
@media (max-width: 768px) {
  h1 { font-size: 1.7em; }
  .main-image { margin-bottom: 32px; }
  .main-image img { max-width: 100%; }
  .main-image + h3 { margin-bottom: 20px; }
  .gallery { margin: 24px 0 10px; }
  .gallery img { width: 100px; }
  .gallery + .description,
  .main-image + .description,
  h3 + .description,
  .description { margin-top: 32px; }
  .card-grid + .prov-seo { margin-top: 36px; }
  .prov-list { columns: 1; }
  .site-header {
    flex-direction: column;
    align-items: stretch;
    padding: 12px 14px 14px;
    gap: 10px;
  }
  .site-header .brand-block { justify-content: center; align-items: center; width: 100%; gap: 0; }
  .site-header .brand { justify-content: center; }
  .site-header .brand img { height: 26px; margin: 0 auto; }
  .site-header .nav-home { display: none; }
  .site-header nav {
    margin-left: 0;
    width: 100%;
    justify-content: center;
    gap: 10px 14px;
    font-size: 0.86rem;
    line-height: 1.35;
  }
  .sms-search {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .sms-search input[name="q"],
  .sms-search input[name="zona"] { grid-column: 1 / -1; }
  .sms-search button { grid-column: 1 / -1; padding: 12px 16px; }
  .sms-search-wrap { padding: 10px 12px 4px; border-bottom: 0; }
  .sms-home-under-search { display: block; }
  @media (max-width: 480px) {
    .sms-search { grid-template-columns: 1fr; }
    .sms-search input[name="q"],
    .sms-search input[name="zona"] { grid-column: auto; }
  }
  .container { padding: 16px 16px 36px; }
  .form-shell, .page-publish {
    max-width: 100%;
    padding: 8px 4px 36px;
  }
  .form-shell h1, .page-publish h1 { font-size: 1.45rem; margin-bottom: 12px; }
  .form-shell .sub, .page-publish .lead { margin-bottom: 16px; font-size: 0.94rem; }
  .form-shell .field { margin: 12px 0; }
  .form-shell .btn, .form-shell button[type="submit"],
  .page-publish .cta-stack .btn, .page-publish .cta-stack .btn-secondary {
    padding: 14px 16px; margin-top: 0;
  }
  .form-shell .form-note { margin-top: 20px; }
  .page-publish .cta-stack { margin: 18px 0 16px; gap: 10px; }
  .page-publish .steps { margin-bottom: 18px; padding: 12px 14px; }
  .page-publish .mail-line { margin: 4px 0 12px; }
  .page-publish .back-home { margin: 0; }
  .site-footer { margin-top: 20px; padding: 16px 14px 20px; }
  .hero-portada { min-height: 52vh; }
  .hero-inner { padding: 28px 16px 24px; width: min(920px, 100%); }
  .hero-wordmark img { width: min(860px, 92vw); }
  .hero-tag { font-size: clamp(1.35rem, 6.5vw, 1.85rem); letter-spacing: 0.06em; }
  .hero-sub { font-size: 0.92rem; padding: 0 4px; }
  /* Móvil: UNA chica por fila (más importancia a cada anuncio) */
  .card-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }
  .home-main.container {
    padding: 8px 16px 40px;
  }
  .home-main h2#anuncios {
    margin: 0 0 18px;
  }
  .sms-card .loc { font-size: 16px; }
  .sms-card .name { font-size: 17px; margin-top: 10px; }
  .sms-card img { margin-top: 3px; }
  .nav-drop-menu { right: auto; left: 0; }
}
@media (min-width: 1024px) {
  .main-image { display: flex; justify-content: center; }
  .main-image img { max-width: 520px; width: 52%; }
}
.viewer {
  display: none; position: fixed; z-index: 9999; top: 0; left: 0;
  width: 100%; height: 100%; background: rgba(0,0,0,0.9);
  align-items: center; justify-content: center;
}
.viewer-content { position: relative; display: flex; flex-direction: column; align-items: center; }
.viewer img { max-width: 90%; max-height: 80vh; display: block; }
.viewer .close, .viewer .btn {
  position: absolute; background: none; border: none; cursor: pointer; z-index: 1001;
}
.viewer .close { top: 5px; right: 5px; }
.viewer .close svg, .viewer .btn svg { fill: white; width: 28px; height: 28px; }
.viewer .btn { top: 50%; transform: translateY(-50%); }
.viewer .btn.prev { left: 10px; }
.viewer .btn.next { right: 10px; }
.viewer .back-link { margin-top: 8px; color: #fff; font-size: 14px; font-weight: bold; text-decoration: underline; cursor: pointer; }
.site-footer .legal-links {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px;
  margin: 10px 0 4px; list-style: none; padding: 0;
}
.site-footer .legal-links a { color: #cfcfcf; text-decoration: none; font-size: 0.8rem; }
.site-footer .legal-links a:hover { color: var(--mint); }
.page-legal { max-width: 48rem; margin: 0 auto; padding: 24px 18px 40px; font-family: "DM Sans", system-ui, sans-serif; }
.page-legal h1 { color: var(--mint); font-size: 1.75rem; margin: 0 0 1rem; }
.page-legal .prose { color: #ddd; line-height: 1.55; font-size: 0.95rem; }
.page-legal .prose h2 { color: #fff; font-size: 1.15rem; margin: 1.4rem 0 0.55rem; }
.page-legal .prose p, .page-legal .prose li { margin: 0 0 0.75rem; }
.page-legal .prose ul { padding-left: 1.2rem; }
.page-legal .prose a { color: var(--mint); }
.legal-draft-note {
  padding: 0.75rem 0.9rem; margin: 0 0 1.1rem;
  border: 1px solid rgba(248, 5, 159, 0.35); border-radius: 8px;
  background: rgba(248, 5, 159, 0.08); color: #f0d0e4; font-size: 0.88rem;
}
.legal-gate {
  position: fixed; inset: 0; z-index: 90; display: grid; place-items: center;
  padding: 1.25rem; background: rgba(0, 0, 0, 0.78); backdrop-filter: blur(8px);
}
.legal-gate[hidden] { display: none !important; }
html.legal-gate-open, html.legal-gate-open body { overflow: hidden; }
.legal-gate-card {
  width: min(100%, 28rem); max-height: min(92vh, 40rem); overflow: auto;
  padding: 1.45rem 1.35rem 1.3rem; border-radius: 14px;
  background: #141414; border: 1px solid #333;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  font-family: "DM Sans", system-ui, sans-serif;
}
.legal-gate-brand {
  margin: 0 0 0.55rem; font-size: 1.35rem; font-weight: 700; color: var(--mint);
}
.legal-gate-brand em { color: var(--magenta); font-style: normal; }
.legal-gate-card h2 {
  margin: 0 0 0.7rem; font-size: 1.35rem; color: #fff; letter-spacing: -0.02em;
}
.legal-gate-card p { margin: 0 0 0.75rem; color: #bbb; font-size: 0.92rem; line-height: 1.45; }
.legal-gate-card a { color: var(--mint); font-weight: 600; }
.legal-gate-check {
  display: flex; align-items: flex-start; gap: 0.55rem;
  margin: 0.55rem 0; font-size: 0.9rem; font-weight: 600; color: #eee; cursor: pointer;
}
.legal-gate-check input { margin-top: 0.2rem; width: 1.05rem; height: 1.05rem; accent-color: var(--magenta); }
.legal-gate-card .btn {
  width: 100%; margin-top: 0.85rem; justify-content: center;
  display: inline-flex; align-items: center;
  border: 0; border-radius: 8px; padding: 12px 16px;
  background: var(--magenta); color: #fff; font-weight: 700; font: inherit; cursor: pointer;
}
.legal-gate-card .btn:disabled { opacity: 0.45; cursor: not-allowed; }
