
/* Sitio Nuevo Urecho Michoacán: estilos compartidos */
:root {
  --bg: #ffffff;
  --card: #f5f8f6;
  --panel: #ffffff;
  --line: #e4eae6;
  --fg: #1d2a24;
  --head: #17204d;
  --muted: #5d6b64;
  --green: #1b6e2f;
  --green-d: #0f4a2c;
  --link: #1f5fb4;
  --pink: #c2185b;
  --shadow: 0 2px 14px rgba(20, 40, 30, .1);
  --hdr: #ffffff;
  --hdr-fg: #1b2822;
  --font: "Lato", "Segoe UI", system-ui, -apple-system, sans-serif;
  --brand: #0f7a35;
  --brand-d: color-mix(in srgb, var(--brand) 82%, #000);
  --accent: #c2185b;
  --accent-l: color-mix(in srgb, var(--accent) 72%, #fff);
  --foot: #0f3d22;
  --foot-fg: #eaf3ec;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0d1511; --card: #15211b; --panel: #15211b; --line: #26372e; --fg: #e6eee9; --head: #dfe7ff; --muted: #a2b3aa; --green: #4fbf6a; --link: #7db1f2; --pink: #ff6fa5;
    --shadow: 0 2px 14px rgba(0, 0, 0, .5);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0d1511; --card: #15211b; --panel: #15211b; --line: #26372e; --fg: #e6eee9; --head: #dfe7ff; --muted: #a2b3aa; --green: #4fbf6a; --link: #7db1f2; --pink: #ff6fa5;
  --shadow: 0 2px 14px rgba(0, 0, 0, .5);
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--fg); font-family: var(--font); font-size: 16px; line-height: 1.4; }
h1, h2, h3, p, ul { margin: 0; padding: 0; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; }
:focus-visible { outline: 3px solid #2f86ff; outline-offset: 2px; }
.wrap { width: 100%; max-width: 1312px; margin-inline: auto; padding-inline: 16px; }
@media (min-width: 900px) { .wrap { padding-inline: 25px; } }
[id] { scroll-margin-top: 100px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Encabezado */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; background: var(--hdr); color: var(--hdr-fg); box-shadow: 0 1px 10px rgba(0, 0, 0, .12); }
.top .wrap { display: flex; align-items: center; gap: 14px; min-height: 76px; }
.logo img { height: 62px; width: auto; }
.head-right { display: none; flex: 1; flex-direction: column; align-items: stretch; gap: 4px; padding-block: 6px; }
.search { align-self: flex-end; display: flex; }
.search input { width: 270px; height: 30px; border: 1px solid #d9e2dc; border-right: 0; border-radius: 6px 0 0 6px; padding: 0 12px; font: inherit; font-size: .82rem; background: #fff; color: #1b2822; }
.search input::placeholder { color: #8a968f; }
.search button { width: 32px; height: 30px; border: 0; border-radius: 0 6px 6px 0; background: var(--brand); color: #fff; display: grid; place-items: center; cursor: pointer; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > a, .nav > .dd > button { display: inline-flex; align-items: center; gap: 5px; height: 38px; padding: 0 14px; background: none; border: 0; border-bottom: 3px solid transparent; font: inherit; font-size: .95rem; font-weight: 400; color: var(--hdr-fg); cursor: pointer; white-space: nowrap; }
.nav > a:hover, .nav > .dd > button:hover { color: var(--brand); }
.nav a[aria-current="true"] { color: var(--brand); font-weight: 700; border-bottom-color: var(--brand); }
.dd { position: relative; }
.dd ul { position: absolute; left: 0; top: 100%; min-width: 210px; background: #fff; border: 1px solid #dfe7e2; border-radius: 8px; box-shadow: 0 10px 28px rgba(0, 0, 0, .18); padding: 6px; display: none; z-index: 50; }
.dd.open ul { display: block; }
.dd ul a { display: block; padding: 9px 12px; border-radius: 6px; font-size: .92rem; color: #1b2822; }
.dd ul a:hover { background: #eaf4ec; color: var(--brand); }
.menu-btn { margin-left: auto; width: 44px; height: 44px; border: 1px solid #d9e2dc; border-radius: 8px; background: #fff; color: #1b2822; display: grid; place-items: center; cursor: pointer; }
.drawer { background: #fff; color: #1b2822; border-top: 1px solid #e4eae6; max-height: calc(100dvh - 76px); overflow-y: auto; overscroll-behavior: contain; }
.top .drawer .wrap { display: block; min-height: 0; padding-block: 8px 18px; }
.drawer a { display: flex; align-items: center; justify-content: space-between; min-height: 48px; padding: 0 4px; border-bottom: 1px solid #edf1ee; font-weight: 700; font-size: 1rem; }
.drawer a::after { content: "›"; font-size: 1.4rem; color: #9aa7a0; font-weight: 400; }
.drawer a:active { background: #eaf4ec; }
.drawer a.dr-cta { margin-top: 14px; justify-content: center; gap: 8px; border: 0; border-radius: 999px; background: var(--brand); color: #fff; }
.drawer a.dr-cta::after { content: none; }
.drawer a.dr-in { margin-top: 8px; justify-content: center; border: 1.5px solid #d9e2dc; border-radius: 999px; }
.drawer a.dr-in::after { content: none; }
.drawer .search input { flex: 1; min-width: 0; }
html, body { overflow-x: clip; }
.drawer .search { margin-top: 14px; }
.drawer .search input { width: 100%; height: 38px; }
.drawer .search button { height: 38px; }
@media (min-width: 1000px) { .head-right { display: flex; } .menu-btn, .drawer { display: none; } .logo img { height: 74px; } .top .wrap { min-height: 85px; } }

/* Portada */
.hero { position: relative; isolation: isolate; overflow: hidden; background: #29593a; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; min-height: 560px; padding: 30px 16px 28px; }
.hero > .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 38% 50%; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(3, 18, 10, 0) 15%, rgba(3, 18, 10, .78) 100%); }
.hero h1 img { width: min(78%, 330px); filter: drop-shadow(0 3px 8px rgba(0, 0, 0, .55)); }
.hero .ban { width: min(84%, 352px); }
.hero .lead { font-size: 1.06rem; line-height: 1.3; text-shadow: 0 1px 8px rgba(0, 0, 0, .8); max-width: 26em; }
.hero .dbr { display: none; }
.cta { display: inline-flex; align-items: center; gap: 10px; width: fit-content; padding: 11px 26px 11px 22px; border-radius: 999px; background: linear-gradient(90deg, var(--accent), var(--accent-l)); border: 1px solid rgba(255, 255, 255, .35); font-weight: 700; color: #fff; box-shadow: 0 5px 16px rgba(0, 0, 0, .35); }
.cta:hover { filter: brightness(1.1); }
.hero .tag { display: none; }
@media (min-width: 900px) {
  .hero { display: block; padding: 0; min-height: 0; aspect-ratio: 1312 / 361; gap: 0; }
  .hero > .bg { object-position: center; }
  .hero::after { background: linear-gradient(90deg, rgba(0, 0, 0, .22) 0%, rgba(0, 0, 0, 0) 55%); }
  .hero h1 { position: absolute; left: 7.5%; top: 16.6%; width: 25%; }
  .hero h1 img { width: 100%; }
  .hero .ban { position: absolute; left: 7.9%; top: 50.4%; width: 26.8%; }
  .hero .lead { position: absolute; left: 5.6%; top: 63.6%; width: 32%; font-size: clamp(.8rem, 1.33vw, 1.45rem); line-height: 1.27; max-width: none; }
  .hero .dbr { display: inline; }
  .hero .cta { position: absolute; left: 5.6%; top: 83.2%; width: 15.2%; justify-content: center; padding: 0; height: 10.8%; min-height: 34px; font-size: clamp(.78rem, 1.1vw, 1.2rem); gap: .6em; }
  .hero .cta svg { width: 1.2em; height: 1.2em; flex: none; }
  .hero .tag { display: block; position: absolute; right: 2.4%; top: 67.5%; width: 17.2%; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .6)); }
}

/* Accesos */
.cats { padding-block: 14px 12px; }
.cats ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
@media (min-width: 600px) { .cats ul { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .cats ul { grid-template-columns: repeat(8, minmax(0, 1fr)); } }
.cat { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; height: 100%; padding: 14px 8px 12px; background: var(--card); border: 1px solid var(--line); border-radius: 8px; transition: transform .2s, box-shadow .2s; }
.cat:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.cat .ic { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 6px; color: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .18); }
.cat h3 { font-size: 1.04rem; font-weight: 700; }
.cat p { font-size: .84rem; color: var(--muted); line-height: 1.25; }
.msg { padding: 14px 0 0; color: var(--muted); text-align: center; }

/* Destacado, noticias, eventos */
.trio { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; padding-block: 8px 14px; }
@media (min-width: 1100px) { .trio { grid-template-columns: minmax(0, 518fr) minmax(0, 355fr) minmax(0, 363fr); } }
@media (min-width: 700px) and (max-width: 1099px) { .trio { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .slider { grid-column: 1 / -1; } }
.slider { position: relative; isolation: isolate; border-radius: 10px; overflow: hidden; min-height: 310px; color: #fff; box-shadow: var(--shadow); background: #123; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .5s; display: flex; flex-direction: column; justify-content: flex-end; padding: 18px 20px 20px; }
.slide.on { opacity: 1; visibility: visible; }
.slide > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.slide::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 28%, rgba(4, 14, 9, .55) 58%, rgba(4, 14, 9, .9) 100%); }
.badge { width: fit-content; background: #1a7a2b; color: #fff; font-weight: 700; font-size: .78rem; letter-spacing: .02em; text-transform: uppercase; padding: 5px 12px; border-radius: 8px; margin-bottom: 8px; }
.slide h2 { font-size: clamp(1.5rem, 2.2vw, 1.85rem); font-weight: 700; line-height: 1.08; text-shadow: 0 2px 8px rgba(0, 0, 0, .55); }
.slide p { margin-top: 4px; font-size: 1.05rem; text-shadow: 0 1px 6px rgba(0, 0, 0, .6); }
.ghost { display: inline-flex; align-items: center; gap: 14px; width: fit-content; margin-top: 12px; padding: 9px 22px 9px 24px; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, .85); background: rgba(8, 54, 32, .62); font-weight: 700; }
.ghost:hover { background: rgba(8, 54, 32, .85); }
.ctl { position: absolute; z-index: 3; left: 0; right: 0; bottom: 18px; display: flex; align-items: center; justify-content: flex-end; gap: 8px; padding-right: 18px; pointer-events: none; }
.dots { position: absolute; left: 0; right: 0; bottom: 30px; display: flex; justify-content: center; gap: 8px; z-index: 3; margin-left: 40px; }
.dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .45); cursor: pointer; }
.dots button[aria-current="true"] { background: #fff; }
.ctl button { pointer-events: auto; width: 40px; height: 40px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; }
.ctl .pv { background: rgba(88, 104, 115, .85); color: #fff; }
.ctl .nx { background: #fff; color: #1b2c4a; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); padding: 14px 16px 6px; min-width: 0; }
.panel header { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.panel h2 { display: flex; align-items: center; gap: 10px; font-size: 1.22rem; font-weight: 700; color: var(--head); }
.panel header a { font-size: .8rem; font-weight: 700; color: var(--link); display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.panel header a:hover { text-decoration: underline; }
.row { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 12px; align-items: center; padding-block: 9px; border-top: 1px solid var(--line); }
.row:first-of-type { border-top: 0; }
.row img { width: 88px; height: 70px; object-fit: cover; border-radius: 6px; }
.row time { display: block; font-size: .72rem; color: var(--muted); }
.row b { display: block; font-size: .92rem; line-height: 1.2; color: var(--head); }
.row span { display: block; margin-top: 2px; font-size: .8rem; line-height: 1.25; color: var(--muted); }
.ev { display: grid; grid-template-columns: 50px 82px minmax(0, 1fr) 14px; gap: 10px; align-items: center; padding-block: 9px; border-top: 1px solid var(--line); }
.ev:first-of-type { border-top: 0; }
.ev .d { width: 50px; height: 58px; border-radius: 8px; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; font-weight: 900; }
.ev .d i { font-style: normal; font-size: 1.55rem; }
.ev .d s { text-decoration: none; font-size: .72rem; margin-top: 3px; letter-spacing: .02em; }
.ev img { width: 82px; height: 70px; object-fit: cover; border-radius: 6px; }
.ev b { display: block; font-size: .95rem; line-height: 1.2; color: var(--head); }
.ev small { display: flex; align-items: center; gap: 5px; margin-top: 3px; font-size: .78rem; color: var(--muted); }
.ev .chev { color: var(--muted); }
.ev[hidden], .row[hidden], .cat-li[hidden], .pic[hidden] { display: none; }
@media (max-width: 420px) { .ev { grid-template-columns: 46px 66px minmax(0, 1fr) 10px; gap: 8px; } .ev img { width: 66px; } .ev .d { width: 46px; } }

/* Tarjetas fotográficas */
.pics { padding-block: 0 14px; }
.pics ul { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
@media (min-width: 520px) { .pics ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 700px) { .pics ul { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .pics ul { grid-template-columns: minmax(0, 248fr) minmax(0, 242fr) minmax(0, 237fr) minmax(0, 237fr) minmax(0, 247fr); } .pic { height: auto; aspect-ratio: 248 / 143; } }
.pic { position: relative; isolation: isolate; width: 100%; min-width: 0; overflow: hidden; display: flex; align-items: flex-end; height: 150px; border-radius: 8px; overflow: hidden; color: #fff; box-shadow: var(--shadow); }
.pic > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .4s; }
.pic:hover > img { transform: scale(1.05); }
.pic::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 38%, rgba(0, 0, 0, .78) 100%); }
.pic .in { width: 100%; display: flex; align-items: flex-start; gap: 12px; padding: 0 12px 12px 18px; }
.pic .bubble { flex: none; width: 40px; height: 40px; margin-top: -4px; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.pic .tx { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.pic h3 { font-size: 1.12rem; font-weight: 700; line-height: 1.15; text-shadow: 0 1px 5px rgba(0, 0, 0, .6); }
.pic .sub { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: 7px; font-size: .78rem; text-shadow: 0 1px 5px rgba(0, 0, 0, .6); }

/* Banner final */
.band { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: #2b4d3a; padding: 22px 16px; display: flex; flex-direction: column; align-items: center; gap: 14px; min-height: 160px; }
.band > .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(6, 28, 16, .3); }
.band .script { width: min(88%, 400px); filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .6)); }
.vals { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 22px; }
.vals li { display: flex; flex-direction: column; align-items: center; gap: 5px; font-size: .84rem; }
.vals svg { width: 38px; height: 38px; }
@media (min-width: 900px) {
  .band { display: block; padding: 0; aspect-ratio: 1312 / 112; min-height: 0; }
  .band .script { position: absolute; left: 32.4%; top: 6%; width: 30.4%; }
  .vals { position: absolute; right: 2.6%; top: 17%; gap: 0 clamp(14px, 2.4vw, 32px); flex-wrap: nowrap; }
  .vals li { font-size: clamp(.68rem, .95vw, .95rem); }
  .vals svg { width: clamp(30px, 2.9vw, 40px); height: clamp(30px, 2.9vw, 40px); }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .slide, .cat, .pic > img { transition: none; } }

/* ---------- Comunes ---------- */
:root { --ok: #1e8e3e; --ok-bg: #e3f4e8; --warn: #b3261e; --warn-bg: #fbe7e6; --wa: #1fae55; --chip: #eef3f0; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --ok: #6fd28b; --ok-bg: #143322; --warn: #ff8f86; --warn-bg: #3a1714; --chip: #1c2b23; } }
:root[data-theme="dark"] { --ok: #6fd28b; --ok-bg: #143322; --warn: #ff8f86; --warn-bg: #3a1714; --chip: #1c2b23; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--brand); color: #fff; padding: 10px 14px; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 12px; }
.btn-p, .btn-o, .btn-wa { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 18px; border-radius: 999px; font-weight: 700; font-size: .95rem; border: 1.5px solid transparent; cursor: pointer; white-space: nowrap; font-family: inherit; }
.btn-p { background: var(--brand); color: #fff; }
.btn-p:hover { background: var(--brand-d); }
.btn-o { background: transparent; color: var(--fg); border-color: var(--line); }
.btn-o:hover { border-color: var(--green); color: var(--green); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { filter: brightness(.94); }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pill.on { color: var(--ok); background: var(--ok-bg); }
.pill.off { color: var(--warn); background: var(--warn-bg); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.sec-head h2 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); font-weight: 900; color: var(--head); line-height: 1.1; }
.sec-head p { color: var(--muted); margin-top: 4px; }
.sec-head a { font-weight: 700; color: var(--link); display: inline-flex; align-items: center; gap: 6px; }
.sec-head a:hover { text-decoration: underline; }
.empty { border: 1.5px dashed var(--line); border-radius: 12px; padding: 34px 20px; text-align: center; color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 10px; }
.empty b { color: var(--fg); font-size: 1.1rem; }

/* ---------- Tarjeta de negocio ---------- */
.biz-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.biz { position: relative; display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; min-width: 0; }
.biz:hover { transform: translateY(-3px); box-shadow: 0 8px 26px rgba(10, 40, 25, .16); }
.biz .cover { position: relative; aspect-ratio: 16 / 9; background: var(--chip); overflow: hidden; }
.biz .cover img { width: 100%; height: 100%; object-fit: cover; }
.biz .cover .ph { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; }
.biz .star { position: absolute; top: 10px; left: 10px; background: #f9b30a; color: #3a2600; font-size: .72rem; font-weight: 900; text-transform: uppercase; letter-spacing: .03em; padding: 4px 9px; border-radius: 6px; }
.biz .body { display: flex; flex-direction: column; gap: 6px; padding: 0 14px 14px; flex: 1; }
.biz .lg { width: 56px; height: 56px; margin-top: -28px; border-radius: 12px; background: #fff; border: 3px solid var(--panel); box-shadow: 0 2px 8px rgba(0, 0, 0, .18); object-fit: contain; position: relative; }
.biz .lg.ini { display: grid; place-items: center; color: #fff; font-weight: 900; font-size: 1.3rem; }
.biz h3 { font-size: 1.08rem; font-weight: 900; color: var(--head); line-height: 1.2; }
.biz h3 a::after { content: ""; position: absolute; inset: 0; }
.biz .meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: .82rem; color: var(--muted); }
.biz .meta .c { font-weight: 700; }
.biz .sum { font-size: .9rem; line-height: 1.35; color: var(--fg); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.biz .acts { display: flex; gap: 8px; margin-top: auto; padding-top: 6px; position: relative; z-index: 1; }
.biz .acts a { flex: 1; min-height: 36px; font-size: .84rem; padding: 0 10px; }

/* ---------- Inicio: negocios ---------- */
.home-biz { padding-block: 26px 30px; }

/* ---------- Directorio ---------- */
.dir-hero { position: relative; isolation: isolate; color: #fff; overflow: hidden; background: #24452f; padding-block: 34px 30px; }
.dir-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.dir-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(6, 30, 17, .86), rgba(6, 30, 17, .55)); }
.dir-hero h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 900; line-height: 1.05; }
.dir-hero p { margin-top: 8px; font-size: 1.05rem; max-width: 40em; opacity: .95; }
.dir-search { margin-top: 18px; display: flex; gap: 8px; max-width: 640px; }
.dir-search input { flex: 1; min-width: 0; height: 50px; border-radius: 999px; border: 0; padding: 0 20px; font: inherit; font-size: 1rem; background: #fff; color: #1b2822; }
.dir-search button { height: 50px; padding: 0 22px; }
.dir-tools { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 76px); z-index: 20; background: var(--bg); border-bottom: 1px solid var(--line); padding-block: 10px; }
@media (min-width: 1000px) { .dir-tools { top: calc(env(safe-area-inset-top, 0px) + 85px); } }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: thin; padding-bottom: 4px; }
.chip { flex: none; display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--chip); color: var(--fg); font: inherit; font-size: .88rem; font-weight: 700; cursor: pointer; white-space: nowrap; }
.chip i { font-style: normal; font-weight: 400; color: var(--muted); font-size: .8rem; }
.chip .dot { width: 9px; height: 9px; border-radius: 50%; }
.chip[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.chip[aria-pressed="true"] i { color: #dff3e5; }
.dir-row2 { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 8px; font-size: .9rem; color: var(--muted); }
.dir-row2 label { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; color: var(--fg); font-weight: 700; }
.dir-row2 input { width: 18px; height: 18px; accent-color: var(--brand); }
.dir-body { padding-block: 22px 40px; display: flex; flex-direction: column; gap: 34px; }
.group-h { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.group-h .ic { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: #fff; flex: none; }
.group-h h2 { font-size: 1.3rem; font-weight: 900; color: var(--head); }
.group-h p { font-size: .86rem; color: var(--muted); }

/* ---------- Página de negocio ---------- */
.np-cover { position: relative; height: clamp(200px, 34vw, 400px); background: #24452f; overflow: hidden; }
.np-cover img { width: 100%; height: 100%; object-fit: cover; }
.np-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .05) 40%, rgba(0, 0, 0, .45)); }
.np-head { position: relative; display: flex; align-items: flex-start; gap: 18px; flex-wrap: wrap; margin-top: -54px; z-index: 2; }
.np-head .np-title { margin-top: 64px; }
.np-head .np-cta { margin-top: 64px; }
@media (max-width: 640px) { .np-head .np-title { margin-top: 0; flex-basis: 100%; } .np-head .np-cta { margin-top: 0; } .np-logo { width: 96px; height: 96px; } }
.np-logo { width: 116px; height: 116px; border-radius: 20px; background: #fff; border: 4px solid var(--bg); box-shadow: 0 4px 16px rgba(0, 0, 0, .2); object-fit: contain; flex: none; }
.np-logo.ini { display: grid; place-items: center; color: #fff; font-size: 2.6rem; font-weight: 900; }
.np-title { flex: 1; min-width: 240px; padding-bottom: 6px; }
.np-title .crumb { font-size: .84rem; color: var(--muted); display: flex; gap: 6px; flex-wrap: wrap; }
.np-title .crumb a { color: var(--link); font-weight: 700; }
.np-title h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 900; color: var(--head); line-height: 1.05; margin-top: 4px; }
.np-title .meta { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; margin-top: 8px; color: var(--muted); font-size: .92rem; }
.np-cta { display: flex; gap: 10px; flex-wrap: wrap; padding-bottom: 8px; }
.np-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; padding-block: 24px 40px; }
@media (min-width: 960px) { .np-grid { grid-template-columns: minmax(0, 1fr) 360px; align-items: start; } .np-aside { position: sticky; top: 104px; } }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 20px; min-width: 0; }
.card h2 { font-size: 1.2rem; font-weight: 900; color: var(--head); margin-bottom: 12px; }
.np-main { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.np-aside { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.prose { white-space: pre-line; line-height: 1.6; font-size: 1rem; max-width: 70ch; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags span { background: var(--chip); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: .88rem; }
.gal { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); gap: 10px; }
.gal button { padding: 0; border: 0; border-radius: 10px; overflow: hidden; aspect-ratio: 4 / 3; cursor: zoom-in; background: var(--chip); }
.gal img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gal button:hover img { transform: scale(1.05); }
.map { width: 100%; aspect-ratio: 16 / 9; max-width: 100%; border: 0; border-radius: 10px; background: var(--chip); }
.contact-list { display: flex; flex-direction: column; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; padding-block: 10px; border-top: 1px solid var(--line); font-size: .95rem; min-width: 0; }
.contact-list li:first-child { border-top: 0; padding-top: 0; }
.contact-list svg { flex: none; color: var(--green); margin-top: 2px; }
.contact-list a { color: var(--link); font-weight: 700; overflow-wrap: anywhere; }
.contact-list small { display: block; color: var(--muted); font-size: .8rem; }
.hours { width: 100%; border-collapse: collapse; font-size: .92rem; font-variant-numeric: tabular-nums; }
.hours td { padding: 7px 0; border-top: 1px solid var(--line); }
.hours tr:first-child td { border-top: 0; }
.hours td:last-child { text-align: right; color: var(--muted); }
.hours tr.today td { font-weight: 900; color: var(--fg); }
.links { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 140px), 1fr)); gap: 8px; }
.links a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; font-weight: 700; font-size: .9rem; background: var(--panel); min-width: 0; }
.links a:hover { border-color: var(--green); }
.links a span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.links .ico { flex: none; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; color: #fff; font-size: .72rem; font-weight: 900; }
.links-h { font-size: .78rem; font-weight: 900; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin: 14px 0 8px; }
.links-h:first-of-type { margin-top: 0; }
.share { display: flex; gap: 8px; flex-wrap: wrap; }
.preview-bar { background: #fff4d6; color: #5b4300; border-bottom: 1px solid #f0d58a; padding-block: 10px; font-weight: 700; font-size: .92rem; }
.box { position: fixed; inset: 0; z-index: 80; background: rgba(4, 12, 9, .92); display: flex; align-items: center; justify-content: center; padding: 56px 16px; }
.box[hidden] { display: none; }
.box img { max-width: 100%; max-height: 100%; border-radius: 8px; object-fit: contain; }
.box button { position: absolute; background: rgba(255, 255, 255, .14); color: #fff; border: 0; width: 46px; height: 46px; border-radius: 50%; font-size: 1.5rem; cursor: pointer; }
.box button:hover { background: rgba(255, 255, 255, .28); }
.box .x { top: 12px; right: 12px; }
.box .p { left: 10px; top: 50%; translate: 0 -50%; }
.box .n { right: 10px; top: 50%; translate: 0 -50%; }

/* ---------- 404 ---------- */
.nf { padding-block: 70px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.nf h1 { font-size: 2rem; font-weight: 900; color: var(--head); }

/* ---------- Pie ---------- */
.foot { background: var(--foot); color: var(--foot-fg); padding-top: 34px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; padding-bottom: 26px; }
@media (min-width: 700px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1.2fr 1.3fr; } }
.foot h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: inherit; opacity: .7; margin-bottom: 10px; }
.foot-brand b { font-size: 1.3rem; }
.foot-brand p { margin-top: 6px; opacity: .85; max-width: 32ch; }
.foot nav { display: flex; flex-direction: column; gap: 6px; }
.foot nav a, .foot-contact a { opacity: .92; }
.foot nav a:hover, .foot-contact a:hover { opacity: 1; text-decoration: underline; }
#footCats { display: flex; flex-direction: column; gap: 6px; }
.foot-contact { display: flex; flex-direction: column; gap: 8px; font-size: .95rem; }
.foot-contact li { overflow-wrap: anywhere; }
.foot-contact small { display: block; opacity: .7; font-size: .76rem; }
.foot-reg { margin-top: 12px; font-size: .88rem; opacity: .8; }
.foot-social { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.foot-social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .12); display: grid; place-items: center; font-weight: 900; font-size: .8rem; }
.foot-social a:hover { background: rgba(255, 255, 255, .24); }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; border-top: 1px solid rgba(255, 255, 255, .14); padding-block: 14px; padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px)); font-size: .84rem; opacity: .8; }
@media (prefers-reduced-motion: reduce) { .biz, .gal img { transition: none; } }

/* ---------- Inicio armado desde el editor ---------- */
.hero.txt .h-txt { display: flex; flex-direction: column; gap: 10px; }
.h-title { display: block; font-family: "Kaushan Script", "Brush Script MT", cursive; font-weight: 400; font-size: clamp(3.2rem, 9vw, 6.4rem); line-height: .95; text-shadow: 0 3px 14px rgba(0, 0, 0, .55); }
.h-sub { display: block; font-size: clamp(1rem, 2.2vw, 1.7rem); letter-spacing: .32em; text-transform: uppercase; font-weight: 400; margin-top: 4px; text-shadow: 0 1px 8px rgba(0, 0, 0, .6); }
.h-lema { margin: 0; }
.h-lema span { display: inline-block; font-family: "Kaushan Script", "Brush Script MT", cursive; color: #10331d; background: #8fd16a; padding: 4px 26px; font-size: clamp(1rem, 1.8vw, 1.45rem); clip-path: polygon(2% 12%, 100% 0, 97% 52%, 100% 100%, 0 90%, 3% 50%); }
.h-frase { display: none; }
@media (min-width: 900px) {
  .hero.txt { display: flex; align-items: center; }
  .hero.txt .h-txt { position: relative; margin-left: 5.6%; max-width: 40%; }
  .hero.txt .lead { position: static; width: auto; }
  .hero.txt .cta { position: static; width: auto; height: auto; padding: .7em 1.6em; }
  .h-frase { display: block; position: absolute; right: 3%; bottom: 12%; max-width: 22%; font-family: "Kaushan Script", "Brush Script MT", cursive; font-size: clamp(1.2rem, 2.3vw, 2.3rem); line-height: 1.15; text-align: right; transform: rotate(-6deg); text-shadow: 0 2px 10px rgba(0, 0, 0, .7); }
  .h-frase::after { content: ""; display: block; height: 5px; margin: 8px 0 0 20%; border-radius: 4px; background: #8fd16a; }
}
@media (min-width: 1100px) { .cats ul { grid-template-columns: repeat(var(--n, 8), minmax(0, 1fr)); } }
@media (min-width: 1100px) { .pics ul { grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); } }
.panel ul { display: flex; flex-direction: column; }
.panel li > .row, .panel li > .ev { border-top: 1px solid var(--line); }
.panel li:first-child > .row, .panel li:first-child > .ev { border-top: 0; }
.panel li > a:hover b { color: var(--brand); }
.row-ph { width: 88px; height: 70px; border-radius: 6px; background: var(--chip); color: var(--muted); display: grid; place-items: center; }
.ev .row-ph { width: 82px; }
.panel-empty { padding: 18px 0; color: var(--muted); font-size: .92rem; }
@media (min-width: 1100px) { .trio.no-slider { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.home-secs { padding-block: 10px 30px; }
.sec-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.sec-card { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); transition: transform .2s; }
.sec-card:hover { transform: translateY(-3px); }
.sc-img { aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--brand), var(--foot)); }
.sc-img img { width: 100%; height: 100%; object-fit: cover; }
.sc-body { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 16px; }
.sc-ic { position: absolute; top: -22px; right: 16px; width: 44px; height: 44px; border-radius: 50%; background: var(--panel); color: var(--brand); display: grid; place-items: center; box-shadow: 0 2px 8px rgba(0, 0, 0, .2); }
.sc-body b { font-size: 1.15rem; font-weight: 900; color: var(--head); }
.sc-body span { color: var(--muted); font-size: .92rem; line-height: 1.4; }
.sc-body em { font-style: normal; font-weight: 700; color: var(--link); font-size: .9rem; margin-top: 4px; }
.vals .vi { width: 38px; height: 38px; border-radius: 50%; border: 1.6px solid #fff; display: grid; place-items: center; }
.vals a { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.vals a:hover .vi { background: rgba(255, 255, 255, .18); }
.script-txt { font-family: "Kaushan Script", "Brush Script MT", cursive; font-size: clamp(1.4rem, 3vw, 2.4rem); text-shadow: 0 2px 8px rgba(0, 0, 0, .6); text-align: center; }
.script-txt::after { content: ""; display: block; height: 5px; width: 70%; margin: 4px auto 0; border-radius: 4px; background: #8fd16a; }
@media (min-width: 900px) {
  .band.txt .script-txt { position: absolute; left: 32%; top: 50%; translate: 0 -50%; margin: 0; text-align: left; }
  .band.txt .script-txt::after { margin-left: 25%; }
  .vals .vi { width: clamp(30px, 2.9vw, 40px); height: clamp(30px, 2.9vw, 40px); }
}

/* ---------- Páginas de contenido ---------- */
.page-body { padding-block: 26px 40px; }
.more { text-align: center; margin-top: 20px; }
.list-h { font-size: 1.3rem; font-weight: 900; color: var(--head); margin-bottom: 14px; }
.crumb { font-size: .86rem; color: var(--muted); display: flex; gap: 6px; flex-wrap: wrap; }
.crumb a { color: var(--link); font-weight: 700; }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 18px; }
.post { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); transition: transform .2s; }
.post:hover { transform: translateY(-3px); }
.post-img { position: relative; aspect-ratio: 16 / 9; background: var(--chip); color: var(--muted); display: grid; place-items: center; }
.post-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.post-img .star { position: absolute; top: 10px; left: 10px; font-style: normal; background: #f9b30a; color: #3a2600; font-size: .72rem; font-weight: 900; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; }
.post-body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 18px; }
.post-body small { color: var(--muted); font-size: .8rem; }
.post-body b { font-size: 1.1rem; font-weight: 900; color: var(--head); line-height: 1.25; }
.post-body span { color: var(--fg); font-size: .92rem; line-height: 1.4; }
.art-cover { position: relative; height: clamp(220px, 38vw, 460px); background: #1d2a24; overflow: hidden; display: grid; place-items: center; }
.art-cover .bk { position: absolute; inset: -30px; width: calc(100% + 60px); height: calc(100% + 60px); max-width: none; object-fit: cover; filter: blur(26px) brightness(.75); }
.art-cover .fg { position: relative; max-width: 100%; max-height: 100%; width: auto; height: auto; box-shadow: 0 10px 40px rgba(0, 0, 0, .35); }
.art { max-width: 820px; padding-block: 26px 30px; display: flex; flex-direction: column; gap: 14px; }
.art-in { max-width: none; padding: 0; min-width: 0; }
.art h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 900; color: var(--head); line-height: 1.1; }
.art-date { color: var(--muted); font-size: .92rem; }
.art-lead { font-size: 1.15rem; font-weight: 700; line-height: 1.45; }
.art-h2 { font-size: 1.25rem; font-weight: 900; color: var(--head); margin-top: 10px; }
.art-share { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.art-share h2 { font-size: 1rem; font-weight: 900; color: var(--head); }
.prose-b { display: flex; flex-direction: column; gap: 14px; line-height: 1.65; font-size: 1.04rem; max-width: 72ch; }
.prose-b h3 { font-size: 1.25rem; font-weight: 900; color: var(--head); margin-top: 8px; }
.map-link { margin-top: 10px; }
.ev-list { display: flex; flex-direction: column; gap: 12px; }
.evc { display: grid; grid-template-columns: 64px 120px minmax(0, 1fr); gap: 14px; align-items: center; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 12px; box-shadow: var(--shadow); }
.evc:hover b { color: var(--brand); }
.evd { width: 64px; height: 72px; border-radius: 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; font-weight: 900; line-height: 1; }
.evd i { font-style: normal; font-size: 1.8rem; }
.evd s { text-decoration: none; font-size: .78rem; margin-top: 4px; }
.evimg { width: 120px; height: 84px; border-radius: 8px; overflow: hidden; background: var(--chip); color: var(--muted); display: grid; place-items: center; }
.evimg img { width: 100%; height: 100%; object-fit: cover; }
.evb { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.evb b { font-size: 1.08rem; font-weight: 900; color: var(--head); }
.evb small { color: var(--muted); font-size: .84rem; }
.evb span { font-size: .9rem; margin-top: 2px; }
@media (max-width: 560px) { .evc { grid-template-columns: 56px minmax(0, 1fr); } .evimg { display: none; } .evd { width: 56px; } }
.past { margin-top: 26px; }
.past summary { cursor: pointer; font-weight: 900; color: var(--head); font-size: 1.1rem; margin-bottom: 12px; }
.sec-hero { position: relative; isolation: isolate; color: #fff; overflow: hidden; background: #24452f; padding-block: clamp(50px, 9vw, 110px) 34px; }
.sec-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.sec-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5, 25, 14, .25), rgba(5, 25, 14, .82)); }
.sec-hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 900; line-height: 1.05; max-width: 22ch; }
.sec-hero p { margin-top: 10px; font-size: 1.12rem; max-width: 46em; opacity: .95; }
.sh-ic { width: 52px; height: 52px; border-radius: 50%; background: rgba(255, 255, 255, .16); display: grid; place-items: center; margin-bottom: 12px; }
.sec-body { max-width: 1000px; padding-block: 30px 40px; display: flex; flex-direction: column; gap: 34px; }
.blk { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.blk h2 { font-size: clamp(1.35rem, 2.6vw, 1.75rem); font-weight: 900; color: var(--head); line-height: 1.15; }
.blk-img { margin: 0; }
.blk-img img { width: 100%; border-radius: 12px; }
.blk-img figcaption { font-size: .88rem; color: var(--muted); margin-top: 8px; }
.tcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 14px; }
.tcard { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }
a.tcard:hover b { color: var(--brand); }
.tc-img { aspect-ratio: 16 / 10; background: var(--chip); }
.tc-img img { width: 100%; height: 100%; object-fit: cover; }
.tc-body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; }
.tc-body b { font-size: 1.05rem; font-weight: 900; color: var(--head); }
.tc-body span { font-size: .93rem; line-height: 1.45; }
.tc-body em { font-style: normal; color: var(--link); font-weight: 700; font-size: .88rem; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 22px; border-left: 3px solid var(--brand); display: flex; flex-direction: column; gap: 22px; }
.timeline li { position: relative; display: flex; flex-direction: column; gap: 6px; }
.timeline li::before { content: ""; position: absolute; left: -31px; top: 4px; width: 15px; height: 15px; border-radius: 50%; background: var(--bg); border: 3px solid var(--brand); }
.tl-date { font-weight: 900; color: var(--brand); font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.tl-body b { font-size: 1.12rem; font-weight: 900; color: var(--head); }
.tl-body p { line-height: 1.55; margin-top: 4px; }
.tl-body img { margin-top: 10px; border-radius: 10px; max-width: min(100%, 520px); }
.datos-wrap { overflow-x: auto; }
.datos { width: 100%; border-collapse: collapse; font-size: .98rem; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.datos th, .datos td { text-align: left; padding: 12px 14px; border-top: 1px solid var(--line); vertical-align: top; }
.datos tr:first-child th, .datos tr:first-child td { border-top: 0; }
.datos th { font-weight: 900; color: var(--head); width: 38%; background: var(--card); }
.blk-btn { margin: 0; }
@media (prefers-reduced-motion: reduce) { .sec-card, .post { transition: none; } }
/* Portada en modo texto: flujo normal, sin posiciones de los rótulos */
.hero.txt h1 { position: static; width: auto; margin: 0; }
.hero.txt .lead { max-width: 30em; }
@media (min-width: 900px) {
  .hero.txt { aspect-ratio: auto; min-height: clamp(380px, 30vw, 540px); padding-block: 40px; }
  .hero.txt .h-txt { margin-left: 5.6%; max-width: 46%; }
  .hero.txt .lead { font-size: clamp(1rem, 1.3vw, 1.3rem); }
  .hero.txt .cta { font-size: 1rem; margin-top: 6px; }
}
.hero.txt .h-txt { align-items: flex-start; }
.hero.txt .cta { width: fit-content; }
@media (min-width: 900px) { .hero.txt { flex-direction: row; justify-content: flex-start; } }

/* Videos incrustados */
.vid-r { position: relative; padding-top: 56.25%; border-radius: 12px; overflow: hidden; background: #000; }
.vid-r iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vid-tt { display: flex; justify-content: center; }
.vid-tt iframe { width: 325px; max-width: 100%; height: 575px; border: 0; border-radius: 12px; }

/* Logo blanco sobre encabezado oscuro */
.top .logo img { mix-blend-mode: lighten; }

/* ===================== Registro de negocios, tienda, pedidos, descargas ===================== */
.pg-hero { position: relative; isolation: isolate; color: #fff; overflow: hidden; background: #1d4a2c; padding-block: clamp(36px, 7vw, 76px) clamp(30px, 5vw, 50px); }
.pg-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.pg-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(6, 30, 17, .9), rgba(6, 30, 17, .5)); }
.pg-hero h1 { font-size: clamp(1.9rem, 4.6vw, 3rem); font-weight: 900; line-height: 1.05; max-width: 20ch; }
.pg-hero p { margin-top: 10px; font-size: 1.08rem; max-width: 38em; opacity: .95; }
.pg-hero .row-btns { margin-top: 20px; }
.gift { display: inline-flex; align-items: center; gap: 8px; background: #ffd54a; color: #3b2a00; font-weight: 900; border-radius: 999px; padding: 6px 14px; font-size: .95rem; margin-bottom: 12px; }
.row-btns { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.btn-p.lg, .btn-o.lg, .btn-wa.lg { min-height: 50px; padding: 0 24px; font-size: 1.02rem; }
.pg-hero .btn-o { color: #fff; border-color: rgba(255, 255, 255, .55); }
.pg-hero .btn-o:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .1); }
.pg-sec { padding-block: 34px; }
.pg-sec h2 { font-size: clamp(1.35rem, 2.6vw, 1.8rem); font-weight: 900; color: var(--head); margin-bottom: 14px; }
.feat { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.feat > div { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.feat b { font-size: 1.06rem; color: var(--head); }
.feat span { color: var(--muted); font-size: .95rem; }
.feat i { font-style: normal; font-size: 1.7rem; }
.steps { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); counter-reset: st; }
.steps li { background: var(--card); border-radius: 14px; padding: 16px 16px 16px 58px; position: relative; min-height: 64px; }
.steps li::before { counter-increment: st; content: counter(st); position: absolute; left: 14px; top: 14px; width: 32px; height: 32px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 900; }
.steps b { display: block; color: var(--head); }
.steps span { color: var(--muted); font-size: .92rem; }
.reg-grid { display: grid; gap: 22px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .reg-grid { grid-template-columns: 1.1fr .9fr; } }
.frm { display: flex; flex-direction: column; gap: 14px; }
.frm label { display: flex; flex-direction: column; gap: 6px; font-weight: 700; font-size: .95rem; }
.frm small { font-weight: 400; color: var(--muted); font-size: .84rem; }
.frm input, .frm textarea, .frm select { font: inherit; font-size: 16px; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg); color: var(--fg); width: 100%; }
.frm input:focus, .frm textarea:focus, .frm select:focus { outline: 2px solid var(--brand); border-color: transparent; }
.frm .two { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .frm .two { grid-template-columns: 1fr 1fr; } }
.pwrow { display: flex; gap: 8px; } .pwrow input { flex: 1; min-width: 0; }
.pwrow button { flex: none; border: 1.5px solid var(--line); background: var(--card); color: var(--fg); border-radius: 12px; padding: 0 14px; font: inherit; font-weight: 700; cursor: pointer; }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.f-err { background: var(--warn-bg); color: var(--warn); border-radius: 10px; padding: 10px 12px; font-weight: 700; }
.f-ok { background: var(--ok-bg); color: var(--ok); border-radius: 10px; padding: 10px 12px; font-weight: 700; }
.note { background: #fff4d6; color: #5b4300; border-radius: 12px; padding: 12px 14px; font-size: .95rem; }
.price-card { background: linear-gradient(135deg, #0f7a35, #0b5426); color: #fff; border-radius: 16px; padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.price-card b.big { font-size: 2rem; font-weight: 900; line-height: 1; }
.price-card span { opacity: .92; }
.kv-list { display: grid; gap: 10px; }
.kv-list > div { display: flex; justify-content: space-between; gap: 12px; align-items: center; border-bottom: 1px dashed var(--line); padding-bottom: 8px; flex-wrap: wrap; }
.kv-list span { color: var(--muted); font-size: .9rem; }
.kv-list b { font-size: 1.02rem; word-break: break-all; }
.copy { border: 1px solid var(--line); background: var(--card); color: var(--fg); border-radius: 8px; padding: 4px 10px; font: inherit; font-size: .82rem; font-weight: 700; cursor: pointer; }
.bv-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); align-items: start; }
.bv-grid .card h2 { display: flex; gap: 8px; align-items: center; }
.big-url { display: block; font-size: 1.15rem; font-weight: 900; color: var(--link); word-break: break-all; margin: 4px 0; }
ol.num { padding-left: 20px; display: flex; flex-direction: column; gap: 8px; list-style: decimal; }
@media print { .top, .foot, .mi-fab, .mi-box, .mi-hi, .no-print { display: none !important; } .card { box-shadow: none; break-inside: avoid; } body { background: #fff; color: #000; } }

/* tienda */
.t-head { display: flex; gap: 16px; align-items: center; padding-block: 22px 8px; flex-wrap: wrap; }
.t-head img, .t-head .ini { width: 72px; height: 72px; border-radius: 16px; object-fit: cover; flex: none; display: grid; place-items: center; color: #fff; font-weight: 900; font-size: 1.5rem; }
.t-head h1 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); font-weight: 900; color: var(--head); line-height: 1.1; }
.t-head p { color: var(--muted); margin-top: 4px; }
.t-tools { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; padding-block: 10px; position: sticky; top: 0; z-index: 5; background: var(--bg); }
.t-tools input { flex: 1 1 220px; min-width: 0; height: 46px; border-radius: 999px; border: 1.5px solid var(--line); padding: 0 18px; font: inherit; font-size: 16px; background: var(--bg); color: var(--fg); }
.prods { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); padding-bottom: 120px; }
.prod { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; }
.prod .ph { aspect-ratio: 4 / 3; background: var(--card); display: grid; place-items: center; font-size: 2.6rem; overflow: hidden; }
.prod .ph img { width: 100%; height: 100%; object-fit: cover; }
.prod .bd { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.prod h3 { font-size: 1.02rem; font-weight: 900; color: var(--fg); line-height: 1.2; }
.prod p { color: var(--muted); font-size: .88rem; }
.prod .pr { font-size: 1.2rem; font-weight: 900; color: var(--brand); }
.prod .pr small { font-size: .8rem; color: var(--muted); font-weight: 700; }
.prod .low { font-size: .78rem; color: #8a5a00; font-weight: 700; }
.qty { display: flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 6px; }
.qty button { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--brand); background: var(--bg); color: var(--brand); font-size: 1.3rem; font-weight: 900; cursor: pointer; display: grid; place-items: center; }
.qty button.add { width: auto; border-radius: 999px; padding: 0 16px; font-size: .95rem; background: var(--brand); color: #fff; flex: 1; }
.qty input { width: 64px; height: 40px; text-align: center; font: inherit; font-weight: 900; font-size: 16px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--bg); color: var(--fg); }
.cartbar { position: fixed; left: 50%; transform: translateX(-50%); bottom: 16px; z-index: 50; width: min(560px, calc(100% - 110px)); background: var(--brand); color: #fff; border: 0; border-radius: 999px; padding: 12px 20px; display: flex; justify-content: space-between; align-items: center; gap: 10px; font: inherit; font-weight: 900; font-size: 1rem; cursor: pointer; box-shadow: 0 8px 26px rgba(0, 0, 0, .3); }
@media (max-width: 520px) { .cartbar { left: 12px; transform: none; width: calc(100% - 96px); bottom: 14px; } }
.cart { position: fixed; inset: 0; z-index: 9993; background: rgba(5, 20, 12, .55); display: flex; justify-content: flex-end; }
.cart-in { width: min(460px, 100%); height: 100%; background: var(--bg); display: flex; flex-direction: column; box-shadow: -10px 0 40px rgba(0, 0, 0, .3); }
.cart-h { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.cart-h h2 { font-size: 1.2rem; font-weight: 900; color: var(--head); }
.cart-h button { border: 0; background: var(--card); color: var(--fg); width: 38px; height: 38px; border-radius: 50%; font-size: 1.2rem; cursor: pointer; }
.cart-b { flex: 1; overflow-y: auto; padding: 14px 16px; display: flex; flex-direction: column; gap: 14px; }
.cart-it { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; align-items: center; border-bottom: 1px dashed var(--line); padding-bottom: 10px; }
.cart-it b { font-size: .98rem; } .cart-it small { color: var(--muted); }
.cart-it .qty { grid-column: 1 / -1; padding-top: 0; }
.cart-it .qty button { width: 34px; height: 34px; font-size: 1.1rem; }
.cart-it .qty input { height: 34px; width: 70px; }
.cart-it .rm { margin-left: auto; border: 0; background: none; color: var(--warn); font: inherit; font-weight: 700; font-size: .85rem; cursor: pointer; }
.cart-tot { display: flex; justify-content: space-between; font-size: 1.25rem; font-weight: 900; padding-top: 6px; }
.cart-f { padding: 12px 16px 16px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.seg2 { display: flex; background: var(--card); border-radius: 12px; padding: 4px; gap: 4px; }
.seg2 button { flex: 1; border: 0; background: none; padding: 10px; border-radius: 9px; font: inherit; font-weight: 800; color: var(--muted); cursor: pointer; }
.seg2 button[aria-pressed="true"] { background: var(--panel); color: var(--fg); box-shadow: 0 1px 4px rgba(0, 0, 0, .12); }
.t-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
/* estado del pedido */
.track { display: flex; gap: 0; margin: 14px 0 6px; }
.track li { flex: 1; text-align: center; font-size: .8rem; font-weight: 700; color: var(--muted); position: relative; padding-top: 30px; }
.track li::before { content: ""; position: absolute; top: 6px; left: 50%; transform: translateX(-50%); width: 18px; height: 18px; border-radius: 50%; background: var(--line); z-index: 1; }
.track li::after { content: ""; position: absolute; top: 13px; left: -50%; width: 100%; height: 4px; background: var(--line); }
.track li:first-child::after { display: none; }
.track li.on { color: var(--brand); } .track li.on::before, .track li.on::after { background: var(--brand); }
.tbl { width: 100%; border-collapse: collapse; font-size: .95rem; }
.tbl td, .tbl th { padding: 8px 6px; border-bottom: 1px solid var(--line); text-align: left; }
.tbl td:last-child, .tbl th:last-child { text-align: right; white-space: nowrap; }
.tbl tfoot td { font-weight: 900; font-size: 1.1rem; border-bottom: 0; }
/* descargas */
.dls { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); padding-bottom: 40px; }
.dl { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 14px; display: grid; grid-template-columns: 76px 1fr; gap: 12px; align-items: start; }
.dl.hl { outline: 3px solid var(--brand); }
.dl .cv { width: 76px; height: 96px; border-radius: 10px; background: var(--card); display: grid; place-items: center; font-size: 2.2rem; overflow: hidden; }
.dl .cv img { width: 100%; height: 100%; object-fit: cover; }
.dl h3 { font-size: 1.02rem; font-weight: 900; color: var(--fg); line-height: 1.2; }
.dl .m { font-size: .8rem; color: var(--muted); margin-top: 4px; display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.dl .ext { background: var(--chip); border-radius: 5px; padding: 1px 6px; font-weight: 900; text-transform: uppercase; color: var(--fg); }
.dl p { font-size: .9rem; color: var(--muted); margin-top: 6px; }
.dl .acts { grid-column: 1 / -1; display: flex; gap: 8px; flex-wrap: wrap; }
.dl .acts .btn-p, .dl .acts .btn-o { min-height: 38px; padding: 0 14px; font-size: .9rem; }
.dl audio, .dl video { grid-column: 1 / -1; width: 100%; }
.dl .apk { grid-column: 1 / -1; font-size: .8rem; color: var(--muted); background: var(--card); border-radius: 8px; padding: 8px 10px; }

.dr-open .mi-fab, .dr-open .mi-hi { display: none !important; }
/* ajustes móviles */
.kv-list b { word-break: normal; overflow-wrap: anywhere; text-align: right; }
.track { list-style: none; padding: 0; }
.track li { font-size: .74rem; padding-inline: 2px; line-height: 1.2; }
.cart-it .qty { flex-wrap: wrap; }
.cart-it .qty input { width: 58px; }
@media (max-width: 560px) {
  .prods { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .prod .bd { padding: 10px; }
  .prod h3 { font-size: .95rem; }
  .prod p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .prod .pr { font-size: 1.05rem; }
  .qty { gap: 4px; }
  .qty button { width: 34px; height: 34px; font-size: 1.1rem; }
  .qty input { width: 100%; min-width: 0; flex: 1; height: 34px; }
  .qty button.add { height: 38px; }
  .t-head img, .t-head .ini { width: 56px; height: 56px; }
}

/* negocios en el inicio: carrusel deslizable en celular */
.biz-cta { justify-content: center; align-items: flex-start; gap: 10px; padding: 22px; background: linear-gradient(140deg, var(--brand), color-mix(in srgb, var(--brand) 60%, #000)); color: #fff; border: 0; }
.biz-cta b { font-size: 1.25rem; font-weight: 900; } .biz-cta span { opacity: .95; }
.biz-cta .bc-ic { font-size: 2.2rem; }
.biz-cta .btn-p { background: #fff; color: var(--brand); margin-top: 6px; opacity: 1; }
.biz .star.nuevo { background: #2fbf5b; color: #fff; }
@media (max-width: 700px) {
  .biz-row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; padding: 4px 2px 12px; scrollbar-width: none; }
  .biz-row::-webkit-scrollbar { display: none; }
  .biz-row > .biz { flex: 0 0 78%; scroll-snap-align: start; }
  .biz-row .biz .cover { aspect-ratio: 16 / 8; }
}
