/* =============================================================
   Nosotros page styles
   ============================================================= */

/* --- Hero --- */
.about-hero {
  position: relative; min-height: 70vh; min-height: 70svh;
  display: flex; align-items: flex-end; justify-content: center;
  padding: calc(var(--nav-h) + 40px) var(--gutter) 60px;
  overflow: hidden;
}
.about-hero__bg { position: absolute; inset: 0; z-index: 0; }
.about-hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.about-hero__overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(15,46,26,.85) 0%, rgba(15,46,26,.4) 50%, rgba(15,46,26,.15) 100%);
}
.about-hero__content {
  position: relative; z-index: 2; text-align: center; max-width: 700px;
  padding-bottom: 20px;
}
.about-hero__content h1 {
  font-size: clamp(2rem, 5vw, 3.2rem); color: var(--cream);
  margin-bottom: 16px;
}
.about-hero__content p {
  font-size: 1.1rem; color: rgba(255,255,255,.8); line-height: 1.7;
  max-width: 540px; margin: 0 auto;
}

/* --- Story --- */
.story { padding: 100px 0; background: var(--cream); }
.story__grid {
  display: grid; grid-template-columns: 1.1fr .9fr;
  gap: 56px; align-items: center;
}
.story__text h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); margin-bottom: 24px; }
.story__text p { color: var(--ink-mute); line-height: 1.8; margin-bottom: 16px; font-size: .95rem; }
.story__img { border-radius: 20px; overflow: hidden; box-shadow: 0 12px 40px rgba(0,0,0,.1); }
.story__img img { width: 100%; height: 400px; object-fit: cover; }

/* --- Numbers --- */
.numbers { padding: 64px 0; background: var(--forest); }
.numbers__grid { display: flex; justify-content: center; gap: 64px; text-align: center; }
.numbers__item strong {
  font-family: var(--serif); font-size: 2.8rem; color: var(--mint);
  display: inline;
}
.numbers__item span { font-family: var(--serif); font-size: 2rem; color: var(--mint); }
.numbers__item p { font-size: .85rem; color: rgba(255,255,255,.65); margin-top: 4px; }

/* --- How We Work --- */
.how-we-work { padding: 100px 0; background: var(--paper); }
.how-we-work h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); text-align: center; margin-bottom: 16px; }
.how-we-work__intro {
  text-align: center; color: var(--ink-mute); max-width: 600px;
  margin: 0 auto 48px; font-size: 1rem; line-height: 1.7;
}

.gallery { display: grid; grid-template-columns: 1.4fr .6fr; grid-template-rows: auto auto; gap: 16px; }
.gallery__item { border-radius: 16px; overflow: hidden; position: relative; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; min-height: 240px; }
.gallery__item--wide { grid-row: 1 / 3; }
.gallery__caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 12px 16px; font-size: .78rem; color: var(--cream);
  background: linear-gradient(to top, rgba(0,0,0,.65) 0%, transparent 100%);
}

/* --- Real Clients --- */
.real-clients { padding: 100px 0; background: var(--cream); }
.real-clients h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); text-align: center; margin-bottom: 16px; }
.real-clients__intro {
  text-align: center; color: var(--ink-mute); max-width: 560px;
  margin: 0 auto 48px; font-size: .95rem; line-height: 1.7;
}

.clients-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.client-card {
  background: var(--paper); border-radius: 20px; overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,.04);
  transition: transform .5s cubic-bezier(.22,1.36,.36,1), box-shadow .4s;
}
.client-card:hover { transform: translateY(-6px) scale(1.01); box-shadow: 0 20px 48px rgba(26,77,46,.12); }
.client-card__img { height: 260px; overflow: hidden; }
.client-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.16,1,.3,1); }
.client-card:hover .client-card__img img { transform: scale(1.06); }
.client-card__info { padding: 20px 24px; }
.client-card__info strong { display: block; font-size: 1rem; color: var(--forest); margin-bottom: 6px; }
.client-card__info p { font-size: .84rem; color: var(--ink-mute); line-height: 1.5; }

/* --- Products in Action --- */
.in-action { padding: 100px 0; background: var(--paper); }
.in-action h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); text-align: center; margin-bottom: 48px; }
.action-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.action-gallery__item {
  border-radius: 16px; overflow: hidden; aspect-ratio: 3/4;
  transition: transform .5s cubic-bezier(.22,1.36,.36,1);
}
.action-gallery__item:hover { transform: scale(1.03); }
.action-gallery__item img { width: 100%; height: 100%; object-fit: cover; }

/* --- Team --- */
.team { padding: 100px 0; background: var(--cream); }
.team h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); text-align: center; margin-bottom: 48px; }
.team__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.team__member {
  background: var(--paper); border-radius: 20px; overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,.04);
  transition: transform .5s cubic-bezier(.22,1.36,.36,1), box-shadow .4s;
}
.team__member:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,.08); }
.team__photo { height: 280px; overflow: hidden; }
.team__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.team__info { padding: 28px; }
.team__info h3 { font-size: 1.2rem; margin-bottom: 4px; }
.team__role { font-size: .82rem; font-weight: 600; color: var(--sage); display: block; margin-bottom: 12px; }
.team__info p { font-size: .88rem; color: var(--ink-mute); line-height: 1.6; }

/* --- Video placeholder --- */
.video-section { padding: 80px 0; background: var(--paper); }
.video-placeholder {
  max-width: 800px; margin: 0 auto; aspect-ratio: 16/9;
  border-radius: 20px; border: 2px dashed var(--line);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 16px; background: var(--sand);
}
.video-placeholder__icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--forest); color: var(--cream);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
}
.video-placeholder p { color: var(--ink-mute); font-size: .9rem; }

/* --- CTA --- */
.about-cta {
  background: var(--forest); color: var(--cream); text-align: center;
  padding: 80px var(--gutter);
}
.about-cta h2 { color: var(--cream); font-size: clamp(1.6rem, 4vw, 2.3rem); margin-bottom: 16px; }
.about-cta p { color: rgba(255,255,255,.75); font-size: 1.05rem; margin-bottom: 36px; max-width: 500px; margin-left: auto; margin-right: auto; }
.about-cta__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* =============================================================
   Responsive
   ============================================================= */
@media (max-width: 960px) {
  .story__grid { grid-template-columns: 1fr; }
  .story__img { order: -1; }
  .gallery { grid-template-columns: 1fr; }
  .gallery__item--wide { grid-row: auto; }
  .clients-gallery { grid-template-columns: 1fr; }
  .action-gallery { grid-template-columns: 1fr 1fr; }
  .team__grid { grid-template-columns: 1fr; }
  .numbers__grid { flex-direction: column; gap: 32px; }
}

@media (max-width: 540px) {
  .about-hero { min-height: 60vh; }
  .action-gallery { grid-template-columns: 1fr; }
  .about-cta__actions { flex-direction: column; align-items: center; }
}
