/* ── PAGE-SPECIFIC STYLES ── */

/* Hero interior */
.page-hero {
  position: relative;
  background:
    linear-gradient(110deg, rgba(13,18,25,.85) 0%, rgba(13,18,25,.5) 70%, rgba(19,126,168,.15) 100%),
    url('../images/obras/AG-Natural-Gas.jpg') center/cover no-repeat;
  padding: 120px var(--px) 100px;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 79px, rgba(255,255,255,.022) 80px),
    repeating-linear-gradient(90deg, transparent, transparent 79px, rgba(255,255,255,.022) 80px);
  pointer-events: none;
}
.page-hero-inner {
  max-width: 1480px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.page-hero-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Archivo Narrow', sans-serif;
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 100px;
  padding: 6px 14px;
  background: rgba(255,255,255,.06);
  margin-bottom: 28px;
  width: fit-content;
}
.page-hero h1 {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: clamp(36px, 6vw, 72px);
  line-height: .97;
  letter-spacing: -.04em;
  color: #fff;
  margin-bottom: 24px;
  max-width: 800px;
}
.page-hero h1 .hl { color: var(--blue); font-style: italic; }
.page-hero p {
  font-size: clamp(15px, 1.8vw, 18px);
  color: rgba(255,255,255,.7);
  line-height: 1.65;
  max-width: 580px;
}
/* Breadcrumb */
.breadcrumb {
  position: absolute;
  bottom: 28px; left: var(--px);
  right: var(--px);
  max-width: 1480px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Archivo Narrow', sans-serif;
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  z-index: 2;
}
.breadcrumb a { color: rgba(255,255,255,.45); transition: color .2s; }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb span { color: rgba(255,255,255,.25); }

/* Historia split */
.historia {
  background: var(--bg);
}
.historia-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
}
.historia-img {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}
.historia-img img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}
/* Founding year badge */
.historia-img::after {
  content: '1999';
  position: absolute;
  bottom: 24px; left: 24px;
  background: var(--blue);
  color: #fff;
  font-family: 'Archivo', sans-serif;
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -.02em;
  padding: 10px 18px;
  border-radius: 6px;
  line-height: 1;
}
.historia-text .section-tag { margin-bottom: 14px; }
.historia-text h2 { margin-bottom: 24px; }
.historia-text p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 20px;
}
.historia-text p:last-child { margin-bottom: 0; }

/* MVV — Misión / Visión / Valores */
.mvv { background: var(--bg-2); }
.mvv-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 56px;
}
.mvv-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 40px 36px;
  position: relative;
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}
.mvv-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--red));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s cubic-bezier(.4,0,.2,1);
}
.mvv-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px -10px rgba(0,0,0,.1); }
.mvv-card:hover::before { transform: scaleX(1); }
.mvv-icon {
  width: 56px; height: 56px;
  background: rgba(19,126,168,.1);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
  transition: background .3s;
}
.mvv-card:hover .mvv-icon { background: var(--blue); }
.mvv-icon svg { width: 26px; height: 26px; stroke: var(--blue); stroke-width: 1.8; fill: none; transition: stroke .3s; }
.mvv-card:hover .mvv-icon svg { stroke: #fff; }
.mvv-label {
  font-family: 'Archivo Narrow', sans-serif;
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 700;
  margin-bottom: 10px;
}
.mvv-title {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -.02em;
  margin-bottom: 16px;
  line-height: 1.1;
}
.mvv-text {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.7;
}

/* Valores — horizontal chips on card */
.valores-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.valor-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(19,126,168,.07);
  border: 1px solid rgba(19,126,168,.2);
  color: var(--blue);
  font-family: 'Archivo Narrow', sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 100px;
  transition: all .2s;
}
.valor-chip:hover { background: var(--blue); color: #fff; }
.valor-chip::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--blue);
  border-radius: 50%;
  flex-shrink: 0;
  transition: background .2s;
}
.valor-chip:hover::before { background: #fff; }

/* Números / Stats inside page */
.about-stats { background: var(--ink); padding: 80px 0; }
.about-stats-grid {
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 var(--px);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}
.about-stat {
  padding: 32px 36px;
  border-left: 1px solid rgba(255,255,255,.07);
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.about-stat:nth-child(odd) { border-left: none; }
.about-stat-num {
  font-family: 'Archivo', sans-serif;
  font-weight: 900;
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1;
  letter-spacing: -.04em;
  color: #fff;
  margin-bottom: 6px;
}
.about-stat-num b { color: var(--blue); }
.about-stat-label {
  font-family: 'Archivo Narrow', sans-serif;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  line-height: 1.4;
}

/* Team / Compromiso visual strip */
.compromiso {
  background: var(--blue);
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}
.compromiso::before {
  content: 'SEGURIDAD';
  position: absolute;
  right: -40px; top: 50%;
  transform: translateY(-50%);
  font-family: 'Archivo', sans-serif;
  font-weight: 900;
  font-size: clamp(80px, 12vw, 180px);
  color: rgba(255,255,255,.04);
  letter-spacing: -.05em;
  line-height: 1;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}
.compromiso-inner {
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 var(--px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.compromiso-img {
  border-radius: 12px;
  overflow: hidden;
}
.compromiso-img img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
}
.compromiso-text .section-tag { color: rgba(255,255,255,.7); }
.compromiso-text .section-tag::before { background: rgba(255,255,255,.4); }
.compromiso-text h2 {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -.03em;
  color: #fff;
  margin-bottom: 20px;
}
.compromiso-text p {
  font-size: 16px;
  color: rgba(255,255,255,.65);
  line-height: 1.75;
  margin-bottom: 20px;
}
.compromiso-text p:last-of-type { margin-bottom: 32px; }

/* Responsive */
@media (min-width: 640px) {
  .about-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .mvv-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .historia-grid { grid-template-columns: 1fr 1fr; }
  .mvv-grid { grid-template-columns: repeat(3, 1fr); }
  .about-stats-grid { grid-template-columns: repeat(4, 1fr); }
  .about-stat { border-bottom: none; }
  .about-stat:nth-child(odd) { border-left: 1px solid rgba(255,255,255,.07); }
  .about-stat:first-child { border-left: none; }
  .compromiso-inner { grid-template-columns: 1fr 1fr; }
  .historia-img img { height: 520px; }
}