/* Location guide: numbered step cards with an amber box drawn on each phone screenshot.
   Both languages on every step; the page's primary language goes first. */

body.guide { background: var(--bg); }
.gwrap { max-width: 720px; margin: 0 auto; padding: 0 16px; }

.ghead { background: var(--navy); color: #fff; padding: calc(18px + env(safe-area-inset-top, 0px)) 0 18px; }
.ghead .local { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #c3d1e2; font-weight: 700; }
.ghead h1 { margin: 5px 0 0; font-size: 22px; line-height: 1.25; font-weight: 800; color: #fff; }
.ghead h1.en, html.en-first .ghead h1.es { font-size: 15px; font-weight: 600; color: #c3d1e2; margin-top: 4px; }
html.en-first .ghead h1.en { font-size: 22px; font-weight: 800; color: #fff; margin-top: 5px; }

/* Language pairs: Spanish first by default, English first under html.en-first */
.pair { display: flex; flex-direction: column; }
.pair > .es { order: 1; }
.pair > .en { order: 2; color: var(--muted); font-size: .93em; margin-top: 4px; }
html.en-first .pair > .en { order: 1; color: inherit; font-size: inherit; margin-top: 0; }
html.en-first .pair > .es { order: 2; color: var(--muted); font-size: .93em; margin-top: 4px; }
.pair p, .pair h3, .pair h2 { margin: 0; }

.lang-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 16px 0 14px; }
.lang-tabs button { font: inherit; font-size: 15px; font-weight: 700; padding: 11px; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; color: var(--navy); cursor: pointer; }
.lang-tabs button[aria-pressed="true"] { background: var(--navy-tint); border-color: var(--navy); }

.lead { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px; margin-bottom: 14px; font-size: 16px; }

.key { display: flex; gap: 11px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 13px 16px; margin-bottom: 16px; font-size: 15px; }
.key .sw { flex: 0 0 30px; height: 20px; margin-top: 2px; border-radius: 5px; border: 2.5px solid var(--amber-line); background: rgba(217, 166, 58, .18); }
.key b { color: var(--amber); }

.dev-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 18px; }
.tab { font: inherit; font-size: 17px; font-weight: 700; padding: 14px 10px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; }
.tab small { display: block; font-weight: 500; font-size: 12px; opacity: .7; margin-top: 2px; }
.tab[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }

.step { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px; margin-bottom: 14px; }
.step-head { display: flex; gap: 13px; align-items: flex-start; margin-bottom: 14px; }
.num { flex: 0 0 34px; height: 34px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; font-size: 16px; display: flex; align-items: center; justify-content: center; }
.step h3 { font-size: 17px; line-height: 1.35; font-weight: 700; }
.step h3 b { color: var(--navy); }

.shot { position: relative; width: min(280px, 100%); margin: 0 auto; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; }
.shot img { display: block; width: 100%; height: auto; }
.hl { position: absolute; box-sizing: border-box; border: 3px solid var(--amber-line); border-radius: 8px; background: rgba(217, 166, 58, .14); box-shadow: 0 0 0 2px rgba(255, 255, 255, .75); pointer-events: none; }

.tip { margin-top: 14px; background: var(--amber-fill); border: 1px solid var(--amber-line); border-radius: 10px; padding: 11px 13px; font-size: 15px; line-height: 1.45; }
.tip b { color: var(--amber); }

.done { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px 16px; margin: 20px 0 12px; text-align: center; }
.done h2 { font-size: 19px; color: var(--navy); }
.done .btn { display: flex; margin-top: 14px; }

.blocked { font-size: 14px; color: var(--muted); padding: 0 4px; }
.help { text-align: center; font-size: 15px; margin: 18px 0 40px; }
.help a { color: var(--navy); font-weight: 700; }
