/* ============================================
   LA COLMENA CIA — MAIN STYLESHEET
   Aesthetic: Raw editorial, dark theatre energy
   Palette: Near-black / Cream / Deep Red
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Playfair+Display:ital,wght@0,400;0,700;1,400;1,700&family=DM+Sans:wght@300;400;500&display=swap');

/* ---- TOKENS ---- */
:root {
  --bg:         #0a0a08;
  --surface:    #111110;
  --surface2:   #1a1a18;
  --cream:      #f0ead8;
  --cream-dim:  #c8bfa8;
  --red:        #c0180f;
  --red-deep:   #8a1008;
  --red-glow:   rgba(192,24,15,0.15);
  --white:      #ffffff;

  --ff-display: 'Bebas Neue', sans-serif;
  --ff-serif:   'Playfair Display', Georgia, serif;
  --ff-body:    'DM Sans', system-ui, sans-serif;

  --nav-h: 70px;
  --max-w: 1280px;
  --gap:   clamp(1.5rem, 4vw, 3rem);
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--cream);
  font-family: var(--ff-body);
  font-weight: 300;
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.65;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ---- SELECTION ---- */
::selection { background: var(--red); color: var(--white); }

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--gap);
  transition: background .4s, border-color .4s;
}
.nav.scrolled {
  background: rgba(10,10,8,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(240,234,216,.08);
}
.nav__logo {
  display: flex; align-items: center; gap: .8rem;
}
.nav__logo img {
  height: 42px; width: 42px; border-radius: 50%; object-fit: cover;
  filter: saturate(1.1);
}
.nav__logo-text {
  font-family: var(--ff-display);
  font-size: 1.5rem;
  letter-spacing: .12em;
  color: var(--cream);
  line-height: 1;
}
.nav__logo-text span { color: var(--red); }

.nav__links {
  display: flex; gap: clamp(1rem, 2.5vw, 2.2rem); align-items: center;
}
.nav__links a {
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--cream-dim);
  transition: color .2s;
  position: relative;
}
.nav__links a::after {
  content: '';
  position: absolute; bottom: -3px; left: 0; right: 0; height: 1px;
  background: var(--red);
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s;
}
.nav__links a:hover, .nav__links a.active { color: var(--cream); }
.nav__links a:hover::after, .nav__links a.active::after { transform: scaleX(1); }

.nav__cta {
  padding: .45rem 1.2rem;
  border: 1px solid var(--red);
  color: var(--red) !important;
  border-radius: 2px;
  font-size: .75rem !important;
  letter-spacing: .2em !important;
  text-transform: uppercase;
  transition: background .2s, color .2s !important;
}
.nav__cta:hover { background: var(--red); color: var(--white) !important; }
.nav__cta::after { display: none !important; }

/* Hamburger */
.nav__burger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav__burger span { display: block; width: 26px; height: 1.5px; background: var(--cream); transition: .3s; }
.nav__burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile nav */
.nav__mobile {
  display: none; position: fixed; inset: 0; z-index: 99;
  background: var(--bg);
  flex-direction: column; align-items: center; justify-content: center; gap: 2rem;
  padding-top: var(--nav-h);
}
.nav__mobile.open { display: flex; }
.nav__mobile a {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 7vw, 3.5rem);
  letter-spacing: .1em;
  color: var(--cream-dim);
  transition: color .2s;
}
.nav__mobile a:hover { color: var(--red); }

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: flex-end;
  position: relative; overflow: hidden;
  padding: calc(var(--nav-h) + 2rem) var(--gap) 5rem;
}
.hero__bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, transparent 30%, rgba(10,10,8,.7) 70%, var(--bg) 100%),
    linear-gradient(135deg, var(--bg) 0%, #1e0501 40%, #0a0a08 100%);
}
/* Honeycomb SVG pattern overlay */
.hero__pattern {
  position: absolute; inset: 0; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='69'%3E%3Cpath d='M15 0 L45 0 L60 26 L45 52 L15 52 L0 26Z' fill='none' stroke='%23c0180f' stroke-width='1'/%3E%3Cpath d='M15 69 L45 69 L60 95 L45 121 L15 121 L0 95Z' fill='none' stroke='%23c0180f' stroke-width='1' transform='translate(0,-17)'/%3E%3C/svg%3E");
  background-size: 60px 69px;
}
.hero__content {
  position: relative; z-index: 1;
  max-width: var(--max-w);
}
.hero__eyebrow {
  font-size: .7rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1rem;
  opacity: 0; animation: fadeUp .8s .3s forwards;
}
.hero__title {
  font-family: var(--ff-display);
  font-size: clamp(4.5rem, 12vw, 11rem);
  line-height: .9;
  letter-spacing: .02em;
  color: var(--cream);
  margin-bottom: 1.5rem;
  opacity: 0; animation: fadeUp .8s .5s forwards;
}
.hero__title em {
  font-style: italic;
  font-family: var(--ff-serif);
  font-size: .7em;
  color: var(--cream-dim);
}
.hero__tagline {
  max-width: 520px;
  font-size: clamp(.9rem, 1.5vw, 1.1rem);
  color: var(--cream-dim);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  opacity: 0; animation: fadeUp .8s .7s forwards;
}
.hero__actions {
  display: flex; flex-wrap: wrap; gap: 1rem;
  opacity: 0; animation: fadeUp .8s .9s forwards;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .75rem 2rem;
  font-size: .78rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-family: var(--ff-body);
  border-radius: 2px;
  transition: .25s;
}
.btn--primary {
  background: var(--red);
  color: var(--white);
  border: 1px solid var(--red);
}
.btn--primary:hover { background: var(--red-deep); border-color: var(--red-deep); }
.btn--outline {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(240,234,216,.35);
}
.btn--outline:hover {
  border-color: var(--cream);
  background: rgba(240,234,216,.05);
}
.btn--sm { padding: .55rem 1.3rem; font-size: .72rem; }

/* ============================================
   SECTIONS COMMON
   ============================================ */
.section {
  padding: clamp(4rem, 8vw, 8rem) var(--gap);
  max-width: var(--max-w);
  margin: 0 auto;
}
.section--full { max-width: none; }
.section--dark { background: var(--surface); }
.section--stripe { background: var(--surface2); }

.section__header {
  display: flex; align-items: baseline; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
  border-bottom: 1px solid rgba(240,234,216,.1);
  padding-bottom: 1.5rem;
}
.section__label {
  font-size: .68rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--red);
  display: block; margin-bottom: .5rem;
}
.section__title {
  font-family: var(--ff-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: .06em;
  color: var(--cream);
  line-height: 1;
}
.section__link {
  font-size: .75rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--cream-dim);
  border-bottom: 1px solid rgba(240,234,216,.25);
  transition: color .2s, border-color .2s;
}
.section__link:hover { color: var(--red); border-color: var(--red); }

/* ============================================
   OBRAS GRID (HOME & REPERTORIO)
   ============================================ */
.obras-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr));
  gap: 1px;
}
.obra-card {
  position: relative; overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--surface);
  cursor: pointer;
}
.obra-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s cubic-bezier(.25,.46,.45,.94), filter .4s;
  filter: grayscale(.3) brightness(.85);
}
.obra-card:hover img {
  transform: scale(1.05);
  filter: grayscale(0) brightness(.9);
}
.obra-card__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,10,8,.9) 0%, transparent 60%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.8rem;
  transition: background .4s;
}
.obra-card:hover .obra-card__overlay {
  background: linear-gradient(to top, rgba(10,10,8,.95) 20%, rgba(10,10,8,.4) 100%);
}
.obra-card__tag {
  display: inline-block; padding: .2rem .7rem;
  font-size: .6rem; letter-spacing: .2em; text-transform: uppercase;
  border: 1px solid var(--red);
  color: var(--red);
  margin-bottom: .8rem;
  width: fit-content;
}
.obra-card__tag--gira { border-color: #4CAF50; color: #4CAF50; }
.obra-card__tag--creacion { border-color: #FFA726; color: #FFA726; }
.obra-card__title {
  font-family: var(--ff-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  letter-spacing: .06em;
  line-height: 1;
  margin-bottom: .4rem;
}
.obra-card__meta {
  font-size: .75rem;
  color: var(--cream-dim);
  letter-spacing: .08em;
}
.obra-card__desc {
  font-size: .82rem;
  color: var(--cream-dim);
  max-height: 0; overflow: hidden;
  transition: max-height .4s, margin-top .4s;
  margin-top: 0;
}
.obra-card:hover .obra-card__desc {
  max-height: 80px;
  margin-top: .7rem;
}

/* Obra placeholder (no image) */
.obra-card--placeholder .obra-card__bg {
  position: absolute; inset: 0;
  background: var(--surface2);
  display: flex; align-items: center; justify-content: center;
}
.obra-card--placeholder .obra-card__bg::before {
  content: '';
  width: 80px; height: 80px;
  border: 1px solid rgba(240,234,216,.08);
  border-radius: 50%;
}

/* ============================================
   AGENDA TABLE
   ============================================ */
.agenda-list { width: 100%; }
.agenda-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(240,234,216,.08);
  transition: background .2s;
  cursor: pointer;
}
.agenda-item:hover { background: rgba(240,234,216,.03); }
.agenda-date {
  text-align: center;
}
.agenda-date__day {
  font-family: var(--ff-display);
  font-size: 2.2rem; line-height: 1;
  color: var(--cream);
}
.agenda-date__month {
  font-size: .65rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--red);
}
.agenda-info__obra {
  font-family: var(--ff-serif);
  font-size: 1.05rem;
  font-style: italic;
  margin-bottom: .25rem;
}
.agenda-info__venue {
  font-size: .8rem;
  color: var(--cream-dim);
}
.agenda-info__venue strong { color: var(--cream); font-style: normal; }
.agenda-actions { display: flex; gap: .7rem; align-items: center; }

/* ============================================
   PRESS QUOTE
   ============================================ */
.press-quote {
  padding: clamp(4rem, 7vw, 7rem) var(--gap);
  text-align: center;
  position: relative;
  background: var(--surface);
}
.press-quote::before {
  content: '"';
  font-family: var(--ff-serif);
  font-size: clamp(8rem, 20vw, 18rem);
  line-height: 1;
  color: var(--red);
  opacity: .12;
  position: absolute; top: -1rem; left: var(--gap);
  pointer-events: none;
}
.press-quote__text {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: clamp(1.3rem, 3vw, 2rem);
  max-width: 800px; margin: 0 auto 1.5rem;
  color: var(--cream);
  line-height: 1.5;
  position: relative;
}
.press-quote__source {
  font-size: .75rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--cream-dim);
}

/* ============================================
   COMPANY BRIEF (HOME)
   ============================================ */
.company-brief {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}
.company-brief__img {
  position: relative;
}
.company-brief__img img {
  width: 100%; aspect-ratio: 4/5; object-fit: cover;
  filter: grayscale(.2);
}
.company-brief__img::after {
  content: '';
  position: absolute; top: 1.5rem; left: 1.5rem; right: -1.5rem; bottom: -1.5rem;
  border: 1px solid rgba(192,24,15,.3);
  z-index: -1;
}
.company-brief__text h2 {
  font-family: var(--ff-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: .95;
  letter-spacing: .05em;
  margin-bottom: 1.5rem;
}
.company-brief__text h2 em {
  font-style: italic;
  font-family: var(--ff-serif);
  color: var(--cream-dim);
  display: block;
}
.company-brief__text p {
  font-size: .95rem;
  color: var(--cream-dim);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

/* ============================================
   CONTACT STRIP
   ============================================ */
.contact-strip {
  background: var(--red);
  padding: 3rem var(--gap);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 2rem;
}
.contact-strip h2 {
  font-family: var(--ff-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  letter-spacing: .08em;
  color: var(--white);
}
.contact-strip p {
  font-size: .9rem;
  color: rgba(255,255,255,.8);
  margin-top: .4rem;
}
.contact-strip .btn {
  background: var(--white);
  color: var(--red);
  border-color: var(--white);
  white-space: nowrap;
}
.contact-strip .btn:hover {
  background: var(--bg);
  color: var(--white);
  border-color: var(--bg);
}

/* ============================================
   PAGE HERO (inner pages)
   ============================================ */
.page-hero {
  padding: calc(var(--nav-h) + 5rem) var(--gap) 4rem;
  border-bottom: 1px solid rgba(240,234,216,.08);
}
.page-hero__label {
  font-size: .68rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--red); margin-bottom: 1rem;
}
.page-hero__title {
  font-family: var(--ff-display);
  font-size: clamp(3.5rem, 8vw, 7rem);
  letter-spacing: .04em; line-height: .9;
  color: var(--cream);
}
.page-hero__sub {
  margin-top: 1.2rem;
  font-size: clamp(.95rem, 1.5vw, 1.1rem);
  color: var(--cream-dim);
  max-width: 600px;
  line-height: 1.7;
}

/* ============================================
   OBRA INDIVIDUAL
   ============================================ */
.obra-detail {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: clamp(3rem, 5vw, 5rem);
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 4rem var(--gap);
}
.obra-detail__title {
  font-family: var(--ff-display);
  font-size: clamp(3rem, 7vw, 6.5rem);
  letter-spacing: .04em; line-height: .9;
  margin-bottom: .6rem;
}
.obra-detail__year {
  font-size: .75rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--red); margin-bottom: 2rem;
}
.obra-detail__synopsis {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  line-height: 1.8;
  color: var(--cream);
  border-left: 2px solid var(--red);
  padding-left: 1.5rem;
  margin-bottom: 2.5rem;
}
.obra-detail__text {
  font-size: .95rem; color: var(--cream-dim); line-height: 1.85;
  margin-bottom: 2.5rem;
}
.obra-detail__sidebar {
  padding-top: 1rem;
}
.ficha {
  background: var(--surface);
  padding: 1.8rem;
  border-top: 2px solid var(--red);
  margin-bottom: 1.5rem;
}
.ficha__title {
  font-size: .65rem; letter-spacing: .25em; text-transform: uppercase;
  color: var(--red); margin-bottom: 1.2rem;
}
.ficha__row {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: .6rem 0;
  border-bottom: 1px solid rgba(240,234,216,.07);
  font-size: .82rem;
}
.ficha__row:last-child { border-bottom: none; }
.ficha__key { color: var(--cream-dim); }
.ficha__val { color: var(--cream); text-align: right; }

.work-hero {
  min-height: 55vh;
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
}
.work-hero .hero__bg {
  background-image:
    linear-gradient(to bottom, rgba(10,10,8,.25) 0%, rgba(10,10,8,.58) 55%, var(--bg) 100%),
    var(--work-header-image);
  background-size: cover;
  background-position: center;
}
.work-hero__content { position: relative; z-index: 1; width: 100%; }
.work-hero__heading {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 1.5rem; flex-wrap: wrap;
}
.work-hero .obra-card__tag { margin-bottom: 1rem; }
.work-video {
  background: var(--surface); aspect-ratio: 16/9;
  margin-bottom: 3rem; overflow: hidden;
}
.work-video iframe { width: 100%; height: 100%; border: 0; }
.work-video__placeholder {
  height: 100%; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  color: var(--cream-dim); padding: 2rem;
}
.work-video__placeholder span { color: var(--red); font-size: 3rem; margin-bottom: 1rem; }
.work-video__placeholder p { font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; }
.work-video__placeholder small { margin-top: .5rem; opacity: .55; }
.work-section { margin-bottom: 3rem; }
.work-section .gallery-grid { margin: 1.5rem 0; }
.work-section .press-grid { margin-top: 1.5rem; }
.work-caption { color: var(--cream-dim); font-size: .72rem; }
.ficha__list { color: var(--cream-dim); font-size: .82rem; line-height: 1.8; }
.work-dossier { width: 100%; justify-content: center; }
.work-cta {
  padding: 2.5rem; background: var(--surface);
  border-top: 2px solid var(--red); text-align: center;
}
.work-cta > p {
  color: var(--red); font-size: .75rem; letter-spacing: .2em;
  text-transform: uppercase; margin-bottom: .8rem;
}
.work-cta h2 {
  font-family: var(--ff-display); font-size: clamp(1.5rem, 3vw, 2.5rem);
  letter-spacing: .06em; margin-bottom: 1.5rem;
}
.work-cta > div { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.work-agenda__past { margin-top: 5rem; }
.agenda-empty { color: var(--cream-dim); padding: 1.5rem 0; }

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin: 3rem 0;
}
.gallery-grid img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
  filter: grayscale(.2);
  transition: filter .3s, transform .3s;
  cursor: pointer;
}
.gallery-grid img:hover { filter: grayscale(0); transform: scale(1.02); }

/* Gallery archive */
.gallery-archive__count {
  margin-bottom: 2rem;
  color: var(--cream-dim);
  font-size: .7rem;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.gallery-grid.gallery-archive {
  display: block;
  columns: 3 280px;
  column-gap: 1.25rem;
  margin: 0;
}
.gallery-archive__item {
  break-inside: avoid;
  margin-bottom: 1.25rem;
  background: var(--surface);
  border: 1px solid rgba(240,234,216,.08);
  overflow: hidden;
}
.gallery-grid.gallery-archive img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  filter: none;
}
.gallery-archive__item figcaption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .8rem 1rem;
  border-top: 1px solid rgba(240,234,216,.08);
  font-size: .72rem;
  color: var(--cream);
}
.gallery-archive__item figcaption span { text-transform: capitalize; }
.gallery-archive__item figcaption small {
  color: var(--red);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.gallery-archive__empty { color: var(--cream-dim); }

/* ============================================
   COMPAÑÍA / BIO
   ============================================ */
.bio-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(3rem, 5vw, 5rem);
  align-items: start;
}
.bio-portrait {
  position: sticky; top: calc(var(--nav-h) + 2rem);
}
.bio-portrait img {
  width: 100%; aspect-ratio: 3/4; object-fit: cover;
  filter: grayscale(.15);
}
.bio-text h2 {
  font-family: var(--ff-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: .06em; line-height: .95;
  margin-bottom: 1.5rem;
}
.bio-text .lead {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--cream);
  line-height: 1.8;
  margin-bottom: 2rem;
  border-left: 2px solid var(--red);
  padding-left: 1.5rem;
}
.bio-text p {
  font-size: .95rem; color: var(--cream-dim);
  line-height: 1.85; margin-bottom: 1.3rem;
}

/* Team grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 2rem; margin-top: 3rem;
}
.team-member img {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  filter: grayscale(.4);
  margin-bottom: .8rem;
  transition: filter .3s;
}
.team-member:hover img { filter: grayscale(0); }
.team-member__name {
  font-size: .9rem; color: var(--cream);
  margin-bottom: .2rem;
}
.team-member__role {
  font-size: .75rem; color: var(--red);
  letter-spacing: .1em; text-transform: uppercase;
}

/* Company timeline */
.timeline {
  --timeline-year-width: 7rem;
  --timeline-marker-width: 3rem;
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  list-style: none;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 1.4rem;
  bottom: 1.4rem;
  left: calc(var(--timeline-year-width) + var(--timeline-marker-width) / 2);
  width: 1px;
  background: linear-gradient(to bottom, var(--red), rgba(192,24,15,.15));
}
.timeline__item {
  position: relative;
  display: grid;
  grid-template-columns: var(--timeline-year-width) var(--timeline-marker-width) 1fr;
  align-items: start;
  padding-bottom: 1.25rem;
}
.timeline__item:last-child { padding-bottom: 0; }
.timeline__year {
  padding-top: 1.15rem;
  font-family: var(--ff-display);
  font-size: clamp(1.8rem, 3vw, 2.65rem);
  line-height: 1;
  letter-spacing: .06em;
  color: var(--cream);
  text-align: right;
}
.timeline__marker {
  position: relative;
  z-index: 1;
  width: 13px;
  height: 13px;
  margin: 1.4rem auto 0;
  border: 2px solid var(--red);
  border-radius: 50%;
  background: var(--bg);
  box-shadow: 0 0 0 6px var(--bg), 0 0 0 7px rgba(192,24,15,.18);
  transition: background .25s, transform .25s;
}
.timeline__text {
  position: relative;
  margin-left: .75rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid rgba(240,234,216,.08);
  border-left: 2px solid rgba(192,24,15,.55);
  background: linear-gradient(110deg, rgba(240,234,216,.045), rgba(240,234,216,.015));
  color: var(--cream-dim);
  font-family: var(--ff-serif);
  font-size: clamp(.95rem, 1.5vw, 1.08rem);
  line-height: 1.7;
  transition: border-color .25s, background .25s, transform .25s;
}
.timeline__item:hover .timeline__marker {
  background: var(--red);
  transform: scale(1.15);
}
.timeline__item:hover .timeline__text {
  border-color: rgba(192,24,15,.5);
  background: rgba(240,234,216,.055);
  transform: translateX(4px);
}

/* ============================================
   PRENSA
   ============================================ */
.press-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.press-card {
  background: var(--surface);
  padding: 2rem;
  border-top: 2px solid rgba(240,234,216,.1);
  transition: border-color .2s;
}
.press-card:hover { border-top-color: var(--red); }
.press-card__source {
  font-size: .65rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--red); margin-bottom: 1rem;
}
.press-card__text {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: 1rem; line-height: 1.7;
  color: var(--cream);
}

/* Press downloads */
.downloads-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}
.download-item {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.2rem 1.5rem;
  background: var(--surface);
  border: 1px solid rgba(240,234,216,.08);
  transition: border-color .2s;
}
.download-item:hover { border-color: var(--red); }
.download-item__icon {
  font-size: 1.5rem; flex-shrink: 0;
  color: var(--red);
}
.download-item__name { font-size: .85rem; color: var(--cream); }
.download-item__type { font-size: .7rem; color: var(--cream-dim); }

/* ============================================
   TALLERES
   ============================================ */
.taller-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  padding: 2rem 0;
  border-bottom: 1px solid rgba(240,234,216,.08);
}
.taller-card__number {
  font-family: var(--ff-display);
  font-size: 3.5rem;
  line-height: 1;
  color: rgba(192,24,15,.25);
}
.taller-card__title {
  font-family: var(--ff-serif);
  font-size: 1.25rem;
  margin-bottom: .5rem;
}
.taller-card__desc { font-size: .9rem; color: var(--cream-dim); line-height: 1.75; }
.taller-card__tags {
  display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem;
}
.tag {
  padding: .2rem .7rem;
  font-size: .65rem; letter-spacing: .15em; text-transform: uppercase;
  border: 1px solid rgba(240,234,216,.2);
  color: var(--cream-dim);
}

/* ============================================
   CONTACTO
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 5vw, 6rem);
}
.contact-info h2 {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: .06em; line-height: .95;
  margin-bottom: 2rem;
}
.contact-info__item {
  padding: 1.2rem 0;
  border-bottom: 1px solid rgba(240,234,216,.08);
}
.contact-info__label {
  font-size: .65rem; letter-spacing: .25em; text-transform: uppercase;
  color: var(--red); margin-bottom: .4rem;
}
.contact-info__value {
  font-size: 1rem; color: var(--cream);
}
.contact-info__value a:hover { color: var(--red); }

.contact-form { display: flex; flex-direction: column; gap: 1.2rem; }
.form-group { display: flex; flex-direction: column; gap: .5rem; }
.form-group label {
  font-size: .68rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--cream-dim);
}
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--surface);
  border: 1px solid rgba(240,234,216,.15);
  color: var(--cream);
  padding: .9rem 1.2rem;
  font-family: var(--ff-body);
  font-size: .9rem;
  border-radius: 2px;
  transition: border-color .2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--red);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-group select option { background: var(--bg); }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--surface);
  border-top: 1px solid rgba(240,234,216,.06);
  padding: 4rem var(--gap) 2rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  max-width: var(--max-w); margin: 0 auto;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(240,234,216,.06);
}
.footer__brand img {
  height: 48px; width: 48px; border-radius: 50%; object-fit: cover;
  margin-bottom: 1rem;
}
.footer__brand p {
  font-size: .85rem; color: var(--cream-dim); line-height: 1.7;
  max-width: 280px;
}
.footer__col h4 {
  font-size: .65rem; letter-spacing: .25em; text-transform: uppercase;
  color: var(--red); margin-bottom: 1.2rem;
}
.footer__col ul { display: flex; flex-direction: column; gap: .6rem; }
.footer__col a {
  font-size: .85rem; color: var(--cream-dim);
  transition: color .2s;
}
.footer__col a:hover { color: var(--cream); }
.footer__bottom {
  max-width: var(--max-w); margin: 0 auto;
  padding-top: 2rem;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
}
.footer__copy {
  font-size: .75rem; color: rgba(240,234,216,.3);
}
.footer__social {
  display: flex; gap: 1.2rem;
}
.footer__social a {
  font-size: .75rem; letter-spacing: .15em; text-transform: uppercase;
  color: rgba(240,234,216,.3);
  transition: color .2s;
}
.footer__social a:hover { color: var(--red); }

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity .7s, transform .7s;
}
.reveal.visible { opacity: 1; transform: none; }

/* ============================================
   REPERTORIO FILTERS
   ============================================ */
.filter-bar {
  display: flex; gap: .8rem; flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.filter-btn {
  padding: .4rem 1.2rem;
  font-size: .7rem; letter-spacing: .18em; text-transform: uppercase;
  border: 1px solid rgba(240,234,216,.2);
  color: var(--cream-dim);
  border-radius: 2px;
  transition: .2s;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--red); border-color: var(--red); color: var(--white);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .company-brief, .bio-grid, .obra-detail,
  .contact-grid { grid-template-columns: 1fr; }
  .obra-detail__sidebar { order: -1; }
  .bio-portrait { position: static; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  :root { --gap: 1.2rem; }
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .footer__grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .agenda-item { grid-template-columns: 60px 1fr; }
  .agenda-actions { display: none; }
  .obras-grid { grid-template-columns: 1fr; }
  .hero__title { font-size: clamp(3.5rem, 15vw, 5rem); }
  .timeline::before { left: 7px; top: .5rem; bottom: .5rem; }
  .timeline__item { grid-template-columns: 1.5rem 1fr; padding-bottom: 1.5rem; }
  .timeline__marker {
    grid-column: 1;
    grid-row: 1 / span 2;
    width: 11px;
    height: 11px;
    margin: .45rem 0 0 2px;
    box-shadow: 0 0 0 4px var(--bg);
  }
  .timeline__year {
    grid-column: 2;
    padding: 0 0 .65rem .75rem;
    text-align: left;
    font-size: 1.8rem;
  }
  .timeline__text {
    grid-column: 2;
    margin-left: .75rem;
    padding: 1rem 1.1rem;
  }
}

/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox {
  display: none; position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,.92);
  align-items: center; justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 85vh; object-fit: contain; }
.lightbox__close {
  position: absolute; top: 1.5rem; right: 1.5rem;
  font-size: 2rem; color: var(--cream); cursor: pointer;
  line-height: 1;
  transition: color .2s;
}
.lightbox__close:hover { color: var(--red); }

/* ============================================
   UTILITIES
   ============================================ */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap;
}
.text-red { color: var(--red); }
.text-dim { color: var(--cream-dim); }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-2 { margin-bottom: 2rem; }
.separator {
  width: 40px; height: 1px; background: var(--red);
  margin: 1.5rem 0;
}
.grid-2 {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2rem;
}
@media (max-width: 640px) { .grid-2 { grid-template-columns: 1fr; } }
