/* ═══════════════════════════════════════════
   RODRIGUEZ & CO. STUDIO — STYLESHEET
   ═══════════════════════════════════════════ */

/* VARIABLES */
:root {
  --dark:     #0A0907;
  --dark-2:   #111009;
  --white:    #F0EBE3;
  --muted:    #7A7268;
  --accent:   #C4A882;
  --line:     rgba(240, 235, 227, 0.12);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; }
body {
  background: var(--dark);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 300;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { background: none; border: none; cursor: pointer; font-family: inherit; color: inherit; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
input, select, textarea {
  background: none;
  border: none;
  outline: none;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
  width: 100%;
}

/* ─── LOADER ─── */
.loader {
  position: fixed;
  inset: 0;
  background: var(--dark);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.loader__inner { text-align: center; }
.loader__text {
  font-family: var(--font-display);
  font-size: clamp(12px, 1.5vw, 16px);
  font-weight: 300;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(240,235,227,0.45);
  opacity: 0;
  display: block;
  margin-bottom: 8px;
}
.loader__percent {
  font-family: var(--font-display);
  font-size: clamp(100px, 18vw, 220px);
  font-weight: 300;
  letter-spacing: -0.04em;
  color: var(--white);
  opacity: 0.07;
  line-height: 1;
  display: block;
  margin-bottom: 32px;
}
.loader__bar {
  width: 120px;
  height: 1px;
  background: rgba(240,235,227,0.12);
  margin: 0 auto;
  overflow: hidden;
}
.loader__fill {
  height: 100%;
  width: 0;
  background: var(--accent);
  transform-origin: left;
}

/* ─── CURSOR ─── */
.cursor,
.cursor-follower {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  will-change: transform;
  display: none;
}
@media (pointer: fine) {
  .cursor { display: flex; align-items: center; justify-content: center; }
  .cursor-follower { display: block; }
  body { cursor: none; }
  a, button { cursor: none; }
}
.cursor {
  width: 10px; height: 10px;
  background: var(--white);
  transition: width 0.4s var(--ease-out), height 0.4s var(--ease-out), background 0.3s;
}
.cursor-follower {
  width: 44px; height: 44px;
  border: 1px solid rgba(240,235,227,0.35);
  transition: width 0.5s var(--ease-out), height 0.5s var(--ease-out), border-color 0.3s;
}
.cursor__label {
  font-size: 9px;
  letter-spacing: 0.1em;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--dark);
  opacity: 0;
  transition: opacity 0.3s;
  white-space: nowrap;
  font-family: var(--font-body);
}
.cursor--project { width: 72px; height: 72px; background: var(--white); }
.cursor--project .cursor__label { opacity: 1; }
.cursor--project ~ .cursor-follower { width: 0; height: 0; border-color: transparent; }
.cursor--link { width: 6px; height: 6px; }

/* ─── NAV ─── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 48px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.4s;
}
.nav::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10,9,7,0.7) 0%, transparent 100%);
  pointer-events: none;
}
.nav__logo { position: relative; z-index: 1; display: flex; align-items: center; }
.nav__logo-img {
  height: 28px;
  width: auto;
  filter: invert(1) brightness(10);
  mix-blend-mode: screen;
  opacity: 0.92;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 1;
}
.nav__link {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(240,235,227,0.7);
  transition: color 0.3s;
  position: relative;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 0.4s var(--ease-out);
}
.nav__link:hover { color: var(--white); }
.nav__link:hover::after { width: 100%; }
.nav__cta {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  border: 1px solid rgba(240,235,227,0.3);
  padding: 10px 20px;
  border-radius: 2px;
  transition: border-color 0.3s, background 0.3s, color 0.3s;
}
.nav__cta:hover {
  background: var(--white);
  color: var(--dark);
  border-color: var(--white);
}
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  position: relative;
  z-index: 1;
}
.nav__hamburger span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--white);
  transition: transform 0.4s var(--ease-out), opacity 0.3s;
}

/* ─── MOBILE MENU ─── */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--dark-2);
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s var(--ease-out);
}
.mobile-menu.is-open { opacity: 1; pointer-events: all; }
.mobile-menu__inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.mobile-menu__link {
  font-family: var(--font-display);
  font-size: clamp(32px, 8vw, 56px);
  font-weight: 300;
  color: rgba(240,235,227,0.5);
  transition: color 0.3s;
  opacity: 0;
  transform: translateY(20px);
}
.mobile-menu__link:hover { color: var(--white); }
.mobile-menu__link--cta { color: var(--accent); }
.mobile-menu__footer {
  margin-top: 24px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

/* ─── SCROLL CONTAINER ─── */
.scroll-container {
  height: 100vh;
  overflow-y: scroll;
  scroll-behavior: smooth;
  overscroll-behavior: none;
}
.scroll-container::-webkit-scrollbar { display: none; }

/* ─── PANEL BASE ─── */
.panel {
  height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

/* ─── PANEL OVERLAYS ─── */
.panel__overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.panel__overlay--full {
  background: linear-gradient(
    to bottom,
    rgba(10,9,7,0.2) 0%,
    rgba(10,9,7,0.05) 40%,
    rgba(10,9,7,0.6) 80%,
    rgba(10,9,7,0.85) 100%
  );
}
.panel__overlay--bottom {
  background: linear-gradient(
    to bottom,
    transparent 30%,
    rgba(10,9,7,0.3) 55%,
    rgba(10,9,7,0.85) 80%,
    rgba(10,9,7,0.97) 100%
  );
}

/* ─── PANEL BG ─── */
.panel__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.panel__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transform-origin: center;
  transition: transform 8s ease;
}
.panel--project:hover .panel__bg-img {
  transform: scale(1);
}

/* ─── HERO VIDEO ─── */
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

/* ─── HERO OVERLAY ─── */
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom,
      rgba(10,9,7,0.2) 0%,
      rgba(10,9,7,0.0) 20%,
      rgba(10,9,7,0.0) 60%,
      rgba(10,9,7,0.5) 85%,
      rgba(10,9,7,0.8) 100%);
  pointer-events: none;
  z-index: 1;
}

/* ─── ANIM HELPERS ─── */
.anim-line {
  display: block;
  overflow: hidden;
}
.anim-line > span, .anim-line.anim-line--italic {
  font-style: italic;
}
.anim-line--italic { font-style: italic; }

/* ─── SCROLL INDICATOR ─── */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  right: 48px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
}
.scroll-indicator__line {
  width: 1px;
  height: 48px;
  background: var(--line);
  overflow: hidden;
  position: relative;
}
.scroll-indicator__line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--accent);
  animation: scrollLine 1.8s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { top: -100%; }
  50% { top: 0; }
  100% { top: 100%; }
}
.scroll-indicator__text {
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  writing-mode: vertical-rl;
}

/* ─── MANIFESTO ─── */
.panel--manifesto {
  background: #B8472C;
  height: 180vh;
  overflow: visible;
}
.manifesto__scroll-area {
  height: 180vh;
  position: relative;
}
.manifesto__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 0 80px;
  max-width: 960px;
}
.manifesto__label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(240,235,227,0.6);
  margin-bottom: 32px;
  display: block;
  opacity: 0;
  transform: translateY(16px);
}
.manifesto__title {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.8vw, 72px);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0;
}
/* scroll-reveal word states — color driven by inline style via JS */
.manifesto__title .word {
  display: inline-block;
  white-space: nowrap;
}

/* ─── ARCHIVE ─── */
.panel--archive {
  background: var(--dark);
  align-items: stretch;
  overflow: hidden;
}
.archive__inner {
  display: grid;
  grid-template-columns: 200px 1fr;
  width: 100%;
  height: 100%;
}
.archive__sidebar {
  border-right: 1px solid var(--line);
  padding: 56px 32px;
  display: flex;
  flex-direction: column;
  gap: 48px;
  flex-shrink: 0;
}
.archive__sidebar-label {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(240,235,227,0.3);
}
.archive__filters {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.archive__filter {
  text-align: left;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(240,235,227,0.28);
  padding: 6px 0;
  transition: color 0.25s;
  position: relative;
}
.archive__filter::before {
  content: '';
  position: absolute;
  left: -16px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0;
  transition: opacity 0.25s;
}
.archive__filter.is-active,
.archive__filter:hover { color: var(--white); }
.archive__filter.is-active::before { opacity: 1; }

/* List */
.archive__list {
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  scrollbar-width: none;
}
.archive__list::-webkit-scrollbar { display: none; }
.archive__row {
  display: grid;
  grid-template-columns: 1fr auto auto 28px;
  align-items: center;
  gap: 40px;
  padding: 0 56px 0 48px;
  flex: 1;
  min-height: 0;
  border-bottom: 1px solid var(--line);
  cursor: none;
  transition: background 0.35s ease;
  position: relative;
  overflow: hidden;
}
.archive__row::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}
.archive__row:hover { background: #1E4A2C; }
.archive__row:hover::after { width: 100%; }
.archive__row-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(24px, 3.2vw, 52px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1;
  color: rgba(240,235,227,0.75);
  transition: color 0.3s, transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: block;
}
.archive__row:hover .archive__row-name {
  color: var(--white);
  transform: translateX(10px);
}
.archive__row-type {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(240,235,227,0.3);
  white-space: nowrap;
  transition: color 0.3s;
}
.archive__row:hover .archive__row-type { color: rgba(240,235,227,0.55); }
.archive__row-year {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(240,235,227,0.2);
  font-variant-numeric: tabular-nums;
  transition: color 0.3s;
}
.archive__row:hover .archive__row-year { color: rgba(240,235,227,0.5); }
.archive__row-arrow {
  font-size: 18px;
  color: rgba(240,235,227,0.15);
  transition: color 0.3s, transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.archive__row:hover .archive__row-arrow {
  color: var(--white);
  transform: translateX(6px);
}
.archive__row.is-filtered-out {
  opacity: 0;
  pointer-events: none;
  flex: 0;
  min-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  border-bottom: none;
  overflow: hidden;
  transition: opacity 0.25s, flex 0.35s ease, min-height 0.35s ease, padding 0.35s ease;
}

/* Hover image preview */
.archive__preview {
  position: fixed;
  width: 340px;
  aspect-ratio: 4 / 3;
  pointer-events: none;
  z-index: 200;
  overflow: hidden;
  opacity: 0;
  clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0 100%);
  transition: opacity 0.15s, clip-path 0.15s ease;
  transform: translate(-50%, -60%);
  will-change: transform;
}
.archive__preview.is-visible {
  opacity: 1;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}
.archive__preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ─── PROCESO ─── */
.panel--proceso {
  display: block;
  height: auto;
  overflow: visible;
  background: var(--dark);
}
.proceso__scroll-area {
  height: 350vh;
  position: relative;
}
.proceso__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}

/* Escena de imagen */
/* Canvas frame scrubbing */
.proceso__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

/* Loader */
.proceso__loader {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  transition: opacity 0.6s ease;
  text-align: center;
}
.proceso__loader-bar {
  width: 160px;
  height: 1px;
  background: rgba(240,235,227,0.15);
}
.proceso__loader-fill {
  height: 100%;
  width: 0%;
  background: var(--accent);
  transition: width 0.2s linear;
}

/* Header — siempre visible */
.proceso__header {
  position: absolute;
  top: 44px;
  left: 56px;
  z-index: 10;
}
.proceso__header-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(240,235,227,0.6);
  display: block;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

/* Subtítulos acumulativos */
.proceso__subtitles {
  position: absolute;
  bottom: 52px;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  padding: 0 56px;
  z-index: 10;
}
.proceso__sub {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.proceso__sub.is-visible { opacity: 1; transform: translateY(0); }
.proceso__sub:nth-child(1) { text-align: left; }
.proceso__sub:nth-child(2) { text-align: center; }
.proceso__sub:nth-child(3) { text-align: right; }
.proceso__sub-num {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.15em;
  color: rgba(240,235,227,0.45);
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
  margin-bottom: 6px;
}
.proceso__sub-text {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(20px, 2.6vw, 42px);
  font-weight: 300;
  letter-spacing: -0.01em;
  color: rgba(240,235,227,0.92);
  text-shadow: 0 2px 24px rgba(0,0,0,0.4);
  margin-bottom: 12px;
}
.proceso__sub-line {
  height: 1px;
  background: rgba(240,235,227,0.3);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.9s cubic-bezier(0.16,1,0.3,1) 0.25s;
}
.proceso__sub:nth-child(2) .proceso__sub-line { transform-origin: center; }
.proceso__sub:nth-child(3) .proceso__sub-line { transform-origin: right; }
.proceso__sub.is-visible .proceso__sub-line { transform: scaleX(1); }

/* Texto por fase (legacy — unused) */
.proceso__text-stage {
  position: absolute;
  left: 80px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: clamp(300px, 38vw, 500px);
}
.proceso__phase {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 1;
  filter: blur(0px);
  transform: translateY(0);
  transition: opacity 0.55s ease, filter 0.55s ease, transform 0.55s ease;
}
.proceso__phase.is-hidden {
  opacity: 0;
  filter: blur(14px);
  transform: translateY(32px);
  pointer-events: none;
}
.proceso__phase.is-exiting {
  opacity: 0;
  filter: blur(14px);
  transform: translateY(-32px);
  pointer-events: none;
}
.proceso__phase-num {
  display: block;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.proceso__phase-title {
  font-family: var(--font-display);
  font-size: clamp(52px, 7vw, 96px);
  font-weight: 300;
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}
.proceso__phase-body {
  font-size: 13px;
  line-height: 1.9;
  color: rgba(240,235,227,0.5);
  max-width: 340px;
}

/* Dots de progreso */
.proceso__dots {
  position: absolute;
  right: 48px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 10;
}
.proceso__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(240,235,227,0.2);
  transition: background 0.4s, transform 0.4s;
}
.proceso__dot.is-active {
  background: var(--accent);
  transform: scale(1.6);
}

/* ─── CONTACTO ─── */
.panel--contact {
  background: var(--dark);
  height: calc(100vh - 61px);
  overflow: hidden;
  display: block;
  padding: 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: calc(100vh - 61px);
  align-items: start;
}

/* Columna izquierda */
.contact__left {
  position: relative;
  padding: 80px 64px 80px 80px;
  border-right: 1px solid var(--line);
  height: calc(100vh - 61px);
  display: flex;
  flex-direction: column;
}
.contact__label {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  position: absolute;
  top: 36px;
  left: 80px;
}
.contact__title {
  font-family: var(--font-display);
  font-size: clamp(52px, 6.5vw, 104px);
  font-weight: 300;
  line-height: 0.9;
  display: block;
  margin-bottom: 48px;
}

/* Columna derecha */
.contact__right {
  padding: 80px 80px 80px 64px;
  height: calc(100vh - 61px);
  overflow-y: auto;
  scrollbar-width: none;
}
.contact__right::-webkit-scrollbar { display: none; }

/* Pills de tipo */
.contact__tipos { margin-bottom: 28px; }
.contact__tipos-label {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(240,235,227,0.4);
  margin-bottom: 16px;
  display: block;
}
.contact__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}
/* Select con label flotante siempre visible */
.form-field select ~ label {
  top: -4px;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--muted);
  pointer-events: none;
}
.form-field select:focus ~ label { color: var(--accent) !important; }
.contact__pill {
  padding: 10px 20px;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 300;
  color: rgba(240,235,227,0.55);
  background: none;
  cursor: pointer;
  transition: border-color 0.25s, color 0.25s, background 0.25s;
}
.contact__pill:hover { border-color: rgba(240,235,227,0.4); color: var(--white); }
.contact__pill.is-active {
  border-color: var(--accent);
  color: var(--white);
  background: rgba(184,71,44,0.12);
}

/* Nota de Jorge */
.contact__nota-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(240,235,227,0.4);
  margin-bottom: 20px;
  display: block;
}
.contact__nota-inner {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.contact__nota-foto {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  flex-shrink: 0;
  filter: grayscale(0.3);
}
.contact__nota-text {
  font-size: 13px;
  line-height: 1.85;
  color: rgba(240,235,227,0.5);
  font-style: italic;
}

/* WhatsApp quick contact */
.contact__wa-quick {
  margin-top: auto;
  padding-top: 40px;
}
.contact__wa-label {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(240,235,227,0.25);
  margin-bottom: 12px;
  display: block;
}
.contact__wa-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: rgba(240,235,227,0.45);
  transition: color 0.3s;
  border: 1px solid rgba(240,235,227,0.1);
  padding: 12px 20px;
  border-radius: 2px;
}
.contact__wa-link:hover {
  color: #25D366;
  border-color: rgba(37,211,102,0.35);
}
.contact__wa-link svg { flex-shrink: 0; }

/* FORM */
.form-step { }
.form-step--hidden { display: none; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 32px;
  margin-bottom: 0;
}
.form-field {
  position: relative;
  margin-bottom: 24px;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px;
  font-weight: 300;
  color: var(--white);
  background: none;
  border: none;
  border-bottom: 1px solid var(--line);
  padding: 14px 0 10px;
  outline: none;
  transition: border-color 0.3s;
  appearance: none;
  -webkit-appearance: none;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: rgba(240,235,227,0.5); }
.form-field label {
  position: absolute;
  top: 14px; left: 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  color: var(--muted);
  pointer-events: none;
  transition: top 0.3s, font-size 0.3s, color 0.3s;
}
.form-field input:focus ~ label,
.form-field input:not(:placeholder-shown) ~ label,
.form-field textarea:focus ~ label,
.form-field textarea:not(:placeholder-shown) ~ label {
  top: -4px;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--accent);
}
.select-label {
  top: -4px !important;
  font-size: 10px !important;
  letter-spacing: 0.1em !important;
  color: var(--accent) !important;
}
.form-field select option { background: var(--dark-2); color: var(--white); }
.form-field textarea { resize: none; }
.form-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 8px;
}
.btn-next, .btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--dark);
  background: var(--white);
  padding: 14px 28px;
  border-radius: 2px;
  transition: background 0.3s, color 0.3s, gap 0.3s;
}
.btn-next:hover, .btn-submit:hover {
  background: var(--accent);
  gap: 14px;
}
.btn-back {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.3s;
}
.btn-back:hover { color: var(--white); }

/* BUDGET */
.budget-group {
  margin-bottom: 28px;
  opacity: 0;
  transform: translateY(12px);
}
.budget-label {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
  display: block;
}
.budget-options {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.budget-btn {
  font-size: 12px;
  font-weight: 300;
  color: rgba(240,235,227,0.6);
  border: 1px solid var(--line);
  padding: 10px 20px;
  border-radius: 2px;
  transition: border-color 0.3s, color 0.3s, background 0.3s;
}
.budget-btn:hover { border-color: rgba(240,235,227,0.4); color: var(--white); }
.budget-btn.selected { border-color: var(--accent); color: var(--accent); }

/* FORM SUCCESS */
.form-success {
  text-align: center;
  padding: 24px 0;
}
.success__icon {
  font-family: var(--font-display);
  font-size: 48px;
  color: var(--accent);
  margin-bottom: 20px;
}
.success__title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 300;
  margin-bottom: 12px;
}
.success__body {
  font-size: 14px;
  color: rgba(240,235,227,0.55);
  line-height: 1.8;
  margin-bottom: 24px;
}
.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dark);
  background: #25D366;
  padding: 14px 28px;
  border-radius: 2px;
  font-weight: 500;
  transition: background 0.3s;
}
.whatsapp-btn:hover { background: #20bc58; }

/* ─── FOOTER ─── */
.panel--footer {
  height: 61px;
  min-height: 0;
  background: var(--dark-2);
  border-top: 1px solid var(--line);
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.footer__content {
  padding: 20px 80px;
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 40px;
}
.footer__logo-img {
  height: 24px;
  width: auto;
  filter: invert(1) brightness(10);
  mix-blend-mode: screen;
  opacity: 0.5;
}
.footer__links {
  display: flex;
  gap: 32px;
  justify-content: center;
}
.footer__link {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
  transition: color 0.3s;
}
.footer__link:hover { color: var(--white); }
.footer__copy {
  font-size: 11px;
  color: rgba(240,235,227,0.2);
  letter-spacing: 0.05em;
  text-align: right;
}

/* ─── GALLERY ─── */
.gallery {
  position: fixed;
  inset: 0;
  background: #F5F3EF;
  z-index: 1000;
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s var(--ease-out);
}
.gallery.is-open { opacity: 1; pointer-events: all; }
.gallery__header {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 40px;
  background: rgba(245, 243, 239, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(10,9,7,0.1);
  z-index: 10;
}
.gallery__meta {
  display: flex;
  align-items: center;
  gap: 20px;
}
.gallery__logo {
  height: 36px;
  width: 36px;
  display: block;
  object-fit: contain;
  filter: brightness(0);
  opacity: 0.85;
  flex-shrink: 0;
}
.gallery__type {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 3px;
}
.gallery__name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--dark);
}
.gallery__close {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: rgba(10,9,7,0.5);
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  transition: color 0.3s, transform 0.3s;
}
.gallery__close:hover {
  color: var(--dark);
  transform: scale(1.08);
}
.gallery__close-arrow {
  display: inline-block;
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.gallery__close:hover .gallery__close-arrow {
  transform: translateX(-6px);
}
.gallery__close-text {
  transition: letter-spacing 0.3s ease;
}
.gallery__close:hover .gallery__close-text {
  letter-spacing: 0.1em;
}
.gallery__grid {
  columns: 2;
  column-gap: 16px;
  padding: 24px 40px;
}
.gallery__img {
  width: 100%;
  height: auto;
  display: block;
  break-inside: avoid;
  margin-bottom: 16px;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.gallery__img.loaded { opacity: 1; }

/* ─── ANIMATION BASE STATES ─── */
.anim-item {
  opacity: 0;
  transform: translateY(16px);
}

/* ─── MOBILE ─── */
/* ─── STICKY MOBILE CTA ─── */
.mobile-cta-sticky {
  display: none;
}
@media (max-width: 768px) {
  .mobile-cta-sticky {
    display: flex;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 500;
    background: var(--accent);
    color: var(--dark);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 14px 28px;
    border-radius: 40px;
    text-decoration: none;
    white-space: nowrap;
    transition: opacity 0.4s, transform 0.4s;
    box-shadow: 0 4px 24px rgba(0,0,0,0.3);
  }
  .mobile-cta-sticky.is-hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateX(-50%) translateY(16px);
  }
}

@media (max-width: 768px) {
  body { overflow: hidden; }

  .nav { padding: 0 24px; height: 64px; }
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }

  .panel {
    height: auto;
    min-height: 100svh;
  }
  .panel--hero {
    height: 100svh;
  }

  /* Hero video móvil — portrait nativo, sin recorte */
  .hero__video { object-position: center center; }

  .hero__brand { padding: 0 24px; }
  .hero__brand-line { font-size: clamp(52px, 15vw, 96px); }
  .hero__brand-tagline { font-size: 9px; letter-spacing: 0.16em; }

  .panel--manifesto { height: auto; min-height: 100svh; overflow: hidden; }
  .manifesto__scroll-area { height: auto; min-height: 100svh; }
  .manifesto__sticky { position: relative; top: auto; height: auto; min-height: 100svh; padding: 80px 28px; }
  .manifesto__title { font-size: clamp(32px, 9vw, 52px); }
  .manifesto__title .word { color: rgba(240,235,227,0.88) !important; }

  /* Archive mobile */
  .panel--archive { overflow-y: auto; }
  .archive__inner { grid-template-columns: 1fr; height: auto; }
  .archive__sidebar {
    border-right: none;
    border-bottom: 1px solid var(--line);
    padding: 32px 24px 20px;
    flex-direction: row;
    align-items: center;
    gap: 0;
    flex-wrap: wrap;
  }
  .archive__sidebar-label { display: none; }
  .archive__filters { flex-direction: row; flex-wrap: wrap; gap: 8px 16px; }
  .archive__filter { font-size: 11px; padding: 4px 0; }
  .archive__filter::before { display: none; }
  .archive__list { overflow-y: visible; }
  .archive__row {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    gap: 4px 16px;
    padding: 24px 24px;
    min-height: 80px;
    flex: none;
    align-items: start;
  }
  .archive__row-name { font-size: clamp(22px, 7vw, 40px); grid-column: 1; grid-row: 1; }
  .archive__row-type { font-size: 9px; grid-column: 1; grid-row: 2; align-self: start; }
  .archive__row-year { grid-column: 2; grid-row: 1; align-self: center; }
  .archive__row-arrow { display: none; }
  .archive__preview { display: none; }

  .gallery__header { padding: 16px 24px; }
  .gallery__grid { columns: 1; padding: 16px 24px; column-gap: 0; }

  /* Proceso — texto más pequeño y espaciado */
  .proceso__scroll-area { height: 300vh; }
  .proceso__text-stage { left: 28px; right: 28px; width: auto; }
  .proceso__phase-label { font-size: 9px; letter-spacing: 0.18em; margin-bottom: 16px; }
  .proceso__phase-title { font-size: clamp(28px, 8vw, 44px); line-height: 1.1; }
  .proceso__phase-body { display: none; }
  .proceso__dots { right: 20px; }
  .proceso__subtitles { padding: 0 20px; gap: 0; }
  .proceso__sub-text { font-size: clamp(13px, 3.5vw, 20px); }
  .proceso__sub-num { font-size: 8px; }
  .proceso__sub-line { width: 24px; }

  /* Contact — permitir scroll completo en móvil */
  .panel--contact { height: auto; overflow-y: auto; }
  .contact__inner { grid-template-columns: 1fr; height: auto; }
  .contact__left { height: auto; padding: 60px 28px 48px; border-right: none; border-bottom: 1px solid var(--line); min-height: auto; }
  .contact__right { height: auto; overflow-y: visible; }
  .contact__right { height: auto; padding: 40px 28px 100px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }

  /* Footer — una línea, nunca se expande */
  .panel--footer {
    height: auto !important;
    min-height: 0 !important;
  }
  .footer__content {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 14px 24px;
    text-align: center;
  }
  .footer__logo-img { display: none; }
  .footer__links { justify-content: center; flex-direction: row; gap: 20px; flex-wrap: wrap; }
  .footer__copy { text-align: center; }

  .scroll-indicator { right: 24px; }
}

@media (max-width: 480px) {
  .budget-options { flex-direction: column; }
}
