/* Ajustes de ProfesionalNet sobre la web compilada (02/12/2026). */

/* Rejilla de servicios simétrica: filas completas y la última centrada. */
@media (min-width: 600px) {
  .svc-grid { display: flex; flex-wrap: wrap; justify-content: center; }
  .svc-grid > * { flex: 0 0 calc((100% - var(--sp-4)) / 2); min-width: 0; }
}
@media (min-width: 1000px) {
  .svc-grid > * { flex-basis: calc((100% - 3 * var(--sp-4)) / 4); }
  .svc-grid--3 > * { flex-basis: calc((100% - 2 * var(--sp-4)) / 3); }
}

.footer__brand .logo__img--conjunto { width: 257px; height: auto; }

/* Banda de llamada (como la de la portada). */
.llamada { background: #fff; text-align: center; padding-block: var(--section-y, 4rem); border-top: 1px solid var(--color-line); border-bottom: 1px solid var(--color-line); }
.llamada__logo { display: block; width: min(100%, 22rem); height: auto; margin: 0 auto var(--sp-6, 1.5rem); }
.llamada__titulo { font-size: clamp(1.6rem, 1.1rem + 2vw, 2.6rem); line-height: 1.2; margin: 0 0 var(--sp-4, 1rem); font-weight: 400; color: var(--c-tinta, #16231f); }
.llamada__titulo strong { color: var(--color-accent, #0b5bd3); font-weight: 700; }
.llamada__texto { font-size: clamp(1.05rem, 1rem + .4vw, 1.3rem); margin: 0 auto var(--sp-4, 1rem); max-width: 48rem; }
.llamada__raya { width: 12rem; height: 3px; border: 0; background: var(--c-maiz-400, #f2b53a); margin: var(--sp-5, 1.25rem) auto; }
.llamada__ya { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); font-weight: 700; color: var(--color-accent, #0b5bd3); margin: var(--sp-5, 1.25rem) 0 var(--sp-3, .75rem); }
.llamada__tel { display: inline-flex; align-items: center; gap: .5rem; font-size: clamp(2rem, 1.4rem + 2.6vw, 3.2rem); font-weight: 800; color: var(--color-accent, #0b5bd3); text-decoration: none; letter-spacing: .01em; }
.llamada__tel:hover { text-decoration: underline; text-underline-offset: .15em; }
.llamada__tel:focus-visible { outline: 3px solid var(--color-focus, #0b5a7a); outline-offset: 4px; border-radius: 6px; }
.llamada__tel svg { width: .8em; height: .8em; }

/* Portada (02/12/2026): bloques con foto y comparador antes y después. */
.bloque-foto { display: grid; gap: var(--sp-6, 2rem); align-items: center; }
@media (min-width: 900px) {
  .bloque-foto { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--sp-8, 3.5rem); }
  .bloque-foto--der .bloque-foto__img { order: 2; }
  .bloque-foto--der { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
}
.bloque-foto__img { margin: 0; }
.bloque-foto__img img { display: block; width: 100%; height: auto; border-radius: 16px; }
.bloque-foto__img figcaption { font-size: var(--fs-sm, .9375rem); color: var(--color-text-muted, #4f625b); margin-top: var(--sp-2, .5rem); }
.bloque-foto .prose h2 { margin-top: 0; }
.ba { margin: var(--sp-5, 1.25rem) 0; }
.ba__marco { position: relative; overflow: hidden; border-radius: 16px; aspect-ratio: 4 / 3; background: var(--color-bg-alt, #eef3ef); --pos: 50%; touch-action: pan-y; }
.ba__marco picture, .ba__marco img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.ba__despues { clip-path: inset(0 0 0 var(--pos)); }
.ba__linea { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.25); pointer-events: none; }
.ba__linea::after { content: ""; position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.3); background-image: linear-gradient(90deg, transparent 14px, #16231f 14px, #16231f 16px, transparent 16px, transparent 28px, #16231f 28px, #16231f 30px, transparent 30px); }
.ba__etq { position: absolute; bottom: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(0,0,0,.6); color: #fff; font-size: var(--fs-xs, .8125rem); font-weight: 600; pointer-events: none; }
.ba__etq--antes { left: 12px; } .ba__etq--despues { right: 12px; }
.ba__rango { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.ba__rango:focus-visible + .ba__linea::after { outline: 3px solid var(--color-focus, #0b5a7a); outline-offset: 3px; }
.ba figcaption { font-size: var(--fs-sm, .9375rem); color: var(--color-text-muted, #4f625b); margin-top: var(--sp-2, .5rem); }
