body.service-detail{
  min-height:100vh;
  background:var(--dark);
  color:var(--light);
  scroll-behavior:smooth;
}

/* Acceso externo al portfolio audiovisual */
.video-showreel{min-height:430px;padding:28px;border:1px solid rgba(245,242,238,.18);border-radius:32px;color:var(--light);text-decoration:none;background:radial-gradient(circle at 72% 24%,rgba(235,91,48,.5),transparent 26%),linear-gradient(155deg,#172321 0%,#061313 62%,#260d08 100%);box-shadow:0 30px 74px rgba(0,0,0,.34);display:flex;flex-direction:column;position:relative;overflow:hidden;transition:transform .3s ease,border-color .3s ease}
.video-showreel::before{content:"";position:absolute;right:-70px;top:-65px;width:260px;height:260px;border:1px solid rgba(245,242,238,.13);border-radius:50%;box-shadow:0 0 0 42px rgba(245,242,238,.025),0 0 0 84px rgba(245,242,238,.018)}
.video-showreel-index{font-family:var(--font-subtitle);font-size:.72rem;font-weight:800;letter-spacing:.12em;color:rgba(245,242,238,.58)}
.video-showreel-play{width:76px;height:76px;margin:clamp(34px,6vw,68px) 0 24px;border-radius:50%;background:var(--primary);position:relative;transition:transform .3s ease;animation:showreelPulse 2.6s ease-out infinite}
.video-showreel-play::after{content:"";position:absolute;left:31px;top:25px;border-left:22px solid #fff;border-top:13px solid transparent;border-bottom:13px solid transparent}
.video-showreel-title{font-family:var(--font-title);font-size:clamp(2.3rem,4.7vw,4.8rem);font-weight:900;line-height:.86;text-transform:uppercase;position:relative}
.video-showreel-meta{margin-top:18px;color:rgba(245,242,238,.58);font-family:var(--font-subtitle);font-size:.72rem;font-weight:800;letter-spacing:.13em}
.video-showreel-progress{height:4px;margin-top:auto;border-radius:999px;background:rgba(245,242,238,.13);overflow:hidden}
.video-showreel-progress i{display:block;width:38%;height:100%;border-radius:inherit;background:var(--primary);animation:showreelTimeline 4.2s ease-in-out infinite}
.video-showreel-caption{margin-top:13px;color:rgba(245,242,238,.72);font-family:var(--font-subtitle);font-size:.68rem;font-weight:800;letter-spacing:.14em}
.video-showreel:hover{transform:translateY(-5px) rotate(.5deg);border-color:rgba(235,91,48,.5)}
.video-showreel:hover .video-showreel-play{transform:scale(1.1)}
.video-format-line{display:flex;flex-wrap:wrap;gap:10px 22px;margin-top:24px;padding-top:18px;border-top:1px solid rgba(245,242,238,.14)}
.video-format-line span{display:inline-flex;align-items:center;gap:8px;color:rgba(245,242,238,.72);font-family:var(--font-subtitle);font-size:.75rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase}
.video-format-line b{color:var(--primary);font-size:.65rem}
.video-software-feature{width:min(100%,460px);margin-top:26px;padding:14px 16px;border:1px solid rgba(245,242,238,.16);border-radius:18px;background:linear-gradient(100deg,rgba(245,242,238,.09),rgba(235,91,48,.08));display:grid;grid-template-columns:52px minmax(0,1fr) auto;align-items:center;gap:14px;position:relative;overflow:hidden;transition:border-color .3s ease,transform .3s ease,box-shadow .3s ease}
.video-software-feature::after{content:"";position:absolute;inset:-60% auto -60% -25%;width:38%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.13),transparent);transform:skewX(-18deg);animation:softwareShine 4.8s ease-in-out infinite;pointer-events:none}
.video-software-feature:hover{transform:translateY(-3px);border-color:rgba(235,91,48,.48);box-shadow:0 14px 34px rgba(0,0,0,.2)}
.video-software-icon{width:52px;height:52px;padding:8px;border-radius:14px;background:#fff;display:grid;place-items:center}
.video-software-icon img{width:100%;height:100%;object-fit:contain}
.video-software-copy{display:flex;flex-direction:column;gap:3px;min-width:0}
.video-software-copy small{color:var(--primary);font-family:var(--font-subtitle);font-size:.62rem;font-weight:800;letter-spacing:.11em;text-transform:uppercase}
.video-software-copy strong{font-family:var(--font-subtitle);font-size:clamp(.84rem,1.2vw,1rem);line-height:1.2;text-transform:uppercase}
.video-software-status{padding:7px 9px;border-radius:999px;background:var(--primary);color:#fff;font-family:var(--font-subtitle);font-size:.62rem;font-weight:800;letter-spacing:.08em}
@keyframes softwareShine{0%,55%{transform:translateX(-180%) skewX(-18deg)}80%,100%{transform:translateX(480%) skewX(-18deg)}}

@keyframes showreelPulse{
  0%{ box-shadow:0 0 0 0 rgba(235,91,48,.45); }
  70%{ box-shadow:0 0 0 22px rgba(235,91,48,0); }
  100%{ box-shadow:0 0 0 0 rgba(235,91,48,0); }
}

@keyframes showreelTimeline{
  0%{transform:translateX(-105%)}
  55%,70%{transform:translateX(165%)}
  100%{transform:translateX(280%)}
}

.hero-rec-badge{
  position:absolute; top:22px; right:24px; z-index:2;
  display:inline-flex; align-items:center; gap:7px; width:fit-content;
  padding:7px 12px; border-radius:999px; border:1px solid rgba(245,242,238,.24);
  background:rgba(3,16,16,.5); color:rgba(245,242,238,.82);
  font-family:var(--font-subtitle); font-weight:var(--weight-subtitle); font-size:.72rem;
  letter-spacing:.1em; text-transform:uppercase;
}
.hero-rec-dot{ width:8px; height:8px; border-radius:50%; background:var(--primary); animation:heroRecBlink 1.4s ease-in-out infinite; }
@keyframes heroRecBlink{ 0%,100%{ opacity:1; } 50%{ opacity:.25; } }

.hero-play-confetti{ position:absolute; inset:0; z-index:0; pointer-events:none; overflow:hidden; }
.hero-play-confetti span{
  position:absolute; color:rgba(235,91,48,.22); font-size:1.4rem;
  animation:heroPlayFloat 6s ease-in-out infinite;
}
.hero-play-confetti span:nth-child(1){ top:16%; left:6%; font-size:1.1rem; animation-delay:0s; }
.hero-play-confetti span:nth-child(2){ top:62%; left:14%; font-size:1.8rem; animation-delay:1.4s; }
.hero-play-confetti span:nth-child(3){ top:30%; left:44%; font-size:.9rem; animation-delay:2.6s; }
.hero-play-confetti span:nth-child(4){ top:78%; left:36%; font-size:1.3rem; animation-delay:.7s; }
@keyframes heroPlayFloat{
  0%, 100%{ transform:translateY(0) rotate(0deg); }
  50%{ transform:translateY(-14px) rotate(8deg); }
}

/* Cuatro previews de introducción */
.video-intro{padding:clamp(48px,7vw,86px) 0;background:#071817;overflow:hidden}
.video-intro-head{margin-bottom:24px;display:flex;align-items:end;justify-content:space-between;gap:20px}
.video-intro-head span{color:var(--primary);font-family:var(--font-subtitle);font-size:.74rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
.video-intro-head p{color:rgba(245,242,238,.58);font-family:var(--font-subtitle);font-size:.78rem;font-weight:800;letter-spacing:.07em;text-transform:uppercase}
.video-intro-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(12px,2vw,24px);align-items:center}
.video-intro-card{aspect-ratio:9/16;min-width:0;margin:0;border:1px solid rgba(245,242,238,.16);border-radius:26px;background:#020b0b;position:relative;overflow:hidden;box-shadow:0 20px 42px rgba(0,0,0,.3);transition:transform .3s ease,border-color .3s ease,box-shadow .3s ease}
.video-intro-card:nth-child(1),.video-intro-card:nth-child(3){transform:translateY(12px)}
.video-intro-card:nth-child(2),.video-intro-card:nth-child(4){transform:translateY(-12px)}
.video-intro-card video{width:100%;height:100%;display:block;object-fit:contain;object-position:center;filter:saturate(.92) brightness(.88);transition:filter .3s ease,transform .5s ease}
.video-intro-card::after{content:"";position:absolute;inset:45% 0 0;background:linear-gradient(180deg,transparent,rgba(3,16,16,.9));pointer-events:none}
.video-intro-card figcaption{position:absolute;left:16px;right:16px;bottom:15px;z-index:2;padding-top:12px;border-top:1px solid rgba(245,242,238,.3);display:flex;align-items:center;justify-content:space-between;gap:12px;color:#fff;font-family:var(--font-subtitle);font-size:.72rem;font-weight:800;letter-spacing:.07em;text-transform:uppercase}
.video-intro-card figcaption b{color:var(--primary);font-size:.68rem}
.video-intro-card:hover{border-color:rgba(235,91,48,.68);box-shadow:0 24px 54px rgba(0,0,0,.36),0 0 32px rgba(235,91,48,.2)}
.video-intro-card:nth-child(odd):hover,.video-intro-card:nth-child(even):hover{transform:translateY(-7px) scale(1.018)}
.video-intro-card:hover video{filter:saturate(1.08) brightness(1);transform:none}

@media (max-width:760px){
  .video-intro-head{align-items:flex-start;flex-direction:column;gap:7px}
  .video-intro-grid{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:min(72vw,260px);gap:14px;overflow-x:auto;overflow-y:hidden;padding:14px 3px 28px;scroll-snap-type:x mandatory;scrollbar-width:thin;scrollbar-color:var(--primary) rgba(245,242,238,.1)}
  .video-intro-card,.video-intro-card:nth-child(1),.video-intro-card:nth-child(2),.video-intro-card:nth-child(3),.video-intro-card:nth-child(4){transform:none;scroll-snap-align:start}
}
.drive-access-section{padding-block:clamp(64px,9vw,120px)}
.drive-access-card{padding:clamp(28px,6vw,72px);border:1px solid rgba(255,255,255,.14);border-radius:clamp(28px,4vw,48px);background:radial-gradient(circle at 90% 10%,rgba(235,91,48,.24),transparent 42%),#101817;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:clamp(30px,6vw,90px)}
.drive-access-copy h2{max-width:760px;margin:16px 0;font-size:clamp(2.2rem,6vw,5.6rem);line-height:.92;text-transform:uppercase}
.drive-access-copy p{max-width:680px;color:rgba(245,242,238,.72);font-size:clamp(1rem,1.8vw,1.25rem);line-height:1.65}
.drive-access-tags{display:flex;flex-wrap:wrap;gap:10px;margin-top:28px}
.drive-access-tags span{padding:9px 14px;border:1px solid rgba(235,91,48,.38);border-radius:999px;background:rgba(235,91,48,.1);font-size:.78rem;font-weight:800;text-transform:uppercase}
.drive-access-button{min-width:240px;padding:20px 24px;border-radius:18px;background:#f5f2ee;color:#101817;display:flex;justify-content:space-between;align-items:center;gap:24px;font-weight:900;text-transform:uppercase;text-decoration:none;transition:transform .25s ease,background .25s ease,color .25s ease}
.drive-access-button strong{font-size:1.8rem;line-height:1;animation:driveArrowNudge 2.2s ease-in-out infinite}
.drive-access-button:hover,.drive-access-button:focus-visible{transform:translateY(-4px);background:#eb5b30;color:#fff}
.drive-access-button:hover strong,.drive-access-button:focus-visible strong{animation-play-state:paused;transform:translate(3px,-3px)}
@keyframes driveArrowNudge{
  0%, 100%{ transform:translate(0,0); }
  50%{ transform:translate(3px,-3px); }
}
@media (max-width:780px){.drive-access-card{grid-template-columns:1fr;align-items:stretch}.drive-access-button{min-width:0}}

.service-detail .site-header{
  background:rgba(3,16,16,0.9);
}

.service-hero{
  position:relative;
  overflow:hidden;
  padding:92px 0 72px;
  background:
    radial-gradient(circle at 14% 18%, rgba(235,91,48,0.34), transparent 28%),
    radial-gradient(circle at 90% 6%, rgba(245,242,238,0.14), transparent 24%),
    linear-gradient(180deg, rgba(3,16,16,1), rgba(3,16,16,0.96));
}

.service-hero::before{
  content:attr(data-label);
  position:absolute;
  left:-3vw;
  bottom:-2.8rem;
  font-family:var(--font-title);
  font-weight:var(--weight-title);
  font-size:clamp(6rem, 18vw, 16rem);
  line-height:.8;
  color:transparent;
  -webkit-text-stroke:1px rgba(245,242,238,0.08);
  text-transform:uppercase;
  pointer-events:none;
}

.service-hero-inner{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:minmax(0, 1.05fr) minmax(300px, .95fr);
  gap:28px;
  align-items:center;
}

.service-eyebrow{
  display:inline-flex;
  width:fit-content;
  margin-bottom:18px;
  padding:9px 14px;
  border-radius:999px;
  background:var(--primary);
  color:var(--white);
  font-family:var(--font-subtitle);
  font-weight:var(--weight-subtitle);
  font-size:.82rem;
  letter-spacing:.05em;
  text-transform:uppercase;
}

.service-hero h1{
  max-width:680px;
  font-family:var(--font-title);
  font-weight:var(--weight-title);
  font-size:clamp(3rem, 7.2vw, 6.3rem);
  line-height:.88;
  text-transform:uppercase;
  color:var(--light);
  text-wrap:balance;
}

.service-hero p{
  max-width:560px;
  margin-top:18px;
  font-family:var(--font-body);
  font-size:clamp(1.02rem, 2vw, 1.24rem);
  line-height:1.65;
  color:rgba(245,242,238,0.78);
  text-transform:lowercase;
}

.service-hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:20px;
}

.service-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 13px;
  border-radius:999px;
  border:1px solid rgba(245,242,238,0.16);
  color:rgba(245,242,238,0.82);
  font-family:var(--font-subtitle);
  font-weight:var(--weight-subtitle);
  font-size:.78rem;
  letter-spacing:.04em;
  text-transform:uppercase;
  text-decoration:none;
}

.service-hero-preview{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:12px;
  align-items:end;
  width:100%;
  max-width:540px;
  margin-left:auto;
  min-width:0;
}

.service-hero-preview img,
.service-hero-preview video{
  width:100%;
  height:clamp(200px, 24vw, 340px);
  object-fit:cover;
  border-radius:28px;
  border:1px solid rgba(245,242,238,0.14);
  background:rgba(245,242,238,0.06);
  box-shadow:0 24px 60px rgba(0,0,0,0.28);
}

.service-hero-preview > *:nth-child(1){
  transform:rotate(-4deg) translateY(16px);
}

.service-hero-preview > *:nth-child(2){
  transform:rotate(2deg);
}

.service-hero-preview > *:nth-child(3){
  transform:rotate(5deg) translateY(26px);
}

.service-note{
  padding:20px 0;
  overflow:hidden;
  background:#071817;
}

.service-note-strip{
  overflow:hidden;
  border-block:2px solid var(--primary);
  background:var(--light);
  color:var(--dark);
  transform:rotate(-1.2deg);
  box-shadow:0 10px 30px rgba(0,0,0,.24),0 0 22px rgba(235,91,48,.12);
}

.service-note-track{
  display:flex;
  width:max-content;
  will-change:transform;
  animation:serviceTape 18s linear infinite;
}

.service-note-track span{
  flex:0 0 auto;
  padding:14px 26px;
  font-family:var(--font-subtitle);
  font-weight:var(--weight-subtitle);
  font-size:.92rem;
  letter-spacing:.06em;
  text-transform:uppercase;
  white-space:nowrap;
}

@keyframes serviceTape{
  from{ transform:translate3d(0,0,0); }
  to{ transform:translate3d(-50%,0,0); }
}

.service-clients{
  padding:74px 0 100px;
  background:var(--primary);
}

.service-gallery-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:24px;
  margin-bottom:28px;
  color:var(--dark);
}

.service-gallery-head h2{
  font-family:var(--font-title);
  font-weight:var(--weight-title);
  font-size:clamp(2.6rem, 6vw, 5.8rem);
  line-height:.86;
  text-transform:uppercase;
}

.service-gallery-head p{
  max-width:470px;
  font-family:var(--font-body);
  line-height:1.55;
  text-transform:lowercase;
}

.client-work{
  position:relative;
  overflow:hidden;
  margin-top:22px;
  padding:24px;
  border-radius:34px;
  background:
    radial-gradient(circle at 100% 0, rgba(235,91,48,0.22), transparent 26%),
    linear-gradient(145deg, rgba(3,16,16,0.98), rgba(3,16,16,0.9));
  border:1px solid rgba(245,242,238,0.14);
  box-shadow:0 24px 60px rgba(3,16,16,0.22);
  color:var(--light);
  transform:translateY(18px);
  transition:transform .55s ease, box-shadow .55s ease, border-color .55s ease;
  transition-delay:var(--client-delay, 0s);
}

.client-work.visible{
  transform:translateY(0);
}

.client-work:hover{
  border-color:rgba(245,242,238,0.24);
  box-shadow:0 30px 74px rgba(3,16,16,0.3);
}

.client-work::before{
  content:attr(data-client);
  position:absolute;
  right:22px;
  top:8px;
  font-family:var(--font-title);
  font-weight:var(--weight-title);
  font-size:clamp(4.4rem, 12vw, 11rem);
  line-height:.8;
  color:transparent;
  -webkit-text-stroke:1px rgba(245,242,238,0.06);
  text-transform:uppercase;
  pointer-events:none;
}

.client-head{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:136px minmax(0,1fr);
  gap:24px;
  align-items:center;
  padding-bottom:22px;
  border-bottom:1px dashed rgba(245,242,238,0.14);
}

.client-logo-slot{
  width:136px;
  aspect-ratio:1;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  border-radius:28px;
  background:var(--white);
  color:var(--dark);
  border:1px solid rgba(245,242,238,0.5);
  box-shadow:0 16px 36px rgba(0,0,0,0.18);
}

.client-logo-slot img{
  width:100%;
  height:100%;
  object-fit:contain;
  padding:14px;
}

.client-logo-slot span{
  font-family:var(--font-title);
  font-weight:var(--weight-title);
  font-size:clamp(2.2rem, 5vw, 4rem);
  line-height:.86;
  text-transform:uppercase;
}

.client-kicker{
  display:block;
  margin-bottom:8px;
  font-family:var(--font-subtitle);
  font-weight:var(--weight-subtitle);
  font-size:.78rem;
  letter-spacing:.08em;
  color:var(--primary);
  text-transform:uppercase;
}

.client-copy h2{
  max-width:840px;
  font-family:var(--font-title);
  font-weight:var(--weight-title);
  font-size:clamp(2.2rem, 5vw, 4.6rem);
  line-height:.88;
  text-transform:uppercase;
}

.client-copy p{
  max-width:720px;
  margin-top:12px;
  font-family:var(--font-body);
  line-height:1.62;
  color:rgba(245,242,238,0.78);
  text-transform:lowercase;
}

.client-tags{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:16px;
}

.client-tags span{
  padding:8px 10px;
  border-radius:999px;
  border:1px solid rgba(245,242,238,0.14);
  background:rgba(245,242,238,0.06);
  font-family:var(--font-subtitle);
  font-weight:var(--weight-subtitle);
  font-size:.72rem;
  letter-spacing:.04em;
  text-transform:uppercase;
}

.client-block{
  position:relative;
  z-index:1;
  margin-top:24px;
  scroll-margin-top:92px;
}

.client-block-title{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:18px;
  margin-bottom:14px;
}

.client-block-title h3{
  font-family:var(--font-title);
  font-weight:var(--weight-title);
  font-size:clamp(1.6rem, 3vw, 2.7rem);
  line-height:.9;
  text-transform:uppercase;
}

.client-block-title p{
  max-width:390px;
  font-family:var(--font-body);
  line-height:1.48;
  color:rgba(245,242,238,0.66);
  text-align:right;
  text-transform:lowercase;
}

.work-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:14px;
}

.work-grid:not(.video-grid){
  grid-auto-rows:1fr;
}

.story-grid{
  grid-auto-rows:1fr;
}

.work-card{
  position:relative;
  overflow:hidden;
  min-height:310px;
  border-radius:24px;
  background:rgba(245,242,238,0.06);
  border:1px solid rgba(245,242,238,0.1);
  cursor:zoom-in;
  isolation:isolate;
  box-shadow:inset 0 0 0 1px rgba(245,242,238,0.04);
  transition:transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}

.work-card:hover{
  transform:translateY(-4px);
  border-color:rgba(245,242,238,0.24);
  box-shadow:0 18px 42px rgba(0,0,0,0.2);
}

.work-card::after{
  content:"";
  position:absolute;
  inset:auto 0 0;
  height:44%;
  z-index:1;
  pointer-events:none;
  background:linear-gradient(180deg, transparent, rgba(3,16,16,0.74));
}

.work-grid:not(.video-grid) .work-card:not(.carousel-card){
  min-height:auto;
  aspect-ratio:4 / 5;
}

.story-grid .work-card:not(.carousel-card){
  min-height:auto;
  aspect-ratio:9 / 16;
}

.work-card.wide{
  grid-column:span 2;
}

.work-card.tall{
  grid-row:span 2;
  min-height:640px;
}

.work-grid:not(.video-grid) .work-card.wide:not(.carousel-card),
.work-grid:not(.video-grid) .work-card.tall:not(.carousel-card){
  grid-column:auto;
  grid-row:auto;
  min-height:auto;
}

.work-card img,
.work-card video{
  width:100%;
  height:100%;
  min-height:310px;
  display:block;
  object-fit:cover;
  transition:transform var(--transition), filter var(--transition);
}

.work-grid:not(.video-grid) .work-card:not(.carousel-card) img,
.work-grid:not(.video-grid) .work-card:not(.carousel-card) video{
  min-height:auto;
}

.story-grid .work-card img,
.story-grid .work-card video{
  min-height:auto;
}

.work-card:hover img,
.work-card:hover video{
  transform:scale(1.045);
  filter:saturate(1.08);
}

.work-card figcaption{
  position:absolute;
  left:12px;
  right:12px;
  bottom:12px;
  z-index:2;
  padding:9px 11px;
  border-radius:999px;
  background:rgba(3,16,16,0.78);
  color:var(--light);
  font-family:var(--font-subtitle);
  font-weight:var(--weight-subtitle);
  font-size:.72rem;
  letter-spacing:.04em;
  text-transform:uppercase;
  backdrop-filter:blur(10px);
}

.media-error{
  position:absolute;
  inset:0;
  z-index:3;
  display:grid;
  place-items:center;
  padding:18px;
  background:
    radial-gradient(circle at 50% 20%, rgba(235,91,48,0.18), transparent 34%),
    linear-gradient(145deg, rgba(3,16,16,0.96), rgba(3,16,16,0.88));
  color:var(--light);
  text-align:center;
}

.media-error-inner{
  display:grid;
  justify-items:center;
  gap:10px;
}

.media-error img{
  width:min(92px, 46%);
  height:auto;
  object-fit:contain;
  filter:drop-shadow(0 12px 20px rgba(0,0,0,0.3));
}

.media-error strong{
  display:block;
  font-family:var(--font-subtitle);
  font-size:.82rem;
  letter-spacing:.04em;
  text-transform:uppercase;
  color:var(--primary);
}

.media-error span{
  display:block;
  max-width:220px;
  font-family:var(--font-body);
  font-size:.95rem;
  line-height:1.38;
}

.work-card.media-has-error > img,
.work-card.media-has-error > video,
.work-card.media-has-error .carousel-strip,
.work-card.media-has-error .project-info{
  opacity:0;
  pointer-events:none;
}

.carousel-card{
  grid-column:1 / -1;
  min-height:430px;
  padding:14px;
  cursor:default;
}

.carousel-strip{
  height:100%;
  min-height:390px;
  display:flex;
  gap:12px;
  overflow-x:auto;
  overflow-y:hidden;
  padding:0 0 34px;
  scroll-snap-type:x mandatory;
  scrollbar-width:thin;
  scrollbar-color:rgba(235,91,48,0.9) rgba(245,242,238,0.12);
  overscroll-behavior-inline:contain;
  touch-action:pan-x;
  user-select:none;
}

.carousel-strip::-webkit-scrollbar{
  height:9px;
}

.carousel-strip::-webkit-scrollbar-track{
  border-radius:999px;
  background:rgba(245,242,238,0.1);
}

.carousel-strip::-webkit-scrollbar-thumb{
  border-radius:999px;
  background:var(--primary);
}

.carousel-strip img{
  flex:0 0 clamp(180px, 18vw, 260px);
  width:auto;
  min-height:0;
  height:auto;
  aspect-ratio:9 / 16;
  object-fit:cover;
  border-radius:18px;
  scroll-snap-align:start;
  cursor:zoom-in;
  box-shadow:0 14px 34px rgba(0,0,0,0.25);
}

.carousel-card:hover img{
  transform:none;
}

.carousel-strip img:hover{
  transform:translateY(-3px) scale(1.02);
  filter:saturate(1.08);
}

.carousel-card figcaption{
  left:20px;
  right:20px;
  bottom:20px;
}

.project-info{
  position:absolute;
  top:12px;
  left:12px;
  right:12px;
  z-index:2;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  opacity:0;
  transform:translateY(-8px);
  transition:opacity .28s ease, transform .28s ease;
  pointer-events:none;
}

.work-card:hover .project-info,
.work-card:focus-within .project-info{
  opacity:1;
  transform:translateY(0);
}

.project-info span,
.project-info strong{
  display:inline-flex;
  max-width:70%;
  padding:7px 9px;
  border-radius:999px;
  background:rgba(3,16,16,0.72);
  color:rgba(245,242,238,0.9);
  backdrop-filter:blur(10px);
  font-family:var(--font-subtitle);
  font-size:.66rem;
  line-height:1;
  letter-spacing:.04em;
  text-transform:uppercase;
}

.project-info strong{
  max-width:42%;
  color:var(--primary);
}

.service-lightbox{
  position:fixed;
  inset:0;
  z-index:1000;
  display:grid;
  place-items:center;
  padding:24px;
  background:rgba(3,16,16,0.82);
  backdrop-filter:blur(18px);
  opacity:0;
  pointer-events:none;
  transition:opacity .24s ease;
}

.service-lightbox.is-open{
  opacity:1;
  pointer-events:auto;
}

.service-lightbox-inner{
  position:relative;
  width:min(1040px, 100%);
  max-height:92vh;
  display:grid;
  grid-template-columns:minmax(0, 1fr) minmax(240px, 320px);
  gap:18px;
  align-items:stretch;
}

.service-lightbox-media{
  min-height:0;
  display:grid;
  place-items:center;
  border-radius:24px;
  background:rgba(245,242,238,0.06);
  border:1px solid rgba(245,242,238,0.16);
  overflow:hidden;
}

.service-lightbox-media img,
.service-lightbox-media video{
  display:block;
  max-width:100%;
  max-height:88vh;
  width:auto;
  height:auto;
  object-fit:contain;
}

.service-lightbox-copy{
  padding:22px;
  border-radius:24px;
  background:var(--dark);
  border:1px solid rgba(245,242,238,0.14);
  color:var(--light);
}

.service-lightbox-copy span{
  display:inline-flex;
  margin-bottom:12px;
  padding:8px 10px;
  border-radius:999px;
  background:var(--primary);
  color:var(--white);
  font-family:var(--font-subtitle);
  font-size:.72rem;
  letter-spacing:.04em;
  text-transform:uppercase;
}

.service-lightbox-copy h3{
  font-family:var(--font-title);
  font-size:clamp(2rem, 4vw, 3.6rem);
  line-height:.88;
  text-transform:uppercase;
}

.service-lightbox-copy p{
  margin-top:14px;
  color:rgba(245,242,238,0.74);
  font-family:var(--font-body);
  line-height:1.55;
  text-transform:lowercase;
}

.service-lightbox-close{
  position:absolute;
  top:-14px;
  right:-14px;
  width:44px;
  height:44px;
  border:0;
  border-radius:999px;
  background:var(--primary);
  color:var(--white);
  font-size:1.4rem;
  line-height:1;
  cursor:pointer;
  box-shadow:0 14px 30px rgba(0,0,0,0.28);
}

.video-grid .work-card{
  min-height:0;
  max-width:min(520px, 100%);
}

.video-grid .work-card video{
  min-height:0;
  aspect-ratio:9 / 16;
  max-height:520px;
  object-fit:cover;
}

.service-end{
  padding:0 0 88px;
  background:var(--primary);
}

.service-end-box{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:22px;
  padding:24px;
  border-radius:30px;
  background:var(--dark);
  color:var(--light);
}

.service-end-box h2{
  font-family:var(--font-title);
  font-weight:var(--weight-title);
  font-size:clamp(2rem, 4vw, 3.8rem);
  line-height:.9;
  text-transform:uppercase;
}

.service-end-box p{
  margin-top:8px;
  color:rgba(245,242,238,0.72);
  font-family:var(--font-body);
  line-height:1.55;
  text-transform:lowercase;
}

@media (max-width:980px){
  .service-hero-inner{
    grid-template-columns:minmax(0, 1fr) minmax(220px, .72fr);
    align-items:start;
  }

  .service-hero h1{
    max-width:760px;
  }

  .service-hero-preview{
    max-width:340px;
    margin-left:auto;
  }

  .service-gallery-head,
  .client-block-title,
  .service-end-box{
    display:block;
  }

  .service-gallery-head p,
  .client-block-title p{
    margin-top:14px;
    text-align:left;
  }

  .work-grid{
    grid-template-columns:repeat(2, minmax(0,1fr));
  }

  .story-grid{
    grid-template-columns:repeat(3, minmax(0,1fr));
  }

  .work-card.tall{
    min-height:520px;
  }

  .work-grid:not(.video-grid) .work-card.tall:not(.carousel-card){
    min-height:auto;
  }
}

@media (max-width:760px){
  .service-hero{
    padding:62px 0 48px;
  }

  .service-hero-inner{
    grid-template-columns:minmax(0, 1fr) minmax(150px, 39vw);
    gap:14px;
    align-items:start;
  }

  .service-hero-preview{
    width:100%;
    max-width:100%;
    margin:0 0 0 auto;
    justify-self:end;
    grid-template-columns:repeat(2, minmax(0,1fr));
    gap:8px;
  }

  .service-hero-preview img,
  .service-hero-preview video,
  .service-hero-preview > *:nth-child(1),
  .service-hero-preview > *:nth-child(2),
  .service-hero-preview > *:nth-child(3){
    height:auto;
    aspect-ratio:5 / 6;
    transform:none;
    border-radius:18px;
  }

  .service-hero-preview > *:nth-child(3){
    grid-column:1 / -1;
    max-width:min(120px, 100%);
    justify-self:center;
  }

  .service-clients{
    padding:48px 0 68px;
  }

  .client-work{
    margin-top:16px;
    padding:16px;
    border-radius:24px;
  }

  .client-head{
    grid-template-columns:1fr;
    gap:16px;
  }

  .client-logo-slot{
    width:110px;
    border-radius:22px;
  }

  .work-grid{
    grid-template-columns:repeat(2, minmax(0,1fr));
    gap:9px;
  }

  .story-grid{
    grid-template-columns:repeat(2, minmax(0,1fr));
  }

  .work-card,
  .work-card.tall,
  .video-grid .work-card{
    min-height:auto;
  }

  .work-card.wide{
    grid-column:auto;
  }

  .work-card img,
  .work-card video,
  .video-grid .work-card video{
    min-height:auto;
    aspect-ratio:3 / 4;
  }

  .story-grid .work-card img,
  .story-grid .work-card video{
    aspect-ratio:4 / 7;
  }

  .carousel-strip{
    min-height:320px;
  }

  .service-end-box .btn{
    margin-top:18px;
  }
}

@media (max-width:640px){
  .service-hero{
    padding:52px 0 38px;
  }

  .service-hero-inner{
    grid-template-columns:minmax(0, 1fr) minmax(128px, 37vw);
    gap:12px;
  }

  .service-hero h1{
    font-size:clamp(2.7rem, 14vw, 4.6rem);
  }

  .service-hero p{
    font-size:1rem;
    line-height:1.58;
  }

  .service-hero-actions{
    gap:8px;
  }

  .service-pill{
    padding:9px 11px;
    font-size:.72rem;
  }

  .service-hero-preview{
    max-width:100%;
    gap:7px;
  }

  .service-hero-preview img,
  .service-hero-preview video{
    border-radius:16px;
  }

  .service-hero-preview > *:nth-child(3){
    max-width:min(104px, 100%);
  }

  .service-gallery-head h2{
    font-size:clamp(2.8rem, 15vw, 4.8rem);
  }

  .client-copy h2{
    font-size:clamp(2rem, 12vw, 3.8rem);
  }

  .client-block-title h3{
    font-size:clamp(1.45rem, 9vw, 2.3rem);
  }

  .client-copy p,
  .client-block-title p{
    font-size:.94rem;
    line-height:1.5;
  }

  .work-card{
    border-radius:20px;
  }

  .work-card figcaption{
    left:10px;
    right:10px;
    bottom:10px;
    padding:8px 10px;
    font-size:.66rem;
  }

  .carousel-card{
    padding:9px;
  }

  .carousel-strip{
    min-height:280px;
    gap:7px;
  }

  .carousel-strip img{
    flex-basis:clamp(138px, 45vw, 190px);
    aspect-ratio:9 / 16;
    border-radius:12px;
  }

  .project-info{
    opacity:1;
    transform:none;
  }

  .project-info span{
    max-width:100%;
  }

  .project-info strong{
    display:none;
  }

  .service-lightbox{
    padding:14px;
  }

  .service-lightbox-inner{
    grid-template-columns:1fr;
    gap:12px;
  }

  .service-lightbox-copy{
    padding:16px;
  }

  .service-lightbox-close{
    top:8px;
    right:8px;
  }

  .story-grid{
    grid-template-columns:repeat(2, minmax(0,1fr));
  }
}

@media (max-width:380px){
  .service-hero-inner{
    grid-template-columns:1fr;
  }

  .service-hero-preview{
    grid-template-columns:1fr;
    max-width:240px;
    margin-inline:auto;
  }

  .service-hero-preview > *:nth-child(3){
    grid-column:auto;
    max-width:100%;
  }

  .work-grid,
  .story-grid{
    grid-template-columns:repeat(2, minmax(0,1fr));
    gap:8px;
  }

  .client-work{
    padding:14px;
  }

  .client-logo-slot{
    width:96px;
  }

  .work-card img,
  .work-card video,
  .video-grid .work-card video{
    aspect-ratio:7 / 10;
  }

  .story-grid .work-card img,
  .story-grid .work-card video{
    aspect-ratio:9 / 16;
  }

  .carousel-strip img{
    flex-basis:150px;
    aspect-ratio:9 / 16;
  }

  .work-card figcaption{
    left:9px;
    right:9px;
    bottom:9px;
    font-size:.66rem;
  }
}

/* Portfolio service refresh */
.client-work{
  display:grid;
  grid-template-columns:minmax(230px, 0.3fr) minmax(0, 1fr);
  gap:24px;
  padding:18px;
  border-radius:28px;
}

.client-head{
  position:sticky;
  top:92px;
  align-self:start;
  grid-row:1 / -1;
  grid-template-columns:1fr;
  gap:14px;
  padding:18px;
  border:1px solid rgba(245,242,238,0.14);
  border-radius:22px;
  background:rgba(245,242,238,0.055);
  backdrop-filter:blur(16px);
}

.client-head::after{
  content:"Proyecto con piezas seleccionadas para recorrer con calma. Desliza la galeria para mirar cada formato.";
  grid-column:1 / -1;
  margin-top:4px;
  color:rgba(245,242,238,0.72);
  font-family:var(--font-body);
  font-size:.94rem;
  line-height:1.45;
  text-transform:lowercase;
}

.client-logo-slot{
  width:82px;
  border-radius:20px;
}

.client-copy{
  min-width:0;
}

.client-copy h2{
  max-width:100%;
  font-size:clamp(1.35rem, 1.85vw, 2.15rem);
  line-height:.92;
  overflow-wrap:normal;
  word-break:keep-all;
  hyphens:none;
}

.client-copy h2.is-long-title{
  font-size:clamp(1.1rem, 1.42vw, 1.62rem);
  line-height:.98;
}

.client-copy h2.is-extra-long-title{
  font-size:clamp(.96rem, 1.18vw, 1.34rem);
  line-height:1.02;
}

.client-kicker{
  margin-bottom:6px;
}

.client-tags{
  margin-top:12px;
}

.client-block{
  grid-column:2;
  margin-top:0;
  padding:18px;
  border-radius:24px;
  background:rgba(245,242,238,0.045);
  border:1px solid rgba(245,242,238,0.1);
}

.client-block + .client-block{
  margin-top:18px;
}

.client-block-title{
  align-items:center;
  margin-bottom:18px;
}

.client-block-title::after{
  content:"mira cada pieza";
  flex:0 0 auto;
  padding:8px 10px;
  border-radius:999px;
  background:rgba(235,91,48,0.18);
  border:1px solid rgba(235,91,48,0.34);
  color:rgba(245,242,238,0.88);
  font-family:var(--font-subtitle);
  font-size:.68rem;
  letter-spacing:.04em;
  text-transform:uppercase;
}

.work-grid,
.story-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap:14px;
  overflow:visible;
  padding:2px 0 0;
}

.story-grid{
  grid-template-columns:repeat(auto-fit, minmax(min(170px, 100%), 1fr));
}

.work-card,
.work-card.wide,
.work-card.tall,
.video-grid .work-card{
  width:auto;
  min-height:auto;
  grid-column:auto;
  grid-row:auto;
}

.video-grid{
  grid-template-columns:repeat(auto-fit, minmax(min(220px, 100%), 320px));
  justify-content:start;
}

.video-grid .work-card{
  max-width:320px;
}

.video-grid .work-card video{
  max-height:460px;
}

.video-grid-three{
  grid-template-columns:repeat(3, minmax(0, 1fr));
  justify-content:stretch;
}

.video-grid-three .work-card{
  max-width:none;
}

.video-grid-three .work-card video{
  width:100%;
  max-height:420px;
}

.story-grid .work-card:not(.carousel-card){
  max-width:none;
}

.work-grid:not(.video-grid) .work-card:not(.carousel-card),
.story-grid .work-card:not(.carousel-card){
  aspect-ratio:auto;
}

.work-card img,
.work-card video,
.video-grid .work-card video{
  min-height:0;
  height:auto;
  aspect-ratio:4 / 5;
}

.story-grid .work-card img,
.story-grid .work-card video{
  aspect-ratio:9 / 16;
}

.carousel-card{
  grid-column:1 / -1;
  width:100%;
}

.carousel-strip img{
  flex-basis:clamp(180px, 17vw, 240px);
}

@media (max-width:900px){
  .client-work{
    display:block;
  }

  .client-head{
    position:relative;
    top:auto;
    grid-row:auto;
    margin-bottom:18px;
  }

  .client-block{
    grid-column:auto;
  }

  .client-block-title{
    display:block;
  }

  .client-block-title::after{
    display:inline-flex;
    margin-top:12px;
  }
}

@media (max-width:640px){
  .client-work{
    padding:14px;
    border-radius:24px;
  }

  .client-head{
    grid-template-columns:1fr;
    padding:14px;
  }

  .client-logo-slot{
    width:76px;
  }

  .client-head::after{
    font-size:.88rem;
  }

  .client-copy h2,
  .client-copy h2.is-long-title,
  .client-copy h2.is-extra-long-title{
    font-size:clamp(1.35rem, 8vw, 2rem);
    line-height:.94;
  }

  .client-block{
    padding:12px;
  }

  .work-card,
  .work-card.wide,
  .work-card.tall,
  .video-grid .work-card{
    width:auto;
  }

  .video-grid{
    grid-template-columns:repeat(auto-fit, minmax(min(190px, 100%), 280px));
  }

  .video-grid .work-card{
    max-width:280px;
  }

  .video-grid .work-card video{
    max-height:420px;
  }

  .video-grid-three{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }

  .story-grid .work-card:not(.carousel-card){
    width:auto;
  }

  .carousel-card{
    width:100%;
  }
}

@media (max-width:520px){
  .video-grid-three{
    grid-template-columns:1fr;
  }
}

.service-cat-guide{
  position:fixed;
  right:24px;
  bottom:24px;
  z-index:80;
  display:grid;
  grid-template-columns:minmax(250px, 340px) 118px;
  gap:14px;
  align-items:end;
  pointer-events:none;
  opacity:0;
  transform:translateY(18px);
  transition:opacity .35s ease, transform .35s ease;
}

.service-cat-guide.is-visible{
  opacity:1;
  transform:translateY(0);
}

.service-cat-bubble{
  position:relative;
  padding:18px 18px 16px;
  border-radius:22px 22px 6px 22px;
  background:rgba(245,242,238,0.95);
  color:var(--dark);
  border:2px solid rgba(3,16,16,0.22);
  box-shadow:0 20px 46px rgba(0,0,0,0.3);
}

.service-cat-bubble::after{
  content:"";
  position:absolute;
  right:-10px;
  bottom:18px;
  border-width:10px 0 10px 12px;
  border-style:solid;
  border-color:transparent transparent transparent rgba(245,242,238,0.95);
}

.service-cat-kicker{
  display:block;
  margin-bottom:7px;
  color:var(--primary);
  font-family:var(--font-subtitle);
  font-size:.78rem;
  letter-spacing:.06em;
  text-transform:uppercase;
}

.service-cat-text{
  display:block;
  font-family:var(--font-body);
  font-size:1.05rem;
  line-height:1.42;
  text-transform:lowercase;
}

.service-cat-action{
  display:inline-flex;
  align-items:center;
  gap:7px;
  margin-top:12px;
  padding:8px 10px;
  border-radius:999px;
  background:rgba(235,91,48,0.14);
  color:var(--dark);
  font-family:var(--font-subtitle);
  font-size:.72rem;
  letter-spacing:.04em;
  text-transform:uppercase;
}

.service-cat-action::after{
  content:"";
  width:18px;
  height:7px;
  border-right:2px solid currentColor;
  border-bottom:2px solid currentColor;
  transform:skewX(18deg);
}

.service-cat-img{
  width:118px;
  height:118px;
  object-fit:contain;
  filter:drop-shadow(0 14px 22px rgba(0,0,0,0.3));
  animation:serviceCatFloat 3.2s ease-in-out infinite;
}

.service-scroll-progress{
  position:fixed;
  right:0;
  top:0;
  z-index:79;
  width:5px;
  height:100vh;
  background:rgba(245,242,238,0.08);
  pointer-events:none;
}

.service-scroll-progress span{
  display:block;
  width:100%;
  height:var(--service-scroll, 0%);
  background:linear-gradient(180deg, var(--primary), rgba(245,242,238,0.92));
  box-shadow:0 0 16px rgba(235,91,48,0.8);
}

@keyframes serviceCatFloat{
  0%, 100%{ transform:translateY(0) rotate(-2deg); }
  50%{ transform:translateY(-8px) rotate(2deg); }
}

@media (max-width:760px){
  .service-cat-guide{
    right:10px;
    bottom:10px;
    grid-template-columns:minmax(190px, 1fr) 78px;
    max-width:calc(100vw - 20px);
    gap:9px;
  }

  .service-cat-img{
    width:78px;
    height:78px;
  }

  .service-cat-bubble{
    padding:13px 13px 12px;
    border-radius:18px 18px 5px 18px;
  }

  .service-cat-text{
    font-size:.92rem;
    line-height:1.35;
  }

  .service-cat-action{
    margin-top:9px;
    padding:7px 9px;
    font-size:.64rem;
  }
}

/* Relato del proceso audiovisual */
.video-process-section{padding-block:clamp(70px,9vw,120px);background:linear-gradient(180deg,var(--primary) 0%,#d84320 100%)}
.video-process-shell{padding:clamp(28px,5vw,64px);border:1px solid rgba(245,242,238,.15);border-radius:clamp(28px,4vw,48px);background:radial-gradient(circle at 94% 6%,rgba(235,91,48,.2),transparent 30%),#0b1716;box-shadow:0 28px 70px rgba(42,10,4,.28);overflow:hidden}
.video-process-head{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(280px,.8fr);align-items:end;gap:clamp(28px,7vw,90px);padding-bottom:clamp(32px,5vw,58px)}
.video-process-head h2{margin-top:15px;font-size:clamp(3rem,7vw,7rem);line-height:.82;text-transform:uppercase}
.video-process-head p{max-width:530px;color:rgba(245,242,238,.72);font-size:clamp(1rem,1.45vw,1.18rem);line-height:1.7}
.video-process-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-top:1px solid rgba(245,242,238,.14);border-bottom:1px solid rgba(245,242,238,.14)}
.video-process-steps article{min-height:290px;padding:30px 26px;position:relative;transition:background .3s ease,transform .3s ease}
.video-process-steps article+article{border-left:1px solid rgba(245,242,238,.14)}
.video-process-steps article::after{content:"";position:absolute;left:22px;right:22px;bottom:0;height:3px;background:var(--primary);transform:scaleX(0);transform-origin:left;transition:transform .35s ease}
.video-process-steps article:hover{background:rgba(245,242,238,.055);transform:translateY(-7px)}
.video-process-steps article:hover::after{transform:scaleX(1)}
.video-process-steps article>span{color:var(--primary);font-family:var(--font-subtitle);font-size:.72rem;font-weight:800;letter-spacing:.1em}
.video-process-steps h3{margin:clamp(42px,6vw,76px) 0 12px;font-size:clamp(1.6rem,2.6vw,2.8rem);line-height:.9;text-transform:uppercase}
.video-process-steps article:nth-child(3) h3{font-size:clamp(1.35rem,2.15vw,2.25rem);letter-spacing:-.025em}
.video-process-steps p{color:rgba(245,242,238,.62);font-size:.9rem;line-height:1.55}
.video-process-footer{min-height:280px;display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,360px);align-items:center;gap:clamp(32px,7vw,100px);margin-top:clamp(32px,5vw,54px);padding:clamp(30px,5vw,54px);border:1px solid rgba(255,255,255,.2);border-radius:32px;background:radial-gradient(circle at 82% 12%,rgba(255,255,255,.2),transparent 24%),linear-gradient(115deg,#ef5b32,#bf3217);box-shadow:0 24px 58px rgba(112,25,9,.3);position:relative;overflow:hidden}
.video-process-footer::before{content:"▶";position:absolute;left:46%;top:50%;color:rgba(255,255,255,.09);font-size:clamp(8rem,18vw,17rem);line-height:1;transform:translate(-50%,-50%) rotate(-6deg);pointer-events:none}
.video-process-footer>*{position:relative;z-index:1}
.video-portfolio-pitch{display:flex;flex-direction:column;align-items:flex-start}
.video-portfolio-pitch>span{margin-bottom:14px;padding:7px 10px;border:1px solid rgba(255,255,255,.35);border-radius:999px;color:#fff;font-family:var(--font-subtitle);font-size:.66rem;font-weight:800;letter-spacing:.11em;text-transform:uppercase}
.video-portfolio-pitch>strong{max-width:650px;color:#fff;font-family:var(--font-title);font-size:clamp(2.25rem,4.6vw,4.9rem);line-height:.86;text-transform:uppercase}
.video-portfolio-pitch>p{max-width:590px;margin-top:18px;color:rgba(255,255,255,.78);font-size:clamp(.94rem,1.3vw,1.08rem);line-height:1.6}
.video-process-footer a{min-height:170px;padding:24px;border:1px solid rgba(255,255,255,.6);border-radius:26px;background:#f7f4ef;color:var(--dark);display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:1fr auto;align-items:start;gap:14px 24px;font-family:var(--font-subtitle);text-decoration:none;text-transform:uppercase;box-shadow:0 20px 46px rgba(76,16,6,.3);transition:transform .3s ease,box-shadow .3s ease;animation:videoPortfolioFocus 3.2s ease-in-out infinite}
.video-process-footer a span{display:flex;flex-direction:column;gap:5px;font-size:clamp(1.2rem,2vw,1.65rem);font-weight:900;line-height:1}
.video-process-footer a small{color:var(--primary);font-size:.62rem;font-weight:800;letter-spacing:.11em}
.video-process-footer a em{grid-column:1/-1;align-self:end;padding-top:14px;border-top:1px solid rgba(3,16,16,.16);font-size:.68rem;font-style:normal;font-weight:800;letter-spacing:.1em}
.video-process-footer a b{color:var(--primary);font-size:2rem;line-height:1;transition:transform .25s ease}
.video-process-footer a:hover,.video-process-footer a:focus-visible{transform:translateY(-7px) rotate(1deg);box-shadow:0 28px 60px rgba(76,16,6,.42),0 0 0 5px rgba(255,255,255,.12);animation:none}
.video-process-footer a:hover b,.video-process-footer a:focus-visible b{transform:translate(3px,-3px)}
@keyframes videoPortfolioFocus{0%,100%{box-shadow:0 20px 46px rgba(76,16,6,.3)}50%{box-shadow:0 24px 54px rgba(76,16,6,.42),0 0 0 5px rgba(255,255,255,.08)}}
@media (prefers-reduced-motion:reduce){.video-process-footer a{animation:none}}

@media (max-width:900px){
  .video-process-head{grid-template-columns:1fr}
  .video-process-steps{grid-template-columns:repeat(2,minmax(0,1fr))}
  .video-process-steps article:nth-child(3){border-left:0;border-top:1px solid rgba(245,242,238,.14)}
  .video-process-steps article:nth-child(4){border-top:1px solid rgba(245,242,238,.14)}
}

@media (max-width:600px){
  .video-process-steps{grid-template-columns:1fr}
  .video-process-steps article{min-height:210px}
  .video-process-steps article+article{border-left:0;border-top:1px solid rgba(245,242,238,.14)}
  .video-process-footer{min-height:0;grid-template-columns:1fr;padding:26px}
  .video-process-footer a{min-height:150px}
}

/* Proporciones consistentes para carruseles */
.carousel-card{
  min-height:0;
  height:auto;
  padding:12px;
}

.carousel-strip{
  height:auto;
  min-height:0;
  padding-bottom:28px;
  align-items:flex-start;
}

.carousel-strip img{
  flex:0 0 clamp(180px,17vw,240px);
  width:clamp(180px,17vw,240px);
  min-width:0;
  height:auto;
  aspect-ratio:4 / 5;
  object-fit:cover;
}

@media (max-width:760px){
  .service-hero-inner{grid-template-columns:1fr;gap:34px}
  .video-showreel{width:100%;min-height:390px}
  .video-showreel-title{font-size:clamp(2.6rem,12vw,4.4rem)}
  .carousel-strip{padding-bottom:24px}
  .carousel-strip img{flex-basis:clamp(145px,42vw,190px);width:clamp(145px,42vw,190px)}
}

@media (max-width:420px){
  .video-showreel{min-height:360px;padding:22px;border-radius:24px}
  .video-showreel-play{width:64px;height:64px;margin:34px 0 22px}
  .video-showreel-play::after{left:27px;top:21px;border-left-width:19px;border-top-width:11px;border-bottom-width:11px}
  .video-showreel-link{font-size:.68rem}
}

/* Capa responsive final para páginas de proyecto */
@media (min-width:1600px){
  .service-hero-inner{gap:90px}
  .video-intro-grid{gap:28px}
  .video-intro-card{max-height:620px}
  .video-process-shell{padding:72px}
  .video-process-steps article{min-height:320px}
}

@media (max-width:1440px){
  .service-hero h1{font-size:clamp(4.8rem,8vw,7.8rem)}
  .video-showreel{min-height:410px}
  .video-process-shell{padding:clamp(30px,4vw,54px)}
  .video-process-steps article{padding:28px 22px}
}

@media (max-width:1280px){
  .service-hero-inner{grid-template-columns:minmax(0,1fr) minmax(330px,.72fr);gap:42px}
  .video-intro-grid{gap:16px}
  .video-process-head h2{font-size:clamp(3.4rem,6vw,5.8rem)}
  .video-process-steps h3{font-size:clamp(1.5rem,2.2vw,2.25rem)}
  .video-process-footer{grid-template-columns:minmax(0,1fr) minmax(280px,330px);gap:44px}
}

@media (max-width:1024px){
  .service-hero-inner{grid-template-columns:minmax(0,1fr) minmax(290px,.62fr);gap:30px}
  .service-hero h1{font-size:clamp(4rem,8vw,6.2rem)}
  .video-showreel{min-height:380px;padding:24px}
  .video-intro-card{border-radius:20px}
  .client-work{display:block}
  .client-head{position:relative;top:auto;margin-bottom:20px}
  .client-block{grid-column:auto}
  .video-process-head{grid-template-columns:1fr}
  .video-process-steps{grid-template-columns:repeat(2,minmax(0,1fr))}
  .video-process-steps article:nth-child(3){border-left:0;border-top:1px solid rgba(245,242,238,.14)}
  .video-process-steps article:nth-child(4){border-top:1px solid rgba(245,242,238,.14)}
}

@media (max-width:768px){
  .service-hero{padding:58px 0 48px}
  .service-hero-inner{grid-template-columns:1fr;gap:34px}
  .service-hero h1{font-size:clamp(3.6rem,13vw,5.6rem)}
  .video-showreel{width:100%;min-height:390px}
  .video-intro-grid{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:min(72vw,260px);overflow-x:auto;overflow-y:hidden;padding:14px 3px 28px;scroll-snap-type:x mandatory}
  .video-intro-card{transform:none!important;scroll-snap-align:start}
  .video-process-footer{grid-template-columns:1fr;gap:28px}
  .video-process-footer a{min-height:150px}
  .work-grid,.story-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media (max-width:480px){
  .service-hero{padding:46px 0 38px}
  .service-hero h1{font-size:clamp(3rem,15vw,4.5rem)}
  .service-hero-actions{gap:7px}
  .video-software-feature{grid-template-columns:46px minmax(0,1fr);padding:12px}
  .video-software-icon{width:46px;height:46px}
  .video-software-status{display:none}
  .video-showreel{min-height:350px;padding:22px;border-radius:24px}
  .video-showreel-title{font-size:clamp(2.5rem,13vw,3.8rem)}
  .video-intro{padding:44px 0}
  .video-intro-grid{grid-auto-columns:min(78vw,245px)}
  .service-note-track span{padding:12px 18px;font-size:.78rem}
  .video-process-shell{padding:22px;border-radius:26px}
  .video-process-head h2{font-size:clamp(3rem,14vw,4.4rem)}
  .video-process-steps{grid-template-columns:1fr}
  .video-process-steps article{min-height:200px;padding:24px 18px}
  .video-process-steps article+article{border-left:0;border-top:1px solid rgba(245,242,238,.14)}
  .video-process-footer{padding:22px;border-radius:24px}
  .video-portfolio-pitch>strong{font-size:clamp(2rem,11vw,3rem)}
  .work-grid,.story-grid{grid-template-columns:1fr}
  .carousel-strip img{flex-basis:min(72vw,180px);width:min(72vw,180px)}
  .service-cat-guide{display:none}
}

@media (max-width:320px){
  .service-hero h1{font-size:2.75rem}
  .service-pill{font-size:.64rem;padding:8px 9px}
  .video-showreel{min-height:330px;padding:18px}
  .video-showreel-play{width:58px;height:58px}
  .video-showreel-play::after{left:24px;top:19px;border-left-width:18px;border-top-width:10px;border-bottom-width:10px}
  .video-intro-grid{grid-auto-columns:82vw}
  .video-process-shell{padding:16px}
  .video-process-footer{padding:18px}
  .video-process-footer a{padding:18px;min-height:140px}
  .client-work{padding:14px;border-radius:20px}
}

/* Recorrido de resultados de campañas */
.campaign-results-hero h1{max-width:900px;font-size:clamp(3.6rem,8vw,8.2rem)}
.campaign-journey{position:relative;background:linear-gradient(180deg,var(--primary) 0%,#c83d1d 100%)}
.campaign-journey .container{position:relative}
.campaign-journey .container::before{content:"";position:absolute;left:43px;top:210px;bottom:80px;width:2px;background:linear-gradient(180deg,rgba(245,242,238,.75),rgba(245,242,238,.12));pointer-events:none}
.campaign-journey-head{max-width:980px;margin-bottom:clamp(48px,7vw,90px);display:block}
.campaign-journey-head h2{max-width:900px;margin-top:10px;font-size:clamp(3.2rem,7vw,7rem);line-height:.86}
.campaign-journey-head p{max-width:720px;margin-top:22px;color:rgba(245,242,238,.78);font-size:clamp(1rem,1.5vw,1.18rem);line-height:1.65;text-transform:none}
.campaign-journey .client-work{position:relative;margin-bottom:clamp(42px,7vw,88px);padding:clamp(20px,3vw,34px);border:1px solid rgba(245,242,238,.18);background:linear-gradient(145deg,rgba(7,24,23,.97),rgba(3,16,16,.94));box-shadow:0 24px 54px rgba(67,14,5,.24)}
.campaign-journey .client-work::before{content:"";position:absolute;left:-4px;top:38px;width:18px;height:18px;border:5px solid var(--primary);border-radius:50%;background:var(--light);box-shadow:0 0 0 8px rgba(245,242,238,.12)}
.campaign-journey .client-head::after{content:"Caso organizado para relacionar la creatividad utilizada con el objetivo y los resultados de captación."}
.campaign-case-copy{grid-column:2;padding:clamp(20px,3vw,34px);border-radius:24px;background:var(--primary);color:#fff}
.campaign-case-copy>span{font-family:var(--font-subtitle);font-size:.7rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
.campaign-case-copy h3{max-width:720px;margin-top:18px;font-family:var(--font-title);font-size:clamp(2rem,4vw,4.2rem);line-height:.9;text-transform:uppercase}
.campaign-case-copy p{max-width:680px;margin-top:18px;color:rgba(255,255,255,.8);font-size:1rem;line-height:1.65}
.campaign-journey .client-block{margin-top:0}
.campaign-journey .client-block-title::after{content:"creativas utilizadas"}
.campaign-metrics{grid-column:2;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.campaign-metrics>div{min-height:150px;padding:18px;border:1px solid rgba(245,242,238,.14);border-radius:20px;background:rgba(245,242,238,.06);display:flex;flex-direction:column}
.campaign-metrics span{color:rgba(245,242,238,.65);font-family:var(--font-subtitle);font-size:.67rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.campaign-metrics strong{margin:auto 0 8px;color:var(--primary);font-family:var(--font-title);font-size:clamp(2.3rem,4vw,4rem);line-height:.8}
.campaign-metrics small{color:rgba(245,242,238,.46);font-size:.66rem;font-weight:800;letter-spacing:.07em;text-transform:uppercase}
.service-end-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px}
.btn-outline{border:1px solid rgba(245,242,238,.5);background:transparent;color:var(--light)}
.btn-outline:hover,.btn-outline:focus-visible{border-color:var(--primary);background:rgba(235,91,48,.12)}

@media (max-width:900px){
  .campaign-journey .container::before{display:none}
  .campaign-journey .client-work::before{display:none}
  .campaign-case-copy,.campaign-metrics{grid-column:auto}
  .campaign-metrics{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:18px}
  .service-end-actions{justify-content:flex-start;margin-top:20px}
}

@media (max-width:520px){
  .campaign-results-hero h1{font-size:clamp(3rem,16vw,4.4rem)}
  .campaign-journey .client-work{padding:14px}
  .campaign-case-copy{padding:20px}
  .campaign-metrics{grid-template-columns:1fr 1fr}
  .campaign-metrics>div{min-height:125px;padding:14px}
  .service-end-actions{display:grid}
}

p,
.service-cat-text,
.client-head::after,
.service-lightbox-copy p{
  text-transform:none;
}

p::first-letter,
.service-cat-text::first-letter,
.service-lightbox-copy p::first-letter{
  text-transform:uppercase;
}

/* Galería dedicada exclusivamente a fotografía real */
.photography-hero{background:radial-gradient(circle at 78% 24%,rgba(235,91,48,.28),transparent 30%),linear-gradient(145deg,#0d1b19,#020b0b)}
.photography-hero h1{font-size:clamp(4.5rem,10vw,10rem)}
.photography-intro{max-width:650px;margin-top:22px;color:rgba(245,242,238,.74);font-size:clamp(1rem,1.5vw,1.18rem);line-height:1.65}
.photography-preview img{filter:saturate(.92) contrast(1.04);object-fit:cover}
.photography-series{background:linear-gradient(180deg,var(--primary),#c83d1d)}
.photography-series .service-gallery-head h2{max-width:920px}
.photography-series .client-head::after{content:"Serie compuesta únicamente por fotografías reales. No incluye renders, mockups ni piezas gráficas."}
.photography-series .client-block-title::after{content:"tomas seleccionadas"}
.photo-grid{display:block;columns:3;column-gap:14px}
.photo-grid .photo-card{display:inline-block;width:100%;margin:0 0 14px;break-inside:avoid;border-radius:20px}
.photo-grid .photo-card img{width:100%;height:auto;aspect-ratio:auto;object-fit:contain;transition:transform .45s ease,filter .35s ease}
.photo-grid .photo-card:hover img{transform:scale(1.025);filter:saturate(1.08) contrast(1.03)}

@media (max-width:900px){.photo-grid{columns:2}}
@media (max-width:520px){
  .photography-hero h1{font-size:clamp(3.6rem,18vw,5.4rem)}
  .photo-grid{columns:1}
}

/* Caso Meta Ads · Puerto Montt */
.ads-case-hero{background:radial-gradient(circle at 82% 20%,rgba(235,91,48,.32),transparent 28%),linear-gradient(145deg,#0d1d1b,#020b0b)}
.ads-case-hero h1{font-size:clamp(4.4rem,9vw,9.2rem)}
.ads-hero-intro{max-width:650px;margin-top:22px;color:rgba(245,242,238,.76);font-size:clamp(1rem,1.55vw,1.2rem);line-height:1.65}
.ads-software-card{margin-top:24px}
.ads-meta-icon{width:52px;height:52px;border-radius:14px;background:linear-gradient(135deg,#0878ff,#075bc7);display:grid;place-items:center;color:#fff;font-family:Arial,sans-serif;font-size:2.5rem;font-weight:700;line-height:1}
.ads-case-introduction{padding:clamp(70px,9vw,124px) 0;background:#071817;color:var(--light)}
.ads-intro-layout{display:grid;grid-template-columns:100px minmax(0,1fr);gap:clamp(24px,5vw,72px)}
.ads-step-label{grid-row:1/3;display:flex;flex-direction:column;gap:6px;color:var(--primary);font-family:var(--font-subtitle);text-transform:uppercase}
.ads-step-label span{font-family:var(--font-title);font-size:clamp(4rem,7vw,7rem);line-height:.8}
.ads-step-label small{font-size:.65rem;font-weight:800;letter-spacing:.12em}
.ads-intro-copy h2,.ads-section-head h2{max-width:960px;margin-top:14px;font-size:clamp(3rem,7vw,7rem);line-height:.86;text-transform:uppercase}
.ads-intro-copy p,.ads-section-head p{max-width:740px;margin-top:22px;color:rgba(245,242,238,.7);font-size:clamp(1rem,1.45vw,1.16rem);line-height:1.7}
.ads-format-map{grid-column:2;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:10px}
.ads-format-map div{min-height:150px;padding:18px;border:1px solid rgba(245,242,238,.14);border-radius:20px;background:rgba(245,242,238,.05);display:flex;flex-direction:column;justify-content:space-between}
.ads-format-map strong{color:var(--primary);font-family:var(--font-title);font-size:clamp(2.8rem,5vw,5rem);line-height:.8}
.ads-format-map span{color:rgba(245,242,238,.65);font-family:var(--font-subtitle);font-size:.68rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase}
.ads-variants{padding:clamp(76px,10vw,140px) 0;background:linear-gradient(180deg,var(--primary),#c83d1d);color:var(--light);overflow:hidden}
.ads-section-head>span,.ads-variant-group>header>span{font-family:var(--font-subtitle);font-size:.7rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
.ads-variant-group{margin-top:clamp(54px,8vw,100px);padding:clamp(20px,4vw,44px);border:1px solid rgba(245,242,238,.2);border-radius:clamp(26px,4vw,44px);background:linear-gradient(145deg,rgba(7,24,23,.98),rgba(3,16,16,.96));box-shadow:0 30px 70px rgba(74,16,6,.28)}
.ads-variant-group>header{display:grid;grid-template-columns:minmax(0,.8fr) minmax(240px,.65fr);gap:12px 40px;margin-bottom:32px;align-items:end}
.ads-variant-group>header>span{grid-column:1/-1;color:var(--primary)}
.ads-variant-group>header h3{font-family:var(--font-title);font-size:clamp(2.6rem,5vw,5rem);line-height:.85;text-transform:uppercase}
.ads-variant-group>header p{color:rgba(245,242,238,.66);line-height:1.6}
.ads-post-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.ads-post-grid figure,.ads-story-grid figure,.ads-carousel-strip figure{position:relative;margin:0;border:1px solid rgba(245,242,238,.14);border-radius:18px;background:#020b0b;overflow:hidden}
.ads-post-grid img,.ads-story-grid img,.ads-carousel-strip img{width:100%;height:auto;display:block;transition:transform .4s ease,filter .3s ease}
.ads-post-grid figure:hover img,.ads-story-grid figure:hover img,.ads-carousel-strip figure:hover img{transform:scale(1.025);filter:saturate(1.08)}
.ads-post-grid figcaption,.ads-story-grid figcaption,.ads-carousel-strip figcaption{position:absolute;left:10px;bottom:10px;padding:6px 8px;border-radius:999px;background:rgba(3,16,16,.76);color:#fff;font-family:var(--font-subtitle);font-size:.61rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase;backdrop-filter:blur(8px)}
.ads-carousel-strip{display:flex;gap:12px;overflow-x:auto;padding:2px 2px 22px;scroll-snap-type:x mandatory;scrollbar-color:var(--primary) rgba(245,242,238,.12)}
.ads-carousel-strip figure{flex:0 0 clamp(230px,29vw,380px);scroll-snap-align:start}
.ads-story-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}
.ads-video-section{padding:clamp(78px,10vw,140px) 0;background:#071817;color:var(--light)}
.ads-video-layout{display:grid;grid-template-columns:minmax(280px,.72fr) minmax(0,1.28fr);gap:clamp(36px,7vw,100px);align-items:center}
.ads-laptop{position:relative;width:100%;padding:18px 18px 0;border:1px solid rgba(245,242,238,.18);border-radius:26px 26px 12px 12px;background:linear-gradient(145deg,#24302f,#060d0d);box-shadow:0 34px 80px rgba(0,0,0,.45)}
.ads-laptop-camera{position:absolute;top:7px;left:50%;width:5px;height:5px;border-radius:50%;background:#000;box-shadow:0 0 0 2px rgba(255,255,255,.08)}
.ads-laptop-screen{aspect-ratio:16/10;border-radius:13px 13px 5px 5px;background:#000;position:relative;overflow:hidden}
.ads-laptop-screen video{width:100%;height:100%;display:block;object-fit:contain;background:#000}
.ads-loop-video{pointer-events:none}
.ads-loop-video::-webkit-media-controls{display:none!important}
.ads-video-play{position:absolute;inset:0;width:100%;border:0;background:linear-gradient(180deg,rgba(3,16,16,.08),rgba(3,16,16,.62));color:#fff;display:grid;place-content:center;justify-items:center;gap:10px;cursor:pointer}
.ads-video-play span{width:78px;height:78px;border-radius:50%;background:var(--primary);display:grid;place-items:center;padding-left:5px;font-size:1.8rem;box-shadow:0 0 0 12px rgba(235,91,48,.18);transition:transform .25s ease}
.ads-video-play small{font-family:var(--font-subtitle);font-size:.72rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
.ads-video-play:hover span{transform:scale(1.08)}
.ads-laptop.is-playing .ads-video-play{display:none}
.ads-laptop-base{width:112%;height:18px;margin-left:-6%;border-radius:2px 2px 26px 26px;background:linear-gradient(180deg,#bbc1c1,#5c6463);clip-path:polygon(2% 0,98% 0,100% 75%,64% 100%,36% 100%,0 75%)}
.ads-results{padding:clamp(78px,10vw,140px) 0;background:linear-gradient(180deg,#f2c6b6,#edb39e);color:var(--dark)}
.ads-results-head p{color:rgba(3,16,16,.68)}
.ads-results-layout{display:block;margin-top:clamp(42px,7vw,80px)}
.ads-results-metrics{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:clamp(12px,1.6vw,22px)}
.ads-results-metrics article{grid-column:span 2;min-height:clamp(170px,16vw,230px);padding:clamp(20px,2.2vw,32px);border:1px solid rgba(3,16,16,.14);border-radius:clamp(20px,2vw,30px);background:rgba(255,255,255,.42);display:flex;flex-direction:column;box-shadow:0 14px 32px rgba(74,24,12,.08)}
.ads-results-metrics .ads-metric-feature{grid-column:1/-1;min-height:clamp(190px,20vw,280px);background:var(--dark);color:var(--light)}
.ads-results-metrics article:nth-child(5),.ads-results-metrics article:nth-child(6){grid-column:span 3}
.ads-results-metrics small{font-family:var(--font-subtitle);font-size:.65rem;font-weight:800;letter-spacing:.09em;text-transform:uppercase}
.ads-results-metrics strong{margin:auto 0 8px;color:var(--primary);font-family:var(--font-title);font-size:clamp(2.4rem,5vw,5.4rem);line-height:.8}
.ads-results-metrics span{font-size:.74rem;font-weight:800;text-transform:uppercase}
.ads-result-proof{margin:0;padding:12px;border:1px solid rgba(3,16,16,.18);border-radius:24px;background:#f8f6f2;box-shadow:0 30px 70px rgba(74,24,12,.2);transform:rotate(1deg)}
.ads-result-browser{height:38px;padding:0 12px;display:flex;align-items:center;gap:7px;border-bottom:1px solid rgba(3,16,16,.1);color:rgba(3,16,16,.58);font-family:var(--font-subtitle);font-size:.62rem;font-weight:800}
.ads-result-browser i{width:8px;height:8px;border-radius:50%;background:var(--primary)}
.ads-result-browser i:nth-child(2){opacity:.65}.ads-result-browser i:nth-child(3){opacity:.35}
.ads-result-browser span{margin-left:6px}
.ads-result-proof img{width:100%;height:auto;display:block;margin-top:12px;border:1px solid rgba(3,16,16,.1)}
.ads-result-proof figcaption{padding:13px 5px 4px;color:rgba(3,16,16,.62);font-family:var(--font-subtitle);font-size:.66rem;font-weight:800;letter-spacing:.07em;text-transform:uppercase}

@media (max-width:1050px){
  .ads-post-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .ads-story-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .ads-video-layout,.ads-results-layout{grid-template-columns:1fr}
  .ads-results-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ads-results-metrics article,.ads-results-metrics article:nth-child(5){grid-column:span 1}
  .ads-results-metrics .ads-metric-feature,.ads-results-metrics article:nth-child(6){grid-column:1/-1}
}
@media (max-width:760px){
  .ads-case-hero h1{font-size:clamp(3.4rem,17vw,5.2rem)}
  .ads-intro-layout{grid-template-columns:1fr}
  .ads-step-label{grid-row:auto;flex-direction:row;align-items:end}
  .ads-format-map{grid-column:auto;grid-template-columns:1fr 1fr}
  .ads-variant-group>header{grid-template-columns:1fr}
  .ads-post-grid{grid-template-columns:1fr 1fr}
  .ads-laptop{padding:12px 12px 0}
}
@media (max-width:480px){
  .ads-format-map div{min-height:125px}
  .ads-variant-group{padding:14px}
  .ads-post-grid{grid-template-columns:1fr}
  .ads-story-grid{grid-template-columns:1fr 1fr}
  .ads-results-metrics{grid-template-columns:1fr}
  .ads-results-metrics article,.ads-results-metrics article:nth-child(5),.ads-results-metrics article:nth-child(6),.ads-results-metrics .ads-metric-feature{grid-column:auto}
  .ads-video-play span{width:62px;height:62px;font-size:1.35rem}
}

/* Collage editorial de indumentaria */
.fashion-editorial-block{background:linear-gradient(145deg,rgba(245,242,238,.08),rgba(235,91,48,.08))}
.fashion-editorial-block .client-block-title::after{content:"editorial urbano"}
.fashion-collage{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));grid-auto-rows:72px;grid-auto-flow:dense;gap:12px}
.fashion-collage .work-card{grid-column:span 4;grid-row:span 5;width:100%;height:100%;min-height:0;border-radius:22px}
.fashion-collage .work-card:nth-child(1){grid-column:span 5;grid-row:span 7}
.fashion-collage .work-card:nth-child(2){grid-column:span 3;grid-row:span 5}
.fashion-collage .work-card:nth-child(3){grid-column:span 4;grid-row:span 6}
.fashion-collage .work-card:nth-child(4){grid-column:span 3;grid-row:span 5}
.fashion-collage .work-card:nth-child(5){grid-column:span 4;grid-row:span 7}
.fashion-collage .work-card:nth-child(6){grid-column:span 5;grid-row:span 6}
.fashion-collage .work-card:nth-child(7){grid-column:span 4;grid-row:span 6}
.fashion-collage .work-card:nth-child(8){grid-column:span 3;grid-row:span 5}
.fashion-collage .work-card:nth-child(9){grid-column:span 5;grid-row:span 7}
.fashion-collage .work-card:nth-child(10){grid-column:span 7;grid-row:span 7}
.fashion-collage .work-card img{width:100%;height:100%;aspect-ratio:auto;object-fit:cover;object-position:center;transition:transform .5s ease,filter .35s ease}
.fashion-collage .work-card:hover img{transform:scale(1.035);filter:saturate(1.07) contrast(1.03)}

@media (max-width:760px){
  .fashion-collage{grid-template-columns:repeat(6,minmax(0,1fr));grid-auto-rows:62px}
  .fashion-collage .work-card{grid-column:span 3;grid-row:span 5}
  .fashion-collage .work-card:nth-child(1),.fashion-collage .work-card:nth-child(5),.fashion-collage .work-card:nth-child(9),.fashion-collage .work-card:nth-child(10){grid-column:span 6;grid-row:span 7}
}
@media (max-width:480px){
  .fashion-collage{grid-template-columns:1fr 1fr;grid-auto-rows:250px;gap:8px}
  .fashion-collage .work-card,.fashion-collage .work-card:nth-child(n){grid-column:span 1;grid-row:span 1;border-radius:14px}
  .fashion-collage .work-card:nth-child(1),.fashion-collage .work-card:nth-child(6),.fashion-collage .work-card:nth-child(10){grid-column:1/-1}
}

/* Carrusel editorial: elimina huecos entre fotografías */
.fashion-editorial-block .client-block-title::after{content:"deslizá para recorrer"}
.fashion-collage{
  display:flex;
  grid-template-columns:none;
  grid-auto-rows:auto;
  grid-auto-flow:initial;
  gap:14px;
  overflow-x:auto;
  overflow-y:hidden;
  padding:4px 4px 24px;
  scroll-snap-type:x mandatory;
  scroll-padding-inline:4px;
  scrollbar-width:thin;
  scrollbar-color:var(--primary) rgba(245,242,238,.12);
  cursor:grab;
  touch-action:pan-y;
}
.fashion-collage:active{cursor:grabbing}
.fashion-collage img{-webkit-user-drag:none;user-select:none}
.fashion-collage::-webkit-scrollbar{height:8px}
.fashion-collage::-webkit-scrollbar-track{border-radius:999px;background:rgba(245,242,238,.12)}
.fashion-collage::-webkit-scrollbar-thumb{border-radius:999px;background:var(--primary)}
.fashion-collage .work-card,
.fashion-collage .work-card:nth-child(n){
  flex:0 0 clamp(250px,30vw,390px);
  width:auto;
  height:clamp(430px,54vw,620px);
  min-height:0;
  grid-column:auto;
  grid-row:auto;
  border-radius:22px;
  scroll-snap-align:start;
}
.fashion-collage .work-card img{width:100%;height:100%;object-fit:cover;object-position:center}

@media (max-width:760px){
  .fashion-collage{gap:10px;padding-bottom:18px}
  .fashion-collage .work-card,.fashion-collage .work-card:nth-child(n){flex-basis:min(72vw,320px);height:min(112vw,520px)}
}

@media (max-width:420px){
  .fashion-collage .work-card,.fashion-collage .work-card:nth-child(n){flex-basis:82vw;height:128vw;max-height:500px}
}

/* Software principal de papelería */
.paper-software-card{margin-top:24px}
.photoshop-software-icon{
  width:52px;
  height:52px;
  border:2px solid #31a8ff;
  border-radius:13px;
  background:#001e36;
  color:#31a8ff;
  display:grid;
  place-items:center;
  font-family:Arial,sans-serif;
  font-size:1.45rem;
  font-weight:700;
  letter-spacing:-.06em;
  box-shadow:0 8px 18px rgba(0,30,54,.3);
}

/* Herramientas de trabajo en fotografía */
.photography-tools{
  width:min(100%,620px);
  margin-top:24px;
  padding:14px;
  border:1px solid rgba(245,242,238,.15);
  border-radius:20px;
  background:linear-gradient(120deg,rgba(245,242,238,.07),rgba(235,91,48,.08));
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}
.photography-tools-label{
  grid-column:1/-1;
  padding:0 4px 4px;
  color:var(--primary);
  font-family:var(--font-subtitle);
  font-size:.65rem;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.photography-tool{
  min-width:0;
  padding:11px;
  border:1px solid rgba(245,242,238,.12);
  border-radius:15px;
  background:rgba(3,16,16,.42);
  display:flex;
  align-items:center;
  gap:12px;
}
.photography-tool>span:last-child{min-width:0;display:flex;flex-direction:column;gap:3px}
.photography-tool small{color:rgba(245,242,238,.48);font-size:.6rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.photography-tool strong{font-family:var(--font-subtitle);font-size:clamp(.72rem,1vw,.88rem);line-height:1.15;text-transform:uppercase}
.photography-tool-icon{flex:0 0 42px;width:42px;height:42px;position:relative;border-radius:12px;background:var(--primary)}
.photography-phone-icon::before{content:"";position:absolute;inset:7px 11px;border:2px solid #fff;border-radius:5px}
.photography-phone-icon::after{content:"";position:absolute;left:50%;bottom:9px;width:4px;height:4px;border-radius:50%;background:#fff;transform:translateX(-50%)}
.photography-gimbal-icon::before{content:"";position:absolute;left:13px;top:8px;width:15px;height:12px;border:2px solid #fff;border-radius:4px;box-shadow:8px 7px 0 -5px #fff}
.photography-gimbal-icon::after{content:"";position:absolute;left:20px;top:21px;width:4px;height:14px;border-radius:999px;background:#fff;box-shadow:5px 11px 0 -1px #fff;transform:rotate(-13deg);transform-origin:top}

@media (max-width:520px){
  .photography-tools{grid-template-columns:1fr}
  .photography-tools-label{grid-column:auto}
}

/* Herramientas y banco de recursos de diseño de piezas */
.design-tools{
  width:min(100%,760px);
  margin-top:24px;
  padding:14px;
  border:1px solid rgba(245,242,238,.15);
  border-radius:20px;
  background:linear-gradient(120deg,rgba(245,242,238,.07),rgba(235,91,48,.08));
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:9px;
}
.design-tools-label{
  grid-column:1/-1;
  padding:0 4px 4px;
  color:var(--primary);
  font-family:var(--font-subtitle);
  font-size:.65rem;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.design-tool{min-width:0;padding:10px;border:1px solid rgba(245,242,238,.12);border-radius:15px;background:rgba(3,16,16,.45);display:flex;align-items:center;gap:10px}
.design-tool>span:last-child{min-width:0;display:flex;flex-direction:column;gap:3px}
.design-tool small{color:rgba(245,242,238,.48);font-size:.56rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase}
.design-tool strong{font-family:var(--font-subtitle);font-size:clamp(.66rem,.9vw,.82rem);line-height:1.15;text-transform:uppercase}
.design-tool-icon{flex:0 0 40px;width:40px;height:40px;border-radius:11px;display:grid;place-items:center;font-family:Arial,sans-serif;font-size:1.12rem;font-weight:700}
.tool-icon-photoshop{border:2px solid #31a8ff;background:#001e36;color:#31a8ff}
.tool-icon-canva{background:linear-gradient(135deg,#00c4cc,#7d2ae8);color:#fff;font-family:Georgia,serif;font-style:italic}
.tool-icon-freepik{border:2px solid #1273eb;background:#fff;color:#1273eb;font-size:.92rem;letter-spacing:-.08em}

@media (max-width:700px){
  .design-tools{grid-template-columns:1fr}
  .design-tools-label{grid-column:auto}
}

/* Mobile: las galerías se recorren horizontalmente para evitar páginas interminables */
@media (max-width:640px){
  .client-block-title::after{content:"deslizá para ver →"}

  .client-block .work-grid:not(:has(.carousel-card)),
  .client-block .story-grid,
  .photo-grid,
  .ads-post-grid,
  .ads-story-grid{
    display:flex!important;
    columns:auto;
    grid-template-columns:none;
    grid-auto-rows:auto;
    gap:10px;
    overflow-x:auto;
    overflow-y:hidden;
    padding:3px 3px 18px;
    scroll-snap-type:x mandatory;
    scroll-padding-inline:3px;
    overscroll-behavior-inline:contain;
    scrollbar-width:thin;
    scrollbar-color:var(--primary) rgba(245,242,238,.12);
    -webkit-overflow-scrolling:touch;
  }

  .client-block .work-grid:not(:has(.carousel-card))::-webkit-scrollbar,
  .client-block .story-grid::-webkit-scrollbar,
  .photo-grid::-webkit-scrollbar,
  .ads-post-grid::-webkit-scrollbar,
  .ads-story-grid::-webkit-scrollbar{height:6px}

  .client-block .work-grid:not(:has(.carousel-card))::-webkit-scrollbar-track,
  .client-block .story-grid::-webkit-scrollbar-track,
  .photo-grid::-webkit-scrollbar-track,
  .ads-post-grid::-webkit-scrollbar-track,
  .ads-story-grid::-webkit-scrollbar-track{border-radius:999px;background:rgba(245,242,238,.12)}

  .client-block .work-grid:not(:has(.carousel-card))::-webkit-scrollbar-thumb,
  .client-block .story-grid::-webkit-scrollbar-thumb,
  .photo-grid::-webkit-scrollbar-thumb,
  .ads-post-grid::-webkit-scrollbar-thumb,
  .ads-story-grid::-webkit-scrollbar-thumb{border-radius:999px;background:var(--primary)}

  .client-block .work-grid:not(:has(.carousel-card))>.work-card,
  .client-block .story-grid>.work-card,
  .photo-grid>.photo-card,
  .ads-post-grid>figure,
  .ads-story-grid>figure{
    flex:0 0 min(78vw,320px)!important;
    width:min(78vw,320px)!important;
    max-width:none!important;
    height:min(108vw,470px)!important;
    min-height:0!important;
    margin:0!important;
    grid-column:auto!important;
    grid-row:auto!important;
    border-radius:18px;
    scroll-snap-align:start;
    scroll-snap-stop:always;
  }

  .client-block .story-grid>.work-card,
  .ads-story-grid>figure{flex-basis:min(68vw,280px)!important;width:min(68vw,280px)!important;height:min(116vw,500px)!important}

  .client-block .work-grid:not(:has(.carousel-card))>.work-card img,
  .client-block .story-grid>.work-card img,
  .photo-grid>.photo-card img,
  .ads-post-grid>figure img,
  .ads-story-grid>figure img{
    width:100%!important;
    height:100%!important;
    aspect-ratio:auto!important;
    object-fit:contain!important;
    object-position:center!important;
    background:#020b0b;
  }

  .client-block .work-grid:has(.carousel-card){display:block;overflow:visible;padding:0}
  .client-block .work-grid:has(.carousel-card)>.carousel-card{margin-bottom:14px}

  .ads-variant-group{overflow:hidden}
  .ads-carousel-strip figure{flex-basis:min(78vw,320px)}
}
