/* Subpáginas · estilo tomado del diseño V2 de Fernando (Escritorio/WEBS/web gepac):
   cabecera oscura con fotografía, título grande en blanco y columna lateral destacada. */

.page-intro {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: clamp(320px, 46vh, 520px);
  display: flex;
  align-items: flex-end;
  padding: clamp(40px, 6vw, 84px) 0 clamp(40px, 5vw, 64px);
  border: 0;
  background: #06283a var(--intro-img) center 40% / cover no-repeat;
  color: white;
}
.page-intro::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, #06283a8c 0%, #06283ab3 45%, #06283af2 100%);
}
.page-intro .shell { width: min(1240px, calc(100% - 80px)); }
.page-intro .breadcrumbs { color: #d7e0e5; font-size: 13px; margin-bottom: 26px; }
.page-intro .breadcrumbs a:hover { color: var(--sun); }
.page-intro .eyebrow {
  display: inline-block;
  color: var(--navy);
  background: var(--sun);
  text-transform: none;
  letter-spacing: 0;
  font-size: 14px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 18px;
}
.page-intro h1,
.page-intro.compact h1 {
  font-family: var(--sans);
  color: white;
  font-size: clamp(40px, 5.2vw, 76px);
  line-height: 1.08;
  letter-spacing: -.05em;
  font-weight: 800;
  max-width: 16em;
  overflow-wrap: anywhere;
  hyphens: auto;
}
.page-intro .lead { color: #eef2f4; font-size: clamp(17px, 1.5vw, 21px); max-width: 38em; margin-top: 20px; }

/* Columna lateral: tarjeta oscura como «Accede a este servicio» */
.sidebar-card { background: var(--navy); color: white; border-radius: 10px; }
.sidebar-card h3 { font: 750 26px/1.15 var(--sans); letter-spacing: -.03em; color: white; }
.sidebar-card p { color: #d7e0e5; }
.sidebar-card a { color: var(--sun); }
.sidebar-card a.button { background: white; border-color: white; color: var(--navy); border-radius: 6px; }
.sidebar-card a.button:hover { background: var(--sun); border-color: var(--sun); color: var(--navy); }
.sidebar-card a:focus-visible { outline-color: var(--sun); }

@media (max-width: 640px) {
  .page-intro { min-height: 300px; padding: 36px 0 32px; }
  .page-intro .shell { width: calc(100% - 40px); }
  .page-intro h1, .page-intro.compact h1 { font-size: clamp(34px, 9.5vw, 44px); }
  .page-intro .breadcrumbs { font-size: 12px; margin-bottom: 18px; }
}
