/* ── TT Fors — Variable font (all weights) ── */
@font-face {
  font-family: 'TT Fors';
  src: url('/fonts/TT-Fors-Trial-Variable.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
/* Static fallbacks for browsers without variable-font support */
@font-face {
  font-family: 'TT Fors';
  src: url('/fonts/TT-Fors-Trial-ExtraLight.ttf') format('truetype');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'TT Fors';
  src: url('/fonts/TT-Fors-Trial-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'TT Fors';
  src: url('/fonts/TT-Fors-Trial-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'TT Fors';
  src: url('/fonts/TT-Fors-Trial-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'TT Fors';
  src: url('/fonts/TT-Fors-Trial-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ── Antique Legacy — Serif main text ── */
@font-face {
  font-family: 'Antique Legacy';
  src: url('/fonts/AntiqueLegacy-Regular.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* ── Elicyon — Display headings ── */
@font-face {
  font-family: 'Elicyon';
  src: url('/fonts/Elicyon-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

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

:root {
  /* V9 — Atelier palette */
  --bg: #E8E0D4;
  --dark: #3A2415;
  --text: rgba(107, 93, 77, 0.85);
  --secondary: rgba(107, 93, 77, 0.85);
  --muted: #958776;
  --line: rgba(58,36,21,0.15);
  --line-light: rgba(58,36,21,0.08);
  --sand: #CEC3B8;
  --cream: #EDE7DB;
  --black: #3A2415;
  --font: 'EB Garamond', Georgia, serif;
  --serif: 'EB Garamond', Georgia, serif;
  --display: 'EB Garamond', Georgia, serif;
  --sans: 'TT Fors', Helvetica, sans-serif;
  --letter-spacing-nav: 0.14em;
  /* Easings */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out-quart: cubic-bezier(0.76, 0, 0.24, 1);
}

html { font-size: 18px; scroll-behavior: smooth; }
body {
  font-family: var(--serif);
  background: var(--bg);
  color: var(--text);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.85;
  letter-spacing: 0.15px;
  margin: 0 auto;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ===================================
   GLOBAL
=================================== */
.hl {
  height: 0;
  border: none;
  border-top: 0.95px solid var(--line);
}
.pad { padding-left: 20px; padding-right: 20px; }

/* Image break -- photo divider with geometric borders */
.img-break {
  padding: 0 20px;
  margin: 48px 0;
}
.img-break__inner {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 0.95px solid var(--line);
  border-radius: 2px;
}
.img-break--tall .img-break__inner {
  aspect-ratio: 3 / 4;
}
.img-break__inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===================================
   1. HERO -- Full-bleed background image
=================================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: #F0E9DF;
  background: #e9dfd2;
}
/* Intro text animation */
.intro-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
  z-index: 2;
  pointer-events: none;
}
.intro-text__line {
  font-family: var(--serif);
  font-weight: 200;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  line-height: 1;
  display: block;
  white-space: nowrap;
  font-size: 9vw;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 3;
  overflow: hidden;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(0,0,0,0.27) 0%,
    rgba(0,0,0,0.15) 25%,
    rgba(0,0,0,0.12) 45%,
    rgba(0,0,0,0.06) 58%,
    transparent 66%,
    rgba(240,236,230,0.30) 75%,
    rgba(240,236,230,0.65) 85%,
    rgba(240,236,230,1) 100%);
}
.hero__nav {
  position: relative;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  border-bottom: 0.95px solid rgba(240,233,223,0.1);
}
/* Sticky nav on scroll-up */
.hero__nav--sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(240,236,230,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 0.5px solid rgba(42,26,13,0.08);
  transform: translateY(-100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.hero__nav--sticky .hero__logo {
  color: rgba(42,26,13,0.85);
  opacity: 1 !important;
}
.hero__nav--sticky .hero__menu {
  color: rgba(42,26,13,0.85);
}
.hero__nav--visible {
  transform: translateY(0);
}
.hero__logo {
  font-family: var(--serif);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.06em;
  line-height: 1;
  color: #fff;
  opacity: 0;
}
.hero__menu {
  cursor: pointer;
  z-index: 10;
  font-family: var(--serif);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  transition: color 0.3s ease;
  -webkit-user-select: none;
  user-select: none;
}
.hero__links {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 36px;
}
.hero__links a {
  font-family: var(--serif);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 2px;
  color: #fff;
  text-decoration: none;
  position: relative;
  padding-bottom: 3px;
}
.hero__links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 0.5px;
  background: #fff;
  transition: width 0.3s ease;
}
.hero__links a:hover::after {
  width: 100%;
}
.hero__body {
  position: relative;
  z-index: 4;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 50px 20px 0;
  margin-top: -140px;
}
.hero__eyebrow {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(240,233,223,0.8);
  font-weight: 300;
  margin-bottom: 16px;
}
.hero__heading {
  font-family: var(--serif);
  font-size: 42px;
  font-weight: 500;
  line-height: 1.0;
  letter-spacing: -0.5px;
  margin-bottom: 24px;
  margin-top: 0;
}
.hero__heading span { display: block; overflow: hidden; }
.hero__heading span > span { display: block; }
.hero__heading span:nth-child(2) { margin-left: 24px; }
.hero__heading span:nth-child(3) { margin-left: 48px; }
.hero__heading span:nth-child(4) { margin-left: 72px; }
.hero__sub {
  font-size: 11px;
  line-height: 1.75;
  color: rgba(201,185,159,0.65);
  font-weight: 300;
  max-width: 250px;
  margin-bottom: 28px;
}
/* CTA wrapper — sits below the hero, above hero__bg (z-index 3) */
.hero-cta-wrap {
  display: flex;
  justify-content: center;
  padding: 0 20px 40px;
  background: transparent;
  margin-top: -120px;
  position: relative;
  z-index: 4;
}
.hero__cta {
  display: inline-block;
  padding: 10px 24px;
  border: 1px solid rgba(201,185,159,0.45);
  border-radius: 2px;
  background: #F0ECE6;
  color: rgba(42,26,13,0.75);
  font-family: var(--serif);
  font-size: 9px;
  font-weight: 300;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s;
}
.hero__cta:hover {
  background: #e8e3db;
  border-color: rgba(201,185,159,0.6);
}

/* ===================================
   2. MANIFIESTO -- Large editorial text
=================================== */
.manifesto {
  padding: 48px 20px 8px;
  background: #F0ECE6;
}
.manifesto__title {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.3px;
  color: var(--text);
  margin-bottom: 32px;
}
.manifesto__title span {
  display: block;
}
.manifesto__body {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 400;
  line-height: 1.55;
  color: var(--secondary);
  letter-spacing: 0.1px;
}
.manifesto__body em {
  font-style: italic;
  color: var(--text);
}
.portfolio__intro { display: none; }
/* Split-line text reveal animation */
.split-line {
  overflow: hidden;
}
.split-line__inner {
  display: block;
}
/* Universal text rise-in */
.txt-rise {
  overflow: hidden;
  display: block;
}
.txt-rise > .txt-rise__in {
  display: block;
}

/* ===================================
   3. PORTFOLIO -- Two-column grid (moved up)
=================================== */
.portfolio {
  padding: 0 20px 56px;
  background: #F0ECE6;
}
.portfolio__head {
  margin-bottom: 36px;
}
.section-label {
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 300;
}
.section-title {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  margin-top: 4px;
}
/* -- Collage -- Grid of hairlines that constructs on scroll -- */
.collage {
  background: #F0ECE6;
  position: relative;
  overflow: hidden;
}
/* Sticky center text */
.collage__sticky {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: -100svh;
  z-index: 1;
  pointer-events: none;
}
.collage__center-title {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 500;
  font-style: italic;
  color: var(--text);
  line-height: 1.15;
  letter-spacing: 0.5px;
  text-align: center;
}
.collage__center-count {
  font-family: var(--serif);
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--muted);
  font-weight: 300;
  margin-top: 10px;
  text-transform: uppercase;
  text-align: center;
}
/* Photos section */
.collage__photos {
  position: relative;
  z-index: 2;
  padding: 45svh 20px 12vh;
}
/* Wrapper -- holds grid + line overlay */
.cg-wrap {
  position: relative;
}
/* Hairline overlay */
.cg-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
}
.cg-ln {
  position: absolute;
  background: rgba(240,233,223,0.22);
  display: block;
  transition: transform 1.3s cubic-bezier(0.22, 1, 0.36, 1);
}
/* Outer frame */
.cg-ln--ot { top: 0; left: 0; width: 100%; height: 0.95px; transform: scaleX(0); transform-origin: left; }
.cg-ln--or { top: 0; right: 0; width: 0.95px; height: 100%; transform: scaleY(0); transform-origin: top; }
.cg-ln--ob { bottom: 0; left: 0; width: 100%; height: 0.95px; transform: scaleX(0); transform-origin: right; }
.cg-ln--ol { top: 0; left: 0; width: 0.95px; height: 100%; transform: scaleY(0); transform-origin: bottom; }
/* Internal dividers */
.cg-ln--v  { left: 50%; top: 0; width: 0.95px; height: 100%; transform: scaleY(0); transform-origin: top; }
.cg-ln--h1 { left: 0; top: 33.333%; width: 100%; height: 0.95px; transform: scaleX(0); transform-origin: left; }
.cg-ln--h2 { left: 0; top: 66.666%; width: 100%; height: 0.95px; transform: scaleX(0); transform-origin: left; }
/* Lines drawn state -- staggered via transition-delay */
.cg-wrap.is-building .cg-ln { transform: scale(1); }
.cg-wrap.is-building .cg-ln--ot { transition-delay: 0s; }
.cg-wrap.is-building .cg-ln--or { transition-delay: 0.12s; }
.cg-wrap.is-building .cg-ln--ob { transition-delay: 0.24s; }
.cg-wrap.is-building .cg-ln--ol { transition-delay: 0.36s; }
.cg-wrap.is-building .cg-ln--v  { transition-delay: 0.5s; }
.cg-wrap.is-building .cg-ln--h1 { transition-delay: 0.65s; }
.cg-wrap.is-building .cg-ln--h2 { transition-delay: 0.8s; }
/* Photo grid */
.cg-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
/* Each cell -- equal portrait photos with breathing room */
.cg-cell {
  aspect-ratio: 3 / 4;
  padding: 5px;
}
.cg-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 1px;
  opacity: 0;
  transform: scale(0.88);
  transition: opacity 0.9s ease, transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}
/* Photo reveal -- staggered via transition-delay */
.cg-wrap.is-building .cg-cell img { opacity: 1; transform: scale(1); }
.cg-wrap.is-building .cg-cell:nth-child(1) img { transition-delay: 0.75s; }
.cg-wrap.is-building .cg-cell:nth-child(2) img { transition-delay: 0.9s; }
.cg-wrap.is-building .cg-cell:nth-child(3) img { transition-delay: 1.1s; }
.cg-wrap.is-building .cg-cell:nth-child(4) img { transition-delay: 1.25s; }
.cg-wrap.is-building .cg-cell:nth-child(5) img { transition-delay: 1.45s; }
.cg-wrap.is-building .cg-cell:nth-child(6) img { transition-delay: 1.6s; }

/* -- Carousel (2.5 visible) -- */
.port-carousel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 10px;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin-left: -20px;
  margin-right: -20px;
  padding-left: 20px;
}
.port-carousel::-webkit-scrollbar { display: none; }
.port-carousel::after {
  content: '';
  flex: 0 0 10px;
}
.port-slide {
  flex: 0 0 92%;
  scroll-snap-align: center;
  min-width: 0;
  position: relative;
}
.port-slide__img {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}
.port-slide__img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    transparent 50%,
    rgba(0,0,0,0.45) 100%);
  pointer-events: none;
}
.port-slide__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.port-slide__info {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  z-index: 2;
}
.port-slide__name {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  color: rgba(240,233,223,0.95);
  font-style: italic;
  margin-bottom: 4px;
}
.port-slide__desc {
  font-size: 10px;
  line-height: 1.6;
  color: rgba(240,233,223,0.7);
  font-weight: 300;
}
/* CTA slide at end of carousel */
.port-slide--cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: var(--dark);
  border-radius: 2px;
  aspect-ratio: 4 / 5;
  transition: background 0.4s ease;
}
.port-slide--cta:hover {
  background: #4A3828;
}
.port-slide__cta-count {
  font-family: var(--serif);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(240,233,223,0.5);
  margin-bottom: 16px;
}
.port-slide__cta-title {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  font-style: italic;
  color: #F0E9DF;
  margin-bottom: 20px;
  text-align: center;
  line-height: 1.2;
}
.port-slide__cta-arrow {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 200;
  color: rgba(240,233,223,0.6);
  transition: transform 0.4s ease, color 0.4s ease;
}
.port-slide--cta:hover .port-slide__cta-arrow {
  transform: translateX(6px);
  color: #F0E9DF;
}

/* Carousel controls */
.port-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0 0;
}
.port-controls__arrows {
  display: flex;
  gap: 16px;
}
.port-arrow {
  width: 36px;
  height: 36px;
  border: 0.95px solid rgba(58,36,21,0.2);
  border-radius: 50%;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  color: var(--secondary);
  font-size: 14px;
}
.port-arrow:hover {
  background: rgba(58,36,21,0.06);
  border-color: rgba(58,36,21,0.35);
}
.port-controls__counter {
  font-family: var(--serif);
  font-size: 9px;
  letter-spacing: 1.5px;
  color: var(--muted);
  font-weight: 300;
}
.port-progress {
  height: 1px;
  background: rgba(58,36,21,0.12);
  margin-top: 20px;
  border-radius: 1px;
  overflow: hidden;
}
.port-progress__bar {
  height: 100%;
  background: rgba(58,36,21,0.4);
  transition: width 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.portfolio__cta {
  display: flex;
  justify-content: center;
  padding: 32px 0 98px;
}
.portfolio__cta a {
  font-family: var(--serif);
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--dark);
  text-decoration: none;
  padding: 12px 28px;
  border: 1px solid rgba(58,36,21,0.2);
  border-radius: 1px;
  transition: background 0.2s;
}
.portfolio__cta a:hover {
  background: rgba(58,36,21,0.06);
}
/* Generic section CTA */
.section-cta {
  margin-top: 32px;
  text-align: center;
}
.section-cta a {
  font-family: var(--serif);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--dark);
  text-decoration: none;
  padding: 12px 28px;
  border: 1px solid var(--line);
  border-radius: 1px;
  transition: background 0.2s, border-color 0.2s;
  display: inline-block;
}
.section-cta a:hover {
  background: rgba(58,36,21,0.04);
}

/* ===================================
   4. ABOUT -- Intro + bordered stats grid
=================================== */
.about {
  padding: 48px 20px 0;
}
.about__label {
  font-size: 8px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 300;
  margin-bottom: 4px;
}
.about__name {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 500;
  margin-bottom: 18px;
  letter-spacing: 1px;
}
.about__text {
  font-size: 10px;
  line-height: 1.85;
  color: var(--secondary);
  font-weight: 300;
  max-width: 310px;
  margin-bottom: 36px;
}
.stats-grid {
  border: 0.95px solid var(--line);
}
.stats-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.stats-row + .stats-row {
  border-top: 0.95px solid var(--line);
}
.stat-cell {
  padding: 20px 16px;
  position: relative;
}
.stat-cell + .stat-cell {
  border-left: 0.95px solid var(--line);
}
.stat-cell__label {
  font-size: 8px;
  line-height: 1.6;
  color: var(--muted);
  font-weight: 300;
  margin-bottom: 8px;
}
.stat-cell__num {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 400;
  line-height: 1;
  color: var(--text);
}
.stat-cell--wide {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.stat-cell__link {
  font-size: 8px;
  color: var(--secondary);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 0.6px;
  font-weight: 300;
  cursor: pointer;
}

/* ===================================
   5. SERVICIOS
=================================== */
.services {
  padding: 52px 20px 98px;
}
.services__head {
  margin-bottom: 24px;
}
.svc-item {
  border-top: 0.95px solid transparent;
  position: relative;
}
.svc-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 0.95px;
  background: var(--line);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}
.svc-item.is-line-drawn::before {
  transform: scaleX(1);
}
.svc-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}
.svc-item summary::-webkit-details-marker { display: none; }
.svc-item__title {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.svc-item__toggle {
  font-size: 18px;
  font-weight: 200;
  color: var(--muted);
  transition: transform 0.3s ease;
}
.svc-item[open] .svc-item__toggle {
  transform: rotate(45deg);
}
.svc-item__body {
  padding: 0 0 20px;
}
.svc-item__text {
  font-size: 9px;
  line-height: 1.8;
  color: var(--secondary);
  font-weight: 300;
}
.svc-item__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 10px;
}
.svc-tag {
  font-size: 7px;
  letter-spacing: 0.8px;
  color: var(--muted);
  padding: 3px 7px;
  border: 0.95px solid var(--line);
  border-radius: 1px;
}

/* ===================================
   6. PROCESO
=================================== */
.zone-svc { background: var(--bg-svc); }
.zone-proc { background: var(--bg-proc); }
.zone-test { background: var(--bg-test); }
.zone-nos { background: var(--bg-nos); }
.zone-ig { background: var(--bg-ig); }
.zone-cta { background: var(--bg-cta); }

/* Zone separator -- full-bleed image between color zones */
.zone-sep {
  line-height: 0;
  position: relative;
  background: var(--prev-bg, transparent);
}
.zone-sep img {
  width: 100%;
  aspect-ratio: 25 / 27;
  object-fit: cover;
  display: block;
}
.zone-sep::after {
  display: none;
}

/* Project link overlay on separator photos */
.zone-sep__link {
  position: absolute;
  bottom: 24px;
  left: 28px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: rgba(240,233,223,0.85);
  transition: opacity 0.3s, gap 0.3s;
}
.zone-sep__link:hover {
  color: rgba(240,233,223,1);
  gap: 14px;
}
.zone-sep__link-label {
  font-family: var(--serif);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.zone-sep__link-arrow {
  width: 28px;
  height: 28px;
  border: 1px solid currentColor;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, color 0.3s;
}
.zone-sep__link:hover .zone-sep__link-arrow {
  background: rgba(240,233,223,0.9);
  color: var(--dark);
}
.zone-sep__link-arrow svg {
  width: 11px;
  height: 11px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Equal-height zones with centered content */
.zone-svc, .zone-proc, .zone-test, .zone-nos, .zone-tf, .zone-ig, .zone-cta {
  min-height: 660px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.process {
  padding: 52px 20px 98px;
}
.process__head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 28px;
}
.process__intro {
  font-size: 13px;
  line-height: 1.85;
  color: var(--secondary);
  font-weight: 300;
  max-width: 520px;
  margin-bottom: 28px;
}
.process__steps {
  display: flex;
  flex-direction: column;
}
.p-step {
  position: relative;
  border-top: 0.95px solid transparent;
}
/* Animated top line */
.p-step::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 0.95px;
  background: var(--line);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 1;
}
.p-step.is-line-drawn::before {
  transform: scaleX(1);
}
.p-step:last-child {
  border-bottom: 0.95px solid transparent;
}
.p-step:last-child::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 0.95px;
  background: var(--line);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: 0.15s;
  z-index: 1;
}
.p-step:last-child.is-line-drawn::after {
  transform: scaleX(1);
}
.p-step__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.p-step__header-left,
.p-step__row {
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.p-step__row {
  padding-top: 18px;
}
.p-step__n {
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 400;
  color: var(--muted);
}
.p-step__name {
  font-family: var(--serif);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text);
}
.p-step__toggle {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
}
.p-step__toggle::before,
.p-step__toggle::after {
  content: '';
  position: absolute;
  background: var(--secondary);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s ease;
}
.p-step__toggle::before {
  width: 12px; height: 0.95px;
}
.p-step__toggle::after {
  width: 0.95px; height: 12px;
}
.p-step.is-open .p-step__toggle::after {
  transform: rotate(90deg);
  opacity: 0;
}
.p-step__body {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.6s cubic-bezier(0.32, 0.72, 0, 1);
}
.p-step__text {
  font-size: 12px;
  line-height: 1.8;
  color: var(--secondary);
  font-weight: 300;
  padding: 0 0 20px 0;
}
.services .p-step__text {
  padding-left: 0;
}
/* Accordion content layout (text + image) */
.p-step__content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-bottom: 8px;
}
.p-step__img {
  overflow: hidden;
  border-radius: 2px;
}
.p-step__img img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.6s ease 0.15s, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.15s;
}
.p-step.is-open .p-step__img img {
  opacity: 0.2;
  transform: scale(1);
}
/* Accordion text animation */
.p-step__content .p-step__text {
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.45s ease 0.1s, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1) 0.1s;
}
.p-step.is-open .p-step__content .p-step__text {
  opacity: 1;
  transform: translateY(0);
}

/* ===================================
   7. ANTES & DESPUES -- Flip Grid 3D
=================================== */
.zone-flip {
  background: #F0ECE6;
}
.flip-section {
  padding: 48px 20px 130px;
}
.flip-section__head {
  margin-bottom: 32px;
}
.flip-section__intro {
  font-size: 13px;
  line-height: 1.85;
  color: var(--secondary);
  font-weight: 300;
  margin-top: 16px;
  max-width: 310px;
}
.flip-section__sub {
  font-family: var(--serif);
  font-size: 9px;
  line-height: 1.8;
  color: var(--secondary);
  font-weight: 300;
  max-width: 280px;
  text-align: center;
  margin: 0 auto 8px;
}
/* -- Flip showcase (1 carta grande) -- */
.flip-showcase {
  max-width: 85%;
  margin: 0 auto;
}
.flip-showcase__card {
  perspective: 900px;
  aspect-ratio: 4/5;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  background: #F0ECE6;
  border: 0.95px solid var(--line-light);
}
/* Selector botones */
.flip-selector {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}
.flip-selector__btn {
  flex: 1;
  font-family: var(--serif);
  font-size: 8px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 6px 14px;
  border: 1px solid rgba(58,36,21,0.35);
  border-radius: 20px;
  background: rgba(58,36,21,0.04);
  color: var(--dark);
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}
.flip-selector__btn.is-active {
  background: rgba(58,36,21,0.12);
  color: var(--dark);
  border-color: rgba(58,36,21,0.35);
}
.flip-card {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  background: #F0ECE6;
}
.flip-card.is-flipped {
  transform: rotateY(-180deg);
}
/* Fade-in on scroll */
.flip-showcase__card {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.flip-showcase__card.is-visible {
  opacity: 1;
  transform: translateY(0);
}
/* Tap hint icon */
.flip-tap-hint {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.4s ease;
  transform: translateZ(2px);
}
.flip-tap-hint__icon {
  width: 40px;
  height: 40px;
  border: 1.5px solid rgba(255,255,255,0.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  animation: flip-pulse 2.5s ease-in-out infinite;
  font-size: 20px;
  color: #fff;
  line-height: 1;
}
@keyframes flip-pulse {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.1); opacity: 1; }
}
.flip-card.is-saturating .flip-tap-hint,
.flip-card.is-flipped .flip-tap-hint {
  opacity: 0;
}
.flip-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  overflow: hidden;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  background: #F0ECE6;
}
.flip-face::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 35%;
  background: linear-gradient(to bottom, transparent, #F0ECE6);
  z-index: 5;
  pointer-events: none;
}
.flip-face--front {
  z-index: 2;
  transform: rotateY(0deg) translateZ(1px);
}
.flip-face img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
/* PNG line-art: cover para llenar vertical, recorta lados */
.flip-face img.flip-face__img-lines {
  object-fit: cover;
  background: #F0ECE6;
  opacity: 0;
  transition: opacity 1.8s ease 0.4s;
}
.flip-showcase__card.is-visible .flip-face img.flip-face__img-lines {
  opacity: 0.75;
}
.flip-face--front img.flip-face__img-lines {
  filter: none;
  opacity: 1;
}
.flip-face--front img {
  filter: saturate(0);
  opacity: 0.55;
  transition: filter 0.6s ease, opacity 0.6s ease;
}
.flip-card.is-saturating .flip-face--front img {
  filter: saturate(1);
  opacity: 1;
}
.flip-face--back {
  z-index: 1;
  transform: rotateY(180deg);
}
/* -- 3-step transition (Donoso / Latadia) -- */
.flip-face--front .flip-face__antes {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  filter: none;
  transition: opacity 0.9s ease;
  z-index: 2;
}
[data-triple-step].is-antes-shown .flip-face__antes {
  opacity: 1;
}
/* Tags para 3-step: Lineas visible por defecto, Antes oculto */
.flip-face__tag--antes {
  opacity: 0;
  transition: opacity 0.5s ease;
}
.flip-face__tag--lines {
  transition: opacity 0.5s ease;
}
[data-triple-step].is-antes-shown .flip-face__tag--lines {
  opacity: 0;
}
[data-triple-step].is-antes-shown .flip-face__tag--antes {
  opacity: 1;
}

.flip-face__tag {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 3;
  font-family: var(--serif);
  font-size: 6px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #fff;
  background: rgba(0,0,0,0.35);
  padding: 4px 8px;
  border-radius: 2px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.flip-section__foot {
  text-align: center;
  margin-top: 28px;
}
.flip-section__foot-text {
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.6;
  color: var(--secondary);
  font-weight: 300;
  font-style: italic;
  max-width: 300px;
  margin: 0 auto;
}

/* ===================================
   8. MARCAS -- Partner logos
=================================== */
/* Brands marquee -- infinite scroll */
.brands-marquee {
  padding: 40px 0 48px;
  overflow: hidden;
}
.brands-marquee__title {
  font-size: 8px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 300;
  text-align: center;
  margin-bottom: 24px;
}
.brands-marquee__track {
  overflow: hidden;
  position: relative;
}
.brands-marquee__inner {
  display: flex;
  gap: 32px;
  animation: marquee 20s linear infinite;
  width: max-content;
}
.brands-marquee__inner img {
  height: 82px;
  width: auto;
  object-fit: contain;
  opacity: 0.5;
  filter: grayscale(100%);
  flex-shrink: 0;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===================================
   8. TESTIMONIO
=================================== */
.testimonial {
  padding: 0 20px 98px;
}
.testimonial__carousel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  gap: 0;
}
.testimonial__carousel::-webkit-scrollbar { display: none; }
.testimonial__slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
}
.testimonial__box {
  border: 0.95px solid var(--line);
  padding: 28px 20px 24px;
  position: relative;
}
.testimonial__mark {
  font-family: var(--serif);
  font-size: 60px;
  line-height: 0.5;
  color: rgba(58,36,21,0.08);
  position: absolute;
  top: 16px;
  left: 16px;
}
.testimonial__quote {
  font-family: var(--serif);
  font-size: 14px;
  font-style: italic;
  line-height: 1.65;
  color: var(--text);
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}
.testimonial__rule {
  width: 28px;
  border-top: 0.95px solid var(--line);
  margin-bottom: 12px;
}
.testimonial__author {
  font-size: 9px;
  color: var(--secondary);
  margin-bottom: 2px;
}
.testimonial__project {
  font-size: 7px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 300;
}
.test-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0 0;
}
.test-controls__arrows {
  display: flex;
  gap: 16px;
}
.test-arrow {
  width: 36px;
  height: 36px;
  border: 0.95px solid var(--line);
  border-radius: 50%;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  color: var(--secondary);
  font-size: 14px;
}
.test-arrow:hover {
  background: rgba(58,36,21,0.05);
  border-color: var(--muted);
}
.test-controls__counter {
  font-family: var(--serif);
  font-size: 9px;
  letter-spacing: 1.5px;
  color: var(--muted);
  font-weight: 300;
}
.test-progress {
  height: 1px;
  background: var(--line-light);
  margin-top: 20px;
  border-radius: 1px;
  overflow: hidden;
}
.test-progress__bar {
  height: 100%;
  background: var(--secondary);
  transition: width 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ===================================
   8. NOSOTROS -- Team section
=================================== */
.nosotros {
  padding: 0 20px 98px;
}
.nosotros__head {
  margin-bottom: 24px;
}
.nosotros__intro {
  font-size: 13px;
  line-height: 1.85;
  color: var(--secondary);
  font-weight: 300;
  margin-top: 12px;
  max-width: 310px;
}
.nosotros__photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 2px;
  overflow: hidden;
  border: 0.95px solid var(--line-light);
  margin-bottom: 28px;
}
.nosotros__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.nosotros__team {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.team-member {
  border-top: 0.95px solid var(--line);
  padding: 20px 0;
}
.team-member:last-child {
  border-bottom: 0.95px solid var(--line);
}
.team-member__name {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  font-style: italic;
  margin-bottom: 4px;
}
.team-member__role {
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 300;
  margin-bottom: 12px;
}
.team-member__bio {
  font-size: 11px;
  line-height: 1.75;
  color: var(--secondary);
  font-weight: 300;
}

/* ===================================
   9. INSTAGRAM
=================================== */
.ig {
  padding: 0 20px 98px;
}
.ig__head {
  margin-bottom: 24px;
}
.ig__intro {
  font-size: 13px;
  line-height: 1.85;
  color: var(--secondary);
  font-weight: 300;
  margin-top: 12px;
  max-width: 310px;
}
.ig__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  border: 0.95px solid var(--line-light);
  margin-bottom: 14px;
}
.ig__item {
  aspect-ratio: 1;
  overflow: hidden;
  cursor: pointer;
}
.ig__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.ig__item:hover img { transform: scale(1.06); }

/* ===================================
   9. CONTACTO
=================================== */
.contact {
  padding: 0 20px 98px;
}
.contact__head {
  margin-bottom: 24px;
}
.contact__sub {
  font-size: 12px;
  line-height: 1.75;
  color: var(--secondary);
  font-weight: 300;
  max-width: 260px;
  margin-top: 12px;
}
.contact__box {
  border: 1px solid rgba(58,36,21,0.22);
  padding: 24px 18px;
  background: rgba(255,255,255,0.45);
}
.form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.form__group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.form__label {
  font-size: 7px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
}
.form__input,
.form__textarea,
.form__select {
  width: 100%;
  background: transparent;
  border: 1px solid rgba(58,36,21,0.22);
  border-radius: 1px;
  padding: 10px 12px;
  font-family: var(--serif);
  font-size: 10px;
  color: var(--text);
  font-weight: 300;
  outline: none;
  transition: border-color 0.3s;
  -webkit-appearance: none;
}
.form__input::placeholder,
.form__textarea::placeholder { color: rgba(58,36,21,0.25); }
.form__input:focus,
.form__textarea:focus,
.form__select:focus {
  border-color: var(--muted);
}
.form__select { color: var(--muted); cursor: pointer; }
.form__textarea { resize: none; min-height: 72px; }
.form__submit {
  width: 100%;
  padding: 12px;
  background: var(--dark);
  border: none;
  border-radius: 1px;
  color: #F0E9DF;
  font-family: var(--serif);
  font-size: 8px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s;
  margin-top: 4px;
}
.form__submit:hover { background: #4A3828; }
.form__alt {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(58,36,21,0.22);
}
.form__alt-text {
  font-size: 7.5px;
  color: var(--muted);
  letter-spacing: 1px;
  margin-bottom: 16px;
  text-align: center;
}
.form__alt-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.form__alt-link {
  display: flex;
  align-items: baseline;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
  transition: opacity 0.3s;
}
.form__alt-link:hover { opacity: 0.65; }
.form__alt-label {
  font-family: var(--serif);
  font-size: 7px;
  letter-spacing: 1.5px;
  color: var(--muted);
  text-transform: uppercase;
  flex-shrink: 0;
  min-width: 72px;
}
.form__alt-value {
  font-family: var(--serif);
  font-size: 10px;
  letter-spacing: 0.5px;
  color: var(--secondary);
  font-weight: 300;
}

/* ===================================
   10. FOOTER
=================================== */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.6);
  padding: 40px 20px 24px;
}
.footer__info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 16px;
  margin-bottom: 32px;
}
.footer__info-item {
  font-family: var(--serif);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.5;
  text-transform: uppercase;
}
.footer__info-label {
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 6px;
  font-weight: 400;
}
.footer__info-item a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
.footer__info-item a:hover {
  color: rgba(255,255,255,0.9);
}
.footer__divider {
  width: 100%;
  height: 0.95px;
  background: rgba(255,255,255,0.1);
  margin-bottom: 20px;
}
.footer__text {
  font-size: 9px;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.12em;
  font-weight: 400;
  text-align: center;
  text-transform: uppercase;
}
/* ===================================
   MOBILE CONSTRAINT
=================================== */
@media (max-width: 767px) {
  body { max-width: 100%; }
}

/* ===================================
   DESKTOP  (1024+)
=================================== */
@media (min-width: 1024px) {
  body { max-width: 100%; }

  /* -- Global tokens -- */
  .section-label { font-size: 10px; letter-spacing: 3px; }
  .section-title { font-size: 38px; }
  .section-cta { margin-top: 40px; }
  .section-cta a { font-size: 11px; padding: 15px 40px; letter-spacing: 2.5px; }
  .zone-svc, .zone-proc, .zone-test, .zone-nos, .zone-tf, .zone-ig, .zone-cta {
    min-height: auto;
  }

  /* -- 1. HERO -- centered composition -- */
  .hero__nav { padding: 28px 64px; }
  .hero__logo { font-size: 13px; letter-spacing: 0.06em; color: #fff; font-weight: 400; }
  .hero__links { display: flex; }
  .hero__links a { font-size: 11px; letter-spacing: 2.5px; }
  .hero__menu { display: none; }
  .hero__body {
    padding: 50px 64px 88px;
    max-width: 760px;
    opacity: 0;
    visibility: hidden;
    margin-top: 0;
  }
  .hero__eyebrow { font-size: 11px; letter-spacing: 3px; margin-bottom: 20px; color: rgba(201,185,159,0.85); font-weight: 400; }
  .hero__heading { font-size: 64px; letter-spacing: -1px; margin-bottom: 28px; margin-top: 0; }
  .hero__heading span:nth-child(2) { margin-left: 40px; }
  .hero__heading span:nth-child(3) { margin-left: 80px; }
  .hero__heading span:nth-child(4) { margin-left: 120px; }
  .hero__sub { font-size: 13px; max-width: 400px; line-height: 1.8; margin-bottom: 36px; color: rgba(201,185,159,0.85); font-weight: 400; }
  .hero__cta { font-size: 11px; padding: 15px 40px; letter-spacing: 2.5px; }
  .hero-cta-wrap { justify-content: flex-end; padding: 32px 64px 40px; }

  /* -- Intro text (desktop overrides) -- */
  .intro-text { padding: 0 64px; transform: translateY(calc(-50% + 40px)); }
  .intro-text__line { font-size: 8vw; font-weight: 200; letter-spacing: 0.06em; }

  /* -- 2. MANIFESTO -- hidden on desktop, text moved to portfolio -- */
  .manifesto { display: none; }

  /* -- 3. PORTFOLIO -- wider carousel, dark grey bg -- */
  .portfolio { padding: 0 64px 72px; background: #F0ECE6; }
  .portfolio__intro {
    display: block;
    font-family: var(--serif);
    font-size: 24px;
    font-weight: 400;
    line-height: 1.65;
    color: var(--secondary);
    text-align: center;
    max-width: 680px;
    margin: 0 auto 100px;
    letter-spacing: 0.1px;
  }
  .portfolio__intro em {
    font-style: italic;
    color: var(--text);
  }
  .portfolio__head { margin-bottom: 40px; }
  .port-carousel {
    margin-left: -64px; margin-right: -64px;
    padding-left: 64px; gap: 20px;
  }
  .port-slide { flex: 0 0 30%; }
  .port-slide__img { aspect-ratio: 3 / 4; }
  .port-slide__name { font-size: 18px; }
  .port-slide__info { bottom: 24px; left: 24px; right: 24px; }
  .port-arrow { width: 40px; height: 40px; border-color: rgba(58,36,21,0.2); color: var(--secondary); }
  .port-arrow:hover { background: rgba(58,36,21,0.06); border-color: rgba(58,36,21,0.35); }
  .port-controls__counter { font-size: 10px; color: var(--muted); }
  .port-progress { background: rgba(58,36,21,0.12); }
  .port-progress__bar { background: rgba(58,36,21,0.4); }
  .portfolio__cta a { color: var(--dark); border-color: rgba(58,36,21,0.2); }
  .portfolio__cta a:hover { background: rgba(58,36,21,0.06); }

  /* -- Collage -- */
  .collage__center-title { font-size: 40px; }
  .collage__center-count { font-size: 11px; }
  .collage__photos { padding: 45svh 64px 12vh; }
  .cg-cell { padding: 6px; }

  /* -- Zone separators -- standalone fallback -- */
  .zone-sep { position: relative; line-height: 0; background-color: rgba(var(--fc), 1); padding: 36px 64px; display: flex; justify-content: center; }
  .zone-sep img { aspect-ratio: 21 / 9; width: 100%; max-width: 1100px; object-fit: cover; border-radius: 2px; -webkit-mask-image: none; mask-image: none; }
  .zone-sep::after { display: none; }
  .zone-sep__link { bottom: 52px; left: 80px; }
  .zone-sep__link-label { font-size: 11px; letter-spacing: 2.5px; }
  .zone-sep__link-arrow { width: 36px; height: 36px; }
  .zone-sep__link-arrow svg { width: 14px; height: 14px; }

  /* -- Section pairs -- photo + text side by side -- */
  .section-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 640px;
    background: rgba(var(--fc), 1);
  }
  .section-pair > * { min-width: 0; overflow: hidden; }
  .section-pair--reverse { direction: rtl; }
  .section-pair--reverse > * { direction: ltr; min-width: 0; }
  .section-pair .zone-sep {
    display: flex; align-items: stretch;
    padding: 96px; position: relative; line-height: 0;
    background-color: transparent;
  }
  .section-pair .zone-sep img {
    width: 100%; height: 100%; object-fit: cover;
    aspect-ratio: auto; max-width: none; border-radius: 3px;
  }
  .section-pair .zone-sep::after { display: none; }
  .section-pair--nos .zone-sep { padding-top: 48px; }
  .section-pair--nos .zone-sep img { object-position: center 20% !important; }
  .section-pair .zone-sep__link { bottom: 112px; left: 112px; }
  .section-pair > .zone-svc,
  .section-pair > .zone-proc,
  .section-pair > .zone-test,
  .section-pair > .zone-nos,
  .section-pair > .zone-flip,
  .section-pair > .zone-ig,
  .section-pair > .zone-cta {
    display: flex; flex-direction: column; justify-content: center;
    padding: 80px 64px;
    background: transparent;
  }

  /* -- 4. SERVICIOS -- */
  .services { padding: 72px 64px 48px; }
  .services__head { margin-bottom: 0; }
  .section-pair .zone-svc .services { display: block; padding: 0; }
  .section-pair .zone-svc .services .services__head { position: static; }
  .section-pair .zone-svc .services .process__intro { font-size: 15px; line-height: 1.85; margin-bottom: 36px; max-width: none; }
  .services .p-step__name { font-size: 15px; }
  .services .p-step__text { font-size: 15px; }
  .services .p-step__content { flex-direction: row; gap: 32px; align-items: flex-start; }
  .services .p-step__text { flex: 1; min-width: 0; }
  .services .p-step__img { flex: 0 0 45%; }

  /* -- 5. PROCESO -- */
  .process { padding: 72px 64px 64px; }
  .section-pair .zone-proc .process { display: block; padding: 0; }
  .section-pair .zone-proc .process .process__intro { font-size: 15px; line-height: 1.85; margin-bottom: 36px; max-width: none; }
  .p-step__name { font-size: 15px; }
  .p-step__n { font-size: 15px; }
  .p-step__text { font-size: 15px; }
  .p-step__toggle { width: 30px; height: 30px; }

  /* -- 6. TESTIMONIOS -- */
  .testimonial {
    padding: 48px 64px 56px;
    max-width: 780px;
    margin: 0 auto;
  }
  .section-pair .zone-test .testimonial { max-width: none; margin: 0; }
  .testimonial__box { padding: 36px 32px 28px; }
  .testimonial__mark { font-size: 72px; }
  .testimonial__quote { font-size: 18px; line-height: 1.8; }
  .testimonial__author { font-size: 14px; }
  .testimonial__project { font-size: 11px; }
  .test-arrow { width: 40px; height: 40px; }
  .test-controls__counter { font-size: 10px; }

  /* -- 7. NOSOTROS -- */
  .nosotros { padding: 48px 64px 64px; }
  .nosotros__head { margin-bottom: 28px; }
  .nosotros__intro { font-size: 15px; max-width: 420px; line-height: 1.85; }
  .nosotros__photo { aspect-ratio: 16 / 9; margin-bottom: 40px; }
  .section-pair .zone-nos .nosotros__team { grid-template-columns: 1fr; }
  .section-pair .zone-nos .nosotros__intro { max-width: none; }
  .team-member { border-top: 0.95px solid var(--line); padding: 24px 0; }
  .team-member:last-child { border-bottom: 0.95px solid var(--line); }
  .team-member__name { font-size: 22px; }
  .team-member__role { font-size: 11px; margin-bottom: 12px; }
  .team-member__bio { font-size: 15px; line-height: 1.8; }

  /* -- 8. ANTES & DESPUES -- */
  .flip-section { padding: 72px 64px 80px; }
  .section-pair .zone-flip .flip-section { display: block; }
  .section-pair .zone-flip .flip-section .flip-section__head { position: static; margin-bottom: 24px; }
  .flip-section__intro { font-size: 15px; line-height: 1.85; }
  .flip-section__foot-text { font-size: 18px; max-width: 300px; text-align: left; margin: 0; }
  .flip-face__tag { font-size: 9px; padding: 5px 10px; top: 10px; right: 10px; }
  .flip-tap-hint__icon { width: 44px; height: 44px; font-size: 22px; }
  .flip-selector__btn { font-size: 10px; padding: 8px 18px; }

  /* -- 9. INSTAGRAM -- */
  .ig { padding: 48px 64px 64px; }
  .section-pair .zone-ig .ig { display: block; }
  .section-pair .zone-ig .ig .ig__head { position: static; }
  .ig__intro { font-size: 15px; line-height: 1.85; }

  /* -- 10. CONTACTO -- */
  .contact { padding: 48px 64px 64px; }
  .contact__head { margin-bottom: 0; }
  .contact__sub { font-size: 15px; max-width: 340px; line-height: 1.85; margin-bottom: 40px; }
  .section-pair .zone-cta .contact__box { display: block; }
  .section-pair .zone-cta .contact__sub { max-width: none; }
  .contact__box .form__alt-text { font-size: 10px; margin-bottom: 24px; }
  .form__label { font-size: 10px; }
  .form__input, .form__textarea, .form__select { font-size: 15px; padding: 12px 14px; border-width: 1px; border-color: rgba(58,36,21,0.22); }
  .form__input:focus, .form__textarea:focus, .form__select:focus { border-color: rgba(58,36,21,0.4); }
  .contact__box { border-width: 1px; border-color: rgba(58,36,21,0.22); }
  .form-line-draw--box { border-width: 1px; border-color: rgba(58,36,21,0.22); }
  .form-line-draw--field { border-width: 1px; border-color: rgba(58,36,21,0.22); }
  .form-line-draw--sep { background: rgba(58,36,21,0.22); }
  .form--line-anim .form__input:focus,
  .form--line-anim .form__textarea:focus,
  .form--line-anim .form__select:focus { border-color: rgba(58,36,21,0.4) !important; }
  .form__submit { font-size: 10px; padding: 14px; }
  .form__alt-label { font-size: 10px; min-width: 88px; }
  .form__alt-value { font-size: 14px; }

  /* -- About -- */
  .about { padding: 72px 64px 0; }
  .about__name { font-size: 38px; }
  .about__text { font-size: 15px; max-width: 480px; }
  .stat-cell { padding: 24px 20px; }
  .stat-cell__label { font-size: 10px; }
  .stat-cell__num { font-size: 40px; }

  /* -- Brands -- */
  .brands-marquee { padding: 48px 0 56px; }
  .brands-marquee__title { font-size: 11px; }
  .brands-marquee__inner img { height: 95px; }
  .brands-marquee__inner { gap: 40px; }

  /* -- Footer -- horizontal -- */
  .footer { padding: 52px 64px 28px; }
  .footer__info { grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .footer__info-item { font-size: 11px; }
  .footer__info-label { font-size: 10px; }
  .footer__text { font-size: 10px; }
}

/* ===================================
   WIDE DESKTOP  (1400+)
=================================== */
@media (min-width: 1400px) {
  .hero__heading { font-size: 76px; }
  .hero__body { max-width: 860px; padding: 0 80px 100px; }
  .hero__nav { padding: 32px 80px; }
  .hero__links { gap: 44px; }
  .hero__links a { font-size: 11px; }
  .portfolio { padding: 0 80px 80px; }
  .portfolio__intro { font-size: 27px; max-width: 740px; margin-bottom: 108px; }
  .port-carousel { margin-left: -80px; margin-right: -80px; padding-left: 80px; }
  .port-slide { flex: 0 0 28%; }
  .collage__photos { padding: 45svh 80px 12vh; }
  .services { padding: 88px 80px 56px; }
  .process { padding: 88px 80px 72px; }
  .testimonial { max-width: 860px; }
  .testimonial__quote { font-size: 20px; }
  .nosotros { padding: 0 80px 80px; }
  .flip-section { padding: 88px 80px 96px; }
  .ig { padding: 0 80px 80px; }
  .contact { padding: 0 80px 72px; }
  .about { padding: 88px 80px 0; }
  .footer { padding: 60px 80px 32px; }
  .zone-sep { padding: 44px 80px; }
  .zone-sep__link { bottom: 60px; left: 96px; }
  .section-pair { min-height: 720px; }
  .section-pair .zone-sep { padding: 112px; }
  .section-pair .zone-sep__link { bottom: 128px; left: 128px; }
  .section-pair > .zone-svc,
  .section-pair > .zone-proc,
  .section-pair > .zone-test,
  .section-pair > .zone-nos,
  .section-pair > .zone-flip,
  .section-pair > .zone-ig,
  .section-pair > .zone-cta { padding: 96px 80px; }
}

/* ===================================
   FORM LINE-DRAW ANIMATION
=================================== */
.form-line-draw {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}
.form-line-draw--box {
  inset: -1px;
  border: 1px solid rgba(58,36,21,0.22);
  clip-path: inset(0 100% 100% 0);
}
.form-line-draw--field {
  inset: 0;
  border: 1px solid rgba(58,36,21,0.22);
  clip-path: inset(0 100% 0 0);
}
.form-line-draw--sep {
  top: 0; left: 0; right: 0;
  height: 1px;
  background: rgba(58,36,21,0.22);
  transform: scaleX(0);
  transform-origin: left;
}
/* Ocultar bordes reales cuando line-draw activo */
.form--line-anim { border-color: transparent !important; }
.form--line-anim .form__input,
.form--line-anim .form__textarea,
.form--line-anim .form__select { border-color: transparent !important; }
.form--line-anim .form__input:focus,
.form--line-anim .form__textarea:focus,
.form--line-anim .form__select:focus { border-color: var(--muted) !important; }
.form--line-anim .form__alt { border-top-color: transparent !important; }

/* ===================================
   MOBILE MENU OVERLAY
=================================== */
.mob-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--dark);
  display: flex;
  flex-direction: column;
  pointer-events: none;
  opacity: 0;
  overflow: hidden;
}
.mob-menu.is-open {
  pointer-events: auto;
}
.mob-menu__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  border-bottom: 0.75px solid rgba(255,255,255,0.15);
}
.mob-menu__logo {
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.25em;
  color: rgba(255,255,255,0.85);
  text-transform: uppercase;
  text-decoration: none;
}
.mob-menu__close {
  cursor: pointer;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.8);
  transition: color 0.3s ease;
  -webkit-user-select: none;
  user-select: none;
  padding: 16px 20px;
  margin: -14px -16px;
}
.mob-menu__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 28px;
  gap: 0;
}
.mob-menu__item {
  border-top: 0.75px solid rgba(255,255,255,0.15);
  overflow: hidden;
}
.mob-menu__item:last-child {
  border-bottom: 0.75px solid rgba(255,255,255,0.15);
}
.mob-menu__link {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 22px 0;
  text-decoration: none;
  color: rgba(255,255,255,0.85);
  transition: color 0.3s ease;
}
.mob-menu__link:active {
  color: rgba(255,255,255,0.5);
}
.mob-menu__num {
  font-family: var(--serif);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.3);
}
.mob-menu__name {
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 400;
  letter-spacing: -0.5px;
  line-height: 1;
}
.mob-menu__line {
  width: 100%;
  height: 0.5px;
  background: rgba(255,255,255,0.08);
  transform-origin: left;
}
.mob-menu__footer {
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mob-menu__footer-text {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.55);
}
.mob-menu__footer-text a {
  color: inherit;
  text-decoration: none;
}

/* Menu text active state -- handled via JS text swap */

/* ══════════════════════════════════════════════════════
   SITE NAV — Inner pages (non-hero)
   ══════════════════════════════════════════════════════ */
.site-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  border-bottom: 0.95px solid rgba(58,36,21,0.08);
  position: relative;
  z-index: 50;
}
.site-nav__logo {
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.25em;
  line-height: 1;
  text-decoration: none;
  color: var(--dark);
}
.site-nav__links {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 36px;
}
.site-nav__links a {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 2px;
  color: var(--secondary);
  text-decoration: none;
  position: relative;
  padding-bottom: 3px;
  transition: color 0.3s ease;
}
.site-nav__links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 0.5px;
  background: var(--dark);
  transition: width 0.3s ease;
}
.site-nav__links a:hover,
.site-nav__links a.is-active {
  color: var(--dark);
}
.site-nav__links a:hover::after,
.site-nav__links a.is-active::after {
  width: 100%;
}
.site-nav__menu {
  cursor: pointer;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.02em;
  color: var(--dark);
  -webkit-user-select: none;
  user-select: none;
  position: relative;
  line-height: 1;
  padding: 16px 20px;
  margin: -18px -20px;
  transition: color 0.3s ease;
}
.site-nav__menu-icon {
  font-weight: 300;
  font-size: 12px;
  margin-left: 2px;
  vertical-align: -0.5px;
}
.site-nav__menu::after {
  content: '';
  position: absolute;
  top: -16px;
  right: -10px;
  bottom: -16px;
  left: -10px;
}

/* Hero variant — transparent over image */
.site-nav--hero {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  border-bottom-color: rgba(240,233,223,0.1);
}
.site-nav--hero .site-nav__logo {
  color: #fff;
}
/* Only hide logo on homepage — GSAP opening animation fades it in */
body.page--home .site-nav--hero .site-nav__logo {
  opacity: 0;
}
.site-nav--hero .site-nav__links a {
  color: #fff;
}
.site-nav--hero .site-nav__links a::after {
  background: #fff;
}
.site-nav--hero .site-nav__menu {
  color: #fff;
}

/* Sticky nav — reuse existing classes from hero nav */
.site-nav--sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(240,236,230,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 0.5px solid rgba(42,26,13,0.08);
  transform: translateY(-100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.site-nav--sticky .site-nav__logo {
  color: var(--text, #141413);
  opacity: 1;
}
.site-nav--sticky .site-nav__links a {
  color: var(--text, #141413);
}
.site-nav--sticky .site-nav__links a::after {
  background: var(--text, #141413);
}
.site-nav--sticky .site-nav__menu {
  color: var(--text, #141413);
}
.site-nav--visible {
  transform: translateY(0);
}

/* ══════════════════════════════════════════════════════
   PAGE HERO — Shared across inner pages
   ══════════════════════════════════════════════════════ */
.page-hero {
  text-align: center;
  padding: 80px 20px 48px;
}
.page-hero__title {
  font-family: var(--serif);
  font-size: 42px;
  font-weight: 500;
  font-style: italic;
  color: var(--text);
  margin: 0 0 12px;
}
.page-hero__sub {
  font-family: var(--serif);
  font-size: 11px;
  font-weight: 300;
  color: var(--secondary);
  margin: 0 0 20px;
}
.page-hero__line {
  width: 40px;
  height: 0.95px;
  background: var(--line);
  margin: 0 auto;
}

/* ── Image variant — full-bleed hero with background image ── */
.page-hero--img {
  position: relative;
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 0 20px 44px;
  overflow: hidden;
  margin: 0;
  width: 100%;
  border-radius: 0;
}
.page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(0,0,0,0.15) 0%,
    transparent 35%,
    rgba(0,0,0,0.50) 100%);
  pointer-events: none;
  z-index: 1;
}
.page-hero--img .page-hero__title {
  position: relative;
  z-index: 2;
  color: #fff;
}
.page-hero--img .page-hero__sub {
  position: relative;
  z-index: 2;
  color: rgba(240,233,223,0.75);
}
.page-hero--img .page-hero__line {
  position: relative;
  z-index: 2;
  background: rgba(240,233,223,0.35);
}

/* ══════════════════════════════════════════════════════
   DESKTOP OVERRIDES — site-nav + page-hero
   ══════════════════════════════════════════════════════ */
@media (min-width: 1024px) {
  .site-nav { padding: 28px 64px; }
  .site-nav__logo { font-size: 18px; letter-spacing: 0.25em; font-weight: 500; }
  .site-nav__links { display: flex; }
  .site-nav__links a { font-size: 12px; letter-spacing: 2.5px; }
  .site-nav__menu { display: none; }

  .page-hero { padding: 120px 64px 64px; }
  .page-hero__title { font-size: 64px; }
  .page-hero__sub { font-size: 13px; }
  .page-hero__line { width: 50px; }

  .page-hero--img { height: 680px; min-height: auto; padding: 0 64px 56px; }
  .page-hero--img .page-hero__title { font-size: 64px; }
}
@media (min-width: 1440px) {
  .site-nav { padding: 32px 80px; }
  .site-nav__links { gap: 44px; }
  .page-hero { padding: 140px 80px 72px; }
  .page-hero__title { font-size: 72px; }

  .page-hero--img { height: 680px; padding: 0 80px 64px; }
  .page-hero--img .page-hero__title { font-size: 72px; }
}
