/* ============================================================
   NOSOTROS — estilos
   ============================================================ */

.page-hero {
  padding: 70px var(--pad-x) 60px;
  background: var(--black);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.page-hero::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--orange); }
.page-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; margin-top: 48px; }

.ph-img-wrap { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.ph-img {
  width: 100%; height: 100%;
  background: url('/assets/img/nosotros/equipo-almaco.jpg') center/cover;
  filter: brightness(0.78); transition: filter 0.5s;
}
.ph-img-wrap:hover .ph-img { filter: brightness(0.92); }
.ph-corner-h { position: absolute; bottom: 0; left: 0; width: 40%; height: 3px; background: var(--orange); }
.ph-corner-v { position: absolute; bottom: 0; left: 0; width: 3px; height: 30%; background: var(--orange); }

/* STATS ROW */
.stats-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  margin: 64px var(--pad-x);
  border: 1px solid var(--border);
}
.stat-box { padding: 32px 24px; background: var(--card); border-right: 1px solid var(--border); text-align: center; }
.stat-box:last-child { border-right: none; }
.stat-n { font-family: var(--fd); font-size: 54px; color: var(--orange); line-height: 1; }
.stat-l { font-family: var(--fc); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--w2); margin-top: 6px; }

/* ALMACO feature */
.almaco-feature {
  padding: 80px var(--pad-x);
  background: linear-gradient(180deg, var(--b2), var(--black));
  border-top: 2px solid var(--orange);
}
.almaco-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 80px;
  align-items: center;
}
.almaco-content .subtext strong { color: var(--white); font-weight: 500; }
.almaco-tagline {
  font-family: var(--fc);
  font-size: 18px;
  font-style: italic;
  color: var(--orange) !important;
  padding-left: 18px;
  border-left: 3px solid var(--orange);
  margin-bottom: 30px !important;
}
.almaco-visual { display: flex; justify-content: center; align-items: center; }
.almaco-logo-big {
  max-width: 360px;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 8px 24px rgba(254, 77, 2, 0.2));
}

/* TIMELINE */
.timeline-sec { padding: 80px var(--pad-x); background: var(--b2); }
.timeline { margin-top: 56px; display: flex; flex-direction: column; gap: 0; position: relative; padding-left: 40px; }
.timeline::before { content: ''; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 1px; background: var(--border2); }
.tl-item { position: relative; padding: 0 0 48px 32px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-dot { position: absolute; left: -40px; top: 4px; width: 13px; height: 13px; border-radius: 50%; border: 2px solid var(--orange); background: var(--black); transition: background 0.25s; }
.tl-item:hover .tl-dot { background: var(--orange); }
.tl-year { font-family: var(--fd); font-size: 28px; color: var(--orange); line-height: 1; margin-bottom: 8px; }
.tl-title { font-family: var(--fc); font-size: 18px; font-weight: 700; letter-spacing: 0.04em; color: var(--white); margin-bottom: 8px; }
.tl-desc { font-size: 14px; line-height: 1.78; color: var(--w3); max-width: 580px; }

/* VALORES */
.valores-sec { padding: 80px var(--pad-x); background: var(--black); }
.valores-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; margin-top: 52px; }
.val-card {
  background: var(--card);
  padding: 36px 30px;
  border-top: 1px solid var(--border);
  border-bottom: 2px solid transparent;
  transition: border-bottom-color 0.3s, background 0.3s;
  position: relative; overflow: hidden;
}
.val-card::before {
  content: ''; position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 2px; background: var(--orange);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform 0.32s ease;
}
.val-card:hover::before { transform: scaleY(1); }
.val-card:hover { background: #1a1a1a; border-bottom-color: var(--orange); }
.val-num { font-family: var(--fd); font-size: 56px; color: var(--orange); line-height: 1; margin-bottom: 16px; opacity: 0.65; transition: opacity 0.3s; }
.val-card:hover .val-num { opacity: 1; }
.val-title { font-family: var(--fc); font-size: 19px; font-weight: 700; letter-spacing: 0.04em; color: var(--white); margin-bottom: 12px; }
.val-desc { font-size: 14px; line-height: 1.78; color: var(--w3); }

/* SV SECTION */
.sv-sec { padding: 80px var(--pad-x); background: var(--b3); }
.sv-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.sv-img-wrap { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.sv-img {
  width: 100%; height: 100%;
  background: url('/assets/img/nosotros/almaco-shantui-operacion.jpg') center/cover;
  filter: brightness(0.72); transition: filter 0.5s;
}
.sv-img-wrap:hover .sv-img { filter: brightness(0.88); }
.sv-corner-h { position: absolute; bottom: 0; right: 0; width: 40%; height: 3px; background: var(--orange); }
.sv-corner-v { position: absolute; bottom: 0; right: 0; width: 3px; height: 30%; background: var(--orange); }

.sv-list { list-style: none; margin-top: 36px; }
.sv-item { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.sv-item:first-child { border-top: 1px solid var(--border); }
.sv-check {
  width: 28px; height: 28px; flex-shrink: 0;
  background: var(--og12); border: 1px solid var(--og30);
  display: flex; align-items: center; justify-content: center;
}
.sv-check svg { width: 12px; height: 12px; stroke: var(--orange); }
.sv-txt { font-family: var(--fc); font-size: 15px; letter-spacing: 0.04em; color: var(--w2); }

/* Responsive */
@media (max-width: 1099px) {
  .page-hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .almaco-inner { grid-template-columns: 1fr; gap: 50px; text-align: center; }
  .almaco-tagline { text-align: left; display: inline-block; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .valores-grid { grid-template-columns: 1fr 1fr; }
  .sv-layout { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 599px) {
  .stats-row { grid-template-columns: 1fr 1fr; margin: 48px var(--pad-x); }
  .valores-grid { grid-template-columns: 1fr; }
  .timeline { padding-left: 32px; }
}
