:root {
  --ink: #16202a;
  --muted: #5d6a75;
  --line: #d9e1e8;
  --paper: #ffffff;
  --soft: #f4f7f9;
  --teal: #0c7c83;
  --teal-dark: #07565b;
  --green: #80bd41;
  --blue: #255f99;
  --gold: #f2b94b;
  --navy: #123247;
  --shadow: 0 20px 50px rgba(15, 31, 47, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Roboto", Arial, Helvetica, sans-serif;
  background: var(--paper);
  line-height: 1.55;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(53, 57, 61, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
}

.nav {
  width: min(1180px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand img {
  display: block;
  width: min(260px, 38vw);
  height: auto;
  object-fit: contain;
  border-radius: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 1.02rem;
  font-weight: 900;
  text-decoration: none;
  padding: 20px 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.93rem;
  font-weight: 700;
}

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

.nav-links a:hover {
  color: #83d10b;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.11);
  padding: 9px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: #fff;
}

.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}

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

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 34, 50, 0.94), rgba(11, 34, 50, 0.76) 44%, rgba(11, 34, 50, 0.30));
}

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

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0 96px;
  color: #fff;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 860px;
  margin: 0;
  font-size: clamp(2.25rem, 5vw, 4.9rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-subtitle {
  max-width: 780px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.04rem, 2vw, 1.35rem);
}

.hero-actions,
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 12px 18px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  color: #0d2536;
  background: var(--green);
}

.button.secondary {
  color: var(--teal-dark);
  background: #e4f3f1;
  border-color: #c7e5e1;
}

.button.ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.46);
  background: rgba(255, 255, 255, 0.10);
}

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

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 84px 0;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 34px;
}

.section-heading h2,
.split h2,
.contact h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3.3vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.intro-grid,
.split,
.master-layout,
.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 44px;
  align-items: center;
}

.intro-copy {
  font-size: 1.08rem;
  color: var(--muted);
}

.value-panel {
  display: flex;
  align-items: center;
  justify-content: center;
}

.value-panel img {
  width: min(100%, 420px);
  height: auto;
  object-fit: contain;
  opacity: 1;
  transform: scale(1);
  transition: opacity 260ms ease, transform 260ms ease;
}

.value-panel img.is-changing {
  opacity: 0;
  transform: scale(0.96);
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  will-change: opacity, transform;
}

.reveal-on-scroll.reveal-visible {
  animation: reveal-up 680ms ease both;
}

.reveal-on-scroll.reveal-card.reveal-visible {
  animation-name: reveal-card;
  animation-duration: 560ms;
}

.reveal-visible.reveal-delay-1 {
  animation-delay: 80ms;
}

.reveal-visible.reveal-delay-2 {
  animation-delay: 140ms;
}

.reveal-visible.reveal-delay-3 {
  animation-delay: 200ms;
}

@keyframes reveal-up {
  0% {
    opacity: 0;
    transform: translateY(24px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes reveal-card {
  0% {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll,
  .reveal-on-scroll.reveal-visible,
  .reveal-on-scroll.reveal-card.reveal-visible {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

.band {
  background: var(--soft);
  border-block: 1px solid var(--line);
}

.rich-text {
  color: var(--muted);
  font-size: 1.08rem;
}

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

.product-card {
  display: flex;
  min-height: 410px;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: var(--paper);
  box-shadow: 0 10px 28px rgba(19, 39, 56, 0.07);
}

.product-card.featured {
  border-top: 5px solid var(--green);
}

.product-logo,
.product-mark {
  width: 100%;
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 16px;
}

.product-logo img {
  max-width: 158px;
  max-height: 62px;
  object-fit: contain;
}

.product-logo.product-image {
  height: 132px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--soft);
}

.product-logo.product-image img {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  object-fit: cover;
}

.product-mark {
  gap: 12px;
  color: var(--ink);
  font-weight: 900;
  font-size: 1.2rem;
}

.product-mark span {
  display: inline-flex;
  width: 58px;
  height: 58px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--teal), var(--blue));
}

.tag {
  margin: 0 0 8px;
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.product-card h3 {
  margin: 0 0 12px;
  font-size: 1.45rem;
  line-height: 1.12;
}

.product-card p:not(.tag) {
  color: var(--muted);
}

.product-card a {
  margin-top: auto;
  color: var(--teal-dark);
  font-weight: 800;
  text-decoration: none;
}

.need-grid,
.use-grid,
.differential-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.need-grid a,
.use-grid article,
.differential-grid article,
.benefit-row article {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: var(--paper);
}

.need-grid a {
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.need-grid a:hover,
.need-grid a:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(247, 143, 30, 0.45);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.12);
}

.need-grid span,
.use-grid span,
.benefit-row span {
  display: block;
  color: var(--muted);
}

.need-grid strong,
.use-grid strong,
.benefit-row strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
}

.need-logo {
  display: block;
  width: 100%;
  max-width: none;
  margin-bottom: 14px;
  object-fit: contain;
}

.master {
  border-block: 1px solid var(--line);
}

.master-layout p {
  color: var(--muted);
  font-size: 1.05rem;
}

.screen-stack {
  position: relative;
  min-height: 390px;
}

.screen-stack img {
  position: absolute;
  width: 82%;
  border: 8px solid #fff;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.screen-stack img:first-child {
  top: 0;
  left: 0;
}

.screen-stack img:last-child {
  right: 0;
  bottom: 0;
}

.benefit-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

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

.audience-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 30px;
  background: var(--paper);
}

.audience-panel.dark {
  color: #fff;
  background: var(--navy);
  border-color: var(--navy);
}

.audience-panel h3 {
  margin: 0 0 18px;
  font-size: 1.55rem;
  line-height: 1.18;
}

.audience-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  margin-bottom: 22px;
  border-radius: 8px;
  object-fit: cover;
}

.audience-panel ul {
  margin: 0;
  padding-left: 20px;
}

.audience-panel li {
  margin-bottom: 13px;
  color: var(--muted);
}

.audience-panel.dark li {
  color: rgba(255, 255, 255, 0.82);
}

.steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  counter-reset: steps;
  list-style: none;
}

.steps li {
  position: relative;
  min-height: 210px;
  padding: 58px 18px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  counter-increment: steps;
}

.steps li::before {
  content: counter(steps, decimal-leading-zero);
  position: absolute;
  top: 18px;
  left: 18px;
  color: var(--teal);
  font-weight: 900;
}

.steps span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}

table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  background: var(--paper);
}

th,
td {
  padding: 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: #fff;
  background: var(--navy);
  font-size: 0.88rem;
  text-transform: uppercase;
}

td:first-child {
  color: var(--teal-dark);
  font-weight: 900;
}

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

.differential-grid article {
  min-height: 190px;
}

.differential-grid span {
  display: block;
  margin-bottom: 24px;
  color: var(--gold);
  font-weight: 900;
}

.differential-grid strong {
  display: block;
  font-size: 1.4rem;
}

.differential-grid p {
  color: var(--muted);
}

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

figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

figure img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

figcaption {
  padding: 12px 14px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.contact-panel {
  align-items: stretch;
  padding: 34px;
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
}

.contact-panel p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.07rem;
}

.response-page {
  min-height: calc(100vh - 72px);
  display: grid;
  align-items: center;
}

.response-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1.1fr);
  gap: 42px;
  align-items: center;
  padding: 40px;
  border-radius: 8px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.response-copy h1 {
  margin: 8px 0 14px;
  color: var(--ink);
  font-size: clamp(2.2rem, 6vw, 4.8rem);
  line-height: 0.95;
}

.response-copy p {
  color: var(--muted);
  font-size: 1.12rem;
}

.response-visual img {
  display: block;
  width: 100%;
  max-height: 520px;
  object-fit: contain;
  animation: response-pop 0.7s ease both;
}

.respuesta-error .response-copy h1 {
  color: #b42318;
}

@keyframes response-pop {
  from {
    opacity: 0;
    transform: scale(0.92) translateY(18px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.demo-form {
  display: grid;
  gap: 14px;
  padding: 22px;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}

.demo-form label {
  display: grid;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--ink);
  font: inherit;
  background: #fff;
}

textarea {
  resize: vertical;
}

.footer {
  width: min(1180px, calc(100% - 32px));
  min-height: 86px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.footer img {
  width: 42px;
  height: auto;
}

.footer a {
  color: var(--teal-dark);
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 1020px) {
  .product-grid,
  .benefit-row,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .need-grid,
  .use-grid,
  .differential-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .intro-grid,
  .split,
  .master-layout,
  .contact-panel,
  .response-panel,
  .audience-grid {
    grid-template-columns: 1fr;
  }

  .screen-stack {
    min-height: 500px;
  }
}

@media (max-width: 760px) {
  .nav {
    min-height: 64px;
  }

  .brand span {
    font-size: 0.95rem;
  }

  .brand img {
    width: min(170px, 44vw);
    height: auto;
  }

  .nav-toggle {
    display: inline-block;
  }

  .nav-links {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 12px 16px 18px;
    background: rgba(53, 57, 61, 0.98);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    width: 100%;
    padding: 12px 0;
  }

  .hero {
    min-height: auto;
  }

  .hero-media::after {
    background: linear-gradient(180deg, rgba(11, 34, 50, 0.90), rgba(11, 34, 50, 0.78));
  }

  .hero-content {
    padding: 70px 0 82px;
  }

  .button {
    width: 100%;
  }

  .section {
    padding: 62px 0;
  }

  .product-grid,
  .benefit-row,
  .steps,
  .need-grid,
  .use-grid,
  .differential-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    min-height: auto;
  }

  .screen-stack {
    display: grid;
    gap: 14px;
    min-height: auto;
  }

  .screen-stack img {
    position: static;
    width: 100%;
  }

  .contact-panel {
    padding: 22px;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 0;
  }
}
