:root {
  --bg: #f4f8fc;
  --bg-soft: #eef5fb;
  --ink: #0d2438;
  --ink-soft: #36546c;
  --muted: #6d8294;
  --line: rgba(28, 73, 108, 0.18);
  --line-strong: rgba(22, 75, 113, 0.34);
  --navy: #09243a;
  --navy-2: #123b5d;
  --teal: #0c8a8a;
  --teal-2: #0a6d73;
  --blue: #217fc0;
  --orange: #d78420;
  --white: #ffffff;
  --panel: rgba(255, 255, 255, 0.78);
  --panel-strong: rgba(255, 255, 255, 0.94);
  --shadow-sm: 0 12px 28px rgba(13, 36, 56, 0.09);
  --shadow-md: 0 22px 54px rgba(13, 36, 56, 0.14);
  --shadow-lg: 0 34px 90px rgba(9, 36, 58, 0.22);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 34px;
  --container: 1180px;
  --header: 100px;
  --ease: 0.22s ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 20px);
}

body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(12, 138, 138, 0.12), transparent 30rem),
    linear-gradient(180deg, #f8fbff 0%, var(--bg) 46%, #edf5fb 100%);
  color: var(--ink);
  font-family: Inter, Manrope, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

[hidden] {
  display: none !important;
}

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

button {
  cursor: pointer;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 20px;
  color: var(--navy);
  font-size: clamp(3.4rem, 7vw, 7.2rem);
  font-weight: 900;
}

h2 {
  margin-bottom: 16px;
  color: var(--navy);
  font-size: clamp(2.1rem, 4.6vw, 4.8rem);
  font-weight: 880;
}

h3 {
  margin-bottom: 12px;
  color: var(--navy);
  font-size: clamp(1.5rem, 2.2vw, 2.15rem);
}

h4 {
  margin-bottom: 0;
  color: var(--navy);
  font-size: 1.02rem;
}

p {
  color: var(--ink-soft);
}

ul,
dl,
dd {
  margin: 0;
  padding: 0;
}

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

.section {
  position: relative;
  padding: 108px 0;
}

.section-heading {
  width: min(850px, 100%);
  margin-bottom: 44px;
}

.section-heading p:not(.eyebrow) {
  margin-bottom: 0;
  font-size: 1.06rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--teal-2);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 34px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--teal), rgba(215, 132, 32, 0.7));
  content: "";
}

.skip-link {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 1000;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--navy);
  transform: translateY(-140%);
  transition: transform var(--ease);
}

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

:focus-visible {
  outline: 3px solid rgba(215, 132, 32, 0.55);
  outline-offset: 3px;
}

.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.62s ease, transform 0.62s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal[data-reveal-delay="1"] {
  transition-delay: 0.08s;
}

.reveal[data-reveal-delay="2"] {
  transition-delay: 0.16s;
}

.reveal[data-reveal-delay="3"] {
  transition-delay: 0.24s;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  transition: background var(--ease), box-shadow var(--ease), border-color var(--ease), backdrop-filter var(--ease);
}

.site-header.is-scrolled,
.site-header.is-open {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(9, 36, 58, 0.9);
  box-shadow: 0 18px 50px rgba(9, 36, 58, 0.22);
  backdrop-filter: blur(18px);
}

.header-shell {
  width: min(1520px, calc(100% - 36px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header);
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 14px;
}

.brand-mark {
  width: 66px;
  height: 66px;
  flex: 0 0 66px;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(9, 36, 58, 0.18));
}

.brand-copy {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.brand-copy strong {
  color: var(--navy);
  font-size: 1.46rem;
  line-height: 1;
}

.brand-copy small {
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.05;
}

.site-header.is-scrolled .brand-copy strong,
.site-header.is-open .brand-copy strong,
.site-header.is-scrolled .brand-copy small,
.site-header.is-open .brand-copy small {
  color: var(--white);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px;
  border: 1px solid rgba(9, 36, 58, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(14px);
}

.site-header.is-scrolled .site-nav,
.site-header.is-open .site-nav {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 1.03rem;
  font-weight: 780;
  transition: background var(--ease), color var(--ease), box-shadow var(--ease);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(12, 138, 138, 0.1);
  color: var(--navy);
}

.site-header.is-scrolled .site-nav a,
.site-header.is-open .site-nav a {
  color: rgba(255, 255, 255, 0.84);
}

.site-header.is-scrolled .site-nav a:hover,
.site-header.is-open .site-nav a:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.header-action,
.btn,
.go-button,
.link-button {
  border-radius: var(--radius-sm);
  font-weight: 850;
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease), background var(--ease), color var(--ease);
}

.header-action {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(12, 138, 138, 0.26);
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(9, 36, 58, 0.16);
}

.header-action:hover,
.btn:hover,
.go-button:hover,
.link-button:hover {
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.76);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: var(--navy);
  transition: transform var(--ease), opacity var(--ease);
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  display: grid;
  min-height: 100vh;
  padding-top: calc(var(--header) + 54px);
  padding-bottom: 58px;
  overflow: hidden;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(248, 251, 255, 0.98) 0%, rgba(248, 251, 255, 0.9) 38%, rgba(248, 251, 255, 0.46) 68%, rgba(248, 251, 255, 0.2) 100%),
    url("../master/fondo_master_hero.webp") center / cover no-repeat;
}

.hero::after {
  position: absolute;
  right: -10%;
  bottom: -18%;
  z-index: -1;
  width: min(680px, 70vw);
  height: min(680px, 70vw);
  border-radius: 50%;
  background: rgba(12, 138, 138, 0.12);
  filter: blur(80px);
  content: "";
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(430px, 0.76fr);
  gap: 54px;
  align-items: center;
}

.hero-lead {
  max-width: 760px;
  margin-bottom: 18px;
  color: var(--navy);
  font-size: clamp(1.35rem, 2.2vw, 2.05rem);
  line-height: 1.25;
  font-weight: 760;
}

.hero-text {
  max-width: 700px;
  margin-bottom: 28px;
  font-size: 1.05rem;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border: 1px solid transparent;
}

.btn-primary {
  border-color: rgba(12, 138, 138, 0.34);
  background: linear-gradient(135deg, var(--teal), var(--navy-2));
  color: var(--white);
  box-shadow: 0 18px 38px rgba(12, 109, 115, 0.24);
}

.btn-secondary {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.72);
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 640px;
  margin-top: 36px;
}

.hero-metrics div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
}

.hero-metrics dt {
  color: var(--navy);
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
}

.hero-metrics dd {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 740;
}

.hero-console {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(239, 247, 252, 0.66));
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(18px);
}

.hero-console::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.78), transparent 38%),
    radial-gradient(circle at 92% 8%, rgba(12, 138, 138, 0.18), transparent 16rem);
  content: "";
}

.console-topline,
.console-feature,
.console-apps,
.console-status {
  position: relative;
  z-index: 1;
}

.console-topline {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 820;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.console-topline strong {
  color: var(--teal-2);
}

.console-feature {
  display: grid;
  min-height: 170px;
  margin-bottom: 18px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.72);
}

.console-lockup {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 16px;
  color: var(--teal-2);
  font-size: clamp(1.55rem, 2.2vw, 2.05rem);
  line-height: 1;
  white-space: nowrap;
}

.console-lockup img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  filter: drop-shadow(0 12px 20px rgba(9, 36, 58, 0.14));
}

.console-lockup strong {
  color: var(--navy);
  font-weight: 900;
}

.console-apps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.console-app {
  display: grid;
  min-height: 118px;
  place-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.72);
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 850;
  text-align: center;
  transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease), filter var(--ease);
}

.console-app img {
  width: 68px;
  height: 68px;
  object-fit: contain;
}

.console-app:hover {
  border-color: rgba(12, 138, 138, 0.34);
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}

.console-app.is-soon img {
  filter: grayscale(100%);
  opacity: 0.66;
}

.console-status {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding: 13px 14px;
  border-radius: var(--radius-md);
  background: rgba(9, 36, 58, 0.06);
}

.console-status p {
  margin: 0;
  font-size: 0.9rem;
}

.pulse {
  width: 10px;
  height: 10px;
  flex: 0 0 10px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 6px rgba(12, 138, 138, 0.12);
}

.apps-section {
  overflow: hidden;
  background: #f7fbff;
}

.apps-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(247, 251, 255, 0.88), rgba(247, 251, 255, 0.94)),
    url("../master/fondo_apps_grid.webp") center / cover no-repeat;
}

.apps-section .container {
  position: relative;
  z-index: 1;
}

.category-block {
  display: grid;
  gap: 20px;
}

.category-block + .category-block {
  margin-top: 44px;
}

.category-heading {
  display: flex;
  align-items: center;
  gap: 14px;
}

.category-heading span {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(12, 138, 138, 0.2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.78);
  color: var(--teal-2);
  font-weight: 900;
}

.category-heading h3 {
  margin-bottom: 0;
  font-size: clamp(1.55rem, 2.6vw, 2.4rem);
}

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

.module-card {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  min-height: 174px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease), opacity var(--ease);
}

.module-card:hover {
  border-color: rgba(12, 138, 138, 0.3);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.module-card.is-roadmap {
  background: rgba(255, 255, 255, 0.64);
}

.module-card.is-roadmap .module-icon-link img {
  filter: grayscale(100%);
  opacity: 0.58;
}

.module-icon-link {
  display: grid;
  width: 112px;
  height: 112px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff, #edf5fb);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

button.module-icon-link {
  padding: 0;
}

.module-icon-link img {
  width: 94px;
  height: 94px;
  object-fit: contain;
}

.module-content {
  min-width: 0;
}

.module-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.module-card p {
  margin-bottom: 14px;
  font-size: 0.94rem;
}

.module-status {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
}

.status-ready {
  border: 1px solid rgba(12, 138, 138, 0.26);
  background: rgba(12, 138, 138, 0.1);
  color: var(--teal-2);
}

.status-roadmap {
  border: 1px solid rgba(109, 130, 148, 0.24);
  background: rgba(109, 130, 148, 0.1);
  color: #657889;
}

.module-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.link-button,
.go-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.72);
  color: var(--navy);
}

.go-button {
  border-color: rgba(12, 138, 138, 0.28);
  background: var(--teal);
  color: var(--white);
}

.go-button.is-muted {
  border-color: rgba(109, 130, 148, 0.22);
  background: rgba(109, 130, 148, 0.15);
  color: #657889;
}

.active-section {
  background:
    radial-gradient(circle at 15% 8%, rgba(12, 138, 138, 0.11), transparent 26rem),
    linear-gradient(180deg, #eef6fb, #f8fbff);
}

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

.showcase-card {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 26px;
  align-items: center;
  min-height: 330px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid rgba(12, 138, 138, 0.2);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 16% 24%, rgba(12, 138, 138, 0.12), transparent 15rem),
    rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-md);
}

.showcase-card img {
  width: 180px;
  height: 180px;
  object-fit: contain;
}

.showcase-card p {
  margin-bottom: 22px;
}

.flow-section {
  background:
    linear-gradient(180deg, rgba(9, 36, 58, 0.96), rgba(12, 46, 72, 0.94)),
    var(--navy);
}

.flow-section h2,
.flow-section h3,
.flow-section .eyebrow {
  color: var(--white);
}

.flow-section .section-heading p {
  color: rgba(255, 255, 255, 0.74);
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.flow-step {
  min-height: 240px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.18);
}

.flow-step span {
  display: inline-flex;
  margin-bottom: 46px;
  color: #91e2e5;
  font-size: 0.86rem;
  font-weight: 900;
}

.flow-step p {
  color: rgba(255, 255, 255, 0.68);
}

.roadmap-section {
  background: #f8fbff;
}

.roadmap-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 0.72fr);
  gap: 46px;
  align-items: center;
}

.roadmap-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.roadmap-tags span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 760;
}

.roadmap-panel {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-md);
}

.roadmap-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 92px;
  padding: 12px;
  border-radius: var(--radius-md);
  background: rgba(239, 247, 252, 0.68);
}

.roadmap-row img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.62;
}

.roadmap-row strong,
.roadmap-row span {
  display: block;
}

.roadmap-row strong {
  color: var(--navy);
}

.roadmap-row span {
  color: var(--muted);
  font-size: 0.92rem;
}

.contact-section {
  padding-top: 36px;
}

.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  min-height: 360px;
  padding: 42px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(90deg, rgba(9, 36, 58, 0.94), rgba(15, 72, 91, 0.82)),
    url("../master/fondo_master_hero.webp") center / cover no-repeat;
  box-shadow: var(--shadow-lg);
}

.contact-card h2,
.contact-card .eyebrow {
  color: var(--white);
}

.contact-card p {
  max-width: 710px;
  color: rgba(255, 255, 255, 0.74);
}

.contact-card .btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.site-footer {
  padding: 36px 0;
  background: var(--navy);
  color: var(--white);
}

.footer-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-brand .brand-copy strong,
.footer-brand .brand-copy small {
  color: var(--white);
}

.site-footer p {
  max-width: 560px;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  text-align: right;
}

.module-modal {
  position: fixed;
  top: 50%;
  right: auto;
  bottom: auto;
  left: 50%;
  width: min(760px, calc(100vw - 34px));
  max-height: min(82vh, 760px);
  margin: 0;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: var(--radius-xl);
  background: transparent;
  color: var(--ink);
  transform: translate(-50%, -50%);
}

.module-modal::backdrop {
  background: rgba(7, 18, 29, 0.62);
  backdrop-filter: blur(7px);
}

.modal-grid {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 26px;
  max-height: min(82vh, 760px);
  padding: 28px;
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-lg);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--navy);
  font-size: 0.84rem;
  font-weight: 850;
}

.modal-icon {
  width: 190px;
  height: 190px;
  align-self: center;
  object-fit: contain;
}

.modal-content h2 {
  margin-top: 12px;
  margin-bottom: 12px;
  font-size: clamp(2rem, 5vw, 3.3rem);
}

.modal-content p {
  margin-bottom: 18px;
}

.modal-content ul {
  display: grid;
  gap: 9px;
  margin-bottom: 24px;
}

.modal-content li {
  position: relative;
  padding-left: 24px;
  color: var(--ink-soft);
  list-style: none;
}

.modal-content li::before {
  position: absolute;
  top: 0.74em;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--teal);
  content: "";
  transform: translateY(-50%);
}

@media (max-width: 1080px) {
  :root {
    --header: 84px;
  }

  .header-action {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: var(--header);
    right: 20px;
    left: 20px;
    display: grid;
    gap: 8px;
    padding: 16px;
    border-radius: var(--radius-md);
    background: rgba(9, 36, 58, 0.96);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    width: 100%;
    min-height: 46px;
    justify-content: center;
    color: var(--white);
  }

  .hero-layout,
  .roadmap-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-console {
    max-width: 720px;
  }

  .module-grid,
  .active-showcase,
  .flow-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .showcase-card {
    grid-template-columns: 1fr;
  }

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

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

  .section {
    padding: 78px 0;
  }

  h1 {
    font-size: clamp(3rem, 17vw, 4.4rem);
  }

  h2 {
    font-size: clamp(2rem, 11vw, 3.1rem);
  }

  .hero {
    padding-top: calc(var(--header) + 36px);
  }

  .hero-actions,
  .contact-actions,
  .module-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-actions .btn,
  .contact-actions .btn,
  .module-actions > * {
    width: 100%;
  }

  .hero-metrics,
  .module-grid,
  .active-showcase,
  .flow-grid {
    grid-template-columns: 1fr;
  }

  .console-apps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .module-card {
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 14px;
    padding: 14px;
  }

  .module-icon-link {
    width: 84px;
    height: 84px;
    border-radius: 18px;
  }

  .module-icon-link img {
    width: 72px;
    height: 72px;
  }

  .module-title-row {
    display: grid;
    gap: 8px;
  }

  .showcase-card {
    min-height: auto;
    padding: 22px;
  }

  .showcase-card img {
    width: 150px;
    height: 150px;
  }

  .roadmap-row {
    grid-template-columns: 62px minmax(0, 1fr);
  }

  .roadmap-row img {
    width: 62px;
    height: 62px;
  }

  .contact-card {
    min-height: auto;
    padding: 28px;
  }

  .footer-shell {
    display: grid;
  }

  .site-footer p {
    text-align: left;
  }

  .modal-grid {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .modal-icon {
    width: 150px;
    height: 150px;
  }
}

@media (max-width: 480px) {
  :root {
    --header: 70px;
  }

  .container {
    width: min(var(--container), calc(100% - 22px));
  }

  .brand-mark {
    width: 52px;
    height: 52px;
    flex-basis: 52px;
  }

  .brand-copy strong {
    font-size: 1.08rem;
  }

  .brand-copy small {
    font-size: 0.76rem;
  }

  .hero-console,
  .roadmap-panel {
    padding: 14px;
    border-radius: 24px;
  }

  .console-feature {
    min-height: 128px;
  }

  .console-app {
    min-height: 106px;
  }

  .module-card {
    grid-template-columns: 1fr;
  }

  .module-icon-link {
    width: 100%;
    height: 120px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Correcciones UI finales */
.site-header,
.site-header.is-scrolled,
.site-header.is-open {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(9, 36, 58, 0.94);
  box-shadow: 0 18px 50px rgba(9, 36, 58, 0.22);
  backdrop-filter: blur(18px);
}

.site-header .brand-copy strong,
.site-header .brand-copy small {
  color: var(--white);
}

.site-nav,
.site-header.is-scrolled .site-nav,
.site-header.is-open .site-nav {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.site-nav a,
.site-header.is-scrolled .site-nav a,
.site-header.is-open .site-nav a {
  color: rgba(255, 255, 255, 0.84);
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-header.is-scrolled .site-nav a:hover,
.site-header.is-open .site-nav a:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.hero {
  min-height: 82vh;
}

.hero-layout--clean {
  display: block;
}

.hero-layout--clean .hero-copy {
  width: min(780px, 100%);
  padding-top: 28px;
}

.hero-layout--clean h1 {
  margin-bottom: 26px;
}

.hero-layout--clean .hero-lead {
  max-width: 720px;
  font-size: clamp(1.55rem, 2.5vw, 2.25rem);
}

.hero-layout--clean .hero-text {
  max-width: 720px;
  margin-bottom: 0;
}

.master-hero {
  min-height: 88vh;
  isolation: isolate;
  background: #061726;
}

.master-hero .hero-bg {
  z-index: 0;
  background:
    radial-gradient(circle at 72% 24%, rgba(33, 127, 192, 0.24), transparent 26rem),
    radial-gradient(circle at 12% 72%, rgba(12, 138, 138, 0.16), transparent 24rem),
    linear-gradient(90deg, rgba(5, 16, 28, 0.99) 0%, rgba(7, 25, 41, 0.95) 43%, rgba(8, 35, 54, 0.72) 72%, rgba(8, 35, 54, 0.46) 100%),
    url("../master/fondo_master_hero.webp") center / cover no-repeat;
  animation: heroGlowBreath 11s ease-in-out infinite alternate;
}

.master-hero::before,
.master-hero::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  content: "";
}

.master-hero::before {
  opacity: 0.5;
  background-image:
    linear-gradient(rgba(145, 226, 229, 0.11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(145, 226, 229, 0.08) 1px, transparent 1px),
    radial-gradient(circle, rgba(145, 226, 229, 0.18) 1px, transparent 1.5px);
  background-position: 0 0, 0 0, 0 0;
  background-size: 72px 72px, 72px 72px, 144px 144px;
  -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.75), transparent 78%);
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.75), transparent 78%);
  animation: heroGridDrift 26s linear infinite;
}

.master-hero::after {
  opacity: 0.58;
  background:
    linear-gradient(118deg, transparent 0%, transparent 38%, rgba(145, 226, 229, 0.18) 47%, rgba(255, 255, 255, 0.08) 50%, rgba(145, 226, 229, 0.1) 53%, transparent 62%, transparent 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), transparent 42%);
  transform: translateX(-32%);
  animation: heroSweep 12s ease-in-out infinite;
}

.master-hero .container {
  position: relative;
  z-index: 2;
}

.master-hero h1 {
  color: var(--white);
  text-shadow: 0 20px 55px rgba(0, 0, 0, 0.32);
}

.master-hero .hero-lead {
  color: rgba(255, 255, 255, 0.94);
}

.master-hero .hero-text {
  color: rgba(220, 235, 246, 0.82);
}

.value-section,
.criteria-section {
  overflow: hidden;
}

.value-section {
  background:
    linear-gradient(90deg, rgba(248, 252, 255, 0.82) 0%, rgba(248, 252, 255, 0.72) 44%, rgba(238, 247, 253, 0.62) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.54), rgba(238, 247, 253, 0.66)),
    url("../master/oficina1_section.webp") center / cover no-repeat;
}

.value-section::before,
.criteria-section::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(33, 127, 192, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(33, 127, 192, 0.07) 1px, transparent 1px),
    radial-gradient(circle, rgba(12, 138, 138, 0.09) 1px, transparent 1.6px);
  background-size: 88px 88px, 88px 88px, 132px 132px;
  background-position: 0 0, 0 0, 0 0;
  opacity: 0.58;
  content: "";
}

.value-section .container,
.criteria-section .container {
  position: relative;
  z-index: 1;
}

.value-section h2,
.value-section h3,
.value-section .eyebrow,
.criteria-section h2,
.criteria-section h3,
.criteria-section .eyebrow {
  color: var(--navy);
}

.value-section .section-heading p,
.criteria-section .section-heading p {
  color: var(--ink-soft);
}

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

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

.value-card,
.criteria-card {
  position: relative;
  min-height: 190px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid rgba(33, 127, 192, 0.16);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 20px 52px rgba(13, 36, 56, 0.09);
  backdrop-filter: blur(12px);
  transition: transform var(--ease), border-color var(--ease), background var(--ease);
}

.value-card::before,
.criteria-card::before {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(115deg, transparent 0%, transparent 36%, rgba(33, 127, 192, 0.14) 48%, transparent 60%, transparent 100%);
  opacity: 0;
  transform: translateX(-34%);
  transition: opacity var(--ease), transform 0.62s ease;
  content: "";
}

.criteria-card {
  min-height: 150px;
}

.value-card::after,
.criteria-card::after {
  display: none;
}

.value-card:hover,
.criteria-card:hover {
  border-color: rgba(12, 138, 138, 0.3);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 26px 68px rgba(13, 36, 56, 0.13), 0 0 0 1px rgba(145, 226, 229, 0.18);
  transform: translateY(-4px);
}

.value-card:hover::before,
.criteria-card:hover::before {
  opacity: 1;
  transform: translateX(34%);
}

.value-card h3,
.criteria-card h3 {
  margin-bottom: 10px;
  font-size: clamp(1.16rem, 1.85vw, 1.42rem);
}

.value-card p,
.criteria-card p {
  margin: 0;
  color: var(--ink-soft);
}

.criteria-section {
  background:
    linear-gradient(90deg, rgba(248, 252, 255, 0.78) 0%, rgba(248, 252, 255, 0.7) 52%, rgba(234, 245, 252, 0.6) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(234, 245, 252, 0.64)),
    url("../master/oficina3_section.webp") center / cover no-repeat;
}

@keyframes heroGridDrift {
  from {
    background-position: 0 0, 0 0, 0 0;
  }

  to {
    background-position: 72px 72px, 72px 72px, 144px 72px;
  }
}

@keyframes heroSweep {
  0% {
    transform: translateX(-36%);
    opacity: 0;
  }

  18%,
  78% {
    opacity: 0.58;
  }

  100% {
    transform: translateX(36%);
    opacity: 0;
  }
}

@keyframes heroGlowBreath {
  from {
    filter: saturate(1) brightness(0.95);
    transform: scale(1);
  }

  to {
    filter: saturate(1.14) brightness(1.06);
    transform: scale(1.018);
  }
}

@keyframes moduleIconFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

.apps-section {
  background:
    linear-gradient(90deg, rgba(145, 226, 229, 0.045) 1px, transparent 1px),
    linear-gradient(rgba(145, 226, 229, 0.035) 1px, transparent 1px),
    radial-gradient(circle, rgba(145, 226, 229, 0.095) 1px, transparent 1.7px),
    linear-gradient(180deg, rgba(9, 36, 58, 0.98), rgba(6, 23, 38, 0.98));
  background-size: 96px 96px, 96px 96px, 144px 144px, auto;
}

.apps-bg {
  background:
    linear-gradient(180deg, rgba(5, 18, 31, 0.62), rgba(4, 15, 28, 0.84)),
    linear-gradient(90deg, rgba(9, 36, 58, 0.78), rgba(8, 43, 70, 0.54), rgba(5, 18, 31, 0.82)),
    url("../master/oficina2_section.webp") center / cover no-repeat;
  opacity: 1;
  filter: saturate(0.95) contrast(1.06);
}

.apps-section h2,
.apps-section h3,
.apps-section .eyebrow {
  color: var(--white);
}

.apps-section .section-heading p {
  color: rgba(255, 255, 255, 0.72);
}

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

.solution-tile {
  position: relative;
  display: grid;
  min-height: 340px;
  place-items: center;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.045));
  color: var(--white);
  text-align: center;
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
  overflow: hidden;
  transition: transform var(--ease), border-color var(--ease), background var(--ease), box-shadow var(--ease);
}

.solution-tile::before {
  position: absolute;
  top: 0;
  right: 14px;
  left: 14px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(145, 226, 229, 0.8), transparent);
  opacity: 0;
  transform: translateX(-34%);
  transition: opacity var(--ease), transform 0.58s ease;
  content: "";
}

.solution-tile:hover,
.solution-tile:focus-visible {
  border-color: rgba(145, 226, 229, 0.42);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.065));
  box-shadow: 0 28px 68px rgba(0, 0, 0, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transform: translateY(-4px);
}

.solution-tile:hover::before,
.solution-tile:focus-visible::before {
  opacity: 1;
  transform: translateX(34%);
}

.solution-tile img {
  width: 254px;
  height: 254px;
  object-fit: contain;
  filter: drop-shadow(0 22px 32px rgba(0, 0, 0, 0.24));
  animation: moduleIconFloat 6.8s ease-in-out infinite;
}

.solution-tile:not([data-module-details="control"]) img {
  width: 278px;
  height: 278px;
}

.solution-tile.is-soon img {
  filter: grayscale(100%) drop-shadow(0 22px 32px rgba(0, 0, 0, 0.24));
  opacity: 0.62;
}

.solution-tile:nth-child(2) img {
  animation-delay: -1.1s;
}

.solution-tile:nth-child(3) img {
  animation-delay: -2.2s;
}

.solution-tile:nth-child(4) img {
  animation-delay: -3.3s;
}

.solution-tile:nth-child(5) img {
  animation-delay: -4.4s;
}

.solution-tile:nth-child(6) img {
  animation-delay: -5.5s;
}

.solution-tile strong {
  color: var(--white);
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 1.18rem;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0;
  text-shadow: 0 8px 18px rgba(0, 0, 0, 0.24);
}

.solution-tile .module-status {
  justify-self: end;
}

.solution-tile .status-ready {
  border-color: rgba(145, 226, 229, 0.34);
  background: rgba(145, 226, 229, 0.12);
  color: #b8f7f5;
}

.solution-tile .status-roadmap {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.72);
}

.site-footer {
  padding: 34px 0;
  background: var(--navy);
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.2fr) minmax(260px, 1fr) minmax(150px, 0.5fr);
  gap: 34px;
  align-items: start;
}

.site-footer strong {
  display: block;
  margin-bottom: 8px;
  color: var(--white);
}

.site-footer p {
  max-width: 320px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  text-align: left;
}

.footer-nav {
  display: grid;
  gap: 9px;
}

.footer-nav a {
  color: var(--white);
  font-size: 0.94rem;
  transition: color var(--ease);
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: #91e2e5;
}

@media (max-width: 1080px) {
  .value-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .solutions-icon-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 720px) {
  .hero {
    min-height: 72vh;
  }

  .master-hero {
    min-height: 78vh;
  }

  .master-hero::before {
    opacity: 0.24;
    background-size: 58px 58px, 58px 58px, 180% 100%;
  }

  .value-grid,
  .criteria-grid {
    grid-template-columns: 1fr;
  }

  .value-card,
  .criteria-card {
    min-height: auto;
    padding: 22px;
  }

  .solutions-icon-grid {
    grid-template-columns: 1fr;
  }

  .solution-tile {
    min-height: 312px;
  }

  .solution-tile img {
    width: 231px;
    height: 231px;
  }

  .solution-tile:not([data-module-details="control"]) img {
    width: 253px;
    height: 253px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 480px) {
  .solutions-icon-grid {
    grid-template-columns: 1fr;
  }

  .solution-tile {
    min-height: 295px;
  }

  .solution-tile img {
    width: 215px;
    height: 215px;
  }

  .solution-tile:not([data-module-details="control"]) img {
    width: 236px;
    height: 236px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .master-hero .hero-bg,
  .master-hero::before,
  .master-hero::after,
  .solution-tile img {
    animation: none !important;
    transform: none;
  }
}
