/* =========================================================
   Word Smart — Traductores públicos certificados
   Hoja de estilos principal
   ========================================================= */

:root {
  /* Paleta oficial Word Smart: azul #386CA4 · azul oscuro #144490 · naranja #FC6400 · gris #D4D4D4 */
  --navy-900: #0f2a52;
  --navy-800: #144490;
  --navy-700: #386ca4;
  --ink: #17213a;
  --ink-soft: #4b5670;
  --ink-muted: #7b859c;
  --orange-600: #c24d00;
  --orange-500: #fc6400;
  --orange-400: #ff8a3d;
  --orange-100: #ffe8d9;
  --gray-500: #d4d4d4;
  --gray-100: #ececec;
  --blue-deep: #144490;
  --surface: #ffffff;
  --surface-alt: #f5f8fc;
  --surface-tint: #eef3fb;
  --line: #e3e8f1;

  /* Tipografía */
  --font-display: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;

  /* Escala */
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-xl: 40px;
  --shadow-sm: 0 2px 10px rgba(10, 26, 51, 0.06);
  --shadow-md: 0 14px 40px -12px rgba(10, 26, 51, 0.18);
  --shadow-lg: 0 30px 70px -20px rgba(10, 26, 51, 0.28);
  --container: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset y base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--surface);
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--orange-600); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; margin: 0 0 0.5em; color: var(--navy-900); letter-spacing: -0.01em; text-wrap: balance; }
p, li { text-wrap: pretty; }
[id] { scroll-margin-top: 100px; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--gray-500); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 1000;
  background: var(--navy-900); color: #fff; padding: 10px 16px; border-radius: 8px;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.section { padding-block: clamp(64px, 9vw, 120px); position: relative; }
.section--tint { background: var(--surface-alt); }
.section--navy { background: var(--navy-900); color: #d7e0f0; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section-head { max-width: 680px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange-600);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.section--navy .eyebrow { color: var(--orange-400); }
.lead { font-size: 1.15rem; color: var(--ink-soft); }
.section--navy .lead { color: #b8c5dc; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-display); font-weight: 600; font-size: 0.95rem;
  cursor: pointer; text-decoration: none; transition: transform 0.25s var(--ease), box-shadow 0.25s, background 0.25s, color 0.25s;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--orange-500); color: #fff; text-shadow: 0 1px 0 rgba(0,0,0,0.12); box-shadow: 0 10px 24px -10px rgba(252, 100, 0, 0.55); }
.btn--primary:hover { background: var(--orange-400); }
.btn--primary { position: relative; overflow: hidden; isolation: isolate; }
.btn--primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,0.35) 50%, transparent 70%);
  transform: translateX(-130%); transition: transform 0.7s var(--ease);
}
.btn--primary:hover::after { transform: translateX(130%); }
.btn--dark { background: var(--navy-900); color: #fff; }
.btn--dark:hover { background: var(--navy-700); }
.btn--ghost { background: transparent; color: var(--navy-900); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--navy-900); }
.btn--light { background: #fff; color: var(--navy-900); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.35); }
.btn--outline-light:hover { border-color: #fff; }
.btn--block { width: 100%; justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.86);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 80px; transition: min-height 0.3s var(--ease); }
.site-header.is-scrolled .site-header__inner { min-height: 64px; }
.site-header.is-scrolled .brand__logo { height: 38px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--navy-900); }
.brand:hover { text-decoration: none; }
.brand__logo { height: 46px; width: auto; transition: height 0.3s var(--ease); }
.brand__logo--dark { display: none; }
.site-footer .brand__logo { height: 52px; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav__link {
  position: relative; padding: 10px 14px; border-radius: 999px;
  font-family: var(--font-display); font-weight: 500; font-size: 0.95rem; color: var(--ink);
  transition: color 0.2s, background 0.2s;
}
.nav__link:hover { text-decoration: none; background: var(--surface-tint); color: var(--navy-900); }
.nav__link[aria-current="page"] { color: var(--orange-600); }
.nav__link[aria-current="page"]::after {
  content: ""; position: absolute; left: 50%; bottom: 3px; width: 6px; height: 6px; border-radius: 50%;
  background: var(--orange-500); transform: translateX(-50%);
}
.nav__cta { margin-left: 8px; padding: 11px 20px; }
.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line);
  background: #fff; cursor: pointer; place-items: center; position: relative; z-index: 101;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 20px; height: 2px; background: var(--navy-900); border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s; content: "";
}
.nav-toggle span { position: relative; }
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: grid; }
  .nav {
    position: fixed; inset: 0; z-index: 99; overflow-y: auto;
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 2px;
    padding: 104px var(--gutter) 40px;
    background: linear-gradient(160deg, var(--navy-900), var(--navy-800));
    clip-path: circle(0 at calc(100% - 44px) 44px);
    visibility: hidden; pointer-events: none;
    transition: clip-path 0.55s var(--ease), visibility 0.55s;
  }
  .nav.is-open { clip-path: circle(160% at calc(100% - 44px) 44px); visibility: visible; pointer-events: auto; }
  .nav__link { padding: 14px 4px; font-size: clamp(1.5rem, 6vw, 2rem); font-weight: 600; color: #fff; border-radius: 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .nav__link:hover { background: transparent; color: var(--orange-400); }
  .nav__link[aria-current="page"] { color: var(--orange-400); }
  .nav__link[aria-current="page"]::after { display: none; }
  .nav__cta { margin: 22px 0 0; justify-content: center; }
  .nav__extra { display: grid; gap: 10px; margin-top: 30px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.12); }
  .nav__extra-title { margin: 0 0 4px; font-family: var(--font-display); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange-400); }
  .nav__extra a { display: inline-flex; align-items: center; gap: 10px; color: #dbe4f3; font-size: 0.98rem; }
  .nav__extra a svg { width: 18px; height: 18px; color: var(--orange-400); }
  .nav__extra .topbar__langs { margin-top: 10px; }
  .site-header { background: rgba(255,255,255,0.92); }
  .site-header:has(.nav.is-open) { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; border-color: transparent; box-shadow: none; }
  .site-header .brand { position: relative; z-index: 101; }
  .site-header:has(.nav.is-open) .brand__logo--light { display: none; }
  .site-header:has(.nav.is-open) .brand__logo--dark { display: block; }
  .site-header:has(.nav.is-open) .nav-toggle { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.2); }
  .site-header:has(.nav.is-open) .nav-toggle span::before, .site-header:has(.nav.is-open) .nav-toggle span::after { background: #fff; }
}
@media (min-width: 901px) { .nav__extra { display: none; } }

/* Barra de progreso de lectura (CSS puro, animación por scroll) */
.scroll-progress { position: absolute; left: 0; bottom: -1px; height: 3px; width: 100%; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, var(--orange-500), var(--navy-700)); pointer-events: none; }
@supports (animation-timeline: scroll()) {
  .scroll-progress { animation: progress linear both; animation-timeline: scroll(root); }
}
@keyframes progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Transición suave entre páginas (navegadores compatibles) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: 0.25s ease-out both vt-out; }
::view-transition-new(root) { animation: 0.35s ease-out both vt-in; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(10px); } }
@media (prefers-reduced-motion: reduce) { ::view-transition-old(root), ::view-transition-new(root) { animation: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: radial-gradient(1100px 600px at 85% -10%, var(--orange-100) 0%, transparent 60%),
              radial-gradient(700px 500px at -10% 90%, var(--gray-100) 0%, transparent 60%),
              linear-gradient(180deg, #fff 0%, var(--surface-alt) 100%);
  padding-block: clamp(56px, 8vw, 110px) clamp(64px, 9vw, 120px);
}
.hero::before {
  content: ""; position: absolute; z-index: -1; right: -8%; top: -24%; width: min(62vw, 760px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(252,100,0,0.2), rgba(56,108,164,0.12) 55%, transparent 72%);
  filter: blur(36px); animation: aurora 16s ease-in-out infinite alternate;
}
@keyframes aurora { to { transform: translate(-14%, 18%) scale(1.15); } }
.hero__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero__title { margin-bottom: 20px; }
.hero__title .accent { position: relative; display: inline-block; color: var(--orange-600); }
.hero__title .accent::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0.06em; height: 0.28em; z-index: -1;
  background: var(--gray-100); border-radius: 4px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 34px; color: var(--ink-soft); font-size: 0.9rem; }
.hero__badges li { display: inline-flex; align-items: center; gap: 8px; }
.hero__badges svg { width: 18px; height: 18px; color: var(--orange-600); flex: none; }
.hero__art { position: relative; min-height: 380px; }

/* Burbujas flotantes decorativas */
.bubble {
  position: absolute; display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 18px; background: #fff; box-shadow: var(--shadow-md);
  font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; color: var(--navy-900);
  animation: float 6s ease-in-out infinite;
}
.bubble::after {
  content: ""; position: absolute; width: 14px; height: 14px; background: inherit; bottom: -6px; left: 18px;
  transform: rotate(45deg); border-radius: 3px;
}
.bubble--1 { top: 6%; left: -4%; animation-delay: 0s; }
.bubble--2 { top: 20%; right: -2%; animation-delay: -2s; }
.bubble--3 { bottom: 12%; left: 4%; animation-delay: -4s; }
.bubble--4 { bottom: 2%; right: 8%; animation-delay: -1s; }
.bubble .flag { width: 22px; height: 22px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 0.7rem; color: #fff; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* Formas decorativas globales (las secciones que las contienen recortan el desborde) */
.shape { position: absolute; z-index: -1; pointer-events: none; }
.section:has(> .shape), .cta-band, .not-found { overflow: hidden; }
@supports (animation-timeline: view()) {
  .section > .shape, .hero > .shape, .page-hero > .shape { animation: drift linear both; animation-timeline: view(); }
  @keyframes drift { from { translate: 0 70px; } to { translate: 0 -70px; } }
}
.shape--ring { width: 220px; height: 220px; border-radius: 50%; border: 28px solid var(--orange-100); }
.shape--dots {
  width: 160px; height: 160px; opacity: 0.6;
  background-image: radial-gradient(var(--orange-400) 1.6px, transparent 1.7px); background-size: 16px 16px;
}
.shape--blob { width: 380px; height: 380px; background: var(--gray-100); border-radius: 62% 38% 46% 54% / 55% 46% 54% 45%; filter: blur(2px); }
.shape--quote {
  font-family: var(--font-display); font-weight: 800; font-size: 260px; line-height: 1; color: var(--surface-tint);
  user-select: none;
}

/* ---------- Marquesina de idiomas ---------- */
.marquee {
  overflow: hidden; border-block: 1px solid var(--line); background: #fff; padding-block: 16px;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee__track { display: flex; gap: 48px; width: max-content; animation: marquee 40s linear infinite; }
.marquee__track span {
  display: inline-flex; align-items: center; gap: 14px; font-family: var(--font-display);
  font-weight: 600; color: var(--ink-soft); white-space: nowrap; font-size: 1rem;
}
.marquee__track span::after { content: "✦"; color: var(--gray-500); font-size: 0.8rem; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee:hover .marquee__track { animation-play-state: paused; }

/* ---------- Franja de confianza ---------- */
.trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.trust__item {
  display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: var(--radius-md);
  background: #fff; border: 1px solid var(--line);
}
.trust__icon { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--orange-100); color: var(--orange-600); }
.trust__icon svg { width: 22px; height: 22px; }
.trust__item strong { display: block; font-family: var(--font-display); color: var(--navy-900); margin-bottom: 4px; }
.trust__item p { margin: 0; color: var(--ink-soft); font-size: 0.93rem; }

/* ---------- Tarjetas de servicios ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 22px; }
.card {
  position: relative; overflow: hidden; padding: 30px 28px; border-radius: var(--radius-lg);
  background: #fff; border: 1px solid var(--line); transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; pointer-events: none; opacity: 0; transition: opacity 0.35s;
  background: linear-gradient(135deg, var(--orange-400), var(--navy-700));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.card:hover::before { opacity: 1; }
.card__icon {
  width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 22px;
  background: linear-gradient(135deg, var(--orange-100), #fff); color: var(--orange-600); border: 1px solid var(--orange-100);
}
.card__icon svg { width: 28px; height: 28px; }
.card--amber .card__icon { background: linear-gradient(135deg, var(--gray-100), #fff); color: #5b5b5b; border-color: var(--gray-100); }
.card--navy .card__icon { background: linear-gradient(135deg, var(--surface-tint), #fff); color: var(--navy-700); border-color: var(--surface-tint); }
.card--coral .card__icon { background: linear-gradient(135deg, #dbe6f5, #fff); color: var(--blue-deep); border-color: #dbe6f5; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--ink-soft); margin-bottom: 18px; }
.card__link { font-family: var(--font-display); font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.card__link svg { width: 16px; height: 16px; transition: transform 0.25s; }
.card__link:hover svg { transform: translateX(4px); }
.card__num {
  position: absolute; right: 22px; top: 18px; font-family: var(--font-display); font-weight: 800; font-size: 2.6rem;
  color: var(--surface-tint); line-height: 1;
}

/* Lista con checks */
.checklist li { display: flex; gap: 12px; align-items: flex-start; padding: 8px 0; color: var(--ink-soft); }
.checklist li::before {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%;
  background: var(--orange-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f9d8f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.section--navy .checklist li { color: #c5d0e4; }
.section--navy .checklist li::before { background-color: rgba(252,100,0,0.22); }

/* ---------- Bloque garantía / split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.split--reverse > :first-child { order: 2; }
.split__media { position: relative; }
.media-frame {
  position: relative; border-radius: var(--radius-xl); overflow: hidden; background: var(--navy-800);
  aspect-ratio: 4 / 3.4; display: grid; place-items: center; box-shadow: var(--shadow-lg);
}
.media-frame svg { width: 88%; height: auto; }
.media-frame__caption {
  position: absolute; left: 20px; right: 20px; bottom: 20px; padding: 14px 18px; border-radius: 16px;
  background: rgba(255,255,255,0.94); color: var(--navy-900); font-family: var(--font-display); font-weight: 600; font-size: 0.9rem;
  display: flex; align-items: center; gap: 12px;
}
.media-frame__caption svg { width: 20px; height: 20px; color: var(--orange-600); }
.stat-chip {
  position: absolute; padding: 14px 18px; border-radius: 18px; background: #fff; box-shadow: var(--shadow-md);
  display: flex; flex-direction: column; gap: 2px;
}
.stat-chip strong { font-family: var(--font-display); font-size: 1.4rem; color: var(--navy-900); line-height: 1; }
.stat-chip span { font-size: 0.8rem; color: var(--ink-soft); }
.stat-chip--tl { top: -22px; left: -22px; }
.stat-chip--br { top: 44%; right: -26px; }

/* ---------- Proceso ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 28px; counter-reset: step; position: relative; }
.step { position: relative; padding: 28px 24px 24px; border-radius: var(--radius-lg); background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--font-display); font-weight: 800; font-size: 0.9rem; letter-spacing: 0.1em;
  color: var(--orange-400); display: block; margin-bottom: 16px;
}
.step__icon { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: rgba(255,138,61,0.2); color: var(--orange-400); margin-bottom: 18px; }
.step__icon svg { width: 24px; height: 24px; }
.step p { color: #b8c5dc; margin: 0; font-size: 0.95rem; }

/* ---------- Valores ---------- */
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.value {
  padding: 26px; border-radius: var(--radius-md); background: #fff; border: 1px solid var(--line);
  border-top: 4px solid var(--orange-500);
}
.value:nth-child(2) { border-top-color: var(--gray-500); }
.value:nth-child(3) { border-top-color: var(--navy-700); }
.value:nth-child(4) { border-top-color: var(--blue-deep); }
.value h3 { font-size: 1.1rem; }
.value p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- Detalle de servicio ---------- */
.service-detail { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 70px); align-items: center; padding-block: clamp(40px, 6vw, 72px); }
.service-detail + .service-detail { border-top: 1px solid var(--line); }
.service-detail:nth-child(even) > :first-child { order: 2; }
.service-detail__art {
  border-radius: var(--radius-xl); aspect-ratio: 1.15; display: grid; place-items: center; position: relative; overflow: hidden;
  background: linear-gradient(145deg, var(--surface-tint), #fff); border: 1px solid var(--line);
}
.service-detail__art svg { width: 70%; height: auto; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tag { padding: 6px 14px; border-radius: 999px; background: var(--surface-tint); color: var(--navy-800); font-size: 0.85rem; font-weight: 500; }

/* ---------- Sub-navegación de servicios ---------- */
.subnav { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.subnav a {
  padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--navy-900);
  font-family: var(--font-display); font-weight: 500; font-size: 0.9rem; transition: background 0.2s, border-color 0.2s;
}
.subnav a:hover { text-decoration: none; background: var(--orange-100); border-color: var(--orange-100); }

/* ---------- Encabezado de página ---------- */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding-block: clamp(56px, 8vw, 96px);
  background: radial-gradient(900px 400px at 100% 0%, var(--orange-100) 0%, transparent 60%),
              linear-gradient(180deg, #fff, var(--surface-alt));
}
.page-hero__inner { max-width: 760px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.85rem; color: var(--ink-muted); margin-bottom: 18px; }
.breadcrumb a { color: var(--ink-soft); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--line); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--radius-xl); padding: clamp(40px, 6vw, 72px);
  background: linear-gradient(120deg, var(--navy-900), var(--navy-700) 60%, #4a80b8);
  color: #fff; display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 32px; align-items: center;
}
.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band p { color: #c5d0e4; margin: 0; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.cta-band .shape--ring { border-color: rgba(255,255,255,0.08); right: -60px; top: -80px; width: 300px; height: 300px; }
.cta-band .shape--dots { left: 30px; bottom: -40px; background-image: radial-gradient(rgba(255,255,255,0.35) 1.6px, transparent 1.7px); }

/* ---------- Contacto ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact-list li { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 0; }
.contact-list .icon { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--orange-100); color: var(--orange-600); }
.contact-list .icon svg { width: 22px; height: 22px; }
.contact-list strong { display: block; font-family: var(--font-display); color: var(--navy-900); margin-bottom: 2px; }
.contact-list span, .contact-list a { color: var(--ink-soft); }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-md); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { font-family: var(--font-display); font-weight: 500; font-size: 0.9rem; color: var(--navy-900); }
.form-field label .req { color: var(--blue-deep); }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 13px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface-alt);
  font: inherit; color: var(--ink); transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--orange-500); background: #fff; box-shadow: 0 0 0 4px rgba(252,100,0,0.2);
}
.form-field textarea { min-height: 140px; resize: vertical; }
.form-field .hint { font-size: 0.82rem; color: var(--ink-muted); }
.form-field .error { font-size: 0.82rem; color: #c2412f; display: none; }
.form-field.is-invalid input, .form-field.is-invalid select, .form-field.is-invalid textarea { border-color: #e2554a; }
.form-field.is-invalid .error { display: block; }
.form-consent { display: flex; gap: 12px; align-items: flex-start; font-size: 0.9rem; color: var(--ink-soft); }
.form-consent input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--orange-600); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 14px; padding: 14px 16px; border-radius: 12px; font-size: 0.93rem; display: none; }
.form-status.is-success { display: block; background: #e3f3e6; color: #1f6b2a; }
.form-status.is-error { display: block; background: #fde2de; color: #a3372b; }
.map-placeholder svg { width: 32px; height: 32px; margin: 0 auto 8px; color: var(--orange-600); }
.map-placeholder {
  margin-top: 28px; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 8; border: 1px solid var(--line);
  background: var(--surface-tint); display: grid; place-items: center; color: var(--ink-muted); font-size: 0.9rem; text-align: center; padding: 20px;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #b8c5dc; padding-block: clamp(56px, 7vw, 88px) 28px; position: relative; overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; }
.footer-brand .brand { color: #fff; }
.footer-brand p { margin-top: 18px; max-width: 360px; font-size: 0.95rem; }
.footer-col h4 { color: #fff; font-size: 0.95rem; margin-bottom: 16px; letter-spacing: 0.02em; }
.footer-col li + li { margin-top: 10px; }
.footer-col a { color: #b8c5dc; transition: color 0.2s; }
.footer-col a:hover { color: #fff; text-decoration: none; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--orange-400); }
.social { display: flex; gap: 10px; margin-top: 20px; }
.social a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,0.07); color: #fff; transition: background 0.2s, transform 0.2s; }
.social a:hover { background: var(--orange-500); color: var(--navy-900); transform: translateY(-2px); text-decoration: none; }
.social svg { width: 18px; height: 18px; }
.footer-bottom {
  margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 0.85rem; color: #8a98b5;
}
.footer-bottom a { color: #8a98b5; }
.footer-bottom a:hover { color: #fff; }
.site-footer .shape--quote { right: -20px; top: -60px; color: rgba(255,255,255,0.03); }

/* ---------- Página 404 ---------- */
.not-found { text-align: center; padding-block: clamp(80px, 12vw, 160px); }
.not-found__code { font-family: var(--font-display); font-weight: 800; font-size: clamp(5rem, 16vw, 10rem); line-height: 1; color: var(--orange-100); margin-bottom: -0.35em; }

/* ---------- Animaciones de aparición ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }
.reveal[data-delay="4"] { transition-delay: 0.4s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } .bubble, .marquee__track { animation: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
@media (max-width: 860px) {
  .hero__grid, .split, .service-detail, .contact-grid, .cta-band { grid-template-columns: 1fr; }
  .split--reverse > :first-child, .service-detail:nth-child(even) > :first-child { order: 0; }
  .hero__art { min-height: 0; margin-top: 12px; }
  .bubble { font-size: 0.85rem; padding: 8px 12px; }
  .cta-band__actions { justify-content: flex-start; }
  .stat-chip--tl { top: -14px; left: -6px; }
  .stat-chip--br { top: 44%; right: -6px; }
}
@media (max-width: 600px) {
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .bubble--1, .bubble--4 { display: none; }
}

/* ---------- Utilidades (evitan estilos inline, compatibles con la CSP) ---------- */
.mt-3 { margin-top: 14px; }
.mt-4 { margin-top: 22px; }
.m-0 { margin: 0 !important; }
.pt-0 { padding-top: 0; }
.h-sm { font-size: 1.05rem; }
.h-md { font-size: 1.5rem; }
.text-soft { color: var(--ink-soft); }
.req { color: var(--blue-deep); }
[data-cols="2"] { grid-template-columns: 1fr 1fr; }
[data-pull="up"] { margin-top: -28px; margin-bottom: 12px; }
[data-narrow="center"] { max-width: 520px; margin: 0 auto 28px; }
[data-center="1"] { justify-content: center; }
[data-center="tight"] { justify-content: center; margin-top: 0; }
.shape[data-pos="a"] { right: 8%; top: 20%; }
.shape[data-pos="b"] { right: -60px; bottom: -90px; }
.shape[data-pos="c"] { left: -90px; top: 60px; }
.shape[data-pos="d"] { right: 4%; bottom: 6%; }
.shape[data-pos="e"] { right: -160px; top: 40px; opacity: 0.6; }
.shape[data-pos="f"] { left: -30px; top: -40px; }
.shape[data-pos="g"] { left: -200px; bottom: -100px; opacity: 0.5; }
.shape[data-pos="h"] { right: 4%; top: 18%; }
.shape[data-pos="i"] { left: 1%; bottom: -3%; font-size: clamp(2.6rem, 6vw, 5rem); opacity: 0.7; }
.shape[data-pos="j"] { right: 2%; top: 6%; }
.shape[data-pos="k"] { left: 50%; top: 8%; transform: translateX(-50%); }
.flag[data-tone="es"] { background: linear-gradient(180deg, #c60b1e 0 30%, #ffc400 30% 70%, #c60b1e 70%); color: #0f2a52; }
.flag[data-tone="en"] { background: linear-gradient(180deg, #3c3b6e 0 45%, #b22234 45% 60%, #fff 60% 72%, #b22234 72% 86%, #fff 86%); }
.flag[data-tone="fr"] { background: linear-gradient(90deg, #0055a4 0 33%, #fff 33% 66%, #ef4135 66%); color: #0f2a52; }
.flag[data-tone="seal"] { background: var(--orange-500); }
.flag[data-tone="seal"] svg { width: 13px; height: 13px; color: #fff; }
.bubble .flag { font-weight: 800; text-shadow: 0 0 2px rgba(255,255,255,0.6); }
@media (max-width: 600px) { [data-cols="2"] { grid-template-columns: 1fr; } }


/* =========================================================
   Fusión con word-smart.com — nuevos componentes
   ========================================================= */

/* ---------- Barra superior (contacto + idiomas) ---------- */
.topbar { background: var(--navy-900); color: #c5d0e4; font-size: 0.82rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.topbar__contact { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.topbar__contact li { display: inline-flex; align-items: center; gap: 7px; }
.topbar__contact svg { width: 15px; height: 15px; color: var(--orange-400); }
.topbar__contact a { color: #e4eaf5; }
.topbar__contact a:hover { color: #fff; }
.topbar__langs { display: flex; gap: 6px; }
.topbar__langs li {
  display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px;
  background: rgba(255,255,255,0.07); font-family: var(--font-display); font-size: 0.74rem; letter-spacing: 0.02em;
}
.topbar__langs b { color: var(--orange-400); font-weight: 700; }
@media (max-width: 900px) { .topbar { display: none; } }

/* ---------- Botones adicionales ---------- */
.btn--whatsapp { background: #25d366; color: #0b3d22; box-shadow: 0 10px 24px -10px rgba(37,211,102,0.6); }
.btn--whatsapp:hover { background: #3ee07a; }
.btn--whatsapp svg { width: 20px; height: 20px; }
.center { text-align: center; }

/* Botón flotante de WhatsApp */
.wa-fab {
  position: fixed; right: 18px; bottom: 18px; z-index: 90;
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px 12px 14px; border-radius: 999px;
  background: #25d366; color: #073b1c; font-family: var(--font-display); font-weight: 600; font-size: 0.9rem;
  box-shadow: 0 16px 34px -12px rgba(0,0,0,0.4); transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.wa-fab:hover { text-decoration: none; transform: translateY(-3px); box-shadow: 0 20px 38px -12px rgba(0,0,0,0.45); }
.wa-fab svg { width: 24px; height: 24px; }
@media (max-width: 600px) { .wa-fab { padding: 12px; } .wa-fab span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } }

/* ---------- Píldoras de idiomas (ES · EN · FR) ---------- */
.lang-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.lang-pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 10px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; color: var(--navy-900);
  box-shadow: var(--shadow-sm);
}
.lang-pill__flag { width: 22px; height: 22px; border-radius: 50%; flex: none; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line); }
.lang-pill[data-lang="es"] .lang-pill__flag { background: linear-gradient(180deg, #c60b1e 0 28%, #ffc400 28% 72%, #c60b1e 72%); }
.lang-pill[data-lang="en"] .lang-pill__flag { background: linear-gradient(180deg, #3c3b6e 0 45%, #b22234 45% 60%, #fff 60% 72%, #b22234 72% 86%, #fff 86%); }
.lang-pill[data-lang="fr"] .lang-pill__flag { background: linear-gradient(90deg, #0055a4 0 33%, #fff 33% 66%, #ef4135 66%); }
.footer-langs { display: flex; gap: 8px; margin-top: 14px !important; }
.footer-langs span { padding: 4px 12px; border-radius: 999px; background: rgba(255,255,255,0.07); font-size: 0.78rem; font-family: var(--font-display); color: #e4eaf5; }

/* ---------- Sello giratorio trilingüe ---------- */
.stamp { position: absolute; width: 132px; height: 132px; z-index: 3; filter: drop-shadow(0 14px 24px rgba(10,26,51,0.22)); animation: spin 32s linear infinite; }
.stamp svg { width: 100%; height: 100%; }
.stamp--lg { width: 170px; height: 170px; }
.stamp--corner { right: -26px; top: -30px; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .stamp { animation: none; } }

/* Palabra decorativa gigante (Hello · Bonjour · Hola) */
.shape--word { display: flex; flex-direction: column; gap: 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(3rem, 8vw, 6.5rem); line-height: 0.95; letter-spacing: -0.03em; user-select: none; }
.shape--word span { color: transparent; -webkit-text-stroke: 1.5px rgba(20,68,144,0.14); }
.shape--word span:nth-child(2) { -webkit-text-stroke-color: rgba(252,100,0,0.16); }
.section--navy .shape--word span { -webkit-text-stroke-color: rgba(255,255,255,0.08); }

/* ---------- Hero con fotografías ---------- */
.photo-stack { position: relative; width: min(100%, 460px); margin-inline: auto; aspect-ratio: 1; }
.photo-stack figure { margin: 0; }
.photo-stack__main { position: absolute; inset: 0 8% 8% 0; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--surface-tint); }
.photo-stack__main img { width: 100%; height: 100%; object-fit: cover; }
.photo-stack__main::after { content: ""; position: absolute; inset: 0; background: linear-gradient(200deg, transparent 55%, rgba(15,42,82,0.35)); }
.photo-stack__card {
  position: absolute; right: -4%; bottom: 0; width: 46%; padding: 18px 20px; border-radius: var(--radius-lg);
  background: #fff; box-shadow: var(--shadow-md); display: grid; gap: 6px; border: 1px solid var(--line);
}
.photo-stack__card-label { font-family: var(--font-display); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--orange-600); }
.photo-stack__card-pair { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; color: var(--navy-900); line-height: 1; }
.photo-stack__card-pair svg { width: 22px; height: 22px; color: var(--orange-500); }
.photo-stack__card-note { font-size: 0.8rem; color: var(--ink-soft); }
.photo-stack .stamp { left: -9%; top: 36%; }
.hero__art .bubble--1 { top: 4%; left: -6%; }
.hero__art .bubble--2 { top: 16%; right: -6%; }
.hero__art .bubble--3 { top: auto; bottom: 1%; left: -2%; }
.hero__art .bubble--4 { top: 40%; bottom: auto; right: -4%; }

/* ---------- Marcos fotográficos ---------- */
.media-frame--photo { aspect-ratio: 1; }
.media-frame--photo img { width: 100%; height: 100%; object-fit: cover; }
.media-frame--photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(15,42,82,0.45)); pointer-events: none; }
.media-frame__caption { z-index: 2; }

/* ---------- Cifras ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 26px 0 6px; }
.stat { padding: 16px 18px; border-radius: var(--radius-md); background: var(--surface-alt); border: 1px solid var(--line); }
.stat strong { display: block; font-family: var(--font-display); font-size: 1.7rem; font-weight: 800; color: var(--navy-800); line-height: 1.1; }
.stat span { font-size: 0.82rem; color: var(--ink-soft); }
@media (max-width: 480px) { .stats { grid-template-columns: 1fr 1fr; } }

/* ---------- Logotipos de clientes ---------- */
.section--compact { padding-block: clamp(40px, 6vw, 72px); }
.section--compact .section-head { margin-bottom: 28px; }
.logos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: center; }
@media (max-width: 900px) { .logos { grid-template-columns: repeat(2, 1fr); gap: 12px; } .logos li { min-height: 90px; padding: 14px 18px; } .logos img { max-height: 52px; } }
.logos li {
  display: grid; place-items: center; min-height: 110px; padding: 18px 26px; border-radius: var(--radius-md);
  background: #fff; border: 1px solid var(--line); transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.logos li:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.logos img { max-height: 64px; width: auto; object-fit: contain; filter: grayscale(1); opacity: 0.75; transition: filter 0.3s, opacity 0.3s; }
.logos li:hover img { filter: none; opacity: 1; }

/* ---------- Bloque de filosofía (cita) ---------- */
.quote-block { position: relative; max-width: 820px; margin: 0 auto clamp(36px, 5vw, 60px); padding: clamp(28px, 4vw, 48px); border-radius: var(--radius-xl); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-md); }
.quote-block .stamp { right: -30px; top: -40px; }
.quote-block h2 { max-width: 640px; }
.quote-block .lead { max-width: 680px; }
.quote-block .lang-pills { margin-top: 8px; }
@media (max-width: 700px) { .quote-block .stamp { width: 96px; height: 96px; right: -10px; top: -30px; } }

/* ---------- Principios de atención ---------- */
.principles { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.principle { position: relative; padding: 26px 24px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); overflow: hidden; }
.principle__num { position: absolute; right: 18px; top: 12px; font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; color: var(--surface-tint); line-height: 1; }
.principle__icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--orange-100); color: var(--orange-600); margin-bottom: 14px; }
.principle__icon svg { width: 22px; height: 22px; }
.principle h3 { font-size: 1.1rem; }
.principle p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }
.split .principles { grid-template-columns: 1fr; gap: 12px; margin-top: 8px; }
.split .principle { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; align-items: start; padding: 18px 20px; }
.split .principle__icon { grid-row: span 2; margin: 0; }
.split .principle h3 { margin: 0; }

/* ---------- Contacto: foto y WhatsApp ---------- */
.contact-photo { position: relative; margin: 28px 0 0; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 9; box-shadow: var(--shadow-md); }
.contact-photo img { width: 100%; height: 100%; object-fit: cover; }
.contact-photo figcaption {
  position: absolute; left: 16px; right: 16px; bottom: 16px; padding: 12px 16px; border-radius: 14px;
  background: rgba(255,255,255,0.94); color: var(--navy-900); font-family: var(--font-display); font-weight: 600; font-size: 0.88rem;
  display: flex; align-items: center; gap: 10px;
}
.contact-photo figcaption svg { width: 18px; height: 18px; color: var(--orange-600); }
.contact-list .icon--wa { background: #e6f9ed; color: #1a8f47; }

/* ---------- CTA con fotografía ---------- */
.cta-band--photo { grid-template-columns: 1.1fr 0.9fr; padding: 0; overflow: hidden; }
.cta-band--photo > div { padding: clamp(40px, 6vw, 72px); }
.cta-band--photo .eyebrow { color: var(--orange-400); }
.cta-band--photo .cta-band__actions { justify-content: flex-start; margin-top: 26px; }
.cta-band--photo .cta-band__actions .btn--outline-light svg { width: 20px; height: 20px; }
.cta-band__media { position: relative; margin: 0; min-height: 300px; }
.cta-band__media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.cta-band__media::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, var(--navy-700) 0%, rgba(56,108,164,0.25) 30%, transparent 60%); }
.cta-band__media figcaption {
  position: absolute; z-index: 2; left: 24px; bottom: 24px; padding: 10px 16px; border-radius: 999px;
  background: rgba(255,255,255,0.94); color: var(--navy-900); font-family: var(--font-display); font-weight: 600; font-size: 0.85rem;
}
@media (max-width: 860px) {
  .cta-band--photo { grid-template-columns: 1fr; }
  .cta-band__media { min-height: 220px; }
  .cta-band__media::before { background: linear-gradient(180deg, var(--navy-700) 0%, transparent 50%); }
}

/* ---------- Valores con icono ---------- */
.values--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.value__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--orange-100); color: var(--orange-600); margin-bottom: 14px; }
.value__icon svg { width: 22px; height: 22px; }

/* ---------- Página de políticas ---------- */
.policy-grid { display: grid; grid-template-columns: 260px 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.policy-toc { position: sticky; top: 100px; padding: 22px; border-radius: var(--radius-md); background: var(--surface-alt); border: 1px solid var(--line); }
.policy-toc ol { display: grid; gap: 8px; counter-reset: none; }
.policy-toc a { display: block; padding: 8px 12px; border-radius: 10px; color: var(--navy-900); font-family: var(--font-display); font-weight: 500; font-size: 0.9rem; }
.policy-toc a:hover { background: #fff; text-decoration: none; }
.policy-toc__note { margin: 18px 0 0; font-size: 0.85rem; color: var(--ink-soft); }
.policy { max-width: 760px; }
.policy section + section { margin-top: clamp(36px, 5vw, 56px); padding-top: clamp(28px, 4vw, 40px); border-top: 1px solid var(--line); }
.policy h2 { display: flex; align-items: center; gap: 14px; font-size: clamp(1.5rem, 2.6vw, 2rem); scroll-margin-top: 110px; }
.policy__letter { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--orange-500); color: var(--navy-900); font-size: 1.1rem; font-weight: 800; flex: none; }
.policy h3 { font-size: 1.05rem; margin-top: 1.4em; color: var(--navy-800); }
.policy p, .policy li { color: var(--ink-soft); }
.policy ul { display: grid; gap: 8px; padding-left: 0; }
.policy ul li { position: relative; padding-left: 26px; }
.policy ul li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 10px; height: 10px; border-radius: 50%; background: var(--orange-100); box-shadow: inset 0 0 0 3px var(--orange-500); }
@media (max-width: 860px) { .policy-grid { grid-template-columns: 1fr; } .policy-toc { position: static; } }

/* Responsive específico de los nuevos bloques */
@media (max-width: 860px) {
  .photo-stack { width: min(100%, 420px); }
  .hero__art .bubble--1 { left: 0; }
  .hero__art .bubble--2 { right: 0; }
  .hero__art .bubble--3 { left: 0; }
  .hero__art .bubble--4 { right: 0; }
  .stat-chip--br { right: 0; }
  .stamp--corner { right: -8px; top: -20px; width: 100px; height: 100px; }
}
@media (max-width: 600px) {
  .shape--word { display: none; }
  .photo-stack .stamp { width: 96px; height: 96px; left: -4%; }
  .hero__art .bubble--4 { display: none; }
  .stamp--corner { right: 0; }
  .hero__art .bubble--1 { display: none; }
}

/* ---------- Mosaico de idiomas (diseñado, sin fotografías) ---------- */
.lang-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.lang-tile {
  position: relative; overflow: hidden; display: grid; align-content: end; gap: 4px; min-height: 260px; padding: 28px;
  border-radius: var(--radius-lg); background: linear-gradient(160deg, #fff, var(--surface-tint)); border: 1px solid var(--line);
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}
.lang-tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.lang-tile__stripe { position: absolute; inset: 0 0 auto 0; height: 8px; }
.lang-tile[data-lang="es"] .lang-tile__stripe { background: linear-gradient(90deg, #c60b1e 0 33%, #ffc400 33% 66%, #c60b1e 66%); }
.lang-tile[data-lang="en"] .lang-tile__stripe { background: linear-gradient(90deg, #3c3b6e 0 40%, #b22234 40% 55%, #fff 55% 70%, #b22234 70% 85%, #fff 85%); }
.lang-tile[data-lang="fr"] .lang-tile__stripe { background: linear-gradient(90deg, #0055a4 0 33%, #fff 33% 66%, #ef4135 66%); }
.lang-tile__code { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--navy-900); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 0.95rem; margin-bottom: 10px; }
.lang-tile strong { font-family: var(--font-display); font-size: 1.5rem; color: var(--navy-900); }
.lang-tile em { font-style: normal; font-size: 0.92rem; color: var(--ink-soft); }
.lang-tile__word { position: absolute; right: -6px; top: 8px; font-family: var(--font-display); font-weight: 800; font-size: 5.5rem; line-height: 1; letter-spacing: -0.04em; color: transparent; -webkit-text-stroke: 1.5px rgba(20,68,144,0.16); user-select: none; }
@media (max-width: 760px) { .lang-tiles { grid-template-columns: 1fr; } .lang-tile { min-height: 190px; } }

/* ---------- Documento certificado simulado ---------- */
.doc-mock { position: relative; width: min(78%, 320px); aspect-ratio: 3 / 4; margin-inline: auto; }
.doc-mock__page {
  position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; gap: 14px; padding: 12% 11%;
  border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg);
}
.doc-mock__page--back { z-index: 1; inset: 6% -7% -6% 7%; background: var(--surface-tint); box-shadow: none; transform: rotate(4deg); }
.doc-mock__pair { align-self: flex-start; padding: 6px 12px; border-radius: 999px; background: var(--navy-900); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.06em; }
.doc-mock__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.1rem, 2.2vw, 1.5rem); color: var(--navy-900); margin-top: 4px; }
.doc-mock__line { height: 8px; border-radius: 4px; background: var(--line); }
.doc-mock__line--w1 { width: 100%; } .doc-mock__line--w2 { width: 78%; } .doc-mock__line--w3 { width: 60%; }
.doc-mock__sign { margin-top: auto; width: 44%; height: 26px; border-bottom: 2px solid var(--navy-800); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 30'%3E%3Cpath d='M4 22c14-18 22 8 34-6s18 4 30-8 20 6 34-4' fill='none' stroke='%23144490' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") left bottom / contain no-repeat; }
.doc-mock .stamp--doc { right: -12%; bottom: 4%; width: 40%; height: auto; aspect-ratio: 1; z-index: 3; }
.doc-mock[data-kind="review"] .doc-mock__line--w3 { background: linear-gradient(90deg, var(--orange-100) 0 55%, var(--line) 55%); }
.doc-mock[data-kind="review"] .doc-mock__line--w2:last-of-type { background: var(--orange-100); }
.doc-mock[data-kind="creative"] .doc-mock__pair { background: var(--orange-500); color: var(--navy-900); }
.doc-mock[data-kind="creative"] .doc-mock__page { background: linear-gradient(180deg, #fff 60%, var(--orange-100)); }
.doc-mock[data-kind="book"] .doc-mock__page { border-left: 10px solid var(--navy-800); }
.doc-mock[data-kind="book"] .doc-mock__page--back { border-left: 10px solid var(--navy-700); }
.service-detail__art { aspect-ratio: 1; padding: 8%; }

/* ---------- Panel de visión ---------- */
.vision-panel {
  position: relative; overflow: hidden; padding: clamp(32px, 5vw, 56px); border-radius: var(--radius-xl);
  padding-top: 220px;
  background: linear-gradient(140deg, var(--navy-900), var(--navy-800) 70%, var(--navy-700)); color: #fff;
  display: grid; align-content: end; gap: 16px;
}
.vision-panel .stamp { right: 28px; top: 28px; width: 150px; height: 150px; }
@media (max-width: 600px) { .vision-panel { padding-top: 160px; } .vision-panel .stamp { width: 110px; height: 110px; } }
.vision-panel__eyebrow { margin: 0; font-family: var(--font-display); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange-400); }
.vision-panel__quote { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.3rem, 2.2vw, 1.7rem); line-height: 1.3; max-width: 24ch; }
.lang-pills--dark .lang-pill { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.15); color: #fff; box-shadow: none; }
.lang-pills--dark .lang-pill__flag { border-color: rgba(255,255,255,0.4); box-shadow: none; }

/* ---------- Subida de archivos del formulario ---------- */
.form-field__label { font-family: var(--font-display); font-weight: 500; font-size: 0.9rem; color: var(--navy-900); }
.dropzone {
  position: relative; display: grid; justify-items: center; gap: 6px; padding: 26px 18px; text-align: center;
  border: 2px dashed #c9d3e3; border-radius: 16px; background: var(--surface-alt); cursor: pointer;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.dropzone:hover, .dropzone:focus-visible, .dropzone.is-over { border-color: var(--orange-500); background: #fff; box-shadow: 0 0 0 4px rgba(252,100,0,0.14); outline: none; }
.dropzone__input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.dropzone__icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--orange-100); color: var(--orange-600); }
.dropzone__icon svg { width: 22px; height: 22px; }
.dropzone__text { font-size: 0.95rem; color: var(--ink-soft); }
.dropzone__text strong { color: var(--navy-900); }
.dropzone__link { color: var(--orange-600); font-weight: 600; text-decoration: underline; }
.dropzone__meta { font-size: 0.8rem; color: var(--ink-muted); }
.file-list { display: grid; gap: 8px; }
.file-list:empty { display: none; }
.file-list li {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px 10px 14px; border-radius: 12px;
  background: #fff; border: 1px solid var(--line); font-size: 0.9rem;
}
.file-list li.is-bad { border-color: #e2554a; background: #fff6f5; }
.file-list .file-ext {
  flex: none; min-width: 44px; padding: 4px 8px; border-radius: 8px; text-align: center;
  font-family: var(--font-display); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  background: var(--surface-tint); color: var(--navy-800);
}
.file-list .file-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink); }
.file-list .file-size { flex: none; color: var(--ink-muted); font-size: 0.82rem; }
.file-list .file-remove {
  flex: none; width: 30px; height: 30px; border-radius: 50%; border: 0; background: transparent; color: var(--ink-muted);
  font-size: 1.1rem; line-height: 1; cursor: pointer; display: grid; place-items: center;
}
.file-list .file-remove:hover { background: #fde2de; color: #a3372b; }
.file-total { display: block; font-size: 0.82rem; color: var(--ink-soft); }
.file-total.is-over { color: #a3372b; font-weight: 600; }
.upload-progress { margin-top: 14px; display: grid; gap: 6px; }
.upload-progress__bar { height: 8px; border-radius: 999px; background: var(--surface-tint); overflow: hidden; }
.upload-progress__bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--orange-500), var(--navy-700)); transition: width 0.2s; }
.upload-progress__text { font-size: 0.82rem; color: var(--ink-soft); }
