/* mktn.es · Plantilla de página de servicio (G13 v2, propuesta 13a "Expediente").
   Bloques: cabecera con ranura de imagen, perfiles, proceso, qué incluye, nota de identidad, caso institucional
   (carrusel), testimonios, FAQ (faq.css), casos, banda local y CTA final (cierra con footer.css).
   Puntos de ruptura del diseño: móvil < 1024, tableta 1024 a 1279, escritorio 1280 o más.
   Margen lateral: --gut de system.css (64 px; a 1440 el contenido mide 1312 px). Solo modo claro. */

.sv {
  --h1: 112px; --h2: 72px; --h2s: 48px; --h3: 22px; --h3r: 28px; --lead: 21px;
  --sec: 120px; --band: 64px; --hg: 64px; --rowY: 28px; --fs: 17px;
  --heroTop: 80px; --heroGap: 40px; --imgR: 16 / 7;
  --ink: #161616; --mute: #5E5D58; --soft: #3E3D3A; --rule: #D8D6CF; --green: #1F3A30;
  font-size: var(--fs); line-height: 1.55; color: var(--ink);
}
@media (max-width: 1279px) {
  .sv { --h1: 80px; --h2: 56px; --h2s: 40px; --h3: 21px; --h3r: 24px; --lead: 19px; --sec: 96px; --band: 56px; --hg: 48px; --rowY: 24px; --heroTop: 64px; --heroGap: 32px; }
}
@media (max-width: 1023px) {
  .sv { --h1: 44px; --h2: 38px; --h2s: 30px; --h3: 20px; --h3r: 21px; --lead: 18px; --sec: 72px; --band: 48px; --hg: 32px; --rowY: 20px; --fs: 16px; --heroTop: 40px; --heroGap: 24px; --imgR: 4 / 3; }
}
.sv p { text-wrap: pretty; }
.sv h1, .sv h2, .sv h3 { text-wrap: balance; }
.sv strong { font-weight: 600; }
.sv ul, .sv ol { list-style: none; margin: 0; padding: 0; }

/* Piezas comunes */
.sv-sec { padding: var(--sec) var(--gut); }
.sv-in { display: flex; flex-direction: column; gap: var(--hg); }
.sv-eyb { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.sv-bh { display: flex; flex-direction: column; gap: 16px; }
.sv h2.sv-h2 { margin: 0; font-size: var(--h2); line-height: .95; font-weight: 600; letter-spacing: -.045em; }
.sv h2.sv-h2s { margin: 0; font-size: var(--h2s); line-height: 1.02; font-weight: 600; letter-spacing: -.035em; }
.sv h3.sv-h3 { margin: 0; font-size: var(--h3); line-height: 1.2; font-weight: 600; letter-spacing: -.02em; }
.sv-lead { margin: 0; font-size: var(--lead); line-height: 1.45; max-width: 30em; }
.sv-cab { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; }
@media (max-width: 1023px) { .sv-cab { grid-template-columns: minmax(0, 1fr); } }

.sv-lk { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--green); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.sv-lk:hover { text-decoration-thickness: 3px; }
.sv a:focus-visible, .sv summary:focus-visible, .sv button:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.sv-lk:focus-visible { border-radius: 2px; }

.sv-btn { display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 28px; border-radius: 28px; border: 2px solid var(--ink); background: var(--ink); color: #F4F3EF; font-size: 17px; font-weight: 600; text-decoration: none; transition: background-color .15s ease, border-color .15s ease; }
.sv-btn:hover { background: var(--green); border-color: var(--green); }
.sv-btn svg { flex: none; }
.sv-ghost { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 24px; border: 2px solid currentColor; font-weight: 600; text-decoration: none; transition: background-color .15s ease, color .15s ease; }
.sv-ghost svg { flex: none; }
.sv-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* 1. Cabecera */
.sv-hero { padding: calc(56px + var(--heroTop)) var(--gut) 0; }
.sv-hero-in { display: flex; flex-direction: column; gap: var(--heroGap); }
.sv-hero h1 { margin: 0; font-size: var(--h1); line-height: .92; font-weight: 600; letter-spacing: -.05em; max-width: 13.5em; color: var(--ink); }
.sv-hero-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; }
.sv-sign { display: flex; align-items: center; gap: 14px; }
.sv-sign img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; background: var(--rule); }
.sv-sign span { display: flex; flex-direction: column; line-height: 1.35; }
.sv-sign strong { font-size: 17px; font-weight: 600; }
.sv-sign small { font-size: 15px; color: var(--mute); }
.sv-hero-act { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.sv-sec2 { margin: 0; font-size: 16px; color: var(--mute); }
.sv-sec2 .sv-lk { display: inline-block; padding: 10px 0; }
/* Tableta y móvil: botón y firma en una fila, el enlace secundario debajo en una línea */
@media (max-width: 1023px) {
  .sv-hero-row { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 16px 32px; }
  .sv-hero-act { display: contents; }
  .sv-hero-act .sv-btn { grid-column: 1; grid-row: 1; justify-self: start; }
  .sv-hero-row .sv-sign { grid-column: 2; grid-row: 1; justify-self: end; }
  .sv-hero-act .sv-sec2 { grid-column: 1 / -1; grid-row: 2; font-size: 15px; }
}
@media (max-width: 599px) {
  .sv-hero-row { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .sv-hero-act .sv-btn, .sv-hero-act .sv-sec2, .sv-hero-row .sv-sign { grid-column: 1; justify-self: stretch; }
  .sv-hero-act .sv-btn { grid-row: 1; justify-content: center; }
  .sv-hero-act .sv-sec2 { grid-row: 2; text-align: center; }
  .sv-hero-row .sv-sign { grid-row: 3; justify-content: center; margin-top: 12px; padding-top: 24px; border-top: 1px solid var(--rule); }
}
.sv-hero-img { width: 100%; height: auto; aspect-ratio: var(--imgR); object-fit: cover; object-position: top; border-radius: var(--r-img, 6px); display: block; background: var(--rule); }

/* 2. Perfiles */
.sv-who { --h2a: 72px; --who-h3: 24px; --who-row: 22px; --icCol: 48px; --icGap: 20px; }
@media (max-width: 1279px) { .sv-who { --h2a: 40px; --who-h3: 22px; --who-row: 20px; } }
@media (max-width: 1023px) { .sv-who { --h2a: 38px; --who-h3: 20px; --icCol: 24px; --icGap: 14px; } }
.sv-who-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--hg) 64px; align-items: start; }
@media (max-width: 1023px) { .sv-who-in { grid-template-columns: minmax(0, 1fr); gap: 32px; } }
.sv-who-l { display: flex; flex-direction: column; gap: 40px; }
.sv-who .sv-h2 { font-size: var(--h2a); max-width: 14em; text-wrap: balance; }
@media (max-width: 1023px) { .sv-scene { display: none; } }

/* Lista de perfiles (índice). Sin JS se ven los cinco textos completos y el primer boceto. */
.sv-prof { border-top: 1px solid var(--rule); }
.sv-prof li { display: grid; grid-template-columns: var(--icCol) minmax(0, 1fr); gap: 4px var(--icGap); align-items: start; padding: var(--who-row) 0; border-bottom: 1px solid var(--rule); }
.sv-pi { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; box-sizing: border-box; border: 1.5px solid var(--rule); color: var(--ink); transition: background-color .25s ease, border-color .25s ease, color .25s ease; }
.sv-pi svg { display: block; }
.sv-prof li.is-on .sv-pi { background: var(--green); border-color: var(--green); color: #F4F3EF; }
.sv-pb { display: flex; flex-direction: column; gap: 2px; }
.sv h3.sv-pt { margin: 0; font-size: var(--who-h3); line-height: 1.15; font-weight: 600; letter-spacing: -.02em; text-wrap: balance; transition: color .2s ease; }
.sv-pt button { display: inline-flex; align-items: center; min-height: 44px; max-width: 100%; padding: 0; margin: 0; background: transparent; border: 0; font: inherit; letter-spacing: inherit; text-align: left; color: inherit; cursor: pointer; border-radius: 2px; text-wrap: balance; }
.sv-prof p { margin: 0; max-width: 36em; transition: color .2s ease; }
.sv-prof.is-js li.is-on .sv-pt { color: var(--green); }
.sv-prof.is-js li:not(.is-on) p { color: var(--mute); }
@media (max-width: 1023px) {
  .sv-pi { width: 24px; height: 22px; border: 0; border-radius: 0; margin-top: 11px; }
  .sv-pi svg { width: 22px; height: 22px; }
  .sv-prof li.is-on .sv-pi { background: none; color: var(--green); }
}

/* Boceto que cambia con el perfil */
.sv-scene { position: relative; aspect-ratio: 16 / 11; }
.sv-scn { position: absolute; inset: 0; border-radius: var(--r-img, 6px); background: #E9E7E1; overflow: hidden; opacity: 0; transition: opacity .35s ease; }
.sv-scn:first-child { background: #D7EDE8; }
.sv-scn.is-on { opacity: 1; }
.sv-win { position: absolute; inset: 12% 14%; background: #F4F3EF; border: 1.5px solid var(--ink); border-radius: 6px; overflow: hidden; }
.sv-win > * { position: absolute; box-sizing: border-box; display: block; }
.sv-wbar { left: 0; right: 0; top: 0; height: 12%; border-bottom: 1.5px solid var(--ink); }
.sv-win > i, .sv-win > svg { opacity: 0; transform: translateY(10px); transition: opacity .4s ease, transform .5s cubic-bezier(.2,.7,.2,1); }
.sv-scn.is-on .sv-win > i, .sv-scn.is-on .sv-win > svg { opacity: 1; transform: none; }
.sv-win > :nth-child(3) { transition-delay: .06s; } .sv-win > :nth-child(4) { transition-delay: .12s; } .sv-win > :nth-child(5) { transition-delay: .18s; } .sv-win > :nth-child(6) { transition-delay: .24s; } .sv-win > :nth-child(n+7) { transition-delay: .3s; }
.sv-scn .b { background: var(--ink); border-radius: 2px; }
.sv-scn .b1 { left: 14%; width: 72%; bottom: 12%; height: 16%; }
.sv-scn .b2 { left: 22%; width: 56%; bottom: 30%; height: 16%; }
.sv-scn .b3 { left: 30%; width: 40%; bottom: 48%; height: 16%; background: var(--green); border: 1.5px solid var(--green); }
.sv-scn .l1 { left: 10%; top: 24%; width: 58%; height: 7%; background: var(--ink); }
.sv-scn .l2 { left: 10%; top: 37%; width: 40%; height: 7%; background: var(--rule); }
.sv-scn .pill { left: 10%; top: 56%; width: 34%; height: 15%; border-radius: 99px; background: var(--rule); }
.sv-scn .cur { left: 72%; top: 72%; width: 13%; overflow: visible; fill: #F4F3EF; stroke: var(--ink); stroke-width: 1.75; stroke-linejoin: round; }
.sv-scn .axis { left: 14%; right: 14%; bottom: 14%; height: 2px; background: var(--ink); }
.sv-scn .c1 { left: 28%; width: 17%; bottom: 14%; height: 58%; background: var(--ink); }
.sv-scn .c2 { left: 55%; width: 17%; bottom: 14%; height: 20%; background: var(--green); }
.sv-scn .t { width: 20%; height: 26%; border-radius: 3px; background: var(--rule); }
.sv-scn .t1 { left: 14%; top: 26%; } .sv-scn .t2 { left: 38%; top: 26%; } .sv-scn .t3 { left: 14%; top: 58%; } .sv-scn .t4 { left: 38%; top: 58%; }
.sv-scn .btn { left: 66%; top: 26%; width: 20%; height: 14%; border-radius: 99px; border: 1.5px solid var(--ink); }
.sv-scn .sun { left: 81%; top: 19%; width: 8%; aspect-ratio: 1 / 1; border-radius: 50%; background: #F8E5AB; border: 1.5px solid var(--ink); }
.sv-win > .sun { transform: scale(0); }
.sv-scn.is-on .sv-win > .sun { transform: scale(1); }
.sv-scn .ln1 { left: 66%; top: 50%; width: 20%; height: 6%; background: var(--rule); }
.sv-scn .ln2 { left: 66%; top: 62%; width: 13%; height: 6%; background: var(--rule); }
.sv-scn .vid { left: 10%; top: 24%; width: 50%; height: 46%; background: var(--ink); border-radius: 3px; }
.sv-scn .play { left: 30%; top: 39%; width: 9%; overflow: visible; fill: #F4F3EF; }
.sv-scn .r1, .sv-scn .r2, .sv-scn .r3 { left: 66%; width: 24%; height: 8%; border-radius: 2px; background: var(--rule); }
.sv-scn .r1 { top: 24%; } .sv-scn .r2 { top: 38%; } .sv-scn .r3 { top: 52%; }
.sv-scn .bar { left: 10%; top: 80%; width: 80%; height: 4%; background: var(--rule); }
.sv-scn .bar2 { left: 10%; top: 80%; width: 16%; height: 4%; background: var(--green); }
@media (prefers-reduced-motion: reduce) {
  .sv-scn, .sv-win > i, .sv-win > svg, .sv-pi, .sv-pt, .sv-prof p { transition: none; }
  .sv-win > i, .sv-win > svg { transform: none; }
}

/* 3. Proceso (bloque oscuro) */
.sv-dark { background: #161616; color: #ECEAE4; }
.sv-dark .sv-eyb { color: #A09E97; }
.sv-dark a:focus-visible, .sv-dark summary:focus-visible { outline-color: #ECEAE4; }
.sv-proc { --stair: 36px; --stP: 24px; --stH3: 21px; --stJ: 208px; }
@media (max-width: 1279px) { .sv-proc { --stair: 28px; --stP: 22px; --stH3: 20px; --stJ: 132px; } }
@media (max-width: 1023px) { .sv-proc { --stair: 20px; --stP: 20px; --stH3: 19px; --stJ: 156px; } }

/* Escalera de paneles: cada paso es un intercambio (Tú arriba, Javier abajo). La parte Javier comparte base y alineación. */
.sv ol.sv-steps { display: flex; align-items: stretch; gap: 12px; margin: 0 calc(-1 * var(--gut)); padding: 0 var(--gut) 4px; overflow-x: visible; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gut); scrollbar-width: none; }
.sv ol.sv-steps::-webkit-scrollbar { display: none; }
@media (max-width: 1279px) { .sv ol.sv-steps { overflow-x: auto; } }
.sv-steps li { position: relative; overflow: hidden; isolation: isolate; flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 18px; padding: var(--stP); box-sizing: border-box; border-radius: var(--r-img, 6px); border: 1px solid #2C2B29; background: #1E1E1D; color: #ECEAE4; scroll-snap-align: start; transition: border-color .5s cubic-bezier(.2,.7,.2,1); }
/* El panel se rellena de crema de arriba abajo, siguiendo la flecha Tú a Javier, y el texto cambia en cascada */
.sv-steps li::before { content: ""; position: absolute; inset: 0; z-index: -1; background: #ECEAE4; transform: scaleY(0); transform-origin: top; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.sv-steps li:nth-child(1) { margin-top: calc(4 * var(--stair)); }
.sv-steps li:nth-child(2) { margin-top: calc(3 * var(--stair)); }
.sv-steps li:nth-child(3) { margin-top: calc(2 * var(--stair)); }
.sv-steps li:nth-child(4) { margin-top: var(--stair); }
.sv-steps li:nth-child(5) { margin-top: 0; }
@media (max-width: 1279px) { .sv-steps li { flex: 0 0 300px; } }
@media (max-width: 1023px) { .sv-steps li { flex-basis: 78%; } }
.sv-nb { width: 44px; height: 44px; border-radius: 50%; box-sizing: border-box; border: 1.5px solid #A09E97; background: transparent; color: #ECEAE4; font: inherit; font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; display: grid; place-items: center; padding: 0; transition: background-color .3s ease, border-color .3s ease, color .3s ease; }
button.sv-nb { cursor: pointer; }
.sv-steps li:has(.sv-nb[aria-pressed="true"]) { border-color: #ECEAE4; }
.sv-steps li:has(.sv-nb[aria-pressed="true"])::before { transform: scaleY(1); }
.sv-nb[aria-pressed="true"] { background: #161616; border-color: #161616; color: #F8E5AB; transition-delay: 0s; }
.sv-nb:focus-visible { outline: 3px solid #F8E5AB; outline-offset: 3px; }
.sv-cell { display: flex; flex-direction: column; gap: 6px; }
.sv-ja { margin-top: auto; min-height: var(--stJ); }
.sv-cell strong { font-size: var(--stH3); line-height: 1.2; font-weight: 600; letter-spacing: -.02em; text-wrap: balance; color: #ECEAE4; transition: color .3s ease; }
.sv-cell span.t { font-size: 16px; line-height: 1.5; color: #A09E97; text-wrap: pretty; transition: color .3s ease; }
.sv-lbl { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #A09E97; transition: color .3s ease; }
.sv-lbl svg { flex: none; }
.sv-lbl img { width: 20px; height: 20px; border-radius: 50%; object-fit: cover; background: #2C2B29; flex: none; transition: background-color .3s ease; }
.sv-sep { display: flex; align-items: center; gap: 10px; color: #A09E97; transition: color .3s ease; }
.sv-sep span { flex: 1 1 0; height: 1px; background: currentColor; }
.sv-sep svg { flex: none; width: 16px; height: 16px; }
/* panel activo: primero el número, luego Tú, la flecha y por último Javier */
.sv-steps li:has(.sv-nb[aria-pressed="true"]) strong { color: #161616; }
.sv-steps li:has(.sv-nb[aria-pressed="true"]) .sv-lbl, .sv-steps li:has(.sv-nb[aria-pressed="true"]) .t { color: #5E5D58; }
.sv-steps li:has(.sv-nb[aria-pressed="true"]) .sv-sep { color: #161616; }
.sv-steps li:has(.sv-nb[aria-pressed="true"]) .sv-lbl img { background: #D8D6CF; }
.sv-steps li:has(.sv-nb[aria-pressed="true"]) .sv-tu * { transition-delay: .05s; }
.sv-steps li:has(.sv-nb[aria-pressed="true"]) .sv-sep { transition-delay: .11s; }
.sv-steps li:has(.sv-nb[aria-pressed="true"]) .sv-ja * { transition-delay: .17s; }
@media (prefers-reduced-motion: reduce) { .sv-steps li, .sv-steps li::before, .sv-nb, .sv-cell strong, .sv-cell span.t, .sv-lbl, .sv-lbl img, .sv-sep { transition: none !important; transition-delay: 0s !important; } }
.sv-quote { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 64px; align-items: end; }
@media (max-width: 1023px) { .sv-quote { grid-template-columns: minmax(0, 1fr); } }
.sv-quote p { margin: 0; font-size: 30px; line-height: 1.3; letter-spacing: -.015em; max-width: 30em; }
@media (max-width: 1279px) { .sv-quote p { font-size: 26px; } }
@media (max-width: 1023px) { .sv-quote p { font-size: 22px; } }
.sv-quote u { text-decoration: underline; text-decoration-color: #F8E5AB; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.sv-quote .sv-sign small { color: #A09E97; }
.sv-quote .sv-sign img { background: #2C2B29; }

/* 4. Qué incluye */
#includes-title > span { color: var(--green); }
.sv-inc { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.sv-ic { display: flex; flex-direction: row; align-items: flex-start; gap: 20px; padding: 24px; border-radius: var(--r-img, 6px); border: 1px solid var(--rule); box-sizing: border-box; min-width: 0; transition: border-color .5s cubic-bezier(.25,.8,.25,1); }
.sv-ic.is-on { border-color: var(--green); }
.sv-ic1 { grid-area: 1 / 1 / 3 / 2; flex-direction: column; align-items: stretch; }
.sv-ic2 { grid-area: 1 / 2 / 2 / 3; } .sv-ic3 { grid-area: 1 / 3 / 2 / 4; } .sv-ic4 { grid-area: 2 / 2 / 3 / 3; } .sv-ic5 { grid-area: 2 / 3 / 3 / 4; }
.sv-ic6 { grid-area: 3 / 1 / 4 / 4; }
@media (max-width: 1279px) {
  .sv-inc { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sv-ic { padding: 20px; }
  .sv-ic1, .sv-ic6 { grid-area: auto; grid-column: 1 / 3; flex-direction: row; align-items: flex-start; }
  .sv-ic2, .sv-ic3, .sv-ic4, .sv-ic5 { grid-area: auto; }
}
@media (max-width: 1023px) {
  .sv-inc { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .sv-ic, .sv-ic1, .sv-ic6 { grid-column: auto; padding: 16px; gap: 16px; }
}
.sv-tx { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1 1 0; }
.sv-ic1 .sv-tx { flex: 0 0 auto; }
@media (max-width: 1279px) { .sv-ic1 .sv-tx { flex: 1 1 0; } }
.sv-ic h3.sv-h3 { transition: color .3s ease; min-height: 0; }
.sv-ic.is-on h3.sv-h3 { color: var(--green); }
.sv-ic h3 button { display: flex; align-items: center; min-height: 44px; margin: -4px 0 0; padding: 0; background: transparent; border: 0; font: inherit; letter-spacing: inherit; text-align: left; color: inherit; cursor: pointer; border-radius: 2px; }
.sv-ic p { margin: 0; color: var(--soft); text-wrap: pretty; }

/* Bocetos: cada pieza se completa cuando su tarjeta está activa */
.sv-sk { position: relative; flex: 0 0 auto; width: 128px; height: 100px; border-radius: var(--r-img, 6px); background: #E9E7E1; overflow: hidden; transition: background-color .5s ease; }
.sv-ic.is-on .sv-sk { background: #D7EDE8; }
.sv-ic1 .sv-sk { flex: 1 1 auto; width: 100%; height: auto; min-height: 180px; }
@media (max-width: 1279px) { .sv-ic1 .sv-sk { flex: 0 0 auto; width: 220px; height: 100px; min-height: 0; } }
.sv-ic6 .sv-sk { width: 220px; }
@media (max-width: 1023px) { .sv-sk, .sv-ic1 .sv-sk { width: 84px; height: 72px; } .sv-ic6 .sv-sk { width: 84px; } }
.sv-sk .w { position: absolute; inset: 12%; background: #F4F3EF; border: 1.5px solid var(--ink); border-radius: 6px; overflow: hidden; }
.sv-sk .w > * { position: absolute; box-sizing: border-box; display: block; transition: all .5s cubic-bezier(.25,.8,.25,1); }
.sv-sk .bar { left: 0; right: 0; top: 0; height: 12%; border-bottom: 1.5px solid var(--ink); }
/* 1 */
.sv-sk .d { top: 14%; width: 22%; height: 72%; border: 1px dashed var(--mute); opacity: .6; } .sv-sk .d1 { left: 12%; } .sv-sk .d2 { left: 39%; } .sv-sk .d3 { left: 66%; }
.sv-sk .dot { left: 12%; top: 24%; width: 28%; aspect-ratio: 1 / 1; border-radius: 50%; background: var(--ink); transform: rotate(-8deg); }
.sv-sk .t1 { left: 50%; top: 30%; width: 38%; height: 12%; background: var(--ink); }
.sv-sk .t2 { left: 50%; top: 50%; width: 38%; height: 9%; background: var(--rule); }
.sv-ic1.is-on .d { opacity: 0; } .sv-ic1.is-on .dot { background: var(--green); transform: none; } .sv-ic1.is-on .t2 { width: 28%; }
/* 2 */
.sv-sk .mon { left: 8%; top: 20%; width: 58%; height: 52%; border: 1.5px solid var(--ink); border-radius: 3px; }
.sv-sk .ph { left: 54%; top: 38%; width: 18%; height: 52%; border: 1.5px solid var(--ink); border-radius: 4px; background: #F4F3EF; }
.sv-sk .trk { left: 8%; top: 82%; width: 58%; height: 5%; background: var(--rule); border-radius: 2px; }
.sv-sk .fill { left: 8%; top: 82%; width: 12%; height: 5%; background: var(--green); border-radius: 2px; }
.sv-ic2.is-on .ph { left: 72%; top: 26%; } .sv-ic2.is-on .fill { width: 58%; }
/* 3 */
.sv-sk .l { height: 9%; background: var(--rule); left: 12%; } .sv-sk .l1 { top: 20%; width: 70%; } .sv-sk .l2 { top: 34%; width: 50%; } .sv-sk .l3 { top: 48%; width: 30%; }
.sv-sk .cta { left: 12%; top: 66%; width: 34%; height: 14%; border-radius: 99px; background: var(--ink); }
.sv-sk .cur { left: 72%; top: 78%; width: 12%; overflow: visible; fill: #F4F3EF; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sv-ic3.is-on .cta { background: var(--green); } .sv-ic3.is-on .cur { left: 36%; top: 72%; }
/* 4 */
.sv-sk .side { left: 0; top: 0; width: 26%; height: 100%; background: var(--ink); }
.sv-sk .sw { left: 36%; width: 24%; height: 14%; border-radius: 99px; border: 1.5px solid var(--ink); background: transparent; } .sv-sk .sw1 { top: 26%; } .sv-sk .sw2 { top: 52%; }
.sv-sk .kn { width: 7%; aspect-ratio: 1 / 1; border-radius: 50%; background: var(--ink); left: 38.5%; } .sv-sk .kn1 { top: 28.5%; } .sv-sk .kn2 { top: 54.5%; transition-delay: 80ms; }
.sv-sk .x { left: 68%; height: 7%; background: var(--rule); } .sv-sk .x1 { top: 29%; width: 22%; } .sv-sk .x2 { top: 55%; width: 16%; }
.sv-ic4.is-on .sw { background: #D7EDE8; } .sv-ic4.is-on .kn { left: 49%; background: var(--green); }
/* 5 */
.sv-sk .cl { height: 6%; border-radius: 2px; background: var(--rule); }
.sv-sk .ok { left: 74%; top: 22%; width: 16%; overflow: visible; fill: none; stroke: var(--green); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transform: scale(0); }
.sv-ic5.is-on .cl1, .sv-ic5.is-on .cl3, .sv-ic5.is-on .cl5 { background: var(--green); } .sv-ic5.is-on .ok { transform: scale(1); }
/* 6 */
.sv-sk .ce { width: 10%; height: 16%; border-radius: 2px; background: var(--rule); }
.sv-ic6.is-on .ce.on { background: var(--green); }
@media (prefers-reduced-motion: reduce) { .sv-ic, .sv-sk, .sv-sk .w > *, .sv-ic h3.sv-h3 { transition: none !important; } }

/* 5. Nota de identidad (banda aguamarina) */
/* Banda de identidad (18c): mesa de muestras a la izquierda, texto a la derecha. Las piezas se alinean con hover, foco o toque. */
.sv-band { display: grid; grid-template-columns: 400px minmax(0, 1fr); padding-left: calc(var(--gut) - var(--pad)); background: #D7EDE8; color: #161616; }   /* en pantallas de más de 1440 px, la bandeja y el texto parten del margen del contenido, no del borde del navegador */
@media (max-width: 1279px) { .sv-band { grid-template-columns: 300px minmax(0, 1fr); } }
@media (max-width: 1023px) { .sv-band { grid-template-columns: minmax(0, 1fr); padding-left: 0; } }
.sv-tray { background: #E9E7E1; display: grid; place-items: center; overflow: hidden; cursor: default; }
@media (max-width: 1023px) { .sv-tray { min-height: 128px; } }
.sv-bench { position: relative; width: 296px; height: 140px; }
@media (max-width: 1279px) { .sv-bench { transform: scale(.85); } }
@media (max-width: 1023px) { .sv-bench { transform: scale(.78); } }
.sv-bench .pz { position: absolute; top: 28px; box-sizing: border-box; border: 1.5px solid #161616; border-radius: 3px; overflow: hidden; display: grid; place-items: center; transform: var(--t); transition: transform .5s cubic-bezier(.25,.8,.25,1) var(--d, 0s); }
.sv-bench .tira { width: 30px; height: 84px; }
.sv-bench .carta { width: 84px; height: 84px; background: #F4F3EF; }
.sv-bench .t-verde { left: 0; background: #1F3A30; --t: translate(18px,12px) rotate(-14deg); --d: 160ms; }
.sv-bench .t-amarillo { left: 34px; background: #F8E5AB; --t: translate(26px,-20px) rotate(9deg); --d: 120ms; }
.sv-bench .t-agua { left: 68px; background: #D7EDE8; --t: translate(-36px,22px) rotate(24deg); --d: 80ms; }
.sv-bench .c-aa { left: 112px; --t: translate(22px,18px) rotate(-8deg); --d: 40ms; }
.sv-bench .c-aa::before { content: "Aa" / ""; font-size: 38px; font-weight: 600; letter-spacing: -.03em; line-height: 1; color: #161616; font-style: normal; }
.sv-bench .c-retic { left: 210px; --t: translate(-12px,-24px) rotate(12deg); }
.sv-bench .c-retic b { position: absolute; background: #D8D6CF; }
.sv-bench .c-retic b:nth-child(1) { top: 0; bottom: 0; left: 27px; width: 1px; }
.sv-bench .c-retic b:nth-child(2) { left: 0; right: 0; top: 27px; height: 1px; }
.sv-bench .c-retic b:nth-child(3) { top: 0; bottom: 0; left: 54px; width: 1px; }
.sv-bench .c-retic b:nth-child(4) { left: 0; right: 0; top: 54px; height: 1px; }
.sv-bench .c-retic u { position: absolute; left: 28px; top: 28px; width: 25px; height: 25px; border-radius: 2px; background: #1F3A30; text-decoration: none; transform: translate(14px,-12px) rotate(16deg); transition: transform .5s cubic-bezier(.25,.8,.25,1); }
.sv-band.is-ord .pz, .sv-band:focus-within .pz { transform: none; }
.sv-band.is-ord .c-retic u, .sv-band:focus-within .c-retic u { transform: none; }
@media (hover: hover) { .sv-band:hover .pz { transform: none; } .sv-band:hover .c-retic u { transform: none; } }
.sv-band-body { padding: 44px 64px 44px 56px; display: flex; flex-direction: column; gap: 12px; min-width: 0; max-width: 960px; }
@media (max-width: 1279px) { .sv-band-body { padding-left: 48px; } }
@media (max-width: 1023px) { .sv-band-body { padding: 32px var(--gut) 40px; max-width: none; } }
.sv-band .sv-eyb { color: #1F3A30; }
.sv-bandh { margin: 0; font-size: 32px; line-height: 1.1; font-weight: 600; letter-spacing: -.03em; text-wrap: balance; }
@media (max-width: 1279px) { .sv-bandh { font-size: 30px; } }
@media (max-width: 1023px) { .sv-bandh { font-size: 26px; } }
.sv-band-row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 20px 40px; margin-top: 2px; }
.sv-band-p { margin: 0; flex: 1 1 440px; font-size: 16px; line-height: 1.55; color: #1F3A30; text-wrap: pretty; }
.sv-band .sv-ghost { flex: none; border: 1.5px solid #161616; color: #161616; white-space: nowrap; transition: background-color .4s cubic-bezier(.25,.8,.25,1), color .4s cubic-bezier(.25,.8,.25,1); }
.sv-band .sv-ghost:hover { background: #161616; color: #D7EDE8; }
.sv-band a:focus-visible { outline-color: #161616; }
@media (prefers-reduced-motion: reduce) { .sv-bench .pz, .sv-bench .c-retic u, .sv-band .sv-ghost { transition: none; } }

/* 6. Caso institucional: carrusel */
/* Caso institucional (19c, portadilla): una sola pieza con borde en tres franjas (título, capturas, texto). Todo el recuadro lleva al caso
   con un enlace extendido sobre el botón (un solo enlace con su texto). El orden del HTML se mantiene; la rejilla recoloca. */
.sv-inst { position: relative; max-width: 1312px; margin: 0 auto; padding: 40px; display: flex; flex-direction: column; gap: 36px; border: 1.5px solid var(--rule); border-radius: var(--r-img, 6px); transition: border-color .4s cubic-bezier(.25,.8,.25,1); }
.sv-inst-top { order: 1; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px 48px; align-items: end; }
.sv-inst-caps { order: 2; }
.sv-inst-bot { order: 3; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: end; }
.sv-inst:hover { border-color: var(--green); }
.sv-inst-caps { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; align-items: stretch; }
.sv-inst-caps img { display: block; width: 100%; border-radius: var(--r-img, 6px); outline: 1px solid var(--rule); outline-offset: -1px; object-fit: cover; }
.sv-cap1 { aspect-ratio: 1200 / 430; height: auto; object-position: 50% 0; }
.sv-cap2w { position: relative; min-height: 0; }
.sv-cap2w img { position: absolute; inset: 0; height: 100%; object-position: 50% 0; }
.sv-inst-meta { order: 2; display: flex; flex-direction: column; gap: 12px; align-items: flex-end; text-align: right; }
.sv-inst-meta img { height: 44px; width: auto; display: block; }
.sv-inst-meta .sv-eyb { color: var(--mute); }
.sv-inst-meta p.c { margin: 4px 0 0; font-size: 15px; color: var(--mute); }
.sv-insth { order: 1; margin: 0; font-size: 60px; line-height: 1.02; font-weight: 600; letter-spacing: -.04em; max-width: 16em; text-wrap: balance; }
.sv-inst-p { margin: 0; max-width: 38em; font-size: 19px; line-height: 1.55; text-wrap: pretty; }
.sv-inst-act { display: flex; flex-direction: column; gap: 16px; align-items: flex-end; }
.sv-tags { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.sv-tags li { font-size: 14px; font-weight: 500; padding: 4px 8px; border-radius: var(--r-tag, 3px); background: #E9E7E1; color: var(--ink); }
.sv-inst-cta { display: inline-flex; align-items: center; min-height: 52px; max-width: 100%; padding: 12px 26px; border-radius: 26px; border: 1.5px solid var(--ink); color: var(--ink); font-size: 17px; font-weight: 600; line-height: 1.3; text-decoration: none; white-space: nowrap; transition: background-color .4s cubic-bezier(.25,.8,.25,1), color .4s cubic-bezier(.25,.8,.25,1), border-color .4s cubic-bezier(.25,.8,.25,1); }
.sv-inst-cta::after { content: ""; position: absolute; inset: 0; border-radius: var(--r-img, 6px); }
.sv-inst:hover .sv-inst-cta, .sv-inst-cta:focus-visible { background: var(--green); border-color: var(--green); color: #F4F3EF; }
.sv-inst-cta:focus-visible { outline: none; }
.sv-inst-cta:focus-visible::after { outline: 2px solid var(--ink); outline-offset: 3px; }
@media (max-width: 1279px) {
  .sv-inst { padding: 32px; gap: 32px; }
  .sv-insth { font-size: 48px; }
  .sv-inst-p { font-size: 18px; }
}
@media (max-width: 1023px) {
  .sv-inst { padding: 20px; gap: 24px; }
  .sv-inst-top, .sv-inst-bot { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .sv-insth { font-size: 32px; }
  .sv-inst-meta { align-items: flex-start; text-align: left; }
  .sv-inst-caps { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .sv-cap2w { aspect-ratio: 4 / 3; max-height: 260px; }
  .sv-inst-p { font-size: 17px; }
  .sv-inst-act { align-items: flex-start; }
  .sv-tags { justify-content: flex-start; }
  .sv-inst-cta { width: 100%; font-size: 16px; white-space: normal; }
}
@media (prefers-reduced-motion: reduce) { .sv-inst, .sv-inst-cta { transition: none; } }

/* 7. Testimonios (bloque oscuro) */
.sv-tcab { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 64px; }
.sv-tcab h2.sv-h2 { line-height: .98; letter-spacing: -.04em; }
.sv-val { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; min-height: 44px; font-size: 15px; color: #ECEAE4; text-decoration: none; }
.sv-val:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.sv-val:focus-visible { outline-color: #ECEAE4; border-radius: 2px; }
.sv-stars { display: inline-flex; gap: 2px; color: #F8E5AB; }
.sv-val b { font-size: 20px; font-weight: 600; }
.sv-val .m { color: #A09E97; }
.sv-val .g { font-weight: 600; }
.sv-tg { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 56px 40px; align-items: start; }
.sv-tg > figure { grid-column: span 2; }
/* 11 no cuadra en tres columnas: las dos últimas (clase wide) se reparten la fila final en horizontal, captura a un lado y cita al otro */
.sv-tg > figure.wide { grid-column: span 3; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); column-gap: 28px; row-gap: 12px; align-content: center; align-items: start; }
.sv-tg > figure.wide .cap { grid-column: 1; grid-row: 1 / span 3; }
.sv-tg > figure.wide .sv-ctx, .sv-tg > figure.wide blockquote, .sv-tg > figure.wide figcaption { grid-column: 2; }
.sv-tg > figure.wide .sv-ctx { align-self: end; }
@media (max-width: 1279px) {
  .sv-tg { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sv-tg > figure, .sv-tg > figure.wide { grid-column: span 1; display: flex; }
  .sv-tg > figure.wide:last-child { grid-column: 1 / -1; display: grid; }
}
@media (max-width: 1023px) {
  .sv-tg { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .sv-tg > figure, .sv-tg > figure.wide, .sv-tg > figure.wide:last-child { grid-column: 1 / -1; display: flex; }
  .sv-tg > figure.wide .cap { grid-column: auto; grid-row: auto; }
}
.sv-tg figure { margin: 0; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.sv-tg .cap { width: 100%; height: auto; aspect-ratio: 16 / 10; display: block; border-radius: var(--r-img, 6px); outline: 1px solid #2C2B29; outline-offset: -1px; }
.sv-ctx { font-size: 13px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: #A09E97; }
.sv-tg blockquote { margin: 0; font-size: 17px; line-height: 1.5; text-wrap: pretty; }
.sv-tg blockquote::before { content: "«"; }
.sv-tg blockquote::after { content: "»"; }
@media (max-width: 1023px) { .sv-tg blockquote { font-size: 16px; } }
.sv-tg figcaption { display: flex; align-items: center; gap: 12px; }
.sv-tg figcaption img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; background: #2C2B29; }
.sv-tg figcaption span { display: flex; flex-direction: column; font-size: 14px; line-height: 1.35; }
.sv-tg figcaption strong { font-size: 15px; }
.sv-tg figcaption small { font-size: 14px; color: #A09E97; }
.sv-more summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px; border: 1px solid currentColor; border-radius: 24px; font-weight: 600; }
.sv-more summary::-webkit-details-marker { display: none; }
.sv-more summary:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.sv-more .sv-tg { padding-top: 40px; }

/* 8. FAQ: ajustes dentro de la plantilla (la pieza está en faq.css) */
.sv-faq.faq { --acc: #1F3A30; padding: var(--sec) var(--gut); }
.sv-faq .faq-head { align-items: flex-end; }
.sv-faq .faq-head .sv-bh h2 { margin: 0; font-size: 88px; line-height: .9; letter-spacing: -.05em; max-width: 12em; font-weight: 600; text-wrap: balance; }
@media (max-width: 1279px) { .sv-faq .faq-head .sv-bh h2 { font-size: 64px; } }
@media (max-width: 1023px) { .sv-faq .faq-head .sv-bh h2 { font-size: 40px; } }
.sv-faq .faq-head .sv-eyb { display: block; font-size: 13px; line-height: 1.55; color: var(--mute); }
.sv-faq .faq-head > p { font-size: 18px; line-height: 1.45; }
.sv-faq .faq-head > p a { display: inline-block; padding: 10px 0; min-height: 0; }
.sv-faq .answer { font-size: var(--fs); }
@media (max-width: 1023px) { .sv-faq .answer { padding-left: 0; } }

/* 9. Casos relacionados */
/* banda neutra propia: antes compartía fondo y relleno con el FAQ y parecía su continuación */
.sv-cases-sec { background: #E9E7E1; padding: var(--sec) var(--gut); }
.sv-cases { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 24px; }
@media (max-width: 1279px) { .sv-cases { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 1023px) { .sv-cases { grid-template-columns: minmax(0, 1fr); gap: 40px; } }
.sv-cases > li { display: flex; }
.sv-case { flex: 1; display: flex; flex-direction: column; gap: 12px; color: var(--ink); }
.sv-case-link { flex: 1; display: flex; flex-direction: column; gap: 12px; color: var(--ink); text-decoration: none; border-radius: var(--r-img, 6px); }
.sv-case-link:hover { color: var(--green); }
.sv-case-link:focus-visible { outline: 2px solid var(--ink); outline-offset: 6px; }
/* antes y después: dos capturas superpuestas y un control deslizante (input range) transparente encima.
   Sin JavaScript solo se ve la web nueva. */
.sv-ba { --p: 50; position: relative; aspect-ratio: 16 / 10; border-radius: var(--r-img, 6px); overflow: hidden; background: var(--rule); outline: 1px solid var(--rule); outline-offset: -1px; transition: outline-color .4s cubic-bezier(.25,.8,.25,1); }
.sv-case:hover .sv-ba { outline: 2px solid var(--green); outline-offset: -2px; }
.sv-ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.sv-ba .bef { clip-path: inset(0 calc(100% - var(--p) * 1%) 0 0); }
.sv-ba-l { position: absolute; top: 10px; font-size: 13px; font-weight: 600; line-height: 1.4; color: var(--ink); background: #F4F3EF; padding: 3px 8px; border-radius: var(--r-tag, 3px); pointer-events: none; }
.sv-ba-l.l-b { left: 10px; } .sv-ba-l.l-a { right: 10px; }
.sv-ba-h { position: absolute; top: 0; bottom: 0; left: calc(var(--p) * 1%); width: 2px; margin-left: -1px; background: var(--ink); outline: 2px solid #F4F3EF; pointer-events: none; }
.sv-ba-h .grip { position: absolute; top: 50%; left: 50%; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; background: #F4F3EF; border: 1.5px solid var(--ink); color: var(--ink); display: flex; align-items: center; justify-content: center; }
.sv-ba-r { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; appearance: none; -webkit-appearance: none; background: transparent; }
.sv-ba-r::-webkit-slider-thumb { -webkit-appearance: none; width: 1px; height: 100%; }
.sv-ba-r::-moz-range-thumb { width: 1px; height: 100%; border: 0; }
.sv-ba-r:focus-visible ~ .sv-ba-h .grip { outline: 2px solid var(--ink); outline-offset: 3px; }
html:not(.js) .sv-ba .bef, html:not(.js) .sv-ba-l, html:not(.js) .sv-ba-h, html:not(.js) .sv-ba-r { display: none; }
.sv-case-link .tg { align-self: flex-start; font-size: 13px; font-weight: 600; line-height: 1.4; color: var(--ink); background: #F4F3EF; padding: 3px 8px; border-radius: var(--r-tag, 3px); }
.sv-case-link p.d { margin: 0; font-size: 15px; line-height: 1.5; color: var(--soft); }
.sv-case-link p.d strong { font-weight: 600; color: var(--ink); }
.sv-case-link .go { margin-top: auto; padding-top: 4px; font-size: 15px; font-weight: 600; text-decoration: underline; text-decoration-color: var(--green); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.sv-case-link .go i { display: inline-block; font-style: normal; transition: transform .4s cubic-bezier(.25,.8,.25,1); }
.sv-case-link:hover .go i, .sv-case-link:focus-visible .go i { transform: translateX(5px); }
@media (prefers-reduced-motion: reduce) { .sv-ba, .sv-case-link .go i { transition: none; } }

/* 10. Banda local (21a): texto a la izquierda y un plano esquemático de calles a la derecha, con la foto como una manzana más.
   Un trazo une dos marcas iguales (Castellón capital y Onda); al pasar el ratón o enfocar cada enlace se rellena su marca. */
.sv-local-sec { padding: 96px var(--gut); }
@media (max-width: 1279px) { .sv-local-sec { padding-block: 88px; } }
@media (max-width: 1023px) { .sv-local-sec { padding-block: 64px; } }
.sv-local { max-width: 1312px; margin: 0 auto; display: grid; grid-template-columns: 520px minmax(0, 1fr); gap: 64px; align-items: center; }
@media (max-width: 1279px) { .sv-local { grid-template-columns: 356px minmax(0, 1fr); gap: 40px; } }
@media (max-width: 1023px) { .sv-local { grid-template-columns: minmax(0, 1fr); gap: 40px; } }
.sv-lfig { grid-column: 2; grid-row: 1; margin: 0; position: relative; min-width: 0; height: 444px; }
@media (max-width: 1439px) { .sv-lfig { height: 344px; } }
@media (max-width: 1023px) { .sv-lfig { grid-column: 1; grid-row: 2; height: 264px; width: 335px; max-width: 100%; } }
.sv-plans { position: absolute; top: 0; right: 0; height: 100%; width: 728px; }
@media (max-width: 1439px) { .sv-plans { width: 499px; } }
@media (max-width: 1023px) { .sv-plans { width: 335px; } }
.sv-plan { display: none; overflow: visible; }
.sv-plan.p-lg { display: block; }
@media (max-width: 1439px) { .sv-plan.p-lg { display: none; } .sv-plan.p-md { display: block; } }
@media (max-width: 1023px) { .sv-plan.p-md { display: none; } .sv-plan.p-sm { display: block; } }
.sv-plan .calles line { stroke: #D8D6CF; stroke-width: 1.5; }
.sv-plan .ruta { fill: none; stroke: #1F3A30; stroke-width: 2; stroke-dasharray: 2 7; stroke-linecap: round; }
.sv-plan .mk { transform-box: fill-box; transform-origin: center; }
.sv-plan .mk .o { fill: #F4F3EF; stroke: #161616; stroke-width: 2; transition: fill .4s cubic-bezier(.25,.8,.25,1), stroke .4s cubic-bezier(.25,.8,.25,1); }
.sv-plan .mk .i { fill: #161616; transition: fill .4s cubic-bezier(.25,.8,.25,1); }
.sv-plan .mk { transition: transform .4s cubic-bezier(.25,.8,.25,1); }
.sv-lphoto { position: absolute; right: 0; top: 0; width: 400px; height: 400px; object-fit: cover; border-radius: var(--r-img, 6px); display: block; background: var(--rule); }
@media (max-width: 1439px) { .sv-lphoto { width: 300px; height: 300px; } }
@media (max-width: 1023px) { .sv-lphoto { width: 220px; height: 220px; } }
.sv-lfig figcaption { position: absolute; right: 0; top: 400px; padding-top: 2px; font-size: 13px; color: var(--mute); }
@media (max-width: 1439px) { .sv-lfig figcaption { top: 300px; } }
@media (max-width: 1023px) { .sv-lfig figcaption { top: 220px; } }
/* móvil: sin plano, solo la foto a todo el ancho y su pie debajo */
@media (max-width: 639px) { .sv-plans { display: none; } .sv-lfig { height: auto; width: 100%; } .sv-lphoto { position: static; width: 100%; height: auto; aspect-ratio: 4 / 3; } .sv-lfig figcaption { position: static; margin-top: 8px; text-align: right; } }
.sv-lfig figcaption a { color: var(--ink); display: inline-block; padding: 8px 0; }
.sv-lfig figcaption a:focus-visible { outline-offset: 2px; }
.sv-local-r { grid-column: 1; grid-row: 1; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; min-width: 0; }
.sv-local-r .sv-eyb { color: var(--mute); }
.sv-lh2 { margin: 0; font-size: 44px; line-height: 1.02; font-weight: 600; letter-spacing: -.035em; text-wrap: balance; }
@media (max-width: 1279px) { .sv-lh2 { font-size: 40px; } }
@media (max-width: 1023px) { .sv-lh2 { font-size: 32px; } }
.sv-local-p { margin: 0; font-size: 20px; line-height: 1.5; max-width: 30em; text-wrap: pretty; }
@media (max-width: 1279px) { .sv-local-p { font-size: 19px; } }
@media (max-width: 1023px) { .sv-local-p { font-size: 18px; } }
.sv-ll { font-weight: 600; white-space: nowrap; color: var(--ink); text-decoration: underline; text-decoration-color: var(--green); text-decoration-thickness: 2px; text-underline-offset: 4px; display: inline-block; padding: 10px 0; margin: -10px 0; }
.sv-ll .pin { vertical-align: -2px; margin-right: 4px; color: var(--green); }
.sv-ll:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 2px; }
.sv-local-r .sv-ghost { border: 1.5px solid var(--ink); color: var(--ink); transition: background-color .4s cubic-bezier(.25,.8,.25,1), color .4s cubic-bezier(.25,.8,.25,1); }
.sv-local-r .sv-ghost:hover { background: var(--ink); color: #F4F3EF; }
/* la marca del plano responde al enlace correspondiente */
.sv-local:has(.l-cap:hover, .l-cap:focus-visible) .m-cap, .sv-local:has(.l-onda:hover, .l-onda:focus-visible) .m-onda { transform: scale(1.2); }
.sv-local:has(.l-cap:hover, .l-cap:focus-visible) .m-cap .o, .sv-local:has(.l-onda:hover, .l-onda:focus-visible) .m-onda .o { fill: #1F3A30; stroke: #1F3A30; }
.sv-local:has(.l-cap:hover, .l-cap:focus-visible) .m-cap .i, .sv-local:has(.l-onda:hover, .l-onda:focus-visible) .m-onda .i { fill: #F4F3EF; }
@media (prefers-reduced-motion: reduce) { .sv-plan .mk, .sv-plan .mk .o, .sv-plan .mk .i, .sv-local-r .sv-ghost { transition: none; } }

/* 11. CTA final (se une al pie 11c de footer.css) */
.sv-cta { --cPad: 112px; --cH2: 88px; --rowFs: 48px; --arw: 52px; background: #111111; color: #ECEAE4; padding: var(--cPad) var(--gut) 56px; }
.sv-cta h2 { margin: 0 0 40px; font-size: var(--cH2); line-height: .92; font-weight: 600; letter-spacing: -.05em; max-width: 13em; text-wrap: balance; }
.sv-cta-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 26px 0; border-top: 2px solid #ECEAE4; border-bottom: 1px solid #2C2B29; font-size: var(--rowFs); line-height: 1.05; font-weight: 600; letter-spacing: -.03em; color: #ECEAE4; text-decoration: none; transition: background-color .25s ease, color .25s ease, padding .25s ease; }
.sv-cta-row svg { width: var(--arw); height: var(--arw); transform: rotate(-45deg); }
.sv-cta-row:hover { background: #F8E5AB; color: #111111; padding: 26px 24px; }
.sv-cta-row:focus-visible { outline: 2px solid #F8E5AB; outline-offset: 4px; }
.sv-cta-meta { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 40px; padding-top: 24px; align-items: start; }
.sv-cta-meta p { margin: 0; font-size: var(--lead); line-height: 1.45; max-width: 32em; }
.sv-cta-who { display: flex; align-items: flex-start; gap: 16px; min-width: 0; }
.sv-cta-who img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; background: #2C2B29; border: 1.5px solid #5E5D58; box-sizing: border-box; margin-top: 2px; }
@media (max-width: 1023px) { .sv-cta-who img { width: 48px; height: 48px; } }
.sv-cta-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px 24px; font-size: 15px; color: #A09E97; }
.sv-cta-links a { display: inline-flex; align-items: center; min-height: 44px; color: #ECEAE4; font-weight: 600; text-decoration: underline; text-decoration-color: #F8E5AB; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.sv-cta-links a:hover { color: #F8E5AB; }
.sv-cta-links a:focus-visible { outline: 2px solid #F8E5AB; outline-offset: 3px; border-radius: 2px; }
@media (max-width: 1279px) { .sv-cta { --cPad: 88px; --cH2: 64px; --rowFs: 40px; --arw: 44px; } }
@media (max-width: 1023px) {
  .sv-cta { --cPad: 64px; --cH2: 40px; --rowFs: 28px; --arw: 32px; padding-bottom: 48px; }
  .sv-cta h2 { margin-bottom: 24px; }
  .sv-cta-row { padding: 20px 0; }
  .sv-cta-row:hover { padding: 20px 12px; }
  .sv-cta-meta { grid-template-columns: minmax(0, 1fr); }
  .sv-cta-links { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .sv-btn, .sv-ghost, .sv-cta-row { transition: none; }
}
