/* ============================================================
   Janium — Design system v1
   Tokens + modern UX language. Zero dependencies, system fonts.
   ============================================================ */

:root {
  /* Brand */
  --navy-950: #071a30;
  --navy-900: #0b2447;
  --navy-800: #10315e;
  --navy-700: #1a4480;
  --green-500: #0fa573;
  --green-400: #17c08a;
  --green-300: #4fd6a8;
  --blue-500: #2f6fed;
  --blue-300: #7aa7ff;

  /* Neutrals */
  --ink-900: #0e1726;
  --ink-700: #33415c;
  --ink-500: #5c6b85;
  --paper: #ffffff;
  --paper-soft: #f5f7fb;
  --line: #e3e9f2;

  /* Type scale (fluid) */
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --text-xs: 0.8125rem;
  --text-sm: 0.9375rem;
  --text-base: 1.0625rem;
  --text-lg: clamp(1.125rem, 1rem + 0.5vw, 1.3125rem);
  --text-xl: clamp(1.35rem, 1.15rem + 0.9vw, 1.75rem);
  --text-2xl: clamp(1.75rem, 1.4rem + 1.6vw, 2.5rem);
  --text-hero: clamp(2rem, 1.35rem + 2.6vw, 3.25rem);

  /* Layout */
  --container: 74rem;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-card: 0 1px 2px rgba(14, 23, 38, .05), 0 10px 30px -12px rgba(14, 23, 38, .12);
  --shadow-lift: 0 2px 4px rgba(14, 23, 38, .06), 0 18px 44px -14px rgba(14, 23, 38, .22);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--ink-900);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--blue-500); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid var(--blue-300); outline-offset: 2px; border-radius: 4px; }
.container { max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 2.5rem); }
.section { padding-block: clamp(2.75rem, 6vw, 5rem); }
.kicker {
  display: inline-block; font-size: var(--text-xs); font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--accent, var(--green-500));
  margin-bottom: .9rem;
}
.section-head.is-center { text-align: center; }
.section-head.is-center .section-title,
.section-head.is-center .section-lead { margin-inline: auto; }
.section-title { font-size: var(--text-2xl); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 1rem; font-weight: 800; max-width: 42ch; }
.section-head { margin-bottom: clamp(1.4rem, 3vw, 2.25rem); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .85rem 1.6rem; border-radius: 999px;
  font-weight: 700; font-size: var(--text-sm); line-height: 1;
  border: 1.5px solid transparent; cursor: pointer; text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--green-500); color: #fff; box-shadow: 0 8px 24px -8px rgba(15,165,115,.55); }
.btn-primary:hover { background: var(--green-400); }
.btn-ghost { border-color: rgba(255,255,255,.35); color: #fff; background: rgba(255,255,255,.06); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255,255,255,.14); }
.btn-outline { border-color: var(--line); color: var(--ink-900); background: #fff; }
.btn-outline:hover { border-color: var(--blue-500); color: var(--blue-500); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 26, 48, .82);
  backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.site-header .container { max-width: 96rem; }
.header-in { display: flex; align-items: center; gap: 1.5rem; min-height: 4.25rem; }
.brand { display: flex; align-items: center; gap: .6rem; font-weight: 800; font-size: 1.25rem; color: #fff; letter-spacing: -.01em; }
.brand:hover { text-decoration: none; }
.brand-mark { display: block; flex: none; }
.main-nav { display: flex; gap: .25rem; margin-inline: auto; flex-wrap: wrap; }
.main-nav a {
  color: rgba(255,255,255,.78); font-size: var(--text-sm); font-weight: 600;
  padding: .5rem .8rem; border-radius: 8px;
}
.main-nav a:hover { color: #fff; background: rgba(255,255,255,.08); text-decoration: none; }
.header-actions { display: flex; align-items: center; gap: .9rem; }
.lang-switch { display: flex; gap: 2px; padding: 3px; background: rgba(255,255,255,.09); border-radius: 999px; }
.lang-switch a {
  color: rgba(255,255,255,.72); font-size: var(--text-xs); font-weight: 700;
  padding: .32rem .6rem; border-radius: 999px; letter-spacing: .04em;
}
.lang-switch a:hover { color:#fff; text-decoration: none; }
.lang-switch a[aria-current="true"] { background: #fff; color: var(--navy-900); }

/* Menú colapsable + hamburguesa */
.nav-collapse { display: flex; flex: 1; align-items: center; gap: 1.5rem; }
.nav-toggle {
  display: none; margin-left: auto; flex: none;
  width: 2.75rem; height: 2.75rem; padding: 0; cursor: pointer;
  align-items: center; justify-content: center;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 10px;
}
.nav-toggle:hover { background: rgba(255,255,255,.14); }
.nav-toggle-bars { display: block; width: 20px; height: 14px; position: relative; }
.nav-toggle-bars span {
  position: absolute; left: 0; height: 2px; width: 100%; border-radius: 2px; background: #fff;
  transition: transform .2s ease, opacity .2s ease, top .2s ease;
}
.nav-toggle-bars span:nth-child(1) { top: 0; }
.nav-toggle-bars span:nth-child(2) { top: 6px; }
.nav-toggle-bars span:nth-child(3) { top: 12px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav-collapse {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 1rem;
    padding: 1rem clamp(1.25rem, 4vw, 2.5rem) 1.5rem;
    background: var(--navy-950); border-bottom: 1px solid rgba(255,255,255,.1);
    box-shadow: 0 24px 40px -20px rgba(0,0,0,.6);
  }
  .nav-toggle[aria-expanded="true"] ~ .nav-collapse { display: flex; }
  .main-nav { flex-direction: column; gap: .1rem; margin: 0; }
  .main-nav a { padding: .7rem .8rem; font-size: var(--text-base); }
  .header-actions { flex-direction: column; align-items: stretch; gap: .9rem; }
  .lang-switch { align-self: flex-start; }
  .header-actions .btn { justify-content: center; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background:
    radial-gradient(52rem 30rem at 82% -12%, rgba(47,111,237,.38), transparent 60%),
    radial-gradient(44rem 30rem at -8% 108%, rgba(15,165,115,.30), transparent 55%),
    linear-gradient(165deg, var(--navy-950) 0%, var(--navy-900) 55%, var(--navy-800) 100%);
}
.hero::after {
  content:""; position:absolute; inset:0; pointer-events:none;
  background-image: radial-gradient(rgba(255,255,255,.055) 1px, transparent 1.5px);
  background-size: 26px 26px;
  mask-image: linear-gradient(to bottom, transparent, black 30%, transparent 95%);
}
.hero-in { position: relative; z-index: 1; padding-block: clamp(2.25rem, 4.5vw, 3.25rem) clamp(1.75rem, 3.5vw, 2.5rem); max-width: 54rem; }
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: var(--text-xs); font-weight: 700; letter-spacing: .05em;
  color: var(--green-300); background: rgba(23,192,138,.12);
  border: 1px solid rgba(23,192,138,.35);
  padding: .42rem .95rem; border-radius: 999px; margin-bottom: 1.1rem;
}
.hero h1 { font-size: var(--text-hero); line-height: 1.08; letter-spacing: -0.03em; font-weight: 850; margin: 0 0 1rem; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--green-300), var(--blue-300)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { font-size: var(--text-lg); color: rgba(255,255,255,.82); max-width: 52ch; margin: 0 0 1.5rem; }
.hero-ctas { display: flex; gap: .9rem; flex-wrap: wrap; }
.hero-stats {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: rgba(255,255,255,.12);
  border-top: 1px solid rgba(255,255,255,.12);
}
.hero-stats > div { background: rgba(7,26,48,.55); padding: .95rem 1rem; text-align: center; }
.hero-stats b { display: block; font-size: var(--text-xl); font-weight: 850; letter-spacing: -.02em; }
.hero-stats span { font-size: var(--text-xs); color: rgba(255,255,255,.65); letter-spacing: .04em; text-transform: uppercase; font-weight: 600; }
@media (max-width: 640px) { .hero-stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Feature cards ---------- */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(15.5rem, 1fr)); gap: 1.1rem; }
.feature-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.7rem 1.5rem; box-shadow: var(--shadow-card);
  transition: transform .18s ease, box-shadow .18s ease;
}
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.feature-icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(15,165,115,.14), rgba(47,111,237,.14));
  color: var(--green-500); margin-bottom: 1.1rem;
}
.feature-card h3 { font-size: var(--text-lg); margin: 0 0 .5rem; letter-spacing: -.01em; }
.feature-card p { margin: 0; color: var(--ink-500); font-size: var(--text-sm); }

/* ---------- Bento products ---------- */
.bento { display: grid; gap: 1.1rem; grid-template-columns: repeat(3, 1fr); grid-auto-rows: minmax(15rem, auto); }
.bento-card {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  border-radius: var(--radius-lg); padding: 1.8rem; overflow: hidden;
  border: 1px solid var(--line); background: var(--paper-soft);
  transition: transform .18s ease, box-shadow .18s ease;
  color: inherit;
}
.bento-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); text-decoration: none; }
.bento-card.is-big {
  grid-column: span 2; grid-row: span 2; color: #fff;
  background:
    radial-gradient(30rem 20rem at 90% 0%, rgba(47,111,237,.5), transparent 60%),
    radial-gradient(26rem 18rem at 0% 100%, rgba(15,165,115,.42), transparent 55%),
    linear-gradient(160deg, var(--navy-900), var(--navy-800));
  border: none;
}
.bento-tag {
  align-self: flex-start; font-size: var(--text-xs); font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; padding: .3rem .75rem; border-radius: 999px; margin-bottom: auto;
  background: rgba(15,165,115,.12); color: var(--green-500);
}
.is-big .bento-tag { background: rgba(255,255,255,.14); color: var(--green-300); }
.bento-card h3 { font-size: var(--text-xl); margin: 1.6rem 0 .45rem; letter-spacing: -.02em; }
.is-big h3 { font-size: var(--text-2xl); }
.bento-card p { margin: 0 0 1rem; font-size: var(--text-sm); color: var(--ink-500); max-width: 52ch; }
.is-big p { color: rgba(255,255,255,.8); font-size: var(--text-base); }
.bento-more { font-weight: 700; font-size: var(--text-sm); color: var(--blue-500); }
.is-big .bento-more { color: var(--green-300); }
.bento-card:hover .bento-more { text-decoration: underline; }
@media (max-width: 900px) { .bento { grid-template-columns: 1fr 1fr; } .bento-card.is-big { grid-column: span 2; grid-row: span 1; } }
@media (max-width: 620px) { .bento { grid-template-columns: 1fr; } .bento-card.is-big { grid-column: span 1; } }

/* ---------- Testimonials ---------- */
.quotes-band { background: var(--paper-soft); border-block: 1px solid var(--line); }
.quotes {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(26rem, 82vw);
  gap: 1.1rem; overflow-x: auto; padding-block: .5rem 1.4rem;
  scroll-snap-type: x mandatory; scrollbar-width: thin;
}
.quotes blockquote {
  scroll-snap-align: start; margin: 0; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.6rem 1.6rem 1.4rem; box-shadow: var(--shadow-card);
  font-size: var(--text-base); color: var(--ink-700); position: relative;
}
.quotes blockquote::before {
  content: "\201C"; display: block; font-size: 3rem; line-height: .6;
  color: var(--green-400); font-family: Georgia, serif; margin-bottom: .8rem;
}

/* ---------- CTA band ---------- */
.cta-band {
  color: #fff; text-align: center;
  background:
    radial-gradient(40rem 22rem at 50% -30%, rgba(79,214,168,.35), transparent 60%),
    linear-gradient(150deg, var(--navy-900), var(--navy-800));
  border-radius: var(--radius-lg); padding: clamp(2.25rem, 5vw, 3.5rem) clamp(1.5rem, 5vw, 4rem);
}
.cta-band h2 { font-size: var(--text-2xl); letter-spacing: -.02em; margin: 0 auto .9rem; max-width: 30ch; }
.cta-band p { color: rgba(255,255,255,.78); max-width: 52ch; margin: 0 auto 2rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: rgba(255,255,255,.75); margin-top: clamp(2.75rem, 6vw, 5rem); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr .9fr; gap: 2.25rem; padding-block: clamp(2.25rem, 4.5vw, 3.25rem) 2rem; }
.site-footer h4 { color: #fff; font-size: var(--text-sm); text-transform: uppercase; letter-spacing: .1em; margin: 0 0 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; font-size: var(--text-sm); }
.site-footer a { color: rgba(255,255,255,.75); }
.site-footer a:hover { color: #fff; }
.footer-about { font-size: var(--text-sm); max-width: 34ch; }
.office { display: flex; justify-content: space-between; gap: 1rem; }
.office b { color: #fff; font-weight: 600; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding-block: 1.3rem;
  display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; align-items: center;
  font-size: var(--text-xs); color: rgba(255,255,255,.5);
}
.footer-bottom ul { display: flex; gap: 1.4rem; list-style: none; margin: 0; padding: 0; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Banner de consentimiento de cookies ---------- */
.cookie-banner {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 100;
  max-width: 40rem; margin-inline: auto;
  display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem;
  padding: 1.1rem 1.35rem; border-radius: var(--radius-md);
  background: var(--navy-900); color: rgba(255,255,255,.9);
  border: 1px solid rgba(255,255,255,.14); box-shadow: 0 20px 50px -18px rgba(0,0,0,.6);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0; font-size: var(--text-sm); flex: 1 1 16rem; line-height: 1.5; }
.cookie-banner a { color: var(--green-300); }
.cookie-banner-actions { display: flex; gap: .6rem; flex: none; }
.cookie-banner .btn { padding: .6rem 1.2rem; }
.linklike {
  background: none; border: 0; padding: 0; cursor: pointer;
  color: rgba(255,255,255,.75); font: inherit; font-size: var(--text-sm);
}
.linklike:hover { color: #fff; text-decoration: underline; }

/* ---------- Motion (CSS-only, progressive) ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal {
      animation: rise both;
      animation-timeline: view();
      animation-range: entry 0% entry 38%;
    }
  }
}
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* Bento: última tarjeta cierra la retícula a lo ancho */
.bento > .bento-card:last-child:not(.is-big) { grid-column: 1 / -1; }
@media (min-width: 901px) {
  .bento > .bento-card:last-child:not(.is-big) p { max-width: 64ch; }
}

/* ---------- Interior pages ---------- */
.hero-sub .hero-in { padding-block: clamp(2rem, 3.5vw, 2.75rem) clamp(1.5rem, 3vw, 2.25rem); }
.hero-sub h1 { font-size: clamp(1.85rem, 1.3rem + 2.1vw, 2.9rem); }

/* ---------- Hero con fotografía (split) ---------- */
.hero-sub .hero-in.hero-split {
  max-width: var(--container);
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(1.75rem, 4vw, 3.5rem); align-items: center;
}
.hero-media {
  margin: 0; position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .55);
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(.82) contrast(1.02); }
.hero-media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(160deg, rgba(11, 36, 71, .40), rgba(7, 26, 48, .10) 60%);
  mix-blend-mode: multiply;
}
@media (max-width: 900px) {
  .hero-sub .hero-in.hero-split { grid-template-columns: 1fr; }
  .hero-media { max-height: 300px; }
  .hero-media img { max-height: 300px; }
}

/* ---------- Figura de sección ---------- */
.section-figure {
  margin: clamp(1.5rem, 3vw, 2.25rem) 0 0; position: relative;
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card);
}
.section-figure img { width: 100%; max-height: 380px; object-fit: cover; display: block; filter: saturate(.85); }
.section-figure::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(11, 36, 71, .12), rgba(7, 26, 48, .05));
  mix-blend-mode: multiply;
}

/* ---------- Bento con fotografía ---------- */
.bento-card.is-big.has-photo { background-size: cover; background-position: center; }
.section-lead { color: var(--ink-500); max-width: 62ch; margin: 0; font-size: var(--text-lg); }
.features-grid { grid-template-columns: repeat(auto-fit, minmax(var(--min, 15.5rem), 1fr)); }
.ticks { list-style: none; margin: .9rem 0 0; padding: 0; display: grid; gap: .55rem; font-size: var(--text-sm); color: var(--ink-700); }
.ticks li { padding-left: 1.6rem; position: relative; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .32em; width: 1rem; height: 1rem; border-radius: 50%;
  background: rgba(15,165,115,.13) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M4 8.5 7 11l5-6" fill="none" stroke="%230fa573" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>') center/70% no-repeat;
}
.ticks.cols { columns: 2; column-gap: 3rem; display: block; }
.ticks.cols li { margin-bottom: .6rem; break-inside: avoid; }
@media (max-width: 700px) { .ticks.cols { columns: 1; } }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); }
.table-wrap table { border-collapse: collapse; width: 100%; font-size: var(--text-sm); }
.table-wrap th, .table-wrap td { padding: .9rem 1.2rem; text-align: left; border-bottom: 1px solid var(--line); }
.table-wrap thead th { background: var(--paper-soft); font-size: var(--text-xs); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-500); }
.table-wrap tbody tr:last-child th, .table-wrap tbody tr:last-child td { border-bottom: none; }
.table-wrap tbody th { font-weight: 700; }

/* ============================================================
   Section rhythm — tones + layout vocabulary (v12)
   Breaks the "every section is a card grid" monotony.
   ============================================================ */

/* ---- Tones: alternate the background so scrolling feels like movement ---- */
.section.tone-soft { background: var(--paper-soft); border-block: 1px solid var(--line); }
.section.tone-ink {
  color: #fff;
  background:
    radial-gradient(46rem 26rem at 88% -10%, rgba(47,111,237,.30), transparent 60%),
    radial-gradient(40rem 26rem at -6% 112%, rgba(15,165,115,.26), transparent 55%),
    linear-gradient(165deg, var(--navy-950), var(--navy-900) 60%, var(--navy-800));
}
.tone-ink .kicker { color: var(--green-300); }
.tone-ink .section-title { color: #fff; }
.tone-ink .section-lead { color: rgba(255,255,255,.78); }

/* ---- Lead card: mild typographic emphasis on the first card.
   (No colored rule — it read as a broken "selected" state.) ---- */
.feature-card.is-lead h3 { font-size: var(--text-xl); }
.feature-card .card-cta { margin: 1.2rem 0 0; }
.feature-card .ticks { margin-top: .9rem; }

/* ---- Rows: editorial zigzag for rich capabilities ---- */
.feature-rows { display: grid; gap: 0; }
.feature-row {
  display: grid; grid-template-columns: minmax(0, 21rem) 1fr;
  gap: clamp(1.25rem, 4vw, 3.5rem);
  padding: clamp(1.6rem, 3vw, 2.4rem) 0;
  border-top: 1px solid var(--line);
}
.feature-row:last-child { border-bottom: 1px solid var(--line); }
.feature-row-head { display: flex; gap: 1rem; align-items: baseline; }
.feature-row-n {
  font-size: var(--text-xl); font-weight: 850; line-height: 1;
  letter-spacing: -.03em; color: var(--accent, var(--green-500));
  font-variant-numeric: tabular-nums; flex: none;
}
.feature-row-head h3 { font-size: var(--text-xl); margin: .1rem 0 0; letter-spacing: -.02em; }
.feature-row-head .bento-tag { margin-bottom: .5rem; }
.feature-row-lead { margin: .5rem 0 0; color: var(--ink-500); font-size: var(--text-sm); max-width: 40ch; }
.feature-row-body { align-self: center; }
.feature-row-body .ticks { margin: 0; }
.feature-row-body .card-cta { margin: 1.1rem 0 0; }
.tone-ink .feature-row { border-color: rgba(255,255,255,.14); }
.tone-ink .feature-row-head h3 { color: #fff; }
.tone-ink .feature-row-lead, .tone-ink .ticks li { color: rgba(255,255,255,.8); }
@media (max-width: 720px) {
  .feature-row { grid-template-columns: 1fr; gap: 1rem; }
}

/* ---- Steps: connected numbered sequence ---- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: step; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 1.25rem; padding-bottom: 1.75rem; position: relative; }
.step:not(:last-child)::before {
  content: ""; position: absolute; left: 1.1rem; top: 2.6rem; bottom: 0;
  width: 2px; background: linear-gradient(var(--green-300), var(--line));
}
.step-n {
  width: 2.25rem; height: 2.25rem; border-radius: 50%; flex: none; z-index: 1;
  display: grid; place-items: center; font-weight: 800; font-size: var(--text-base);
  color: #fff; background: var(--accent, var(--green-500));
  box-shadow: 0 6px 16px -6px rgba(14,23,38,.4);
}
.step-body { padding-top: .25rem; }
.step-body h3 { font-size: var(--text-lg); margin: 0 0 .35rem; letter-spacing: -.01em; }
.step-body p { margin: 0; color: var(--ink-500); font-size: var(--text-sm); }
.step-body .ticks { margin-top: .7rem; }
.step-body .card-cta { margin: 1rem 0 0; }
.tone-soft .step:not(:last-child)::before { background: linear-gradient(var(--green-300), var(--line)); }

/* ---- Panel: checklist on a tinted card instead of loose ticks ---- */
.panel {
  background: var(--paper); border: 1px solid var(--line);
  border-left: 3px solid var(--accent, var(--green-500)); border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 3vw, 2rem) clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-card);
}
.panel .ticks { margin: 0; }
.tone-soft .panel { background: #fff; }

/* ---- Band: quantifiable outcomes as large statements on ink ---- */
.band-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: .9rem; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
}
.band-list li {
  position: relative; padding: 1.2rem 1.3rem 1.2rem 3rem;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-md); font-size: var(--text-base);
  color: rgba(255,255,255,.92); line-height: 1.4;
}
.band-list li::before {
  content: ""; position: absolute; left: 1rem; top: 1.35rem; width: 1.15rem; height: 1.15rem; border-radius: 50%;
  background: rgba(23,192,138,.22) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M4 8.5 7 11l5-6" fill="none" stroke="%234fd6a8" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>') center/72% no-repeat;
}

/* ---------- Métricas (cifras grandes) ---------- */
.metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: 1.5rem 1.25rem; }
.metric b {
  display: block; font-size: clamp(1.9rem, 1.3rem + 2.4vw, 2.9rem); font-weight: 850;
  letter-spacing: -.03em; line-height: 1; color: var(--accent, var(--green-500));
}
.metric { text-align: center; }
.metric span { display: block; margin-top: .5rem; font-size: var(--text-sm); color: var(--ink-500); }

/* ---------- Casos de éxito (tarjetas de resultado) ---------- */
.cases { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1.1rem; }
.case {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.6rem 1.5rem; box-shadow: var(--shadow-card);
}
.case-tag {
  display: inline-block; font-size: var(--text-xs); font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--ink-500); margin-bottom: .9rem;
}
.case-metric {
  display: block; font-size: clamp(1.9rem, 1.4rem + 2vw, 2.6rem); font-weight: 850;
  letter-spacing: -.03em; line-height: 1.05; color: var(--accent, var(--green-500)); margin-bottom: .6rem;
}
.case p { margin: 0; color: var(--ink-700); font-size: var(--text-sm); }
/* Un solo caso: se centra y destaca en vez de quedar huérfano a un lado */
.case:only-child { grid-column: 1 / -1; max-width: 44rem; margin-inline: auto; text-align: center; }

/* ---------- Estándares / capacidades (badges) ---------- */
.standards { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .7rem; justify-content: center; }
.std {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: var(--text-sm); font-weight: 700; color: var(--ink-700);
  padding: .6rem 1.1rem; border-radius: 999px; background: var(--paper);
  border: 1px solid var(--line); box-shadow: var(--shadow-card);
}
.std::before {
  content: ""; width: .5rem; height: .5rem; border-radius: 50%;
  background: var(--accent, var(--green-500)); flex: none;
}

/* ---------- Captura de producto (showcase) ---------- */
.showcase {
  margin: 0; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-lift); background: #fff;
}
.showcase img { width: 100%; height: auto; display: block; }

/* ---------- Selector de región (avisos de privacidad) ---------- */
.region-switch { display: flex; flex-direction: column; gap: .6rem; margin: 0 0 2rem; }
.region-switch-label {
  font-size: var(--text-xs); font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--ink-500);
}
.region-switch-tabs {
  display: inline-flex; flex-wrap: wrap; gap: 3px; padding: 4px; width: fit-content; max-width: 100%;
  background: var(--paper-soft); border: 1px solid var(--line); border-radius: 999px;
}
.region-switch-tabs a {
  font-size: var(--text-sm); font-weight: 700; line-height: 1; white-space: nowrap;
  padding: .55rem 1.1rem; border-radius: 999px; color: var(--ink-700); text-decoration: none;
}
.region-switch-tabs a:hover { background: #fff; text-decoration: none; }
.region-switch-tabs a[aria-current="page"] {
  background: var(--green-500); color: #fff; box-shadow: 0 6px 16px -8px rgba(15,165,115,.6);
}

/* ---------- Prose (legal) ---------- */
.prose { max-width: 46rem; }
.prose h2 { font-size: var(--text-xl); margin: 2.4rem 0 .8rem; letter-spacing: -.01em; }
.prose h3 { font-size: var(--text-lg); margin: 2rem 0 .6rem; }
.prose h4 { font-size: var(--text-base); margin: 1.6rem 0 .5rem; }
.prose p, .prose li { color: var(--ink-700); font-size: var(--text-sm); }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .45rem; }
