
/* Sitio Uruapan 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;
}
@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: #0f7a35; 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: #0f7a35; }
.nav a[aria-current="true"] { color: #0f7a35; font-weight: 700; border-bottom-color: #0f7a35; }
.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: #0f7a35; }
.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; }
.drawer .wrap { padding-block: 8px 16px; }
.drawer a { display: block; padding: 11px 2px; border-bottom: 1px solid #edf1ee; }
.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, #b3135a, #de2f7b); 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: #0f7a35; 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: #0f7a35; color: #fff; }
.btn-p:hover { background: #0b652b; }
.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: #0f7a35; border-color: #0f7a35; 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: #0f7a35; }
.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: #0f3d22; color: #eaf3ec; 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: #a7d7b4; 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; } }
