:root {
  --ink: #071f33;
  --ink-soft: #11344f;
  --muted: #5d7180;
  --paper: #eef9fd;
  --white: #fbfeff;
  --line: rgba(7, 31, 51, 0.14);
  --blue: #0077ff;
  --sky: #00a9e8;
  --turquoise: #12d6c5;
  --orange: #ff8a2a;
  --navy: #061826;
  --shadow: 0 24px 70px rgba(7, 31, 51, 0.14);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Manrope", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 400;
  line-height: 1.5;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 5vw, 56px);
  color: var(--white);
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(251, 254, 255, 0.94);
  box-shadow: 0 1px 0 var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: grid;
  gap: 1px;
  min-width: 156px;
  width: auto;
}

.brand-word {
  font-size: 1.34rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.04em;
}

.brand-tagline {
  color: currentColor;
  font-size: 0.72rem;
  font-weight: 400;
  line-height: 1;
  opacity: 0.72;
  letter-spacing: 0;
  text-transform: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.93rem;
  font-weight: 500;
}

.site-nav a {
  opacity: 0.92;
}

.nav-cta {
  width: 34px;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 999px;
  color: #25d366;
  background: transparent;
  border: 1px solid rgba(251, 254, 255, 0.28);
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.site-header.is-scrolled .nav-cta,
.site-header.is-open .nav-cta {
  border-color: rgba(7, 31, 51, 0.16);
}

.nav-cta:hover {
  border-color: #25d366;
  background: rgba(37, 211, 102, 0.1);
  transform: translateY(-1px);
}

.wa-button svg,
.wa-submit svg,
.whatsapp-float svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex: 0 0 auto;
}

.menu-button {
  display: none;
}

.hero {
  position: relative;
  min-height: 94vh;
  display: grid;
  align-items: end;
  padding: 132px clamp(20px, 5vw, 56px) 72px;
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 76% 27%, rgba(0, 169, 232, 0.24), transparent 28%),
    linear-gradient(90deg, rgba(5, 16, 25, 0.92) 0%, rgba(5, 16, 25, 0.72) 46%, rgba(5, 16, 25, 0.24) 100%);
  pointer-events: none;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.online-layer {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.pulse {
  position: absolute;
  border: 1px solid rgba(18, 214, 197, 0.45);
  border-radius: 999px;
  animation: pulse 4.5s ease-in-out infinite;
}

.pulse.one {
  width: 230px;
  height: 230px;
  right: 13%;
  top: 26%;
}

.pulse.two {
  width: 110px;
  height: 110px;
  right: 31%;
  bottom: 18%;
  animation-delay: 1.2s;
  border-color: rgba(255, 138, 42, 0.5);
}

.data-line {
  position: absolute;
  width: 180px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--sky), transparent);
  opacity: 0.75;
  animation: dataSlide 5.8s linear infinite;
}

.line-one {
  right: 18%;
  top: 20%;
}

.line-two {
  right: 7%;
  bottom: 28%;
  animation-delay: 2s;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 790px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--orange);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.hero h1,
section h2 {
  margin: 0;
  max-width: 930px;
  font-family: "Manrope", ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(2.85rem, 7vw, 6.7rem);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: 0;
}

section h2 {
  font-size: clamp(2rem, 4.4vw, 4.35rem);
  line-height: 1.02;
}

.hero-lead {
  max-width: 680px;
  margin: 28px 0 0;
  color: rgba(251, 254, 255, 0.84);
  font-size: 1.22rem;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  padding: 0 22px;
  font-weight: 600;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

.button.primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--turquoise));
}

.button.secondary {
  color: var(--white);
  border: 1px solid rgba(251, 254, 255, 0.42);
}

.hero-status {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.hero-status span {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid rgba(251, 254, 255, 0.18);
  border-radius: 7px;
  background: rgba(251, 254, 255, 0.08);
  backdrop-filter: blur(12px);
  color: rgba(251, 254, 255, 0.78);
  font-size: 0.88rem;
}

.hero-status b {
  color: var(--white);
  font-weight: 500;
}

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

.band {
  background: var(--paper);
}

.intro,
.services,
.method,
.cases,
.diagnostic,
.proof,
.contact {
  padding: clamp(70px, 10vw, 128px) 0;
}

.live-section {
  position: relative;
  overflow: hidden;
}

.live-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 169, 232, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 169, 232, 0.06) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(90deg, transparent, #000 16%, #000 84%, transparent);
  opacity: 0.35;
  pointer-events: none;
}

.section-signal {
  position: absolute;
  top: 34px;
  right: clamp(20px, 5vw, 56px);
  display: flex;
  gap: 9px;
  pointer-events: none;
}

.section-signal span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--turquoise);
  box-shadow: 0 0 0 0 rgba(18, 214, 197, 0.34);
  animation: signalBeat 2.4s ease-in-out infinite;
}

.section-signal span:nth-child(2) {
  animation-delay: 0.35s;
  background: var(--sky);
}

.section-signal span:nth-child(3) {
  animation-delay: 0.7s;
  background: var(--orange);
}

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

.intro-grid {
  display: grid;
  grid-template-columns: minmax(160px, 0.35fr) minmax(0, 1fr);
  gap: clamp(28px, 7vw, 86px);
  align-items: start;
}

.intro-side {
  display: grid;
  gap: 34px;
}

.live-board {
  display: grid;
  gap: 1px;
  border: 1px solid rgba(0, 169, 232, 0.16);
  background: rgba(0, 169, 232, 0.1);
  box-shadow: 0 18px 50px rgba(7, 31, 51, 0.06);
}

.live-board-row {
  position: relative;
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr);
  column-gap: 12px;
  row-gap: 3px;
  padding: 18px;
  background: rgba(251, 254, 255, 0.68);
}

.live-board-row::after {
  content: "";
  position: absolute;
  left: 22px;
  top: 32px;
  bottom: -16px;
  width: 1px;
  background: linear-gradient(180deg, rgba(18, 214, 197, 0.55), transparent);
}

.live-board-row:last-child::after {
  display: none;
}

.live-board-row strong {
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 500;
}

.live-board-row small {
  grid-column: 2;
  color: var(--muted);
  font-size: 0.8rem;
}

.live-dot {
  width: 9px;
  height: 9px;
  margin-top: 6px;
  border-radius: 999px;
  background: var(--turquoise);
  box-shadow: 0 0 0 6px rgba(18, 214, 197, 0.12);
  animation: liveDot 2.2s ease-in-out infinite;
}

.intro p:not(.section-kicker),
.section-heading p,
.proof-copy p,
.contact-panel p {
  max-width: 700px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.09rem;
}

.section-heading {
  display: grid;
  gap: 0;
  margin-bottom: 42px;
}

.split-heading {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
  gap: 36px;
  align-items: end;
}

.split-heading p:not(.section-kicker) {
  margin: 0;
}

.service-list,
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.service-card,
.case-card {
  position: relative;
  min-height: 320px;
  padding: 32px;
  background: var(--white);
}

.service-card::after,
.case-card::after,
.cycle-step::after {
  content: "";
  position: absolute;
  left: 32px;
  right: 32px;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--sky), var(--turquoise), transparent);
  transform: scaleX(0.28);
  transform-origin: left;
  opacity: 0.42;
  animation: liveUnderline 4.8s ease-in-out infinite;
}

.card-live {
  position: absolute;
  top: 26px;
  right: 26px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 500;
}

.card-live span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #25d366;
  box-shadow: 0 0 0 5px rgba(37, 211, 102, 0.12);
  animation: liveDot 1.9s ease-in-out infinite;
}

.service-number,
.cycle-step span,
.case-type {
  display: inline-flex;
  color: var(--blue);
  font-weight: 600;
}

.service-card h3,
.case-card h3,
.cycle-step h3 {
  margin: 48px 0 14px;
  font-family: "Manrope", ui-sans-serif, system-ui, sans-serif;
  font-size: 1.55rem;
  font-weight: 400;
  line-height: 1.14;
}

.service-card p,
.case-card p,
.cycle-step p,
.proof-points span {
  margin: 0;
  color: var(--muted);
}

.method-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1fr);
  gap: clamp(34px, 8vw, 92px);
}

.sticky-copy {
  align-self: start;
  position: sticky;
  top: 108px;
}

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

.cycle-line {
  position: absolute;
  top: 28px;
  bottom: 28px;
  left: calc(50% - 1px);
  width: 2px;
  background: linear-gradient(180deg, transparent, rgba(0, 169, 232, 0.5), rgba(18, 214, 197, 0.65), transparent);
  opacity: 0.55;
  animation: lineFlow 4s linear infinite;
}

.cycle-step {
  position: relative;
  min-height: 220px;
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 10px 30px rgba(7, 31, 51, 0.04);
}

.cycle-step h3 {
  margin-top: 30px;
}

.cycle-step.emphasis {
  grid-column: 1 / -1;
  color: var(--white);
  background: linear-gradient(135deg, var(--ink), #053f67 54%, var(--sky));
  border: 0;
}

.cycle-step.emphasis span,
.cycle-step.emphasis p {
  color: rgba(251, 254, 255, 0.78);
}

.case-card strong {
  display: block;
  margin-top: 28px;
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 500;
}

.case-card.highlight {
  color: var(--white);
  background: linear-gradient(135deg, #08365a, #006fba 52%, #12d6c5);
}

.case-card.highlight .case-type,
.case-card.highlight p,
.case-card.highlight strong {
  color: rgba(251, 254, 255, 0.82);
}

.diagnostic-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1fr);
  gap: clamp(32px, 7vw, 88px);
  align-items: start;
}

.diagnostic-title {
  max-width: 640px;
}

.diagnostic-main {
  display: block;
}

.diagnostic-main b {
  display: inline-block;
  color: var(--blue);
  font-weight: 400;
}

.diagnostic-sub {
  display: block;
  position: relative;
  max-width: 520px;
  margin-top: 18px;
  padding: 14px 18px;
  color: var(--ink-soft);
  font-size: 0.34em;
  font-weight: 400;
  line-height: 1.28;
  border-left: 3px solid var(--turquoise);
  background: rgba(251, 254, 255, 0.52);
}

.diagnostic-sub::before {
  content: "inicio simple";
  display: block;
  margin-bottom: 5px;
  color: var(--blue);
  font-size: 0.43em;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.diagnostic-promise {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.diagnostic-promise span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(0, 119, 255, 0.18);
  border-radius: 999px;
  color: var(--ink-soft);
  background: rgba(251, 254, 255, 0.7);
  font-size: 0.8rem;
  font-weight: 500;
}

.diagnostic-form {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
}

.mini-feed {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.mini-feed span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 11px;
  border: 1px solid rgba(0, 169, 232, 0.22);
  border-radius: 999px;
  color: var(--ink-soft);
  background: rgba(251, 254, 255, 0.62);
  font-size: 0.82rem;
  animation: feedFloat 4.5s ease-in-out infinite;
}

.mini-feed span:nth-child(2) {
  animation-delay: 0.45s;
}

.mini-feed span:nth-child(3) {
  animation-delay: 0.9s;
}

.diagnostic-form label {
  display: grid;
  gap: 8px;
}

.diagnostic-form label.full,
.diagnostic-form .full {
  grid-column: 1 / -1;
}

.diagnostic-form span {
  color: var(--ink-soft);
  font-size: 0.91rem;
  font-weight: 500;
}

.diagnostic-form input,
.diagnostic-form select,
.diagnostic-form textarea {
  width: 100%;
  border: 1px solid rgba(7, 31, 51, 0.18);
  border-radius: 7px;
  padding: 13px 14px;
  color: var(--ink);
  background: #ffffff;
  font: inherit;
  font-weight: 400;
  outline: none;
}

.diagnostic-form input:focus,
.diagnostic-form select:focus,
.diagnostic-form textarea:focus {
  border-color: var(--sky);
  box-shadow: 0 0 0 4px rgba(0, 169, 232, 0.12);
}

.wa-submit {
  gap: 10px;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
}

.proof {
  background: var(--navy);
  color: var(--white);
}

.proof .section-kicker {
  color: var(--turquoise);
}

.proof-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1fr);
  gap: clamp(34px, 8vw, 88px);
  align-items: start;
}

.proof-copy p {
  color: rgba(251, 254, 255, 0.72);
}

.proof-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid rgba(251, 254, 255, 0.16);
}

.proof-points div {
  min-height: 190px;
  padding: 26px;
  border-right: 1px solid rgba(251, 254, 255, 0.16);
  border-bottom: 1px solid rgba(251, 254, 255, 0.16);
}

.proof-points div:nth-child(even) {
  border-right: 0;
}

.proof-points div:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.proof-points strong {
  display: block;
  margin-bottom: 42px;
  font-family: "Manrope", ui-sans-serif, system-ui, sans-serif;
  font-size: 1.3rem;
  font-weight: 500;
}

.proof-points span {
  color: rgba(251, 254, 255, 0.7);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(280px, 450px);
  gap: clamp(32px, 7vw, 88px);
  align-items: center;
}

.contact-panel {
  padding: 34px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-panel p {
  margin-top: 0;
  margin-bottom: 24px;
}

.contact-panel .button {
  width: 100%;
}

.text-link {
  display: inline-block;
  margin-top: 18px;
  color: var(--blue);
  font-weight: 500;
}

.phone-link {
  display: block;
  margin-top: 8px;
}

.whatsapp-float {
  position: fixed;
  z-index: 30;
  right: 22px;
  bottom: 22px;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: #25d366;
  border-radius: 999px;
  box-shadow: 0 18px 44px rgba(7, 31, 51, 0.24);
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(20px, 5vw, 56px);
  color: var(--muted);
  background: var(--white);
  border-top: 1px solid var(--line);
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(0.86);
    opacity: 0.42;
  }
  50% {
    transform: scale(1.08);
    opacity: 0.9;
  }
}

@keyframes dataSlide {
  0% {
    transform: translateX(-30px);
    opacity: 0;
  }
  20%,
  70% {
    opacity: 0.8;
  }
  100% {
    transform: translateX(80px);
    opacity: 0;
  }
}

@keyframes signalBeat {
  0%,
  100% {
    transform: scale(0.82);
    opacity: 0.46;
    box-shadow: 0 0 0 0 rgba(18, 214, 197, 0.22);
  }
  50% {
    transform: scale(1);
    opacity: 1;
    box-shadow: 0 0 0 9px rgba(18, 214, 197, 0);
  }
}

@keyframes liveUnderline {
  0%,
  100% {
    transform: scaleX(0.22);
    opacity: 0.28;
  }
  50% {
    transform: scaleX(0.82);
    opacity: 0.72;
  }
}

@keyframes liveDot {
  0%,
  100% {
    opacity: 0.45;
  }
  50% {
    opacity: 1;
  }
}

@keyframes lineFlow {
  0% {
    background-position: 0 -80px;
  }
  100% {
    background-position: 0 80px;
  }
}

@keyframes feedFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

@media (max-width: 920px) {
  .site-header {
    padding: 14px 20px;
  }

  .brand {
    min-width: 142px;
  }

  .menu-button {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    gap: 5px;
    border: 1px solid currentColor;
    border-radius: 7px;
    color: inherit;
    background: transparent;
  }

  .menu-button span {
    width: 18px;
    height: 2px;
    background: currentColor;
  }

  .site-nav {
    position: absolute;
    top: 72px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    color: var(--ink);
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 13px 12px;
  }

  .nav-cta {
    width: 100%;
    color: #25d366;
    justify-content: center;
    margin-top: 6px;
  }

  .hero {
    min-height: 92vh;
    padding: 116px 20px 112px;
  }

  .hero::after {
    background:
      radial-gradient(circle at 72% 22%, rgba(0, 169, 232, 0.24), transparent 30%),
      linear-gradient(180deg, rgba(5, 16, 25, 0.58) 0%, rgba(5, 16, 25, 0.82) 52%, rgba(5, 16, 25, 0.96) 100%);
  }

  .hero-media img {
    object-position: 64% center;
  }

  .online-layer {
    opacity: 0.6;
  }

  .hero-lead {
    font-size: 1.05rem;
  }

  .button {
    width: 100%;
  }

  .hero-status span {
    width: 100%;
  }

  .intro-grid,
  .method-grid,
  .proof-grid,
  .contact-grid,
  .diagnostic-grid,
  .split-heading {
    grid-template-columns: 1fr;
  }

  .service-list,
  .proof-points,
  .case-grid,
  .cycle {
    grid-template-columns: 1fr;
  }

  .cycle-line {
    left: 20px;
  }

  .service-card,
  .case-card {
    min-height: 260px;
  }

  .sticky-copy {
    position: static;
  }

  .proof-points div,
  .proof-points div:nth-child(even),
  .proof-points div:nth-last-child(-n + 2) {
    border-right: 0;
    border-bottom: 1px solid rgba(251, 254, 255, 0.16);
  }

  .proof-points div:last-child {
    border-bottom: 0;
  }

  .whatsapp-float {
    right: 20px;
    bottom: 16px;
  }

  .site-footer {
    padding-bottom: 104px;
    flex-direction: column;
  }
}

@media (max-width: 460px) {
  .hero h1 {
    font-size: 2.72rem;
  }

  section h2 {
    font-size: 2.05rem;
  }

  .service-card,
  .case-card,
  .cycle-step,
  .diagnostic-form,
  .contact-panel {
    padding: 24px;
  }

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

  .pulse.one {
    right: -34px;
  }

  .section-signal {
    top: 24px;
    right: 20px;
  }
}
