/* =========================================================
   DOPA STUDIO — Sistema de diseño
   v1.0 — Mayo 2026
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Archivo:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,300;1,400;1,500&family=Inter:wght@300;400;500;600&display=swap');

:root {
  /* Brandboard 2026 — Paleta oficial */
  --tinta:       #1A1A1A;
  --crema:       #F7F5F0;
  --greige:      #C9C3B8;
  --gris-piedra: #8A8578;
  --laton:       #B08D57;

  /* Aliases (compat. con código previo — apuntan a la paleta oficial) */
  --ink:        #1A1A1A;
  --bone:       #F7F5F0;
  --bone-soft:  #F7F5F0;
  --warm-grey:  #8A8578;
  --soft-text:  #8A8578;
  --ochre:      #B08D57;
  --terracota:  #B08D57;
  --rule:       #C9C3B8;

  /* Tipografía — Archivo (display) + Inter (texto) */
  --display: 'Archivo', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  --serif:   'Archivo', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  --sans:    'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;

  /* Layout */
  --max-w: 1280px;
  --gutter: clamp(20px, 4vw, 64px);
  --section-y: clamp(80px, 12vw, 160px);
}

/* ---------- Reset minimal ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

/* ---------- Base ---------- */
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bone);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection { background: var(--ochre); color: var(--bone); }

/* ---------- Tipografía ---------- */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 400;
  margin: 0;
  letter-spacing: -0.01em;
  line-height: 1.1;
}
h1 { font-size: clamp(2.8rem, 8vw, 6.5rem); }
h2 { font-size: clamp(2rem, 5vw, 3.5rem); }
h3 { font-size: clamp(1.4rem, 3vw, 2rem); }
h4 { font-size: 1.15rem; font-weight: 500; }

p { margin: 0 0 1.2em; }
strong { font-weight: 600; }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ochre);
  margin: 0 0 1.2em;
}

.lead {
  font-family: var(--display);
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  line-height: 1.4;
  color: var(--ink);
  font-weight: 400;
  font-style: italic;
}

.small {
  font-size: 0.82rem;
  color: var(--soft-text);
  letter-spacing: 0.02em;
}

/* ---------- Layout ---------- */
.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section { padding-top: var(--section-y); padding-bottom: var(--section-y); }
.section--tight { padding-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(48px, 6vw, 80px); }

.rule {
  height: 1px;
  background: var(--rule);
  border: 0;
  margin: 0;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bone);
  border-bottom: 1px solid var(--rule);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 22px;
  padding-bottom: 22px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
}
.brand img {
  height: clamp(42px, 5vw, 60px);
  width: auto;
  display: block;
}
/* En móvil: oculto el logotipo (icon+texto) y muestro solo el isotipo cuadrado */
@media (max-width: 700px) {
  .brand img { display: none; }
  .brand {
    background-image: url('favicon.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center left;
    width: 44px;
    height: 44px;
  }
}
/* Fallback: si en algún sitio queda el typesetting típográfico */
.brand__name {
  font-family: var(--display);
  font-size: 1.7rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.brand__sub {
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--soft-text);
}

.nav {
  display: flex;
  gap: clamp(20px, 3vw, 40px);
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.nav a {
  color: var(--ink);
  position: relative;
  padding-bottom: 4px;
  transition: color .2s ease;
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--ochre);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .3s ease;
}
.nav a:hover { color: var(--ochre); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }

@media (max-width: 640px) {
  .nav { gap: 18px; font-size: 0.8rem; }
  .brand__sub { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  padding-top: clamp(60px, 10vw, 140px);
  padding-bottom: clamp(60px, 10vw, 120px);
}
.hero h1 {
  max-width: 14ch;
  margin-bottom: 0.5em;
}
.hero .lead {
  max-width: 38ch;
  margin-bottom: 0;
  color: var(--soft-text);
}
/* ---------- Hero banner (imagen de fondo + texto encima) ---------- */
.hero-banner {
  position: relative;
  width: 100%;
  min-height: clamp(560px, 88vh, 900px);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-banner__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
.hero-banner__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    100deg,
    rgba(26, 24, 20, 0.85) 0%,
    rgba(26, 24, 20, 0.62) 42%,
    rgba(26, 24, 20, 0.28) 75%,
    rgba(26, 24, 20, 0.15) 100%
  );
}
.hero-banner__content {
  position: relative;
  z-index: 2;
  padding-top: clamp(80px, 14vh, 160px);
  padding-bottom: clamp(80px, 14vh, 160px);
}
.hero-banner__content .eyebrow {
  color: var(--ochre);
}
.hero-banner__content h1 {
  color: var(--bone);
  max-width: 16ch;
  margin-bottom: 0.5em;
}
.hero-banner__content .lead {
  color: var(--bone);
  opacity: 0.92;
  max-width: 42ch;
  margin-bottom: 0;
}
.hero-banner__content .hero__meta {
  color: rgba(242, 237, 229, 0.78);
}
.hero-banner__content .hero__meta span::before {
  color: var(--ochre);
}
/* Botón claro para que resalte sobre la imagen oscura */
.btn--light {
  background: var(--bone);
  color: var(--ink);
}
.btn--light:hover {
  background: var(--ochre);
  color: var(--ink);
}
@media (max-width: 700px) {
  .hero-banner {
    min-height: clamp(520px, 80vh, 720px);
  }
  .hero-banner__overlay {
    background: linear-gradient(
      180deg,
      rgba(26, 24, 20, 0.6) 0%,
      rgba(26, 24, 20, 0.75) 100%
    );
  }
}

.hero__cta {
  margin-top: 40px;
}
.hero__meta {
  display: flex;
  gap: 32px;
  margin-top: 60px;
  font-size: 0.78rem;
  color: var(--soft-text);
  letter-spacing: 0.04em;
  flex-wrap: wrap;
}
.hero__meta span::before {
  content: '·';
  color: var(--ochre);
  margin-right: 8px;
}

/* ---------- Image placeholder (substitute with real photos later) ---------- */
.imgbox {
  background: var(--bone-soft);
  border: 1px solid var(--rule);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--warm-grey);
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  padding: 24px;
}
.imgbox__inner {
  max-width: 30ch;
  line-height: 1.5;
}
.imgbox__inner strong {
  display: block;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.66rem;
  color: var(--ochre);
  margin-bottom: 10px;
}
.imgbox__inner em {
  display: block;
  font-style: italic;
  font-size: 0.74rem;
  color: var(--soft-text);
  margin-top: 6px;
  font-family: var(--display);
}
.imgbox--16x9 { aspect-ratio: 16/9; }
.imgbox--4x5  { aspect-ratio: 4/5; }
.imgbox--1x1  { aspect-ratio: 1/1; }
.imgbox--3x2  { aspect-ratio: 3/2; }
.imgbox--full { aspect-ratio: 21/9; }

/* When real images loaded, drop the .imgbox class and use <img>. */

/* ---------- Servicios (sección oscura, cards + hover reveal) ---------- */
.servicios {
  background: #1A1A1A;
  padding: 96px 0;
}
.servicios-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
}
.servicios-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}
.servicios-kicker {
  font-family: var(--sans);
  font-size: 11px;
  color: #8A8578;
  letter-spacing: 0.14em;
  margin: 0 0 16px;
}
.servicios-title {
  font-family: var(--display);
  font-size: clamp(32px, 4vw, 48px);
  color: #F7F5F0;
  margin: 0;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.servicios-lede {
  font-family: var(--sans);
  font-size: 14px;
  color: #C9C3B8;
  line-height: 1.65;
  margin: 0;
  align-self: end;
}
.servicios-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.servicio-card {
  text-decoration: none;
  display: block;
  cursor: pointer;
}
.servicio-foto {
  aspect-ratio: 3 / 2;
  background: #1A1A1A;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 24px;
  transition: background 0.4s ease;
}
.servicio-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, opacity 0.4s ease;
}
.servicio-card:hover .servicio-foto {
  background: #2A2A2A;
}
.servicio-card:hover .servicio-foto img {
  transform: scale(1.03);
}
.servicio-num {
  font-family: var(--sans);
  font-size: 11px;
  color: #8A8578;
  letter-spacing: 0.14em;
  margin: 0 0 10px;
}
.servicio-name {
  font-family: var(--display);
  font-size: 24px;
  color: #F7F5F0;
  margin: 0 0 12px;
  font-weight: 400;
}
.servicio-desc {
  font-family: var(--sans);
  font-size: 13px;
  color: #C9C3B8;
  line-height: 1.65;
  margin: 0 0 20px;
}
.servicio-link {
  font-family: var(--sans);
  font-size: 11px;
  color: #F7F5F0;
  letter-spacing: 0.12em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 4px;
  border-bottom: 0.5px solid #2A2A2A;
  transition: border-color 0.3s ease, gap 0.3s ease;
}
.servicio-card:hover .servicio-link {
  border-bottom-color: #F7F5F0;
  gap: 10px;
}
.servicio-link .arrow {
  transition: transform 0.3s ease;
}
.servicio-card:hover .servicio-link .arrow {
  transform: translateX(2px);
}
@media (max-width: 768px) {
  .servicios { padding: 64px 0; }
  .servicios-container { padding: 0 18px; }
  .servicios-head {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 40px;
  }
  .servicios-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .servicio-name { font-size: 20px; }
}

/* Banner ancla en home — full width, debajo del hero */
.home-banner {
  width: 100%;
  margin: clamp(40px, 6vw, 80px) 0;
  overflow: hidden;
}
.home-banner img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 80vh;
  object-fit: cover;
}

/* ---------- Section header ---------- */
.section-head {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(20px, 4vw, 80px);
  margin-bottom: 60px;
  align-items: end;
}
.section-head__intro { max-width: 50ch; color: var(--soft-text); }
@media (max-width: 800px) {
  .section-head { grid-template-columns: 1fr; }
}

/* ---------- Featured work ---------- */
.work-feature {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
}
.work-feature__copy { padding-right: 12px; }
.work-feature .eyebrow { margin-bottom: 1em; }
.work-feature h2 { margin-bottom: 24px; }
.work-feature p { color: var(--soft-text); margin-bottom: 28px; max-width: 42ch; }
.work-feature .link-cta { margin-top: 8px; }
@media (max-width: 800px) {
  .work-feature { grid-template-columns: 1fr; }
}

/* ---------- CTA links / buttons ---------- */
.link-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
  transition: gap .2s ease, color .2s ease, border-color .2s ease;
}
.link-cta::after { content: '→'; transition: transform .25s ease; }
.link-cta:hover { color: var(--ochre); border-color: var(--ochre); gap: 18px; }
.link-cta:hover::after { transform: translateX(4px); }

.btn {
  display: inline-block;
  padding: 18px 32px;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: background .2s ease;
}
.btn:hover { background: var(--ochre); color: var(--ink); }

/* ---------- Quote / pull ---------- */
.pull {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.35;
  color: var(--ink);
  max-width: 28ch;
  margin: 0 auto;
  text-align: center;
}

/* ---------- Contacto (formulario Formspree, oscuro editorial) ---------- */
.contacto { background: #1A1A1A; padding: 96px 0; }
.contacto-container { max-width: 1280px; margin: 0 auto; padding: 0 48px; }
.contacto-head { max-width: 720px; margin-bottom: 64px; }
.contacto-kicker {
  font-family: var(--sans);
  font-size: 11px;
  color: #B08D57;
  letter-spacing: 0.14em;
  margin: 0 0 16px;
}
.contacto-title {
  font-family: var(--display);
  font-size: clamp(32px, 4vw, 48px);
  color: #F7F5F0;
  margin: 0 0 20px;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.contacto-lede {
  font-family: var(--sans);
  font-size: 14px;
  color: #C9C3B8;
  line-height: 1.65;
  margin: 0;
}
.contacto-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 64px;
  align-items: start;
}
.contacto-form { display: flex; flex-direction: column; gap: 28px; }
.form-row { display: flex; flex-direction: column; gap: 8px; }
.form-row label {
  font-family: var(--sans);
  font-size: 11px;
  color: #8A8578;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.form-row input,
.form-row select,
.form-row textarea {
  background: transparent;
  border: 0;
  border-bottom: 0.5px solid #2A2A2A;
  color: #F7F5F0;
  padding: 8px 0;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.3s ease;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-bottom-color: #B08D57;
}
.form-row textarea { resize: vertical; min-height: 100px; }
.form-row select { appearance: none; cursor: pointer; }
.form-row select option { background: #1A1A1A; color: #F7F5F0; }
.form-check {
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  margin-top: 4px;
}
.form-check input { width: 14px; height: 14px; margin-top: 3px; flex-shrink: 0; accent-color: #B08D57; }
.form-check label {
  font-family: var(--sans);
  font-size: 12px;
  color: #C9C3B8;
  letter-spacing: normal;
  text-transform: none;
  line-height: 1.5;
}
.form-check label a {
  color: #F7F5F0;
  text-decoration: underline;
  text-decoration-color: #2A2A2A;
}
.form-submit {
  align-self: flex-start;
  background: #F7F5F0;
  color: #1A1A1A;
  border: 0;
  padding: 13px 22px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  transition: gap 0.3s ease, background 0.3s ease;
  margin-top: 12px;
}
.form-submit:hover { gap: 12px; background: #F7F5F0; }
.contacto-aside { padding-top: 8px; }
.contacto-aside-label {
  font-family: var(--sans);
  font-size: 11px;
  color: #8A8578;
  letter-spacing: 0.14em;
  margin: 0 0 24px;
}
.contacto-aside-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contacto-aside-list li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.aside-key {
  font-family: var(--sans);
  font-size: 11px;
  color: #8A8578;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.contacto-aside-list a,
.contacto-aside-list span:not(.aside-key) {
  font-family: var(--sans);
  font-size: 14px;
  color: #F7F5F0;
  text-decoration: none;
  border-bottom: 0.5px solid transparent;
  transition: border-color 0.3s ease;
  align-self: flex-start;
}
.contacto-aside-list a:hover { border-bottom-color: #B08D57; }
@media (max-width: 768px) {
  .contacto { padding: 64px 0; }
  .contacto-container { padding: 0 18px; }
  .contacto-layout { grid-template-columns: 1fr; gap: 48px; }
  .contacto-head { margin-bottom: 40px; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--bone);
  padding: 32px 0;
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  border-top: 1px solid rgba(242,237,229,0.12);
}
.site-footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  opacity: 0.7;
}

/* =========================================================
   CASO DE ESTUDIO — estilos especificos
   ========================================================= */

.case-hero {
  padding-top: clamp(40px, 6vw, 80px);
  padding-bottom: clamp(40px, 6vw, 80px);
}
.case-hero__title {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-bottom: 48px;
}
.case-client-logo {
  max-width: 160px;
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 24px;
  opacity: 0.92;
}
.case-hero__title h1 { font-size: clamp(3rem, 9vw, 7rem); font-weight: 300; letter-spacing: -0.025em; margin-bottom: 0; }

/* Logo de cliente como título — sustituye al texto h1 */
.case-hero__logo {
  margin: 0 0 8px;
  line-height: 1;
}
.case-hero__logo img {
  display: block;
  max-width: 100%;
  height: auto;
  width: clamp(180px, 28vw, 360px);
}
.case-hero__title .subtitle {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.2rem, 2.4vw, 1.7rem);
  color: var(--soft-text);
  max-width: 50ch;
}

.case-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 3vw, 40px);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 24px 0;
  margin-bottom: clamp(40px, 6vw, 80px);
}
.case-meta__item .label {
  display: block;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ochre);
  margin-bottom: 8px;
}
.case-meta__item .value {
  font-size: 0.92rem;
  color: var(--ink);
  font-weight: 500;
}
@media (max-width: 700px) {
  .case-meta { grid-template-columns: 1fr; gap: 16px; }
}

.case-block {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(24px, 4vw, 80px);
  padding: clamp(40px, 6vw, 80px) 0;
}
.case-block .heading {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ochre);
}
.case-block p {
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 1.7;
  max-width: 60ch;
}
.case-block + .case-block { border-top: 1px solid var(--rule); }
@media (max-width: 800px) {
  .case-block { grid-template-columns: 1fr; gap: 12px; }
}

.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(8px, 1.5vw, 16px);
  margin: clamp(40px, 6vw, 80px) 0;
  align-items: start;
}
.gallery .imgbox { width: 100%; height: 100%; }

/* When a real <img> is inside .imgbox, free the aspect ratio
   and show the image at its natural proportions (no forced crop). */
.gallery .imgbox:has(img) {
  padding: 0;
  background: none;
  border: none;
  aspect-ratio: auto;
}
.gallery .imgbox img {
  display: block;
  max-width: 100%;
  max-height: 80vh;
  width: auto;
  height: auto;
  margin: 0 auto;
}

.gallery .g-full   { grid-column: 1 / -1; }
.gallery .g-half   { grid-column: span 6; }
.gallery .g-third  { grid-column: span 4; }
.gallery .g-twothirds { grid-column: span 8; }
@media (max-width: 700px) {
  .gallery .g-half, .gallery .g-third, .gallery .g-twothirds { grid-column: 1 / -1; }
}

/* ---------- Editorial galleries ---------- */
.figure { margin: 0; }
.figure img { width: 100%; height: auto; display: block; }
.figure figcaption {
  margin-top: 12px;
  font-family: var(--sans);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  color: var(--soft-text);
}

/* Hero image of a case page (horizontal-friendly, accepts any aspect) */
.case-hero-image {
  margin: 8px auto clamp(40px, 6vw, 72px);
  max-width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.case-hero-image img {
  display: block;
  max-width: 100%;
  max-height: 70vh;
  width: auto;
  height: auto;
}

/* ---------- Bio page — magazine profile (photo + text en cuadros) ---------- */
.bio-frame {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(16px, 3vw, 40px);
  align-items: start;
  margin: clamp(24px, 4vw, 48px) 0 clamp(48px, 6vw, 80px);
}

/* Photo column — framed */
.bio-frame__photo {
  background: var(--bone-soft);
  border: 1px solid var(--rule);
  padding: 14px;
}
.bio-frame__photo > * { width: 100%; }
.bio-frame__photo img {
  width: 100%;
  height: auto;
  display: block;
}
.bio-frame__photo .imgbox { aspect-ratio: 4/5; }

/* Text column — boxed */
.bio-frame__text {
  background: var(--bone-soft);
  border: 1px solid var(--rule);
  padding: clamp(28px, 4vw, 56px);
}
.bio-frame__text .eyebrow { margin-bottom: 14px; }
.bio-frame__text h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  margin-bottom: 12px;
}
.bio-frame__subtitle {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: var(--soft-text);
  margin-bottom: clamp(20px, 3vw, 32px);
}

/* Body text inside the boxed bio */
.bio-lead {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  line-height: 1.4;
  color: var(--ink);
  margin: 0 0 1.4em;
}
.bio-frame__text p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  margin-bottom: 1.2em;
}
.bio-frame__text p:last-child { margin-bottom: 0; }

/* Aphorism — the citable line embebded in body */
.bio-aphorism {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  color: var(--ink);
  border-left: 2px solid var(--ochre);
  padding-left: clamp(16px, 2vw, 24px);
  margin: 1.6em 0;
  font-weight: 300;
}

/* Mobile: stack columns */
@media (max-width: 800px) {
  .bio-frame {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .bio-frame__photo { max-width: 420px; margin: 0 auto; width: 100%; }
}

/* Featured work image on home (use real image not placeholder) */
.work-feature .figure { width: 100%; }
.work-feature .figure img { width: 100%; height: auto; display: block; }

/* Asymmetric editorial gallery — varied widths, natural aspect (no crop).
   Smaller items anchor to the bottom of the row for magazine-style rhythm. */
.gallery-mix {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(8px, 1.5vw, 16px);
  margin: clamp(32px, 5vw, 64px) 0;
  align-items: end;
}
.gallery-mix .figure { margin: 0; }
.gallery-mix .figure img {
  width: 100%;
  height: auto;
  display: block;
}
.gallery-mix .g-full       { grid-column: 1 / -1; }
.gallery-mix .g-half       { grid-column: span 6; }
.gallery-mix .g-five       { grid-column: span 5; }
.gallery-mix .g-seven      { grid-column: span 7; }
.gallery-mix .g-third      { grid-column: span 4; }
.gallery-mix .g-twothirds  { grid-column: span 8; }
@media (max-width: 700px) {
  .gallery-mix {
    grid-template-columns: 1fr;
    align-items: stretch;
  }
}

/* ---------- Video 360º ---------- */
.video-360 {
  display: flex;
  justify-content: center;
  margin: clamp(32px, 5vw, 56px) 0;
}
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(6px, 1.5vw, 20px);
  margin: clamp(32px, 5vw, 56px) 0;
}
.video-wrapper {
  width: 100%;
  max-width: 360px;
  aspect-ratio: 9/16;
  background: var(--bone-soft);
  border: 1px solid var(--rule);
  overflow: hidden;
}
.video-grid .video-wrapper { max-width: none; }
.video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.video-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--warm-grey);
  font-family: var(--sans);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  padding: 32px;
}
.video-placeholder strong {
  display: block;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.7rem;
  color: var(--ochre);
  margin-bottom: 12px;
}
.video-placeholder code {
  display: inline-block;
  background: var(--bone);
  padding: 3px 8px;
  margin-top: 8px;
  font-size: 0.74rem;
  color: var(--ink);
  border-radius: 2px;
}

.case-table {
  width: 100%;
  border-collapse: collapse;
  margin: 40px 0;
  font-size: 0.95rem;
}
.case-table th, .case-table td {
  text-align: left;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
}
.case-table th {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ochre);
  width: 30%;
}
.case-table td {
  color: var(--ink);
  font-weight: 500;
}

.testimonial {
  padding: clamp(60px, 8vw, 100px) 0;
  text-align: center;
}
.testimonial blockquote {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  line-height: 1.3;
  margin: 0 auto;
  max-width: 30ch;
  color: var(--ink);
}
.testimonial cite {
  display: block;
  margin-top: 32px;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-style: normal;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--soft-text);
}

.case-cta {
  background: var(--bone-soft);
  text-align: center;
  padding: clamp(60px, 8vw, 100px) 0;
}
.case-cta h3 {
  margin-bottom: 24px;
  max-width: 22ch;
  margin-left: auto;
  margin-right: auto;
}
.case-cta p {
  color: var(--soft-text);
  max-width: 40ch;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 32px;
}

/* ---------- Anchor return ---------- */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--soft-text);
  margin-bottom: 32px;
  transition: color .2s ease;
}
.back-link::before { content: '←'; transition: transform .2s ease; }
.back-link:hover { color: var(--ochre); }
.back-link:hover::before { transform: translateX(-4px); }

/* =========================================================
   PORTFOLIO / TRABAJO page — slots, cards, effects
   ========================================================= */

/* Portfolio hero — sober opener */
.portfolio-hero {
  padding-top: clamp(48px, 8vw, 96px);
  padding-bottom: clamp(32px, 5vw, 56px);
}
.portfolio-hero h1 {
  margin: 12px 0 24px;
  max-width: 16ch;
}
.portfolio-hero .lead {
  max-width: 42ch;
  color: var(--soft-text);
}

/* Featured cases — 2-col grid of large cards */
.featured-cases {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 2.5vw, 32px);
  margin: clamp(32px, 5vw, 64px) 0;
}
@media (max-width: 760px) {
  .featured-cases { grid-template-columns: 1fr; }
}

.case-card {
  position: relative;
  display: block;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  background: var(--bone-soft);
  aspect-ratio: 4/5;
  border: 1px solid var(--rule);
  cursor: pointer;
  transition: border-color .35s ease;
}
.case-card--placeholder { cursor: default; }

.case-card__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.case-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .9s cubic-bezier(0.2, 0.6, 0.2, 1), filter .6s ease;
}
.case-card:hover .case-card__media img,
.case-card:focus-within .case-card__media img {
  transform: scale(1.04);
}

/* Placeholder estado */
.case-card__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  background: var(--bone-soft);
  transition: background .35s ease;
}
.case-card--placeholder:hover .case-card__placeholder {
  background: #F7F5F0;  /* slightly darker bone */
}
.case-card__placeholder strong {
  display: block;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ochre);
  margin-bottom: 12px;
}
.case-card__placeholder span {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  color: var(--soft-text);
}
.case-card:hover {
  border-color: var(--ochre);
}

/* Overlay caption (slides up from bottom) */
.case-card__overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: clamp(20px, 3vw, 36px);
  background: linear-gradient(180deg, transparent 0%, rgba(26, 24, 20, 0.65) 35%, rgba(26, 24, 20, 0.92) 100%);
  color: var(--bone);
  transform: translateY(100%);
  transition: transform .55s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.case-card:hover .case-card__overlay,
.case-card:focus-within .case-card__overlay {
  transform: translateY(0);
}
.case-card__overlay .case-card__eyebrow {
  display: block;
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ochre);
  margin: 0 0 8px;
}
.case-card__overlay h3 {
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--bone);
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.case-card__overlay .case-card__desc {
  font-size: 0.92rem;
  color: var(--bone);
  opacity: 0.85;
  margin: 0;
}

/* Selección suelta — slight hover accent on placeholders */
.seleccion .gallery .imgbox {
  transition: border-color .35s ease, background .35s ease;
}
.seleccion .gallery .imgbox:hover {
  border-color: var(--ochre);
  background: #F7F5F0;
}
.seleccion .gallery .imgbox img {
  transition: transform .9s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.seleccion .gallery .imgbox:hover img {
  transform: scale(1.04);
}

/* =========================================================
   SCROLL REVEAL — blur to sharp + fade up
   Triggered by JS adding .is-visible class
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  filter: blur(8px);
  transition: opacity 1s cubic-bezier(0.25, 0.1, 0.25, 1),
              transform 1s cubic-bezier(0.25, 0.1, 0.25, 1),
              filter 1s cubic-bezier(0.25, 0.1, 0.25, 1);
  will-change: opacity, transform, filter;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* Stagger effect for children of .reveal-stagger */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(30px);
  filter: blur(6px);
  transition: opacity .85s cubic-bezier(0.25, 0.1, 0.25, 1),
              transform .85s cubic-bezier(0.25, 0.1, 0.25, 1),
              filter .85s cubic-bezier(0.25, 0.1, 0.25, 1);
  will-change: opacity, transform, filter;
}
.reveal-stagger.is-visible > * {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: .08s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: .16s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: .24s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: .32s; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: .40s; }
.reveal-stagger.is-visible > *:nth-child(7) { transition-delay: .48s; }
.reveal-stagger.is-visible > *:nth-child(8) { transition-delay: .56s; }
.reveal-stagger.is-visible > *:nth-child(9) { transition-delay: .64s; }
.reveal-stagger.is-visible > *:nth-child(10) { transition-delay: .72s; }

/* Respeto a quien tenga "reduce motion" activado */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-stagger > * {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
  .case-card__media img,
  .case-card__overlay,
  .seleccion .gallery .imgbox img {
    transition: none;
  }
}

/* =========================================================
   CARRUSEL HORIZONTAL — auto-play infinito + pausa hover
   ========================================================= */
.carousel {
  width: 100%;
  overflow: hidden;
  position: relative;
  margin: clamp(16px, 2.5vw, 32px) 0 0;
  --carousel-speed: 30s;
}
.carousel__track {
  display: flex;
  gap: clamp(12px, 1.8vw, 22px);
  width: max-content;
  animation: carousel-scroll var(--carousel-speed) linear infinite;
  will-change: transform;
}
.carousel--reverse .carousel__track {
  animation-name: carousel-scroll-reverse;
}
.carousel:hover .carousel__track {
  animation-play-state: paused;
}

@keyframes carousel-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes carousel-scroll-reverse {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}

.carousel__item {
  flex-shrink: 0;
  width: clamp(220px, 28vw, 340px);
  aspect-ratio: 4/5;
  background: var(--bone-soft);
  border: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  margin: 0;
  user-select: none;
  overflow: hidden;
  transition: border-color .35s ease;
}
.carousel:hover .carousel__item:hover {
  border-color: var(--ochre);
}
.carousel__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.carousel__placeholder {
  max-width: 30ch;
  line-height: 1.5;
  color: var(--warm-grey);
  font-family: var(--sans);
  font-size: 0.78rem;
}
.carousel__placeholder strong {
  display: block;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.7rem;
  color: var(--ochre);
  margin-bottom: 10px;
}
.carousel__placeholder em {
  display: block;
  font-style: italic;
  font-size: 0.74rem;
  color: var(--soft-text);
  margin-top: 6px;
  font-family: var(--display);
}

/* Edge fades — borde difuminado para que la salida no sea brusca */
.carousel::before,
.carousel::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(40px, 8vw, 100px);
  pointer-events: none;
  z-index: 2;
}
.carousel::before {
  left: 0;
  background: linear-gradient(to right, var(--bone) 0%, transparent 100%);
}
.carousel::after {
  right: 0;
  background: linear-gradient(to left, var(--bone) 0%, transparent 100%);
}

/* Pausa también en motion-reduced */
@media (prefers-reduced-motion: reduce) {
  .carousel__track {
    animation: none;
    transform: translateX(0);
  }
}

/* =========================================================
   SUB-PÁGINAS DE SERVICIO — proceso, inclusiones, packs, FAQ
   ========================================================= */

/* (.process-steps eliminado — sección "pasos" retirada de servicios; home usa .pasos) */

/* ---- Inclusiones (9 con íconos SVG) ---- */
.inclusions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vw, 56px);
  margin-top: clamp(32px, 5vw, 64px);
}
.inclusion {
  display: flex;
  flex-direction: column;
}
.inclusion__icon {
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  display: block;
}
.inclusion h4 {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 500;
  margin: 0 0 10px;
  line-height: 1.25;
}
.inclusion p {
  font-size: 0.92rem;
  color: var(--soft-text);
  line-height: 1.6;
  margin: 0;
}
@media (max-width: 800px) {
  .inclusions-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .inclusions-grid { grid-template-columns: 1fr; }
}

/* ---- Packs (4 columnas con precios) ---- */
.packs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 28px);
  margin-top: clamp(32px, 5vw, 56px);
}
.pack {
  border: 1px solid var(--rule);
  padding: clamp(24px, 3vw, 36px);
  background: var(--bone-soft);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color .3s ease, transform .35s ease;
}
.pack:hover {
  border-color: var(--ochre);
  transform: translateY(-3px);
}
.pack--featured {
  background: var(--ink);
  color: var(--bone);
  border-color: var(--ink);
}
.pack--featured:hover {
  border-color: var(--ochre);
}
.pack__badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--ochre);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 6px 14px;
  margin: 0;
  border-radius: 2px;
}
.pack__name {
  font-family: var(--display);
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 500;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.pack__intro {
  font-size: 0.85rem;
  color: var(--soft-text);
  margin: 0 0 24px;
  line-height: 1.5;
  min-height: 2.5em;
}
.pack--featured .pack__intro { color: rgba(242, 237, 229, 0.7); }
.pack__specs {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.pack--featured .pack__specs {
  border-color: rgba(242, 237, 229, 0.15);
}
.pack__specs li {
  padding: 12px 0;
  font-size: 0.88rem;
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-bottom: 1px solid var(--rule);
}
.pack--featured .pack__specs li {
  border-bottom-color: rgba(242, 237, 229, 0.1);
}
.pack__specs li:last-child { border-bottom: none; }
.pack__specs li span {
  font-family: var(--sans);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ochre);
}
.pack__price {
  margin: 0 0 24px;
  text-align: left;
}
.pack__price-old {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.92rem;
  color: var(--warm-grey);
  text-decoration: line-through;
  margin-right: 12px;
}
.pack__price-new {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 500;
  display: block;
  letter-spacing: -0.01em;
}
.pack__price-note {
  display: block;
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--soft-text);
  margin-top: 4px;
}
.pack--featured .pack__price-note { color: rgba(242, 237, 229, 0.55); }

.packs-nota {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 0.5px solid #C9C3B8;
  max-width: 720px;
  font-size: 13px;
  line-height: 1.6;
  color: #8A8578;
}
.packs-nota strong {
  color: #1A1A1A;
  font-weight: 500;
}
@media (max-width: 768px) {
  .packs-nota {
    font-size: 12px;
    margin-top: 24px;
    padding-top: 20px;
  }
}

/* Énfasis editorial en texto — ocre + subrayado fino */
.text-promo {
  color: var(--ochre);
  font-style: normal;
  font-weight: 600;
  border-bottom: 1px solid var(--ochre);
  padding-bottom: 1px;
}
.pack .link-cta { margin-top: auto; align-self: flex-start; }
.pack--featured .link-cta {
  color: var(--bone);
  border-color: var(--bone);
}
.pack--featured .link-cta:hover {
  color: var(--ochre);
  border-color: var(--ochre);
}
@media (max-width: 1000px) {
  .packs { grid-template-columns: repeat(2, 1fr); }
  .pack__badge { font-size: 0.62rem; }
}
@media (max-width: 540px) {
  .packs { grid-template-columns: 1fr; gap: 32px; }
}

/* Variante 3 packs */
.packs--three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) {
  .packs--three { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .packs--three { grid-template-columns: 1fr; }
}

/* ---- Extras (servicios opcionales) ---- */
.extras {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(28px, 4vw, 48px);
  margin-top: clamp(32px, 5vw, 56px);
  max-width: 900px;
}
.extra {
  border-top: 1px solid var(--ink);
  padding-top: 24px;
}
.extra h3 {
  font-family: var(--display);
  font-size: clamp(1.35rem, 2vw, 1.55rem);
  font-weight: 500;
  margin: 0 0 12px;
  line-height: 1.25;
}
.extra p {
  font-size: 0.95rem;
  color: var(--soft-text);
  line-height: 1.6;
  margin: 0 0 16px;
}
.extra__price {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--ink) !important;
  font-weight: 500;
  margin: 0 !important;
}

/* ---- FAQ ---- */
.faq {
  margin-top: clamp(32px, 5vw, 56px);
  max-width: 80ch;
}
.faq__item {
  border-bottom: 1px solid var(--rule);
  padding: clamp(18px, 2.5vw, 28px) 0;
}
.faq__item summary {
  font-family: var(--display);
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 40px;
  line-height: 1.3;
  transition: color .25s ease;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: '+';
  position: absolute;
  right: 4px;
  top: -2px;
  font-family: var(--sans);
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--ochre);
  transition: transform .35s ease;
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item summary:hover { color: var(--ochre); }
.faq__item p {
  margin: 16px 0 0;
  font-size: 0.95rem;
  color: var(--soft-text);
  line-height: 1.7;
  max-width: 70ch;
}

/* =========================================================
   HERO SPLIT — layout editorial, reemplaza header+hero en home
   ========================================================= */
.hero-split { background: #1A1A1A; padding: 20px 24px 30px; }
.hero-split__nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 38px;
}
.hero-split__logo {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: #F7F5F0;
  text-decoration: none;
}
.hero-split__menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 20px;
}
.hero-split__menu a {
  font-family: var(--sans);
  font-size: 11px;
  color: #8A8578;
  text-decoration: none;
  transition: color .2s ease;
}
.hero-split__menu a:hover { color: #F7F5F0; }
.hero-split__burger {
  display: none;
  background: none;
  border: none;
  color: #F7F5F0;
  cursor: pointer;
  padding: 4px;
}

.hero-split__grid {
  display: grid;
  grid-template-columns: 55% 45%;
  gap: 28px;
  align-items: center;
}
.hero-split__media { aspect-ratio: 3 / 2; background: #1A1A1A; border-radius: 4px; overflow: hidden; }
.hero-split__placeholder {
  aspect-ratio: 3 / 2;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8A8578;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-align: center;
}
.hero-split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.hero-split__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4px 0;
}
.hero-split__kicker {
  font-family: var(--sans);
  font-size: 12px;
  color: #8A8578;
  letter-spacing: 0.05em;
  margin: 0 0 26px;
}
.hero-split__title {
  font-family: var(--display);
  font-size: clamp(26px, 2.2vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: #F7F5F0;
  font-weight: 400;
  margin: 0 0 26px;
}
.hero-split__lede {
  font-size: 15px;
  line-height: 1.65;
  color: #C9C3B8;
  margin: 0 0 32px;
}
.hero-split__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  background: #F7F5F0;
  color: #1A1A1A;
  border-radius: 999px;
  padding: 13px 24px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: background .2s ease;
}
.hero-split__cta:hover { background: #C9C3B8; }
.hero-split__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
}
.hero-split__tags li {
  padding: 5px 13px;
  border: 0.5px solid #2A2A2A;
  color: #8A8578;
  font-family: var(--sans);
  font-size: 12px;
  border-radius: 999px;
}

.hero-split__cta:focus-visible,
.hero-split__menu a:focus-visible,
.hero-split__logo:focus-visible,
.hero-split__burger:focus-visible {
  outline: 2px solid #F7F5F0;
  outline-offset: 3px;
}

@media (max-width: 767px) {
  .hero-split { padding: 18px 18px 26px; }
  .hero-split__nav { margin-bottom: 22px; }
  .hero-split__burger { display: block; }
  .hero-split__menu {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 14px;
    background: #1A1A1A;
    padding: 18px;
    border: 0.5px solid #2A2A2A;
    border-radius: 6px;
    z-index: 10;
  }
  .hero-split__menu.is-open { display: flex; }
  .hero-split__grid {
    grid-template-columns: 1fr;
    gap: 0;
    min-height: 0;
  }
  .hero-split__media { margin-bottom: 26px; }
  .hero-split__title { font-size: 24px; }
  .hero-split__cta {
    width: 100%;
    justify-content: center;
    padding: 13px 20px;
    font-size: 13px;
  }
}

/* =========================================================
   NAV UNIFICADA — todas las páginas
   ========================================================= */
.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}
.site-nav__logo {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #F7F5F0;
  text-decoration: none;
}
.site-nav__menu { display: flex; gap: 20px; }
.site-nav__menu a {
  font-family: var(--sans);
  font-size: 11px;
  color: #8A8578;
  text-decoration: none;
  transition: color .2s ease;
}
.site-nav__menu a:hover { color: #F7F5F0; }
.site-nav__menu a[aria-current="page"] { color: #F7F5F0; }
.site-nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 210;
}
.site-nav__bar {
  display: block;
  width: 22px;
  height: 1.5px;
  background: #F7F5F0;
  transition: transform .3s ease, opacity .3s ease;
}

/* Barra standalone (páginas internas) — NO sticky */
.site-nav--bar {
  background: #1A1A1A;
  padding: 20px var(--gutter);
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.06);
}

/* Dentro del hero-split (index): espaciado antes del grid */
.hero-split .site-nav { margin-bottom: 38px; }

/* Focus visible */
.site-nav__menu a:focus-visible,
.site-nav__logo:focus-visible,
.site-nav__burger:focus-visible {
  outline: 2px solid #F7F5F0;
  outline-offset: 3px;
}

/* MOBILE <768px — overlay full-screen */
@media (max-width: 767px) {
  .site-nav__burger { display: flex; }
  .site-nav__menu {
    position: fixed;
    inset: 0;
    background: #1A1A1A;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    transform: translateX(100%);
    transition: transform .35s ease;
    z-index: 200;
  }
  .site-nav__menu.is-open { transform: translateX(0); }
  .site-nav__menu a { font-size: 22px; color: #F7F5F0; }
  body.nav-open { overflow: hidden; }
  .site-nav__burger[aria-expanded="true"] .site-nav__bar:nth-child(1) {
    transform: translateY(3.25px) rotate(45deg);
  }
  .site-nav__burger[aria-expanded="true"] .site-nav__bar:nth-child(2) {
    transform: translateY(-3.25px) rotate(-45deg);
  }
}

/* ---------- Cuatro pasos (stepper interactivo, oscuro) ---------- */
.pasos { background: #1A1A1A; padding: 96px 0; }
.pasos-container { max-width: 1280px; margin: 0 auto; padding: 0 48px; }
.pasos-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}
.pasos-kicker {
  font-family: var(--sans);
  font-size: 11px;
  color: #B08D57;
  letter-spacing: 0.14em;
  margin: 0 0 16px;
}
.pasos-title {
  font-family: var(--display);
  font-size: clamp(32px, 4vw, 48px);
  color: #F7F5F0;
  margin: 0;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.pasos-lede {
  font-family: var(--sans);
  font-size: 14px;
  color: #C9C3B8;
  line-height: 1.65;
  margin: 0;
  align-self: end;
}
.pasos-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 0.5px solid #2A2A2A;
  border-bottom: 0.5px solid #2A2A2A;
}
.paso-tab {
  background: transparent;
  border: 0;
  padding: 24px 16px;
  cursor: pointer;
  text-align: left;
  border-right: 0.5px solid #2A2A2A;
  transition: background 0.3s ease;
  font-family: inherit;
}
.paso-tab:last-child { border-right: 0; }
.paso-tab:hover { background: rgba(201,168,118,0.04); }
.paso-tab-num {
  font-family: var(--sans);
  font-size: 11px;
  color: #8A8578;
  letter-spacing: 0.14em;
  margin: 0 0 8px;
  transition: color 0.3s;
}
.paso-tab-label {
  font-family: var(--display);
  font-size: 18px;
  color: #8A8578;
  margin: 0;
  font-weight: 400;
  transition: color 0.3s;
}
.paso-tab.active .paso-tab-num { color: #B08D57; }
.paso-tab.active .paso-tab-label { color: #F7F5F0; }
.paso-tab.active { background: rgba(201,168,118,0.06); }
.paso-tab:focus-visible {
  outline: 1px solid #B08D57;
  outline-offset: -2px;
}
.paso-panel {
  padding: 56px 4px 0;
  min-height: 180px;
}
.paso-panel-num {
  font-family: var(--sans);
  font-size: 11px;
  color: #B08D57;
  letter-spacing: 0.14em;
  margin: 0 0 18px;
}
.paso-panel-name {
  font-family: var(--display);
  font-size: 32px;
  color: #F7F5F0;
  margin: 0 0 20px;
  font-weight: 400;
  line-height: 1.1;
}
.paso-panel-desc {
  font-family: var(--sans);
  font-size: 15px;
  color: #C9C3B8;
  line-height: 1.7;
  margin: 0;
  max-width: 640px;
}

/* ---------- Quote break (frase aislada, fondo claro) ---------- */
.quote-break { background: #F7F5F0; padding: 120px 0; }
.quote-break-container {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 48px;
  text-align: center;
}
.quote-break-text {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(28px, 4vw, 44px);
  color: #1A1A1A;
  margin: 0;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

@media (max-width: 768px) {
  .pasos { padding: 64px 0; }
  .pasos-container { padding: 0 18px; }
  .pasos-head { grid-template-columns: 1fr; gap: 20px; margin-bottom: 40px; }
  .pasos-tabs { grid-template-columns: repeat(2, 1fr); }
  .paso-tab { padding: 18px 14px; }
  .paso-tab:nth-child(1), .paso-tab:nth-child(2) {
    border-bottom: 0.5px solid #2A2A2A;
  }
  .paso-tab:nth-child(2) { border-right: 0; }
  .paso-panel { padding: 36px 0 0; }
  .paso-panel-name { font-size: 24px; }
  .paso-panel-desc { font-size: 14px; }
  .quote-break { padding: 72px 0; }
  .quote-break-container { padding: 0 24px; }
}

/* ---------- Producciones (trabajos destacados, grilla 2x2) ---------- */
.producciones { background: #F7F5F0; padding: 96px 0; }
.producciones-container { max-width: 1280px; margin: 0 auto; padding: 0 48px; }
.producciones-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}
.producciones-kicker {
  font-family: var(--sans);
  font-size: 11px;
  color: #B08D57;
  letter-spacing: 0.14em;
  margin: 0 0 16px;
}
.producciones-title {
  font-family: var(--display);
  font-size: clamp(32px, 4vw, 48px);
  color: #1A1A1A;
  margin: 0;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.producciones-lede {
  font-family: var(--sans);
  font-size: 14px;
  color: #8A8578;
  line-height: 1.65;
  margin: 0;
  align-self: end;
}
.producciones-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px 32px;
  margin-bottom: 64px;
}
.produccion-card {
  text-decoration: none;
  display: block;
  cursor: pointer;
}
.produccion-foto {
  aspect-ratio: 1 / 1;
  background: #C9C3B8;
  overflow: hidden;
  margin-bottom: 20px;
  border-radius: 2px;
}
.produccion-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.produccion-card:hover .produccion-foto img {
  transform: scale(1.03);
}
.produccion-meta {
  font-family: var(--sans);
  font-size: 11px;
  color: #8A8578;
  letter-spacing: 0.14em;
  margin: 0 0 10px;
}
.produccion-name {
  font-family: var(--display);
  font-size: 22px;
  color: #1A1A1A;
  margin: 0 0 10px;
  font-weight: 400;
}
.produccion-desc {
  font-family: var(--sans);
  font-size: 13px;
  color: #8A8578;
  line-height: 1.6;
  margin: 0;
  max-width: 440px;
}
.producciones-cta-wrap {
  text-align: right;
  border-top: 0.5px solid #C9C3B8;
  padding-top: 32px;
}
.producciones-cta {
  font-family: var(--sans);
  font-size: 11px;
  color: #1A1A1A;
  letter-spacing: 0.14em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 0.5px solid #C9C3B8;
  transition: border-color 0.3s, gap 0.3s;
}
.producciones-cta:hover {
  border-bottom-color: #1A1A1A;
  gap: 12px;
}

@media (max-width: 768px) {
  .producciones { padding: 64px 0; }
  .producciones-container { padding: 0 18px; }
  .producciones-head {
    grid-template-columns: 1fr; gap: 20px; margin-bottom: 40px;
  }
  .producciones-grid {
    grid-template-columns: 1fr; gap: 40px; margin-bottom: 40px;
  }
  .produccion-name { font-size: 20px; }
  .producciones-cta-wrap { text-align: left; padding-top: 24px; }
}

/* ---------- FAQ home (acordeón nativo, oscuro) — namespace propio .faq-section ---------- */
.faq-section { background: #1A1A1A; padding: 96px 0; border-top: 0.5px solid #2A2A2A; }
.faq-container { max-width: 1280px; margin: 0 auto; padding: 0 48px; }
.faq-head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-bottom: 64px; }
.faq-kicker { font-family: var(--sans); font-size: 11px; color: #B08D57; letter-spacing: 0.14em; margin: 0 0 16px; }
.faq-title { font-family: var(--display); font-size: clamp(32px, 4vw, 48px); color: #F7F5F0; margin: 0; font-weight: 400; line-height: 1.1; letter-spacing: -0.01em; }
.faq-lede { font-family: var(--sans); font-size: 14px; color: #C9C3B8; line-height: 1.65; margin: 0; align-self: end; }
.faq-list { max-width: 880px; margin: 0 auto 0 0; }
.faq-item { border-bottom: 0.5px solid #2A2A2A; }
.faq-item:first-child { border-top: 0.5px solid #2A2A2A; }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; padding: 24px 0; cursor: pointer; list-style: none; gap: 24px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q { font-family: var(--display); font-size: 19px; color: #F7F5F0; font-weight: 400; line-height: 1.3; }
.faq-toggle { color: #B08D57; font-size: 18px; flex-shrink: 0; transition: transform 0.3s ease; font-family: var(--font-mono, monospace); }
.faq-item[open] .faq-toggle { transform: rotate(45deg); }
.faq-a { padding: 0 0 24px; max-width: 720px; }
.faq-a p { font-family: var(--sans); font-size: 14px; color: #C9C3B8; line-height: 1.7; margin: 0; }
@media (max-width: 768px) {
  .faq-section { padding: 64px 0; }
  .faq-container { padding: 0 18px; }
  .faq-head { grid-template-columns: 1fr; gap: 20px; margin-bottom: 40px; }
  .faq-q { font-size: 16px; }
  .faq-item summary { padding: 20px 0; gap: 16px; }
}

/* Focus states accesibles y on-brand */
*:focus { outline: none; }

a:focus-visible,
button:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 1px solid #B08D57;
  outline-offset: 3px;
  border-radius: 2px;
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: none;
  /* El border-bottom dorado ya hace el trabajo (definido antes) */
}

input[type="checkbox"]:focus-visible {
  outline: 1px solid #B08D57;
  outline-offset: 2px;
}

/* === PÁGINA DE CASO (cuchillos / Razor) === */

.caso { background: #1A1A1A; }

/* ─── Hero del caso ─── */
.caso-hero {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 0;
  min-height: 80vh;
  align-items: stretch;
}
.caso-hero-img { background: #1A1A1A; overflow: hidden; }
.caso-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.caso-hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px;
}
.caso-kicker { font-family: var(--sans); font-size: 11px; color: #B08D57; letter-spacing: 0.14em; margin: 0 0 24px; }
.caso-title {
  font-family: var(--display);
  font-size: clamp(48px, 7vw, 88px);
  color: #F7F5F0;
  margin: 0 0 18px;
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.02em;
}
.caso-subtitle { font-family: var(--sans); font-size: 14px; color: #C9C3B8; margin: 0; line-height: 1.5; }

/* ─── Contexto / metadata ─── */
.caso-contexto { padding: 96px 0; }
.caso-contexto-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
}
.caso-meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  border-top: 0.5px solid #2A2A2A;
  padding-top: 32px;
  align-self: start;
}
.caso-meta-label { font-family: var(--sans); font-size: 11px; color: #B08D57; letter-spacing: 0.14em; margin: 0 0 8px; }
.caso-meta-value {
  font-family: var(--display);
  font-size: 22px;
  color: #F7F5F0;
  margin: 0 0 4px;
  font-weight: 400;
  line-height: 1.2;
}
.caso-meta-sub { font-family: var(--sans); font-size: 12px; color: #8A8578; margin: 0; line-height: 1.4; }
.caso-intro p { font-family: var(--sans); font-size: 15px; color: #C9C3B8; line-height: 1.75; margin: 0 0 18px; max-width: 640px; }
.caso-intro p:last-child { margin-bottom: 0; }

/* ─── Bloques de modelo ─── */
.caso-modelos { padding: 32px 0 96px; }
.caso-modelos-inner { max-width: 1280px; margin: 0 auto; padding: 0 48px; }
.modelo { padding: 64px 0; }
.modelo:first-child { padding-top: 32px; }
.modelo-counter {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 16px;
  border-bottom: 0.5px solid #2A2A2A;
  margin-bottom: 32px;
}
.modelo-counter-label { font-family: var(--sans); font-size: 11px; color: #B08D57; letter-spacing: 0.18em; }
.modelo-counter-num { font-size: 11px; color: #8A8578; letter-spacing: 0.14em; font-family: var(--font-mono, monospace); }
.modelo-head { margin-bottom: 36px; }
.modelo-name {
  font-family: var(--display);
  font-size: clamp(32px, 4vw, 52px);
  color: #F7F5F0;
  margin: 0 0 10px;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.modelo-desc { font-family: var(--sans); font-size: 13px; color: #8A8578; letter-spacing: 0.04em; margin: 0; }
.modelo-amb {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 44px;
}
.modelo-cat-label { font-family: var(--sans); font-size: 11px; color: #8A8578; letter-spacing: 0.18em; margin: 0 0 16px; }
.modelo-cat { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

/* ─── Fotos clickables (triggers de lightbox) ─── */
.modelo-photo {
  background: #1A1A1A;
  border: 0;
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  border-radius: 2px;
  aspect-ratio: 2/3;
  display: block;
  width: 100%;
}
.modelo-photo-cat,
.modelo-photo-grid { aspect-ratio: 1/1; }
.modelo-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, opacity 0.4s ease;
  display: block;
}
.modelo-photo:hover img { transform: scale(1.03); opacity: 0.92; }
.modelo-photo:focus-visible { outline: 1px solid #B08D57; outline-offset: 3px; }

/* ─── Catálogo completo ─── */
.caso-catalogo { background: #F7F5F0; padding: 96px 0; }
.caso-catalogo-inner { max-width: 1280px; margin: 0 auto; padding: 0 48px; }
.caso-catalogo-head { max-width: 720px; margin-bottom: 56px; }
.caso-catalogo .caso-kicker { color: #B08D57; }
.caso-section-title {
  font-family: var(--display);
  font-size: clamp(28px, 3.5vw, 40px);
  color: #1A1A1A;
  margin: 0 0 16px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.caso-section-sub { font-family: var(--sans); font-size: 14px; color: #8A8578; line-height: 1.7; margin: 0; }
.caso-catalogo-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.caso-catalogo-grid .modelo-photo { background: #C9C3B8; }

/* En catálogo (fondo claro), el cierre vuelve a oscuro */
.caso-cierre { padding: 96px 0; }
.caso-cierre-inner { max-width: 880px; margin: 0 auto; padding: 0 48px; }
.caso-cierre-text { font-family: var(--sans); font-size: 16px; color: #C9C3B8; line-height: 1.75; margin: 0 0 40px; }
.caso-cta-row {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 32px;
  border-top: 0.5px solid #2A2A2A;
}
.caso-cierre .caso-section-title { color: #F7F5F0; }
.caso-cta-text { font-family: var(--display); font-size: 24px; color: #F7F5F0; margin: 0; font-weight: 400; }
.caso-cta {
  background: #F7F5F0;
  color: #1A1A1A;
  padding: 11px 22px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.3s ease, background 0.3s ease;
  margin-left: auto;
}
.caso-cta:hover { gap: 12px; background: #F7F5F0; }

/* ─── Próximo caso ─── */
.caso-siguiente { background: #1A1A1A; border-top: 0.5px solid #2A2A2A; padding: 64px 0; }
.caso-siguiente-link {
  display: block;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
  text-decoration: none;
}
.caso-siguiente-link .caso-kicker { margin-bottom: 12px; }
.caso-siguiente-name {
  font-family: var(--display);
  font-size: clamp(32px, 5vw, 56px);
  color: #F7F5F0;
  margin: 0;
  font-weight: 400;
  line-height: 1;
  transition: color 0.3s ease;
}
.caso-siguiente-link:hover .caso-siguiente-name { color: #B08D57; }
.caso-siguiente-name .arrow { display: inline-block; transition: transform 0.3s ease; margin-left: 8px; }
.caso-siguiente-link:hover .arrow { transform: translateX(8px); }

/* ─── Lightbox ─── */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 9, 7, 0.96);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 48px;
}
.lightbox[aria-hidden="false"] { display: flex; }
.lightbox-img { max-width: 92vw; max-height: 88vh; object-fit: contain; }
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: transparent;
  border: 0;
  color: #F7F5F0;
  font-size: 32px;
  cursor: pointer;
  padding: 16px;
  transition: opacity 0.3s ease;
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover { opacity: 0.6; }
.lightbox-close { top: 16px; right: 16px; font-size: 28px; }
.lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); }

/* ─── MOBILE ─── */
@media (max-width: 768px) {
  .caso-hero { grid-template-columns: 1fr; min-height: auto; }
  .caso-hero-img { aspect-ratio: 3/2; }
  .caso-hero-content { padding: 48px 24px; }

  .caso-contexto { padding: 64px 0; }
  .caso-contexto-inner { grid-template-columns: 1fr; gap: 40px; padding: 0 24px; }

  .caso-modelos-inner { padding: 0 24px; }
  .modelo { padding: 48px 0; }
  .modelo-amb { grid-template-columns: 1fr; gap: 12px; }
  .modelo-cat { grid-template-columns: repeat(2, 1fr); gap: 12px; }

  .caso-catalogo { padding: 64px 0; }
  .caso-catalogo-inner { padding: 0 24px; }
  .caso-catalogo-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }

  .caso-cierre { padding: 64px 0; }
  .caso-cierre-inner { padding: 0 24px; }
  .caso-cta-row { flex-direction: column; align-items: flex-start; gap: 20px; }
  .caso-cta { margin-left: 0; }

  .caso-siguiente { padding: 48px 0; }
  .caso-siguiente-link { padding: 0 24px; }
}

/* === Para quién (servicios/producto — grid 2x2, fondo claro) === */
.para-quien { padding: 96px 0; }
.para-quien-container { max-width: 1100px; margin: 0 auto; padding: 0 48px; }
.para-quien-head { margin-bottom: 56px; max-width: 720px; }
.para-quien .kicker { font-size: 11px; letter-spacing: 0.14em; color: #B08D57; margin: 0; }
.para-quien-title {
  font-family: var(--display);
  font-size: clamp(28px, 3.5vw, 40px);
  margin: 12px 0 0;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.para-quien-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px 56px;
  margin-bottom: 64px;
}
.perfil { border-top: 0.5px solid #C9C3B8; padding-top: 16px; }
.perfil-num {
  font-family: var(--display);
  font-size: 56px;
  line-height: 1;
  color: #B08D57;
  margin: 0 0 20px;
  font-weight: 400;
  letter-spacing: -0.02em;
  display: block;
}
.perfil-name {
  font-family: var(--display);
  font-size: 22px;
  margin: 0 0 12px;
  font-weight: 400;
  line-height: 1.2;
}
.perfil-desc { font-size: 13px; line-height: 1.65; margin: 0; max-width: 380px; }
.para-quien-cierre {
  font-family: var(--display);
  font-size: 18px;
  font-style: italic;
  line-height: 1.5;
  max-width: 720px;
  margin: 0;
  padding-top: 40px;
  border-top: 0.5px solid #C9C3B8;
}
@media (max-width: 768px) {
  .para-quien { padding: 64px 0; }
  .para-quien-container { padding: 0 24px; }
  .para-quien-grid { grid-template-columns: 1fr; gap: 40px; margin-bottom: 48px; }
  .perfil-num { font-size: 44px; margin-bottom: 16px; }
  .perfil-name { font-size: 20px; }
  .para-quien-cierre { font-size: 16px; }
}

/* === servicios/producto — alternancia oscuro/claro (scoped, no afecta otras páginas) === */
.svc-dark { position: relative; }
.svc-dark::before {
  content:""; position:absolute; top:0; bottom:0;
  left:50%; transform:translateX(-50%); width:100vw;
  background:#1A1A1A; z-index:0;
}
.svc-dark > * { position:relative; z-index:1; }
.svc-dark .back-link { color:#C9C3B8; }
.svc-dark .back-link:hover { color:#F7F5F0; }
.svc-dark .eyebrow { color:#B08D57; }
.svc-dark h1 { color:#F7F5F0; }
.svc-dark .case-hero__title .subtitle { color:#C9C3B8; }
.svc-dark .lead { color:#C9C3B8 !important; }
.svc-dark .case-meta { border-color:#2A2A2A; }
.svc-dark .case-meta__item .label { color:#B08D57; }
.svc-dark .case-meta__item .value { color:#F7F5F0; }
.svc-dark .section-head h2 { color:#F7F5F0; }
.svc-dark .section-head__intro { color:#C9C3B8; }
.svc-dark .extra { border-top-color:#2A2A2A; }
.svc-dark .extra h3 { color:#F7F5F0; }
.svc-dark .extra p { color:#C9C3B8; }
.svc-dark .extra__price { color:#F7F5F0 !important; }
.svc-dark .faq__item { border-bottom-color:#2A2A2A; }
.svc-dark .faq__item summary { color:#F7F5F0; }
.svc-dark .faq__item summary::after { color:#B08D57; }
.svc-dark .faq__item summary:hover { color:#B08D57; }
.svc-dark .faq__item p { color:#C9C3B8; }

/* === CTA final (servicios/producto) — alineado a izquierda, oscuro === */
.cta-final { background: #1A1A1A; padding: 96px 0; }
.cta-final-container { max-width: 1280px; margin: 0 auto; padding: 0 48px; }
.cta-final-kicker {
  color: #B08D57;
  font-size: 11px;
  letter-spacing: 0.14em;
  margin: 0 0 24px;
}
.cta-final-title {
  font-family: var(--display);
  font-size: clamp(32px, 4vw, 48px);
  color: #F7F5F0;
  margin: 0 0 20px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-align: left;
}
.cta-final-text {
  font-size: 14px;
  color: #C9C3B8;
  line-height: 1.65;
  margin: 0 0 32px;
  max-width: 640px;
}
.cta-final-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #F7F5F0;
  color: #1A1A1A;
  padding: 13px 22px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  transition: gap 0.3s ease, background 0.3s ease;
}
.cta-final-btn:hover { gap: 12px; background: #F7F5F0; }
@media (max-width: 768px) {
  .cta-final { padding: 64px 0; }
  .cta-final-container { padding: 0 24px; }
}


/* === Cork case study (cork.html — plantilla .caso con 2 modelos + lifestyle + 360 + línea + logo) === */
/* Hero scope .caso-cork — logo grande, centrado vertical, aire de respeto, split 50/50 */
.caso-cork .caso-hero {
  min-height: 40vh;
  max-height: 540px;
  grid-template-columns: 1fr 1fr;
  max-width: 1280px;
  margin: 0 auto 72px;
  padding: 0 48px;
}
.caso-cork .caso-hero-img {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: transparent;
}
.caso-cork .caso-hero-placeholder,
.caso-cork .caso-hero-img img {
  width: 100%;
  max-width: 440px;
  aspect-ratio: 1 / 1;
  background: #1A1A1A;
  border-radius: 2px;
  object-fit: cover;
}
.caso-cork .caso-hero-content {
  justify-content: center;
  align-items: center;
  text-align: center;
}
.caso-cork .caso-kicker { margin: 0 0 36px; text-align: center; }
.caso-cork .caso-title { line-height: 1; margin: 0 0 36px; text-align: center; }
.caso-cork .caso-title img {
  display: block;
  width: 100%;
  max-width: 50%;
  height: auto;
  margin: 0 auto;
  box-shadow: none;
  filter: none;
}
.caso-cork .caso-subtitle { margin: 0; text-align: center; }
.cork-cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cork-cat-grid .modelo-photo { aspect-ratio: 1 / 1; }
/* Lifestyle: contenedor 2:3 vertical, foto en formato original sin recortar (object-fit: contain) */
.cork-life-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cork-life-grid .modelo-photo { aspect-ratio: 2 / 3; background: #1A1A1A; }
.cork-life-grid .modelo-photo img { object-fit: contain; }
.cork-video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cork-video-wrapper { background: #1A1A1A; border-radius: 2px; overflow: hidden; aspect-ratio: 1 / 1; }
.cork-video-wrapper video { width: 100%; height: 100%; object-fit: cover; display: block; }
.cork-linea-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.cork-linea-grid .modelo-photo { aspect-ratio: 2 / 3; background: #C9C3B8; }
@media (max-width: 768px) {
  .caso-cork .caso-hero { min-height: auto; max-height: none; margin: 0 auto 48px; padding: 0 24px; }
  .caso-cork .caso-hero-img { padding: 16px; }
  .caso-cork .caso-hero-placeholder { max-width: 280px; }
  .caso-cork .caso-kicker { margin-bottom: 24px; }
  .caso-cork .caso-title { margin: 0 0 24px; }
  .caso-cork .caso-title img { max-width: 60%; }
  .cork-cat-grid { grid-template-columns: 1fr; }
  .cork-life-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .cork-video-grid { grid-template-columns: 1fr; }
  .cork-linea-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
}

/* === Airsoft case study (airsoft.html — clon de plantilla cork, scope .caso-airsoft) === */
.caso-airsoft .caso-hero {
  min-height: 40vh;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto 72px;
  padding: 0 48px;
}
.caso-airsoft .caso-hero-img {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: transparent;
  overflow: visible;
}
.caso-airsoft .caso-hero-img img {
  width: 100%;
  max-width: 440px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 2px;
}
.caso-airsoft .caso-hero-content { justify-content: center; align-items: center; text-align: center; }
.caso-airsoft .caso-kicker { margin: 0 0 28px; text-align: center; }
.caso-airsoft .caso-title { line-height: 1; margin: 0 0 28px; text-align: center; font-size: clamp(40px, 5vw, 68px); }
.caso-airsoft .caso-subtitle { margin: 0; text-align: center; }
.airsoft-cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.airsoft-cat-grid .modelo-photo { aspect-ratio: 1 / 1; }
.airsoft-linea-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.airsoft-linea-grid .modelo-photo { aspect-ratio: 1 / 1; background: #1A1A1A; }
@media (max-width: 768px) {
  .caso-airsoft .caso-hero { min-height: auto; max-height: none; margin: 0 auto 48px; padding: 0 24px; grid-template-columns: 1fr; gap: 32px; }
  .caso-airsoft .caso-hero-img { padding: 16px; }
  .caso-airsoft .caso-hero-img img { max-width: 280px; }
  .caso-airsoft .caso-kicker { margin-bottom: 20px; }
  .caso-airsoft .caso-title { margin: 0 0 20px; }
  .airsoft-cat-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .airsoft-linea-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
}
