:root {
  --ink: #0d1220;
  --navy: #1e3a66;
  --navy-soft: #16233c;
  --orange: #c2571b;
  --orange-bright: #e06a24;
  --cream: #ece4d6;
  --cream-deep: #ddd2bf;
  --paper: #f4efe6;
  --stone: #a89c88;
  --stone-dark: #8a7c65;
  --line: rgba(236, 228, 214, 0.14);
  --line-strong: rgba(236, 228, 214, 0.3);
  --line-ink: rgba(13, 18, 32, 0.14);
  --line-ink-strong: rgba(13, 18, 32, 0.3);
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --header-h: 64px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 56px); }
body {
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--orange); color: var(--ink); }

/* ---------- utilidades ---------- */
.mono {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
}
.wrap { width: min(1280px, 92vw); margin-inline: auto; }
.light { background: var(--cream); color: var(--ink); }
.light .mono { color: var(--stone-dark); }
.paper { background: var(--paper); color: var(--ink); }
.paper .mono { color: var(--stone-dark); }

.cross {
  position: absolute;
  width: 26px; height: 26px;
  pointer-events: none;
  opacity: 0.55;
}
.cross::before, .cross::after { content: ""; position: absolute; background: var(--orange); }
.cross::before { left: 50%; top: 0; width: 1px; height: 100%; }
.cross::after  { top: 50%; left: 0; height: 1px; width: 100%; }
.cross.tl { top: 18px; left: 18px; }
.cross.br { bottom: 18px; right: 18px; }

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.9s cubic-bezier(.2,.65,.3,1), transform 0.9s cubic-bezier(.2,.65,.3,1);
}
.reveal.on { opacity: 1; transform: none; }

.btn {
  display: inline-flex; align-items: center; gap: 0.7rem;
  font-family: var(--font-mono);
  font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
  padding: 0.95rem 1.5rem;
  border: 1px solid currentColor;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.btn:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.btn.solid { background: var(--orange); border-color: var(--orange); color: #fff; }
.btn.solid:hover { background: var(--orange-bright); border-color: var(--orange-bright); color: #fff; }
.light .btn:hover, .paper .btn:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-img, .marquee-track { animation: none !important; }
}

/* ---------- header ---------- */
header.site {
  position: fixed; inset: 0 0 auto 0;
  z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.4rem 3vw;
  transition: background 0.4s, padding 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
header.site.scrolled, header.site.solid {
  background: rgba(13, 18, 32, 0.88);
  backdrop-filter: blur(12px);
  height: var(--header-h);
  padding: 0 3vw;
  border-bottom-color: var(--line);
}
.logo {
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.32em;
  display: flex; align-items: center; gap: 0.7rem;
  color: var(--cream);
}
.logo .ac { color: var(--orange); }
.logo .mark { width: 15px; height: 15px; position: relative; display: inline-block; }
.logo .mark::before, .logo .mark::after { content: ""; position: absolute; background: var(--orange); }
.logo .mark::before { left: 50%; top: 0; width: 1px; height: 100%; }
.logo .mark::after { top: 50%; left: 0; height: 1px; width: 100%; }
nav.main { display: flex; gap: 2.4rem; }
nav.main a {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0.75;
  transition: opacity 0.25s, color 0.25s;
}
nav.main a:hover, nav.main a.active { opacity: 1; color: var(--orange-bright); }
.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  position: relative;
}
.nav-toggle span {
  position: absolute; left: 8px; right: 8px; height: 1px;
  background: var(--cream);
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 20px; }
.nav-toggle span:nth-child(3) { top: 26px; }
header.site.open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
header.site.open .nav-toggle span:nth-child(2) { opacity: 0; }
header.site.open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  nav.main {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; gap: 0;
    background: rgba(13, 18, 32, 0.97);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 0 1rem;
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity 0.25s, transform 0.25s;
  }
  header.site.open nav.main { transform: none; opacity: 1; pointer-events: auto; }
  nav.main a { padding: 0.9rem 6vw; font-size: 0.8rem; border-top: 1px solid var(--line); }
  header.site { background: rgba(13, 18, 32, 0.88); height: var(--header-h); padding: 0 3vw; }
}

/* ---------- hero (inicio) ---------- */
.hero {
  position: relative;
  height: 100svh;
  min-height: 620px;
  overflow: hidden;
  display: flex; align-items: flex-end;
}
.hero-img {
  position: absolute; inset: 0;
  background: url("../img/hero-fachada.webp") center 65% / cover no-repeat;
  animation: slowzoom 18s ease-out forwards;
}
@keyframes slowzoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(13,18,32,0.55) 0%, rgba(13,18,32,0.05) 35%, rgba(13,18,32,0.82) 88%),
    linear-gradient(90deg, rgba(13,18,32,0.5) 0%, transparent 55%);
}
.hero-content {
  position: relative; z-index: 2;
  width: min(1280px, 92vw);
  margin: 0 auto;
  padding-bottom: clamp(3rem, 8vh, 6rem);
}
.hero-kicker { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.6rem; }
.hero-kicker .rule { width: 64px; height: 1px; background: var(--orange); }
.hero h1 {
  font-size: clamp(2.6rem, 7.2vw, 6.4rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-wrap: balance;
  max-width: 14ch;
}
.hero h1 em { font-style: normal; color: var(--orange-bright); }
.hero-meta { margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: 2.6rem; }
.hero-scroll {
  position: absolute; right: 3vw; bottom: 7.5rem; z-index: 2;
  writing-mode: vertical-rl;
  font-family: var(--font-mono);
  font-size: 0.65rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--stone);
  display: flex; align-items: center; gap: 0.8rem;
}
.hero-scroll::after { content: ""; width: 1px; height: 54px; background: linear-gradient(var(--orange), transparent); }
@media (max-width: 720px) { .hero-scroll { display: none; } }

/* ---------- cinta técnica ---------- */
.marquee {
  border-block: 1px solid var(--line);
  overflow: hidden;
  padding: 0.85rem 0;
  background: var(--navy-soft);
}
.marquee-track {
  display: flex; gap: 4rem;
  white-space: nowrap;
  width: max-content;
  animation: slide 40s linear infinite;
  font-family: var(--font-mono);
  font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--cream);
}
.marquee-track span { opacity: 0.7; }
.marquee-track b { color: var(--orange-bright); font-weight: 400; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- statement / sobre ---------- */
.statement { position: relative; padding: clamp(6rem, 14vh, 10rem) 0; }
.statement p {
  font-size: clamp(1.7rem, 3.6vw, 3.1rem);
  font-weight: 400;
  line-height: 1.28;
  letter-spacing: -0.01em;
  max-width: 24ch;
  text-wrap: balance;
}
.statement p em { font-style: normal; color: var(--orange-bright); }
.statement .mono { display: block; margin-bottom: 2rem; }
.about-grid {
  display: grid; grid-template-columns: 1.2fr 1fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
  margin-top: clamp(3rem, 7vh, 5rem);
}
.about-grid p.lead { color: var(--cream-deep); opacity: 0.85; max-width: 52ch; font-size: 1.02rem; }
.caps { border-top: 1px solid var(--line); }
.cap {
  display: grid; grid-template-columns: 56px 1fr;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
}
.cap .num { font-family: var(--font-mono); color: var(--orange); font-size: 0.75rem; letter-spacing: 0.2em; padding-top: 0.3rem; }
.cap h4 { font-weight: 600; font-size: 1rem; }
.cap p { font-size: 0.88rem; color: var(--cream-deep); opacity: 0.75; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }

/* ---------- cabeceras de sección ---------- */
.section-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 2rem;
  border-top: 1px solid var(--line-strong);
  padding-top: 1.2rem;
  margin-bottom: clamp(2.5rem, 6vh, 4.5rem);
}
.light .section-head, .paper .section-head { border-top-color: var(--line-ink-strong); }
.section-head h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.section-head h2 small { font-weight: 300; }

/* ---------- proyectos (inicio) ---------- */
.project {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end;
  margin-bottom: clamp(4rem, 10vh, 7rem);
}
.project.rev { grid-template-columns: 1fr 1.6fr; }
.project.rev .project-media { order: 2; }
.project-media { position: relative; overflow: hidden; }
.project-media img {
  width: 100%; height: clamp(340px, 62vh, 640px);
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(.2,.65,.3,1);
}
.project-media:hover img { transform: scale(1.04); }
.project-info h3 { font-size: clamp(1.5rem, 2.6vw, 2.2rem); font-weight: 600; margin: 0.8rem 0 1.4rem; }
.project-info p.desc { color: var(--cream-deep); opacity: 0.8; max-width: 44ch; margin-bottom: 2rem; font-size: 0.98rem; }
.data { border-top: 1px solid var(--line); }
.light .data, .paper .data { border-top-color: var(--line-ink); }
.data-row {
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: 1rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.85rem;
}
.light .data-row, .paper .data-row { border-bottom-color: var(--line-ink); }
.data-row .mono { align-self: center; }
@media (max-width: 860px) {
  .project, .project.rev { grid-template-columns: 1fr; }
  .project.rev .project-media { order: 0; }
  .project-media img { height: 56vw; }
}

.projects-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 3vw, 3rem);
  margin-bottom: clamp(4rem, 10vh, 7rem);
}
.pcard { position: relative; }
.pcard .media { overflow: hidden; }
.pcard img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.65,.3,1); }
.pcard:hover img { transform: scale(1.04); }
.pcard .meta { display: flex; justify-content: space-between; gap: 1rem; margin-top: 0.9rem; }
.pcard h3 { font-size: clamp(1.2rem, 1.8vw, 1.5rem); font-weight: 600; margin-top: 0.35rem; }
.pcard p { font-size: 0.9rem; color: var(--cream-deep); opacity: 0.75; max-width: 46ch; margin-top: 0.4rem; }
@media (max-width: 720px) { .projects-grid { grid-template-columns: 1fr; } }

/* ---------- interiores (grid offset) ---------- */
.interiors {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1rem, 2.5vw, 2rem);
  align-items: start;
}
.interiors figure { position: relative; }
.interiors figure:nth-child(1) { grid-column: 1 / 6; }
.interiors figure:nth-child(2) { grid-column: 6 / 13; margin-top: clamp(2rem, 8vh, 5rem); }
.interiors figure:nth-child(3) { grid-column: 3 / 11; margin-top: clamp(1rem, 4vh, 3rem); }
.interiors img { width: 100%; height: auto; }
.interiors figcaption { margin-top: 0.7rem; display: flex; justify-content: space-between; }
@media (max-width: 720px) { .interiors figure:nth-child(n) { grid-column: 1 / 13; margin-top: 0; } }

/* ---------- materia ---------- */
.materia { padding: clamp(5rem, 12vh, 9rem) 0; position: relative; }
.materia-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.5vw, 2rem); }
.materia-grid figure:nth-child(2) { transform: translateY(clamp(1.5rem, 5vh, 3.5rem)); }
.materia-grid img { width: 100%; height: clamp(260px, 46vh, 480px); object-fit: cover; }
.materia-note { margin-top: clamp(4rem, 9vh, 6rem); display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.materia-note p.big { font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 500; line-height: 1.3; letter-spacing: -0.01em; max-width: 26ch; }
.materia-note p.small { color: #4d5261; max-width: 46ch; font-size: 0.98rem; }
@media (max-width: 860px) {
  .materia-grid { grid-template-columns: 1fr; }
  .materia-grid figure:nth-child(2) { transform: none; }
  .materia-grid img { height: 60vw; }
  .materia-note { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* ---------- teaser catálogo (inicio) ---------- */
.teaser {
  background: var(--navy-soft);
  border-block: 1px solid var(--line);
  padding: clamp(5rem, 12vh, 9rem) 0;
  position: relative;
  overflow: hidden;
}
.teaser-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.teaser h2 { font-size: clamp(2rem, 4.2vw, 3.6rem); font-weight: 600; line-height: 1.05; letter-spacing: -0.02em; margin: 1rem 0 1.4rem; }
.teaser h2 em { font-style: normal; color: var(--orange-bright); }
.teaser p { color: var(--cream-deep); opacity: 0.8; max-width: 44ch; margin-bottom: 2rem; }
.teaser-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem; }
.teaser-tiles figure { position: relative; overflow: hidden; }
.teaser-tiles img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform 1s cubic-bezier(.2,.65,.3,1); }
.teaser-tiles figure:hover img { transform: scale(1.06); }
.teaser-tiles figcaption {
  position: absolute; left: 0.7rem; bottom: 0.6rem;
  font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,0.7);
}
.teaser-tiles figure:nth-child(2) { transform: translateY(1.6rem); }
.teaser-tiles figure:nth-child(5) { transform: translateY(1.6rem); }
@media (max-width: 860px) { .teaser-grid { grid-template-columns: 1fr; } }

/* ---------- proceso ---------- */
.proceso { background: #0a0d16; padding: clamp(5rem, 12vh, 9rem) 0; position: relative; }
.proceso-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 2.5vw, 2rem); }
.proceso-grid figure { position: relative; overflow: hidden; }
.proceso-grid img {
  width: 100%; height: clamp(320px, 58vh, 600px);
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
  transition: filter 0.8s ease;
}
.proceso-grid figure:hover img { filter: grayscale(0.15) contrast(1); }
.proceso-grid .tag {
  position: absolute; top: 1rem; left: 1rem;
  font-family: var(--font-mono);
  font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase;
  background: rgba(13,18,32,0.75);
  color: var(--orange-bright);
  padding: 0.4rem 0.7rem;
  border: 1px solid rgba(224,106,36,0.4);
}
.proceso-copy { margin-top: 3rem; display: flex; justify-content: space-between; align-items: baseline; gap: 3rem; flex-wrap: wrap; }
.proceso-copy p { max-width: 52ch; color: var(--cream-deep); opacity: 0.8; font-size: 0.98rem; }
@media (max-width: 720px) { .proceso-grid { grid-template-columns: 1fr; } .proceso-grid img { height: 70vw; } }

/* ---------- servicios ---------- */
.servicios { padding: clamp(5rem, 12vh, 9rem) 0; }
.servicio {
  display: grid; grid-template-columns: 120px 1fr 1.2fr;
  gap: 2rem;
  padding: 2.4rem 0;
  border-top: 1px solid var(--line);
  align-items: baseline;
  transition: background 0.3s;
}
.servicio:last-child { border-bottom: 1px solid var(--line); }
.servicio:hover { background: rgba(30,58,102,0.18); }
.servicio .num { font-family: var(--font-mono); color: var(--orange); font-size: 0.85rem; letter-spacing: 0.2em; }
.servicio h3 { font-size: clamp(1.3rem, 2.2vw, 1.8rem); font-weight: 600; }
.servicio p { color: var(--cream-deep); opacity: 0.75; font-size: 0.95rem; max-width: 52ch; }
@media (max-width: 860px) { .servicio { grid-template-columns: 60px 1fr; } .servicio p { grid-column: 2; } }

/* ---------- footer ---------- */
footer.site {
  background: var(--navy-soft);
  border-top: 1px solid var(--line);
  padding: clamp(4rem, 10vh, 7rem) 0 2rem;
  position: relative;
  overflow: hidden;
}
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 3rem; margin-bottom: clamp(4rem, 10vh, 6rem); }
.foot-grid h4 {
  font-family: var(--font-mono);
  font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 1.2rem; font-weight: 400;
}
.foot-grid a { display: block; padding: 0.3rem 0; opacity: 0.85; transition: color 0.25s; }
.foot-grid a:hover { color: var(--orange-bright); }
.foot-cta { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 600; line-height: 1.2; max-width: 18ch; }
.foot-cta em { font-style: normal; color: var(--orange-bright); }
.foot-sub { margin-top: 1rem; color: var(--cream-deep); opacity: 0.7; max-width: 40ch; font-size: 0.92rem; }
.giant {
  font-weight: 700;
  font-size: clamp(4.5rem, 17vw, 15rem);
  letter-spacing: 0.08em;
  line-height: 0.9;
  text-align: center;
  color: transparent;
  -webkit-text-stroke: 1px rgba(236,228,214,0.22);
  user-select: none;
}
.giant .ac { -webkit-text-stroke-color: rgba(224,106,36,0.5); }
.foot-legal {
  display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
  margin-top: 2.5rem; padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr; gap: 2rem; } }

/* =========================================================
   CATÁLOGO
   ========================================================= */
.cat-hero {
  position: relative;
  min-height: 78svh;
  display: flex; align-items: flex-end;
  overflow: hidden;
  background: var(--ink);
}
.cat-hero .bg {
  position: absolute; inset: 0;
  background: url("../catalogo/cover-living.webp") center / cover no-repeat;
  animation: slowzoom 16s ease-out forwards;
}
.cat-hero::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(13,18,32,0.6) 0%, rgba(13,18,32,0.2) 40%, rgba(13,18,32,0.9) 92%),
    linear-gradient(90deg, rgba(13,18,32,0.55) 0%, transparent 60%);
}
.cat-hero .wrap { position: relative; z-index: 2; padding: calc(var(--header-h) + 4rem) 0 clamp(3rem, 8vh, 5rem); }
.cat-hero .brand { display: flex; align-items: flex-end; gap: 1.4rem; margin-bottom: 2rem; }
.cat-hero .brand img { height: clamp(64px, 9vw, 110px); width: auto; }
.cat-hero .brand .mono { padding-bottom: 0.4rem; }
.cat-hero h1 {
  font-size: clamp(2.4rem, 6vw, 5.4rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.02em;
  max-width: 16ch;
  text-wrap: balance;
}
.cat-hero h1 em { font-style: normal; color: var(--orange-bright); }
.cat-hero p.sub { margin-top: 1.4rem; font-size: clamp(1rem, 1.6vw, 1.3rem); color: var(--cream-deep); max-width: 44ch; }
.cat-hero .actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2.2rem; }

/* barra de categorías fija */
.cat-nav {
  position: sticky; top: var(--header-h);
  z-index: 40;
  background: var(--ink);
  border-block: 1px solid var(--line);
}
.cat-nav ul {
  list-style: none;
  display: flex; gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  width: min(1280px, 92vw); margin-inline: auto;
}
.cat-nav ul::-webkit-scrollbar { display: none; }
.cat-nav a {
  display: block;
  white-space: nowrap;
  padding: 1rem 1.2rem 1rem 0;
  margin-right: 1.2rem;
  font-family: var(--font-mono);
  font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--stone);
  border-bottom: 2px solid transparent;
  transition: color 0.25s, border-color 0.25s;
}
.cat-nav a b { color: var(--orange); font-weight: 400; margin-right: 0.5rem; }
.cat-nav a:hover, .cat-nav a.active { color: var(--cream); border-bottom-color: var(--orange); }

/* intro del catálogo */
.cat-intro { padding: clamp(5rem, 12vh, 9rem) 0; }
.cat-intro .grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.cat-intro h2 { font-size: clamp(1.9rem, 3.8vw, 3.2rem); font-weight: 600; line-height: 1.1; letter-spacing: -0.015em; margin: 1rem 0 1.6rem; }
.cat-intro h2 small { font-weight: 300; }
.cat-intro p { color: var(--cream-deep); opacity: 0.85; max-width: 50ch; font-size: 1.02rem; }
.cat-intro .pillars { display: flex; gap: 2.5rem; flex-wrap: wrap; margin-top: 2.4rem; border-top: 1px solid var(--line); padding-top: 1.4rem; }
.cat-intro .pillars span { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--stone); }
.cat-intro .pillars span::before { content: "+ "; color: var(--orange); }
.cat-intro .stat { margin-top: 2.4rem; }
.cat-intro .stat b { display: block; font-size: clamp(3rem, 6vw, 5rem); font-weight: 600; line-height: 1; color: var(--orange-bright); letter-spacing: -0.03em; }
.cat-intro figure img { width: 100%; height: clamp(360px, 60vh, 640px); object-fit: cover; }
@media (max-width: 860px) { .cat-intro .grid { grid-template-columns: 1fr; } .cat-intro figure img { height: 70vw; } }

/* sección de categoría */
.cat-section { padding: clamp(5rem, 12vh, 8rem) 0; position: relative; }
.cat-section + .cat-section.light, .cat-section.light + .cat-section.light { border-top: 1px solid var(--line-ink); }
.cat-head { display: grid; grid-template-columns: 90px 1fr auto; gap: 1.5rem; align-items: start; margin-bottom: clamp(2.5rem, 6vh, 4rem); border-top: 1px solid var(--line-ink-strong); padding-top: 1.4rem; }
.cat-section:not(.light) .cat-head { border-top-color: var(--line-strong); }
.cat-head .idx { font-family: var(--font-mono); color: var(--orange); font-size: 0.85rem; letter-spacing: 0.2em; padding-top: 0.5rem; }
.cat-head h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); font-weight: 600; line-height: 1.1; letter-spacing: -0.015em; }
.cat-head h2 small { font-weight: 300; }
.cat-head p { margin-top: 0.8rem; max-width: 58ch; font-size: 1rem; opacity: 0.8; }
.cat-head .mono { padding-top: 0.6rem; }
@media (max-width: 720px) { .cat-head { grid-template-columns: 1fr; gap: 0.6rem; } }

/* ficha de producto */
.product {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
  padding: clamp(2rem, 5vh, 3.5rem) 0 clamp(4rem, 9vh, 6rem);
}
.product + .product { border-top: 1px solid var(--line-ink); }
.product.rev { grid-template-columns: 1fr 1.5fr; }
.product.rev .p-media { order: 2; }
.p-media { position: relative; }
.p-media .main { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.p-media .main.tall { aspect-ratio: 3 / 4; }
.p-media .detail {
  position: absolute; right: -6%; bottom: -10%;
  width: 34%; aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  border: 6px solid var(--cream);
  box-shadow: 0 20px 50px rgba(13,18,32,0.28);
}
.product.rev .p-media .detail { right: auto; left: -6%; }
.p-info .code {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--navy);
}
.p-info .name { font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 300; color: var(--ink); opacity: 0.75; margin-top: 0.2rem; }
.p-info p.desc { margin: 1.4rem 0 1.6rem; max-width: 42ch; font-size: 0.98rem; opacity: 0.85; }
.p-info .apps { list-style: none; margin-top: 0.4rem; }
.p-info .apps li { font-size: 0.9rem; padding: 0.25rem 0; }
.p-info .apps li::before { content: "+ "; color: var(--orange); font-family: var(--font-mono); }
@media (max-width: 860px) {
  .product, .product.rev { grid-template-columns: 1fr; gap: 3rem; }
  .product.rev .p-media { order: 0; }
  .p-media .detail { width: 40%; right: 0; bottom: -10%; }
  .product.rev .p-media .detail { left: auto; right: 0; }
}

/* muestras (swatches) */
.swatches { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0.8rem; }
.swatches figure { position: relative; overflow: hidden; }
.swatches img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform 1s cubic-bezier(.2,.65,.3,1); }
.swatches figure:hover img { transform: scale(1.06); }
.swatches figcaption {
  position: absolute; left: 0.8rem; bottom: 0.7rem; right: 0.8rem;
  color: #fff; text-shadow: 0 1px 10px rgba(0,0,0,0.75);
}
.swatches figcaption b { display: block; font-weight: 700; font-size: 1rem; letter-spacing: 0.02em; }
.swatches figcaption span { font-size: 0.78rem; opacity: 0.9; }
.swatches.wide { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.swatches.wide img { aspect-ratio: 5 / 4; }

/* feature: imagen grande + columna de muestras */
.feature { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(1rem, 2.5vw, 2rem); align-items: stretch; margin-top: clamp(2rem, 5vh, 3.5rem); }
.feature .big img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; }
.feature .side { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; align-content: start; }
.feature .side figure { position: relative; overflow: hidden; }
.feature .side img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.feature .side figcaption { position: absolute; left: 0.7rem; bottom: 0.6rem; color: #fff; text-shadow: 0 1px 10px rgba(0,0,0,0.75); }
.feature .side figcaption b { display: block; font-size: 0.95rem; }
.feature .side figcaption span { font-size: 0.75rem; }
.feature-caption { margin-top: 1rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; } .feature .big img { min-height: 0; height: 64vw; } }

/* mosaico de elementos */
.mosaic { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(0.8rem, 2vw, 1.6rem); }
.mosaic figure { position: relative; overflow: hidden; }
.mosaic img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 1s cubic-bezier(.2,.65,.3,1); }
.mosaic figure.wide { grid-column: span 2; }
.mosaic figure.wide img { aspect-ratio: 8 / 5; }
.mosaic figure:hover img { transform: scale(1.04); }
.mosaic figcaption { margin-top: 0.6rem; display: flex; justify-content: space-between; gap: 1rem; }
@media (max-width: 720px) { .mosaic { grid-template-columns: 1fr 1fr; } .mosaic figure.wide { grid-column: span 2; } }

/* galería de contexto (fotos de proyecto dentro del catálogo) */
.context { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(0.8rem, 2vw, 1.6rem); margin-top: clamp(2rem, 5vh, 3.5rem); }
.context figure { position: relative; overflow: hidden; }
.context img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1s cubic-bezier(.2,.65,.3,1); }
.context figure:hover img { transform: scale(1.04); }
.context figcaption { margin-top: 0.6rem; }
@media (max-width: 720px) { .context { grid-template-columns: 1fr; } }

/* imágenes ampliables */
[data-lb] { cursor: zoom-in; }
.lb {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(10, 13, 22, 0.94);
  display: flex; align-items: center; justify-content: center;
  padding: 4vh 4vw;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s;
}
.lb.on { opacity: 1; pointer-events: auto; }
.lb img { max-width: 100%; max-height: 86vh; object-fit: contain; box-shadow: 0 30px 80px rgba(0,0,0,0.6); }
.lb .cap {
  position: absolute; left: 4vw; bottom: 3vh;
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--stone);
}
.lb .close {
  position: absolute; top: 2vh; right: 4vw;
  width: 44px; height: 44px;
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--cream);
}
.lb .close::before { content: "×"; font-size: 2rem; line-height: 1; font-weight: 300; }

/* CTA del catálogo */
.cat-cta { background: var(--navy-soft); border-block: 1px solid var(--line); padding: clamp(5rem, 12vh, 8rem) 0; }
.cat-cta .grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 3rem; align-items: center; }
.cat-cta h2 { font-size: clamp(2rem, 4.2vw, 3.6rem); font-weight: 600; line-height: 1.05; letter-spacing: -0.02em; margin: 1rem 0 1.2rem; }
.cat-cta h2 em { font-style: normal; color: var(--orange-bright); }
.cat-cta p { color: var(--cream-deep); opacity: 0.8; max-width: 46ch; }
.cat-cta .actions { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 860px) { .cat-cta .grid { grid-template-columns: 1fr; } .cat-cta .actions { justify-content: flex-start; } }

/* ---------- botón flotante de WhatsApp ---------- */
.wa-float {
  position: fixed;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 90;
  display: inline-flex; align-items: center; gap: 0.7rem;
  padding: 0.85rem 1.3rem 0.85rem 1rem;
  background: #25d366;
  color: var(--ink);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  box-shadow: 0 12px 32px rgba(10, 13, 22, 0.35), 0 2px 6px rgba(10, 13, 22, 0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.wa-float svg { width: 26px; height: 26px; flex: none; }
.wa-float:hover { background: #2ee06f; transform: translateY(-3px); box-shadow: 0 18px 40px rgba(10, 13, 22, 0.4), 0 3px 8px rgba(10, 13, 22, 0.25); }
.wa-float:focus-visible { outline: 2px solid var(--orange-bright); outline-offset: 3px; }
@media (max-width: 720px) {
  .wa-float { width: 58px; height: 58px; padding: 0; justify-content: center; }
  .wa-float svg { width: 30px; height: 30px; }
  .wa-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) { .wa-float, .wa-float:hover { transition: none; transform: none; } }
