:root {
  --navy: #0b1f3a;
  --navy-deep: #061326;
  --navy-ink: #102844;
  --green: #3fa34a;
  --green-deep: #2c7a34;
  --mist: #e8eef2;
  --paper: #f3f6f8;
  --ink: #0b1f3a;
  --muted: #4a5d6e;
  --line: rgba(11, 31, 58, 0.14);
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "DM Sans", "Segoe UI", sans-serif;
  --pad: clamp(1.25rem, 4vw, 4.5rem);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: -0.01em;
}

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

a {
  color: inherit;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
}

.skip:focus {
  left: 1rem;
  top: 1rem;
  z-index: 20;
  background: #fff;
  padding: 0.4rem 0.7rem;
}

/* ——— Hero: one composition, full-bleed skyline ——— */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  color: #f7fbff;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--navy-deep);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 38%;
  transform: scale(1.08);
  will-change: transform;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(6, 19, 38, 0.62) 0%, rgba(6, 19, 38, 0.18) 58%),
    linear-gradient(180deg, rgba(6, 19, 38, 0.42) 0%, rgba(6, 19, 38, 0.28) 46%, rgba(6, 19, 38, 0.72) 100%);
}

.hero-nav {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 1.1rem var(--pad);
}

.hero-stage {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 1.35rem;
  padding: 0.6rem var(--pad) 3.2rem;
  text-align: center;
}

.brand-mark {
  display: block;
  height: clamp(132px, 22vh, 188px);
  width: auto;
  max-width: min(94vw, 760px);
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.35));
}

.nav-links {
  display: flex;
  gap: 1.4rem;
  font-size: 0.92rem;
  font-weight: 500;
}

.nav-links a {
  text-decoration: none;
  opacity: 0.9;
}

.nav-links a:hover {
  opacity: 1;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 46rem;
  padding: 0;
}

.hero-copy h1 {
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
  font-weight: 560;
  font-size: clamp(1.85rem, 4vw, 3.15rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.hero-copy p {
  margin: 0 auto 1.5rem;
  font-size: clamp(1.02rem, 1.7vw, 1.2rem);
  max-width: 42rem;
  color: rgba(247, 251, 255, 0.9);
}

.hero-copy .cta-row {
  justify-content: center;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0.75rem 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 650;
  font-size: 0.98rem;
  line-height: 1.2;
  padding: 0.85rem 1.35rem;
  border-radius: 4px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--green);
  color: #fff;
}

.btn-primary:hover {
  background: var(--green-deep);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.55);
}

.demo-menu {
  position: relative;
  display: flex;
}

.demo-toggle {
  height: 100%;
}

.demo-menu-panel {
  position: absolute;
  z-index: 6;
  bottom: calc(100% + 0.45rem);
  left: 0;
  min-width: 12.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.35rem;
  background: #fff;
  color: var(--navy);
  border-radius: 6px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28);
}

.demo-menu-panel[hidden] {
  display: none;
}

.demo-option {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.72rem 0.85rem;
  border-radius: 4px;
  color: var(--navy);
  font-weight: 650;
  text-decoration: none;
}

.demo-option:hover {
  background: var(--mist);
}

.demo-option svg {
  width: 1.35rem;
  height: 1.35rem;
  flex: none;
}

.demo-option-mail svg {
  color: var(--navy);
}

.demo-option-wa svg {
  color: #25d366;
}

/* ——— Sections ——— */
.section {
  padding: clamp(3.5rem, 9vh, 6.5rem) var(--pad);
}

.section-kicker {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green-deep);
}

.section h2 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-weight: 560;
  font-size: clamp(1.9rem, 4.2vw, 3.15rem);
  letter-spacing: -0.03em;
  line-height: 1.12;
  max-width: 18ch;
}

.title-wide {
  max-width: 36ch;
}

.lede {
  margin: 0 0 2.2rem;
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.serve {
  background: #fff;
}

.serve-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0;
}

.serve-list li {
  display: grid;
  grid-template-columns: minmax(10rem, 18rem) 1fr;
  gap: 1.2rem 2rem;
  padding: 1.35rem 0;
  border-top: 1px solid var(--line);
}

.serve-list strong {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 560;
}

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

.edges {
  background: var(--navy);
  color: #eef4f8;
  padding-bottom: 1.2rem;
}

.edges .section-kicker {
  color: var(--green);
}

.edges h2 {
  color: #fff;
}

.edges .lede {
  color: rgba(238, 244, 248, 0.72);
}

.edge-stack {
  margin: 0;
  padding: 0;
  list-style: none;
}

.edge-stack li {
  padding: 1.15rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  grid-template-columns: 2.4rem 1fr;
  gap: 0.9rem;
  align-items: start;
}

.edge-num {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--green);
}

.edge-stack h3 {
  margin: 0 0 0.25rem;
  font-size: 1.12rem;
  font-weight: 650;
}

.edge-stack p {
  margin: 0;
  color: rgba(238, 244, 248, 0.72);
}

.product {
  background: var(--navy);
  color: #eef4f8;
  padding: 0;
  overflow: visible;
}

.product-intro {
  padding: clamp(2.4rem, 6vh, 4.2rem) var(--pad) 1.4rem;
}

.product .section-kicker {
  color: var(--green);
}

.product h2 {
  color: #fff;
}

.product .lede {
  color: rgba(238, 244, 248, 0.72);
  margin-bottom: 0;
}

.stage {
  position: relative;
  min-height: 820px;
  overflow: hidden;
}

.stage-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  background: #b9d0e2;
}

.stage-map svg {
  width: 100%;
  height: 100%;
  display: block;
}

.stage-fade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 31, 58, 0.18) 0%, rgba(11, 31, 58, 0.05) 22%, rgba(6, 19, 38, 0.02) 62%, #fff 100%);
  pointer-events: none;
  z-index: 1;
}

.stage-tag {
  position: absolute;
  top: 1.15rem;
  right: var(--pad);
  z-index: 2;
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy);
}

.stage-panel,
.stage-phone {
  position: absolute;
  z-index: 3;
  margin: 0;
}

.stage-panel {
  left: var(--pad);
  bottom: 8%;
  width: min(58vw, 760px);
}

.stage-panel img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 18px 48px rgba(6, 19, 38, 0.28);
}

.stage-phone {
  right: max(var(--pad), 3.2vw);
  bottom: 2.4rem;
  width: clamp(210px, 16vw, 230px);
}

.phone-shell {
  aspect-ratio: 9 / 19.5;
  display: flex;
  flex-direction: column;
  background: #141414;
  border-radius: 36px;
  padding: 8px;
  box-shadow:
    0 28px 64px rgba(0, 0, 0, 0.45),
    inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.phone-shell img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 21px;
  background: #0a0c10;
}

.stage figcaption {
  position: absolute;
  left: 0.15rem;
  top: -1.15rem;
  margin: 0;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
}

.stage-phone figcaption {
  color: var(--green);
}

.panel-modulos {
  background: var(--paper);
}

.ahorro {
  background: #fff;
}

.ahorro .edge-stack li {
  border-top-color: var(--line);
}

.ahorro .edge-num {
  color: var(--green-deep);
}

.ahorro .edge-stack p {
  color: var(--muted);
}

.flow {
  background: #fff;
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: paso;
}

.steps li {
  counter-increment: paso;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(220px, 420px);
  gap: 1.1rem 2rem;
  align-items: center;
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
}

.steps li::before {
  content: none;
}

.paso-copy::before {
  content: counter(paso, decimal-leading-zero);
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--green-deep);
  margin-bottom: 0.35rem;
  letter-spacing: 0.08em;
}

.steps h3 {
  margin: 0 0 0.3rem;
  font-size: 1.35rem;
  font-family: var(--font-display);
  font-weight: 560;
}

.steps p {
  margin: 0;
  color: var(--muted);
  max-width: 40rem;
}

.close {
  position: relative;
  color: #fff;
  min-height: 70vh;
  display: flex;
  align-items: end;
  overflow: hidden;
}

.close-media {
  position: absolute;
  inset: 0;
  background: var(--navy-deep);
}

.close-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 70%;
}

.close-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 19, 38, 0.2) 0%, rgba(6, 19, 38, 0.88) 100%);
}

.close-inner {
  position: relative;
  z-index: 1;
  padding: clamp(3rem, 10vh, 6rem) var(--pad);
  max-width: 38rem;
}

.close-inner h2 {
  max-width: 22ch;
  color: #fff;
}

.close-inner p {
  color: rgba(255, 255, 255, 0.82);
}

.site-foot {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.72);
  padding: clamp(2.2rem, 6vh, 3.4rem) var(--pad);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.75rem 3.5rem;
  font-size: 0.98rem;
}

.foot-brand {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.foot-brand strong {
  color: #fff;
  font-weight: 650;
}

.foot-contact {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin: 0;
  font-style: normal;
}

.site-foot a {
  color: #fff;
  text-decoration: none;
}

.site-foot a:hover {
  text-decoration: underline;
}

/* ——— Maquetas del panel y de la app ——— */
.frame-web,
.app {
  color: #1a1f27;
  text-align: left;
  font-size: 12px;
  line-height: 1.35;
}

.frame-web {
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(11, 31, 58, 0.08);
  box-shadow: 0 16px 40px rgba(6, 19, 38, 0.12);
}

.stage-panel .frame-web {
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(6, 19, 38, 0.28);
}

.bw {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  height: 28px;
  padding: 0 0.55rem;
  background: #e7edf1;
  border-bottom: 1px solid rgba(11, 31, 58, 0.06);
}

.bw-dots {
  display: flex;
  gap: 0.28rem;
  flex: none;
}

.bw-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #c5ccd4;
}

.bw-dots i:first-child {
  background: #e7a3a0;
}

.bw-dots i:nth-child(2) {
  background: #e3c98a;
}

.bw-dots i:nth-child(3) {
  background: #9dcea8;
}

.bw-url {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  background: #fff;
  border-radius: 999px;
  padding: 0.12rem 0.55rem;
  font-size: 10px;
  color: #6b7585;
}

.fw-body {
  display: flex;
  align-items: stretch;
  min-height: 0;
}

.fw-side {
  width: 118px;
  flex: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.45rem 0.4rem 0.5rem;
  background: #f6f7f9;
  border-right: 1px solid rgba(11, 31, 58, 0.06);
}

.fw-kicker,
.fw-branch {
  margin: 0;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b7585;
}

.fw-side ul {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
}

.fw-side li {
  padding: 0.22rem 0.35rem;
  border-radius: 6px;
  font-size: 10.5px;
  color: #3d4552;
  white-space: nowrap;
}

.fw-side li.is-on {
  background: linear-gradient(90deg, rgba(214, 239, 252, 0.95), rgba(238, 240, 243, 0.95));
  color: #0b1f3a;
  font-weight: 700;
}

.fw-sheet {
  flex: 1;
  min-width: 0;
  padding: 0.55rem 0.65rem 0.7rem;
  background: #fff;
}

.fw-top {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  align-items: baseline;
  margin-bottom: 0.45rem;
}

.fw-top strong {
  font-size: 13px;
  font-weight: 700;
}

.fw-top span,
.quiet {
  color: #6b7585;
  font-size: 10.5px;
}

.stack-note {
  margin-top: 0.45rem;
}

.frame-web h3,
.app h3,
.steps .frame-web h3,
.steps .app h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.25;
  max-width: none;
  color: #0b1f3a;
}

.steps .frame-web p,
.steps .app p,
.frame-web p,
.app p {
  margin: 0;
  max-width: none;
  color: inherit;
}

.frame-web .quiet,
.app .quiet,
.frame-web .legend {
  color: #6b7585;
}

.frame-web .stack-note,
.app .stack-note,
.frame-web .legend {
  margin-top: 0.45rem;
}

.app p.app-note {
  margin: 0.55rem 0.7rem 0.75rem;
  color: #6a5314;
}

.fw-table {
  width: 100%;
  border-collapse: collapse;
}

.fw-table th {
  text-align: left;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #6b7585;
  padding: 0.28rem 0.35rem;
  border-bottom: 1px solid rgba(11, 31, 58, 0.1);
}

.fw-table td {
  padding: 0.34rem 0.35rem;
  border-bottom: 1px solid rgba(11, 31, 58, 0.06);
  vertical-align: middle;
  font-size: 11px;
}

.fw-table tr:last-child td {
  border-bottom: 0;
}

.pill {
  display: inline-block;
  border-radius: 999px;
  padding: 0.08rem 0.42rem;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
  letter-spacing: 0;
  text-transform: none;
}

.pill-run {
  background: #d8f2e3;
  color: #1c4a31;
}

.pill-ok {
  background: #d9eef9;
  color: #1c455c;
}

.pill-wait {
  background: #f8efd4;
  color: #6a5314;
}

.pill-bad {
  background: #fbe4e4;
  color: #7d4444;
}

.pill-muted {
  background: #eef0f3;
  color: #525c6b;
}

.fw-list,
.chips {
  list-style: none;
  margin: 0;
  padding: 0;
}

.fw-list li {
  display: flex;
  justify-content: space-between;
  gap: 0.7rem;
  padding: 0.36rem 0;
  border-bottom: 1px solid rgba(11, 31, 58, 0.08);
  font-size: 11px;
}

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

.fw-list em,
.fw-list small {
  font-style: normal;
  color: #6b7585;
  text-align: right;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.28rem;
  margin-bottom: 0.45rem;
}

.chip {
  border-radius: 999px;
  background: #eef7f1;
  color: #1c4a31;
  padding: 0.12rem 0.42rem;
  font-size: 10px;
  font-weight: 650;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr);
  gap: 0.8rem 1rem;
}

.split + .split,
.sheet-block {
  margin-top: 0.7rem;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(11, 31, 58, 0.08);
}

.lane {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 0.4rem;
  align-items: center;
  margin: 0.32rem 0;
}

.lane b {
  font-size: 10.5px;
  font-weight: 650;
}

.lane small {
  display: block;
  color: #6b7585;
  font-size: 9.5px;
}

.track {
  position: relative;
  height: 22px;
  background: #eef2f4;
  border-radius: 5px;
}

.track i {
  position: absolute;
  top: 3px;
  bottom: 3px;
  border-radius: 3px;
}

.track .busy {
  background: #8ecae8;
}

.track .gap {
  background: #b5e6c8;
}

.track .trip {
  background: repeating-linear-gradient(
    -45deg,
    #f8efd4,
    #f8efd4 3px,
    #e4d39a 3px,
    #e4d39a 6px
  );
}

.axis {
  display: flex;
  justify-content: space-between;
  margin: 0.15rem 0 0.4rem 108px;
  color: #6b7585;
  font-size: 9px;
  font-variant-numeric: tabular-nums;
}

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.8rem;
  margin-top: 0.35rem;
  color: #6b7585;
  font-size: 10px;
}

.legend i {
  display: inline-block;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 2px;
  margin-right: 0.25rem;
  vertical-align: -1px;
}

.legend .busy {
  background: #8ecae8;
}

.legend .gap {
  background: #b5e6c8;
}

.legend .trip {
  background: #e4d39a;
}

.route-summary {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  align-items: baseline;
  margin-bottom: 0.55rem;
}

.route-summary strong {
  font-size: 13px;
}

.route-summary em {
  font-style: normal;
  color: #2f7a4f;
  font-weight: 700;
  font-size: 12px;
  white-space: nowrap;
}

.route-bar {
  position: relative;
  height: 4px;
  margin: 0.85rem 6px 0.85rem;
  border-radius: 999px;
  background: #3fa34a;
}

.route-bar span {
  position: absolute;
  top: 50%;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #0b1f3a;
  transform: translate(-50%, -50%);
}

.route-bar span:last-child {
  left: 100%;
  background: #2f7a4f;
}

.kv {
  display: grid;
  gap: 0.28rem;
}

.kv div {
  display: flex;
  justify-content: space-between;
  gap: 0.7rem;
  padding: 0.28rem 0;
  border-bottom: 1px solid rgba(11, 31, 58, 0.07);
  font-size: 11px;
}

.kv dt {
  color: #6b7585;
}

.kv dd {
  margin: 0;
  font-weight: 650;
  text-align: right;
}

.embed {
  padding: 0.75rem 0.8rem 0.85rem;
}

.embed .brand-line {
  margin: 0 0 0.35rem;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #3fa34a;
}

.embed h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 560;
}

.embed .quiet {
  display: block;
  margin-bottom: 0.65rem;
}

.field {
  margin: 0 0 0.35rem;
  background: #f6f7f9;
  border-radius: 6px;
  padding: 0.26rem 0.45rem;
}

.field small {
  display: block;
  color: #6b7585;
  font-size: 9px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.field b {
  font-weight: 650;
  font-size: 12px;
}

.mock-btn {
  display: block;
  margin: 0.65rem 0.75rem 0.8rem;
  background: #3fa34a;
  color: #fff;
  text-align: center;
  border-radius: 8px;
  padding: 0.42rem 0.55rem;
  font-size: 12px;
  font-weight: 700;
}

.embed .mock-btn {
  margin: 0.65rem 0 0;
}

.phone-shell > .app,
.phone-shell > .mdl-phone {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  position: relative;
}

.phone-shell .app {
  border-radius: 28px;
  background: #f4f7f8;
  overflow: hidden;
}

.phone-shell > .app::before,
.mdl-phone::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 8px;
  left: 50%;
  width: 68px;
  height: 18px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #141414;
}

.phone-shell > .app::after {
  content: "";
  flex: none;
  width: 92px;
  height: 4px;
  margin: 0.2rem auto 0.45rem;
  border-radius: 999px;
  background: rgba(11, 31, 58, 0.55);
}

.app-body {
  flex: 1;
  padding: 0.65rem 0.7rem 0.75rem;
}

.app-status {
  display: flex;
  justify-content: space-between;
  padding: 0.72rem 0.75rem 0;
  font-size: 11px;
  color: #6b7585;
  font-variant-numeric: tabular-nums;
}

.app-head {
  background: #0b1f3a;
  color: #fff;
  margin: 0.35rem 0 0;
  padding: 0.65rem 0.7rem 0.7rem;
}

.app-head strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
}

.app-head span {
  display: block;
  margin-top: 0.12rem;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.72);
}

.app-head span {
  display: block;
  margin-top: 0.12rem;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.72);
}

.app-kicker {
  margin: 0 0 0.12rem;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #2f7a4f;
}

.app-card {
  background: #fff;
  border-radius: 10px;
  padding: 0.55rem 0.6rem;
  box-shadow: 0 1px 0 rgba(11, 31, 58, 0.04);
}

.app-card + .app-card {
  margin-top: 0.45rem;
}

.app-card h3 {
  font-size: 13px;
}

.app-card .pill {
  margin-top: 0.35rem;
}

.photo {
  height: 48px;
  margin-top: 0.4rem;
  border-radius: 6px;
  background:
    linear-gradient(160deg, rgba(11, 31, 58, 0.18), rgba(63, 163, 74, 0.28)),
    repeating-linear-gradient(90deg, #d5e0e8 0 10px, #e8eef2 10px 18px);
  display: flex;
  align-items: flex-end;
  padding: 0.28rem 0.4rem;
  font-size: 10px;
  font-weight: 700;
  color: #0b1f3a;
}

.sign {
  margin-top: 0.35rem;
  min-height: 34px;
  border: 1px dashed rgba(11, 31, 58, 0.22);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  padding: 0.15rem 0.45rem;
}

.sign b {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 560;
  color: #1c455c;
}

.sign span {
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6b7585;
}

.app-note {
  margin: 0.55rem 0.7rem 0.75rem;
  background: #f8efd4;
  color: #6a5314;
  border-radius: 8px;
  padding: 0.4rem 0.5rem;
  font-size: 11px;
}

.shot {
  margin: 0;
  min-width: 0;
}

.shot-img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 540px;
  display: block;
  border-radius: 14px;
  border: 1px solid rgba(11, 31, 58, 0.1);
  box-shadow: 0 16px 40px rgba(6, 19, 38, 0.14);
}

.vista-boards {
  display: grid;
  gap: 1.3rem;
  align-items: start;
}

.shot figcaption {
  margin: 0.5rem 0 0;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green-deep);
}

.edges .shot figcaption {
  color: var(--green);
}

.vista {
  margin-top: 2.2rem;
}

.edges .vista {
  margin-bottom: 1.4rem;
}

.vista-pair {
  display: grid;
  gap: 1.3rem;
  align-items: center;
}

.vista-trio {
  display: grid;
  gap: 1.15rem;
  align-items: start;
}

.shot-phone {
  width: min(100%, 230px);
}

.steps .shot-phone {
  justify-self: end;
}

.vista-wide .frame-web {
  max-width: 920px;
}

@media (min-width: 860px) {
  .vista-pair {
    grid-template-columns: auto minmax(200px, 250px);
    justify-content: start;
    align-items: start;
    gap: 1.8rem;
  }

  .vista-boards {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  }
}

@media (min-width: 980px) {
  .vista-trio {
    grid-template-columns: minmax(0, 1.15fr) minmax(200px, 230px) minmax(0, 1.05fr);
  }

  .vista-trio .shot-phone {
    justify-self: center;
    margin-top: 0.4rem;
  }
}

@media (max-width: 720px) {
  .fw-side {
    display: none;
  }

  .shot,
  .frame-web,
  .vista,
  .steps li,
  .stage-panel,
  .stage-map {
    min-width: 0;
    max-width: 100%;
  }

  .fw-table th,
  .fw-table td {
    overflow-wrap: break-word;
  }
}

@media (max-width: 859px) {
  .steps li,
  .split {
    grid-template-columns: 1fr;
  }

  .steps .shot-phone,
  .shot-phone {
    justify-self: center;
    margin-inline: auto;
  }

  .axis {
    margin-left: 0;
  }

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

/* Motion */
.hero-copy {
  animation: rise 0.95s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (max-width: 760px) {
  .brand-mark {
    height: clamp(112px, 20vh, 150px);
  }

  .nav-links {
    display: none;
  }

  .serve-list li {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .stage {
    min-height: 0;
    overflow: visible;
    display: grid;
    grid-template-rows: 46vh auto auto;
  }

  .stage-map {
    position: relative;
    height: 46vh;
  }

  .stage-fade {
    inset: auto 0 auto 0;
    top: 0;
    height: 46vh;
  }

  .stage-tag {
    top: 0.85rem;
  }

  .stage-panel,
  .stage-phone {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    width: auto;
  }

  .stage-panel {
    margin: -3.2rem var(--pad) 0;
    width: auto;
  }

  .stage-panel img {
    height: auto;
  }

  .stage-phone {
    width: min(64vw, 250px);
    margin: 1.8rem var(--pad) 1.6rem auto;
  }
}

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

  .hero-copy,
  .reveal {
    animation: none;
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-media img {
    transform: none;
  }
}

/* Pantallas dibujadas a partir del panel, en la proporción del landing. */
.mdl,
.mdl-phone {
  color: #1a1f27;
  text-align: left;
  font-size: 13px;
  line-height: 1.35;
}

.mdl {
  background: #fff;
  border: 1px solid rgba(11, 31, 58, 0.08);
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(6, 19, 38, 0.12);
  overflow: hidden;
}

.stage-panel .mdl {
  box-shadow: 0 18px 48px rgba(6, 19, 38, 0.28);
}

.mdl-week {
  width: 560px;
  max-width: 100%;
}

.mdl-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.72rem 0.9rem;
  background: #f6f7f9;
  border-bottom: 1px solid rgba(11, 31, 58, 0.06);
}

.mdl-head strong {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.mdl-head span {
  color: #6b7585;
  font-size: 11px;
  white-space: nowrap;
}

.mdl-agenda,
.mdl-types,
.mdl-gear-list,
.mdl-days {
  list-style: none;
  margin: 0;
  padding: 0.15rem 0;
}

.mdl-agenda li,
.mdl-types li {
  display: grid;
  grid-template-columns: 3.1rem minmax(0, 1fr) auto;
  gap: 0.55rem;
  align-items: center;
  padding: 0.48rem 0.9rem;
  border-top: 1px solid rgba(11, 31, 58, 0.06);
}

.mdl-types li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.7rem;
  align-items: center;
  padding: 0.48rem 0.9rem;
  border-top: 1px solid rgba(11, 31, 58, 0.06);
}

.mdl-agenda li:first-child,
.mdl-types li:first-child,
.mdl-gear-list li:first-child,
.mdl-days li:first-child {
  border-top: 0;
}

.mdl-agenda time {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-size: 12px;
  color: #1c455c;
}

.mdl-agenda b,
.mdl-types b,
.mdl-gear-list b {
  display: block;
  font-weight: 700;
  font-size: 13px;
}

.mdl-agenda small,
.mdl-types small,
.mdl-gear-list small {
  display: block;
  margin-top: 0.08rem;
  color: #6b7585;
  font-size: 11.5px;
}

.st {
  font-style: normal;
  font-size: 10.5px;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.14rem 0.48rem;
  white-space: nowrap;
}

.st-on {
  background: #d8f2e3;
  color: #1c4a31;
}

.st-new {
  background: #d9eef9;
  color: #1c455c;
}

.st-wait {
  background: #f8efd4;
  color: #6a5314;
}

.mdl-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0.7rem 0.9rem 0.15rem;
}

.mdl-skills span {
  border: 1px solid rgba(11, 31, 58, 0.12);
  border-radius: 999px;
  padding: 0.18rem 0.55rem;
  font-size: 11.5px;
  color: #525c6b;
}

.mdl-skills .is-on {
  background: #3d9a64;
  border-color: #3d9a64;
  color: #fff;
  font-weight: 700;
}

.mdl-days li {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr) auto;
  gap: 0.65rem;
  align-items: center;
  padding: 0.38rem 0.9rem;
}

.mdl-days b {
  font-size: 12px;
}

.mdl-days span {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: #eef0f3;
  overflow: hidden;
}

.mdl-days i {
  display: block;
  width: 78%;
  height: 100%;
  margin-left: 8%;
  border-radius: inherit;
  background: #6bc48f;
}

.mdl-days em {
  font-style: normal;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  color: #525c6b;
  white-space: nowrap;
}

.mdl-days .is-off em {
  color: #9aa3b2;
}

.mdl-gear-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.1rem 0.8rem;
  align-items: center;
  padding: 0.62rem 0.9rem;
  border-top: 1px solid rgba(11, 31, 58, 0.06);
}

.mdl-gear-list small {
  grid-column: 1;
}

.mdl-gear-list em {
  grid-row: 1 / span 2;
  grid-column: 2;
  align-self: center;
  font-style: normal;
  font-size: 10.5px;
  font-weight: 700;
  color: #5b3d86;
  background: #f3eef8;
  border-radius: 999px;
  padding: 0.16rem 0.48rem;
  white-space: nowrap;
}

.mdl-phone {
  background: #f4f7f8;
  border-radius: 28px;
  overflow: hidden;
}

.mdl-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.7rem 0.85rem 0;
  min-height: 28px;
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: #1a1f27;
}

.mdl-job {
  margin: 0.45rem 0.55rem 0;
  padding: 0.7rem 0.75rem;
  border-radius: 12px;
  background: #0b1f3a;
  color: #fff;
}

.mdl-job small {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8fd4a8;
}

.mdl-job strong {
  display: block;
  margin-top: 0.15rem;
  font-size: 15px;
  font-weight: 700;
}

.mdl-job span {
  display: block;
  margin-top: 0.12rem;
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.72);
}

.mdl-form {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 0.75rem 0.75rem 0.4rem;
}

.mdl-form p {
  margin: 0.55rem 0 0.28rem;
  font-size: 12px;
  font-weight: 700;
}

.mdl-form p:first-child {
  margin-top: 0;
}

.mdl-cam {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  flex: 1;
  min-height: 108px;
  border-radius: 10px;
  border: 1px dashed rgba(11, 31, 58, 0.2);
  background:
    linear-gradient(160deg, rgba(11, 31, 58, 0.04), rgba(63, 163, 74, 0.16));
  color: #1c455c;
  font-size: 12px;
  font-weight: 700;
}

.mdl-cam i {
  width: 16px;
  height: 12px;
  border: 1.6px solid currentColor;
  border-radius: 3px;
  position: relative;
}

.mdl-cam i::after {
  content: "";
  position: absolute;
  width: 4px;
  height: 4px;
  border: 1.4px solid currentColor;
  border-radius: 50%;
  left: 4px;
  top: 2px;
}

.mdl-sign {
  flex: none;
  height: 92px;
  border-radius: 10px;
  background: linear-gradient(#fff, #f3f4f6);
  border: 1px solid rgba(11, 31, 58, 0.08);
  display: flex;
  align-items: center;
  padding: 0 0.4rem;
}

.mdl-sign svg {
  width: 100%;
  height: 42px;
}

.mdl-hint {
  margin: 0.55rem 0 0;
  color: #6b7585;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.35;
}

.mdl-go {
  display: block;
  margin-top: 0.7rem;
  background: #3d9a64;
  color: #fff;
  text-align: center;
  border-radius: 10px;
  padding: 0.55rem 0.55rem;
  font-size: 13px;
  font-weight: 700;
}

.mdl-home {
  flex: none;
  width: 92px;
  height: 4px;
  margin: 0.55rem auto 0.45rem;
  border-radius: 999px;
  background: rgba(11, 31, 58, 0.55);
}

@media (max-width: 760px) {
  .mdl-agenda li {
    grid-template-columns: 2.8rem minmax(0, 1fr);
  }

  .mdl-agenda .st {
    grid-column: 2;
    justify-self: start;
  }

  .mdl-gear-list li {
    grid-template-columns: minmax(0, 1fr);
  }

  .mdl-gear-list em {
    grid-row: auto;
    grid-column: 1;
    justify-self: start;
    margin-top: 0.28rem;
  }
}
