/* Estilos del sitio público. Extraído de la home aprobada (Estable home webnova 2026). */
/* Layout: portada a sangre con el paisaje proyectado en un cilindro 360° (WebGL); debajo, notas del prototipo */
:root {
  --red: #d6193d;
  --on-photo: #ffffff;
  --bg: #f6f4f1;
  --fg: #22242a;
  --muted: #61646c;
  --line: #dedad3;
  --font-display: "Outfit", "Segoe UI", system-ui, sans-serif;
  --font-title: "Bricolage Grotesque", "Outfit", "Segoe UI", system-ui, sans-serif;   /* títulos: grotesca con oficio */
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --bg: #16171a; --fg: #ece9e3; --muted: #a3a19b; --line: #303237; color-scheme: dark; }
}
:root[data-theme="dark"] { --bg: #16171a; --fg: #ece9e3; --muted: #a3a19b; --line: #303237; color-scheme: dark; }

body { background: var(--bg); color: var(--fg); font-family: var(--font-display); }

:root {
  --red-bar: #bd1111;
  --gold: #cc9933;
  --plum: #26131F;
  --cream: #fbf1ea;
  --white: #ffffff;
  --font-body: "Outfit", "Segoe UI", system-ui, sans-serif;
  --font-title: "Bricolage Grotesque", "Outfit", "Segoe UI", system-ui, sans-serif;
  --edge: max(16px, 4vw);
}

/* Franja superior */
.topbar { background: var(--red-bar); color: var(--white); font-size: 13.5px; line-height: 1.4; position: relative; z-index: 5; }
.topbar-in { max-width: 1760px; margin: 0 auto; box-sizing: border-box; padding: 14px var(--edge); display: flex; align-items: center; justify-content: space-between; gap: 8px 24px; }
.topbar a { color: inherit; text-decoration: none; }
.topbar .seo { font-weight: 500; letter-spacing: .01em; }
.topbar .right { display: flex; align-items: center; gap: 22px; }
.topbar .soc { display: flex; align-items: center; gap: 4px; padding-right: 22px; margin: -4px 0; border-right: 1px solid rgba(255,255,255,.35); }
.topbar .soc a { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; transition: background .25s ease, transform .25s ease; }
.topbar .soc a:hover { background: rgba(255,255,255,.16); transform: translateY(-1px); }
.topbar .soc svg { width: 15px; height: 15px; }
.topbar .acc { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; white-space: nowrap; }
.topbar .acc svg { width: 14px; height: 14px; }
.topbar .seo:hover, .topbar .acc:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Portada */
.hero { position: relative; overflow: hidden; color: var(--white); height: calc(100svh - 48px); min-height: 640px; max-height: 1100px;
  background: #4a2b33 center / cover no-repeat; cursor: none; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
@supports not (height: 100svh) { .hero { height: calc(100vh - 48px); } }
.hero.dragging .cur { transform: translate(-50%, -50%) scale(.82); }
#pano { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.shade { position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(20,8,14,.78) 0%, rgba(20,8,14,.45) 14%, rgba(20,8,14,0) 32%),
    radial-gradient(ellipse 58% 42% at 50% 52%, rgba(24,10,17,.42) 0%, rgba(24,10,17,0) 100%),
    linear-gradient(0deg, rgba(20,8,14,.7) 0%, rgba(20,8,14,0) 26%),
    radial-gradient(ellipse 120% 90% at 50% 50%, rgba(0,0,0,0) 55%, rgba(0,0,0,.35) 100%); }
.grain { position: absolute; inset: -60px; pointer-events: none; opacity: .07; mix-blend-mode: overlay; background-size: 220px 220px; animation: grano .9s steps(6) infinite; }
@keyframes grano { 0% { transform: translate(0,0) } 20% { transform: translate(-14px,9px) } 40% { transform: translate(11px,-13px) } 60% { transform: translate(-7px,-5px) } 80% { transform: translate(15px,12px) } 100% { transform: translate(0,0) } }

.layer { position: absolute; inset: 0; display: grid; grid-template-rows: auto 1fr auto; pointer-events: none; }
.layer a, .layer button { pointer-events: auto; }
nav.main { max-width: 1760px; width: 100%; margin: 0 auto; box-sizing: border-box; padding: 26px var(--edge); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
nav.main img { height: 48px; width: auto; display: block; }
nav.main ul { display: flex; gap: clamp(22px, 3vw, 52px); list-style: none; margin: 0; padding: 0; font-size: 16px; font-weight: 500; }
nav.main ul a { color: var(--white); text-decoration: none; position: relative; padding: 4px 0; }
nav.main ul a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s cubic-bezier(.2,.7,.2,1); }
nav.main ul a:hover::after { transform: scaleX(1); }
.pill { display: inline-block; white-space: nowrap; background: var(--gold); color: var(--white); text-decoration: none; font: 600 15px var(--font-body);
  padding: 8px 20px; border-radius: 999px; transition: background .25s ease, transform .25s ease; }
.pill:hover { background: #b98a2c; transform: translateY(-1px); }

.center { align-self: center; justify-self: center; text-align: center; display: grid; gap: 22px; justify-items: center;
  width: min(1040px, 100%); box-sizing: border-box; padding: 0 var(--edge); transition: transform .1s linear; }
.msgs { display: grid; width: 100%; }
.msg { grid-area: 1 / 1; display: grid; gap: 20px; justify-items: center; align-content: center;
  opacity: 0; transform: translateY(16px); filter: blur(10px); visibility: hidden;
  transition: opacity .9s ease, transform 1.1s cubic-bezier(.2,.7,.2,1), filter .9s ease, visibility 0s linear .9s; }
.msg.on { opacity: 1; transform: none; filter: none; visibility: visible; transition: opacity 1s ease .25s, transform 1.2s cubic-bezier(.2,.7,.2,1) .25s, filter 1s ease .25s, visibility 0s; }
.h1 { margin: 0; font-family: var(--font-title); font-size: clamp(34px, 5.2vw, 76px); line-height: 1; font-weight: 700; letter-spacing: -0.04em; text-wrap: balance; text-shadow: 0 2px 30px rgba(0,0,0,.25); }
@media (min-width: 900px) { .sub .s2 { display: block; } }
@media (max-width: 640px) { .center .firma { font-size: 10.5px; letter-spacing: .07em; } }
.firma { margin: -4px 0 0; line-height: 1.7; font-size: 13px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.78); }
.sub { margin: 0; font-size: clamp(16px, 1.55vw, 21px); line-height: 1.5; font-weight: 500; max-width: 52ch; text-wrap: balance; text-shadow: 0 1px 16px rgba(0,0,0,.35); }
.cta { display: inline-block; background: var(--white); color: var(--plum); text-decoration: none; font: 600 17px var(--font-body); padding: 15px 30px; border-radius: 8px;
  transition: transform .25s ease, box-shadow .25s ease; }
.cta:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -14px rgba(0,0,0,.55); }
.ticks { display: flex; gap: 6px; }
.ticks button { width: 46px; padding: 10px 0; background: none; border: 0; cursor: pointer; }
.ticks i { display: block; height: 2px; border-radius: 2px; background: rgba(255,255,255,.32); overflow: hidden; }
.ticks i::after { content: ""; display: block; height: 100%; background: #fff; transform: scaleX(0); transform-origin: left; }
.ticks button.on i::after { animation: tick var(--dur, 7.5s) linear forwards; }
.ticks.stop button.on i::after { animation: none; transform: scaleX(1); }
@keyframes tick { to { transform: scaleX(1); } }

/* Revelado de la toma de apertura */
.intro nav.main, .intro .center, .intro .hud { opacity: 0; transform: translateY(12px); }
nav.main, .hud { transition: opacity 1.1s ease, transform 1.2s cubic-bezier(.2,.7,.2,1); }
.center { transition: opacity 1.1s ease .15s, transform 1.2s cubic-bezier(.2,.7,.2,1) .15s; }

/* Pie de la portada: lugar, rumbo y gesto */
.hud { max-width: 1760px; width: 100%; margin: 0 auto; box-sizing: border-box; padding: 0 var(--edge) 26px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 16px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.place { color: rgba(255,255,255,.78); line-height: 1.5; }
.place b { display: block; color: var(--white); font-weight: 600; }
.compass { width: 360px; display: grid; justify-items: center; gap: 8px; }
.tape { position: relative; width: 100%; height: 30px; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 22%, #000 78%, transparent); mask-image: linear-gradient(90deg, transparent, #000 22%, #000 78%, transparent); }
.strip { position: absolute; top: 0; left: 0; height: 100%; will-change: transform; }
.strip i { position: absolute; bottom: 0; width: 1px; height: 7px; background: rgba(255,255,255,.55); }
.strip i.m { height: 12px; background: rgba(255,255,255,.85); }
.strip b { position: absolute; top: 0; transform: translateX(-50%); font-size: 11px; font-weight: 600; letter-spacing: .06em; color: var(--white); }
.strip b.n { color: #ff5a4f; }
.marker { position: absolute; left: 50%; bottom: -1px; width: 2px; height: 18px; margin-left: -1px; background: #ff5a4f; border-radius: 2px; }
.heading { font-variant-numeric: tabular-nums; color: rgba(255,255,255,.85); }
.heading b { color: var(--white); font-weight: 600; }
.hint { justify-self: end; display: inline-flex; align-items: center; gap: 12px; color: rgba(255,255,255,.85); }
.hint button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.6); background: rgba(0,0,0,.15); color: #fff; cursor: pointer; display: grid; place-items: center; transition: background .25s ease; }
.hint button:hover { background: rgba(255,255,255,.18); }
.hint svg { width: 16px; height: 16px; }

/* Cursor propio sobre el paisaje */
.cur { position: fixed; left: 0; top: 0; width: 84px; height: 84px; border-radius: 50%; border: 1px solid rgba(255,255,255,.85); pointer-events: none; z-index: 20;
  display: grid; place-items: center; font: 600 10px var(--font-body); letter-spacing: .14em; color: #fff; text-transform: uppercase;
  transform: translate(-50%, -50%) scale(1); transition: transform .3s cubic-bezier(.2,.7,.2,1), opacity .3s ease; opacity: 0; backdrop-filter: none; }
.cur.show { opacity: 1; }
.cur.small { transform: translate(-50%, -50%) scale(.18); }
.cur span { transition: opacity .2s ease; }
.cur.small span { opacity: 0; }
@media (pointer: coarse) { .hero { cursor: auto; } .cur { display: none; } }


.hero a:focus-visible, .hero button:focus-visible, .topbar a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

@media (max-width: 980px) { nav.main ul { display: none; } .hud { grid-template-columns: 1fr; justify-items: center; } .place, .hint { display: none; } }
@media (max-width: 640px) { .topbar-in { justify-content: center; } .topbar .right { display: none; } nav.main img { height: 38px; } .pill { padding: 7px 14px; font-size: 14px; } .compass { width: 260px; } .hero { min-height: 600px; } }
@media (prefers-reduced-motion: reduce) { .grain { animation: none; } .msg, .msg.on { transition: none; filter: none; transform: none; } }

/* Casos: masonry sobre el bordó original */
.casos { --plum: #26131F; --plum-2: #3a2130; --cream: #fbf1ea; --cream-ink: #26131F; --tag: #d6193d; --soft: #c9b5c0;
  background: var(--plum); color: var(--cream); }
.casos-in { max-width: 1760px; margin: 0 auto; box-sizing: border-box;
  padding-left: max(16px, 4vw, env(safe-area-inset-left, 0px)); padding-right: max(16px, 4vw, env(safe-area-inset-right, 0px));
  padding-block: 64px 72px; display: grid; gap: 28px; }
.casos-head { display: grid; justify-items: center; text-align: center; gap: 14px; }
.casos-head h2 { margin: 0; font-family: var(--font-title); font-size: clamp(30px, 3.6vw, 46px); font-weight: 700; letter-spacing: -0.03em; }
  .filtros { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; }
.filtros button { font: 400 13px var(--font-display); color: var(--soft); background: none; border: 0; padding: 2px 0; cursor: pointer; text-decoration: none; text-underline-offset: 5px; }
.filtros button:hover { color: var(--cream); text-decoration: underline; }
.filtros button[aria-pressed="true"] { color: var(--cream); text-decoration: underline; }
.filtros button:focus-visible, .caso:focus-visible, .mas:focus-visible { outline: 2px solid var(--cream); outline-offset: 3px; }

.masonry { display: flex; gap: 20px; align-items: flex-start; }
.col { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.caso { display: block; text-decoration: none; color: inherit; border-radius: 6px; overflow: hidden; background: var(--cream);
  transition: transform .25s ease, box-shadow .25s ease; }
.caso:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0,0,0,.35); }
.caso .img { position: relative; overflow: hidden; background: var(--plum-2); }
.caso img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .6s ease; }
.caso:hover img { transform: scale(1.03); }
.caso .ph { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 16px; color: var(--soft); font-size: 13px; }
.caso .info { padding: 16px 18px 18px; display: grid; gap: 8px; color: var(--cream-ink); }
.caso h3 { margin: 0; font-family: var(--font-title); font-size: 18px; line-height: 1.2; font-weight: 600; letter-spacing: -0.015em; text-wrap: balance; }
.caso .cats { display: flex; flex-wrap: wrap; gap: 2px 8px; font-size: 9.5px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--tag); }
.caso .anio { font-size: 12px; color: #8a7480; font-variant-numeric: tabular-nums; }
.mas-wrap { display: flex; justify-content: center; }
@media (max-width: 659px) {   /* celular: dos columnas compactas */
  .masonry { gap: 14px; }
  .col { gap: 24px; }
  .caso { border-radius: 10px; }
  .caso .info { padding: 11px 11px 12px; gap: 5px; }
  .caso h3 { font-size: 14px; line-height: 1.2; }
  .caso .cats { font-size: 8px; gap: 1px 6px; }
  .caso .cats span:nth-child(n+3) { display: none; }
  .caso .anio { font-size: 11px; }
  .caso .ph { font-size: 11px; padding: 10px; }
}
.mas { font: 600 15px var(--font-display); color: var(--cream-ink); background: var(--cream); border: 0; border-radius: 4px; padding: 12px 22px; cursor: pointer; }

/* Servicios: carrusel sobre beige, alineado al borde de Casos y abierto hacia la derecha */
.serv { --beige: #f2ece3; --beige-2: #e9e1d4; --card: #ffffff; --ink: #26131F; --ink-soft: #6f6168; --rule: #e4dccf; --accent: #d6193d;
  --edge: calc(max(0px, (100% - 1760px) / 2) + max(16px, 4vw));
  background: var(--beige); color: var(--ink); padding-block: 88px 96px; overflow: hidden; }
.serv-head { padding-left: var(--edge); padding-right: var(--edge); display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px 40px; }
.serv-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.serv-eyebrow::before { content: ""; width: 22px; height: 1.5px; background: currentColor; }
.serv h2 { margin: 12px 0 0; font-family: var(--font-title); font-size: clamp(32px, 3.8vw, 52px); line-height: 1; font-weight: 700; letter-spacing: -0.035em; max-width: 16ch; text-wrap: balance; }
.serv-ctrl { display: flex; gap: 10px; }
.serv-ctrl button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer; display: grid; place-items: center;
  transition: background .25s ease, color .25s ease, opacity .25s ease, transform .2s ease; }
.serv-ctrl button:hover:not(:disabled) { background: var(--ink); color: var(--beige); }
.serv-ctrl button:active:not(:disabled) { transform: scale(.94); }
.serv-ctrl button:disabled { opacity: .25; cursor: default; }
.serv-ctrl svg { width: 18px; height: 18px; }

.serv-track { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(272px, 24vw, 360px); gap: 18px;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-left: var(--edge);
  padding: 44px var(--edge) 28px; scrollbar-width: none; cursor: grab; }
.serv-track::-webkit-scrollbar { display: none; }
.serv-track.drag { cursor: grabbing; scroll-snap-type: none; }
.serv-track.drag .scard { pointer-events: none; }

.scard { scroll-snap-align: start; background: var(--card); border: 1px solid var(--rule); border-radius: 22px;
  padding: 28px 26px 26px; display: grid; grid-template-rows: auto auto 1fr auto; gap: 14px; min-height: 340px; box-sizing: border-box;
  color: inherit; text-decoration: none; position: relative;
  transition: transform .45s cubic-bezier(.2,.7,.2,1), box-shadow .45s cubic-bezier(.2,.7,.2,1), border-color .3s ease, opacity .6s ease; }
.scard:hover, .scard:focus-within { transform: translateY(-6px); border-color: #d8cdbd; box-shadow: 0 24px 48px -28px rgba(38,19,31,.38); }
.scard.pre { opacity: 0; transform: translateY(26px); }

.sicon { width: 60px; height: 60px; border-radius: 18px; background: var(--beige); display: grid; place-items: center; margin-bottom: 10px;
  transition: background .35s ease, color .35s ease; color: var(--ink); }
.sicon svg { width: 38px; height: 38px; overflow: visible; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sicon .acc { stroke: var(--accent); }
.sicon .fill { fill: var(--accent); stroke: var(--accent); }
.sicon .m { transition: transform .6s cubic-bezier(.2,.7,.2,1); transform-box: fill-box; transform-origin: center; }
.scard:hover .sicon, .scard:focus-within .sicon { background: var(--ink); color: #fbf1ea; }
.scard:hover .m-left { transform: translateX(-2.5px); }
.scard:hover .m-right { transform: translateX(2.5px); }
.scard:hover .m-needle { transform: rotate(40deg); }
.m-needle { transform-origin: 50% 50%; }
.scard:hover .m-spark { transform: rotate(90deg) scale(1.15); }
.scard:hover .m-node { transform: scale(1.25); }
.scard:hover .m-glass { transform: translate(-1.5px, -1.5px); }
.scard:hover .m-cube { transform: rotate(-10deg); }
.scard:hover .m-loop { transform: rotate(180deg); }

.scard h3 { margin: 0; font-family: var(--font-title); font-size: 23px; line-height: 1.1; font-weight: 600; letter-spacing: -0.02em; text-wrap: balance; }
.scard p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink-soft); }
.sbtn { justify-self: start; display: inline-flex; align-items: center; gap: 10px; margin-top: 8px;
  font: 600 14px var(--font-display); color: var(--ink); text-decoration: none;
  border: 1px solid var(--ink); border-radius: 999px; padding: 10px 16px 10px 18px;
  transition: background .3s ease, color .3s ease; }
.sbtn svg { width: 16px; height: 16px; transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.scard:hover .sbtn { background: var(--ink); color: #fbf1ea; }
.scard:hover .sbtn svg { transform: translateX(4px); }
.sbtn::after { content: ""; position: absolute; inset: 0; border-radius: 22px; }   /* toda la card es clickeable */
.sbtn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.serv-ctrl button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.serv-progress { margin-left: var(--edge); margin-right: var(--edge); height: 2px; background: var(--beige-2); position: relative; overflow: hidden; border-radius: 2px; }
.serv-progress span { position: absolute; inset: 0 auto 0 0; background: var(--ink); width: 30%; border-radius: 2px; transition: transform .12s linear; }

@media (max-width: 560px) { .scard { min-height: 0; } .serv { padding-block: 64px 72px; } }
@media (prefers-reduced-motion: reduce) {
  .scard, .sicon .m, .sbtn svg { transition: none; }
  .scard.pre { opacity: 1; transform: none; }
}

/* Preguntas frecuentes: sobre el bordó de Casos, cada pregunta en su propio contenedor */
.faq { --plum: #26131F; --box: #331d2b; --box-hover: #3b2433; --box-open: #3a2231; --cream: #fbf1ea; --soft: #c9b5c0; --line: rgba(251,241,234,.22); --accent: #ff6b80;
  --edge: calc(max(0px, (100% - 1760px) / 2) + max(16px, 4vw));
  background: var(--plum); color: var(--cream); padding-block: 96px 104px; padding-left: var(--edge); padding-right: var(--edge); border-top: 1px solid rgba(251,241,234,.08); }
.faq-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px 40px; margin-bottom: 40px; }
.faq-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.faq-eyebrow::before { content: ""; width: 22px; height: 1.5px; background: currentColor; }
.faq h2 { margin: 12px 0 0; font-family: var(--font-title); font-size: clamp(32px, 3.8vw, 52px); line-height: 1; font-weight: 700; letter-spacing: -0.035em; max-width: 14ch; text-wrap: balance; }
.faq-aside { display: grid; gap: 10px; justify-items: end; text-align: right; font-size: 15px; color: var(--soft); }
.faq-toggle-all { font: 600 14px var(--font-display); color: var(--cream); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.faq-toggle-all:focus-visible { outline: 2px solid var(--cream); outline-offset: 4px; }
@media (max-width: 700px) { .faq-aside { justify-items: start; text-align: left; } }

.faq-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; }
@media (max-width: 900px) { .faq-cols { grid-template-columns: 1fr; } }
.faq-col { min-width: 0; display: grid; gap: 12px; }
.qa { background: var(--box); border-radius: 16px; transition: background .3s ease; }
.qa:hover { background: var(--box-hover); }
.qa[open] { background: var(--box-open); }
.qa summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center;
  padding: 20px 20px 20px 24px; font-size: 17px; line-height: 1.35; font-weight: 500; letter-spacing: -0.005em; border-radius: 16px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::marker { content: ""; }
.qa summary:focus-visible { outline: 2px solid var(--cream); outline-offset: 2px; }
.qa .ico { width: 34px; height: 34px; flex: none; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center;
  transition: background .3s ease, border-color .3s ease, transform .45s cubic-bezier(.2,.7,.2,1); }
.qa .ico i { position: relative; width: 12px; height: 12px; display: block; }
.qa .ico i::before, .qa .ico i::after { content: ""; position: absolute; left: 0; top: 5.25px; width: 12px; height: 1.5px; background: var(--cream); border-radius: 2px;
  transition: transform .45s cubic-bezier(.2,.7,.2,1), background .3s ease; }
.qa .ico i::after { transform: rotate(90deg); }
.qa summary:hover .ico { border-color: rgba(251,241,234,.5); }
.qa[open] summary .ico, .qa[open] summary:hover .ico { background: var(--cream); border-color: var(--cream); transform: rotate(180deg); }
.qa[open] .ico i::before, .qa[open] .ico i::after { background: var(--plum); }
.qa[open] .ico i::after { transform: rotate(0deg); }
.qa .ans { overflow: hidden; }
.qa .ans p { margin: 0; padding: 0 76px 22px 24px; font-size: 15.5px; line-height: 1.65; color: var(--soft); max-width: 62ch; }
.qa .ans p + p { margin-top: -10px; }
.qa .ans p:last-child { padding-bottom: 24px; }
.qa .ans strong { color: var(--cream); font-weight: 600; }
@media (max-width: 560px) { .qa summary { font-size: 16px; padding: 16px 14px 16px 18px; } .qa .ans p { padding: 0 18px 18px; } .faq { padding-block: 72px 80px; } }
@media (prefers-reduced-motion: reduce) { .qa, .qa .ico, .qa .ico i::before, .qa .ico i::after { transition: none; } }

/* Método: circuito de cuatro etapas con la IA como anillo interior */
.met { --paper: #26131F; --ink: #fbf1ea; --ink-soft: #c9b5c0; --rule: rgba(251,241,234,.14); --beige: #3a2231; --accent: #ff6b80;
  --edge: calc(max(0px, (100% - 1760px) / 2) + max(16px, 4vw));
  background: var(--paper); color: var(--ink); padding-block: 100px 108px; padding-left: var(--edge); padding-right: var(--edge); }
.met-head { display: grid; gap: 14px; justify-items: center; text-align: center; margin-bottom: 56px; }
.met-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.met-eyebrow::before, .met-eyebrow::after { content: ""; width: 22px; height: 1.5px; background: currentColor; }
.met h2 { margin: 0; font-family: var(--font-title); font-size: clamp(32px, 3.8vw, 52px); line-height: 1; font-weight: 700; letter-spacing: -0.035em; max-width: 22ch; text-wrap: balance; }
.met-head p { margin: 0; font-size: 17px; line-height: 1.5; color: var(--ink-soft); max-width: 48ch; }

.met-body { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; align-items: center; max-width: 1400px; margin: 0 auto; }
@media (max-width: 960px) { .met-body { grid-template-columns: 1fr; gap: 36px; } }
.met-fig { width: 100%; max-width: 820px; justify-self: center; }
.met-fig svg { display: block; width: 100%; height: auto; overflow: visible; }
.met-fig text { font-family: var(--font-display); }
.met-fig .lbl { font-family: var(--font-title); font-size: 21px; font-weight: 600; letter-spacing: -0.02em; fill: var(--ink); transition: fill .3s ease; }
.met-fig .lbl.on { fill: var(--c, var(--accent)); }
.met-fig .node { cursor: pointer; }
.met-fig .node circle.b { fill: var(--paper); stroke: rgba(251,241,234,.7); stroke-width: 1.5; transition: fill .35s ease, stroke .35s ease; }
.met-fig .node text { font-size: 13px; font-weight: 600; fill: var(--ink); letter-spacing: .04em; transition: fill .35s ease; pointer-events: none; }
.met-fig .node.on circle.b { fill: var(--c, var(--ink)); stroke: var(--c, var(--ink)); }
.met-fig .node.on text { fill: #fbf1ea; }
.met-fig .node circle.halo { fill: none; stroke: var(--c, var(--accent)); stroke-width: 1.5; opacity: 0; transform-box: fill-box; transform-origin: center; }
.met-fig .node.on circle.halo { animation: halo 2.4s ease-out infinite; }
@keyframes halo { 0% { opacity: .7; transform: scale(1); } 100% { opacity: 0; transform: scale(1.9); } }
.met-fig .node:focus-visible { outline: none; }
.met-fig .node:focus-visible circle.b { stroke: #fff; stroke-width: 3; }
.met-fig .ai { transform-box: view-box; transform-origin: 260px 260px; animation: giro 60s linear infinite; }
@keyframes giro { to { transform: rotate(360deg); } }

.met-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.met-step button { width: 100%; text-align: left; background: transparent; border: 0; border-radius: 18px; padding: 30px 26px; cursor: pointer; color: var(--ink);
  display: grid; grid-template-columns: auto 1fr; gap: 4px 18px; font: inherit; transition: background .45s ease, transform .45s cubic-bezier(.2,.7,.2,1), box-shadow .45s cubic-bezier(.2,.7,.2,1); }
.met-step button:hover { background: rgba(251,241,234,.05); }
.met-step button[aria-pressed="true"] { background: var(--c); color: #fff; transform: translateX(-6px); box-shadow: 0 24px 44px -24px rgba(0,0,0,.6); }
.met-step button:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.met-step .n { grid-row: span 3; font-size: 13px; font-weight: 600; letter-spacing: .06em; color: var(--c); filter: brightness(1.35); padding-top: 5px; font-variant-numeric: tabular-nums; }
.met-step button[aria-pressed="true"] .n { color: #fff; filter: none; }
.met-step h3 { margin: 0; font-family: var(--font-title); font-size: 22px; line-height: 1.15; font-weight: 600; letter-spacing: -0.02em; }
.met-step p { margin: 2px 0 0; font-size: 15.5px; line-height: 1.55; font-weight: 300; color: var(--ink-soft); transition: color .35s ease; }
.met-step button[aria-pressed="true"] p { color: rgba(255,255,255,.95); }
.met-step ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; overflow: hidden; max-height: 0; opacity: 0; transition: max-height .5s cubic-bezier(.2,.7,.2,1), opacity .4s ease, margin .4s ease; }
.met-step button[aria-pressed="true"] ul { max-height: 240px; opacity: 1; margin-top: 14px; }
.met-step li { font-size: 14.5px; line-height: 1.45; font-weight: 400; color: #fff; display: flex; gap: 10px; }
.met-step li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #fff; margin-top: 8px; flex: none; }
.met-ai { margin-top: 18px; display: flex; gap: 12px; align-items: center; font-size: 14.5px; color: var(--ink-soft); padding-left: 22px; }
.met-ai svg { width: 30px; height: 30px; flex: none; }
@media (max-width: 560px) { .met { padding-block: 72px 80px; } .met-step button { padding: 26px 18px; } .met-ai { padding-left: 16px; } }
@media (prefers-reduced-motion: reduce) { .met-fig .ai, .met-fig .node.on circle.halo { animation: none; } .met-step ul { transition: none; } }

/* Notas: cards fotográficas con fundido oscuro para garantizar la lectura */
.notas { --beige: #26131F; --ink: #fbf1ea; --ink-soft: #c9b5c0; --accent: #ff6b80; --cream: #fbf1ea;
  --edge: calc(max(0px, (100% - 1760px) / 2) + max(16px, 4vw));
  background: var(--beige); color: var(--ink); padding-block: 96px 104px; border-top: 1px solid rgba(251,241,234,.08); }
.notas-head { padding-left: var(--edge); padding-right: var(--edge); display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px 40px; margin-bottom: 40px; }
.notas-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.notas-eyebrow::before { content: ""; width: 22px; height: 1.5px; background: currentColor; }
.notas h2 { margin: 12px 0 0; font-family: var(--font-title); font-size: clamp(32px, 3.8vw, 52px); line-height: 1; font-weight: 700; letter-spacing: -0.035em; }
.notas-all { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; color: var(--ink); text-decoration: none; padding-bottom: 4px; border-bottom: 1px solid currentColor; }
.notas-all svg { width: 16px; height: 16px; transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.notas-all:hover svg { transform: translateX(4px); }
.notas-all:focus-visible { outline: 2px solid var(--cream); outline-offset: 4px; }

.notas-grid { list-style: none; margin: 0; padding: 0 var(--edge); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 1100px) { .notas-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {   /* en el celular: carrusel deslizable con la siguiente nota asomando */
  .notas-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 80%; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: var(--edge); scrollbar-width: none; padding-bottom: 6px; }
  .notas-grid::-webkit-scrollbar { display: none; }
  .notas { padding-block: 72px 80px; }
}
.nota { scroll-snap-align: start; min-width: 0; }
.nota a { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: 18px; overflow: hidden; background: #3a2231; box-shadow: inset 0 0 0 1px rgba(251,241,234,.08); color: var(--cream); text-decoration: none; isolation: isolate; }
.nota img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.001); opacity: 0; transition: transform 1.2s cubic-bezier(.2,.7,.2,1), opacity .8s ease; }
.nota img.ok { opacity: 1; }
.nota a::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(12,6,10,.35) 0%, rgba(12,6,10,0) 22%, rgba(12,6,10,0) 38%, rgba(12,6,10,.62) 64%, rgba(12,6,10,.93) 100%);
  transition: opacity .5s ease; }
.nota a:hover img, .nota a:focus-visible img { transform: scale(1.06); }
.nota a:focus-visible { outline: 3px solid var(--cream); outline-offset: 3px; }
.nota .ncat { position: absolute; top: 16px; left: 16px; font-size: 8.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; line-height: 1;
  padding: 4px 7px; border-radius: 999px; background: #ff7a3d; color: #26131F; }
.nota .txt { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 22px 22px; display: grid; gap: 10px; }
.nota .meta { font-size: 12.5px; color: rgba(251,241,234,.72); display: flex; align-items: center; gap: 8px; }
.nota .meta::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.nota h3 { margin: 0; font-family: var(--font-title); font-size: clamp(19px, 1.45vw, 23px); line-height: 1.15; font-weight: 600; letter-spacing: -0.02em; text-wrap: balance;
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.nota .leer { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; margin-top: 2px;
  opacity: .0; transform: translateY(6px); transition: opacity .4s ease, transform .4s cubic-bezier(.2,.7,.2,1); }
.nota .leer svg { width: 15px; height: 15px; }
.nota a:hover .leer, .nota a:focus-visible .leer { opacity: 1; transform: none; }
@media (hover: none) { .nota .leer { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .nota img, .nota .leer { transition: none; } }

/* Opiniones: reseñas reales de Google sobre beige, en columnas de alto libre */
.ops { --beige: #f2ece3; --card: #ffffff; --ink: #26131F; --ink-soft: #6f6168; --rule: #e6ddcf; --accent: #d6193d; --star: #ff7a3d;
  --edge: calc(max(0px, (100% - 1760px) / 2) + max(16px, 4vw));
  background: var(--beige); color: var(--ink); padding-block: 96px 104px; overflow: hidden; }
.ops-head { margin-left: var(--edge); margin-right: var(--edge); display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 28px 48px; margin-bottom: 44px; }
.ops-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.ops-eyebrow::before { content: ""; width: 22px; height: 1.5px; background: currentColor; }
.ops h2 { margin: 12px 0 0; font-family: var(--font-title); font-size: clamp(32px, 3.8vw, 52px); line-height: 1; font-weight: 700; letter-spacing: -0.035em; max-width: 15ch; text-wrap: balance; }
.ops-score { display: grid; grid-template-columns: auto auto; align-items: center; gap: 4px 18px; }
.ops-score .big { grid-row: span 2; font-family: var(--font-title); font-size: 64px; line-height: .9; font-weight: 700; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.ops-score .tot { font-size: 14px; color: var(--ink-soft); }
.ops-score a { grid-column: 1 / -1; margin-top: 10px; justify-self: start; display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; color: var(--ink); text-decoration: none; padding-bottom: 4px; border-bottom: 1px solid currentColor; }
.ops-score a svg { width: 16px; height: 16px; transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.ops-score a:hover svg { transform: translateX(4px); }
.stars { display: inline-flex; gap: 2px; color: var(--star); }
.stars svg { width: 15px; height: 15px; }
.ops-score .stars svg { width: 20px; height: 20px; }

.ops-wall { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(290px, 24vw, 380px); gap: 18px;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-left: var(--edge);
  padding: 6px var(--edge) 26px; scrollbar-width: none; cursor: grab; }
.ops-wall::-webkit-scrollbar { display: none; }
.ops-wall.drag { cursor: grabbing; scroll-snap-type: none; }
.ops-wall.drag .op { pointer-events: none; }
.ops-nav { margin: 6px var(--edge) 0; display: flex; align-items: center; gap: 24px; }
.ops-progress { flex: 1; height: 2px; background: #e2d8c9; position: relative; overflow: hidden; border-radius: 2px; }
.ops-progress span { position: absolute; inset: 0 auto 0 0; background: var(--ink); border-radius: 2px; transition: transform .12s linear; }
.ops-ctrl { display: flex; gap: 10px; }
.ops-ctrl button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer; display: grid; place-items: center;
  transition: background .25s ease, color .25s ease, opacity .25s ease, transform .2s ease; }
.ops-ctrl button:hover:not(:disabled) { background: var(--ink); color: var(--beige); }
.ops-ctrl button:active:not(:disabled) { transform: scale(.94); }
.ops-ctrl button:disabled { opacity: .25; cursor: default; }
.ops-ctrl button:focus-visible, .ops-wall:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.ops-ctrl svg { width: 18px; height: 18px; }
.op { scroll-snap-align: start; margin: 0; background: var(--card); border: 1px solid var(--rule); border-radius: 20px; padding: 24px 24px 22px; display: flex; flex-direction: column; gap: 16px; min-width: 0;
  transition: transform .45s cubic-bezier(.2,.7,.2,1), box-shadow .45s cubic-bezier(.2,.7,.2,1), opacity .6s ease; }
.op:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -30px rgba(38,19,31,.4); }
.op.pre { opacity: 0; transform: translateY(22px); }
.op blockquote { margin: 0; font-size: 16.5px; line-height: 1.55; letter-spacing: -0.005em; }
.op.big blockquote { font-family: var(--font-title); font-size: 21px; line-height: 1.3; font-weight: 500; letter-spacing: -0.02em; }
.op .more { font-size: 13.5px; font-weight: 600; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.op footer { display: flex; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid var(--rule); margin-top: auto; }
.op .more { align-self: flex-start; }
.av { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-size: 15px; font-weight: 600; color: #fbf1ea; flex: none; }
.op .who { display: grid; gap: 2px; min-width: 0; }
.op .who b { font-weight: 600; font-size: 14.5px; }
.op .who span { font-size: 12.5px; color: var(--ink-soft); }
.op .g { margin-left: auto; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.ops-rest { margin: 28px var(--edge) 0; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; padding: 18px 22px; border-radius: 20px; border: 1px dashed #d6cbbb; }
.ops-rest .stack { display: flex; }
.ops-rest .stack .av { width: 32px; height: 32px; font-size: 13px; border: 2px solid var(--beige); margin-left: -8px; }
.ops-rest .stack .av:first-child { margin-left: 0; }
.ops-rest p { margin: 0; font-size: 15px; color: var(--ink-soft); }
.ops-rest p b { color: var(--ink); font-weight: 600; }
.ops a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
@media (max-width: 560px) { .ops { padding-block: 72px 80px; } .op.big blockquote { font-size: 19px; } }
@media (prefers-reduced-motion: reduce) { .op { transition: none; } .op.pre { opacity: 1; transform: none; } }

/* Líneas de progreso de los carruseles: ocultas en pantallas grandes, muy sutiles en el celular */
.serv-progress { display: none; }
.ops-progress { visibility: hidden; }
@media (max-width: 640px) {
  .serv-progress { display: block; height: 1.5px; margin-top: 4px; background: rgba(38,19,31,.08); }
  .serv-progress span { background: rgba(38,19,31,.38); }
  .ops-progress { visibility: visible; height: 1.5px; background: rgba(38,19,31,.08); }
  .ops-progress span { background: rgba(38,19,31,.38); }
}


/* Cabecera: "Hablemos", hamburguesa, barra fija y menú del celular */
.nav-act { display: flex; align-items: center; gap: 12px; }
.hablar { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; color: #fff; text-decoration: none; font: 600 15px var(--font-body);
  padding: 8px 18px 8px 14px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.8); transition: background .25s ease, color .25s ease, border-color .25s ease; }
.hablar svg { width: 17px; height: 17px; }
.hablar:hover { background: #fff; color: var(--plum); border-color: #fff; }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.7); background: rgba(20,8,14,.18); cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 0; }
.burger span { display: block; width: 18px; height: 1.8px; border-radius: 2px; background: #fff; }
.burger span:nth-child(2) { width: 12px; margin-left: 6px; }

.sbar { position: fixed; top: 0; left: 0; right: 0; z-index: 40; background: rgba(38,19,31,.94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(251,241,234,.08); padding-top: env(safe-area-inset-top, 0px); color: #fff;
  transform: translateY(-105%); transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.sbar.on { transform: none; }
.sbar-in { max-width: 1760px; margin: 0 auto; box-sizing: border-box; padding: 12px var(--edge); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.sbar-logo img { height: 34px; width: auto; display: block; }
.sbar ul { display: flex; gap: clamp(20px, 2.6vw, 44px); list-style: none; margin: 0; padding: 0; font-size: 15px; font-weight: 500; }
.sbar ul a { color: #fff; text-decoration: none; }
.sbar ul a:hover { text-decoration: underline; text-underline-offset: 5px; }
.sbar .hablar { padding-block: 7px; font-size: 14px; }
.sbar a:focus-visible, .sbar button:focus-visible, .mmenu a:focus-visible, .mmenu button:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

.mmenu { position: fixed; inset: 0; z-index: 60; background: #26131F; color: #fbf1ea; overflow-y: auto; box-sizing: border-box;
  padding: calc(env(safe-area-inset-top, 0px) + 18px) var(--edge) calc(env(safe-area-inset-bottom, 0px) + 28px);
  display: flex; flex-direction: column; gap: 28px; opacity: 0; visibility: hidden; transform: translateY(-12px);
  transition: opacity .35s ease, transform .45s cubic-bezier(.2,.7,.2,1), visibility 0s linear .45s; }
.mmenu.open { opacity: 1; visibility: visible; transform: none; transition: opacity .35s ease, transform .45s cubic-bezier(.2,.7,.2,1), visibility 0s; }
.mm-top { display: flex; align-items: center; justify-content: space-between; }
.mm-top img { height: 38px; width: auto; }
.mm-close { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(251,241,234,.6); background: none; color: #fff; cursor: pointer; display: grid; place-items: center; }
.mm-close svg { width: 20px; height: 20px; }
.mm-links { list-style: none; margin: 8px 0 0; padding: 0; display: grid; }
.mm-links a { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; border-bottom: 1px solid rgba(251,241,234,.1); color: #fbf1ea; text-decoration: none;
  font-family: var(--font-body); font-size: 21px; font-weight: 400; letter-spacing: -0.005em; line-height: 1.2; }
.mm-links a::after { content: ""; width: 8px; height: 8px; border-top: 1.5px solid rgba(251,241,234,.5); border-right: 1.5px solid rgba(251,241,234,.5); transform: rotate(45deg); margin-right: 4px; }
.mmenu.open .mm-links li { animation: mmIn .5s cubic-bezier(.2,.7,.2,1) both; }
.mmenu.open .mm-links li:nth-child(2) { animation-delay: .04s } .mmenu.open .mm-links li:nth-child(3) { animation-delay: .08s }
.mmenu.open .mm-links li:nth-child(4) { animation-delay: .12s } .mmenu.open .mm-links li:nth-child(5) { animation-delay: .16s }
@keyframes mmIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.mm-foot { margin-top: auto; display: grid; gap: 14px; justify-items: start; }
.mm-cta { font-size: 16px; padding: 12px 24px; }
.mm-wa { font-size: 15px; }
.msoc { display: flex; gap: 6px; margin-top: 6px; }
.msoc a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(251,241,234,.25); display: grid; place-items: center; color: #fff; }
.msoc svg { width: 17px; height: 17px; }
.mm-acc { display: inline-flex; align-items: center; gap: 8px; color: #fbf1ea; text-decoration: none; font-weight: 500; font-size: 15px; }
.mm-acc svg { width: 15px; height: 15px; }
.mm-seo { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #c9b5c0; }

@media (max-width: 1180px) { .sbar ul { display: none; } }
@media (max-width: 980px) { .sbar { -webkit-backdrop-filter: none; backdrop-filter: none; background: #26131F; } }
.menu-abierto .grain { animation-play-state: paused; }
@media (max-width: 980px) { nav.main .hablar, .sbar .hablar { display: none; } .burger { display: flex; } }
@media (max-width: 480px) { .sbar-logo img { height: 28px; } .sbar .pill { padding: 6px 12px; font-size: 13px; } .sbar .nav-act { gap: 8px; } .sbar .burger { width: 40px; height: 40px; } }
@media (prefers-reduced-motion: reduce) { .sbar, .mmenu, .mmenu.open { transition: none; } .mmenu.open .mm-links li { animation: none; } }

/* Footer: cuatro columnas sobre bordó; en celular, marca arriba y el resto en dos columnas */
.pie { --ink: #fbf1ea; --soft: #c9b5c0; --rule: rgba(251,241,234,.12); --accent: #ff6b80;
  --edge: calc(max(0px, (100% - 1760px) / 2) + max(16px, 4vw));
  background: #1e0f19; color: var(--ink); padding: 80px var(--edge) 28px; font-family: var(--font-body); }
.pie-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) repeat(3, minmax(0, 1fr)); gap: 48px; }
.pie-marca { display: grid; gap: 22px; justify-items: start; align-content: start; }
.pie-marca img { width: 168px; height: auto; display: block; }
.pie-marca p { margin: 0; color: var(--soft); font-size: 15px; line-height: 1.55; font-weight: 300; max-width: 30ch; }
.pie-soc { display: flex; gap: 10px; flex-wrap: wrap; }
.pie-soc a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: var(--ink); border: 1px solid var(--rule); transition: background .2s ease, color .2s ease, border-color .2s ease; }
.pie-soc a:hover { background: var(--ink); color: #1e0f19; border-color: var(--ink); }
.pie-soc svg { width: 19px; height: 19px; }
.pie h3 { margin: 0 0 18px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.pie ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.pie ul a { color: var(--ink); text-decoration: none; font-size: 15.5px; line-height: 1.35; transition: color .2s ease; }
.pie ul a:hover { color: var(--accent); }
.pie-cont li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; }
.pie-cont svg { width: 18px; height: 18px; color: var(--soft); margin-top: 1px; }
.pie-cont small { display: block; color: var(--soft); font-size: 13.5px; margin-top: 2px; }
.pie-cta { display: inline-block; margin-top: 22px; background: #cc9933; color: #fff; text-decoration: none; font-weight: 600; font-size: 13.5px; padding: 8px 16px; border-radius: 999px; transition: background .2s ease; }
.pie-cta:hover { background: #b98a2c; }
.pie-base { margin-top: 64px; padding-top: 22px; border-top: 1px solid var(--rule); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; font-size: 13.5px; color: var(--soft); }
.pie-base a { color: var(--soft); text-decoration: none; }
.pie-base a:hover { color: var(--ink); }
@media (max-width: 1100px) { .pie-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 32px; } }
@media (max-width: 640px) {
  .pie { padding-top: 56px; }
  .pie-grid { grid-template-columns: 1fr; gap: 44px; }
  .pie-marca { justify-items: center; text-align: center; padding-bottom: 40px; border-bottom: 1px solid var(--rule); }
  .pie-marca img { width: 150px; }
  .pie-soc { justify-content: center; }
  .pie h3 { margin-bottom: 16px; }
  .pie ul { gap: 14px; }
  .pie ul a { font-size: 16px; }
  .pie-base { margin-top: 48px; flex-direction: column; align-items: center; text-align: center; gap: 8px; }
}

/* ------------------------------------------------------------------
   Base del documento y páginas internas.
   Estilo provisorio y sobrio hasta tener los diseños de cada página
   (caso, artículo, listados). Usa la misma paleta y tipografías.
------------------------------------------------------------------ */
body { margin: 0; }
.interna { background: #f2ece3; color: #26131F; font-family: var(--font-body); }
.interna .sbar { position: sticky; transform: none; }
.saltar { position: absolute; left: -9999px; top: 0; z-index: 100; background: #fff; color: #26131F; padding: 10px 16px; border-radius: 8px; }
.saltar:focus { left: 16px; top: 12px; }

.int { --edge: calc(max(0px, (100% - 1180px) / 2) + max(16px, 4vw)); padding: 64px var(--edge) 96px; }
.int-head { max-width: 860px; margin-bottom: 40px; }
.int-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #bd1111; }
.int-eyebrow::before { content: ""; width: 22px; height: 1.5px; background: currentColor; }
.int h1 { font-family: var(--font-title); font-weight: 700; font-size: clamp(32px, 4.6vw, 58px); line-height: 1.04; letter-spacing: -0.035em; margin: 14px 0 0; text-wrap: balance; }
.int-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; color: #6f6168; font-size: 15px; }
.int-meta a { color: inherit; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chips span { font-size: 12.5px; font-weight: 500; border: 1px solid #d9cfc1; border-radius: 999px; padding: 4px 11px; color: #4b3a44; }

.prosa { max-width: 720px; font-size: 18px; line-height: 1.7; font-weight: 300; }
.prosa p { margin: 0 0 1.1em; }
.prosa h2, .prosa h3, .prosa h4 { font-family: var(--font-title); font-weight: 650; letter-spacing: -0.02em; line-height: 1.15; margin: 1.8em 0 .6em; }
.prosa h2 { font-size: 30px; } .prosa h3 { font-size: 24px; } .prosa h4 { font-size: 20px; }
.prosa a { color: #9b0f0f; text-underline-offset: 3px; }
.prosa img, .prosa iframe { max-width: 100%; height: auto; border-radius: 12px; }
.prosa iframe { aspect-ratio: 16 / 9; width: 100%; border: 0; }
.prosa blockquote { margin: 1.6em 0; padding-left: 20px; border-left: 3px solid #cc9933; font-style: italic; }
.prosa ul, .prosa ol { padding-left: 1.3em; }
.prosa strong, .prosa b { font-weight: 600; }

.vivo { display: inline-flex; align-items: center; gap: 8px; margin-top: 26px; background: #26131F; color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; padding: 11px 20px; border-radius: 999px; }
.vivo:hover { background: #3a2130; }
.galeria { margin-top: 48px; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 18px; }
.galeria figure { margin: 0; background: #fff; border-radius: 14px; overflow: hidden; }
.galeria img { display: block; width: 100%; height: auto; }

.listado { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 22px; }
.listado a { display: grid; gap: 12px; color: inherit; text-decoration: none; background: #fff; border-radius: 16px; overflow: hidden; padding-bottom: 18px; height: 100%; box-sizing: border-box; transition: transform .25s ease; }
.listado a:hover { transform: translateY(-3px); }
.listado .ph { aspect-ratio: 4 / 3; background: #e6ddcf; overflow: hidden; }
.listado .ph img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.listado h2 { font-family: var(--font-title); font-weight: 600; font-size: 19px; letter-spacing: -0.015em; line-height: 1.2; margin: 0 18px; }
.listado p { margin: 0 18px; color: #6f6168; font-size: 14px; }

.error-pag { text-align: center; padding: 120px var(--edge, 16px); }
.error-pag .num { font-family: var(--font-title); font-size: clamp(80px, 14vw, 160px); font-weight: 700; letter-spacing: -0.05em; line-height: 1; color: #cc9933; }
.error-pag a { color: #26131F; }

/* Leyenda del cambio de paisaje en la portada (reemplaza a la brújula) */
.rumbo-nuevo { margin: 0; display: inline-flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: #fff; opacity: 0; transform: translateY(6px); transition: opacity .9s ease, transform .9s ease; text-shadow: 0 1px 12px rgba(0,0,0,.35); pointer-events: none; }
.rumbo-nuevo::before, .rumbo-nuevo::after { content: ""; width: 22px; height: 1px; background: currentColor; opacity: .7; }
.rumbo-nuevo.on { opacity: 1; transform: none; }
