/* =========================================================
   QueBuscasRD — Servicios «Destacado + lista» (23-oct-2026)
   ---------------------------------------------------------
   Elegido entre 5 ejemplos. En la computadora: el servicio
   estrella grande a la izquierda y los demás en lista compacta
   a la derecha. En el celular, uno debajo del otro.
   HTML: negocio.php → «SERVICIOS · DESTACADO + LISTA».
   Se carga después de los temas de las plantillas para ganar.
   ========================================================= */

html body .neg-principal .svd {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
    gap: 20px;
    align-items: start;
}

html body .neg-principal .svd.svd-solo { grid-template-columns: minmax(0, 720px); justify-content: center; }

/* ---------- Servicio estrella ---------- */

html body .neg-principal .svd-estrella {
    position: sticky;
    top: calc(var(--alto-header, 64px) + var(--alto-menu, 0px) + 16px);
    display: flex;
    flex-direction: column;
    border-radius: 24px;
    overflow: hidden;
    background: #111B27;
    color: #FFFFFF;
    box-shadow: 0 26px 50px -32px rgba(10, 18, 28, .85);
}

html body .neg-principal .svd-estrella[hidden] { display: none; }

html body .neg-principal .svd-foto {
    position: relative;
    aspect-ratio: 16 / 10;
    background: #1B2A3B;
    display: grid;
    place-items: center;
    overflow: hidden;
}

html body .neg-principal .svd-foto img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

html body .neg-principal .svd-foto-ico { color: #8FB4FF; }
html body .neg-principal .svd-foto-ico svg { width: 84px; height: 84px; stroke-width: 1.3; }

html body .neg-principal .svd-sello {
    position: absolute;
    left: 16px;
    top: 16px;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--pr-marca, var(--primario-negocio, #DC2626));
    border: 1px solid rgba(255, 255, 255, .45);
    color: #FFFFFF;
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
}

html body .neg-principal .svd-fav {
    position: absolute !important;
    right: 14px;
    top: 14px;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    color: #172331;
    display: grid;
    place-items: center;
    cursor: pointer;
}

html body .neg-principal .svd-fav svg { width: 18px; height: 18px; }
html body .neg-principal .svd-fav.activo { color: #E5484D; }

html body .neg-principal .svd-texto {
    padding: 20px 22px 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

html body .neg-principal .svd-texto h3 {
    margin: 0;
    font-size: 24px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -.01em;
    color: #FFFFFF;
}

html body .neg-principal .svd-texto p {
    margin: 0;
    font-size: 15.5px;
    line-height: 1.55;
    color: #C7D2DE;
}

html body .neg-principal .svd-precio { font-size: 14px; color: #A9B8C8; }
html body .neg-principal .svd-precio strong { font-size: 16px; font-weight: 800; color: #FFFFFF; }

html body .neg-principal .svd-botones { display: flex; gap: 10px; margin-top: 4px; }

html body .neg-principal .svd-btn {
    flex: 1 1 auto;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: #FFFFFF;
    border: 0;
    color: #111B27 !important;
    font-size: 16px;
    font-weight: 800;
    text-decoration: none;
    transition: filter .2s ease, transform .2s ease;
}

html body .neg-principal .svd-btn:hover { filter: brightness(.94); transform: translateY(-1px); }

html body .neg-principal .svd-wa {
    flex: 0 0 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: #25D366;
    color: #FFFFFF;
}

html body .neg-principal .svd-wa svg { width: 22px; height: 22px; }

/* ---------- Lista de la derecha ---------- */

html body .neg-principal .svd-lista {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}

/* Filas compactas siempre (algunos temas las vuelven tarjetas altas en la PC) */
html body .neg-principal .svd-lista > .servicio.sv {
    display: grid !important;
    grid-template-columns: 96px minmax(0, 1fr) !important;
    gap: 14px !important;
    align-items: stretch !important;
    width: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 12px !important;
    border-radius: 18px !important;
}

html body .neg-principal .svd-lista > .servicio.sv .sv-mini {
    width: 96px !important;
    height: 96px !important;
    aspect-ratio: auto !important;
    border-radius: 14px !important;
    margin: 0 !important;
}

html body .neg-principal .svd-lista > .servicio.sv .sv-cuerpo {
    padding: 0 !important;
    min-width: 0;
}

html body .neg-principal .svd-lista > .servicio.sv .sv-desc { display: -webkit-box !important; }

html body .neg-principal .svd-lista > .servicio.sv[hidden] { display: none !important; }

html body .neg-principal .svd.svd-corta .svd-lista > .servicio:nth-child(n+5) { display: none !important; }

html body .neg-principal .svd-mas {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 46px;
    border: 1px solid var(--borde, #DDE3EC);
    border-radius: 14px;
    background: #FFFFFF;
    color: var(--tinta, #172331);
    font: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

html body .neg-principal .svd.svd-corta .svd-mas { display: inline-flex; }
html body .neg-principal .svd-mas svg { width: 17px; height: 17px; }

/* ---------- Celular y tableta ---------- */

@media (max-width: 900px) {
    html body .neg-principal .svd { grid-template-columns: 1fr; gap: 14px; }
    html body .neg-principal .svd-estrella { position: relative; top: auto; }
    html body .neg-principal .svd-foto { aspect-ratio: 16 / 9; }
    html body .neg-principal .svd-texto h3 { font-size: 21px; }
    html body .neg-principal .svd-texto p { font-size: 15px; }
}

/* Descripción con formato del servicio estrella */
html body .neg-principal .svd-texto .svd-desc { font-size: 15.5px; line-height: 1.55; color: #C7D2DE; }
html body .neg-principal .svd-texto .svd-desc :is(p, li) { margin: 0 0 .45em; color: inherit; }
html body .neg-principal .svd-texto .svd-desc ul { margin: 0 0 .45em; padding-left: 1.2em; list-style: disc; }
html body .neg-principal .svd-texto .svd-desc > :last-child { margin-bottom: 0; }
html body .neg-principal .svd-texto .svd-desc strong { color: #FFFFFF; }

/* =========================================================
   ANCHO EN VEZ DE LARGO (23-oct-2026, a pedido)
   En la computadora el servicio estrella ocupa todo el ancho:
   foto a la izquierda y texto a la derecha. Los demás van
   debajo en columnas de tarjetas compactas.
   ========================================================= */
@media (min-width: 901px) {
    html body .neg-principal .svd,
    html body .neg-principal .svd.svd-solo { grid-template-columns: minmax(0, 1fr); gap: 18px; justify-content: stretch; }

    html body .neg-principal .svd-estrella {
        position: relative;
        top: auto;
        display: grid;
        grid-template-columns: minmax(0, 42%) minmax(0, 1fr);
        align-items: stretch;
    }
    html body .neg-principal .svd-foto { aspect-ratio: auto; min-height: 300px; height: 100%; }
    html body .neg-principal .svd-texto { padding: 28px 32px; justify-content: center; gap: 12px; }
    html body .neg-principal .svd-texto h3 { font-size: 26px; }
    /* Las listas largas en dos columnas para que no se alargue */
    html body .neg-principal .svd-texto .svd-desc ul { columns: 2 260px; column-gap: 28px; }
    html body .neg-principal .svd-texto .svd-desc li { break-inside: avoid; }
    html body .neg-principal .svd-botones { max-width: 460px; }

    html body .neg-principal .svd-lista {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 14px;
    }
    html body .neg-principal .svd-lista.svd-uno { grid-template-columns: minmax(0, 1fr); }
    html body .neg-principal .svd-mas { grid-column: 1 / -1; justify-self: center; padding: 0 26px; }
    html body .neg-principal .svd.svd-corta .svd-lista > .servicio:nth-child(n+5) { display: grid !important; }
    html body .neg-principal .svd.svd-corta .svd-lista > .servicio:nth-child(n+7) { display: none !important; }
    html body .neg-principal .svd.svd-corta .svd-lista.svd-hasta6 .svd-mas { display: none; }
}
@media (min-width: 901px) and (max-width: 1180px) {
    html body .neg-principal .svd-lista { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    html body .neg-principal .svd-estrella { grid-template-columns: minmax(0, 38%) minmax(0, 1fr); }
}

/* Descripción larga del servicio estrella: unas 7 líneas y «Ver más» */
html body .neg-principal .svd-texto .svd-desc.recortada { max-height: 11.5em; overflow: hidden; -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
html body .neg-principal .svd-vermas { align-self: flex-start; margin: -4px 0 2px; padding: 4px 0; border: 0; background: none; color: #7FD3D6; font: inherit; font-size: 15px; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
html body .neg-principal .svd-vermas:hover { color: #FFFFFF; }
html body .neg-principal .svd-vermas[hidden] { display: none; }

/* Servicio estrella SIN foto: el ícono en una columna estrecha, no un recuadro vacío enorme */
@media (min-width: 901px) {
    html body .neg-principal .svd-estrella:not(:has(.svd-foto img)) { grid-template-columns: 200px minmax(0, 1fr); }
    html body .neg-principal .svd-estrella:not(:has(.svd-foto img)) .svd-foto { min-height: 0; background: radial-gradient(circle at 50% 45%, rgba(143, 180, 255, .18), transparent 62%), #1B2A3B; }
    html body .neg-principal .svd-estrella:not(:has(.svd-foto img)) .svd-foto-ico svg { width: 64px; height: 64px; }
}
@media (max-width: 900px) {
    html body .neg-principal .svd-estrella:not(:has(.svd-foto img)) .svd-foto { aspect-ratio: auto; height: 120px; }
    html body .neg-principal .svd-estrella:not(:has(.svd-foto img)) .svd-foto-ico svg { width: 52px; height: 52px; }
}
@media (min-width: 901px) {
    /* sin foto: el sello abajo para que no choque con el corazón */
    html body .neg-principal .svd-estrella:not(:has(.svd-foto img)) .svd-sello { top: auto; bottom: 16px; left: 14px; right: 14px; text-align: center; font-size: 11.5px; }
}
@media (max-width: 900px) {
    /* sin foto en el celular: solo una franja con el sello y el corazón, sin ícono */
    html body .neg-principal .svd-estrella:not(:has(.svd-foto img)) .svd-foto { height: 72px; }
    html body .neg-principal .svd-estrella:not(:has(.svd-foto img)) .svd-foto-ico { display: none; }
}

/* ===== Varios servicios dentro del estrella → columnas (24-oct-2026) ===== */
html body .neg-principal .svd-texto .svd-desc.svd-cols,
html body .neg-principal .svd-texto .svd-desc.svd-cols.recortada { max-height: none; -webkit-mask: none; mask: none; }
html body .neg-principal .svd-estrella:has(.svd-cols) .svd-texto { justify-content: flex-start; }
html body .neg-principal .svd-texto .svd-desc ul.svd-columnas {
    list-style: none !important; margin: 14px 0 6px !important; padding: 0 !important;
    columns: 3 190px; column-gap: 28px; column-rule: 1px solid rgba(255, 255, 255, .14);
}
html body .neg-principal .svd-texto .svd-desc ul.svd-columnas.svd-col2 { columns: 2 220px; }
html body .neg-principal .svd-columnas li {
    break-inside: avoid; margin: 0 0 14px !important; padding: 0 0 0 14px !important; position: relative;
    display: flex; flex-direction: column; gap: 2px; line-height: 1.4;
}
html body .neg-principal .svd-columnas li::before {
    content: ''; position: absolute; left: 0; top: .5em; width: 6px; height: 6px; border-radius: 50%;
    background: var(--color-principal, #2BB673);
}
html body .neg-principal .svd-columnas li b { font-size: 15px; font-weight: 800; color: #fff; }
html body .neg-principal .svd-columnas li span { font-size: 13.5px; color: #AFC0D2; }
@media (max-width: 640px) {
    html body .neg-principal .svd-texto .svd-desc ul.svd-columnas { columns: 1 !important; }
    html body .neg-principal .svd-columnas li { margin-bottom: 11px !important; }
}
/* Con columnas: foto más estrecha para que quepan 3 columnas (como el boceto) */
@media (min-width: 1100px) {
    html body .neg-principal .svd-estrella:has(.svd-cols):has(.svd-foto img) { grid-template-columns: minmax(0, 30%) minmax(0, 1fr); }
    html body .neg-principal .svd-estrella:has(.svd-cols):not(:has(.svd-foto img)) { grid-template-columns: 170px minmax(0, 1fr); }
    html body .neg-principal .svd-texto .svd-desc ul.svd-columnas:not(.svd-col2) { columns: 3 170px; }
    html body .neg-principal .svd-estrella:has(.svd-cols) .svd-sello { white-space: nowrap; font-size: 10.5px; padding-inline: 10px; }
}
@media (min-width: 901px) {
    html body .neg-principal .svd-texto .svd-desc ul.svd-columnas li { break-inside: avoid; }
}
/* 4 columnas parejas (24-oct-2026): rejilla en vez de columnas de periódico */
html body .neg-principal .svd-texto .svd-desc ul.svd-columnas,
html body .neg-principal .svd-texto .svd-desc ul.svd-columnas.svd-col2 {
    columns: auto !important; column-rule: none;
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 0;
}
html body .neg-principal .svd-texto .svd-desc ul.svd-columnas li {
    margin: 0 !important; padding: 2px 18px 2px 30px !important;
    border-left: 1px solid rgba(255, 255, 255, .14);
}
html body .neg-principal .svd-texto .svd-desc ul.svd-columnas li::before { left: 16px; }
@media (min-width: 1100px) {
    html body .neg-principal .svd-estrella:has(.svd-cols):has(.svd-foto img) { grid-template-columns: minmax(0, 24%) minmax(0, 1fr); }
    html body .neg-principal .svd-estrella:has(.svd-cols):not(:has(.svd-foto img)) { grid-template-columns: 150px minmax(0, 1fr); }
    html body .neg-principal .svd-texto .svd-desc ul.svd-columnas,
    html body .neg-principal .svd-texto .svd-desc ul.svd-columnas.svd-col2 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    html body .neg-principal .svd-estrella:has(.svd-cols) .svd-sello { font-size: 9.5px; padding-inline: 8px; letter-spacing: .02em; }
}
@media (max-width: 640px) {
    html body .neg-principal .svd-texto .svd-desc ul.svd-columnas,
    html body .neg-principal .svd-texto .svd-desc ul.svd-columnas.svd-col2 { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    html body .neg-principal .svd-texto .svd-desc ul.svd-columnas li { border-left: 0; padding: 0 0 0 14px !important; }
    html body .neg-principal .svd-texto .svd-desc ul.svd-columnas li::before { left: 0; }
}
@media (min-width: 1100px) {
    html body .neg-principal .svd-estrella:has(.svd-cols):not(:has(.svd-foto img)) { grid-template-columns: 180px minmax(0, 1fr); }
    html body .neg-principal .svd-estrella:has(.svd-cols) .svd-sello { font-size: 10px; padding-inline: 10px; }
}
html body .neg-principal .svd-texto .svd-desc ul.svd-columnas { margin: 16px 0 18px !important; }

/* Con columnas: la foto es un cuadro DENTRO de la tarjeta (no se estira con el alto del texto) */
html body .neg-principal .svd-estrella:has(.svd-cols) .svd-foto {
    margin: 14px 14px 0; border-radius: 16px; overflow: hidden;
    aspect-ratio: 16 / 10; height: auto; min-height: 0;
}
@media (min-width: 901px) {
    html body .neg-principal .svd-estrella:has(.svd-cols),
    html body .neg-principal .svd-estrella:has(.svd-cols):has(.svd-foto img),
    html body .neg-principal .svd-estrella:has(.svd-cols):not(:has(.svd-foto img)) { grid-template-columns: 250px minmax(0, 1fr); align-items: start; }
    html body .neg-principal .svd-estrella:has(.svd-cols) .svd-foto {
        margin: 26px 0 26px 26px; aspect-ratio: 1 / 1; align-self: start;
        box-shadow: 0 0 0 1px rgba(255, 255, 255, .08);
    }
    html body .neg-principal .svd-estrella:has(.svd-cols) .svd-texto { padding-left: 30px; }
    html body .neg-principal .svd-estrella:has(.svd-cols) .svd-sello { font-size: 10.5px; }
}
@media (min-width: 1100px) {
    html body .neg-principal .svd-estrella:has(.svd-cols),
    html body .neg-principal .svd-estrella:has(.svd-cols):has(.svd-foto img),
    html body .neg-principal .svd-estrella:has(.svd-cols):not(:has(.svd-foto img)) { grid-template-columns: 250px minmax(0, 1fr); }
}
/* Con columnas en PC: tarjeta más ancha que la sección y foto más grande, centrada en vertical */
@media (min-width: 1100px) {
    html body .neg-principal .svd-estrella:has(.svd-cols) {
        margin-inline: calc(50% - min(680px, 50vw - 40px));
        align-items: center;
    }
    html body .neg-principal .svd-estrella:has(.svd-cols),
    html body .neg-principal .svd-estrella:has(.svd-cols):has(.svd-foto img),
    html body .neg-principal .svd-estrella:has(.svd-cols):not(:has(.svd-foto img)) { grid-template-columns: 340px minmax(0, 1fr); }
    html body .neg-principal .svd-estrella:has(.svd-cols) .svd-foto { margin: 28px 0 28px 28px; align-self: center; }
    html body .neg-principal .svd-estrella:has(.svd-cols) .svd-texto { padding: 30px 36px 30px 36px; }
}
@media (min-width: 1100px) {
    /* los demás servicios, al mismo ancho que la estrella para que todo quede alineado */
    html body .neg-principal .svd:has(.svd-cols) .svd-lista { margin-inline: calc(50% - min(680px, 50vw - 40px)); grid-template-columns: repeat(3, minmax(0, 1fr)); }
    html body .neg-principal .svd:has(.svd-cols) .svd-lista.svd-uno { grid-template-columns: minmax(0, 1fr); }
}

/* =========================================================
   Columnas v3 (24-oct-2026): cada servicio como una fichita con su ícono
   ========================================================= */
html body .neg-principal .svd-texto .svd-desc ul.svd-columnas,
html body .neg-principal .svd-texto .svd-desc ul.svd-columnas.svd-col2 {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px !important;
    margin: 18px 0 16px !important;
}
html body .neg-principal .svd-texto .svd-desc ul.svd-columnas.svd-n4,
html body .neg-principal .svd-texto .svd-desc ul.svd-columnas.svd-n7,
html body .neg-principal .svd-texto .svd-desc ul.svd-columnas.svd-n8 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
html body .neg-principal .svd-texto .svd-desc ul.svd-columnas li {
    display: flex; flex-direction: column; gap: 4px;
    margin: 0 !important; padding: 16px 16px 15px !important;
    border: 1px solid rgba(255, 255, 255, .08) !important; border-radius: 14px;
    background: rgba(255, 255, 255, .04);
    transition: background .2s, border-color .2s, transform .2s;
}
html body .neg-principal .svd-texto .svd-desc ul.svd-columnas li:hover { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .16) !important; transform: translateY(-2px); }
html body .neg-principal .svd-texto .svd-desc ul.svd-columnas li::before { content: none !important; display: none !important; }
html body .neg-principal .svd-columnas .svd-ci {
    display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 8px; border-radius: 11px;
    background: color-mix(in srgb, var(--color-principal, #2BB673) 22%, transparent);
    color: color-mix(in srgb, var(--color-principal, #2BB673) 55%, #fff);
}
html body .neg-principal .svd-columnas .svd-ci svg { width: 21px; height: 21px; stroke-width: 1.9; }
html body .neg-principal .svd-columnas li b { font-size: 15px; line-height: 1.3; color: #fff; }
html body .neg-principal .svd-columnas li .svd-cd { font-size: 13.5px; line-height: 1.45; color: #AFC0D2; }

/* Precio y botones en una fila, separados por una línea */
html body .neg-principal .svd-estrella:has(.svd-cols) .svd-precio { padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .1); }

/* SIN foto: nada de cuadro vacío. La tarjeta usa todo el ancho y el corazón va arriba a la derecha */
html body .neg-principal .svd-estrella:has(.svd-cols):not(:has(.svd-foto img)) { grid-template-columns: minmax(0, 1fr) !important; position: relative; }
html body .neg-principal .svd-estrella:has(.svd-cols):not(:has(.svd-foto img)) .svd-foto {
    position: absolute; top: 20px; right: 20px; z-index: 2; margin: 0 !important;
    width: auto; height: auto; min-height: 0; aspect-ratio: auto; background: none !important; box-shadow: none; overflow: visible;
}
html body .neg-principal .svd-estrella:has(.svd-cols):not(:has(.svd-foto img)) .svd-foto-ico { display: none; }
html body .neg-principal .svd-estrella:has(.svd-cols):not(:has(.svd-foto img)) .svd-fav { position: static; }
html body .neg-principal .svd-estrella:has(.svd-cols):not(:has(.svd-foto img)) .svd-texto h3 { padding-right: 56px; }
@media (min-width: 1100px) {
    html body .neg-principal .svd-estrella:has(.svd-cols):not(:has(.svd-foto img)) .svd-texto { padding: 34px 40px; }
    /* sin foto hay espacio: 5 y 6 servicios en una o dos filas parejas */
    html body .neg-principal .svd-estrella:not(:has(.svd-foto img)) .svd-desc ul.svd-columnas.svd-n5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 1099px) {
    html body .neg-principal .svd-texto .svd-desc ul.svd-columnas[class*="svd-n"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    html body .neg-principal .svd-texto .svd-desc ul.svd-columnas[class*="svd-n"] { grid-template-columns: minmax(0, 1fr); gap: 10px !important; }
    html body .neg-principal .svd-texto .svd-desc ul.svd-columnas li { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 12px; padding: 13px 14px !important; }
    html body .neg-principal .svd-columnas .svd-ci { margin: 0; width: 36px; height: 36px; }
    html body .neg-principal .svd-columnas li b { flex: 1; }
    html body .neg-principal .svd-columnas li .svd-cd { flex-basis: 100%; }
    html body .neg-principal .svd-estrella:has(.svd-cols):not(:has(.svd-foto img)) .svd-foto { top: 14px; right: 14px; }
}
/* Sin foto en modo fichas: la tarjeta se queda al ancho normal de la sección (no se sale) */
@media (min-width: 1100px) {
    html body .neg-principal .svd-estrella:has(.svd-cols),
    html body .neg-principal .svd:has(.svd-cols) .svd-lista { margin-inline: 0; }
}
/* Modo fichas: la tarjeta más ancha que la sección (hasta ~1500 px), y los demás servicios al mismo ancho */
@media (min-width: 1100px) {
    html body .neg-principal .svd-estrella:has(.svd-cols),
    html body .neg-principal .svd:has(.svd-cols) .svd-lista { margin-inline: calc(50% - min(640px, 50vw - 40px)); }
    html body .neg-principal .svd-estrella:has(.svd-cols) .svd-texto { padding: 36px 44px !important; }
}

/* =========================================================
   Fichas v4 (24-oct-2026): cierre en una fila (texto final | precio + botón),
   intro a un ancho cómodo de leer y título de sección alineado con la tarjeta
   ========================================================= */
html body .neg-principal .svd-final { font-size: 15px; line-height: 1.55; color: #C7D2DE; }
html body .neg-principal .svd-final :is(p, li) { margin: 0 0 .35em; color: inherit; }
html body .neg-principal .svd-final strong { color: #fff; }
html body .neg-principal .svd-estrella:has(.svd-cols) .svd-precio { padding-top: 0; border-top: 0; }
@media (min-width: 901px) {
    html body .neg-principal .svd-estrella:has(.svd-cols) .svd-texto {
        display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 48px; row-gap: 0; align-items: center;
    }
    html body .neg-principal .svd-estrella:has(.svd-cols) .svd-texto > * { grid-column: 1 / -1; }
    html body .neg-principal .svd-estrella:has(.svd-cols) .svd-texto > script,
    html body .neg-principal .svd-estrella:has(.svd-cols) .svd-texto > .svd-vermas[hidden] { display: none; }
    html body .neg-principal .svd-estrella:has(.svd-cols) .svd-texto h3 { margin-bottom: 10px; }
    html body .neg-principal .svd-estrella:has(.svd-cols) .svd-desc.svd-cols { padding-bottom: 22px; margin-bottom: 22px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
    html body .neg-principal .svd-estrella:has(.svd-cols) .svd-desc.svd-cols > :not(ul) { max-width: 82ch; }
    html body .neg-principal .svd-estrella:has(.svd-cols) .svd-final { grid-column: 1; grid-row: span 2; max-width: 70ch; }
    html body .neg-principal .svd-estrella:has(.svd-cols) .svd-precio { grid-column: 2; justify-self: end; margin: 0 0 10px; }
    html body .neg-principal .svd-estrella:has(.svd-cols) .svd-botones { grid-column: 2; justify-self: end; width: 380px; max-width: none; }
    /* sin texto final: precio a la izquierda y botón a la derecha, en la misma fila */
    html body .neg-principal .svd-estrella:has(.svd-cols):not(:has(.svd-final)) .svd-precio { grid-column: 1; justify-self: start; margin: 0; }
    html body .neg-principal .svd-estrella:has(.svd-cols):not(:has(.svd-final)) .svd-botones { grid-row: auto; }
}
@media (min-width: 1100px) {
    html body .neg-principal #servicios:has(.svd-cols) .seccion-cabecera { margin-inline: calc(50% - min(640px, 50vw - 40px)); }
}
@media (min-width: 1100px) {
    html body.pagina-negocio .neg-principal #servicios:has(.svd-cols) .seccion-cabecera { margin-left: calc(50% - min(640px, 50vw - 40px)) !important; margin-right: calc(50% - min(640px, 50vw - 40px)) !important; }
}

/* Fichas dentro de la hoja de detalle de un servicio (fondo claro) */
.sv-hoja .sv-con-fichas ul.svd-columnas { list-style: none; margin: 14px 0 10px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.sv-hoja .sv-con-fichas ul.svd-columnas li {
    display: flex; flex-direction: column; gap: 3px; margin: 0; padding: 14px;
    border: 1px solid #E2E8F0; border-radius: 14px; background: #F8FAFC;
}
.sv-hoja .sv-con-fichas ul.svd-columnas li::before { content: none; }
.sv-hoja .sv-con-fichas .svd-ci {
    display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 6px; border-radius: 10px;
    background: color-mix(in srgb, var(--color-principal, #2BB673) 14%, #fff); color: var(--color-principal, #2BB673);
}
.sv-hoja .sv-con-fichas .svd-ci svg { width: 19px; height: 19px; }
.sv-hoja .sv-con-fichas li b { font-size: 14.5px; line-height: 1.3; color: #0F1B2A; }
.sv-hoja .sv-con-fichas li .svd-cd { font-size: 13px; line-height: 1.45; color: #64748B; }
.sv-hoja .sv-con-fichas .svd-final { margin-top: 6px; font-size: 14px; color: #475569; }
.sv-hoja .sv-con-fichas .tx-etiquetas span { background: #F1F5F9; color: #475569; }
@media (max-width: 520px) { .sv-hoja .sv-con-fichas ul.svd-columnas { grid-template-columns: minmax(0, 1fr); } }

/* =========================================================
   Fichas · versión clara y minimalista (24-oct-2026)
   Fondo blanco, líneas finas, íconos en círculo de contorno,
   sin cajas pesadas. Gana a los fondos oscuros de los temas.
   ========================================================= */
html body.pagina-negocio .neg-principal .svd-estrella:has(.svd-cols) {
    --fx-tinta: var(--t-tinta, #0F172A);
    --fx-texto: var(--t-texto, #57534E);
    --fx-acento: var(--t-acento, var(--pr-marca, #0F766E));
    --fx-marca: var(--t-marca, var(--pr-marca, #0F172A));
    --fx-linea: #ECEAE6;
    background: #FFFFFF !important; color: var(--fx-tinta) !important;
    border: 1px solid #E7E5E4 !important; box-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 24px 48px -36px rgba(15, 23, 42, .18) !important;
}
html body.pagina-negocio .neg-principal .svd-estrella:has(.svd-cols) .svd-texto h3 { color: var(--fx-tinta) !important; font-weight: 700 !important; letter-spacing: -.02em; }
html body.pagina-negocio .neg-principal .svd-estrella:has(.svd-cols) .svd-desc.svd-cols,
html body.pagina-negocio .neg-principal .svd-estrella:has(.svd-cols) .svd-desc.svd-cols :is(p, li) { color: var(--fx-texto) !important; }
html body.pagina-negocio .neg-principal .svd-estrella:has(.svd-cols) .svd-desc.svd-cols { border-bottom-color: var(--fx-linea) !important; }

/* Las fichas: sin caja, separadas por una raya fina */
html body.pagina-negocio .neg-principal .svd-estrella:has(.svd-cols) .svd-texto .svd-desc ul.svd-columnas { gap: 28px 0 !important; margin: 26px 0 8px !important; }
html body.pagina-negocio .neg-principal .svd-estrella:has(.svd-cols) .svd-texto .svd-desc ul.svd-columnas li {
    background: none !important; border: 0 !important; border-left: 1px solid var(--fx-linea) !important; border-radius: 0 !important;
    padding: 2px 22px !important; transform: none !important; gap: 6px;
}
html body.pagina-negocio .neg-principal .svd-estrella:has(.svd-cols) .svd-texto .svd-desc ul.svd-columnas li:hover { background: none !important; }
html body.pagina-negocio .neg-principal .svd-estrella:has(.svd-cols) .svd-columnas .svd-ci {
    width: 42px !important; height: 42px !important; margin-bottom: 10px !important; border-radius: 50% !important;
    background: transparent !important; border: 1px solid color-mix(in srgb, var(--fx-acento) 35%, #fff); color: var(--fx-acento) !important;
}
html body.pagina-negocio .neg-principal .svd-estrella:has(.svd-cols) .svd-columnas .svd-ci svg { width: 19px; height: 19px; stroke-width: 1.6; }
html body.pagina-negocio .neg-principal .svd-estrella:has(.svd-cols) .svd-columnas li b { color: var(--fx-tinta) !important; font-weight: 650; font-size: 15px; }
html body.pagina-negocio .neg-principal .svd-estrella:has(.svd-cols) .svd-columnas li .svd-cd { color: var(--fx-texto) !important; font-size: 13.5px; }

/* Cierre: texto, etiquetas como texto suave, precio y botones */
html body.pagina-negocio .neg-principal .svd-estrella:has(.svd-cols) .svd-final,
html body.pagina-negocio .neg-principal .svd-estrella:has(.svd-cols) .svd-final :is(p, li) { color: var(--fx-texto) !important; }
html body.pagina-negocio .neg-principal .svd-estrella:has(.svd-cols) .svd-final strong { color: var(--fx-tinta) !important; }
html body.pagina-negocio .neg-principal .svd-estrella:has(.svd-cols) .tx-etiquetas { gap: 4px 12px !important; margin-top: 12px !important; }
html body.pagina-negocio .neg-principal .svd-estrella:has(.svd-cols) .tx-etiquetas span {
    padding: 0 !important; background: none !important; border-radius: 0 !important; font-weight: 500 !important; font-size: 13px !important;
    color: color-mix(in srgb, var(--fx-acento) 75%, #334155) !important;
}
html body.pagina-negocio .neg-principal .svd-estrella:has(.svd-cols) .svd-precio { color: var(--fx-texto) !important; }
html body.pagina-negocio .neg-principal .svd-estrella:has(.svd-cols) .svd-precio strong { color: var(--fx-tinta) !important; }
html body.pagina-negocio .neg-principal .svd-estrella:has(.svd-cols) .svd-btn {
    background: var(--fx-marca) !important; color: #fff !important; border: 0 !important; box-shadow: none !important;
}
html body.pagina-negocio .neg-principal .svd-estrella:has(.svd-cols) .svd-btn:hover { filter: none; background: color-mix(in srgb, var(--fx-marca) 85%, #000) !important; }
html body.pagina-negocio .neg-principal .svd-estrella:has(.svd-cols) .svd-wa {
    background: #fff !important; color: #16A34A !important; border: 1px solid #D9F2E1 !important; box-shadow: none !important;
}
html body.pagina-negocio .neg-principal .svd-estrella:has(.svd-cols) .svd-wa:hover { background: #F0FBF4 !important; }
html body.pagina-negocio .neg-principal .svd-estrella:has(.svd-cols) .svd-fav { background: #F5F5F4 !important; color: var(--fx-tinta) !important; border: 1px solid #E7E5E4 !important; }

@media (max-width: 640px) {
    html body.pagina-negocio .neg-principal .svd-estrella:has(.svd-cols) .svd-texto .svd-desc ul.svd-columnas { gap: 0 !important; }
    html body.pagina-negocio .neg-principal .svd-estrella:has(.svd-cols) .svd-texto .svd-desc ul.svd-columnas li {
        border-left: 0 !important; border-top: 1px solid var(--fx-linea) !important; padding: 16px 0 !important;
        flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 12px;
    }
    html body.pagina-negocio .neg-principal .svd-estrella:has(.svd-cols) .svd-columnas .svd-ci { margin: 0 !important; width: 38px !important; height: 38px !important; }
    html body.pagina-negocio .neg-principal .svd-estrella:has(.svd-cols) .svd-columnas li b { flex: 1; }
    html body.pagina-negocio .neg-principal .svd-estrella:has(.svd-cols) .svd-columnas li .svd-cd { flex-basis: 100%; }
}
/* Esquinas según la plantilla (las cuadradas, casi rectas) */
html body.pagina-negocio .neg-principal .svd-estrella:has(.svd-cols) { border-radius: clamp(6px, var(--t-radio, 22px), 26px) !important; }

/* Cierre ordenado (24-oct-2026): el texto final y las etiquetas a todo lo ancho,
   y abajo una sola fila con el precio a la izquierda y los botones a la derecha */
html body.pagina-negocio .neg-principal .svd-estrella:has(.svd-cols) .tx-etiquetas span { white-space: nowrap; }
@media (min-width: 901px) {
    html body.pagina-negocio .neg-principal .svd-estrella:has(.svd-cols) .svd-texto { column-gap: 24px !important; }
    html body.pagina-negocio .neg-principal .svd-estrella:has(.svd-cols) .svd-final {
        grid-column: 1 / -1 !important; grid-row: auto !important; max-width: none !important;
        padding-bottom: 22px; margin-bottom: 22px; border-bottom: 1px solid var(--fx-linea, #ECEAE6);
    }
    html body.pagina-negocio .neg-principal .svd-estrella:has(.svd-cols) .svd-final > :not(.tx-etiquetas) { max-width: 90ch; }
    html body.pagina-negocio .neg-principal .svd-estrella:has(.svd-cols) .svd-precio { grid-column: 1 !important; justify-self: start !important; align-self: center; margin: 0 !important; }
    html body.pagina-negocio .neg-principal .svd-estrella:has(.svd-cols) .svd-botones { grid-column: 2 !important; justify-self: end !important; align-self: center; width: 380px; max-width: none; margin: 0; }
    html body.pagina-negocio .neg-principal .svd-estrella:has(.svd-cols) .svd-precio strong { font-size: 18px; }
}
@media (max-width: 900px) {
    html body.pagina-negocio .neg-principal .svd-estrella:has(.svd-cols) .svd-final { padding-bottom: 16px; margin-bottom: 4px; border-bottom: 1px solid var(--fx-linea, #ECEAE6); }
}

/* Letras más grandes y cómodas de leer (24-oct-2026) */
html body.pagina-negocio .neg-principal .svd-estrella:has(.svd-cols) .svd-texto h3 { font-size: clamp(24px, 2.4vw, 32px) !important; }
html body.pagina-negocio .neg-principal .svd-estrella:has(.svd-cols) .svd-desc.svd-cols,
html body.pagina-negocio .neg-principal .svd-estrella:has(.svd-cols) .svd-desc.svd-cols > p { font-size: 17px !important; line-height: 1.6 !important; }
html body.pagina-negocio .neg-principal .svd-estrella:has(.svd-cols) .svd-columnas li b { font-size: 17px !important; line-height: 1.3; }
html body.pagina-negocio .neg-principal .svd-estrella:has(.svd-cols) .svd-columnas li .svd-cd { font-size: 15px !important; line-height: 1.55 !important; }
html body.pagina-negocio .neg-principal .svd-estrella:has(.svd-cols) .svd-columnas .svd-ci { width: 46px !important; height: 46px !important; }
html body.pagina-negocio .neg-principal .svd-estrella:has(.svd-cols) .svd-columnas .svd-ci svg { width: 21px; height: 21px; }
html body.pagina-negocio .neg-principal .svd-estrella:has(.svd-cols) .svd-final,
html body.pagina-negocio .neg-principal .svd-estrella:has(.svd-cols) .svd-final :is(p, li) { font-size: 16.5px !important; line-height: 1.6 !important; }
html body.pagina-negocio .neg-principal .svd-estrella:has(.svd-cols) .tx-etiquetas span { font-size: 14px !important; }
html body.pagina-negocio .neg-principal .svd-estrella:has(.svd-cols) .svd-precio { font-size: 16px !important; }
html body.pagina-negocio .neg-principal .svd-estrella:has(.svd-cols) .svd-precio strong { font-size: 19px !important; }
html body.pagina-negocio .neg-principal .svd-estrella:has(.svd-cols) .svd-btn { font-size: 17px !important; min-height: 52px; }
/* Hoja de detalle de los demás servicios */
.sv-hoja .sv-con-fichas li b { font-size: 16px !important; }
.sv-hoja .sv-con-fichas li .svd-cd { font-size: 14.5px !important; }
.sv-hoja .sv-con-fichas .svd-final { font-size: 15.5px !important; }
@media (max-width: 640px) {
    html body.pagina-negocio .neg-principal .svd-estrella:has(.svd-cols) .svd-desc.svd-cols,
    html body.pagina-negocio .neg-principal .svd-estrella:has(.svd-cols) .svd-desc.svd-cols > p { font-size: 16px !important; }
    html body.pagina-negocio .neg-principal .svd-estrella:has(.svd-cols) .svd-columnas li b { font-size: 16.5px !important; }
    html body.pagina-negocio .neg-principal .svd-estrella:has(.svd-cols) .svd-columnas li .svd-cd { font-size: 15px !important; }
    html body.pagina-negocio .neg-principal .svd-estrella:has(.svd-cols) .svd-final,
    html body.pagina-negocio .neg-principal .svd-estrella:has(.svd-cols) .svd-final :is(p, li) { font-size: 16px !important; }
}

/* Presentación ordenada: un solo párrafo de ancho cómodo y la frase «Cubrimos…»
   como etiqueta pequeña con una raya, justo encima de las fichas */
html body.pagina-negocio .neg-principal .svd-estrella:has(.svd-cols) .svd-desc.svd-cols > p.svd-intro {
    margin: 4px 0 0 !important; max-width: 68ch !important; text-wrap: pretty; color: var(--fx-texto, #57534E) !important;
}
html body.pagina-negocio .neg-principal .svd-estrella:has(.svd-cols) .svd-desc.svd-cols > p.svd-antes {
    display: flex; align-items: center; gap: 14px; max-width: none !important; margin: 28px 0 0 !important;
    font-size: 12.5px !important; line-height: 1.3 !important; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
    color: var(--fx-acento, #0F766E) !important;
}
html body.pagina-negocio .neg-principal .svd-estrella:has(.svd-cols) .svd-desc.svd-cols > p.svd-antes::after {
    content: ''; flex: 1; height: 1px; background: var(--fx-linea, #ECEAE6);
}
html body.pagina-negocio .neg-principal .svd-estrella:has(.svd-cols) .svd-desc.svd-cols > p.svd-antes + ul.svd-columnas { margin-top: 20px !important; }
/* En la hoja de detalle */
.sv-hoja .sv-con-fichas .svd-intro { margin: 0 0 4px; font-size: 15.5px; line-height: 1.6; color: #475569; text-wrap: pretty; }
.sv-hoja .sv-con-fichas .svd-antes { margin: 16px 0 0; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--color-principal, #0F766E); }
@media (max-width: 640px) {
    html body.pagina-negocio .neg-principal .svd-estrella:has(.svd-cols) .svd-desc.svd-cols > p.svd-antes { margin-top: 22px !important; letter-spacing: .1em; }
}
