/* ==========================================================
   Guzzart Productions — estilos del sitio
   Colores, tipografías y espaciados viven en :root.
   Cada página de proyecto define su propio --accent
   en la etiqueta <body>.
   ========================================================== */

:root {
  --bg: #0B0B0C;
  --surface: #161618;
  --surface-2: #1D1D20;
  --border: #2A2A2E;
  --border-strong: #3A3A3F;
  --text: #F2F0EB;
  --muted: #9A9893;
  --on-accent: #0B0B0C;

  --brand: #BB69F7;
  --accent: var(--brand);

  --font-display: 'Clash Display', 'Archivo', system-ui, sans-serif;
  --font-body: 'Archivo', system-ui, sans-serif;
  --font-stencil: 'Saira Stencil One', 'Archivo', sans-serif;

  --max: 1280px;
  --gutter: clamp(20px, 4vw, 32px);
  --radius: 8px;
  --ease: 0.3s ease;
  --spring: 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }

a { color: var(--text); text-underline-offset: 3px; transition: color var(--ease); }
a:hover { color: #fff; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--accent); color: var(--on-accent); padding: 10px 16px; border-radius: 4px; font-weight: 600;
}
.skip-link:focus { top: 16px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }

/* ---------- Tipografía ---------- */

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; margin: 0; letter-spacing: -0.02em; line-height: 1.05; }

.eyebrow {
  font-family: var(--font-body);
  font-stretch: 125%;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}
.eyebrow.accent { color: var(--accent); transition: color var(--ease); }
.eyebrow.small { font-size: 12px; letter-spacing: 0.12em; font-stretch: 100%; }

.lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--muted); max-width: 640px; margin: 0; }

.num {
  font-family: var(--font-stencil);
  font-size: clamp(64px, 8vw, 88px);
  line-height: 0.8;
  color: var(--accent);
}

.title-row { display: flex; align-items: flex-end; gap: 24px; }
.h2 { font-size: clamp(36px, 5vw, 52px); }

/* ---------- Botones ----------
   Todo lo interactivo reacciona al cursor: los botones
   sólidos se elevan y brillan, los de contorno se rellenan. */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 14px 26px; border-radius: 4px; border: 1px solid transparent;
  font-family: var(--font-body); font-size: 16px; font-weight: 600; text-decoration: none; cursor: pointer;
  transition: background-color var(--ease), border-color var(--ease), color var(--ease), box-shadow var(--ease), transform var(--spring);
}
.btn:active { transform: translateY(0) scale(0.97); }
.btn svg { width: 14px; height: 14px; flex-shrink: 0; }
.btn .arrow { display: inline-block; transition: transform var(--spring); }
.btn:hover .arrow { transform: translateX(4px); }

.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover {
  color: var(--on-accent);
  background: color-mix(in srgb, var(--accent) 78%, #fff);
  transform: translateY(-3px);
  box-shadow: 0 10px 28px -8px color-mix(in srgb, var(--accent) 70%, transparent);
}

.btn-ghost { border-color: var(--border-strong); background: rgba(11, 11, 12, 0.6); color: var(--text); font-weight: 500; }
.btn-ghost:hover { border-color: var(--accent); color: var(--text); background: color-mix(in srgb, var(--accent) 14%, var(--bg)); transform: translateY(-3px); }

.btn-lg { min-height: 60px; padding: 18px 32px; font-size: 18px; }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: 14px; }

.link-accent { color: var(--accent); font-weight: 600; text-decoration: none; transition: color var(--ease); }
.link-accent .arrow { display: inline-block; transition: transform var(--spring); }
.link-accent:hover { color: var(--accent); }
.link-accent:hover .arrow { transform: translateX(4px); }

/* ---------- Encabezado ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 11, 12, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.brand-link { display: flex; align-items: center; flex-shrink: 0; transition: opacity var(--ease), transform var(--spring); }
.brand-link:hover { opacity: 0.85; transform: scale(1.03); }
.brand-link img { height: 38px; width: auto; }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 28px; font-size: 15px; }
.nav-link { position: relative; text-decoration: none; color: #D9D6CF; padding: 6px 0; }
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform var(--spring);
}
.nav-link:hover, .nav-link[aria-current="page"] { color: #fff; }
.nav-link:hover::after, .nav-link[aria-current="page"]::after { transform: scaleX(1); }

/* Selector de idioma: toda la pastilla es un solo botón */
.lang-switch {
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 8px 14px;
  border: 1px solid var(--border-strong); border-radius: 999px; text-decoration: none;
  font-size: 13px; letter-spacing: 0.08em; color: var(--muted);
  transition: border-color var(--ease), background-color var(--ease), color var(--ease);
}
.lang-switch .on { color: var(--text); font-weight: 600; }
.lang-switch .sep { opacity: 0.6; }
.lang-switch:hover { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 14%, var(--bg)); color: var(--text); }

.site-nav .btn { min-height: 44px; padding: 10px 20px; font-size: 15px; }

.nav-toggle {
  display: none; width: 44px; height: 44px; padding: 0; border: 1px solid var(--border-strong); border-radius: 4px;
  background: transparent; color: var(--text); cursor: pointer; align-items: center; justify-content: center;
  transition: border-color var(--ease), background-color var(--ease);
}
.nav-toggle:hover { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 14%, var(--bg)); }
.nav-toggle svg { width: 22px; height: 22px; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--border); }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 24px; font-size: 18px; }
  .nav-link { display: block; padding: 14px 0; border-bottom: 1px solid var(--border); }
  .nav-link::after { bottom: -1px; }
  .site-nav li:has(.lang-switch) { padding: 16px 0 8px; }
  .lang-switch { font-size: 15px; }
  .site-nav .btn { margin-top: 8px; width: 100%; min-height: 52px; }
}

/* ---------- Hero ---------- */

.hero { position: relative; overflow: hidden; background: var(--surface); border-bottom: 1px solid var(--border); }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(22, 22, 24, 0.96) 0%, rgba(22, 22, 24, 0.78) 45%, rgba(22, 22, 24, 0.25) 100%);
}
.hero-content { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 26px; padding-block: clamp(96px, 14vw, 160px) clamp(80px, 10vw, 120px); }
.hero h1 { font-size: clamp(56px, 10vw, 136px); line-height: 0.92; letter-spacing: -0.035em; font-weight: 600; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-sub { font-family: var(--font-display); font-weight: 500; font-size: clamp(24px, 3vw, 36px); line-height: 1.2; letter-spacing: -0.01em; margin: 0; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }

@media (max-width: 700px) {
  .hero::after { background: rgba(22, 22, 24, 0.86); }
}

/* ---------- Franja de premio (enlace) ---------- */

.award { border-bottom: 1px solid var(--border); }
.award-link { display: block; text-decoration: none; color: var(--text); transition: background-color var(--ease); }
.award-link:hover { color: var(--text); }
.award-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding-block: 26px; }
.award-link:hover { background: color-mix(in srgb, #F08AE0 10%, var(--bg)); }
.award svg { width: 28px; height: 28px; color: var(--brand); transition: color var(--ease), transform var(--spring); }
.award p { margin: 0; font-size: 16px; }
.award .eyebrow { color: var(--brand); transition: color var(--ease); }
.award .go { margin-left: auto; font-weight: 600; font-size: 15px; color: var(--muted); transition: color var(--ease); }
.award .go .arrow { display: inline-block; transition: transform var(--spring); }
.award-link:hover svg { color: #F08AE0; transform: rotate(-8deg) scale(1.1); }
.award-link:hover .eyebrow, .award-link:hover .go { color: #F08AE0; }
.award-link:hover .go .arrow { transform: translateX(4px); }

/* ---------- Secciones ---------- */

.section { padding-block: clamp(80px, 10vw, 120px); }
.section-tight { padding-top: 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-line { border-top: 1px solid var(--border); }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 56px; }
.section-title { display: flex; flex-direction: column; gap: 16px; }
.section-title h2 { font-size: clamp(36px, 5vw, 52px); }
.group + .group { margin-top: 64px; }
.group > .eyebrow { margin-bottom: 20px; }

/* ---------- Tarjetas de proyecto ----------
   Cada tarjeta define --card-color y toda la tarjeta es un enlace:
   el título lleva un enlace "estirado" que cubre la tarjeta. */

.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }

.card {
  position: relative;
  display: flex; flex-direction: column; gap: 16px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 16px 16px 28px;
  transition: border-color var(--ease), transform var(--spring), box-shadow var(--ease), background-color var(--ease);
}
.card:hover, .card:focus-within {
  --accent: var(--card-color, var(--brand));
  border-color: var(--accent);
  transform: translateY(-6px);
  background: var(--surface-2);
  box-shadow: 0 18px 40px -18px color-mix(in srgb, var(--accent) 55%, transparent);
}
.card-media { position: relative; aspect-ratio: 16 / 9; border-radius: 4px; overflow: hidden; background: var(--bg); border: 1px solid var(--border); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); }
.card:hover .card-media img { transform: scale(1.04); }
.card-media::before { content: ""; position: absolute; top: 0; left: 22px; z-index: 1; width: 44px; height: 6px; background: var(--accent); transition: background-color var(--ease), width var(--spring); }
.card:hover .card-media::before { width: 72px; }
.card-body { display: flex; flex-direction: column; gap: 14px; padding-inline: 8px; flex: 1; }
.card h3, .card h4 { font-size: clamp(26px, 2.6vw, 34px); }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.card .credit { font-size: 14px; color: var(--muted); }
.card .cue { margin-top: auto; color: var(--accent); font-weight: 600; font-size: 15px; transition: color var(--ease); }
.card .cue .arrow { display: inline-block; transition: transform var(--spring); }
.card:hover .cue .arrow { transform: translateX(5px); }

.stretched { text-decoration: none; color: inherit; }
.stretched::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; }
.stretched:hover { color: inherit; }
.stretched:focus-visible { outline: none; }
.stretched:focus-visible::after { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: var(--radius); }

.tags { display: flex; flex-wrap: wrap; gap: 8px; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.tag { border: 1px solid var(--border-strong); color: var(--muted); padding: 5px 10px; border-radius: 3px; }
.tag.accent { border-color: var(--accent); color: var(--accent); transition: color var(--ease), border-color var(--ease); }

/* Rejilla de mosaicos (prototipos y resumen de servicios) */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.tile { position: relative; background: var(--surface); padding: 30px; display: flex; flex-direction: column; gap: 12px; transition: background-color var(--ease), box-shadow var(--ease); }
.tile .eyebrow { letter-spacing: 0.12em; font-size: 12px; color: var(--accent); font-stretch: 100%; transition: color var(--ease); }
.tile h3, .tile h4 { font-size: 24px; letter-spacing: -0.01em; }
.tile p { margin: 0; color: var(--muted); font-size: 15px; }
.tile .meta { font-size: 14px; color: var(--muted); }
.tile > svg { width: 28px; height: 28px; color: var(--accent); transition: color var(--ease), transform var(--spring); }
.tile .btn { align-self: flex-start; margin-top: auto; }
.tile-link:hover, .tile-link:focus-within {
  --accent: var(--card-color, var(--brand));
  background: var(--surface-2);
  box-shadow: inset 0 0 0 1px var(--accent);
}
.tile-link:hover .btn-ghost, .tile-link:focus-within .btn-ghost { border-color: var(--accent); background: var(--accent); color: var(--on-accent); }
.tile-link:hover .btn .arrow { transform: translateX(4px); }
a.tile-plain { text-decoration: none; color: var(--text); }
a.tile-plain:hover { background: var(--surface-2); }
a.tile-plain:hover > svg { transform: translateY(-3px); }

/* ---------- Estudio ---------- */

.studio { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: clamp(40px, 6vw, 72px); align-items: center; }
.studio-text { display: flex; flex-direction: column; gap: 24px; }
.studio-text > p { margin: 0; font-size: clamp(17px, 1.6vw, 19px); }
.motto { font-family: var(--font-display); font-weight: 600; font-size: 26px; letter-spacing: -0.01em; color: var(--accent); margin: 0; }
.founder { padding-top: 22px; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 6px; }
.founder .name { font-family: var(--font-display); font-weight: 600; font-size: 24px; }
.founder .role { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.founder p { margin: 10px 0 0; color: var(--muted); font-size: 16px; }
.studio-photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--border); }

/* ---------- Contacto con brief ---------- */

.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: clamp(40px, 6vw, 72px); align-items: start; }
.contact-intro { display: flex; flex-direction: column; gap: 22px; }
.contact-intro h2 { font-size: clamp(40px, 6vw, 72px); letter-spacing: -0.03em; }
.contact-intro > p { margin: 0; color: var(--muted); font-size: 18px; }

.info-card {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 18px;
  transition: border-color var(--ease);
}
.info-card:hover { border-color: var(--border-strong); }
.info-card .label { display: block; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.info-card a { font-size: 17px; font-weight: 600; text-decoration: none; word-break: break-all; }
.info-card a:hover { color: var(--accent); }

.copy-btn {
  flex-shrink: 0; min-height: 40px; padding: 8px 16px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--border-strong); background: transparent; color: var(--text);
  font-family: var(--font-body); font-size: 14px; font-weight: 600;
  transition: border-color var(--ease), background-color var(--ease), color var(--ease), transform var(--spring);
}
.copy-btn:hover { border-color: var(--accent); background: var(--accent); color: var(--on-accent); transform: translateY(-2px); }
.copy-btn.is-done { border-color: var(--accent); color: var(--accent); background: transparent; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.chip {
  display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--border-strong); background: transparent; color: var(--text); text-decoration: none;
  font-family: var(--font-body); font-size: 14px; font-weight: 500;
  transition: border-color var(--ease), background-color var(--ease), color var(--ease), transform var(--spring);
}
.chip:hover { border-color: var(--accent); color: var(--text); transform: translateY(-2px); }
.chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); font-weight: 600; }

.brief { background: var(--bg); border: 1px solid var(--border); border-radius: 12px; padding: clamp(22px, 3vw, 32px); display: flex; flex-direction: column; gap: 18px; }
.brief h3 { font-size: 30px; }
.brief .field-label { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 6px 0 0; }
.brief textarea {
  width: 100%; min-height: 104px; resize: vertical; padding: 14px 16px; border-radius: var(--radius);
  background: var(--surface); color: var(--text); border: 1px solid var(--border-strong);
  font-family: var(--font-body); font-size: 16px; line-height: 1.5;
  transition: border-color var(--ease);
}
.brief textarea::placeholder { color: #75736E; }
.brief textarea:hover { border-color: #55555B; }
.brief textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent); }
.preview {
  margin: 0; padding: 14px 16px; border-radius: var(--radius); border: 1px dashed var(--border-strong);
  background: var(--surface); color: #D9D6CF; font-family: ui-monospace, 'SFMono-Regular', Consolas, monospace; font-size: 14px; line-height: 1.6;
  white-space: pre-wrap; word-break: break-word;
}
.brief .btn { width: 100%; }
.brief-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.brief-actions .btn { flex: 1 1 180px; width: auto; }
.brief .note { margin: 0; font-size: 14px; color: var(--muted); text-align: center; }

/* ---------- Encabezado de página (servicios) ---------- */

.page-hero { position: relative; overflow: hidden; background: var(--surface); border-bottom: 1px solid var(--border); }
.page-hero .watermark { position: absolute; right: -40px; top: 50%; transform: translateY(-50%); height: 125%; width: auto; opacity: 0.06; pointer-events: none; }
.page-hero .container { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 24px; padding-block: clamp(80px, 11vw, 128px) clamp(64px, 8vw, 96px); }
.page-hero h1 { font-size: clamp(48px, 7.5vw, 104px); line-height: 0.95; letter-spacing: -0.03em; max-width: 1000px; }
.back { align-self: flex-start; font-size: 14px; color: var(--muted); text-decoration: none; transition: color var(--ease), transform var(--spring); }
.back:hover { color: var(--accent); transform: translateX(-3px); }

.stages { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; }
.stages li { display: flex; align-items: center; gap: 10px; }
.stages span { border: 1px solid var(--border); background: var(--bg); padding: 10px 16px; border-radius: 3px; }
.stages li + li::before { content: "→"; color: var(--accent); }

.pillar { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 18px; transition: border-color var(--ease); }
.pillar:hover { border-color: var(--border-strong); }
.pillar .num { font-size: 64px; }
.pillar h2 { font-size: clamp(26px, 2.6vw, 32px); }
.pillar > p { margin: 0; font-size: 17px; }
.pillar ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--border); }
.pillar li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.pillar li strong { font-size: 15px; font-weight: 600; }
.pillar li span { font-size: 14px; color: var(--muted); }
.pillar .for { font-size: 14px; color: var(--muted); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 32px; }
.steps li { display: flex; flex-direction: column; gap: 12px; padding-top: 20px; border-top: 2px solid var(--border); transition: border-color var(--ease); }
.steps li:first-child, .steps li:hover { border-top-color: var(--accent); }
.steps .step-num { font-family: var(--font-stencil); font-size: 40px; line-height: 1; color: var(--accent); }
.steps h3 { font-size: 22px; letter-spacing: -0.01em; }
.steps p { margin: 0; color: var(--muted); font-size: 15px; }

.did { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 6px; }
.did .eyebrow { font-size: 12px; letter-spacing: 0.12em; font-stretch: 100%; }
.did p { color: var(--text); font-size: 15px; }

/* ---------- Páginas de proyecto ---------- */

.project-hero { position: relative; min-height: min(78vh, 720px); display: flex; align-items: flex-end; border-bottom: 1px solid var(--border); overflow: hidden; }
.project-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.project-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11, 11, 12, 0.98) 0%, rgba(11, 11, 12, 0.6) 45%, rgba(11, 11, 12, 0.15) 100%); }
.project-hero .container { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 22px; padding-block: 120px 72px; }
.project-hero h1 { font-size: clamp(48px, 8vw, 112px); line-height: 0.95; letter-spacing: -0.03em; max-width: 960px; }
@media (max-width: 700px) {
  .project-hero::after { background: linear-gradient(0deg, rgba(11, 11, 12, 0.98) 0%, rgba(11, 11, 12, 0.8) 60%, rgba(11, 11, 12, 0.45) 100%); }
}

.about { display: flex; flex-wrap: wrap; gap: 56px; }
.about-text { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.about-text p { margin: 0; font-size: 19px; }
.about-text .muted { color: var(--muted); font-size: 17px; }
.facts { flex: 1 1 320px; margin: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 8px 24px; align-self: flex-start; }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--border); }
.facts div:last-child { border-bottom: 0; }
.facts dt { color: var(--muted); font-size: 14px; flex-shrink: 0; }
.facts dd { margin: 0; font-size: 15px; text-align: right; }
.facts .accent { color: var(--accent); }

.award-box { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: var(--radius); border: 1px solid var(--accent); background: color-mix(in srgb, var(--accent) 8%, var(--bg)); }
.award-box svg { width: 28px; height: 28px; color: var(--accent); flex-shrink: 0; }
.award-box p { margin: 0; font-size: 16px; }

.media-frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: var(--surface); }
.media-frame img, .media-frame iframe, .media-frame video { width: 100%; height: 100%; object-fit: cover; border: 0; }
.shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 16px; }
.shots .media-frame { border-radius: 6px; }

.cta-band .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; }
.cta-band h2 { font-size: clamp(32px, 4.5vw, 52px); letter-spacing: -0.02em; max-width: 720px; }
.cta-band p { margin: 12px 0 0; color: var(--muted); font-size: 18px; max-width: 640px; }

.pager { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 1px; background: var(--border); border-top: 1px solid var(--border); }
.pager a { background: var(--bg); padding: 36px var(--gutter); display: flex; flex-direction: column; gap: 6px; text-decoration: none; transition: background-color var(--ease); }
.pager a:last-child { text-align: right; align-items: flex-end; }
.pager a:first-child { padding-left: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); }
.pager a:last-child { padding-right: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); }
.pager .eyebrow { font-size: 12px; letter-spacing: 0.15em; }
.pager strong { font-family: var(--font-display); font-weight: 600; font-size: clamp(24px, 3vw, 34px); letter-spacing: -0.02em; transition: color var(--ease); }
.pager a:hover { background: var(--surface); }
.pager a:hover strong { color: var(--hover-color, var(--accent)); }

/* ---------- Pie ---------- */

.site-footer { border-top: 1px solid var(--border); }
.footer-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; padding-block: 40px; font-size: 14px; color: var(--muted); }
.footer-brand { display: flex; align-items: center; gap: 16px; }
.footer-brand img { height: 34px; width: auto; }
.social { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.social a { color: var(--muted); text-decoration: none; transition: color var(--ease); }
.social a:hover { color: var(--accent); }
.footer-legal a { color: var(--muted); }
.footer-legal a:hover { color: var(--accent); }

/* Newsletter (formulario de Kit con el diseño del sitio) */
.footer-news { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 28px clamp(40px, 6vw, 72px); align-items: start; padding-block: clamp(56px, 7vw, 80px); }
.footer-news-wrap { background: var(--surface); border-bottom: 1px solid var(--border); }
.news-copy { display: flex; flex-direction: column; gap: 14px; }
.news-title { font-size: clamp(30px, 3.6vw, 44px); letter-spacing: -0.02em; }
.news-copy > p:last-child { margin: 0; color: var(--muted); font-size: 17px; max-width: 520px; }
.news-form { display: flex; flex-direction: column; gap: 16px; }
.news-fields { display: grid; grid-template-columns: 1fr 1.2fr auto; gap: 10px; }
.news-field input {
  width: 100%; min-height: 52px; padding: 12px 16px; border-radius: 4px;
  background: var(--bg); color: var(--text); border: 1px solid var(--border-strong);
  font-family: var(--font-body); font-size: 16px; transition: border-color var(--ease), box-shadow var(--ease);
}
.news-field input::placeholder { color: #75736E; }
.news-field input:hover { border-color: #55555B; }
.news-field input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent); }
.news-fields .btn { min-height: 52px; }
.news-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.news-consent { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; color: #D9D6CF; cursor: pointer; }
.news-consent input { flex-shrink: 0; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--accent); cursor: pointer; }
.news-legal { margin: 0; font-size: 13px; color: var(--muted); }
.news-legal a { color: var(--muted); }
.news-legal a:hover { color: var(--accent); }
.news-status { margin: 0; font-size: 15px; font-weight: 600; min-height: 1em; }
.news-status:empty { display: none; }
.news-form.is-ok .news-status { color: var(--accent); padding: 14px 16px; border: 1px solid var(--accent); border-radius: 4px; background: color-mix(in srgb, var(--accent) 10%, var(--bg)); }
.news-form.is-error .news-status { color: #FF8A7A; }
.news-form.is-ok .news-fields, .news-form.is-ok .news-consent, .news-form.is-ok .news-legal { display: none; }
.news-form[aria-busy="true"] .btn { opacity: 0.7; pointer-events: none; }
@media (max-width: 760px) {
  .news-fields { grid-template-columns: 1fr; }
  .news-fields .btn { width: 100%; }
}

/* Páginas legales */
.legal { max-width: 780px; }
.legal h2 { font-size: clamp(24px, 2.6vw, 30px); letter-spacing: -0.01em; margin: 56px 0 18px; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-family: var(--font-body); font-size: 15px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin: 28px 0 12px; }
.legal p, .legal li { color: #D9D6CF; font-size: 17px; }
.legal p { margin: 0 0 16px; }
.legal ul, .legal ol { margin: 0 0 16px; padding-left: 22px; }
.legal li { margin-bottom: 8px; }
.legal li::marker { color: var(--accent); }
.legal strong { color: var(--text); }
.legal a { color: var(--accent); }
.legal .note { margin-top: 40px; padding: 18px 20px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); color: var(--muted); font-size: 15px; }

/* ---------- 404 ---------- */

.not-found { min-height: 80vh; display: flex; align-items: center; }
.not-found .container { display: flex; flex-direction: column; gap: 24px; padding-block: 96px; }
.not-found .num { font-size: clamp(96px, 16vw, 180px); }

/* ---------- Movimiento reducido ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- Galería: carrusel ---------- */

.carousel { max-width: 1100px; margin-inline: auto; }
.carousel-stage { position: relative; }
.carousel-track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; border-radius: var(--radius);
}
.carousel-track::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; scroll-snap-align: start; margin: 0; }
.slide-btn {
  display: block; width: 100%; height: min(62vh, 618px); padding: 0; border: 1px solid var(--border); border-radius: var(--radius);
  background: #050506; overflow: hidden; cursor: zoom-in; transition: border-color var(--ease);
}
.slide-btn img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); }
.slide-btn:hover { border-color: var(--accent); }
.slide-btn:hover img { transform: scale(1.02); }

.car-side {
  position: absolute; top: 50%; z-index: 2; width: 52px; height: 52px; margin-top: -26px; border-radius: 6px; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.12); background: rgba(11, 11, 12, 0.72); color: var(--text); font-size: 20px;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: background-color var(--ease), border-color var(--ease), color var(--ease), transform var(--spring);
}
.car-prev { left: 14px; }
.car-next { right: 14px; }
.car-side:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); transform: scale(1.08); }

.car-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-top: 14px; }
.car-caption { margin: 0; font-size: 15px; color: var(--muted); }
.car-count { font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; flex-shrink: 0; }

.car-thumbs { display: flex; gap: 10px; margin-top: 14px; overflow-x: auto; padding: 4px 2px 8px; scrollbar-width: thin; scrollbar-color: var(--border-strong) transparent; }
.car-thumb {
  flex: 0 0 auto; width: 108px; aspect-ratio: 16 / 9; padding: 0; border-radius: 4px; overflow: hidden; cursor: pointer;
  border: 2px solid transparent; background: #050506; opacity: 0.55;
  transition: opacity var(--ease), border-color var(--ease), transform var(--spring);
}
.car-thumb img { width: 100%; height: 100%; object-fit: cover; }
.car-thumb:hover { opacity: 0.9; transform: translateY(-2px); }
.car-thumb[aria-current="true"] { opacity: 1; border-color: var(--accent); }

@media (max-width: 700px) {
  .slide-btn { height: auto; aspect-ratio: 16 / 10; }
  .car-side { width: 42px; height: 42px; margin-top: -21px; font-size: 17px; }
  .car-prev { left: 8px; }
  .car-next { right: 8px; }
  .car-thumb { width: 84px; }
}

/* ---------- Encabezado de proyecto con portada completa ---------- */

.project-hero.has-art { display: block; min-height: 0; }
.project-hero.has-art::after { display: none; }
.hero-art { position: relative; height: clamp(260px, 52vw, 74vh); overflow: hidden; background: #050506; }
.hero-art-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(40px) brightness(0.4) saturate(1.2); transform: scale(1.15); }
.hero-art-img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: contain; }
.hero-art::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 22%; z-index: 2; background: linear-gradient(0deg, var(--bg), rgba(11, 11, 12, 0)); }
.project-hero.has-art .container { padding-block: 36px 72px; }
.project-hero.has-art h1 { font-size: clamp(44px, 7vw, 96px); }

/* ---------- Proceso: cuadrícula ---------- */

.process-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(46%, 240px), 1fr)); gap: 14px; }
.thumb {
  position: relative; display: block; padding: 0; aspect-ratio: 4 / 3; border-radius: 6px; overflow: hidden; cursor: zoom-in;
  border: 1px solid var(--border); background: #050506; transition: border-color var(--ease), transform var(--spring), box-shadow var(--ease);
}
.thumb img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), opacity var(--ease); }
.thumb-cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 12px 10px; text-align: left;
  font-family: var(--font-body); font-size: 13px; color: var(--text);
  background: linear-gradient(0deg, rgba(5, 5, 6, 0.92), rgba(5, 5, 6, 0));
  opacity: 0; transform: translateY(6px); transition: opacity var(--ease), transform var(--spring);
}
.thumb:hover, .thumb:focus-visible { border-color: var(--accent); transform: translateY(-4px); box-shadow: 0 14px 30px -16px color-mix(in srgb, var(--accent) 60%, transparent); }
.thumb:hover img { transform: scale(1.05); }
.thumb:hover .thumb-cap, .thumb:focus-visible .thumb-cap { opacity: 1; transform: translateY(0); }
@media (hover: none) { .thumb-cap { opacity: 1; transform: none; } }

/* ---------- Visor de imágenes ---------- */

.lightbox {
  width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(5, 5, 6, 0.96); color: var(--text);
}
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox::backdrop { background: rgba(5, 5, 6, 0.9); }
.lb-figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: calc(100vw - 160px); max-height: calc(100vh - 48px); }
.lb-img { max-width: 100%; max-height: calc(100vh - 110px); object-fit: contain; border-radius: 4px; }
.lb-caption { display: flex; gap: 16px; align-items: baseline; font-size: 15px; color: #D9D6CF; }
.lb-count { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.lb-nav, .lb-close {
  position: absolute; width: 52px; height: 52px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--border-strong); background: rgba(22, 22, 24, 0.8); color: var(--text); font-size: 20px;
  transition: background-color var(--ease), border-color var(--ease), color var(--ease), transform var(--spring);
}
.lb-nav:hover, .lb-close:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); transform: scale(1.06); }
.lb-prev { left: 24px; top: 50%; margin-top: -26px; }
.lb-next { right: 24px; top: 50%; margin-top: -26px; }
.lb-close { right: 24px; top: 24px; font-size: 18px; }
@media (max-width: 700px) {
  .lb-figure { max-width: calc(100vw - 24px); }
  .lb-prev, .lb-next { top: auto; bottom: 20px; margin-top: 0; }
  .lb-img { max-height: calc(100vh - 170px); }
}

/* ---------- Gracias (suscripción confirmada) ---------- */

.thanks { min-height: 70vh; }
.thanks .lead { max-width: 620px; }
.done-icon { width: 64px; height: 64px; color: var(--accent); }

.welcome-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 20px; margin: 48px 0 8px; max-width: 980px; }
.welcome-card { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 28px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.welcome-title { font-size: 24px; letter-spacing: -0.01em; }
.welcome-list { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; color: #D9D6CF; }
.welcome-list li::marker { color: var(--accent); }
.welcome-list a { color: var(--text); }
.welcome-list a:hover { color: var(--accent); }
.welcome-note { margin: 0; color: var(--muted); font-size: 15px; }
.welcome-follow { margin: 32px 0 12px; color: var(--muted); }
.welcome-social { margin-bottom: 8px; }

/* ---------- Kit de prensa ---------- */
.mute { color: var(--muted); }
.mute-sm { font-size: 13px; font-weight: 500; opacity: 0.75; margin-left: 6px; }
.press-h2 { font-size: clamp(32px, 4vw, 44px); }
.press-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.press-col { display: flex; flex-direction: column; gap: 20px; }
.press-col p { margin: 0; color: #D9D6CF; font-size: 17px; }
.press-block { display: flex; flex-direction: column; gap: 12px; padding: 24px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.press-block-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.press-block h3 { font-size: 20px; }
.press-facts { flex: none; }
.press-facts dd { max-width: 60%; }
.press-founder { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.press-founder > img { width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--border); }
.press-name { font-family: var(--font-display); font-size: clamp(28px, 3vw, 36px); font-weight: 600; color: var(--text) !important; }
.award { display: grid; grid-template-columns: minmax(200px, 360px) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; padding: clamp(24px, 4vw, 40px); border: 1px solid var(--border); border-radius: var(--radius); background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 10%, var(--surface)), var(--surface)); }
.award img { width: 100%; height: auto; }
.award-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.award-list li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; }
.award-list strong { font-family: var(--font-display); font-size: clamp(24px, 2.6vw, 32px); font-weight: 600; }
.award-list a { font-size: 14px; color: var(--accent); }
.press-card { display: flex; flex-direction: column; gap: 12px; padding: 16px 16px 22px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg); }
.press-card-media { aspect-ratio: 16 / 9; border-radius: 4px; overflow: hidden; background: #000; border: 1px solid var(--border); }
.press-card-media.tall img { object-position: center 30%; }
.press-card-media img { width: 100%; height: 100%; object-fit: cover; }
.press-card h3 { font-size: 26px; }
.press-card p { margin: 0; color: var(--muted); font-size: 15px; }
.press-card .credit { font-size: 13px; }
.press-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: auto !important; padding-top: 4px; }
.press-links a { color: var(--accent); font-size: 14px; font-weight: 600; text-decoration: none; }
.press-links a:hover { text-decoration: underline; }
.press-soon { margin-top: 32px; padding: 22px 24px; border: 1px dashed var(--border-strong); border-radius: var(--radius); }
.press-soon p { margin: 0 0 10px; color: var(--muted); }
.press-soon ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.press-soon li span { color: var(--muted); font-size: 14px; }
.press-soon a { color: var(--text); font-weight: 600; }
.logo-tile { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.logo-swatch { aspect-ratio: 16 / 9; display: grid; place-items: center; border-radius: var(--radius); border: 1px solid var(--border); padding: 12% 14%; }
.logo-swatch.iso { padding: 9% 30%; }
.logo-swatch.dark { background: #0B0B0C; }
.logo-swatch.light { background: #F2F0EB; }
.logo-swatch img { width: 100%; height: 100%; object-fit: contain; }
.logo-tile figcaption { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); }
.logo-tile .press-links { margin: 0 !important; padding: 0; }
.brand-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 32px; margin-top: 48px; }
.swatches { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 24px; }
.swatches li { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.swatches .sw { width: 44px; height: 44px; border-radius: 8px; border: 1px solid var(--border-strong); }
.swatches code { color: var(--muted); font-size: 13px; }
.press-contact h3 { font-size: 26px; }
.press-contact .contact-line { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.press-contact .contact-line a { font-size: 20px; color: var(--text); font-weight: 600; }
@media (max-width: 820px) {
  .press-grid, .press-founder, .award { grid-template-columns: 1fr; }
  .award img { max-width: 300px; }
}
.info-card .kit-link { display: block; margin-top: 6px; font-size: 14px; font-weight: 600; color: var(--accent); }
.award-team { font-size: 15px !important; }
.award-proof { margin: 20px 0 0; }
.award-proof img { width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--border); }
.award-proof figcaption { margin-top: 8px; font-size: 13px; color: var(--muted); }

/* ---------- Videos de proyecto (pila + dúo) ---------- */
.video-stack { display: flex; flex-direction: column; gap: 22px; }
.video-item { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.video-item figcaption { color: var(--muted); font-size: 14px; }
.video-item figcaption strong { color: var(--text); font-weight: 600; }
.video-item .media-frame video { object-fit: contain; background: #000; }
.video-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 700px) { .video-duo { grid-template-columns: 1fr; } }

/* ---------- Selector de correo ---------- */
.mailpick {
  width: min(440px, calc(100vw - 32px)); padding: 28px 28px 24px; margin: auto;
  color: var(--text); background: var(--surface); border: 1px solid var(--border-strong); border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}
.mailpick::backdrop { background: rgba(5, 5, 6, 0.78); backdrop-filter: blur(4px); }
.mailpick[open] { animation: mailpick-in 0.22s cubic-bezier(0.2, 0.8, 0.2, 1); }
@keyframes mailpick-in { from { opacity: 0; transform: translateY(10px) scale(0.98); } }
.mailpick .eyebrow { margin: 0 0 12px; }
.mailpick-close {
  position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--border); background: transparent; color: var(--muted); font-size: 22px; line-height: 1; cursor: pointer;
}
.mailpick-close:hover { color: var(--text); border-color: var(--border-strong); }
.mailpick-addr {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 12px 12px 16px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg);
}
.mailpick-addr span { font-size: clamp(14px, 3.9vw, 17px); font-weight: 600; overflow-wrap: anywhere; }
.mailpick-sub { margin: 18px 0 12px; color: var(--muted); font-size: 15px; }
.mailpick-opts { display: flex; flex-direction: column; gap: 10px; }
.mailpick-opts .btn { justify-content: center; width: 100%; }
.mailpick-hint { margin: 14px 0 0; color: var(--muted); font-size: 13px; }
