/* Sitios de ejemplo de WebCriterio. Una base común y cuatro identidades (t-dental, t-vet, t-auto, t-salon). */
@font-face { font-family: "Manrope"; src: url("/assets/fonts/manrope-latin-var.woff2") format("woff2"); font-weight: 500 800; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("/assets/fonts/dm-sans-latin-var.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Bricolage Grotesque"; src: url("/assets/fonts/bricolage-grotesque-latin-var.woff2") format("woff2"); font-weight: 300 800; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("/assets/fonts/archivo-latin-var.woff2") format("woff2"); font-weight: 300 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("/assets/fonts/fraunces-latin-var.woff2") format("woff2"); font-weight: 300 900; font-display: swap; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.6; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-family: var(--head); color: var(--ink); line-height: 1.12; text-wrap: balance; }
h1 { font-size: clamp(38px, 5vw, var(--h1max, 64px)); letter-spacing: var(--track, -.02em); font-weight: var(--h1w, 750); }
h2 { font-size: clamp(28px, 3vw, 42px); letter-spacing: var(--track, -.02em); font-weight: var(--h2w, 700); }
h3 { font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0; text-wrap: pretty; }
.in { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.ic { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.small { font-size: 14.5px; color: var(--muted); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.concept { display: flex; justify-content: center; gap: 14px; padding: 7px 16px; background: #0a2540; color: #c9d7ea; font: 600 12.5px/1.4 "Manrope", sans-serif; letter-spacing: .01em; }
.concept a { color: #7fe9d6; text-decoration: underline; text-underline-offset: 2px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 50px; padding: 0 22px; border-radius: var(--rb, 10px); border: 1px solid transparent; font: 700 16px/1.2 var(--body); cursor: pointer; transition: transform .2s, background-color .2s, border-color .2s; }
.btn:hover { transform: translateY(-1px); }
.btn-sm { min-height: 42px; padding: 0 16px; font-size: 15px; }
.btn-accent { background: var(--accent); color: var(--on-accent); }
.btn-line { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn-ghost { border-color: rgba(255,255,255,.4); color: #fff; }

.nav { position: sticky; top: 0; z-index: 10; background: var(--nav-bg, var(--bg)); border-bottom: 1px solid var(--line); }
.nav-row { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 800 18px/1 var(--head); color: var(--ink); letter-spacing: -.01em; }
.mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: var(--rm, 10px); background: var(--accent); color: var(--on-accent); }
.mark .ic { width: 20px; height: 20px; }
.links { display: flex; gap: 26px; margin-left: auto; font-weight: 600; font-size: 15.5px; color: var(--text); }
.links a:hover { color: var(--ink); }
.nav-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; color: var(--ink); }
.burger { display: none; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: transparent; color: var(--ink); }

.lead { margin-top: 20px; font-size: clamp(17px, 1.3vw, 20px); max-width: 34em; }
.acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.facts { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 40px 0 0; padding: 0; border-top: 1px solid var(--line); }
.facts li { padding: 16px 16px 0 0; }
.facts li + li { padding-left: 16px; border-left: 1px solid var(--line); }
.facts small { display: block; font-size: 13.5px; color: var(--muted); }
.facts b { display: block; font-size: 16px; color: var(--ink); }

.sec { padding: clamp(64px, 8vw, 104px) 0; }
.head { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 56px; align-items: end; margin-bottom: 40px; }
.head p { max-width: 32em; }
.note { font-size: 14px; color: var(--muted); }
.svcs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--svc-gap, 16px); }
.svc { display: flex; flex-direction: column; justify-content: space-between; gap: 20px; padding: 24px; border-radius: var(--rc, 16px); background: var(--surface); border: 1px solid var(--line); min-height: 172px; }
.svc p { margin-top: 6px; font-size: 15.5px; }
.meta { align-self: flex-start; padding: 4px 11px; border-radius: 999px; background: var(--chip); color: var(--chip-ink); font-size: 13.5px; font-weight: 700; }

.sec-book { background: var(--band); }
.book-grid { display: grid; grid-template-columns: 1fr minmax(0, 460px); gap: 56px; align-items: start; }
.book-copy > p { margin-top: 14px; max-width: 30em; }
.points { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }
.points li { display: flex; gap: 12px; font-weight: 600; color: var(--ink); }
.points .ic { margin-top: 3px; color: var(--accent); stroke-width: 2.4; }
.book-img { margin-top: 32px; border-radius: var(--rc, 16px); aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.widget { padding: 26px; border-radius: var(--rc, 16px); background: var(--surface); border: 1px solid var(--line); box-shadow: 0 30px 60px -20px rgba(15, 30, 50, .25); }
.w-head p { margin-top: 4px; font-size: 15px; color: var(--muted); }
.w-head .w-title { margin: 0; font-family: var(--head); font-size: 20px; font-weight: 700; color: var(--ink); letter-spacing: -.01em; }
.w-label { margin-top: 18px; font-size: 13.5px; font-weight: 700; color: var(--muted); }
.w-days, .w-times, .w-car, .w-sty { display: grid; gap: 8px; margin-top: 16px; }
.w-days { grid-template-columns: repeat(5, 1fr); }
.w-times { grid-template-columns: repeat(4, 1fr); }
.w-car { grid-template-columns: repeat(3, 1fr); }
.w-sty { grid-template-columns: repeat(3, 1fr); }
.chip, .pill, .opt, .stylist { font: 600 14.5px/1.2 var(--body); color: var(--ink); background: var(--bg); border: 1px solid var(--line-strong); border-radius: var(--rs, 10px); cursor: pointer; }
.chip { display: grid; place-items: center; gap: 2px; min-height: 48px; padding: 6px 4px; }
.chip small { font-size: 12px; color: var(--muted); font-weight: 600; }
.chip.on, .pill.on, .opt.on, .stylist.on { border-color: var(--accent); background: var(--chip); color: var(--chip-ink); }
.w-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.pill { min-height: 40px; padding: 0 14px; border-radius: 999px; }
.w-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.opt { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 14px; text-align: left; }
.opt span { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--line-strong); }
.opt.on span { border-color: var(--accent); background: radial-gradient(var(--accent) 45%, transparent 50%); }
.w-result { display: flex; gap: 10px; align-items: center; margin-top: 14px; padding: 12px 14px; border-radius: var(--rs, 10px); background: var(--chip); color: var(--chip-ink); font-weight: 700; font-size: 15px; }
.fld { display: grid; gap: 2px; padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: var(--rs, 10px); background: var(--bg); }
.fld small { font-size: 12px; color: var(--muted); font-weight: 600; }
.fld span { font-weight: 700; color: var(--ink); }
.w-note { margin-top: 12px; min-height: 76px; padding: 12px; border: 1px solid var(--line-strong); border-radius: var(--rs, 10px); background: var(--bg); color: var(--ink); font-size: 15px; }
.stylist { display: grid; justify-items: center; gap: 4px; padding: 14px 6px; }
.stylist .av { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--chip); color: var(--chip-ink); font-family: var(--head); font-size: 18px; font-weight: 700; }
.stylist small { color: var(--muted); font-size: 12.5px; }
.w-btn { width: 100%; margin-top: 20px; }

.sec-reviews { background: var(--bg); }
.revs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.rev { margin: 0; padding: 26px; border-radius: var(--rc, 16px); background: var(--surface); border: 1px solid var(--line); }
.stars { display: flex; gap: 2px; color: var(--star, #f2b705); }
.stars .ic { width: 16px; height: 16px; fill: currentColor; stroke: none; }
.rev blockquote { margin: 14px 0 0; font-family: var(--quote, var(--head)); font-size: 19px; line-height: 1.45; color: var(--ink); }
.rev figcaption { margin-top: 16px; font-size: 14px; color: var(--muted); font-weight: 600; }

.visit { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: center; }
.addr { display: flex; gap: 10px; margin-top: 16px; font-weight: 700; color: var(--ink); }
.addr .ic { color: var(--accent); margin-top: 3px; }
.hours { width: 100%; margin: 20px 0 10px; border-collapse: collapse; font-size: 16px; }
.hours th, .hours td { padding: 10px 0; border-bottom: 1px solid var(--line); text-align: left; }
.hours th { font-weight: 600; color: var(--muted); }
.hours td { text-align: right; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.visit .btn { margin-top: 18px; }
.map { width: 100%; height: auto; border-radius: var(--rc, 16px); border: 1px solid var(--line); }
.m-bg { fill: var(--map-bg); } .m-park { fill: var(--map-park); } .m-water { fill: var(--map-water); }
.m-road path { fill: none; stroke: var(--map-road); stroke-width: 10; }
.m-main path { stroke: var(--map-main); stroke-width: 16; }
.m-pin path { fill: var(--accent); } .m-dot { fill: var(--on-accent); } .m-halo { fill: var(--accent); opacity: .16; }

.sec-faq { background: var(--band); }
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 40px; }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq summary { display: flex; justify-content: space-between; gap: 20px; padding: 20px 0; cursor: pointer; list-style: none; font-weight: 700; color: var(--ink); font-size: 17.5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary span { color: var(--accent); font-size: 22px; line-height: 1; transition: transform .25s; }
.faq details[open] summary span { transform: rotate(45deg); }
.faq details p { padding-bottom: 20px; max-width: 40em; }

.end { padding: clamp(64px, 8vw, 96px) 0; background: var(--end-bg); color: var(--end-text); text-align: center; }
.end h2 { color: var(--end-ink); }
.end p { margin-top: 12px; }
.end .acts { justify-content: center; }
.foot { padding: 32px 0; border-top: 1px solid var(--line); }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.foot-row p { color: var(--muted); font-size: 15px; }
.foot-row .small { margin-left: auto; }
.mbar { display: none; }

/* ---------- Dental: verde azulado, claro y sereno ---------- */
.t-dental { --head: "Manrope", sans-serif; --body: "Manrope", sans-serif; --bg: #fbfbf8; --surface: #ffffff; --band: #eef4f2; --ink: #0f2f36; --text: #3f5559; --muted: #52686c;
  --accent: #0f5c6e; --on-accent: #fff; --chip: #e1eeec; --chip-ink: #0f4c5c; --line: #e2e8e5; --line-strong: #c9d6d3; --rc: 18px;
  --end-bg: #0f3a44; --end-ink: #fff; --end-text: #c4dcdc; --map-bg: #eef3f0; --map-park: #d7e8d9; --map-water: #cfe3ea; --map-road: #fff; --map-main: #f5e7c7; --track: -.03em; --h1w: 800; }
.hero-split { padding: 56px 0 72px; }
.hero-split .in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.hero-media { position: relative; }
.hero-media img { width: 100%; aspect-ratio: 4 / 4.2; object-fit: cover; border-radius: 28px 28px 28px 120px; }
.float-card { position: absolute; left: -28px; bottom: 36px; display: flex; gap: 12px; align-items: center; padding: 14px 18px; border-radius: 14px; background: #fff; box-shadow: 0 20px 40px -12px rgba(15, 47, 54, .3); }
.float-card .ic { width: 22px; height: 22px; color: var(--accent); }
.float-card b { display: block; color: var(--ink); font-size: 15px; }
.float-card span { font-size: 14px; color: var(--muted); }

/* ---------- Veterinaria: verde bosque y crema, cálido ---------- */
.t-vet { --head: "Bricolage Grotesque", sans-serif; --body: "DM Sans", sans-serif; --bg: #f6f1e7; --surface: #fffdf8; --band: #ece4d3; --ink: #1f3a28; --text: #4a5a4c; --muted: #566355;
  --accent: #2f5d3a; --on-accent: #fff; --chip: #f2dfa6; --chip-ink: #3f3410; --line: #e3dac6; --line-strong: #cfc3a8; --rc: 22px; --rb: 999px; --rm: 12px; --star: #d99a1e;
  --end-bg: #1f3a28; --end-ink: #f6f1e7; --end-text: #c9d3c3; --map-bg: #efe7d6; --map-park: #d3dfc0; --map-water: #c7dccf; --map-road: #fffaf0; --map-main: #f2dfa6; --h1w: 700; --track: -.025em; --h1max: 70px; }
.hero-cover { position: relative; padding: 0; isolation: isolate; }
.hero-cover .cover { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; }
.hero-cover::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(18, 34, 23, .9) 0, rgba(18, 34, 23, .72) 45%, rgba(18, 34, 23, .2) 100%); }
.hero-cover .in { padding: 96px 0 40px; }
.hero-card { max-width: 620px; }
.hero-cover h1, .hero-cover .lead { color: #fff; }
.hero-cover .lead { color: #e8eadf; }
.hero-cover .btn-line { border-color: rgba(255,255,255,.55); color: #fff; }
.hero-cover .facts { border-top-color: rgba(255,255,255,.28); margin-top: 72px; }
.hero-cover .facts li + li { border-left-color: rgba(255,255,255,.28); }
.hero-cover .facts small { color: #dfe6d9; } .hero-cover .facts b { color: #fff; }
.t-vet .svc:nth-child(1) { background: #2f5d3a; border-color: #2f5d3a; }
.t-vet .svc:nth-child(1) h3, .t-vet .svc:nth-child(1) p { color: #f6f1e7; }
.t-vet .book-img { border-radius: 40px 12px 40px 12px; }

/* ---------- Taller: grafito y amarillo de señalización, industrial ---------- */
.t-auto { --head: "Archivo", sans-serif; --body: "Archivo", sans-serif; --bg: #15181c; --surface: #1f2328; --band: #1b1f23; --ink: #f5f5f2; --text: #c3c7cc; --muted: #9399a1;
  --accent: #f2b705; --on-accent: #15181c; --chip: rgba(242, 183, 5, .14); --chip-ink: #f6c93a; --line: #2c3238; --line-strong: #3b424a; --rc: 4px; --rb: 4px; --rs: 4px; --rm: 4px;
  --nav-bg: #15181c; --end-bg: #f2b705; --end-ink: #15181c; --end-text: #3a3000; --map-bg: #1f2328; --map-park: #24332a; --map-water: #1c2b36; --map-road: #2f353c; --map-main: #5a4a12; --h1w: 850; --track: -.03em; --h1max: 72px; --star: #f2b705; }
.t-auto h1 { font-stretch: 88%; text-transform: none; }
.t-auto h2 { font-stretch: 92%; }
.hero-bold { padding: 64px 0 0; }
.hero-bold .in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.hero-strip { position: relative; margin-top: 64px; }
.hero-strip img { width: 100%; height: 320px; object-fit: cover; filter: saturate(.85) contrast(1.05); }
.hero-strip .facts { position: absolute; left: 50%; bottom: 0; transform: translate(-50%, 50%); width: min(1180px, calc(100% - 48px)); margin: 0; background: var(--accent); border: 0; border-radius: 4px; }
.hero-strip .facts li { padding: 18px 22px; }
.hero-strip .facts li + li { border-left-color: rgba(0,0,0,.18); }
.hero-strip .facts small { color: #4a3c00; } .hero-strip .facts b { color: #15181c; }
.t-auto #s0 { padding-top: 120px; }
.t-auto .svc { position: relative; padding-top: 30px; }
.t-auto .svc::before { content: ""; position: absolute; left: 24px; top: 0; width: 44px; height: 4px; background: var(--accent); }
.t-auto .meta { font-variant-numeric: tabular-nums; }
.t-auto .btn-ghost { border-color: rgba(0,0,0,.35); color: #15181c; }
.t-auto .end .btn-accent { background: #15181c; color: #f2b705; }
.t-auto .book-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.steps li { display: flex; gap: 16px; align-items: center; padding: 18px; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); font-weight: 700; color: var(--ink); }
.steps span { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 4px; background: var(--accent); color: #15181c; font-weight: 900; }
.book-img.wide { grid-column: 1 / -1; margin-top: 0; aspect-ratio: 21 / 7; }

/* ---------- Salón: rosa empolvado y ciruela, editorial ---------- */
.t-salon { --head: "Fraunces", serif; --body: "DM Sans", sans-serif; --quote: "Fraunces", serif; --bg: #f8eee9; --surface: #fffaf7; --band: #f1e1da; --ink: #4a1f37; --text: #5e3f4d; --muted: #6e5260;
  --accent: #5b2a44; --on-accent: #f8eee9; --chip: #f3d9d2; --chip-ink: #5b2a44; --line: #ead7cf; --line-strong: #d8bdb3; --rc: 24px; --rb: 999px; --rs: 999px; --rm: 50%; --star: #b8705a;
  --end-bg: #5b2a44; --end-ink: #f8eee9; --end-text: #e3c6cf; --map-bg: #f6e6df; --map-park: #e7dcc8; --map-water: #ddd5e6; --map-road: #fffaf7; --map-main: #efc9bd; --h1w: 420; --h2w: 420; --track: -.01em; --h1max: 76px; }
.t-salon h1 { font-variation-settings: "opsz" 144; }
.t-salon h3 { font-family: var(--head); font-weight: 500; font-size: 21px; }
.t-salon .brand { font-weight: 500; font-style: italic; }
.hero-center { padding: 72px 0 64px; text-align: center; }
.hero-center .lead { margin-inline: auto; }
.hero-center .acts { justify-content: center; }
.arches { display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: 18px; align-items: end; margin-top: 48px; }
.arches img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 999px 999px 24px 24px; }
.arches .tall { aspect-ratio: 3 / 4.4; }
.hero-center .facts { text-align: left; }
.t-salon .svcs { --svc-gap: 0; border-top: 1px solid var(--line-strong); }
.t-salon .svc { flex-direction: row; align-items: baseline; min-height: 0; border: 0; border-bottom: 1px solid var(--line-strong); border-radius: 0; background: transparent; padding: 22px 8px; }
.t-salon .meta { background: transparent; padding: 0; font-family: var(--head); font-size: 17px; white-space: nowrap; }
.t-salon .book-img { border-radius: 999px 999px 24px 24px; aspect-ratio: 4 / 3; }

@media (max-width: 960px) {
  .links, .nav-phone { display: none; }
  .nav-row .btn { margin-left: auto; }
  .hero-split .in, .hero-bold .in, .book-grid, .visit, .faq-grid, .t-auto .book-grid { grid-template-columns: minmax(0, 1fr); }
  .head { grid-template-columns: minmax(0, 1fr); }
  .svcs, .revs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-media img { aspect-ratio: 16 / 10; border-radius: 24px 24px 24px 80px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .in { width: calc(100% - 36px); }
  .nav-row { gap: 12px; min-height: 64px; }
  .nav-row .btn-sm { display: none; }
  .burger { display: grid; margin-left: auto; }
  .brand { font-size: 16px; }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .facts li, .facts li + li { padding: 12px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .hero-strip .facts { position: static; transform: none; width: auto; border-radius: 0; }
  .hero-strip .facts li + li { border-left: 0; }
  .t-auto #s0 { padding-top: 64px; }
  .svcs, .revs { grid-template-columns: minmax(0, 1fr); }
  .w-days { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .w-times { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .arches { grid-template-columns: 1fr 1.4fr 1fr; gap: 8px; }
  .float-card { left: 12px; bottom: 12px; }
  .acts .btn { flex: 1 1 100%; }
  .hero-cover .in { padding-top: 56px; }
  .mbar { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 20; box-shadow: 0 16px 32px -10px rgba(0,0,0,.4); }
  .foot { padding-bottom: 88px; }
  .foot-row .small { margin-left: 0; }
}
