/* ══════════════════════════════════════════
   DISTRITO 87 — NOSOTROS CSS v2
   ══════════════════════════════════════════ */

.story-section {
  padding: 8rem 3rem; max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center;
}
.story-map-frame {
  width: 100%; aspect-ratio: 1/1.1; border-radius: 10px; overflow: hidden;
  border: 1px solid var(--humo); box-shadow: 0 30px 80px rgba(0,0,0,.55);
  position: relative; z-index: 2;
}
.story-map-frame iframe { width: 100%; height: 100%; border: none; filter: grayscale(50%) contrast(1.1) brightness(.9); }
.story-visual { position: relative; display: flex; justify-content: center; }
.map-glow {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 108%; height: 108%;
  background: radial-gradient(ellipse, rgba(232,93,18,.1) 0%, transparent 65%);
  z-index: 1; border-radius: 10px;
}

/* VALUES */
.values-section { padding: 8rem 3rem; background: var(--carbon); }
.values-inner { max-width: 1200px; margin: 0 auto; }
.values-header { text-align: center; margin-bottom: 4rem; }
.values-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.value-card {
  padding: 2.5rem 2rem; border: 1px solid var(--humo); border-radius: 8px;
  background: var(--negro); text-align: center;
  transition: transform .35s cubic-bezier(.16,1,.3,1), border-color .3s, box-shadow .35s;
  position: relative; overflow: hidden;
}
.value-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px; background: linear-gradient(to right, transparent, var(--fuego), transparent);
  transform: scaleX(0); transition: transform .4s;
}
.value-card:hover { transform: translateY(-8px); border-color: var(--brasas); box-shadow: 0 22px 55px rgba(192,57,11,.2); }
.value-card:hover::after { transform: scaleX(1); }
.value-icon { font-size: 3rem; display: block; margin-bottom: 1.2rem; }
.value-title { font-family: 'Bebas Neue', sans-serif; font-size: 1.6rem; letter-spacing: .08em; color: var(--crema); margin-bottom: .65rem; }
.value-text { font-size: .85rem; line-height: 1.78; opacity: .58; }

/* TIMELINE */
.timeline-section { padding: 8rem 3rem; }
.timeline-inner { max-width: 820px; margin: 0 auto; }
.timeline-header { text-align: center; margin-bottom: 5rem; }
.timeline { position: relative; }
.timeline::before {
  content: ''; position: absolute; left: 50%; top: 0; bottom: 0;
  width: 1px; background: linear-gradient(to bottom, var(--fuego) 0%, rgba(232,93,18,.1) 100%);
  transform: translateX(-50%);
}
.timeline-item {
  display: flex; gap: 3rem; align-items: flex-start;
  margin-bottom: 4.5rem; position: relative;
}
.timeline-item:nth-child(even) { flex-direction: row-reverse; }
.timeline-item:nth-child(even) .timeline-content { text-align: right; }
.timeline-year {
  flex: 1; font-family: 'Bebas Neue', sans-serif; font-size: 3.2rem; color: var(--fuego);
  line-height: 1; text-align: right; padding-top: .15rem; letter-spacing: .05em;
  opacity: .9;
}
.timeline-item:nth-child(even) .timeline-year { text-align: left; }
.timeline-dot {
  position: absolute; left: 50%; top: .4rem;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--fuego); border: 3px solid var(--negro);
  box-shadow: 0 0 16px rgba(232,93,18,.7);
  transform: translateX(-50%); z-index: 2;
  transition: transform .3s, box-shadow .3s;
}
.timeline-item:hover .timeline-dot { transform: translateX(-50%) scale(1.4); box-shadow: 0 0 28px rgba(232,93,18,.9); }
.timeline-content { flex: 1; padding-top: .15rem; }
.timeline-content h3 { font-family: 'Bebas Neue', sans-serif; font-size: 1.5rem; color: var(--crema); letter-spacing: .08em; margin-bottom: .5rem; }
.timeline-content p { font-size: .87rem; line-height: 1.78; opacity: .58; }

/* OWNER QUOTE */
.owner-section { padding: 8rem 3rem; background: var(--carbon); }
.owner-inner { max-width: 900px; margin: 0 auto; text-align: center; }
.owner-avatar {
  width: 120px; height: 120px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brasas), var(--naranja));
  display: flex; align-items: center; justify-content: center;
  font-size: 3.5rem; margin: 0 auto 2.5rem;
  border: 3px solid var(--humo); box-shadow: 0 0 50px rgba(232,93,18,.25);
}
.owner-quote {
  font-family: 'Playfair Display', serif; font-style: italic;
  font-size: clamp(1.1rem, 2.8vw, 1.7rem); line-height: 1.7;
  color: var(--crema); opacity: .88; max-width: 720px; margin: 0 auto 2rem;
}
.owner-name { font-family: 'Bebas Neue', sans-serif; font-size: 1.5rem; letter-spacing: .12em; color: var(--naranja); }
.owner-title { font-size: .75rem; opacity: .4; letter-spacing: .15em; text-transform: uppercase; margin-top: .25rem; }

/* LOCATION */
.location-full-section { padding: 8rem 3rem; }
.location-full-inner { max-width: 1200px; margin: 0 auto; }
.location-full-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; margin-top: 4rem; }
.location-map-wrap { border-radius: 10px; overflow: hidden; border: 1px solid var(--humo); height: 420px; }
.location-map-wrap iframe { width: 100%; height: 100%; border: none; }
.location-detail-item {
  display: flex; gap: 1rem; align-items: flex-start;
  margin-bottom: 1.8rem; padding-bottom: 1.8rem;
  border-bottom: 1px solid rgba(58,49,40,.38);
}
.location-detail-item:last-of-type { border-bottom: none; }
.detail-icon { font-size: 1.7rem; flex-shrink: 0; margin-top: .1rem; }
.detail-label { font-size: .66rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--naranja); margin-bottom: .35rem; }
.detail-value { font-size: .93rem; line-height: 1.75; opacity: .72; }
.detail-value a { color: var(--naranja); text-decoration: none; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .story-section { grid-template-columns:1fr; gap:3rem; padding:5rem 1.5rem; }
  .values-grid { grid-template-columns:1fr 1fr; }
  .timeline::before { left:20px; }
  .timeline-item, .timeline-item:nth-child(even) { flex-direction:column; padding-left:3.5rem; }
  .timeline-year, .timeline-item:nth-child(even) .timeline-year { text-align:left; font-size:2.5rem; }
  .timeline-item:nth-child(even) .timeline-content { text-align:left; }
  .timeline-dot { left:20px; }
  .location-full-grid { grid-template-columns:1fr; }
  .values-section, .timeline-section, .owner-section, .location-full-section { padding:5rem 1.5rem; }
}
@media (max-width: 600px) { .values-grid { grid-template-columns:1fr; } }
