:root {
  --bg: #000;
  --panel: #0e0e0e;
  --line: #262626;
  --fg: #f2f2f2;
  --mute: #9a9a9a;
  --m: #e2309f;
  --y: #ffe619;
  --c: #29abe2;
  --display: 'Michroma', 'Inter', sans-serif;
  --body: 'Inter', system-ui, sans-serif;
  --pad: clamp(16px, 4vw, 56px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }

/* Cabecera */
.top { position: fixed; inset: 0 0 auto; z-index: 20; display: flex; align-items: center; gap: 24px; padding: 14px var(--pad); background: rgba(0,0,0,.72); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font: 13px var(--display); letter-spacing: .08em; }
.brand img { width: 36px; height: auto; }
.top nav { display: flex; gap: 22px; margin-left: auto; }
.top nav a { text-decoration: none; font-size: 14px; color: var(--mute); transition: color .2s; }
.top nav a:hover { color: var(--fg); }
.lang { background: none; border: 1px solid var(--line); border-radius: 99px; padding: 5px 12px; font-size: 12px; cursor: pointer; }
.lang:hover { border-color: var(--fg); }

/* Portada */
.hero { min-height: 100svh; display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: var(--pad); padding: 90px var(--pad) 40px; }
.hero-media video { width: 100%; aspect-ratio: 1; object-fit: cover; }
.kicker { font: 11px var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); margin: 0 0 18px; }
h1, h2 { font-family: var(--display); font-weight: 400; line-height: 1.12; letter-spacing: -.01em; margin: 0 0 20px; }
h1 { font-size: clamp(34px, 5.4vw, 76px); }
h2 { font-size: clamp(26px, 3.4vw, 46px); }
h3 { font: 15px var(--display); letter-spacing: .02em; margin: 18px 0 6px; }
.lead { font-size: clamp(17px, 1.5vw, 20px); color: #cfcfcf; max-width: 34em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn { display: inline-block; padding: 13px 24px; border: 1px solid var(--fg); border-radius: 99px; text-decoration: none; font-weight: 500; font-size: 15px; transition: background .2s, color .2s; }
.btn:hover { background: var(--fg); color: #000; }
.btn-fill { background: var(--fg); color: #000; }
.btn-fill:hover { background: var(--y); border-color: var(--y); }
.c-m { color: var(--m); } .c-y { color: var(--y); } .c-c { color: var(--c); }

section { padding: clamp(70px, 10vw, 140px) var(--pad); border-top: 1px solid var(--line); }
.hero { border-top: 0; }
.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head p:not(.kicker) { color: #cfcfcf; font-size: 18px; }

/* Imágenes ampliables */
.shot { padding: 0; border: 0; background: var(--panel); cursor: zoom-in; overflow: hidden; display: block; width: 100%; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.shot:hover img { transform: scale(1.04); }

/* Pieza destacada */
.feature-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: minmax(0, 1fr); gap: 10px; aspect-ratio: 2 / 1; }
.feature-grid .big { grid-row: span 2; }

/* Colección */
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 50px 28px; }
.piece > .shot { aspect-ratio: 4 / 3; }
.piece p { color: var(--mute); margin: 0; }
.thumbs { display: flex; gap: 8px; margin-top: 14px; }
.thumbs .shot { width: 84px; height: 84px; flex: none; }

/* Encargos */
.com-block { margin-bottom: 60px; }
.com-block > p { color: var(--mute); margin: 0 0 20px; }
.strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.strip .shot { aspect-ratio: 3 / 4; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.steps li { background: var(--bg); padding: 26px 22px; display: flex; flex-direction: column; gap: 6px; }
.steps .n { font: 12px var(--display); }
.steps b { font: 16px var(--display); font-weight: 400; }
.steps li > span:last-child { color: var(--mute); font-size: 15px; }

/* Comunidad */
.community { display: grid; grid-template-columns: 1fr 1.2fr; gap: var(--pad); align-items: center; }
.community-logo { width: 100%; max-width: 560px; }
.community p { color: #cfcfcf; font-size: 18px; max-width: 34em; }
.community .btn { margin-top: 14px; }
.community .small { font-size: 14px; color: var(--mute); margin-top: 32px; }

/* Contacto */
.contact { text-align: center; }
.contact h2 { font-size: clamp(28px, 4.6vw, 64px); }
.contact-links { display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 18px; }
.contact-links a { text-decoration: none; border-bottom: 1px solid var(--line); }
.contact-links a:hover { border-color: var(--c); }
.contact-links .mail { font: clamp(15px, 2.2vw, 24px) var(--display); }

footer { display: flex; justify-content: space-between; align-items: center; padding: 26px var(--pad); border-top: 1px solid var(--line); font-size: 13px; color: var(--mute); }
.cmyk { display: flex; gap: 6px; }
.cmyk i { width: 10px; height: 10px; border-radius: 50%; background: var(--m); }
.cmyk i:nth-child(2) { background: var(--y); } .cmyk i:nth-child(3) { background: var(--c); }

/* Visor */
.lightbox { position: fixed; inset: 0; z-index: 50; background: rgba(0,0,0,.94); display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 88vw; max-height: 88vh; object-fit: contain; }
.lightbox button { position: absolute; background: none; border: 0; font-size: 44px; line-height: 1; cursor: pointer; padding: 16px; color: #ddd; }
.lb-close { top: 8px; right: 12px; }
.lb-prev { left: 4px; } .lb-next { right: 4px; }

/* Aparición al bajar */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } .shot img { transition: none; } }

/* Móvil */
@media (max-width: 860px) {
  .top { gap: 12px; }
  .top nav { display: none; }
  .lang { margin-left: auto; }
  .hero { grid-template-columns: 1fr; padding-top: 80px; }
  .feature-grid { grid-template-columns: 1fr 1fr; aspect-ratio: auto; grid-auto-rows: 42vw; }
  .feature-grid .big { grid-column: span 2; grid-row: span 2; }
  .grid { grid-template-columns: 1fr; }
  .strip { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: 1fr 1fr; }
  .community { grid-template-columns: 1fr; }
  .community-logo { max-width: 280px; margin: 0 auto; }
}
