/* ===== Portafolio · versión oscura del sistema Ariel Ok ===== */
:root {
  --bg: #0b0b0a;
  --ink: #f3f3ee;
  --ink-dim: #c9c9c1;
  --gray: #9b9b93;
  --surface: #161614;
  --surface-2: #1f1f1c;
  --line: #2a2a26;
  --black: #0b0b0a;
  --pad: 16px;
  color-scheme: dark;
}
@media (min-width: 900px) { :root { --pad: 40px; } }

html { scroll-padding-top: 76px; }
body { background: var(--bg); color: var(--ink); }
::selection { background: var(--lime); color: var(--black); }
html { scrollbar-color: #3a3a35 var(--bg); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #33332f; border-radius: 10px; border: 2px solid var(--bg); }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 10px; }
a { text-underline-offset: 3px; }

.pwrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--pad); }
.skip { position: fixed; left: 12px; top: -60px; z-index: 300; background: var(--lime); color: var(--black); padding: 12px 18px; border-radius: 999px; font-weight: 700; text-decoration: none; transition: top .2s; }
.skip:focus { top: 12px; }

/* ---- Botones en oscuro ---- */
.pill-lime, .pill .arrow { color: var(--black); }
.pill-lime { box-shadow: 0 14px 28px -14px rgba(0,0,0,.85); }
.pill-light { background: var(--ink); color: var(--black); box-shadow: 0 14px 30px -14px rgba(0,0,0,.8); }
.pill-outline { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px rgba(243,243,238,.5); }
.pill { transition: transform .35s var(--spring), background .25s, box-shadow .35s var(--ease), color .25s; }
@media (hover: hover) {
  .pill-light:hover { background: #fff; transform: translateY(-2px); }
  .pill-lime:hover { transform: translateY(-2px); background: #d4ff52; box-shadow: 0 18px 32px -12px rgba(0,0,0,.9); }
  .pill-outline:hover { box-shadow: inset 0 0 0 1.5px var(--ink); background: rgba(255,255,255,.06); }
}
.pill .arrow svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.chip-glass { background: rgba(255,255,255,.07); color: var(--ink); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.pulse-lime { background: var(--lime); animation: pulseL 1.8s infinite; }
@keyframes pulseL { 0% { box-shadow: 0 0 0 0 rgba(199,255,46,.6); } 70% { box-shadow: 0 0 0 9px rgba(199,255,46,0); } 100% { box-shadow: 0 0 0 0 rgba(199,255,46,0); } }

/* Puntero en oscuro */
.cur-dot { background: var(--lime); }
.cur-ring { border-color: rgba(243,243,238,.5); }
.cur-ring.hover { background: rgba(199,255,46,.22); }
.cur-glow { opacity: 0; mix-blend-mode: screen; }

/* ---- Barra superior ---- */
.ptop { position: sticky; top: 0; z-index: 50; background: rgba(11,11,10,.7); backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px); transition: box-shadow .3s; }
.ptop.scrolled { box-shadow: 0 1px 0 var(--line); }
.ptop-in { position: relative; display: flex; align-items: center; justify-content: center; height: 60px; }
.ptop-logo { display: inline-flex; align-items: center; min-height: 44px; }
.ptop-logo img { height: 18px; width: auto; }
.ptop-nav { display: none; gap: 28px; font-size: 14px; font-weight: 600; position: absolute; right: var(--pad); top: 50%; translate: 0 -50%; }
.ptop-nav a { text-decoration: none; color: var(--ink-dim); position: relative; padding: 12px 0; transition: color .2s; }
.ptop-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 2px; background: var(--lime); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.ptop-nav a:hover, .ptop-nav a.on { color: var(--ink); }
.ptop-nav a:hover::after, .ptop-nav a.on::after { transform: scaleX(1); }
@media (min-width: 900px) { .ptop-nav { display: flex; } }

/* ---- 1 · Presentación ---- */
.p-hero { position: relative; overflow: hidden; padding: 28px 0 0; }
.hero-grid { position: relative; display: grid; gap: 4px; }
.hero-chip { margin-bottom: 18px; }
.hero-name { font-size: clamp(64px, 21vw, 168px); line-height: .86; letter-spacing: -.01em; }
.hero-name .line { display: inline-block; vertical-align: top; overflow: hidden; padding-bottom: .05em; }
.hero-name .line + .line { margin-left: .18em; }
.hero-name .line > span { display: inline-block; transform: translateY(110%) rotate(4deg); transform-origin: left bottom; animation: rise 1s var(--ease) forwards; }
.hero-name .line:nth-child(2) > span { animation-delay: .12s; }
@keyframes rise { to { transform: none; } }
.hl { position: relative; z-index: 0; color: var(--black); padding: 0 .06em; }
.hl::after { content: ""; position: absolute; left: -.04em; right: -.04em; top: .02em; bottom: .02em; background: var(--lime); z-index: -1; border-radius: 12px; transform: scaleX(0); transform-origin: left; animation: hl .7s .75s var(--ease) forwards; }
@keyframes hl { to { transform: scaleX(1); } }
.hero-role { margin: 14px 0 0; font-family: var(--display); font-size: clamp(22px, 6vw, 32px); text-transform: uppercase; line-height: 1; letter-spacing: .01em; opacity: 0; animation: fadeUp .8s .45s var(--ease) forwards; }
.hero-lede { margin: 0; max-width: 46ch; color: var(--ink-dim); font-size: 16px; line-height: 1.55; opacity: 0; animation: fadeUp .8s .6s var(--ease) forwards; }
.hero-lede b { color: var(--ink); }
.hero-actions { display: grid; gap: 10px; margin-top: 22px; opacity: 0; animation: fadeUp .8s .75s var(--ease) forwards; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.p-stage { position: relative; height: 370px; margin: 0 calc(-1 * var(--pad)) 6px; perspective: 1100px; perspective-origin: 50% 40%; touch-action: pan-y; cursor: grab; }
.p-stage:active { cursor: grabbing; }
.glow { position: absolute; left: 50%; top: 52%; width: 340px; height: 340px; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(199,255,46,.55) 0%, rgba(199,255,46,0) 68%); filter: blur(14px); animation: breathe 5s ease-in-out infinite; }
@keyframes breathe { 50% { transform: translate(-50%, -50%) scale(1.14); } }
.ring { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform-style: preserve-3d; }
.ring-card { position: absolute; width: 140px; height: 196px; left: -70px; top: -98px; border-radius: 22px; overflow: hidden; background: var(--surface); box-shadow: 0 24px 44px -18px rgba(0,0,0,.9); backface-visibility: hidden; -webkit-backface-visibility: hidden; opacity: 0; animation: cardIn .9s var(--ease) forwards; }
.ring-card img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ring-card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(160deg, rgba(255,255,255,.18), transparent 42%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
@keyframes cardIn { to { opacity: 1; } }
.float-tag { position: absolute; z-index: 5; padding: 10px 15px; border-radius: 999px; font-size: 13px; font-weight: 700; background: rgba(31,31,28,.86); color: var(--ink); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 16px 34px -10px rgba(0,0,0,.7), inset 0 0 0 1px rgba(255,255,255,.08); animation: floaty 5s ease-in-out infinite; translate: var(--px, 0) var(--py, 0); transition: translate .25s linear; }
.float-tag.t1 { left: 16px; top: 22px; }
.float-tag.t2 { right: 16px; top: 128px; background: var(--ink); color: var(--black); animation-delay: -1.6s; }
.float-tag.t3 { left: 30px; bottom: 26px; background: var(--lime); color: var(--black); animation-delay: -3.2s; }
@keyframes floaty { 50% { transform: translateY(-10px) rotate(-1.5deg); } }
.hero-copy { position: relative; z-index: 2; translate: var(--hx, 0) var(--hy, 0); transition: translate .3s linear; }

@media (min-width: 900px) {
  .p-hero { padding-top: 40px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); grid-template-areas: "copy stage" "more stage"; column-gap: 24px; align-content: center; min-height: calc(100svh - 64px - 150px); }
  .hero-copy { grid-area: copy; align-self: end; }
  .hero-more { grid-area: more; align-self: start; margin-top: 22px; }
  .hero-name .line { display: block; }
  .hero-name .line + .line { margin-left: 0; }
  .hero-actions { display: flex; flex-wrap: wrap; }
  .p-stage { grid-area: stage; height: 580px; margin: 0; }
  .ring-card { width: 176px; height: 246px; left: -88px; top: -123px; border-radius: 26px; }
  .float-tag.t1 { left: 4%; top: 12%; } .float-tag.t2 { right: 2%; top: 30%; } .float-tag.t3 { left: 10%; bottom: 12%; }
}

/* Cintas */
.bands { display: grid; gap: 12px; margin: 26px 0 0; padding: 18px 0 30px; overflow: hidden; }
.band { transform: rotate(var(--rot)); margin: 0 -16px; padding: 12px 0; overflow: hidden; }
.band-lime { background: var(--lime); color: var(--black); z-index: 2; position: relative; box-shadow: 0 16px 30px -16px rgba(0,0,0,.85); }
.band-light { background: var(--ink); color: var(--black); }
.band-in { display: flex; align-items: center; width: max-content; animation: marquee 60s linear infinite; font-family: var(--display); font-size: 20px; text-transform: uppercase; white-space: nowrap; }
.band-in.rev { animation-direction: reverse; }
.band:hover .band-in { animation-play-state: paused; }
.band-in span { padding: 0 14px; }
.band-in i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; opacity: .35; flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---- Secciones ---- */
.p-sec { padding: 120px 0 0; }
.sec-head { margin-bottom: 22px; }
.sec-title { font-size: clamp(44px, 12vw, 96px); line-height: .92; text-wrap: balance; }
.sec-title-sm { font-size: clamp(36px, 9vw, 64px); }
.sec-lede { margin: 14px 0 0; max-width: 52ch; color: var(--ink-dim); font-size: 16px; line-height: 1.55; }
@media (min-width: 900px) {
  .p-sec { padding-top: 190px; }
  .sec-head { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 40px; margin-bottom: 34px; }
  .sec-head .sec-lede { margin: 0 0 10px; justify-self: end; }
}

/* Revelado (una sola vez, nunca oculta contenido sin JS) */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---- 2 · Portafolio ---- */
.proj-scroll { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px calc(50% - 36vw) 26px; perspective: 900px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.proj-scroll::-webkit-scrollbar { display: none; }
.proj { flex: 0 0 72vw; max-width: 360px; height: 420px; scroll-snap-align: center; border-radius: var(--radius); overflow: hidden; position: relative; color: #fff; background: var(--surface); transform-style: preserve-3d; will-change: transform; box-shadow: 0 30px 50px -30px rgba(0,0,0,.9); text-align: left; }
.proj img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); will-change: transform; transition: filter .4s; }
.proj::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 38%, rgba(0,0,0,.88)); }
.proj-body { position: absolute; z-index: 1; left: 20px; right: 20px; bottom: 20px; }
.proj-body h3 { font-size: 32px; line-height: .95; margin: 10px 0 6px; }
.proj-body p { margin: 0; font-size: 14px; color: #d8d8d0; }
.proj .chip { background: rgba(11,11,10,.55); color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.proj[aria-selected="true"] { box-shadow: 0 30px 50px -30px rgba(0,0,0,.9), 0 0 0 3px var(--lime); }
.proj[aria-selected="true"] .chip { background: var(--lime); color: var(--black); }
.proj-dots { display: flex; justify-content: center; gap: 6px; margin-bottom: 30px; }
.proj-dots i { width: 8px; height: 8px; border-radius: 99px; background: #3a3a35; transition: width .4s var(--spring), background .3s; }
.proj-dots i.on { width: 26px; background: var(--lime); }
@media (min-width: 900px) { .proj { flex-basis: 320px; height: 440px; } .proj-scroll { padding-inline: calc(50% - 160px); } }

.proj-panel { transition: opacity .35s var(--ease); }
.proj-panel.swap { opacity: 0; }
.pp-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 20px; margin-bottom: 18px; }
.pp-head h3 { font-size: clamp(30px, 8vw, 52px); }
.pp-head p { margin: 0; color: var(--ink-dim); }

.gal { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: dense; gap: 10px; }
.gal-item { display: block; width: 100%; aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; background: var(--surface); position: relative; cursor: zoom-in; }
.gal-item.wide { grid-column: span 2; aspect-ratio: 8 / 5; }
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), opacity .5s; opacity: 0; }
.gal-item img.ok { opacity: 1; }
@media (hover: hover) { .gal-item:hover img { transform: scale(1.03); } }
@media (min-width: 700px) { .gal { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; } .gal-item { border-radius: 22px; } }
@media (min-width: 1100px) { .gal { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

.pp-sub { display: grid; gap: 34px; margin-top: 44px; }
.pp-sub h4 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(24px, 6vw, 34px); line-height: 1; margin: 0 0 6px; }
.pp-sub .note { margin: 0 0 16px; color: var(--gray); font-size: 14px; }
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.posts .gal-item { aspect-ratio: 3 / 4; }
.posts .gal-item img { object-position: top; }
.bk { aspect-ratio: 4 / 5; }
@media (min-width: 900px) { .pp-sub { grid-template-columns: 2fr 1fr; gap: 24px; align-items: start; } .posts { gap: 14px; } }

/* ---- 3 · Clientes y coberturas ---- */
.cli-hero { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 460px; display: flex; align-items: flex-end; background: var(--surface); }
.cli-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.cli-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,11,10,.05) 25%, rgba(11,11,10,.92)); }
.cli-hero-txt { position: relative; z-index: 1; padding: 24px; }
.cli-hero-txt .sec-title { font-size: clamp(40px, 11vw, 88px); }
.cli-hero-txt p { margin: 12px 0 0; max-width: 44ch; color: var(--ink-dim); }
@media (min-width: 900px) { .cli-hero { min-height: 620px; } .cli-hero-txt { padding: 44px; } }

.cli-grid { display: grid; gap: 14px; margin-top: 14px; }
.cli-block { background: var(--surface); border-radius: var(--radius); padding: 24px; }
.cli-title { font-size: 22px; line-height: 1; margin-bottom: 16px; }
.cli-list { list-style: none; margin: 0; padding: 0; display: grid; }
.cli-list li { display: flex; justify-content: space-between; gap: 12px; padding: 13px 0; border-top: 1px solid var(--line); font-weight: 600; line-height: 1.3; }
.cli-list li:first-child { border-top: 0; padding-top: 2px; }
.cli-list li small { color: var(--gray); font-weight: 600; white-space: nowrap; }
.cli-note { margin: -6px 0 18px; color: var(--ink-dim); font-size: 14px; line-height: 1.5; }
.bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.bars li { display: grid; grid-template-columns: 96px 1fr auto; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; }
.bars .track { height: 10px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.bars .fill { display: block; height: 100%; border-radius: inherit; background: var(--lime); width: var(--w); transform: scaleX(0); transform-origin: left; transition: transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.bars.in .fill { transform: none; }
.bars li.fuera .fill { background: var(--ink-dim); }
.bars b { font-family: var(--display); font-weight: 400; font-size: 20px; min-width: 46px; text-align: right; }
@media (min-width: 900px) {
  .cli-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cli-block { padding: 30px; }
}

/* ---- 4 · Sobre mí ---- */
.about-grid { display: grid; gap: 26px; }
.about-photo { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--surface); aspect-ratio: 4 / 5; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.about-name { font-family: var(--display); text-transform: uppercase; font-size: 22px; color: var(--lime); margin: 14px 0 16px; line-height: 1; }
.about-copy > p { color: var(--ink-dim); line-height: 1.6; margin: 0 0 12px; max-width: 60ch; }
.about-copy b { color: var(--ink); }
.mv { display: grid; gap: 12px; margin: 28px 0 30px; }
.mv-card { background: var(--surface); border-radius: var(--radius); padding: 24px; }
.mv h3 { font-size: 24px; margin-bottom: 10px; }
.mv p { margin: 0; color: var(--ink-dim); line-height: 1.6; font-size: 15px; }
.quote { margin: 0 0 26px; }
.quote p { font-family: var(--display); text-transform: uppercase; font-size: clamp(26px, 7vw, 40px); line-height: 1; margin: 0; }
.quote footer { margin-top: 12px; color: var(--lime); font-weight: 700; }
.contact { display: flex; flex-wrap: wrap; gap: 10px; }
.contact .pill { min-height: 48px; }
@media (min-width: 900px) {
  .about-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
  .about-photo { position: sticky; top: 90px; }
  .mv { grid-template-columns: 1fr 1fr; gap: 14px; }
}

/* ---- Términos ---- */
.terms-grid { display: grid; gap: 22px; }
.terms { border-top: 1px solid var(--line); }
.terms details { border-bottom: 1px solid var(--line); }
.terms summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 76px; padding: 22px 2px; font-weight: 700; font-size: 17px; }
.terms summary::-webkit-details-marker { display: none; }
.terms summary::after { content: ""; width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--surface-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v12M6 12h12' stroke='%23f3f3ee' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center / 16px no-repeat; transition: transform .4s var(--spring), background-color .25s; }
.terms details[open] summary::after { transform: rotate(45deg); background-color: var(--lime); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v12M6 12h12' stroke='%230b0b0a' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E"); }
.terms summary:hover { color: #fff; }
.terms details p { margin: 0 0 16px; color: var(--ink-dim); line-height: 1.6; max-width: 68ch; }
.terms details p:last-child { margin-bottom: 30px; }
.terms details a { color: var(--lime); }
@media (min-width: 900px) { .terms-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; } }

/* ---- Pie ---- */
.pfoot { margin-top: 150px; padding: 44px 0 0; border-top: 1px solid var(--line); overflow: hidden; }
.pfoot-in { display: grid; gap: 22px; justify-items: start; }
.pfoot-logo { height: 26px; width: auto; }
.pfoot-links { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.pfoot-links a { color: var(--ink-dim); text-decoration: none; font-size: 14px; font-weight: 600; padding: 12px 0; display: inline-block; }
.pfoot-links a:hover { color: var(--lime); }
.pfoot-copy { margin: 0; font-size: 13px; color: var(--gray); line-height: 1.6; }
@media (min-width: 900px) { .pfoot { margin-top: 200px; } .pfoot-in { grid-template-columns: auto 1fr; align-items: center; } .pfoot-links { justify-content: flex-end; justify-self: end; } .pfoot-copy { grid-column: 1 / -1; } }

/* ---- Visor de fotos ---- */
.lb { position: fixed; inset: 0; z-index: 250; background: rgba(6,6,5,.96); display: grid; grid-template-rows: auto 1fr; opacity: 0; transition: opacity .3s var(--ease); }
.lb.open { opacity: 1; }
.lb-bar { display: flex; justify-content: space-between; align-items: center; padding: calc(10px + env(safe-area-inset-top, 0px)) 14px 10px 20px; }
.lb-count { font-weight: 700; font-size: 14px; color: var(--ink-dim); font-variant-numeric: tabular-nums; }
.lb-stage { position: relative; display: grid; place-items: center; padding: 0 12px calc(16px + var(--safe-b)); overflow: hidden; touch-action: pan-y; }
.lb-stage img { max-width: 100%; max-height: calc(100svh - 110px); width: auto; height: auto; border-radius: 16px; transition: transform .45s var(--ease), opacity .3s; user-select: none; -webkit-user-drag: none; }
.lb-btn { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.1); color: var(--ink); transition: background .2s, transform .3s var(--spring); }
.lb-btn:hover { background: rgba(255,255,255,.18); }
.lb-btn:active { transform: scale(.9); }
.lb-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.lb-prev, .lb-next { position: absolute; top: 50%; translate: 0 -50%; display: none; }
.lb-prev { left: 18px; } .lb-next { right: 18px; }
@media (hover: hover) and (pointer: fine) { .lb-prev, .lb-next { display: grid; } }

@media (prefers-reduced-motion: reduce) {
  .hero-name .line > span, .hl::after, .hero-role, .hero-lede, .hero-actions { animation: none !important; transform: none !important; opacity: 1 !important; }
  .js .reveal { opacity: 1; transform: none; }
  .bars .fill { transform: none; }
  .band-in { animation: none; }
}

/* ---- Cuadros verde lima (resaltan sobre el fondo negro) ---- */
.lime-box { background: var(--lime); color: var(--black); border-radius: var(--radius); position: relative; overflow: hidden; }
.lime-box p, .lime-box .note, .lime-box .cli-note { color: rgba(11,11,10,.74); }

.mv-card.lime-box p { color: rgba(11,11,10,.78); }

.pp-posts { padding: 22px; }
.pp-posts .gal-item { background: #fff; box-shadow: 0 14px 26px -16px rgba(0,0,0,.5); }
@media (min-width: 900px) { .pp-posts { padding: 28px; } }

.cli-menores.lime-box .bars .track { background: rgba(11,11,10,.13); }
.cli-menores.lime-box .bars .fill { background: var(--black); }
.cli-menores.lime-box .bars li.fuera .fill { background: rgba(11,11,10,.42); }

.cov-box { padding: 26px 24px; margin: 0 0 22px; }
.cov-box h3 { font-size: clamp(30px, 8vw, 44px); line-height: .95; margin-bottom: 6px; }
.cov-opt { padding: 18px 0 2px; border-top: 1.5px solid rgba(11,11,10,.16); margin-top: 16px; }
.cov-opt p { margin: 0 0 14px; line-height: 1.5; font-weight: 600; max-width: 46ch; }
.cov-opt .cov-tag { font-family: var(--display); text-transform: uppercase; font-weight: 400; font-size: 20px; line-height: 1; color: var(--black); margin-bottom: 8px; }
.cov-links { display: flex; flex-wrap: wrap; gap: 8px; }
@media (min-width: 900px) { .cov-box { padding: 32px; } }

.pill-black { background: var(--black); color: var(--ink); box-shadow: 0 12px 24px -14px rgba(0,0,0,.7); }
.pill-black .arrow { background: var(--lime); color: var(--black); }
.pill-line-black { background: transparent; color: var(--black); box-shadow: inset 0 0 0 1.5px var(--black); }
.cov-box .pill { min-height: 46px; }
@media (hover: hover) {
  .pill-black:hover { background: #000; transform: translateY(-2px); }
  .pill-line-black:hover { background: rgba(11,11,10,.08); }
}


/* ---- Portafolio: cuadro verde de la cobertura elegida + fotos desplegables ---- */
.pp-box { display: grid; gap: 18px; padding: 24px; align-items: center; }
.pp-box h3 { font-size: clamp(30px, 8vw, 52px); line-height: .92; }
.pp-box p { margin: 8px 0 0; font-weight: 600; }
.pp-toggle { justify-self: start; min-height: 52px; }
.pp-toggle .arrow { transition: transform .5s var(--spring); }
.pp-toggle.on .arrow { transform: rotate(180deg); }
@media (min-width: 900px) { .pp-box { grid-template-columns: 1fr auto; padding: 32px 36px; } }

.pp-more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .9s var(--ease); }
.pp-more.open { grid-template-rows: 1fr; }
.pp-more-in { min-height: 0; overflow: hidden; }
.pp-more .gal { padding-top: 14px; }
.pp-more .gal-item, .pp-more .pp-sub > div { opacity: 0; transform: translateY(26px) scale(.97); transition: opacity .6s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 45ms + .1s); }
.pp-more .pp-sub > div { transition-delay: .55s; }
.pp-more.open .gal-item, .pp-more.open .pp-sub > div { opacity: 1; transform: none; }
.pp-more .pp-sub > div .gal-item { opacity: 1; transform: none; }

/* ---- Anillo de fotos a medio ocultar al final de la página ---- */
.foot-ring { position: relative; height: calc(152px + var(--safe-b)); margin-top: 22px; overflow: hidden; touch-action: pan-y; }
.f-stage { position: absolute; left: 0; right: 0; top: -52px; height: 380px; perspective: 1100px; perspective-origin: 50% 40%; cursor: grab; }
.f-stage:active { cursor: grabbing; }
.f-stage .glow { top: 50%; opacity: .75; }
@media (min-width: 900px) { .foot-ring { height: 250px; margin-top: 26px; } .f-stage { top: -30px; height: 460px; } }

@media (prefers-reduced-motion: reduce) {
  .pp-more .gal-item, .pp-more .pp-sub > div { opacity: 1; transform: none; }
}

