/* Estilos de las paginas editoriales (companias, guias, comparativas).
   Reutilizan el lenguaje visual de la maqueta: fondo #f5f6f4, tinta #111413,
   verde de marca #7cf5c4 y verde de apoyo #0f7a53, tipografia Archivo. */

:root {
    --seo-bg: #f5f6f4;
    --seo-surface: #ffffff;
    --seo-ink: #111413;
    --seo-muted: #4d544f;
    --seo-soft: #7b827d;
    --seo-line: #e3e6e2;
    --seo-mint: #7cf5c4;
    --seo-green: #0f7a53;
    --seo-green-bg: #eafaf2;
    --seo-green-line: #bfeeda;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    background: var(--seo-bg);
    color: var(--seo-ink);
    font-family: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
    -webkit-text-size-adjust: 100%;
}

a { color: inherit; }

.seo-shell { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* Cabecera ------------------------------------------------------------- */

.seo-nav {
    position: relative;
    top: auto;
    z-index: 30;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--seo-line);
}

.seo-nav__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    /* El lateral tiene que repetir el de `.seo-shell`: con `padding: 14px 0` la
       regla anulaba el margen lateral del contenedor y la marca y los botones
       quedaban pegados al borde de la pantalla. */
    padding: 14px 20px;
}

.seo-brand { display: flex; align-items: center; gap: 9px; text-decoration: none; }

.seo-brand__mark {
    width: 24px;
    height: 24px;
    background: var(--seo-ink);
    border-radius: 7px;
    display: grid;
    place-items: center;
}

.seo-brand__dot { width: 8px; height: 8px; background: var(--seo-mint); border-radius: 2px; }

.seo-brand__name { font-weight: 800; font-size: 17px; letter-spacing: -.03em; }

.seo-nav__links { display: flex; gap: 22px; font-size: 15px; font-weight: 500; color: var(--seo-muted); }
.seo-nav__links a { text-decoration: none; }
.seo-nav__links a:hover { color: var(--seo-ink); }

.seo-cta {
    background: var(--seo-ink);
    color: var(--seo-mint);
    font-weight: 700;
    font-size: 15px;
    padding: 11px 16px;
    border-radius: 8px;
    text-decoration: none;
    white-space: nowrap;
    display: inline-block;
}

.seo-cta--wide { padding: 15px 24px; font-size: 16px; }

.seo-cta--soft {
    background: var(--seo-mint);
    color: #0c2b1f;
}

/* Migas y cabecera de pagina ------------------------------------------- */

.seo-breadcrumb { font-size: 14px; color: var(--seo-soft); padding: 20px 0 0; }
.seo-breadcrumb a { color: var(--seo-muted); text-decoration: none; }
.seo-breadcrumb a:hover { text-decoration: underline; }

.seo-header { padding: 18px 0 28px; }

.seo-header h1 {
    margin: 10px 0 0;
    font-size: clamp(30px, 5vw, 46px);
    line-height: 1.06;
    letter-spacing: -.035em;
    font-weight: 800;
}

.seo-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--seo-green-bg);
    border: 1px solid var(--seo-green-line);
    color: var(--seo-green);
    font-size: 13px;
    font-weight: 600;
    padding: 7px 13px;
    border-radius: 100px;
}

.seo-lead { margin: 14px 0 0; font-size: 18px; line-height: 1.55; color: var(--seo-muted); max-width: 68ch; }

.seo-meta { margin-top: 16px; font-size: 14px; color: var(--seo-soft); line-height: 1.6; }

/* Bloques --------------------------------------------------------------- */

.seo-section { padding: 30px 0; border-top: 1px solid var(--seo-line); }
.seo-section:first-of-type { border-top: 0; }

.seo-section h2 {
    margin: 0 0 6px;
    font-size: clamp(22px, 3vw, 28px);
    letter-spacing: -.03em;
    font-weight: 800;
}

.seo-section h3 { margin: 0 0 6px; font-size: 18px; font-weight: 700; letter-spacing: -.02em; }

.seo-section p { margin: 10px 0; font-size: 17px; line-height: 1.6; color: var(--seo-muted); max-width: 72ch; }

.seo-card {
    background: var(--seo-surface);
    border: 1px solid var(--seo-line);
    border-radius: 16px;
    padding: 22px;
}

.seo-answer {
    background: var(--seo-surface);
    border: 1px solid var(--seo-green-line);
    border-left: 5px solid var(--seo-mint);
    border-radius: 14px;
    padding: 20px 22px;
}

.seo-answer__label {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--seo-green);
}

.seo-answer p { margin: 8px 0 0; color: var(--seo-ink); font-size: 17px; }

.seo-notice {
    background: #fff8e6;
    border: 1px solid #f0dfae;
    border-radius: 12px;
    padding: 14px 16px;
    font-size: 15px;
    line-height: 1.5;
    color: #6b5312;
    margin: 18px 0 0;
}

.seo-notice--catalogo {
    background: var(--seo-green-bg);
    border-color: var(--seo-green-line);
    border-left: 5px solid var(--seo-mint);
    color: var(--seo-ink);
    padding: 17px 20px;
}

.seo-notice--catalogo strong { color: var(--seo-green); }
.seo-notice--catalogo a { color: var(--seo-green); font-weight: 700; }

.seo-grid { display: grid; gap: 16px; }
.seo-grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.seo-grid--3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.seo-list { margin: 10px 0 0; padding-left: 20px; color: var(--seo-muted); font-size: 16px; line-height: 1.65; }
.seo-list li { margin-bottom: 6px; }

.seo-list--check { list-style: none; padding-left: 0; }
.seo-list--check li { position: relative; padding-left: 26px; }
.seo-list--check li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--seo-mint);
}

.seo-list--minus li::before { background: #f2c9b8; }

.seo-steps { counter-reset: paso; list-style: none; padding: 0; margin: 14px 0 0; }
.seo-steps li {
    counter-increment: paso;
    position: relative;
    padding: 0 0 0 44px;
    margin-bottom: 16px;
    font-size: 16px;
    line-height: 1.6;
    color: var(--seo-muted);
}
.seo-steps li::before {
    content: counter(paso);
    position: absolute;
    left: 0;
    top: 0;
    width: 30px;
    height: 30px;
    border-radius: 9px;
    background: var(--seo-ink);
    color: var(--seo-mint);
    font-weight: 800;
    font-size: 15px;
    display: grid;
    place-items: center;
}

/* Tablas ---------------------------------------------------------------- */

.seo-tablewrap { overflow-x: auto; margin-top: 14px; }

.seo-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--seo-surface);
    border: 1px solid var(--seo-line);
    border-radius: 14px;
    overflow: hidden;
    font-size: 15px;
    min-width: 480px;
}

.seo-table th,
.seo-table td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--seo-line); vertical-align: top; }
.seo-table tr:last-child th,
.seo-table tr:last-child td { border-bottom: 0; }
.seo-table th { font-weight: 700; width: 38%; color: var(--seo-ink); }
.seo-table td { color: var(--seo-muted); }
.seo-table thead th { background: #f0f2ef; border-bottom: 1px solid var(--seo-line); width: auto; }

/* Fichas de tarifa ------------------------------------------------------ */

.seo-tarifa { display: flex; flex-direction: column; gap: 12px; }

.seo-tarifa__head { display: flex; flex-wrap: wrap; gap: 8px; align-items: baseline; justify-content: space-between; }

.seo-tarifa__name { font-size: 19px; font-weight: 800; letter-spacing: -.02em; }

.seo-chip {
    font-size: 12px;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 100px;
    background: var(--seo-green-bg);
    color: var(--seo-green);
    border: 1px solid var(--seo-green-line);
    white-space: nowrap;
}

.seo-chip--warn { background: #fff8e6; color: #6b5312; border-color: #f0dfae; }
.seo-chip--neutral { background: #f0f2ef; color: var(--seo-muted); border-color: var(--seo-line); }

.seo-precios { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; }

.seo-precio {
    background: #fafbfa;
    border: 1px solid var(--seo-line);
    border-radius: 10px;
    padding: 10px 12px;
}

.seo-precio__label { font-size: 12px; font-weight: 700; color: var(--seo-soft); text-transform: uppercase; letter-spacing: .04em; }
.seo-precio__value { font-size: 17px; font-weight: 800; margin-top: 3px; }
.seo-precio__value--empty { color: var(--seo-soft); font-weight: 600; font-size: 15px; }
.seo-precio__unit { font-size: 12px; font-weight: 600; color: var(--seo-soft); }

/* FAQ ------------------------------------------------------------------- */

.seo-faq { margin-top: 14px; display: flex; flex-direction: column; gap: 10px; }

.seo-faq details {
    background: var(--seo-surface);
    border: 1px solid var(--seo-line);
    border-radius: 12px;
    padding: 16px 18px;
}

.seo-faq summary { font-weight: 700; font-size: 17px; cursor: pointer; list-style: none; }
.seo-faq summary::-webkit-details-marker { display: none; }
.seo-faq summary::after { content: '+'; float: right; color: var(--seo-green); font-weight: 800; }
.seo-faq details[open] summary::after { content: '−'; }
.seo-faq p { margin: 10px 0 0; font-size: 16px; }

/* CTA y pie ------------------------------------------------------------- */

.seo-cta-box {
    background: var(--seo-ink);
    color: #fff;
    border-radius: 18px;
    padding: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    align-items: center;
    justify-content: space-between;
}

.seo-cta-box h2 { margin: 0 0 6px; color: #fff; font-size: 24px; letter-spacing: -.03em; }
.seo-cta-box p { margin: 0; color: #c9d0cb; font-size: 16px; max-width: 46ch; }

/* La respuesta y su CTA son dos bloques consecutivos dentro de la misma
   sección; necesitan aire propio para no parecer una sola tarjeta pegada. */
.seo-answer + .seo-cta-box { margin-top: 24px; }

.seo-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }

.seo-link-card {
    background: var(--seo-surface);
    border: 1px solid var(--seo-line);
    border-radius: 100px;
    padding: 10px 16px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
}

.seo-link-card:hover { border-color: var(--seo-green); color: var(--seo-green); }

.seo-footer {
    border-top: 1px solid var(--seo-line);
    background: var(--seo-surface);
    margin-top: 40px;
    padding: 28px 0;
    font-size: 14px;
    color: var(--seo-soft);
    line-height: 1.7;
}

.seo-footer a { color: var(--seo-muted); }

/* Botonera movil: solo existe por debajo de 760 px y repite la de la portada
   —telefono con borde y menu en tinta con icono menta, 44 x 44 y 8 px entre
   ellos— para que la cabecera se comporte igual en todo el sitio. */

.seo-nav__mobile { display: none; align-items: center; gap: 8px; }

.seo-nav__phone,
.seo-burger {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    flex: none;
    padding: 0;
    border-radius: 10px;
    cursor: pointer;
}

.seo-nav__phone {
    border: 1px solid var(--seo-line);
    background: var(--seo-surface);
    color: var(--seo-green);
}

.seo-burger {
    border: 0;
    background: var(--seo-ink);
    color: var(--seo-mint);
}

.seo-burger__cerrar { display: none; }
.seo-burger[aria-expanded="true"] .seo-burger__abrir { display: none; }
.seo-burger[aria-expanded="true"] .seo-burger__cerrar { display: block; }

.seo-drawer {
    border-top: 1px solid var(--seo-line);
    background: var(--seo-surface);
}

.seo-drawer__inner {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-top: 14px;
    padding-bottom: 20px;
}

.seo-drawer__inner > a {
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    padding: 15px 4px;
    border-bottom: 1px solid #eef0ed;
}

.seo-drawer__cta {
    margin-top: 10px;
    background: var(--seo-ink);
    color: var(--seo-mint);
    text-align: center;
    font-size: 17px;
    padding: 17px;
    border-radius: 10px;
    border-bottom: 0 !important;
}

@media (max-width: 960px) {
    /* La navegacion completa se muda al cajon: en la barra solo quedan la marca
       y el boton. El CTA tambien baja al cajon, como en la portada, porque a
       375 px no caben marca, boton y llamada a la accion sin apretarse. */
    .seo-nav__links { display: none; }
    .seo-nav__row > .seo-cta { display: none; }
    .seo-nav__mobile { display: flex; }
    .seo-section { padding: 24px 0; }
}

@media (min-width: 961px) {
    /* Por encima del corte el cajon no existe, aunque quedara abierto al girar
       el movil a horizontal. */
    .seo-drawer { display: none !important; }
}

/* ======================================================================
   Ficha de compañía: hero con ficha rápida, secciones con antetítulo,
   tablas comparativas, tarjetas de perfil y pasos.
   ====================================================================== */

.seo-breadcrumb-bar { background: var(--seo-surface); border-bottom: 1px solid var(--seo-line); }
.seo-breadcrumb-bar .seo-breadcrumb { padding: 14px 0; }

.seo-hero {
    background: var(--seo-surface);
    border-bottom: 1px solid var(--seo-line);
    padding: 34px 0 42px;
}

.seo-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 38px;
    align-items: start;
}

.seo-hero h1 {
    margin: 12px 0 0;
    font-size: clamp(30px, 4.6vw, 46px);
    line-height: 1.05;
    letter-spacing: -.035em;
    font-weight: 800;
}

.seo-hero .seo-lead { margin: 14px 0 0; }
.seo-hero .seo-answer { margin-top: 20px; }

.seo-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 22px; }

.seo-hero .seo-cta-microcopy {
    margin: 10px 0 0;
    max-width: 62ch;
    color: var(--seo-soft);
    font-size: 14px;
    line-height: 1.5;
}

.seo-cta-ghost {
    display: inline-block;
    padding: 14px 20px;
    border: 1px solid var(--seo-line);
    border-radius: 9px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    background: var(--seo-surface);
}

.seo-cta-ghost:hover { border-color: var(--seo-green); color: var(--seo-green); }

/* Ficha rápida del hero */

.seo-profile {
    background: var(--seo-bg);
    border: 1px solid var(--seo-line);
    border-radius: 18px;
    padding: 22px;
    position: sticky;
    top: 82px;
}

.seo-profile__logo {
    background: var(--seo-surface);
    border: 1px solid var(--seo-line);
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.seo-profile__logo img { max-width: 100%; height: 44px; width: auto; object-fit: contain; }

.seo-profile__head { display: flex; align-items: center; gap: 12px; }

.seo-profile__mark {
    width: 46px;
    height: 46px;
    flex: none;
    border-radius: 13px;
    background: var(--seo-ink);
    color: var(--seo-mint);
    display: grid;
    place-items: center;
    font-size: 22px;
    font-weight: 800;
}

.seo-profile__name { font-size: 19px; font-weight: 800; letter-spacing: -.02em; }
.seo-profile__legal { font-size: 13px; color: var(--seo-soft); margin-top: 1px; }

.seo-profile__list { margin: 18px 0 0; }
.seo-profile__list > div {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 9px 0;
    border-bottom: 1px solid var(--seo-line);
}
.seo-profile__list > div:last-child { border-bottom: 0; }
.seo-profile__list dt { font-size: 14px; color: var(--seo-soft); flex: none; }
.seo-profile__list dd {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    text-align: right;
    line-height: 1.35;
}

.seo-profile__foot { margin: 14px 0 0; font-size: 13px; color: var(--seo-soft); line-height: 1.45; }

/* Secciones con antetítulo */

.seo-section--soft {
    background: var(--seo-surface);
    border-radius: 20px;
    padding: 30px 26px;
    border-top: 0;
    margin: 30px 0;
}

.seo-section__head { max-width: 72ch; }
.seo-section__head p { margin-top: 8px; }

.seo-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--seo-green);
    margin-bottom: 8px;
}

.seo-muted { color: var(--seo-soft); }

.seo-footnote {
    margin-top: 14px;
    font-size: 14px;
    line-height: 1.55;
    color: var(--seo-soft);
    max-width: 80ch;
}

/* Tabla comparativa */

.seo-table--grid th[scope="col"] { width: auto; }
.seo-table--grid tbody th[scope="row"] { width: auto; white-space: nowrap; }
.seo-table--grid td small { color: var(--seo-soft); line-height: 1.5; }
.seo-table--tarifas {
    min-width: 920px;
    table-layout: fixed;
}
.seo-table--tarifas.seo-table--compact { min-width: 720px; }

/* En escritorio la tabla completa debe caber dentro de `.seo-shell`: si el
   algoritmo automático suma los anchos mínimos de los textos sin envolver,
   las últimas columnas quedan fuera de la ventana del contenedor. Estas
   proporciones reservan espacio para cada dato y dejan que las explicaciones
   crezcan en alto cuando haga falta. */
.seo-table--tarifas:not(.seo-table--compact) thead th:nth-child(1) { width: 26%; }
.seo-table--tarifas:not(.seo-table--compact) thead th:nth-child(2) { width: 14%; }
.seo-table--tarifas:not(.seo-table--compact) thead th:nth-child(3) { width: 15%; }
.seo-table--tarifas:not(.seo-table--compact) thead th:nth-child(4) { width: 20%; }
.seo-table--tarifas:not(.seo-table--compact) thead th:nth-child(5) { width: 10%; }
.seo-table--tarifas:not(.seo-table--compact) thead th:nth-child(6) { width: 8%; }
.seo-table--tarifas:not(.seo-table--compact) thead th:nth-child(7) { width: 7%; }

.seo-table--tarifas.seo-table--compact thead th:nth-child(1) { width: 27%; }
.seo-table--tarifas.seo-table--compact thead th:nth-child(2) { width: 17%; }
.seo-table--tarifas.seo-table--compact thead th:nth-child(3) { width: 18%; }
.seo-table--tarifas.seo-table--compact thead th:nth-child(4) { width: 38%; }

.seo-table--tarifas tbody th[scope="row"],
.seo-table--tarifas .seo-pill {
    white-space: normal;
    overflow-wrap: anywhere;
}

.seo-table--tarifas tbody th[scope="row"] small { display: block; }

.seo-table--grid td .seo-table-note {
    display: block;
    margin-top: 7px;
    white-space: normal;
}

.seo-pill {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 100px;
    background: var(--seo-green-bg);
    color: var(--seo-green);
    border: 1px solid var(--seo-green-line);
    white-space: nowrap;
}

.seo-pill--warn { background: #fff8e6; color: #6b5312; border-color: #f0dfae; }

/* Tarjetas de tarifa */

.seo-chips { display: flex; flex-wrap: wrap; gap: 7px; }

.seo-tarifa__estimacion {
    margin: 0;
    padding: 11px 13px;
    background: var(--seo-green-bg);
    border: 1px solid var(--seo-green-line);
    border-radius: 10px;
    font-size: 15px;
    color: #0c3a28;
}

.seo-tarifa__texto { margin: 0; font-size: 16px; line-height: 1.55; color: var(--seo-muted); }
.seo-tarifa__nota { margin: 0; font-size: 15px; line-height: 1.5; color: var(--seo-soft); }

.seo-list--tight { margin: 0; }

.seo-list--warn li::before { background: #f4c98a; }

/* Tarjetas de perfil */

.seo-profile-card {
    background: var(--seo-bg);
    border: 1px solid var(--seo-line);
    border-radius: 16px;
    padding: 20px;
}

.seo-section--soft .seo-profile-card { background: #fafbfa; }

.seo-profile-card__icon {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    background: var(--seo-ink);
    color: var(--seo-mint);
    display: grid;
    place-items: center;
    margin-bottom: 12px;
}

.seo-profile-card__icon svg { width: 20px; height: 20px; }

.seo-profile-card h3 { margin: 0 0 6px; font-size: 17px; font-weight: 800; letter-spacing: -.02em; }
.seo-profile-card p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--seo-muted); }

/* Pasos */

.seo-step {
    background: #fafbfa;
    border: 1px solid var(--seo-line);
    border-radius: 16px;
    padding: 20px;
}

.seo-step b {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: var(--seo-mint);
    color: #0c2b1f;
    font-size: 16px;
    margin-bottom: 12px;
}

.seo-step h3 { margin: 0 0 6px; font-size: 17px; font-weight: 800; letter-spacing: -.02em; }
.seo-step p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--seo-muted); }

@media (max-width: 900px) {
    .seo-hero__grid { grid-template-columns: 1fr; gap: 26px; }
    .seo-profile { position: static; }
}

@media (max-width: 760px) {
    .seo-hero { padding: 24px 0 30px; }
    .seo-section--soft { padding: 24px 18px; border-radius: 16px; }
    .seo-hero__actions a { max-width: 100%; white-space: normal; text-align: center; }
}

/* El precio y su unidad no se separan en dos lineas. */
.seo-table--grid td strong,
.seo-table--grid td small { white-space: nowrap; display: inline-block; }

/* Esta regla genérica queda después del bloque de fichas; el override
   específico debe ir también después para que los precios puedan envolver
   cuando una columna es estrecha. */
.seo-table--tarifas td strong,
.seo-table--tarifas td small {
    white-space: normal;
    overflow-wrap: anywhere;
}

/* Las tablas de tarifas y coste se convierten en tarjetas hasta 760 px. Conservan `table`,
   encabezados y `scope` en el HTML para que la relación semántica siga
   disponible; `data-label` solo repite visualmente cada cabecera. */
@media (max-width: 760px) {
    .seo-tablewrap--cards-mobile {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        overflow: visible;
    }

    .seo-table--cards-mobile {
        display: block;
        min-width: 0;
        width: 100%;
        max-width: 100%;
        border: 0;
        border-radius: 0;
        background: transparent;
    }

    /* `.seo-table--tarifas` conserva una min-width de escritorio y tiene más
       especificidad que el selector genérico anterior. Si no se anula aquí,
       la tabla ensancha el body aunque sus filas ya se pinten como tarjetas. */
    .seo-table--tarifas.seo-table--cards-mobile {
        min-width: 0;
    }

    .seo-table--cards-mobile thead {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }

    .seo-table--cards-mobile tbody {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        width: 100%;
        max-width: 100%;
        min-width: 0;
        gap: 14px;
    }

    .seo-table--cards-mobile tr {
        display: block;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        overflow: hidden;
        background: var(--seo-surface);
        border: 1px solid var(--seo-line);
        border-radius: 14px;
    }

    .seo-table--cards-mobile tbody th,
    .seo-table--cards-mobile tbody td {
        display: block;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        padding: 11px 14px;
        border-bottom: 1px solid var(--seo-line);
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .seo-table--cards-mobile tbody th[scope="row"] {
        background: #f0f2ef;
        font-size: 17px;
        line-height: 1.35;
    }

    /* La regla de escritorio de `.seo-table--grid tbody th[scope="row"]`
       tiene más especificidad que el reset genérico de las tarjetas. Sin este
       selector, el nombre y el tipo de tarifa conservan `white-space: nowrap`,
       ensanchan el documento y cortan toda la página en móvil. */
    .seo-table--grid.seo-table--cards-mobile tbody th[scope="row"] {
        width: auto;
        max-width: 100%;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .seo-table--cards-mobile tbody th[scope="row"] small {
        display: block;
        max-width: 100%;
        margin-top: 2px;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .seo-table--cards-mobile tbody th::before,
    .seo-table--cards-mobile tbody td::before {
        content: attr(data-label);
        display: block;
        margin-bottom: 4px;
        color: var(--seo-soft);
        font-size: 11px;
        font-weight: 800;
        letter-spacing: .07em;
        line-height: 1.3;
        text-transform: uppercase;
    }

    .seo-table--cards-mobile tbody td:last-child { border-bottom: 0; }
    .seo-table--cards-mobile td strong,
    .seo-table--cards-mobile td small {
        display: inline;
        max-width: 100%;
        white-space: normal;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .seo-table--cards-mobile td .seo-table-note { display: block; }

    .seo-table--identity { min-width: 0; }
}
