/* ═══════════════════════════════
   INNER.CSS — Shared styles for
   all interior pages of AG Natural Gas.
   Add <link rel="stylesheet" href="css/inner.css">
   (or ../css/inner.css from subfolders)
   after style.css on every inner page.
═══════════════════════════════ */

/* ── PAGE HERO ── */
.page-hero {
  position: relative;
  background:
    linear-gradient(110deg, rgba(13,18,25,.87) 0%, rgba(13,18,25,.52) 65%, rgba(19,126,168,.18) 100%);
  padding: 120px var(--px) 100px;
  overflow: hidden;
}
/* pages can override the bg image via inline style or page-specific class */
.page-hero--install { background-image: linear-gradient(110deg, rgba(13,18,25,.87) 0%, rgba(13,18,25,.52) 65%, rgba(19,126,168,.18) 100%), url('../images/obras/Obra-13.jpeg'); background-size: cover; background-position: center; }
.page-hero--maintain { background-image: linear-gradient(110deg, rgba(13,18,25,.87) 0%, rgba(13,18,25,.52) 65%, rgba(19,126,168,.18) 100%), url('../images/obras/Obra-8.jpg'); background-size: cover; background-position: center; }
.page-hero--dictamen { background-image: linear-gradient(110deg, rgba(13,18,25,.87) 0%, rgba(13,18,25,.52) 65%, rgba(19,126,168,.18) 100%), url('../images/Hero-Dictamenes.jpg'); background-size: cover; background-position: center; }
.page-hero--uv { background-image: linear-gradient(110deg, rgba(13,18,25,.87) 0%, rgba(13,18,25,.52) 65%, rgba(19,126,168,.18) 100%), url('../images/obras/Obra-2.jpg'); background-size: cover; background-position: center; }

.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,.4); z-index: 2;
}
.breadcrumb a { color: rgba(255,255,255,.4); transition: color .2s; }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb span { color: rgba(255,255,255,.22); }

/* ── FUEL BLOCKS ── */
.fuels-section { background: var(--bg); padding: 96px 0; }

.fuel-block { padding: 72px 0; }
.fuel-block--alt-bg { background: var(--bg-2); margin: 0 calc(-1 * var(--px)); padding: 72px var(--px); }

.fuel-block-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
.fuel-block-grid--rev { }   /* reversed on desktop via order */

.fuel-block-img {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
}
.fuel-block-img img {
  width: 100%; height: 300px;
  object-fit: cover; display: block;
  transition: transform .6s;
}
.fuel-block:hover .fuel-block-img img { transform: scale(1.03); }

.fuel-tag {
  position: absolute; top: 16px; left: 16px;
  font-family: 'Archivo Narrow', sans-serif;
  font-weight: 700; font-size: 11px;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 13px; border-radius: 3px; color: #fff;
}
.fuel-tag--blue  { background: var(--blue); }
.fuel-tag--red   { background: var(--red); }
.fuel-tag--dark  { background: var(--ink-2); }

.fuel-title {
  font-family: 'Archivo', sans-serif; font-weight: 800;
  font-size: clamp(20px, 2.8vw, 30px); letter-spacing: -.02em;
  line-height: 1.1; margin-bottom: 16px; color: var(--ink);
}
.fuel-intro {
  font-size: 15px; color: var(--muted); line-height: 1.7;
  margin-bottom: 28px;
}
.fuel-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.fuel-list-title {
  font-family: 'Archivo Narrow', sans-serif;
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  font-weight: 700; color: var(--blue);
  margin-bottom: 12px;
  display: flex; align-items: center; gap: 8px;
}
.fuel-list-title::before { content: ''; width: 18px; height: 2px; background: var(--blue); flex-shrink: 0; }
.fuel-list {
  list-style: none;
  display: flex; flex-direction: column; gap: 10px;
}
.fuel-list li {
  font-size: 14px; color: var(--ink-2); line-height: 1.55;
  padding-left: 20px;
  position: relative;
}
.fuel-list li::before {
  content: '–';
  position: absolute; left: 0;
  color: var(--blue); font-weight: 700;
}
.fuel-list--check li::before { content: '✓'; color: var(--blue); }
.fuel-list li strong { color: var(--ink); font-weight: 700; }

/* ── WHY SECTION ── */
.why-section { background: var(--bg); padding: 96px 0; }
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
}
.why-intro {
  font-size: 16px; color: var(--muted); line-height: 1.7;
  margin: 16px 0 36px;
}
.why-items { display: flex; flex-direction: column; gap: 20px; }
.why-item {
  display: flex; align-items: flex-start; gap: 16px;
  background: var(--white); border: 1px solid var(--line);
  border-radius: 10px; padding: 20px 22px;
  transition: border-color .3s, transform .3s;
}
.why-item:hover { border-color: var(--blue); transform: translateX(4px); }
.why-item-icon {
  width: 40px; height: 40px;
  background: rgba(19,126,168,.1); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: background .3s;
}
.why-item:hover .why-item-icon { background: var(--blue); }
.why-item-icon svg { width: 20px; height: 20px; stroke: var(--blue); stroke-width: 2; fill: none; transition: stroke .3s; }
.why-item:hover .why-item-icon svg { stroke: #fff; }
.why-item-body h4 { font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 15px; margin-bottom: 4px; color: var(--ink); }
.why-item-body p { font-size: 13.5px; color: var(--muted); line-height: 1.55; }

/* CTA card */
.why-cta-card {
  border-radius: 12px; overflow: hidden;
  position: relative;
  background: var(--blue);
}
.why-cta-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(255,255,255,.08) 0%, transparent 60%);
  opacity: .2;
}
.why-cta-content {
  position: relative; z-index: 2;
  padding: 44px 40px;
}
.why-cta-tag {
  font-family: 'Archivo Narrow', sans-serif;
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255,255,255,.65); font-weight: 700;
  margin-bottom: 14px;
}
.why-cta-content h3 {
  font-family: 'Archivo', sans-serif; font-weight: 800;
  font-size: clamp(22px, 3vw, 32px); line-height: 1.1;
  letter-spacing: -.02em; color: #fff; margin-bottom: 14px;
}
.why-cta-content p {
  font-size: 15px; color: rgba(255,255,255,.65); line-height: 1.6;
  margin-bottom: 28px;
}
.why-cta-btn { width: 100%; justify-content: center; background: #fff; color: var(--blue) !important; }
.why-cta-btn:hover { background: var(--ink); color: #fff; box-shadow: none; }
.why-cta-contact {
  display: flex; flex-direction: column; gap: 8px;
  margin-top: 20px;
}
.why-cta-contact a {
  font-family: 'Archivo Narrow', sans-serif;
  font-size: 13px; color: rgba(255,255,255,.55);
  transition: color .2s;
}
.why-cta-contact a:hover { color: #fff; }

/* ── OTHER SERVICES ── */
.other-services { background: var(--bg-2); padding: 96px 0; }
.other-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.other-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: 10px; padding: 32px 28px;
  display: flex; flex-direction: column; gap: 10px;
  transition: transform .3s, box-shadow .3s, border-color .3s;
  position: relative; overflow: hidden;
}
.other-card::after {
  content: ''; position: absolute; bottom: 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);
}
.other-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px -10px rgba(0,0,0,.1); border-color: rgba(19,126,168,.25); }
.other-card:hover::after { transform: scaleX(1); }
.other-card-icon {
  width: 48px; height: 48px;
  background: rgba(19,126,168,.1); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 4px; transition: background .3s;
}
.other-card:hover .other-card-icon { background: var(--blue); }
.other-card-icon svg { width: 22px; height: 22px; stroke: var(--blue); stroke-width: 1.8; fill: none; transition: stroke .3s; }
.other-card:hover .other-card-icon svg { stroke: #fff; }
.other-card h3 { font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 18px; letter-spacing: -.02em; color: var(--ink); }
.other-card p  { font-size: 14px; color: var(--muted); line-height: 1.6; flex: 1; }
.other-link { font-family: 'Archivo Narrow', sans-serif; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--blue); margin-top: 4px; }

/* ═══════════════════════════════
   RESPONSIVE — INNER PAGES
═══════════════════════════════ */
@media (min-width: 640px) {
  .fuel-cols { grid-template-columns: 1fr 1fr; }
  .other-grid { grid-template-columns: repeat(2, 1fr); }
  .why-cta-contact { flex-direction: row; gap: 20px; }
}

@media (min-width: 900px) {
  .fuel-block-grid { grid-template-columns: 1fr 1fr; gap: 72px; }
  .fuel-block-img img { height: 420px; }
  .fuel-block-grid--rev .fuel-block-img { order: 2; }
  .fuel-block-grid--rev .fuel-block-text { order: 1; }
  .why-grid { grid-template-columns: 1.1fr .9fr; gap: 64px; }
  .other-grid { grid-template-columns: repeat(3, 1fr); }
}
