/* Deluxe Locksmith MO — Direction B · "Signal Bento"
   Cool light base, the logo's crimson as the signal colour, bento tiles, glass over crimson mesh,
   wide geometric display (Unbounded) + DM Sans. Signature: key-tag labels that swing in. */
:root {
  --paper: #f3f4f6; --white: #ffffff; --blush: #fbe9eb; --blush-2: #f5d2d7;
  --ink: #12141a; --ink-2: #4a505e; --ink-3: #626978; --line: rgba(18, 20, 26, .1);
  --night: #121419; --night-2: #1c1f27; --night-3: #262a34;
  --crimson: #e0182d; --crimson-2: #b30f21; --crimson-3: #7c0915;
  --gold: #e9b44c; --gold-2: #f6d48c;
  --f-display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --f-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --pad: clamp(72px, 10vw, 124px);
  --r: 26px;
  --header-h: 110px;
}
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body { margin: 0; overflow-x: clip; background: var(--paper); color: var(--ink); font: 400 17px/1.62 var(--f-body); }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-display); font-weight: 700; line-height: 1.06; letter-spacing: -.025em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.wrap { width: 100%; max-width: 1220px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 40px); }
.ic { width: 20px; height: 20px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ic--xl { width: 34px; height: 34px; stroke-width: 1.5; }
:focus-visible { outline: 2px solid var(--crimson); outline-offset: 3px; border-radius: 8px; }
.proto-flag { background: #fff3d1; color: #3b2a00; font-size: 13px; line-height: 1.45; padding: 8px 16px; text-align: center; }

/* ---------- floating glass header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; padding-top: 10px; }
.header__shell { }
.header__top { display: flex; justify-content: space-between; gap: 16px; padding: 0 18px 8px; font-size: 13px; color: var(--ink-3); }
.header__top span { display: inline-flex; align-items: center; gap: 6px; }
.header__top .ic { width: 15px; height: 15px; color: var(--crimson); }
.header__top nav { display: flex; gap: 20px; }
.header__top nav a:hover { color: var(--crimson); }
.header__in { display: flex; align-items: center; gap: 14px; padding: 8px 10px 8px 18px; border-radius: 22px; background: rgba(255, 255, 255, .92); box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset, 0 10px 34px -14px rgba(18, 20, 26, .28); transition: box-shadow .3s; }
@supports (backdrop-filter: blur(12px)) { .header__in { background: rgba(255, 255, 255, .72); backdrop-filter: blur(16px) saturate(170%); -webkit-backdrop-filter: blur(16px) saturate(170%); } }
.site-header.is-scrolled .header__top { display: none; }
.site-header.is-scrolled .header__in { box-shadow: 0 14px 40px -12px rgba(18, 20, 26, .35); }
.brand { flex: 0 1 auto; min-width: 0; }
.brand img { height: 50px; width: auto; }
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a { padding: 10px 14px; border-radius: 12px; font-weight: 500; font-size: 15px; color: var(--ink-2); transition: background .2s, color .2s; }
.nav a:hover { background: var(--paper); color: var(--ink); }
.header-sos { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 12px; font-weight: 600; font-size: 15px; color: var(--crimson-2); background: var(--blush); }
.header-sos .ic { width: 18px; height: 18px; }
.header-call { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 14px; font-weight: 700; color: #fff; background: var(--ink); white-space: nowrap; transition: background .2s, transform .2s; }
.header-call:hover { background: var(--crimson); transform: translateY(-1px); }
.nav-toggle { display: none; flex: 0 0 44px; width: 44px; height: 44px; align-items: center; justify-content: center; border: 0; border-radius: 12px; background: var(--paper); color: var(--ink); cursor: pointer; }
.nav-toggle .ic { width: 24px; height: 24px; }
.nav-drawer { display: none; position: fixed; left: 12px; right: 12px; top: calc(var(--header-h) + 6px); z-index: 49; max-height: calc(100svh - var(--header-h) - 18px); overflow: auto; padding: 10px 16px 22px; border-radius: 22px; background: var(--white); box-shadow: 0 24px 60px -18px rgba(18, 20, 26, .4); }
.nav-drawer a { display: block; padding: 14px 6px; font-size: 18px; font-weight: 500; border-bottom: 1px solid var(--line); }
.nav-drawer__sep { display: block; height: 12px; }
.site-header[data-open="true"] + .nav-drawer { display: block; }

/* ---------- bands ---------- */
.band { position: relative; isolation: isolate; }
.band > .wrap { position: relative; z-index: 1; }
.band--paper { background: var(--paper); }
.band--white { background: var(--white); }
.band--blush { background: var(--blush); }
.band--night { background: var(--night); color: #f1f2f5; }
.band--red { background: linear-gradient(150deg, #ef2b40 0%, var(--crimson-2) 55%, var(--crimson-3) 100%); color: #fff; overflow: hidden; }
section.band:not(.hero) { padding: var(--pad) 0; }

/* drifting mesh (decoration only) */
.mesh { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.mesh i { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; animation: drift 22s ease-in-out infinite alternate; }
.mesh i:nth-child(1) { width: 46vw; height: 46vw; right: -8vw; top: -14vw; background: #ff9aa6; }
.mesh i:nth-child(2) { width: 30vw; height: 30vw; right: 22vw; bottom: -12vw; background: var(--gold-2); animation-duration: 28s; }
.mesh i:nth-child(3) { width: 26vw; height: 26vw; left: -8vw; top: 30%; background: #ffd0d6; animation-duration: 34s; }
.mesh--red i:nth-child(1) { background: #ff5b6c; opacity: .5; }
.mesh--red i:nth-child(2) { background: var(--gold); opacity: .35; }
.mesh--red i:nth-child(3) { background: #5b0610; opacity: .7; }
@keyframes drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(-6%, 5%, 0) scale(1.15); } }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: .6em; padding: 16px 24px; border-radius: 16px; font-weight: 700; font-size: 16px; line-height: 1; transition: transform .25s var(--ease), box-shadow .25s, background .25s; }
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--crimson); color: #fff; box-shadow: 0 14px 30px -12px rgba(224, 24, 45, .7); }
.btn--primary:hover { box-shadow: 0 20px 40px -12px rgba(224, 24, 45, .85); }
.btn--soft { background: var(--white); color: var(--ink); box-shadow: 0 0 0 1px var(--line) inset; }
.btn--white { background: #fff; color: var(--crimson-2); }
.btn--xl { font-size: 20px; padding: 20px 30px; border-radius: 18px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; font-weight: 700; color: var(--crimson-2); }
.link-arrow .ic { transition: transform .25s var(--ease); }
.link-arrow:hover .ic { transform: translateX(4px); }

/* ---------- key-tag label (signature) ---------- */
.tag { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; padding: 7px 14px 7px 10px; border-radius: 10px 999px 999px 10px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--crimson-2); background: var(--white); box-shadow: 0 0 0 1px var(--blush-2) inset, 0 6px 16px -10px rgba(179, 15, 33, .5); transform-origin: 8px 50%; }
.tag__hole { width: 10px; height: 10px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 2px var(--crimson); }
.band--blush .tag { background: var(--white); }
.band--white .tag { background: var(--blush); box-shadow: none; }
.band--white .tag__hole { background: var(--white); }
.tag--dark { color: var(--gold-2); background: var(--night-3); box-shadow: none; }
.tag--dark .tag__hole { background: var(--night); box-shadow: inset 0 0 0 2px var(--gold); }
.tag--glass { color: #fff; background: rgba(255, 255, 255, .16); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); }
.tag--glass .tag__hole { background: transparent; box-shadow: inset 0 0 0 2px #fff; }

/* ---------- hero ---------- */
.hero { overflow: hidden; padding: clamp(40px, 7vw, 96px) 0 clamp(64px, 9vw, 120px); }
.hero__in { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero h1 { font-size: clamp(2.05rem, 4.6vw, 4rem); line-height: 1.04; }
.hl { color: var(--crimson); }
.hl--light { color: var(--gold-2); }
.hero__sub { margin-top: 22px; max-width: 50ch; font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--ink-2); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__bento { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: minmax(150px, auto); gap: 14px; }
.tile { position: relative; display: flex; flex-direction: column; justify-content: flex-start; gap: 4px; padding: 20px; border-radius: var(--r); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s; }
.tile:hover { transform: translateY(-4px); }
/* the icon sits IN the flow (it overlapped the title on short tiles at 375 px when it was absolute) */
.tile .ic--xl { margin-bottom: auto; padding-bottom: 16px; box-sizing: content-box; }
.tile strong { font-family: var(--f-display); font-size: 1.15rem; font-weight: 700; letter-spacing: -.01em; }
.tile small { font-size: 14px; opacity: .8; }
.tile--car { grid-row: span 2; color: #fff; background: radial-gradient(90% 60% at 80% 10%, rgba(246, 212, 140, .45), transparent 60%), linear-gradient(160deg, var(--crimson) 0%, var(--crimson-3) 100%); box-shadow: 0 24px 50px -24px rgba(179, 15, 33, .8); }
.tile--car::after { content: ""; position: absolute; right: -30px; bottom: -30px; width: 170px; height: 170px; border-radius: 50%; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .25), 0 0 0 26px rgba(255, 255, 255, .06); }
.tile--home { background: rgba(255, 255, 255, .8); box-shadow: 0 0 0 1px rgba(255, 255, 255, .9) inset, 0 16px 34px -20px rgba(18, 20, 26, .35); }
.tile--home .ic--xl { color: var(--crimson); }
.tile--biz { color: #fff; background: var(--night); }
.tile--biz .ic--xl { color: var(--gold); }
.tile--sos { grid-column: 1 / -1; min-height: 110px; justify-content: center; padding-right: 76px; color: var(--ink); background: linear-gradient(120deg, var(--gold-2), var(--gold)); }
.tile--sos .ic--xl { position: absolute; right: 22px; top: 50%; margin: 0; padding: 0; transform: translateY(-50%); }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; padding: 16px 0; }
.marquee__track { display: flex; width: max-content; animation: marq 36s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__list { display: flex; gap: 12px; padding-right: 12px; }
.marquee__list li { padding: 10px 18px; border-radius: 999px; white-space: nowrap; font-family: var(--f-display); font-size: 14px; font-weight: 500; letter-spacing: .02em; background: var(--night-3); }
.marquee__list li:nth-child(3n+1) { background: var(--crimson); }
@keyframes marq { to { transform: translateX(-50%); } }

/* ---------- section heads ---------- */
.sec-head { max-width: 780px; margin-bottom: clamp(36px, 5vw, 56px); }
.sec-head h2 { font-size: clamp(1.8rem, 3.6vw, 3rem); }
.sec-head--light h2 { color: #fff; }
.lead { margin-top: 16px; font-size: 1.1rem; color: var(--ink-2); max-width: 56ch; }
.band--red .lead { color: rgba(255, 255, 255, .88); }

/* ---------- stats bento ---------- */
.stat-bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(170px, auto); gap: 14px; }
.stat { position: relative; display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; border-radius: var(--r); background: var(--paper); overflow: hidden; }
.stat__num { font-family: var(--f-display); font-weight: 800; font-size: clamp(2.6rem, 5vw, 4.2rem); line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.stat__lbl { margin-top: 10px; font-size: 15px; color: var(--ink-2); }
.stat--xl { grid-column: span 2; grid-row: span 2; background: var(--night); color: #fff; }
.stat--xl .stat__num { font-size: clamp(4.4rem, 11vw, 9rem); color: var(--gold-2); }
.stat--xl .stat__lbl { color: rgba(255, 255, 255, .75); font-size: 17px; }
.stat__ic { position: absolute; top: 22px; right: 22px; width: 56px; height: 56px; fill: none; stroke: var(--crimson); stroke-width: 1.4; }
.stat--red { background: var(--crimson); color: #fff; }
.stat--red .stat__lbl { color: rgba(255, 255, 255, .85); }
.stat--wide { grid-column: span 2; background: var(--blush); }
.stat--wide .stat__num { color: var(--crimson-2); }

/* ---------- services bento ---------- */
.svc-bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.card { position: relative; padding: 24px; border-radius: var(--r); background: var(--white); box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 18px 40px -26px rgba(124, 9, 21, .45); transition: transform .3s var(--ease), box-shadow .3s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -24px rgba(124, 9, 21, .5); }
.card--home { grid-row: span 2; }
.card__head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.card__head h3 { font-size: 1.3rem; }
.badge { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; color: #fff; background: var(--crimson); }
.pill { display: flex; align-items: center; gap: 12px; margin-top: 8px; padding: 13px 14px; border-radius: 14px; font-weight: 600; background: var(--paper); transition: background .25s, color .25s; }
.pill .ic { color: var(--crimson); }
.pill .ic--go { margin-left: auto; opacity: 0; transform: translateX(-6px); transition: opacity .25s, transform .25s var(--ease); }
.pill:hover { background: var(--ink); color: #fff; }
.pill:hover .ic { color: var(--gold-2); }
.pill:hover .ic--go { opacity: 1; transform: none; }
.card--sos { color: #fff; background: radial-gradient(80% 70% at 100% 0%, rgba(246, 212, 140, .35), transparent 60%), linear-gradient(150deg, var(--crimson), var(--crimson-3)); }
.card--sos h3 { margin-top: 18px; font-size: 1.35rem; }
.card--sos p { margin-top: 8px; opacity: .88; }
.card__go { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-weight: 700; color: var(--gold-2); }
.card--ph { padding: 0; min-height: 220px; }

/* placeholders */
.ph { position: relative; margin: 0; display: grid; place-items: center; overflow: hidden; color: rgba(255, 255, 255, .7);
  background: radial-gradient(80% 70% at 85% 15%, rgba(246, 212, 140, .5), transparent 60%), linear-gradient(145deg, #262a34 0%, #3a1418 60%, var(--crimson-2) 100%); }
.ph::before { content: ""; position: absolute; inset: 0; background: radial-gradient(rgba(255, 255, 255, .08) 1px, transparent 1.5px) 0 0 / 14px 14px; }
.ph--warm { background: radial-gradient(80% 70% at 15% 85%, rgba(224, 24, 45, .5), transparent 60%), linear-gradient(145deg, #f6d48c 0%, #e9a45a 55%, #b3462f 100%); }
.ph__ic { position: relative; width: 30%; height: auto; aspect-ratio: 1; fill: none; stroke: currentColor; stroke-width: .9; stroke-linecap: round; stroke-linejoin: round; transition: transform .6s var(--ease); }
.ph:hover .ph__ic { transform: scale(1.07) rotate(-3deg); }
.ph figcaption { position: absolute; left: 16px; right: 16px; bottom: 14px; font-size: 12.5px; color: rgba(255, 255, 255, .85); }
.ph--round { aspect-ratio: 5 / 4; border-radius: 34px; }

/* ---------- how (horizontal progress) ---------- */
.how { background-image: radial-gradient(60% 80% at 100% 0%, rgba(224, 24, 45, .22), transparent 60%); }
.steps__track { position: relative; height: 4px; margin-bottom: 26px; border-radius: 4px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.steps__fill { position: absolute; inset: 0; transform-origin: left center; transform: scaleX(0); background: linear-gradient(90deg, var(--crimson), var(--gold)); }
.steps__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.step { padding: 24px; border-radius: var(--r); background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); transition: background .4s, box-shadow .4s; }
@supports (backdrop-filter: blur(8px)) { .step { backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); } }
.step.is-on { background: rgba(255, 255, 255, .09); box-shadow: inset 0 0 0 1px rgba(246, 212, 140, .5); }
.step__n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; font-family: var(--f-display); font-weight: 700; color: var(--night); background: rgba(255, 255, 255, .85); transition: background .4s; }
.step.is-on .step__n { background: var(--gold-2); }
.step h3 { margin-top: 18px; font-size: 1.1rem; color: #fff; }
.step p { margin-top: 8px; font-size: 15.5px; color: rgba(241, 242, 245, .74); }

/* ---------- features ---------- */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.feature + .feature { margin-top: clamp(64px, 9vw, 110px); }
.feature--flip .ph { order: 2; }
.feature__txt h3 { font-size: clamp(1.5rem, 2.8vw, 2.2rem); }
.feature__txt > p:not(.tag) { margin-top: 16px; color: var(--ink-2); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chips span { padding: 9px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; background: var(--blush); color: var(--crimson-2); }

/* ---------- areas (glass on crimson) ---------- */
.county-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.county { display: block; height: 100%; padding: 18px; border-radius: 20px; background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); transition: transform .3s var(--ease), background .3s; }
@supports (backdrop-filter: blur(10px)) { .county { backdrop-filter: blur(10px) saturate(140%); -webkit-backdrop-filter: blur(10px) saturate(140%); } }
.county:hover { transform: translateY(-4px); background: rgba(255, 255, 255, .22); }
.county strong { display: block; font-family: var(--f-display); font-size: 1.12rem; font-weight: 700; }
.county span { display: inline-block; margin-top: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700; color: var(--crimson-3); background: var(--gold-2); }
.county small { display: block; margin-top: 10px; font-size: 14px; line-height: 1.45; color: rgba(255, 255, 255, .86); }

/* ---------- faq ---------- */
.faq__in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 6vw, 80px); align-items: start; }
.faq .sec-head { margin-bottom: 0; }
.faq__list { display: grid; gap: 12px; }
.faq__list details { border-radius: 20px; background: var(--white); box-shadow: 0 12px 30px -24px rgba(18, 20, 26, .5); }
.faq__list summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; cursor: pointer; list-style: none; font-weight: 700; font-size: 1.06rem; }
.faq__list summary::-webkit-details-marker { display: none; }
.plus { display: grid; place-items: center; flex: 0 0 34px; width: 34px; height: 34px; border-radius: 10px; color: #fff; background: var(--crimson); transition: transform .3s var(--ease), background .3s; }
.faq__list details[open] .plus { transform: rotate(45deg); background: var(--ink); }
.faq__list details p { padding: 0 22px 22px; color: var(--ink-2); }

/* ---------- blog ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.post { display: flex; flex-direction: column; gap: 12px; padding: 12px 12px 22px; border-radius: var(--r); background: var(--night-2); transition: transform .3s var(--ease), background .3s; }
.post:hover { transform: translateY(-5px); background: var(--night-3); }
.ph--post { aspect-ratio: 16 / 10; border-radius: 18px; }
.ph--post .ph__ic { width: 20%; }
.post__tag { align-self: flex-start; margin: 4px 8px 0; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--night); background: var(--gold-2); }
.post strong { padding: 0 8px; font-family: var(--f-display); font-size: 1.08rem; font-weight: 600; line-height: 1.3; color: #fff; }

/* ---------- cta ---------- */
.cta__in { display: grid; place-items: center; }
.cta__card { width: min(760px, 100%); padding: clamp(32px, 6vw, 60px); border-radius: 34px; text-align: center; background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3), 0 30px 80px -30px rgba(40, 0, 6, .7); }
@supports (backdrop-filter: blur(14px)) { .cta__card { backdrop-filter: blur(14px) saturate(150%); -webkit-backdrop-filter: blur(14px) saturate(150%); } }
.cta h2 { font-size: clamp(2rem, 5vw, 3.6rem); }
.cta p { margin: 14px 0 30px; font-size: 1.15rem; opacity: .9; }

/* ---------- footer ---------- */
.site-footer { padding: 72px 0 28px; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 36px; }
.footer__brand img { height: 62px; width: auto; }
.footer__brand p { margin: 16px 0 20px; color: var(--ink-2); max-width: 32ch; font-size: 15px; }
.site-footer h3, .site-footer h4 { margin: 0 0 12px; font-family: var(--f-body); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--crimson-2); }
.site-footer h3:not(:first-child), .site-footer h4:not(:first-child) { margin-top: 26px; }
.footer__grid div > a:not(.btn) { display: block; padding: 5px 0; font-size: 15px; color: var(--ink-2); transition: color .2s; }
.footer__grid div > a:not(.btn):hover { color: var(--crimson); }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--ink-3); }

/* ---------- mobile call bar ---------- */
.callbar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; display: none; align-items: center; justify-content: center; gap: 10px; padding: 16px; border-radius: 18px; font-weight: 700; font-size: 17px; color: #fff; background: var(--crimson); box-shadow: 0 16px 36px -10px rgba(224, 24, 45, .8); }
.callbar::after { content: ""; position: absolute; inset: 0; border-radius: inherit; animation: ring 2.8s infinite; pointer-events: none; }
.callbar { transition: transform .45s var(--ease); }
.js-callbar .callbar:not(.is-on) { transform: translateY(160%); }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(224, 24, 45, .55); } 70%, 100% { box-shadow: 0 0 0 14px rgba(224, 24, 45, 0); } }

/* ---------- reveal system ---------- */
[data-reveal] { transition: opacity .85s var(--ease), transform .85s var(--ease); }
[data-reveal].is-hidden { opacity: 0; transform: translateY(26px); }
[data-reveal="left"].is-hidden { transform: translateX(-72px) scale(.96); }
[data-reveal="right"].is-hidden { transform: translateX(72px) scale(.96); }
[data-reveal="tag"] { transition: opacity .6s var(--ease), transform 1.1s cubic-bezier(.3, 1.6, .5, 1); }
[data-reveal="tag"].is-hidden { transform: rotate(-18deg) translateY(8px); }
.reveal-init [data-reveal] { transition: none !important; }

/* ---------- responsive ---------- */
@media (max-width: 1099px) {
  .nav, .header-sos { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-call { margin-left: auto; }
  .county-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .steps__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 899px) {
  .hero__in, .feature, .faq__in { grid-template-columns: minmax(0, 1fr); }
  .svc-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card--home { grid-row: auto; }
  .post-grid { grid-template-columns: minmax(0, 1fr); }
  .stat-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature--flip .ph { order: 0; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
  .callbar { display: flex; }
  body { padding-bottom: 84px; }
}
@media (max-width: 699px) {
  .header__top nav { display: none; }
  [data-reveal="left"].is-hidden, [data-reveal="right"].is-hidden { transform: translateY(34px) scale(.96); }
  .svc-bento, .steps__grid { grid-template-columns: minmax(0, 1fr); }
  .county-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat--xl { grid-row: auto; }
}
@media (max-width: 519px) {
  .brand img { height: 42px; }
  .header-call span { display: none; }
  .header-call { padding: 12px; }
  .header__in { padding-left: 12px; }
  .hero__bento { grid-auto-rows: minmax(120px, auto); }
  .stat-bento { grid-template-columns: minmax(0, 1fr); }
  .stat--xl, .stat--wide { grid-column: auto; }
  .county-grid, .footer__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__cta { flex-direction: column; }
  .hero__cta .btn { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .mesh i, .marquee__track, .callbar::after { animation: none; }
}

/* Deluxe Locksmith MO — site layer on top of prototipos/b-bento/styles.css (the approved direction B).
   Only what the inner pages need that the homepage prototype did not have. */

/* header as generated: current page is a span, not a link */
.nav span[aria-current], .header__top nav span[aria-current] { padding: 10px 14px; border-radius: 12px; font-weight: 600; font-size: 15px; color: var(--crimson-2); background: var(--blush); }
.header__top nav span[aria-current] { padding: 0; background: none; }
span.header-sos[aria-current] { box-shadow: inset 0 0 0 1.5px var(--crimson); }
.nav-drawer .nav-group { padding: 6px 0 10px; }
.nav-drawer .nav-group p { margin: 10px 6px 4px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--crimson-2); }
.nav-drawer span[aria-current] { display: block; padding: 14px 6px; font-size: 18px; font-weight: 600; color: var(--crimson-2); border-bottom: 1px solid var(--line); }

/* breadcrumbs (visible links, not only JSON-LD — BLOQUE 19.10) */
.crumbs { margin-bottom: 18px; font-size: 13.5px; color: var(--ink-3); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; }
.crumbs li:not(:last-child)::after { content: "/"; margin: 0 8px; opacity: .5; }
.crumbs a { color: var(--ink-2); }
.crumbs a:hover { color: var(--crimson); }
.crumbs span[aria-current] { color: var(--ink); font-weight: 600; }

/* hero variants */
.hero__copy h1 { font-size: clamp(1.9rem, 4.2vw, 3.6rem); }
.hero:not(:has(.hero__bento)) .hero__in { grid-template-columns: minmax(0, 1fr); }
.hero:not(:has(.hero__bento)) .hero__copy { max-width: 880px; }
div.tile:hover { transform: none; }
/* "Residentia / l" en el movil (2026-09-22): con Unbounded a 18,4px la palabra mas
   larga de una tarjeta ("Williamsburg", "Replacement": 154px) no cabe en los 125px
   de la tarjeta a 375px, y `anywhere` la partia por cualquier letra. A 3,84vw mide
   120px y cabe; por debajo de eso, guion de verdad (html lang="en") en vez de un
   corte a mitad de palabra. */
.tile strong { overflow-wrap: break-word; hyphens: auto; }
@media (max-width: 520px) { .tile strong { font-size: clamp(12px, 3.84vw, 1.15rem); } }

/* section heads & group titles */
.grupo { display: flex; align-items: center; gap: 10px; margin: 34px 0 14px; font-size: 1.15rem; }
.sec-head + .grupo, .wrap > .grupo:first-child { margin-top: 0; }
.grupo .ic { color: var(--crimson); width: 22px; height: 22px; }
.grupo--h2 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
.grupo a:hover { color: var(--crimson); }
.band--night .grupo, .band--red .grupo { color: #fff; }
.band--night .grupo .ic { color: var(--gold-2); }
.rule-h2 { margin-bottom: 18px; font-size: clamp(1.4rem, 2.6vw, 2rem); }
.more { margin-top: 26px; }
.link-arrow--light { color: var(--gold-2); }

/* service cards grid */
.svc-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.svc-card { position: relative; display: grid; grid-template-columns: 46px minmax(0, 1fr); column-gap: 14px; row-gap: 4px; align-items: start; height: 100%; padding: 18px 44px 18px 18px; border-radius: 22px; background: var(--white); box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 16px 36px -26px rgba(124, 9, 21, .45); transition: transform .3s var(--ease), box-shadow .3s; }
.band--white .svc-card { background: var(--paper); box-shadow: none; }
.band--night .svc-card { background: var(--night-2); color: #fff; }
.svc-card:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -22px rgba(124, 9, 21, .5); }
.svc-card .badge { grid-row: span 2; }
.svc-card strong { font-family: var(--f-display); font-size: 1rem; font-weight: 700; line-height: 1.25; letter-spacing: -.01em; }
.svc-card small { font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.band--night .svc-card small { color: rgba(255, 255, 255, .72); }
.svc-card__go { position: absolute; right: 16px; top: 18px; color: var(--crimson); opacity: .5; transition: opacity .25s, transform .25s var(--ease); }
.svc-card:hover .svc-card__go { opacity: 1; transform: translateX(3px); }

/* pills: link lists (towns, counties, services) — a hub never truncates its list */
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; font-weight: 600; font-size: 15px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); transition: background .2s, color .2s, transform .2s var(--ease); }
.band--white .pills a { background: var(--paper); box-shadow: none; }
.band--night .pills a { background: var(--night-3); color: #fff; box-shadow: none; }
.pills a:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }
.pills .ic { width: 16px; height: 16px; color: var(--crimson); }
.pills a:hover .ic { color: var(--gold-2); }
.pills small { font-size: 12px; opacity: .7; }

/* generated prose: chopped, never a wall (BLOQUE 21.3) */
[data-prose].stack { display: grid; gap: 16px; max-width: 820px; }
[data-prose].stack > p { font-size: 1.06rem; color: var(--ink-2); }
.band--night [data-prose].stack > p { color: rgba(241, 242, 245, .82); }
[data-prose] .rule-h2 { position: relative; margin: 18px 0 0; padding-left: 18px; font-size: clamp(1.15rem, 2vw, 1.45rem); }
[data-prose] .rule-h2::before { content: ""; position: absolute; left: 0; top: .2em; bottom: .2em; width: 5px; border-radius: 4px; background: linear-gradient(var(--crimson), var(--gold)); }
.band--night [data-prose] .rule-h2 { color: #fff; }
.panel-nota { padding: 20px 22px; border-radius: 20px; background: var(--blush); box-shadow: inset 4px 0 0 var(--crimson); }
.band--blush .panel-nota { background: var(--white); }
.band--night .panel-nota { background: var(--night-2); box-shadow: inset 4px 0 0 var(--gold); }
.panel-nota p { color: var(--ink); }
.band--night .panel-nota p { color: #fff; }
.pull { margin: 28px 0 0; max-width: 34ch; font-family: var(--f-display); font-size: clamp(1.2rem, 2.4vw, 1.7rem); line-height: 1.3; color: var(--crimson-2); }

/* generated FAQ (details/summary) */
[data-faq] { display: grid; gap: 12px; max-width: 880px; }
[data-faq] details { border-radius: 20px; background: var(--white); box-shadow: 0 12px 30px -24px rgba(18, 20, 26, .5); }
.band--white [data-faq] details { background: var(--paper); box-shadow: none; }
[data-faq] summary { position: relative; padding: 20px 64px 20px 22px; cursor: pointer; list-style: none; font-weight: 700; font-size: 1.05rem; }
[data-faq] summary::-webkit-details-marker { display: none; }
[data-faq] summary::after { content: "+"; position: absolute; right: 18px; top: 50%; width: 34px; height: 34px; margin-top: -17px; display: grid; place-items: center; border-radius: 10px; font-size: 22px; font-weight: 500; color: #fff; background: var(--crimson); transition: transform .3s var(--ease), background .3s; }
[data-faq] details[open] summary::after { transform: rotate(45deg); background: var(--ink); }
[data-faq] .faq-body { padding: 0 22px 22px; color: var(--ink-2); }

/* stats with a count other than four */
.stat-bento--even { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.band--night .stat { background: var(--night-2); color: #fff; }
.band--night .stat .stat__lbl { color: rgba(255, 255, 255, .72); }
.band--night .stat--xl { background: var(--night-3); }
.band--night .stat--wide { background: var(--blush); color: var(--ink); }
.band--night .stat--wide .stat__lbl { color: var(--ink-2); }
.band--night .stat--red { background: var(--crimson); }

/* features inside any band; photo variant */
.feature + .feature { margin-top: clamp(56px, 8vw, 96px); }
.ph--foto { background: var(--night-2); }
/* El <picture> es una caja en medio: sin esto, el `height: 100%` del <img> cuelga
   de un elemento sin altura y la foto se pinta de 0 px (lo vi al envolver la
   imagen para servir el recorte de movil). */
.ph--foto picture { display: block; width: 100%; height: 100%; }
.ph--foto img { width: 100%; height: 100%; object-fit: cover; }
.band--blush .feature__txt > p:not(.tag), .band--white .feature__txt > p:not(.tag) { margin-top: 14px; color: var(--ink-2); }

/* blog */
.post-grid--all { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.post--light { background: var(--paper); }
.post--light strong { color: var(--ink); }
.post--light:hover { background: var(--blush); }
.post small { padding: 0 8px; font-size: 14.5px; line-height: 1.45; color: var(--ink-2); }
.post-body { max-width: 860px; }
.relacionado { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 18px; align-items: start; max-width: 860px; padding: 26px; border-radius: 26px; background: var(--white); }
.relacionado .badge { width: 56px; height: 56px; border-radius: 16px; }
.relacionado h3 { margin: 4px 0 8px; font-size: 1.3rem; }
.relacionado p:not(.tag) { color: var(--ink-2); }
.relacionado .link-arrow { margin-top: 14px; }

/* contact + form */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.contact-side h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 14px; }
.contact-side p { margin-top: 14px; color: var(--ink-2); }
.contact-side .contact-call { margin-top: 14px; }
.reqform, .formfall { display: grid; gap: 16px; padding: clamp(22px, 4vw, 34px); border-radius: 28px; background: var(--paper); }
.formfall p { color: var(--ink-2); }
.field { display: grid; gap: 6px; font-weight: 600; font-size: 15px; }
.field input, .field select, .field textarea { width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 14px; font: inherit; font-weight: 400; background: var(--white); color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--crimson); outline-offset: 1px; border-color: transparent; }
.form-note { font-size: 13px; font-weight: 400; color: var(--ink-3); }
.form-status { min-height: 1.4em; font-weight: 600; color: var(--crimson-2); }
.form-status.form-error { color: #9b1020; }
.btn--red { background: var(--crimson); color: #fff; box-shadow: 0 14px 30px -12px rgba(224, 24, 45, .7); }
.hours { width: 100%; max-width: 420px; margin-top: 18px; border-collapse: collapse; }
.hours th, .hours td { padding: 10px 0; text-align: left; border-bottom: 1px solid var(--line); }
.hours td { text-align: right; color: var(--ink-2); }

/* legal */
.legal { max-width: 820px; display: grid; gap: 12px; }
.legal .grupo--h2 { margin-top: 22px; }
.legal p { color: var(--ink-2); }

/* real job photos gallery (when there are photos) */
.shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.shot { margin: 0; border-radius: 22px; overflow: hidden; aspect-ratio: 3 / 2; background: var(--night-2); }
.shot--vertical { aspect-ratio: 3 / 4; }
.shot img { width: 100%; height: 100%; object-fit: cover; }

/* footer with five columns */
.footer__grid { grid-template-columns: minmax(0, 1.3fr) repeat(5, minmax(0, 1fr)); gap: 28px; }
/* Los de emergencia dentro del bloque rojo del menu (2026-09-25). */
.mega__sos-list { display: grid; gap: 2px; margin: 2px 0 4px; }
.mega__sos-list a { display: block; padding: 3px 0; font-size: 14px; font-weight: 600; color: #fff; opacity: .92; }
.mega__sos-list a:hover, .mega__sos-list span[aria-current] { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.footer__grid div > span[aria-current] { display: block; padding: 5px 0; font-size: 15px; font-weight: 600; color: var(--crimson-2); }
.footer__legal span[aria-current] { font-weight: 600; color: var(--crimson-2); }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

@media (max-width: 1099px) {
  .footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 899px) {
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .post-grid--all { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 599px) {
  .post-grid--all { grid-template-columns: minmax(0, 1fr); }
  .footer__grid { grid-template-columns: minmax(0, 1fr); }
  .svc-cards { grid-template-columns: minmax(0, 1fr); }
  .relacionado { grid-template-columns: minmax(0, 1fr); }
}

/* Saltar al contenido (revision tecnica 2026-09-21): invisible hasta que recibe el foco. */
.skip-link { position: absolute; left: -9999px; top: 12px; z-index: 1000; padding: 10px 14px; border-radius: 10px; background: #fff; color: var(--ink); font-weight: 700; box-shadow: 0 4px 18px rgba(18, 20, 26, .18); }
.skip-link:focus { left: 16px; }

/* CONTRASTE AA (revision tecnica ronda 2, 2026-09-22).
   - La etiqueta de la cifra roja salia a rgba(255,255,255,.72) sobre crimson: 3,02:1
     en 1.050 paginas. Blanco solido sobre #e0182d = 4,84:1.
   - La banda roja arrancaba en #ef2b40 (4,13:1 con blanco): arranca en el crimson de
     marca, y su texto va en blanco solido. */
.stat--red .stat__lbl, .band--night .stat--red .stat__lbl { color: #fff; }
.band--red { background: linear-gradient(150deg, var(--crimson) 0%, var(--crimson-2) 55%, var(--crimson-3) 100%); }
.band--red .lead, .band--red p { color: #fff; }
.cta p { opacity: 1; }

/* La barra de llamada escondida no puede recibir el foco (solo se movia con transform). */
.js-callbar .callbar:not(.is-on) { visibility: hidden; transition: transform .45s var(--ease), visibility 0s linear .45s; }
.js-callbar .callbar.is-on { visibility: visible; transition: transform .45s var(--ease), visibility 0s; }

/* CONTRASTE DE LAS TARJETAS DE CONDADO (revision tecnica ronda 3, 2026-09-22): el
   cristal BLANCO al 14 % aclaraba el rojo y el texto pequeno quedaba a 3,46:1.
   Cristal OSCURO y texto blanco solido; y las manchas claras de la banda roja,
   mas suaves, para que no bajen el blanco por debajo de AA en su centro. */
.band--red .county { background: rgba(0, 0, 0, .16); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }
.band--red .county:hover { background: rgba(0, 0, 0, .24); }
.band--red .county small, .band--red .county strong { color: #fff; }
.mesh--red i:nth-child(1) { opacity: .28; }
.mesh--red i:nth-child(2) { opacity: .2; }

/* ============================================================ MENU (BLOQUE 23.1) ==
   Desplegables con imagen en escritorio, "Menu"/"Close" en el boton, cajon movil
   con tarjetas arriba y scroll propio que cabe en la pantalla. */
.header__in { position: relative; }
.nav { align-items: center; }
.nav-dd { position: static; }
.nav-dd > summary { display: inline-flex; align-items: center; gap: 4px; padding: 10px 12px 10px 14px; border-radius: 12px; font-weight: 500; font-size: 15px; color: var(--ink-2); cursor: pointer; list-style: none; transition: background .2s, color .2s; }
.nav-dd > summary::-webkit-details-marker { display: none; }
.nav-dd > summary:hover, .nav-dd[open] > summary { background: var(--paper); color: var(--ink); }
.nav-dd__chev { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.nav-dd[open] .nav-dd__chev { transform: rotate(180deg); }
.nav > a, .nav > span[aria-current] { padding: 10px 12px; }

.mega { position: absolute; left: 0; right: 0; top: calc(100% + 10px); z-index: 60; padding: 22px; border-radius: 22px; background: var(--white); box-shadow: 0 30px 70px -24px rgba(18, 20, 26, .45), 0 0 0 1px var(--line); }
.mega--svc { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.05fr); gap: 20px; }
.mega__head { display: grid; gap: 10px; margin-bottom: 8px; font-family: var(--f-display); font-weight: 700; font-size: 15px; color: var(--ink); }
.mega__head:hover { color: var(--crimson-2); }
.mega ul { display: grid; gap: 2px; }
.mega__col a, .mega__col span[aria-current] { display: flex; align-items: center; gap: 9px; padding: 8px 8px; border-radius: 10px; font-size: 14.5px; font-weight: 500; color: var(--ink-2); }
.mega__col a:hover { background: var(--paper); color: var(--ink); }
.mega__col .ic { width: 18px; height: 18px; flex: 0 0 18px; color: var(--crimson); }
.mega__sos { display: grid; align-content: start; gap: 10px; padding: 18px; border-radius: 18px; color: #fff; background: linear-gradient(150deg, var(--crimson) 0%, var(--crimson-2) 60%, var(--crimson-3) 100%); }
.mega__sos-t { display: flex; align-items: center; gap: 8px; font-family: var(--f-display); font-weight: 700; font-size: 16px; }
.mega__sos-t .ic { width: 20px; height: 20px; color: var(--gold-2); }
.mega__sos p { color: #fff; }
.mega__sos .btn { justify-content: center; padding: 13px 16px; background: #fff; color: var(--crimson-2); box-shadow: none; }
.mega__more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; }
.mega__sos .mega__more { color: #fff; }
.mega__more .ic { width: 16px; height: 16px; }
.mega--areas ul { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-bottom: 14px; }
.mega--areas li a, .mega--areas li span[aria-current] { display: grid; grid-template-columns: 18px minmax(0, 1fr); column-gap: 8px; align-items: center; padding: 10px; border-radius: 12px; background: var(--paper); color: var(--ink); font-weight: 600; font-size: 14.5px; }
.mega--areas li a:hover { background: var(--blush); }
.mega--areas li .ic { width: 16px; height: 16px; color: var(--crimson); grid-row: span 2; }
.mega--areas li small { grid-column: 2; font-size: 12.5px; font-weight: 500; color: var(--ink-3); }
.mega--areas .mega__more { color: var(--crimson-2); }

/* la miniatura: foto si la hay (480x320), si no el panel de marca */
.mini { display: grid; place-items: center; width: 100%; aspect-ratio: 3 / 2; border-radius: 14px; object-fit: cover; color: #fff; background: linear-gradient(145deg, var(--crimson) 0%, var(--crimson-3) 100%); }
.mini__ic { width: 34%; height: auto; max-width: 56px; aspect-ratio: 1; }
/* En el desplegable, `.mega__col .ic` (18px, crimson) le ganaba a `.mini__ic` y el
   icono salia diminuto y ROJO sobre el panel rojo: invisible (revision ronda 1). */
.mega .mini .mini__ic, .nav-drawer .mini .mini__ic { width: 34%; height: auto; max-width: 56px; flex: none; color: #fff; }
.mini--automotive { background: radial-gradient(120% 120% at 20% 10%, #ff5b6c 0%, var(--crimson) 45%, var(--crimson-3) 100%); }
.mini--residential { background: radial-gradient(120% 120% at 80% 0%, var(--gold-2) 0%, var(--gold) 35%, var(--crimson-2) 100%); }
.mini--commercial { background: radial-gradient(120% 120% at 10% 90%, var(--night-3) 0%, var(--night) 60%, var(--crimson-3) 140%); }
.mini--about { background: linear-gradient(145deg, var(--night-3), var(--night)); }
.mini--faq { background: linear-gradient(145deg, var(--gold), var(--crimson-2)); }
.mini--blog { background: linear-gradient(145deg, #ff5b6c, var(--crimson-2)); }
.mini--contact { background: linear-gradient(145deg, var(--crimson), var(--crimson-3)); }

/* el boton: dice lo que hace */
.nav-toggle { flex: 0 0 auto; width: auto; gap: 8px; padding: 0 14px 0 12px; font-weight: 700; font-size: 15px; }
.nav-toggle__cerrar { display: none; }
.site-header[data-open="true"] .nav-toggle__abrir { display: none; }
.site-header[data-open="true"] .nav-toggle__cerrar { display: block; }

/* el cajon: fijo, cabe en la pantalla y tiene scroll propio; la pagina no se mueve */
.nav-drawer { position: fixed; top: calc(var(--header-h) + 6px); bottom: 12px; max-height: none; overflow-y: auto; overscroll-behavior: contain; }
/* SOLO en html (revision del menu, ronda 1): con `body { overflow: hidden }` el body
   pasaba a ser el contenedor de scroll, la cabecera sticky dejaba de pegarse y, con
   la pagina bajada, el boton Close quedaba fuera de la pantalla: en un movil no
   habia forma de cerrar. */
html.menu-abierto { overflow: hidden; }
.site-header[data-open="true"] ~ .callbar { display: none !important; }
.drawer-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 8px 0 14px; border-bottom: 1px solid var(--line); }
.nav-drawer a.drawer-tile, .nav-drawer span.drawer-tile { display: grid; gap: 6px; padding: 10px; border: 0; border-radius: 16px; background: var(--paper); font-size: 16px; }
.drawer-tile strong { font-family: var(--f-display); font-size: 15px; line-height: 1.1; }
.drawer-tile small { font-size: 12.5px; color: var(--ink-3); }
.nav-drawer .nav-group p { display: flex; align-items: center; gap: 8px; }
.nav-drawer .nav-group p .ic { width: 15px; height: 15px; }
.nav-drawer .nav-group a, .nav-drawer .nav-group span[aria-current] { display: flex; align-items: center; gap: 10px; }
.nav-drawer .nav-group a .ic, .nav-drawer .nav-group span[aria-current] .ic { width: 18px; height: 18px; flex: 0 0 18px; color: var(--crimson); }
.nav-drawer .nav-group small { margin-left: auto; font-size: 13px; color: var(--ink-3); }

/* El logo no se deforma cuando la marca cede ancho (revision del menu, ronda 1:
   hasta un 17% aplastado entre 320 y 334 px con barra de scroll). */
/* `object-fit` es lo unico que hacia falta: la altura de 42 px ya la pone el
   @media de 519 px, y repetirla a 359 px era codigo muerto (ronda 2 del revisor,
   comprobado con el evaluador de cascada: a 320, 340 y 375 px ya salia 42px). */
.brand img { object-fit: contain; object-position: left center; max-width: 100%; }

/* ===================== EL MAPA DEL SITIO (BLOQUE 23.2) =====================
   El cliente de All American lo pidio con estas palabras: "All the pages need
   sitemap, it's a requirement". Aqui se ve entero: nada de alturas fijas ni de
   overflow escondido, porque una lista recortada es una lista que miente. */
.mapa { display: grid; gap: 22px; }
.mapa--cols { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.mapa__bloque h3 { margin: 0 0 8px; font-family: var(--f-display); font-size: 19px; line-height: 1.2; }
.mapa__bloque h3 small { margin-left: 8px; font-family: var(--f-text); font-size: 13px; font-weight: 500; color: var(--ink-3); }
.mapa__lista { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
.mapa__lista > li { padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.mapa__lista > li:last-child { border-bottom: 0; }
.mapa__lista a { color: var(--ink); }
.mapa__lista a:hover { color: var(--crimson-2); }
.mapa__lista [aria-current] { font-weight: 700; color: var(--crimson-2); }
/* Las hojas de cada pueblo, en su misma entrada y separadas por puntos. */
.mapa__hijas { display: block; margin-top: 3px; font-size: 13.5px; line-height: 1.7; color: var(--ink-3); }
.mapa__hijas a { color: var(--ink-3); }
.mapa__hijas a:hover { color: var(--crimson-2); }
@media (min-width: 780px) { .mapa__lista--pueblos > li { display: grid; grid-template-columns: minmax(150px, 220px) 1fr; gap: 10px; align-items: baseline; } .mapa__hijas { margin-top: 0; } }

/* ============ LA FOTO DEL PUEBLO (BLOQUE 23.4) ============================
   21 de los 101 pueblos tienen foto libre; los otros 80 no ensenan nada.
   Recorte 3:2 comun: en Commons hay de todo (torres en vertical, panoramicas
   de rio) y cuatro proporciones seguidas se ven desordenadas. La atribucion
   va debajo y se lee: la licencia CC la exige. */
.foto-pueblo { margin: 34px 0 0; max-width: 880px; }
.foto-pueblo picture { display: block; border-radius: 22px; overflow: hidden; background: var(--paper); box-shadow: 0 18px 44px rgba(18, 20, 26, .16); outline: 1px solid var(--line); outline-offset: -1px; }
.foto-pueblo img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.foto-pueblo figcaption { margin-top: 10px; font-size: 13px; line-height: 1.5; color: var(--ink-3); }
.foto-pueblo figcaption a { color: inherit; text-decoration: underline; text-underline-offset: 2px; overflow-wrap: anywhere; }

/* Los saltos de seccion del mapa y el condado que SI parece un enlace
   (avisos del revisor del mapa: 26 pantallas sin un solo ancla, y los 12
   titulares de condado con el mismo color que el texto de al lado). */
.mapa__saltos { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.mapa__saltos a { display: inline-flex; align-items: center; padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--crimson-2); background: var(--blush); }
.mapa__saltos a:hover { background: var(--crimson); color: #fff; }
.mapa__bloque h3 a { color: var(--crimson-2); }
.mapa__bloque h3 a:hover { text-decoration: underline; text-underline-offset: 3px; }
/* Las fotos de trabajo van dentro de <picture> (recorte de movil): el
   envoltorio tiene que ocupar la figura entera, o la imagen sale a 0 px. */
.shot picture, .obra__foto picture { display: block; width: 100%; height: 100%; }

/* ============ LOS TRABAJOS HECHOS (/projects/, 2026-09-23) ================
   Una ficha por trabajo: foto real (o dos del mismo trabajo), titulo por
   servicio y lo que se ve. Movil primero: una columna; dos desde 760 px; tres
   desde 1.100. Sin alturas fijas. */
.obras { display: grid; gap: 18px; }
.obra { border-radius: 22px; overflow: hidden; background: var(--white); box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 16px 36px -26px rgba(124, 9, 21, .45); }
.band--white .obra { background: var(--paper); box-shadow: none; }
.obra__fotos { display: grid; gap: 2px; background: var(--paper); }
.obra__fotos--par { grid-template-columns: 1fr 1fr; }
.obra__foto { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; }
.obra__foto--vertical { aspect-ratio: 3 / 4; }
.obra__foto img { display: block; width: 100%; height: 100%; object-fit: cover; }
.obra__texto { padding: 16px 18px 18px; }
.obra__texto h3 { margin: 0 0 6px; font-family: var(--f-display); font-size: 19px; line-height: 1.25; }
.obra__texto p { margin: 0 0 10px; color: var(--ink-2); }
.obra__pie { font-size: 14px; color: var(--ink-3); }
.shots__mas { margin: 16px 0 0; }
@media (min-width: 760px) { .obras { grid-template-columns: repeat(2, 1fr); gap: 22px; } }
@media (min-width: 1100px) { .obras { grid-template-columns: repeat(3, 1fr); } }

/* EL BOTON DEL FORMULARIO (2026-09-23). Es un <button>, no un <a>: sin esto
   lleva el borde gris del navegador bajo el rojo. En escritorio no se estira a
   toda la columna (es un elemento de rejilla): queda como los demas botones. */
.reqform button.btn { border: 0; cursor: pointer; font: inherit; -webkit-appearance: none; appearance: none; }
@media (min-width: 760px) { .reqform .btn { justify-self: start; } }

/* ============ EL BOTON DE EMAIL EN LA CABECERA (2026-09-23) ================
   Cesar: "the email button has to be in all pages, in the top part next to the
   menu". Va al formulario de /contact/ (el buzon es privado: nunca un mailto).
   Mismo tamano que el de llamada; claro para no competir con el negro del
   telefono. En movil se queda el icono; por debajo de 360 px no cabe sin
   aplastar el logo, y el contacto sigue a un toque en el menu. */
.header-mail { display: inline-flex; align-items: center; gap: 8px; padding: 12px 16px; border-radius: 14px; font-weight: 700; color: var(--ink); background: var(--paper); white-space: nowrap; transition: background .2s, color .2s, transform .2s; }
.header-mail:hover { background: var(--blush); color: var(--crimson-2); transform: translateY(-1px); }
.header-mail .ic { width: 20px; height: 20px; }
@media (max-width: 1099px) {
  .header-mail { margin-left: auto; }
  .header-call { margin-left: 0; }
}
@media (max-width: 519px) {
  .header__in { gap: 10px; }
  .header-mail span { display: none; }
  .header-mail { padding: 12px; }
}
@media (max-width: 359px) {
  .header-mail { display: none; }
}
/* Con el boton de email, a 1280 px "Our work" se partia en dos lineas: los
   enlaces de la barra no se parten, y entre 1100 y 1279 (barra completa y
   poco sitio) el boton de email se queda en icono. */
.nav a, .nav > span[aria-current], .nav-dd > summary { white-space: nowrap; }
@media (min-width: 1100px) and (max-width: 1279px) {
  .header-mail span { display: none; }
  .header-mail { padding: 12px; }
}

/* ============ LAS QUEJAS DE LA CLIENTA, 2026-09-24 (desde su telefono) ======
   1. "PICS IN THE MENU TOO BIG". Medido en un movil de 412 px: cada foto del
      cajon salia a 153x320 (MAS ALTA QUE ANCHA) y cada tarjeta a 389 px: habia
      que bajar 1.300 px de fotos para llegar a los servicios. La causa: el
      height="320" del HTML ganaba al aspect-ratio 3/2 porque el CSS solo tocaba
      el ancho. `height: auto` lo arregla en el cajon y en el desplegable, y en
      el movil las tarjetas pasan a filas compactas: foto pequena a la izquierda. */
.mini { height: auto; }
.drawer-tiles { gap: 8px; }
.nav-drawer a.drawer-tile, .nav-drawer span.drawer-tile { grid-template-columns: 44px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 10px; row-gap: 1px; align-items: center; align-content: center; padding: 8px; }
.nav-drawer .drawer-tile .mini { grid-row: 1 / 3; width: 44px; height: 44px; aspect-ratio: 1; border-radius: 12px; }
.nav-drawer .drawer-tile .mini .mini__ic { width: 22px; max-width: 22px; }
.drawer-tile strong { font-size: 14px; align-self: end; }
.drawer-tile small { font-size: 12px; line-height: 1.25; align-self: start; }
@media (max-width: 359px) {
  .nav-drawer a.drawer-tile, .nav-drawer span.drawer-tile { grid-template-columns: 34px minmax(0, 1fr); column-gap: 8px; }
  .nav-drawer .drawer-tile .mini { width: 34px; height: 34px; border-radius: 10px; }
  .drawer-tile strong { font-size: 13px; }
}
@media (min-width: 600px) { .drawer-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 760px) { .drawer-tiles { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

/* 2. LA CINTA: "it cuts off... it doesn't move constantly like on the computer".
      Medido en un movil emulado: se mueve, PERO se para en cuanto se toca. La
      pausa al pasar el raton (`.marquee:hover`) en una pantalla tactil se queda
      pegada tras el primer toque, y al hacer scroll el dedo pasa por encima: la
      cinta se quedaba quieta ensenando las dos primeras palabras. Sin raton de
      verdad, nunca se pausa. */
@media (hover: none), (pointer: coarse) {
  .marquee:hover .marquee__track { animation-play-state: running; }
}
/* Y con "reducir animaciones" activado en el telefono NO se mueve (es lo que la
   persona ha pedido a su telefono), pero tampoco corta: se ensenan todas las
   palabras en varias lineas y la copia duplicada desaparece. */
@media (prefers-reduced-motion: reduce) {
  .marquee__track { width: auto; }
  .marquee__list { flex: 1 1 auto; flex-wrap: wrap; justify-content: center; padding-inline: 16px; }
  .marquee__list[aria-hidden="true"] { display: none; }
}
/* 3. EL CONTRASTE DE LAS PASTILLAS ROJAS (PageSpeed, 2026-09-27: accesibilidad 96
      por "Smart locks"). El texto de la banda oscura, #f1f2f5, sobre --crimson da
      4,32:1 y a 14 px hacen falta 4,5:1; en blanco puro da 4,84:1. */
.marquee__list li:nth-child(3n+1) { color: #fff; }

/* 3. EL DESPLEGABLE DE ESCRITORIO tenia el mismo fallo (visto al comprobar el
      arreglo del cajon, 2026-09-24): fotos de 240x320 y la cabecera de cada
      columna cortada en "Aut" / "Res" / "Co", porque `.mega__col a` (display
      flex) ganaba a `.mega__head` (grid) por especificidad. Foto encima, nombre
      entero debajo. */
.mega__col a.mega__head, .mega__col span.mega__head { display: grid; gap: 10px; padding: 0 0 6px; margin-bottom: 6px; border-radius: 0; background: none; font-family: var(--f-display); font-weight: 700; font-size: 15px; color: var(--ink); }
.mega__col a.mega__head:hover { background: none; color: var(--crimson-2); }
.mega__col span.mega__head { color: var(--crimson-2); }

/* ============ EL FORMULARIO, BIEN EN EL TELEFONO Y EN EL ORDENADOR ==========
   (2026-09-24, Cesar: "optimized for both computer and phone, very well fitted
   with the theme"). Lo que cambia:
   - letra de 16 px en los campos: con 15, el iPhone AMPLIA LA PAGINA al tocar un
     campo y hay que pellizcar para volver;
   - campos de 52 px de alto (dedo), el desplegable con la flecha del tema en vez
     de la del sistema, y el area de texto que solo crece hacia abajo;
   - en el movil el boton ocupa todo el ancho; en escritorio, a la izquierda. */
.field input, .field select, .field textarea { font-size: 16px; line-height: 1.4; min-height: 52px; border-color: rgba(18, 20, 26, .14); transition: border-color .2s, box-shadow .2s; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(18, 20, 26, .28); }
.field textarea { min-height: 128px; resize: vertical; }
.field select { -webkit-appearance: none; appearance: none; padding-right: 46px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b30f21' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9.5l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 20px; }
.field > span { font-size: 15px; }
.reqform .btn { justify-content: center; min-height: 54px; font-size: 17px; }
@media (max-width: 759px) {
  .reqform { padding: 22px 18px; border-radius: 24px; }
  .reqform .btn { width: 100%; }
  .contact-side { padding-top: 6px; }
}
/* En escritorio, el panel de la llamada acompana al formulario mientras se
   rellena, en vez de quedarse arriba con un hueco blanco debajo. */
@media (min-width: 900px) {
  .contact-grid .contact-side { position: sticky; top: calc(var(--header-h) + 28px); }
}

/* LOS ENLACES DENTRO DEL TEXTO (Wendy, 2026-09-24: "there's no internal link in
   the text on any pages"). Se leen como enlace sin gritar: el color de la marca,
   subrayado fino; en las bandas oscuras, oro. */
[data-prose] a.en-texto { color: var(--crimson-2); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .2s, text-decoration-color .2s; }
[data-prose] a.en-texto:hover { color: var(--crimson); text-decoration-thickness: 2px; }
.band--night [data-prose] a.en-texto { color: var(--gold-2); }
.band--night [data-prose] a.en-texto:hover { color: #fff; }
.band--red [data-prose] a.en-texto { color: #fff; }

/* EL CORREO PUBLICO (2026-09-24): en el pie de todas las paginas, junto al
   formulario y en /contact/. Se parte si no cabe (320 px) en vez de salirse. */
.footer__mail { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.footer__mail .ic { width: 18px; height: 18px; flex: none; color: var(--crimson); }
.footer__mail:hover { color: var(--crimson-2); }
/* Mas especifico que `.footer__grid div > a:not(.btn) { display: block }` del
   prototipo, que ponia el sobre en una linea y el correo en otra. */
.footer__grid .footer__brand a.footer__mail { display: flex; padding: 0; font-size: 15px; color: var(--ink); }
.contact-mail a, .formfall a[href^="mailto:"]:not(.btn) { color: var(--crimson-2); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.formfall__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.formfall__btns .btn .ic { width: 20px; height: 20px; }
@media (max-width: 519px) { .formfall__btns .btn { flex: 1 1 100%; justify-content: center; } }

/* ======================================================= LAS GUIAS DEL BLOG
   (2026-09-24, Wendy: "actually helpful stuff", modelo 1st Capital). Una guia se
   lee como un articulo de verdad: foto en la cabecera, respuesta corta arriba,
   indice que acompana al leer, pasos numerados, avisos de "no lo hagas". */

/* cabecera de la guia: texto + foto */
.guia-hero__in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.guia-hero h1 { font-size: clamp(1.75rem, 3.3vw, 2.85rem); }
.guia-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-top: 14px; font-size: 14px; font-weight: 600; color: var(--ink-3); }
.guia-meta .ic { width: 17px; height: 17px; color: var(--crimson); }
.guia-hero .hero__sub { margin-top: 12px; }
.guia-hero__foto { margin: 0; aspect-ratio: 4 / 5; max-height: 560px; border-radius: 30px; overflow: hidden; background: var(--night-2); box-shadow: 0 30px 60px -34px rgba(18, 20, 26, .55); }
.guia-hero__foto picture { display: block; width: 100%; height: 100%; }
.guia-hero__foto img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 899px) {
  .guia-hero__in { grid-template-columns: minmax(0, 1fr); }
  .guia-hero__foto { aspect-ratio: 4 / 3; max-height: none; border-radius: 24px; }
}

/* cuerpo: indice al lado, articulo */
.guia { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: clamp(28px, 4.5vw, 64px); align-items: start; }
.guia__lado { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 14px; }
.guia__art { max-width: 760px; min-width: 0; }
.guia-toc { padding: 18px 20px; border-radius: 22px; background: var(--paper); }
.guia-toc__t { margin-bottom: 8px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--crimson-2); }
.guia-toc ol { counter-reset: toc; }
.guia-toc li { counter-increment: toc; border-top: 1px solid var(--line); }
.guia-toc li:first-child { border-top: 0; }
.guia-toc a { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 6px; padding: 8px 0; font-size: 14.5px; font-weight: 600; line-height: 1.35; color: var(--ink-2); transition: color .2s; }
.guia-toc a::before { content: counter(toc); font-family: var(--f-display); font-size: 12px; line-height: 1.6; color: var(--crimson); }
.guia-toc a:hover { color: var(--crimson-2); }
.guia-llamar { display: grid; gap: 10px; padding: 20px; border-radius: 22px; color: #fff; background: var(--night-2); }
.guia-llamar__t { font-family: var(--f-display); font-size: 1.02rem; font-weight: 600; line-height: 1.3; }
.guia-llamar .btn { justify-content: center; }
.guia-llamar .link-arrow { margin-top: 2px; font-size: 14.5px; color: var(--gold-2); }
@media (max-width: 999px) {
  .guia { grid-template-columns: minmax(0, 1fr); }
  .guia__lado { position: static; }
  /* En el movil la barra de llamada fija ya esta abajo: el panel oscuro sobra. */
  .guia-llamar { display: none; }
  .guia__art { max-width: none; }
}

/* la respuesta corta */
.guia-rapido { margin-bottom: 30px; padding: 20px 22px; border-radius: 22px; background: var(--blush); box-shadow: inset 5px 0 0 var(--crimson); }
.guia-rapido__t { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--crimson-2); }
.guia-rapido__t .ic { width: 17px; height: 17px; }
.guia-rapido p { font-size: 1.06rem; line-height: 1.6; color: var(--ink); }
/* Los enlaces escritos en la guia fuera del cuerpo (respuesta corta y FAQ): sin
   esto heredaban `a { color: inherit; text-decoration: none }` y no se veian. */
.guia-rapido a, [data-faq] .faq-body a:not(.en-texto) { color: var(--crimson-2); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.guia-rapido a:hover, [data-faq] .faq-body a:not(.en-texto):hover { color: var(--crimson); text-decoration-thickness: 2px; }

/* el texto */
.guia__txt { color: var(--ink-2); }
.guia__txt > p { margin-top: 16px; }
.guia__txt > p:first-child { margin-top: 0; font-size: 1.08rem; color: var(--ink); }
.guia__txt strong { color: var(--ink); }
.guia-h2 { position: relative; margin-top: 44px; padding-left: 18px; font-size: clamp(1.25rem, 2.3vw, 1.62rem); line-height: 1.2; color: var(--ink); scroll-margin-top: calc(var(--header-h) + 20px); }
.guia-h2::before { content: ""; position: absolute; left: 0; top: .15em; bottom: .15em; width: 5px; border-radius: 4px; background: linear-gradient(var(--crimson), var(--gold)); }
.guia-h2 + * { margin-top: 14px; }
.guia__txt a:not(.en-texto) { color: var(--crimson-2); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.guia__txt a:not(.en-texto):hover { color: var(--crimson); text-decoration-thickness: 2px; }
.guia-lista, .guia-pasos { margin-top: 14px; display: grid; gap: 10px; }
.guia-lista li { position: relative; padding-left: 28px; }
.guia-lista li::before { content: ""; position: absolute; left: 6px; top: .62em; width: 9px; height: 9px; border-radius: 50%; background: var(--crimson); box-shadow: 0 0 0 4px var(--blush); }
.guia-pasos { counter-reset: paso; }
.guia-pasos li { position: relative; counter-increment: paso; padding: 2px 0 0 46px; min-height: 32px; }
.guia-pasos li::before { content: counter(paso); position: absolute; left: 0; top: 0; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px; font-family: var(--f-display); font-size: 14px; font-weight: 700; color: #fff; background: var(--crimson); }
.guia-nota { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; align-items: start; margin-top: 18px; padding: 16px 18px; border-radius: 18px; }
.guia-nota p { color: var(--ink); }
.guia-nota__ic { width: 22px; height: 22px; margin-top: 2px; }
.guia-nota--no { background: #fff1f2; box-shadow: inset 0 0 0 1px rgba(224, 24, 45, .22); }
.guia-nota--no .guia-nota__ic { color: var(--crimson); }
.guia-nota--ok { background: #fdf5e3; box-shadow: inset 0 0 0 1px rgba(233, 180, 76, .45); }
.guia-nota--ok .guia-nota__ic { color: #a8741b; }
.guia-foto { margin: 30px 0 4px; aspect-ratio: 16 / 10; border-radius: 24px; overflow: hidden; background: var(--night-2); }
.guia-foto picture { display: block; width: 100%; height: 100%; }
.guia-foto img { width: 100%; height: 100%; object-fit: cover; }

/* tarjetas de guia (indice, "more guides", portada) */
.guia-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 22px; }
.sec-head + .guia-grid { margin-top: 0; }
.guia-card { position: relative; display: flex; flex-direction: column; border-radius: 24px; overflow: hidden; background: var(--paper); transition: transform .3s var(--ease), box-shadow .3s; }
.band--paper .guia-card, .band--blush .guia-card { background: var(--white); }
.guia-card:hover { transform: translateY(-4px); box-shadow: 0 24px 44px -26px rgba(124, 9, 21, .45); }
.guia-card__foto { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--night-2); }
.guia-card__foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.guia-card:hover .guia-card__foto img { transform: scale(1.04); }
.guia-card__txt { display: flex; flex: 1; flex-direction: column; gap: 8px; padding: 18px 20px 20px; }
.guia-card__tema { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--crimson-2); }
.guia-card__tema .ic { width: 16px; height: 16px; }
.guia-card__h { font-size: 1.06rem; font-weight: 600; line-height: 1.3; letter-spacing: -.015em; }
/* Toda la tarjeta se pulsa: el enlace del titulo la cubre entera. */
.guia-card__h a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.guia-card__h a:focus-visible { outline: none; }
.guia-card:has(.guia-card__h a:focus-visible) { outline: 2px solid var(--crimson); outline-offset: 3px; }
.guia-card__resumen { font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.guia-card__meta { display: flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 4px; font-size: 13px; font-weight: 600; color: var(--ink-3); }
.guia-card__meta .ic { width: 15px; height: 15px; }
.guia-card--grande { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
/* La foto NO manda en la altura (las del cliente son verticales, 3:4, y la
   tarjeta crecia hasta 900 px): la ocupa entera, pero la altura la da el texto. */
.guia-card--grande .guia-card__foto { position: relative; aspect-ratio: auto; min-height: 340px; }
.guia-card--grande .guia-card__foto img { position: absolute; inset: 0; }
.guia-card--grande .guia-card__txt { justify-content: center; gap: 12px; padding: clamp(22px, 3.4vw, 40px); }
.guia-card--grande .guia-card__h { font-size: clamp(1.3rem, 2.4vw, 1.85rem); line-height: 1.2; }
.guia-card--grande .guia-card__resumen { font-size: 16px; }
.guia-card--grande .guia-card__meta { margin-top: 6px; }
.guia-card--oscura { background: var(--night-2); }
.guia-card--oscura:hover { background: var(--night-3); }
.guia-card--oscura .guia-card__h { color: #fff; }
.guia-card--oscura .guia-card__tema { color: var(--gold-2); }
.guia-card--oscura .guia-card__resumen { color: rgba(255, 255, 255, .72); }
.guia-card--oscura .guia-card__meta { color: rgba(255, 255, 255, .6); }
@media (max-width: 999px) { .guia-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 759px) {
  .guia-card--grande { grid-template-columns: minmax(0, 1fr); }
  .guia-card--grande .guia-card__foto { aspect-ratio: 16 / 10; min-height: 0; }
  .guia-card--grande .guia-card__foto img { position: static; }
}
@media (max-width: 639px) { .guia-grid { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 640px) { .guia-grid .guia-card--grande { grid-column: span 2; } }
/* EN EL TELEFONO NINGUN TEXTO BAJA DE 14 PX (puerta movil-navegador): las
   etiquetas de tema y los minutos de lectura estaban a 12-13 px. */
@media (max-width: 759px) {
  .guia-card__tema, .guia-card__meta, .guia-toc__t, .guia-rapido__t { font-size: 14px; letter-spacing: .06em; }
  .guia-card__meta { letter-spacing: 0; }
}
@media (min-width: 760px) { .guia-grid .guia-card--grande .guia-card__foto { min-height: 280px; } }
.guia-grid .guia-card--grande .guia-card__h { font-size: clamp(1.15rem, 1.9vw, 1.45rem); }

/* "Browse by topic" */
.temas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tema { display: flex; flex-direction: column; padding: 22px; border-radius: 24px; background: var(--white); scroll-margin-top: calc(var(--header-h) + 20px); }
.tema__h { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 1.05rem; line-height: 1.25; }
.tema__h .ic { width: 24px; height: 24px; color: var(--crimson); }
.tema ul { display: grid; gap: 2px; }
.tema li a { display: block; padding: 8px 0; border-top: 1px solid var(--line); font-size: 14.5px; font-weight: 600; line-height: 1.4; color: var(--ink-2); transition: color .2s; }
.tema li a:hover { color: var(--crimson-2); }
.tema .link-arrow { margin-top: auto; padding-top: 14px; font-size: 14.5px; }
#temas { scroll-margin-top: var(--header-h); }
@media (max-width: 1099px) { .temas { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .temas { grid-template-columns: minmax(0, 1fr); } }
