/* ============================================================
   Propuesta A — Energía estratégica
   Páginas internas de servicio
   ============================================================ */

.sv-body { background: var(--cream); }

/* --- Migas de pan --- */
.sv-crumbs {
  max-width: 1420px; margin: auto; padding: 26px 42px 0;
  font-family: var(--mono); font-size: 10px; letter-spacing: .1em;
  color: #5b7ea3; display: flex; gap: 9px; align-items: center; flex-wrap: wrap;
}
.sv-crumbs a { border-bottom: 1px solid transparent; transition: border-color .2s, color .2s; }
.sv-crumbs a:hover { color: var(--blue); border-bottom-color: currentColor; }
.sv-crumbs em { font-style: normal; color: var(--ink); }

/* --- Hero del servicio --- */
.sv-hero {
  max-width: 1420px; margin: auto; padding: 54px 42px 90px;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 6%; align-items: center;
  position: relative;
}
.sv-num {
  font-family: var(--mono); font-size: 10px; letter-spacing: .13em; font-weight: 500;
  display: flex; align-items: center; gap: 10px; margin: 0 0 22px; color: var(--ink);
}
.sv-num span { width: 30px; height: 1px; background: var(--aqua); }
.sv-hero h1 {
  font-family: var(--serif); font-weight: 400; letter-spacing: -.035em; line-height: .9;
  font-size: clamp(54px, 6.6vw, 96px); margin: 0 0 20px;
}
.sv-lema {
  font-family: var(--serif); font-style: italic; color: #256B80;
  font-size: clamp(21px, 2.3vw, 31px); line-height: 1.2; margin: 0 0 22px; max-width: 520px;
}
.sv-resumen { font-size: 17px; line-height: 1.62; color: #35577d; max-width: 500px; margin: 0 0 32px; }

/* Escenario animado del hero */
.sv-hero-stage {
  position: relative; min-height: 380px; background: #E4F1F5;
  display: grid; place-items: center; overflow: hidden;
}
.sv-hero-stage:before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(7,59,128,.14) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(7,59,128,.14) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(135deg, #000, transparent 82%);
}
.sv-ring {
  position: absolute; width: 300px; height: 300px; border-radius: 50%;
  background: var(--lime); right: -96px; top: -84px;
}
.sv-num-big {
  position: absolute; left: 9%; top: 34px; z-index: 2;
  font-family: var(--serif); font-size: 128px; line-height: .8;
  letter-spacing: -.05em; color: var(--blue); opacity: .17;
}
.sv-mark {
  position: relative; z-index: 3; width: 168px; height: auto;
  filter: drop-shadow(14px 14px 0 var(--electric));
  animation: sv-float 6s ease-in-out infinite;
}
.sv-bars { position: absolute; z-index: 3; left: 11%; bottom: 40px; display: flex; gap: 7px; align-items: end; }
.sv-bars i { display: block; width: 12px; background: var(--blue); animation: sv-bar 1.8s ease-in-out infinite alternate; }
.sv-bars i:nth-child(1) { height: 30px; }
.sv-bars i:nth-child(2) { height: 54px; background: var(--electric); animation-delay: .18s; }
.sv-bars i:nth-child(3) { height: 78px; animation-delay: .36s; }
.sv-bars i:nth-child(4) { height: 44px; background: var(--aqua); animation-delay: .54s; }

@keyframes sv-float { 50% { transform: translateY(-15px) rotate(5deg); } }
@keyframes sv-bar { to { transform: scaleY(.58); transform-origin: bottom; } }

/* --- Intro --- */
.sv-intro { background: var(--blue); color: #fff; padding: 64px max(42px, calc((100vw - 1336px)/2)); }
.sv-intro p {
  font-family: var(--serif); font-size: clamp(24px, 2.9vw, 40px); line-height: 1.22;
  letter-spacing: -.025em; max-width: 1000px; margin: 0;
}

/* --- Eyebrow común --- */
.sv-eyebrow {
  font-family: var(--mono); font-size: 10px; letter-spacing: .13em; font-weight: 500;
  color: #256B80; margin: 0 0 12px;
}

/* --- Alcance --- */
.sv-alcance { max-width: 1420px; margin: auto; padding: 96px 42px 20px; }
.sv-alcance-head h2, .sv-strip h2, .sv-otros-head h2 {
  font-family: var(--serif); font-weight: 400; letter-spacing: -.035em;
  font-size: clamp(38px, 4vw, 60px); line-height: .95; margin: 0 0 44px;
}
.sv-blocks { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.sv-block {
  background: #fff; border: 1px solid var(--line); padding: 34px 32px;
  transition: transform .3s cubic-bezier(.2,.9,.2,1), box-shadow .3s;
}
.sv-block:hover { transform: translate(-5px, -5px); box-shadow: 9px 9px 0 var(--lime); }
.sv-block h3 {
  font-family: var(--serif); font-weight: 400; font-size: 27px;
  letter-spacing: -.025em; margin: 0 0 20px; padding-bottom: 15px;
  border-bottom: 1px solid var(--line);
}
.sv-block ul { list-style: none; margin: 0; padding: 0; }
.sv-block li {
  font-size: 14.5px; line-height: 1.55; color: #35577d;
  padding: 11px 0 11px 24px; position: relative; border-bottom: 1px solid rgba(6,42,96,.07);
}
.sv-block li:last-child { border-bottom: 0; }
.sv-block li:before {
  content: ""; position: absolute; left: 0; top: 19px;
  width: 11px; height: 2px; background: var(--aqua);
}

/* --- Franja de entregables --- */
.sv-strip { background: var(--lime); margin-top: 90px; padding: 72px max(42px, calc((100vw - 1336px)/2)); }
.sv-strip .sv-eyebrow { color: #1F6B57; }
.sv-strip-inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: 7%; align-items: start; }
.sv-strip h2 { margin-bottom: 0; }
.sv-entregables { list-style: none; margin: 0; padding: 0; }
.sv-entregables li {
  display: flex; align-items: baseline; gap: 15px;
  padding: 18px 0; border-bottom: 1px solid rgba(6,42,96,.22);
  font-family: var(--serif); font-size: clamp(20px, 2vw, 27px); letter-spacing: -.02em;
}
.sv-entregables li:first-child { padding-top: 0; }
.sv-entregables b { font-family: var(--sans); font-size: 15px; color: var(--blue); }

/* --- Para quién --- */
.sv-para {
  max-width: 1420px; margin: auto; padding: 92px 42px;
  display: grid; grid-template-columns: 240px 1fr; gap: 40px; align-items: start;
}
.sv-para-text {
  font-family: var(--serif); font-size: clamp(24px, 2.7vw, 38px);
  line-height: 1.25; letter-spacing: -.028em; margin: 0; max-width: 880px;
}

/* --- Otros servicios --- */
.sv-otros { max-width: 1420px; margin: auto; padding: 0 42px 96px; }
.sv-otros-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  border-top: 1px solid var(--line); border-left: 1px solid var(--line);
}
.sv-otros-grid a {
  display: block; padding: 28px 26px 30px; position: relative; min-height: 178px;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  transition: background .25s;
}
.sv-otros-grid a:hover { background: #EAF4F7; }
.sv-otros-grid span { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; color: #256B80; }
.sv-otros-grid h4 {
  font-family: var(--serif); font-weight: 400; font-size: 25px;
  letter-spacing: -.025em; margin: 12px 0 9px;
}
.sv-otros-grid p { font-size: 13.5px; line-height: 1.5; color: #35577d; margin: 0; max-width: 260px; }
.sv-otros-grid b {
  position: absolute; right: 24px; top: 26px; color: var(--blue);
  font-size: 17px; transition: transform .25s;
}
.sv-otros-grid a:hover b { transform: translate(4px, -4px); }

/* --- CTA final --- */
.sv-cta { background: var(--blue); color: #fff; padding: 92px max(42px, calc((100vw - 1336px)/2)); }
.sv-cta h2 {
  font-family: var(--serif); font-weight: 400; letter-spacing: -.035em; line-height: .95;
  font-size: clamp(40px, 4.6vw, 68px); margin: 0 0 16px;
}
.sv-cta h2 em { color: var(--lime); font-style: italic; }
.sv-cta > div > p { font-size: 16px; line-height: 1.6; color: #cfe3f2; max-width: 500px; margin: 0 0 34px; }
.sv-cta-links { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.sv-cta .button { background: var(--lime); color: var(--ink); }
.sv-cta .button:hover { box-shadow: 7px 7px 0 var(--aqua); }
.sv-tel {
  font-family: var(--serif); font-size: clamp(26px, 3vw, 40px);
  letter-spacing: -.03em; border-bottom: 1px solid rgba(255,255,255,.4);
  padding-bottom: 4px; transition: border-color .25s, color .25s;
}
.sv-tel:hover { color: var(--lime); border-bottom-color: var(--lime); }

/* --- Revelado al hacer scroll --- */
.js [data-reveal] { opacity: 0; transform: translateY(22px); }
.js [data-reveal].is-visible {
  opacity: 1; transform: none;
  transition: opacity .65s cubic-bezier(.2,.9,.2,1), transform .65s cubic-bezier(.2,.9,.2,1);
}

/* --- Responsivo --- */
@media (max-width: 980px) {
  .sv-hero { grid-template-columns: 1fr; gap: 42px; padding-bottom: 62px; }
  .sv-hero-stage { min-height: 300px; order: -1; }
  .sv-blocks { grid-template-columns: 1fr; }
  .sv-strip-inner { grid-template-columns: 1fr; gap: 34px; }
  .sv-para { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 560px) {
  .sv-crumbs, .sv-hero, .sv-alcance, .sv-para, .sv-otros { padding-left: 22px; padding-right: 22px; }
  .sv-intro, .sv-strip, .sv-cta { padding-left: 22px; padding-right: 22px; }
  .sv-block { padding: 26px 22px; }
  .sv-num-big { font-size: 88px; }
  .sv-mark { width: 118px; }
  .sv-cta-links { gap: 20px; }
}

/* --- Respeto por movimiento reducido --- */
@media (prefers-reduced-motion: reduce) {
  .sv-mark, .sv-bars i { animation: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .sv-block:hover, .sv-otros-grid a:hover b { transform: none; }
}


/* ============================================================
   Elementos compartidos — navegación, accesibilidad y utilidades
   ============================================================ */

/* --- Salto al contenido (teclado) --- */
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 999;
  background: #58C7D9; color: #0A2342; padding: 11px 20px;
  font-size: 13px; font-weight: 700; letter-spacing: .02em;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* --- Foco visible en todo el sitio --- */
a:focus-visible, button:focus-visible,
input:focus-visible, textarea:focus-visible {
  outline: 3px solid #256B80; outline-offset: 3px;
}

/* --- Encabezado fijo al hacer scroll --- */
.header.is-stuck {
  backdrop-filter: blur(9px);
  background: rgba(250,249,242,.92);
  box-shadow: 0 1px 0 rgba(6,42,96,.1);
}
.header nav a.is-active { color: #256B80; }

/* --- Botón flotante de WhatsApp --- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: #25D366; box-shadow: 0 6px 20px rgba(0,0,0,.22);
  transition: transform .25s cubic-bezier(.2,.9,.2,1), box-shadow .25s;
}
.wa-float svg { width: 30px; height: 30px; fill: #fff; }
.wa-float:hover { transform: scale(1.08) translateY(-2px); box-shadow: 0 10px 26px rgba(0,0,0,.28); }
.wa-float:before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid #25D366; animation: wa-pulse 2.6s ease-out infinite;
}
@keyframes wa-pulse {
  0%   { transform: scale(1); opacity: .7; }
  70%  { transform: scale(1.55); opacity: 0; }
  100% { opacity: 0; }
}

/* --- Consentimiento de privacidad en el formulario --- */
.consent {
  display: flex !important; align-items: flex-start; gap: 10px;
  font-size: 13px !important; line-height: 1.5; cursor: pointer;
  text-transform: none !important; letter-spacing: 0 !important;
  font-weight: 400 !important; margin-top: 4px;
}
.consent input[type="checkbox"] {
  width: 17px; height: 17px; min-width: 17px; margin-top: 2px;
  accent-color: #256B80; cursor: pointer;
}
.consent span { flex: 1; }
.consent a { text-decoration: underline; text-underline-offset: 3px; }
.form-status.is-error { color: #b3261e; font-weight: 600; }

/* --- Tarjetas de servicio, ahora enlazables --- */
.service-item { display: block; position: relative; }
.service-item .svc-go {
  position: absolute; right: 26px; top: 50%; transform: translateY(-50%);
  font-size: 19px; color: #256B80; opacity: 0;
  transition: opacity .25s, transform .25s;
}
.service-item:hover .svc-go { opacity: 1; transform: translateY(-50%) translateX(5px); }

/* --- Página de aviso de privacidad --- */
.pv-hero { max-width: 900px; margin: auto; padding: 52px 42px 30px; }
.pv-hero h1 {
  font-family: var(--serif); font-weight: 400; letter-spacing: -.04em; line-height: .98;
  font-size: clamp(44px, 5.4vw, 74px); margin: 0 0 20px;
}
.pv-lead { font-size: 17px; line-height: 1.65; color: #35577d; max-width: 640px; margin: 0; }
.pv-draft {
  max-width: 900px; margin: 0 auto 46px; padding: 17px 22px;
  background: #EAF4F7; border-left: 4px solid #256B80;
  font-size: 14px; line-height: 1.6;
}
.pv-draft strong { display: block; margin-bottom: 3px; }
.pv-body { max-width: 900px; margin: auto; padding: 0 42px 80px; }
.pv-sec { padding: 32px 0; border-top: 1px solid var(--line); }
.pv-sec:first-child { border-top: 0; padding-top: 0; }
.pv-sec h2 {
  font-family: var(--serif); font-weight: 400; letter-spacing: -.035em;
  font-size: clamp(25px, 2.6vw, 35px); line-height: 1.1; margin: 0 0 16px;
}
.pv-sec p { font-size: 15.5px; line-height: 1.72; color: #35577d; margin: 0 0 14px; }
.pv-sec p:last-child { margin-bottom: 0; }
.pv-sec ul { margin: 0 0 14px; padding-left: 20px; }
.pv-sec li { font-size: 15.5px; line-height: 1.72; color: #35577d; margin-bottom: 6px; }
.pv-sec a { color: #256B80; text-decoration: underline; text-underline-offset: 3px; }
.pv-sec em { font-style: italic; }

/* --- Pie con enlace de privacidad --- */
footer a { border-bottom: 1px solid transparent; transition: border-color .2s; }
footer a:hover { border-bottom-color: currentColor; }

@media (max-width: 560px) {
  .pv-hero, .pv-body { padding-left: 22px; padding-right: 22px; }
  .pv-draft { margin-left: 22px; margin-right: 22px; }
  .wa-float { right: 16px; bottom: 16px; width: 52px; height: 52px; }
  .wa-float svg { width: 27px; height: 27px; }
}

@media (prefers-reduced-motion: reduce) {
  .wa-float:before { animation: none; }
  .wa-float:hover { transform: none; }
}


/* ============================================================
   RONDA 2 — Ajustes de retroalimentación
   ============================================================ */

/* --- WhatsApp retirado (pendiente de definición del cliente) --- */
.wa-float { display: none !important; }

/* --- Navegación fija en todas las páginas --- */
.header {
  position: sticky; top: 0; z-index: 60;
  background: var(--cream);
  transition: box-shadow .28s ease, background .28s ease, height .28s ease;
}
.header.is-stuck {
  background: rgba(248,248,240,.9);
  backdrop-filter: saturate(1.15) blur(10px);
  -webkit-backdrop-filter: saturate(1.15) blur(10px);
  box-shadow: 0 6px 24px -12px rgba(6,42,96,.4);
  border-bottom-color: transparent;
}

.header .brand img { transition: transform .28s ease; }
.header nav a { position: relative; }
.header nav a.is-active { color: #256B80; }
/* subrayado animado solo en los enlaces de sección, no en el botón */
.header nav a:not(:last-child):after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -5px;
  height: 2px; background: #256B80; transition: right .28s cubic-bezier(.2,.9,.2,1);
}
.header nav a:not(:last-child):hover:after,
.header nav a:not(:last-child).is-active:after { right: 0; }

/* el ancla no queda oculta bajo la barra fija */
html { scroll-behavior: smooth; }
section[id], main[id] { scroll-margin-top: 104px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* --- Sección de contacto: panel que aprovecha el espacio --- */
.contact-intro { display: flex; flex-direction: column; }
.contact-aside { margin-top: auto; padding-top: 40px; }

.contact-direct { display: flex; flex-direction: column; gap: 0; margin-bottom: 34px; }
.cd-item {
  position: relative; display: block; padding: 22px 44px 22px 0;
  border-top: 1px solid rgba(255,255,255,.22);
}
.cd-item:last-child { border-bottom: 1px solid rgba(255,255,255,.22); }
.cd-label {
  display: block; font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  font-weight: 700; color: #9CCEDC; margin-bottom: 8px;
}
.cd-item strong {
  display: block; font-family: var(--serif); font-weight: 400;
  font-size: clamp(21px, 2.1vw, 29px); letter-spacing: -.03em; line-height: 1.12;
  color: #ffffff; word-break: break-word;
}
.cd-item em {
  display: block; font-style: normal; font-size: 12.5px; line-height: 1.5;
  color: #b9d4e8; margin-top: 7px;
}
.cd-item b {
  position: absolute; right: 4px; top: 26px; font-size: 17px;
  color: #256B80; transition: transform .25s ease;
}
a.cd-item { transition: padding-left .28s cubic-bezier(.2,.9,.2,1); }
a.cd-item:hover { padding-left: 14px; }
a.cd-item:hover b { transform: translate(4px, -4px); }
a.cd-item:hover strong { color: #256B80; }

/* Indicadores de confianza */
.contact-trust {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
.contact-trust li { padding: 16px 14px; background: rgba(255,255,255,.08); }
.contact-trust b {
  display: block; font-family: var(--serif); font-weight: 400;
  font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -.03em;
  line-height: 1; color: var(--lime); margin-bottom: 7px;
}
.contact-trust span {
  display: block; font-size: 10.5px; line-height: 1.35;
  letter-spacing: .05em; color: #b9d4e8;
}

.map-label {
  font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  font-weight: 700; color: #9CCEDC; margin: 0 0 12px !important;
}

@media (max-width: 900px) {
  .contact-aside { padding-top: 30px; }
  .contact-trust { grid-template-columns: repeat(3, 1fr); gap: 9px; }
  .contact-trust li { padding: 13px 10px; }
}
@media (max-width: 480px) {
  .contact-trust { grid-template-columns: 1fr; }
  .cd-item strong { font-size: 19px; }
}

/* --- Aviso de privacidad: índice lateral y bloques --- */
.pv-hero { max-width: 1180px; margin: auto; padding: 54px 42px 34px; }
.pv-hero h1 {
  font-family: var(--serif); font-weight: 400; letter-spacing: -.04em; line-height: .94;
  font-size: clamp(46px, 6vw, 84px); margin: 0 0 22px;
}
.pv-lead { font-size: 17px; line-height: 1.65; color: #35577d; max-width: 620px; margin: 0 0 14px; }
.pv-fecha { font-size: 12px; letter-spacing: .06em; color: #9CCEDC; margin: 0; }

.pv-wrap {
  max-width: 1180px; margin: auto; padding: 22px 42px 84px;
  display: grid; grid-template-columns: 216px 1fr; gap: 56px; align-items: start;
}
.pv-toc { position: sticky; top: 118px; }
.pv-toc-title {
  font-size: 10px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700;
  color: #9CCEDC; margin: 0 0 14px; padding-bottom: 11px;
  border-bottom: 1px solid var(--line);
}
.pv-toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.pv-toc li { counter-increment: toc; }
.pv-toc a {
  display: block; padding: 8px 0 8px 26px; position: relative;
  font-size: 13px; line-height: 1.4; color: #35577d;
  transition: color .2s, padding-left .2s;
}
.pv-toc a:before {
  content: counter(toc, decimal-leading-zero);
  position: absolute; left: 0; top: 9px; font-size: 10px;
  color: #256B80; font-weight: 700;
}
.pv-toc a:hover { color: #256B80; padding-left: 31px; }

.pv-body { max-width: 760px; }
.pv-sec { padding: 34px 0; border-top: 1px solid var(--line); }
.pv-sec:first-child { border-top: 0; padding-top: 0; }
.pv-sec h2 {
  font-family: var(--serif); font-weight: 400; letter-spacing: -.035em;
  font-size: clamp(25px, 2.6vw, 36px); line-height: 1.14; margin: 0 0 20px;
  display: flex; align-items: baseline; gap: 14px;
}
.pv-sec-num {
  font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: .1em;
  color: #256B80; flex: none;
}
.pv-sec h3 {
  font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700;
  color: #9CCEDC; margin: 30px 0 12px;
}
.pv-sec p { font-size: 15.5px; line-height: 1.72; color: #35577d; margin: 0 0 14px; }
.pv-sec a { color: #256B80; text-decoration: underline; text-underline-offset: 3px; }

.pv-list { list-style: none; margin: 0 0 16px; padding: 0; }
.pv-list li {
  position: relative; padding: 9px 0 9px 25px;
  font-size: 15px; line-height: 1.65; color: #35577d;
  border-bottom: 1px solid rgba(6,42,96,.1);
}
.pv-list li:last-child { border-bottom: 0; }
.pv-list li:before {
  content: ""; position: absolute; left: 0; top: 18px;
  width: 11px; height: 2px; background: #256B80;
}
.pv-list-soft li:before { background: #9CCEDC; opacity: .5; }

.pv-note {
  padding: 18px 22px; background: #EAF4F7; border-left: 3px solid #256B80;
  font-size: 14.5px; line-height: 1.65; color: #35577d; margin: 18px 0 0;
}
.pv-note strong { color: #ffffff; }

.pv-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(212px, 1fr)); gap: 14px; margin: 20px 0 0; }
.pv-card { padding: 19px 20px; background: #EDF3F6; }
.pv-card span {
  display: block; font-size: 10px; letter-spacing: .13em; text-transform: uppercase;
  font-weight: 700; color: #9CCEDC; margin-bottom: 9px;
}
.pv-card p { font-size: 14px !important; line-height: 1.55 !important; margin: 0 !important; }

.pv-data { display: grid; gap: 0; margin-top: 6px; }
.pv-data-item { position: relative; padding: 20px 0 20px 52px; border-top: 1px solid rgba(6,42,96,.1); }
.pv-data-item:first-child { border-top: 0; }
.pv-data-item b {
  position: absolute; left: 0; top: 21px; font-family: var(--serif);
  font-size: 22px; font-weight: 400; color: #256B80; opacity: .75; letter-spacing: -.03em;
}
.pv-data-item h4 {
  font-size: 15.5px; font-weight: 700; letter-spacing: -.01em;
  margin: 0 0 6px; color: #ffffff;
}
.pv-data-item p { font-size: 14.5px !important; margin: 0 !important; }

.pv-arco { display: grid; grid-template-columns: repeat(auto-fit, minmax(158px, 1fr)); gap: 13px; margin: 20px 0 8px; }
.pv-arco > div { padding: 19px 18px; background: #EDF3F6; }
.pv-arco b {
  display: block; font-family: var(--serif); font-size: 34px; line-height: 1;
  color: #256B80; margin-bottom: 11px; letter-spacing: -.03em;
}
.pv-arco h4 { font-size: 14px; font-weight: 700; margin: 0 0 5px; color: #ffffff; }
.pv-arco p { font-size: 13px !important; line-height: 1.5 !important; margin: 0 !important; }

@media (max-width: 900px) {
  .pv-wrap { grid-template-columns: 1fr; gap: 30px; padding-top: 10px; }
  .pv-toc {
    position: static; padding: 20px 22px; background: #EDF3F6;
  }
  .pv-toc ol { columns: 2; column-gap: 26px; }
}
@media (max-width: 560px) {
  .pv-hero, .pv-wrap { padding-left: 22px; padding-right: 22px; }
  .pv-toc ol { columns: 1; }
  .pv-sec h2 { flex-direction: column; gap: 6px; }
}


/* --- Barra fija: el fondo debe cubrir todo el ancho de la ventana --- */
.header { background: transparent; }
.header:before {
  content: ""; position: absolute; z-index: -1;
  top: 0; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100vw; background: var(--cream);
  border-bottom: 1px solid var(--line);
  transition: background .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.header { border-bottom: 0; }
.header.is-stuck { background: transparent; box-shadow: none; }
.header.is-stuck:before {
  background: rgba(248,248,240,.9);
  backdrop-filter: saturate(1.15) blur(10px);
  -webkit-backdrop-filter: saturate(1.15) blur(10px);
  box-shadow: 0 6px 24px -12px rgba(6,42,96,.4);
  border-bottom-color: transparent;
}
/* el menú móvil desplegado se ancla bajo la barra */
.header nav.open { z-index: 61; }


/* --- Corrección: el logo debe conservar su proporción --- */
.brand img {
  height: auto !important;
  max-height: 62px;
  width: 100%;
  object-fit: contain;
  object-position: left center;
}
.header.is-stuck .brand img { max-height: 54px; }
@media (max-width: 900px) { .brand img { max-height: 48px; } }

/* --- Header: alturas coherentes con el logotipo --- */
.header { height: 86px; }
.brand { width: 235px; display: block; }
.brand img {
  display: block; width: 100%; height: auto !important;
  max-height: 56px; object-fit: contain; object-position: left center;
}

.header.is-stuck .brand img { max-height: 46px; }
@media (max-width: 900px) {
  .header { height: 76px; }
  .brand { width: 186px; }
  .brand img, .header.is-stuck .brand img { max-height: 44px; }
}

/* la altura permanece constante al fijarse para no desplazar el contenido */
.header.is-stuck { height: 86px; }
@media (max-width: 900px) { .header.is-stuck { height: 76px; } }


/* ============================================================
   Navegación ampliada — Clientes y Aviso de privacidad
   ============================================================ */

/* Siete enlaces necesitan un ritmo más compacto */
.header nav { gap: 21px; font-size: 11.5px; }

/* El aviso de privacidad es un enlace secundario, no de sección */
.header nav a.nav-legal {
  font-weight: 400;
  color: #5b7ea3;
  font-size: 11px;
  padding-left: 21px;
  position: relative;
}
.header nav a.nav-legal:before {
  content: ""; position: absolute; left: 0; top: 50%;
  width: 1px; height: 13px; margin-top: -6.5px;
  background: var(--line);
}
.header nav a.nav-legal:hover { color: #256B80; }
/* la línea animada de sección no aplica al enlace legal */
.header nav a.nav-legal:after { display: none; }
.header nav a.nav-legal.is-current { color: #256B80; font-weight: 700; }

/* El menú compacto entra antes: con ocho enlaces se aprieta */
@media (max-width: 1260px) {
  .header nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; z-index: 61;
    background: var(--cream); padding: 22px 26px; flex-direction: column;
    align-items: flex-start; gap: 4px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 34px -20px rgba(6,42,96,.45);
  }
  .header nav.open { display: flex; }
  .menu { display: flex !important; }
  .header nav a {
    width: 100%; padding: 11px 0; font-size: 14px;
    border-bottom: 1px solid var(--line);
  }
  .header nav a:last-child {
    border-bottom: 0; margin-top: 10px;
    display: inline-block; width: auto;
  }
  .header nav a.nav-legal {
    padding-left: 0; font-size: 12.5px;
  }
  .header nav a.nav-legal:before { display: none; }
  /* el subrayado animado estorba en vertical */
  .header nav a:not(:last-child):after { display: none; }
}
