/* ============================================================
   IRENE ROMERO · Micropigmentación — rediseño premium
   Paleta: negro #0A0908 · crema #EFEAE3 · marrón nude #C9A795
   Sistema de bandas alternas (band-dark / band-light).
   ============================================================ */

:root {
  /* superficies */
  --bg: #0A0908;            /* banda negra */
  --bg-light: #EFEAE3;      /* banda crema cálida */
  --panel-dark: #1A1917;
  --panel-light: #FAF5EE;
  --line-dark: rgba(255, 255, 255, 0.08);
  --line-light: rgba(20, 12, 6, 0.12);
  --edge-dark: rgba(255, 255, 255, 0.26);
  --edge-light: rgba(20, 12, 6, 0.24);
  /* acentos marrón */
  --brown: #C9A795;         /* acento sobre negro */
  --brown-dark: #6B4A34;    /* acento sobre crema */
  /* texto */
  --cream: #EFEAE3;
  --ink: #1A1613;
  --muted-dark: #A3A19C;
  --muted-light: #8A7C69;
  --font: 'Poppins', sans-serif;

  /* ── tema activo: banda oscura por defecto ── */
  --accent: var(--brown);
  --accent-soft: rgba(201, 167, 149, 0.14);
  --text: var(--cream);
  --muted: var(--muted-dark);
  --surface: var(--bg);
  --panel: var(--panel-dark);
  --line: var(--line-dark);
  --edge: var(--edge-dark);
  --btn-ink: #14100b;
}

/* ── Bandas de sección alternas ─────────────────────────────
   .band-dark = negro + marrón claro · .band-light = crema + marrón oscuro */
.band-dark {
  --accent: var(--brown);
  --accent-soft: rgba(201, 167, 149, 0.14);
  --text: var(--cream);
  --muted: var(--muted-dark);
  --surface: var(--bg);
  --panel: var(--panel-dark);
  --line: var(--line-dark);
  --edge: var(--edge-dark);
  --btn-ink: #14100b;
  background: var(--bg);
  color: var(--cream);
}
.band-light {
  --accent: var(--brown-dark);
  --accent-soft: rgba(110, 78, 46, 0.12);
  --text: var(--ink);
  --muted: var(--muted-light);
  --surface: var(--bg-light);
  --panel: var(--panel-light);
  --line: var(--line-light);
  --edge: var(--edge-light);
  --btn-ink: #FBF7F0;
  background: var(--bg-light);
  color: var(--ink);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-weight: 300;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--accent); color: var(--bg); }

/* ── Botones ─────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 15px 34px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}
.btn-pink { background: var(--accent); color: var(--btn-ink); }
.btn-pink:hover { background: transparent; border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn-outline { border-color: var(--edge); color: var(--text); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

/* ── NAV ─────────────────────────────────────────────────── */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 5vw;
  /* La barra va SIEMPRE en negro, arriba y con scroll → tema oscuro (letra clara) */
  background: rgba(10, 9, 8, 0.90);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  backdrop-filter: blur(14px) saturate(1.1);
  transition: background .35s ease, backdrop-filter .35s ease, box-shadow .35s ease, padding .35s ease;
  --accent: var(--brown);
  --text: var(--cream);
  --muted: #C7C4BD;
  --btn-ink: #14100b;
  --edge: var(--edge-dark);
  color: var(--cream);
}
#nav.scrolled {
  background: rgba(10, 9, 8, 0.82);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
  padding: 12px 5vw;
}
.nav-logo { display: inline-flex; align-items: center; gap: 12px; font-weight: 500; letter-spacing: 0.3em; font-size: 13px; }
.nav-logo-mark { height: 38px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a {
  font-size: 12px; font-weight: 400; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted); transition: color .25s ease;
}
.nav-links a:hover { color: var(--accent); }
.nav-links .btn-wa {
  background: var(--accent); color: var(--btn-ink); padding: 11px 24px; border-radius: 999px;
  font-weight: 500; border: 1px solid var(--accent); transition: all .3s ease;
}
.nav-links .btn-wa:hover { background: transparent; color: var(--accent); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; flex-direction: column; gap: 5px; padding: 6px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text); display: block; }

/* ── Cabeceras de sección (juego tipográfico de marca) ───── */
.sec-head { position: relative; margin-bottom: 42px; }
.sec-label {
  display: block;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 14px 0;
}
/* Título de sección: mediano y elegante, con la palabra de acento
   integrada al mismo tamaño (no gigante) — mismo principio que el hero. */
.sec-thin {
  display: inline;
  font-size: clamp(26px, 3.4vw, 44px);
  font-weight: 600;
  color: var(--text);
  line-height: 1.18;
  letter-spacing: -0.01em;
}
.sec-thin::first-letter { text-transform: uppercase; }
.sec-big {
  display: inline;
  font-size: clamp(26px, 3.4vw, 44px);
  font-weight: 600;
  color: var(--accent);
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin: 0;
  text-transform: none;
}
#sobre .sec-big { margin-top: 0; }
.section-inner { max-width: 1180px; margin: 0 auto; padding: 110px 5vw; }

/* ── HERO ────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  /* Slot futuro: <video> mp4 de fondo aquí */
}
.hero::before {
  content: '';
  position: absolute;
  width: 52vw; height: 52vw;
  right: -20vw; top: -16vw;
  background: radial-gradient(circle, rgba(201,167,149,0.07) 0%, transparent 66%);
  pointer-events: none;
}
.hero-inner { max-width: 1180px; margin: 0 auto; padding: 160px 5vw 100px; position: relative; z-index: 2; width: 100%; }

/* ── HERO con vídeo de fondo ─────────────────────────────── */
/* Póster de fondo: si el vídeo no puede autoreproducirse (iOS Modo de Bajo
   Consumo), se oculta el <video> y queda esta imagen fija — sin icono de Play. */
.hero--video {
  background-image: url('assets/img/hero_poster.webp');
  background-size: cover;
  background-position: center;
}
.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0; pointer-events: none;
}
.hero-poster .hero-bg { display: none; }
/* Overlay oscuro degradado para legibilidad del titular (cubre todo el hero) */
.hero--video::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%; height: 100%;
  background: linear-gradient(180deg, rgba(8,7,6,0.72) 0%, rgba(8,7,6,0.70) 48%, rgba(8,7,6,0.82) 100%);
  z-index: 1;
  pointer-events: none;
}
/* Composición centrada, minimalista y con más aire */
.hero--video .hero-inner {
  max-width: 1040px; text-align: center; padding: 150px 5vw 120px;
  text-shadow: 0 2px 34px rgba(0,0,0,0.35);
}
.hero--video .hero-label { margin-bottom: 32px; letter-spacing: 0.52em; color: rgba(239,234,227,0.72); }
.lbl-br { display: none; } /* salto de línea solo en móvil (hero-label y sec-label) */
.hero--video .hero-title { margin: 0 auto; }
.hero--video .hero-head { font-size: clamp(19px, 2.7vw, 38px); line-height: 1.2; white-space: nowrap; }
.hero--video .hero-tail { font-size: clamp(26px, 4.2vw, 52px); line-height: 1.14; margin-top: 18px; letter-spacing: -0.02em; }
.hero--video .hero-sub { max-width: 500px; margin: 36px auto 0; }
.hero--video .hero-btns { justify-content: center; margin-top: 46px; }
.hero-title { display: block; position: relative; }
.hero-head {
  display: block;
  font-size: clamp(21px, 2.8vw, 40px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-left: 0;
}
.hero-head em { color: var(--accent); font-style: normal; font-weight: 600; }
.hero-label {
  display: block;
  font-size: clamp(10px, 1vw, 13px);
  font-weight: 400;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 22px 0;
}
.hero-big {
  display: block;
  font-size: clamp(70px, 12.5vw, 180px);
  font-weight: 600;
  line-height: 0.88;
  letter-spacing: -0.035em;
  color: var(--accent);
  text-transform: lowercase;
}
.hero-tail {
  display: block;
  font-size: clamp(26px, 4.2vw, 54px);
  font-weight: 200;
  line-height: 1.08;
  color: var(--text);
  letter-spacing: -0.015em;
  margin: 12px 0 0 0;
}
.hero-tail em { color: var(--accent); font-style: normal; font-weight: 300; }
.hero-sign {
  display: block;
  text-align: right;
  font-size: 12px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--text);
  margin-top: 12px;
  padding-right: 6px;
}
.hero-sub { max-width: 480px; margin-top: 40px; color: var(--muted); font-size: 16px; line-height: 1.7; }
.hero-sub strong { color: var(--text); font-weight: 500; }
.hero-btns { display: flex; gap: 14px; margin-top: 40px; flex-wrap: wrap; }
.hero-scroll {
  position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%);
  font-size: 10px; letter-spacing: 0.4em; text-transform: uppercase; color: var(--muted);
  display: flex; flex-direction: column; align-items: center; gap: 10px; z-index: 2;
}
.hero-scroll::after {
  content: ''; width: 1px; height: 44px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse { 0%,100% { opacity: .35; } 50% { opacity: 1; } }

/* ── FEATURES ────────────────────────────────────────────── */
.features { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.features-inner {
  max-width: 1180px; margin: 0 auto; padding: 0 5vw;
  display: grid; grid-template-columns: repeat(3, 1fr);
}
.feature { padding: 44px 26px; border-left: 1px solid var(--line); }
.feature:first-child { border-left: 0; padding-left: 0; }
.feature h3 { font-size: clamp(14px, 1.05vw, 17px); font-weight: 500; letter-spacing: 0.03em; margin-bottom: 10px; color: var(--text); white-space: nowrap; }
.feature h3::before { content: '—'; color: var(--accent); margin-right: 10px; }
.feature p { font-size: clamp(14px, 1.15vw, 17px); color: var(--muted); }

/* ── GALERÍA ─────────────────────────────────────────────── */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 20px; }
.gallery-item {
  border-radius: 18px; overflow: hidden; aspect-ratio: 4/5;
  background: var(--panel); position: relative; border: 1px solid var(--line);
}
.gallery-item--tall { grid-row: span 2; aspect-ratio: auto; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item.is-empty { display: flex; align-items: center; justify-content: center; }
.gallery-item.is-empty span {
  font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted);
}
.trabajos-intro { max-width: 640px; color: var(--muted); margin-top: -30px; margin-bottom: 40px; font-size: clamp(16px, 1.3vw, 20px); }
.trabajos-cta { margin-top: 44px; }

/* ── SERVICIOS ───────────────────────────────────────────── */
.serv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.serv-grid--3 { grid-template-columns: 1fr 1fr 1fr; }
/* Cuadrícula 2x2 de servicios (sin fotos): precio + botón en línea abajo.
   Contenedor ancho + fuentes compactas → los 4 servicios entran en pantalla. */
#servicios .section-inner { max-width: 1340px; padding-top: 80px; padding-bottom: 80px; }
#servicios .sec-head { margin-bottom: 26px; }
.serv-grid--2x2 { grid-template-columns: 1fr 1fr; gap: 16px; }
.serv-grid--2x2 .serv-card-body { padding: clamp(18px, 1.7vw, 26px); }
.serv-grid--2x2 .serv-card-body h3 { font-size: clamp(19px, 1.5vw, 25px); margin-bottom: 5px; }
.serv-grid--2x2 .serv-lead { font-size: clamp(13.5px, 1.05vw, 16px); margin-bottom: 12px; }
.serv-grid--2x2 .serv-list { margin-bottom: 14px; }
.serv-grid--2x2 .serv-list li { font-size: clamp(13px, 1vw, 15px); padding: 4px 0; }
.serv-grid--2x2 .serv-foot {
  flex-direction: row; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
}
.serv-grid--2x2 .serv-foot .btn { align-self: auto; }
/* Micropigmentaciones (fila 1) = blanco panel · retoques (fila 2) = color de fondo */
.serv-grid--2x2 .serv-card--main { background: var(--panel); }
.serv-grid--2x2 .serv-card--sub { background: transparent; border-color: var(--edge); }
/* Retoques: tarjeta más compacta y en plano secundario */
.serv-grid--2x2 .serv-card--sub .serv-card-body { padding-top: clamp(16px, 1.5vw, 22px); padding-bottom: clamp(16px, 1.5vw, 22px); }
.serv-grid--2x2 .serv-card--sub h3 { font-size: clamp(18px, 1.35vw, 22px); }
.serv-grid--2x2 .serv-card--sub .serv-price { font-size: clamp(23px, 1.75vw, 30px); }
.serv-grid--2x2 .serv-card--sub .serv-lead { margin-bottom: 0; }
.serv-opt { font-weight: 400; color: var(--muted); font-size: 0.72em; }
.serv-grid--2x2 .serv-card { border-radius: 16px; }
.serv-grid--2x2 .serv-foot .btn { padding: 12px 24px; border-radius: 10px; }
.serv-grid--2x2 .serv-price { font-size: clamp(26px, 2vw, 34px); }
.serv-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: 22px;
  overflow: hidden; display: flex; flex-direction: column;
  transition: border-color .3s ease, transform .3s ease;
}
.serv-card:hover { border-color: rgba(201,167,149,0.45); transform: translateY(-4px); }
.serv-card-media { aspect-ratio: 3/2; overflow: hidden; }
.serv-card-media img { width: 100%; height: 100%; object-fit: cover; }
.serv-card-body { padding: 36px; display: flex; flex-direction: column; flex: 1; }
.serv-card-body h3 { font-size: clamp(22px, 2vw, 30px); font-weight: 500; margin-bottom: 10px; }
.serv-lead { color: var(--muted); font-size: clamp(15px, 1.3vw, 19px); margin-bottom: 18px; }
.serv-list { list-style: none; margin-bottom: 26px; }
.serv-list li { font-size: clamp(14px, 1.15vw, 17px); color: var(--muted); padding: 7px 0; border-bottom: 1px solid var(--line); }
.serv-list li::before { content: '✦'; color: var(--accent); margin-right: 12px; font-size: 10px; }
.serv-foot { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; margin-top: auto; }
.serv-foot .btn { align-self: stretch; text-align: center; }
.serv-price { font-size: 44px; font-weight: 600; color: var(--accent); letter-spacing: -0.02em; line-height: 1; }
.serv-price--sm { font-size: 17px; font-weight: 400; color: var(--text); }
.serv-note { font-size: 12.5px; color: var(--muted); margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }

/* ── PROCESO · timeline paso a paso ──────────────────────── */
.proc-timeline { list-style: none; max-width: 900px; margin: 0 auto; }
.proc-item {
  display: grid; grid-template-columns: clamp(64px, 8vw, 100px) 1fr;
  gap: clamp(20px, 3vw, 44px); align-items: start;
  padding: clamp(20px, 2.6vw, 32px) 0;
  border-top: 1px solid var(--line);
  position: relative;
}
.proc-item:first-child { border-top: 0; }
.proc-n {
  font-size: clamp(34px, 4vw, 60px); font-weight: 600; line-height: 0.9;
  color: transparent; -webkit-text-stroke: 1.2px var(--accent);
  letter-spacing: -0.03em; transition: color .4s ease;
}
.proc-item:hover .proc-n { color: var(--accent); }
.proc-c { padding-top: 2px; }
.proc-c h3 {
  font-size: clamp(19px, 1.9vw, 26px); font-weight: 500;
  margin-bottom: 8px; line-height: 1.2; color: var(--text);
}
.proc-c p { font-size: clamp(14px, 1.2vw, 17px); color: var(--muted); max-width: 40em; }

/* ── FAQ ─────────────────────────────────────────────────── */
.faq-list { max-width: 920px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 30px 54px 30px 0;
  font-size: clamp(17px, 1.6vw, 25px); font-weight: 400; color: var(--text); position: relative;
  transition: color .25s ease;
}
.faq-item summary:hover { color: var(--accent); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; position: absolute; right: 6px; top: 50%;
  transform: translateY(-50%);
  font-size: 24px; font-weight: 300; color: var(--accent);
  transition: transform .3s ease;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-body { padding: 0 48px 30px 0; }
.faq-body p { font-size: clamp(15px, 1.3vw, 19px); color: var(--muted); }

/* ── FORMACIÓN ───────────────────────────────────────────── */
.form-block { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.form-copy p { color: var(--muted); font-size: clamp(15px, 1.3vw, 19px); margin-bottom: 16px; }
.form-includes-title { color: var(--text) !important; font-weight: 500; margin-top: 26px; }
.form-list { list-style: none; margin: 6px 0 32px; }
.form-list li { font-size: clamp(14px, 1.15vw, 17px); color: var(--muted); padding: 8px 0; border-bottom: 1px solid var(--line); }
.form-list li::before { content: '✦'; color: var(--accent); margin-right: 12px; font-size: 10px; }
.form-media { border-radius: 22px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16/9; }
.form-media img { width: 100%; height: 100%; object-fit: cover; }
.form-block + .form-block { margin-top: 64px; }

/* Formaciones usa la misma paleta marrón que el resto de secciones.
   El único rosa que queda es el impreso en las portadas (arquetipo/marketing). */

/* ── SOBRE MÍ ────────────────────────────────────────────── */
.sobre { position: relative; overflow: hidden; }
.sobre::before {
  content: '';
  position: absolute; width: 50vw; height: 50vw; left: -20vw; top: 10%;
  background: radial-gradient(circle, rgba(201,167,149,0.09) 0%, transparent 60%);
  pointer-events: none;
}
.sobre-inner {
  max-width: 1180px; margin: 0 auto; padding: 110px 5vw;
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 70px; align-items: center;
  position: relative; z-index: 2;
}
.sobre-media { position: relative; }
.sobre-media img {
  width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 24px;
  box-shadow:
    0 2px 6px rgba(0, 0, 0, 0.4),
    0 30px 60px -18px rgba(0, 0, 0, 0.65),
    0 0 90px -30px rgba(201, 167, 149, 0.35);
}
.sobre-copy .sec-head { margin-bottom: 34px; }
.sobre-copy p { color: var(--muted); font-size: clamp(16px, 1.35vw, 20px); margin-bottom: 18px; }
.sobre-copy .btn { margin-top: 14px; }

/* ── CONTACTO ────────────────────────────────────────────── */
.contacto-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.contacto-lead { color: var(--muted); margin-bottom: 14px; max-width: 480px; font-size: clamp(16px, 1.35vw, 20px); }
.contacto-loc { color: var(--text); font-size: 14px; margin-bottom: 30px; }
.map-wrap {
  position: relative;
  border-radius: 22px; overflow: hidden;
  border: 1px solid rgba(201, 167, 149, 0.35);
  box-shadow: 0 0 80px -6px rgba(201, 167, 149, 0.55),
              0 24px 60px -24px rgba(0, 0, 0, 0.6);
}
.map-wrap iframe { width: 100%; height: 380px; border: 0; display: block; }

/* ── FOOTER ──────────────────────────────────────────────── */
.footer { border-top: 1px solid var(--line); }
/* Blog / consejos: fila discreta dentro del footer (SEO informacional) */
.footer-blog { max-width: 1180px; margin: 0 auto; padding: 40px 5vw 8px; }
.footer-blog-label { display: block; font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; opacity: 0.8; }
.footer-blog-links { display: flex; flex-wrap: wrap; gap: 10px 30px; }
.footer-blog-links a { font-size: 13px; color: var(--muted); transition: color .25s ease; }
.footer-blog-links a:hover { color: var(--accent); }
.footer-inner {
  max-width: 1180px; margin: 0 auto; padding: 50px 5vw;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.footer-logo { display: inline-flex; align-items: center; gap: 12px; font-size: 12px; letter-spacing: 0.3em; font-weight: 500; }
.footer-logo-mark { height: 28px; width: auto; }
.footer-links { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-links a { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); transition: color .25s; }
.footer-links a:hover { color: var(--accent); }
.footer-copy { font-size: 12px; color: var(--muted); }

/* ── WHATSAPP FLOAT ──────────────────────────────────────── */
.wa-float {
  position: fixed; right: 26px; bottom: 26px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--accent); color: var(--btn-ink);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 30px -8px rgba(201, 167, 149, 0.5);
  transition: transform .3s ease, background .45s ease, box-shadow .45s ease;
}
.wa-float:hover { transform: scale(1.08); }

/* ── GALERÍA ANTES/DESPUÉS (visor deslizante) ────────────── */
/* ── Sección trabajos = MURAL de fotos (mosaico masonry) ── */
#trabajos .section-inner { max-width: 1360px; }
.sec-head--center { text-align: center; margin-bottom: 28px; }
.sec-head--center .sec-label { margin-left: 0; }
.mural-intro { max-width: 620px; margin: 0 auto 42px; text-align: center; color: var(--muted); font-size: clamp(15px, 1.2vw, 18px); }
.mural { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.mural-item {
  display: block; position: relative; aspect-ratio: 3 / 4;
  border-radius: 14px; overflow: hidden;
}
.mural-item img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 38%;
  display: block; border-radius: 14px;
  transition: transform .6s cubic-bezier(.2,.7,.2,1), filter .6s ease;
}
.mural-item::after {
  content: ''; position: absolute; inset: 0; border-radius: 14px;
  box-shadow: inset 0 0 0 1px var(--line); pointer-events: none;
}
.mural-item:hover img { transform: scale(1.05); filter: saturate(1.05); }
.mural-cta { text-align: center; margin-top: 40px; }

.ba-wrap { width: 100%; margin: 0; }
.ba-viewer {
  position: relative; border-radius: 24px; overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 40px 90px -30px rgba(0,0,0,0.8), 0 0 80px -30px rgba(201,167,149,0.2);
  cursor: ew-resize; touch-action: none;
  user-select: none; -webkit-user-select: none;
}
.ba-imgs { position: relative; aspect-ratio: 4/5; transition: opacity .3s ease; }
.ba-imgs.switching { opacity: 0; }
.ba-before, .ba-after { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-after-clip { position: absolute; inset: 0; clip-path: inset(0 0 0 50%); }
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: 50%; width: 2px;
  background: var(--accent); transform: translateX(-1px); z-index: 4;
  box-shadow: 0 0 20px rgba(201,167,149,0.6);
}
.ba-knob {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--accent); color: var(--btn-ink);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 600;
  box-shadow: 0 8px 24px -6px rgba(201,167,149,0.7);
}
.ba-tag {
  position: absolute; top: 18px; z-index: 3;
  font-size: 10px; font-weight: 500; letter-spacing: 0.3em; text-transform: uppercase;
  padding: 7px 14px; border-radius: 999px;
  /* Píldora oscura fija sobre la foto → texto claro siempre, sea cual sea la banda */
  background: rgba(14,16,14,0.65); color: #EFEAE3;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.ba-tag--antes { left: 18px; }
.ba-tag--despues { right: 18px; color: #C9A795; }
.ba-single .ba-after-clip, .ba-single .ba-handle,
.ba-single .ba-tag--antes, .ba-single .ba-tag--despues { display: none; }
.ba-single .ba-viewer, .ba-single ~ * .ba-viewer { cursor: default; }
.ba-controls {
  display: flex; align-items: center; justify-content: center; gap: 26px; margin-top: 26px;
}
.ba-arrow {
  width: 52px; height: 52px; border-radius: 50%;
  background: transparent; border: 1px solid var(--edge); color: var(--text);
  font-size: 20px; cursor: pointer; transition: all .3s ease;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font);
}
.ba-arrow:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.ba-counter { font-size: 13px; letter-spacing: 0.3em; color: var(--muted); min-width: 74px; text-align: center; }
.ba-hint { text-align: center; font-size: 11.5px; letter-spacing: 0.08em; color: var(--muted); margin-top: 14px; }

/* ── Animaciones de entrada (GSAP) ───────────────────────── */
.reveal { opacity: 0; transform: translateY(34px); }
.no-js .reveal { opacity: 1; transform: none; }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .nav-links {
    position: fixed; inset: 0 0 auto 0; top: 0; padding: 90px 8vw 40px;
    background: rgba(14, 16, 14, 0.97); flex-direction: column; align-items: flex-start; gap: 26px;
    transform: translateY(-110%); transition: transform .4s ease; z-index: -1;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-toggle { display: flex; }
  .nav-logo span { display: none; }
  .features-inner { grid-template-columns: 1fr; }
  .feature { border-left: 0; padding: 28px 0; border-top: 1px solid var(--line); }
  .feature:first-child { border-top: 0; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .serv-grid, .form-block, .sobre-inner, .contacto-grid, .trabajos-grid { grid-template-columns: 1fr; }
  .form-block { gap: 28px; }
  .form-block--rev .form-media { order: 1; }
  .form-block--rev .form-copy { order: 2; }
  .mural { grid-template-columns: repeat(3, 1fr); }
  .sobre-inner { gap: 50px; }
  .section-inner { padding: 80px 6vw; }
  .proc-item { grid-template-columns: 1fr; gap: 8px; padding: 30px 0; }
  .proc-n { -webkit-text-stroke: 1.2px var(--accent); }
}
@media (max-width: 560px) {
  .gallery { grid-template-columns: 1fr; }
  .hero-btns .btn { width: 100%; text-align: center; }
  .mural { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  /* Labels en 2 líneas en móvil: quita el "·" y activa el salto */
  .lbl-sep { display: none; }
  .lbl-br { display: inline; }
}
