:root {
  --bg: #fffdf4;
  --surface: #ffffff;
  --ink: #0f2a1b;
  --ink-soft: #4d5e52;
  --rule: #e6e0c4;
  --green: #009c3b;
  --green-deep: #00702b;
  --yellow: #ffdf00;
  --blue: #002776;
}
* { box-sizing: border-box; }
html { background: var(--bg); }
body {
  margin: 0;
  color: var(--ink);
  font: 17px/1.6 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
}
.flag { display: flex; height: 6px; }
.flag i { display: block; }
.flag i:nth-child(1) { flex: 3; background: var(--green); }
.flag i:nth-child(2) { flex: 2; background: var(--yellow); }
.flag i:nth-child(3) { flex: 1; background: var(--blue); }
header, main, footer { max-width: 760px; margin: 0 auto; padding: 0 20px; }
header { display: flex; align-items: center; gap: 12px; padding-top: 22px; padding-bottom: 6px; }
header img { width: 44px; height: 44px; border-radius: 11px; }
.brand { font-family: 'Archivo Black', 'Archivo', sans-serif; line-height: 1.05; text-decoration: none; color: var(--green-deep); font-size: 18px; }
.brand small { display: block; font-size: 13px; color: var(--ink); letter-spacing: .04em; }
.brand mark { background: var(--yellow); color: var(--ink); padding: 0 4px; }
nav { margin-left: auto; display: flex; gap: 16px; flex-wrap: wrap; font-weight: 600; font-size: 15px; }
nav a { color: var(--green-deep); text-decoration: none; }
nav a[aria-current] { text-decoration: underline; text-underline-offset: 4px; }
h1 { font-family: 'Archivo Black', 'Archivo', sans-serif; font-size: 34px; line-height: 1.15; margin: 34px 0 6px; }
h2 { font-size: 20px; margin: 30px 0 6px; }
p, li { color: var(--ink-soft); }
strong { color: var(--ink); }
a { color: var(--green-deep); }
.lead { font-size: 19px; color: var(--ink); }
.card { background: var(--surface); border: 1px solid var(--rule); border-radius: 18px; padding: 18px 20px; margin: 18px 0; }
.card.yellow { border: 2px solid var(--yellow); }
.cta { display: inline-block; background: var(--green-deep); color: #fff; font-weight: 700; padding: 12px 20px; border-radius: 12px; text-decoration: none; }
.meta { font-size: 14px; color: var(--ink-soft); }
footer { padding-top: 30px; padding-bottom: 40px; font-size: 14px; color: var(--ink-soft); }
@media (max-width: 560px) {
  h1 { font-size: 28px; }
  nav { margin-left: 0; width: 100%; }
  header { flex-wrap: wrap; }
}
/* Shared business page (/empresa/<id>): mostly opened on phones from WhatsApp. */
.biz { margin-top: 24px; }
.biz-head { display: flex; gap: 14px; align-items: center; }
.biz-logo { width: 68px; height: 68px; flex: none; border-radius: 16px; object-fit: cover; border: 1px solid var(--rule); background: var(--surface); }
.biz-title { min-width: 0; }
.biz-title h1 { margin: 2px 0; font-size: 28px; overflow-wrap: anywhere; }
.biz-title .meta { margin: 0; }
.biz-tag { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--green-deep); }
.biz-photos { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 18px -20px 0; padding: 0 20px 4px; scrollbar-width: none; }
.biz-photos::-webkit-scrollbar { display: none; }
.biz-photos img { flex: none; width: 150px; height: 150px; border-radius: 14px; object-fit: cover; scroll-snap-align: start; background: var(--rule); }
.biz-desc { font-size: 18px; color: var(--ink); margin: 18px 0 6px; white-space: pre-line; }
.biz-actions { display: grid; gap: 10px; margin: 20px 0 8px; }
.btn { display: flex; align-items: center; justify-content: center; min-height: 54px; border-radius: 14px; font-weight: 700; font-size: 17px; text-decoration: none; }
.btn-wa { background: #25d366; color: #0b3d1f; }
.btn-app { background: var(--green-deep); color: #fff; }
.status { margin-top: 32px; }
.get-app { margin: 28px 0 8px; padding: 18px 20px; border: 2px solid var(--yellow); border-radius: 18px; background: var(--surface); }
.get-app p { margin-top: 0; }
.badges { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.badges a { display: inline-flex; }
.badges a[hidden] { display: none; }
.badges img.play { margin: -10px 0; } /* Google's badge has built-in padding */
@media (min-width: 640px) {
  .biz-actions { grid-template-columns: 1fr 1fr; max-width: 520px; }
  .biz-photos img { width: 180px; height: 180px; }
}
/* Home (landing). */
.home main { max-width: 1080px; }
.home header { max-width: 1080px; }
.home footer { max-width: 1080px; }
.home mark { background: var(--yellow); color: var(--ink); padding: 0 .12em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.kicker { margin: 0 0 8px; font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--green-deep); }
.hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; padding: 40px 0 56px; }
.hero h1 { font-size: 52px; line-height: 1.06; margin: 0 0 18px; }
.hero .lead { font-size: 20px; }
.free { font-size: 15px; font-weight: 600; color: var(--green-deep); }
.stores { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 24px 0 10px; }
.stores .store { display: inline-flex; }
.stores img { height: 50px; width: auto; }
.stores img.play { height: 74px; margin: -12px -6px; }
.soon { display: inline-flex; align-items: center; height: 50px; padding: 0 18px; border-radius: 10px; border: 1.5px dashed var(--ink-soft); color: var(--ink-soft); font-weight: 600; font-size: 15px; }
.phone { margin: 0; justify-self: center; width: 100%; max-width: 300px; border-radius: 40px; border: 9px solid var(--ink); background: var(--ink); overflow: hidden; box-shadow: 0 30px 60px rgba(15,42,27,.22); }
.phone img { display: block; width: 100%; height: auto; border-radius: 31px; }
.tilt-r { transform: rotate(3deg); }
.tilt-l { transform: rotate(-3deg); }
.how { padding: 8px 0 56px; }
.how h2, .faq h2 { font-family: 'Archivo Black', 'Archivo', sans-serif; font-size: 32px; margin: 0 0 22px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cards article { background: var(--surface); border: 1px solid var(--rule); border-radius: 18px; padding: 22px; }
.cards span { font-size: 30px; }
.cards h3 { margin: 8px 0 4px; font-size: 20px; }
.cards p { margin: 0; }
.biz-band { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: center; background: var(--yellow); border-radius: 28px; padding: 48px; margin-bottom: 56px; }
.biz-band .kicker { color: var(--ink); }
.biz-band h2 { font-family: 'Archivo Black', 'Archivo', sans-serif; font-size: 38px; line-height: 1.1; margin: 0 0 18px; }
.biz-band mark { background: var(--ink); color: var(--yellow); }
.biz-band p, .biz-band li { color: var(--ink); }
.steps { padding-left: 22px; margin: 0; display: grid; gap: 10px; font-size: 18px; }
.biz-band .soon { border-color: var(--ink); color: var(--ink); }
.faq { max-width: 760px; padding-bottom: 24px; }
.faq details { border-bottom: 1px solid var(--rule); padding: 14px 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 18px; color: var(--ink); }
.faq details p { margin: 10px 0 0; }
.foot-nav { margin: 0 0 6px; font-size: 14px; }
@media (max-width: 820px) {
  .hero, .biz-band { grid-template-columns: 1fr; }
  .hero { padding-top: 20px; gap: 32px; }
  .hero h1 { font-size: 36px; }
  .phone { max-width: 250px; }
  .cards { grid-template-columns: 1fr; }
  .biz-band { padding: 32px 22px; gap: 32px; }
  .biz-band .phone { order: 2; }
  .biz-band h2 { font-size: 30px; }
}
@media (max-width: 560px) { .home nav { margin-left: 0; } }
/* Shared bits for the map and the server-rendered pages. */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.stores [hidden] { display: none !important; }
.more { margin: 18px 0 0; font-weight: 600; }
.crumbs { display: block; margin: 22px 0 0; font-size: 14px; color: var(--ink-soft); }
.crumbs a { text-decoration: none; }
.btn-ghost { background: var(--surface); color: var(--green-deep); border: 1.5px solid var(--rule); }
.social { font-weight: 600; }
.jobs h2 { font-family: 'Archivo Black', 'Archivo', sans-serif; }
.job { background: var(--surface); border: 1px solid var(--rule); border-left: 4px solid var(--yellow); border-radius: 14px; padding: 14px 18px; margin: 12px 0; }
.job h3 { margin: 0 0 6px; font-size: 18px; }
.job p { margin: 6px 0 0; white-space: pre-line; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips span { font-size: 13px; font-weight: 600; background: #f6f2de; color: var(--ink); padding: 3px 10px; border-radius: 999px; }
.chips .pay { background: #e3f4e8; color: var(--green-deep); }
.city-list, .biz-list, .mlist { list-style: none; padding: 0; margin: 16px 0; display: grid; gap: 10px; }
.city-list { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.city-list a { display: block; background: var(--surface); border: 1px solid var(--rule); border-radius: 14px; padding: 14px 16px; text-decoration: none; }
.city-list strong { display: block; color: var(--ink); }
.city-list small { color: var(--ink-soft); }
.row { display: flex; gap: 14px; align-items: flex-start; background: var(--surface); border: 1px solid var(--rule); border-radius: 14px; padding: 12px 14px; text-decoration: none; color: var(--ink); }
.row img, .row .ph, .mcard img, .mcard .ph { flex: none; width: 52px; height: 52px; border-radius: 12px; object-fit: cover; border: 1px solid var(--rule); background: #f6f2de; display: grid; place-items: center; font-size: 24px; }
.row strong { display: block; }
.row small, .row em { display: block; color: var(--ink-soft); font-size: 14px; font-style: normal; }
/* /mapa */
body.wide main, body.wide header, body.wide footer { max-width: 1280px; }
.mapwrap { margin-top: 16px; }
.mapbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 12px; }
.seg { display: inline-flex; background: var(--surface); border: 1px solid var(--rule); border-radius: 999px; padding: 3px; }
.seg button, .near, #f-cat { font: 600 15px 'Archivo', sans-serif; border: 0; background: none; color: var(--ink); padding: 8px 14px; border-radius: 999px; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--green-deep); color: #fff; }
#f-cat { background: var(--surface); border: 1px solid var(--rule); max-width: 240px; }
.chk { display: inline-flex; gap: 6px; align-items: center; font-weight: 600; font-size: 15px; color: var(--ink); }
.near { background: var(--yellow); }
.mapgrid { display: grid; grid-template-columns: 1fr 360px; gap: 16px; height: calc(100vh - 210px); min-height: 520px; }
#map { border-radius: 18px; overflow: hidden; border: 1px solid var(--rule); min-height: 420px; }
.mapside { overflow-y: auto; padding-right: 4px; }
.mlist button { all: unset; display: block; width: 100%; cursor: pointer; box-sizing: border-box; }
.mcard { display: flex; gap: 12px; align-items: flex-start; background: var(--surface); border: 1px solid var(--rule); border-radius: 14px; padding: 10px 12px; }
.mlist button[aria-current] .mcard, .mlist button:focus-visible .mcard { border-color: var(--green); box-shadow: 0 0 0 2px var(--green); }
.mcard img, .mcard .ph { width: 48px; height: 48px; }
.mcard strong { display: block; color: var(--ink); }
.mcard small { display: block; color: var(--ink-soft); font-size: 13px; line-height: 1.35; }
.mcard .jobs { color: var(--green-deep); font-weight: 600; }
.mcard.full { border: 2px solid var(--yellow); }
.mcard .acts { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.mcard .btn { min-height: 40px; padding: 0 14px; font-size: 15px; }
#detail { margin-bottom: 10px; }
.pin { width: 40px; height: 48px; border: 0; padding: 0; background: none; cursor: pointer; position: relative; }
.pin::before { content: ""; position: absolute; inset: 0; background: var(--green); clip-path: path("M20 0C9 0 0 8.6 0 19.6 0 33 17 46.5 18.4 47.6a2.6 2.6 0 0 0 3.2 0C23 46.5 40 33 40 19.6 40 8.6 31 0 20 0Z"); }
.pin-s::before { background: var(--blue); }
.pin span { position: absolute; left: 5px; top: 5px; width: 30px; height: 30px; border-radius: 50%; background: #fff; border: 3px solid var(--yellow); display: grid; place-items: center; font-size: 15px; line-height: 1; box-sizing: border-box; }
.pin-job span::after { content: "💼"; position: absolute; right: -10px; top: -8px; font-size: 12px; background: var(--yellow); border-radius: 50%; width: 18px; height: 18px; display: grid; place-items: center; }
.pin.on { transform: scale(1.18); z-index: 2; }
@media (max-width: 820px) {
  .mapgrid { grid-template-columns: 1fr; height: auto; }
  #map { height: 58vh; }
  .mapside { overflow: visible; }
}
