:root{
  --bg: #050505;
  --txt: rgba(255,255,255,.86);
  --muted: rgba(255,255,255,.55);

  /* Cobre (pegado al logo) */
  --copper: #b07a4e;
  --copper2: #7a4b2a;

  --radius: 18px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  background: var(--bg);
  color: var(--txt);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Helvetica Neue";
  overflow:hidden;
}

/* Fondo */
.bg{position:fixed; inset:0; z-index:-2;}
.bg__video{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit:cover;
  opacity:.18;
  filter:saturate(.9) contrast(1.05);
}
.bg__vignette{
  position:absolute; inset:0;
  background: radial-gradient(60% 60% at 50% 45%, rgba(0,0,0,0) 0%, rgba(0,0,0,.65) 65%, rgba(0,0,0,.92) 100%);
}
.bg__grain{
  position:absolute; inset:-20%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.18'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  opacity:.10;
  pointer-events:none;
  animation: grain 10s steps(10) infinite;
}
@keyframes grain{
  0%{transform:translate(0,0)}
  20%{transform:translate(-2%,1%)}
  40%{transform:translate(1%,-2%)}
  60%{transform:translate(3%,2%)}
  80%{transform:translate(-1%,3%)}
  100%{transform:translate(0,0)}
}

/* Navbar */
.nav{
  position:fixed;
  top:0; left:0; right:0;
  padding: 18px 22px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  z-index:5;
  background: linear-gradient(to bottom, rgba(0,0,0,.55), rgba(0,0,0,0));
  backdrop-filter: blur(6px);
}
.nav__brand{
  text-decoration:none;
  color: var(--txt);
  letter-spacing:.12em;
  text-transform: uppercase;
  font-size: 12px;
  opacity:.9;
}
.nav__links{
  display:flex;
  gap: 16px;
  align-items:center;
}
.nav__links a{
  text-decoration:none;
  color: var(--muted);
  font-size: 13px;
  letter-spacing:.05em;
  transition: opacity .2s ease, color .2s ease;
}
.nav__links a:hover{ color: var(--txt); }

.nav__btn{
  border: 1px solid rgba(176,122,78,.35);
  background: rgba(0,0,0,.25);
  color: var(--txt);
  padding: 8px 12px;
  border-radius: 999px;
  cursor:pointer;
  transition: transform .2s ease, border-color .2s ease;
}
.nav__btn:hover{
  transform: translateY(-1px);
  border-color: rgba(176,122,78,.65);
}

/* Hero HOME */
.hero{
  height:100%;
  display:grid;
  place-items:center;
  padding-top: 64px;
}

/* Logo button */
.logoBtn{
  border:0;
  background: transparent;
  color: inherit;
  cursor:pointer;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap: 18px;
  outline: none;
}
.logoWrap{
  position:relative;
  width: min(520px, 72vw);
  aspect-ratio: 2 / 3;
  border-radius: 26px;
  overflow:hidden;
  box-shadow:
    0 18px 60px rgba(0,0,0,.65),
    0 0 0 1px rgba(176,122,78,.12);
  transform: translateZ(0);
  will-change: transform;
}
.logoImg{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  filter: contrast(1.05) saturate(1.05);
  transform: scale(1.01);
}

/* Glow cobre alrededor */
.logoGlow{
  position:absolute; inset:-30%;
  background: radial-gradient(closest-side at 50% 45%,
    rgba(176,122,78,.28),
    rgba(176,122,78,.08) 45%,
    rgba(0,0,0,0) 70%);
  opacity: .95;
  mix-blend-mode: screen;
  pointer-events:none;
  animation: breathe 3.6s ease-in-out infinite;
}
@keyframes breathe{
  0%,100%{ transform: scale(1); opacity:.75; }
  50%{ transform: scale(1.04); opacity:1; }
}

/* Hint */
.hint{
  display:flex;
  gap: 10px;
  align-items:center;
  color: var(--muted);
  font-size: 13px;
  letter-spacing:.06em;
  text-transform: uppercase;
}
.hint__dot{
  width:10px;height:10px;border-radius:50%;
  background: rgba(176,122,78,.75);
  box-shadow: 0 0 18px rgba(176,122,78,.55);
}

/* Overlay */
.overlay{
  position:fixed; inset:0;
  display:none;
  align-items:center;
  justify-content:center;
  padding: 24px;
  z-index:10;
  background: rgba(0,0,0,.72);
  backdrop-filter: blur(10px);
}
.overlay.is-open{ display:flex; }

.overlay__panel{
  width: min(980px, 92vw);
  border-radius: var(--radius);
  background: rgba(10,10,10,.72);
  border: 1px solid rgba(176,122,78,.18);
  box-shadow: 0 30px 110px rgba(0,0,0,.7);
  overflow:hidden;
}
.overlay__top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.overlay__title{
  letter-spacing:.14em;
  text-transform: uppercase;
  font-size: 12px;
  color: rgba(255,255,255,.82);
}
.overlay__close{
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.25);
  color: rgba(255,255,255,.82);
  border-radius: 10px;
  padding: 10px 12px;
  cursor:pointer;
}

.overlay__grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 18px;
}
.card{
  text-decoration:none;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(176,122,78,.14);
  background: rgba(0,0,0,.28);
  transition: transform .18s ease, border-color .18s ease;
}
.card:hover{
  transform: translateY(-2px);
  border-color: rgba(176,122,78,.42);
}
.card__t{
  color: rgba(255,255,255,.9);
  font-weight: 650;
  letter-spacing:.02em;
  margin-bottom: 6px;
}
.card__s{
  color: rgba(255,255,255,.55);
  font-size: 13px;
  line-height: 1.35;
}

.overlay__bottom{
  padding: 14px 18px 18px;
  border-top: 1px solid rgba(255,255,255,.06);
  display:flex;
  justify-content:flex-end;
}
.socials{
  display:flex;
  gap: 14px;
  flex-wrap:wrap;
}
.socials a{
  color: rgba(255,255,255,.62);
  text-decoration:none;
  font-size: 13px;
}
.socials a:hover{ color: rgba(255,255,255,.9); }

/* Cursor halo */
.cursor-halo{
  position:fixed;
  width: 260px; height: 260px;
  border-radius: 50%;
  pointer-events:none;
  z-index: -1;
  background: radial-gradient(circle at center,
    rgba(176,122,78,.18),
    rgba(176,122,78,.06) 35%,
    rgba(0,0,0,0) 70%);
  transform: translate(-999px, -999px);
  filter: blur(2px);
  transition: transform .02s linear;
}

/* Responsive */
@media (max-width: 860px){
  body{ overflow:auto; }
  .nav__links a{ display:none; }
  .overlay__grid{ grid-template-columns: 1fr; }
  .hero{ padding-top: 90px; }
}

/* Cursor personalizado solo sobre el logo */
.enterCursor{
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Ccircle cx='20' cy='20' r='10' fill='none' stroke='%23b07a4e' stroke-width='2'/%3E%3Ccircle cx='20' cy='20' r='2' fill='%23b07a4e'/%3E%3C/svg%3E") 20 20, pointer;
}

/* Texto que aparece al hover */
.enterHint{
  position:absolute;
  left:50%;
  bottom: 18px;
  transform: translateX(-50%);
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(0,0,0,.45);
  border: 1px solid rgba(176,122,78,.25);
  color: rgba(255,255,255,.82);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity .2s ease, transform .2s ease;
  backdrop-filter: blur(6px);
  pointer-events:none;
}
.logoWrap:hover .enterHint{
  opacity: 1;
  transform: translateX(-50%) translateY(-2px);
}

/* Pantalla Intro */
.intro{
  position:fixed;
  inset:0;
  display:none;
  align-items:center;
  justify-content:center;
  z-index:20;
  background: #000;
}
.intro.is-open{ display:flex; }

.intro__video{
  width:100%;
  height:100%;
  object-fit:cover;
}

.intro__skip{
  position:absolute;
  top: 18px;
  right: 18px;
  z-index:22;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.35);
  color: rgba(255,255,255,.8);
  border-radius: 999px;
  padding: 10px 14px;
  cursor:pointer;
  backdrop-filter: blur(8px);
}
.intro__skip:hover{
  border-color: rgba(176,122,78,.45);
}

.intro__fade{
  position:absolute;
  inset:0;
  z-index:21;
  background: radial-gradient(60% 60% at 50% 50%, rgba(0,0,0,0) 0%, rgba(0,0,0,.45) 70%, rgba(0,0,0,.85) 100%);
  pointer-events:none;
}

/* =========================
   CONTACTO (cinematográfico)
   ========================= */

.contactPage{
  height: 100vh;
  overflow:auto;
  padding: 120px 22px 44px;
  display:grid;
  place-items:center;
}

.contactHero{
  width: min(1020px, 92vw);
  margin: 0 auto 18px;
  text-align:center;
}
.contactHero__kicker{
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.62);
}
.contactHero__title{
  margin: 10px 0 8px;
  font-size: clamp(34px, 5vw, 52px);
  letter-spacing: .02em;
}
.contactHero__sub{
  margin: 0 auto;
  max-width: 62ch;
  color: rgba(255,255,255,.62);
  line-height: 1.55;
}

.contactPanel{
  width: min(1020px, 92vw);
  border-radius: 22px;
  background: rgba(0,0,0,.28);
  border: 1px solid rgba(176,122,78,.14);
  box-shadow: 0 30px 110px rgba(0,0,0,.55);
  overflow:hidden;
  position:relative;
  animation: panelBreath 6s ease-in-out infinite;
}

/* Brillo sutil en diagonal (pro) */
.contactPanel::before{
  content:"";
  position:absolute; inset:-60%;
  background: radial-gradient(circle at 30% 25%,
    rgba(176,122,78,.10),
    rgba(176,122,78,.05) 35%,
    rgba(0,0,0,0) 65%);
  transform: rotate(12deg);
  pointer-events:none;
}

.contactPanel__top{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 14px;
  padding: 18px 18px 12px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  position:relative;
}
.contactPanel__title{
  letter-spacing: .10em;
  text-transform: uppercase;
  font-size: 12px;
  color: rgba(255,255,255,.82);
}
.contactPanel__hint{
  font-size: 12px;
  color: rgba(255,255,255,.48);
}

/* Separación Profesional / Comunidad */
.contactSection{
  padding: 18px;
}
.contactSection__title{
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
  margin-bottom: 14px;
}
.contactSection__divider{
  height: 1px;
  background: linear-gradient(to right,
    rgba(176,122,78,.0),
    rgba(176,122,78,.45),
    rgba(176,122,78,.0));
  margin: 10px 0;
  opacity:.5;
}

/* Grilla (SIN padding: lo maneja contactSection) */
.contactGrid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  position:relative;
}

.contactCard{
  position:relative;
  display:flex;
  align-items:center;
  gap: 12px;
  padding: 16px 14px;
  border-radius: 18px;
  text-decoration:none;
  border: 1px solid rgba(176,122,78,.14);
  background: rgba(0,0,0,.26);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
  overflow:hidden;
  will-change: transform;
}

.contactCard::after{
  content:"";
  position:absolute; inset:-1px;
  border-radius: 18px;
  background: radial-gradient(140px 140px at var(--mx, 50%) var(--my, 50%),
    rgba(176,122,78,.20),
    rgba(176,122,78,.06) 40%,
    rgba(0,0,0,0) 70%);
  opacity: 0;
  transition: opacity .18s ease;
  pointer-events:none;
}

.contactCard:hover{
  border-color: rgba(176,122,78,.42);
  box-shadow: 0 18px 60px rgba(0,0,0,.45);
}
.contactCard:hover::after{ opacity: 1; }

.contactCard__icon{
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display:grid;
  place-items:center;
  color: rgba(255,255,255,.9);
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.06);
  box-shadow:
    0 0 0 1px rgba(176,122,78,.06),
    0 0 18px rgba(176,122,78,.08);
  transition: box-shadow .2s ease, transform .2s ease;
}
.contactCard:hover .contactCard__icon{
  box-shadow:
    0 0 0 1px rgba(176,122,78,.25),
    0 0 26px rgba(176,122,78,.35);
  transform: translateY(-1px);
}
.contactCard__icon svg{
  width: 22px;
  height: 22px;
}

.contactCard__meta{ min-width: 0; }
.contactCard__label{
  color: rgba(255,255,255,.92);
  font-weight: 650;
  letter-spacing: .02em;
  line-height: 1.1;
  transition: color .2s ease;
}
.contactCard:hover .contactCard__label{ color: var(--copper); }

.contactCard__desc{
  margin-top: 4px;
  color: rgba(255,255,255,.56);
  font-size: 12.5px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.contactCard__spark{
  position:absolute;
  inset:-40%;
  background: conic-gradient(from 90deg,
    rgba(176,122,78,.0),
    rgba(176,122,78,.15),
    rgba(176,122,78,.0));
  opacity: .0;
  filter: blur(10px);
  transform: translateZ(0);
  pointer-events:none;
}
.contactCard:hover .contactCard__spark{
  opacity: .55;
  animation: sparkSpin 1.8s linear infinite;
}
@keyframes sparkSpin{
  from{ transform: rotate(0deg); }
  to{ transform: rotate(360deg); }
}

/* Footer */
.contactFooter{
  padding: 12px 18px 18px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 12px;
  border-top: 1px solid rgba(255,255,255,.06);
  position:relative;
}
.contactFooter__line{
  height: 1px;
  width: 80px;
  background: linear-gradient(to right, rgba(176,122,78,.0), rgba(176,122,78,.55), rgba(176,122,78,.0));
}
.contactFooter__text{
  font-size: 12px;
  color: rgba(255,255,255,.52);
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* Responsive contacto */
@media (max-width: 980px){
  .contactGrid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px){
  .contactGrid{ grid-template-columns: 1fr; }
  .contactPanel__top{ flex-direction:column; align-items:flex-start; }
}

@keyframes panelBreath{
  0%,100%{ box-shadow: 0 30px 110px rgba(0,0,0,.55); }
  50%{ box-shadow: 0 32px 125px rgba(176,122,78,.08); }
}

/* =========================
   SERIES (cinematográfico)
   ========================= */

.seriesPage{
  min-height: 100vh;
  padding: 140px 22px 80px;
  display:block;      /* <- ya no centramos como canvas */
  margin: 0 auto;   /* centrado horizontal real */
  margin-bottom: 40px;
}

.seriesHero{
  width: min(1020px, 92vw);
  margin: 0 auto 18px;
  text-align:center;
}
.seriesHero__kicker{
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.62);
}
.seriesHero__title{
  margin: 10px 0 8px;
  font-size: clamp(34px, 5vw, 52px);
  letter-spacing: .02em;
}
.seriesHero__sub{
  margin: 0 auto;
  max-width: 64ch;
  color: rgba(255,255,255,.62);
  line-height: 1.55;
}

.seriesPanel{
  width: min(1020px, 92vw);
  border-radius: 22px;
  background: rgba(0,0,0,.28);
  border: 1px solid rgba(176,122,78,.14);
  box-shadow: 0 30px 110px rgba(0,0,0,.55);
  overflow:hidden;
  position:relative;
  animation: panelBreath 6s ease-in-out infinite;
}
.seriesPanel::before{
  content:"";
  position:absolute; inset:-60%;
  background: radial-gradient(circle at 30% 25%,
    rgba(176,122,78,.10),
    rgba(176,122,78,.05) 35%,
    rgba(0,0,0,0) 65%);
  transform: rotate(12deg);
  pointer-events:none;
}

.featured{
  display:grid;
  grid-template-columns: 1.05fr 1.25fr;
  gap: 18px;
  padding: 18px;
  position:relative;
}

/* MEDIA: arreglado (sin CSS anidado) + z-index para no tapar miniatura */
.featured__media{
  position:relative;
  border-radius: 18px;
  overflow:hidden;
  border: 1px solid rgba(176,122,78,.14);
  background: rgba(0,0,0,.35);
  box-shadow: 0 18px 60px rgba(0,0,0,.45);
  min-height: 340px;
}

/* Hover correcto */
.featured__media:hover .featured__posterImg{
  transform: scale(1.03);
}

/* ==========================================================
   SERIES — Miniatura SIN recorte (Opción A)
   ========================================================== */
.featured__posterImg{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;

  object-fit: contain;        /* <- clave: no recorta */
  object-position: center;

  /* relleno noir si sobra espacio */
  background: rgba(0,0,0,.55);

  filter: contrast(1.05) saturate(1.05);
  transition: transform .6s ease;
  z-index: 2;
}

/* Hover suave (mantiene tu efecto sin recorte) */
.featured__media:hover .featured__posterImg{
  transform: scale(1.02);
}

/* Glow detrás (NO opaca la miniatura) */
.featured__glow{
  position:absolute; inset:-30%;
  background: radial-gradient(closest-side at 50% 45%,
    rgba(176,122,78,.22),
    rgba(176,122,78,.06) 45%,
    rgba(0,0,0,0) 70%);
  mix-blend-mode: screen;
  opacity: .85;
  pointer-events:none;
  animation: breathe 3.6s ease-in-out infinite;

  /* clave: glow debajo */
  z-index: 1;
}

/* Viñeta noir suave arriba para integrar sin “lavar” */
.featured__media::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  z-index: 3;
  background:
    radial-gradient(120% 90% at 50% 40%,
      rgba(0,0,0,0) 0%,
      rgba(0,0,0,.16) 55%,
      rgba(0,0,0,.42) 100%);
  opacity: .55;
}

.featured__content{
  padding: 6px 6px 6px 0;
}
.featured__badge{
  display:inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(176,122,78,.22);
  background: rgba(0,0,0,.25);
  color: rgba(255,255,255,.78);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.featured__title{
  margin: 12px 0 8px;
  font-size: clamp(26px, 3.2vw, 36px);
  letter-spacing: .02em;
}
.featured__desc{
  margin: 0 0 12px;
  color: rgba(255,255,255,.62);
  line-height: 1.55;
  max-width: 64ch;
}

.featured__meta{
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.tag{
  display:inline-block;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(176,122,78,.16);
  background: rgba(0,0,0,.22);
  color: rgba(255,255,255,.72);
  font-size: 12px;
}

.featured__actions{
  display:flex;
  gap: 10px;
  flex-wrap:wrap;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  text-decoration:none;
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
  cursor:pointer;
  user-select:none;
}
.btn--primary{
  color: rgba(255,255,255,.92);
  border: 1px solid rgba(176,122,78,.38);
  background: rgba(176,122,78,.10);
  box-shadow: 0 0 0 1px rgba(176,122,78,.06), 0 18px 60px rgba(0,0,0,.35);
}
.btn--primary:hover{
  transform: translateY(-1px);
  border-color: rgba(176,122,78,.65);
  box-shadow: 0 0 0 1px rgba(176,122,78,.10), 0 22px 70px rgba(0,0,0,.45);
}
.btn--ghost{
  color: rgba(255,255,255,.78);
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.18);
}
.btn--ghost:hover{
  transform: translateY(-1px);
  border-color: rgba(176,122,78,.35);
}

.featured__line{
  height: 1px;
  background: linear-gradient(to right, rgba(176,122,78,.0), rgba(176,122,78,.40), rgba(176,122,78,.0));
  margin: 16px 0 12px;
  opacity:.6;
}

.featured__stats{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.stat{
  border-radius: 16px;
  border: 1px solid rgba(176,122,78,.14);
  background: rgba(0,0,0,.22);
  padding: 12px;
}
.stat__n{
  font-size: 18px;
  letter-spacing: .10em;
  color: rgba(255,255,255,.9);
}
.stat__t{
  margin-top: 6px;
  font-size: 12px;
  color: rgba(255,255,255,.55);
  text-transform: uppercase;
  letter-spacing: .14em;
}

.seriesDivider{
  height: 1px;
  background: linear-gradient(to right,
    rgba(176,122,78,.0),
    rgba(176,122,78,.45),
    rgba(176,122,78,.0));
  margin: 6px 0;
  opacity:.55;
}

/* Catálogo */
.catalog{
  padding: 18px;
}
.catalog__top{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 14px;
  margin-bottom: 14px;
}
.catalog__title{
  letter-spacing:.14em;
  text-transform: uppercase;
  font-size: 12px;
  color: rgba(255,255,255,.82);
}
.catalog__hint{
  font-size: 12px;
  color: rgba(255,255,255,.48);
}

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

.seriesCard{
  position:relative;
  border-radius: 18px;
  border: 1px solid rgba(176,122,78,.14);
  background: rgba(0,0,0,.22);
  padding: 16px;
  text-decoration:none;
  transition: border-color .18s ease, box-shadow .18s ease;
  overflow:hidden;
}
.seriesCard::after{
  content:"";
  position:absolute; inset:-1px;
  border-radius: 18px;
  background: radial-gradient(140px 140px at var(--mx, 50%) var(--my, 50%),
    rgba(176,122,78,.18),
    rgba(176,122,78,.06) 40%,
    rgba(0,0,0,0) 70%);
  opacity: 0;
  transition: opacity .18s ease;
  pointer-events:none;
}
.seriesCard:hover{
  border-color: rgba(176,122,78,.42);
  box-shadow: 0 18px 60px rgba(0,0,0,.45);
}
.seriesCard:hover::after{ opacity: 1; }

.seriesCard__top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
}
.seriesCard__name{
  color: rgba(255,255,255,.92);
  font-weight: 650;
  letter-spacing: .02em;
}
.seriesCard__status{
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(176,122,78,.18);
  background: rgba(176,122,78,.08);
  color: rgba(255,255,255,.72);
}
.seriesCard__status--dev{
  border-color: rgba(255,255,255,.12);
  background: rgba(0,0,0,.20);
  color: rgba(255,255,255,.62);
}
.seriesCard__desc{
  margin-top: 10px;
  color: rgba(255,255,255,.58);
  line-height: 1.45;
}
.seriesCard__tags{
  margin-top: 12px;
  display:flex;
  flex-wrap:wrap;
  gap: 8px;
}
.seriesCard__spark{
  position:absolute;
  inset:-40%;
  background: conic-gradient(from 90deg,
    rgba(176,122,78,.0),
    rgba(176,122,78,.12),
    rgba(176,122,78,.0));
  opacity: .0;
  filter: blur(10px);
  pointer-events:none;
}
.seriesCard:hover .seriesCard__spark{
  opacity: .55;
  animation: sparkSpin 1.8s linear infinite;
}

/* Producción */
.prod{
  padding: 18px;
}
.prod__title{
  letter-spacing:.14em;
  text-transform: uppercase;
  font-size: 12px;
  color: rgba(255,255,255,.82);
  margin-bottom: 14px;
}
.prodGrid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.prodCard{
  position:relative;
  border-radius: 18px;
  border: 1px solid rgba(176,122,78,.14);
  background: rgba(0,0,0,.22);
  padding: 16px;
  overflow:hidden;
}
.prodCard::after{
  content:"";
  position:absolute; inset:-1px;
  border-radius: 18px;
  background: radial-gradient(140px 140px at var(--mx, 50%) var(--my, 50%),
    rgba(176,122,78,.16),
    rgba(176,122,78,.06) 40%,
    rgba(0,0,0,0) 70%);
  opacity: 0;
  transition: opacity .18s ease;
  pointer-events:none;
}
.prodCard:hover::after{ opacity: 1; }
.prodCard__t{
  color: rgba(255,255,255,.92);
  font-weight: 650;
}
.prodCard__s{
  margin-top: 8px;
  color: rgba(255,255,255,.58);
  line-height: 1.45;
}
.prodCard__spark{
  position:absolute;
  inset:-40%;
  background: conic-gradient(from 90deg,
    rgba(176,122,78,.0),
    rgba(176,122,78,.12),
    rgba(176,122,78,.0));
  opacity: .0;
  filter: blur(10px);
  pointer-events:none;
}
.prodCard:hover .prodCard__spark{
  opacity: .55;
  animation: sparkSpin 1.8s linear infinite;
}

.cta{
  margin-top: 18px;
  border-radius: 18px;
  border: 1px solid rgba(176,122,78,.14);
  background: rgba(0,0,0,.22);
  padding: 18px;
}
.cta__t{
  color: rgba(255,255,255,.92);
  font-weight: 650;
  margin-bottom: 6px;
}
.cta__s{
  color: rgba(255,255,255,.58);
  line-height: 1.5;
  margin-bottom: 12px;
}

/* Responsive series */
@media (max-width: 980px){
  .featured{ grid-template-columns: 1fr; }
  .catalogGrid{ grid-template-columns: 1fr; }
  .prodGrid{ grid-template-columns: 1fr; }
  .featured__media{ min-height: 280px; }
}

/* ==========================================================
   SCROLL PRO — páginas internas (SERIES / CONTACTO)
   Mantiene body hidden + scroll dentro del contenedor
   ========================================================== */

/* El body queda fijo (tu sistema noir) */
body{
  overflow: hidden;
}

/* Contenedor scrolleable real */
.seriesPage,
.contactPage{
  height: 100vh;           /* ocupa pantalla */
  overflow-y: auto;        /* scroll vertical acá */
  overflow-x: hidden;      /* evita corte lateral */
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;

  /* espacio para navbar fija + aire cinematográfico */
  padding: 120px 22px 70px;

  /* importante: NO centrar como canvas */
  display: block;
}

/* Panel centrado horizontal, sin cortar */
.seriesPanel,
.contactPanel{
  margin: 0 auto;
}

/* Por si algún elemento genera scroll lateral */
.seriesPanel,
.contactPanel{
  max-width: 1020px;
  width: min(1020px, 92vw);
}

/* (Opcional) scrollbar más discreta */
.seriesPage::-webkit-scrollbar,
.contactPage::-webkit-scrollbar{
  width: 10px;
}
.seriesPage::-webkit-scrollbar-thumb,
.contactPage::-webkit-scrollbar-thumb{
  background: rgba(176,122,78,.22);
  border-radius: 999px;
  border: 2px solid rgba(0,0,0,.55);
}
.seriesPage::-webkit-scrollbar-track,
.contactPage::-webkit-scrollbar-track{
  background: rgba(0,0,0,.25);
}
/* =========================
   HOME NUEVA ETAPA COMERCIAL
   ========================= */
html{ scroll-behavior:smooth; }
body.home-page{
  min-height:100%;
  overflow:auto;
}
body.home-page main{
  width:100%;
}
body.home-page .hero{
  min-height:100vh;
  height:auto;
}
body.home-page .nav{
  background: linear-gradient(to bottom, rgba(0,0,0,.74), rgba(0,0,0,.14));
}
body.home-page .nav__links{
  gap: 14px;
}
body.home-page .nav__links a{
  white-space:nowrap;
}
.studioIntro,
.serviceGrid,
.splitSection{
  width:min(1180px, 92vw);
  margin:0 auto;
}
.studioIntro{
  min-height: 78vh;
  display:grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  align-items:center;
  gap: 44px;
  padding: 90px 0 70px;
}
.studioIntro__copy{
  position:relative;
  z-index:1;
}
.sectionKicker{
  margin:0 0 14px;
  color: var(--copper);
  font-size: 12px;
  letter-spacing:.22em;
  text-transform:uppercase;
  font-weight:700;
}
.studioIntro h1{
  margin:0;
  max-width: 820px;
  font-size: clamp(36px, 5.4vw, 76px);
  line-height:.98;
  letter-spacing:-.055em;
  color: rgba(255,255,255,.92);
}
.studioIntro p:not(.sectionKicker){
  max-width: 68ch;
  margin: 24px 0 0;
  color: rgba(255,255,255,.62);
  font-size: clamp(16px, 1.5vw, 19px);
  line-height:1.65;
}
.studioIntro__actions{
  display:flex;
  flex-wrap:wrap;
  gap: 12px;
  margin-top: 30px;
}
.primaryLink,
.ghostLink{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding: 12px 16px;
  border-radius:999px;
  text-decoration:none;
  font-size: 13px;
  letter-spacing:.08em;
  text-transform:uppercase;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.primaryLink{
  color:#090706;
  background: linear-gradient(135deg, #d7a46d, var(--copper));
  border:1px solid rgba(255,255,255,.14);
  font-weight:800;
}
.ghostLink{
  color: rgba(255,255,255,.78);
  border:1px solid rgba(176,122,78,.28);
  background: rgba(0,0,0,.18);
}
.primaryLink:hover,
.ghostLink:hover{
  transform:translateY(-2px);
  border-color: rgba(176,122,78,.72);
}
.pixiStage{
  position:relative;
  min-height:520px;
  border-radius: 32px;
  overflow:hidden;
  border:1px solid rgba(176,122,78,.16);
  background:
    radial-gradient(circle at 70% 22%, rgba(176,122,78,.18), rgba(176,122,78,0) 34%),
    radial-gradient(circle at 22% 80%, rgba(255,255,255,.08), rgba(255,255,255,0) 28%),
    rgba(0,0,0,.22);
  box-shadow:0 26px 90px rgba(0,0,0,.48);
}
.pixiStage canvas{
  position:absolute;
  inset:0;
  width:100% !important;
  height:100% !important;
}
.pixiStage__fallback{
  position:absolute;
  inset:-20%;
  background:
    radial-gradient(circle at 18% 25%, rgba(176,122,78,.22) 0 2px, transparent 3px),
    radial-gradient(circle at 70% 42%, rgba(255,255,255,.18) 0 1px, transparent 2px),
    radial-gradient(circle at 48% 70%, rgba(176,122,78,.18) 0 2px, transparent 3px);
  background-size: 92px 92px, 64px 64px, 130px 130px;
  animation: pixiFallbackMove 16s linear infinite;
  opacity:.8;
}
@keyframes pixiFallbackMove{
  from{ transform:translate3d(0,0,0) rotate(0deg); }
  to{ transform:translate3d(4%, -4%, 0) rotate(3deg); }
}
.pixiStage__label{
  position:absolute;
  left:20px;
  bottom:20px;
  padding:10px 12px;
  border-radius:999px;
  border:1px solid rgba(176,122,78,.25);
  background:rgba(0,0,0,.34);
  color:rgba(255,255,255,.66);
  font-size:11px;
  letter-spacing:.20em;
  backdrop-filter: blur(8px);
}
.serviceGrid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:16px;
  padding: 20px 0 80px;
}
.serviceCard{
  position:relative;
  min-height:230px;
  padding:24px;
  border-radius:24px;
  overflow:hidden;
  border:1px solid rgba(176,122,78,.14);
  background:rgba(0,0,0,.25);
  box-shadow:0 20px 70px rgba(0,0,0,.28);
  transition:border-color .18s ease, box-shadow .18s ease;
}
.serviceCard::after{
  content:"";
  position:absolute;
  inset:-1px;
  background:radial-gradient(280px 220px at var(--mx, 50%) var(--my, 50%), rgba(176,122,78,.18), transparent 62%);
  opacity:0;
  transition:opacity .18s ease;
  pointer-events:none;
}
.serviceCard:hover{
  border-color:rgba(176,122,78,.42);
  box-shadow:0 26px 90px rgba(0,0,0,.38);
}
.serviceCard:hover::after{ opacity:1; }
.serviceCard span{
  color:var(--copper);
  font-size:12px;
  letter-spacing:.20em;
  font-weight:800;
}
.serviceCard h2{
  margin:40px 0 12px;
  color:rgba(255,255,255,.90);
  font-size:clamp(24px, 2.4vw, 34px);
  line-height:1;
  letter-spacing:-.035em;
}
.serviceCard p{
  margin:0;
  color:rgba(255,255,255,.58);
  line-height:1.55;
}
.splitSection{
  display:grid;
  grid-template-columns: .9fr 1.1fr;
  gap:36px;
  padding: 80px 0;
  border-top:1px solid rgba(255,255,255,.07);
}
.splitSection h2{
  margin:0;
  color:rgba(255,255,255,.90);
  font-size:clamp(30px, 4vw, 54px);
  line-height:1.02;
  letter-spacing:-.045em;
}
.splitSection p:not(.sectionKicker){
  margin:0;
  align-self:end;
  color:rgba(255,255,255,.62);
  font-size:17px;
  line-height:1.7;
}

@media (max-width: 980px){
  .studioIntro,
  .splitSection{
    grid-template-columns:1fr;
  }
  .pixiStage{ min-height:360px; }
  .serviceGrid{ grid-template-columns:1fr; }
}

@media (max-width: 860px){
  body.home-page{ overflow:auto; }
  body.home-page .nav{
    align-items:flex-start;
    gap:14px;
    flex-direction:column;
  }
  body.home-page .nav__links{
    width:100%;
    display:flex;
    overflow-x:auto;
    padding-bottom:4px;
  }
  body.home-page .nav__links a{
    display:inline-flex;
    font-size:12px;
  }
  body.home-page .hero{
    padding-top:120px;
  }
  .studioIntro{ padding-top:70px; }
}

/* =========================
   PORTFOLIO PREPARADO
   ========================= */
.portfolioGrid{
  width:min(1180px, 92vw);
  margin: -34px auto 80px;
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:16px;
}
.portfolioCard{
  position:relative;
  min-height: 360px;
  border-radius: 26px;
  overflow:hidden;
  border:1px solid rgba(176,122,78,.15);
  background:rgba(0,0,0,.24);
  box-shadow:0 22px 80px rgba(0,0,0,.30);
  text-decoration:none;
  color:inherit;
}
.portfolioCard__media{
  height: 172px;
  display:grid;
  place-items:center;
  background:
    radial-gradient(circle at 72% 30%, rgba(176,122,78,.24), transparent 34%),
    linear-gradient(135deg, rgba(255,255,255,.06), rgba(255,255,255,.015));
  border-bottom:1px solid rgba(255,255,255,.06);
  position:relative;
  overflow:hidden;
}
.portfolioCard__media::before{
  content:"";
  position:absolute;
  inset:-30%;
  background:
    linear-gradient(115deg, transparent 0 42%, rgba(176,122,78,.12) 48%, transparent 56% 100%);
  transform:translateX(-20%);
  transition:transform .45s ease;
}
.portfolioCard:hover .portfolioCard__media::before{
  transform:translateX(18%);
}
.portfolioCard__media span{
  position:relative;
  z-index:1;
  color:rgba(255,255,255,.22);
  font-size: clamp(42px, 5vw, 72px);
  line-height:1;
  letter-spacing:-.08em;
  font-weight:900;
}
.portfolioCard__body{
  padding:22px;
}
.portfolioCard__tag{
  margin:0 0 12px;
  color:var(--copper);
  font-size:11px;
  letter-spacing:.20em;
  text-transform:uppercase;
  font-weight:800;
}
.portfolioCard h3{
  margin:0 0 12px;
  color:rgba(255,255,255,.90);
  font-size:clamp(22px, 2vw, 30px);
  line-height:1.05;
  letter-spacing:-.035em;
}
.portfolioCard p:not(.portfolioCard__tag){
  margin:0;
  color:rgba(255,255,255,.58);
  line-height:1.6;
}
.productBox{
  display:grid;
  gap:24px;
  align-self:end;
}
.productBox p{
  margin:0;
  color:rgba(255,255,255,.62);
  font-size:17px;
  line-height:1.7;
}
.productBox .primaryLink{
  width:max-content;
}
@media (max-width: 980px){
  .portfolioGrid{
    grid-template-columns:1fr;
    margin-top:-18px;
  }
}

/* =========================
   PORTFOLIO PAGE / CTA
   ========================= */
.portfolioPreviewCta{
  width:min(1180px, 92vw);
  margin:-48px auto 90px;
  display:flex;
  justify-content:flex-start;
}
.portfolioPage{
  position:relative;
  z-index:1;
  padding:170px 0 100px;
}
.portfolioHero{
  width:min(1180px, 92vw);
  margin:0 auto 42px;
  display:grid;
  grid-template-columns:minmax(0, .9fr) minmax(280px, .7fr);
  gap:70px;
  align-items:end;
  border-top:1px solid rgba(255,255,255,.07);
  padding-top:70px;
}
.portfolioHero h1{
  margin:0;
  color:rgba(255,255,255,.92);
  font-size:clamp(44px, 6vw, 88px);
  line-height:.95;
  letter-spacing:-.065em;
  max-width:850px;
}
.portfolioHero p:not(.sectionKicker){
  margin:0;
  color:rgba(255,255,255,.62);
  font-size:17px;
  line-height:1.75;
}
.portfolioDetailGrid{
  width:min(1180px, 92vw);
  margin:0 auto 70px;
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:16px;
}
.portfolioDetailCard{
  min-height:520px;
  border-radius:26px;
  overflow:hidden;
  border:1px solid rgba(176,122,78,.15);
  background:rgba(0,0,0,.24);
  box-shadow:0 22px 80px rgba(0,0,0,.30);
}
.portfolioDetailCard h2{
  margin:0 0 14px;
  color:rgba(255,255,255,.92);
  font-size:clamp(26px, 2.5vw, 38px);
  line-height:1.02;
  letter-spacing:-.045em;
}
.portfolioDetailCard__note{
  margin-top:18px !important;
  padding-top:18px;
  border-top:1px solid rgba(255,255,255,.07);
  color:rgba(255,255,255,.46) !important;
  font-size:14px;
}
.portfolioEmptyState{
  width:min(1180px, 92vw);
  margin:0 auto;
  padding:42px;
  border-radius:28px;
  border:1px solid rgba(176,122,78,.16);
  background:linear-gradient(135deg, rgba(176,122,78,.10), rgba(255,255,255,.025));
  box-shadow:0 24px 90px rgba(0,0,0,.28);
}
.portfolioEmptyState h2{
  margin:0 0 16px;
  color:rgba(255,255,255,.90);
  font-size:clamp(34px, 4vw, 62px);
  line-height:1;
  letter-spacing:-.055em;
  max-width:850px;
}
.portfolioEmptyState p:not(.sectionKicker){
  margin:0 0 28px;
  color:rgba(255,255,255,.60);
  font-size:17px;
  line-height:1.7;
  max-width:760px;
}
@media (max-width: 980px){
  .portfolioHero,
  .portfolioDetailGrid{
    grid-template-columns:1fr;
  }
  .portfolioPage{
    padding-top:130px;
  }
  .portfolioPreviewCta{
    margin-top:-30px;
  }
}

/* =========================
   PORTFOLIO CASES
   ========================= */
.portfolioCases{
  width:min(1180px, 92vw);
  margin:0 auto 70px;
}
.portfolioCases__head{
  display:grid;
  grid-template-columns:minmax(0,.75fr) minmax(280px,.55fr);
  gap:54px;
  align-items:end;
  margin-bottom:24px;
  padding-top:46px;
  border-top:1px solid rgba(255,255,255,.07);
}
.portfolioCases__head h2{
  margin:0;
  color:rgba(255,255,255,.92);
  font-size:clamp(34px,4vw,62px);
  line-height:1;
  letter-spacing:-.055em;
}
.portfolioCases__head p:not(.sectionKicker){
  margin:0;
  color:rgba(255,255,255,.60);
  font-size:16px;
  line-height:1.7;
}
.caseCard{
  position:relative;
  overflow:hidden;
  display:grid;
  grid-template-columns:minmax(320px,.92fr) minmax(320px,1.08fr);
  gap:0;
  border-radius:30px;
  border:1px solid rgba(176,122,78,.18);
  background:
    radial-gradient(circle at 82% 22%, rgba(176,122,78,.13), transparent 34%),
    rgba(0,0,0,.30);
  box-shadow:0 28px 100px rgba(0,0,0,.34);
}
.caseCard__image{
  min-height:100%;
  display:block;
  overflow:hidden;
  border-right:1px solid rgba(255,255,255,.07);
  background:rgba(255,255,255,.025);
}
.caseCard__image img{
  width:100%;
  height:100%;
  min-height:520px;
  object-fit:cover;
  object-position:left top;
  display:block;
  filter:saturate(.88) contrast(1.02) brightness(.82);
  transform:scale(1.01);
  transition:transform .45s ease, filter .45s ease;
}
.caseCard:hover .caseCard__image img{
  transform:scale(1.045);
  filter:saturate(.95) contrast(1.04) brightness(.92);
}
.caseCard__content{
  padding:36px;
}
.caseCard__content h3{
  margin:0 0 16px;
  color:rgba(255,255,255,.94);
  font-size:clamp(34px,4vw,64px);
  line-height:.96;
  letter-spacing:-.06em;
}
.caseCard__content > p{
  margin:0 0 22px;
  color:rgba(255,255,255,.62);
  font-size:16px;
  line-height:1.75;
}
.caseCard__structure{
  margin:24px 0;
  padding:22px;
  border-radius:22px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.025);
}
.caseCard__structure h4{
  margin:0 0 14px;
  color:rgba(255,255,255,.86);
  font-size:18px;
  letter-spacing:-.02em;
}
.caseCard__structure ul{
  margin:0;
  padding-left:18px;
  display:grid;
  gap:11px;
}
.caseCard__structure li{
  color:rgba(255,255,255,.58);
  line-height:1.55;
}
.caseCard__structure strong,
.caseCard__forWho strong{
  color:rgba(255,255,255,.86);
}
.caseCard__forWho{
  padding-top:20px;
  border-top:1px solid rgba(255,255,255,.07);
}
@media (max-width:980px){
  .portfolioCases__head,
  .caseCard{
    grid-template-columns:1fr;
  }
  .caseCard__image{
    border-right:0;
    border-bottom:1px solid rgba(255,255,255,.07);
  }
  .caseCard__image img{
    min-height:320px;
  }
  .caseCard__content{
    padding:26px;
  }
}

/* =========================
   PASO 6 - Portfolio más compacto y usable
   ========================= */
.portfolioPage{
  padding:118px 0 90px;
}
.portfolioHero{
  margin:0 auto 36px;
  padding-top:34px;
  grid-template-columns:minmax(0, .95fr) minmax(300px, .8fr);
  gap:44px;
  align-items:end;
}
.portfolioHero h1{
  max-width:760px;
  font-size:clamp(38px, 4.8vw, 68px);
  line-height:.96;
  letter-spacing:-.055em;
}
.portfolioHero p:not(.sectionKicker){
  max-width:56ch;
}
.portfolioCases{
  margin:0 auto 58px;
}
.portfolioCases__head{
  padding-top:30px;
  margin-bottom:18px;
  grid-template-columns:minmax(0,.75fr) minmax(280px,.6fr);
  gap:36px;
}
.portfolioCases__head h2{
  font-size:clamp(30px,3.2vw,48px);
}
.caseCard{
  grid-template-columns:minmax(300px,.92fr) minmax(320px,1.08fr);
}
.caseCard__image img{
  min-height:430px;
}
.caseCard__content{
  padding:28px;
}
.caseCard__content h3{
  font-size:clamp(30px,3.5vw,48px);
}
.caseCard__structure{
  margin:18px 0;
  padding:18px;
}
.caseCard__structure ul{
  gap:8px;
}
.portfolioCategoriesHead{
  width:min(1180px, 92vw);
  margin:0 auto 20px;
  padding-top:36px;
  border-top:1px solid rgba(255,255,255,.07);
}
.portfolioCategoriesHead h2{
  margin:0;
  color:rgba(255,255,255,.90);
  font-size:clamp(30px, 3.4vw, 48px);
  line-height:1;
  letter-spacing:-.045em;
  max-width:720px;
}
.portfolioDetailGrid{
  margin:0 auto 58px;
}
.portfolioDetailCard{
  min-height:auto;
}
.portfolioDetailCard .portfolioCard__media{
  height:145px;
}
.portfolioDetailCard h2{
  font-size:clamp(24px, 2vw, 31px);
}
.portfolioDetailCard__note{
  display:none;
}
@media (max-width:980px){
  .portfolioPage{ padding-top:120px; }
  .portfolioHero,
  .portfolioCases__head,
  .caseCard{
    grid-template-columns:1fr;
  }
  .caseCard__image img{ min-height:280px; }
}

/* =========================
   PASO 7 - Portfolio usable con scroll y caso WPC acomodado
   ========================= */
body.portfolio-page{
  overflow-y:auto;
  overflow-x:hidden;
  min-height:100%;
}
body.portfolio-page .nav{
  background:linear-gradient(to bottom, rgba(0,0,0,.82), rgba(0,0,0,.22), rgba(0,0,0,0));
}
.portfolioPage--v7{
  width:min(1180px, 92vw);
  margin:0 auto;
  padding:128px 0 90px;
}
.portfolioHero--v7{
  width:100%;
  margin:0 0 42px;
  padding:38px 0 34px;
  display:grid;
  grid-template-columns:minmax(0, .95fr) minmax(340px, .75fr);
  gap:54px;
  align-items:end;
  border-top:1px solid rgba(255,255,255,.08);
  border-bottom:1px solid rgba(255,255,255,.07);
}
.portfolioHero--v7 h1{
  max-width:720px;
  font-size:clamp(42px, 5vw, 76px);
  line-height:.94;
  letter-spacing:-.06em;
}
.portfolioHero--v7 p:not(.sectionKicker){
  max-width:54ch;
  font-size:17px;
  line-height:1.75;
}
.portfolioCases--v7{
  width:100%;
  margin:0 0 58px;
}
.portfolioCases__head--v7{
  display:grid;
  grid-template-columns:minmax(0,.9fr) minmax(320px,.7fr);
  gap:44px;
  align-items:end;
  padding:0;
  margin:0 0 18px;
  border:0;
}
.portfolioCases__head--v7 h2{
  font-size:clamp(34px, 4vw, 58px);
  line-height:.96;
  letter-spacing:-.055em;
}
.portfolioCases__head--v7 p:not(.sectionKicker){
  font-size:16px;
  line-height:1.7;
  max-width:58ch;
}
.caseCard--v7{
  display:grid;
  grid-template-columns:minmax(360px, .9fr) minmax(420px, 1fr);
  min-height:0;
  border-radius:28px;
  overflow:hidden;
  border:1px solid rgba(176,122,78,.20);
  background:
    radial-gradient(circle at 78% 18%, rgba(176,122,78,.16), transparent 34%),
    linear-gradient(135deg, rgba(255,255,255,.035), rgba(0,0,0,.28));
  box-shadow:0 28px 100px rgba(0,0,0,.34);
}
.caseCard__image--v7{
  min-height:0;
  height:auto;
  border-right:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.025);
}
.caseCard__image--v7 img{
  width:100%;
  height:100%;
  min-height:520px;
  object-fit:contain;
  object-position:center center;
  display:block;
  padding:18px;
  background:
    radial-gradient(circle at 50% 28%, rgba(176,122,78,.10), transparent 45%),
    rgba(0,0,0,.34);
  filter:saturate(.94) contrast(1.04) brightness(.9);
}
.caseCard__content--v7{
  padding:30px;
}
.caseCard__content--v7 h3{
  margin:0 0 14px;
  font-size:clamp(30px, 3vw, 46px);
  line-height:.98;
  letter-spacing:-.055em;
}
.caseCard__content--v7 > p{
  margin:0 0 18px;
  font-size:15.5px;
  line-height:1.7;
}
.caseInfoGrid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:12px;
  margin:20px 0;
}
.caseInfoGrid > div{
  padding:16px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.026);
}
.caseInfoGrid h4{
  margin:0 0 8px;
  color:rgba(255,255,255,.88);
  font-size:15px;
  letter-spacing:-.02em;
}
.caseInfoGrid p{
  margin:0;
  color:rgba(255,255,255,.58);
  font-size:14px;
  line-height:1.55;
}
.caseCard__structure--v7{
  margin:18px 0 22px;
  padding:18px;
  border-radius:20px;
}
.caseCard__structure--v7 h4{
  font-size:16px;
}
.caseCard__structure--v7 ul{
  gap:8px;
}
.caseCard__structure--v7 li{
  font-size:14.5px;
  line-height:1.5;
}
.portfolioCategoriesHead--v7{
  width:100%;
  margin:0 0 18px;
  padding-top:34px;
}
.portfolioDetailGrid--v7{
  width:100%;
  margin:0 0 58px;
}
.portfolioDetailGrid--v7 .portfolioDetailCard{
  min-height:0;
}
.portfolioDetailGrid--v7 .portfolioCard__media{
  height:132px;
}
.portfolioEmptyState--v7{
  width:100%;
}
@media (max-width:980px){
  .portfolioPage--v7{
    width:min(720px, 92vw);
    padding-top:112px;
  }
  .portfolioHero--v7,
  .portfolioCases__head--v7,
  .caseCard--v7,
  .caseInfoGrid,
  .portfolioDetailGrid--v7{
    grid-template-columns:1fr;
  }
  .caseCard__image--v7{
    border-right:0;
    border-bottom:1px solid rgba(255,255,255,.08);
  }
  .caseCard__image--v7 img{
    min-height:280px;
    max-height:360px;
  }
}
@media (max-width:640px){
  .portfolioPage--v7{ padding-top:96px; }
  .portfolioHero--v7{ gap:22px; padding-top:28px; }
  .caseCard__content--v7{ padding:22px; }
}


/* =========================
   PASO 9 - Imagen completa en cards de portfolio
   ========================= */
.caseCard--v7:hover .caseCard__image--v7 img{
  transform:none;
  filter:saturate(1) contrast(1.05) brightness(.95);
}
.caseCard__image--v7{
  display:flex;
  align-items:center;
  justify-content:center;
}
@media (max-width:980px){
  .caseCard__image--v7 img{
    min-height:360px;
    max-height:none;
    object-fit:contain;
    padding:14px;
  }
}


/* =========================
   PASO 10 - Navbar reposicionada + PixiJS ambiental en Home
   ========================= */
body.home-page .nav{
  top:72px;
  left:0;
  right:0;
  padding:0 28px;
  min-height:46px;
  background:transparent;
  backdrop-filter:none;
  pointer-events:none;
}
body.home-page .nav__brand,
body.home-page .nav__links{
  pointer-events:auto;
}
body.home-page .nav__brand{
  position:fixed;
  top:90px;
  left:28px;
  font-size:12px;
  letter-spacing:.16em;
}
body.home-page .nav__links{
  position:absolute;
  left:50%;
  top:0;
  transform:translateX(-50%);
  width:min(1120px, 72vw);
  display:flex;
  justify-content:flex-end;
  align-items:center;
  gap:22px;
  padding:12px 16px;
  border-radius:999px;
  border:1px solid rgba(176,122,78,.10);
  background:linear-gradient(90deg, rgba(0,0,0,0), rgba(0,0,0,.18) 35%, rgba(0,0,0,.24));
  box-shadow:0 12px 48px rgba(0,0,0,.22);
}
body.home-page .nav__links a{
  font-size:15px;
  letter-spacing:.035em;
  color:rgba(255,255,255,.64);
  text-shadow:0 0 18px rgba(176,122,78,.14);
}
body.home-page .nav__links a:hover{
  color:rgba(255,255,255,.94);
}
.homePixiBg{
  position:absolute;
  inset:0;
  opacity:.95;
  pointer-events:none;
}
.homePixiBg canvas{
  position:absolute;
  inset:0;
  width:100% !important;
  height:100% !important;
}
body.home-page .bg__vignette{
  background:
    radial-gradient(48% 42% at 50% 45%, rgba(176,122,78,.06), rgba(0,0,0,0) 58%),
    radial-gradient(60% 60% at 50% 45%, rgba(0,0,0,0) 0%, rgba(0,0,0,.62) 65%, rgba(0,0,0,.92) 100%);
}
body.home-page .logoWrap{
  box-shadow:
    0 18px 60px rgba(0,0,0,.65),
    0 0 0 1px rgba(176,122,78,.14),
    0 0 120px rgba(176,122,78,.055);
}
body.home-page .studioIntro,
body.home-page .serviceGrid,
body.home-page .splitSection,
body.home-page .portfolioGrid,
body.home-page .portfolioPreviewCta{
  position:relative;
  z-index:1;
}
@media (max-width: 980px){
  body.home-page .nav{
    top:18px;
    padding:0 18px;
    pointer-events:auto;
  }
  body.home-page .nav__brand{
    position:static;
  }
  body.home-page .nav__links{
    position:static;
    transform:none;
    width:100%;
    justify-content:flex-start;
    overflow-x:auto;
    gap:16px;
    margin-top:10px;
  }
  body.home-page .nav__links a{
    font-size:13px;
  }
}

/* =========================
   PASO 11 - Fix visibilidad PixiJS/Home FX
   ========================= */
body.home-page .bg{
  z-index:0;
  pointer-events:none;
}
body.home-page main{
  position:relative;
  z-index:1;
}
body.home-page .nav{
  z-index:10;
}
body.home-page .intro{
  z-index:30;
}
body.home-page .homePixiBg{
  position:absolute;
  inset:0;
  z-index:2;
  opacity:1;
  pointer-events:none;
  mix-blend-mode:screen;
}
body.home-page .bg__vignette{
  z-index:1;
}
body.home-page .bg__grain{
  z-index:3;
}
body.home-page .homePixiBg canvas{
  display:block;
  opacity:1;
  filter:drop-shadow(0 0 10px rgba(176,122,78,.18));
}
body.home-page .hero,
body.home-page .studioIntro,
body.home-page .serviceGrid,
body.home-page .splitSection,
body.home-page .portfolioGrid,
body.home-page .portfolioPreviewCta{
  position:relative;
  z-index:2;
}


/* =========================
   PASO 12 - Navbar centrada + FX home más premium
   ========================= */
body.home-page .nav{
  top:76px;
  left:0;
  right:0;
  padding:0;
  min-height:56px;
  background:transparent;
  backdrop-filter:none;
}
body.home-page .nav__brand{
  top:100px;
  left:28px;
  font-size:12px;
  letter-spacing:.18em;
  opacity:.86;
}
body.home-page .nav__links{
  left:50%;
  top:0;
  transform:translateX(-50%);
  width:max-content;
  max-width:calc(100vw - 340px);
  min-width:min(760px, 58vw);
  justify-content:center;
  gap:24px;
  padding:15px 26px;
  border-radius:999px;
  border:1px solid rgba(176,122,78,.16);
  background:
    linear-gradient(90deg, rgba(0,0,0,.20), rgba(12,10,8,.44), rgba(0,0,0,.20)),
    radial-gradient(120% 160% at 50% 0%, rgba(176,122,78,.12), rgba(0,0,0,0) 58%);
  box-shadow:
    0 22px 80px rgba(0,0,0,.34),
    inset 0 1px 0 rgba(255,255,255,.035),
    inset 0 -1px 0 rgba(176,122,78,.08);
  backdrop-filter:blur(12px);
}
body.home-page .nav__links::before{
  content:"";
  position:absolute;
  inset:-1px;
  border-radius:inherit;
  background:linear-gradient(90deg, rgba(176,122,78,0), rgba(176,122,78,.22), rgba(176,122,78,0));
  opacity:.45;
  pointer-events:none;
  mask:linear-gradient(#000,#000) content-box, linear-gradient(#000,#000);
  -webkit-mask:linear-gradient(#000,#000) content-box, linear-gradient(#000,#000);
  padding:1px;
  -webkit-mask-composite:xor;
  mask-composite:exclude;
}
body.home-page .nav__links a{
  font-size:16px;
  font-weight:600;
  letter-spacing:.025em;
  color:rgba(255,255,255,.70);
}
body.home-page .nav__links a:hover{
  color:rgba(255,255,255,.98);
  text-shadow:0 0 22px rgba(176,122,78,.34);
}
body.home-page .homePixiBg{
  opacity:1;
  mix-blend-mode:screen;
}
body.home-page .homePixiBg canvas{
  filter:drop-shadow(0 0 14px rgba(176,122,78,.20));
}
body.home-page .bg__vignette{
  background:
    radial-gradient(46% 42% at 50% 46%, rgba(176,122,78,.055), rgba(0,0,0,0) 58%),
    radial-gradient(54% 52% at 50% 50%, rgba(0,0,0,0) 0%, rgba(0,0,0,.54) 64%, rgba(0,0,0,.93) 100%);
}

@media (max-width: 1180px){
  body.home-page .nav__links{
    min-width:auto;
    max-width:calc(100vw - 260px);
    gap:18px;
    padding:14px 20px;
  }
  body.home-page .nav__links a{font-size:14px;}
}
@media (max-width: 980px){
  body.home-page .nav{
    top:18px;
    padding:0 18px;
  }
  body.home-page .nav__brand{
    position:static;
  }
  body.home-page .nav__links{
    position:static;
    transform:none;
    width:100%;
    max-width:100%;
    justify-content:flex-start;
    overflow-x:auto;
    gap:16px;
    margin-top:10px;
  }
  body.home-page .nav__links a{font-size:13px;}
}


/* =========================
   PASO 13 - Navegación por páginas + páginas Servicios/Herramientas
   ========================= */
body.content-page{
  overflow:auto !important;
}
body.content-page .nav{
  z-index:10;
}
body.content-page .nav__links a[aria-current="page"],
body.portfolio-page .nav__links a[aria-current="page"]{
  color:rgba(255,255,255,.96);
  text-shadow:0 0 18px rgba(176,122,78,.28);
}
.contentPage{
  position:relative;
  z-index:1;
  width:min(1180px, calc(100% - 52px));
  margin:0 auto;
  padding:150px 0 80px;
}
.contentHero{
  min-height:360px;
  display:grid;
  grid-template-columns:minmax(0, 1.05fr) minmax(280px, .8fr);
  gap:90px;
  align-items:end;
  border-top:1px solid rgba(255,255,255,.08);
  border-bottom:1px solid rgba(255,255,255,.08);
  padding:72px 0 56px;
}
.contentHero h1{
  margin:18px 0 0;
  max-width:760px;
  color:var(--txt);
  font-size:clamp(44px, 6vw, 86px);
  line-height:.92;
  letter-spacing:-.06em;
}
.contentHero > p{
  color:var(--muted);
  font-size:17px;
  line-height:1.8;
  max-width:520px;
  margin:0;
}
.serviceDetailGrid,
.toolsGrid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:18px;
  margin-top:34px;
}
.serviceDetailCard,
.toolCard,
.contentBand{
  position:relative;
  overflow:hidden;
  border:1px solid rgba(176,122,78,.16);
  background:linear-gradient(145deg, rgba(255,255,255,.045), rgba(255,255,255,.015));
  border-radius:26px;
  padding:28px;
  box-shadow:0 30px 90px rgba(0,0,0,.30);
}
.serviceDetailCard::before,
.toolCard::before,
.contentBand::before{
  content:"";
  position:absolute;
  inset:0;
  background:radial-gradient(500px circle at var(--mx,50%) var(--my,50%), rgba(176,122,78,.13), transparent 44%);
  opacity:.85;
  pointer-events:none;
}
.serviceDetailCard > *,
.toolCard > *,
.contentBand > *{
  position:relative;
  z-index:1;
}
.serviceDetailCard span{
  display:inline-flex;
  color:var(--accent);
  font-size:12px;
  font-weight:800;
  letter-spacing:.18em;
  margin-bottom:40px;
}
.serviceDetailCard h2,
.toolCard h2,
.contentBand h2{
  margin:0 0 14px;
  color:var(--txt);
  font-size:clamp(28px, 3vw, 48px);
  line-height:.96;
  letter-spacing:-.05em;
}
.serviceDetailCard p,
.toolCard p,
.contentBand p{
  color:var(--muted);
  line-height:1.7;
}
.serviceDetailCard ul{
  display:grid;
  gap:8px;
  margin:20px 0 0;
  padding-left:18px;
  color:rgba(255,255,255,.72);
}
.contentBand{
  margin-top:34px;
}
.processGrid{
  display:grid;
  grid-template-columns:repeat(4, minmax(0,1fr));
  gap:14px;
  margin:26px 0;
}
.processGrid div{
  border:1px solid rgba(255,255,255,.08);
  border-radius:18px;
  padding:18px;
  background:rgba(0,0,0,.18);
}
.processGrid strong{
  color:var(--txt);
}
.processGrid p{
  margin:8px 0 0;
  font-size:14px;
}
.toolCard--active{
  background:
    radial-gradient(560px circle at 20% 10%, rgba(176,122,78,.18), transparent 52%),
    linear-gradient(145deg, rgba(255,255,255,.06), rgba(255,255,255,.018));
}
@media (max-width: 900px){
  .contentPage{width:min(100% - 32px, 680px); padding-top:120px;}
  .contentHero{grid-template-columns:1fr; gap:28px; min-height:auto; padding:58px 0 38px;}
  .serviceDetailGrid,.toolsGrid,.processGrid{grid-template-columns:1fr;}
}

/* =========================
   PASO 14 - Navbar uniforme arriba a la derecha
   ========================= */
.nav,
body.home-page .nav,
body.content-page .nav,
body.portfolio-page .nav{
  position:fixed;
  top:0;
  left:0;
  right:0;
  min-height:72px;
  padding:22px 28px 18px;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  z-index:20;
  background:linear-gradient(to bottom, rgba(0,0,0,.58), rgba(0,0,0,.12), rgba(0,0,0,0));
  backdrop-filter:none;
  pointer-events:auto;
}

.nav__brand,
body.home-page .nav__brand,
body.content-page .nav__brand,
body.portfolio-page .nav__brand{
  position:static;
  top:auto;
  left:auto;
  display:inline-flex;
  align-items:center;
  min-height:28px;
  color:rgba(255,255,255,.84);
  font-size:13px;
  font-weight:700;
  letter-spacing:.15em;
  text-transform:uppercase;
  text-decoration:none;
  opacity:.92;
  pointer-events:auto;
}

.nav__links,
body.home-page .nav__links,
body.content-page .nav__links,
body.portfolio-page .nav__links{
  position:static;
  top:auto;
  left:auto;
  transform:none;
  width:auto;
  min-width:0;
  max-width:none;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:22px;
  padding:0;
  margin:0;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  backdrop-filter:none;
  overflow:visible;
  pointer-events:auto;
}

.nav__links::before,
body.home-page .nav__links::before{
  content:none;
}

.nav__links a,
body.home-page .nav__links a,
body.content-page .nav__links a,
body.portfolio-page .nav__links a{
  position:relative;
  color:rgba(255,255,255,.62);
  font-size:15px;
  font-weight:650;
  line-height:1;
  letter-spacing:.025em;
  text-decoration:none;
  white-space:nowrap;
  transition:color .22s ease, text-shadow .22s ease;
}

.nav__links a::after,
body.home-page .nav__links a::after,
body.content-page .nav__links a::after,
body.portfolio-page .nav__links a::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:-9px;
  height:1px;
  background:linear-gradient(90deg, rgba(176,122,78,0), rgba(176,122,78,.75), rgba(176,122,78,0));
  opacity:0;
  transform:scaleX(.45);
  transition:opacity .22s ease, transform .22s ease;
}

.nav__links a:hover,
body.home-page .nav__links a:hover,
body.content-page .nav__links a:hover,
body.portfolio-page .nav__links a:hover,
.nav__links a[aria-current="page"]{
  color:rgba(255,255,255,.96);
  text-shadow:0 0 18px rgba(176,122,78,.30);
}

.nav__links a:hover::after,
.nav__links a[aria-current="page"]::after{
  opacity:1;
  transform:scaleX(1);
}

/* Compensa la navbar fija en Home sin mover el diseño central */
body.home-page .hero{
  padding-top:72px;
}

@media (max-width:980px){
  .nav,
  body.home-page .nav,
  body.content-page .nav,
  body.portfolio-page .nav{
    padding:18px 18px 12px;
    min-height:76px;
    align-items:flex-start;
    gap:16px;
  }
  .nav__brand,
  body.home-page .nav__brand{
    font-size:12px;
  }
  .nav__links,
  body.home-page .nav__links,
  body.content-page .nav__links,
  body.portfolio-page .nav__links{
    gap:16px;
    overflow-x:auto;
    max-width:calc(100vw - 190px);
    padding-bottom:12px;
  }
  .nav__links a,
  body.home-page .nav__links a{
    font-size:13px;
  }
}

@media (max-width:720px){
  .nav,
  body.home-page .nav,
  body.content-page .nav,
  body.portfolio-page .nav{
    flex-direction:column;
    min-height:104px;
  }
  .nav__links,
  body.home-page .nav__links,
  body.content-page .nav__links,
  body.portfolio-page .nav__links{
    width:100%;
    max-width:100%;
    justify-content:flex-start;
  }
  body.home-page .hero{
    padding-top:110px;
  }
}

/* =========================
   PASO 15 - Dirección visual premium: tipografía, escala y alineado
   ========================= */
:root{
  --font-body: "Inter", "Aptos", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-display: "Sora", "Inter", "Aptos Display", "Segoe UI", system-ui, sans-serif;
  --panel: rgba(10, 9, 8, .34);
  --panel-soft: rgba(255,255,255,.026);
  --line-soft: rgba(255,255,255,.075);
  --line-copper: rgba(176,122,78,.24);
}

html{ text-rendering:geometricPrecision; }
body{
  font-family:var(--font-body);
  font-kerning:normal;
}

h1,h2,h3,
.studioIntro h1,
.contentHero h1,
.portfolioHero--v7 h1,
.portfolioCases__head--v7 h2,
.serviceDetailCard h2,
.toolCard h2,
.contentBand h2{
  font-family:var(--font-display);
  font-weight:780;
  letter-spacing:-.035em;
  text-wrap:balance;
}

.sectionKicker{
  margin:0 0 18px;
  display:inline-flex;
  align-items:center;
  gap:12px;
  color:rgba(198,143,92,.92);
  font-size:11px;
  line-height:1;
  letter-spacing:.28em;
  text-transform:uppercase;
  font-weight:800;
}
.sectionKicker::before{
  content:"";
  width:34px;
  height:1px;
  background:linear-gradient(90deg, rgba(176,122,78,.78), rgba(176,122,78,0));
}

.nav__brand,
body.home-page .nav__brand{
  font-family:var(--font-display);
  font-weight:800;
  letter-spacing:.16em;
}
.nav__links a,
body.home-page .nav__links a,
body.content-page .nav__links a,
body.portfolio-page .nav__links a{
  font-family:var(--font-display);
  font-size:14.5px;
  font-weight:720;
  letter-spacing:.018em;
}

/* Home: bloque comercial más elegante */
.studioIntro{
  width:min(1240px, calc(100% - 72px));
  min-height:72vh;
  grid-template-columns:minmax(0, .88fr) minmax(360px, .82fr);
  gap:70px;
  padding:108px 0 76px;
}
.studioIntro__copy{
  padding:34px 0 34px 34px;
  border-left:1px solid var(--line-copper);
}
.studioIntro h1{
  max-width:680px;
  font-size:clamp(38px, 4.7vw, 66px);
  line-height:1.03;
  color:rgba(255,255,255,.94);
  text-shadow:0 28px 90px rgba(0,0,0,.55);
}
.studioIntro p:not(.sectionKicker){
  max-width:62ch;
  margin-top:24px;
  color:rgba(255,255,255,.66);
  font-size:clamp(15.5px, 1.15vw, 17.5px);
  line-height:1.82;
}
.pixiStage{
  border-color:rgba(176,122,78,.19);
  background:
    radial-gradient(circle at 70% 30%, rgba(176,122,78,.18), transparent 42%),
    linear-gradient(145deg, rgba(255,255,255,.035), rgba(0,0,0,.22));
  box-shadow:0 34px 120px rgba(0,0,0,.36), inset 0 1px 0 rgba(255,255,255,.035);
}

/* Páginas internas: hero compacto, editorial y profesional */
.contentPage,
.portfolioPage--v7{
  width:min(1160px, calc(100% - 72px));
  padding-top:142px;
}

.contentHero,
.portfolioHero--v7{
  min-height:auto;
  display:grid;
  grid-template-columns:minmax(0, .95fr) minmax(320px, .72fr);
  gap:76px;
  align-items:center;
  padding:54px 0 48px;
  border-top:1px solid var(--line-soft);
  border-bottom:1px solid var(--line-soft);
  position:relative;
}
.contentHero::before,
.portfolioHero--v7::before{
  content:"";
  position:absolute;
  inset:18px -32px;
  z-index:-1;
  border-radius:34px;
  background:
    radial-gradient(520px circle at 18% 35%, rgba(176,122,78,.07), transparent 58%),
    linear-gradient(90deg, rgba(255,255,255,.018), rgba(255,255,255,0));
  opacity:.88;
  pointer-events:none;
}
.contentHero > div,
.portfolioHero--v7 > div{
  padding-left:26px;
  border-left:1px solid var(--line-copper);
}
.contentHero h1,
.portfolioHero--v7 h1{
  margin:0;
  max-width:720px;
  color:rgba(255,255,255,.94);
  font-size:clamp(36px, 4.6vw, 64px);
  line-height:1.05;
}
.contentHero > p,
.portfolioHero--v7 p:not(.sectionKicker){
  max-width:520px;
  margin:0;
  color:rgba(255,255,255,.62);
  font-size:16.5px;
  line-height:1.88;
}

/* Portfolio: caso real con jerarquía más limpia */
.portfolioCases__head--v7{
  grid-template-columns:minmax(0,.82fr) minmax(320px,.72fr);
  align-items:center;
  gap:76px;
  padding:8px 0 18px;
}
.portfolioCases__head--v7 > div{
  padding-left:26px;
  border-left:1px solid var(--line-copper);
}
.portfolioCases__head--v7 h2{
  font-size:clamp(32px, 3.5vw, 52px);
  line-height:1.04;
  max-width:560px;
}
.portfolioCases__head--v7 p:not(.sectionKicker){
  font-size:16px;
  line-height:1.82;
  color:rgba(255,255,255,.62);
}
.caseCard--v7{
  border-radius:30px;
  border:1px solid rgba(176,122,78,.18);
  background:
    radial-gradient(620px circle at 78% 12%, rgba(176,122,78,.12), transparent 44%),
    linear-gradient(135deg, rgba(255,255,255,.035), rgba(0,0,0,.34));
}
.caseCard__content--v7 h3{
  font-size:clamp(30px, 3.1vw, 44px);
  line-height:1.04;
  letter-spacing:-.035em;
}
.caseCard__content--v7 > p,
.caseInfoGrid p,
.caseCard__structure--v7 li{
  color:rgba(255,255,255,.64);
  line-height:1.75;
}

/* Cards: menos pesadas, más exclusivas */
.serviceDetailGrid,
.toolsGrid,
.portfolioDetailGrid--v7{
  gap:20px;
  margin-top:42px;
}
.serviceDetailCard,
.toolCard,
.contentBand,
.portfolioDetailCard,
.portfolioEmptyState--v7{
  border-radius:24px;
  border:1px solid rgba(176,122,78,.14);
  background:
    radial-gradient(420px circle at 18% 0%, rgba(176,122,78,.075), transparent 52%),
    linear-gradient(145deg, rgba(255,255,255,.035), rgba(255,255,255,.012));
  box-shadow:0 26px 85px rgba(0,0,0,.26), inset 0 1px 0 rgba(255,255,255,.026);
}
.serviceDetailCard h2,
.toolCard h2,
.contentBand h2,
.portfolioDetailCard h2,
.portfolioCategoriesHead--v7 h2,
.portfolioEmptyState--v7 h2{
  font-size:clamp(26px, 2.45vw, 38px);
  line-height:1.08;
  letter-spacing:-.032em;
}
.serviceDetailCard p,
.toolCard p,
.contentBand p,
.portfolioDetailCard p{
  font-size:15.5px;
  line-height:1.78;
  color:rgba(255,255,255,.62);
}
.serviceDetailCard span{
  margin-bottom:30px;
  color:rgba(198,143,92,.92);
}

/* Títulos de páginas secundarias más contenidos en resoluciones comunes */
.servicios-page .contentHero h1{ max-width:650px; }
.herramientas-page .contentHero h1{ max-width:620px; }
.portfolio-page .portfolioHero--v7 h1{ max-width:680px; }

/* Responsive */
@media (max-width:980px){
  .studioIntro,
  .contentPage,
  .portfolioPage--v7{
    width:min(100% - 34px, 720px);
  }
  .studioIntro,
  .contentHero,
  .portfolioHero--v7,
  .portfolioCases__head--v7{
    grid-template-columns:1fr;
    gap:28px;
  }
  .studioIntro__copy,
  .contentHero > div,
  .portfolioHero--v7 > div,
  .portfolioCases__head--v7 > div{
    padding-left:18px;
  }
  .studioIntro h1,
  .contentHero h1,
  .portfolioHero--v7 h1{
    font-size:clamp(34px, 9vw, 52px);
  }
  .contentHero > p,
  .portfolioHero--v7 p:not(.sectionKicker){
    max-width:64ch;
  }
}

/* Paso 16: quinta tarjeta de servicios para software/herramientas */
.serviceDetailCard--wide{
  grid-column:1 / -1;
  display:grid;
  grid-template-columns:minmax(0,.9fr) minmax(280px,1.1fr);
  column-gap:54px;
  align-items:start;
  padding:34px 38px;
}
.serviceDetailCard--wide span,
.serviceDetailCard--wide h2{
  grid-column:1;
}
.serviceDetailCard--wide p,
.serviceDetailCard--wide ul{
  grid-column:2;
}
.serviceDetailCard--wide span{ margin-bottom:28px; }
.serviceDetailCard--wide h2{ max-width:520px; }
.serviceDetailCard--wide p{ margin-top:4px; }
.serviceDetailCard--wide ul{ margin-top:18px; }

@media (max-width:980px){
  .serviceDetailCard--wide{
    grid-template-columns:1fr;
    padding:28px;
  }
  .serviceDetailCard--wide span,
  .serviceDetailCard--wide h2,
  .serviceDetailCard--wide p,
  .serviceDetailCard--wide ul{
    grid-column:1;
  }
}

/* Catálogo ViktorStudios — actualización 2026 */
.catalogIntro{font-size:1rem;line-height:1.8;max-width:760px;margin:24px 0 36px;color:var(--muted,#b9b9b9)}
.catalogCases{display:grid;gap:32px;margin-top:36px}.catalogCases .caseCard{display:grid;grid-template-columns:1fr 1fr}.catalogImage{padding:24px;align-self:center}.catalogImage img{display:block;width:100%;max-height:340px;object-fit:contain;border-radius:16px}.catalogImage p{font-size:.875rem;color:#b9b9b9}.capturePending{min-height:240px;display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px solid #6d5030;border-radius:16px;font-size:2rem;color:#d0a36a}.capturePending span{font-size:.875rem;margin-top:12px;color:#bbb}.releaseNotes{margin-top:24px;border-top:1px solid #493726;padding-top:16px}.releaseNotes summary{cursor:pointer;font-size:1rem}.releaseNotes p{font-size:.9375rem;line-height:1.7}.toolCard .primaryLink{margin-top:16px}.catalogCases h2{font-size:2rem}.nav__links a{display:inline-block!important}.nav__links{flex-wrap:wrap!important;gap:16px!important}
@media(max-width:720px){.catalogCases .caseCard{grid-template-columns:1fr}.nav{flex-wrap:wrap!important;height:auto!important;gap:16px;padding:18px!important}.nav__links{justify-content:flex-start!important;white-space:normal!important}.contentPage{padding-top:150px}.catalogImage{padding:16px}}

/* Títulos: fuente tecnológica y composición centrada */
@font-face{font-family:Oxanium;src:url('../assets/fonts/oxanium-regular.ttf') format('truetype');font-style:normal;font-weight:400;font-display:swap}
body .contentHero,body .portfolioHero--v7{display:flex;flex-direction:column;align-items:center;gap:24px;text-align:center;padding:48px 0;min-height:0}
body .contentHero>div,body .portfolioHero--v7>div{width:100%;padding-left:0;border-left:0}
body .contentHero h1,body .portfolioHero--v7 h1,body .studioIntro h1{font-family:Oxanium,'Bahnschrift',sans-serif;font-weight:400;font-size:clamp(2rem,3.4vw,3.25rem);line-height:1.22;letter-spacing:-.025em;max-width:100%!important;margin:0 auto;text-align:center;text-wrap:balance}
body .contentHero>p,body .portfolioHero--v7>p{max-width:760px;margin:0 auto;text-align:center}
body .contentHero .sectionKicker,body .portfolioHero--v7 .sectionKicker{margin:0 0 20px}
body .studioIntro{grid-template-columns:1fr;gap:32px}
body .studioIntro__copy{text-align:center;width:100%;max-width:none}
body .studioIntro__copy>p{margin-left:auto;margin-right:auto;max-width:760px}
body .studioIntro__actions{justify-content:center}
body .studioIntro .pixiStage{max-width:100%;width:100%}
@media(max-width:720px){body .contentHero,body .portfolioHero--v7{padding:32px 0;gap:20px}body .contentHero h1,body .portfolioHero--v7 h1,body .studioIntro h1{font-size:clamp(1.75rem,6.2vw,2.5rem);letter-spacing:-.015em;line-height:1.25}}

/* Oxanium en todos los títulos; se conserva la tipografía del cuerpo y la distribución. */
body h1,body h2,body h3,body h4,body h5,body h6,
body .contactHero__title,body .contactPanel__title,body .contactSection__title,
body .portfolioCard__media>span,body .capturePending{
  font-family:Oxanium,'Bahnschrift',sans-serif!important;
  font-weight:400!important;
  letter-spacing:-.015em;
  line-height:1.25;
  text-wrap:balance;
  overflow-wrap:break-word;
}
body .capturePending>span{font-family:var(--font-body);font-weight:400;letter-spacing:normal}

/* Centrar únicamente la descripción bajo el título de Inicio. */
body.home-page .studioIntro .studioIntro__copy > p:not(.sectionKicker){
  margin-left:auto;
  margin-right:auto;
  text-align:center;
}

/* Datos de contacto completos, sin truncar emails ni números. */
.contactCard__meta{min-width:0}
.contactCard__desc{white-space:normal;overflow-wrap:anywhere;text-overflow:clip}

/* Muestras visuales: conservar el espacio de las tarjetas y mostrar la captura completa. */
.portfolioCard__media--sample { background: #171818; }
.portfolioCard__media--sample::before { content: none; }
.portfolioCard__media--sample img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Catálogo ampliable y visor de juegos */
.gameCatalog { display:grid; grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr)); gap:24px; }
.gameTile { display:block; width:100%; max-width:340px; align-self:start; padding:0; text-align:left; cursor:pointer; color:inherit; font:inherit; border:1px solid rgba(176,122,78,.3); border-radius:24px; overflow:hidden; background:rgba(20,15,12,.7); transition:transform .2s,border-color .2s; }
.gameTile:hover { transform:translateY(-4px); border-color:var(--copper); }
.gameTile:focus-visible { outline:2px solid var(--copper); outline-offset:4px; }
.gameTile>img { display:block; width:100%; height:auto; aspect-ratio:16/9; object-fit:contain; background:#090909; }
.gameTile__body { display:grid; gap:12px; padding:24px; }
.gameTile__body h2,.gameTile__body .portfolioCard__tag { margin:0; }
.gameTile__body>span:not(.portfolioCard__tag) { color:rgba(255,255,255,.65); }
.gameTile__body strong { color:var(--copper); }
.gameViewer { width:min(1400px,96vw); max-width:none; height:92dvh; max-height:96dvh; padding:0; border:1px solid rgba(176,122,78,.4); border-radius:22px; background:#090909; color:#eee; overflow:hidden; }
.gameViewer::backdrop { background:rgba(0,0,0,.88); backdrop-filter:blur(8px); }
.gameViewer[open] { display:flex; flex-direction:column; }
.gameViewer__bar { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:14px 20px; border-bottom:1px solid rgba(176,122,78,.25); }
.gameViewer__bar h2 { font-size:1.25rem; margin:0; }
.gameViewer__bar>div { display:flex; flex-wrap:wrap; gap:8px; }
.gameViewer button { cursor:pointer; }
.gameViewer__stage { flex:1; min-height:0; overflow:auto; }
.gameViewer__stage iframe { display:block; width:100%; height:100%; border:0; background:#090909; }
.gameLaunch { min-height:100%; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; gap:18px; padding:28px; background:radial-gradient(ellipse at center,rgba(176,122,78,.16),transparent 70%); }
.gameLaunch[hidden] { display:none; }
.gameLaunch img { display:block; width:min(600px,100%); height:auto; aspect-ratio:16/9; object-fit:contain; border-radius:18px; border:1px solid rgba(176,122,78,.25); }
.gameLaunch h3 { font-size:2rem; margin:0; }
.gameLaunch p { max-width:620px; margin:0; color:#aaa; }
.gameViewer:fullscreen,.gameViewer--expanded { width:100vw; height:100dvh; max-height:100dvh; border-radius:0; }
@media(max-width:600px) { .gameViewer__bar { align-items:flex-start; flex-direction:column; padding:10px; } .gameViewer__bar .ghostLink { font-size:.75rem; padding:8px 12px; } .gameLaunch { padding:16px; } }

/* Libros: portada completa y presentación editorial. */
.bookCatalog { display:grid; gap:32px; margin-top:36px; }
.bookFeature { display:grid; grid-template-columns:minmax(220px,320px) minmax(0,1fr); gap:clamp(24px,5vw,64px); align-items:center; padding:clamp(20px,4vw,48px); border:1px solid rgba(176,122,78,.25); border-radius:26px; background:linear-gradient(135deg,rgba(176,122,78,.08),rgba(0,0,0,.4)); }
.bookCover { display:block; border-radius:12px; overflow:hidden; box-shadow:0 20px 50px rgba(0,0,0,.5); }
.bookCover img { display:block; width:100%; height:auto; object-fit:contain; }
.bookFeature__content h2 { font-size:clamp(2.25rem,4vw,3.5rem); margin:0 0 16px; }
.bookFeature__content p { line-height:1.8; color:#bcbcbc; }
.bookFeature__content .bookTagline { color:var(--copper); font-size:1.2rem; }
.bookFeature__content .primaryLink { margin-top:20px; }
@media(max-width:700px) { .bookFeature { grid-template-columns:1fr; } .bookCover { width:min(280px,100%); margin-inline:auto; } }
