:root,
html[data-theme="light"] {
  --bg: #f7f9fa;
  --bg-soft: #eef3f3;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-solid: #ffffff;
  --text: #132126;
  --text-soft: #66747b;
  --text-faint: #8b989e;
  --brand: #4f9996;
  --brand-dark: #2f6f6d;
  --brand-soft: #dcebea;
  --border: rgba(19, 33, 38, 0.09);
  --border-strong: rgba(19, 33, 38, 0.14);
  --shadow-sm: 0 4px 14px rgba(24, 39, 45, 0.05);
  --shadow-md: 0 16px 40px rgba(24, 39, 45, 0.10);
  --shadow-lg: 0 30px 80px rgba(24, 39, 45, 0.16);
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 32px;
  --radius-pill: 999px;
  --container: 1440px;
  --gutter: clamp(24px, 5vw, 72px);
  --fg: var(--text);
  --muted: var(--text-soft);
  --accent: var(--brand);
  --accent-dim: var(--brand-soft);
  --line: var(--border);
  --card: var(--surface-solid);
  --elevated: var(--surface-solid);
  --inverse: #102026;
  --inverse-fg: #f5f7fa;
  --chrome: #f0f2f5;
  --url-bg: #eef3f3;
  --row: #f7f9fa;
  --orb-a: rgba(79, 153, 150, 0.16);
  --orb-b: rgba(255, 255, 255, 0.9);
  --grid: rgba(19, 33, 38, 0.035);
  --browser-shadow: var(--shadow-lg);
  --heading: var(--text);
  --em: var(--brand);
  --kicker-border: var(--border);
  --btn-primary-bg: #102026;
  --btn-primary-fg: #ffffff;
  --btn-ghost-bg: #ffffff;
  --btn-ghost-fg: #132126;
  --band-bg: linear-gradient(180deg, #102026, #1a2c32);
  --band-fg: #f5f7fa;
  --band-muted: #8b989e;
  --side-bg: #f7f9fa;
  --app-bg: rgba(255, 255, 255, 0.88);
  --noise: 0.025;
  --sans: "Inter", system-ui, sans-serif;
}

html[data-theme="dark"] {
  --bg: #080a0c;
  --fg: #eef1f5;
  --muted: #8b949e;
  --accent: #7eb8b2;
  --accent-dim: rgba(126, 184, 178, 0.18);
  --line: rgba(255, 255, 255, 0.1);
  --card: #12151a;
  --elevated: #161a20;
  --inverse: #f5f7fa;
  --inverse-fg: #0b0d10;
  --chrome: #0e1116;
  --url-bg: #07090c;
  --row: rgba(255, 255, 255, 0.04);
  --orb-a: rgba(61, 122, 118, 0.4);
  --orb-b: rgba(126, 184, 178, 0.12);
  --grid: rgba(255, 255, 255, 0.05);
  --browser-shadow: 0 50px 80px -20px rgba(0, 0, 0, 0.7);
  --heading: #f5f7fa;
  --em: linear-gradient(120deg, #9ecfc9, #4a8f88);
  --kicker-border: rgba(126, 184, 178, 0.35);
  --btn-primary-bg: #f5f7fa;
  --btn-primary-fg: #0b0d10;
  --btn-ghost-bg: rgba(255, 255, 255, 0.04);
  --btn-ghost-fg: #f5f7fa;
  --band-bg: linear-gradient(180deg, #12161c, #0b0d10);
  --band-fg: #f5f7fa;
  --band-muted: #8b949e;
  --side-bg: #0e1116;
  --app-bg: #12151a;
  --noise: 0.035;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background 0.25s ease, color 0.25s ease;
}
h1, h2, h3 {
  letter-spacing: -0.04em;
  line-height: 0.98;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 40;
  opacity: var(--noise);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.preview-bar {
  position: relative;
  z-index: 50;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-align: center;
  padding: 8px 16px;
  background: var(--fg);
  color: var(--bg);
  border-bottom: 1px solid var(--line);
}
.preview-bar b { color: #9ecfc9; font-weight: 600; }
html[data-theme="light"] .preview-bar b { color: #7eb8b2; }

.stage { position: relative; isolation: isolate; }
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}
.orb-a {
  width: 520px; height: 520px;
  background: radial-gradient(circle, var(--orb-a), transparent 62%);
  top: -180px; right: -80px;
  animation: drift 14s ease-in-out infinite;
}
.orb-b {
  width: 380px; height: 380px;
  background: radial-gradient(circle, var(--orb-b), transparent 65%);
  top: 120px; left: -140px;
}
.grid-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 75%);
}

@keyframes drift {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-40px, 28px); }
}

.wrap { width: min(100% - 48px, var(--container, 1440px)); margin-inline: auto; position: relative; z-index: 1; }

#site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  isolation: isolate;
  background: transparent;
  backdrop-filter: none;
  margin: 0 -20px;
  padding: 0 20px;
  border-bottom: 1px solid transparent;
}
#site-header::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--brand) 12%, transparent);
  backdrop-filter: blur(16px);
  pointer-events: none;
}

header.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 88px;
  padding: 0;
}
.nav-end { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.theme-btn {
  height: 40px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--fg);
  cursor: pointer;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.02em;
}
.theme-btn:hover { border-color: var(--accent); }
.brand {
  display: flex; align-items: center;
  color: var(--fg); font-weight: 650; letter-spacing: -0.03em; font-size: 15px;
  flex-shrink: 0;
}
.brand img { height: 72px; width: auto; max-width: 340px; }
html[data-theme="dark"] .brand img { filter: brightness(0) invert(1); }
nav.links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  font-size: 15px;
  flex: 1;
}
nav.links > a,
.drop > a {
  position: relative;
  color: var(--muted);
  padding: 8px 0;
  border-radius: 0;
  font-weight: 500;
}
nav.links > a:hover,
.drop > a:hover {
  color: var(--fg);
}
nav.links > a[aria-current="page"],
.drop > a[aria-current="page"] {
  color: var(--fg);
}
nav.links > a[aria-current="page"]::after,
.drop > a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 1px;
  background: var(--brand);
  pointer-events: none;
}
nav.links > a[aria-current="page"]::before,
.drop > a[aria-current="page"]::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand);
  transform: translateX(-50%);
  pointer-events: none;
}
.drop { position: relative; }
.drop-menu {
  display: none;
  position: absolute;
  top: calc(100% - 2px);
  left: 0;
  min-width: 200px;
  padding: 8px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(26, 44, 50, 0.1);
  z-index: 40;
}
.drop:hover .drop-menu,
.drop:focus-within .drop-menu { display: grid; gap: 2px; }
.drop-menu a {
  color: var(--fg);
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 13.5px;
}
.drop-menu a:hover { background: var(--row); color: var(--accent); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border-radius: var(--radius-pill); padding: 0 24px; height: 52px;
  font-weight: 650; font-size: 15px; border: 1px solid transparent;
}
.btn-primary {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-fg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); filter: none; }
.btn-ghost {
  color: var(--btn-ghost-fg);
  border-color: var(--border);
  background: var(--btn-ghost-bg);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { border-color: var(--border-strong); transform: translateY(-2px); }

.hero {
  display: grid;
  grid-template-columns: 1fr;
  padding: 48px 0 0;
  text-align: center;
}
.kicker {
  display: inline-flex; align-items: center; width: fit-content;
  font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--brand-dark);
  border: 0;
  background: var(--brand-soft);
  padding: 8px 14px; border-radius: var(--radius-pill);
  margin-bottom: 0;
}
h1 {
  font-size: clamp(36px, 6.2vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  font-weight: 800;
  margin: 0 auto 18px;
  max-width: 16ch;
  color: var(--heading);
}
h1 em {
  font-style: normal;
  background: none;
  color: var(--brand);
  -webkit-text-fill-color: unset;
}
.lead {
  margin: 0 auto 28px;
  max-width: 38em;
  color: var(--muted);
  font-size: 17.5px;
}
.hero-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.stats {
  display: flex; justify-content: center; gap: 28px; flex-wrap: wrap;
  margin: 28px 0 8px;
  color: var(--muted); font-size: 13px;
}
.stats b { color: var(--fg); font-weight: 650; display: block; font-size: 18px; letter-spacing: -0.03em; }

.perspective {
  margin: 56px auto 0;
  max-width: 980px;
  perspective: 1400px;
  padding-bottom: 80px;
}
.browser {
  transform: rotateX(14deg) rotateZ(-1.2deg);
  transform-origin: center top;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--app-bg);
  box-shadow: var(--browser-shadow);
  overflow: hidden;
  animation: floaty 7s ease-in-out infinite;
}
@keyframes floaty {
  0%, 100% { transform: rotateX(14deg) rotateZ(-1.2deg) translate3d(0, 0, 0); }
  50% { transform: rotateX(12deg) rotateZ(-0.6deg) translate3d(0, -14px, 8px); }
}
.chrome {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  background: var(--chrome);
  border-bottom: 1px solid var(--line);
}
.dot { width: 9px; height: 9px; border-radius: 50%; }
.d1 { background: #ff5f57; }
.d2 { background: #febc2e; }
.d3 { background: #28c840; }
.url {
  margin-left: 10px; flex: 1;
  font-size: 11px; color: var(--muted);
  background: var(--url-bg); border-radius: 6px; padding: 5px 10px; text-align: left;
}

.app {
  display: grid;
  grid-template-columns: 180px 1fr;
  min-height: 340px;
  text-align: left;
}
.side {
  padding: 16px 12px;
  border-right: 1px solid var(--line);
  background: var(--side-bg);
  font-size: 12.5px;
  color: var(--muted);
}
.side strong { display: block; color: var(--fg); margin-bottom: 14px; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.side a {
  display: block; color: var(--muted); padding: 8px 8px; border-radius: 8px; margin-bottom: 2px;
}
.side a.on { background: var(--accent-dim); color: var(--accent); }
.main { padding: 16px 18px; }
.main-h {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px;
}
.main-h h2 { font-size: 15px; margin: 0; letter-spacing: -0.02em; color: var(--fg); }
.pill {
  font-size: 11px; font-weight: 650; color: #157a3c;
  background: #e8f7ee;
  border: 1px solid #c6ebd3; padding: 3px 8px; border-radius: 999px;
}
html[data-theme="dark"] .pill {
  color: #7dffa3; background: rgba(28,152,90,.2); border-color: rgba(28,152,90,.35);
}
.rows { display: grid; gap: 8px; }
.row {
  display: grid; grid-template-columns: 1.4fr .7fr .6fr auto;
  gap: 10px; align-items: center;
  padding: 10px 12px; border-radius: 10px;
  background: var(--row); border: 1px solid var(--line);
  font-size: 12.5px; color: var(--muted);
}
.row b { color: var(--fg); font-weight: 600; }
.spark { height: 28px; width: 88px; }
.spark path {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-dasharray: 140;
  stroke-dashoffset: 40;
  animation: spark 3.2s ease-in-out infinite alternate;
}
.row:nth-child(2) .spark path { animation-delay: 0.5s; }
.row:nth-child(3) .spark path { animation-delay: 1s; }
@keyframes spark {
  from { stroke-dashoffset: 90; }
  to { stroke-dashoffset: 0; }
}
.pill { animation: pulse 2.8s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.04); opacity: 0.85; }
}
.row { transition: transform 0.35s ease, border-color 0.35s ease; }
.row:hover { transform: translateX(3px); border-color: var(--accent); }

section.block { padding: 24px 0 88px; }
body.home section.block { padding-block: 120px; }
h2.sec {
  font-size: clamp(26px, 3.4vw, 40px);
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin: 0 0 10px;
  color: var(--heading);
}
h2.sec em {
  font-style: normal;
  color: var(--accent);
}
.eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.block-head { max-width: 40em; margin-bottom: 28px; }
.sec-lead {
  color: var(--muted);
  max-width: 40em;
  margin: 0 0 16px;
  font-size: 15.5px;
  line-height: 1.5;
  font-weight: 450;
}
.sec-lead strong { color: var(--accent); font-weight: 700; }

.bento {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 12px;
}
.tile {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 32px;
  min-height: 168px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(14px);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.tile:hover {
  border-color: var(--border-strong);
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.tile-ico {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #f7f8fa;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: var(--fg);
}
html[data-theme="dark"] .tile-ico { background: var(--side-bg); }
.tile-ico svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.tile.wide { grid-column: 1; grid-row: 1 / span 2; min-height: 340px; }
.tile.wide .tile-ico { width: 48px; height: 48px; border-radius: 14px; }
.tile.wide .tile-ico svg { width: 24px; height: 24px; }
.tile h3 { margin: 0 0 8px; font-size: 18px; letter-spacing: -0.03em; color: var(--fg); }
.tile p { margin: 0; color: var(--muted); font-size: 14.5px; flex: 1; }
.tile a.more { display: inline-block; margin-top: 16px; font-size: 13.5px; font-weight: 600; }
.product-mark {
  width: 56px;
  height: 56px;
  margin-bottom: 14px;
}
.product-hero-mark {
  width: 88px;
  height: 88px;
  margin-bottom: 18px;
}

.bento-3 { grid-template-rows: auto; }
.clients {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.client-slot {
  min-height: 88px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 16px;
  border: 1px dashed var(--line);
  border-radius: 16px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  background: color-mix(in srgb, var(--card) 70%, transparent);
}
.story { max-width: 720px; }
#cerca.story { max-width: none; }
.cerca-points {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: none;
}
.story .cerca-points { margin-top: 8px; }
@media (max-width: 860px) {
  .cerca-points { grid-template-columns: 1fr; }
}
.story blockquote {
  margin: 0 0 24px;
  padding: 18px 22px;
  border-left: 3px solid var(--accent);
  background: var(--card);
  border-radius: 0 16px 16px 0;
}
.story blockquote p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--heading);
  font-style: italic;
}

.band {
  border-radius: 28px;
  padding: 40px 44px;
  background: var(--band-bg);
  color: var(--band-fg);
  border: 1px solid #1f2430;
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 24px;
  align-items: center;
}
.band h2 { color: var(--band-fg); margin: 0 0 10px; font-size: 30px; letter-spacing: -0.04em; }
.band p { color: var(--band-muted); margin: 0 0 20px; }
.band .btn-primary {
  background: #fff;
  color: #0b0d10;
}

.team {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 28px;
}
.person {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 20px;
  overflow: hidden;
}
.person img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: top;
}
.person div { padding: 16px 18px 20px; }
.person h3 { margin: 0 0 4px; font-size: 16px; letter-spacing: -0.02em; }
.person p { margin: 0; font-size: 13px; color: var(--muted); }

.faq details {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 18px;
  margin-bottom: 8px;
  background: var(--card);
}
.faq summary { font-weight: 600; cursor: pointer; color: var(--fg); }
.faq p { margin: 10px 0 0; color: var(--muted); font-size: 14.5px; }

.nl-foot { margin-top: 48px; background: #fff; color: #0b0d10; }
.nl-foot-logo { display: flex; justify-content: center; padding: 36px 20px 28px; }
.nl-foot-logo img { height: clamp(72px, 7vw, 108px); width: auto; }
.nl-foot-logo img { opacity:0; transform:scale(.72); transition:opacity .7s ease, transform 1s cubic-bezier(.2,.8,.2,1); }
.nl-foot-logo.is-visible img { opacity:1; transform:scale(1); }
@media (prefers-reduced-motion:reduce) { .nl-foot-logo img { opacity:1; transform:none; transition:none; } }
.nl-foot-cta {
  background: #1a1a1a;
  color: #fff;
  text-align: center;
  padding: 36px 20px 28px;
}
.nl-foot-cta h2,
.nl-foot-cta > p,
.nl-foot-btns { opacity:0; transition:opacity .65s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
.nl-foot-cta h2,
.nl-foot-cta > p { transform:translateY(-24px); }
.nl-foot-btns { transform:translateY(24px); transition-delay:.18s; }
.nl-foot-cta.is-visible h2,
.nl-foot-cta.is-visible > p,
.nl-foot-cta.is-visible .nl-foot-btns { opacity:1; transform:none; }
.nl-foot-cta.is-visible > p { transition-delay:.08s; }
.nl-foot-cta h2 {
  margin: 0 0 8px;
  font-size: clamp(20px, 3.2vw, 28px);
  letter-spacing: 0.04em;
  font-weight: 700;
  color: #fff;
}
.nl-foot-cta p { margin: 0 0 18px; color: #ddd; font-size: 15px; }
.nl-foot-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.nl-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 2px solid #fff;
  color: #fff !important;
  font-weight: 650;
  font-size: 14px;
}
.nl-pill:hover { background: #fff; color: #1a1a1a !important; }
.nl-soon { margin: 18px 0 0 !important; font-size: 13px !important; color: #9a9a9a !important; }
.nl-foot-legal {
  text-align: center;
  padding: 22px 16px 28px;
  font-size: 13px;
  color: #5c6570;
}
.nl-copy { margin: 0 0 10px; display:flex; align-items:center; justify-content:center; gap:8px; }
.nl-copy-mark { width:24px; height:24px; object-fit:contain; vertical-align:middle; }
.nl-social { list-style: none; display: flex; justify-content: center; gap: 18px; padding: 0; margin: 0 0 10px; }
.nl-social a { display:inline-flex; align-items:center; justify-content:center; width:40px; height:40px; color:#0b0d10; border:1px solid rgba(11,13,16,.14); border-radius:50%; transition:background .25s ease,color .25s ease,transform .25s ease,border-color .25s ease; }
.nl-social svg { width:19px; height:19px; fill:currentColor; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.nl-social svg rect, .nl-social svg circle { fill:none; }
.nl-social svg .fill { fill:currentColor; stroke:none; }
.nl-social a:hover { background:#0b0d10; color:#fff; border-color:#0b0d10; transform:translateY(-3px); }
.nl-legal-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 16px; margin-bottom: 8px; }
.nl-legal-nav a { color: #5c6570; }
.nl-cookie-link { border: 0; padding: 0; background: none; color: #5c6570; font: inherit; cursor: pointer; }
.nl-cookie-link:hover { color: var(--ink); text-decoration: underline; }
.nl-consent { position: fixed; z-index: 10000; left: 20px; right: 20px; bottom: 20px; max-width: 760px; margin-inline: auto; padding: 20px; border: 1px solid rgba(50, 119, 117, .24); border-radius: 22px; background: rgba(250, 253, 253, .96); color: #122229; box-shadow: 0 22px 70px rgba(9, 32, 38, .2); backdrop-filter: blur(18px); }
.nl-consent p { margin: 0; line-height: 1.55; }
.nl-consent a { color: #317c79; }
.nl-consent-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.nl-consent-actions button { min-height: 44px; padding: 0 18px; border: 1px solid rgba(18, 34, 41, .18); border-radius: 999px; background: #fff; color: #122229; font: inherit; font-weight: 700; cursor: pointer; }
.nl-consent-actions .accept { border-color: #10262c; background: #10262c; color: #fff; }
@media (max-width: 560px) { .nl-consent { left: 12px; right: 12px; bottom: 12px; padding: 18px; } .nl-consent-actions button { flex: 1 1 100%; } }
.nl-reg { margin: 0; font-size: 12px; max-width: none; margin-inline: auto; white-space: nowrap; }

@media (max-width: 860px) {
  .nl-foot-cta { padding: 28px 16px 22px; }
  .nl-pill { min-width: min(100%, 280px); width: min(100%, 320px); }
  .nl-reg { white-space: normal; }
}
@media (prefers-reduced-motion:reduce) { .nl-foot-cta h2, .nl-foot-cta > p, .nl-foot-btns { opacity:1; transform:none; transition:none; } }

.page-hero { padding: 40px 0 20px; text-align: left; max-width: 720px; }
.page-hero h1 { margin-left: 0; text-align: left; max-width: 14ch; font-size: clamp(34px, 5vw, 58px); }
.page-hero .lead { margin-left: 0; }
.page-hero .hero-actions { justify-content: flex-start; }
.hero-showcase { position: relative; left: 50%; width: 100vw; margin-left: -50vw; padding: 26px clamp(24px,5vw,72px) 48px; max-width: none; text-align: center; overflow: hidden; background: linear-gradient(135deg,#f3fbfa,#e6f4f3 55%,#f9fcfc); }
.hero-showcase::before { content:""; position:absolute; width:520px; height:520px; right:-190px; top:-330px; border:1px solid rgba(55,164,158,.12); border-radius:50%; box-shadow:0 0 0 42px rgba(55,164,158,.035),0 0 0 84px rgba(55,164,158,.025); }
.hero-showcase > * { position:relative; z-index:1; }
.hero-showcase .kicker { display:inline-block; margin-bottom:20px; }
.hero-showcase h1 { max-width: none; margin: 0 auto; text-align:center; font-size:clamp(40px,5.4vw,68px); line-height:.98; letter-spacing:-.07em; }
.hero-showcase h1 .hero-accent { display:block; color:var(--brand); }
.hero-showcase .lead { max-width:720px; margin:26px auto 0; text-align:center; }
.hero-showcase .hero-actions { justify-content:center; margin-top:24px; }
.hero-showcase .service-orbit { display:none; }
.mobile-founder{display:none}
@media(max-width:860px){.mobile-founder{display:none}.home > .wrap{display:flex;flex-direction:column}.home > .wrap .founder-story{order:-1}.home > .wrap > .svc-block#cerca{order:0}.home > .wrap > .svc-block#nosotros{order:4}}
@media(max-width:860px){.home > .wrap .founder-story{position:relative;left:50%;width:100vw;margin:0 0 24px -50vw;padding:30px 24px;border:0;border-top:1px solid rgba(47,111,109,.12);border-bottom:1px solid rgba(47,111,109,.12);border-radius:0;background:rgba(255,255,255,.72);box-shadow:0 18px 42px rgba(31,83,83,.1);backdrop-filter:blur(14px)}.home > .wrap .founder-story:before{content:"";position:absolute;width:220px;height:220px;right:-90px;top:-80px;border-radius:50%;background:radial-gradient(circle,rgba(126,184,178,.28),transparent 68%);pointer-events:none}.home > .wrap .founder-story > *{position:relative;z-index:1}.home > .wrap .founder-story .founder-photo{border-radius:18px;overflow:hidden;box-shadow:0 12px 26px rgba(31,83,83,.14)}.home > .wrap .founder-story .founder-copy{padding:20px 0 6px}.home > .wrap .founder-story .founder-copy h2{font-size:32px}.home > .wrap .founder-story .founder-signature{padding:16px;border-radius:16px;background:rgba(237,247,245,.82)}}
.article-content > section:last-of-type { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; margin:28px 0 12px; padding:24px; border:1px solid var(--line); border-radius:24px; background:color-mix(in srgb,var(--brand-soft) 35%,var(--card)); }
.article-content > section:last-of-type > div { min-width:0; padding:16px; border:1px solid var(--line); border-radius:18px; background:var(--card); box-shadow:var(--shadow-sm); transition:transform .25s ease,box-shadow .25s ease; }
.article-content > section:last-of-type > div:hover { transform:translateY(-5px); box-shadow:var(--shadow-md); }
.article-content > section:last-of-type > div > div > div > div { min-width:0; padding:16px; border:1px solid var(--line); border-radius:18px; background:var(--card); box-shadow:var(--shadow-sm); transition:transform .25s ease,box-shadow .25s ease; }
.article-content > section:last-of-type > div > div > div > div:hover { transform:translateY(-5px); box-shadow:var(--shadow-md); }
.article-content > section:last-of-type { display:block; }
.article-content > section:last-of-type > div { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.article-content > section:last-of-type > div > div { display:contents; }
.article-content > section:last-of-type > div > div > div { display:grid; grid-template-columns:1fr; align-content:start; padding:16px; border:1px solid var(--line); border-radius:18px; background:var(--card); box-shadow:var(--shadow-sm); }
.article-content > section:last-of-type > div > div > div img { width:100%; height:150px; object-fit:cover; margin:0 0 14px; border-radius:12px; }
.article-content > section:last-of-type > div > div > div > div { padding:0; border:0; border-radius:0; background:transparent; box-shadow:none; }
.article-content > section:last-of-type > div > div > div > div:hover { transform:none; box-shadow:none; }
.article-content > section:last-of-type > div > div > div { transition:transform .25s ease,box-shadow .25s ease; }
.article-content > section:last-of-type > div > div > div:hover { transform:translateY(-5px); box-shadow:var(--shadow-md); }
@media(max-width:760px){.article-content > section:last-of-type > div{grid-template-columns:1fr}}
.article-content > section:last-of-type img { display:block; width:100%; height:150px; object-fit:cover; border-radius:12px; margin:0 0 14px; }
.article-content > section:last-of-type a { display:block; color:var(--brand-dark); font-size:14px; font-weight:700; line-height:1.35; }
@media(max-width:760px){.article-content > section:last-of-type{grid-template-columns:1fr;padding:16px}}
.services-page .hero-showcase { max-width:none; min-height:0; padding:26px clamp(24px,5vw,72px) 48px; text-align:center; }
.services-page .hero-showcase h1 { max-width:none; padding:0; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.plan .price { font-size: 32px; font-weight: 700; letter-spacing: -0.04em; margin: 10px 0; color: var(--fg); }
.plan .price span { font-size: 14px; font-weight: 500; color: var(--muted); }

@media (max-width: 860px) {
  nav.links { display: flex; flex-wrap: wrap; justify-content: flex-start; font-size: 13px; }
  header.nav { flex-wrap: wrap; }
  .drop-menu { position: static; display: none; box-shadow: none; border: 0; padding: 0 0 0 8px; }
  .drop:hover .drop-menu, .drop:focus-within .drop-menu { display: grid; }
  .app, .bento, .band, .plans, .team, .clients { grid-template-columns: 1fr; }
  .tile.wide { grid-column: auto; grid-row: auto; min-height: 200px; }
  .browser { transform: none; animation: floaty-flat 6s ease-in-out infinite; }
  .side { display: none; }
}
@keyframes floaty-flat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@media (prefers-reduced-motion: reduce) {
  .browser, .dashboard, .spark path, .pill, .orb-a, .dash-view.is-active { animation: none !important; }
}

.rank {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--kicker-border);
  background: var(--accent-dim);
  padding: 3px 7px;
  border-radius: 999px;
  margin-left: 6px;
  vertical-align: middle;
}

.posts { display: grid; gap: 10px; }
.post {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 16px;
  padding: 16px 18px;
}
.post h3 { margin: 0 0 4px; font-size: 16px; letter-spacing: -0.02em; }
.post p { margin: 0; font-size: 13px; color: var(--muted); }
.post .meta { font-size: 12px; color: var(--muted); white-space: nowrap; }

.bio-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 36px;
  align-items: start;
}
.bio-grid > img {
  width: 100%;
  border-radius: 24px;
  border: 1px solid var(--line);
}
.facts { display: grid; gap: 8px; margin: 18px 0; }
.facts li {
  list-style: none;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  font-size: 14px;
}
.facts { padding: 0; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(11, 13, 16, 0.55);
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 48px 16px;
  overflow: auto;
}
.modal.open { display: flex; }
.modal-card {
  width: min(720px, 100%);
  background: var(--bg);
  color: var(--fg);
  border-radius: 20px;
  border: 1px solid var(--line);
  padding: 28px 28px 36px;
  position: relative;
}
.modal-card h2 { margin-top: 0; letter-spacing: -0.04em; }
.modal-card p { color: var(--muted); }
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 999px;
  width: 36px;
  height: 36px;
  cursor: pointer;
  color: var(--fg);
}

@media (max-width: 860px) {
  .bio-grid { grid-template-columns: 1fr; }
}

/* Home cinematográfica — tokens premium 2026 */
body.home {
  background:
    radial-gradient(circle at 80% 10%, rgba(79, 153, 150, 0.16), transparent 32%),
    radial-gradient(circle at 20% 35%, rgba(255, 255, 255, 0.9), transparent 30%),
    var(--bg);
}
body.home::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(19, 33, 38, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(19, 33, 38, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
body.home .wrap { width: min(100% - 48px, var(--container)); }
body.home #site-header {
  position: sticky;
  isolation: isolate;
  background: transparent;
  backdrop-filter: none;
  border-bottom: 0;
  margin: 0;
  padding: 0;
}
body.home #site-header::before {
  background: color-mix(in srgb, var(--bg) 72%, transparent);
}
.theme-btn {
  width: 42px;
  height: 42px;
  padding: 0;
  display: grid;
  place-items: center;
}
.theme-ico {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  box-shadow: inset 6px -3px 0 0 currentColor;
}
html[data-theme="dark"] .theme-ico {
  box-shadow: none;
  background: currentColor;
  clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.home-stage {
  min-height: calc(100vh - 40px);
  overflow: visible;
  background: transparent;
}
.hero-photo-wrap {
  position: absolute;
  inset: auto 0 0 0;
  height: 38%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
}
.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 70%;
  filter: saturate(0.7) contrast(1.02);
}
.hero-photo-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--bg) 0%, rgba(247, 249, 250, 0.5) 28%, transparent 55%, rgba(20, 28, 32, 0.12) 100%);
}
.hero-photo-hint {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  z-index: 4;
  margin: 0;
  padding: 6px 12px;
  font-size: 11px;
  color: var(--text-faint);
  text-shadow: none;
  text-align: center;
  pointer-events: none;
}
.hero-photo-hint code { font-size: 10.5px; }

.logo-strip {
  position: relative;
  z-index: 2;
  background: color-mix(in srgb, var(--bg) 88%, #fff);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 0 32px;
}
.logo-strip-inner {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.logo-strip-kicker {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.logo-row {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 36px;
}
.logo-row li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #7a8e94;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.02em;
  opacity: 0.82;
}
.logo-row svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.logo-more {
  font-weight: 500 !important;
  font-style: italic;
  color: var(--text-faint) !important;
  opacity: 1 !important;
}

.hero-cinematic {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
  text-align: left;
  padding: 72px 0 96px;
  min-height: calc(100vh - 128px);
}
.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
}
.hero-cinematic h1 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(48px, 5.4vw, 84px);
  font-weight: 800;
}
.hero-cinematic .lead {
  margin: 0;
  max-width: 660px;
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.45;
  color: var(--text-soft);
}
.hero-cinematic .hero-actions { justify-content: flex-start; margin: 0; gap: 12px; }
.play {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 6px 0 6px 10px;
  border-color: transparent transparent transparent currentColor;
}
.hero-stats {
  display: flex;
  gap: 44px;
  margin: 0;
  flex-wrap: wrap;
}
.hero-stat {
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-stat-ico {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--brand-dark);
  background: var(--brand-soft);
  flex-shrink: 0;
}
.hero-stat-ico svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hero-stat:nth-child(2) .hero-stat-ico svg { fill: currentColor; stroke: none; }
.hero-stat strong {
  display: block;
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.03em;
}
.hero-stat span {
  font-size: 14px;
  color: var(--text-soft);
}

.hero-art {
  position: relative;
  min-height: 620px;
  margin-right: 0;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
}
.glass {
  position: absolute;
  border-radius: 28px;
  background: linear-gradient(160deg, rgba(220, 235, 234, 0.7), rgba(79, 153, 150, 0.18));
  border: 1px solid rgba(255,255,255,.45);
  backdrop-filter: blur(10px);
}
.glass.g1 { width: 58%; height: 72%; top: 4%; right: 8%; transform: rotate(8deg); }
.glass.g2 { width: 46%; height: 62%; top: 18%; right: -2%; transform: rotate(-6deg); opacity: .7; }
.hero-cinematic .perspective {
  margin: 0;
  max-width: none;
  padding: 28px 18px 44px;
  position: relative;
  z-index: 2;
  width: min(800px, 100%);
}
.hero-cinematic .browser,
.dashboard {
  width: min(760px, 100%);
  transform: perspective(1400px) rotateY(-6deg) rotateX(2deg);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(20px);
  will-change: transform;
  animation: dash-float 9s ease-in-out infinite;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.hero-cinematic .dashboard:hover {
  animation-play-state: paused;
  transform: perspective(1400px) rotateY(0deg) rotateX(0deg) translate3d(0, 0, 0);
  box-shadow: 0 38px 70px rgba(18, 55, 57, 0.22);
}
@keyframes dash-float {
  0%, 100% { transform: perspective(1400px) rotateY(-6deg) rotateX(2deg) translate3d(0, 0, 0); }
  18% { transform: perspective(1400px) rotateY(-10deg) rotateX(4deg) translate3d(18px, -30px, 16px); }
  40% { transform: perspective(1400px) rotateY(-3deg) rotateX(1deg) translate3d(-16px, -8px, 6px); }
  62% { transform: perspective(1400px) rotateY(-9deg) rotateX(3.5deg) translate3d(12px, -36px, 18px); }
  82% { transform: perspective(1400px) rotateY(-4deg) rotateX(1.5deg) translate3d(-14px, -14px, 8px); }
}
@keyframes dash-float-flat {
  0%, 100% { transform: translate3d(0, 0, 0); }
  25% { transform: translate3d(12px, -22px, 0); }
  50% { transform: translate3d(-14px, -8px, 0); }
  75% { transform: translate3d(10px, -28px, 0); }
}
.browser.dash { overflow: hidden; }
.browser.dash .app { min-height: 420px; grid-template-columns: 148px 1fr; }
.dash-search {
  height: 34px;
  border-radius: 10px;
  background: var(--row);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  margin-bottom: 12px;
}
.clinic {
  font-size: 12px;
  font-weight: 650;
  color: var(--fg);
  background: var(--row);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 10px;
}
.dash-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 12px;
}
.dash-kpis div {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 12px;
  padding: 10px;
}
.dash-kpis b { display: block; font-size: 16px; color: var(--fg); }
.dash-kpis span { font-size: 11px; color: var(--muted); }
.dash-ok {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #e8f7ee;
  color: #157a3c;
  font-size: 12.5px;
  font-weight: 600;
}
html[data-theme="dark"] .dash-ok {
  background: rgba(28,152,90,.2);
  color: #7dffa3;
}
.dash-view { display: none; }
.dash-view.is-active {
  display: block;
  animation: dash-view-in 0.45s ease;
}
@keyframes dash-view-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
.tickets, .invoices { display: grid; gap: 8px; }
.ticket {
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--row);
  border: 1px solid var(--line);
}
.ticket-top {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}
.ticket-id {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
}
.ticket b {
  color: var(--fg);
  font-size: 12.5px;
  font-weight: 600;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ticket-status {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 3px 8px;
  border-radius: 999px;
  white-space: nowrap;
}
.ticket-status.is-open { background: #fff4e0; color: #b56a00; }
.ticket-status.is-wait { background: #eef2ff; color: #3d4fd0; }
.ticket-status.is-done { background: #e8f7ee; color: #157a3c; }
.track {
  list-style: none;
  display: flex;
  align-items: center;
  margin: 9px 0 0;
  padding: 0;
  color: var(--muted);
  font-size: 9.5px;
}
.track li {
  display: flex;
  align-items: center;
  gap: 5px;
  flex: 1;
  min-width: 0;
}
.track li::before {
  content: "";
  width: 8px;
  height: 8px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--line);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--line) 55%, transparent);
}
.track li.done::before {
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}
.track li.current::before {
  background: #e78b30;
  box-shadow: 0 0 0 3px rgba(231, 139, 48, 0.2);
}
.track li:not(:last-child)::after {
  content: "";
  flex: 1;
  height: 1px;
  margin: 0 6px 0 4px;
  background: var(--line);
}
.track li.done:not(:last-child)::after { background: var(--accent); }
.invoice {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--row);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 12.5px;
}
.invoice-ico {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--accent-dim);
  color: var(--accent);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.invoice b { display: block; color: var(--fg); font-weight: 600; }
.invoice small { display: block; margin-top: 2px; font-size: 11px; }
.invoice-meta { text-align: right; white-space: nowrap; }
.invoice-meta strong { display: block; color: var(--fg); font-size: 13px; }
.invoice-meta span { font-size: 10px; font-weight: 700; }
.invoice-meta span.is-paid { color: #157a3c; }
.invoice-meta span.is-open { color: #b56a00; }
html[data-theme="dark"] .ticket-status.is-open { background: rgba(231,139,48,.18); color: #ffc37a; }
html[data-theme="dark"] .ticket-status.is-wait { background: rgba(61,79,208,.22); color: #b8c4ff; }
html[data-theme="dark"] .ticket-status.is-done { background: rgba(28,152,90,.2); color: #7dffa3; }
html[data-theme="dark"] .invoice-meta span.is-paid { color: #7dffa3; }
html[data-theme="dark"] .invoice-meta span.is-open { color: #ffc37a; }
.lock-chip {
  position: absolute;
  top: 0;
  right: -8px;
  z-index: 3;
  display: flex;
  gap: 8px;
  align-items: center;
  max-width: 168px;
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(255,255,255,.9);
  box-shadow: 0 12px 30px rgba(26,44,50,.12);
  font-size: 12px;
  color: var(--muted);
  backdrop-filter: blur(12px);
}
.lock-chip strong { color: var(--fg); display: block; }
html[data-theme="dark"] .lock-chip { background: rgba(18,21,26,.78); }

.scribble {
  font-family: "Caveat", cursive;
  color: #5c6a70;
  line-height: 1.05;
  font-weight: 600;
  transform: rotate(-8deg);
}
.scribble-l {
  margin: 0;
  font-size: 28px;
}
.scribble-r {
  position: absolute;
  right: 0;
  bottom: 8%;
  z-index: 3;
  margin: 0;
  font-size: 22px;
  text-align: right;
  transform: rotate(10deg);
}

.svc-split {
  display: grid;
  grid-template-columns: minmax(240px, 0.78fr) minmax(0, 1.22fr);
  gap: 40px 48px;
  align-items: start;
  padding-top: 0;
}
.svc-split .block-head {
  margin: 0;
  max-width: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 100%;
}
.svc-split .block-head .sec {
  max-width: 12ch;
}
.svc-split .sec-lead {
  max-width: 34em;
}
.svc-split .btn-primary { margin: 4px 0 8px; }
.scribble-svc {
  margin-top: 36px;
  font-size: 32px;
  color: #2a3a3e;
}
.svc-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.svc-cards .tile {
  min-height: 0;
  padding: 24px 22px 20px;
}
.svc-cards .more { margin-top: auto; }
.svc-cards-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.svc-grid-6 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.svc-grid-6 .tile-ico {
  border: 0;
  background: var(--brand-soft);
  color: var(--brand-dark);
  width: 44px;
  height: 44px;
  border-radius: 14px;
}
.svc-grid-6 .tile h3 { font-size: 16px; }
.svc-grid-6 .tile p { font-size: 13.5px; }
.tile-photo {
  width: 100%;
  height: 110px;
  object-fit: cover;
  object-position: top;
  border-radius: 14px;
  margin-bottom: 12px;
}
.team-member { align-items:flex-start; }
.team-avatar { display:block; width:178px; height:178px; flex:0 0 auto; overflow:hidden; border:4px solid rgba(255,255,255,.82); border-radius:50%; box-shadow:0 12px 24px rgba(31,83,83,.18); margin:0 0 18px; transition:transform .45s cubic-bezier(.2,.8,.2,1),box-shadow .45s ease,border-color .45s ease; }
.team-avatar img { display:block; width:100%; height:100%; object-fit:cover; object-position:center top; transform:scale(1.02); transition:filter .45s ease,transform .45s cubic-bezier(.2,.8,.2,1); }
.team-member:hover .team-avatar { transform:translateY(-7px) scale(1.06) rotate(1.5deg); border-color:rgba(255,255,255,1); box-shadow:0 18px 32px rgba(31,83,83,.25),0 0 0 8px rgba(112,196,188,.12); }
.team-member:hover .team-avatar img { filter:contrast(1.1) saturate(1.16); transform:scale(1.06); }
.team-pedro .team-avatar img { transform:translateX(-3%) scale(1.06); }
.team-member .member-role { display:block; margin-top:5px; color:var(--brand-dark); font-size:11px; font-weight:700; letter-spacing:.07em; line-height:1.4; text-transform:uppercase; }
.team-member .member-social { display:inline-block; margin-top:auto; padding-top:16px; color:var(--brand); font-size:13px; font-weight:700; }

/* The team section has a one-time, scroll-triggered entrance. */
#nosotros {
  position:relative;
  left:50%;
  width:100vw;
  margin-left:-50vw;
  padding-inline:clamp(32px,5vw,120px);
  overflow:hidden;
  isolation:isolate;
  background:linear-gradient(125deg,#f4fbfa 0%,#e5f3f2 52%,#f7fcfb 100%);
}
#nosotros > * { position:relative; z-index:1; }
#nosotros .svc-split { grid-template-columns:minmax(230px,.68fr) minmax(0,1.32fr); gap:32px; }
#nosotros::before {
  content:"";
  position:absolute;
  z-index:0;
  width:min(34vw,480px);
  height:min(18vw,250px);
  top:18%;
  left:-7%;
  right:auto;
  border-radius:60% 40% 55% 45%;
  pointer-events:none;
  background:linear-gradient(120deg,rgba(114,205,197,.18),rgba(190,231,227,.08) 55%,transparent);
  filter:blur(10px);
  transform:rotate(-18deg) translate3d(0,0,0);
  animation:team-band-glow 11s ease-in-out infinite alternate;
}
#nosotros::after {
  content:"";
  position:absolute;
  z-index:0;
  width:min(72vw,980px);
  aspect-ratio:1;
  top:50%;
  left:103%;
  border:1px solid rgba(47,111,109,.11);
  border-radius:50%;
  pointer-events:none;
  box-shadow:
    0 0 0 54px rgba(47,111,109,.045),
    0 0 0 108px rgba(47,111,109,.028),
    0 0 0 162px rgba(47,111,109,.018);
  transform:translate(-50%,-50%) rotate(0deg);
  animation:team-band-orbit 30s linear infinite;
}
#nosotros .svc-cards {
  position:relative;
  padding:clamp(20px,3vw,38px);
  overflow:hidden;
  border:1px solid rgba(47,111,109,.14);
  border-radius:30px;
  background:
    radial-gradient(circle at 16% 22%,rgba(255,255,255,.95) 0 2px,transparent 3px),
    radial-gradient(circle at 78% 24%,rgba(111,202,194,.22) 0,transparent 30%),
    radial-gradient(circle at 24% 82%,rgba(128,184,236,.17) 0,transparent 32%),
    linear-gradient(132deg,#edf8f7,#dcedec 54%,#f3faf9);
  background-size:130px 130px,100% 100%,100% 100%,100% 100%;
  animation:team-backdrop 16s ease-in-out infinite alternate;
}
#nosotros .svc-grid-6 { grid-template-columns:1fr 1.5fr 1.5fr; }
#nosotros .team-avatar { margin-left:auto; margin-right:auto; }
#nosotros .svc-cards::before,
#nosotros .svc-cards::after { content:""; position:absolute; z-index:0; pointer-events:none; border-radius:50%; }
#nosotros .svc-cards::before {
  width:78%;
  aspect-ratio:1;
  top:50%;
  left:50%;
  border:1px solid rgba(47,111,109,.16);
  box-shadow:0 0 0 56px rgba(47,111,109,.05),0 0 0 112px rgba(47,111,109,.035);
  transform:translate(-50%,-50%) rotate(0deg);
  animation:team-orbit 22s linear infinite;
}
#nosotros .svc-cards::after {
  width:9px;
  height:9px;
  top:16%;
  left:16%;
  background:#9ce6df;
  box-shadow:0 0 0 7px rgba(156,230,223,.18),170px 210px 0 -2px rgba(93,166,212,.72),300px 72px 0 -3px rgba(94,181,174,.72);
  animation:team-signal 7s ease-in-out infinite alternate;
}
#nosotros .svc-cards .tile { position:relative; z-index:1; }
@keyframes team-orbit { to { transform:translate(-50%,-50%) rotate(360deg); } }
@keyframes team-band-orbit { to { transform:translate(-50%,-50%) rotate(-360deg); } }
@keyframes team-band-glow { from { opacity:.45; transform:rotate(-18deg) translate3d(-12px,6px,0) scale(.95); } to { opacity:.9; transform:rotate(-12deg) translate3d(18px,-8px,0) scale(1.08); } }
@keyframes team-signal { from { transform:translate3d(-5px,-3px,0); opacity:.45; } to { transform:translate3d(8px,7px,0); opacity:1; } }
@keyframes team-backdrop { from { background-position:0 0,0 0,0 0,0 0; } to { background-position:65px 48px,8% -3%,-7% 5%,0 0; } }
html.js #nosotros::before { opacity:0; transform:scale(.65); transition:opacity 1.1s ease,transform 1.4s cubic-bezier(.2,.8,.2,1); }
html.js #nosotros .block-head { opacity:0; transform:translateX(-34px); transition:opacity .7s ease,transform .8s cubic-bezier(.2,.8,.2,1); }
html.js #nosotros .tile { opacity:0; transform:translateY(36px) scale(.96); transition:opacity .65s ease,transform .8s cubic-bezier(.2,.8,.2,1),box-shadow .5s ease; }
html.js #nosotros .tile > :is(h3,p,.member-role,.member-social,.more) { opacity:0; transform:translateY(10px); transition:opacity .45s ease .42s,transform .55s cubic-bezier(.2,.8,.2,1) .42s; }
html.js #nosotros.is-visible::before { opacity:1; transform:rotate(-18deg) translate3d(0,0,0); }
html.js #nosotros.is-visible .block-head, html.js #nosotros.is-visible .tile { opacity:1; transform:none; }
html.js #nosotros.is-visible .tile > :is(h3,p,.member-role,.member-social,.more) { opacity:1; transform:none; }
html.js #nosotros.is-visible .tile:nth-child(1) { transition-delay:.12s; }
html.js #nosotros.is-visible .tile:nth-child(2) { transition-delay:.2s; }
html.js #nosotros.is-visible .tile:nth-child(3) { transition-delay:.28s; }
html.js #nosotros.is-visible .tile:nth-child(4) { transition-delay:.36s; }
html.js #nosotros.is-visible .tile:nth-child(5) { transition-delay:.44s; }
html.js #nosotros.is-visible .tile:nth-child(6) { transition-delay:.52s; }
@media (prefers-reduced-motion:reduce) { #nosotros .svc-cards, #nosotros .svc-cards::before, #nosotros .svc-cards::after, #nosotros::before, #nosotros::after { animation:none; } html.js #nosotros::before, html.js #nosotros .block-head, html.js #nosotros .tile, html.js #nosotros .tile > :is(h3,p,.member-role,.member-social,.more) { opacity:1; transform:none; transition:none; } .team-avatar, .team-avatar img { transition:none; } }
.svc-pano {
  position: relative;
  margin: 48px 0 0;
  border-radius: 28px;
  overflow: hidden;
  min-height: 280px;
  box-shadow: var(--shadow-md);
}
.svc-pano-img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  object-position: center 60%;
  display: block;
}
.svc-pano figcaption {
  position: absolute;
  right: 28px;
  bottom: 24px;
  margin: 0;
  max-width: 12em;
  text-align: right;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.35;
  text-shadow: 0 8px 24px rgba(0,0,0,.35);
}

@media (max-width: 1024px) {
  .hero-cinematic { grid-template-columns: 1fr; min-height: 0; padding: 40px 0 64px; }
  .hero-cinematic h1 { max-width: 14ch; font-size: clamp(40px, 8vw, 56px); }
  .hero-art { min-height: auto; }
  .hero-cinematic .browser,
  .dashboard {
    transform: none;
    animation: dash-float-flat 8s ease-in-out infinite;
  }
  .svc-split { grid-template-columns: 1fr; }
  .svc-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-grid-6 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .hero-stats { flex-direction: column; gap: 20px; }
}
@media (max-width: 860px) {
  .hero-art { min-height: 0; }
  .hero-cinematic .browser {
    transform: none;
    animation: dash-float-flat 8s ease-in-out infinite;
  }
  .glass, .scribble-r, .lock-chip { display: none; }
  .svc-cards, .svc-cards-3, .svc-grid-6 { grid-template-columns: 1fr; }
  .svc-pano-img { height: 220px; }
  .hero-photo-wrap { height: 28%; }
}

/* Full-width introduction and cards for the local-support section. */
#cerca .svc-split { grid-template-columns: minmax(0, 1fr); gap: 36px; }
#cerca .block-head { align-items: center; text-align: center; }
#cerca .block-head .sec { max-width: none; font-size: clamp(32px, 4.5vw, 64px); line-height: 1.08; }
#cerca .sec-lead { max-width: 760px; }
#cerca .scribble-svc { margin-top: 16px; }
#cerca .svc-grid-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
#cerca .tile { padding: 28px; }
#cerca .tile h3 { font-size: 19px; }
#cerca .tile p { font-size: 15px; }
#clientes .tile-ico { display: none; }
#clientes .tile {
  min-height: 0;
  padding: 18px;
  padding-right: 118px;
  padding-bottom: 38px;
}
#clientes .client-logo {
  display: flex;
  align-items: center;
  width: 100%;
  height: 64px;
  margin-bottom: 10px;
}
#clientes .client-logo img {
  display: block;
  width: auto;
  height: 70px;
  max-width: 230px;
  object-fit: contain;
  object-position: left center;
}
#clientes .client-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent-dim) 82%, transparent);
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}
#clientes .client-badge::before {
  content: "♧";
  font-size: 11px;
}
#clientes .client-badge.is-company::before { content: "▦"; }
#clientes .tile .more {
  position: absolute;
  right: 14px;
  top: 52px;
  bottom: auto;
  color: var(--accent);
  font-size: 12px;
}
@media (max-width: 900px) {
  #cerca .svc-grid-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  #cerca .svc-grid-6 { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  #cerca .tile { padding: 24px; }
}
/* Personal story bridge. */
.founder-story { display:grid; grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr); gap:clamp(32px,4vw,56px); align-items:center; }
.founder-photo { overflow:visible; border-radius:28px; background:transparent; perspective:1200px; }
.founder-photo img { display:block; width:100%; height:auto; border-radius:28px; transform:perspective(1200px) rotateY(-5deg) rotateX(1deg); box-shadow:0 26px 48px rgba(18,55,57,.2); transition:transform .5s cubic-bezier(.2,.8,.2,1),box-shadow .5s cubic-bezier(.2,.8,.2,1); animation:founder-photo-float 7s ease-in-out infinite; }
.founder-photo:hover img { animation-play-state:paused; transform:perspective(1200px) rotateY(-1deg) rotateX(0) translateY(-8px); box-shadow:0 32px 58px rgba(18,55,57,.26); }
@keyframes founder-photo-float {
  0%,100% { transform:perspective(1200px) rotateY(-5deg) rotateX(1deg) translate3d(0,0,0); }
  50% { transform:perspective(1200px) rotateY(-3deg) rotateX(.5deg) translate3d(0,-10px,4px); }
}
@media (max-width:700px) { .founder-photo img { transform:none; animation:floaty-flat 6s ease-in-out infinite; } .founder-photo:hover img { transform:translateY(-6px); } }
@media (prefers-reduced-motion:reduce) { .founder-photo img { animation:none; } }
.founder-copy .sec { margin-bottom:24px; }
.founder-copy > p { font-size:16px; line-height:1.75; max-width:65ch; }
.founder-signature { margin:24px 0; }
.founder-signature strong,.founder-signature span { display:block; }
.founder-signature .founder-role { margin-top:3px; color:var(--fg); font-size:14px; font-weight:700; }
.founder-signature .founder-credentials { margin-top:5px; color:var(--muted); font-size:13px; line-height:1.45; }
#mi-historia { scroll-margin-top:100px; }

/* Product showcase: full-width band with a left-aligned intro and card row. */
#software { position:relative; left:50%; width:100vw; margin-left:-50vw; padding-inline:clamp(32px,5vw,120px); overflow:hidden; background:linear-gradient(125deg,#e7f4f3 0%,var(--brand-soft) 46%,#d7eceb 100%); }
#software::before { content:""; position:absolute; inset:0; pointer-events:none; opacity:.62; background:radial-gradient(circle at 12% 20%,rgba(255,255,255,.98) 0 2px,transparent 3px),radial-gradient(circle at 78% 72%,rgba(47,111,109,.28) 0 1px,transparent 2px),linear-gradient(115deg,transparent 0 46%,rgba(255,255,255,.62) 49%,transparent 52%); background-size:150px 150px,200px 200px,100% 100%; animation:software-drift 22s linear infinite; }
#software::after { content:""; position:absolute; z-index:0; inset:-20%; pointer-events:none; opacity:.72; background:radial-gradient(circle at 17% 28%,rgba(255,255,255,.9) 0,rgba(255,255,255,.35) 12%,transparent 31%),radial-gradient(circle at 81% 62%,rgba(108,191,186,.28) 0,rgba(108,191,186,.1) 17%,transparent 36%); filter:blur(16px); animation:software-glow 18s ease-in-out infinite alternate; }
#software > * { position:relative; z-index:1; }
#software .svc-split { grid-template-columns:minmax(260px,.72fr) minmax(0,1.28fr); gap:clamp(28px,5vw,72px); align-items:start; }
#software .block-head { align-items:flex-start; text-align:left; }
#software .block-head .sec { max-width:12ch; font-size:clamp(40px,4vw,66px); }
#software .sec-lead { font-size:18px; line-height:1.55; }
#software .svc-grid-6 { grid-template-columns:repeat(3,minmax(0,1fr)); }
.svc-grid-products { grid-template-columns:repeat(3,minmax(0,1fr)); }
#software .product-card { min-height:356px; }
.product-card-head { height:96px; display:flex; align-items:center; border-bottom:1px solid var(--border); margin-bottom:17px; }
.product-logo { height:58px; margin:0; display:flex; align-items:center; justify-content:flex-start; }
.product-logo img { display:block; max-width:100%; max-height:100%; object-fit:contain; object-position:left center; }
.product-logo-square img { width:58px; height:58px; border-radius:14px; }
.product-logo-wide img { width:min(100%,170px); height:auto; }
.product-logo-wordmark { height:78px; }
.product-logo-wordmark img { width:min(100%,190px); height:auto; }
.product-logo-rubryca { gap:11px; }
.product-logo-rubryca img { width:56px; height:56px; border-radius:50%; }
.product-logo-rubryca span:last-child, .product-logo-custom > span:last-child { color:var(--fg); font-size:18px; font-weight:700; letter-spacing:-.04em; }
.product-logo-custom { gap:11px; }
.product-dev-icon-shell { flex:0 0 auto; width:62px; height:62px; overflow:hidden; border-radius:16px; background:var(--brand-soft); box-shadow:0 9px 20px rgba(41,72,126,.14); }
.product-dev-icon { display:block; width:100%; height:100%; object-fit:cover; transform:scale(1.55); }
.tile .product-tagline {
  flex:none;
  margin:0 0 10px;
  color:var(--fg);
  font-size:14px;
  font-weight:700;
  line-height:1.4;
  letter-spacing:-.015em;
}
.tile .product-summary { color:var(--muted); }
.product-actions { display:flex; flex-wrap:wrap; align-items:center; gap:10px 16px; margin-top:auto; padding-top:18px; }
.product-actions .more { margin-top:0; }
.product-actions > span { color:rgba(91,103,112,.55); font-size:12px; }
.product-info { color:var(--muted); font-size:12px; font-weight:700; text-decoration:underline; text-underline-offset:3px; }
.product-info:hover { color:var(--brand); }
.software-catalog{padding-top:12px}.software-catalog .block-head{max-width:760px;margin-bottom:30px}.software-catalog .svc-grid-products{grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}.software-catalog .product-card{min-height:390px}.software-catalog .product-card h3{font-size:22px;margin-bottom:12px}.software-catalog .product-summary{line-height:1.55}.software-catalog .more{margin-top:auto}
@media (max-width:1100px){.software-catalog .svc-grid-products{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:640px){.software-catalog .svc-grid-products{grid-template-columns:1fr}.software-catalog .product-card{min-height:0}}
.visually-hidden {
  position:absolute !important;
  width:1px !important;
  height:1px !important;
  padding:0 !important;
  margin:-1px !important;
  overflow:hidden !important;
  clip:rect(0,0,0,0) !important;
  white-space:nowrap !important;
  border:0 !important;
}
@media (min-width:1200px) {
  #software .svc-grid-6 { grid-template-columns:repeat(6,minmax(0,1fr)); }
  #software .svc-grid-products { grid-template-columns:repeat(5,minmax(0,1fr)); }
  #software .svc-cards .tile { padding:24px 18px 20px; }
}
@media (max-width:900px) {
  #software .svc-split { grid-template-columns:minmax(0,1fr); }
  #software .block-head .sec { max-width:none; }
}
@keyframes software-drift { from { background-position:0 0,0 0,0 0; } to { background-position:180px 90px,-160px 120px,0 0; } }
@keyframes software-glow { from { transform:translate3d(-2%,-1%,0) scale(1); } to { transform:translate3d(3%,2%,0) scale(1.08); } }
@media (prefers-reduced-motion: reduce) { #software::before, #software::after { animation:none; } }

.custom-build { margin-top:clamp(34px,5vw,72px); padding:clamp(28px,4vw,56px); display:grid; grid-template-columns:minmax(170px,.45fr) minmax(0,1.55fr); gap:clamp(24px,5vw,72px); align-items:center; border:1px solid rgba(47,111,109,.2); border-radius:26px; background:linear-gradient(125deg,rgba(255,255,255,.72),rgba(255,255,255,.4)); }
.custom-build-aside { align-self:stretch; display:flex; flex-direction:column; justify-content:space-between; }
.custom-build-note { margin:24px 0 0; color:#2b494c; font-family:Caveat,cursive; font-size:clamp(25px,2.2vw,34px); line-height:1.05; transform:rotate(-3deg); }
.custom-build-statement { margin:0; max-width:28ch; color:var(--fg); font-size:clamp(26px,2.6vw,40px); font-weight:800; letter-spacing:-.05em; line-height:1.07; }
.custom-build-statement em { color:var(--brand); font-style:normal; }
.custom-build-detail { margin:18px 0 0; max-width:60ch; color:var(--muted); line-height:1.6; }
.custom-build-copy .more { display:inline-block; margin-top:20px; }
@media (max-width:700px) { .custom-build { grid-template-columns:1fr; } .custom-build-note { display:none; } }
@media(max-width:800px) {
 .founder-story { grid-template-columns:minmax(0,1fr); }
 .founder-photo { max-width:560px; width:100%; margin-inline:auto; }
}

/* Client network: a darker, animated band that feels more like an ecosystem than a list. */
#clientes {
  position:relative;
  left:50%;
  width:100vw;
  margin-left:-50vw;
  padding:clamp(88px,10vw,160px) clamp(32px,5vw,120px) 88px;
  overflow:visible;
  overflow-x:clip;
  background:transparent;
}
#clientes::before {
  display:none;
}
#clientes > * { position:relative; z-index:1; }
#clientes .client-side-note {
  position: absolute;
  z-index: 2;
  margin: 0;
  color: var(--text-faint);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .22em;
  line-height: 1.45;
  text-transform: uppercase;
  writing-mode: horizontal-tb;
}
#clientes .client-side-note::before {
  content: "";
  display: block;
  width: 34px;
  height: 1px;
  margin-bottom: 10px;
  background: var(--brand);
  opacity: .55;
}
#clientes .client-side-note::after {
  content: "";
  position: absolute;
  top: 0;
  left: 17px;
  width: 4px;
  height: 4px;
  border-radius: 1px;
  background: var(--brand);
  transform: translate(-50%, -50%);
}
#clientes .client-side-note-left {
  top: 315px;
  bottom: auto;
  left: -92px;
  text-align: left;
}
#clientes .client-side-note-right {
  bottom: 64px;
  right: -92px;
  text-align: right;
}
#clientes .client-side-note-right::before { margin-left: auto; }
#clientes::before, #clientes::after { display:none; }
#clientes .svc-split { grid-template-columns:1fr; gap:36px; }
#clientes .block-head { align-items:center; text-align:center; max-width:760px; margin-inline:auto; }
#clientes .block-head .sec { max-width:none; font-size:clamp(32px,4.5vw,64px); line-height:1.08; }
#clientes .sec-lead { max-width:680px; }
#clientes .scribble-svc { margin-top:16px; }
#clientes .eyebrow { color:var(--brand-dark); }
#clientes .sec, #clientes .tile h3 { color:var(--fg); }
#clientes .sec em { color:var(--brand); }
#clientes .sec-lead, #clientes .tile p { color:var(--muted); }
#clientes .scribble-svc { color:#29474a; }
#clientes .scribble-svc::after {
  content: "";
  display: block;
  width: 150px;
  height: 12px;
  margin: 4px 0 0 auto;
  border-top: 3px solid currentColor;
  border-radius: 50%;
  transform: rotate(-8deg);
}
#clientes .svc-grid-6 {
  display:flex;
  gap:14px;
  padding:clamp(20px,3vw,38px);
  overflow:hidden;
  border:1px solid rgba(47,111,109,.1);
  border-radius:30px;
  background:
    radial-gradient(circle at 18% 20%,rgba(255,255,255,.95) 0 2px,transparent 3px),
    radial-gradient(circle at 80% 76%,rgba(112,196,188,.2) 0,transparent 32%),
    linear-gradient(130deg,#eef8f7,#dbeeee 54%,#eef8f7);
  background-size:140px 140px,100% 100%,100% 100%;
  animation:client-grid-flow 18s ease-in-out infinite alternate;
}
#clientes .client-carousel {
  position: relative;
  min-width: 0;
}
#clientes .client-carousel .svc-grid-6 {
  overflow: hidden;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
#clientes .client-carousel .svc-grid-6::-webkit-scrollbar { display: none; }
#clientes .client-carousel .tile {
  flex: 0 0 calc((100% - 56px) / 5);
  min-width: 0;
}
#clientes .client-carousel-arrow {
  position: absolute;
  z-index: 4;
  top: 50%;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(47,111,109,.16);
  border-radius: 50%;
  color: var(--brand-dark);
  background: rgba(255,255,255,.9);
  box-shadow: 0 5px 16px rgba(18,55,57,.12);
  font: 28px/1 system-ui, sans-serif;
  transform: translateY(-50%);
  cursor: pointer;
}
#clientes .client-carousel-arrow:hover { background: #fff; }
#clientes .client-carousel-prev { left: -17px; }
#clientes .client-carousel-next { right: -17px; }
#clientes .client-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 12px;
}
#clientes .client-carousel-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(47,111,109,.25);
  cursor: pointer;
}
#clientes .client-carousel-dots button.is-active { background: var(--brand); transform: scale(1.35); }
#clientes .tile {
  min-height:224px;
  border-color:rgba(47,111,109,.16);
  background:linear-gradient(145deg,rgba(255,255,255,.88),rgba(255,255,255,.54));
  box-shadow:0 18px 38px rgba(40,89,88,.12);
  backdrop-filter:blur(10px);
  animation:client-float 8s ease-in-out infinite;
}
#clientes .tile:nth-child(2) { animation-delay:-2.2s; }
#clientes .tile:nth-child(3) { animation-delay:-4.7s; }
#clientes .tile:nth-child(4) { animation-delay:-1.1s; }
#clientes .tile:nth-child(5) { animation-delay:-5.6s; }
#clientes .tile:nth-child(6) { animation-delay:-3.3s; }
#clientes .tile:hover { animation-play-state:paused; transform:translateY(-8px); border-color:rgba(47,111,109,.4); }
#clientes .tile-ico { border:1px solid rgba(47,111,109,.1); background:rgba(110,190,184,.14); color:var(--brand-dark); }
#clientes .more { color:var(--brand); }
#clientes .btn-primary { background:var(--fg); color:#fff; }
#clientes .btn-primary:hover { background:var(--brand-dark); }
@media (max-width:1100px) {
  #clientes .client-side-note { display: none; }
}
@media (max-width:900px) { #clientes .svc-split { grid-template-columns:1fr; } }
@media (max-width:1100px) { #clientes .client-carousel .tile { flex-basis: calc((100% - 42px) / 4); } }
@media (max-width:700px) { #clientes .client-carousel .tile { flex-basis: calc((100% - 14px) / 2); } }
@media (max-width:520px) { #clientes .client-carousel .tile { flex-basis: 100%; } }
@media (max-width:1024px) { #nosotros .svc-grid-6 { grid-template-columns:1fr 1fr; } }
@media (max-width:700px) { #nosotros .svc-grid-6 { grid-template-columns:1fr; } }
@media (min-width:1025px) { #nosotros .svc-grid-6 { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media (min-width:701px) and (max-width:1024px) { #nosotros .svc-grid-6 { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:700px) { #nosotros .svc-split { grid-template-columns:1fr; gap:24px; } }
@keyframes client-lights { from { transform:translate3d(-2%,-1%,0) scale(1); } to { transform:translate3d(3%,2%,0) scale(1.08); } }
@keyframes client-float { 0%,100% { transform:translateY(0); } 50% { transform:translateY(-8px); } }
@keyframes client-grid-flow { from { background-position:0 0,0 0,0 0; } to { background-position:70px 48px,-8% 5%,0 0; } }
@media (prefers-reduced-motion: reduce) { #clientes .svc-grid-6, #clientes .tile { animation:none; } }

/* Mobile-only cleanup for the homepage. */
.mobile-menu-toggle { display:none; }
@media (max-width: 640px) {
  body.home .wrap { width:calc(100% - 32px); }
  #site-header { margin-inline:-16px; padding-inline:16px; }
  header.nav { display:grid; grid-template-columns:minmax(0,1fr) auto auto; gap:10px; min-height:68px; padding:8px 0; }
  .brand img { height:50px; max-width:190px; }
  .mobile-menu-toggle { display:flex; width:42px; height:42px; padding:10px; flex-direction:column; justify-content:center; gap:5px; border:1px solid var(--line); border-radius:13px; background:var(--card); color:var(--fg); cursor:pointer; }
  .mobile-menu-toggle span { display:block; width:20px; height:2px; border-radius:2px; background:currentColor; transition:transform .2s ease,opacity .2s ease; }
  #site-header.menu-open .mobile-menu-toggle span:first-child { transform:translateY(7px) rotate(45deg); }
  #site-header.menu-open .mobile-menu-toggle span:nth-child(2) { opacity:0; }
  #site-header.menu-open .mobile-menu-toggle span:last-child { transform:translateY(-7px) rotate(-45deg); }
  .brand { grid-column:1; grid-row:1; }
  .mobile-menu-toggle { grid-column:3; grid-row:1; }
  .nav-end { grid-column:2; grid-row:1; gap:0; }
  .nav-end .theme-btn { width:40px; height:40px; padding:0; }
  .nav-end > .btn { display:none; }
  nav.links { display:none; grid-column:1 / -1; grid-template-columns:repeat(3,minmax(0,1fr)); gap:4px; width:100%; padding:10px; border:1px solid var(--line); border-radius:16px; background:var(--card); box-shadow:var(--shadow-md); font-size:14px; }
  #site-header.menu-open nav.links { display:grid; }
  nav.links > a, .drop > a { display:block; min-height:40px; padding:10px 4px; text-align:center; }
  .drop { min-width:0; }
  .drop-menu { position:static; min-width:0; padding:4px; box-shadow:none; border-radius:10px; }
  .hero-cinematic { grid-template-columns:minmax(0,1fr); gap:28px; min-height:0; padding:34px 0 48px; }
  .hero-copy { gap:20px; min-width:0; }
  .hero-cinematic h1 { max-width:13ch; font-size:clamp(38px,11vw,54px); line-height:1.02; }
  .hero-cinematic .lead { font-size:17px; line-height:1.5; }
  .hero-cinematic .hero-actions { width:100%; display:grid; grid-template-columns:1fr; gap:10px; }
  .hero-cinematic .hero-actions .btn { width:100%; min-height:48px; height:auto; padding:12px 16px; font-size:15px; }
  .hero-stats { width:100%; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; margin-top:4px; }
  .hero-stat { min-width:0; align-items:center; gap:7px; padding:10px 8px; border:1px solid var(--border); border-radius:15px; background:color-mix(in srgb,var(--card) 78%,transparent); }
  .hero-stat:last-child { grid-column:auto; }
  .hero-stat-ico { width:30px; height:30px; border-radius:9px; }
  .hero-stat-ico svg { width:19px; height:19px; }
  .hero-stat strong { font-size:14px; line-height:1.2; letter-spacing:-.03em; white-space:nowrap; }
  .hero-stat span { font-size:12px; line-height:1.25; }
  .scribble-l { align-self:flex-end; font-size:22px; }
  .hero-art { width:100%; min-width:0; overflow:hidden; }
  .hero-cinematic .perspective { width:100%; max-width:100%; min-width:0; overflow:hidden; margin:0; padding:0; }
  .hero-cinematic .browser, .hero-cinematic .dashboard { width:100%; max-width:100%; min-width:0; transform:none; border-radius:20px; animation:none; }
  .browser.dash .app { display:block; width:100%; min-width:0; min-height:0; }
  .browser.dash .side { display:none; }
  .browser.dash .main { min-width:0; padding:14px 12px; }
  .main-h { align-items:flex-start; gap:8px; flex-wrap:wrap; }
  .main-h h2 { max-width:100%; font-size:14px; }
  .clinic { font-size:10px; padding:3px 7px; }
  .row { grid-template-columns:minmax(0,1fr) auto; gap:6px 8px; padding:9px; font-size:11px; }
  .row b { min-width:0; overflow-wrap:anywhere; }
  .row .spark { display:none; }
  .dash-kpis { grid-template-columns:repeat(3,minmax(0,1fr)); gap:5px; }
  .dash-kpis div { min-width:0; padding:8px 5px; }
  .dash-kpis b { font-size:13px; }
  .dash-kpis span { font-size:9px; }
  .dash-ok { font-size:11px; }
  #software .svc-split { grid-template-columns:minmax(0,1fr); gap:28px; }
  #software .block-head { max-width:none; }
  #software .block-head .sec { max-width:none; font-size:clamp(38px,10vw,52px); }
  #software .sec-lead { font-size:16px; line-height:1.5; }
  #software .svc-grid-products { grid-template-columns:minmax(0,1fr); gap:14px; }
  #software .product-card { width:100%; min-width:0; min-height:0; padding:22px 20px; }
  #software .product-card-head { height:76px; }
  #software .product-actions { gap:8px 10px; padding-top:14px; font-size:12px; }
  #software .product-actions .product-login,
  #software .product-actions .product-info { font-size:12px; }
  #software .product-summary { font-size:14px; line-height:1.45; }
}


.mobile-dash-top { display:none; }

/* Refined mobile backup dashboard */
@media (max-width: 640px) {
  .mobile-dash-top { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:14px 14px 12px; border-bottom:1px solid #e5eeec; background:linear-gradient(120deg,#fff 0%,#f5fbfa 100%); }
  .mobile-dash-brand { display:flex; align-items:center; gap:9px; min-width:0; }
  .mobile-dash-mark { display:grid; place-items:center; width:34px; height:34px; border-radius:11px; color:#fff; background:linear-gradient(145deg,#59aaa4,#17323a); font-size:18px; font-weight:800; box-shadow:0 4px 10px rgba(30,95,92,.18); }
  .mobile-dash-brand strong,.mobile-dash-brand small { display:block; }
  .mobile-dash-brand strong { color:#17262c; font-size:13px; line-height:1.2; letter-spacing:-.02em; }
  .mobile-dash-brand small { margin-top:3px; color:#7a8b8e; font-size:8px; font-weight:750; letter-spacing:.13em; }
  .mobile-dash-secure { display:inline-flex; align-items:center; gap:6px; padding:7px 9px; border:1px solid #cfead9; border-radius:999px; color:#25734a; background:#effaf3; font-size:10px; font-weight:700; white-space:nowrap; }
  .mobile-dash-secure i { width:6px; height:6px; border-radius:50%; background:#35a86b; box-shadow:0 0 0 3px rgba(53,168,107,.12); }
  .hero-cinematic .browser.dash { border:1px solid #dce9e7; background:#fff; box-shadow:0 22px 48px rgba(22,57,63,.13),0 3px 10px rgba(22,57,63,.06); }
  .browser.dash .main { padding:14px 13px 13px; }
  .browser.dash .dash-search { display:none; }
  .browser.dash .main-h { padding:1px 0 12px; margin-bottom:11px; border-bottom:1px solid #edf2f1; align-items:center; }
  .browser.dash .main-h h2 { color:#192a30; font-size:16px; letter-spacing:-.035em; }
  .browser.dash .clinic { padding:5px 8px; border:1px solid #dce9e7; border-radius:999px; color:#557174; background:#f6faf9; font-size:9px; font-weight:650; }
  .browser.dash .rows { gap:8px; }
  .browser.dash .row { position:relative; grid-template-columns:minmax(0,1fr) auto; grid-template-rows:auto auto; gap:4px 8px; min-height:58px; padding:10px 10px 9px 39px; border:1px solid #e5eeec; border-radius:13px; background:linear-gradient(110deg,#fbfdfd,#f6faf9); box-shadow:0 2px 5px rgba(27,66,68,.025); }
  .browser.dash .row::before { content:"✓"; position:absolute; left:11px; top:12px; display:grid; place-items:center; width:19px; height:19px; border-radius:7px; color:#268254; background:#e5f5eb; font-size:11px; font-weight:800; }
  .browser.dash .row:nth-child(3)::before { content:"↻"; color:#287f92; background:#e5f4f6; }
  .browser.dash .row b { grid-column:1; grid-row:1; color:#203238; font-size:11px; }
  .browser.dash .row > span:first-of-type { grid-column:2; grid-row:1; color:#75878a; font-size:9px; text-align:right; }
  .browser.dash .row > span:nth-of-type(2) { grid-column:1 / -1; grid-row:2; color:#647a7d; font-size:9px; }
  .browser.dash .dash-kpis { gap:7px; margin-top:10px; }
  .browser.dash .dash-kpis div { padding:9px 7px; border:1px solid #e4edeb; border-radius:12px; background:#f9fbfb; }
  .browser.dash .dash-kpis b { color:#1c3337; font-size:14px; }
  .browser.dash .dash-kpis span { margin-top:3px; color:#738487; font-size:9px; line-height:1.25; }
  .browser.dash .dash-ok { margin-top:9px; padding:10px 11px; border:1px solid #d5efdf; border-radius:11px; color:#287348; background:linear-gradient(100deg,#effaf3,#f7fcf8); font-size:10px; font-weight:650; }
}

/* Product cards: mobile-only disclosure layout */
.product-card-toggle { display:block; width:100%; padding:0; border:0; background:transparent; color:inherit; text-align:left; cursor:default; }
.product-card-name,.product-toggle-icon { display:none; }
.product-card-toggle:disabled { opacity:1; color:inherit; }
.product-card-details { display:block; }
@media (max-width: 640px) {
  #software .product-card { padding:14px 16px; }
  #software .product-card-toggle { display:grid; grid-template-columns:76px minmax(0,1fr) 22px; align-items:center; gap:10px; cursor:pointer; }
  #software .product-card-head { height:auto; min-width:0; margin:0; border:0; overflow:hidden; }
  #software .product-card-head .product-logo { width:100%; height:50px; min-width:0; }
  #software .product-logo-wordmark { height:46px; }
  #software .product-logo-wordmark img { width:min(100%,145px); }
  #software .product-logo-wide img { width:min(100%,145px); }
  #software .product-logo-rubryca { gap:0; }
  #software .product-logo-rubryca img { width:44px; height:44px; }
  #software .product-logo-rubryca span:last-child { display:none; }
  #software .product-logo-custom { gap:0; }
  #software .product-dev-icon-shell { width:46px; height:46px; border-radius:13px; }
  #software .product-logo-custom > span:last-child { display:none; }
  #software .product-card-name { display:block; min-width:0; color:var(--fg); font-size:16px; font-weight:750; letter-spacing:-.025em; }
  #software .product-toggle-icon { display:block; justify-self:end; width:11px; height:11px; margin-right:4px; border-right:2px solid var(--accent); border-bottom:2px solid var(--accent); transform:rotate(45deg) translateY(-2px); transition:transform .2s ease; }
  #software .product-card.is-expanded .product-toggle-icon { transform:rotate(225deg) translate(-2px,-1px); }
  #software .product-card-details { display:none; padding-top:14px; margin-top:13px; border-top:1px solid var(--border); animation:product-reveal .22s ease-out; }
  #software .product-card.is-expanded .product-card-details { display:block; }
  #software .product-card-details .visually-hidden { display:none; }
  #software .product-card-details .product-tagline { margin-bottom:8px; font-size:14px; }
  #software .product-card-details .product-summary { margin-bottom:0; font-size:13px; line-height:1.45; }
  #software .product-card-details .product-actions { padding-top:12px; }
}
@keyframes product-reveal { from { opacity:0; transform:translateY(-4px); } to { opacity:1; transform:translateY(0); } }
@media (prefers-reduced-motion: reduce) { #software .product-toggle-icon { transition:none; } #software .product-card-details { animation:none; } }



/* Right-side mobile navigation sheet */
.mobile-menu-backdrop { display:none; }
.mobile-menu-label,.mobile-menu-contact { display:none; }
@media (max-width: 640px) {
  body.mobile-menu-open { overflow:hidden; }
  .mobile-menu-toggle { position:relative; z-index:4; }
  #site-header .mobile-menu-backdrop { display:block; position:fixed; inset:0; z-index:2; width:100%; height:100%; padding:0; border:0; border-radius:0; background:rgba(9,26,31,.28); backdrop-filter:blur(9px); -webkit-backdrop-filter:blur(9px); opacity:0; visibility:hidden; cursor:default; transition:opacity .32s ease,visibility .32s ease; }
  #site-header.menu-open .mobile-menu-backdrop { opacity:1; visibility:visible; }
  nav.links { display:flex; position:fixed; z-index:3; inset:0 0 0 auto; flex-direction:column; align-items:stretch; gap:3px; width:min(88vw,380px); height:100vh; height:100dvh; margin:0; padding:calc(env(safe-area-inset-top,0px) + 86px) 22px calc(env(safe-area-inset-bottom,0px) + 24px); overflow-y:auto; border:0; border-left:1px solid color-mix(in srgb,var(--brand) 13%,transparent); border-radius:24px 0 0 24px; background:var(--card); box-shadow:-18px 0 54px rgba(11,34,38,.2); transform:translateX(105%); visibility:hidden; transition:transform .38s cubic-bezier(.22,1,.36,1),visibility .38s; }
  #site-header.menu-open nav.links { display:flex; transform:translateX(0); visibility:visible; }
  .mobile-menu-label { display:block; padding:0 10px 15px; margin-bottom:7px; border-bottom:1px solid var(--line); color:var(--muted); font-size:10px; font-weight:750; letter-spacing:.16em; }
  nav.links > a,.drop > a { display:flex; align-items:center; justify-content:space-between; width:100%; min-height:48px; padding:13px 10px; border-bottom:1px solid color-mix(in srgb,var(--line) 72%,transparent); border-radius:10px; text-align:left; font-size:16px; }
  nav.links > a[aria-current="page"],.drop > a[aria-current="page"] { color:var(--accent); background:var(--accent-dim); }
  nav.links > .drop { width:100%; }
  .drop-menu { width:100%; margin:3px 0 5px; padding:5px 0 5px 10px; border:0; border-left:2px solid var(--accent); border-radius:0; background:transparent; box-shadow:none; }
  .drop-menu a { min-height:40px; padding:10px 12px; border-radius:8px; font-size:14px; }
  .mobile-menu-contact { display:flex; align-items:center; justify-content:space-between; min-height:52px; margin-top:auto; padding:14px 16px; border:0; border-radius:15px; color:#fff; background:var(--fg); font-size:15px; font-weight:700; box-shadow:0 10px 24px rgba(18,43,48,.16); }
  .mobile-menu-contact span { font-size:19px; }
}
@media (prefers-reduced-motion: reduce) { #site-header .mobile-menu-backdrop,nav.links { transition:none !important; } }

/* Standalone contact and migrated editorial content. */
.contact-layout { display:grid; grid-template-columns:minmax(0,1.15fr) minmax(280px,.85fr); gap:clamp(28px,6vw,84px); align-items:start; }
.contact-form { display:grid; gap:16px; max-width:none; }
.contact-form h2,.contact-aside h2 { margin:0 0 8px; font-size:clamp(28px,4vw,46px); }
.contact-form label { display:grid; gap:7px; color:var(--fg); font-size:13px; font-weight:700; }
.contact-form label span { color:var(--muted); font-weight:500; }
.contact-form input,.contact-form select,.contact-form textarea { width:100%; padding:13px 14px; border:1px solid var(--line); border-radius:12px; color:var(--fg); background:var(--card); font:inherit; outline:none; }
.contact-form input:focus,.contact-form select:focus,.contact-form textarea:focus { border-color:var(--accent); box-shadow:0 0 0 4px var(--accent-dim); }
.contact-form .contact-consent { display:flex; grid-template-columns:none; flex-direction:row; align-items:flex-start; gap:10px; color:var(--muted); font-weight:500; }
.contact-form .contact-consent input { width:18px; flex:0 0 18px; margin-top:2px; }
.contact-trap { position:absolute; left:-10000px; width:1px; height:1px; overflow:hidden; }
.contact-status { margin-bottom:24px; padding:16px 18px; border-radius:14px; font-weight:650; }
.contact-status.is-success { color:#1e6845; background:#e6f6ec; border:1px solid #bfe5ce; }
.contact-status.is-error { color:#8a332d; background:#fff0ee; border:1px solid #efc5c0; }
.contact-aside { position:sticky; top:110px; padding:28px; border:1px solid var(--line); border-radius:24px; background:linear-gradient(145deg,var(--card),var(--brand-soft)); box-shadow:var(--shadow-md); }
.contact-phone { display:block; margin:24px 0 14px; color:var(--accent); font-size:clamp(25px,4vw,42px); font-weight:800; letter-spacing:-.04em; }
.article-stage { min-height:0; }
.article-hero { max-width:980px; padding:clamp(64px,9vw,130px) 0 clamp(48px,7vw,90px); }
.article-hero h1 { max-width:18ch; margin:18px 0; font-size:clamp(42px,7vw,86px); }
.article-date { color:var(--muted); }
.article-wrap { max-width:980px; }
.article-content { padding:clamp(48px,8vw,100px) 0; color:var(--fg); font-size:17px; line-height:1.75; }
.article-content h2,.article-content h3,.article-content h4 { margin:1.8em 0 .65em; line-height:1.12; }
.article-content h2 { font-size:clamp(28px,4vw,44px); }
.article-content h3 { font-size:clamp(22px,3vw,32px); }
.article-content p,.article-content ul,.article-content ol,.article-content blockquote { max-width:76ch; }
.article-content img { width:auto; max-width:100%; height:auto; margin:28px auto; border-radius:18px; }
.article-content figure { max-width:100%; margin:34px 0; }
.article-content figcaption { color:var(--muted); font-size:13px; text-align:center; }
.article-content blockquote { margin:30px 0; padding:20px 24px; border-left:4px solid var(--accent); border-radius:0 16px 16px 0; background:var(--brand-soft); }
.article-content table { display:block; max-width:100%; overflow:auto; border-collapse:collapse; }
.article-content td,.article-content th { padding:10px 12px; border:1px solid var(--line); }

@media (max-width:700px) {
  .contact-layout { grid-template-columns:1fr; }
  .contact-aside { position:static; }
  .article-hero { padding:52px 0 44px; }
  .article-content { padding:42px 0; font-size:16px; }
}



/* Keep the backup app's sidebar visible on small screens */
@media (max-width: 640px) {
  .browser.dash .app { display:grid; grid-template-columns:92px minmax(0,1fr); align-items:stretch; }
  .browser.dash .side { display:block; min-width:0; padding:12px 6px; border-right:1px solid #e2ecea; background:linear-gradient(180deg,#f7fbfa,#f0f6f5); font-size:9px; }
  .browser.dash .side strong { margin-bottom:10px; font-size:9px; line-height:1.15; letter-spacing:.045em; overflow-wrap:anywhere; }
  .browser.dash .side a { margin:0 0 3px; padding:7px 5px; border-radius:8px; font-size:9px; line-height:1.2; overflow-wrap:anywhere; }
  .browser.dash .main { min-width:0; padding:12px 9px 10px; }
  .browser.dash .main-h { gap:5px; }
  .browser.dash .main-h h2 { font-size:13px; }
  .browser.dash .clinic { padding:4px 6px; font-size:8px; }
}



/* Extra breathing room around the floating dashboard on mobile */
@media (max-width: 640px) {
  .hero-cinematic .perspective { width:calc(100% - 20px); margin-inline:auto; }
}



/* The floating app preview is intentionally omitted on mobile. */
@media (max-width: 640px) { .hero-cinematic .hero-art { display:none; } }


@media (max-width: 640px) {
  body.home .home-stage { min-height:0; }
  body.home .hero-photo-wrap,body.home .hero-photo-hint { display:none; }
}


@media (max-width: 640px) { body.home #cerca { padding-top:64px; } }


/* Service overview: consistent cards, proof points and mobile stacking */
.services-grid .tile { min-height: 220px; }
.services-grid .tile.wide { min-height: 452px; }
.services-grid .tile .tile-ico { color: var(--brand-dark); background: var(--brand-soft); border-color: transparent; }
.services-grid .tile a.more { line-height: 1.35; }
.service-proof {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0 0 76px;
  padding: 0 !important;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, var(--surface), color-mix(in srgb, var(--brand-soft) 62%, var(--surface)));
  box-shadow: var(--shadow-sm);
}
.service-proof-item { min-height: 128px; padding: 24px 26px; display: flex; flex-direction: column; justify-content: center; gap: 7px; }
.service-proof-item + .service-proof-item { border-left: 1px solid var(--border); }
.service-proof-item strong { color: var(--heading); font-size: 16px; letter-spacing: -0.02em; }
.service-proof-item span { color: var(--muted); font-size: 13px; line-height: 1.45; }
@media (max-width: 860px) {
  .services-grid .tile { min-height: 190px; }
  .services-grid .tile.wide { min-height: 190px; }
  .service-proof { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-proof-item:nth-child(3) { border-left: 0; border-top: 1px solid var(--border); }
  .service-proof-item:nth-child(4) { border-top: 1px solid var(--border); }
}
@media (max-width: 520px) {
  .service-proof { grid-template-columns: 1fr; }
  .service-proof-item { min-height: 96px; padding: 18px 20px; }
  .service-proof-item + .service-proof-item { border-left: 0; border-top: 1px solid var(--border); }
}



/* Page flourish: a quiet technology orbit, animated cards and proof points. */
.services-page .stage { position: relative; overflow: hidden; }
.services-page .page-hero { position: relative; max-width: 1160px; min-height: 392px; padding: 52px 370px 42px 0; isolation: isolate; }
.services-page .page-hero > :not(.service-orbit) { position: relative; z-index: 2; }
.services-page .service-orbit { position: absolute; z-index: 1; width: 330px; height: 330px; right: 12px; top: 24px; display: grid; place-items: center; pointer-events: none; }
.services-page .service-orbit-ring { position: absolute; inset: 23px; border: 1px solid color-mix(in srgb, var(--brand) 22%, transparent); border-radius: 50%; }
.services-page .service-orbit-ring::before, .services-page .service-orbit-ring::after { content: ""; position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 18px color-mix(in srgb, var(--brand) 65%, transparent); }
.services-page .ring-a { animation: orbit-turn 26s linear infinite; }
.services-page .ring-a::before { top: 37px; left: 28px; }
.services-page .ring-a::after { right: 27px; bottom: 43px; width: 6px; height: 6px; }
.services-page .ring-b { inset: 57px; border-style: dashed; opacity: .72; animation: orbit-turn 38s linear infinite reverse; }
.services-page .ring-b::before { right: 27px; top: 30px; width: 5px; height: 5px; }
.services-page .ring-b::after { left: 29px; bottom: 36px; width: 7px; height: 7px; }
.services-page .service-orbit-core { width: 130px; height: 130px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; border: 1px solid color-mix(in srgb, var(--brand) 20%, var(--border)); border-radius: 38px; background: color-mix(in srgb, var(--surface) 86%, transparent); box-shadow: 0 18px 55px rgba(20,60,65,.12), inset 0 1px rgba(255,255,255,.75); backdrop-filter: blur(12px); transform: rotate(-5deg); animation: core-drift 6s ease-in-out infinite; }
.services-page .service-orbit-core span { color: var(--brand-dark); font-size: 44px; line-height: 1; font-weight: 750; letter-spacing: -.11em; }
.services-page .service-orbit-core img { display:block; width:82px; height:auto; max-height:48px; object-fit:contain; }
.services-page .service-orbit-core small { color: var(--muted); font-size: 8px; font-weight: 700; line-height: 1.35; letter-spacing: .13em; text-align: center; }
.services-page .service-orbit-node { position: absolute; padding: 9px 13px; border: 1px solid color-mix(in srgb, var(--brand) 15%, var(--border)); border-radius: 999px; color: var(--heading); background: color-mix(in srgb, var(--surface) 90%, transparent); box-shadow: var(--shadow-sm); font-size: 11px; font-weight: 650; letter-spacing: -.01em; backdrop-filter: blur(10px); animation: node-drift 5s ease-in-out infinite; }
.services-page .node-a { top: 35px; left: 99px; animation-delay: -1.2s; }
.services-page .node-b { top: 128px; right: -5px; animation-delay: -.4s; }
.services-page .node-c { bottom: 40px; left: 96px; animation-delay: -2s; }
.services-page .node-d { left: -7px; top: 152px; animation-delay: -2.8s; }
.services-page .services-grid .tile { position: relative; overflow: hidden; border-color: color-mix(in srgb, var(--brand) 11%, var(--border)); transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease; }
.services-page .services-grid .tile::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, transparent, var(--brand), color-mix(in srgb, var(--brand) 12%, transparent)); opacity: .65; transform: scaleX(.24); transform-origin: left; transition: transform .35s ease, opacity .35s ease; }
.services-page .services-grid .tile::after { content: ""; position: absolute; width: 150px; height: 150px; right: -90px; top: -94px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--brand) 14%, transparent), transparent 70%); opacity: 0; transform: scale(.7); transition: opacity .35s ease, transform .45s ease; pointer-events: none; }
.services-page .services-grid .tile:hover, .services-page .services-grid .tile:focus-within { transform: translateY(-6px); border-color: color-mix(in srgb, var(--brand) 40%, var(--border)); box-shadow: 0 18px 42px rgba(19,62,65,.12); }
.services-page .services-grid .tile:hover::before, .services-page .services-grid .tile:focus-within::before { transform: scaleX(1); opacity: 1; }
.services-page .services-grid .tile:hover::after, .services-page .services-grid .tile:focus-within::after { opacity: 1; transform: scale(1); }
.services-page .services-grid .tile .tile-ico { transition: transform .32s cubic-bezier(.2,.75,.25,1), background .32s ease, color .32s ease; }
.services-page .services-grid .tile:hover .tile-ico, .services-page .services-grid .tile:focus-within .tile-ico { transform: translateY(-3px) rotate(-5deg) scale(1.08); background: color-mix(in srgb, var(--brand) 18%, var(--brand-soft)); }
.services-page .service-proof { position: relative; isolation: isolate; }
.services-page .service-proof::after { content: ""; position: absolute; z-index: -1; width: 280px; height: 280px; right: -110px; top: -190px; border: 1px solid color-mix(in srgb, var(--brand) 16%, transparent); border-radius: 50%; box-shadow: 0 0 0 24px color-mix(in srgb, var(--brand) 4%, transparent), 0 0 0 50px color-mix(in srgb, var(--brand) 3%, transparent); animation: proof-glow 8s ease-in-out infinite alternate; }
html.service-reveal-ready .services-page .services-grid .tile, html.service-reveal-ready .services-page .service-proof-item { opacity: 0; transform: translateY(18px); transition: opacity .55s ease var(--reveal-delay, 0ms), transform .55s cubic-bezier(.2,.75,.25,1) var(--reveal-delay, 0ms); }
html.service-reveal-ready .services-page .services-grid .tile.is-visible, html.service-reveal-ready .services-page .service-proof-item.is-visible { opacity: 1; transform: translateY(0); }
@keyframes orbit-turn { to { transform: rotate(360deg); } }
@keyframes core-drift { 0%,100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@keyframes node-drift { 0%,100% { translate: 0 0; } 50% { translate: 0 -5px; } }
@keyframes proof-glow { from { transform: translate(-8px, 0) scale(.96); opacity: .65; } to { transform: translate(7px, 9px) scale(1.04); opacity: 1; } }
@media (max-width: 860px) { .services-page .page-hero { min-height: 340px; padding-right: 285px; } .services-page .service-orbit { width: 270px; height: 270px; right: -4px; top: 32px; transform: scale(.88); transform-origin: center right; } }
@media (max-width: 640px) { .services-page .page-hero { min-height: 0; padding: 36px 0 24px; } .services-page .service-orbit { display: none; } .services-page .services-grid .tile:hover { transform: none; } }
@media (prefers-reduced-motion: reduce) { .services-page .service-orbit-ring, .services-page .service-orbit-core, .services-page .service-orbit-node, .services-page .service-proof::after { animation: none !important; } .services-page .services-grid .tile, .services-page .services-grid .tile::before, .services-page .services-grid .tile::after, .services-page .services-grid .tile-ico { transition: none !important; } html.service-reveal-ready .services-page .services-grid .tile, html.service-reveal-ready .services-page .service-proof-item { opacity: 1; transform: none; transition: none; } }
.services-page .service-faq { max-width: 920px; margin: 12px auto 76px; }
.services-page .service-faq details { border-top: 1px solid var(--border); padding: 18px 4px; color: var(--muted); }
.services-page .service-faq details:last-child { border-bottom: 1px solid var(--border); }
.services-page .service-faq summary { color: var(--heading); font-weight: 650; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.services-page .service-faq summary::-webkit-details-marker { display: none; }
.services-page .service-faq summary::after { content: "+"; color: var(--brand-dark); font-size: 20px; line-height: 1; transition: transform .2s ease; }
.services-page .service-faq details[open] summary::after { transform: rotate(45deg); }
.services-page .service-faq details p { margin: 12px 36px 0 0; max-width: 72ch; line-height: 1.65; }
@media (prefers-reduced-motion: reduce) { .services-page .service-faq summary::after { transition: none; } }
.services-page .service-location-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.services-page .service-location-card { min-height: 230px; }
.services-page .service-location-card .more { margin-top: auto; padding-top: 20px; }
html.service-reveal-ready .services-page .service-location-grid .tile { opacity: 0; transform: translateY(18px); transition: opacity .55s ease var(--reveal-delay, 0ms), transform .55s cubic-bezier(.2,.75,.25,1) var(--reveal-delay, 0ms); }
/* Keep the services hero aligned with the shared page-header format. */
.services-page .page-hero.hero-showcase { max-width: none; min-height: 0; padding: 26px clamp(24px,5vw,72px) 48px; text-align: center; }
.services-page .page-hero.hero-showcase h1 { max-width: none; padding: 0; }
.services-page .page-hero.hero-showcase .service-orbit { display: none; }
/* Keep the mobile drawer above every decorative layer. */
#site-header { z-index:99999 !important; isolation:isolate; }
body:has(#site-header.menu-open) .stage { position:relative; z-index:99999 !important; }
@media (max-width:860px) {
  #site-header .mobile-menu-toggle { z-index:100001; }
  #site-header .mobile-menu-backdrop { z-index:100000; background:rgba(9,26,31,.42); }
  #site-header nav.links { z-index:100002; border-left:1px solid color-mix(in srgb,var(--brand) 20%,var(--line)); background:#fff; box-shadow:-24px 0 64px rgba(11,34,38,.24); }
  #site-header nav.links a { border-radius:12px; padding:13px 14px; }
  #site-header nav.links a:hover,#site-header nav.links a[aria-current="page"] { background:var(--brand-soft); color:var(--brand-dark); }
}
html.service-reveal-ready .services-page .service-location-grid .tile.is-visible { opacity: 1; transform: translateY(0); }
@media (max-width: 640px) { .services-page .service-location-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { html.service-reveal-ready .services-page .service-location-grid .tile { opacity: 1; transform: none; transition: none; } }.services-page .location-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 18px; width: fit-content; min-height: 48px; margin-top: auto; padding: 6px 8px 6px 17px; border: 1px solid color-mix(in srgb, var(--brand) 22%, var(--border)); border-radius: 999px; background: color-mix(in srgb, var(--brand-soft) 72%, var(--surface)); color: var(--brand-dark); font-size: 14px; font-weight: 650; text-decoration: none; transition: background .22s ease, color .22s ease, border-color .22s ease, transform .22s ease, box-shadow .22s ease; }
.services-page .location-link-arrow { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--surface-solid); color: var(--brand-dark); font-size: 17px; transition: transform .22s ease, background .22s ease, color .22s ease; }
.services-page .location-link:hover { transform: translateY(-2px); border-color: var(--brand); background: var(--brand-dark); color: #fff; box-shadow: 0 8px 22px color-mix(in srgb, var(--brand) 22%, transparent); }
.services-page .location-link:hover .location-link-arrow { transform: translate(2px,-2px); background: #fff; color: var(--brand-dark); }
.services-page .location-link:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 45%, transparent); outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) { .services-page .location-link, .services-page .location-link-arrow { transition: none; } }
