/* ═══════════════════════════════════════════════════════════════
   CIBRIÁN STUDIO — Stylesheet
   Identity: Sukhumvit Set + Lumend, monochrome (B/W)
   ═══════════════════════════════════════════════════════════════ */

/* ─── FONTS ─── */
@font-face {
  font-family: 'Sukhumvit'; font-weight: 300; font-display: swap;
  src: url('fonts/Sukhumvit-Light.woff2') format('woff2');
}
@font-face {
  font-family: 'Sukhumvit'; font-weight: 400; font-display: swap;
  src: url('fonts/Sukhumvit-Text.woff2') format('woff2');
}
@font-face {
  font-family: 'Sukhumvit'; font-weight: 500; font-display: swap;
  src: url('fonts/Sukhumvit-Medium.woff2') format('woff2');
}
@font-face {
  font-family: 'Sukhumvit'; font-weight: 600; font-display: swap;
  src: url('fonts/Sukhumvit-SemiBold.woff2') format('woff2');
}
@font-face {
  font-family: 'Lumend'; font-weight: 400; font-display: swap;
  src: url('fonts/Lumend-Regular.woff2') format('woff2');
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #000000;
  --bg-2: #0a0a0a;
  --fg: #ffffff;
  --fg-2: rgba(255, 255, 255, 0.62);
  --fg-3: rgba(255, 255, 255, 0.38);
  --fg-4: rgba(255, 255, 255, 0.18);
  --line: rgba(255, 255, 255, 0.10);
  --line-2: rgba(255, 255, 255, 0.06);
  --hover: rgba(255, 255, 255, 0.04);
  --max: 1280px;
  --max-narrow: 980px;
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Sukhumvit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.005em;
  overflow-x: hidden;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: opacity 0.2s, color 0.2s; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.num { font-variant-numeric: tabular-nums lining-nums; font-feature-settings: 'tnum' 1, 'lnum' 1; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 40px; }

/* ─── NAV ─── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s, padding 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 0.5px solid transparent;
}
.nav.scrolled {
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 40px;
  border-bottom-color: var(--line);
}

.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo img { width: 28px; height: 28px; }
.nav-logo span {
  font-family: 'Lumend', sans-serif;
  font-size: 14px;
  letter-spacing: 0.18em;
}

.nav-toggle {
  display: none;
  width: 36px; height: 36px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 1px;
  background: var(--fg);
  transition: transform 0.25s, opacity 0.2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.nav-links a { color: var(--fg-2); transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--fg); }
.nav-cta {
  border: 0.5px solid var(--fg-3);
  padding: 8px 16px;
  color: var(--fg) !important;
  transition: all 0.2s;
}
.nav-cta:hover { background: var(--fg); color: var(--bg) !important; border-color: var(--fg); }

/* ─── HERO estilo Flóki — video en primer plano ─── */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  width: 100%;
  overflow: hidden;
  background: var(--bg);
}
.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
/* Subtle gradient only on the edges, not over the whole video */
.hero-video-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.1) 30%, rgba(0,0,0,0.1) 65%, rgba(0,0,0,0.7) 100%),
    radial-gradient(ellipse at center, rgba(0,0,0,0) 40%, rgba(0,0,0,0.35) 100%);
  pointer-events: none;
}

/* Top bar — location left, audio toggle right */
.hero-top {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 2;
  padding: 100px 40px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
}
.hero-location {
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--fg);
  opacity: 0.9;
  font-weight: 500;
}
.hero-audio-toggle {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: rgba(0,0,0,0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 0.5px solid rgba(255,255,255,0.2);
  color: var(--fg);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.hero-audio-toggle:hover {
  background: rgba(0,0,0,0.55);
  border-color: rgba(255,255,255,0.4);
}
.hero-audio-toggle svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.hero-audio-toggle .icon-unmuted { display: none; }
.hero-audio-toggle.active .icon-muted { display: none; }
.hero-audio-toggle.active .icon-unmuted { display: block; }
.hero-audio-toggle.active .hero-audio-label::before { content: 'Mute audio'; }
.hero-audio-toggle .hero-audio-label::before { content: 'Play audio'; }
.hero-audio-toggle .hero-audio-label { font-size: 0; line-height: 0; }
.hero-audio-toggle .hero-audio-label::before { font-size: 10px; line-height: 1; }

/* Bottom text — logo + tag centered in hero */
.hero-bottom {
  position: absolute;
  top: 50%;
  left: 0; right: 0;
  transform: translateY(-50%);
  z-index: 2;
  text-align: center;
  padding: 0 40px;
}
.hero-logo-full {
  width: clamp(220px, 28vw, 380px);
  height: auto;
  display: block;
  margin: 0 auto 20px;
  filter:
    drop-shadow(0 2px 4px rgba(0,0,0,0.9))
    drop-shadow(0 8px 32px rgba(0,0,0,0.6))
    drop-shadow(0 0 60px rgba(0,0,0,0.35));
}
.hero-tag {
  font-size: clamp(11px, 1.2vw, 13px);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--fg);
  opacity: 0.85;
  font-weight: 400;
  margin: 0;
  text-shadow: 0 2px 16px rgba(0,0,0,0.4);
}

.hero-scroll {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.hero-scroll-line {
  width: 1px; height: 28px;
  background: var(--fg);
  opacity: 0.7;
  animation: scroll-pulse 2.4s infinite;
  transform-origin: top;
}
@keyframes scroll-pulse {
  0%, 100% { opacity: 0.25; transform: scaleY(0.5); }
  50% { opacity: 0.85; transform: scaleY(1); }
}

/* ─── WhatsApp flotante ─── */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  background: #25D366;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: 100px;
  box-shadow: 0 6px 32px rgba(0,0,0,0.45), 0 2px 8px rgba(0,0,0,0.3);
  transition: transform 0.2s, box-shadow 0.2s;
}
.wa-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(0,0,0,0.55), 0 4px 12px rgba(0,0,0,0.4);
}
.wa-float svg {
  width: 18px;
  height: 18px;
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 0.5px solid currentColor;
  transition: all 0.25s;
  cursor: pointer;
}
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }

.btn-primary {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
}
.btn-primary:hover { background: transparent; color: var(--fg); }

.btn-ghost {
  background: transparent;
  color: var(--fg);
  border-color: var(--fg-3);
}
.btn-ghost:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }

/* ─── SECTION COMMON ─── */
section { position: relative; }
.section-num {
  font-size: 11px;
  letter-spacing: 0.28em;
  color: var(--fg-3);
  margin-bottom: 14px;
  font-weight: 500;
}
.section-label {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-bottom: 36px;
  font-weight: 500;
}
.section-h {
  font-family: 'Sukhumvit', sans-serif;
  font-weight: 600;
  font-size: clamp(36px, 5.5vw, 64px);
  letter-spacing: -0.015em;
  line-height: 1.0;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.section-lead {
  font-size: clamp(18px, 1.8vw, 24px);
  font-weight: 300;
  line-height: 1.5;
  color: var(--fg-2);
  max-width: 720px;
  letter-spacing: 0.005em;
}
.section-header { margin-bottom: 56px; }

/* ─── MANIFESTO ─── */
.manifesto {
  padding: 160px 0 140px;
  border-top: 0.5px solid var(--line);
}
.manifesto-h {
  font-family: 'Sukhumvit', sans-serif;
  font-weight: 300;
  font-size: clamp(32px, 5vw, 56px);
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin-bottom: 56px;
  max-width: 920px;
}
.manifesto-h em { font-style: normal; font-weight: 600; }
.manifesto-body {
  font-size: 17px;
  line-height: 1.75;
  color: var(--fg-2);
  font-weight: 300;
  max-width: 680px;
}

/* ─── INSTALACIONES ─── */
.installations {
  padding: 100px 0;
  border-top: 0.5px solid var(--line);
}

/* ─── COMMON STUDIO STYLING ─── */
.studio-eyebrow {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-bottom: 16px;
  font-weight: 500;
}
.studio-name {
  font-family: 'Sukhumvit', sans-serif;
  font-weight: 600;
  font-size: clamp(48px, 6.5vw, 84px);
  letter-spacing: -0.02em;
  line-height: 0.95;
  text-transform: uppercase;
}
.studio-desc {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--fg-2);
}

/* ─── ESTUDIO A — la joya ─── */
.studio-a {
  margin-bottom: 100px;
}
.studio-a-head {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 32px;
  align-items: end;
  padding-bottom: 32px;
  margin-bottom: 32px;
  border-bottom: 0.5px solid var(--line);
}
.studio-a-head-left {}
.studio-a-tagline {
  font-family: 'Sukhumvit', sans-serif;
  font-weight: 300;
  font-size: clamp(20px, 2.4vw, 28px);
  letter-spacing: -0.005em;
  line-height: 1.1;
  color: var(--fg-2);
  text-align: right;
  font-style: italic;
  padding-bottom: 8px;
}
.studio-a-intro {
  max-width: 820px;
  margin-bottom: 64px;
}
.studio-a-intro .studio-desc {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--fg-2);
}

/* Editorial gallery */
.studio-a-gallery {
  display: grid;
  gap: 12px;
  margin-bottom: 56px;
}
.gal {
  position: relative;
  overflow: hidden;
  background: var(--bg-2);
  margin: 0;
}
.gal img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}
.gal:hover img { transform: scale(1.03); }
.gal figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 14px 18px 12px;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 100%);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg);
  font-weight: 400;
  opacity: 0;
  transition: opacity 0.3s;
}
.gal:hover figcaption { opacity: 1; }

.gal-hero {
  aspect-ratio: 16 / 9;
}
.gal-wide {
  aspect-ratio: 16 / 7;
}
.gal-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.gal-pair .gal {
  aspect-ratio: 4 / 3;
}

/* Spec strip */
.studio-a-specs {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 0.5px solid var(--line);
  border-bottom: 0.5px solid var(--line);
  padding: 28px 0;
}
.studio-a-specs li {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 8px 16px;
  border-right: 0.5px solid var(--line-2);
}
.studio-a-specs li:last-child { border-right: none; }
.spec-num {
  font-family: 'Sukhumvit', sans-serif;
  font-weight: 300;
  font-size: 32px;
  line-height: 1;
  color: var(--fg);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.spec-text {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.4;
  color: var(--fg);
}
.spec-sub {
  display: block;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.14em;
  color: var(--fg-3);
  margin-top: 4px;
  text-transform: none;
}

/* ─── ESTUDIO B — bloque compacto ─── */
.studio-b {
  border-top: 0.5px solid var(--line);
  padding-top: 56px;
  margin-top: 32px;
}
.studio-b-content {
  max-width: 720px;
}
.studio-b-name {
  font-family: 'Sukhumvit', sans-serif;
  font-weight: 500;
  font-size: clamp(28px, 3.2vw, 36px);
  letter-spacing: -0.005em;
  line-height: 1;
  text-transform: uppercase;
  margin-bottom: 20px;
  color: var(--fg-2);
}
.studio-b-desc {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--fg-2);
  margin-bottom: 16px;
}
.studio-b-note {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--fg-3);
  font-style: italic;
}

/* Photo break with caption */
.photo-break figure {
  position: relative;
}
.photo-break figcaption {
  position: absolute;
  bottom: 24px;
  left: 40px;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--fg);
  background: rgba(0,0,0,0.5);
  padding: 8px 14px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.extras {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  padding-top: 56px;
  border-top: 0.5px solid var(--line);
}
.extra-item {}
.extra-label {
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-bottom: 8px;
  font-weight: 500;
}
.extra-text {
  font-size: 14px;
  color: var(--fg);
  font-weight: 400;
  line-height: 1.6;
}

/* ─── KIKO ─── */
.kiko {
  padding: 0;
  border-top: 0.5px solid var(--line);
  background: var(--bg);
}
.kiko-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  min-height: 80vh;
}
.kiko-photo {
  position: relative;
  overflow: hidden;
  min-height: 600px;
}
.kiko-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.kiko-text {
  padding: 100px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.kiko-h {
  font-family: 'Sukhumvit', sans-serif;
  font-weight: 600;
  font-size: clamp(40px, 5vw, 64px);
  letter-spacing: -0.015em;
  line-height: 1;
  text-transform: uppercase;
  margin-bottom: 32px;
}
.kiko-lead {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--fg);
  margin-bottom: 24px;
  letter-spacing: 0.005em;
}
.kiko-body {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--fg-2);
  margin-bottom: 40px;
}
.kiko-quote {
  border-left: 1px solid var(--fg-3);
  padding-left: 24px;
  margin-top: 24px;
}
.kiko-quote p {
  font-family: 'Sukhumvit', sans-serif;
  font-weight: 300;
  font-size: 18px;
  line-height: 1.5;
  font-style: italic;
  color: var(--fg);
  margin-bottom: 12px;
}
.kiko-quote cite {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-3);
  font-style: normal;
}

/* ─── SERVICIOS ─── */
.services {
  padding: 100px 0;
  border-top: 0.5px solid var(--line);
}
.services-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.55s cubic-bezier(0.4,0,0.2,1);
}
.services.open .services-body {
  max-height: 1200px;
}
.services-grid { margin-bottom: 56px; }
.service {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 40px;
  padding: 36px 0;
  border-top: 0.5px solid var(--line-2);
  align-items: start;
  transition: padding 0.2s;
}
.service:last-child { border-bottom: 0.5px solid var(--line-2); }
.service:hover { padding-left: 12px; }
.service-num {
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--fg-3);
  font-weight: 500;
  padding-top: 8px;
}
.service-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: start;
}
.service-title {
  font-family: 'Sukhumvit', sans-serif;
  font-weight: 500;
  font-size: clamp(26px, 3vw, 36px);
  letter-spacing: -0.005em;
  line-height: 1;
  text-transform: uppercase;
}
.service-desc {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--fg-2);
  padding-top: 4px;
}
.rates-note {
  margin-top: 40px;
  padding: 28px 32px;
  border: 0.5px solid var(--line);
  text-align: center;
}

/* ─── EQUIPO (fondo gris oscuro para contraste) ─── */
.inventory {
  padding: 100px 0;
  border-top: 0.5px solid var(--line);
  background: #131313;
}
.inv-summary {
  margin-bottom: 32px;
}
.inv-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 32px;
  border: 0.5px solid var(--line);
  background: transparent;
  color: var(--fg);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.inv-toggle:hover { background: var(--hover); border-color: var(--fg-3); }
.inv-toggle-text {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.inv-toggle-meta {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-left: auto;
  margin-right: 16px;
}
.inv-toggle-icon {
  width: 18px; height: 18px;
  transition: transform 0.3s;
}
.inv-toggle[aria-expanded="true"] .inv-toggle-icon { transform: rotate(180deg); }

.inv-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s ease;
}
.inv-content.open {
  max-height: 12000px;
  transition: max-height 1.2s ease;
}
.inv-controls {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  padding: 32px 0 24px;
  margin-bottom: 16px;
  border-bottom: 0.5px solid var(--line-2);
}
.inv-search {
  flex: 1;
  min-width: 220px;
  position: relative;
}
.inv-search input {
  width: 100%;
  background: transparent;
  border: 0.5px solid var(--line);
  color: var(--fg);
  font: inherit;
  font-size: 14px;
  padding: 10px 14px 10px 38px;
  letter-spacing: 0.01em;
  transition: border-color 0.2s;
}
.inv-search input::placeholder { color: var(--fg-3); }
.inv-search input:focus { outline: none; border-color: var(--fg-2); }
.inv-search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--fg-3);
  pointer-events: none;
}
.inv-pills { display: flex; gap: 6px; flex-wrap: wrap; }
.inv-pill {
  background: transparent;
  border: 0.5px solid var(--line);
  color: var(--fg-2);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 14px;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.inv-pill:hover { border-color: var(--fg-3); color: var(--fg); }
.inv-pill.active { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.inv-pill .num { font-size: 10px; opacity: 0.7; letter-spacing: 0; }
.inv-results {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-3);
  white-space: nowrap;
}

.inv-studio { margin-bottom: 64px; }
.inv-studio-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 24px 0 16px;
  margin-bottom: 24px;
  border-bottom: 0.5px solid var(--line);
}
.inv-studio-eyebrow {
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-bottom: 10px;
  font-weight: 500;
}
.inv-studio-name {
  font-family: 'Sukhumvit', sans-serif;
  font-weight: 600;
  font-size: clamp(28px, 3.6vw, 40px);
  letter-spacing: -0.01em;
  line-height: 1;
  text-transform: uppercase;
}
.inv-studio-meta {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-3);
  white-space: nowrap;
  padding-bottom: 6px;
}
.inv-studio-meta .num { color: var(--fg); font-weight: 500; }

.inv-cat { margin-bottom: 32px; }
.inv-cat-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 4px;
  padding: 8px 0;
}
.inv-cat-title {
  font-family: 'Sukhumvit', sans-serif;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}
.inv-cat-meta {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-3);
}

.inv-items { display: flex; flex-direction: column; }
.inv-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  padding: 18px 12px;
  border-top: 0.5px solid var(--line-2);
  transition: background 0.15s;
}
.inv-item:hover { background: var(--fg); }
.inv-item:hover .inv-qty,
.inv-item:hover .inv-brand,
.inv-item:hover .inv-model,
.inv-item:hover .inv-desc { color: var(--bg); }
.inv-item:last-child { border-bottom: 0.5px solid var(--line-2); }
.inv-qty {
  font-family: 'Sukhumvit', sans-serif;
  font-weight: 300;
  font-size: 24px;
  line-height: 1;
  color: var(--fg-3);
  letter-spacing: -0.02em;
  padding-top: 4px;
}
.inv-body {
  padding-top: 2px;
}
.inv-name {
  font-family: 'Sukhumvit', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.35;
  margin-bottom: 4px;
}
.inv-brand { color: var(--fg-2); font-weight: 300; }
.inv-model { color: var(--fg); font-weight: 500; }
.inv-desc {
  font-size: 12px;
  color: var(--fg-3);
  font-weight: 300;
  line-height: 1.5;
}
.inv-item.hidden, .inv-cat.hidden, .inv-studio.hidden { display: none; }

/* ─── CLIENTES ─── */
.clientes {
  padding: 100px 0 80px;
  border-top: 0.5px solid var(--line);
}
.sellos-block, .artistas-block {
  margin-bottom: 64px;
}
.artistas-block { margin-bottom: 0; }
.sellos-label {
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-bottom: 24px;
  font-weight: 500;
}
.sellos-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 0.5px solid var(--line);
  border-bottom: 0.5px solid var(--line);
}
.sellos-grid li {
  font-family: 'Lumend', sans-serif;
  font-size: clamp(18px, 2.4vw, 28px);
  letter-spacing: 0.12em;
  font-weight: 400;
  color: var(--fg);
  text-align: center;
  padding: 56px 24px;
  border-right: 0.5px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 140px;
  transition: background 0.2s;
  text-transform: uppercase;
}
.sellos-grid li:last-child { border-right: none; }
.sellos-grid li:hover { background: var(--hover); }

.clientes-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-left: 0.5px solid var(--line-2);
  border-top: 0.5px solid var(--line-2);
}
.clientes-grid li {
  border-right: 0.5px solid var(--line-2);
  border-bottom: 0.5px solid var(--line-2);
  padding: 32px 20px;
  font-size: 15px;
  font-weight: 400;
  color: var(--fg-2);
  text-align: center;
  letter-spacing: 0.03em;
  transition: background 0.2s, color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 96px;
}
.clientes-grid li:hover { background: var(--hover); color: var(--fg); }

/* ─── PHOTO BREAK ─── */
.photo-break {
  border-top: 0.5px solid var(--line);
  padding: 0;
}
.photo-break figure {
  width: 100%;
  height: 70vh;
  max-height: 720px;
  overflow: hidden;
}
.photo-break img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* ─── CONTACTO ─── */
/* ─── CIERRE VISUAL ─── */
.cierre-foto {
  width: 100%;
  line-height: 0;
  border-top: 0.5px solid var(--line);
}
.cierre-foto img {
  width: 100%;
  height: auto;
  display: block;
}

/* ─── CONTACTO ─── */
.contacto {
  padding: 100px 0 100px;
  border-top: 0.5px solid var(--line);
  text-align: center;
}
.contacto-h {
  font-family: 'Sukhumvit', sans-serif;
  font-weight: 300;
  font-size: clamp(36px, 6vw, 72px);
  letter-spacing: -0.015em;
  line-height: 1.05;
  margin-bottom: 60px;
}
.contacto-h em { font-style: normal; font-weight: 600; }
.contacto-links {
  display: flex;
  justify-content: center;
  gap: 0;
  max-width: 600px;
  margin: 0 auto;
  border: 0.5px solid var(--line);
}
.contacto-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 0;
  flex: 1;
  border-right: 0.5px solid var(--line);
  text-decoration: none;
  color: inherit;
  opacity: 0.6;
  transition: opacity 0.2s, background 0.2s;
}
.contacto-item:last-child { border-right: none; }
.contacto-item:hover { opacity: 1; background: var(--hover); }
.contacto-item svg { width: 22px; height: 22px; display: block; }

.contacto-mapa {
  max-width: 600px;
  margin: 40px auto 0;
  overflow: hidden;
  border: 0.5px solid var(--line);
  opacity: 0.8;
  transition: opacity 0.2s;
}
.contacto-mapa:hover { opacity: 1; }
.contacto-mapa iframe {
  display: block;
  filter: grayscale(1) invert(0.88) contrast(0.9) brightness(0.95);
}

/* ─── FOOTER ─── */
footer {
  border-top: 0.5px solid var(--line);
  padding: 50px 40px 30px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: 28px;
}
.footer-brand { display: flex; align-items: center; gap: 16px; }
.footer-brand img { width: 32px; height: 32px; opacity: 0.85; }
.footer-wordmark {
  font-family: 'Lumend', sans-serif;
  font-size: 14px;
  letter-spacing: 0.18em;
  color: var(--fg);
  margin-bottom: 4px;
}
.footer-tagline { font-size: 10px; color: var(--fg-3); letter-spacing: 0.16em; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { color: var(--fg-2); transition: color 0.2s; }
.footer-links a:hover { color: var(--fg); }
.footer-meta {
  max-width: var(--max);
  margin: 0 auto;
  padding-top: 24px;
  border-top: 0.5px solid var(--line-2);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 10px;
  letter-spacing: 0.18em;
}

/* ─── EDITORIAL BREAK (after hero) ─── */
/* ─── STATEMENT ─── */
.statement {
  padding: 100px 0 80px;
  border-top: 0.5px solid var(--line);
}
.statement-inner {
  max-width: 780px;
}
.statement-h {
  font-family: 'Sukhumvit', sans-serif;
  font-weight: 300;
  font-size: clamp(42px, 6vw, 80px);
  letter-spacing: -0.02em;
  line-height: 1.0;
  margin-bottom: 32px;
  color: var(--fg);
}
.statement-body {
  font-size: clamp(15px, 1.5vw, 18px);
  font-weight: 300;
  color: var(--fg-2);
  line-height: 1.75;
  max-width: 600px;
}

.editorial-break {
  border-top: 0.5px solid var(--line);
}
.gal-editorial {
  display: grid;
  gap: 6px;
  padding: 6px;
  background: var(--bg);
}
.gal-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

/* ─── CAROUSEL CENTRADO ─── */
.carousel-wrap {
  position: relative;
  margin-bottom: 56px;
  margin-left: -40px;
  margin-right: -40px;
  overflow: hidden;
}
/* Fade lateral izquierdo y derecho */
.carousel-wrap::before,
.carousel-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 13%;
  z-index: 2;
  pointer-events: none;
}
.carousel-wrap::before {
  left: 0;
  background: linear-gradient(to right, var(--bg) 0%, transparent 100%);
}
.carousel-wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--bg) 0%, transparent 100%);
}

.carousel-track {
  display: flex;
  gap: 20px;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
  padding: 24px 0;
}
.carousel-slide {
  flex: 0 0 auto;
  height: clamp(500px, 82vh, 960px);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.6s ease,
              filter 0.6s ease;
  transform: scale(0.88);
  opacity: 0.35;
  filter: blur(5px);
}
.carousel-slide.active {
  transform: scale(1);
  opacity: 1;
  filter: blur(0px);
  cursor: default;
}
.carousel-slide img {
  height: 100%;
  width: auto;
  display: block;
  pointer-events: none;
}
.carousel-slide figcaption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 14px 18px 12px;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg);
  opacity: 0;
  transition: opacity 0.3s;
}
.carousel-slide.active:hover figcaption { opacity: 1; }

.carousel-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
  position: relative;
  z-index: 3;
}
.carousel-btn {
  width: 42px; height: 42px;
  border: 0.5px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: transparent;
  color: var(--fg);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.carousel-btn svg { width: 16px; height: 16px; }
.carousel-btn:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.carousel-btn:disabled { opacity: 0.25; pointer-events: none; }

/* ─── REVEAL ANIMATION ─── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s ease, transform 0.9s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .studio-a-head { grid-template-columns: 1fr; gap: 12px; align-items: start; }
  .studio-a-tagline { text-align: left; padding-bottom: 0; }
  .studio-a-specs { grid-template-columns: repeat(2, 1fr); }
  .studio-a-specs li {
    border-right: 0.5px solid var(--line-2);
    border-bottom: 0.5px solid var(--line-2);
    padding: 24px 16px;
  }
  .studio-a-specs li:nth-child(2n) { border-right: none; }
  .studio-a-specs li:nth-last-child(-n+2) { border-bottom: none; }
  .kiko-inner { grid-template-columns: 1fr; }
  .kiko-photo { min-height: 480px; }
  .kiko-text { padding: 80px 40px; }
}

@media (max-width: 768px) {
  .container { padding: 0 24px; }
  .nav { padding: 14px 24px; }
  .nav.scrolled { padding: 10px 24px; }
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--bg);
    border-top: 0.5px solid var(--line);
    border-bottom: 0.5px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 24px 16px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s, opacity 0.25s;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links a {
    padding: 14px 0;
    border-bottom: 0.5px solid var(--line-2);
    font-size: 13px;
  }
  .nav-links a:last-child { border-bottom: none; }
  .nav-cta { border: none; padding: 14px 0; text-align: left; }

  .hero { padding: 100px 24px 80px; }
  .hero-logo { width: 60px; margin: 0 auto 24px; }
  .hero-ctas { flex-direction: column; width: 100%; }
  .hero-ctas .btn { justify-content: center; width: 100%; }

  .manifesto, .installations, .services, .inventory, .clientes, .contacto { padding: 90px 0; }
  .carousel-wrap { margin-left: -24px; margin-right: -24px; }
  .carousel-slide { height: clamp(320px, 65vh, 640px); }
  .section-header { margin-bottom: 48px; }

  /* statement */
  .statement { padding: 72px 0 56px; }
  .statement-h { font-size: clamp(32px, 8vw, 52px); }

  /* editorial */
  .gal-trio { grid-template-columns: 1fr 1fr; }
  .gal-trio figure:last-child { grid-column: 1 / -1; }

  .studio-name { font-size: 48px; }
  .kiko-text { padding: 60px 24px; }

  .inv-toggle { padding: 20px 20px; flex-wrap: wrap; }
  .inv-toggle-meta { width: 100%; margin: 0; }
  .inv-item { grid-template-columns: 40px 1fr; gap: 14px; padding: 16px 4px; }
  .inv-qty { font-size: 20px; }
  /* disable hover invert on touch devices */
  @media (hover: none) {
    .inv-item:hover { background: transparent; }
    .inv-item:hover .inv-qty,
    .inv-item:hover .inv-brand,
    .inv-item:hover .inv-model,
    .inv-item:hover .inv-desc { color: inherit; }
  }

  .sellos-grid { grid-template-columns: 1fr; }
  .sellos-grid li {
    border-right: none;
    border-bottom: 0.5px solid var(--line);
    padding: 36px 16px;
    min-height: 100px;
  }
  .sellos-grid li:last-child { border-bottom: none; }
  .clientes-grid { grid-template-columns: repeat(2, 1fr); }
  .clientes-grid li { padding: 24px 12px; min-height: 80px; font-size: 13px; }

  .contacto-links { flex-wrap: wrap; max-width: 100%; }
  .contacto-item { flex: 0 0 33.333%; padding: 28px 0; }

  .wa-float { padding: 12px 18px; bottom: 16px; right: 16px; font-size: 11px; }
  .wa-float svg { width: 16px; height: 16px; }

  .hero-top { padding: 90px 20px 0; }
  /* keep hero logo centered vertically on mobile */
  .hero-bottom { top: 50%; transform: translateY(-50%); padding: 0 20px; }
  .hero-logo-full { width: clamp(160px, 55vw, 280px); }

  .photo-break figure { height: 50vh; }

  footer { padding: 40px 24px 24px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 24px; }
  .footer-meta { flex-direction: column; align-items: flex-start; gap: 8px; }
}

@media (max-width: 480px) {
  .clientes-grid { grid-template-columns: 1fr; }
  .nav-logo span { display: none; }
  .gal-trio { grid-template-columns: 1fr; }
  .gal-trio figure:last-child { grid-column: auto; }
  .contacto-item { flex: 0 0 50%; }
  .statement-h { font-size: clamp(28px, 9vw, 42px); }
}

/* Reduce motion for video */
@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
  .hero { background: var(--bg) url('video/hero-poster.jpg') center/cover; }
}
