/* ═══════════════════════════════════════════
   WALLEST — Design System
   Tokens from Brand Brief
   ═══════════════════════════════════════════ */

:root {
  --wl-ink: #14110C;
  --wl-ink-2: #1B1610;
  --wl-cream: #F2ECE0;
  --wl-cream-bright: #F8F3E9;
  --wl-accent: #A6855A;
  --wl-accent-soft: #C7A877;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--wl-ink);
  font-family: 'Hanken Grotesk', sans-serif;
  font-weight: 300;
  color: var(--wl-cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; }
::selection { background: var(--wl-accent); color: var(--wl-ink); }

/* ─── Animations ─── */
@keyframes wlFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(7px); }
}
@keyframes wlRise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes wlScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes wlKen {
  from { transform: scale(1.05) translate3d(0, -0.7%, 0); }
  to { transform: scale(1.13) translate3d(0, 0.7%, 0); }
}
@keyframes wlFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes wlCountUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .wl-track, .wl-kenburns { animation: none !important; }
}

/* ─── Links ─── */
.wl-link { position: relative; }
.wl-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 1px;
  background: var(--wl-accent-soft);
  transition: width 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.wl-link:hover::after { width: 100%; }

/* ─── Buttons ─── */
.wl-btn-fill {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 16px 32px;
  border-radius: 2px;
  border: none;
  cursor: pointer;
  transition: background 0.35s ease, color 0.35s ease, transform 0.35s ease;
}
.wl-btn-fill:hover { transform: translateY(-2px); }
.wl-btn-primary { background: var(--wl-cream); color: var(--wl-ink); }
.wl-btn-accent { background: var(--wl-accent); color: var(--wl-ink); }
.wl-btn-outline {
  background: transparent;
  color: var(--wl-cream);
  border: 1px solid rgba(242, 236, 224, 0.32);
  padding: 15px 32px;
}
.wl-btn-outline:hover { border-color: rgba(242, 236, 224, 0.6); }

/* ─── Nav ─── */
.wl-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px clamp(20px, 5vw, 72px);
  transition: background 0.5s ease, backdrop-filter 0.5s ease, padding 0.5s ease;
  border-bottom: 1px solid transparent;
  background: transparent;
}
.wl-nav.scrolled {
  background: rgba(20, 17, 12, 0.82);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
}
.wl-nav-logo {
  font-family: 'Marcellus', serif;
  font-size: 23px;
  letter-spacing: 0.34em;
  color: var(--wl-cream);
  padding-left: 0.34em;
}
.wl-nav-links {
  display: flex;
  gap: 38px;
  align-items: center;
}
.wl-nav-links a {
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(242, 236, 224, 0.78);
}
.wl-nav-cta {
  font-size: 12.5px !important;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--wl-ink);
  background: var(--wl-accent);
  padding: 13px 26px;
  border-radius: 2px;
}
.wl-nav-right {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.6vw, 42px);
}

/* ─── Burger ─── */
.wl-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 30px; height: 30px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.wl-burger span {
  display: block;
  width: 24px; height: 1.5px;
  background: var(--wl-cream);
  transition: transform 0.35s ease, opacity 0.3s ease;
}
.wl-burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.wl-burger.open span:nth-child(2) { opacity: 0; }
.wl-burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ─── Mobile menu ─── */
.wl-mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 49;
  background: rgba(18, 15, 10, 0.975);
  backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 clamp(28px, 8vw, 56px);
  gap: 4px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
}
.wl-mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
}
.wl-mobile-menu a {
  font-family: 'Marcellus', serif;
  font-size: clamp(30px, 9vw, 46px);
  color: var(--wl-cream);
  padding: 14px 0;
  border-bottom: 1px solid rgba(242, 236, 224, 0.12);
}

/* ─── Hero ─── */
.wl-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 clamp(20px, 5vw, 72px) clamp(48px, 7vh, 90px);
}
.wl-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.wl-hero-parallax {
  position: absolute;
  left: 0; right: 0;
  top: -16%; height: 132%;
  will-change: transform;
}
.wl-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}
.wl-hero-slide.active { opacity: 1; }
.wl-kenburns {
  width: 100%; height: 100%;
  transform-origin: 50% 50%;
  animation: wlKen 30s ease-in-out infinite alternate;
}
.wl-hero-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.wl-hero-overlay1 {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(20,17,12,0.55) 0%, rgba(20,17,12,0.12) 32%, rgba(20,17,12,0.62) 78%, rgba(20,17,12,0.96) 100%);
}
.wl-hero-overlay2 {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(120% 80% at 15% 90%, rgba(20,17,12,0.72), transparent 60%);
}
.wl-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
  animation: wlRise 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.wl-eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 30px;
}
.wl-eyebrow-line {
  width: 46px; height: 1px;
  background: var(--wl-accent);
}
.wl-eyebrow-text {
  font-size: 12.5px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--wl-accent-soft);
}
.wl-hero h1 {
  font-family: 'Marcellus', serif;
  font-weight: 400;
  font-size: clamp(44px, 7vw, 104px);
  line-height: 0.99;
  letter-spacing: -0.01em;
  color: var(--wl-cream-bright);
  max-width: 15ch;
  text-wrap: balance;
}
.wl-hero-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 40px 64px;
  margin-top: 42px;
}
.wl-hero-bottom p {
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.7;
  color: rgba(242, 236, 224, 0.74);
  max-width: 46ch;
  font-weight: 300;
}
.wl-hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.wl-scrollcue {
  position: absolute;
  right: clamp(20px, 5vw, 72px);
  bottom: clamp(48px, 7vh, 90px);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.wl-scrollcue span:first-child {
  font-size: 10.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(242, 236, 224, 0.5);
  writing-mode: vertical-rl;
}
.wl-scrollcue span:last-child {
  width: 1px; height: 54px;
  background: linear-gradient(rgba(242,236,224,0.5), transparent);
  animation: wlFloat 2.4s ease-in-out infinite;
}

/* ─── Stats ─── */
.wl-stats {
  background: var(--wl-ink);
  padding: clamp(56px, 8vh, 96px) clamp(20px, 5vw, 72px);
  border-top: 1px solid rgba(242, 236, 224, 0.08);
}
.wl-stats-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 48px 32px;
}
.wl-stat-value {
  font-family: 'Marcellus', serif;
  font-size: clamp(46px, 5.5vw, 76px);
  line-height: 1;
  color: var(--wl-cream-bright);
}
.wl-stat-suffix {
  font-family: 'Marcellus', serif;
  font-size: clamp(24px, 2.6vw, 38px);
  color: var(--wl-accent-soft);
}
.wl-stat-label {
  font-size: 13px;
  letter-spacing: 0.06em;
  color: rgba(242, 236, 224, 0.58);
  line-height: 1.5;
  max-width: 22ch;
  margin-top: 10px;
}

/* ─── Manifiesto ─── */
.wl-manifiesto {
  background: var(--wl-cream);
  color: var(--wl-ink);
  padding: clamp(80px, 14vh, 170px) clamp(20px, 5vw, 72px);
}
.wl-manifiesto .wl-eyebrow-line { background: var(--wl-accent); }
.wl-manifiesto .wl-eyebrow-text { color: var(--wl-accent); }
.wl-manifiesto-quote {
  font-family: 'Marcellus', serif;
  font-weight: 400;
  font-size: clamp(28px, 4.2vw, 60px);
  line-height: 1.18;
  letter-spacing: -0.005em;
  max-width: 20ch;
  text-wrap: balance;
}
.wl-manifiesto-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
  margin-top: 72px;
  border-top: 1px solid rgba(20, 17, 12, 0.14);
  padding-top: 48px;
}
.wl-manifiesto-cols p {
  font-size: 15px;
  line-height: 1.8;
  color: rgba(20, 17, 12, 0.7);
  max-width: 34ch;
}

/* ─── Proyectos (Marquee) ─── */
.wl-proyectos {
  background: var(--wl-ink);
  padding: clamp(80px, 13vh, 150px) 0;
}
.wl-proyectos-header {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 72px);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 60px;
}
.wl-proyectos h2 {
  font-family: 'Marcellus', serif;
  font-weight: 400;
  font-size: clamp(34px, 5vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.01em;
  color: var(--wl-cream-bright);
  max-width: 16ch;
}
.wl-proyectos-header > p {
  font-size: 14.5px;
  line-height: 1.75;
  color: rgba(242, 236, 224, 0.6);
  max-width: 34ch;
}
.wl-marquee {
  position: relative;
  margin-top: 8px;
  overflow: hidden;
  -webkit-mask: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
  mask: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
}
.wl-track {
  display: flex;
  width: max-content;
  animation: wlScroll 52s linear infinite;
  will-change: transform;
}
.wl-marquee:hover .wl-track { animation-play-state: paused; }

/* ─── Project card (marquee) ─── */
.wl-pcard {
  flex: 0 0 auto;
  width: clamp(288px, 72vw, 344px);
  margin-right: clamp(18px, 2vw, 30px);
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 26px;
  overflow: hidden;
  background: var(--wl-ink-2);
  box-shadow: 0 26px 54px -26px rgba(0, 0, 0, 0.72);
  transition: box-shadow 0.5s ease;
}
.wl-pcard:hover { box-shadow: 0 34px 60px -22px rgba(0, 0, 0, 0.85); }
.wl-pcard img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.1s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.wl-pcard:hover img { transform: scale(1.07); }
.wl-pcard-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,17,12,0.5) 0%, transparent 22%, transparent 44%, rgba(20,17,12,0.5) 70%, rgba(20,17,12,0.92) 100%);
}
.wl-pcard-top {
  position: absolute;
  top: 18px; left: 18px; right: 18px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wl-pcard-tag {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 999px;
  color: var(--wl-ink);
  backdrop-filter: blur(6px);
}
.wl-pcard-tag.entregado { background: rgba(242, 236, 224, 0.92); }
.wl-pcard-tag.en-curso { background: rgba(199, 168, 119, 0.92); }
.wl-pcard-num {
  font-family: 'Marcellus', serif;
  font-size: 14px;
  letter-spacing: 0.12em;
  color: rgba(248, 243, 233, 0.82);
}
.wl-pcard-glass {
  position: absolute;
  left: 13px; right: 13px; bottom: 13px;
  z-index: 3;
  padding: 17px 18px 15px;
  border-radius: 18px;
  background: rgba(22, 18, 12, 0.46);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  border: 1px solid rgba(248, 243, 233, 0.16);
}
.wl-pcard-glass h3 {
  font-family: 'Marcellus', serif;
  font-weight: 400;
  font-size: 22px;
  line-height: 1.06;
  color: var(--wl-cream-bright);
}
.wl-pcard-glass .location {
  font-size: 12px;
  letter-spacing: 0.05em;
  color: rgba(242, 236, 224, 0.72);
  margin-top: 5px;
}
.wl-pcard-metric {
  font-family: 'Marcellus', serif;
  font-size: 22px;
  color: var(--wl-accent-soft);
  line-height: 1;
}
.wl-pcard-metric-label {
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(242, 236, 224, 0.5);
  margin-top: 3px;
}
.wl-pcard-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 13px;
  padding-top: 12px;
  border-top: 1px solid rgba(248, 243, 233, 0.15);
}
.wl-pcard-footer .type {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(242, 236, 224, 0.55);
}
.wl-pcard-footer .details {
  font-size: 11.5px;
  letter-spacing: 0.02em;
  color: rgba(242, 236, 224, 0.78);
}

/* ─── Por qué Wallest ─── */
.wl-porque {
  background: var(--wl-ink-2);
  padding: clamp(80px, 13vh, 150px) clamp(20px, 5vw, 72px);
  border-top: 1px solid rgba(242, 236, 224, 0.08);
}
.wl-porque-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0;
}
.wl-porque-item {
  padding: 38px clamp(20px, 2.4vw, 44px) 40px;
  border-top: 1px solid rgba(242, 236, 224, 0.16);
  border-left: 1px solid rgba(242, 236, 224, 0.1);
}
.wl-porque-item .num {
  font-family: 'Marcellus', serif;
  font-size: 18px;
  color: var(--wl-accent-soft);
}
.wl-porque-item h3 {
  font-family: 'Marcellus', serif;
  font-weight: 400;
  font-size: 26px;
  color: var(--wl-cream-bright);
  margin-top: 26px;
  line-height: 1.15;
}
.wl-porque-item p {
  font-size: 14.5px;
  line-height: 1.75;
  color: rgba(242, 236, 224, 0.62);
  margin-top: 16px;
}

/* ─── Proceso ─── */
.wl-proceso {
  background: var(--wl-ink);
  padding: clamp(80px, 13vh, 150px) clamp(20px, 5vw, 72px);
}
.wl-proceso-inner { max-width: 1180px; margin: 0 auto; }
.wl-proceso h2 {
  font-family: 'Marcellus', serif;
  font-weight: 400;
  font-size: clamp(30px, 4.4vw, 56px);
  line-height: 1.05;
  color: var(--wl-cream-bright);
  max-width: 18ch;
  margin-bottom: 64px;
}
.wl-proceso-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 40px 32px;
}
.wl-proceso-step .step-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.wl-proceso-step .step-num {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1px solid var(--wl-accent);
  color: var(--wl-accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
.wl-proceso-step .step-line {
  flex: 1;
  height: 1px;
  background: rgba(242, 236, 224, 0.14);
}
.wl-proceso-step h3 {
  font-family: 'Marcellus', serif;
  font-weight: 400;
  font-size: 22px;
  color: var(--wl-cream-bright);
}
.wl-proceso-step p {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(242, 236, 224, 0.58);
  margin-top: 12px;
}

/* ─── Carreras ─── */
.wl-carreras {
  position: relative;
  padding: clamp(80px, 15vh, 170px) clamp(20px, 5vw, 72px);
  overflow: hidden;
}
.wl-carreras-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.wl-carreras-bg .wl-kenburns img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.wl-carreras-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(20,17,12,0.94) 0%, rgba(20,17,12,0.78) 45%, rgba(20,17,12,0.42) 100%);
}
.wl-carreras-content {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  margin: 0 auto;
}
.wl-carreras h2 {
  font-family: 'Marcellus', serif;
  font-weight: 400;
  font-size: clamp(32px, 5vw, 68px);
  line-height: 1.05;
  color: var(--wl-cream-bright);
  max-width: 18ch;
  text-wrap: balance;
}
.wl-carreras p {
  font-size: 16px;
  line-height: 1.75;
  color: rgba(242, 236, 224, 0.72);
  max-width: 48ch;
  margin-top: 28px;
  font-weight: 300;
}

/* ─── Contacto ─── */
.wl-contacto {
  background: var(--wl-cream);
  color: var(--wl-ink);
  padding: clamp(80px, 14vh, 160px) clamp(20px, 5vw, 72px);
}
.wl-contacto-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}
.wl-contacto h2 {
  font-family: 'Marcellus', serif;
  font-weight: 400;
  font-size: clamp(36px, 5.4vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  max-width: 13ch;
}
.wl-contacto .subtitle {
  font-size: 15.5px;
  line-height: 1.8;
  color: rgba(20, 17, 12, 0.66);
  max-width: 42ch;
  margin-top: 26px;
}
.wl-contacto .wl-eyebrow-line { background: var(--wl-accent); }
.wl-contacto .wl-eyebrow-text { color: var(--wl-accent); }
.wl-contact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 0;
  border-top: 1px solid rgba(20, 17, 12, 0.16);
  color: var(--wl-ink);
}
.wl-contact-row:last-child { border-bottom: 1px solid rgba(20, 17, 12, 0.16); }
.wl-contact-row .label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(20, 17, 12, 0.5);
}
.wl-contact-row .value {
  font-family: 'Marcellus', serif;
  font-size: clamp(19px, 2.4vw, 30px);
  word-break: break-word;
}

/* ─── Footer ─── */
.wl-footer {
  background: var(--wl-ink);
  padding: clamp(56px, 8vh, 84px) clamp(20px, 5vw, 72px) 40px;
  border-top: 1px solid rgba(242, 236, 224, 0.08);
}
.wl-footer-inner { max-width: 1180px; margin: 0 auto; }
.wl-footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}
.wl-footer-brand { max-width: 30ch; }
.wl-footer-brand .logo {
  font-family: 'Marcellus', serif;
  font-size: 26px;
  letter-spacing: 0.34em;
  color: var(--wl-cream);
  padding-left: 0.34em;
}
.wl-footer-brand p {
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(242, 236, 224, 0.5);
  margin-top: 20px;
}
.wl-footer-links {
  display: flex;
  gap: clamp(36px, 5vw, 80px);
  flex-wrap: wrap;
}
.wl-footer-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.wl-footer-col .heading {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(242, 236, 224, 0.4);
}
.wl-footer-col a, .wl-footer-col span {
  font-size: 14px;
  color: rgba(242, 236, 224, 0.74);
}
.wl-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid rgba(242, 236, 224, 0.08);
}
.wl-footer-bottom span {
  font-size: 12px;
  color: rgba(242, 236, 224, 0.4);
}

/* ─── Auth pages ─── */
.wl-auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background: var(--wl-ink);
}
.wl-auth-card {
  width: 100%;
  max-width: 420px;
  padding: 48px 40px;
  background: var(--wl-ink-2);
  border: 1px solid rgba(242, 236, 224, 0.1);
  border-radius: 16px;
}
.wl-auth-card .logo {
  font-family: 'Marcellus', serif;
  font-size: 20px;
  letter-spacing: 0.34em;
  color: var(--wl-cream);
  text-align: center;
  display: block;
  margin-bottom: 40px;
  padding-left: 0.34em;
}
.wl-auth-card h2 {
  font-family: 'Marcellus', serif;
  font-weight: 400;
  font-size: 28px;
  color: var(--wl-cream-bright);
  margin-bottom: 8px;
}
.wl-auth-card .subtitle {
  font-size: 14px;
  color: rgba(242, 236, 224, 0.58);
  margin-bottom: 32px;
}
.wl-form-group {
  margin-bottom: 20px;
}
.wl-form-group label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(242, 236, 224, 0.5);
  margin-bottom: 8px;
}
.wl-form-group input {
  width: 100%;
  padding: 14px 16px;
  background: rgba(242, 236, 224, 0.06);
  border: 1px solid rgba(242, 236, 224, 0.14);
  border-radius: 6px;
  color: var(--wl-cream);
  font-size: 15px;
  transition: border-color 0.3s ease;
}
.wl-form-group input:focus {
  outline: none;
  border-color: var(--wl-accent);
}
.wl-form-group input::placeholder {
  color: rgba(242, 236, 224, 0.3);
}
.wl-auth-submit {
  width: 100%;
  padding: 16px;
  background: var(--wl-accent);
  color: var(--wl-ink);
  border: none;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
  margin-top: 8px;
}
.wl-auth-submit:hover { transform: translateY(-1px); filter: brightness(1.08); }
.wl-auth-submit:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.wl-auth-footer {
  text-align: center;
  margin-top: 24px;
  font-size: 14px;
  color: rgba(242, 236, 224, 0.5);
}
.wl-auth-footer a { color: var(--wl-accent-soft); }
.wl-auth-error {
  background: rgba(220, 50, 50, 0.12);
  border: 1px solid rgba(220, 50, 50, 0.3);
  color: #ff8a80;
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 13px;
  margin-bottom: 20px;
  display: none;
}
.wl-auth-success {
  background: rgba(50, 180, 100, 0.12);
  border: 1px solid rgba(50, 180, 100, 0.3);
  color: #69f0ae;
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 13px;
  margin-bottom: 20px;
  display: none;
}

/* ─── Portal (Dashboard) ─── */
.wl-portal {
  min-height: 100vh;
  background: var(--wl-ink);
  padding-top: 80px;
}
.wl-portal-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(20, 17, 12, 0.92);
  backdrop-filter: blur(14px) saturate(1.1);
  border-bottom: 1px solid rgba(242, 236, 224, 0.08);
}
.wl-portal-welcome {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(40px, 6vh, 80px) clamp(20px, 5vw, 72px) 0;
}
.wl-portal-welcome h1 {
  font-family: 'Marcellus', serif;
  font-weight: 400;
  font-size: clamp(28px, 4vw, 48px);
  color: var(--wl-cream-bright);
}
.wl-portal-welcome .date {
  font-size: 14px;
  color: rgba(242, 236, 224, 0.5);
  margin-top: 8px;
}

/* ─── Portal: Resumen cards ─── */
.wl-portal-summary {
  max-width: 1180px;
  margin: 0 auto;
  padding: 40px clamp(20px, 5vw, 72px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}
.wl-summary-card {
  padding: 28px 24px;
  background: var(--wl-ink-2);
  border: 1px solid rgba(242, 236, 224, 0.08);
  border-radius: 16px;
}
.wl-summary-card .label {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(242, 236, 224, 0.5);
}
.wl-summary-card .value {
  font-family: 'Marcellus', serif;
  font-size: 32px;
  color: var(--wl-cream-bright);
  margin-top: 12px;
}
.wl-summary-card .suffix {
  font-family: 'Marcellus', serif;
  font-size: 18px;
  color: var(--wl-accent-soft);
}

/* ─── Portal: Operaciones ─── */
.wl-portal-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 20px clamp(20px, 5vw, 72px) 60px;
}
.wl-portal-section h2 {
  font-family: 'Marcellus', serif;
  font-weight: 400;
  font-size: 28px;
  color: var(--wl-cream-bright);
  margin-bottom: 28px;
}
.wl-ops-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.wl-op-card {
  background: var(--wl-ink-2);
  border: 1px solid rgba(242, 236, 224, 0.08);
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.5s ease;
}
.wl-op-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -16px rgba(0, 0, 0, 0.6);
}
.wl-op-card-img {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.wl-op-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.wl-op-card:hover .wl-op-card-img img { transform: scale(1.05); }
.wl-op-card-body { padding: 22px 24px 26px; }
.wl-op-card-body h3 {
  font-family: 'Marcellus', serif;
  font-weight: 400;
  font-size: 22px;
  color: var(--wl-cream-bright);
}
.wl-op-card-body .location {
  font-size: 13px;
  color: rgba(242, 236, 224, 0.6);
  margin-top: 4px;
}
.wl-op-card-metrics {
  display: flex;
  gap: 24px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(242, 236, 224, 0.1);
}
.wl-op-metric .value {
  font-family: 'Marcellus', serif;
  font-size: 20px;
  color: var(--wl-accent-soft);
}
.wl-op-metric .label {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(242, 236, 224, 0.45);
  margin-top: 3px;
}
.wl-op-progress {
  margin-top: 16px;
}
.wl-op-progress .bar-bg {
  height: 4px;
  background: rgba(242, 236, 224, 0.1);
  border-radius: 2px;
  overflow: hidden;
}
.wl-op-progress .bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--wl-accent), var(--wl-accent-soft));
  border-radius: 2px;
  transition: width 1s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.wl-op-progress .bar-label {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  font-size: 11px;
  color: rgba(242, 236, 224, 0.45);
}

/* ─── Portal: Te puede interesar ─── */
.wl-portal-discover {
  max-width: 1180px;
  margin: 0 auto;
  padding: 20px clamp(20px, 5vw, 72px) 80px;
}
.wl-portal-discover h2 {
  font-family: 'Marcellus', serif;
  font-weight: 400;
  font-size: 24px;
  color: var(--wl-cream-bright);
  margin-bottom: 24px;
}
.wl-discover-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 12px;
  scrollbar-width: thin;
  scrollbar-color: rgba(242,236,224,0.2) transparent;
}
.wl-discover-scroll::-webkit-scrollbar { height: 4px; }
.wl-discover-scroll::-webkit-scrollbar-track { background: transparent; }
.wl-discover-scroll::-webkit-scrollbar-thumb { background: rgba(242,236,224,0.2); border-radius: 2px; }
.wl-discover-card {
  flex: 0 0 280px;
  background: var(--wl-ink-2);
  border: 1px solid rgba(242, 236, 224, 0.08);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
  cursor: pointer;
}
.wl-discover-card:hover { transform: translateY(-4px); }
.wl-discover-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.wl-discover-card .body {
  padding: 16px 18px 20px;
}
.wl-discover-card h4 {
  font-family: 'Marcellus', serif;
  font-weight: 400;
  font-size: 18px;
  color: var(--wl-cream-bright);
}
.wl-discover-card .meta {
  font-size: 12px;
  color: rgba(242, 236, 224, 0.5);
  margin-top: 4px;
}

/* ─── Responsive ─── */
@media (max-width: 899px) {
  .wl-nav-links { display: none !important; }
  .wl-burger { display: flex; }
}
@media (min-width: 900px) {
  .wl-nav-links { display: flex !important; }
}
@media (max-width: 560px) {
  .wl-nav-cta { display: none; }
}
@media (max-width: 680px) {
  .wl-scrollcue { display: none; }
}
@media (max-width: 520px) {
  .wl-contact-row {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 8px !important;
  }
}

/* ─── Page Hero (subpages) ─── */
.wl-page-hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: flex-end;
  padding: 0 clamp(20px, 5vw, 72px) clamp(48px, 7vh, 80px);
  overflow: hidden;
}
.wl-page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.wl-page-hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.wl-page-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(20,17,12,0.6) 0%, rgba(20,17,12,0.4) 40%, rgba(20,17,12,0.85) 100%);
}
.wl-page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
  padding-top: 120px;
}
.wl-page-hero h1 {
  font-family: 'Marcellus', serif;
  font-weight: 400;
  font-size: clamp(36px, 6vw, 72px);
  line-height: 1.02;
  color: var(--wl-cream-bright);
  max-width: 18ch;
}
.wl-page-hero p {
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.7;
  color: rgba(242, 236, 224, 0.7);
  max-width: 48ch;
  margin-top: 18px;
}

/* ─── Catalog (proyectos.html) ─── */
.wl-catalog {
  background: var(--wl-ink);
  padding: clamp(48px, 8vh, 80px) clamp(20px, 5vw, 72px) clamp(80px, 12vh, 140px);
}
.wl-catalog-inner {
  max-width: 1180px;
  margin: 0 auto;
}
.wl-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid rgba(242, 236, 224, 0.12);
  margin-bottom: 48px;
}
.wl-tab {
  background: none;
  border: none;
  color: rgba(242, 236, 224, 0.5);
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 16px 28px;
  cursor: pointer;
  position: relative;
  transition: color 0.3s ease;
}
.wl-tab::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: var(--wl-accent);
  transform: scaleX(0);
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.wl-tab.active { color: var(--wl-cream-bright); }
.wl-tab.active::after { transform: scaleX(1); }
.wl-tab:hover { color: var(--wl-cream); }

.wl-catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}
.wl-catalog-empty {
  color: rgba(242, 236, 224, 0.45);
  font-size: 15px;
  text-align: center;
  padding: 40px 0;
}

/* ─── Catalog card ─── */
.wl-catalog-card {
  display: block;
  background: var(--wl-ink-2);
  border: 1px solid rgba(242, 236, 224, 0.08);
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.5s ease;
  cursor: pointer;
}
.wl-catalog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 48px -16px rgba(0, 0, 0, 0.6);
}
.wl-catalog-card-img {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.wl-catalog-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.wl-catalog-card:hover .wl-catalog-card-img img {
  transform: scale(1.06);
}
.wl-catalog-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,17,12,0.3) 0%, transparent 40%, rgba(20,17,12,0.5) 100%);
}
.wl-catalog-card-img .wl-pcard-tag {
  position: absolute;
  top: 16px; left: 16px;
  z-index: 2;
}
.wl-catalog-card-num {
  position: absolute;
  top: 16px; right: 16px;
  z-index: 2;
  font-family: 'Marcellus', serif;
  font-size: 14px;
  letter-spacing: 0.12em;
  color: rgba(248, 243, 233, 0.7);
}
.wl-catalog-card-body {
  padding: 22px 24px 26px;
}
.wl-catalog-card-body h3 {
  font-family: 'Marcellus', serif;
  font-weight: 400;
  font-size: 22px;
  color: var(--wl-cream-bright);
}
.wl-catalog-card-body .meta {
  font-size: 13px;
  color: rgba(242, 236, 224, 0.55);
  margin-top: 6px;
}
.wl-catalog-card-roi {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(242, 236, 224, 0.1);
}
.wl-catalog-card-roi .roi-value {
  font-family: 'Marcellus', serif;
  font-size: 24px;
  color: var(--wl-accent-soft);
}
.wl-catalog-card-roi .roi-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(242, 236, 224, 0.45);
}

/* ─── Project detail (proyecto.html) ─── */
.wl-project-detail {
  display: none;
  background: var(--wl-ink);
  min-height: 100vh;
  padding-top: 80px;
}
.wl-project-back {
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px clamp(20px, 5vw, 72px) 0;
}
.wl-project-back a {
  font-size: 14px;
  color: var(--wl-accent-soft);
  transition: color 0.3s ease;
}
.wl-project-back a:hover { color: var(--wl-cream); }

.wl-project-header {
  max-width: 1180px;
  margin: 0 auto;
  padding: 32px clamp(20px, 5vw, 72px) 0;
}
.wl-project-header-text .wl-pcard-tag {
  display: inline-block;
  margin-bottom: 20px;
}
.wl-project-header h1 {
  font-family: 'Marcellus', serif;
  font-weight: 400;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.05;
  color: var(--wl-cream-bright);
}
.wl-project-header .location {
  font-size: 16px;
  color: rgba(242, 236, 224, 0.6);
  margin-top: 10px;
}
.wl-project-header .tipo {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--wl-accent-soft);
  margin-top: 6px;
}

/* Gallery */
.wl-project-gallery {
  max-width: 1180px;
  margin: 0 auto;
  padding: 40px clamp(20px, 5vw, 72px) 0;
}
.wl-gallery-main {
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--wl-ink-2);
}
.wl-gallery-main img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: opacity 0.4s ease;
}
.wl-gallery-thumbs {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: rgba(242,236,224,0.2) transparent;
}
.wl-gallery-thumbs::-webkit-scrollbar { height: 4px; }
.wl-gallery-thumbs::-webkit-scrollbar-track { background: transparent; }
.wl-gallery-thumbs::-webkit-scrollbar-thumb { background: rgba(242,236,224,0.2); border-radius: 2px; }
.wl-gallery-thumb {
  flex: 0 0 100px;
  height: 70px;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.3s ease, transform 0.3s ease;
  border: 2px solid transparent;
}
.wl-gallery-thumb:hover { opacity: 0.8; }
.wl-gallery-thumb.active {
  opacity: 1;
  border-color: var(--wl-accent);
}

/* Numbers */
.wl-project-content {
  max-width: 1180px;
  margin: 0 auto;
  padding: 48px clamp(20px, 5vw, 72px) 0;
}
.wl-project-numbers {
  margin-bottom: 48px;
}
.wl-project-numbers h2,
.wl-project-desc h2 {
  font-family: 'Marcellus', serif;
  font-weight: 400;
  font-size: 24px;
  color: var(--wl-cream-bright);
  margin-bottom: 28px;
}
.wl-numbers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 20px;
}
.wl-number-item {
  padding: 24px 20px;
  background: var(--wl-ink-2);
  border: 1px solid rgba(242, 236, 224, 0.08);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.wl-number-item .value {
  font-family: 'Marcellus', serif;
  font-size: 26px;
  color: var(--wl-cream-bright);
}
.wl-number-item.highlight .value {
  color: var(--wl-accent-soft);
}
.wl-number-item .label {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(242, 236, 224, 0.45);
}

/* Description */
.wl-project-desc p {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(242, 236, 224, 0.72);
  max-width: 68ch;
}

/* CTA */
.wl-project-cta {
  max-width: 1180px;
  margin: 0 auto;
  padding: 64px clamp(20px, 5vw, 72px) 80px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  border-top: 1px solid rgba(242, 236, 224, 0.08);
  margin-top: 48px;
}
.wl-project-cta p {
  font-family: 'Marcellus', serif;
  font-size: 22px;
  color: var(--wl-cream-bright);
  flex: 1;
  min-width: 200px;
}

/* ─── Loading / skeleton ─── */
.wl-skeleton {
  background: linear-gradient(90deg, rgba(242,236,224,0.04) 25%, rgba(242,236,224,0.08) 50%, rgba(242,236,224,0.04) 75%);
  background-size: 200% 100%;
  animation: wlShimmer 1.5s infinite;
  border-radius: 6px;
}
@keyframes wlShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
