/* ═══════════════════════════════════════════════════════════
   Shield Solutions — sistema de diseño (de Claude Design)
   Solo blanco y negro. Fotos de proyectos EN COLOR.
   ═══════════════════════════════════════════════════════════ */

:root {
  --bg: #FAFAF9;
  --ink: #0F0F0F;
  --white: #FFFFFF;
  --meta-light: #8A8A8A;
  --meta-dark: #A0A0A0;
  --num-light: #B8B6B2;
  --num-big-light: #D8D6D2;
  --num-dark: #3A3A3A;
  --line-light: #E4E2DE;
  --line-dark: #2A2A2A;
  --grey-body: #55534F;
  --grey-nav: #C9C9C9;
  --grey-dim: #6E6E6E;
  --ease: cubic-bezier(0.22, 0.61, 0.2, 1);
  --pad-x: 64px;
}

html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { display: block; }
h1, h2, h3, p { margin: 0; }

.sg { font-family: 'Space Grotesk', sans-serif; }

/* Etiquetas / metadatos en mayúsculas pequeñas */
.label {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--meta-light);
}

@keyframes rvl { from { transform: translateY(112%); } to { transform: translateY(0); } }
@keyframes fd  { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; animation-delay: 0ms !important; transition-duration: 0.01ms !important; }
}

/* ══ NAV ══ */
#ss-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 26px var(--pad-x);
  background: transparent;
  transition: background 0.4s ease, padding 0.4s ease, backdrop-filter 0.4s ease;
}
#ss-nav.is-scrolled {
  background: rgba(15, 15, 15, 0.9);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  padding: 16px var(--pad-x);
}
.nav-brand { display: flex; align-items: center; gap: 14px; }
.nav-brand img { height: 38px; width: auto; }
.nav-brand span {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500; font-size: 13px; letter-spacing: 0.28em;
  color: var(--bg); text-transform: uppercase;
}
.nav-links { display: flex; align-items: center; gap: 38px; }
.nav-link {
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--grey-nav); transition: color 0.3s;
}
.nav-link:hover { color: var(--white); }
.nav-link.is-active { color: var(--white); border-bottom: 1px solid var(--white); padding-bottom: 3px; }
.nav-lang { display: flex; align-items: center; gap: 10px; padding-left: 28px; border-left: 1px solid var(--num-dark); }
.nav-lang .on  { font-size: 11px; letter-spacing: 0.12em; color: var(--white); cursor: pointer; }
.nav-lang .off { font-size: 11px; letter-spacing: 0.12em; color: var(--grey-dim); cursor: pointer; transition: color 0.3s; }
.nav-lang .off:hover { color: var(--white); }

/* Botón hamburguesa (solo móvil) */
#ss-menu-btn {
  display: none;
  background: none; border: none; cursor: pointer; padding: 8px;
}
#ss-menu-btn span {
  display: block; width: 26px; height: 1px; background: var(--bg); margin: 7px 0;
}
#ss-menu {
  display: none;
}

/* ══ CABECERA DE PÁGINA ══ */
.page-head {
  position: relative;
  background: var(--ink); color: var(--bg);
  overflow: hidden;
  display: flex; align-items: flex-end;
  min-height: 64vh;
}
.page-head .fx { position: absolute; right: 0; top: 0; width: 46%; height: 70%; pointer-events: none; }
.page-head-inner {
  position: relative; z-index: 2; width: 100%;
  padding: 170px var(--pad-x) 72px var(--pad-x);
  box-sizing: border-box;
}
.page-head .kicker {
  display: flex; align-items: center; gap: 18px; margin-bottom: 36px;
  animation: fd 1s ease 0.35s both;
}
.page-head .kicker .dash { display: inline-block; width: 44px; height: 1px; background: var(--bg); }
.page-head .kicker .txt {
  font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--meta-dark);
}
.page-head h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 400;
  font-size: clamp(72px, 10vw, 160px);
  line-height: 1; letter-spacing: 0.02em; text-transform: uppercase;
}
.page-head h1 .mask { display: block; overflow: hidden; padding-bottom: 0.08em; }
.page-head h1 .line { display: block; animation: rvl 1.05s var(--ease) 0.15s both; }

/* ══ LISTADO DE PROYECTOS ══ */
.projects { background: var(--bg); padding: 150px var(--pad-x) 170px var(--pad-x); }

.project {
  display: grid;
  grid-template-columns: 7fr 4fr;
  gap: 72px;
  align-items: end;
  padding-bottom: 150px;
}
.project:last-child { padding-bottom: 0; }
.project.flip { grid-template-columns: 4fr 7fr; }
.project.flip .p-info { order: 1; }
.project.flip .p-img  { order: 2; }

.p-img { overflow: hidden; }
.p-img img {
  width: 100%; height: 600px; object-fit: cover;
  transition: transform 1.1s var(--ease);
}
.p-img:hover img { transform: scale(1.04); }

.p-num { font-family: 'Space Grotesk', sans-serif; font-weight: 300; font-size: 15px; color: var(--num-light); }
.p-info h2 {
  margin: 14px 0 0 0;
  font-family: 'Space Grotesk', sans-serif; font-weight: 400;
  font-size: clamp(30px, 2.6vw, 42px);
  letter-spacing: -0.015em;
}
.p-tag {
  margin-top: 8px;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--meta-light);
}
.p-ficha { margin-top: 36px; }
.p-row {
  display: flex; justify-content: space-between; gap: 24px;
  padding: 14px 0;
  border-top: 1px solid var(--line-light);
}
.p-row:last-child { border-bottom: 1px solid var(--line-light); }
.p-row .k { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--meta-light); }
.p-row .v { font-size: 14px; }

/* ══ CTA ══ */
.cta {
  position: relative;
  background: var(--ink); color: var(--bg);
  padding: 170px var(--pad-x);
  overflow: hidden;
}
.cta .fx { position: absolute; left: 0; bottom: 0; width: 38%; height: 52%; pointer-events: none; }
.cta-link {
  position: relative; z-index: 2;
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif; font-weight: 400;
  font-size: clamp(44px, 5vw, 84px);
  line-height: 1.1; letter-spacing: -0.03em; color: var(--bg);
}
.cta-link .arrow { display: inline-block; font-weight: 300; transition: transform 0.5s var(--ease); }
.cta-link:hover .arrow { transform: translateX(16px); }

/* ══ FOOTER ══ */
footer {
  position: relative;
  background: var(--ink); color: var(--bg);
  padding: 130px var(--pad-x) 46px var(--pad-x);
  overflow: hidden;
  border-top: 1px solid var(--line-dark);
}
footer .fx { position: absolute; right: 0; top: 0; width: 46%; height: 62%; pointer-events: none; }
.foot-main {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr auto; gap: 80px;
  align-items: start;
  padding-bottom: 110px;
}
.foot-main img { height: 52px; width: auto; }
.foot-claim {
  margin: 44px 0 0 0; max-width: 620px;
  font-family: 'Space Grotesk', sans-serif; font-weight: 300;
  font-size: clamp(28px, 2.6vw, 40px);
  line-height: 1.3; letter-spacing: -0.015em;
  color: var(--meta-dark);
}
.foot-claim strong { color: var(--white); font-weight: 300; }
.foot-links { display: flex; flex-direction: column; gap: 16px; padding-top: 8px; }
.foot-links a {
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--meta-dark); transition: color 0.3s;
}
.foot-links a:hover { color: var(--white); }
.foot-bar {
  position: relative; z-index: 2;
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 28px;
  border-top: 1px solid var(--line-dark);
}
.foot-bar span, .foot-bar a { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--grey-dim); }
.foot-bar a { color: var(--meta-dark); transition: color 0.3s; }
.foot-bar a:hover { color: var(--white); }

/* ══ RESPONSIVE ══ */
@media (max-width: 1024px) {
  :root { --pad-x: 40px; }
  .project, .project.flip { gap: 48px; }
  .p-img img { height: 480px; }
}

@media (max-width: 820px) {
  :root { --pad-x: 24px; }

  .nav-links { display: none; }
  #ss-menu-btn { display: block; }
  #ss-menu {
    display: flex;
    position: fixed; inset: 0; z-index: 40;
    background: var(--ink);
    flex-direction: column; justify-content: center; gap: 28px;
    padding: 0 var(--pad-x);
    transform: translateX(100%);
    transition: transform 0.5s var(--ease);
  }
  #ss-menu.is-open { transform: translateX(0); }
  #ss-menu a {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 32px; font-weight: 400; letter-spacing: 0.04em;
    text-transform: uppercase; color: var(--bg);
  }
  #ss-menu .lang { display: flex; gap: 18px; margin-top: 24px; }
  #ss-menu .lang span { font-size: 13px; letter-spacing: 0.12em; }
  #ss-menu .lang .on { color: var(--white); }
  #ss-menu .lang .off { color: var(--grey-dim); }

  .page-head { min-height: 52vh; }
  .page-head-inner { padding: 140px var(--pad-x) 56px var(--pad-x); }

  .projects { padding: 90px var(--pad-x) 110px var(--pad-x); }
  .project, .project.flip {
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: start;
    padding-bottom: 100px;
  }
  .project.flip .p-info { order: 2; }
  .project.flip .p-img  { order: 1; }
  .p-img img { height: 340px; }

  .cta { padding: 110px var(--pad-x); }

  footer { padding: 90px var(--pad-x) 36px var(--pad-x); }
  .foot-main { grid-template-columns: 1fr; gap: 48px; padding-bottom: 70px; }
  .foot-bar { flex-direction: column; gap: 12px; align-items: flex-start; }
}

/* ═══════════════════════════════════════════════════════════
   INICIO (home) — secciones propias
   ═══════════════════════════════════════════════════════════ */
@keyframes imgIn { from { opacity: 0; transform: scale(1.06); } to { opacity: 1; transform: scale(1); } }

/* ── Hero ── */
.hero {
  position: relative; min-height: 100vh;
  background: var(--ink); color: var(--bg);
  overflow: hidden; display: flex; align-items: flex-end;
}
.hero-bg { position: absolute; inset: 0; animation: imgIn 2.4s var(--ease) both; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.12) brightness(0.48); }
.hero-inner { position: relative; z-index: 2; width: 100%; padding: 140px var(--pad-x) 88px; box-sizing: border-box; }
.hero .kicker { display: flex; align-items: center; gap: 18px; margin-bottom: 40px; animation: fd 1s ease 0.5s both; }
.hero .kicker .dash { display: inline-block; width: 44px; height: 1px; background: var(--bg); }
.hero .kicker .txt { font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--grey-nav); }
.hero h1 { font-family: 'Space Grotesk', sans-serif; font-weight: 400; font-size: clamp(64px, 8.4vw, 148px); line-height: 1.02; letter-spacing: -0.035em; }
.hero h1 .mask { display: block; overflow: hidden; padding-bottom: 0.07em; }
.hero h1 .line { display: block; animation: rvl 1.05s var(--ease) 0.2s both; }
.hero h1 .line.b { animation-delay: 0.34s; }
.hero h1 .dim { color: var(--meta-dark); }
.hero-sub { margin: 48px 0 0; max-width: 420px; font-size: 16px; line-height: 1.7; color: var(--grey-nav); animation: fd 1s ease 0.95s both; }
.hero-sub strong { color: var(--white); font-weight: 400; }

/* ── Cifras ── */
.stats { background: var(--bg); padding: 110px var(--pad-x); border-bottom: 1px solid var(--line-light); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat { padding: 0 44px; border-left: 1px solid var(--line-light); }
.stat:first-child { padding-left: 0; border-left: 0; }
.stat-num { font-family: 'Space Grotesk', sans-serif; font-weight: 300; font-size: clamp(48px, 5vw, 84px); line-height: 1; letter-spacing: -0.03em; }
.stat-num .u { font-size: 0.5em; color: var(--meta-light); }
.stat-lbl { margin-top: 18px; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--meta-light); }

/* ── Bloque de sección con número lateral (intro / cta) ── */
.sec-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: start; }
.sec-head { display: flex; flex-direction: column; gap: 14px; }
.sec-head .n { font-family: 'Space Grotesk', sans-serif; font-weight: 300; font-size: 64px; line-height: 1; color: var(--num-big-light); }
.sec-head .l { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--meta-light); }

.intro { position: relative; background: var(--bg); padding: 180px var(--pad-x) 170px; overflow: hidden; }
.intro .fx { position: absolute; top: 0; right: 0; width: 40%; height: 52%; pointer-events: none; }
.intro-body { max-width: 920px; }
.intro-lead { font-family: 'Space Grotesk', sans-serif; font-weight: 300; font-size: clamp(28px, 2.8vw, 44px); line-height: 1.35; letter-spacing: -0.015em; }
.intro-lead .dim { color: var(--meta-light); }
.intro-p { margin: 44px 0 0; max-width: 640px; font-size: 16px; line-height: 1.8; color: var(--grey-body); }
.link-underline { display: inline-flex; align-items: center; gap: 14px; margin-top: 52px; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink); }
.link-underline .t { border-bottom: 1px solid var(--ink); padding-bottom: 6px; }
.link-underline .arrow { font-family: 'Space Grotesk', sans-serif; font-size: 16px; transition: transform 0.4s var(--ease); }
.link-underline:hover .arrow { transform: translateX(6px); }

/* ── Tres objetivos ── */
.objetivos { margin-top: 110px; }
.objetivos .cap { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--meta-light); margin-bottom: 8px; }
.obj-row { display: grid; grid-template-columns: 48px minmax(180px, 300px) 1fr; gap: 24px; align-items: baseline; padding: 30px 0; border-top: 1px solid var(--line-light); }
.obj-row:last-child { border-bottom: 1px solid var(--line-light); }
.obj-row .on { font-family: 'Space Grotesk', sans-serif; font-weight: 300; font-size: 20px; color: var(--num-light); }
.obj-row .ot { font-family: 'Space Grotesk', sans-serif; font-weight: 400; font-size: 22px; letter-spacing: -0.01em; }
.obj-row .od { font-size: 15px; line-height: 1.7; color: var(--meta-light); }

/* ── Proyectos destacados (oscuro) ── */
.featured { background: var(--ink); color: var(--bg); padding: 150px var(--pad-x) 170px; }
.featured .head { display: flex; justify-content: space-between; align-items: flex-end; padding-bottom: 28px; border-bottom: 1px solid var(--line-dark); margin-bottom: 96px; }
.featured .head .t { display: flex; align-items: baseline; gap: 28px; }
.featured .head .n { font-family: 'Space Grotesk', sans-serif; font-weight: 300; font-size: 64px; line-height: 1; color: var(--num-dark); }
.featured .head h2 { font-family: 'Space Grotesk', sans-serif; font-weight: 400; font-size: clamp(32px, 3.4vw, 54px); letter-spacing: 0.06em; text-transform: uppercase; }
.featured .head .all { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--meta-dark); border-bottom: 1px solid var(--line-dark); padding-bottom: 6px; transition: color 0.3s, border-color 0.3s; white-space: nowrap; }
.featured .head .all:hover { color: var(--white); border-color: var(--white); }
.feat-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 32px; row-gap: 120px; }
.feat img { width: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.feat .cap { display: flex; align-items: baseline; gap: 22px; margin-top: 28px; }
.feat .cap .n { font-family: 'Space Grotesk', sans-serif; font-weight: 300; font-size: 15px; color: var(--num-dark); }
.feat h3 { font-family: 'Space Grotesk', sans-serif; font-weight: 400; font-size: 26px; letter-spacing: -0.01em; }
.feat .meta { margin-top: 10px; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--meta-dark); }
.feat a:hover img { transform: scale(1.04); }
.feat-1 { grid-column: 1 / span 7; } .feat-1 img { height: 560px; }
.feat-2 { grid-column: 9 / span 4; padding-top: 170px; } .feat-2 img { height: 480px; }
.feat-3 { grid-column: 3 / span 6; } .feat-3 img { height: 500px; }

/* ── CTA home (claro) ── */
.home-cta { background: var(--bg); padding: 210px var(--pad-x); border-bottom: 1px solid var(--line-light); }
.home-cta .big { display: inline-block; font-family: 'Space Grotesk', sans-serif; font-weight: 400; font-size: clamp(52px, 6.4vw, 110px); line-height: 1.08; letter-spacing: -0.03em; color: var(--ink); }
.home-cta .big .arrow { font-weight: 300; display: inline-block; transition: transform 0.5s var(--ease); }
.home-cta .big:hover .arrow { transform: translateX(16px); }
.home-cta .cta-p { margin: 44px 0 0; max-width: 380px; font-size: 15px; line-height: 1.7; color: var(--meta-light); }

/* ── Responsive home ── */
@media (max-width: 1024px) {
  .stat { padding: 0 28px; }
  .feat-1 img, .feat-3 img { height: 460px; }
  .feat-2 { padding-top: 90px; }
}
@media (max-width: 820px) {
  .hero-inner { padding: 120px var(--pad-x) 64px; }
  .stats { padding: 72px var(--pad-x); }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 40px 0; }
  .stat, .stat:first-child { padding: 0 24px; border-left: 1px solid var(--line-light); }
  .stat:nth-child(odd) { padding-left: 0; border-left: 0; }
  .intro, .home-cta { padding: 100px var(--pad-x); }
  .sec-grid { grid-template-columns: 1fr; gap: 40px; }
  .objetivos { margin-top: 72px; }
  .obj-row { grid-template-columns: 40px 1fr; row-gap: 8px; }
  .obj-row .od { grid-column: 2; }
  .featured { padding: 90px var(--pad-x); }
  .featured .head { flex-direction: column; align-items: flex-start; gap: 24px; margin-bottom: 56px; }
  .feat-grid { gap: 0; row-gap: 72px; }
  .feat-1, .feat-2, .feat-3 { grid-column: 1 / -1; padding-top: 0; }
  .feat-1 img, .feat-2 img, .feat-3 img { height: 340px; }
}

/* ═══════════════════════════════════════════════════════════
   PÁGINAS INTERIORES (Estudio / Método / Servicios / Contacto)
   ═══════════════════════════════════════════════════════════ */
.sec { position: relative; background: var(--bg); padding: 170px var(--pad-x); overflow: hidden; }
.sec.dark { background: var(--ink); color: var(--bg); }
.sec .fx.tl { position: absolute; right: 0; top: 0; width: 46%; height: 70%; pointer-events: none; }
.sec .fx.bl { position: absolute; left: 0; bottom: 0; width: 40%; height: 60%; pointer-events: none; }

.lead-xl { margin: 0; font-family: 'Space Grotesk', sans-serif; font-weight: 300; font-size: clamp(26px, 2.6vw, 40px); line-height: 1.4; letter-spacing: -0.015em; }
.lead-xl .dim { color: var(--meta-light); }
.sec.dark .lead-xl .dim { color: var(--meta-dark); }
.p-body { margin: 48px 0 0; max-width: 640px; font-size: 16px; line-height: 1.8; color: var(--grey-body); }

.cap-side { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--grey-dim); padding-top: 14px; }
.statement { margin: 0; max-width: 900px; font-family: 'Space Grotesk', sans-serif; font-weight: 300; font-size: clamp(36px, 4vw, 64px); line-height: 1.25; letter-spacing: -0.02em; color: var(--meta-dark); }
.statement strong { color: var(--white); font-weight: 300; }

/* Objetivos grandes (Estudio) */
.obj-lg { display: grid; grid-template-columns: minmax(120px, 200px) minmax(200px, 340px) 1fr; gap: 32px; align-items: start; padding: 56px 0; border-top: 1px solid var(--line-light); }
.obj-lg:last-child { border-bottom: 1px solid var(--line-light); }
.obj-lg .n { font-family: 'Space Grotesk', sans-serif; font-weight: 300; font-size: clamp(64px, 6vw, 104px); line-height: 0.9; color: var(--num-big-light); }
.obj-lg h3 { margin: 0; font-family: 'Space Grotesk', sans-serif; font-weight: 400; font-size: 28px; letter-spacing: -0.01em; padding-top: 10px; }
.obj-lg p { margin: 0; font-size: 15px; line-height: 1.8; color: var(--grey-body); max-width: 460px; padding-top: 14px; }

/* Imagen ambiental full-width */
.ambient { background: var(--bg); padding: 0 var(--pad-x) 170px; }
.ambient .frame { overflow: hidden; }
.ambient img { width: 100%; height: 66vh; object-fit: cover; filter: grayscale(1) contrast(1.12) brightness(0.85); }

/* CTA de cierre interior */
.end-cta { background: var(--bg); padding: 0 var(--pad-x) 170px; }
.end-cta .rule { border-top: 1px solid var(--line-light); padding-top: 90px; }
.end-cta a { display: inline-block; font-family: 'Space Grotesk', sans-serif; font-weight: 400; font-size: clamp(44px, 5vw, 84px); line-height: 1.1; letter-spacing: -0.03em; color: var(--ink); }
.end-cta a .arrow { display: inline-block; font-weight: 300; transition: transform 0.5s var(--ease); }
.end-cta a:hover .arrow { transform: translateX(16px); }

/* Título de sección (número + título en mayúsculas) */
.sec-title { display: flex; align-items: baseline; gap: 28px; padding-bottom: 28px; border-bottom: 1px solid var(--line-light); margin-bottom: 90px; }
.sec.dark .sec-title { border-color: var(--line-dark); }
.sec-title .n { font-family: 'Space Grotesk', sans-serif; font-weight: 300; font-size: 64px; line-height: 1; color: var(--num-big-light); }
.sec.dark .sec-title .n { color: var(--num-dark); }
.sec-title h2 { margin: 0; font-family: 'Space Grotesk', sans-serif; font-weight: 400; font-size: clamp(32px, 3.4vw, 54px); letter-spacing: 0.06em; text-transform: uppercase; }

/* Lista con marcador (desafíos / cómo) */
.list-row { display: grid; grid-template-columns: 48px 1fr; gap: 24px; align-items: baseline; padding: 26px 0; border-top: 1px solid var(--line-light); }
.list-row:last-child { border-bottom: 1px solid var(--line-light); }
.list-row .m { font-family: 'Space Grotesk', sans-serif; font-weight: 300; font-size: 18px; color: var(--num-light); }
.list-row .x { font-family: 'Space Grotesk', sans-serif; font-weight: 400; font-size: 22px; }
.list-row.sm .x { font-family: Inter, sans-serif; font-size: 17px; line-height: 1.7; }

/* Bloque 60/40 */
.split6040 { display: grid; grid-template-columns: 6fr 4fr; gap: 0; }
.split6040 .col-a { padding: 0 72px 0 0; }
.split6040 .col-b { padding: 0 0 0 72px; border-left: 1px solid var(--line-dark); }
.big-pct { font-family: 'Space Grotesk', sans-serif; font-weight: 300; font-size: clamp(120px, 14vw, 240px); line-height: 0.9; letter-spacing: -0.04em; }
.big-pct.dim { color: var(--grey-dim); }
.big-pct .u { font-size: 0.4em; color: var(--grey-dim); }
.big-pct.dim .u { color: #4A4A4A; }
.pct-lbl { margin-top: 34px; font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--white); }
.pct-lbl.dim { color: var(--meta-dark); }
.pct-p { margin: 22px 0 0; max-width: 480px; font-size: 15px; line-height: 1.8; color: var(--meta-dark); }

/* Sub-bloque de sección (Lean: qué es / cómo / resultados) */
.subsec { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: start; padding-bottom: 90px; }
.subsec:last-child { padding-bottom: 0; }
.subsec .side { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--meta-light); padding-top: 12px; }
.subsec .side.pt { padding-top: 26px; }
.subsec .body { max-width: 880px; }

@media (max-width: 820px) {
  .sec { padding: 100px var(--pad-x); }
  .ambient, .end-cta { padding: 0 var(--pad-x) 100px; }
  .end-cta .rule { padding-top: 56px; }
  .ambient img { height: 42vh; }
  .sec-title { margin-bottom: 56px; }
  .obj-lg { grid-template-columns: 1fr; gap: 8px; padding: 40px 0; }
  .obj-lg p { padding-top: 8px; }
  .split6040 { grid-template-columns: 1fr; }
  .split6040 .col-a { padding: 0 0 64px; }
  .split6040 .col-b { padding: 64px 0 0; border-left: 0; border-top: 1px solid var(--line-dark); }
  .subsec { grid-template-columns: 1fr; gap: 20px; padding-bottom: 64px; }
}

/* Overrides de lead / listas sobre fondo oscuro */
.sec.dark .lead-xl { color: var(--bg); }
.lead-xl.muted { color: var(--meta-dark); }
.lead-xl strong { color: var(--white); font-weight: 300; }
.sec.dark .list-row { border-color: var(--line-dark); }
.sec.dark .list-row .m { color: var(--grey-dim); }
.sec.dark .list-row.sm .x { color: var(--grey-nav); }

/* ── Cabecera de Contacto (título en minúsculas) ── */
.page-head.contact { min-height: 58vh; }
.page-head.contact h1 { text-transform: none; font-size: clamp(52px, 6.8vw, 116px); line-height: 1.04; letter-spacing: -0.03em; }

/* ═══════════════════════════════════════════════════════════
   CONTACTO — formulario + datos
   ═══════════════════════════════════════════════════════════ */
.contact-sec { background: var(--bg); padding: 150px var(--pad-x) 170px; }
.contact-grid { display: grid; grid-template-columns: 7fr 4fr; gap: 100px; align-items: start; }
.form-ss { display: flex; flex-direction: column; gap: 56px; }
.field label { display: block; font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--meta-light); margin-bottom: 6px; }
.field input, .field textarea { width: 100%; box-sizing: border-box; background: transparent; border: none; border-bottom: 1px solid var(--num-big-light); padding: 16px 0; font-size: 18px; color: var(--ink); outline: none; border-radius: 0; transition: border-color 0.3s; font-family: Inter, sans-serif; }
.field input::placeholder, .field textarea::placeholder { color: var(--num-big-light); }
.field input:focus, .field textarea:focus { border-bottom-color: var(--ink); }
.field textarea { resize: vertical; }
.btn-submit { display: inline-flex; align-items: center; gap: 16px; background: var(--ink); color: var(--bg); border: 1px solid var(--ink); padding: 22px 52px; font-family: Inter, sans-serif; font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; cursor: pointer; transition: background 0.35s, color 0.35s; }
.btn-submit:hover { background: var(--bg); color: var(--ink); }
.btn-submit .arrow { font-family: 'Space Grotesk', sans-serif; font-size: 15px; }
.contact-data .cap { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--meta-light); padding-bottom: 22px; border-bottom: 1px solid var(--line-light); }
.contact-data .row { padding: 24px 0; border-bottom: 1px solid var(--line-light); }
.contact-data .row .k { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--meta-light); margin-bottom: 8px; }
.contact-data .row .v { font-family: 'Space Grotesk', sans-serif; font-size: 19px; letter-spacing: -0.01em; line-height: 1.5; display: inline-block; }
.contact-data a.v { border-bottom: 1px solid transparent; transition: border-color 0.3s; }
.contact-data a.v:hover { border-bottom-color: var(--ink); }
.contact-data .note { margin: 36px 0 0; font-size: 13px; line-height: 1.8; color: var(--meta-light); }
.sent { padding: 80px 0; }
.sent h2 { font-family: 'Space Grotesk', sans-serif; font-weight: 400; font-size: 40px; letter-spacing: -0.02em; margin: 0; }
.sent p { margin: 24px 0 0; font-size: 16px; line-height: 1.8; color: var(--grey-body); max-width: 480px; }

@media (max-width: 820px) {
  .contact-sec { padding: 100px var(--pad-x); }
  .contact-grid { grid-template-columns: 1fr; gap: 56px; }
  .form-ss { gap: 40px; }
}

/* ═══════════════════════════════════════════════════════════
   MEJORAS Y EFECTOS (v2) — inyectados/potenciados desde main.js
   ═══════════════════════════════════════════════════════════ */

/* ── Focus visible (accesibilidad de teclado) ── */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 2px;
}
.sec.dark a:focus-visible, #ss-nav a:focus-visible, #ss-nav button:focus-visible,
footer a:focus-visible, .page-head a:focus-visible { outline-color: var(--bg); }

/* ── Barra de progreso de scroll ── */
#ss-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0%;
  background: #FAFAF9; z-index: 9997; mix-blend-mode: difference;
  transition: width 0.1s linear;
}

/* ── Grano de película ── */
#ss-grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 39; opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px 160px;
}
@media (prefers-reduced-motion: reduce) { #ss-grain { display: none; } }

/* ── Cursor propio (solo puntero fino) ── */
@media (hover: hover) and (pointer: fine) {
  body.cursor-on, body.cursor-on a, body.cursor-on button,
  body.cursor-on input, body.cursor-on textarea, body.cursor-on [data-mag] { cursor: none; }
  #ss-cursor {
    position: fixed; top: 0; left: 0; width: 7px; height: 7px; border-radius: 50%;
    background: #FAFAF9; pointer-events: none; z-index: 9999;
    transform: translate(-50%, -50%); mix-blend-mode: difference;
    transition: width 0.3s var(--ease), height 0.3s var(--ease), opacity 0.3s;
  }
  #ss-cursor-ring {
    position: fixed; top: 0; left: 0; width: 38px; height: 38px; border-radius: 50%;
    border: 1px solid rgba(250, 250, 249, 0.55); pointer-events: none; z-index: 9998;
    transform: translate(-50%, -50%); mix-blend-mode: difference;
    transition: width 0.35s var(--ease), height 0.35s var(--ease), border-color 0.35s, opacity 0.35s;
  }
  body.cursor-hover #ss-cursor { width: 0; height: 0; }
  body.cursor-hover #ss-cursor-ring { width: 66px; height: 66px; border-color: rgba(250, 250, 249, 0.95); }
}
@media (hover: none) { #ss-cursor, #ss-cursor-ring { display: none; } }
@media (prefers-reduced-motion: reduce) { #ss-cursor, #ss-cursor-ring { display: none; } }

/* ── NAV: dos píldoras de cristal flotantes (logo izq · menú der) ── */
#ss-nav {
  top: 18px; left: 0; right: 0; transform: none; width: auto; border-radius: 0;
  padding: 0 clamp(16px, 3vw, 30px);
  background: transparent; box-shadow: none;
  -webkit-backdrop-filter: none; backdrop-filter: none;
  transition: top 0.5s var(--ease);
}
#ss-nav.is-scrolled { top: 10px; padding: 0 clamp(16px, 3vw, 30px); background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
#ss-nav::before, #ss-nav::after { display: none; }

/* material cristal (compartido por logo, menú y burger) */
.nav-brand, .nav-links, #ss-menu-btn {
  position: relative; z-index: 1; border-radius: 999px;
  background: rgba(15, 15, 15, 0.42);
  -webkit-backdrop-filter: blur(10px) saturate(150%);
  backdrop-filter: blur(10px) saturate(150%);
  box-shadow:
    inset 1.5px 1.5px 0.5px -1px rgba(255, 255, 255, 0.5),
    inset -1px -1px 0.5px -1px rgba(255, 255, 255, 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.09),
    0 12px 40px rgba(0, 0, 0, 0.35);
  transition: padding 0.5s var(--ease), background 0.4s ease;
}
.nav-brand::after, .nav-links::after, #ss-menu-btn::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(115deg, rgba(255,255,255,0.16) 0%, rgba(255,255,255,0.04) 22%, transparent 42%, transparent 68%, rgba(255,255,255,0.08) 100%);
  mix-blend-mode: screen;
}
.nav-brand::before, .nav-links::before, #ss-menu-btn::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(150px circle at var(--nx, 50%) var(--ny, 50%), rgba(255,255,255,0.18), transparent 60%);
  opacity: 0; transition: opacity 0.4s; mix-blend-mode: screen;
}
.nav-brand:hover::before, .nav-links:hover::before, #ss-menu-btn:hover::before { opacity: 1; }
#ss-nav.is-scrolled .nav-brand, #ss-nav.is-scrolled .nav-links { background: rgba(15, 15, 15, 0.5); }

/* píldora del logo */
.nav-brand { display: flex; align-items: center; justify-content: center; gap: 0; padding: 12px 16px; }
.nav-brand span { display: none; }              /* fuera el texto "Shield Solutions" */
.nav-brand img { height: 30px; width: auto; position: relative; z-index: 1; transition: transform 0.6s var(--ease); }
.nav-brand:hover img { transform: rotate(-8deg) scale(1.08); }
#ss-nav.is-scrolled .nav-brand { padding: 9px 14px; }

/* píldora del menú */
.nav-links { gap: 30px; padding: 13px 26px; }
#ss-nav.is-scrolled .nav-links { padding: 10px 24px; }
.nav-link { position: relative; z-index: 1; }
.nav-link::after {
  content: ''; position: absolute; left: 0; bottom: -5px; height: 1px; width: 0;
  background: var(--white); transition: width 0.4s var(--ease);
}
.nav-link:hover::after, .nav-link.is-active::after { width: 100%; }
.nav-link.is-active { border-bottom: 0; padding-bottom: 0; }
.nav-lang { position: relative; z-index: 1; }

/* ── Reveal por líneas para titulares grandes (mask) ── */
.mask-reveal { display: block; overflow: hidden; }
.mask-reveal > span { display: block; transform: translateY(110%); transition: transform 1.05s var(--ease); }
.mask-reveal.vis > span { transform: translateY(0); }

/* ── Kicker: línea que crece ── */
.kicker .dash { transform-origin: left center; }
.page-head .kicker .dash, .hero .kicker .dash { animation: lineGrow 0.9s var(--ease) 0.5s both; }
@keyframes lineGrow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ── Overlay de hover en tarjetas de proyecto (badge flecha) ── */
.feat [data-clip], .project .p-img, .p-img { position: relative; }
.feat [data-clip]::after, .project .p-img::after, .p-img::after {
  content: '→'; position: absolute; right: 20px; bottom: 20px;
  width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%;
  background: rgba(250, 250, 249, 0.94); color: #0F0F0F;
  font-family: 'Space Grotesk', sans-serif; font-size: 20px;
  transform: scale(0) rotate(-25deg); opacity: 0;
  transition: transform 0.5s var(--ease), opacity 0.4s; pointer-events: none; z-index: 3;
}
.feat a:hover [data-clip]::after, .project:hover .p-img::after, .p-img:hover::after {
  transform: scale(1) rotate(0); opacity: 1;
}
.feat [data-clip]::before, .project .p-img::before, .p-img::before {
  content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(15,15,15,0.28));
  opacity: 0; transition: opacity 0.5s var(--ease);
}
.feat a:hover [data-clip]::before, .project:hover .p-img::before, .p-img:hover::before { opacity: 1; }

/* ── Marquee (inyectado en el footer) ── */
.ss-marquee { overflow: hidden; white-space: nowrap; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); padding: 24px 0; margin-bottom: 70px; position: relative; z-index: 2; }
.ss-marquee .track { display: inline-block; will-change: transform; animation: marquee 34s linear infinite; }
.ss-marquee:hover .track { animation-play-state: paused; }
.ss-marquee span { font-family: 'Space Grotesk', sans-serif; font-weight: 300; font-size: clamp(26px, 3.6vw, 52px); letter-spacing: -0.01em; color: var(--num-dark); text-transform: uppercase; padding: 0 30px; }
.ss-marquee span em { color: var(--white); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ss-marquee .track { animation: none; } }

/* ── Magnetic ── */
[data-mag] { will-change: transform; }

/* Imágenes ambientales: revelan a color al hacer hover (sutil, sin romper el B/N) */
.ambient .frame img { transition: transform 1.4s var(--ease), filter 1.2s var(--ease); }
.ambient .frame:hover img { transform: scale(1.03); filter: grayscale(1) contrast(1.15) brightness(0.95); }

/* ── Showcase full-bleed (foto de proyecto a COLOR + ficha de cristal) ── */
.showcase { position: relative; height: 92vh; min-height: 540px; overflow: hidden; background: var(--ink); }
.showcase img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.showcase:hover img { transform: scale(1.04); }
.showcase .scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,15,15,0.45), transparent 45%), linear-gradient(0deg, rgba(15,15,15,0.4), transparent 40%); pointer-events: none; }
.glass-ficha {
  position: absolute; left: clamp(20px, 5vw, 64px); bottom: clamp(20px, 5vw, 64px);
  padding: 30px 34px; border-radius: 24px; max-width: 400px; color: var(--bg); z-index: 2;
  background: rgba(15, 15, 15, 0.30);
  -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%);
  box-shadow: inset 1.5px 1.5px 0.5px -1px rgba(255,255,255,0.5), inset 0 0 0 1px rgba(255,255,255,0.09), 0 22px 55px rgba(0,0,0,0.45);
}
.glass-ficha::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(115deg, rgba(255,255,255,0.14) 0%, transparent 40%, transparent 68%, rgba(255,255,255,0.07) 100%); mix-blend-mode: screen; }
.glass-ficha .idx { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--meta-dark); }
.glass-ficha h3 { font-family: 'Space Grotesk', sans-serif; font-weight: 400; font-size: clamp(24px, 2.6vw, 34px); margin: 10px 0 6px; }
.glass-ficha .m { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--grey-nav); }
.glass-ficha a { display: inline-flex; align-items: center; gap: 10px; margin-top: 20px; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; position: relative; z-index: 1; }
.glass-ficha a .u { border-bottom: 1px solid var(--bg); padding-bottom: 4px; }
.showcase-label { position: absolute; top: clamp(90px, 14vh, 130px); left: clamp(20px, 5vw, 64px); z-index: 2; font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--grey-nav); display: flex; align-items: center; gap: 16px; }
.showcase-label .dash { width: 40px; height: 1px; background: var(--grey-nav); }

/* ── Indicador de scroll en el hero ── */
.scroll-cue { position: absolute; left: clamp(24px, 6vw, 64px); bottom: 30px; z-index: 3; display: flex; align-items: center; gap: 14px; color: var(--grey-nav); font-size: 10px; letter-spacing: 0.26em; text-transform: uppercase; }
.scroll-cue .rail { position: relative; width: 1px; height: 46px; background: rgba(201,201,201,0.25); overflow: hidden; }
.scroll-cue .rail::after { content: ''; position: absolute; left: 0; top: 0; width: 1px; height: 16px; background: var(--bg); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(-16px); } 60%, 100% { transform: translateY(46px); } }
@media (prefers-reduced-motion: reduce) { .scroll-cue .rail::after { animation: none; } }

/* Método teaser (home) */
.mteaser { position: relative; }
.mteaser .lead-xl { max-width: 720px; margin-bottom: 70px; }
.sec.dark .link-underline { color: var(--bg); }
.sec.dark .link-underline .t { border-color: var(--bg); }

/* ═══════════════════════════════════════════════════════════
   HOME v3 — minimal, sin numeración + carrusel coverflow
   ═══════════════════════════════════════════════════════════ */

/* Eyebrow minimal (sustituye a los números grandes de sección) */
.eyebrow { display: inline-flex; align-items: center; gap: 16px; font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--meta-light); margin-bottom: 40px; }
.eyebrow::before { content: ''; width: 38px; height: 1px; background: currentColor; opacity: 0.55; }
.sec.dark .eyebrow { color: var(--meta-dark); }

.block-min { position: relative; z-index: 2; max-width: 1080px; }

/* ── Carrusel coverflow de proyectos (FONDO BLANCO, fotos a color) ── */
.projects-cf { position: relative; background: var(--bg); color: var(--ink); padding: clamp(80px, 12vh, 140px) 0; overflow: hidden; }
.projects-cf .cf-head { padding: 0 var(--pad-x); position: relative; z-index: 2; }
.projects-cf .eyebrow { margin-bottom: 0; }
.projects-cf .cf-h { font-family: 'Space Grotesk', sans-serif; font-weight: 400; font-size: clamp(40px, 7vw, 100px); letter-spacing: -0.03em; margin-top: 16px; line-height: 1; }

.cf-stage { position: relative; z-index: 2; height: clamp(400px, 56vh, 600px); perspective: 1900px; margin: 34px 0 6px; }
.cf-track { position: absolute; inset: 0; transform-style: preserve-3d; }
.cf-slide { position: absolute; left: 50%; top: 50%; width: clamp(230px, 25vw, 340px); transform: translate(-50%, -50%); transform-style: preserve-3d; transition: transform 0.8s var(--ease), opacity 0.7s var(--ease); cursor: pointer; will-change: transform; }
.cf-card { width: 100%; aspect-ratio: 4 / 5; height: auto; overflow: hidden; border-radius: 12px; box-shadow: 0 30px 60px rgba(0,0,0,0.28); background: #000; }
.cf-card img { width: 100%; height: 100%; object-fit: cover; }
.cf-slide.is-active { cursor: default; }
.cf-slide.is-active .cf-card { box-shadow: 0 40px 80px rgba(0,0,0,0.36); }

.cf-caption { position: relative; z-index: 2; text-align: center; padding: 28px var(--pad-x) 0; min-height: 118px; }
.cf-title { font-family: 'Space Grotesk', sans-serif; font-weight: 400; font-size: clamp(24px, 3vw, 38px); letter-spacing: -0.01em; transition: opacity 0.4s var(--ease), filter 0.4s var(--ease); }
.cf-meta { margin-top: 8px; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--meta-light); transition: opacity 0.4s; }
.cf-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink); }
.cf-link .u { border-bottom: 1px solid var(--ink); padding-bottom: 4px; }
.cf-caption.swap .cf-title, .cf-caption.swap .cf-meta { opacity: 0; filter: blur(5px); }

.cf-controls { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; gap: 16px; width: fit-content; margin: 34px auto 0; padding: 8px 14px; border-radius: 999px;
  background: rgba(15,15,15,0.05); -webkit-backdrop-filter: blur(10px) saturate(140%); backdrop-filter: blur(10px) saturate(140%);
  box-shadow: inset 0 0 0 1px rgba(15,15,15,0.1), 0 12px 30px rgba(0,0,0,0.12); }
.cf-controls button { display: grid; place-items: center; width: 38px; height: 38px; border: 0; background: none; color: var(--ink); cursor: pointer; border-radius: 50%; transition: background 0.3s; }
.cf-controls button:hover { background: rgba(15,15,15,0.07); }
.cf-controls button svg { width: 18px; height: 18px; }
.cf-controls button:disabled { opacity: 0.28; cursor: default; }
.cf-dots { display: flex; align-items: center; gap: 8px; }
.cf-dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: rgba(15,15,15,0.22); cursor: pointer; transition: width 0.3s var(--ease), background 0.3s; }
.cf-dot.on { width: 26px; background: var(--ink); }

@media (max-width: 820px) {
  .cf-slide { width: clamp(180px, 62vw, 240px); }
  .cf-stage { height: 58vh; }
}
@media (prefers-reduced-motion: reduce) { .cf-track, .cf-slide { transition: none; } }

/* ── Selector aesthetic (tabs con reveal por líneas) — bajo el hero ── */
.segsec { position: relative; background: var(--bg); padding: clamp(90px, 14vh, 160px) var(--pad-x); text-align: center; overflow: hidden; }
.seg-tabs { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 48px; position: relative; z-index: 2; }
.seg-tab { border: 0; padding: 11px 22px; border-radius: 999px; font-family: Inter, sans-serif; font-size: 13px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink); cursor: pointer; background: rgba(15,15,15,0.07); transition: background 0.3s var(--ease), color 0.3s var(--ease); }
.seg-tab:hover { background: rgba(15,15,15,0.14); }
.seg-tab.active { background: var(--ink); color: var(--bg); }
.seg-stage { position: relative; z-index: 2; display: grid; max-width: 920px; margin: 0 auto; }
.seg-panel { grid-area: 1 / 1; text-align: center; font-family: 'Space Grotesk', sans-serif; font-weight: 400; font-size: clamp(23px, 3.1vw, 44px); line-height: 1.2; letter-spacing: -0.02em; color: var(--ink); pointer-events: none; }
.seg-panel .lnmask { display: block; overflow: hidden; padding-bottom: 0.04em; }
.seg-panel .ln { display: block; transform: translateY(120%); transition: none; }   /* reposo: sin animar (reset instantáneo) */
.seg-panel.active .ln, .seg-panel.out .ln { transition: transform 0.62s var(--ease); }
.seg-panel.active .lnmask:nth-child(2) .ln { transition-delay: 0.06s; }
.seg-panel.active .lnmask:nth-child(3) .ln { transition-delay: 0.12s; }
.seg-panel.active .lnmask:nth-child(4) .ln { transition-delay: 0.18s; }
.seg-panel.active .ln { transform: none; }
.seg-panel.out .ln { transform: translateY(-120%); }
.seg-panel .dim { color: var(--meta-light); }

/* ── Partículas persistentes en esquina (visibles sobre claro Y oscuro) ──
   Se dibujan en blanco y con mix-blend-mode:difference se ven negras sobre
   fondo claro y claras sobre fondo oscuro. Siempre presentes. */
/* Sin mix-blend-mode (era muy caro al animar): partículas negras, visibles
   sobre las secciones claras que dominan el sitio. */
.fx-fixed { position: fixed; top: 0; right: 0; width: min(42vw, 520px); height: min(56vh, 560px); z-index: 3; pointer-events: none; opacity: 1; }
@media (max-width: 820px) { .fx-fixed { width: 70vw; height: 40vh; opacity: 0.85; } }

/* ═══════════════════════════════════════════════════════════
   COMPONENTES DE REDISEÑO INTERIOR
   ═══════════════════════════════════════════════════════════ */

/* ── Feature: imagen + texto alternados ── */
.feature { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; padding: clamp(70px, 11vh, 140px) var(--pad-x); }
.feature.rev .feature-media { order: 2; }
.feature-media { overflow: hidden; border-radius: 4px; }
.feature-media img { width: 100%; height: clamp(380px, 62vh, 640px); object-fit: cover; transition: transform 1.5s var(--ease), filter 1.2s var(--ease); }
.feature-media.bw img { filter: grayscale(1) contrast(1.12) brightness(0.9); }
.feature:hover .feature-media.bw img { filter: grayscale(1) contrast(1.15) brightness(0.98); transform: scale(1.04); }
.feature:hover .feature-media img { transform: scale(1.04); }
.feature-body { max-width: 540px; }
.feature-body h2 { font-family: 'Space Grotesk', sans-serif; font-weight: 400; font-size: clamp(30px, 4vw, 56px); letter-spacing: -0.025em; margin: 20px 0 22px; line-height: 1.05; }
.feature-body p { color: var(--grey-body); }
.feature-body p + p { margin-top: 20px; }
.sec.dark .feature-body p { color: var(--meta-dark); }
@media (max-width: 820px) { .feature { grid-template-columns: 1fr; gap: 32px; } .feature.rev .feature-media { order: 0; } }

/* ── Acordeón interactivo (fases / bloques) ── */
.acc { position: relative; z-index: 1; border-top: 1px solid var(--line-light); }
.sec.dark .acc { border-color: var(--line-dark); }
.acc-item { border-bottom: 1px solid var(--line-light); }
.sec.dark .acc-item { border-bottom-color: var(--line-dark); }
.acc-head { display: grid; grid-template-columns: auto 1fr auto; gap: clamp(18px, 3vw, 40px); align-items: center; padding: clamp(24px, 3.4vh, 40px) 0; cursor: pointer; background: none; border: 0; width: 100%; text-align: left; color: inherit; font-family: inherit; }
.acc-num { font-family: 'Space Grotesk', sans-serif; font-weight: 300; font-size: clamp(18px, 1.8vw, 24px); color: var(--num-light); }
.sec.dark .acc-num { color: var(--grey-dim); }
.acc-title { font-family: 'Space Grotesk', sans-serif; font-weight: 400; font-size: clamp(20px, 2.6vw, 34px); letter-spacing: -0.015em; transition: opacity 0.3s; }
.acc-icon { position: relative; width: 22px; height: 22px; flex: 0 0 auto; }
.acc-icon::before, .acc-icon::after { content: ''; position: absolute; background: currentColor; transition: transform 0.45s var(--ease), opacity 0.3s; }
.acc-icon::before { top: 50%; left: 0; width: 100%; height: 1px; transform: translateY(-50%); }
.acc-icon::after { left: 50%; top: 0; height: 100%; width: 1px; transform: translateX(-50%); }
.acc-item.open .acc-icon::after { transform: translateX(-50%) scaleY(0); }
.acc-head:hover .acc-title { opacity: 0.6; }
.acc-body { overflow: hidden; height: 0; transition: height 0.55s var(--ease); }
.acc-body-inner { padding: 0 0 34px clamp(38px, 6vw, 78px); max-width: 720px; color: var(--grey-body); font-size: clamp(15px, 1.3vw, 17px); line-height: 1.8; }
.sec.dark .acc-body-inner { color: var(--meta-dark); }
.acc-item.open .acc-num, .acc-item.open .acc-title { color: var(--ink); }
.sec.dark .acc-item.open .acc-title { color: var(--white); }

/* ── Galería por proyecto (Proyectos) ── */
.pgallery { display: grid; grid-template-columns: 2fr 1fr; grid-auto-rows: 1fr; gap: 14px; height: clamp(420px, 66vh, 720px); }
.pgallery .g-main { grid-row: 1 / 3; }
.pgallery figure { margin: 0; overflow: hidden; border-radius: 4px; position: relative; }
.pgallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.5s var(--ease); }
.pgallery figure:hover img { transform: scale(1.05); }
@media (max-width: 820px) { .pgallery { grid-template-columns: 1fr 1fr; height: auto; } .pgallery .g-main { grid-row: auto; grid-column: 1 / -1; height: 46vh; } .pgallery figure:not(.g-main) { height: 30vh; } }
.pgallery.duo { grid-template-columns: 1fr 1fr; grid-auto-rows: auto; }
.pgallery.duo .g-main { grid-row: 1; }
.pgallery.duo figure { height: clamp(420px, 66vh, 720px); }
@media (max-width: 820px) { .pgallery.duo figure { height: 40vh; } }

/* ── Caso de proyecto (página Proyectos) ── */
.caso-p { position: relative; z-index: 1; padding: clamp(72px, 11vh, 130px) var(--pad-x); border-top: 1px solid var(--line-light); scroll-margin-top: 100px; }
.caso-p:first-of-type { border-top: 0; }
.caso-head { display: flex; align-items: flex-end; gap: clamp(20px, 3vw, 46px); margin-bottom: clamp(32px, 5vh, 56px); }
.caso-head .p-num { margin-bottom: 0 !important; }
.caso-head h2 { font-family: 'Space Grotesk', sans-serif; font-weight: 400; font-size: clamp(32px, 4.6vw, 66px); letter-spacing: -0.02em; line-height: 0.95; }
.caso-head .p-tag { margin-top: 12px; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--meta-light); }
.caso-facts { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px 24px; margin-top: clamp(30px, 4vh, 44px); }
.caso-facts .f .k { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--meta-light); margin-bottom: 10px; }
.caso-facts .f .v { font-family: 'Space Grotesk', sans-serif; font-weight: 400; font-size: clamp(15px, 1.5vw, 21px); border-top: 1px solid var(--line-light); padding-top: 12px; letter-spacing: -0.01em; }
@media (max-width: 820px) { .caso-facts { grid-template-columns: 1fr 1fr; } .caso-head { flex-direction: column; align-items: flex-start; gap: 8px; } }

/* ── Statbar (cifras) encima de Proyectos, formato editorial ── */
.statbar { position: relative; z-index: 1; background: var(--bg); padding: clamp(90px, 15vh, 170px) var(--pad-x) clamp(80px, 12vh, 140px); }
.statbar-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(30px, 3.5vw, 60px); }
.statbar .s { display: flex; flex-direction: column; align-items: center; text-align: center; }
.statbar .lbl { order: -1; margin: 0 0 20px; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--meta-light); line-height: 1.5; }
.statbar .num { display: flex; align-items: baseline; justify-content: center; gap: 6px; white-space: nowrap; font-family: 'Space Grotesk', sans-serif; font-weight: 300; font-size: clamp(38px, 4.8vw, 68px); letter-spacing: -0.035em; line-height: 0.85; }
.statbar .num .u { font-size: 0.34em; font-weight: 400; color: var(--meta-light); letter-spacing: 0; }
@media (max-width: 820px) {
  .statbar-grid { grid-template-columns: 1fr 1fr; gap: 40px 28px; }
  .statbar .num { font-size: clamp(36px, 9vw, 60px); }
}

/* ── Indicador del carrusel: contador + barra de progreso (adiós puntitos) ── */
.cf-count { font-family: 'Space Grotesk', sans-serif; font-weight: 400; font-size: 15px; letter-spacing: 0.08em; color: var(--ink); min-width: 2.2ch; text-align: center; font-variant-numeric: tabular-nums; }
.cf-progress { width: clamp(110px, 22vw, 240px); height: 2px; background: rgba(15, 15, 15, 0.16); border-radius: 2px; overflow: hidden; }
.cf-progress > span { display: block; height: 100%; width: 16%; background: var(--ink); border-radius: 2px; transition: width 0.7s var(--ease); }
.cf-total { font-family: 'Space Grotesk', sans-serif; font-weight: 400; font-size: 12px; color: var(--meta-light); letter-spacing: 0.08em; font-variant-numeric: tabular-nums; }

/* ── CTA home: desplazado a la derecha, con más aire ── */
.home-cta-min { margin-left: clamp(0px, 16vw, 280px); }
.home-cta-min .eyebrow { display: flex; width: fit-content; margin-bottom: 30px; }  /* propia línea, separada del titular */
.home-cta .big { line-height: 1.12; }
.home-cta .cta-p { margin-top: 40px; }
@media (max-width: 820px) { .home-cta-min { margin-left: 0; } }

/* ═══════════════════════════════════════════════════════════
   RENDIMIENTO
   ═══════════════════════════════════════════════════════════ */
/* No renderizar/pintar secciones fuera de pantalla → scroll mucho más fluido */
.sec, .feature, .ambient, .showcase, .segsec, .statbar, .home-cta {
  content-visibility: auto;
  contain-intrinsic-size: auto 600px;
}
/* Móvil: fuera backdrop-filter (blur en scroll = lag). Cristal → sólido translúcido */
@media (max-width: 860px) {
  .nav-brand, .nav-links, #ss-menu-btn {
    -webkit-backdrop-filter: none; backdrop-filter: none;
    background: rgba(15, 15, 15, 0.92);
  }
  .glass-ficha, .cf-controls { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .glass-ficha { background: rgba(15, 15, 15, 0.74); }
  .fx-fixed { display: none; }              /* en móvil no hace falta la esquina de puntos */
}
img { content-visibility: auto; }

/* ═══════════════════════════════════════════════════════════
   CONTACTO EN OSCURO (fondo negro, partículas blancas)
   ═══════════════════════════════════════════════════════════ */
.contact-sec { background: var(--ink); color: var(--bg); position: relative; overflow: hidden; }
.contact-sec .fx { position: absolute; right: 0; bottom: 0; width: 44%; height: 60%; pointer-events: none; z-index: 0; }
.contact-sec .contact-grid { position: relative; z-index: 1; }
.contact-sec .field label { color: var(--meta-dark); }
.contact-sec .field input, .contact-sec .field textarea { color: var(--bg); border-bottom-color: var(--line-dark); }
.contact-sec .field input::placeholder, .contact-sec .field textarea::placeholder { color: var(--grey-dim); }
.contact-sec .field input:focus, .contact-sec .field textarea:focus { border-bottom-color: var(--bg); }
.contact-sec .btn-submit { background: var(--bg); color: var(--ink); border-color: var(--bg); }
.contact-sec .btn-submit:hover { background: transparent; color: var(--bg); }
.contact-sec .contact-data .cap { color: var(--meta-dark); border-bottom-color: var(--line-dark); }
.contact-sec .contact-data .row { border-bottom-color: var(--line-dark); }
.contact-sec .contact-data .row .k { color: var(--meta-dark); }
.contact-sec .contact-data .row .v { color: var(--bg); }
.contact-sec .contact-data a.v:hover { border-bottom-color: var(--bg); }
.contact-sec .contact-data .note { color: var(--meta-dark); }
.contact-sec .sent h2 { color: var(--bg); }
.contact-sec .sent p { color: var(--meta-dark); }

/* ═══════════════════════════════════════════════════════════
   INTERIORES v2 — coherencia con la home minimal
   Fuera los números decorativos de sección; etiquetas tipo eyebrow.
   (Los números de secuencia real —objetivos, fases, pasos— se quedan.)
   ═══════════════════════════════════════════════════════════ */
.sec-head .n, .sec-title .n { display: none; }
.sec-head .l { display: inline-flex; align-items: center; gap: 14px; font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--meta-light); }
.sec-head .l::before { content: ''; width: 34px; height: 1px; background: currentColor; opacity: 0.55; flex: 0 0 auto; }
.sec.dark .sec-head .l { color: var(--meta-dark); }
.sec-title { align-items: center; gap: 0; }
.sec-title::before { content: ''; width: 34px; height: 1px; background: currentColor; opacity: 0.5; margin-right: 22px; flex: 0 0 auto; }
.cap-side { display: inline-flex; align-items: center; gap: 14px; }
.cap-side::before { content: ''; width: 34px; height: 1px; background: currentColor; opacity: 0.55; }

/* ── PROYECTOS — elevación editorial (números grandes, nombres grandes) ── */
.projects { position: relative; z-index: 1; }
.project { align-items: center; scroll-margin-top: 110px; }
.p-num { display: block !important; font-family: 'Space Grotesk', sans-serif; font-weight: 300; font-size: clamp(56px, 7vw, 120px) !important; line-height: 0.82; color: var(--num-big-light) !important; margin-bottom: 12px; letter-spacing: -0.02em; }
.p-info h2 { font-size: clamp(34px, 4.2vw, 62px) !important; margin-top: 4px !important; letter-spacing: -0.02em; }
.p-tag { margin-top: 14px; }
.p-img { position: relative; border-radius: 4px; }
.p-img img { height: 660px; }
.p-img::after { content: '→'; position: absolute; right: 22px; bottom: 22px; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: rgba(250,250,249,0.94); color: #0F0F0F; font-family: 'Space Grotesk', sans-serif; font-size: 20px; transform: scale(0) rotate(-25deg); opacity: 0; transition: transform 0.5s var(--ease), opacity 0.4s; pointer-events: none; z-index: 3; }
.project:hover .p-img::after { transform: scale(1) rotate(0); opacity: 1; }
@media (max-width: 1024px) { .p-img img { height: 520px; } }
@media (max-width: 820px) { .p-img img { height: 380px; } .p-num { font-size: clamp(48px, 15vw, 84px) !important; } }
@media (max-width: 820px) {
  .showcase { height: 70vh; }
  .glass-ficha { left: var(--pad-x); right: var(--pad-x); bottom: 20px; max-width: none; }
  .showcase-label { top: 88px; }
}
