/* Gesher · hoja de estilos
   Paleta y tipografía según la identidad de marca (Figtree / Heebo). */

@font-face {
  font-family: "Figtree";
  src: url("../fonts/Figtree.ttf") format("truetype");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("../fonts/Figtree-Italic.ttf") format("truetype");
  font-weight: 300 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Heebo";
  src: url("../fonts/Heebo.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0590-05FF, U+FB1D-FB4F;
}

:root {
  --accent: #D21A3F;
  --accent-dark: #B21635;
  --accent-light: #E52B50;
  --accent-tint: #FBEEF1;
  --base: #0F172A;
  --base-light: #2B4279; /* azul corporativo algo más claro que el fondo base, para decoraciones sobre fondo oscuro */
  --text-2: #334155;
  --text-3: #5B6A7D;
  --line: #E2E8F0;
  --bg: #F8FAFC;
  --white: #FFFFFF;

  --font: "Figtree", "Heebo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --container: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 10px;
  --header-h: 72px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px -12px rgba(15, 23, 42, .12);
  --ease: 180ms ease;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  color: var(--base);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 .6em;
  text-wrap: balance;
}
h1 { font-size: clamp(2rem, 1.3rem + 2.4vw, 3.25rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 1.15rem + 1.2vw, 2.125rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1.1em; }
a { color: var(--accent); text-decoration: none; transition: color var(--ease); }
a:hover { color: var(--accent-dark); }
strong { color: var(--base); font-weight: 600; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { padding-left: 1.25em; }
li { margin-bottom: .4em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
[lang="he"] { font-family: "Heebo", var(--font); }
.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--base); color: #fff; padding: 10px 14px; border-radius: 6px;
}
.skip-link:focus { top: 12px; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.narrow { max-width: 760px; }
.prose { max-width: 72ch; }
.prose h2 { margin-top: 2.2em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.6em; font-size: 1.125rem; }
.lead { font-size: clamp(1.125rem, 1rem + .4vw, 1.3rem); color: var(--text-2); line-height: 1.55; }
.muted { color: var(--text-3); }
.small { font-size: .9375rem; }

/* Motivo del puente: arco fino como acento de sección */
.mark { display: flex; align-items: center; gap: 6px; height: 4px; margin-bottom: 16px; }
.prose .mark:not(:first-child) { margin-top: 2.2em; }
.prose .mark + h2 { margin-top: 0; }
.mark i { display: block; height: 4px; border-radius: 2px; background: var(--accent); width: 30px; transform-origin: left center; }
.mark i + i { width: 10px; background: var(--base); }
.js [data-reveal] .mark i { transform: scaleX(0); transition: transform .6s cubic-bezier(.2, .7, .2, 1) .15s; }
.js [data-reveal] .mark i + i { transition-delay: .45s; }
.js [data-reveal].in .mark i { transform: none; }
.eyebrow {
  display: inline-block; font-size: .8125rem; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 14px;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--accent); color: #fff; font-weight: 600; font-size: 1rem;
  padding: 14px 24px; border-radius: 8px; border: 1px solid var(--accent);
  cursor: pointer; font-family: inherit; line-height: 1.2;
  transition: background var(--ease), border-color var(--ease), transform var(--ease), box-shadow var(--ease);
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-outline { background: transparent; color: var(--base); border-color: var(--base); }
.btn-outline:hover { background: var(--base); color: #fff; border-color: var(--base); }
.btn-ghost { background: transparent; color: var(--accent); border-color: transparent; padding-inline: 8px; }
.btn-ghost:hover { background: var(--accent-tint); color: var(--accent-dark); border-color: transparent; }
.btn-white { background: #fff; color: var(--base); border-color: #fff; }
.btn-white:hover { background: var(--accent-tint); color: var(--base); border-color: var(--accent-tint); }
.btn-sm { padding: 10px 16px; font-size: .9375rem; }
.btn-lg { padding: 16px 28px; font-size: 1.0625rem; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 1.8rem; }

/* ---------- Cabecera ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96); backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  min-height: var(--header-h);
}
.brand { display: inline-flex; align-items: baseline; gap: 1px; color: var(--base); font-weight: 700; font-size: 1.9rem; letter-spacing: -0.02em; line-height: 1; }
.brand:hover { color: var(--base); }
.brand svg { width: auto; height: 1em; }
.brand span { line-height: 1; }
@keyframes caret {
  0%, 44% { opacity: 1; color: var(--base); }
  45%, 54% { opacity: 0; color: var(--base); }
  55%, 94% { opacity: 1; color: var(--accent); }
  95%, 100% { opacity: 0; color: var(--accent); }
}
.brand .caret { font-weight: 800; margin-left: .08em; animation: caret 2.4s step-end infinite; }
.site-footer .brand .caret { animation-name: caret-light; }
@keyframes caret-light {
  0%, 44% { opacity: 1; color: #fff; }
  45%, 54% { opacity: 0; color: #fff; }
  55%, 94% { opacity: 1; color: var(--accent-light); }
  95%, 100% { opacity: 0; color: var(--accent-light); }
}

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: 8px;
  width: 44px; height: 44px; cursor: pointer; padding: 0; color: var(--base);
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-menu { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.site-nav li { margin: 0; position: relative; }
.site-nav a, .site-nav button.drop {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--base); font-weight: 500; font-size: .95rem; padding: 10px 11px; border-radius: 6px;
  background: none; border: 0; font-family: inherit; cursor: pointer; line-height: 1.2; white-space: nowrap;
  transition: color var(--ease), background var(--ease);
}
.site-nav a:hover, .site-nav button.drop:hover, .site-nav li[aria-current] > a { color: var(--accent); }
.site-nav li.active > a, .site-nav li.active > button.drop { color: var(--accent); }
.site-nav button.drop svg { width: 14px; height: 14px; transition: transform var(--ease); }
.site-nav .has-sub.open > button.drop svg { transform: rotate(180deg); }
.site-nav .sub {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 280px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 8px; display: flex; flex-direction: column; gap: 0;
  visibility: hidden; opacity: 0; transform: translateY(6px);
  transition: opacity .16s ease, transform .16s ease, visibility 0s linear .22s;
}
.site-nav .has-sub::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 12px; }
.site-nav .has-sub { display: inline-flex; align-items: center; }
.site-nav .drop-link { padding-right: 4px; }
.site-nav .drop-toggle { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; padding: 0; margin-right: 6px; border: 0; border-radius: 6px; background: none; color: var(--base); cursor: pointer; transition: color var(--ease), background var(--ease); }
.site-nav .drop-toggle svg { width: 14px; height: 14px; transition: transform var(--ease); }
.site-nav .has-sub.open > .drop-toggle svg { transform: rotate(180deg); }
.site-nav .drop-toggle:hover, .site-nav li.active > .drop-toggle { color: var(--accent); }
.site-nav li.active > .drop-link { color: var(--accent); }
.site-nav .has-sub.open > .sub, .site-nav .has-sub:focus-within > .sub, .site-nav .has-sub:hover > .sub {
  visibility: visible; opacity: 1; transform: none; transition-delay: 0s;
}
.site-nav .sub a { display: block; padding: 10px 12px; font-weight: 500; width: 100%; }
.site-nav .sub a:hover { background: var(--bg); }
.site-nav .sub a small { display: block; color: var(--text-3); font-weight: 400; font-size: .8125rem; margin-top: 2px; }
/* selector de idioma: abreviatura del idioma actual + desplegable con todos los idiomas */
.site-nav .lang-menu { margin-left: 10px; }
.site-nav .lang-menu > button.drop { font-size: .8125rem; font-weight: 700; letter-spacing: .06em; padding-inline: 8px; }
.site-nav .lang-menu .sub { left: auto; right: 0; min-width: 176px; }
.site-nav .lang-menu .sub a { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.site-nav .lang-menu .sub a small { display: inline; margin: 0; font-size: .75rem; letter-spacing: .06em; }
.site-nav .lang-menu .sub a[aria-current] { color: var(--accent); }
.site-nav .lang-menu .sub a[aria-current] small { color: var(--accent); }
.site-nav .nav-cta { margin-left: 8px; }
.site-nav .nav-cta a { background: var(--accent); color: #fff; padding: 11px 18px; font-weight: 600; border-radius: 8px; }
.site-nav .nav-cta a:hover { background: var(--accent-dark); color: #fff; }

@media (max-width: 1180px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    max-height: calc(100vh - var(--header-h)); overflow: auto;
  }
  .nav-open .site-nav { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; padding: 12px var(--gutter) 20px; gap: 0; }
  .site-nav li { border-bottom: 1px solid var(--line); }
  .site-nav li:last-child { border-bottom: 0; }
  .site-nav a, .site-nav button.drop { width: 100%; justify-content: space-between; padding: 14px 4px; font-size: 1.05rem; }
  .site-nav .has-sub { display: flex; flex-wrap: wrap; align-items: center; }
  .site-nav .drop-link { flex: 1; width: auto; }
  .site-nav .drop-toggle { width: 44px; height: 44px; margin: 0; }
  .site-nav .drop-toggle svg { width: 18px; height: 18px; }
  .site-nav .has-sub > .sub { flex-basis: 100%; }
  .site-nav .sub { position: static; border: 0; box-shadow: none; padding: 0 0 8px 12px; min-width: 0; display: none; visibility: visible; opacity: 1; transform: none; transition: none; }
  .site-nav .has-sub.open > .sub { display: flex; }
  .site-nav .has-sub:hover > .sub { display: none; }
  .site-nav .has-sub.open:hover > .sub { display: flex; }
  .site-nav .has-sub::after { display: none; }
  .brand { font-size: 1.6rem; }
  .site-nav .sub a { font-size: 1rem; padding: 10px 8px; }
  .site-nav .lang-menu { margin: 0; }
  .site-nav .lang-menu > button.drop { font-size: 1rem; padding: 14px 4px; }
  .site-nav .lang-menu .sub { min-width: 0; }
  .site-nav .nav-cta { margin: 14px 0 0; }
  .site-nav .nav-cta a { justify-content: center; }
}

/* ---------- Secciones ---------- */
.section { padding-block: clamp(56px, 8vw, 104px); }
.section-tight { padding-block: clamp(40px, 5vw, 64px); }
.section-white { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-tint { background: var(--accent-tint); }
.section-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head p { font-size: 1.0625rem; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.split.reverse > :first-child { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.reverse > :first-child { order: 0; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: border-color var(--ease), transform var(--ease), box-shadow var(--ease);
}
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.card.link { display: flex; flex-direction: column; color: inherit; }
.card.link:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow); }
.card.link .more { margin-top: auto; padding-top: 16px; color: var(--accent); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.card.link .more svg { width: 16px; height: 16px; transition: transform var(--ease); }
.card.link:hover .more svg { transform: translateX(3px); }
.card .num { display: inline-block; font-size: 2rem; font-weight: 700; color: var(--accent); line-height: 1; margin-bottom: 14px; letter-spacing: -0.02em; }
.card-accent { border-top: 3px solid var(--accent); }
.card-tint { background: var(--accent-tint); border-color: transparent; }

.rule { display: block; width: 48px; height: 3px; background: var(--accent); border-radius: 2px; margin-bottom: 18px; }

/* listas de definición en tarjetas: «Título. Texto» */
.dl { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.dl li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; margin: 0; }
.dl li strong { display: flex; align-items: flex-start; gap: 9px; color: var(--base); margin-bottom: 4px; font-size: 1.05rem; }
.dl li strong .ico { width: 1.15em; height: 1.15em; margin-top: .05em; }
.dl.cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 700px) { .dl.cols { grid-template-columns: 1fr; } }

.chips { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; list-style: none; padding: 0; margin: 1.25rem 0 0; }
.chips li { margin: 0; display: flex; align-items: center; gap: 9px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; font-size: .9rem; font-weight: 600; color: var(--base); transition: border-color var(--ease), transform var(--ease), box-shadow var(--ease); }
.chips.chips-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.chips.chips-2 li { padding: 12px 16px; font-size: .9375rem; }
@media (max-width: 1000px) { .chips { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 1000px) { .chips.chips-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .chips { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .chips { grid-template-columns: 1fr; } }
.chips li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.chips li:hover, .chips li:focus-visible { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow); }
/* idioma en su propio idioma al pasar el cursor */
.chips li.swap { position: relative; cursor: default; outline: none; }
.chips li.swap .es, .chips li.swap .native { display: block; transition: opacity .25s ease, transform .3s cubic-bezier(.2, .7, .2, 1); }
.chips li.swap .native { position: absolute; left: 31px; right: 12px; top: 50%; transform: translateY(calc(-50% + 8px)); opacity: 0; color: var(--accent); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chips li.swap .native[dir="rtl"] { text-align: right; }
.chips li.swap:hover .es, .chips li.swap:focus-within .es, .chips li.swap:focus .es { opacity: 0; transform: translateY(-8px); }
.chips li.swap:hover .native, .chips li.swap:focus-within .native, .chips li.swap:focus .native { opacity: 1; transform: translateY(-50%); }

.figure { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--line); }
.figure img { width: 100%; height: 100%; object-fit: cover; }
.figure.r-43 { aspect-ratio: 4 / 3; }
.figure.r-32 { aspect-ratio: 3 / 2; }
.figure.r-11 { aspect-ratio: 1 / 1; }
.figure.r-45 { aspect-ratio: 4 / 5; }
.figure.r-wide { aspect-ratio: 21 / 9; }
figcaption { font-size: .875rem; color: var(--text-3); padding: 10px 2px 0; }

/* ---------- Portada ---------- */
.hero { position: relative; background: #fff; border-bottom: 1px solid var(--line); overflow: clip; }
.arc-wide { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--accent); pointer-events: none; }
.hero .arc-wide { opacity: .22; }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.hero .arc-wide path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.2s cubic-bezier(.4, 0, .2, 1) .2s forwards; }
.hero .arc-wide path + path { animation-delay: .5s; }
.hero .container {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(28px, 5vw, 72px); align-items: center;
  padding-block: clamp(40px, 5vw, 72px) clamp(72px, 9vw, 128px);
}
.hero h1 { font-size: clamp(2rem, 1.1rem + 2.1vw, 3.1rem); margin-bottom: .5em; }
.hero .lead { max-width: 58ch; font-size: clamp(1rem, .95rem + .25vw, 1.125rem); }
.hero .actions { margin-top: 1.6rem; }

/* entrada escalonada del texto */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero-text > * { animation: rise .7s cubic-bezier(.2, .7, .2, 1) backwards; }
.hero-text > :nth-child(1) { animation-delay: .05s; }
.hero-text > :nth-child(2) { animation-delay: .15s; }
.hero-text > :nth-child(3) { animation-delay: .3s; }
.hero-text > :nth-child(4) { animation-delay: .45s; }

/* visual animado: el puente se dibuja, los documentos lo cruzan y las cifras cuentan */
@keyframes pop { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hero-visual {
  position: relative; aspect-ratio: 5 / 4; display: flex; flex-direction: column;
  background: linear-gradient(180deg, #fff 0%, var(--accent-tint) 100%);
  border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow);
  animation: pop .7s ease-out .35s backwards;
}
.hero-visual .bridge { display: block; width: 100%; height: auto; flex: none; margin-top: 4%; }
.bridge path, .bridge line { stroke-dasharray: 1; stroke-dashoffset: 1; }
.bridge .b-arc { animation: draw 1.6s cubic-bezier(.4, 0, .2, 1) .6s forwards; }
.bridge .b-deck { animation: draw 1.2s ease-out .5s forwards; }
.bridge .b-deck2 { animation: draw 1.2s ease-out .7s forwards; }
@keyframes cable { to { opacity: 1; } }
.bridge .b-cables line { stroke-dasharray: none; stroke-dashoffset: 0; opacity: 0; animation: cable .4s ease-out forwards; animation-delay: calc(1.4s + var(--i, 0) * 55ms); }
.bridge .b-pier { opacity: 0; animation: cable .4s ease-out 1.5s forwards; }
.docs-flow { position: absolute; left: 0; right: 0; top: 0; height: 100%; pointer-events: none; }
@keyframes travel {
  0% { left: -34%; opacity: 0; } 7% { opacity: 1; } 90% { opacity: 1; } 100% { left: 102%; opacity: 0; }
}
.docs-flow .chip {
  position: absolute; top: calc(4% + 63.6%); transform: translateY(-100%); margin-top: -8px;
  display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
  background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px 6px 9px;
  font-size: .8125rem; font-weight: 600; color: var(--base); box-shadow: var(--shadow);
  animation: travel 18s linear infinite; animation-delay: var(--d, 0s);
}
.docs-flow .chip svg { width: 15px; height: 15px; color: var(--accent); flex: none; }
.docs-flow .chip em { font-style: normal; font-weight: 500; color: var(--text-3); font-size: .75rem; padding-left: 7px; border-left: 1px solid var(--line); }
.hero-stats { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(210, 26, 63, .18); background: rgba(255, 255, 255, .6); }
.hero-stats > div { padding: 16px 22px 18px; }
.hero-stats > div + div { border-left: 1px solid rgba(210, 26, 63, .18); }
.hero-stats .big { display: block; font-size: clamp(1.8rem, 1.2rem + 1.4vw, 2.5rem); font-weight: 800; color: var(--base); letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.hero-stats .lbl { display: block; color: var(--text-2); font-size: .875rem; font-weight: 500; margin-top: 6px; }
/* variante oscura del visual: carriles de «proyectos recientes» sobre azul marino */
.hero-visual.dark { background: radial-gradient(70% 60% at 80% 10%, rgba(210, 26, 63, .28), transparent 70%), var(--base); border-color: rgba(255, 255, 255, .08); animation: pop .7s ease-out .35s backwards; }
.hero-visual.dark .lanes { position: absolute; inset: 0 0 22% 0; display: flex; flex-direction: column; justify-content: space-evenly; padding: 6px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.hero-visual.dark .lane { display: flex; overflow: hidden; }
@keyframes lane { from { transform: translateX(0); } to { transform: translateX(-100%); } }
.hero-visual.dark .lane-track { display: flex; flex: none; gap: 10px; padding-right: 10px; animation: lane var(--dur, 60s) linear infinite; }
.hero-visual.dark .lane[data-rev] .lane-track { animation-direction: reverse; }
.hero-visual.dark .lane .chip { position: static; transform: none; margin: 0; animation: none; display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; background: #fff; border: 1px solid rgba(255, 255, 255, .6); border-radius: 999px; padding: 6px 12px 6px 9px; font-size: .8125rem; font-weight: 600; color: var(--base); box-shadow: 0 6px 18px -8px rgba(0, 0, 0, .5); }
.hero-visual.dark .lane .chip svg { width: 15px; height: 15px; color: var(--accent); flex: none; }
.hero-visual.dark .lane .chip em { font-style: normal; font-weight: 500; color: var(--text-3); font-size: .75rem; padding-left: 7px; border-left: 1px solid var(--line); }
.hero-visual.dark .hero-stats { background: rgba(255, 255, 255, .06); border-top: 1px solid rgba(255, 255, 255, .14); }
.hero-visual.dark .hero-stats > div + div { border-left-color: rgba(255, 255, 255, .14); }
.hero-visual.dark .hero-stats .big { color: #fff; }
.hero-visual.dark .hero-stats .lbl { color: rgba(255, 255, 255, .78); }
.hero-visual.dark:hover .lane-track { animation-play-state: paused; }
/* franja de cifras rotatoria: un mensaje en una línea (la cifra cuenta al aparecer), separada de los carriles por una línea y con decoración flotante en azul claro */
.hero-visual.dark .hero-stats-roll { position: absolute; left: 0; right: 0; bottom: 0; height: 22%; margin: 0; display: block; z-index: 1; border-top: 0; overflow: hidden; background: linear-gradient(rgba(255, 255, 255, .07), rgba(255, 255, 255, .07)), var(--base); }
.hero-visual.dark .hero-stats-roll::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; z-index: 2; background: linear-gradient(90deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .55) 50%, rgba(255, 255, 255, .08)); }
.hero-stats-roll .fx { padding: 0; border: 0; }
.fx.fx-stats .orb { background: radial-gradient(circle at 35% 35%, rgba(43, 66, 121, .9), rgba(43, 66, 121, 0) 70%); }
.fx.fx-stats .ring { border-color: rgba(62, 88, 150, .85); }
.fx.fx-stats .dot { background: #3E5896; }
.fx.fx-stats .o1 { width: 200px; height: 200px; left: -40px; top: -110px; animation: drift1 22s ease-in-out infinite alternate; }
.fx.fx-stats .o2 { width: 170px; height: 170px; right: -30px; bottom: -110px; animation: drift2 26s ease-in-out infinite alternate; }
.fx.fx-stats .r1 { width: 64px; height: 64px; left: 26%; top: -22px; border-style: dashed; animation: spin 30s linear infinite; }
.fx.fx-stats .dot { top: 55%; left: -10px; width: 6px; height: 6px; animation: crossb 16s linear infinite; }
.fx.fx-stats .d1 { animation-delay: -3s; }
.fx.fx-stats .d2 { top: 22%; width: 4px; height: 4px; animation-delay: -9s; animation-duration: 21s; }
.fx.fx-stats .d3 { top: 80%; animation-delay: -14s; animation-duration: 19s; }
@keyframes crossb { 0% { left: -10px; opacity: 0; } 6% { opacity: .85; } 94% { opacity: .6; } 100% { left: 102%; opacity: 0; } }
.hero-stats-roll .stat, .hero-stats-roll .stat + .stat { position: absolute; inset: 0; z-index: 1; border: 0; display: flex; align-items: center; justify-content: center; gap: .35em; white-space: nowrap; padding: 0 18px; opacity: 0; transform: translateY(12px); pointer-events: none; }
.hero-stats-roll .stat.is-active { opacity: 1; transform: none; transition: opacity .4s ease, transform .5s cubic-bezier(.2, .7, .2, 1); }
.hero-stats-roll .stat.is-leaving { opacity: 0; transform: translateY(-12px); transition: opacity .3s ease, transform .4s ease-in; }
.hero-visual.dark .hero-stats-roll .big, .hero-visual.dark .hero-stats-roll .lbl { display: inline; margin: 0; font-size: clamp(1.4rem, 1rem + 1.4vw, 2.1rem); line-height: 1.15; letter-spacing: -0.02em; color: #fff; }
.hero-visual.dark .hero-stats-roll .big { font-weight: 800; font-variant-numeric: tabular-nums; }
.hero-visual.dark .hero-stats-roll .lbl { font-weight: 600; }

@media (max-width: 860px) {
  .hero .container { grid-template-columns: 1fr; padding-block: 36px 40px; gap: 28px; }
  .hero h1 { font-size: clamp(1.85rem, 1.2rem + 3.5vw, 2.4rem); }
  .hero .lead { font-size: 1.05rem; }
  .hero-visual { aspect-ratio: 4 / 3; }
  .docs-flow .chip { font-size: .75rem; }
  .hero-stats > div { padding: 12px 16px 14px; }
  .hero-stats-roll .stat, .hero-stats-roll .stat + .stat { padding: 0 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .docs-flow .chip { animation-duration: 40s; }
}

/* lema bajo la portada */
.claim-band { color: #fff; position: relative; overflow: hidden; background: var(--base); }
.claim-band .container { position: relative; z-index: 1; }
.claim { position: relative; }
.claim-item { display: block; }
.js .claim-item { position: absolute; left: 0; right: 0; top: 0; opacity: 0; pointer-events: none; transition: opacity .3s ease; }
.js .claim-item.is-active { position: relative; opacity: 1; pointer-events: auto; }
html:not(.js) .claim-item:not(:first-child) { display: none; }
.claim .w { display: inline-block; }
.js .claim .w { opacity: 0; transform: translateY(.7em); transition: opacity .35s ease, transform .45s cubic-bezier(.2, .7, .2, 1); }
.js .claim-item.is-active .w { opacity: 1; transform: none; transition-delay: calc(var(--i, 0) * 60ms); }
.claim-band .container { text-align: center; padding-block: clamp(16px, 2.2vw, 24px); }
.claim { margin: 0; font-size: clamp(1.05rem, .9rem + .7vw, 1.35rem); font-weight: 700; font-style: italic; color: #fff; letter-spacing: -0.01em; line-height: 1.35; text-wrap: balance; }
.claim span { font-weight: 700; color: #fff; }
.js .claim-band [data-reveal] { transform: none; }

/* imagen a la altura del texto contiguo */
.split-fill { align-items: stretch; }
.split-fill > div:last-child { display: flex; }
.figure.r-fill { flex: 1; height: 100%; min-height: 260px; }
.figure.r-fill img { object-position: 55% 50%; }
@media (max-width: 860px) { .figure.r-fill { aspect-ratio: 16 / 10; height: auto; min-height: 0; } }

/* índice de documentos habituales (a lo ancho) */
.doc-index { position: relative; margin-top: clamp(28px, 4vw, 44px); padding-top: clamp(24px, 3vw, 32px); border-top: 1px solid var(--line); }
.doc-index-title { font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.doc-index ol { list-style: none; margin: 0 0 16px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 1000px) { .doc-index ol { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .doc-index ol { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.doc-index li {
  margin: 0; display: flex; align-items: center; gap: 12px; padding: 11px 14px 11px 11px;
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  transition: border-color var(--ease), background var(--ease), transform var(--ease), box-shadow var(--ease);
}
.doc-index li:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow); }
.doc-index li:hover .t { color: var(--accent); }
.doc-index .n { flex: none; width: 30px; height: 30px; border-radius: 8px; background: var(--accent); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: .75rem; font-weight: 700; letter-spacing: .02em; }
.doc-index .t { font-weight: 600; color: var(--base); font-size: .95rem; line-height: 1.25; transition: color var(--ease); }
@media (max-width: 440px) { .doc-index ol { grid-template-columns: 1fr; } }

/* separador dinámico: arcos y puntos en amaranth sobre azul marino */
.wave-band { position: relative; height: clamp(80px, 8vw, 115px); background: var(--base); overflow: hidden; }
.marquee { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-100%); } }
.marquee-track { display: flex; flex: none; align-items: center; animation: marquee 80s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.lang { position: relative; padding: 0 30px; color: #fff; font-size: clamp(1.15rem, 1rem + .8vw, 1.6rem); font-weight: 700; letter-spacing: .01em; white-space: nowrap; text-shadow: 0 1px 8px rgba(15, 23, 42, .6); }
.lang::after { content: ""; position: absolute; right: -4px; top: 50%; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-light); transform: translateY(-50%); }
.marquee { z-index: 1; }

/* separador con el arco del puente, que se dibuja al entrar en pantalla */
.arc-divider { position: relative; height: clamp(90px, 10vw, 150px); background: #fff; border-block: 1px solid var(--line); overflow: hidden; }
.arc-divider .arc-wide { opacity: .45; }
.arc-divider .arc-wide path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.8s cubic-bezier(.4, 0, .2, 1); }
.arc-divider .arc-wide path + path { transition-delay: .25s; }
.arc-divider.in .arc-wide path, html:not(.js) .arc-divider .arc-wide path { stroke-dashoffset: 0; }
.js .arc-divider[data-reveal] { transform: none; }
.arc-divider.flip .arc-wide { transform: scaleY(-1); }

/* tarjetas con icono */
.cards-icon .card p { font-size: .9375rem; }
.cards-icon h3, .cards-icon h2 { display: flex; align-items: flex-start; gap: 10px; }
.ico { display: inline-flex; flex: none; width: 1.2em; height: 1.2em; margin-top: -.03em; color: var(--accent); }
.ico svg { width: 100%; height: 100%; }

/* títulos: aparecen con un barrido de izquierda a derecha */
.js [data-reveal="title"] { opacity: 0; transform: translateY(.45em); clip-path: inset(0 100% -0.2em 0); transition: opacity .5s ease .1s, transform .6s cubic-bezier(.2, .7, .2, 1) .1s, clip-path .9s cubic-bezier(.2, .7, .2, 1) .1s; }
.js [data-reveal="title"].in { opacity: 1; transform: none; clip-path: inset(0 0 -0.2em 0); }

/* páginas interiores: todo visible nada más cargar (sin apariciones al hacer scroll) */
.js .inner [data-reveal], .js .inner [data-reveal="title"] { opacity: 1; transform: none; clip-path: none; transition: none; }
.js .inner [data-reveal] .mark i { transform: none; transition: none; }
.inner .cta-fan line { stroke-dashoffset: 0; transition: none; }

/* aparición al hacer scroll */
.js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js .grid > [data-reveal]:nth-child(2) { transition-delay: .08s; }
.js .grid > [data-reveal]:nth-child(3) { transition-delay: .16s; }
.js .grid > [data-reveal]:nth-child(4) { transition-delay: .24s; }

/* hilo conductor: progreso de lectura */
.thread { display: none; position: fixed; left: 40px; top: calc(var(--header-h) + 36px); bottom: 36px; width: 2px; background: var(--line); z-index: 5; pointer-events: none; }
.thread-fill { position: absolute; left: 0; top: 0; width: 100%; height: calc(var(--p, 0) * 100%); background: var(--accent); }
.thread-dot { position: absolute; left: 50%; top: calc(var(--p, 0) * 100%); width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid var(--accent); box-shadow: 0 0 0 4px var(--accent-tint); transform: translate(-50%, -50%); }
.thread-bar { position: absolute; left: 0; bottom: -1px; height: 3px; width: calc(var(--p, 0) * 100%); background: var(--accent); pointer-events: none; }
@media (min-width: 1280px) { .thread { display: block; } .thread-bar { display: none; } }
.blog-grid time { display: block; font-size: .8125rem; color: var(--text-3); margin-bottom: 8px; }
.blog-card .figure { margin: -28px -28px 18px; border-radius: var(--radius) var(--radius) 0 0; }
.post-body { max-width: 72ch; }
.post-body > p:first-child { font-size: 1.0625rem; }
.post-body blockquote { margin: 1.5em 0; padding: 16px 22px; border-left: 3px solid var(--accent); background: var(--accent-tint); border-radius: 0 10px 10px 0; }
.post-body blockquote p { margin: 0; }
.post-body ul { padding-left: 1.2em; }
.post-body h3 { margin-top: 1.6em; }

.image-band { padding: 0 0 clamp(56px, 8vw, 104px); }
.image-band .figure { aspect-ratio: 2.3 / 1; box-shadow: var(--shadow); }
.image-band.flush { padding: 0; }
.section-tight-bottom { padding-bottom: clamp(20px, 3vw, 36px); }
/* cita sobre el cielo de la fotografía del puente */
.quote-band { position: relative; }
.band-quote { position: absolute; inset: 0; display: flex; align-items: center; pointer-events: none; }
.band-quote p { margin: 0; max-width: 46%; color: #fff; font-size: clamp(1.4rem, 1rem + 2vw, 2.6rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.015em; text-shadow: 0 2px 18px rgba(15, 23, 42, .45); }
@media (max-width: 700px) { .band-quote p { max-width: 70%; font-size: clamp(1.15rem, 1rem + 2vw, 1.5rem); } }
.image-band.flush .figure { border-radius: 0; aspect-ratio: 21 / 9; box-shadow: none; }
@media (max-width: 700px) { .image-band .figure, .image-band.flush .figure { aspect-ratio: 16 / 10; } }

/* ---------- Cabecera de página interior ---------- */
.page-head { position: relative; overflow: clip; background: #fff; border-bottom: 1px solid var(--line); padding-block: clamp(36px, 5vw, 64px) clamp(40px, 5vw, 72px); }
.page-head .arc-wide { opacity: .16; }
.page-head .arc-wide path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.2s cubic-bezier(.4, 0, .2, 1) .2s forwards; }
.page-head .arc-wide path + path { animation-delay: .5s; }
.page-head .container { position: relative; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.page-head .ph-text > * { animation: fade .8s ease-out backwards; }
.page-head .ph-text > :nth-child(1) { animation-delay: .05s; }
.page-head .ph-text > :nth-child(2) { animation-delay: .15s; }
.page-head .ph-text > :nth-child(3) { animation-delay: .25s; }
.page-head .ph-text > :nth-child(4) { animation-delay: .38s; }
.page-head .ph-text > :nth-child(5) { animation-delay: .5s; }
.page-head .figure { animation: fade .8s ease-out .3s backwards; }
.page-head .figure.r-fill { min-height: 300px; }
@media (max-width: 860px) { .page-head .figure.r-fill { min-height: 0; } }
.page-head .lead { max-width: 64ch; }
.page-head .figure { box-shadow: var(--shadow); }
.breadcrumb { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-wrap: wrap; gap: 6px; font-size: .875rem; color: var(--text-3); }
.breadcrumb li { margin: 0; display: inline-flex; align-items: center; gap: 6px; }
.breadcrumb li + li::before { content: "›"; color: var(--text-3); }
.breadcrumb a { color: var(--text-3); }
.breadcrumb a:hover { color: var(--accent); }

/* ---------- Pasos del proceso ---------- */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; display: grid; gap: 20px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.steps li { counter-increment: step; margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: relative; }
.steps li::before {
  content: counter(step, decimal-leading-zero); display: block; font-weight: 700; color: var(--accent);
  font-size: 1.75rem; letter-spacing: -0.02em; margin-bottom: 12px; line-height: 1;
}
.steps li strong { display: block; color: var(--base); margin-bottom: 6px; font-size: 1.05rem; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- FAQ (acordeón nativo) ---------- */
.faq { max-width: 820px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 10px; transition: border-color var(--ease); }
.faq details[open] { border-color: var(--base); }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 56px 18px 22px; font-weight: 600; color: var(--base); position: relative; font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px;
  border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: translateY(-70%) rotate(45deg); transition: transform var(--ease);
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq .answer { padding: 0 22px 20px; }
.faq .answer p:last-child { margin-bottom: 0; }

/* ---------- Banda de cierre ---------- */
.cta-band { position: relative; overflow: hidden; color: #fff; background: linear-gradient(90deg, var(--accent-dark), var(--accent) 55%); }
.cta-band .container { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; padding-block: clamp(56px, 7vw, 88px); }
.cta-band h2 { color: #fff; margin-bottom: .35em; }
.cta-band p { margin: 0; max-width: 60ch; font-size: 1.0625rem; color: rgba(255, 255, 255, .92); }
.cta-fan { position: absolute; right: 0; top: 0; width: 58%; max-width: 820px; height: 100%; opacity: .34; pointer-events: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 35%); mask-image: linear-gradient(90deg, transparent, #000 35%); }
.cta-fan line { stroke-dasharray: 1200; stroke-dashoffset: 1200; transition: stroke-dashoffset 1.6s cubic-bezier(.4, 0, .2, 1); transition-delay: calc(var(--i, 0) * 70ms); }
.cta-fan.in line, html:not(.js) .cta-fan line { stroke-dashoffset: 0; }
.js .cta-fan[data-reveal] { transform: none; transition: opacity .6s ease; }
@media (max-width: 760px) { .cta-band .container { grid-template-columns: 1fr; } .cta-fan { width: 90%; } }

/* ---------- Reseñas (azul marino, tarjetas blancas) ---------- */
.reviews-section { position: relative; overflow: hidden; background: var(--base); color: #fff; border: 0; padding-block: clamp(40px, 5vw, 64px); }
.reviews-section .container { position: relative; z-index: 1; }
.reviews-section .section-head { margin-inline: auto; margin-bottom: clamp(20px, 3vw, 32px); }

/* formas flotantes genéricas (franja de idiomas y franja del lema) */
.fx { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.fx > span { position: absolute; display: block; will-change: transform; }
.fx .orb { border-radius: 50%; background: radial-gradient(circle at 35% 35%, rgba(229, 43, 80, .5), rgba(229, 43, 80, 0) 70%); filter: blur(2px); }
.fx .orb.dark { background: radial-gradient(circle at 35% 35%, rgba(178, 22, 53, .6), rgba(178, 22, 53, 0) 70%); }
.fx .ring { border-radius: 50%; border: 1.5px solid rgba(229, 43, 80, .45); }
.fx .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-light); opacity: .8; }
/* franja de idiomas: esferas a los lados, anillo girando y puntos que cruzan en horizontal */
.fx-wave .o1 { width: 260px; height: 260px; left: -100px; top: -120px; animation: drift1 24s ease-in-out infinite alternate; }
.fx-wave .o2 { width: 220px; height: 220px; right: -80px; top: -70px; animation: drift2 20s ease-in-out infinite alternate; }
.fx-wave .o3 { width: 180px; height: 180px; left: 44%; bottom: -120px; animation: drift3 28s ease-in-out infinite alternate; }
.fx-wave .r1 { width: 120px; height: 120px; left: 22%; top: -70px; border-style: dashed; animation: spin 36s linear infinite, drift2 16s ease-in-out infinite alternate; }
.fx-wave .r2 { width: 70px; height: 70px; right: 18%; bottom: -35px; animation: drift1 18s ease-in-out infinite alternate-reverse; }
.fx-wave .dot { top: 30%; left: -12px; animation: cross 18s linear infinite; }
.fx-wave .d1 { animation-delay: -3s; }
.fx-wave .d2 { top: 68%; width: 6px; height: 6px; animation-delay: -9s; animation-duration: 24s; }
.fx-wave .d3 { top: 50%; animation-delay: -14s; animation-duration: 21s; }
.fx-wave .d4 { top: 18%; width: 5px; height: 5px; animation-delay: -6s; animation-duration: 27s; }
.fx-wave .d5 { top: 82%; animation-delay: -17s; animation-duration: 20s; }
/* franja del lema: formas pequeñas, movimiento lento */
.fx-claim .o1 { width: 220px; height: 220px; left: 6%; top: -120px; animation: drift1 22s ease-in-out infinite alternate; }
.fx-claim .o2 { width: 200px; height: 200px; right: 8%; bottom: -120px; animation: drift2 26s ease-in-out infinite alternate; }
.fx-claim .r1 { width: 90px; height: 90px; right: 28%; top: -30px; border-style: dashed; animation: spin 30s linear infinite; }
.fx-claim .dot { top: 50%; left: -10px; animation: cross 22s linear infinite; }
.fx-claim .d1 { animation-delay: -4s; }
.fx-claim .d2 { top: 25%; width: 5px; height: 5px; animation-delay: -12s; animation-duration: 28s; }
.fx-claim .d3 { top: 75%; animation-delay: -19s; animation-duration: 25s; }
@keyframes cross { 0% { transform: translateX(0); opacity: 0; } 6% { opacity: .85; } 94% { opacity: .6; } 100% { transform: translateX(110vw); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .fx > span { animation: none; } }

/* fondo: formas en amaranth claro que se mueven despacio */
.reviews-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.reviews-bg > span { position: absolute; display: block; will-change: transform; }
.reviews-bg .orb { border-radius: 50%; background: radial-gradient(circle at 35% 35%, rgba(229, 43, 80, .55), rgba(229, 43, 80, 0) 70%); filter: blur(2px); }
.reviews-bg .o1 { width: 420px; height: 420px; left: -140px; top: -120px; animation: drift1 26s ease-in-out infinite alternate; }
.reviews-bg .o2 { width: 320px; height: 320px; right: -100px; bottom: -140px; animation: drift2 22s ease-in-out infinite alternate; }
.reviews-bg .o3 { width: 220px; height: 220px; left: 42%; bottom: -120px; opacity: .7; animation: drift3 30s ease-in-out infinite alternate; }
.reviews-bg .ring { border-radius: 50%; border: 1.5px solid rgba(229, 43, 80, .45); }
.reviews-bg .r1 { width: 260px; height: 260px; right: 10%; top: -90px; animation: spin 40s linear infinite, drift2 18s ease-in-out infinite alternate; border-style: dashed; }
.reviews-bg .r2 { width: 140px; height: 140px; left: 8%; bottom: 10%; animation: drift1 20s ease-in-out infinite alternate-reverse; }
.reviews-bg .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent-light); opacity: .8; animation: rise 14s linear infinite; }
.reviews-bg .d1 { left: 18%; bottom: -12px; animation-delay: -2s; }
.reviews-bg .d2 { left: 36%; bottom: -12px; width: 6px; height: 6px; animation-delay: -7s; animation-duration: 18s; }
.reviews-bg .d3 { left: 64%; bottom: -12px; animation-delay: -11s; animation-duration: 16s; }
.reviews-bg .d4 { left: 86%; bottom: -12px; width: 7px; height: 7px; animation-delay: -5s; animation-duration: 20s; }
@keyframes drift1 { from { transform: translate(0, 0); } to { transform: translate(90px, 60px); } }
@keyframes drift2 { from { transform: translate(0, 0); } to { transform: translate(-70px, -50px); } }
@keyframes drift3 { from { transform: translate(0, 0) scale(1); } to { transform: translate(-120px, -40px) scale(1.15); } }
@keyframes spin { to { rotate: 360deg; } }
@keyframes rise { 0% { transform: translateY(0); opacity: 0; } 10% { opacity: .8; } 90% { opacity: .6; } 100% { transform: translateY(-520px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .reviews-bg > span { animation: none; } }
.reviews-section .section-head .mark { justify-content: center; }
.reviews-section .mark i { background: var(--accent-light); }
.reviews-section .mark i + i { background: #fff; }
.reviews-section h2 { color: #fff; }
.reviews { position: relative; padding: 0 56px; }
.reviews-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; transition: opacity .35s ease; }
.reviews-grid.is-fading { opacity: 0; }
.rcard { background: #fff; color: var(--text-2); border-radius: 12px; padding: 18px 20px 20px; box-shadow: 0 12px 30px -18px rgba(0, 0, 0, .6); display: flex; flex-direction: column; }
.rcard[hidden] { display: none; }
.rcard header { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.rcard .avatar { flex: none; width: 40px; height: 40px; border-radius: 50%; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: .875rem; letter-spacing: .02em; }
.rcard .who { flex: 1; min-width: 0; line-height: 1.2; }
.rcard .who strong { display: block; color: var(--base); font-size: .9375rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rcard .who span { display: block; color: var(--text-3); font-size: .75rem; margin-top: 3px; }
.rcard .g-logo { flex: none; width: 20px; height: 20px; }
.rcard .stars { margin-bottom: 8px; color: #F5B301; }
.rcard .stars svg { width: 16px; height: 16px; }
.rcard p { margin: 0; font-size: .875rem; line-height: 1.55; color: var(--text-2); }
.rnav { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .06); color: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: background var(--ease), border-color var(--ease); }
.rnav:hover { background: var(--accent); border-color: var(--accent); }
.rnav svg { width: 20px; height: 20px; }
.rnav.prev { left: 0; }
.rnav.next { right: 0; }
.stars { display: inline-flex; gap: 3px; color: var(--accent); }
.stars svg { width: 20px; height: 20px; fill: currentColor; }
.reviews-dots { display: flex; justify-content: center; gap: 8px; margin-top: 26px; }
.reviews-dots:empty { display: none; }
.reviews-dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; padding: 0; background: rgba(255, 255, 255, .28); cursor: pointer; transition: background var(--ease), transform var(--ease); }
.reviews-dots button[aria-selected="true"] { background: var(--accent-light); transform: scale(1.25); }
.reviews-google { margin: 22px 0 0; }
.reviews-google a { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center; padding: 7px 14px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; background: rgba(255, 255, 255, .05); color: #fff; font-weight: 500; font-size: .8125rem; transition: border-color var(--ease), background var(--ease); }
.reviews-google a:hover { border-color: var(--accent-light); background: rgba(255, 255, 255, .1); color: #fff; }
.reviews-google strong { font-size: .9375rem; color: #fff; }
.reviews-google .stars { color: #F5B301; }
.reviews-google .stars svg { width: 13px; height: 13px; }
.reviews-google .g-logo { width: 16px; height: 16px; }
.reviews-google span { color: rgba(255, 255, 255, .85); }
.reviews-google svg:last-child { width: 14px; height: 14px; color: var(--accent-light); }
.g-logo { width: 20px; height: 20px; }
html:not(.js) .reviews-grid .rcard:nth-child(n + 4) { display: none; }
@media (max-width: 1000px) { .reviews-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .reviews { padding: 0; } .rnav { display: none; } .reviews-grid { grid-template-columns: 1fr; } }

/* ---------- Pie ---------- */
.site-footer { background: var(--base); position: relative; color: #94a3b8; font-size: .9375rem; border-top: 1px solid rgba(255, 255, 255, .08); }
.site-footer .top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; padding-block: 56px 40px; }
.site-footer h4 { color: #fff; font-size: .875rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #cbd5e1; }
.site-footer a:hover { color: #fff; }
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.site-footer .brand:hover { color: #fff; }
.site-footer .tagline { max-width: 36ch; }
.site-footer .bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding-block: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: .875rem; color: #94a3b8; }
.site-footer .bottom ul { display: flex; flex-wrap: wrap; gap: 18px; }
.site-footer .bottom li { margin: 0; }
@media (max-width: 900px) { .site-footer .top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .site-footer .top { grid-template-columns: 1fr; } }

/* ---------- Formulario ---------- */
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 36px); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; color: var(--base); margin-bottom: 6px; font-size: .95rem; }
.field label .opt { color: var(--text-3); font-weight: 400; }
.field input[type="text"], .field input[type="email"], .field textarea, .field input[type="file"] {
  width: 100%; font: inherit; color: var(--base); background: var(--bg);
  border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px;
  transition: border-color var(--ease), box-shadow var(--ease);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint); background: #fff; }
.field textarea { min-height: 140px; resize: vertical; }
.field input[type="file"] { padding: 10px; }
.field .help { font-size: .875rem; color: var(--text-3); margin-top: 6px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .9375rem; }
.check input { margin-top: 5px; accent-color: var(--accent); width: 16px; height: 16px; flex: none; }
.form-note { margin-top: 16px; display: none; padding: 14px 16px; border-radius: 8px; font-size: .95rem; }
.form-note.ok { display: block; background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.form-note.err { display: block; background: var(--accent-tint); color: var(--accent-dark); border: 1px solid #f5c2cd; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.contact-aside .card { margin-bottom: 16px; }
.contact-aside .card h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-3); margin-bottom: 10px; }
.contact-aside .big-link { font-size: 1.15rem; font-weight: 600; }

/* ---------- Página larga con índice lateral ---------- */
.layout-aside { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 24px); border-left: 2px solid var(--line); padding-left: 20px; }
.toc h2 { font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); margin-bottom: 12px; }
.toc ul { list-style: none; padding: 0; margin: 0; }
.toc li { margin-bottom: 8px; }
.toc a { color: var(--text-2); font-size: .9375rem; }
.toc a:hover { color: var(--accent); }
.layout-aside .prose h2 { scroll-margin-top: calc(var(--header-h) + 20px); }
.layout-aside .card { margin-block: 2rem; scroll-margin-top: calc(var(--header-h) + 20px); }
@media (max-width: 900px) { .layout-aside { grid-template-columns: 1fr; } .toc { display: none; } }

/* ---------- Enlace a red social (bajo una fotografía) ---------- */
.social-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 14px; padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--base); font-weight: 600; font-size: .9375rem; transition: border-color var(--ease), color var(--ease), box-shadow var(--ease); }
.social-link svg { width: 20px; height: 20px; color: #0A66C2; flex: none; }
.social-link:hover { border-color: var(--accent); color: var(--accent); box-shadow: var(--shadow); }

/* ---------- Lista con marcas ---------- */
.checks { list-style: none; padding: 0; margin: 1.25rem 0; display: grid; gap: 12px; }
.checks li { position: relative; margin: 0; padding: 12px 16px 12px 46px; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.checks li::before { content: ""; position: absolute; left: 14px; top: 14px; width: 20px; height: 20px; border-radius: 50%; background: var(--accent); }
.checks li::after { content: ""; position: absolute; left: 20px; top: 18px; width: 6px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.checks li strong { color: var(--base); }
.checks.cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 700px) { .checks.cols { grid-template-columns: 1fr; } }
.agency-intro { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); }
.agency-intro .prose p:last-child { margin-bottom: 0; }
.agency-intro .photo-col { display: flex; flex-direction: column; align-items: center; text-align: center; }
.agency-intro .photo-col .figure.r-fill { flex: 1 1 auto; width: 100%; min-height: 0; height: auto; }
.agency-intro .photo-col .figure.r-fill img { object-position: 50% 22%; }
.agency-intro .photo-col figcaption { padding-top: 10px; }
.agency-intro .prose .actions { margin-top: 1.4rem; }
@media (max-width: 860px) { .agency-intro .photo-col .figure.r-fill { aspect-ratio: 4 / 3; } }
.full-text { max-width: none; margin: clamp(28px, 4vw, 44px) 0 1rem; font-size: 1.0625rem; }

/* ---------- Páginas legales ---------- */
.legal h2 { font-size: 1.35rem; margin-top: 2em; }
.legal h3 { font-size: 1.05rem; margin-top: 1.4em; }
.legal-data { list-style: none; padding: 18px 22px; margin: 0 0 1.5em; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.legal-data li { margin-bottom: 6px; }
.legal-data li:last-child { margin-bottom: 0; }

/* ---------- Utilidades ---------- */
.mt-0 { margin-top: 0 !important; }
.mt-2 { margin-top: 2rem; }
.dl + .prose.mt-2, .grid + .prose.mt-2 { margin-top: clamp(44px, 5.5vw, 72px); }
.mb-0 { margin-bottom: 0 !important; }
.center { text-align: center; }
.related { border-top: 1px solid var(--line); padding-top: 28px; margin-top: 48px; }
.related h2 { font-size: 1.125rem; color: var(--text-3); font-weight: 600; margin-bottom: 14px; }
.related ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.related li { margin: 0; }
.related a { display: inline-block; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 16px; color: var(--base); font-weight: 500; font-size: .9375rem; transition: border-color var(--ease), color var(--ease); }
.related a:hover { border-color: var(--accent); color: var(--accent); }

@media print {
  .site-header, .site-footer, .cta-band, .nav-toggle { display: none !important; }
  body { background: #fff; color: #000; }
}

/* ================================================================ hebreo: tipografía Heebo y escritura de derecha a izquierda */
html[lang="he"] { --font: "Heebo", "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
html[lang="he"] h1, html[lang="he"] h2, html[lang="he"] h3, html[lang="he"] .eyebrow, html[lang="he"] .toc h2, html[lang="he"] .lang,
html[lang="he"] .hero-stats-roll .big, html[lang="he"] .hero-stats-roll .lbl { letter-spacing: 0; }
html[dir="rtl"] .brand { direction: ltr; }
html[dir="rtl"] ul, html[dir="rtl"] ol { padding-left: 0; padding-right: 1.25em; }
html[dir="rtl"] .post-body ul { padding-left: 0; padding-right: 1.2em; }
html[dir="rtl"] .site-nav .sub { left: auto; right: 0; }
html[dir="rtl"] .site-nav .lang-menu .sub { right: auto; left: 0; }
html[dir="rtl"] .site-nav .drop-link { padding-right: 0; padding-left: 4px; }
html[dir="rtl"] .site-nav .drop-toggle { margin-right: 0; margin-left: 6px; }
html[dir="rtl"] .site-nav .lang-menu { margin-left: 0; margin-right: 10px; }
html[dir="rtl"] .site-nav .nav-cta { margin-left: 0; margin-right: 8px; }
html[dir="rtl"] .btn svg, html[dir="rtl"] .card.link .more svg, html[dir="rtl"] .reviews-google a > svg:last-child, html[dir="rtl"] .rnav svg { transform: scaleX(-1); }
html[dir="rtl"] .card.link:hover .more svg { transform: scaleX(-1) translateX(-3px); }
html[dir="rtl"] .rnav.prev { left: auto; right: 0; }
html[dir="rtl"] .rnav.next { right: auto; left: 0; }
html[dir="rtl"] .breadcrumb li + li::before { content: "‹"; }
html[dir="rtl"] .chips li.swap .native { left: 12px; right: 31px; text-align: right; }
html[dir="rtl"] .chips li.swap .native[dir="ltr"] { text-align: left; }
html[dir="rtl"] .checks li { padding: 12px 46px 12px 16px; }
html[dir="rtl"] .checks li::before { left: auto; right: 14px; }
html[dir="rtl"] .checks li::after { left: auto; right: 20px; }
html[dir="rtl"] .faq summary { padding: 18px 22px 18px 56px; }
html[dir="rtl"] .faq summary::after { right: auto; left: 22px; }
html[dir="rtl"] .toc { border-left: 0; padding-left: 0; border-right: 2px solid var(--line); padding-right: 20px; }
html[dir="rtl"] .post-body blockquote { border-left: 0; border-right: 3px solid var(--accent); border-radius: 10px 0 0 10px; }
html[dir="rtl"] .cta-fan { right: auto; left: 0; transform: scaleX(-1); }
html[dir="rtl"] .mark i { transform-origin: right center; }
html[dir="rtl"] .marquee, html[dir="rtl"] .hero-visual.dark .lanes { direction: ltr; }
html[dir="rtl"] .hero-visual.dark .lane .chip { direction: rtl; }
html[dir="rtl"] .hero-visual.dark .lane .chip em { padding-left: 0; padding-right: 7px; border-left: 0; border-right: 1px solid var(--line); }
html[dir="rtl"] .hero-stats-roll .big { direction: ltr; unicode-bidi: isolate; }
html[dir="rtl"] .legal-data, html[dir="rtl"] .legal-data a, html[dir="rtl"] a[href^="mailto:"], html[dir="rtl"] a[href^="tel:"] { unicode-bidi: isolate; }
