/* ============================================================
   BAMBOO INTERIORISMO INTEGRAL — nosotros.css
   Estilos exclusivos de la página Nosotros.
   Requiere: base.css, components.css
============================================================ */

/* ── PAGE HEADER (hero oscuro compartido) ── */
.page-header {
  background: linear-gradient(rgba(28,28,26,0.68), rgba(28,28,26,0.68)),
    url('https://images.unsplash.com/photo-1618221195710-dd6b41faaea6?auto=format&w=1920&q=80') center/cover no-repeat;
  padding: 11rem 0 6rem;
  position: relative;
  overflow: hidden;
}
.page-header::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(to right, transparent, rgba(184,148,90,0.3), transparent);
}
.page-header-texture {
  position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23B8945A' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-header-content { position: relative; z-index: 2; text-align: center; }

.page-eyebrow { justify-content: center; }
.page-eyebrow::before { display: none; }
.page-eyebrow span { color: var(--gold-light); letter-spacing: 0.4em; }

.page-header .section-title { color: var(--cream); margin-bottom: 1.5rem; }
.page-header .section-title em { color: var(--gold-light); }
.page-header-sub {
  font-family: var(--sans); font-size: 0.82rem; font-weight: 300;
  color: var(--stone-light); letter-spacing: 0.04em; line-height: 1.9;
  max-width: 480px; margin: 0 auto;
}

/* ── NUESTRA ESENCIA ── */
.esencia-section {
  padding: 9rem 0;
  background: var(--cream);
  position: relative;
  overflow: hidden;
}
.esencia-section::before {
  content: 'bamboo';
  position: absolute; bottom: -3rem; right: -2rem;
  font-family: var(--serif); font-size: 16rem; font-weight: 300;
  color: rgba(184,148,90,0.04); pointer-events: none; user-select: none;
  text-transform: lowercase; letter-spacing: -0.05em; line-height: 1;
}

.esencia-header { margin-bottom: 4rem; }

.esencia-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.esencia-lead {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-weight: 300;
  line-height: 1.65;
  color: var(--charcoal-soft);
  font-style: italic;
  border-left: 2px solid var(--gold);
  padding-left: 2rem;
  position: sticky;
  top: 6rem;
}

.esencia-text p {
  font-size: 0.82rem;
  line-height: 2.1;
  color: var(--stone);
  font-weight: 300;
  margin-bottom: 1.75rem;
}
.esencia-text p:last-child { margin-bottom: 0; }

/* ── STATS BAND ── */
.nosotros-stats {
  background: var(--charcoal);
  padding: 5.5rem 0;
  position: relative;
  overflow: hidden;
}
.nosotros-stats::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(to right, transparent, rgba(184,148,90,0.2), transparent);
}
.nosotros-stats::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(to right, transparent, rgba(184,148,90,0.2), transparent);
}

.stats-row {
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-item {
  text-align: center;
  padding: 0 6rem;
  flex: 1;
}

.stat-divider {
  width: 1px;
  height: 70px;
  background: linear-gradient(to bottom, transparent, rgba(184,148,90,0.25), transparent);
  flex-shrink: 0;
}

.stat-num {
  font-family: var(--serif);
  font-size: clamp(3rem, 5.5vw, 5rem);
  font-weight: 300;
  color: var(--gold-light);
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat-num span {
  font-size: 0.45em;
  vertical-align: super;
  color: var(--gold);
  font-family: var(--sans);
  font-weight: 400;
  letter-spacing: 0;
}
.stat-label {
  font-family: var(--sans);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--stone-light);
  margin-top: 1rem;
}

/* ── TRAYECTORIA — TIMELINE ── */
.trayectoria-section {
  padding: 9rem 0 8rem;
  background: var(--ivory);
  position: relative;
}

.trayectoria-header { margin-bottom: 5rem; }

.tl-wrap {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
}

/* Línea vertical central */
.tl-spine {
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom,
    transparent 0%,
    rgba(184,148,90,0.25) 8%,
    rgba(184,148,90,0.25) 92%,
    transparent 100%
  );
  transform: translateX(-50%);
  pointer-events: none;
}

/* Cada evento */
.tl-item {
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  align-items: start;
  margin-bottom: 5.5rem;
}
.tl-item:last-child { margin-bottom: 0; }

/* Columna central — nodo */
.tl-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 1.1rem;
  position: relative;
  z-index: 2;
}
.tl-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(184,148,90,0.12);
}

/* Contenido izquierdo (items impares) */
.tl-content--left {
  text-align: right;
  padding-right: 2.5rem;
}
.tl-content--left .tl-desc { margin-left: auto; }

/* Contenido derecho (items pares) */
.tl-content--right {
  text-align: left;
  padding-left: 2.5rem;
}

/* Año decorativo grande */
.tl-year {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 300;
  color: rgba(184,148,90,0.15);
  line-height: 1;
  margin-bottom: 0.35rem;
  letter-spacing: -0.02em;
}

.tl-title {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.tl-desc {
  font-size: 0.78rem;
  line-height: 1.95;
  color: var(--stone);
  font-weight: 300;
  max-width: 280px;
}

/* ── CTA NOSOTROS (oscuro, diferente a la cta-final de base) ── */
.nosotros-cta {
  background: var(--charcoal);
  padding: 9rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(184,148,90,0.2);
}
.nosotros-cta::before {
  content: '';
  position: absolute; top: 62%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 600px;
  border-radius: 50%;
  border: 1px solid rgba(184,148,90,0.07);
  pointer-events: none;
}
.nosotros-cta::after {
  content: '';
  position: absolute; top: 62%; left: 50%;
  transform: translate(-50%, -50%);
  width: 400px; height: 400px;
  border-radius: 50%;
  border: 1px solid rgba(184,148,90,0.15);
  pointer-events: none;
}

.nosotros-cta-inner { position: relative; z-index: 2; }

.nosotros-cta .page-eyebrow { justify-content: center; margin-bottom: 1.5rem; }
.nosotros-cta .page-eyebrow span { color: var(--gold); }

.nosotros-cta .section-title {
  color: var(--cream);
  margin-bottom: 1.25rem;
}
.nosotros-cta .section-title em { color: var(--gold-light); }

.nosotros-cta-sub {
  font-family: var(--serif);
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  font-weight: 300;
  font-style: italic;
  color: var(--stone-light);
  max-width: 480px;
  margin: 0 auto 1rem;
  line-height: 1.7;
}

.nosotros-cta-desc {
  font-family: var(--sans);
  font-size: 0.78rem;
  line-height: 1.9;
  color: var(--stone);
  max-width: 380px;
  margin: 0 auto 3rem;
  font-weight: 300;
}

.nosotros-cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.nosotros-showroom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(184,148,90,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--sans);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone-light);
}
.nosotros-showroom svg {
  width: 14px; height: 14px;
  stroke: var(--gold); fill: none;
  stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
  flex-shrink: 0;
}
.nosotros-showroom span { color: var(--gold-light); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) and (min-width: 769px) {
  .esencia-body { gap: 3.5rem; }
  .stat-item { padding: 0 3.5rem; }
  .tl-wrap { max-width: 800px; }
}

@media (max-width: 768px) {
  /* Hero */
  .page-header { padding: 8rem 0 4rem; }
  .page-header .section-title { font-size: clamp(1.8rem, 6vw, 2.5rem); }

  /* Esencia */
  .esencia-section { padding: 5rem 0; }
  .esencia-section::before { display: none; }
  .esencia-body { grid-template-columns: 1fr; gap: 2.5rem; }
  .esencia-lead { font-size: 1.1rem; padding-left: 1.25rem; position: static; }

  /* Stats */
  .nosotros-stats { padding: 4rem 0; }
  .stats-row { flex-direction: column; gap: 2.5rem; }
  .stat-divider { width: 40px; height: 1px; background: rgba(184,148,90,0.2); }
  .stat-item { padding: 0; }

  /* Timeline — pasa a línea izquierda */
  .trayectoria-section { padding: 5rem 0; }
  .trayectoria-header { margin-bottom: 3rem; }
  .tl-spine { left: 19px; transform: none; }
  .tl-item {
    grid-template-columns: 40px 1fr;
    grid-template-rows: auto;
    margin-bottom: 3.5rem;
  }
  .tl-node { grid-column: 1; grid-row: 1; padding-top: 0.6rem; }
  .tl-content--left {
    grid-column: 2; grid-row: 1;
    text-align: left;
    padding-right: 0;
    padding-left: 1.5rem;
  }
  .tl-content--left .tl-desc { margin-left: 0; max-width: none; }
  .tl-content--right {
    grid-column: 2; grid-row: 1;
    padding-left: 1.5rem;
  }
  .tl-content--right .tl-desc { max-width: none; }
  .tl-spacer { display: none; }
  .tl-year { font-size: 2rem; }
  .tl-title { font-size: 1.1rem; }

  /* CTA */
  .nosotros-cta { padding: 5.5rem 0; }
  .nosotros-cta-buttons { flex-direction: column; gap: 1rem; }
  .nosotros-showroom { flex-direction: column; gap: 0.5rem; text-align: center; }
}
