/* =========================================================================
   SUNQU — Layout
   Contenedor de página, encabezado de página, migas de pan y títulos
   de sección compartidos por todas las plantillas internas.
   ========================================================================= */
.sq-wrap {
  box-sizing: border-box;
  width: 100%;
  max-width: var(--sq-wrap-w);
  margin-inline: auto;
  padding-inline: 15px;
}
.sq-wrap--narrow {
  max-width: 860px;
}
/* Contenedor ancho: header, footer y cualquier franja de borde a borde */
.sq-container {
  box-sizing: border-box;
  width: 100%;
  max-width: var(--sq-container-w);
  margin-inline: auto;
  /* 15px, igual que el .container de la plantilla */
  padding-inline: 15px;
}
/* Encabezado de página */
.sq-pagehead {
  background: var(--sq-cream);
  padding: 46px 0 40px;
  margin-bottom: 44px;
  border-bottom: 1px solid var(--sq-line);
}
.sq-pagehead__inner {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sq-pagehead h1 {
  font-family: var(--sq-font-title);
  color: var(--sq-gold);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.1;
  margin: 0;
}
.sq-pagehead p {
  margin: 4px 0 0;
  color: var(--sq-muted);
  max-width: 62ch;
}
/* Barra de migas suelta (fichas de producto) */
.sq-crumbbar {
  padding: 22px 0;
  border-bottom: 1px solid var(--sq-line);
  margin-bottom: 44px;
}
.sq-crumbs {
  font-size: 13px;
  color: var(--sq-muted);
  letter-spacing: 0.02em;
}
.sq-crumbs a {
  color: var(--sq-muted);
  text-decoration: none;
}
.sq-crumbs a:hover {
  color: var(--sq-gold-text);
}
.sq-crumbs span + span::before {
  content: "/";
  margin: 0 8px;
  opacity: 0.5;
}
/* Títulos de sección */
.sq-h2 {
  font-family: var(--sq-font-title);
  color: var(--sq-gold);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.15;
  margin: 0 0 22px;
}
.sq-h3 {
  font-family: var(--sq-font-title);
  color: var(--sq-navy);
  font-size: 21px;
  margin: 0 0 12px;
}
.sq-lead {
  font-size: 18px;
  line-height: 1.7;
  color: var(--sq-muted);
}
.sq-section {
  padding-bottom: 64px;
}
@media (max-width: 768px) {
  .sq-pagehead {
    padding: 32px 0 28px;
    margin-bottom: 32px;
  }
}
