/* Estilos de inicio. */

.hero {
  position: relative;
  padding: clamp(56px, 7vw, 96px) 0 clamp(40px, 5vw, 64px);
  background:
    linear-gradient(135deg, rgba(31, 95, 208, 0.09) 0 32%, transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(#eef1f6 1px, transparent 1px),
    linear-gradient(90deg, #eef1f6 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(
    ellipse 70% 60% at 50% 30%,
    #000,
    transparent 75%
  );
  mask-image: radial-gradient(
    ellipse 70% 60% at 50% 30%,
    #000,
    transparent 75%
  );
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(18px, 4vw, 44px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(430px, 100%), 1fr));
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #dfe4ec;
  background: #fff;
  border-radius: 100px;
  padding: 7px 14px 7px 9px;
  margin-bottom: 26px;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #1f5fd0;
  animation: scBlink 2.6s ease-in-out infinite;
}

.hero-badge-text {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #5c6672;
}

.hero-title {
  margin: 0;
  font-size: clamp(40px, 5.6vw, 72px);
  line-height: 1;
  letter-spacing: -0.035em;
  font-weight: 700;
  font-variation-settings: "wdth" 100;
  color: #12161b;
}

.text-accent {
  color: #1f5fd0;
}

.hero-description {
  margin: 26px 0 0;
  max-width: 520px;
  font-size: clamp(16px, 1.25vw, 18.5px);
  line-height: 1.62;
  color: #525c69;
}

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

.button-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: #12161b;
  padding: 15px 26px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid #d7dde6;
}

.hero-benefits {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a94a2;
}

.hero-perspective {
  perspective: 1700px;
  perspective-origin: 60% 40%;
}

.hero-screens {
  position: relative;
  transform-style: preserve-3d;
  transform: rotateY(var(--tilt-y, -15deg)) rotateX(var(--tilt-x, 7deg));
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
  aspect-ratio: 5/4;
  width: 100%;
}

.hero-login {
  position: absolute;
  left: 0%;
  top: -6%;
  width: 27%;
  border-radius: 10px;
  transform: translateZ(-130px) rotate(-3.5deg);
  box-shadow: 0 30px 60px -30px rgba(18, 22, 27, 0.35);
  border: 1px solid #e4e8ee;
}

.hero-dashboard {
  position: absolute;
  left: 9%;
  top: 16%;
  width: 91%;
  border-radius: 12px;
  box-shadow: 0 50px 90px -40px rgba(18, 22, 27, 0.5);
  border: 1px solid #dfe4ec;
  background: #fff;
}

.hero-pos {
  position: absolute;
  right: 0%;
  bottom: -4%;
  width: 60%;
  border-radius: 12px;
  transform: translateZ(110px) rotate(1.5deg);
  box-shadow: 0 46px 70px -34px rgba(18, 22, 27, 0.45);
  border: 1px solid #dfe4ec;
  background: #fff;
}

.module-marquee {
  border-top: 1px solid #e9ecf1;
  border-bottom: 1px solid #e9ecf1;
  background: #fff;
  overflow: hidden;
  padding: 16px 0;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: scMarquee 46s linear infinite;
}

.marquee-items {
  display: flex;
  gap: 44px;
  padding-right: 44px;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9aa3b0;
  white-space: nowrap;
}

.section-spacious {
  padding: clamp(64px, 8vw, 116px) 0;
  background: #fff;
}

.advantage-section {
  padding: clamp(64px, 8vw, 116px) 0;
  background:
    linear-gradient(180deg, #f8fbff 0%, #ffffff 56%, #f7f9fc 100%),
    #fff;
  border-bottom: 1px solid #e9ecf1;
}

.advantage-heading {
  max-width: 760px;
  margin: 0 auto clamp(44px, 6vw, 76px);
  text-align: center;
}

.advantage-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #0ea5a8;
}

.advantage-eyebrow span {
  width: 24px;
  height: 1px;
  background: #7dd3d1;
}

.advantage-heading h2 {
  margin: 0;
  font-size: clamp(30px, 3.8vw, 52px);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.032em;
  color: #12161b;
}

.advantage-heading p {
  margin: 20px auto 0;
  max-width: 660px;
  font-size: 17px;
  line-height: 1.62;
  color: #5c6672;
}

.advantage-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(min(520px, 100%), 1fr);
  gap: clamp(36px, 6vw, 84px);
  align-items: center;
}

.advantage-copy {
  min-width: 0;
}

.advantage-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  border-radius: 8px;
  background: #edf5ff;
  color: #1f5fd0;
}

.advantage-icon svg,
.advantage-link svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.1;
}

.advantage-icon svg {
  width: 25px;
  height: 25px;
}

.advantage-copy h3 {
  margin: 0;
  max-width: 15ch;
  font-size: clamp(25px, 3vw, 36px);
  line-height: 1.08;
  letter-spacing: -0.028em;
  font-weight: 700;
  color: #12161b;
}

.advantage-copy p {
  margin: 22px 0 0;
  max-width: 620px;
  font-size: 16.5px;
  line-height: 1.66;
  color: #525c69;
}

.advantage-actions {
  margin-top: 26px;
}

.advantage-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #1f5fd0;
  font-size: 15px;
  font-weight: 700;
}

.advantage-link svg {
  width: 18px;
  height: 18px;
}

.advantage-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.advantage-pills span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 7px 13px;
  border: 1px solid #dfe4ec;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
  color: #3c4552;
  font-size: 13px;
  font-weight: 600;
}

.advantage-pills span::before {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid #1f5fd0;
  border-bottom: 2px solid #1f5fd0;
  transform: rotate(45deg) translateY(-1px);
  flex: none;
}

.print-flow-card {
  border: 1px solid #e4e8ee;
  border-radius: 8px;
  background: #fff;
  padding: clamp(22px, 3vw, 34px);
  box-shadow: 0 34px 70px -48px rgba(18, 22, 27, 0.45);
}

.flow-card-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.018em;
  color: #12161b;
}

.flow-card-subtitle {
  margin-top: 5px;
  font-size: 12px;
  color: #8a94a2;
}

.flow-diagram {
  margin-top: 20px;
  display: grid;
  grid-template-columns:
    minmax(0, 1fr) 24px minmax(0, 1fr) 24px
    minmax(0, 1.08fr) 24px minmax(0, 1fr);
  grid-template-rows: 22px minmax(92px, auto);
  gap: 8px;
  align-items: center;
  min-width: 0;
  padding: 12px;
  border: 1px dashed #d9e2f1;
  border-radius: 8px;
  background: #fbfdff;
}

.flow-zone {
  font-family: "JetBrains Mono", monospace;
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #a3abb7;
  text-align: center;
}

.flow-zone-cloud {
  grid-column: 1;
  grid-row: 1;
}

.flow-zone-pos {
  grid-column: 3 / 8;
  grid-row: 1;
}

.flow-node {
  min-width: 0;
  min-height: 82px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 12px 8px;
  border: 1px solid #dfe6f5;
  border-radius: 8px;
  background: #fff;
  text-align: center;
  box-shadow: 0 12px 28px -24px rgba(18, 22, 27, 0.45);
}

.flow-node strong {
  font-size: 11px;
  line-height: 1.2;
  color: #12161b;
  overflow-wrap: anywhere;
}

.flow-node span {
  font-size: 9.5px;
  line-height: 1.3;
  color: #7a8493;
  overflow-wrap: anywhere;
}

.flow-cloud {
  grid-column: 1;
  grid-row: 2;
}

.flow-browser {
  grid-column: 3;
  grid-row: 2;
}

.flow-service {
  grid-column: 5;
  grid-row: 2;
  border-color: #1f5fd0;
  box-shadow: 0 16px 32px -24px rgba(31, 95, 208, 0.8);
}

.flow-printer {
  grid-column: 7;
  grid-row: 2;
}

.flow-connector {
  position: relative;
  z-index: 0;
  grid-row: 2;
  font-family: "JetBrains Mono", monospace;
  font-size: 0;
  color: #6f7b8b;
  text-align: center;
  min-width: 0;
  min-height: 18px;
}

.flow-connector::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 1px;
  right: 1px;
  top: 50%;
  border-top: 1px solid #8eb2f3;
}

.flow-connector::after {
  content: "";
  position: absolute;
  right: 1px;
  top: calc(50% - 4px);
  width: 8px;
  height: 8px;
  border-top: 1px solid #8eb2f3;
  border-right: 1px solid #8eb2f3;
  transform: rotate(45deg);
  background: #fbfdff;
}

.flow-connector-cloud {
  grid-column: 2;
}

.flow-connector-local {
  grid-column: 4;
}

.flow-connector-print {
  grid-column: 6;
}

.flow-note {
  margin: 14px 0 0;
  font-size: 11.5px;
  line-height: 1.55;
  text-align: center;
  color: #6f7b8b;
}

.print-layout {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(18px, 4vw, 44px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(400px, 100%), 1fr));
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}

.section-title {
  margin: 0;
  font-size: clamp(30px, 3.9vw, 50px);
  line-height: 1.04;
  letter-spacing: -0.032em;
  font-weight: 700;
}

.print-description {
  margin: 22px 0 0;
  max-width: 480px;
  font-size: 17px;
  line-height: 1.62;
  color: #525c69;
}

.benefit-list {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.benefit-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15.5px;
  line-height: 1.5;
  color: #12161b;
}

.accent-arrow {
  color: #1f5fd0;
  font-family: "JetBrains Mono", monospace;
}

.keyboard-key {
  font-family: "JetBrains Mono", monospace;
  font-size: 13.5px;
  background: #f2f5f9;
  padding: 2px 6px;
  border-radius: 3px;
}

.print-comparison {
  border: 1px solid #e4e8ee;
  border-radius: 14px;
  background: #f7f9fc;
  padding: clamp(20px, 2.6vw, 32px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  gap: 20px;
}

.browser-print {
  background: #fff;
  border: 1px solid #e9ecf1;
  border-radius: 10px;
  padding: 18px;
  opacity: 0.72;
}

.browser-print-title {
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9aa3b0;
  margin-bottom: 14px;
}

.browser-print-steps {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.browser-print-step {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  color: #7a8493;
}

.step-circle {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid #cfd6e0;
  flex: none;
}

.browser-print-time {
  margin-top: 16px;
  padding-top: 13px;
  border-top: 1px dashed #dfe4ec;
  font-size: 12.5px;
  color: #a3abb7;
}

.native-print {
  background: #fff;
  border: 1px solid #dfe6f5;
  border-radius: 10px;
  padding: 18px;
  position: relative;
}

.native-print-title {
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #1f5fd0;
  margin-bottom: 14px;
}

.print-shortcut {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #12161b;
  color: #fff;
  padding: 8px 12px;
  border-radius: 4px;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
}

.printer-slot {
  margin-top: 16px;
  height: 12px;
  border-radius: 3px 3px 0 0;
  background: #12161b;
}

.ticket-window {
  height: 112px;
  overflow: hidden;
  background: #eef1f6;
  padding: 0 10px;
  border-left: 1px solid #e2e7ee;
  border-right: 1px solid #e2e7ee;
}

.ticket {
  animation: scTicket 5.4s cubic-bezier(0.4, 0.9, 0.3, 1) infinite;
  background: #fff;
  box-shadow: 0 6px 14px -8px rgba(18, 22, 27, 0.4);
  padding: 10px 11px;
  font-family: "JetBrains Mono", monospace;
  font-size: 9.5px;
  line-height: 1.75;
  color: #3c4552;
}

.ticket-brand {
  text-align: center;
  font-weight: 500;
  letter-spacing: 0.12em;
}

.ticket-branch {
  text-align: center;
  color: #8a94a2;
}

.ticket-divider {
  border-top: 1px dashed #cfd6e0;
  margin: 6px 0;
}

.ticket-row {
  display: flex;
  justify-content: space-between;
}

.ticket-total {
  display: flex;
  justify-content: space-between;
  font-weight: 500;
  color: #12161b;
}

.print-result {
  margin-top: 13px;
  font-size: 12.5px;
  color: #1f5fd0;
}

.section-heading {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: clamp(32px, 4vw, 52px);
}

.modules-title {
  margin: 0;
  font-size: clamp(30px, 3.9vw, 50px);
  line-height: 1.04;
  letter-spacing: -0.032em;
  font-weight: 700;
  max-width: 16ch;
}

.detail-link {
  font-size: 15px;
  font-weight: 600;
  color: #1f5fd0;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding-bottom: 6px;
  border-bottom: 1px solid #c9d6ee;
}

.modules-grid {
  border-top: 1px solid #dfe4ec;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(310px, 100%), 1fr));
  column-gap: clamp(28px, 5vw, 72px);
}

.module-row {
  border-bottom: 1px solid #dfe4ec;
  padding: 19px 16px 19px 0;
  display: flex;
  align-items: baseline;
  gap: 16px;
  transition:
    background 0.25s ease,
    padding 0.25s ease;
}

.module-number {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: #b3bbc7;
  flex: none;
  width: 22px;
}

.module-name {
  font-size: 16.5px;
  font-weight: 500;
  color: #12161b;
  flex: 1;
}

.module-note {
  font-size: 12.5px;
  color: #8a94a2;
  text-align: right;
}

.trust-section {
  background: #101820;
  color: #fff;
  border-top: 1px solid #1e2a38;
  border-bottom: 1px solid #1e2a38;
}

.trust-section .section-eyebrow-compact {
  color: #6fb3ff;
}

.trust-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.8fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: end;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.trust-title {
  margin: 0;
  max-width: 18ch;
  font-size: clamp(30px, 3.9vw, 50px);
  line-height: 1.04;
  letter-spacing: -0.032em;
  font-weight: 700;
}

.trust-description {
  margin: 0;
  max-width: 52ch;
  font-size: 16.5px;
  line-height: 1.62;
  color: #b8c4d2;
}

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

.trust-card {
  min-height: 174px;
  border: 1px solid #283545;
  border-radius: 8px;
  padding: clamp(20px, 2.2vw, 26px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025));
}

.trust-index {
  display: inline-flex;
  margin-bottom: 18px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: #6fb3ff;
}

.trust-card h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 600;
}

.trust-card p {
  margin: 12px 0 0;
  font-size: 14.5px;
  line-height: 1.58;
  color: #b8c4d2;
}

.pos-intro {
  max-width: 640px;
  margin-bottom: clamp(32px, 4vw, 52px);
}

.section-description {
  margin: 20px 0 0;
  font-size: 17px;
  line-height: 1.62;
  color: #525c69;
}

.pos-preview {
  position: relative;
  border: 1px solid #e4e8ee;
  border-radius: 14px;
  overflow: hidden;
  background: #f7f9fc;
  box-shadow: 0 40px 80px -50px rgba(18, 22, 27, 0.45);
}

.preview-toolbar {
  height: 38px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 16px;
  background: #fff;
  border-bottom: 1px solid #e9ecf1;
}

.toolbar-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #e2e6ec;
}

.toolbar-title {
  margin-left: 12px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: #a3abb7;
}

.pos-scanner-label {
  position: absolute;
  left: 3%;
  bottom: 9%;
  background: #12161b;
  color: #fff;
  padding: 9px 14px;
  border-radius: 4px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11.5px;
  box-shadow: 0 14px 30px -14px rgba(18, 22, 27, 0.6);
}

.pos-total-label {
  position: absolute;
  right: 4%;
  top: 22%;
  background: #1f5fd0;
  color: #fff;
  padding: 9px 14px;
  border-radius: 4px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11.5px;
  box-shadow: 0 14px 30px -14px rgba(31, 95, 208, 0.6);
}

.audience-section {
  padding: clamp(56px, 7vw, 100px) 0;
  background: #fff;
  border-top: 1px solid #e9ecf1;
}

.audience-eyebrow {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #9aa3b0;
  margin-bottom: 34px;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(290px, 100%), 1fr));
  gap: clamp(16px, 2vw, 28px);
}

.audience-card {
  border: 1px solid #e4e8ee;
  border-radius: 12px;
  padding: clamp(22px, 2.4vw, 30px);
  transition:
    border-color 0.3s ease,
    transform 0.3s ease;
}

.audience-letter {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: #1f5fd0;
  margin-bottom: 16px;
}

.audience-title {
  margin: 0 0 12px;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.audience-description {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: #5c6672;
}

.button-secondary:hover {
  border-color: #12161b;
  color: #12161b;
}

.module-row:hover {
  background: #fff;
  padding-left: 14px;
}

.audience-card:hover {
  border-color: #1f5fd0;
  transform: translateY(-4px);
}

@media (max-width: 760px) {
  .advantage-heading {
    text-align: left;
  }

  .advantage-eyebrow {
    letter-spacing: 0.18em;
  }

  .advantage-layout {
    grid-template-columns: 1fr;
  }

  .advantage-copy h3 {
    max-width: 19ch;
  }

  .flow-diagram {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 0;
    padding: 14px;
  }

  .flow-zone {
    display: none;
  }

  .flow-node,
  .flow-connector {
    grid-column: auto;
    grid-row: auto;
  }

  .flow-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    font-size: 10px;
    color: #6f7b8b;
  }

  .flow-connector::before {
    left: 50%;
    right: auto;
    top: 5px;
    bottom: 5px;
    border-top: 0;
    border-left: 1px solid #8eb2f3;
  }

  .flow-connector::after {
    left: 50%;
    right: auto;
    top: auto;
    bottom: 5px;
    border-top: 0;
    border-bottom: 1px solid #8eb2f3;
    transform: translateX(-50%) rotate(45deg);
    background: #fbfdff;
  }

  .trust-heading {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .module-row {
    align-items: flex-start;
  }

  .module-note {
    max-width: 42%;
  }
}
