/* ==========================================================================
   SIGNO! — Sistema visual público  [FRT-002]
   Fuente: Figma «SIGNO! — Prueba de estilo (Index + Nota)» · Guía de estilo.
   Solo se carga en layouts.public. El panel administrativo usa el UI Kit.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
    /* Marca */
    --sg-violeta: #5d00ff;
    --sg-rosa: #ff2e9a;
    --sg-lima: #cfff02;
    --sg-papel: #f5f4fa;
    --sg-tinta: #343534;

    /* Tintes y neutros */
    --sg-tinte-violeta: #e6daff;
    --sg-tinte-rosa: #ffd3e8;
    --sg-tinte-lima: #f0ffa6;
    --sg-blanco: #ffffff;
    --sg-linea: #dcdae6;
    --sg-gris: #6a6874;
    --sg-anillo: rgba(52, 53, 52, .12);
    --sg-vidrio: rgba(255, 255, 255, .78);
    --sg-vidrio-oscuro: rgba(255, 255, 255, .09);
    --sg-anillo-claro: rgba(255, 255, 255, .22);

    /* Roles */
    --sg-texto: var(--sg-tinta);
    --sg-texto-2: var(--sg-gris);
    --sg-texto-inv: var(--sg-papel);
    --sg-superficie: var(--sg-papel);
    --sg-elevada: var(--sg-blanco);
    --sg-inversa: var(--sg-tinta);

    /* Espaciado */
    --sg-sp-2: 2px;  --sg-sp-4: 4px;  --sg-sp-8: 8px;  --sg-sp-12: 12px;
    --sg-sp-16: 16px; --sg-sp-20: 20px; --sg-sp-24: 24px; --sg-sp-32: 32px;
    --sg-sp-40: 40px; --sg-sp-48: 48px; --sg-sp-64: 64px; --sg-sp-80: 80px;
    --sg-sp-96: 96px;

    /* Forma */
    --sg-r-lg: 8px;
    --sg-r-xl: 16px;
    --sg-r-2xl: 20px;
    --sg-r-pill: 999px;
    --sg-sombra-suave: 0 14px 36px -10px rgba(52, 53, 52, .10);
    --sg-sombra-flotante: 0 10px 30px -6px rgba(52, 53, 52, .22);

    /* Tipografía */
    --sg-sans: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
    --sg-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
    --sg-wordmark: "Alfa Slab One", var(--sg-serif);

    /* Movimiento */
    --sg-ease: cubic-bezier(.32, .72, 0, 1);
    --sg-t-ui: 300ms;
    --sg-t-reveal: 500ms;
    --sg-t-section: 700ms;

    /* Retícula (móvil por defecto) */
    --sg-margen: 16px;     /* margen del contenido */
    --sg-borde: 12px;      /* margen de bloques de color y header */
    --sg-gutter: 16px;
    --sg-seccion: 64px;    /* aire entre secciones */
}

@media (min-width: 768px) {
    :root { --sg-margen: 32px; --sg-borde: 16px; --sg-gutter: 20px; --sg-seccion: 80px; }
}

@media (min-width: 1280px) {
    :root { --sg-margen: 64px; --sg-borde: 24px; --sg-gutter: 24px; --sg-seccion: 128px; }
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body.sg-body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--sg-superficie);
    color: var(--sg-texto);
    font-family: var(--sg-sans);
    font-size: 16px;
    line-height: 24px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.sg-body h1, .sg-body h2, .sg-body h3, .sg-body h4, .sg-body h5, .sg-body h6, .sg-body p,
.sg-body figure, .sg-body blockquote, .sg-body ul, .sg-body ol { margin: 0; }
.sg-body ul.sg-list-reset, .sg-body ol.sg-list-reset { padding: 0; list-style: none; }
.sg-body img { display: block; max-width: 100%; }
:where(.sg-body) a { color: inherit; text-decoration: none; }
:where(.sg-body) button { font: inherit; color: inherit; cursor: pointer; }
.sg-body :focus-visible { outline: 2px solid var(--sg-violeta); outline-offset: 3px; border-radius: 4px; }

.sg-main { flex: 1 0 auto; }

.sg-visually-hidden {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.sg-skip {
    position: absolute; left: 16px; top: -60px; z-index: 100;
    background: var(--sg-tinta); color: var(--sg-papel); padding: 10px 16px; border-radius: var(--sg-r-pill);
}
.sg-skip:focus { top: 16px; }

/* --------------------------------------------------------------------------
   3. Retícula
   -------------------------------------------------------------------------- */
.sg-wrap      { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: var(--sg-borde); }
.sg-container { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: var(--sg-margen); }
.sg-section   { padding-top: var(--sg-seccion); }
.sg-section--sm { padding-top: calc(var(--sg-seccion) * .75); }

.sg-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--sg-gutter);
}
@media (min-width: 768px)  { .sg-grid { grid-template-columns: repeat(8, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .sg-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); } }

/* --------------------------------------------------------------------------
   4. Tipografía (estilos de texto del Figma)
   -------------------------------------------------------------------------- */
.sg-display  { font-family: var(--sg-serif); font-weight: 700; font-size: 44px; line-height: 46px; letter-spacing: -.04em; }
.sg-h1       { font-family: var(--sg-serif); font-weight: 700; font-size: 32px; line-height: 38px; letter-spacing: -.02em; }
.sg-h2       { font-family: var(--sg-serif); font-weight: 700; font-size: 28px; line-height: 34px; letter-spacing: -.015em; }
.sg-h3       { font-family: var(--sg-serif); font-weight: 700; font-size: 22px; line-height: 27px; letter-spacing: -.005em; }
.sg-h4       { font-family: var(--sg-serif); font-weight: 700; font-size: 22px; line-height: 28px; letter-spacing: -.005em; }
.sg-h5       { font-family: var(--sg-serif); font-weight: 600; font-size: 18px; line-height: 24px; letter-spacing: -.002em; }
.sg-h6       { font-family: var(--sg-serif); font-weight: 600; font-size: 16px; line-height: 22px; }
.sg-bajada-l { font-family: var(--sg-serif); font-weight: 400; font-size: 18px; line-height: 28px; }
.sg-bajada   { font-family: var(--sg-serif); font-weight: 400; font-size: 18px; line-height: 26px; }
.sg-cuerpo-l { font-size: 18px; line-height: 28px; }
.sg-cuerpo   { font-size: 16px; line-height: 24px; }
.sg-cuerpo-s { font-size: 14px; line-height: 20px; }
.sg-meta     { font-size: 13px; line-height: 18px; font-weight: 500; }
.sg-caption  { font-size: 12px; line-height: 16px; letter-spacing: .02em; }
.sg-kicker-text { font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }

@media (min-width: 768px) {
    .sg-display  { font-size: 56px; line-height: 58px; letter-spacing: -.035em; }
    .sg-h1       { font-size: 44px; line-height: 48px; }
    .sg-h2       { font-size: 34px; line-height: 40px; }
    .sg-h3       { font-size: 26px; line-height: 32px; }
    .sg-bajada-l { font-size: 21px; line-height: 31px; }
}

@media (min-width: 1280px) {
    .sg-display  { font-size: 72px; line-height: 72px; letter-spacing: -.025em; }
    .sg-h1       { font-size: 56px; line-height: 60px; }
    .sg-h2       { font-size: 40px; line-height: 46px; }
    .sg-h3       { font-size: 28px; line-height: 34px; }
    .sg-bajada-l { font-size: 24px; line-height: 34px; letter-spacing: -.003em; }
}

.sg-text-2   { color: var(--sg-texto-2); }
.sg-text-inv { color: var(--sg-texto-inv); }
.sg-clamp-2, .sg-clamp-3 { display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
.sg-clamp-2 { -webkit-line-clamp: 2; }
.sg-clamp-3 { -webkit-line-clamp: 3; }

/* --------------------------------------------------------------------------
   5. Color por sección  (data-color = violet | pink | lime | ink)
   -------------------------------------------------------------------------- */
[data-color] { --sg-c: var(--sg-tinta); --sg-on: var(--sg-papel); --sg-circ: var(--sg-rosa); --sg-circ-on: var(--sg-tinta); }
[data-color="violet"] { --sg-c: var(--sg-violeta); --sg-on: var(--sg-papel); --sg-circ: var(--sg-lima);  --sg-circ-on: var(--sg-tinta); }
[data-color="pink"]   { --sg-c: var(--sg-rosa);    --sg-on: var(--sg-tinta); --sg-circ: var(--sg-tinta); --sg-circ-on: var(--sg-papel); }
[data-color="lime"]   { --sg-c: var(--sg-lima);    --sg-on: var(--sg-tinta); --sg-circ: var(--sg-tinta); --sg-circ-on: var(--sg-papel); }

.sg-dot {
    display: inline-block; flex: none;
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--sg-c, var(--sg-tinta));
}

/* --------------------------------------------------------------------------
   6. Iconos
   -------------------------------------------------------------------------- */
.sg-icon { display: block; flex: none; width: 16px; height: 16px; }
.sg-icon--18 { width: 18px; height: 18px; }
.sg-icon--20 { width: 20px; height: 20px; }
.sg-icon--22 { width: 22px; height: 22px; }

/* --------------------------------------------------------------------------
   7. Kicker, etiquetas y chips
   -------------------------------------------------------------------------- */
.sg-kicker {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 5px 12px 5px 10px;
    background: var(--sg-elevada); color: var(--sg-tinta);
    border: 1px solid var(--sg-anillo); border-radius: var(--sg-r-pill);
    font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
    white-space: nowrap;
}

/* Etiqueta sólida (TRAZABILIDAD, AHORA, ← ANTERIOR…) */
.sg-label {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 14px;
    border-radius: var(--sg-r-pill);
    background: var(--sg-lima); color: var(--sg-tinta);
    font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
    white-space: nowrap;
}
.sg-label--white { background: var(--sg-blanco); }
.sg-label--ink   { background: var(--sg-tinta); color: var(--sg-papel); }

.sg-chip {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 6px 14px;
    border: 1.5px solid var(--sg-tinta); border-radius: var(--sg-r-pill);
    font-size: 13px; line-height: 18px; font-weight: 500; white-space: nowrap;
    color: var(--sg-tinta);
    transition: background-color var(--sg-t-ui) var(--sg-ease), color var(--sg-t-ui) var(--sg-ease);
}
a.sg-chip:hover { background: var(--sg-tinta); color: var(--sg-papel); }
.sg-chip--lime   { background: var(--sg-lima); }
.sg-chip--ink    { background: var(--sg-tinta); color: var(--sg-papel); border-color: var(--sg-tinta); }
.sg-chip--glass  { background: var(--sg-vidrio-oscuro); border: 1px solid var(--sg-anillo-claro); color: var(--sg-papel); }

.sg-tags { display: flex; flex-wrap: wrap; gap: 8px; }

/* --------------------------------------------------------------------------
   8. Botones
   -------------------------------------------------------------------------- */
.sg-btn {
    display: inline-flex; align-items: center; gap: 16px;
    padding: 8px 8px 8px 24px;
    border: 1.5px solid transparent; border-radius: var(--sg-r-pill);
    background: var(--sg-lima); color: var(--sg-tinta);
    font-size: 15px; line-height: 20px; font-weight: 600; letter-spacing: .013em; white-space: nowrap;
    transition: transform var(--sg-t-ui) var(--sg-ease), background-color var(--sg-t-ui) var(--sg-ease);
}
.sg-btn__circle {
    display: inline-flex; align-items: center; justify-content: center; flex: none;
    width: 32px; height: 32px; border-radius: 50%;
    background: var(--sg-tinta); color: var(--sg-papel);
    transition: transform var(--sg-t-ui) var(--sg-ease);
}
.sg-btn:hover .sg-btn__circle, a:hover > .sg-circle, .sg-card-link:hover .sg-circle { transform: translate(4px, -4px); }
.sg-btn:active { transform: scale(.98); }

.sg-btn--ink { background: var(--sg-tinta); color: var(--sg-papel); }
.sg-btn--ink .sg-btn__circle { background: var(--sg-lima); color: var(--sg-tinta); }
.sg-btn--outline { background: transparent; border-color: var(--sg-tinta); }
.sg-btn--block { width: 100%; justify-content: space-between; }

/* Círculo con flecha (tarjetas) */
.sg-circle {
    display: inline-flex; align-items: center; justify-content: center; flex: none;
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--sg-lima); color: var(--sg-tinta);
    transition: transform var(--sg-t-ui) var(--sg-ease);
}
.sg-circle--48 { width: 48px; height: 48px; }
.sg-circle--ink { background: var(--sg-tinta); color: var(--sg-papel); }

/* Botón redondo de icono (buscar, compartir, menú) */
.sg-icon-btn {
    display: inline-flex; align-items: center; justify-content: center; flex: none;
    width: 44px; height: 44px; padding: 0; border-radius: 50%;
    border: 1.5px solid var(--sg-anillo); background: transparent; color: var(--sg-tinta);
    transition: background-color var(--sg-t-ui) var(--sg-ease), transform var(--sg-t-ui) var(--sg-ease);
}
.sg-icon-btn:hover { background: var(--sg-papel); }
.sg-icon-btn:active { transform: scale(.96); }
.sg-icon-btn--ink { background: var(--sg-tinta); border-color: var(--sg-tinta); color: var(--sg-papel); }
.sg-icon-btn--ink:hover { background: #222322; }
@media (min-width: 1280px) { .sg-icon-btn--lg { width: 52px; height: 52px; } }

/* Aviso «Enlace copiado» */
.sg-toast {
    position: fixed; left: 50%; bottom: 24px; z-index: 60;
    transform: translate(-50%, 16px); opacity: 0; pointer-events: none;
    padding: 12px 20px; border-radius: var(--sg-r-pill);
    background: var(--sg-tinta); color: var(--sg-papel); box-shadow: var(--sg-sombra-flotante);
    font-size: 14px; line-height: 20px; font-weight: 600;
    transition: opacity var(--sg-t-ui) var(--sg-ease), transform var(--sg-t-ui) var(--sg-ease);
}
.sg-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* --------------------------------------------------------------------------
   9. Header
   -------------------------------------------------------------------------- */
.sg-header { position: sticky; top: 0; z-index: 40; padding: 12px 0 8px; background: var(--sg-papel); }

.sg-island {
    display: flex; align-items: center; justify-content: space-between; gap: 24px;
    height: 60px; padding: 0 8px 0 20px;
    background: var(--sg-vidrio);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border: 1px solid var(--sg-anillo); border-radius: var(--sg-r-pill);
    box-shadow: 0 12px 28px -8px rgba(52, 53, 52, .10);
}

.sg-wordmark {
    font-family: var(--sg-wordmark); font-weight: 400;
    font-size: 36px; line-height: 1.05; letter-spacing: -.01em;
    color: var(--sg-tinta); white-space: nowrap;
}
.sg-wordmark span { color: var(--sg-rosa); }

.sg-nav { display: none; align-items: center; gap: 4px; }
.sg-nav__item {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 11px 18px; border-radius: var(--sg-r-pill);
    font-size: 14px; line-height: 20px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
    white-space: nowrap;
    transition: background-color var(--sg-t-ui) var(--sg-ease), color var(--sg-t-ui) var(--sg-ease);
}
.sg-nav__item:hover { background: rgba(52, 53, 52, .06); }
.sg-nav__item[aria-current="page"] { background: var(--sg-tinta); color: var(--sg-papel); }
.sg-nav__item[aria-current="page"] .sg-dot { background: var(--sg-lima); }

.sg-header__actions { display: flex; align-items: center; gap: 16px; }
.sg-header__date { display: none; font-size: 13px; line-height: 18px; font-weight: 500; color: var(--sg-gris); white-space: nowrap; }
.sg-menu-btn { display: inline-flex; }

/* Fila de chips (móvil y tablet) */
.sg-chips-row {
    display: flex; gap: 8px; margin-top: 12px; padding: 0 4px 4px;
    overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.sg-chips-row::-webkit-scrollbar { display: none; }
.sg-chips-row .sg-chip { background: var(--sg-superficie); }
.sg-chips-row .sg-chip[aria-current="page"] { background: var(--sg-tinta); color: var(--sg-papel); }

/* Menú desplegable móvil */
.sg-menu {
    display: none; margin-top: 8px; padding: 12px;
    background: var(--sg-blanco); border: 1px solid var(--sg-anillo); border-radius: var(--sg-r-xl);
    box-shadow: var(--sg-sombra-flotante);
}
.sg-menu.is-open { display: block; }
.sg-menu a {
    display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: var(--sg-r-lg);
    font-weight: 700; font-size: 14px; letter-spacing: .06em; text-transform: uppercase;
}
.sg-menu a:hover, .sg-menu a[aria-current="page"] { background: var(--sg-papel); }

@media (min-width: 1280px) {
    .sg-header { padding: 20px 0 0; background: transparent; }
    .sg-island { height: 72px; padding: 0 12px 0 28px; box-shadow: var(--sg-sombra-suave); }
    .sg-wordmark { font-size: 44px; }
    .sg-nav { display: flex; }
    .sg-header__date { display: block; }
    .sg-menu-btn, .sg-chips-row, .sg-menu { display: none !important; }
}

/* --------------------------------------------------------------------------
   10. Encabezado de sección
   -------------------------------------------------------------------------- */
.sg-section-head {
    display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px;
    margin-bottom: 24px;
}
.sg-section-head__title { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding-inline: 8px; }
.sg-section-head__desc { max-width: 420px; }
.sg-section-head .sg-btn { display: none; }

@media (min-width: 768px) {
    .sg-section-head { margin-bottom: 40px; }
    .sg-section-head__title { gap: 16px; padding-inline: 0; }
    .sg-section-head .sg-btn { display: inline-flex; }
}
@media (min-width: 1280px) { .sg-section-head { margin-bottom: 48px; } }

/* --------------------------------------------------------------------------
   11. Tarjetas
   -------------------------------------------------------------------------- */
.sg-card-link { display: block; height: 100%; color: inherit; }

/* Imagen con degradado (Hero y tarjeta con imagen) */
.sg-card-photo {
    position: relative; display: flex; flex-direction: column; justify-content: flex-end;
    overflow: hidden; border-radius: var(--sg-r-2xl);
    background: var(--sg-tinta); color: var(--sg-papel);
    isolation: isolate;
}
.sg-card-photo__img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
    transition: transform var(--sg-t-section) var(--sg-ease);
}
.sg-card-photo::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(180deg, rgba(52, 53, 52, 0) 30%, rgba(52, 53, 52, .95) 100%);
}
.sg-card-photo:hover .sg-card-photo__img { transform: scale(1.02); }
.sg-card-photo__body { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 24px; }
.sg-card-photo__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; }

.sg-card-photo--hero { min-height: 520px; }
.sg-card-photo--hero .sg-card-photo__body { gap: 14px; }
.sg-card-photo--hero .sg-btn { display: none; }
.sg-card-photo--image { min-height: 280px; }

@media (min-width: 768px) {
    .sg-card-photo--hero .sg-card-photo__body { padding: 40px; gap: 18px; }
    .sg-card-photo--hero .sg-btn { display: inline-flex; }
    .sg-card-photo--image .sg-card-photo__body { padding: 28px; }
}
@media (min-width: 1280px) {
    .sg-card-photo--hero { min-height: 688px; }
    .sg-card-photo--hero .sg-card-photo__body { padding: 44px 48px; }
    .sg-card-photo--hero .sg-card-photo__title { max-width: 760px; }
}

/* Bloque Lima de portada */
.sg-card-lime {
    display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; gap: 16px;
    height: 100%; padding: 24px; border-radius: var(--sg-r-2xl);
    background: var(--sg-lima); color: var(--sg-tinta);
}
@media (min-width: 768px) { .sg-card-lime { padding: 32px; } }

/* Tarjeta vertical */
.sg-card-v {
    display: flex; flex-direction: column; height: 100%; padding: 8px;
    background: var(--sg-blanco); border: 1px solid var(--sg-anillo); border-radius: var(--sg-r-xl);
    box-shadow: var(--sg-sombra-suave);
    transition: transform var(--sg-t-ui) var(--sg-ease), box-shadow var(--sg-t-ui) var(--sg-ease);
}
.sg-card-link:hover .sg-card-v, .sg-card-link:hover .sg-card-h, .sg-card-link:hover .sg-card-feature { transform: translateY(-2px); box-shadow: var(--sg-sombra-flotante); }
.sg-card-v__img { width: 100%; height: 220px; object-fit: cover; border-radius: var(--sg-r-lg); background: var(--sg-linea); }
.sg-card-v__body { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 16px 12px 12px; }

/* Tarjeta horizontal */
.sg-card-h {
    display: flex; align-items: center; gap: 12px; padding: 8px;
    background: var(--sg-blanco); border: 1px solid var(--sg-anillo); border-radius: var(--sg-r-xl);
    transition: transform var(--sg-t-ui) var(--sg-ease), box-shadow var(--sg-t-ui) var(--sg-ease);
}
.sg-card-h__body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 8px 0 8px 12px; }
.sg-card-h__img { flex: none; width: 112px; height: 112px; object-fit: cover; border-radius: var(--sg-r-lg); background: var(--sg-linea); }
.sg-stack { display: flex; flex-direction: column; gap: 12px; }

/* Tarjeta destacada */
.sg-card-feature {
    display: flex; flex-direction: column; padding: 8px;
    background: var(--sg-blanco); border: 1px solid var(--sg-anillo); border-radius: var(--sg-r-xl);
    box-shadow: var(--sg-sombra-suave);
    transition: transform var(--sg-t-ui) var(--sg-ease), box-shadow var(--sg-t-ui) var(--sg-ease);
}
.sg-card-feature__img { width: 100%; height: 220px; object-fit: cover; border-radius: var(--sg-r-lg); background: var(--sg-linea); }
.sg-card-feature__body { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 20px 12px 12px; }
@media (min-width: 768px) {
    .sg-card-feature__img { height: 400px; }
    .sg-card-feature__body { gap: 14px; padding: 24px 20px 20px; }
}

/* Imagen ausente */
.sg-noimg { background: linear-gradient(135deg, var(--sg-tinte-violeta), var(--sg-tinte-rosa)); }

/* Fila de nota (Línea de hoy) */
.sg-feed__head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 0; border-top: 2px solid var(--sg-tinta);
}
.sg-feed__head a:hover { text-decoration: underline; }
.sg-row {
    display: flex; align-items: flex-start; gap: 16px;
    padding: 22px 0; border-top: 1px solid var(--sg-linea);
}
.sg-row__time { flex: none; width: 44px; font-size: 13px; line-height: 18px; font-weight: 500; color: var(--sg-gris); }
.sg-row__body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.sg-row__img { flex: none; width: 96px; height: 88px; object-fit: cover; border-radius: var(--sg-r-lg); background: var(--sg-linea); }
.sg-row:hover .sg-h5 { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.sg-row__time--hide-sm { display: none; }
@media (min-width: 768px) {
    .sg-row { gap: 20px; }
    .sg-row__time { width: 52px; }
    .sg-row__time--hide-sm { display: block; }
    .sg-row__img { width: 112px; height: 96px; }
}

/* Tarjeta de sección */
.sg-section-card {
    display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
    min-height: 176px; height: 100%; padding: 20px;
    border-radius: var(--sg-r-2xl);
    background: var(--sg-c); color: var(--sg-on);
}
.sg-section-card__top { display: flex; align-items: center; justify-content: space-between; }
.sg-section-card .sg-circle { background: var(--sg-circ); color: var(--sg-circ-on); }
.sg-section-card__desc { display: none; opacity: .85; }
@media (min-width: 768px) {
    .sg-section-card { min-height: 290px; padding: 28px; }
    .sg-section-card__desc { display: block; }
}
.sg-sections-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 768px)  { .sg-sections-grid { gap: var(--sg-gutter); } }
@media (min-width: 1280px) { .sg-sections-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }

/* --------------------------------------------------------------------------
   12. Portada
   -------------------------------------------------------------------------- */
.sg-bento { display: grid; gap: 12px; padding-top: 16px; }
.sg-bento__side { display: grid; gap: 12px; }
.sg-bento__side .sg-card-photo--image { display: none; }

@media (min-width: 768px) {
    .sg-bento { gap: 16px; }
    .sg-bento__side { grid-template-columns: 1fr 1fr; gap: 16px; }
    .sg-bento__side .sg-card-photo--image { display: flex; }
}
@media (min-width: 1280px) {
    .sg-bento { grid-template-columns: minmax(0, 1fr) 440px; }
    .sg-bento__side { grid-template-columns: 1fr; grid-template-rows: 304fr 368fr; }
}

/* Ticker */
.sg-ticker {
    display: none; align-items: center; gap: 32px;
    margin-top: 16px; padding: 8px 28px 8px 8px;
    background: var(--sg-tinta); color: var(--sg-papel); border-radius: var(--sg-r-pill);
    overflow: hidden;
}
.sg-ticker .sg-label { padding: 10px 20px; }
.sg-ticker__list { display: flex; gap: 32px; min-width: 0; overflow: hidden; }
.sg-ticker__item { display: flex; align-items: center; gap: 10px; min-width: 0; white-space: nowrap; }
.sg-ticker__item time { color: var(--sg-lima); font-size: 13px; line-height: 18px; font-weight: 500; }
.sg-ticker__item span { font-size: 14px; line-height: 20px; opacity: .9; overflow: hidden; text-overflow: ellipsis; }
.sg-ticker__item:hover span { text-decoration: underline; }
@media (min-width: 768px) { .sg-ticker { display: flex; } }
@media (max-width: 1279.98px) { .sg-ticker__item:nth-child(n+3) { display: none; } }

/* Lo más visto (móvil) */
.sg-mostread { padding-top: 32px; }
.sg-mostread__title { padding: 0 8px; margin-bottom: 12px; }
@media (min-width: 768px) { .sg-mostread { display: none; } }

/* Sigue la historia */
.sg-story {
    display: grid; gap: 20px;
    padding: 40px 24px 24px; border-radius: var(--sg-r-2xl);
    background: var(--sg-violeta); color: var(--sg-papel);
}
.sg-story__intro { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.sg-story__intro p { opacity: .9; }
.sg-story__intro .sg-btn { display: none; }
.sg-story__steps { display: grid; gap: 20px; }
.sg-story-step {
    display: flex; flex-direction: column; justify-content: space-between; gap: 16px;
    height: 100%; padding: 19px 21px;
    background: var(--sg-vidrio-oscuro); border: 1px solid var(--sg-anillo-claro); border-radius: var(--sg-r-xl);
    color: var(--sg-papel);
    transition: background-color var(--sg-t-ui) var(--sg-ease);
}
.sg-story-step:hover { background: rgba(255, 255, 255, .16); }
.sg-story-step__date { display: flex; align-items: center; gap: 8px; color: var(--sg-lima); }
.sg-story-step__date .sg-dot { width: 10px; height: 10px; background: var(--sg-lima); }
.sg-story-step__content { display: flex; flex-direction: column; gap: 10px; }
.sg-story-step .sg-circle { display: none; }
.sg-story-step--current { background: var(--sg-lima); border-color: var(--sg-lima); color: var(--sg-tinta); }
.sg-story-step--current:hover { background: var(--sg-lima); }
.sg-story-step--current .sg-story-step__date { color: var(--sg-tinta); }
.sg-story-step--current .sg-story-step__date .sg-dot { background: var(--sg-rosa); }

@media (min-width: 768px) {
    .sg-story { padding: 64px 40px; gap: 40px; }
    .sg-story__intro .sg-btn { display: inline-flex; }
    .sg-story__steps { grid-template-columns: repeat(var(--sg-steps, 4), minmax(0, 1fr)); gap: 16px; }
    .sg-story-step { min-height: 330px; padding: 24px 22px 22px; }
    .sg-story-step .sg-circle { display: inline-flex; }
}
@media (min-width: 1280px) {
    .sg-story { grid-template-columns: 400px minmax(0, 1fr); gap: 48px; padding: 88px 64px; }
    .sg-story__intro { gap: 24px; }
}

/* Lo que está pasando */
.sg-latest { display: grid; gap: 20px; }
@media (min-width: 1280px) { .sg-latest { grid-template-columns: 640px minmax(0, 1fr); gap: 48px; align-items: start; } }
.sg-latest__feed { padding: 0 8px; }
@media (min-width: 768px) { .sg-latest__feed { padding: 0; } }
.sg-latest__more { margin-top: 24px; }
@media (min-width: 768px) { .sg-latest__more { display: none; } }

/* Listado por sección */
.sg-listing { display: grid; gap: var(--sg-gutter); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 768px)  { .sg-listing { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .sg-listing { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.sg-pagination { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 48px; }
.sg-pagination .sg-chip[aria-disabled="true"] { opacity: .35; pointer-events: none; }

.sg-empty {
    display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center;
    padding: 96px 24px; border: 1.5px dashed var(--sg-linea); border-radius: var(--sg-r-2xl);
}

/* --------------------------------------------------------------------------
   13. Nota
   -------------------------------------------------------------------------- */
.sg-article-head { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding-top: 28px; }
.sg-article-head__title { max-width: 1180px; }
.sg-article-head__lead { max-width: 780px; }
.sg-article-head .sg-tags .sg-chip:nth-child(n+3) { display: none; }
@media (min-width: 768px) {
    .sg-article-head { gap: 32px; padding-top: 72px; }
    .sg-article-head .sg-tags .sg-chip:nth-child(n+3) { display: inline-flex; }
}

/* Firma */
.sg-byline {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    width: 100%; padding: 7px;
    background: var(--sg-blanco); border: 1px solid var(--sg-anillo); border-radius: var(--sg-r-pill);
}
.sg-byline__who { display: flex; align-items: center; gap: 10px; min-width: 0; }
.sg-byline__text { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.sg-byline__name { font-size: 16px; line-height: 24px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sg-byline__meta { font-size: 13px; line-height: 18px; font-weight: 500; color: var(--sg-gris); }
.sg-byline__meta .sg-hide-sm { display: none; }
.sg-byline__meta .sg-show-sm { display: inline; }
.sg-byline__actions { display: flex; gap: 6px; flex: none; }
.sg-byline__actions .sg-icon-btn { width: 40px; height: 40px; }
@media (min-width: 768px) {
    .sg-byline { padding: 8px; }
    .sg-byline__who { gap: 14px; }
    .sg-byline__meta .sg-hide-sm { display: inline; }
    .sg-byline__meta .sg-show-sm { display: none; }
    .sg-byline__actions { gap: 8px; }
    .sg-byline__actions .sg-icon-btn { width: 52px; height: 52px; }
}

.sg-avatars { display: flex; }
.sg-avatars .sg-avatar + .sg-avatar { margin-left: -12px; }
.sg-avatar {
    display: inline-flex; align-items: center; justify-content: center; flex: none;
    width: 40px; height: 40px; border-radius: 50%; overflow: hidden;
    background: var(--sg-violeta); color: var(--sg-papel); border: 2px solid var(--sg-blanco);
    font-size: 13px; font-weight: 700; letter-spacing: .06em;
}
.sg-avatar img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 768px) { .sg-avatar { width: 52px; height: 52px; font-size: 14px; } }

/* Imagen principal */
.sg-cover { position: relative; margin-top: 24px; border-radius: var(--sg-r-2xl); overflow: hidden; background: var(--sg-linea); }
.sg-cover img { width: 100%; height: 340px; object-fit: cover; }
.sg-cover figcaption {
    position: absolute; left: 12px; bottom: 12px; max-width: calc(100% - 24px);
    padding: 6px 12px; border-radius: var(--sg-r-pill);
    background: var(--sg-vidrio); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    font-size: 12px; line-height: 16px; color: var(--sg-tinta);
}
@media (min-width: 768px)  { .sg-cover { margin-top: 48px; } .sg-cover img { height: 480px; } .sg-cover figcaption { left: 20px; bottom: 20px; } }
@media (min-width: 1280px) { .sg-cover img { height: 640px; } }

/* Cuerpo + rail */
.sg-article { display: grid; gap: 40px; padding-top: 40px; }
.sg-article__rail { display: flex; flex-direction: column; gap: 16px; order: -1; }
.sg-article__rail .sg-trace { display: none; }
@media (min-width: 1280px) {
    .sg-article { grid-template-columns: 755px minmax(0, 1fr); column-gap: 135px; padding-top: 96px; align-items: start; }
    .sg-article__rail { grid-column: 2; grid-row: 1; position: sticky; top: 120px; }
    .sg-article__content { grid-column: 1; grid-row: 1; }
    .sg-article__rail .sg-trace { display: block; }
    .sg-article__rail .sg-stepper-card { display: none; }
}

/* Texto editorial */
.sg-prose { display: flex; flex-direction: column; gap: 22px; max-width: 755px; }
.sg-prose > * { max-width: 680px; }
.sg-prose p, .sg-prose li { font-size: 17px; line-height: 30px; }
.sg-prose h2, .sg-prose h3 { font-family: var(--sg-serif); font-weight: 700; letter-spacing: -.015em; margin-top: 8px; }
.sg-prose h2 { font-size: 26px; line-height: 32px; }
.sg-prose h3 { font-size: 22px; line-height: 28px; }
.sg-prose h4, .sg-prose h5, .sg-prose h6 { font-family: var(--sg-serif); font-weight: 600; font-size: 18px; line-height: 24px; }
.sg-prose a { text-decoration: underline; text-decoration-color: var(--sg-rosa); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.sg-prose a:hover { background: var(--sg-tinte-rosa); }
.sg-prose ul, .sg-prose ol { padding-left: 1.3em; display: flex; flex-direction: column; gap: 8px; }
.sg-prose li::marker { color: var(--sg-violeta); }
.sg-prose strong, .sg-prose b { font-weight: 700; }
.sg-prose img { border-radius: var(--sg-r-xl); height: auto; }
.sg-prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--sg-r-xl); }
.sg-prose pre, .sg-prose code { font-size: 15px; background: var(--sg-blanco); border-radius: var(--sg-r-lg); }
.sg-prose pre { padding: 16px; overflow-x: auto; }
.sg-prose blockquote {
    max-width: 755px; padding: 28px; border-radius: var(--sg-r-2xl);
    background: var(--sg-violeta); color: var(--sg-papel);
}
.sg-prose blockquote, .sg-prose blockquote p {
    font-family: var(--sg-serif); font-style: italic; font-weight: 600;
    font-size: 24px; line-height: 31px; letter-spacing: -.008em;
}
.sg-prose blockquote p + p { margin-top: 12px; }
.sg-prose blockquote a { text-decoration-color: var(--sg-lima); }
.sg-prose .ql-align-center { text-align: center; }
.sg-prose .ql-align-right { text-align: right; }

@media (min-width: 768px) {
    .sg-prose { gap: 28px; }
    .sg-prose p, .sg-prose li { font-size: 19px; line-height: 32px; }
    .sg-prose h2 { font-size: 40px; line-height: 46px; }
    .sg-prose h3 { font-size: 28px; line-height: 34px; }
    .sg-prose blockquote { padding: 48px; }
    .sg-prose blockquote, .sg-prose blockquote p { font-size: 32px; line-height: 40px; }
}

/* Para entender esta nota */
.sg-context { max-width: 755px; padding: 8px; background: var(--sg-blanco); border: 1px solid var(--sg-anillo); border-radius: var(--sg-r-xl); }
.sg-context__core { display: flex; flex-direction: column; gap: 12px; padding: 20px; border-radius: var(--sg-r-lg); background: var(--sg-tinte-lima); }
.sg-context__head { display: flex; align-items: center; gap: 8px; }
.sg-context__link {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 12px 16px; border-radius: var(--sg-r-xl); background: var(--sg-blanco);
    transition: transform var(--sg-t-ui) var(--sg-ease);
}
.sg-context__link:hover { transform: translateX(4px); }
@media (min-width: 768px) {
    .sg-context__core { gap: 16px; padding: 28px; }
    .sg-context__link { padding: 14px 18px; border-radius: var(--sg-r-pill); }
}

/* Módulo de trazabilidad (rail) */
.sg-module {
    padding: 8px; background: var(--sg-blanco); border: 1px solid var(--sg-anillo); border-radius: var(--sg-r-xl);
    box-shadow: var(--sg-sombra-suave);
}
.sg-module__core { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 20px; }
@media (min-width: 768px) { .sg-module__core { padding: 24px; } }
.sg-module__head { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.sg-module__head a { text-decoration: underline; }

.sg-timeline { width: 100%; padding-top: 8px; }
.sg-tl-item { display: flex; gap: 16px; }
.sg-tl-item__axis { display: flex; flex-direction: column; align-items: center; gap: 4px; flex: none; width: 18px; }
.sg-tl-item__node { width: 14px; height: 14px; border-radius: 50%; background: var(--sg-tinta); flex: none; }
.sg-tl-item__line { flex: 1 1 auto; width: 2px; min-height: 12px; background: var(--sg-tinta); }
.sg-tl-item__text { display: flex; flex-direction: column; gap: 4px; padding-bottom: 20px; min-width: 0; }
.sg-tl-item__text .sg-link { font-size: 13px; line-height: 18px; font-weight: 500; text-decoration: underline; }
.sg-tl-item:hover .sg-link { color: var(--sg-violeta); }
.sg-tl-item--current { padding: 12px; margin-bottom: 20px; border-radius: var(--sg-r-lg); background: var(--sg-tinte-rosa); }
.sg-tl-item--current .sg-tl-item__node {
    width: 18px; height: 18px; background: var(--sg-rosa); border: 3px solid var(--sg-tinta);
    animation: sg-pulse 2.4s var(--sg-ease) infinite;
}
.sg-tl-item--current .sg-tl-item__text { padding-bottom: 0; }
.sg-tl-item--next .sg-tl-item__node { background: transparent; border: 1.5px dashed var(--sg-tinta); }
.sg-tl-item--next .sg-tl-item__text { color: var(--sg-gris); }
.sg-tl-item:last-child .sg-tl-item__line { opacity: 0; }
.sg-tl-item--current:last-child { margin-bottom: 0; }

@keyframes sg-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 46, 154, .45); }
    50%      { box-shadow: 0 0 0 7px rgba(255, 46, 154, 0); }
}

/* Stepper (móvil / tablet) */
.sg-stepper { display: flex; width: 100%; }
.sg-stepper__step { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.sg-stepper__track { display: flex; align-items: center; height: 20px; }
.sg-stepper__node { width: 14px; height: 14px; flex: none; border-radius: 50%; background: var(--sg-tinta); }
.sg-stepper__line { flex: 1 1 auto; height: 2px; background: var(--sg-tinta); }
.sg-stepper__step:last-child .sg-stepper__line { display: none; }
.sg-stepper__step--current .sg-stepper__node { width: 20px; height: 20px; background: var(--sg-rosa); border: 3px solid var(--sg-tinta); }
.sg-stepper__step--current .sg-stepper__line { opacity: .3; }
.sg-stepper__step--next .sg-stepper__node { background: transparent; border: 1.5px dashed var(--sg-tinta); }
.sg-stepper__step--next .sg-caption { color: var(--sg-gris); }
.sg-stepper .sg-caption { text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sg-stepper-card .sg-module { box-shadow: none; }

.sg-prev-mini {
    display: flex; flex-direction: column; gap: 6px; width: 100%;
    padding: 16px 18px; border-radius: var(--sg-r-lg); background: var(--sg-tinte-violeta);
}

/* Anterior y siguiente */
.sg-prevnext { display: grid; gap: 12px; padding-top: var(--sg-seccion); }
@media (min-width: 768px) { .sg-prevnext { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } .sg-prevnext--single { grid-template-columns: 1fr; } }
.sg-pn {
    display: flex; flex-direction: column; align-items: flex-start; gap: 16px;
    height: 100%; padding: 28px; border-radius: var(--sg-r-2xl);
    transition: transform var(--sg-t-ui) var(--sg-ease);
}
a.sg-pn:hover { transform: translateY(-2px); }
.sg-pn--prev { background: var(--sg-tinte-violeta); color: var(--sg-tinta); }
.sg-pn--next { background: var(--sg-tinta); color: var(--sg-papel); border: 2px dashed var(--sg-lima); }
@media (min-width: 768px) { .sg-pn { padding: 40px; } }

/* Te puede interesar */
.sg-related { display: grid; gap: 12px; }
.sg-related .sg-card-v-wrap { display: none; }
@media (min-width: 768px) {
    .sg-related { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sg-gutter); }
    .sg-related .sg-card-h-wrap { display: none; }
    .sg-related .sg-card-v-wrap { display: block; }
}
@media (min-width: 1280px) { .sg-related { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 767.98px) { .sg-related > :nth-child(n+7) { display: none; } }

/* --------------------------------------------------------------------------
   14. Footer
   -------------------------------------------------------------------------- */
.sg-footer { padding-top: var(--sg-seccion); padding-bottom: var(--sg-borde); }
.sg-footer__block {
    display: flex; flex-direction: column; gap: 40px;
    padding: 40px 24px 28px; border-radius: var(--sg-r-2xl);
    background: var(--sg-tinta); color: var(--sg-papel);
    overflow: hidden;
}
.sg-footer__top { display: flex; flex-direction: column; gap: 32px; }
.sg-footer__claim { max-width: 420px; }
.sg-footer__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
.sg-footer__col { display: flex; flex-direction: column; gap: 12px; }
.sg-footer__col h2 { color: var(--sg-lima); }
.sg-footer__col a { font-size: 16px; line-height: 24px; }
.sg-footer__col a:hover { color: var(--sg-lima); }
.sg-footer__col--social { display: none; }
.sg-footer__wordmark {
    font-family: var(--sg-wordmark); font-weight: 400; color: var(--sg-lima);
    font-size: clamp(88px, 24vw, 380px); line-height: 1.05; letter-spacing: -.01em; white-space: nowrap;
}
.sg-footer__wordmark span { color: var(--sg-rosa); }
.sg-footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 13px; line-height: 18px; font-weight: 500; }
.sg-footer__legal > * { opacity: .7; }
.sg-footer__legal .sg-footer__links { display: none; }

@media (min-width: 768px) {
    .sg-footer__block { padding: 64px 40px 40px; gap: 56px; }
    .sg-footer__cols { grid-template-columns: repeat(3, auto); justify-content: start; gap: 48px; }
    .sg-footer__col--social { display: flex; }
    .sg-footer__legal .sg-footer__links { display: block; }
}
@media (min-width: 1280px) {
    .sg-footer__block { padding: 96px 64px 40px; gap: 72px; }
    .sg-footer__top { flex-direction: row; justify-content: space-between; }
    .sg-footer__cols { gap: 80px; }
}

/* --------------------------------------------------------------------------
   15. Movimiento
   -------------------------------------------------------------------------- */
.sg-js [data-reveal] {
    opacity: 0; transform: translateY(16px);
    transition: opacity var(--sg-t-reveal) var(--sg-ease), transform var(--sg-t-reveal) var(--sg-ease);
}
.sg-js [data-reveal="section"] { transition-duration: var(--sg-t-section); }
.sg-js [data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .sg-js [data-reveal] { transform: none; transition: opacity var(--sg-t-reveal) linear; }
    .sg-body *, .sg-body *::before, .sg-body *::after { animation: none !important; }
    .sg-btn:hover .sg-btn__circle, a:hover > .sg-circle, .sg-card-link:hover .sg-circle,
    .sg-card-photo:hover .sg-card-photo__img, .sg-card-link:hover .sg-card-v, .sg-card-link:hover .sg-card-h,
    .sg-card-link:hover .sg-card-feature, a.sg-pn:hover, .sg-context__link:hover, .sg-btn:active { transform: none; }
}

/* Chips como botón (paginación) */
button.sg-chip { background: transparent; }
button.sg-chip:not([disabled]):hover { background: var(--sg-tinta); color: var(--sg-papel); }

/* Los enlaces de los módulos dentro del texto no usan el subrayado editorial */
.sg-prose .sg-context a { text-decoration: none; }
.sg-prose .sg-context a:hover { background: var(--sg-blanco); }

/* Hero en móvil: titular a escala Móvil/H3 ampliada (Figma «Index · Móvil 390») */
@media (max-width: 767.98px) {
    .sg-card-photo--hero .sg-card-photo__title { font-size: 26px; line-height: 31px; }
}

/* Crédito del estudio en el pie */
.sg-footer__credit { text-decoration: underline; text-underline-offset: 3px; transition: color var(--sg-t-ui) var(--sg-ease); }
.sg-footer__credit:hover { color: var(--sg-lima); }
