/* B Legal & Business — sitio público
   Estilo plano: fondos blancos, azul institucional, acento azul acero, sin degradados. */
@font-face { font-family: "Augustus"; src: url("../fonts/augustus.ttf") format("truetype"); font-display: swap; unicode-range: U+0020-003E, U+0040-007E, U+00A0-00B6, U+00B8-00BE, U+00C0-00FF; }

:root {
  --navy: #192B3A; --steel: #6F8CA3; --ivory: #F5F1EA;
  --navy-d: #0F1D29; --ink: #1F2D39; --muted: #5A6874; --line: #DFE5EA; --soft: #F4F6F8; --white: #fff; --on-dark: #C9D5DF;
  --serif: "Augustus", "Cormorant Garamond", Georgia, serif;
  --sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1200px; --r: 4px; --gap: 24px;
  --sec: clamp(64px, 8.5vw, 120px);
  --ease: cubic-bezier(.22, .8, .24, 1);
  --head-h: 84px; --tab-h: 0px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 100px; }
body { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.7; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body { animation: pageIn .6s var(--ease) both; }
@keyframes pageIn { from { opacity: 0; } to { opacity: 1; } }
img, svg { max-width: 100%; display: block; }
a { color: inherit; -webkit-tap-highlight-color: transparent; }
h1, h2, h3, h4 { margin: 0; font-weight: normal; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--steel); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-left: max(24px, env(safe-area-inset-left)); padding-right: max(24px, env(safe-area-inset-right)); }
.wrap.narrow { max-width: 820px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.mb { margin-bottom: 48px; } .mb-s { margin-bottom: 24px; }

/* ---------- Tipografía ---------- */
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--steel); margin: 0 0 18px; display: block; }
.eyebrow.on-dark { color: #B9C9D6; }
.display, .h1, .h2, .h3 { font-family: var(--serif); text-transform: uppercase; color: var(--navy); letter-spacing: .01em; line-height: 1.08; text-wrap: balance; }
.display { font-size: clamp(36px, 5.2vw, 66px); margin-bottom: 24px; }
.h1 { font-size: clamp(32px, 4.2vw, 52px); margin-bottom: 20px; }
.h2 { font-size: clamp(27px, 3.2vw, 42px); margin-bottom: 18px; }
.h3 { font-size: clamp(21px, 2vw, 26px); line-height: 1.18; }
.lead { font-size: clamp(16px, 1.35vw, 19px); line-height: 1.7; color: var(--muted); max-width: 640px; }
.role { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--steel); margin: -6px 0 22px; }
.prose { font-size: 17px; color: var(--ink); }
.prose p { margin-bottom: 1.2em; }
.prose h2 { font-family: var(--serif); text-transform: uppercase; font-size: 26px; color: var(--navy); margin: 1.6em 0 .6em; line-height: 1.15; }
.prose h3 { font-weight: 700; font-size: 17px; color: var(--navy); margin: 1.4em 0 .4em; }
.prose ul, .prose ol { margin: 0 0 1.2em; }
.prose ul li { position: relative; padding-left: 22px; margin-bottom: .45em; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: .72em; width: 10px; height: 2px; background: var(--steel); }
.prose ol { counter-reset: n; } .prose ol li { counter-increment: n; position: relative; padding-left: 30px; margin-bottom: .45em; }
.prose ol li::before { content: counter(n) "."; position: absolute; left: 0; font-weight: 700; color: var(--steel); }
.prose a { color: var(--navy); text-decoration-color: var(--steel); text-underline-offset: 3px; }
.prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--steel); font-family: var(--serif); text-transform: uppercase; font-size: 21px; color: var(--navy); line-height: 1.3; }
.prose strong { color: var(--navy); }

/* ---------- Botones animados ---------- */
.btn { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 16px 28px; border-radius: var(--r); border: 1.5px solid transparent;
  font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; cursor: pointer; line-height: 1.2;
  transition: color .35s var(--ease), border-color .35s var(--ease), transform .25s var(--ease), box-shadow .35s var(--ease); }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.97); }
.btn .ico { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover .ico { transform: translateX(5px); }
.btn-sm { padding: 12px 20px; font-size: 12px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--navy); color: #fff; } .btn-primary::before { background: var(--steel); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; } .btn-outline::before { background: var(--navy); } .btn-outline:hover { color: #fff; }
.btn-light { background: #fff; color: var(--navy); } .btn-light::before { background: var(--ivory); }
.btn-ghost-light { border-color: rgba(255,255,255,.55); color: #fff; } .btn-ghost-light::before { background: #fff; } .btn-ghost-light:hover { color: var(--navy); border-color: #fff; }
.link-arrow, .link { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--navy); text-decoration: none; position: relative; }
.link-arrow::after { content: ""; position: absolute; left: 0; bottom: -4px; height: 1.5px; width: 100%; background: var(--steel); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.link-arrow:hover::after { transform: scaleX(1); transform-origin: left; }
.link-arrow .ico, .link .ico { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.link-arrow:hover .ico, a:hover > .link .ico, a:hover .link .ico { transform: translateX(5px); }
.ico { width: 22px; height: 22px; flex: none; }

/* ---------- Barra superior ---------- */
.topbar { background: var(--navy); color: var(--on-dark); font-size: 12.5px; letter-spacing: .02em; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; min-height: 42px; gap: 24px; }
.tb-contact { display: flex; gap: 28px; align-items: center; }
.tb-contact li, .tb-contact a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.tb-contact a { transition: color .2s; } .tb-contact a:hover { color: #fff; }
.tb-contact .ico, .tb-wa .ico { width: 15px; height: 15px; color: var(--steel); }
.tb-right { display: flex; align-items: center; gap: 20px; }
.tb-social { display: flex; gap: 4px; }
.tb-social a { width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; color: var(--on-dark); transition: background .25s, color .25s, transform .25s; }
.tb-social a:hover { background: rgba(255,255,255,.1); color: #fff; transform: translateY(-2px); }
.tb-social .ico { width: 16px; height: 16px; }
.tb-wa { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600; color: #fff; }
.lang-switch { display: inline-flex; padding: 3px; border-radius: 20px; background: rgba(255,255,255,.08); font-size: 11px; font-weight: 700; letter-spacing: .1em; }
.lang-switch a { text-decoration: none; color: var(--on-dark); padding: 4px 10px; border-radius: 16px; transition: background .25s, color .25s; }
.lang-switch a.on { background: #fff; color: var(--navy); }

/* ---------- Encabezado ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(25,43,58,.06); }
.header-in { display: flex; align-items: center; gap: 32px; height: var(--head-h); transition: height .35s var(--ease); }
.site-header.scrolled .header-in { height: 70px; }
.brand { flex: none; display: block; width: 240px; transition: width .35s var(--ease); }
.site-header.scrolled .brand { width: 210px; }
.brand svg, .brand img { width: 100%; height: auto; }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 34px; }
.main-nav ul a { font-size: 13px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; color: var(--ink); padding: 8px 0; position: relative; display: inline-block; transition: color .25s; }
.main-nav ul a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--steel); transform: scaleX(0); transition: transform .35s var(--ease); transform-origin: right; }
.main-nav ul a:hover { color: var(--navy); }
.main-nav ul a:hover::after, .main-nav ul a[aria-current]::after { transform: scaleX(1); transform-origin: left; }
.main-nav ul a[aria-current] { color: var(--navy); font-weight: 600; }
.nav-mobile-extra { display: none; }
.header-actions { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.main-nav + .header-actions { margin-left: 0; }
.menu-btn { display: none; position: relative; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; border-radius: 50%; }
.menu-btn i { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .4s var(--ease), opacity .25s, top .4s var(--ease); }
.menu-btn i:nth-child(1) { top: 15px; } .menu-btn i:nth-child(2) { top: 21px; } .menu-btn i:nth-child(3) { top: 27px; }
.menu-btn[aria-expanded="true"] i:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] i:nth-child(2) { opacity: 0; transform: scaleX(.2); }
.menu-btn[aria-expanded="true"] i:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ---------- Portada con slider ---------- */
.hero-slider { position: relative; height: clamp(560px, 82vh, 820px); overflow: hidden; background: var(--navy); color: #fff; display: flex; align-items: center; }
.hs-slides { position: absolute; inset: 0; }
.hs-slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.2s var(--ease); }
.hs-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 7s linear; }
.hs-slide.is-active { opacity: 1; z-index: 1; }
.hs-slide.is-active img { transform: scale(1); }
.hs-tint { position: absolute; inset: 0; z-index: 2; background: rgba(15, 29, 41, .62); }
.hs-content { position: relative; z-index: 3; text-align: center; display: flex; flex-direction: column; align-items: center; padding-top: 24px; padding-bottom: 90px; }
.hs-content .display { color: #fff; max-width: 980px; }
.hs-content .lead { color: #DCE4EB; margin: 0 auto; max-width: 700px; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 36px; }
.anim-in { opacity: 0; transform: translateY(26px); animation: rise .9s var(--ease) forwards; animation-delay: var(--d, 0s); }
@keyframes rise { to { opacity: 1; transform: none; } }
.hs-ui { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.hs-arrow { pointer-events: auto; position: absolute; top: 50%; transform: translateY(-50%); width: 54px; height: 54px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.4); background: transparent; color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .3s, border-color .3s, transform .3s var(--ease); }
.hs-arrow:hover { background: #fff; color: var(--navy); border-color: #fff; }
.hs-arrow.prev { left: max(24px, calc((100vw - var(--wrap)) / 2 - 40px)); } .hs-arrow.next { right: max(24px, calc((100vw - var(--wrap)) / 2 - 40px)); }
.hs-arrow.prev:hover { transform: translateY(-50%) translateX(-3px); } .hs-arrow.next:hover { transform: translateY(-50%) translateX(3px); }
.hs-bottom { position: absolute; left: 0; right: 0; bottom: 30px; display: flex; flex-direction: column; align-items: center; gap: 14px; pointer-events: auto; }
.hs-caption { margin: 0; display: flex; gap: 14px; align-items: center; font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: #DCE4EB; }
.hs-count b { color: #fff; }
.hs-cap-text { display: inline-block; transition: opacity .4s, transform .4s var(--ease); }
.hs-cap-text.swap { opacity: 0; transform: translateY(8px); }
.hs-dots { display: flex; gap: 8px; }
.hs-dots button { width: 46px; height: 18px; background: none; border: 0; padding: 0; cursor: pointer; display: flex; align-items: center; }
.hs-dots i { display: block; width: 100%; height: 2px; background: rgba(255,255,255,.3); position: relative; overflow: hidden; }
.hs-dots i::after { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.hs-dots button.on i::after { animation: progress var(--dur, 6s) linear forwards; }
.hs-dots button.done i::after { transform: scaleX(1); }
.hero-slider.paused .hs-dots button.on i::after { animation-play-state: paused; }
@keyframes progress { to { transform: scaleX(1); } }

/* ---------- Cifras ---------- */
.stats { border-bottom: 1px solid var(--line); }
.stats-in { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 44px 20px; text-align: center; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat strong { display: block; font-family: var(--serif); font-weight: normal; font-size: clamp(34px, 3.6vw, 48px); color: var(--navy); line-height: 1; margin-bottom: 10px; font-variant-numeric: tabular-nums; }
.stat span { font-size: 14px; color: var(--muted); line-height: 1.45; display: block; max-width: 220px; margin: 0 auto; }

/* ---------- Secciones ---------- */
.section { padding: var(--sec) 0; }
.section-s { padding: 56px 0 var(--sec); }
.sec-head { margin-bottom: 52px; max-width: 760px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head.center .lead { margin: 0 auto; }
.sec-head.center .eyebrow::before, .sec-head.center .eyebrow::after { content: ""; display: inline-block; width: 26px; height: 1px; background: var(--steel); vertical-align: middle; margin: 0 12px 3px; }
.sec-foot { display: flex; justify-content: center; margin-top: 48px; }

/* ---------- Perfil (inicio) ---------- */
.about-teaser { background: var(--soft); }
.about-in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.about-visual { padding: 0 24px 24px 0; }
.mini-quote { margin: 0 0 32px; padding: 6px 0 6px 22px; border-left: 3px solid var(--steel); font-family: var(--serif); text-transform: uppercase; font-size: clamp(18px, 1.7vw, 22px); line-height: 1.3; color: var(--navy); }

/* Retrato */
.portrait { position: relative; margin: 0; }
.portrait img, .portrait-empty { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; border-radius: var(--r); }
.portrait-empty { background: var(--navy); display: flex; align-items: center; justify-content: center; }
.portrait-empty .p-mono { width: 52%; height: auto; }
.portrait::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; border: 1.5px solid var(--steel); border-radius: var(--r); transition: inset .8s var(--ease); }
.portrait.in::before, .no-js .portrait::before { inset: 22px -22px -22px 22px; }
.portrait-card { position: absolute; z-index: 2; left: -28px; bottom: 36px; background: #fff; padding: 18px 24px; border-left: 3px solid var(--steel); box-shadow: 0 10px 30px rgba(25,43,58,.12); min-width: 250px; }
.portrait-card strong { display: block; font-family: var(--serif); font-weight: normal; text-transform: uppercase; color: var(--navy); font-size: 18px; line-height: 1.2; }
.portrait-card span { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--steel); }
.reveal-img img { clip-path: inset(0 0 100% 0); transition: clip-path 1.1s var(--ease); }
.reveal-img.in img { clip-path: inset(0 0 0 0); }

/* ---------- Áreas de práctica ---------- */
.practice-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--gap); }
.practice-card { position: relative; flex: 0 1 calc((100% - 2 * var(--gap)) / 3); display: flex; flex-direction: column; align-items: center; text-align: center; padding: 44px 32px 34px; border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; background: #fff; overflow: hidden; isolation: isolate;
  transition: color .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease), box-shadow .4s var(--ease); }
.practice-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--navy); transform: translateY(101%); transition: transform .55s var(--ease); }
.practice-card h3 { font-family: var(--serif); text-transform: uppercase; font-size: 21px; line-height: 1.18; color: var(--navy); margin: 22px 0 12px; transition: color .4s; text-wrap: balance; }
.practice-card p { font-size: 15px; color: var(--muted); line-height: 1.6; transition: color .4s; }
.pc-num { position: absolute; top: 18px; right: 20px; font-size: 11px; font-weight: 700; letter-spacing: .14em; color: var(--steel); transition: color .4s; }
.pc-ico { width: 60px; height: 60px; display: inline-flex; align-items: center; justify-content: center; border: 1.5px solid var(--steel); border-radius: 50%; color: var(--navy); transition: border-color .4s, color .4s, transform .6s var(--ease), background .4s; flex: none; }
.pc-ico .ico { width: 26px; height: 26px; }
.pc-ico.big { width: 76px; height: 76px; } .pc-ico.big .ico { width: 32px; height: 32px; }
.pc-more { margin-top: auto; padding-top: 18px; display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--navy); transition: color .4s; }
.pc-more .ico { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.practice-card:hover { border-color: var(--navy); transform: translateY(-6px); box-shadow: 0 18px 40px rgba(25,43,58,.16); }
.practice-card:hover::before { transform: translateY(0); }
.practice-card:hover h3, .practice-card:hover .pc-more { color: #fff; }
.practice-card:hover p { color: #C4D1DC; }
.practice-card:hover .pc-num { color: #A9BCCB; }
.practice-card:hover .pc-ico { color: var(--navy); border-color: #fff; background: #fff; transform: rotate(-8deg) scale(1.06); }
.practice-card:hover .pc-more .ico { transform: translateX(6px); }

/* ---------- Extranjeros ---------- */
.for-in { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.for-panel { background: var(--navy); color: #DCE4EB; padding: clamp(40px, 5vw, 72px); border-radius: var(--r) 0 0 var(--r); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.for-panel .h2 { color: #fff; }
.for-panel p { font-size: 17px; margin-bottom: 32px; }
.for-list { border: 1px solid var(--line); border-left: 0; border-radius: 0 var(--r) var(--r) 0; display: flex; flex-direction: column; }
.for-list li { flex: 1; display: flex; align-items: center; gap: 24px; padding: 24px clamp(24px, 4vw, 48px); border-bottom: 1px solid var(--line); font-size: 17px; color: var(--navy); font-weight: 500; transition: background .35s, padding-left .35s var(--ease); }
.for-list li:hover { background: var(--soft); padding-left: calc(clamp(24px, 4vw, 48px) + 8px); }
.for-list li:last-child { border-bottom: 0; }
.for-n { font-family: var(--serif); font-size: 28px; color: var(--steel); flex: none; width: 44px; }

/* ---------- Proceso ---------- */
.process { background: var(--soft); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); position: relative; }
.steps li { padding: 0 12px; position: relative; text-align: center; }
.steps li::before { content: ""; position: absolute; top: 31px; left: calc(50% + 44px); width: calc(100% - 88px + var(--gap)); height: 1px; background: var(--steel); opacity: .5; transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease) .3s; }
.steps li.in::before { transform: scaleX(1); }
.steps li:last-child::before { display: none; }
.step-n { width: 62px; height: 62px; border-radius: 50%; background: #fff; border: 1.5px solid var(--navy); display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 24px; color: var(--navy); margin: 0 auto 26px; position: relative; transition: background .35s, color .35s, transform .35s var(--ease); }
.steps li:hover .step-n { background: var(--navy); color: #fff; transform: scale(1.08); }
.steps h3 { font-family: var(--serif); text-transform: uppercase; font-size: 21px; color: var(--navy); margin-bottom: 10px; }
.steps p { font-size: 15px; color: var(--muted); max-width: 260px; margin-left: auto; margin-right: auto; }

/* ---------- Trayectoria ---------- */
.tl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.tl-side .sec-head, .faq-side .sec-head { margin-bottom: 32px; }
.tl-side, .faq-side { position: sticky; top: 120px; }
.timeline { position: relative; border-left: 1.5px solid var(--line); }
.timeline::before { content: ""; position: absolute; left: -1.5px; top: 0; width: 1.5px; height: 100%; background: var(--steel); transform: scaleY(0); transform-origin: top; transition: transform 1.6s var(--ease); }
.timeline.in::before { transform: scaleY(1); }
.timeline li { position: relative; padding: 0 0 40px 36px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -7.5px; top: 6px; width: 13px; height: 13px; border-radius: 50%; background: #fff; border: 2px solid var(--steel); transition: background .3s, transform .3s; }
.timeline li:first-child::before { background: var(--navy); border-color: var(--navy); }
.timeline li:hover::before { transform: scale(1.3); background: var(--steel); }
.tl-period { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--steel); margin-bottom: 6px; }
.tl-body h3 { font-family: var(--serif); text-transform: uppercase; color: var(--navy); font-size: 20px; line-height: 1.2; margin-bottom: 6px; }
.tl-role { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); margin-bottom: 8px; }
.tl-body p:last-child { font-size: 15px; color: var(--muted); margin: 0; }
.timeline li { display: block; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; font-size: 17px; font-weight: 600; color: var(--navy); transition: color .25s, padding-left .3s var(--ease); }
.faq summary:hover { padding-left: 6px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--line); position: relative; transition: background .3s, border-color .3s, transform .4s var(--ease); }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 10px; right: 10px; top: 15.5px; height: 1.5px; background: var(--navy); transition: transform .35s var(--ease), background .3s; }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i { background: var(--navy); border-color: var(--navy); transform: rotate(180deg); }
.faq details[open] summary i::before, .faq details[open] summary i::after { background: #fff; }
.faq details[open] summary i::after { transform: rotate(0); }
.faq-a { overflow: hidden; }
.faq-a p { padding: 0 52px 24px 0; color: var(--muted); margin: 0; }

/* ---------- Artículos ---------- */
.post-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 32px; }
.post-card { flex: 0 1 calc((100% - 64px) / 3); }
.post-card a { display: flex; flex-direction: column; height: 100%; text-decoration: none; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: #fff; transition: border-color .35s, transform .4s var(--ease), box-shadow .4s var(--ease); }
.post-card a:hover { border-color: var(--steel); transform: translateY(-6px); box-shadow: 0 18px 40px rgba(25,43,58,.12); }
.post-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy); }
.post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post-card a:hover .post-img img { transform: scale(1.06); }
.post-ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.post-ph .ph-mono { width: 26%; opacity: .9; transition: transform .8s var(--ease); }
.post-card a:hover .ph-mono { transform: scale(1.1); }
.post-body { padding: 28px; display: flex; flex-direction: column; flex: 1; }
.post-body time { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--steel); margin-bottom: 12px; }
.post-body h3 { font-family: var(--serif); text-transform: uppercase; color: var(--navy); font-size: 21px; line-height: 1.2; margin-bottom: 12px; }
.post-body p { font-size: 15px; color: var(--muted); }
.post-body .link { margin-top: auto; }

/* ---------- CTA ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--navy); color: #DCE4EB; padding: clamp(64px, 8vw, 110px) 0; text-align: center; }
.cta-in { position: relative; display: flex; flex-direction: column; align-items: center; }
.cta-mono { position: absolute; top: 50%; left: 50%; width: 420px; transform: translate(-50%, -50%); opacity: .05; pointer-events: none; }
.cta-band .h2 { color: #fff; margin-bottom: 12px; position: relative; }
.cta-band p { margin: 0 auto 32px; font-size: 17px; max-width: 560px; position: relative; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; position: relative; }

/* ---------- Páginas interiores ---------- */
.page-hero { padding: 40px 0 clamp(48px, 6vw, 80px); border-bottom: 1px solid var(--line); text-align: center; }
.page-hero .lead { margin: 0 auto; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; font-size: 12px; letter-spacing: .08em; color: var(--muted); margin-bottom: 36px; justify-content: center; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line); }
.crumbs a { text-decoration: none; transition: color .2s; }
.crumbs a:hover { color: var(--navy); }
.svc-hero-in { display: flex; flex-direction: column; align-items: center; gap: 24px; }

/* Perfil */
.crumbs-only { padding-top: 32px; }
.crumbs-only .crumbs ol { margin-bottom: 0; justify-content: flex-start; }
.profile-top { padding-top: 40px; }
.profile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.profile-visual { position: sticky; top: 120px; padding: 0 24px 24px 0; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 40px; border-top: 1px solid var(--navy); }
.fact { padding: 20px 20px 0 0; display: flex; flex-direction: column; gap: 2px; font-size: 14px; color: var(--ink); }
.fact strong { font-family: var(--serif); font-weight: normal; font-size: 26px; color: var(--navy); }
.fact-k { display: block; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--steel); margin-bottom: 6px; }
.quote-band { background: var(--navy); }
.big-quote { margin: 0 auto; max-width: 900px; text-align: center; font-family: var(--serif); text-transform: uppercase; color: #fff; font-size: clamp(24px, 3.2vw, 42px); line-height: 1.2; }
.al-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.tags { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tags li { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r); font-weight: 500; color: var(--navy); transition: border-color .3s, background .3s, transform .3s var(--ease); }
.tags li:hover { border-color: var(--navy); transform: translateY(-2px); }
.tags .ico { color: var(--steel); width: 18px; height: 18px; }

/* Servicios */
.svc-toc { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 64px; }
.svc-toc a { display: inline-flex; gap: 10px; align-items: center; padding: 10px 18px; border: 1px solid var(--line); border-radius: 40px; font-size: 13px; font-weight: 500; text-decoration: none; color: var(--navy); transition: border-color .25s, background .25s, color .25s, transform .25s var(--ease); }
.svc-toc a span { font-size: 11px; font-weight: 700; color: var(--steel); transition: color .25s; }
.svc-toc a:hover { background: var(--navy); color: #fff; border-color: var(--navy); transform: translateY(-2px); }
.svc-toc a:hover span { color: #A9BCCB; }
.svc-area { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); padding: 56px 0; border-top: 1px solid var(--line); scroll-margin-top: 110px; }
.svc-area-head .pc-num { position: static; display: block; margin-bottom: 18px; }
.svc-area-head .h3 { margin: 22px 0 14px; } .svc-area-head .h3 a { text-decoration: none; }
.svc-area-head p { color: var(--muted); }
.svc-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.svc-list li { padding: 20px 0; border-bottom: 1px solid var(--line); }
.svc-list h3 { font-size: 16px; font-weight: 600; color: var(--navy); margin-bottom: 6px; line-height: 1.4; }
.svc-list p { font-size: 14.5px; color: var(--muted); margin: 0; line-height: 1.6; }
.svc-detail { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.svc-cards li { display: grid; grid-template-columns: 56px 1fr; gap: 12px; padding: 26px 0; border-top: 1px solid var(--line); transition: padding-left .35s var(--ease); }
.svc-cards li:hover { padding-left: 8px; }
.svc-cards li:last-child { border-bottom: 1px solid var(--line); }
.sc-n { font-family: var(--serif); font-size: 24px; color: var(--steel); line-height: 1.2; }
.svc-cards h3 { font-size: 18px; font-weight: 600; color: var(--navy); margin-bottom: 6px; line-height: 1.35; }
.svc-cards p { color: var(--muted); margin: 0; }
.side-card { position: sticky; top: 120px; background: var(--navy); color: #DCE4EB; padding: 36px; border-radius: var(--r); }
.side-card .h3 { color: #fff; margin-bottom: 14px; }
.side-card p { font-size: 15px; margin-bottom: 24px; }
.side-card .btn { margin-bottom: 10px; }
.side-contact { margin-top: 22px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.15); font-size: 14px; }
.side-contact li { display: flex; gap: 12px; align-items: center; padding: 6px 0; }
.side-contact .ico { width: 18px; height: 18px; color: #A9BCCB; }
.side-contact a { text-decoration: none; color: #fff; word-break: break-all; }
.related { background: var(--soft); }
.related .h3 { text-align: center; }
.related .practice-card { padding: 34px 26px 28px; }

/* Artículo */
.art-hero { border-bottom: 0; padding-bottom: 32px; }
.art-cover { width: 100%; border-radius: var(--r); margin-bottom: 8px; aspect-ratio: 16/9; object-fit: cover; }
.draft-flag { display: inline-block; background: #FFF4D6; color: #7A5A00; font-size: 12px; font-weight: 600; padding: 6px 12px; border-radius: 4px; }
.author { display: flex; align-items: center; gap: 18px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); }
.author-mono { width: 64px; height: 64px; border-radius: 50%; background: var(--navy); display: flex; align-items: center; justify-content: center; flex: none; overflow: hidden; }
.author-mono svg { width: 52%; }
.author-mono img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.author strong { display: block; font-family: var(--serif); font-weight: normal; text-transform: uppercase; color: var(--navy); font-size: 18px; }
.author span { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--steel); }

/* Contacto */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.form-card { border: 1px solid var(--line); border-radius: var(--r); padding: clamp(24px, 4vw, 48px); background: #fff; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: block; margin-bottom: 22px; }
.field span { display: block; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--navy); margin-bottom: 8px; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1px solid #C9D3DB; border-radius: var(--r); padding: 14px 16px; transition: border-color .25s, box-shadow .25s; -webkit-appearance: none; appearance: none; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23192B3A' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 42px; }
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(111,140,163,.2); }
.has-err input, .has-err textarea, .check.has-err { border-color: #B0413E !important; }
.has-err span { color: #B0413E; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted); margin: 4px 0 28px; border: 1px solid transparent; padding: 4px; border-radius: 4px; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--navy); }
.check a { color: var(--navy); }
.hp { position: absolute; left: -9999px; }
.notice { display: flex; gap: 14px; align-items: center; padding: 18px 20px; border-radius: var(--r); margin-bottom: 28px; animation: rise .6s var(--ease); }
.notice p { margin: 0; }
.notice.ok { background: #EAF3EE; color: #1E5A3A; }
.notice.err { background: #FBEDEC; color: #8A2E2B; }
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.ci-wa { display: flex; gap: 16px; align-items: center; padding: 22px 24px; background: var(--navy); color: #fff; border-radius: var(--r); text-decoration: none; transition: transform .3s var(--ease), box-shadow .3s; }
.ci-wa:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(25,43,58,.2); }
.ci-wa .ico { width: 34px; height: 34px; }
.ci-wa strong { display: block; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: #A9BCCB; }
.ci-list li { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.ci-list li:first-child { border-top: 1px solid var(--line); }
.ci-list .ico { color: var(--steel); margin-top: 2px; }
.ci-list a { color: var(--navy); text-decoration: none; word-break: break-word; }
.ci-list div > span:not(.fact-k) { display: block; color: var(--ink); }
.ci-list .link-arrow { margin-top: 8px; font-size: 11px; }
.map { margin-top: 56px; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.map iframe { width: 100%; height: 380px; border: 0; display: block; filter: grayscale(.4); }
.nf { min-height: 50vh; display: flex; align-items: center; }
.nf .lead { margin: 0 auto 32px; }

.wa-float { position: fixed; right: 22px; bottom: 22px; width: 58px; height: 58px; border-radius: 50%; background: var(--navy); border: 2px solid rgba(255,255,255,.9); color: #fff; display: flex; align-items: center; justify-content: center; z-index: 40; box-shadow: 0 8px 22px rgba(0,0,0,.18); transition: transform .3s var(--ease); animation: waPulse 3s ease-in-out 2s infinite; }
.wa-float:hover { transform: scale(1.08); }
.wa-float .ico { width: 30px; height: 30px; }
@keyframes waPulse { 0%, 100% { box-shadow: 0 8px 22px rgba(25,43,58,.25), 0 0 0 0 rgba(111,140,163,.55); } 50% { box-shadow: 0 8px 22px rgba(25,43,58,.25), 0 0 0 14px rgba(111,140,163,0); } }
.tabbar { display: none; }

/* ---------- Animación al aparecer ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--rd, 0s); }
.reveal.in { opacity: 1; transform: none; }
.reveal.from-left { transform: translateX(-36px); } .reveal.from-right { transform: translateX(36px); }
.reveal.from-left.in, .reveal.from-right.in { transform: none; }
.reveal.zoom { transform: scale(.94); } .reveal.zoom.in { transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .main-nav ul { gap: 22px; }
  .brand { width: 210px; }
  .tb-loc { display: none !important; }
}
@media (max-width: 1000px) { .hide-md { display: none !important; } }
@media (max-width: 960px) {
  :root { --head-h: 66px; --tab-h: 66px; --gap: 16px; }
  .topbar { font-size: 12px; }
  .topbar-in { min-height: 38px; gap: 12px; }
  .tb-contact { gap: 14px; }
  .tb-mail span, .tb-wa span, .tb-social { display: none; }
  .tb-mail a, .tb-wa { width: 30px; height: 30px; justify-content: center; border-radius: 50%; background: rgba(255,255,255,.08); }
  .tb-right { gap: 10px; }
  .site-header .header-in, .site-header.scrolled .header-in { height: var(--head-h); }
  .brand, .site-header.scrolled .brand { width: 188px; }
  .menu-btn { display: block; }
  .main-nav { position: fixed; inset: var(--head-h) 0 0 0; background: #fff; padding: 12px max(24px, env(safe-area-inset-left)) calc(var(--tab-h) + 24px + env(safe-area-inset-bottom)); margin: 0; overflow-y: auto;
    opacity: 0; visibility: hidden; clip-path: inset(0 0 100% 0); transition: clip-path .55s var(--ease), opacity .3s, visibility 0s .55s; }
  .main-nav.open { opacity: 1; visibility: visible; clip-path: inset(0 0 0 0); transition: clip-path .55s var(--ease), opacity .3s, visibility 0s; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav li { border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(16px); transition: opacity .4s, transform .5s var(--ease); }
  .main-nav.open li { opacity: 1; transform: none; transition-delay: calc(.12s + var(--i) * .06s); }
  .main-nav ul a { display: flex; padding: 18px 0; font-family: var(--serif); font-size: 24px; letter-spacing: .02em; font-weight: normal; }
  .main-nav ul a[aria-current] { font-weight: normal; color: var(--steel); }
  .main-nav ul a::after { display: none; }
  .nav-mobile-extra { display: flex; flex-direction: column; gap: 22px; margin-top: 28px; opacity: 0; transform: translateY(16px); transition: opacity .4s .4s, transform .5s var(--ease) .4s; }
  .main-nav.open .nav-mobile-extra { opacity: 1; transform: none; }
  .nme-row { display: flex; flex-direction: column; gap: 12px; }
  .nme-row a { display: flex; gap: 12px; align-items: center; color: var(--navy); text-decoration: none; font-weight: 500; font-size: 15px; }
  .nme-row .ico { color: var(--steel); width: 20px; height: 20px; }
  .nme-foot { display: flex; justify-content: space-between; align-items: center; }
  .nme-foot .lang-switch { background: var(--soft); }
  .nme-foot .lang-switch a { color: var(--muted); } .nme-foot .lang-switch a.on { background: var(--navy); color: #fff; }
  .nme-foot .tb-social a { color: var(--navy); border: 1px solid var(--line); width: 40px; height: 40px; }
  body.menu-open { overflow: hidden; }

  /* Barra inferior estilo app */
  body { padding-bottom: calc(var(--tab-h) + env(safe-area-inset-bottom)); }
  .wa-float { display: none; }
  .tabbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; height: calc(var(--tab-h) + env(safe-area-inset-bottom)); padding: 0 max(6px, env(safe-area-inset-left)) env(safe-area-inset-bottom); background: rgba(255,255,255,.97); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--line); box-shadow: 0 -6px 24px rgba(25,43,58,.06); }
  .tab { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-decoration: none; color: #7C8A96; font-size: 10.5px; font-weight: 600; letter-spacing: .04em; position: relative; transition: color .25s; }
  .tab .ico { width: 22px; height: 22px; transition: transform .35s var(--ease); }
  .tab.on { color: var(--navy); }
  .tab.on::before { content: ""; position: absolute; top: 0; left: 30%; right: 30%; height: 2.5px; border-radius: 0 0 3px 3px; background: var(--navy); animation: tabIn .4s var(--ease); }
  .tab:active .ico { transform: scale(.85); }
  @keyframes tabIn { from { transform: scaleX(0); } }
  .tab-wa-btn { width: 40px; height: 30px; border-radius: 15px; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; transition: transform .3s var(--ease), background .3s; }
  .tab-wa-btn .ico { width: 18px; height: 18px; }
  .tab-wa { color: var(--navy); }
  .tab-wa:active .tab-wa-btn { transform: scale(.92); background: var(--steel); }

  .hero-slider { height: auto; min-height: calc(100svh - var(--head-h) - var(--tab-h) - 40px); max-height: 720px; }
  .hs-content { padding-top: 48px; padding-bottom: 104px; }
  .hs-content .eyebrow { font-size: 10.5px; letter-spacing: .18em; max-width: 300px; line-height: 1.7; }
  .hs-content .lead { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .hs-caption { display: none; }
  .hs-arrow { display: none; }
  .about-in, .tl-grid, .faq-grid, .al-grid, .profile-grid, .svc-area, .svc-detail, .contact-grid { grid-template-columns: 1fr; }
  .about-visual, .profile-visual { max-width: 440px; width: 100%; margin: 0 auto; position: static; }
  .about-text, .tl-side, .faq-side { text-align: center; }
  .about-text .lead, .about-text .mini-quote { margin-left: auto; margin-right: auto; }
  .mini-quote { border-left: 0; border-top: 2px solid var(--steel); padding: 18px 0 0; max-width: 520px; }
  .tl-side, .faq-side { position: static; }
  .tl-side .sec-head, .faq-side .sec-head { margin-left: auto; margin-right: auto; }
  .tl-side .btn, .faq-side .btn { display: none; }
  .stats-in { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .for-in { grid-template-columns: 1fr; }
  .for-panel { border-radius: var(--r) var(--r) 0 0; align-items: center; text-align: center; }
  .for-list { border-left: 1px solid var(--line); border-top: 0; border-radius: 0 0 var(--r) var(--r); }
  .steps { grid-template-columns: 1fr 1fr; gap: 40px var(--gap); }
  .steps li::before { display: none; }
  .side-card { position: static; }


  /* Carruseles deslizables estilo app */
  .practice-grid, .post-grid { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none;
    margin: 0 calc(-1 * max(24px, env(safe-area-inset-left))); padding: 6px max(24px, env(safe-area-inset-left)) 18px; scroll-padding: 0 max(24px, env(safe-area-inset-left)); }
  .practice-grid::-webkit-scrollbar, .post-grid::-webkit-scrollbar { display: none; }
  .practice-card, .post-card { flex: 0 0 min(78%, 340px); scroll-snap-align: start; }
  .practice-card:hover, .post-card a:hover { transform: none; }
  .swipe-hint { display: flex; justify-content: center; gap: 6px; margin-top: 6px; }
  .swipe-hint i { width: 6px; height: 6px; border-radius: 3px; background: var(--line); transition: width .3s var(--ease), background .3s; }
  .swipe-hint i.on { width: 22px; background: var(--navy); }
}
@media (min-width: 961px) { .swipe-hint { display: none; } }
@media (max-width: 640px) {
  .wrap { padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }
  .section { padding: 64px 0; }
  .sec-head { margin-bottom: 36px; }
  .sec-head.center .eyebrow::before, .sec-head.center .eyebrow::after { width: 14px; margin: 0 8px 3px; }
  .display { font-size: 32px; margin-bottom: 18px; }
  .hs-content .lead { font-size: 15.5px; }
  .hero-actions { flex-direction: column; width: 100%; max-width: 300px; margin-top: 28px; gap: 10px; }
  .hero-actions .btn { width: 100%; }
  .hs-caption { flex-direction: column; gap: 4px; font-size: 11px; text-align: center; }
  .stat { padding: 28px 12px; }
  .svc-list, .f-row, .facts, .tags, .steps { grid-template-columns: 1fr; }
  .steps { gap: 32px; }
  .portrait-card { left: 12px; right: 12px; bottom: -20px; min-width: 0; text-align: center; border-left: 0; border-top: 3px solid var(--steel); }
  .about-visual, .profile-visual { padding: 0 0 36px; }
  .portrait::before { inset: 12px -12px -12px 12px; }
  .about-visual, .profile-visual { padding-right: 12px; }
  .faq-a p { padding-right: 0; }
  .faq summary { font-size: 16px; }
  .for-list li { font-size: 15.5px; }
  .cta-actions { flex-direction: column; width: 100%; max-width: 320px; }
  .cta-actions .btn { width: 100%; }
  .sec-foot .btn { width: 100%; max-width: 320px; }
  .facts .fact { padding-right: 0; text-align: center; }
  .crumbs-only .crumbs ol { justify-content: center; }
  .profile-top .eyebrow, .profile-top .h1, .profile-top .role { text-align: center; }
  .profile-top .lead { text-align: center; }
  .svc-cards li { grid-template-columns: 44px 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal, .anim-in { opacity: 1; transform: none; }
  .reveal-img img { clip-path: none; }
}

/* =================================================================
   v1.1 · Pie, encabezados de página, servicios con menú vertical,
   formulario perfilador y mapa ilustrado
   ================================================================= */

/* ---------- Pie de página ---------- */
.site-footer { background: var(--navy-d); color: #AEBBC6; font-size: 14px; text-align: center; }
.f-top { display: flex; flex-direction: column; align-items: center; gap: 18px; padding-top: 72px; padding-bottom: 44px; }
.f-logo { display: block; width: 250px; }
.f-tag { margin: 0; max-width: 460px; }
.f-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 30px; margin-top: 10px; }
.f-nav a { color: #fff; text-decoration: none; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; position: relative; padding: 4px 0; }
.f-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--steel); transform: scaleX(0); transition: transform .35s var(--ease); }
.f-nav a:hover::after { transform: scaleX(1); }
.f-contact { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.1); border-bottom: 1px solid rgba(255,255,255,.1); padding-top: 0; padding-bottom: 0; }
.f-contact a { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 26px 12px; text-decoration: none; color: #fff; text-align: left; transition: background .3s; min-width: 0; }
.f-contact a + a { border-left: 1px solid rgba(255,255,255,.1); }
.f-contact a:hover { background: rgba(255,255,255,.03); }
.f-contact small { display: block; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: #8EA2B3; }
.f-contact span:last-child { min-width: 0; overflow-wrap: anywhere; }
.f-ico { width: 42px; height: 42px; flex: none; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); display: flex; align-items: center; justify-content: center; color: var(--steel); transition: background .3s, color .3s, border-color .3s; }
.f-ico .ico { width: 18px; height: 18px; }
.f-contact a:hover .f-ico { background: #fff; color: var(--navy); border-color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 22px; padding-bottom: 26px; font-size: 12px; letter-spacing: .04em; }
.footer-bottom a { color: #AEBBC6; text-decoration: none; } .footer-bottom a:hover { color: #fff; }
.social { display: flex; gap: 8px; }
.social a { width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; transition: background .3s, color .3s, transform .3s var(--ease); }
.social a:hover { background: #fff; color: var(--navy); transform: translateY(-3px); }
.social .ico { width: 16px; height: 16px; }

/* ---------- Encabezado de páginas interiores ---------- */
.page-banner { position: relative; overflow: hidden; background: var(--navy); color: #fff; text-align: center; min-height: clamp(320px, 42vh, 440px); display: flex; align-items: center; }
.page-banner.no-img { min-height: 260px; }
.pb-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); animation: pbZoom 9s var(--ease) forwards; }
@keyframes pbZoom { to { transform: scale(1); } }
.pb-tint { position: absolute; inset: 0; background: rgba(15, 29, 41, .7); }
.pb-in { position: relative; z-index: 1; padding-top: 48px; padding-bottom: 56px; display: flex; flex-direction: column; align-items: center; }
.page-banner .h1 { color: #fff; max-width: 900px; margin-bottom: 14px; }
.page-banner .lead { color: #DCE4EB; margin: 0 auto; max-width: 680px; }
.page-banner .crumbs ol { margin-bottom: 26px; color: #AEBBC6; }
.page-banner .crumbs li + li::before { color: #5F7586; }
.page-banner .crumbs a:hover { color: #fff; }
.page-banner .crumbs [aria-current] { color: #fff; }
.pb-ico { width: 68px; height: 68px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.5); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.pb-ico .ico { width: 30px; height: 30px; }
.page-banner .draft-flag { margin-bottom: 16px; }

/* ---------- Servicios: menú vertical ---------- */
.svc-layout { display: grid; grid-template-columns: 96px 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.svc-rail { position: sticky; top: 110px; z-index: 5; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 18px 0; border: 1px solid var(--line); border-radius: 48px; background: #fff; }
.rail-k { margin: 0 0 4px; font-size: 10px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--steel); }
.svc-rail ul { display: flex; flex-direction: column; gap: 10px; }
.rail-item, .rail-all { position: relative; display: flex; align-items: center; text-decoration: none; }
.rail-ico { width: 54px; height: 54px; border-radius: 50%; border: 1.5px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--navy); background: #fff; transition: background .35s, color .35s, border-color .35s, transform .35s var(--ease); }
.rail-ico .ico { width: 23px; height: 23px; }
.rail-t { position: absolute; left: calc(100% + 14px); top: 50%; transform: translate(-8px, -50%); white-space: nowrap; background: var(--navy); color: #fff; font-size: 12.5px; font-weight: 600; padding: 9px 16px 9px 14px; border-radius: 4px; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .3s, transform .35s var(--ease), visibility 0s .35s; box-shadow: 0 10px 24px rgba(25,43,58,.18); }
.rail-t::before { content: ""; position: absolute; left: -6px; top: 50%; margin-top: -6px; border: 6px solid transparent; border-left: 0; border-right-color: var(--navy); }
.rail-t small { color: #A9BCCB; font-weight: 700; margin-right: 8px; letter-spacing: .1em; }
.rail-item:hover .rail-t, .rail-item:focus-visible .rail-t, .rail-item.show .rail-t, .rail-all:hover .rail-t { opacity: 1; visibility: visible; transform: translate(0, -50%); transition: opacity .3s, transform .35s var(--ease), visibility 0s; }
.rail-item:hover .rail-ico, .rail-item.on .rail-ico { background: var(--navy); color: #fff; border-color: var(--navy); }
.rail-item:hover .rail-ico { transform: scale(1.06); }
.rail-all { width: 54px; height: 54px; justify-content: center; color: var(--steel); border-top: 1px solid var(--line); margin-top: 4px; padding-top: 6px; }
.rail-all .ico { width: 20px; height: 20px; }
.svc-main { min-width: 0; }
.svc-area { padding: 0 0 56px; margin-bottom: 56px; border-bottom: 1px solid var(--line); border-top: 0; display: block; scroll-margin-top: 110px; }
.svc-area:last-child { margin-bottom: 0; border-bottom: 0; padding-bottom: 0; }
.svc-area-head { display: grid; grid-template-columns: 76px 1fr; gap: 24px; align-items: start; margin-bottom: 28px; }
.svc-area-head .pc-ico { width: 76px; height: 76px; }
.svc-area-head .pc-ico .ico { width: 30px; height: 30px; }
.svc-area-head .pc-num { position: static; display: block; margin-bottom: 8px; }
.svc-area-head .h3 { margin: 0 0 10px; } .svc-area-head .h3 a { text-decoration: none; }
.svc-area-head p { color: var(--muted); margin: 0; max-width: 720px; }
.svc-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.svc-list li { display: grid; grid-template-columns: 30px 1fr; gap: 10px; padding: 20px 20px 18px; border: 1px solid var(--line); border-radius: var(--r); transition: border-color .3s, transform .35s var(--ease), box-shadow .35s; }
.svc-list li:hover { border-color: var(--steel); transform: translateY(-3px); box-shadow: 0 12px 28px rgba(25,43,58,.08); }
.sl-dot { width: 26px; height: 26px; border-radius: 50%; background: var(--soft); color: var(--navy); display: flex; align-items: center; justify-content: center; }
.sl-dot .ico { width: 14px; height: 14px; }
.svc-area-foot { display: flex; justify-content: space-between; gap: 20px; margin-top: 24px; flex-wrap: wrap; }
.svc-detail-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 20px; }
.svc-detail-head .pc-num { position: static; }
.svc-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.svc-cards li { display: block; padding: 26px 24px; border: 1px solid var(--line); border-radius: var(--r); transition: border-color .3s, transform .35s var(--ease), box-shadow .35s; }
.svc-cards li:last-child { border-bottom: 1px solid var(--line); }
.svc-cards li:hover { padding-left: 24px; border-color: var(--steel); transform: translateY(-3px); box-shadow: 0 12px 28px rgba(25,43,58,.08); }
.svc-cards .sc-n { display: block; margin-bottom: 10px; }
.help-card { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; margin-top: 40px; background: var(--navy); color: #DCE4EB; padding: clamp(28px, 4vw, 44px); border-radius: var(--r); }
.help-card .h3 { color: #fff; margin-bottom: 8px; }
.help-card p { margin: 0; font-size: 15px; }
.help-actions { display: flex; flex-direction: column; gap: 10px; }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
.pager a { display: flex; align-items: center; gap: 14px; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; color: var(--navy); font-weight: 600; font-size: 14px; transition: border-color .3s, background .3s; }
.pager a:hover { border-color: var(--navy); background: var(--soft); }
.pager small { display: block; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--steel); }
.pager .pg-next { justify-content: flex-end; text-align: right; }
.pager .ico { width: 20px; height: 20px; color: var(--steel); }

/* ---------- Formulario perfilador ---------- */
.lf-progress { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 30px; counter-reset: s; }
.lf-progress li { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #8C99A4; padding-bottom: 12px; border-bottom: 2px solid var(--line); transition: color .3s, border-color .4s var(--ease); }
.lf-progress b { width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid currentColor; display: flex; align-items: center; justify-content: center; font-size: 12px; flex: none; transition: background .3s, color .3s; }
.lf-progress li.on { color: var(--navy); border-color: var(--navy); }
.lf-progress li.done { color: var(--steel); border-color: var(--steel); }
.lf-progress li.on b { background: var(--navy); color: #fff; border-color: var(--navy); }
.lead-form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.js .lf-step { display: none; }
.js .lf-step.is-active { display: block; animation: stepIn .5s var(--ease); }
.js .lf-step.back { animation-name: stepBack; }
@keyframes stepIn { from { opacity: 0; transform: translateX(26px); } }
@keyframes stepBack { from { opacity: 0; transform: translateX(-26px); } }
.no-js .lf-step + .lf-step { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); }
.lf-title { font-family: var(--serif); text-transform: uppercase; font-size: clamp(22px, 2.2vw, 28px); color: var(--navy); line-height: 1.15; padding: 0; margin-bottom: 6px; }
.lf-sub { color: var(--muted); margin-bottom: 24px; }
.lf-sub [data-chosen] { display: inline-flex; align-items: center; gap: 8px; color: var(--navy); font-weight: 600; background: var(--soft); padding: 6px 14px; border-radius: 20px; font-size: 14px; }
.svc-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.svc-pick.has-err .pick-in { border-color: #B0413E; }
.pick { position: relative; cursor: pointer; }
.pick input { position: absolute; opacity: 0; pointer-events: none; }
.pick-in { display: flex; align-items: center; gap: 14px; height: 100%; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: var(--r); transition: border-color .3s, background .3s, transform .3s var(--ease), box-shadow .3s; }
.pick .pc-ico { width: 46px; height: 46px; }
.pick .pc-ico .ico { width: 21px; height: 21px; }
.pick-t { font-size: 14.5px; font-weight: 600; color: var(--navy); line-height: 1.35; flex: 1; }
.pick-ok { width: 24px; height: 24px; border-radius: 50%; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; opacity: 0; transform: scale(.4); transition: opacity .3s, transform .35s var(--ease); flex: none; }
.pick-ok .ico { width: 14px; height: 14px; }
.pick:hover .pick-in { border-color: var(--steel); transform: translateY(-2px); }
.pick input:checked + .pick-in { border-color: var(--navy); background: var(--soft); box-shadow: 0 10px 24px rgba(25,43,58,.08); }
.pick input:checked + .pick-in .pc-ico { background: var(--navy); color: #fff; border-color: var(--navy); }
.pick input:checked + .pick-in .pick-ok { opacity: 1; transform: none; }
.pick input:focus-visible + .pick-in { outline: 2px solid var(--steel); outline-offset: 2px; }
.q-set { display: none; }
.q-set.on, .no-js .q-set { display: block; }
.q { margin-bottom: 22px; border-radius: var(--r); }
.q.has-err .q-l { color: #B0413E; }
.q-l { display: block; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--navy); margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 10px 16px; border: 1.5px solid var(--line); border-radius: 22px; font-size: 14px; color: var(--ink); transition: border-color .25s, background .25s, color .25s, transform .25s var(--ease); }
.chip:hover span { border-color: var(--steel); }
.chip input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--steel); outline-offset: 2px; }
.chip:active span { transform: scale(.96); }
.q-in { width: 100%; font: inherit; font-size: 16px; color: var(--ink); border: 1px solid #C9D3DB; border-radius: var(--r); padding: 13px 16px; }
.q-in:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(111,140,163,.2); }
.lf-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
.lf-shake { animation: shake .45s; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.lead-done { text-align: center; padding: 20px 0; animation: rise .7s var(--ease); }
.ld-check { width: 76px; height: 76px; border-radius: 50%; background: var(--navy); color: #fff; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 22px; animation: pop .6s var(--ease) .1s both; }
.ld-check .ico { width: 34px; height: 34px; }
@keyframes pop { from { transform: scale(.3); opacity: 0; } }
.lead-done .lead { margin: 0 auto 18px; }
.ld-mail { display: inline-flex; gap: 10px; align-items: center; background: var(--soft); padding: 12px 18px; border-radius: var(--r); font-size: 14px; color: var(--ink); }
.ld-mail .ico { color: var(--steel); width: 18px; height: 18px; }
.ld-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Información de contacto */
.contact-grid { grid-template-columns: 1.55fr 1fr; }
.contact-info { position: sticky; top: 110px; }
.ci-wa { justify-content: space-between; }
.ci-wa > span:nth-child(2) { flex: 1; }
.ci-wa-ico { width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; }
.ci-wa-ico .ico { width: 24px; height: 24px; }
.ci-wa > .ico { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.ci-wa:hover > .ico { transform: translateX(5px); }
.ci-ico { width: 42px; height: 42px; flex: none; border-radius: 50%; background: var(--soft); display: flex; align-items: center; justify-content: center; color: var(--navy); }
.ci-ico .ico { width: 18px; height: 18px; margin: 0; color: var(--navy); }
.ci-list li { align-items: center; }

/* ---------- Mapa ilustrado ---------- */
.map-wrap { margin-top: 64px; }
.brand-map { position: relative; height: clamp(380px, 46vw, 520px); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: #E3EAF0; }
.bm-svg { width: 100%; height: 100%; display: block; }
.m-lbl { font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; fill: #6A7D8C; }
.m-lbl.city { fill: var(--navy); font-size: 14px; letter-spacing: .16em; }
.m-lbl.bay { font-family: var(--serif); font-size: 30px; font-weight: normal; letter-spacing: .3em; fill: #8DA3B5; }
.m-lbl.state { font-size: 11px; letter-spacing: .4em; fill: #A3B3C0; }
.m-lbl.river { font-size: 10.5px; fill: #8DA3B5; font-style: italic; letter-spacing: .12em; }
.m-lbl.road { font-size: 10px; fill: var(--steel); letter-spacing: .12em; }
.m-lbl.n { font-size: 12px; fill: var(--navy); }
.bm-drop { animation: pinDrop 1s var(--ease) .3s both; }
@keyframes pinDrop { from { transform: translateY(-80px); opacity: 0; } 60% { transform: translateY(6px); opacity: 1; } }
.bm-pulse { transform-origin: 0 0; animation: pinPulse 2.4s ease-out 1.2s infinite; opacity: 0; }
@keyframes pinPulse { 0% { transform: scale(.4); opacity: .7; } 100% { transform: scale(3.2); opacity: 0; } }
.bm-card { position: absolute; left: clamp(16px, 4vw, 40px); top: 50%; transform: translateY(-50%); width: min(320px, calc(100% - 32px)); background: #fff; padding: 26px 26px 24px; border-radius: var(--r); box-shadow: 0 18px 40px rgba(25,43,58,.14); border-top: 3px solid var(--navy); }
.bm-card .eyebrow { margin-bottom: 8px; }
.bm-card strong { display: block; font-family: var(--serif); font-weight: normal; text-transform: uppercase; color: var(--navy); font-size: 20px; margin-bottom: 8px; }
.bm-card p { font-size: 14px; color: var(--muted); line-height: 1.6; margin-bottom: 18px; }

/* ---------- Ajustes de perfil ---------- */
.profile-top .h2 { margin-bottom: 14px; }

/* ---------- Responsive v1.1 ---------- */
@media (max-width: 960px) {
  .page-banner { min-height: 300px; }
  .pb-in { padding-top: 36px; padding-bottom: 44px; }
  .svc-layout { grid-template-columns: 1fr; gap: 28px; }
  .svc-rail { position: sticky; top: var(--head-h); flex-direction: row; justify-content: center; border-radius: 0; border-left: 0; border-right: 0; padding: 10px 0; margin: -24px calc(-1 * max(24px, env(safe-area-inset-left))) 0; background: rgba(255,255,255,.98); z-index: 20; overflow-x: auto; scrollbar-width: none; }
  .svc-rail::-webkit-scrollbar { display: none; }
  .rail-k { display: none; }
  .svc-rail ul { flex-direction: row; gap: 8px; }
  .rail-ico { width: 44px; height: 44px; } .rail-ico .ico { width: 19px; height: 19px; }
  .rail-t { left: 50%; top: calc(100% + 10px); transform: translate(-50%, -6px); font-size: 12px; }
  .rail-t::before { left: 50%; top: -6px; margin: 0 0 0 -6px; border: 6px solid transparent; border-top: 0; border-bottom-color: var(--navy); }
  .rail-item:hover .rail-t, .rail-item.show .rail-t { transform: translate(-50%, 0); }
  .rail-item:hover .rail-t { opacity: 0; visibility: hidden; }
  .rail-item.show .rail-t { opacity: 1; visibility: visible; }
  .rail-all { display: none; }
  .svc-list, .svc-cards { grid-template-columns: 1fr; }
  .help-card { grid-template-columns: 1fr; text-align: center; }
  .help-actions { flex-direction: row; justify-content: center; flex-wrap: wrap; }
  .contact-info { position: static; }
  .f-contact { grid-template-columns: 1fr; }
  .f-contact a { justify-content: flex-start; padding: 18px 4px; }
  .f-contact a + a { border-left: 0; border-top: 1px solid rgba(255,255,255,.1); }
  .footer-bottom { flex-direction: column; text-align: center; }
  .brand-map { height: 460px; }
  .bm-card { top: auto; bottom: 16px; transform: none; left: 16px; right: 16px; width: auto; }
}
@media (max-width: 640px) {
  .svc-area-head { grid-template-columns: 1fr; text-align: center; justify-items: center; gap: 16px; }
  .svc-area-foot { justify-content: center; flex-direction: column; align-items: center; gap: 14px; }
  .svc-detail-head { flex-direction: column; align-items: center; text-align: center; gap: 4px; }
  .pager { grid-template-columns: 1fr; }
  .svc-pick { grid-template-columns: 1fr; }
  .lf-progress span { display: none; }
  .lf-progress li { justify-content: center; }
  .lf-nav .btn { flex: 1; padding-left: 14px; padding-right: 14px; }
  .lf-nav > span:empty { display: none; }
  .f-top { padding-top: 56px; }
  .f-nav { gap: 6px 20px; }
  .bm-card { padding: 18px 18px 16px; }
  .bm-card p { margin-bottom: 12px; }
  .m-lbl.bay { font-size: 24px; }
  .author { flex-wrap: wrap; justify-content: center; text-align: center; }
}
.svc-list li:last-child:nth-child(odd), .svc-cards li:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (max-width: 960px) {
  .header-actions, .main-nav + .header-actions { margin-left: auto; }
  .contact-grid { grid-template-columns: 1fr; }
  .brand-map { height: auto; background: #fff; }
  .bm-svg { height: 320px; background: #E3EAF0; }
  .bm-card { position: static; transform: none; width: auto; box-shadow: none; border-top: 1px solid var(--line); border-radius: 0; text-align: center; }
  .bm-card .btn { margin: 0 auto; }
  .cta-mono { display: none; }
}
@media (max-width: 640px) {
  .page-banner .crumbs { display: none; }
  .pb-ico { width: 56px; height: 56px; margin-bottom: 14px; }
  .page-banner .h1 { font-size: 28px; }
  .page-banner .lead { font-size: 15px; }
}
@media (max-width: 640px) {
  .svc-rail, .practice-grid, .post-grid { margin-left: calc(-1 * max(20px, env(safe-area-inset-left))); margin-right: calc(-1 * max(20px, env(safe-area-inset-right))); }
  .practice-grid, .post-grid { padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); scroll-padding: 0 max(20px, env(safe-area-inset-left)); }
}

/* =================================================================
   v1.2 · Slider más ligero, trayectoria horizontal, pie centrado,
   barra superior fija en celular, mapa de calles, formulario guiado
   ================================================================= */
:root { --tb-h: 0px; }

/* Slider: textos más ligeros y con aire */
.hero-slider { height: clamp(520px, 76vh, 760px); }
.hs-content { padding-top: 12px; padding-bottom: 96px; }
.hs-content .eyebrow { font-size: 11px; letter-spacing: .24em; margin-bottom: 16px; }
.hs-content .display { font-size: clamp(30px, 3.4vw, 50px); line-height: 1.12; max-width: 820px; margin-bottom: 18px; }
.hs-content .lead { font-size: clamp(15px, 1.15vw, 17px); line-height: 1.7; max-width: 600px; }
.hero-actions { margin-top: 30px; gap: 12px; }
.hero-actions .btn { padding: 14px 24px; font-size: 12px; }

/* Trayectoria horizontal y simétrica */
.tl-section .sec-head { margin-bottom: 56px; }
.timeline.tl-h { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 28px; border-left: 0; }
.timeline.tl-h::before { left: 0; right: 0; top: 7px; width: auto; height: 1.5px; transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease); z-index: 1; }
.timeline.tl-h.in::before { transform: scaleX(1); }
.tl-h li { position: relative; padding: 0; display: flex; flex-direction: column; align-items: center; text-align: center; }
.tl-h li::before { display: none; }
.tl-h li::after { content: ""; position: absolute; top: 7px; left: 0; right: -28px; height: 1.5px; background: var(--line); }
.tl-h li:last-child::after { right: 0; }
.tl-dot { position: relative; z-index: 2; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 2px solid var(--steel); margin-bottom: 22px; transition: transform .35s var(--ease), background .3s; }
.tl-h li:first-child .tl-dot { background: var(--navy); border-color: var(--navy); }
.tl-h .tl-period { background: var(--soft); color: var(--navy); padding: 6px 14px; border-radius: 20px; font-size: 11.5px; margin-bottom: 14px; }
.tl-h .tl-body { flex: 1; width: 100%; padding: 26px 22px 24px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; transition: border-color .35s, transform .4s var(--ease), box-shadow .4s; }
.tl-h .tl-body h3 { font-size: 18px; }
.tl-h li:hover .tl-body { border-color: var(--steel); transform: translateY(-4px); box-shadow: 0 14px 30px rgba(25,43,58,.08); }
.tl-h li:hover .tl-dot { transform: scale(1.25); background: var(--steel); }

/* Preguntas frecuentes centradas */
.faq-wrap .faq { max-width: 860px; margin: 0 auto; }

/* Pie de página */
.f-social { display: flex; justify-content: center; gap: 10px; padding-top: 26px; }
.footer-bottom { border-top: 0; }
.f-credit { color: #8EA2B3 !important; }
.f-credit strong { color: #fff; font-weight: 600; transition: color .25s; }
.f-credit:hover strong { color: var(--steel); }

/* WhatsApp de la barra inferior: botón redondo en el azul de la marca */
@media (max-width: 960px) {
  .tab-wa { justify-content: flex-end; padding-bottom: 8px; }
  .tab-wa-btn { width: 56px; height: 56px; border-radius: 50%; margin-top: -30px; margin-bottom: 2px; border: 4px solid #fff; box-shadow: 0 8px 18px rgba(25,43,58,.28); position: relative; }
  .tab-wa-btn::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--navy); opacity: 0; animation: waRing 3s ease-out 2s infinite; }
  .tab-wa-btn .ico { width: 26px; height: 26px; }
  @keyframes waRing { 0% { transform: scale(.9); opacity: .5; } 70%, 100% { transform: scale(1.35); opacity: 0; } }
}

/* Barra superior siempre visible en celular */
@media (max-width: 960px) {
  :root { --tb-h: 38px; }
  .topbar { position: sticky; top: 0; z-index: 52; }
  .topbar-in { min-height: var(--tb-h); height: var(--tb-h); }
  .site-header { top: var(--tb-h); }
  .main-nav { inset: calc(var(--head-h) + var(--tb-h)) 0 0 0; }
  .svc-rail { top: calc(var(--head-h) + var(--tb-h)); }
  html { scroll-padding-top: calc(var(--head-h) + var(--tb-h) + 90px); }
}

/* Servicios: nombre del área activa en celular */
.rail-now { display: none; }
@media (max-width: 960px) {
  .svc-rail { flex-direction: column; align-items: stretch; gap: 8px; padding: 10px 0 10px; overflow: visible; }
  .svc-rail ul { width: max-content; max-width: 100%; margin: 0 auto; overflow-x: auto; scrollbar-width: none; padding: 2px 16px; }
  .svc-rail ul::-webkit-scrollbar { display: none; }
  .svc-rail .rail-t { display: none; }
  .rail-now { display: block; margin: 0; padding: 0 16px; text-align: center; font-size: 12.5px; font-weight: 600; letter-spacing: .03em; color: var(--navy); line-height: 1.4; }
  .rail-now span { display: inline-block; transition: opacity .2s, transform .25s var(--ease); }
  .rail-now span.swap { opacity: 0; transform: translateY(4px); }
  .rail-item.on .rail-ico { transform: scale(1.06); }
}

/* Mapa de calles con estilo de la marca */
.brand-map { position: relative; }
.bm-fallback, .bm-live { position: absolute; inset: 0; }
.bm-fallback .bm-svg { height: 100%; }
.bm-live { overflow: hidden; background: #E9EEF2; cursor: grab; touch-action: pan-y; opacity: 0; transition: opacity .6s; user-select: none; -webkit-user-select: none; }
.bm-live.dragging { cursor: grabbing; }
.map-live .bm-live { opacity: 1; }
.map-live .bm-fallback { visibility: hidden; }
.map-off .bm-live { display: none; }
.bm-tiles { position: absolute; inset: 0; filter: saturate(.6) contrast(1.03); }
.bm-tiles img { position: absolute; left: 0; top: 0; width: 256px; height: 256px; max-width: none; opacity: 0; transition: opacity .4s; pointer-events: none; }
.bm-tiles img.in { opacity: 1; }
.bm-live::after { content: ""; position: absolute; inset: 0; background: rgba(111,140,163,.1); mix-blend-mode: multiply; pointer-events: none; z-index: 1; }
.bm-marker { position: absolute; left: 0; top: 0; width: 0; height: 0; z-index: 2; }
.bm-pin-svg { position: absolute; max-width: none; width: 60px; height: 85px; left: -30px; top: -80px; filter: drop-shadow(0 6px 10px rgba(25,43,58,.25)); animation: pinDrop 1s var(--ease) .2s both; }
.bm-pulse2 { position: absolute; left: -18px; top: -18px; width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--navy); opacity: 0; animation: pulse2 2.4s ease-out 1.2s infinite; }
@keyframes pulse2 { 0% { transform: scale(.4); opacity: .7; } 100% { transform: scale(2.6); opacity: 0; } }
.bm-tag { position: absolute; left: 34px; top: -66px; white-space: nowrap; background: var(--navy); color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .04em; padding: 7px 12px; border-radius: 4px; box-shadow: 0 8px 18px rgba(25,43,58,.2); }
.bm-ctrl { position: absolute; right: 16px; top: 16px; z-index: 3; display: flex; flex-direction: column; background: #fff; border-radius: 6px; overflow: hidden; box-shadow: 0 6px 18px rgba(25,43,58,.16); }
.bm-ctrl button { width: 42px; height: 42px; border: 0; border-bottom: 1px solid var(--line); background: #fff; color: var(--navy); font-size: 22px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s, color .2s; }
.bm-ctrl button:last-child { border-bottom: 0; }
.bm-ctrl button:hover { background: var(--navy); color: #fff; }
.bm-ctrl .ico { width: 18px; height: 18px; }
.bm-attr { position: absolute; right: 0; bottom: 0; z-index: 3; margin: 0; padding: 2px 8px; font-size: 10px; color: #5A6874; background: rgba(255,255,255,.85); }
.bm-attr a { color: inherit; }
.bm-card { z-index: 4; }
.bm-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 18px; }
.bm-actions .link-arrow { font-size: 11px; }

/* Formulario guiado */
.lf-help { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 18px; background: var(--soft); border-radius: var(--r); margin-bottom: 28px; }
.lf-help p { margin: 0; font-size: 14px; color: var(--muted); }
.lf-help-btns { display: flex; gap: 8px; flex: none; }
.lf-hb { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 22px; background: #fff; border: 1px solid var(--line); color: var(--navy); font-weight: 600; font-size: 13px; text-decoration: none; transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease); }
.lf-hb .ico { width: 18px; height: 18px; }
.lf-hb:hover { background: var(--navy); color: #fff; border-color: var(--navy); transform: translateY(-2px); }
.lf-progress span { display: inline; }
.lf-count { margin: 0 0 8px; font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--steel); }
.pick-in { padding: 16px 16px; }
.pick-t small { display: block; margin-top: 4px; font-size: 12.5px; font-weight: 400; color: var(--muted); line-height: 1.45; }
.err-msg { display: none; margin: 8px 0 0; color: #B0413E; font-size: 13px; font-weight: 600; font-style: normal; letter-spacing: 0; text-transform: none; }
.field .err-msg { display: none; }
.has-err > .err-msg, .field.has-err .err-msg, .svc-pick.has-err + .err-msg { display: block; animation: rise .4s var(--ease); }
.req { color: #B0413E; font-style: normal; }
.lf-tip { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); background: var(--soft); border-left: 3px solid var(--steel); border-radius: 0 var(--r) var(--r) 0; padding: 12px 16px; margin-bottom: 24px; }
.lf-tip .ico { width: 18px; height: 18px; color: var(--steel); margin-top: 2px; }
.lf-change { background: none; border: 0; padding: 0; margin-left: 6px; color: var(--steel); text-decoration: underline; text-underline-offset: 3px; font-size: 13px; font-weight: 600; cursor: pointer; }
.chip span { padding: 11px 18px; font-size: 14.5px; }
.q-key { background: var(--soft); padding: 18px 18px 16px; border-radius: var(--r); }
.q-key .chip span { background: #fff; }
.q-key .chip input:checked + span { background: var(--navy); }
.field input::placeholder, .field textarea::placeholder, .q-in::placeholder { color: #98A5B0; }
.lf-summary { border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px 8px; margin: 4px 0 22px; }
.lf-summary li { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.lf-summary li:last-child { border-bottom: 0; }
.lf-summary span { color: var(--muted); }
.lf-summary strong { color: var(--navy); text-align: right; font-weight: 600; }
.lf-nav .btn .ico { width: 18px; height: 18px; }
.lf-safe { display: flex; gap: 8px; align-items: center; justify-content: center; margin: 18px 0 0; font-size: 12.5px; color: var(--muted); text-align: center; }
.lf-safe .ico { width: 16px; height: 16px; color: var(--steel); }
.btn.is-sending { opacity: .7; pointer-events: none; }

/* Aviso de cookies */
.cookie { position: fixed; left: 20px; bottom: 20px; z-index: 70; width: min(420px, calc(100% - 40px)); background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--navy); border-radius: 6px; box-shadow: 0 18px 44px rgba(25,43,58,.18); padding: 18px 20px; font-size: 13.5px; line-height: 1.6; opacity: 0; transform: translateY(20px); transition: opacity .4s, transform .5s var(--ease); }
.cookie.in { opacity: 1; transform: none; }
.cookie p { margin: 0 0 14px; color: var(--muted); }
.cookie a { color: var(--navy); }
.cookie-actions { display: flex; gap: 8px; justify-content: flex-end; }

/* Protección de contenido */
body[data-protect~="text"] { -webkit-user-select: none; user-select: none; }
body[data-protect~="text"] input, body[data-protect~="text"] textarea, body[data-protect~="text"] a[href^="tel:"], body[data-protect~="text"] a[href^="mailto:"] { -webkit-user-select: text; user-select: text; }
body[data-protect~="images"] img, body[data-protect~="images"] svg { -webkit-touch-callout: none; -webkit-user-drag: none; user-select: none; -webkit-user-select: none; pointer-events: none; }
body[data-protect~="images"] .hs-slide, body[data-protect~="images"] .portrait, body[data-protect~="images"] .post-img { -webkit-touch-callout: none; }
body[data-protect~="text"] { -webkit-touch-callout: none; }

/* ---------- Responsive v1.2 ---------- */
@media (max-width: 1100px) {
  .timeline.tl-h { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; }
  .timeline.tl-h::before, .tl-h li::after { display: none; }
}
@media (max-width: 960px) {
  .sec-head, .tl-side, .faq-side { margin-left: auto; margin-right: auto; text-align: center; }
  .sec-head .lead { margin-left: auto; margin-right: auto; }
  .al-grid > div:first-child { text-align: center; }
  .al-grid .lead { margin-left: auto; margin-right: auto; }
  /* pie centrado */
  .f-nav { max-width: 310px; margin-left: auto; margin-right: auto; gap: 12px 24px; }
  .f-contact a { flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: 10px; padding: 22px 8px; }
  .f-contact .f-txt { display: flex; flex-direction: column; align-items: center; }
  .footer-bottom { flex-direction: column; justify-content: center; text-align: center; gap: 10px; padding-bottom: 30px; }
  /* contacto centrado */
  .ci-list li { flex-direction: column; align-items: center; text-align: center; gap: 10px; }
  .ci-wa { text-align: left; }
  /* mapa en celular: mapa arriba, tarjeta abajo */
  .brand-map { height: auto !important; padding-top: 340px; background: #fff; }
  .bm-fallback, .bm-live { bottom: auto; height: 340px; }
  .bm-fallback .bm-svg { height: 340px; }
  .bm-card { position: static; transform: none; width: auto; box-shadow: none; border-top: 1px solid var(--line); border-radius: 0; text-align: center; }
  .bm-actions { justify-content: center; flex-direction: column; }
  .bm-tag { display: none; }
  /* cookies sobre la barra inferior */
  .cookie { left: 12px; right: 12px; width: auto; bottom: calc(var(--tab-h) + 14px + env(safe-area-inset-bottom)); text-align: center; }
  .cookie-actions { justify-content: center; }
}
@media (max-width: 640px) {
  .hs-content .display { font-size: 30px; }
  .timeline.tl-h { grid-template-columns: 1fr; gap: 22px; }
  .tl-h li:not(:last-child)::after { display: block; content: ""; position: absolute; left: 50%; right: auto; top: auto; bottom: -22px; width: 1.5px; height: 22px; background: var(--steel); }
  .tl-dot { display: none; }
  .tl-h .tl-body { padding: 22px 18px; }
  .lf-help { flex-direction: column; text-align: center; gap: 10px; }
  .lf-help-btns { width: 100%; }
  .lf-hb { flex: 1; justify-content: center; }
  .lf-progress li { flex-direction: column; gap: 6px; text-align: center; }
  .lf-progress span { display: block; font-size: 10.5px; letter-spacing: .06em; }
  .lf-count, .lf-title, .lf-sub { text-align: center; }
  .lf-tip { text-align: left; }
  .lf-summary li { flex-direction: column; gap: 2px; }
  .lf-summary strong { text-align: left; }
  .f-contact a { padding: 20px 8px; }
}
@media (max-width: 960px) {
  .main-nav ul a { justify-content: center; }
  .nav-mobile-extra { align-items: stretch; text-align: center; }
  .nme-row { align-items: center; }
  .nme-foot { justify-content: center; gap: 16px; }
}
.svc-pick .pick:last-child:nth-child(odd) { grid-column: 1 / -1; }
.ci-person { display: flex; align-items: center; gap: 16px; padding: 16px; border: 1px solid var(--line); border-radius: var(--r); }
.ci-person img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: center 20%; flex: none; }
.ci-person strong { display: block; font-family: var(--serif); font-weight: normal; text-transform: uppercase; color: var(--navy); font-size: 16px; line-height: 1.25; }
.ci-person span { font-size: 13px; color: var(--muted); }
.ci-next { background: var(--soft); border-radius: var(--r); padding: 22px 22px 14px; }
.ci-next ol { display: flex; flex-direction: column; gap: 12px; }
.ci-next li { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--ink); line-height: 1.5; }
.ci-next b { width: 24px; height: 24px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 12px; display: flex; align-items: center; justify-content: center; flex: none; }
@media (max-width: 960px) {
  .ci-person { flex-direction: column; text-align: center; }
  .ci-next { text-align: left; }
}

/* ---------- Zonas que atendemos (v1.1) ---------- */
.zones-section { background: var(--soft); }
.zones { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 980px; margin: 0 auto; }
.zones li { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; background: #fff; border: 1px solid var(--line); border-radius: 30px; font-weight: 600; font-size: 14px; color: var(--navy); transition: border-color .3s, transform .3s var(--ease); }
.zones li:hover { border-color: var(--steel); transform: translateY(-2px); }
.zones .ico { width: 16px; height: 16px; color: var(--steel); }
.zones-svc { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; max-width: 980px; margin: 36px auto 0; padding-top: 28px; border-top: 1px solid var(--line); }
.zones-svc a { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); text-decoration: none; transition: color .25s; }
.zones-svc a:hover { color: var(--navy); }
@media (max-width: 640px) { .zones li { padding: 10px 16px; font-size: 13px; } .zones-svc { gap: 8px 16px; } }
