:root {
  --beige: #E8DFD1;
  --white-broken: #F6F2EB;
  --ink: #1A2238;
  --text-body: #1A2238;
  --text-tertiary: #5F594F;
  --brass: #2E49D1;
  --brass-light: #D9DEF7;
  --stone: #A39C90;

  --font-display: 'Anton', sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'Inter', system-ui, sans-serif;
  --font-serif: 'Instrument Serif', serif;

  --container: 1440px;
  --gutter: 64px;
  --ease-reveal: cubic-bezier(.16,1,.3,1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--white-broken);
  color: var(--text-body);
  font-family: var(--font-body);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

.section-inner {
  max-width: var(--container);
  margin: 0 auto;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .22em;
  color: var(--brass);
  margin-bottom: 18px;
}

.eyebrow-light { color: var(--brass-light); }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--ink);
  margin: 0;
  letter-spacing: 0;
}

.lede {
  font-size: 18px;
  line-height: 1.75;
  font-weight: 300;
  color: var(--text-body);
  max-width: 520px;
}

.lede-light { color: rgba(255,255,255,.82); }

button {
  font-family: inherit;
  cursor: pointer;
}

/* ---------------- Header ---------------- */

.page-head-offset { padding-top: 120px; }

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px var(--gutter);
  background: transparent;
  transition: background .24s ease, box-shadow .24s ease, padding .24s ease;
}

.site-header.is-solid {
  background: var(--white-broken);
  box-shadow: 0 1px 0 rgba(20,17,15,.08);
  padding-top: 18px;
  padding-bottom: 18px;
}

.logo {
  display: inline-flex;
  align-items: baseline;
  gap: .18em;
  font-size: 15px;
  color: rgba(255,255,255,.9);
  text-decoration: none;
  transition: color .24s ease;
}

.logo-mark {
  font-family: var(--font-display);
  letter-spacing: .04em;
}

.logo-script {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--brass-light);
}

.site-header.is-solid .logo { color: var(--text-tertiary); }
.site-header.is-solid .logo-script { color: var(--brass); }

.nav-desktop {
  display: flex;
  gap: 34px;
}

.nav-desktop a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  transition: color .24s ease, opacity .2s ease;
}

.nav-desktop a:hover { opacity: .7; }

.nav-desktop a[aria-current="page"] { color: var(--brass-light); }
.site-header.is-solid .nav-desktop a[aria-current="page"] { color: var(--brass); }

.site-header.is-solid .nav-desktop a { color: var(--ink); }

.nav-mobile a[aria-current="page"] { color: var(--brass); }

.nav-cta {
  padding: 10px 22px;
  border: 1px solid #fff;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  transition: background .24s ease, color .24s ease, border-color .24s ease;
}

.nav-cta:hover { background: #fff; color: var(--ink); opacity: 1; }

.site-header.is-solid .nav-cta {
  border-color: var(--ink);
  color: var(--ink);
}

.site-header.is-solid .nav-cta:hover { background: var(--ink); color: #fff; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
}

.nav-toggle span {
  width: 24px;
  height: 1.5px;
  background: #fff;
  transition: background .24s ease, transform .24s ease;
}

.site-header.is-solid .nav-toggle span { background: var(--ink); }

.nav-mobile {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  transform: translateY(-100%);
  transition: transform .32s var(--ease-reveal);
}

.nav-mobile.is-open { transform: translateY(0); }

.nav-mobile a {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 24px;
  color: #fff;
  text-decoration: none;
  letter-spacing: -.01em;
}

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

.hero {
  position: relative;
  min-height: 100vh;
  background: var(--ink);
  overflow: hidden;
}

.hero-panel {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  padding: 150px 24px 64px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
  gap: 28px;
}

@media (min-width: 900px) {
  .hero-panel { padding-left: calc(var(--gutter) + 36px); padding-right: var(--gutter); }
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 32%;
  z-index: 0;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(ellipse 70% 60% at 50% 42%, rgba(20,17,15,.55) 0%, rgba(20,17,15,.3) 55%, rgba(20,17,15,0) 100%),
    linear-gradient(180deg, rgba(20,17,15,.35) 0%, rgba(20,17,15,.12) 28%, rgba(20,17,15,.18) 58%, rgba(20,17,15,.65) 100%);
}

.hero-spec {
  position: absolute;
  z-index: 3;
  bottom: 84px;
  right: 56px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(244,241,234,.6);
}

@media (min-width: 768px) {
  .hero-spec { bottom: 92px; right: calc(var(--gutter) + 36px); }
}

.hero-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(44px, 7vw, 86px);
  font-weight: 400;
  line-height: .95;
  letter-spacing: 0;
  color: #fff;
}

.hero-copy p {
  margin: 14px 0 0;
  max-width: 820px;
  font-size: clamp(18px, 3vw, 38px);
  line-height: 1.3;
  font-weight: 300;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
}

.hero-sub-line2 {
  display: inline-flex;
  align-items: baseline;
  justify-content: flex-start;
  flex-wrap: nowrap;
  gap: .3em;
}

.hero-rotate-word {
  display: inline-block;
  text-align: left;
  white-space: nowrap;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  color: var(--brass-light);
  animation: hero-word-in .5s var(--ease-reveal);
}

@keyframes hero-word-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-rotate-word { animation: none; }
}

.hero-timecode,
.hero-status {
  position: absolute;
  z-index: 3;
  top: 96px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(244,241,234,.5);
  display: none;
}

.hero-timecode { left: 56px; }

.hero-status {
  right: 56px;
  align-items: center;
  gap: 7px;
}

.hero-status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #6fcf7a;
  box-shadow: 0 0 5px 1px rgba(111,207,122,.8);
  flex-shrink: 0;
}

@media (min-width: 900px) {
  .hero-timecode { display: block; top: 104px; left: calc(var(--gutter) + 36px); }
  .hero-status { display: flex; top: 104px; right: calc(var(--gutter) + 36px); }
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 14px;
}

.hero-btn {
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .2s ease, color .2s ease, border-color .2s ease, opacity .2s ease;
}

.hero-btn-outline {
  background: var(--brass);
  color: #fff;
  border: 1px solid var(--brass);
}

.hero-btn-outline:hover { background: #24399f; border-color: #24399f; }

.hero-bottom-bar {
  position: absolute;
  z-index: 3;
  left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 24px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(244,241,234,.65);
}

.hero-bottom-left { display: none; }
.hero-bottom-right { display: none; }

.scroll-indicator {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 auto;
}

.scroll-line {
  width: 24px;
  height: 1px;
  background: rgba(255,255,255,.6);
}

.hud-corner {
  position: absolute;
  width: 22px;
  height: 22px;
  border: 1px solid rgba(244,241,234,.45);
  z-index: 3;
}

.hud-tl { top: 24px; left: 24px; border-right: none; border-bottom: none; }
.hud-tr { top: 24px; right: 24px; border-left: none; border-bottom: none; }
.hud-bl { bottom: 56px; left: 24px; border-right: none; border-top: none; }
.hud-br { bottom: 56px; right: 24px; border-left: none; border-top: none; }

@media (min-width: 768px) {
  .hud-tl, .hud-tr { top: var(--gutter); }
  .hud-tl, .hud-bl { left: var(--gutter); }
  .hud-tr, .hud-br { right: var(--gutter); }
  .hud-bl, .hud-br { bottom: 64px; }
}

.hero-rec {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: rgba(244,241,234,.75);
}

@media (min-width: 900px) {
  .hero-bottom-left, .hero-bottom-right { display: block; }
  .hero-bottom-bar { padding: 24px var(--gutter); }
  .scroll-indicator { margin: 0; }
}

.hero-rec-dot {
  position: relative;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ff2d20;
  box-shadow: 0 0 6px 1px rgba(255,45,32,.9);
  animation: rec-pulse 1.4s ease-in-out infinite;
}

.hero-rec-dot::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid rgba(255,45,32,.7);
  animation: rec-ring 1.4s ease-out infinite;
}

@keyframes rec-pulse {
  0%, 100% { opacity: .55; transform: scale(.9); }
  50% { opacity: 1; transform: scale(1); }
}

@keyframes rec-ring {
  0% { opacity: .8; transform: scale(.6); }
  100% { opacity: 0; transform: scale(1.6); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-rec-dot, .hero-rec-dot::after { animation: none; opacity: 1; transform: none; }
}

/* ---------------- Reveal-on-scroll ---------------- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
}

.reveal.is-visible {
  animation: reveal-in .52s var(--ease-reveal) forwards;
}

.reveal.is-visible .reveal-child {
  opacity: 0;
  animation: reveal-in .52s var(--ease-reveal) forwards;
}

@keyframes reveal-in {
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.is-visible .reveal-child { opacity: 1; transform: none; animation: none; }
}

.text-link {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--ink);
}

.text-link-bar {
  width: 56px;
  height: 1px;
  background: var(--ink);
  transition: width .3s ease;
}

.text-link:hover .text-link-bar { width: 76px; }

/* ---------------- Portfolio ---------------- */

.portfolio { background: var(--white-broken); padding: 80px 24px; }

.portfolio-head {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 32px;
}

.portfolio-head h2 { font-size: clamp(32px, 5.5vw, 72px); line-height: .98; }

.filters { display: flex; flex-wrap: wrap; gap: 10px; }

.filter-btn {
  padding: 10px 18px;
  border: 1px solid rgba(20,17,15,.2);
  border-radius: 999px;
  background: transparent;
  color: var(--text-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.filter-btn.is-active,
.filter-btn:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: 170px;
  grid-auto-flow: dense;
  gap: 10px;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  border: none;
  padding: 0;
  background: none;
  transition: opacity .18s ease, transform .3s ease;
}

.portfolio-item.is-hidden {
  opacity: 0;
  transform: scale(.96);
  pointer-events: none;
  position: absolute;
  width: 0; height: 0;
  overflow: hidden;
}

.portfolio-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
  filter: saturate(1.08) contrast(1.06) brightness(1.02);
}

.portfolio-item:hover img { transform: scale(1.06); }

.portfolio-item.span2 { grid-column: span 2; }
.portfolio-item.row2 { grid-row: span 2; }

.portfolio-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 16px;
  background: linear-gradient(180deg, rgba(20,17,15,0), rgba(20,17,15,.6));
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #fff;
  text-align: left;
}

@media (min-width: 900px) {
  .portfolio { padding: 120px var(--gutter); }
  .portfolio-grid { grid-template-columns: repeat(4,1fr); grid-auto-rows: 210px; gap: 14px; }
  .portfolio-head { flex-direction: row; align-items: flex-end; justify-content: space-between; margin-bottom: 40px; }
}

/* ---------------- Vídeos ---------------- */

.videos { background: var(--beige); padding: 70px 24px; }

.videos-head { margin-bottom: 32px; }
.videos-head h2 { font-size: clamp(32px, 5.5vw, 72px); line-height: .98; }

.videos-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.video-item {
  position: relative;
  display: block;
  overflow: hidden;
  border: none;
  padding: 0;
  background: var(--ink);
  aspect-ratio: 16 / 9;
}

.video-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease, opacity .2s ease;
  opacity: .82;
}

.video-item:hover img { transform: scale(1.04); opacity: 1; }

.video-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(244,241,234,.92);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: transform .2s ease, background .2s ease;
}

.video-item:hover .video-play { transform: translate(-50%,-50%) scale(1.08); background: #fff; }

.video-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 16px;
  background: linear-gradient(180deg, rgba(20,17,15,0), rgba(20,17,15,.65));
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #fff;
  text-align: left;
}

@media (min-width: 640px) {
  .videos-grid { grid-template-columns: repeat(2,1fr); }
}

@media (min-width: 900px) {
  .videos { padding: 110px var(--gutter); }
  .videos-grid { grid-template-columns: repeat(3,1fr); gap: 20px; }
}

/* ---------------- Making of ---------------- */

.makingof { padding: 70px var(--gutter) 90px; }

.makingof-carousel {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
}

.makingof-grid {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 4px;
  flex: 1;
  min-width: 0;
}

.makingof-arrow {
  flex: none;
  width: 40px;
  height: 40px;
  border: none;
  background: none;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity .2s ease, transform .2s ease;
}

.makingof-arrow svg { width: 24px; height: 24px; }
.makingof-arrow:hover { opacity: .6; }
.makingof-arrow:active { transform: scale(.92); }

.makingof-progress {
  height: 3px;
  background: rgba(26,34,56,.12);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
  margin-top: 16px;
}

.makingof-progress-bar {
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  background: var(--brass);
  border-radius: 999px;
}

.makingof-item {
  position: relative;
  flex: 0 0 220px;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  background: var(--ink);
  scroll-snap-align: start;
}

@media (max-width: 640px) {
  .makingof { padding-left: 20px; padding-right: 20px; }
  .makingof-carousel { gap: 0; }
  .makingof-arrow { display: none; }
  .makingof-item { flex-basis: 76vw; }
  .makingof-item-wide { flex-basis: 84vw; }
}

.makingof-item video {
  width: 100%; height: 100%;
  object-fit: cover;
}

.makingof-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 14px;
  background: linear-gradient(180deg, rgba(20,17,15,0), rgba(20,17,15,.65));
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #fff;
  pointer-events: none;
}

.makingof-sound {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(20,17,15,.55);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s ease;
}

.makingof-sound svg { width: 17px; height: 17px; }

.makingof-item.is-unmuted .makingof-sound { background: var(--brass); }

.makingof-ig {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(20,17,15,.55);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  text-decoration: none;
  transition: background .2s ease;
}

.makingof-ig:hover { background: var(--brass); }

.makingof-item-wide { aspect-ratio: 16 / 9; flex-basis: 320px; }

@media (min-width: 900px) {
  .makingof-item { flex-basis: 260px; }
  .makingof-item-wide { flex-basis: 420px; }
}

.seo-intro { background: var(--white-broken); padding: 40px 24px; }
.seo-intro p { max-width: 640px; margin: 0 auto; text-align: center; font-size: 14px; line-height: 1.7; color: var(--text-tertiary); }
.seo-intro strong { color: var(--ink); font-weight: 600; }

/* ---------------- Explora (inicio) ---------------- */

.explore-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: rgba(26,34,56,.12);
  margin-top: 36px;
  border: 1px solid rgba(26,34,56,.12);
}

.explore-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 22px;
  background: var(--white-broken);
  text-decoration: none;
  color: var(--ink);
  transition: background .2s ease, padding-left .2s ease;
}

.explore-card:hover { background: var(--beige); padding-left: 30px; }

.explore-card-title {
  font-family: var(--font-display);
  font-size: 20px;
}

.explore-card-arrow {
  font-size: 18px;
  color: var(--brass);
  transition: transform .2s ease;
}

.explore-card:hover .explore-card-arrow { transform: translateX(4px); }

@media (min-width: 640px) {
  .explore-grid { grid-template-columns: repeat(2,1fr); }
}

@media (min-width: 900px) {
  .explore-grid { grid-template-columns: repeat(3,1fr); }
}

/* ---------------- Reseñas ---------------- */

.reviews { background: var(--white-broken); padding: 70px 24px; }

.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 32px;
}

.review-card {
  background: var(--beige);
  padding: 28px 24px;
  border-radius: 4px;
}

.review-stars {
  color: var(--brass);
  font-size: 14px;
  letter-spacing: .15em;
  margin-bottom: 14px;
}

.review-text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
  margin: 0 0 16px;
}

.review-author {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--ink);
}

.review-author span {
  font-family: var(--font-body);
  font-weight: 400;
  letter-spacing: 0;
  color: var(--text-tertiary);
  text-transform: none;
}

@media (min-width: 768px) {
  .reviews-grid { grid-template-columns: repeat(3,1fr); }
}

@media (min-width: 900px) {
  .reviews { padding: 110px var(--gutter); }
}

/* ---------------- Sobre mí ---------------- */

.sobre-mi { background: var(--beige); padding: 80px 24px 36px; }

.sobre-mi-grid { display: grid; gap: 40px; }
.sobre-mi-grid > * { min-width: 0; }

.polaroid {
  position: relative;
  background: var(--white-broken);
  padding: 10px;
  border: 1px solid var(--stone);
  max-width: 460px;
  margin: 0 auto;
}

.polaroid-tape { display: none; }

.polaroid-photo { height: 420px; overflow: hidden; }
.polaroid-photo img { width: 100%; height: 100%; object-fit: cover; }

@media (min-width: 640px) {
  .sobre-mi-grid { grid-template-columns: 1fr 360px; gap: 48px; align-items: center; }
  .polaroid { max-width: 100%; margin: 0; }
  .polaroid-photo { height: 460px; }
}

.sobre-mi-text h2 { font-size: clamp(32px, 5vw, 60px); line-height: 1.02; }

.sobre-mi-text .lede { max-width: 560px; font-size: 17px; line-height: 1.8; margin-top: 24px; }

.stats {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid rgba(20,17,15,.14);
  max-width: 640px;
}

.stats > div {
  border-left: 1px solid rgba(20,17,15,.14);
  padding-left: 18px;
}

.stats > div:first-child { border-left: none; padding-left: 0; }

.stat-num { font-family: var(--font-display); font-weight: 800; font-size: clamp(22px,2.6vw,30px); line-height: 1; color: var(--ink); }
.stat-label { font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--text-tertiary); margin-top: 4px; line-height: 1.3; }
.stat-hero .stat-num { color: var(--brass); }

@media (min-width: 900px) {
  .sobre-mi { padding: 130px var(--gutter) 64px; }
  .sobre-mi-grid { grid-template-columns: 1fr 460px; gap: 80px; align-items: start; }
  .polaroid { max-width: 100%; margin-top: 40px; }
  .polaroid-photo { height: 640px; }
}

/* ---------------- Clientes ---------------- */

.clientes { background: var(--beige); padding: 56px 0; border-top: 1px solid rgba(20,17,15,.1); overflow: hidden; }

.clientes .section-inner { padding: 0 24px; }

.clientes-title {
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 36px;
}

@media (min-width: 900px) {
  .clientes-title { font-size: 19px; }
}

.marquee {
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 48px;
  width: max-content;
  animation: marquee-scroll 26s linear infinite;
}

.marquee:hover .marquee-track { animation-play-state: paused; }

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

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .marquee { overflow-x: auto; }
}

.cliente-logo {
  flex: none;
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .2s ease;
}

.cliente-logo img { max-width: 100%; max-height: 100%; width: auto; height: 100%; object-fit: contain; }

.cliente-logo.placeholder {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(20,17,15,.3);
  text-align: center;
  white-space: nowrap;
}

@media (min-width: 900px) {
  .cliente-logo { height: 108px; }
}

@media (min-width: 900px) {
  .clientes { padding: 80px 0; }
  .clientes .section-inner { padding: 0 var(--gutter); }
  .marquee-track { gap: 72px; }
  .cliente-logo { width: 190px; height: 76px; padding: 16px 22px; }
}

/* ---------------- Contacto ---------------- */

.contacto { position: relative; overflow: hidden; background: var(--ink); padding: 70px 24px; }

.contacto-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 20% 50%;
  opacity: .42;
}

.contacto-grid { position: relative; display: grid; gap: 40px; }

.contacto-text h2 { color: #fff; font-size: clamp(30px,5vw,68px); line-height: .98; }

.contacto-info {
  margin-top: 34px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 15px;
  font-weight: 300;
  color: #fff;
}

.contacto-social { margin-top: 28px; display: flex; gap: 10px; }

.contacto-social a {
  width: 42px; height: 42px;
  border: 1px solid rgba(255,255,255,.4);
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; letter-spacing: .06em; color: #fff;
  text-decoration: none;
  transition: border-color .2s ease, background .2s ease;
}

.contacto-social a:hover { background: rgba(255,255,255,.1); border-color: #fff; }

.contacto-form {
  background: rgba(244,241,234,.96);
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.field label {
  display: block;
  font-size: 10.5px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 8px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid rgba(20,17,15,.25);
  background: transparent;
  padding: 6px 0;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 300;
  color: var(--ink);
  border-radius: 0;
  appearance: none;
}

.field select { color: var(--text-body); }

.field textarea { resize: vertical; min-height: 74px; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--ink);
}

.contacto-submit {
  margin-top: 6px;
  padding: 16px;
  border-radius: 999px;
  text-align: center;
  background: var(--brass);
  color: #fff;
  border: none;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  transition: background .24s ease;
}

.contacto-submit:hover { background: #24399f; }

.contacto-status {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--text-body);
  min-height: 1em;
}

@media (min-width: 900px) {
  .contacto { padding: 120px var(--gutter); }
  .contacto-grid { grid-template-columns: 1fr 1fr; gap: 80px; }
  .contacto-form { padding: 40px; }
}

/* ---------------- Footer ---------------- */

.site-footer {
  background: var(--ink);
  padding: 40px 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  text-align: center;
}

.footer-logo { display: inline-flex; align-items: baseline; gap: .2em; font-size: 24px; color: #fff; }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
}

.footer-links a { color: inherit; text-decoration: none; }
.footer-links a:hover { color: #fff; }

@media (min-width: 900px) {
  .site-footer { padding: 56px var(--gutter); flex-direction: row; justify-content: space-between; text-align: left; }
}

/* ---------------- Cookie banner ---------------- */

.cookie-bar {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 60;
  max-width: 760px;
  margin: 0 auto;
  background: var(--ink);
  color: rgba(255,255,255,.88);
  padding: 20px 22px;
  border-radius: 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 16px 40px rgba(0,0,0,.3);
  font-size: 13px;
  line-height: 1.5;
  transition: opacity .3s ease, transform .3s ease;
}

.cookie-bar p { margin: 0; flex: 1 1 320px; min-width: 0; }
.cookie-bar a { color: var(--brass-light); text-decoration: underline; }

.cookie-bar-actions { display: flex; gap: 10px; flex: none; }

.cookie-btn {
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,.35);
  background: transparent;
  color: #fff;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease;
  white-space: nowrap;
}

.cookie-btn-accept { background: var(--brass); border-color: var(--brass); }
.cookie-btn-accept:hover { background: #24399f; }
.cookie-btn-reject:hover { background: rgba(255,255,255,.12); }

.cookie-bar.is-hidden { opacity: 0; transform: translateY(16px); pointer-events: none; }

/* ---------------- Legal pages ---------------- */

.legal { background: var(--white-broken); padding-bottom: 90px; }

.legal-inner { max-width: 760px; }

.legal-inner h1 { font-size: clamp(32px, 5vw, 52px); margin-bottom: 28px; }

.legal-inner h2 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .04em;
  color: var(--ink);
  margin: 34px 0 10px;
}

.legal-inner p, .legal-inner li {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-body);
}

.legal-inner ul { padding-left: 20px; margin: 10px 0; }
.legal-inner li { margin-bottom: 4px; }

.legal-flag {
  background: var(--beige);
  border: 1px solid var(--stone);
  border-radius: 8px;
  padding: 14px 16px;
  font-size: 13px !important;
}

.legal-updated {
  margin-top: 40px;
  font-size: 12px !important;
  color: var(--text-tertiary);
}

/* ---------------- Lightbox ---------------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox[hidden] { display: none; }

.lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20,17,15,.96);
}

.lightbox-figure {
  position: relative;
  z-index: 1;
  max-width: min(90vw, 1100px);
  max-height: 86vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  transform: scale(1.02);
  opacity: 0;
  animation: lb-in .4s var(--ease-reveal) forwards;
}

@keyframes lb-in { to { opacity: 1; transform: scale(1); } }

@media (prefers-reduced-motion: reduce) {
  .lightbox-figure { animation: none; opacity: 1; transform: none; }
}

.lightbox-figure img {
  max-width: 100%;
  max-height: 74vh;
  object-fit: contain;
}

.lightbox-figure figcaption {
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
  min-height: 1em;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  z-index: 2;
  background: none;
  border: none;
  color: #fff;
  font-size: 20px;
  padding: 12px;
  transition: opacity .2s ease;
}

.lightbox-close:hover,
.lightbox-nav:hover { opacity: .6; }

.lightbox-close { top: 12px; right: 12px; }
.lightbox-prev { left: 4px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 4px; top: 50%; transform: translateY(-50%); }

@media (min-width: 768px) {
  .lightbox-close { top: 28px; right: 28px; }
  .lightbox-prev { left: 20px; }
  .lightbox-next { right: 20px; }
}

/* ---------------- Utility ---------------- */

@media (max-width: 899px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: flex; }
}
