:root {
  --navy-950: #041126;
  --navy-900: #071b3d;
  --navy-800: #0b2e68;
  --blue-700: #0b4ca1;
  --blue-600: #1268c4;
  --cyan-400: #32d7ff;
  --green-700: #00784f;
  --green-600: #008a5a;
  --green-100: #dff8ed;
  --ink: #10213d;
  --muted: #53627a;
  --surface: #ffffff;
  --surface-soft: #f4f7fc;
  --line: #dce4f0;
  --shadow-sm: 0 12px 32px rgba(7, 27, 61, .09);
  --shadow-lg: 0 26px 70px rgba(3, 17, 38, .24);
  --radius-sm: 14px;
  --radius: 22px;
  --radius-lg: 34px;
  --container: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background: var(--surface-soft);
  font-family: "Poppins", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body,
button,
input,
textarea,
select {
  font: inherit;
}

img,
svg,
canvas {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--blue-700);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 9999;
  padding: 10px 14px;
  border-radius: 10px;
  color: #fff;
  background: var(--navy-950);
  transform: translateY(-160%);
  transition: transform .2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 36px), var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  color: #fff;
  background: rgba(5, 22, 52, .94);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 8px 28px rgba(1, 11, 27, .16);
  backdrop-filter: blur(16px);
}

.header__inner {
  display: flex;
  min-height: 78px;
  align-items: center;
  gap: 22px;
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
}

.brand__logo {
  width: 62px;
  height: 48px;
  flex: 0 0 auto;
  object-fit: contain;
}

.brand__text {
  display: grid;
  line-height: 1.15;
}

.brand__text strong {
  font-size: 1.05rem;
  letter-spacing: -.01em;
}

.brand__text small {
  margin-top: 3px;
  color: #b9d8fa;
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  margin-left: auto;
  align-items: center;
  gap: 3px;
}

.site-nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 9px 11px;
  border-radius: 12px;
  color: #e5f0ff;
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
  transition: color .18s ease, background-color .18s ease, transform .18s ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: #fff;
  background: rgba(50, 215, 255, .13);
}

.site-nav a:hover {
  transform: translateY(-1px);
}

.site-nav .nav__app {
  margin-left: 8px;
  padding-inline: 17px;
  color: #fff;
  background: var(--green-700);
  box-shadow: 0 10px 24px rgba(0, 120, 79, .3);
}

.site-nav .nav__app:hover {
  background: #006944;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  margin-left: auto;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 12px;
  color: #fff;
  background: rgba(255, 255, 255, .07);
  cursor: pointer;
}

.nav-toggle__icon,
.nav-toggle__icon::before,
.nav-toggle__icon::after {
  width: 22px;
  height: 2px;
  border-radius: 99px;
  background: currentColor;
  content: "";
  transition: transform .2s ease, opacity .2s ease;
}

.nav-toggle__icon {
  position: relative;
}

.nav-toggle__icon::before,
.nav-toggle__icon::after {
  position: absolute;
  left: 0;
}

.nav-toggle__icon::before {
  top: -7px;
}

.nav-toggle__icon::after {
  top: 7px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon::after {
  top: 0;
  transform: rotate(-45deg);
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: transform .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  color: #fff;
  background: var(--green-700);
  box-shadow: 0 14px 30px rgba(0, 120, 79, .3);
}

.button--primary:hover {
  background: #006944;
  box-shadow: 0 17px 34px rgba(0, 105, 68, .34);
}

.button--light {
  color: var(--navy-900);
  background: #fff;
  box-shadow: 0 14px 30px rgba(0, 0, 0, .14);
}

.button--light:hover {
  background: #eaf6ff;
}

.button--outline {
  color: var(--navy-800);
  background: transparent;
  border-color: #aabbd2;
}

.button--outline:hover {
  background: #edf5ff;
  border-color: var(--blue-600);
}

.button--white-outline {
  color: #fff;
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .52);
}

.button--white-outline:hover {
  background: rgba(255, 255, 255, .14);
  border-color: #fff;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 82% 32%, rgba(50, 215, 255, .22), transparent 26%),
    radial-gradient(circle at 14% 12%, rgba(0, 138, 90, .32), transparent 34%),
    linear-gradient(135deg, var(--navy-950), var(--navy-800) 58%, #0a4b8d);
}

.hero::before,
.page-hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .15;
  background-image:
    linear-gradient(rgba(255, 255, 255, .16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .16) 1px, transparent 1px);
  background-size: 58px 58px;
  content: "";
  mask-image: linear-gradient(to bottom, #000, transparent 78%);
}

.hero__grid {
  display: grid;
  min-height: min(740px, calc(100svh - 78px));
  align-items: center;
  gap: clamp(34px, 6vw, 82px);
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr);
  padding-block: clamp(72px, 9vw, 118px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 16px;
  color: var(--blue-700);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 26px;
  height: 3px;
  border-radius: 99px;
  background: var(--green-600);
  content: "";
}

.hero .eyebrow,
.page-hero .eyebrow {
  color: #7fe9ff;
}

.hero .eyebrow::before,
.page-hero .eyebrow::before {
  background: #65e5b5;
}

.hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(2.65rem, 5.4vw, 5rem);
  line-height: 1.02;
  letter-spacing: -.045em;
}

.hero h1 span {
  color: var(--cyan-400);
}

.hero__lead {
  max-width: 670px;
  margin: 24px 0 0;
  color: #d4e5f9;
  font-size: clamp(1.02rem, 1.7vw, 1.19rem);
  line-height: 1.78;
}

.hero__actions,
.cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 32px;
}

.hero__visual {
  position: relative;
  display: grid;
  width: min(100%, 510px);
  aspect-ratio: 1;
  justify-self: end;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(110, 228, 255, .35);
  border-radius: 42% 58% 56% 44% / 50% 40% 60% 50%;
  background:
    radial-gradient(circle at 50% 45%, rgba(36, 205, 255, .23), transparent 42%),
    rgba(5, 24, 61, .52);
  box-shadow: inset 0 0 70px rgba(43, 211, 255, .09), var(--shadow-lg);
  animation: hero-float 7s ease-in-out infinite;
}

.hero__visual::before {
  position: absolute;
  width: 76%;
  aspect-ratio: 1;
  border: 1px solid rgba(82, 222, 255, .25);
  border-radius: 50%;
  box-shadow: 0 0 0 34px rgba(63, 218, 255, .035), 0 0 0 70px rgba(63, 218, 255, .025);
  content: "";
}

.hero__fallback {
  position: relative;
  z-index: 2;
  width: 82%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .35));
  transition: opacity .35s ease;
}

#robot3d {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity .35s ease;
}

.hero__visual.model-ready #robot3d {
  opacity: 1;
}

.hero__visual.model-ready .hero__fallback {
  opacity: 0;
}

.model-status {
  position: absolute;
  right: 18px;
  bottom: 17px;
  z-index: 4;
  margin: 0;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  color: #d4e9fb;
  background: rgba(4, 17, 38, .58);
  font-size: .72rem;
  backdrop-filter: blur(8px);
}

.hero__visual.model-ready .model-status,
.hero__visual.model-skipped .model-status,
.hero__visual.model-error .model-status {
  display: none;
}

@keyframes hero-float {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-10px) rotate(1deg); }
}

.stats-wrap {
  position: relative;
  z-index: 4;
  margin-top: -42px;
}

.stats {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .96);
  box-shadow: var(--shadow-sm);
  grid-template-columns: repeat(4, 1fr);
}

.stat {
  position: relative;
  padding: 26px 20px;
  text-align: center;
}

.stat + .stat::before {
  position: absolute;
  top: 22%;
  bottom: 22%;
  left: 0;
  width: 1px;
  background: var(--line);
  content: "";
}

.stat strong {
  display: block;
  color: var(--blue-700);
  font-size: clamp(1.75rem, 3vw, 2.45rem);
  line-height: 1.1;
}

.stat span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: .89rem;
  font-weight: 600;
}

.section {
  padding-block: clamp(72px, 9vw, 112px);
}

.section--compact {
  padding-block: clamp(50px, 7vw, 82px);
}

.section--white {
  background: var(--surface);
}

.section--tint {
  background: #eaf1fa;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading h2,
.split__content h2,
.content-card h2,
.cta h2 {
  margin: 0;
  color: var(--navy-900);
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.13;
  letter-spacing: -.035em;
}

.section-heading p {
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.split {
  display: grid;
  align-items: center;
  gap: clamp(36px, 7vw, 88px);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.split__content > p {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.media-panel {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 65% 25%, rgba(50, 215, 255, .35), transparent 28%),
    linear-gradient(145deg, var(--navy-950), var(--blue-700));
  box-shadow: var(--shadow-lg);
}

.media-panel::before,
.media-panel::after {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, .19);
  border-radius: 50%;
  content: "";
}

.media-panel::before {
  width: 300px;
  height: 300px;
  top: -85px;
  right: -55px;
}

.media-panel::after {
  width: 230px;
  height: 230px;
  bottom: -105px;
  left: -65px;
}

.media-panel img {
  position: absolute;
  inset: 50% auto auto 50%;
  z-index: 2;
  width: min(80%, 470px);
  max-height: 82%;
  object-fit: contain;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 22px 28px rgba(0, 0, 0, .3));
}

.cards {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 245px), 1fr));
}

.card {
  position: relative;
  padding: 27px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 30px rgba(7, 27, 61, .065);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.card:hover {
  border-color: #b6cce5;
  box-shadow: 0 18px 42px rgba(7, 27, 61, .11);
  transform: translateY(-5px);
}

.card__icon {
  display: grid;
  width: 54px;
  height: 54px;
  margin-bottom: 20px;
  place-items: center;
  border-radius: 16px;
  color: var(--blue-700);
  background: #e6f2ff;
  font-size: 1.45rem;
}

.card h2,
.card h3 {
  margin: 0;
  color: var(--navy-900);
  line-height: 1.28;
}

.card h2 {
  font-size: 1.42rem;
}

.card h3 {
  font-size: 1.15rem;
}

.card p {
  margin: 12px 0 0;
  color: var(--muted);
}

.card--dark {
  color: #fff;
  border-color: rgba(255, 255, 255, .12);
  background: linear-gradient(145deg, var(--navy-900), var(--navy-800));
}

.card--dark h2,
.card--dark h3 {
  color: #fff;
}

.card--dark p {
  color: #c8daf1;
}

.card--dark .card__icon {
  color: #82eaff;
  background: rgba(50, 215, 255, .12);
}

.projects-showcase {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 8% 12%, rgba(0, 138, 90, .3), transparent 27%),
    radial-gradient(circle at 92% 82%, rgba(18, 104, 196, .34), transparent 31%),
    linear-gradient(145deg, var(--navy-950), var(--navy-900) 55%, #092a5b);
}

.projects-showcase::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .11;
  background-image:
    linear-gradient(rgba(255, 255, 255, .18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .18) 1px, transparent 1px);
  background-size: 62px 62px;
  content: "";
  mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
}

.projects-showcase .section-heading {
  position: relative;
  z-index: 1;
  max-width: 850px;
}

.projects-showcase .section-heading h2 {
  color: #fff;
}

.projects-showcase .section-heading > p:last-child {
  color: #c8daf1;
}

.projects-showcase .eyebrow {
  color: #7fe9ff;
}

.projects-showcase .eyebrow::before {
  background: #65e5b5;
}

.projects-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.project-banner {
  --project-accent: #65e5b5;
  --project-accent-soft: rgba(101, 229, 181, .16);
  --project-from: #0b4c58;
  --project-to: #071b3d;
  position: relative;
  display: grid;
  min-height: 440px;
  overflow: hidden;
  grid-template-columns: minmax(0, 1.13fr) minmax(178px, .87fr);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 82% 18%, var(--project-accent-soft), transparent 30%),
    linear-gradient(145deg, var(--project-from), var(--project-to) 62%);
  box-shadow: 0 22px 56px rgba(1, 10, 27, .28);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.project-banner::after {
  position: absolute;
  right: -104px;
  bottom: -136px;
  width: 290px;
  height: 290px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 50%;
  box-shadow: 0 0 0 38px rgba(255, 255, 255, .025);
  content: "";
}

.project-banner:hover {
  border-color: rgba(255, 255, 255, .3);
  box-shadow: 0 28px 68px rgba(1, 10, 27, .37);
  transform: translateY(-5px);
}

.project-banner--bienestar {
  --project-accent: #83d8ff;
  --project-accent-soft: rgba(81, 193, 255, .18);
  --project-from: #113f78;
  --project-to: #071936;
}

.project-banner--biblioteca {
  --project-accent: #d0b4ff;
  --project-accent-soft: rgba(190, 146, 255, .2);
  --project-from: #43296f;
  --project-to: #151633;
}

.project-banner--citas {
  --project-accent: #ffd27d;
  --project-accent-soft: rgba(255, 190, 80, .18);
  --project-from: #6a441c;
  --project-to: #24182a;
}

.project-banner__content {
  position: relative;
  z-index: 2;
  display: flex;
  min-width: 0;
  padding: clamp(29px, 3vw, 38px) 8px clamp(29px, 3vw, 38px) clamp(29px, 3vw, 38px);
  align-items: flex-start;
  flex-direction: column;
}

.project-banner__meta {
  display: flex;
  width: 100%;
  min-height: 32px;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 11px;
  color: #c7d7ec;
  font-size: .67rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.project-banner__status {
  display: inline-flex;
  min-height: 30px;
  padding: 6px 10px;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  color: var(--navy-950);
  background: var(--project-accent);
  letter-spacing: .04em;
}

.project-banner h3 {
  margin: 24px 0 0;
  color: #fff;
  font-size: clamp(2rem, 3.2vw, 2.55rem);
  line-height: 1.05;
  letter-spacing: -.04em;
}

.project-banner__lead {
  margin: 15px 0 0;
  color: #fff;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.45;
}

.project-banner__description {
  margin: 12px 0 0;
  color: #c9d9ec;
  font-size: .88rem;
  line-height: 1.65;
}

.project-banner__tags {
  display: flex;
  margin: 20px 0 24px;
  padding: 0;
  flex-wrap: wrap;
  gap: 7px;
  list-style: none;
}

.project-banner__tags li {
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, .17);
  border-radius: 999px;
  color: #dce8f7;
  background: rgba(255, 255, 255, .06);
  font-size: .67rem;
  font-weight: 600;
}

.project-banner__link {
  display: inline-flex;
  min-height: 44px;
  margin-top: auto;
  padding: 9px 13px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, .08);
  font-size: .78rem;
  font-weight: 700;
  text-decoration: none;
  transition: color .18s ease, background-color .18s ease, border-color .18s ease, transform .18s ease;
}

.project-banner__link:hover {
  color: var(--navy-950);
  border-color: var(--project-accent);
  background: var(--project-accent);
  transform: translateY(-2px);
}

.project-banner__visual {
  position: relative;
  z-index: 2;
  display: grid;
  min-width: 0;
  padding: 30px 28px 30px 6px;
  place-items: center;
}

.project-preview {
  width: min(100%, 230px);
  padding: 13px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 23px;
  background: rgba(255, 255, 255, .1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, .23);
  transform: rotate(2deg);
  backdrop-filter: blur(12px);
  transition: transform .22s ease;
}

.project-banner--bienestar .project-preview,
.project-banner--citas .project-preview {
  transform: rotate(-2deg);
}

.project-banner:hover .project-preview {
  transform: rotate(0) translateY(-4px);
}

.project-preview__top {
  position: relative;
  display: flex;
  min-height: 28px;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 9px;
  border-bottom: 1px solid rgba(255, 255, 255, .13);
}

.project-preview__top::before {
  position: absolute;
  top: 7px;
  left: 2px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff9d9d;
  box-shadow: 11px 0 #ffd27d, 22px 0 #65e5b5;
  content: "";
}

.project-preview__top span {
  color: #bed3eb;
  font-size: .52rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.project-preview__feature {
  display: flex;
  min-height: 94px;
  padding: 17px 2px 14px;
  align-items: center;
  gap: 10px;
}

.project-preview__feature > span:last-child {
  display: grid;
  min-width: 0;
}

.project-preview__icon {
  display: grid;
  width: 49px;
  height: 49px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .17);
  border-radius: 15px;
  color: var(--project-accent);
  background: rgba(1, 10, 27, .3);
  font-size: 1.35rem;
}

.project-preview__feature small {
  color: #bdd0e7;
  font-size: .51rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.project-preview__feature strong {
  margin-top: 3px;
  overflow: hidden;
  color: #fff;
  font-size: .82rem;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.project-preview__items {
  display: grid;
  gap: 7px;
}

.project-preview__items span {
  display: flex;
  min-height: 35px;
  padding: 7px 9px;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 11px;
  color: #e5effb;
  background: rgba(2, 15, 38, .25);
  font-size: .61rem;
  font-weight: 600;
}

.project-preview__items i {
  width: 18px;
  color: var(--project-accent);
  text-align: center;
}

.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 85% 20%, rgba(50, 215, 255, .22), transparent 25%),
    linear-gradient(135deg, var(--navy-950), var(--navy-800));
}

.page-hero__inner {
  max-width: 850px;
  padding-block: clamp(68px, 9vw, 112px);
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(2.5rem, 6vw, 4.8rem);
  line-height: 1.04;
  letter-spacing: -.045em;
}

.page-hero p {
  max-width: 750px;
  margin: 22px 0 0;
  color: #d1e2f6;
  font-size: clamp(1rem, 2vw, 1.18rem);
}

.prose {
  color: var(--muted);
}

.prose p {
  margin: 0 0 18px;
}

.prose p:last-child {
  margin-bottom: 0;
}

.content-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.content-card {
  padding: clamp(25px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.content-card h2 {
  font-size: clamp(1.55rem, 3vw, 2.25rem);
}

.content-card h3 {
  margin: 26px 0 8px;
  color: var(--navy-900);
  font-size: 1.16rem;
}

.content-card p {
  margin: 14px 0 0;
  color: var(--muted);
}

.check-list,
.plain-list {
  display: grid;
  margin: 22px 0 0;
  padding: 0;
  gap: 12px;
  list-style: none;
}

.check-list li {
  position: relative;
  min-height: 28px;
  padding-left: 37px;
  color: var(--muted);
}

.check-list li::before {
  position: absolute;
  top: 1px;
  left: 0;
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 50%;
  color: var(--green-700);
  background: var(--green-100);
  font-size: .78rem;
  font-weight: 900;
  content: "✓";
}

.plain-list li {
  padding-bottom: 12px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

.plain-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.values-grid {
  display: grid;
  margin-top: 28px;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.value-pill {
  padding: 15px;
  border: 1px solid #c7d8ea;
  border-radius: var(--radius-sm);
  color: var(--navy-800);
  background: #f1f7ff;
  font-weight: 700;
  text-align: center;
}

.team-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.team-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.team-card__photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 4.35;
  background: #dce8f6;
}

.team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .35s ease;
}

.team-card:hover .team-card__photo img {
  transform: scale(1.035);
}

.team-card__body {
  padding: 24px;
}

.team-card h2 {
  margin: 0;
  color: var(--navy-900);
  font-size: 1.3rem;
  line-height: 1.3;
}

.team-card__role {
  display: block;
  margin-top: 5px;
  color: var(--blue-700);
  font-size: .9rem;
  font-weight: 700;
}

.team-card p {
  margin: 14px 0 0;
  color: var(--muted);
}

.technology-grid {
  display: grid;
  gap: 15px;
  grid-template-columns: repeat(6, 1fr);
}

.technology {
  display: grid;
  min-height: 128px;
  padding: 20px 12px;
  place-items: center;
  align-content: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--navy-800);
  background: #fff;
  text-align: center;
}

.technology i {
  color: var(--blue-600);
  font-size: 2rem;
}

.technology strong {
  font-size: .92rem;
}

.contact-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: .82fr 1.18fr;
}

.contact-info {
  display: grid;
  align-content: start;
  gap: 16px;
}

.contact-item {
  display: grid;
  padding: 22px;
  gap: 4px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  grid-template-columns: 45px minmax(0, 1fr);
  box-shadow: 0 8px 22px rgba(7, 27, 61, .055);
}

.contact-item__icon {
  display: grid;
  width: 45px;
  height: 45px;
  place-items: center;
  border-radius: 13px;
  color: var(--blue-700);
  background: #e7f2ff;
  grid-row: 1 / span 2;
}

.contact-item strong {
  color: var(--navy-900);
}

.contact-item a,
.contact-item span {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--muted);
  text-decoration: none;
}

.contact-item a:hover {
  color: var(--blue-700);
  text-decoration: underline;
}

.form-card {
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.form-card h2 {
  margin: 0;
  color: var(--navy-900);
  font-size: clamp(1.55rem, 3vw, 2.2rem);
}

.form-card > p {
  margin: 10px 0 24px;
  color: var(--muted);
}

.form-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.field {
  display: grid;
  gap: 7px;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  color: var(--navy-900);
  font-size: .9rem;
  font-weight: 700;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid #b9c7d8;
  border-radius: 12px;
  color: var(--ink);
  background: #fbfdff;
  padding: 13px 14px;
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--blue-600);
  outline: 2px solid #fff;
  outline-offset: 1px;
  box-shadow: 0 0 0 4px var(--blue-700);
}

.form-note,
.form-status {
  color: var(--muted);
  font-size: .82rem;
}

.form-note {
  margin: 16px 0 0;
}

.form-status {
  min-height: 1.4em;
  margin: 12px 0 0;
  color: var(--green-700);
  font-weight: 700;
}

.schedule {
  display: grid;
  gap: 12px;
}

.schedule__row {
  display: flex;
  min-height: 50px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 16px;
  border-radius: 12px;
  background: #edf4fc;
}

.schedule__row span {
  color: var(--muted);
}

.cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(34px, 6vw, 62px);
  border-radius: var(--radius-lg);
  color: #fff;
  background:
    radial-gradient(circle at 85% 20%, rgba(50, 215, 255, .3), transparent 27%),
    linear-gradient(135deg, var(--navy-950), var(--blue-700));
  box-shadow: var(--shadow-lg);
}

.cta::after {
  position: absolute;
  right: -90px;
  bottom: -130px;
  z-index: -1;
  width: 350px;
  height: 350px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 50%;
  content: "";
}

.cta h2 {
  max-width: 760px;
  color: #fff;
}

.cta p {
  max-width: 700px;
  margin: 16px 0 0;
  color: #d3e5f8;
}

.site-footer {
  color: #c8d7eb;
  background: var(--navy-950);
}

.footer__main {
  display: grid;
  padding-block: 52px 36px;
  gap: 36px;
  grid-template-columns: 1.2fr .8fr .8fr;
}

.footer__brand p {
  max-width: 440px;
  margin: 16px 0 0;
  color: #9db2cc;
}

.footer__title {
  margin: 0 0 14px;
  color: #fff;
  font-size: .92rem;
}

.footer__links {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 9px;
  list-style: none;
}

.footer__links a {
  color: #b6c9df;
  text-decoration: none;
}

.footer__links a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer__bottom {
  display: flex;
  min-height: 65px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, .11);
  color: #8fa5bf;
  font-size: .83rem;
}

.whatsapp {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 900;
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, .92);
  border-radius: 50%;
  color: #fff;
  background: #087a46;
  box-shadow: 0 12px 30px rgba(3, 43, 27, .3);
  font-size: 1.55rem;
  text-decoration: none;
  transition: transform .18s ease, background-color .18s ease;
}

.whatsapp:hover {
  background: #05683a;
  transform: translateY(-3px) scale(1.03);
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (max-width: 1080px) {
  .brand__text small {
    display: none;
  }

  .site-nav a {
    padding-inline: 9px;
    font-size: .84rem;
  }

  .hero__grid {
    gap: 36px;
    grid-template-columns: minmax(0, 1fr) minmax(310px, .78fr);
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .project-banner {
    min-height: 360px;
    grid-template-columns: minmax(0, 1.35fr) minmax(220px, .65fr);
  }
}

@media (max-width: 940px) {
  .header__inner {
    min-height: 72px;
    flex-wrap: wrap;
    padding-block: 10px;
  }

  .brand__logo {
    width: 56px;
    height: 42px;
  }

  .site-header[data-enhanced="true"] .nav-toggle {
    display: grid;
  }

  .site-nav {
    width: 100%;
    max-height: calc(100dvh - 72px);
    margin: 0;
    padding: 8px 0 5px;
    overflow-y: auto;
    overscroll-behavior: contain;
    flex: 1 0 100%;
    align-items: stretch;
    flex-direction: column;
    border-top: 1px solid rgba(255, 255, 255, .12);
  }

  .site-header[data-enhanced="true"] .site-nav[data-open="false"] {
    display: none;
  }

  .site-nav a {
    width: 100%;
    min-height: 46px;
    justify-content: flex-start;
    padding-inline: 14px;
    font-size: .92rem;
  }

  .site-nav .nav__app {
    width: auto;
    margin: 7px 0 2px;
    justify-content: center;
  }

  .hero__grid {
    min-height: auto;
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__content {
    display: grid;
    justify-items: center;
  }

  .hero__visual {
    width: min(80vw, 470px);
    justify-self: center;
  }

  .hero__actions {
    justify-content: center;
  }

  .split,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .media-panel {
    min-height: 350px;
  }

  .technology-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 760px) {
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat:nth-child(3)::before {
    display: none;
  }

  .stat:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .content-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    width: min(100%, 520px);
    margin-inline: auto;
  }

  .team-card__photo {
    aspect-ratio: 4 / 3.5;
  }

  .team-card__photo img {
    object-position: center 38%;
  }

  .footer__main {
    grid-template-columns: 1fr 1fr;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 580px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .brand__text strong {
    font-size: .93rem;
  }

  .hero__grid {
    padding-block: 60px 80px;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 12vw, 3.55rem);
  }

  .hero__visual {
    width: min(90vw, 390px);
    border-radius: 35% 65% 58% 42% / 49% 42% 58% 51%;
  }

  .model-status {
    display: none;
  }

  .stats-wrap {
    margin-top: -30px;
  }

  .stat {
    padding: 21px 12px;
  }

  .section-heading {
    margin-bottom: 32px;
  }

  .card,
  .content-card {
    padding: 23px;
  }

  .project-banner {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .project-banner__content {
    padding: 27px 23px 20px;
  }

  .project-banner__visual {
    min-height: 220px;
    padding: 6px 23px 27px;
  }

  .project-preview,
  .project-banner--bienestar .project-preview,
  .project-banner--citas .project-preview {
    width: min(100%, 310px);
    transform: none;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .field--full {
    grid-column: auto;
  }

  .technology-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__main {
    grid-template-columns: 1fr;
  }

  .footer__brand {
    grid-column: auto;
  }

  .footer__bottom {
    padding-block: 18px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }
}

@media (max-width: 430px) {
  .brand__text strong {
    max-width: 155px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero__actions,
  .cta__actions {
    width: 100%;
    flex-direction: column;
  }

  .hero__actions .button,
  .cta__actions .button {
    width: 100%;
  }

  .project-banner__link {
    width: calc(100% - 72px);
  }

  .schedule__row {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

@media print {
  .site-header,
  .whatsapp,
  .hero__visual,
  .site-footer,
  .button {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }

  .hero,
  .page-hero {
    color: #000;
    background: #fff;
  }

  .projects-showcase,
  .project-banner {
    color: #000;
    background: #fff;
  }

  .projects-showcase .section-heading h2,
  .projects-showcase .section-heading > p:last-child,
  .projects-showcase .eyebrow,
  .project-banner h3,
  .project-banner__lead,
  .project-banner__description,
  .project-banner__meta,
  .project-banner__tags li,
  .project-banner__link {
    color: #000;
  }

  .project-banner {
    min-height: 0;
    break-inside: avoid;
    grid-template-columns: 1fr;
  }

  .project-banner__visual {
    display: none;
  }
}
