/* Extracted from index.php style block 3. */
/* ===== BLOQUE VISUAL SECUNDARIO: obras públicas y fincas afectadas - integrado con la home ===== */
.lg-photo-context {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 88px 0;
  background:
    radial-gradient(circle at 12% 10%, rgba(31,179,131,.10), transparent 30%),
    radial-gradient(circle at 88% 80%, rgba(212,175,55,.08), transparent 30%),
    linear-gradient(180deg, #030a08 0%, #07110e 50%, #030a08 100%);
  color: #f7fbf9;
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
  font-family: 'Inter', Arial, Helvetica, sans-serif;
}
.lg-photo-context::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255,255,255,.020) 1px, transparent 1px);
  background-size: 86px 86px;
  opacity: .26;
  mask-image: linear-gradient(180deg, transparent, black 18%, black 82%, transparent);
  pointer-events: none;
  z-index: -1;
}
.lg-photo-context::after {
  content: "";
  position: absolute;
  right: -180px;
  bottom: -220px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: rgba(212,175,55,.09);
  filter: blur(92px);
  pointer-events: none;
  z-index: -1;
}
.lg-photo-context-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, .95fr);
  gap: clamp(36px, 6vw, 72px);
  align-items: center;
}
.lg-photo-context-copy {
  position: relative;
  max-width: 660px;
  padding-left: 18px;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.lg-photo-context-copy::before {
  content: "";
  position: absolute;
  left: 0;
  top: 54px;
  width: 4px;
  height: calc(100% - 64px);
  max-height: 220px;
  border-radius: 999px;
  background: linear-gradient(180deg, #1fb383, #d4af37);
  opacity: .95;
}
.lg-photo-context-links {
  margin-top: -4px;
}
.lg-photo-context-links a {
  color: #f5e2a2;
  font-weight: 850;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.lg-photo-context-links a:hover,
.lg-photo-context-links a:focus-visible {
  color: #ffffff;
}
.lg-photo-context-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(212,175,55,.25);
  background: rgba(212,175,55,.08);
  color: #f5e2a2;
  font-weight: 900;
  font-size: .74rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.lg-photo-context-kicker::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #1fb383;
  box-shadow: 0 0 14px rgba(31,179,131,.70);
}
.lg-photo-context-copy h2 {
  margin: 0 0 18px;
  color: #ffffff;
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  font-size: clamp(34px, 4.1vw, 54px);
  font-weight: 950;
  line-height: .98;
  letter-spacing: -.055em;
  text-wrap: balance;
}
.lg-photo-context-copy p {
  max-width: 620px;
  margin: 0 0 22px;
  color: rgba(255,255,255,.74);
  font-size: 1.04rem;
  line-height: 1.72;
}
.lg-photo-context-copy p strong {
  color: #ffffff;
  font-weight: 850;
}
.lg-photo-context .lg-btn,
.lg-photo-context .lg-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, #d4af37 0%, #f5e2a2 52%, #d4af37 100%);
  color: #03100c;
  text-decoration: none;
  font-size: 15px;
  font-weight: 950;
  box-shadow: 0 18px 44px rgba(212,175,55,.24);
  transition: transform .22s ease, box-shadow .22s ease;
}
.lg-photo-context .lg-btn:hover,
.lg-photo-context .lg-btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 24px 54px rgba(212,175,55,.34);
  outline: none;
}
.lg-photo-context-media {
  position: relative;
  margin: 0;
  padding: 12px;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 30px 82px rgba(0,0,0,.42), 0 0 0 1px rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  background: linear-gradient(145deg, rgba(255,255,255,.065), rgba(255,255,255,.025));
}
.lg-photo-context-media::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(212,175,55,.30), transparent 34%, rgba(31,179,131,.22));
  opacity: .45;
  pointer-events: none;
  z-index: -1;
}
.lg-photo-context-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 20px 20px 12px 12px;
}
.lg-photo-context-caption {
  margin: 10px 4px 2px;
  padding: 0;
  color: rgba(255,255,255,.70);
  font-size: .88rem;
  line-height: 1.45;
  background: transparent;
  border-top: 0;
}
@media (max-width: 980px) {
  .lg-photo-context { padding: 64px 0; }
  .lg-photo-context-grid { grid-template-columns: 1fr; }
  .lg-photo-context-copy { max-width: 820px; }
  .lg-photo-context-copy h2 { font-size: clamp(32px, 8vw, 48px); }
  .lg-photo-context-media { border-radius: 24px; }
}
@media (max-width: 640px) {
  .lg-photo-context { padding: 54px 0; }
  .lg-photo-context-copy { padding-left: 14px; }
  .lg-photo-context-copy::before { top: 52px; height: 190px; }
  .lg-photo-context-kicker { font-size: .66rem; letter-spacing: .09em; }
  .lg-photo-context-copy p { font-size: 1rem; }
  .lg-photo-context .lg-btn,
  .lg-photo-context .lg-btn-primary { width: 100%; text-align: center; }
  .lg-photo-context-media { padding: 9px; border-radius: 22px; }
  .lg-photo-context-media img { border-radius: 16px 16px 10px 10px; }
}


/* Ajuste hero 2026-05-13 v3: banner mas estrecho sin mover la franja de datos */
@media (min-width: 981px) {
  html body .lg-hero {
    min-height: 520px !important;
    padding-top: 44px !important;
    padding-bottom: 34px !important;
    align-items: center !important;
  }

  html body .lg-hero-copy-only {
    transform: translateY(-6px);
  }

  html body .lg-hero-choice-inline {
    margin-top: 18px !important;
  }

  html body .lg-hero .lg-title {
    margin-bottom: 12px !important;
  }

  html body .lg-hero .lg-desc {
    margin-top: 10px !important;
  }

  html body .lg-hero-footnote {
    display: none !important;
  }

  html body .lg-hero .lg-pills-compact {
    display: none !important;
  }

  html body section.lg-trust-strip.lg-benefits-golden-orbit {
    margin-top: 0 !important;
    padding-top: 26px !important;
    position: relative !important;
    z-index: 2 !important;
    background: linear-gradient(180deg, #030a08 0%, #07110e 100%) !important;
  }
}

@media (max-width: 980px) {
  html body .lg-hero {
    min-height: auto !important;
  }
}


/* ===== Hero + trust strip integration premium 2026-05-13 ===== */
@media (min-width: 981px) {
  html body .lg-hero {
    min-height: 500px !important;
    padding-top: 38px !important;
    padding-bottom: 78px !important;
    border-bottom: 0 !important;
  }

  html body section.lg-trust-strip.lg-benefits-golden-orbit {
    margin-top: -42px !important;
    padding: 0 0 8px !important;
    background: transparent !important;
    border: 0 !important;
    position: relative !important;
    z-index: 6 !important;
  }

  html body section.lg-trust-strip.lg-benefits-golden-orbit::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: min(1180px, calc(100% - 36px));
    height: calc(100% - 8px);
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(8,22,18,.92) 0%, rgba(7,18,15,.96) 100%);
    border: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 24px 60px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.05);
    pointer-events: none;
  }

  html body .lg-benefits-golden-orbit .lg-trust-strip-inner {
    width: min(1180px, calc(100% - 36px)) !important;
    position: relative !important;
    z-index: 1 !important;
    gap: 14px !important;
    padding: 14px !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  }

  html body .lg-benefits-golden-orbit .lg-trust-item {
    min-height: 118px !important;
    padding: 18px 18px 18px 18px !important;
    border-radius: 20px !important;
    border: 1px solid rgba(255,255,255,.07) !important;
    border-left: 1px solid rgba(255,255,255,.07) !important;
    background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.024)) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.035) !important;
    transition: transform .2s ease, border-color .2s ease, background .2s ease !important;
  }
  html body .lg-benefits-golden-orbit .lg-trust-item:last-child {
    border-right: 1px solid rgba(255,255,255,.07) !important;
  }

  html body .lg-benefits-golden-orbit .lg-trust-item::before {
    width: 30px !important;
    height: 4px !important;
    margin-bottom: 14px !important;
    background: linear-gradient(90deg, #d4af37 0%, #f5e2a2 62%, #1fb383 100%) !important;
    box-shadow: 0 0 18px rgba(212,175,55,.18) !important;
  }

  html body .lg-benefits-golden-orbit .lg-trust-item strong {
    color: #ffffff !important;
    font-size: 17px !important;
    font-weight: 900 !important;
    margin-bottom: 8px !important;
    letter-spacing: -.03em !important;
  }

  html body .lg-benefits-golden-orbit .lg-trust-item span {
    color: rgba(255,255,255,.72) !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
  }

  html body .lg-benefits-golden-orbit .lg-trust-item:hover {
    transform: translateY(-2px) !important;
    border-color: rgba(245,226,162,.18) !important;
    background: linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.03)) !important;
  }

  html body .lg-method-sticky-section {
    padding-top: 44px !important;
  }
}

@media (max-width: 980px) {
  html body section.lg-trust-strip.lg-benefits-golden-orbit {
    padding-top: 16px !important;
    background: transparent !important;
    border: 0 !important;
  }

  html body .lg-benefits-golden-orbit .lg-trust-strip-inner {
    gap: 10px !important;
    padding: 0 14px 8px !important;
    width: 100% !important;
  }

  html body .lg-benefits-golden-orbit .lg-trust-item {
    border-radius: 18px !important;
    border: 1px solid rgba(255,255,255,.08) !important;
    background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.024)) !important;
  }
}


/* ===== Trust strip centered between hero and method section 2026-05-13 ===== */
@media (min-width: 981px) {
  html body .lg-hero {
    padding-bottom: 72px !important;
  }

  html body section.lg-trust-strip.lg-benefits-golden-orbit {
    margin-top: -18px !important;
    margin-bottom: -74px !important;
    padding: 0 0 12px !important;
    position: relative !important;
    z-index: 12 !important;
    background: transparent !important;
    border: 0 !important;
    overflow: visible !important;
  }

  html body section.lg-trust-strip.lg-benefits-golden-orbit::before {
    top: 0 !important;
    height: calc(100% - 12px) !important;
    border-radius: 30px !important;
    box-shadow: 0 32px 70px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.05) !important;
  }

  html body .lg-benefits-golden-orbit .lg-trust-strip-inner {
    padding: 14px !important;
  }

  html body .lg-method-sticky-section {
    padding-top: 126px !important;
  }
}
