/* =========================================================
   PRAGMA — Nuevo sitio estático
   Paleta de marca PRAGMA + diseño moderno tipo SaaS
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  --bg: #f2f3ee;
  --bg-2: #e8eae3;
  --surface: #fbfcf8;
  --surface-2: #f1f3ed;
  --line: rgba(15, 23, 42, 0.09);
  --line-strong: rgba(15, 23, 42, 0.16);

  --text: #0f172a;
  --muted: #4a5a72;
  --faint: #6f7f96;

  --accent: #0082ca;
  --accent-light: #0a85c8;
  --accent-dark: #0463a1;
  --accent-rgb: 0, 130, 202;

  --orange: #f78c00;
  --orange-rgb: 247, 140, 0;

  --grad: #0082ca;
  --grad-soft: linear-gradient(120deg, rgba(0,130,202,.07), rgba(0,130,202,.03) 55%, rgba(0,130,202,.08));

  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", monospace;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 50px rgba(15, 23, 42, 0.1);
  --glow: 0 18px 50px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(var(--accent-rgb), .12);

  --nav-h: 76px;
  --max-w: 1200px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001s !important; transition-duration: .001s !important; }
  .hero-bg-img { animation: none; }
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }

::selection { background: rgba(var(--accent-rgb), .35); color: #fff; }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #c3ccdb; border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ---------- Utilities ---------- */
.container { width: min(var(--max-w), 92%); margin-inline: auto; }
.container-sm { width: min(820px, 92%); margin-inline: auto; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tag {
  font-family: var(--font-mono);
  font-size: .8rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
}
.tag::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 12px rgba(var(--accent-rgb), .9);
}

.display-2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  line-height: 1.06;
  letter-spacing: -.02em;
  margin-bottom: 1.1rem;
}

.lead { font-size: clamp(1.02rem, 1.5vw, 1.15rem); color: var(--muted); max-width: 62ch; }

.section { padding: clamp(5rem, 10vw, 8.5rem) 0; position: relative; }
.section:nth-of-type(even) { background: linear-gradient(180deg, var(--bg-2), var(--bg)); }

.section-head { max-width: 760px; margin-bottom: 3.4rem; }
.section-head .lead { margin-top: .2rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  font-weight: 600;
  font-size: 1rem;
  padding: .95rem 1.6rem;
  border-radius: 99px;
  transition: transform .25s cubic-bezier(.2,.7,.3,1), box-shadow .25s, background .25s, border-color .25s;
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; transition: transform .25s; }
.btn:hover svg { transform: translateX(4px); }

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 10px 30px rgba(var(--accent-rgb), .4);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 44px rgba(var(--accent-rgb), .55); }

.btn-ghost {
  border: 1px solid var(--line-strong);
  color: var(--text);
  background: rgba(251,252,248,.5);
}
.btn-ghost:hover { border-color: var(--orange); color: var(--orange); background: rgba(var(--orange-rgb), .08); transform: translateY(-3px); }

.btn-lg { padding: 1.15rem 2.1rem; font-size: 1.06rem; }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Cursor glow ---------- */
.cursor-glow {
  position: fixed;
  top: 0; left: 0;
  width: 420px; height: 420px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(circle, rgba(var(--accent-rgb), .1) 0%, transparent 65%);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity .6s;
}
.cursor-glow.is-on { opacity: 1; }

/* ---------- Navbar ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background .35s, box-shadow .35s, border-color .35s, height .35s;
  border-bottom: 1px solid transparent;
}
.nav-inner {
  width: min(var(--max-w), 94%);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.nav.scrolled {
  background: rgba(251, 252, 248, .85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
  height: calc(var(--nav-h) - 8px);
  box-shadow: 0 10px 30px rgba(15, 23, 42, .08);
}
.brand { display: inline-flex; align-items: center; }
.brand-logo { height: 34px; width: auto; }

.nav-links { display: flex; align-items: center; gap: .4rem; }
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .55rem .95rem;
  font-size: .93rem;
  font-weight: 500;
  color: var(--muted);
  border-radius: 10px;
  transition: color .2s, background .2s;
  white-space: nowrap;
}
.nav-link:hover { color: var(--accent); background: rgba(var(--accent-rgb), .08); }
.nav-link.cta-btn {
  background: var(--grad);
  color: #fff;
  font-weight: 600;
  padding: .6rem 1.35rem;
  border-radius: 99px;
  box-shadow: 0 8px 24px rgba(var(--accent-rgb), .3);
}
.nav-link.cta-btn:hover { transform: translateY(-1px); box-shadow: 0 12px 30px rgba(var(--accent-rgb), .45); }

.chev { width: 15px; height: 15px; transition: transform .25s; }
.nav-drop { position: relative; }
.drop-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 270px;
  background: var(--surface);
  backdrop-filter: blur(18px);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: .5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .25s, transform .25s, visibility .25s;
  box-shadow: var(--shadow);
}
.drop-menu a {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .7rem .9rem;
  border-radius: 8px;
  font-size: .92rem;
  color: var(--muted);
  transition: background .2s, color .2s, transform .2s;
}
.drop-menu a:hover { background: rgba(var(--accent-rgb), .1); color: var(--accent); transform: translateX(4px); }
.nav-drop:hover .drop-menu,
.nav-drop:focus-within .drop-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-drop:hover .chev { transform: rotate(180deg); }

.nav-burger { display: none; flex-direction: column; gap: 5px; padding: 10px; }
.nav-burger span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 3rem) 0 6rem;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }

.hero-bg-img {
  position: absolute;
  inset: 0;
  background: url("../img/hero-bg-tech.png") center / cover no-repeat;
  animation: kenburns 26s ease-in-out infinite alternate;
  will-change: transform;
}
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 70% at 50% 45%, rgba(242,243,238,.66) 0%, rgba(242,243,238,.28) 60%, rgba(242,243,238,0) 100%);
}
@keyframes kenburns {
  from { transform: scale(1) translate(0, 0); }
  to { transform: scale(1.14) translate(1.2%, -1.4%); }
}

.grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 23, 42, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, .045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 20%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 20%, #000 30%, transparent 75%);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .18;
  animation: drift 16s ease-in-out infinite alternate;
}
.orb-1 { width: 520px; height: 520px; top: -160px; right: -120px; background: rgba(0,130,202,.25); }
.orb-2 { width: 460px; height: 460px; bottom: -140px; left: -140px; background: rgba(0,130,202,.16); animation-delay: -6s; }
.orb-3 { width: 380px; height: 380px; top: 30%; left: 42%; background: rgba(0,130,202,.14); animation-delay: -10s; }
.orb-4 { width: 480px; height: 480px; top: 6%; left: 4%; background: rgba(247,140,0,.16); animation-delay: -4s; }

@keyframes drift {
  from { transform: translate3d(0,0,0) scale(1); }
  to { transform: translate3d(60px,-40px,0) scale(1.15); }
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(980px, 92%);
  margin-inline: auto;
  text-align: center;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 7vw, 5.2rem);
  line-height: 1.03;
  letter-spacing: -.03em;
  margin-bottom: 1.6rem;
  text-wrap: balance;
}

.hero-sub {
  max-width: 640px;
  margin: 0 auto 2.4rem;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--muted);
}
.hero-sub strong { color: var(--text); font-weight: 600; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  justify-content: center;
  margin-bottom: 4rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.6rem;
  padding-top: 2.2rem;
  border-top: 1px solid var(--line);
}
.badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  padding: .7rem 1.3rem .7rem .9rem;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.badge img { height: 26px; width: auto; }
.badge-ribbon {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent-light);
  padding: .3rem .65rem;
  border-radius: 99px;
  background: rgba(var(--accent-rgb), .14);
  border: 1px solid rgba(var(--accent-rgb), .35);
}
.badge-stat { text-align: left; }
.badge-stat strong, .stat strong {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.badge-stat span { color: var(--accent-light); font-weight: 700; }
.badge-stat p { font-size: .82rem; color: var(--muted); margin-top: .1rem; }

.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .35rem;
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--orange);
  z-index: 2;
  animation: bob 2.2s ease-in-out infinite;
}
.scroll-hint svg { width: 18px; height: 18px; color: var(--orange); }
@keyframes bob { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(8px); } }

/* ---------- Hero carousel ---------- */
.hero { flex-direction: column; justify-content: center; }
.carousel { position: relative; z-index: 2; width: min(1020px, 92%); margin-inline: auto; }
.carousel-track { position: relative; display: grid; }
.carousel-slide {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s ease, visibility .7s;
  pointer-events: none;
}
.carousel-slide.is-active { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
.carousel-slide .tag,
.carousel-slide .hero-title,
.carousel-slide .hero-sub,
.carousel-slide .carousel-logos,
.carousel-slide .hero-actions { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.carousel-slide.is-active .tag { opacity: 1; transform: none; transition-delay: .15s; }
.carousel-slide.is-active .hero-title { opacity: 1; transform: none; transition-delay: .3s; }
.carousel-slide.is-active .hero-sub { opacity: 1; transform: none; transition-delay: .45s; }
.carousel-slide.is-active .carousel-logos { opacity: 1; transform: none; transition-delay: .5s; }
.carousel-slide.is-active .hero-actions { opacity: 1; transform: none; transition-delay: .6s; }

.carousel-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.3rem;
  margin: 0 0 1.8rem;
}
.carousel-logos img {
  height: 104px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 14px 30px rgba(15,23,42,.16));
}

.carousel-controls { display: flex; align-items: center; justify-content: center; gap: 1.4rem; margin-top: 1.2rem; }
.c-arrow {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  color: var(--muted);
  transition: .25s;
}
.c-arrow:hover { color: #fff; border-color: transparent; background: var(--grad); transform: scale(1.06); }
.c-arrow svg { width: 20px; height: 20px; }
.c-dots { display: flex; gap: .5rem; }
.c-dot { width: 9px; height: 9px; border-radius: 99px; background: var(--line-strong); transition: .3s; }
.c-dot:hover { background: var(--accent-light); }
.c-dot.is-active { width: 30px; background: var(--grad); }
.c-progress { width: min(420px, 70%); height: 2px; margin: 1.4rem auto 0; background: var(--line); border-radius: 99px; overflow: hidden; }
.c-progress span { display: block; height: 100%; width: 0; background: var(--grad); }

/* ---------- Marquee ---------- */
.marquee-section { padding: 1.5rem 0 4.2rem; }
.marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  padding: 1.7rem 0;
  border-block: 1px solid var(--line);
}
.marquee-track { display: flex; width: max-content; animation: marquee 30s linear infinite; }
.marquee-section:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; gap: 5.4rem; padding-inline: 2.7rem; }
.m-logo { opacity: .7; transition: opacity .3s, transform .3s; }
.m-logo img { height: 62px; width: auto; }
.m-logo:hover { opacity: 1; transform: scale(1.06); }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee-caption {
  text-align: center;
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--faint);
  margin-top: 2rem;
}

/* ---------- Propósito ---------- */
.prop-statement { max-width: 900px; margin-inline: auto; text-align: center; }
.prop-statement .display-2 { font-size: clamp(2.2rem, 5vw, 4rem); }
.prop-statement .lead { margin-inline: auto; margin-top: .4rem; }

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 4rem;
}
.stat {
  text-align: center;
  padding: 2rem 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .3s, border-color .3s, box-shadow .3s;
}
.stat:hover { transform: translateY(-6px); border-color: rgba(var(--accent-rgb), .5); box-shadow: var(--glow); }
.stat strong { font-size: clamp(2.2rem, 4vw, 3rem); }
.stat span { color: var(--accent-light); font-weight: 700; font-size: 1.4rem; }
.stat p { color: var(--muted); font-size: .95rem; margin-top: .4rem; }

/* ---------- Cards grid (servicios) ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}
.card {
  position: relative;
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  overflow: hidden;
  transition: transform .35s cubic-bezier(.2,.7,.3,1), border-color .35s, box-shadow .35s;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grad-soft);
  opacity: 0;
  transition: opacity .35s;
  pointer-events: none;
}
.card:hover { transform: translateY(-8px); border-color: rgba(var(--accent-rgb), .55); box-shadow: var(--glow); }
.card:hover::before { opacity: 1; }

.card-icon {
  width: 54px; height: 54px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(var(--accent-rgb), .14);
  border: 1px solid rgba(var(--accent-rgb), .35);
  color: var(--accent-light);
  margin-bottom: 1.3rem;
  transition: transform .35s, background .35s;
}
.card-icon svg { width: 26px; height: 26px; }
.card:hover .card-icon { transform: rotate(-6deg) scale(1.08); background: var(--grad); color: #fff; border-color: transparent; }

.card h3 { font-family: var(--font-display); font-size: 1.28rem; font-weight: 600; margin-bottom: .6rem; }
.card p { color: var(--muted); font-size: .93rem; margin-bottom: 1.2rem; }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-weight: 600;
  font-size: .9rem;
  color: var(--accent-light);
  position: relative;
  z-index: 1;
}
.card-link svg { width: 16px; height: 16px; transition: transform .25s; }
.card-link:hover svg { transform: translateX(4px); }

/* ---------- Feature (observabilidad) ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.feature-copy .lead { margin-bottom: 2rem; }
.feature-logo { margin-bottom: 2rem; }
.feature-logo img { height: 40px; width: auto; }

.pulse-card {
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}
.pulse-head {
  display: flex;
  gap: .45rem;
  padding: .9rem 1.2rem;
  border-bottom: 1px solid var(--line);
}
.pulse-head .dot { width: 11px; height: 11px; border-radius: 50%; background: #2a3f66; }
.pulse-head .dot:nth-child(1) { background: #ff5f57; }
.pulse-head .dot:nth-child(2) { background: #febc2e; }
.pulse-head .dot:nth-child(3) { background: #28c840; }
.pulse-body {
  position: relative;
  height: 380px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 50%, rgba(var(--accent-rgb), .12), transparent 60%),
    repeating-linear-gradient(90deg, rgba(15,23,42,.05) 0 1px, transparent 1px 34px),
    repeating-linear-gradient(0deg, rgba(15,23,42,.05) 0 1px, transparent 1px 34px);
}
.pulse-ring { position: absolute; border-radius: 50%; border: 1px dashed rgba(var(--accent-rgb), .4); animation: pulse 4s ease-out infinite; }
.ring-1 { width: 180px; height: 180px; }
.ring-2 { width: 260px; height: 260px; animation-delay: 1.2s; }
.ring-3 { width: 340px; height: 340px; animation-delay: 2.4s; }
@keyframes pulse { from { transform: scale(.6); opacity: .9; } to { transform: scale(1.6); opacity: 0; } }

.pulse-core {
  width: 92px; height: 92px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  background: var(--grad);
  color: #fff;
  box-shadow: 0 0 0 8px rgba(var(--accent-rgb), .15), 0 20px 50px rgba(var(--accent-rgb), .4);
  animation: floaty 5s ease-in-out infinite;
}
.pulse-core svg { width: 44px; height: 44px; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

.pulse-chip {
  position: absolute;
  background: rgba(251,252,248,.92);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: .5rem .8rem;
  font-size: .78rem;
  color: var(--muted);
}
.pulse-chip span { display: block; font-family: var(--font-display); font-weight: 700; color: var(--accent-light); font-size: .92rem; }
.chip-1 { top: 18%; left: 12%; animation: floaty 6s ease-in-out infinite; }
.chip-2 { top: 26%; right: 10%; animation: floaty 6.5s ease-in-out .8s infinite; }
.chip-3 { bottom: 14%; left: 22%; animation: floaty 7s ease-in-out 1.4s infinite; }

/* ---------- Split cards (Oracle) ---------- */
.split-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.split-card { padding: 2.2rem 2rem; }
.split-icon {
  width: 60px; height: 60px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--grad);
  color: #fff;
  margin-bottom: 1.4rem;
  box-shadow: 0 12px 34px rgba(var(--accent-rgb), .4);
}
.split-icon svg { width: 30px; height: 30px; }
.split-card h3 { font-family: var(--font-display); font-size: 1.5rem; }
.split-card p { font-size: .98rem; margin-bottom: 1.4rem; }

/* ---------- Banner ---------- */
.banner {
  position: relative;
  padding: clamp(5rem, 9vw, 7.5rem) 0;
  overflow: hidden;
  text-align: center;
}
.banner-bg { position: absolute; inset: 0; pointer-events: none; }
.banner-bg .orb { opacity: .14; }
.banner-inner { position: relative; z-index: 2; }
.banner-inner .lead { margin: 0 auto 2.4rem; }

/* ---------- Why ---------- */
.why-grid {
  display: grid;
  grid-template-columns: minmax(300px, 1.05fr) 1.25fr;
  gap: 3.5rem;
  align-items: start;
}
.why-side { position: relative; }
.why-img {
  border-radius: 22px;
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  width: 100%;
}
.why-float-card {
  position: absolute;
  bottom: -1.4rem;
  left: -1.4rem;
  background: rgba(251, 252, 248, .95);
  backdrop-filter: blur(14px);
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  padding: 1.2rem 1.6rem;
  box-shadow: var(--shadow);
  animation: floaty 6s ease-in-out infinite;
}
.why-float-card strong { font-family: var(--font-display); font-size: 2.4rem; font-weight: 700; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.why-float-card span { color: var(--accent-light); font-weight: 700; }
.why-float-card p { color: var(--muted); font-size: .88rem; margin-top: .1rem; }

.why-list { display: flex; flex-direction: column; gap: .6rem; }
.why-item {
  display: flex;
  gap: 1.2rem;
  padding: 1.5rem 1.4rem;
  border-radius: 16px;
  border: 1px solid transparent;
  transition: background .3s, border-color .3s, transform .3s;
}
.why-item:hover { background: var(--surface); border-color: var(--line); transform: translateX(6px); }
.why-num {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: .85rem;
  font-weight: 600;
  color: var(--accent-light);
  background: rgba(var(--accent-rgb), .12);
  border: 1px solid rgba(var(--accent-rgb), .35);
  border-radius: 10px;
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
}
.why-item h3 { font-family: var(--font-display); font-size: 1.18rem; margin-bottom: .3rem; }
.why-item p { color: var(--muted); font-size: .94rem; }

/* ---------- Sani ---------- */
.sani-top { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; margin-bottom: 3rem; padding-bottom: 2rem; border-bottom: 1px solid var(--line); }
.sani-logo {
  background: #fff;
  border-radius: 14px;
  padding: 1.1rem 1.6rem;
  box-shadow: var(--shadow);
}
.sani-logo img { height: 44px; width: auto; }
.inline-link { color: var(--accent-light); border-bottom: 1px solid rgba(var(--accent-rgb), .4); transition: border-color .2s; }
.inline-link:hover { border-color: var(--accent-light); }

.sani-body { display: grid; grid-template-columns: 1.3fr .7fr; gap: 3rem; align-items: center; }
.sani-img { position: relative; display: grid; place-items: center; }
.sani-img img { max-height: 380px; width: auto; filter: drop-shadow(0 30px 60px rgba(15,23,42,.16)); animation: floaty 7s ease-in-out infinite; }

.steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 1rem;
  margin-top: 3.5rem;
}
.step { text-align: center; padding: 1.8rem 1.2rem; }
.step-num {
  width: 64px; height: 64px;
  margin: 0 auto 1rem;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: #fff;
  border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 0 8px rgba(var(--accent-rgb), .12), 0 14px 34px rgba(var(--accent-rgb), .4);
}
.step h3 { font-family: var(--font-display); font-size: 1.15rem; margin-bottom: .4rem; }
.step p { color: var(--muted); font-size: .92rem; max-width: 26ch; margin-inline: auto; }
.step-line { align-self: center; height: 1px; background: linear-gradient(90deg, transparent, var(--line-strong), transparent); }

/* ---------- Casos ---------- */
.casos-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 4rem;
  align-items: center;
}
.casos-visual { position: relative; }
.casos-visual img { border-radius: 22px; border: 1px solid var(--line-strong); box-shadow: var(--shadow); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.casos-float {
  position: absolute;
  top: -1.6rem;
  right: -1.2rem;
  background: var(--grad);
  color: #fff;
  border-radius: 18px;
  padding: 1.2rem 1.7rem;
  box-shadow: var(--glow);
  text-align: center;
  animation: floaty 6s ease-in-out infinite;
}
.casos-float strong { font-family: var(--font-display); font-size: 2.6rem; font-weight: 700; line-height: 1; }
.casos-float span { font-weight: 700; font-size: 1.6rem; }
.casos-float p { font-size: .85rem; font-weight: 600; margin-top: .2rem; }

.check-list { margin: 1.6rem 0 2.2rem; display: flex; flex-direction: column; gap: 1rem; }
.check-list li { display: flex; gap: .9rem; align-items: flex-start; }
.check {
  flex-shrink: 0;
  width: 30px; height: 30px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: rgba(var(--accent-rgb), .16);
  border: 1px solid rgba(var(--accent-rgb), .45);
  color: var(--accent-light);
  font-weight: 700;
  font-size: .9rem;
}
.check-list strong { color: var(--text); }
.check-list div { color: var(--muted); font-size: .98rem; }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.team-card {
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 2rem;
  transition: transform .35s, border-color .35s, box-shadow .35s;
  position: relative;
  overflow: hidden;
}
.team-card:hover { transform: translateY(-6px); border-color: rgba(var(--accent-rgb), .5); box-shadow: var(--glow); }
.team-card img { border-radius: 16px; margin-bottom: 1.4rem; }
.team-card h3 { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: .7rem; }
.team-card p { color: var(--muted); font-size: .97rem; }
.convenio-img {
  background: #fff;
  border-radius: 16px;
  padding: 1.2rem;
  margin-bottom: 1.4rem;
  display: grid;
  place-items: center;
}
.convenio-img img { margin: 0; max-height: 150px; width: auto; }

/* ---------- FAQ ---------- */
.accordion { display: flex; flex-direction: column; gap: .8rem; }
.acc-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color .3s;
}
.acc-item.open { border-color: rgba(var(--accent-rgb), .55); }
.acc-head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.08rem;
  text-align: left;
  transition: color .25s;
}
.acc-item.open .acc-head { color: var(--accent-light); }
.acc-icon { width: 20px; height: 20px; flex-shrink: 0; color: var(--accent-light); transition: transform .35s; }
.acc-item.open .acc-icon { transform: rotate(180deg); }
.acc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .45s cubic-bezier(.2,.7,.3,1);
}
.acc-body p { padding: 0 1.5rem 1.4rem; color: var(--muted); font-size: .96rem; }

/* ---------- Contacto ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 4rem;
  align-items: start;
}
.contact-copy .lead { margin-bottom: 2rem; }
.contact-info { display: flex; flex-direction: column; gap: .8rem; }
.info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .9rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
  transition: border-color .3s, background .3s, transform .3s;
}
.info-item:hover { border-color: rgba(var(--accent-rgb), .5); background: rgba(var(--accent-rgb), .06); transform: translateX(4px); }
.info-icon {
  width: 46px; height: 46px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(var(--accent-rgb), .14);
  border: 1px solid rgba(var(--accent-rgb), .35);
  color: var(--accent-light);
}
.info-icon svg { width: 22px; height: 22px; }
.info-item span { font-weight: 600; display: block; }
.info-item small { color: var(--muted); }

.contact-form {
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 2.2rem;
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-field { margin-bottom: 1.1rem; }
.form-field label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: .45rem; color: var(--muted); }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  background: var(--surface-2);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: .85rem 1rem;
  color: var(--text);
  font-family: inherit;
  font-size: .95rem;
  transition: border-color .25s, box-shadow .25s;
}
.form-field textarea { resize: vertical; min-height: 110px; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent-light);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .2);
}
.form-field select option { background: var(--surface); color: var(--text); }
.form-check { display: flex; gap: .6rem; align-items: flex-start; margin-bottom: 1.2rem; }
.form-check input { margin-top: .3rem; accent-color: var(--accent); }
.form-check label { font-size: .85rem; color: var(--muted); }
.form-check a { color: var(--accent-light); }
.form-status { font-size: .9rem; font-weight: 600; margin-top: .9rem; text-align: center; min-height: 1.2em; }
.form-status.ok { color: #34d399; }
.form-status.err { color: #f87171; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); background: linear-gradient(180deg, var(--surface), var(--bg-2)); }
.footer-cta {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: clamp(5rem, 10vw, 8rem) 0;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(ellipse 60% 80% at 50% 120%, rgba(var(--accent-rgb), .1), transparent 70%);
}
.footer-cta-inner { position: relative; z-index: 2; }
.footer-cta .display-2 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
.footer-cta p { color: var(--muted); max-width: 560px; margin: 0 auto 2.2rem; font-size: 1.08rem; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding: 4.5rem 0 3rem;
}
.footer-logo { height: 32px; width: auto; margin-bottom: 1.2rem; }
.footer-brand p { color: var(--muted); font-size: .92rem; margin-bottom: 1.4rem; max-width: 40ch; }
.footer-contact { display: flex; flex-direction: column; gap: .6rem; margin-bottom: 1.5rem; }
.footer-contact a { display: flex; align-items: center; gap: .65rem; color: var(--muted); font-size: .95rem; transition: color .2s; }
.footer-contact a:hover { color: var(--accent-light); }
.footer-contact svg { width: 19px; height: 19px; flex-shrink: 0; color: var(--accent-light); }
.socials { display: flex; gap: .7rem; }
.socials a {
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid var(--line);
  color: var(--muted);
  transition: background .25s, color .25s, border-color .25s, transform .25s;
}
.socials a svg { width: 19px; height: 19px; }
.socials a:hover { background: var(--grad); color: #fff; border-color: transparent; transform: translateY(-3px); }

.footer-col h4 { font-family: var(--font-display); font-size: .95rem; letter-spacing: .06em; text-transform: uppercase; color: var(--text); margin-bottom: 1.1rem; }
.footer-col a { display: block; color: var(--muted); font-size: .92rem; padding: .32rem 0; transition: color .2s, transform .2s; }
.footer-col a:hover { color: var(--accent-light); transform: translateX(4px); }

.footer-bottom { border-top: 1px solid var(--line); padding: 1.6rem 0; }
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  text-align: center;
}
.footer-bottom p { color: var(--faint); font-size: .85rem; }
.footer-bottom img { height: 34px; width: auto; }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .8s cubic-bezier(.2,.7,.3,1), transform .8s cubic-bezier(.2,.7,.3,1);
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* Stagger helpers */
.cards-grid .reveal:nth-child(1) { transition-delay: .05s; }
.cards-grid .reveal:nth-child(2) { transition-delay: .15s; }
.cards-grid .reveal:nth-child(3) { transition-delay: .25s; }
.cards-grid .reveal:nth-child(4) { transition-delay: .35s; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    top: 0; right: 0;
    height: 100svh;
    width: min(340px, 85vw);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: .3rem;
    padding: calc(var(--nav-h) + 1rem) 1.4rem 2rem;
    background: rgba(251, 252, 248, .97);
    backdrop-filter: blur(20px);
    border-left: 1px solid var(--line);
    transform: translateX(100%);
    transition: transform .4s cubic-bezier(.2,.7,.3,1);
    overflow-y: auto;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-link { padding: .85rem 1rem; font-size: 1.02rem; }
  .nav-link.cta-btn { justify-content: center; margin-top: .6rem; }
  .nav-drop { display: flex; flex-direction: column; }
  .drop-trigger { justify-content: space-between; width: 100%; }
  .drop-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: transparent;
    border: none;
    padding: 0 0 0 .8rem;
    display: none;
    min-width: 0;
  }
  .nav-drop.open .drop-menu { display: block; }
  .nav-drop.open .chev { transform: rotate(180deg); }
  .nav-burger { display: flex; z-index: 10; }

  .feature-grid, .why-grid, .casos-grid, .contact-grid, .sani-body, .team-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .step-line { display: none; }
  .why-float-card { left: 1rem; }
  .casos-float { right: 1rem; }
}

@media (max-width: 560px) {
  .cards-grid, .stat-grid, .split-cards, .form-row, .footer-grid { grid-template-columns: 1fr; }
  .hero-badges { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .sani-top { flex-direction: column; text-align: center; }
  .contact-form { padding: 1.6rem; }
  .detail-grid, .values-grid, .people-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
}

/* =========================================================
   Páginas internas
   ========================================================= */

/* ---------- Page hero ---------- */
.page-hero {
  position: relative;
  padding: calc(var(--nav-h) + 4.5rem) 0 4rem;
  text-align: center;
  overflow: hidden;
}
.page-hero .orb { opacity: .15; }
.page-hero-inner { position: relative; z-index: 2; }
.breadcrumb {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .55rem;
  font-family: var(--font-mono);
  font-size: .76rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 1.4rem;
}
.breadcrumb a { color: var(--muted); transition: color .2s; }
.breadcrumb a:hover { color: var(--accent-light); }
.breadcrumb .sep { color: var(--accent-light); }
.page-hero .display-2 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
.page-hero .lead { margin-inline: auto; }
.page-hero-img {
  margin: 3rem auto 0;
  width: min(880px, 92%);
}
.page-hero-img img {
  width: 100%;
  border-radius: 22px;
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

/* ---------- Detail service cards ---------- */
.detail-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.detail-grid .card h3 { font-size: 1.12rem; }

/* ---------- Split (imagen + texto) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.split img { width: 100%; border-radius: 20px; border: 1px solid var(--line-strong); box-shadow: var(--shadow); }
.split .lead { margin-bottom: 1.2rem; }

/* ---------- Challenges / feature list ---------- */
.challenge-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.challenge {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
  transition: transform .3s, border-color .3s, box-shadow .3s;
}
.challenge:hover { transform: translateY(-6px); border-color: rgba(var(--accent-rgb), .5); box-shadow: var(--glow); }
.challenge h3 { font-family: var(--font-display); font-size: 1.05rem; margin-bottom: .5rem; color: var(--accent-light); }
.challenge p { color: var(--muted); font-size: .9rem; }

/* ---------- Tech feature list ---------- */
.tech-list { display: flex; flex-direction: column; gap: 1rem; margin: 2rem 0; }
.tech-item {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.4rem 1.5rem;
  transition: border-color .3s, transform .3s;
}
.tech-item:hover { border-color: rgba(var(--accent-rgb), .5); transform: translateX(6px); }
.tech-item .card-icon { margin-bottom: 0; flex-shrink: 0; width: 48px; height: 48px; }
.tech-item h3 { font-family: var(--font-display); font-size: 1.15rem; margin-bottom: .3rem; }
.tech-item p { color: var(--muted); font-size: .94rem; }
.tech-logo { display: grid; place-items: center; }
.tech-logo img { max-height: 340px; width: auto; filter: drop-shadow(0 30px 60px rgba(15,23,42,.16)); }

/* ---------- Quote ---------- */
.quote {
  border-left: 3px solid var(--accent);
  background: var(--surface);
  border-radius: 0 16px 16px 0;
  padding: 1.6rem 2rem;
  margin-top: 2rem;
}
.quote p { color: var(--text); font-size: 1.02rem; }
.quote cite { display: block; margin-top: .9rem; color: var(--accent-light); font-style: normal; font-weight: 600; }

/* ---------- Values ---------- */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }

/* ---------- People (directorio / gerencia) ---------- */
.people-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.person {
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.3rem;
  text-align: center;
  transition: transform .3s, border-color .3s, box-shadow .3s;
}
.person:hover { transform: translateY(-6px); border-color: rgba(var(--accent-rgb), .5); box-shadow: var(--glow); }
.person img {
  width: 104px; height: 104px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  margin: 0 auto 1rem;
  border: 3px solid rgba(var(--accent-rgb), .45);
}
.person h4 { font-family: var(--font-display); font-size: 1.05rem; }
.person .role { color: var(--accent-light); font-size: .8rem; margin: .25rem 0 .6rem; }
.person p { color: var(--muted); font-size: .82rem; }
.person .socials { justify-content: center; margin-top: .9rem; }

/* ---------- Mission / vision cards ---------- */
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.mv-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  position: relative;
  overflow: hidden;
}
.mv-card::before { content: ""; position: absolute; inset: 0; background: var(--grad-soft); }
.mv-card h3 { font-family: var(--font-display); font-size: 1.3rem; margin-bottom: .8rem; position: relative; }
.mv-card p { color: var(--muted); position: relative; font-size: 1.02rem; }

/* ---------- Clients ---------- */
.filters { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-bottom: 2.6rem; }
.filter-btn {
  padding: .55rem 1.25rem;
  border-radius: 99px;
  border: 1px solid var(--line-strong);
  color: var(--muted);
  font-size: .88rem;
  font-weight: 600;
  transition: .25s;
}
.filter-btn:hover { color: var(--text); border-color: var(--accent-light); }
.filter-btn.active { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 8px 24px rgba(var(--accent-rgb), .35); }
.clients-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 1rem; }
.client-card {
  background: #fff;
  border-radius: 14px;
  padding: 1.4rem 1rem;
  display: grid;
  place-items: center;
  transition: transform .3s, box-shadow .3s;
}
.client-card:hover { transform: translateY(-5px) scale(1.02); box-shadow: 0 16px 40px rgba(15,23,42,.16); }
.client-card img { max-height: 60px; width: 100%; object-fit: contain; }
.client-card.hidden { display: none; }

/* ---------- Casos cards ---------- */
.caso-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.caso-card {
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  transition: transform .35s, border-color .35s, box-shadow .35s;
  display: flex;
  flex-direction: column;
}
.caso-card:hover { transform: translateY(-8px); border-color: rgba(var(--accent-rgb), .5); box-shadow: var(--glow); }
.caso-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.caso-body { padding: 1.8rem; display: flex; flex-direction: column; gap: .8rem; flex: 1; }
.caso-body h3 { font-family: var(--font-display); font-size: 1.3rem; }
.caso-body p { color: var(--muted); font-size: .95rem; }
.caso-inst { font-family: var(--font-mono); font-size: .78rem; color: var(--accent-light); letter-spacing: .08em; text-transform: uppercase; }
.caso-body .card-link { margin-top: auto; }

@media (max-width: 1080px) {
  .detail-grid, .challenge-grid { grid-template-columns: repeat(2, 1fr); }
  .people-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .caso-grid, .mv-grid { grid-template-columns: 1fr; }
  .carousel-track { min-height: 620px; }
}
@media (max-width: 560px) {
  .detail-grid, .challenge-grid, .values-grid, .people-grid { grid-template-columns: 1fr; }
  .carousel-track { min-height: 680px; }
}