:root {
  /* Brand: logo indigo → purple (approx. #4A69BD → #922B8C) */
  --primary: #4a69bd;
  --primary-light: #ece8f5;
  --primary-dark: #354a8c;
  --accent: #922b8c;
  --gradient-cta: linear-gradient(135deg, #4a69bd 0%, #6b4fb8 45%, #922b8c 100%);
  --gradient-text: linear-gradient(120deg, #4a69bd 0%, #6b4fb8 50%, #922b8c 100%);
  --bg: #f6f5fa;
  --text-main: #1f2933;
  --text-muted: #6b7280;
  --white: #ffffff;
  --border: #e5e7eb;
  --shadow-soft: 0 18px 45px rgba(53, 74, 140, 0.1);
  --radius-lg: 18px;
  --radius-full: 999px;
  --transition-fast: 0.2s ease;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  overflow-x: clip;
}

body {
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 12% 0%, rgba(74, 105, 189, 0.12) 0, transparent 42%),
    radial-gradient(circle at 88% 8%, rgba(146, 43, 140, 0.1) 0, transparent 45%),
    var(--bg);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

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

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

/* Layout */
.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 4.5rem 0;
  scroll-margin-top: 88px;
}

/* Top gradient accent */
.top-accent {
  position: fixed;
  inset: 0;
  pointer-events: none;
  mix-blend-mode: multiply;
  opacity: 0.4;
  z-index: -1;
  background:
    radial-gradient(circle at 10% 0, rgba(74, 105, 189, 0.2), transparent 55%),
    radial-gradient(circle at 80% -10%, rgba(146, 43, 140, 0.16), transparent 50%);
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(246, 245, 250, 0.9);
  border-bottom: 1px solid rgba(229, 231, 235, 0.75);
  overflow: visible;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.brand-logo {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  object-fit: contain;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-name {
  font-weight: 700;
  letter-spacing: 0.03em;
  font-size: 0.98rem;
}

.brand-tagline {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.9rem;
}

.nav-links a {
  color: var(--text-muted);
  position: relative;
  padding-bottom: 0.15rem;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.25rem;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--gradient-cta);
  transition: width var(--transition-fast);
}

.nav-links a:hover {
  color: var(--primary-dark);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-staff-btn {
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(74, 105, 189, 0.35);
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary-dark);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
}

.nav-staff-btn:hover {
  background: rgba(236, 232, 245, 0.95);
}

/* Homepage: fixed navbar over full-viewport hero, then solid bar after scroll */
.navbar--home {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(10, 14, 26, 0.38);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition:
    background 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.navbar--home.navbar--home-solid {
  background: rgba(246, 245, 250, 0.94);
  border-bottom: 1px solid rgba(229, 231, 235, 0.75);
  box-shadow: 0 4px 28px rgba(15, 23, 42, 0.07);
}

.navbar--home:not(.navbar--home-solid) .brand-name {
  color: #f8fafc;
}

.navbar--home:not(.navbar--home-solid) .brand-tagline {
  color: rgba(203, 213, 225, 0.88);
}

.navbar--home:not(.navbar--home-solid) .nav-links > a:not(.nav-staff-btn) {
  color: rgba(226, 232, 240, 0.92);
}

.navbar--home:not(.navbar--home-solid) .nav-links > a:not(.nav-staff-btn):hover {
  color: #ffffff;
}

.navbar--home:not(.navbar--home-solid) .nav-staff-btn {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(165, 180, 252, 0.45);
  color: #e2e8f0;
}

.navbar--home:not(.navbar--home-solid) .nav-staff-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.navbar--home:not(.navbar--home-solid) .nav-toggle span,
.navbar--home:not(.navbar--home-solid) .nav-toggle span::before,
.navbar--home:not(.navbar--home-solid) .nav-toggle span::after {
  background: #f1f5f9;
}

@media (max-width: 768px) {
  .navbar--home:not(.navbar--home-solid) .nav-links {
    background: rgba(15, 23, 42, 0.97);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .navbar--home:not(.navbar--home-solid) .nav-links > a:not(.nav-staff-btn) {
    color: rgba(241, 245, 249, 0.95);
  }

  .navbar--home:not(.navbar--home-solid) .nav-links > a:not(.nav-staff-btn):hover {
    color: #ffffff;
  }
}

/* Staff login: fixed strip directly under sticky navbar (top set via JS to match navbar height) */
.staff-login-panel {
  position: fixed;
  left: 0;
  right: 0;
  z-index: 150;
  display: none;
  padding: 0.85rem 0 1rem;
  background: rgba(246, 245, 250, 0.97);
  border-bottom: 1px solid rgba(229, 231, 235, 0.9);
  box-shadow: 0 18px 40px rgba(2, 6, 23, 0.1);
  backdrop-filter: blur(10px);
}

.staff-login-panel.open {
  display: block;
}

.staff-login-panel-inner {
  display: flex;
  justify-content: center;
}

.staff-login-form--compact {
  width: min(520px, 100%);
}

.nav-cta {
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius-full);
  background: var(--gradient-cta);
  color: var(--white);
  font-size: 0.86rem;
  font-weight: 600;
  box-shadow: 0 10px 28px rgba(74, 105, 189, 0.38);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast), opacity var(--transition-fast);
}

.nav-cta span {
  font-size: 1rem;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 42px rgba(146, 43, 140, 0.32);
  opacity: 0.96;
}

.nav-cta:active {
  transform: translateY(0);
  box-shadow: 0 8px 25px rgba(74, 105, 189, 0.35);
}

.nav-toggle {
  display: none;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0.25rem;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-main);
  border-radius: 999px;
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--text-main);
  border-radius: 999px;
  transition: transform var(--transition-fast), opacity var(--transition-fast), top var(--transition-fast), bottom var(--transition-fast);
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  bottom: -6px;
}

.nav-toggle.active span {
  background: transparent;
}

.nav-toggle.active span::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle.active span::after {
  bottom: 0;
  transform: rotate(-45deg);
}

/* Hero */
.hero {
  padding-top: 3.5rem;
  padding-bottom: 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.hero-grid > * {
  min-width: 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  max-width: 100%;
  padding: 0.2rem 0.6rem 0.2rem 0.25rem;
  border-radius: var(--radius-full);
  background: rgba(236, 232, 245, 0.95);
  color: var(--primary-dark);
  font-size: 0.72rem;
  margin-bottom: 1.1rem;
}

.hero-badge-dot {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #ffffff 0, #7b93d9 40%, #922b8c 95%);
  box-shadow: 0 0 0 4px rgba(107, 79, 184, 0.35);
}

.hero-title {
  font-size: clamp(2.1rem, 3vw, 2.7rem);
  line-height: 1.1;
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
}

.hero-title span {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 34rem;
  margin-bottom: 1.8rem;
}

.hero-subtitle strong {
  color: var(--text-main);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.btn-primary {
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-full);
  border: none;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  background: var(--gradient-cta);
  color: var(--white);
  box-shadow: var(--shadow-soft);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), opacity var(--transition-fast);
}

.btn-primary:hover {
  transform: translateY(-1.5px);
  box-shadow: 0 18px 44px rgba(74, 105, 189, 0.45);
  opacity: 0.97;
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 10px 28px rgba(146, 43, 140, 0.28);
}

.btn-secondary {
  padding: 0.75rem 1.35rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(148, 163, 184, 0.55);
  background: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  transition: background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

.btn-secondary:hover {
  background: #f9fafb;
  border-color: var(--primary);
  color: var(--primary-dark);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
  transform: translateY(-1px);
}

.hero-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.hero-note-badge {
  padding: 0.08rem 0.4rem;
  border-radius: 999px;
  background: rgba(22, 163, 74, 0.08);
  color: #15803d;
  font-size: 0.7rem;
  border: 1px solid rgba(22, 163, 74, 0.25);
}

.hero-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-lg);
  padding: 1.7rem 1.7rem 1.5rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(226, 232, 240, 0.8);
  position: relative;
  overflow: hidden;
}

.hero-card-tag {
  font-size: 0.78rem;
  color: var(--primary-dark);
  background: rgba(236, 232, 245, 0.95);
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.hero-card-tag-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.2);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
  margin-bottom: 1.4rem;
  min-width: 0;
}

.metric {
  min-width: 0;
  padding: 0.7rem 0.85rem;
  border-radius: 14px;
  background: #f9fafb;
  border: 1px solid rgba(226, 232, 240, 0.9);
}

.metric-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 0.1rem;
  overflow-wrap: break-word;
}

.metric-value {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.metric-pill {
  margin-top: 0.1rem;
  font-size: 0.72rem;
  padding: 0.05rem 0.45rem;
  border-radius: 999px;
  background: rgba(74, 105, 189, 0.1);
  color: var(--primary-dark);
  display: inline-block;
  max-width: 100%;
  overflow-wrap: break-word;
}

.call-flow {
  margin-top: 0.4rem;
  padding-top: 0.9rem;
  border-top: 1px dashed rgba(203, 213, 225, 0.9);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.7rem;
}

.call-step {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  min-width: 0;
}

.call-step > div:last-child {
  min-width: 0;
  overflow-wrap: break-word;
}

.call-icon {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  color: var(--primary-dark);
}

.call-text-title {
  font-size: 0.82rem;
  font-weight: 600;
}

.call-text-body {
  font-size: 0.76rem;
  color: var(--text-muted);
}

.hero-glow {
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 0 0, rgba(146, 43, 140, 0.14), transparent 50%),
    radial-gradient(circle at 100% 100%, rgba(74, 105, 189, 0.12), transparent 55%);
  opacity: 0.8;
  pointer-events: none;
}

/* Sections */
.section-label {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary-dark);
  margin-bottom: 0.6rem;
}

.section-title {
  font-size: 1.6rem;
  margin-bottom: 0.7rem;
  letter-spacing: -0.03em;
}

.section-description {
  font-size: 0.98rem;
  color: var(--text-muted);
  max-width: 34rem;
  margin-bottom: 1.7rem;
}

/* Problem section */
.card {
  min-width: 0;
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-lg);
  padding: 1.8rem 1.7rem;
  border: 1px solid rgba(229, 231, 235, 0.9);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
}

.problem-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2.2rem;
  align-items: flex-start;
}

.problem-grid > * {
  min-width: 0;
}

.problem-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.9rem;
}

.problem-item {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  background: #f9fafb;
  border-radius: 14px;
  padding: 0.8rem 0.9rem;
  border: 1px solid rgba(229, 231, 235, 0.9);
  min-width: 0;
}

.problem-item > div:last-child {
  min-width: 0;
  overflow-wrap: break-word;
}

.problem-icon {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #fee2e2;
  color: #b91c1c;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.problem-text-title {
  font-size: 0.9rem;
  font-weight: 600;
}

.problem-text-body {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.problem-note {
  margin-top: 1rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  border-left: 3px solid rgba(248, 113, 113, 0.75);
  padding-left: 0.7rem;
}

.problem-highlight {
  margin-top: 0.2rem;
  background: rgba(255, 251, 235, 0.9);
  border-radius: 10px;
  padding: 0.7rem 0.8rem;
  font-size: 0.82rem;
  color: #92400e;
  border: 1px solid rgba(251, 191, 36, 0.7);
}

/* Solution section */
.solution-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: flex-start;
}

.solution-grid > * {
  min-width: 0;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.7rem;
}

.pill {
  max-width: 100%;
  font-size: 0.78rem;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(180, 170, 220, 0.65);
  background: rgba(236, 232, 245, 0.85);
  color: var(--primary-dark);
  overflow-wrap: break-word;
}

.solution-card {
  background: rgba(15, 23, 42, 0.96);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.6rem 1.4rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.65);
}

.solution-card::before {
  content: "";
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle at 0 0, rgba(74, 105, 189, 0.35), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(146, 43, 140, 0.22), transparent 50%);
  opacity: 0.9;
  pointer-events: none;
}

.solution-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  margin-bottom: 0.9rem;
  position: relative;
  z-index: 1;
}

.solution-card-header > div:first-child {
  min-width: 0;
  flex: 1 1 12rem;
}

.solution-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(220, 212, 245, 0.95);
}

.solution-status {
  font-size: 0.75rem;
  color: #bbf7d0;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: rgba(22, 163, 74, 0.2);
  border: 1px solid rgba(74, 222, 128, 0.5);
}

.solution-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #22c55e;
}

.solution-rows {
  display: grid;
  gap: 0.7rem;
  position: relative;
  z-index: 1;
  margin-top: 0.4rem;
}

.solution-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.45rem 0.75rem;
  font-size: 0.8rem;
  padding: 0.55rem 0.7rem;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.solution-row > span:first-child {
  flex: 1 1 10rem;
  min-width: 0;
  overflow-wrap: break-word;
}

.solution-row .solution-tag {
  flex-shrink: 0;
  max-width: 100%;
  margin-left: auto;
}

.solution-row strong {
  font-weight: 600;
}

.solution-tag {
  font-size: 0.74rem;
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
  background: rgba(107, 79, 184, 0.45);
  color: #f0e8ff;
}

/* How it works */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 0.8rem;
}

.step {
  min-width: 0;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 16px;
  padding: 1rem 0.9rem;
  border: 1px solid rgba(226, 232, 240, 0.95);
  position: relative;
  overflow: hidden;
  overflow-wrap: break-word;
}

.step-number {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--primary-light);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.86rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.step-title {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.step-body {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Benefits */
.benefits-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2.2rem;
  align-items: center;
}

.benefits-grid > * {
  min-width: 0;
}

.benefit-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.benefit-item {
  min-width: 0;
  background: #f1f5f9;
  border-radius: 14px;
  padding: 0.9rem 0.9rem;
  border: 1px solid rgba(203, 213, 225, 0.95);
  font-size: 0.86rem;
  overflow-wrap: break-word;
}

.benefit-item strong {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.9rem;
}

.benefit-highlight {
  margin-top: 1rem;
  padding: 0.8rem 0.9rem;
  border-radius: 14px;
  background: rgba(236, 232, 245, 0.9);
  border: 1px solid rgba(180, 170, 220, 0.75);
  font-size: 0.85rem;
  color: var(--primary-dark);
}

/* Testimonials */
.testimonials {
  background: rgba(15, 23, 42, 0.96);
  color: var(--white);
  border-radius: 24px;
  padding: 2.2rem 2rem 2.1rem;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.9);
  position: relative;
  overflow: hidden;
}

.testimonials::before {
  content: "";
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle at 100% 0, rgba(146, 43, 140, 0.22), transparent 55%),
    radial-gradient(circle at 0 100%, rgba(74, 105, 189, 0.18), transparent 50%);
  opacity: 0.8;
  pointer-events: none;
}

.testimonials-header {
  position: relative;
  z-index: 1;
  margin-bottom: 1.4rem;
}

.testimonials-header h2 {
  font-size: 1.4rem;
  margin-bottom: 0.3rem;
  letter-spacing: -0.03em;
}

.testimonials-header p {
  font-size: 0.86rem;
  color: rgba(226, 232, 240, 0.85);
  max-width: 28rem;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  position: relative;
  z-index: 1;
}

.testimonial {
  min-width: 0;
  background: rgba(15, 23, 42, 0.92);
  border-radius: 16px;
  padding: 1.1rem 1rem;
  border: 1px solid rgba(148, 163, 184, 0.55);
  font-size: 0.82rem;
  overflow-wrap: break-word;
}

.testimonial-quote {
  margin-bottom: 0.7rem;
  color: rgba(248, 250, 252, 0.95);
}

.testimonial-meta {
  font-size: 0.78rem;
  color: rgba(203, 213, 225, 0.95);
}

.testimonial-meta strong {
  display: block;
  color: var(--white);
  font-size: 0.82rem;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
}

.pricing-grid > * {
  min-width: 0;
}

.pricing-card {
  min-width: 0;
  background: var(--white);
  border-radius: 20px;
  padding: 1.8rem 1.7rem;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.07);
}

.pricing-tagline {
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-bottom: 0.7rem;
}

.pricing-highlight {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  overflow-wrap: break-word;
}

.pricing-list {
  list-style: none;
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
}

.pricing-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.pricing-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--primary);
}

.pricing-note {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
  margin-top: 0.8rem;
}

.faq-item {
  min-width: 0;
  background: var(--white);
  border-radius: 14px;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.04);
  overflow-wrap: break-word;
}

.faq-question {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.faq-answer {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* About */
.about {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 22px;
  padding: 1.9rem 1.8rem;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.07);
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
  min-width: 0;
}

.about > * {
  min-width: 0;
}

.about-tag {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--primary-dark);
  margin-bottom: 0.4rem;
}

.about-title {
  font-size: 1.4rem;
  margin-bottom: 0.6rem;
  letter-spacing: -0.03em;
}

.about-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}

.about-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.6rem;
}

.about-pill {
  max-width: 100%;
  font-size: 0.76rem;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  background: rgba(236, 232, 245, 0.9);
  border: 1px solid rgba(180, 170, 220, 0.65);
  color: var(--primary-dark);
  overflow-wrap: break-word;
}

.about-metrics {
  display: grid;
  gap: 0.7rem;
}

.about-metric {
  padding: 0.7rem 0.9rem;
  border-radius: 14px;
  background: #f9fafb;
  border: 1px solid rgba(226, 232, 240, 0.9);
  font-size: 0.85rem;
  overflow-wrap: break-word;
}

.about-metric strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.1rem;
}

/* Contact */
/* Contact section: use full width of container, not narrow column */
#contact .section-description,
#contacto .section-description {
  max-width: none;
}

.contact-section {
  background: #f8f9fd;
  border-top: 1px solid rgba(229, 231, 235, 0.75);
  border-bottom: 1px solid rgba(229, 231, 235, 0.75);
}

.contact-section .contact-details {
  gap: 1rem;
  margin-top: 0.85rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
}

.contact-grid > * {
  min-width: 0;
}

.contact-details {
  font-size: 0.9rem;
  color: var(--text-muted);
  display: grid;
  gap: 0.6rem;
  margin-top: 0.7rem;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  min-width: 0;
}

.contact-detail-item > div:last-child {
  min-width: 0;
  overflow-wrap: anywhere;
}

.contact-icon {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: var(--primary-light);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.contact-card {
  background: var(--white);
  border-radius: 20px;
  padding: 1.6rem 1.5rem;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

.contact-row {
  display: grid;
  gap: 0.7rem;
  margin-bottom: 1rem;
}

.contact-field-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.18rem;
}

.contact-field {
  width: 100%;
  border-radius: 999px;
  border: 1px solid rgba(209, 213, 219, 0.9);
  padding: 0.5rem 0.9rem;
  font-size: 0.83rem;
  outline: none;
  background: #f9fafb;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.contact-field:focus {
  border-color: var(--primary);
  background: #ffffff;
  box-shadow: 0 0 0 1px rgba(74, 105, 189, 0.5);
}

.contact-inline {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  min-width: 0;
}

.contact-helper {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
}

.contact-badge {
  font-size: 0.75rem;
  padding: 0.12rem 0.55rem;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.08);
  color: #047857;
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.staff-login-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.55rem;
  padding: 1.2rem;
  background: #fff;
  border-radius: 16px;
  width: min(360px, calc(100vw - 2rem));
  max-width: 100%;
  box-shadow: 0 24px 55px rgba(2, 6, 23, 0.28);
  border: 1px solid rgba(229, 231, 235, 0.95);
}

.staff-login-form input[type="text"],
.staff-login-form input[type="password"] {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  border: 1px solid rgba(209, 213, 219, 0.95);
  border-radius: 10px;
  padding: 0.55rem 0.7rem;
  font-size: 0.9rem;
}

.password-input-wrap {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  grid-column: 1 / -1;
}

.password-input-wrap input {
  width: 100%;
  max-width: 100%;
  padding-right: 2.75rem;
}

.password-toggle-btn {
  position: absolute;
  top: 50%;
  right: 0.35rem;
  transform: translateY(-50%);
  border: 0;
  border-radius: 8px;
  background: transparent;
  width: 2.35rem;
  height: calc(100% - 0.35rem);
  max-height: 2.4rem;
  min-height: 1.75rem;
  cursor: pointer;
  line-height: 1;
  color: #334155;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.password-toggle-btn:hover {
  background: rgba(15, 23, 42, 0.06);
}

.password-toggle-btn img {
  width: 1.1rem;
  height: 1.1rem;
  object-fit: contain;
  display: block;
  pointer-events: none;
}

.staff-login-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.6rem;
  margin-top: 0.45rem;
}

.staff-login-message {
  min-height: 1.1rem;
  font-size: 0.82rem;
  color: #1d4ed8;
}

.staff-login-message.error {
  color: #b91c1c;
}

/* Footer */
footer {
  border-top: 1px solid rgba(229, 231, 235, 0.9);
  padding: 1.5rem 0 1.8rem;
  margin-top: 2rem;
  background: rgba(249, 250, 251, 0.94);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: underline;
  text-decoration-color: rgba(156, 163, 175, 0.7);
  text-underline-offset: 3px;
  cursor: pointer;
}

.footer-links a:hover {
  color: var(--primary-dark);
  text-decoration-color: rgba(74, 105, 189, 0.75);
}

/* Utilities */
.muted {
  color: var(--text-muted);
}

.text-sm {
  font-size: 0.82rem;
}

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid,
  .problem-grid,
  .solution-grid,
  .benefits-grid,
  .pricing-grid,
  .about,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding-top: 2.5rem;
  }

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

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

@media (max-width: 768px) {
  .navbar-inner {
    padding: 0.7rem 0;
  }

  .nav-links {
    position: absolute;
    inset: 100% 0 auto 0;
    background: rgba(246, 245, 250, 0.98);
    border-bottom: 1px solid rgba(229, 231, 235, 0.95);
    padding: 0.7rem 1.5rem 0.9rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
    transform-origin: top;
    transform: scaleY(0.8);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-fast), transform var(--transition-fast);
  }

  .nav-links.open {
    opacity: 1;
    pointer-events: auto;
    transform: scaleY(1);
  }

  .nav-cta {
    width: 100%;
    justify-content: center;
  }

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

  .hero-grid {
    gap: 2.3rem;
  }

  .section-title {
    font-size: 1.4rem;
  }

  .testimonials {
    padding: 1.9rem 1.5rem 1.8rem;
  }

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

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

@media (max-width: 640px) {
  section {
    padding: 3.7rem 0;
  }

  .hero {
    padding-bottom: 3rem;
  }

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

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

  .about {
    padding: 1.6rem 1.4rem;
  }

  .contact-inline {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 480px) {
  .hero-metrics {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-card {
    padding: 1.35rem 1.1rem 1.25rem;
  }
}

/* —— Multi-page nav & landing (home / software / login) —— */
.brand-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: inherit;
}

a.nav-staff-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.navbar-inner {
  position: relative;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

a.btn-primary,
a.btn-secondary {
  text-decoration: none;
  box-sizing: border-box;
}

/* —— Futuristic full-viewport hero (static site; inspired by WebGPU hero pattern) —— */
.hero-future {
  position: relative;
  /* Definite height so flex children don't overflow past viewport (and get clipped) */
  height: 100svh;
  height: 100dvh;
  min-height: 100svh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: stretch;
  overflow: hidden;
  background: #0a0e1a;
}

.hero-future-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-future-aurora {
  position: absolute;
  inset: -20% -10% -10% -10%;
  background:
    radial-gradient(ellipse 80% 60% at 20% 20%, rgba(74, 105, 189, 0.5), transparent 55%),
    radial-gradient(ellipse 70% 50% at 85% 15%, rgba(146, 43, 140, 0.45), transparent 50%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(107, 79, 184, 0.35), transparent 45%),
    linear-gradient(180deg, #0a0e1a 0%, #12172b 40%, #0d1020 100%);
}

.hero-future-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  animation: heroBlobFloat 14s ease-in-out infinite;
}

.hero-future-blob--a {
  width: min(42vw, 380px);
  height: min(42vw, 380px);
  background: rgba(74, 105, 189, 0.55);
  top: 8%;
  left: -5%;
  animation-delay: 0s;
}

.hero-future-blob--b {
  width: min(48vw, 420px);
  height: min(48vw, 420px);
  background: rgba(146, 43, 140, 0.5);
  bottom: 5%;
  right: -8%;
  animation-delay: -7s;
}

@keyframes heroBlobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(3%, -4%) scale(1.05); }
}

.hero-future-grid {
  position: absolute;
  left: -30%;
  right: -30%;
  top: 10%;
  bottom: -20%;
  transform: perspective(520px) rotateX(68deg);
  transform-origin: center top;
  background-image:
    linear-gradient(rgba(74, 105, 189, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(146, 43, 140, 0.1) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, black 0%, black 35%, transparent 85%);
  animation: heroGridDrift 22s linear infinite;
  opacity: 0.65;
}

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

.hero-future-scan {
  position: absolute;
  left: 0;
  right: 0;
  height: 22%;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(107, 79, 184, 0.12),
    rgba(146, 43, 140, 0.2),
    rgba(107, 79, 184, 0.12),
    transparent
  );
  animation: heroScanMove 5.5s ease-in-out infinite;
  opacity: 0.9;
  pointer-events: none;
}

@keyframes heroScanMove {
  0%, 100% { top: -15%; }
  50% { top: 85%; }
}

.hero-future-inner {
  position: relative;
  z-index: 2;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  padding: max(5.25rem, calc(env(safe-area-inset-top, 0px) + 4.25rem)) 1.5rem
    max(1.35rem, calc(env(safe-area-inset-bottom, 0px) + 1.1rem));
  box-sizing: border-box;
  gap: 0.75rem;
}

.hero-future-main {
  /* flex-basis 0 + min-height 0: fill remaining space without forcing section past 100dvh */
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 0;
  width: 100%;
}

.hero-future-content {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  text-align: center;
}

.hero-future-title {
  margin: 0 0 1rem;
  font-size: clamp(1.85rem, 4.2vw, 3.35rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #f8fafc;
  text-shadow: 0 0 40px rgba(74, 105, 189, 0.35);
}

.hero-future-words {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 0.65rem;
}

@media (min-width: 768px) {
  .hero-future-words {
    gap: 0.5rem 1.1rem;
  }
}

.hero-future-word {
  display: inline-block;
  opacity: 0;
  transform: translate3d(0, 0.35em, 0);
  animation: heroWordReveal 0.65s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(0.1s * var(--w) + 0.12s);
}

.hero-future-word--accent {
  background: linear-gradient(120deg, #a5b4fc 0%, #e9d5ff 35%, #f0abfc 70%, #c084fc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 0 24px rgba(146, 43, 140, 0.45));
}

@keyframes heroWordReveal {
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.hero-future-subtitle {
  max-width: 38rem;
  margin: 0 auto 1.75rem;
  font-size: clamp(0.95rem, 2vw, 1.2rem);
  font-weight: 600;
  line-height: 1.55;
  color: rgba(226, 232, 240, 0.88);
  opacity: 0;
  animation: heroSubtitleIn 0.85s ease forwards;
  animation-delay: 1.05s;
}

@keyframes heroSubtitleIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-future-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
  align-items: center;
  opacity: 0;
  animation: heroSubtitleIn 0.75s ease forwards;
  animation-delay: 1.25s;
}

.hero-future-btn.btn-primary {
  box-shadow: 0 12px 40px rgba(74, 105, 189, 0.45);
}

.hero-future-btn.hero-future-btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(165, 180, 252, 0.35);
  color: #e2e8f0;
  backdrop-filter: blur(8px);
}

.hero-future-btn.hero-future-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(192, 132, 252, 0.55);
  color: #fff;
}

.hero-explore-btn {
  flex-shrink: 0;
  align-self: center;
  margin-top: auto;
  margin-bottom: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(248, 250, 252, 0.9);
  text-decoration: none;
  border: 1px solid rgba(165, 180, 252, 0.28);
  border-radius: var(--radius-full);
  background: rgba(15, 23, 42, 0.35);
  backdrop-filter: blur(10px);
  opacity: 0;
  animation: heroExploreIn 0.7s ease forwards;
  animation-delay: 2.1s;
  transition: color var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast);
}

.hero-explore-btn:hover {
  color: #fff;
  border-color: rgba(192, 132, 252, 0.55);
  background: rgba(74, 105, 189, 0.25);
}

@keyframes heroExploreIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-explore-arrow {
  display: flex;
  color: inherit;
}

@media (prefers-reduced-motion: reduce) {
  .hero-future-blob,
  .hero-future-grid,
  .hero-future-scan {
    animation: none !important;
  }

  .hero-future-word,
  .hero-future-subtitle,
  .hero-future-ctas,
  .hero-explore-btn {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

}

/* —— Software page hero: full viewport under fixed overlay nav (see .navbar--home) —— */
.hero-soft {
  position: relative;
  height: 100svh;
  height: 100dvh;
  min-height: 100svh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #060a10;
}

.hero-soft-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-soft-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(34, 211, 238, 0.14), transparent 55%),
    radial-gradient(ellipse 70% 60% at 100% 20%, rgba(139, 92, 246, 0.12), transparent 50%),
    radial-gradient(ellipse 55% 45% at 50% 100%, rgba(6, 182, 212, 0.08), transparent 55%),
    linear-gradient(165deg, #060a10 0%, #0a1622 42%, #061018 100%);
}

.hero-soft-mesh {
  position: absolute;
  inset: -1px;
  opacity: 0.5;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.09) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 85% 70% at 50% 38%, black, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 85% 70% at 50% 38%, black, transparent 72%);
  animation: heroSoftMeshFlow 28s linear infinite;
}

@keyframes heroSoftMeshFlow {
  0% {
    background-position: 0 0, 0 0;
  }
  100% {
    background-position: 0 448px, 448px 0;
  }
}

.hero-soft-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(56px);
  opacity: 0.5;
  animation: heroSoftOrb 16s ease-in-out infinite;
}

.hero-soft-orb--a {
  width: min(38vw, 320px);
  height: min(38vw, 320px);
  background: rgba(34, 211, 238, 0.35);
  top: 5%;
  right: 8%;
  animation-delay: 0s;
}

.hero-soft-orb--b {
  width: min(44vw, 360px);
  height: min(44vw, 360px);
  background: rgba(124, 58, 237, 0.3);
  bottom: 0;
  left: -6%;
  animation-delay: -8s;
}

@keyframes heroSoftOrb {
  0%, 100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-2%, 3%);
  }
}

.hero-soft-scan {
  position: absolute;
  left: 15%;
  width: 45%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(45, 212, 191, 0.5), transparent);
  animation: heroSoftScan 4.5s ease-in-out infinite;
  opacity: 0.85;
}

@keyframes heroSoftScan {
  0%, 100% {
    top: 22%;
    opacity: 0;
  }
  15% {
    opacity: 0.9;
  }
  85% {
    opacity: 0.9;
  }
  100% {
    top: 78%;
    opacity: 0;
  }
}

.hero-soft-inner {
  position: relative;
  z-index: 2;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  min-height: 0;
  padding: max(5.25rem, calc(env(safe-area-inset-top, 0px) + 4.25rem)) 0
    max(1.35rem, calc(env(safe-area-inset-bottom, 0px) + 1.1rem));
  box-sizing: border-box;
  gap: 0.75rem;
}

.hero-soft-main {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
  width: 100%;
}

.hero-soft-row {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: center;
}

.hero-soft-eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(45, 212, 191, 0.95);
  margin: 0 0 1rem;
}

.hero-soft-title {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: #f1f5f9;
}

.hero-soft-title-line2 {
  display: block;
  margin-top: 0.2em;
  font-weight: 700;
  color: rgba(203, 213, 225, 0.92);
}

.hero-soft-title-line2 em {
  font-style: normal;
  background: linear-gradient(120deg, #22d3ee 0%, #a5f3fc 40%, #c4b5fd 85%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-soft-lead {
  margin: 0 0 1.65rem;
  font-size: clamp(0.98rem, 1.5vw, 1.12rem);
  line-height: 1.65;
  color: rgba(148, 163, 184, 0.95);
  max-width: 36rem;
}

.hero-soft-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

.hero-soft-cta-primary {
  box-shadow: 0 14px 40px rgba(6, 182, 212, 0.28);
}

.hero-soft-cta-secondary {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(45, 212, 191, 0.35);
  color: #e2e8f0;
}

.hero-soft-cta-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(45, 212, 191, 0.55);
  color: #fff;
}

.hero-soft-panel {
  justify-self: end;
  width: 100%;
  max-width: 380px;
}

.hero-soft-window {
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(12px);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(45, 212, 191, 0.08);
  overflow: hidden;
}

.hero-soft-window-bar {
  display: flex;
  gap: 6px;
  padding: 10px 12px;
  background: rgba(2, 6, 23, 0.85);
  border-bottom: 1px solid rgba(51, 65, 85, 0.5);
}

.hero-soft-window-bar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(71, 85, 105, 0.9);
}

.hero-soft-window-bar span:first-child {
  background: rgba(248, 113, 113, 0.85);
}

.hero-soft-window-bar span:nth-child(2) {
  background: rgba(251, 191, 36, 0.85);
}

.hero-soft-window-bar span:nth-child(3) {
  background: rgba(74, 222, 128, 0.8);
}

.hero-soft-window-body {
  padding: 1.1rem 1.15rem 1.25rem;
}

.hero-soft-line {
  height: 8px;
  border-radius: 4px;
  margin-bottom: 10px;
  background: linear-gradient(90deg, rgba(45, 212, 191, 0.35), rgba(139, 92, 246, 0.2));
  opacity: 0.85;
  animation: heroSoftLine 3.2s ease-in-out infinite;
}

.hero-soft-line:nth-child(2) {
  animation-delay: 0.3s;
}
.hero-soft-line:nth-child(3) {
  animation-delay: 0.6s;
}
.hero-soft-line:nth-child(4) {
  animation-delay: 0.9s;
}

.hero-soft-line--short {
  width: 58%;
}

.hero-soft-line--med {
  width: 78%;
}

@keyframes heroSoftLine {
  0%, 100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}

.hero-soft-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1rem;
}

.hero-soft-tags span {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  color: rgba(226, 232, 240, 0.9);
  background: rgba(34, 211, 238, 0.12);
  border: 1px solid rgba(45, 212, 191, 0.25);
}

.hero-soft-scroll {
  flex-shrink: 0;
  align-self: center;
  margin-top: auto;
  margin-bottom: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(226, 232, 240, 0.88);
  text-decoration: none;
  border: 1px solid rgba(45, 212, 191, 0.28);
  border-radius: var(--radius-full);
  background: rgba(2, 6, 23, 0.4);
  transition: color var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast);
}

.hero-soft-scroll:hover {
  color: #fff;
  border-color: rgba(45, 212, 191, 0.55);
  background: rgba(34, 211, 238, 0.12);
}

.hero-soft-scroll-icon {
  display: flex;
  color: inherit;
}

/* —— Digital receptionist hero: warm violet / voice-line (distinct from software cyan mesh) —— */
.hero-dr {
  position: relative;
  height: 100svh;
  height: 100dvh;
  min-height: 100svh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #07040f;
}

.hero-dr-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-dr-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 65% at 12% 18%, rgba(192, 132, 252, 0.16), transparent 58%),
    radial-gradient(ellipse 70% 55% at 92% 12%, rgba(244, 114, 182, 0.11), transparent 52%),
    radial-gradient(ellipse 60% 50% at 55% 100%, rgba(99, 102, 241, 0.12), transparent 55%),
    linear-gradient(168deg, #07040f 0%, #100820 38%, #0a0614 100%);
}

.hero-dr-dots {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image: radial-gradient(rgba(216, 180, 254, 0.14) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 75% 65% at 45% 35%, black, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 45% 35%, black, transparent 72%);
  animation: heroDrDots 32s linear infinite;
}

@keyframes heroDrDots {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 0 336px;
  }
}

.hero-dr-wave {
  position: absolute;
  left: -20%;
  bottom: -5%;
  width: 140%;
  height: 42%;
  opacity: 0.22;
  background: repeating-linear-gradient(
    -12deg,
    transparent,
    transparent 18px,
    rgba(167, 139, 250, 0.07) 18px,
    rgba(167, 139, 250, 0.07) 19px
  );
  mask-image: linear-gradient(to top, black, transparent);
  -webkit-mask-image: linear-gradient(to top, black, transparent);
  pointer-events: none;
}

.hero-dr-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(58px);
  opacity: 0.48;
  animation: heroDrOrb 18s ease-in-out infinite;
}

.hero-dr-orb--a {
  width: min(42vw, 340px);
  height: min(42vw, 340px);
  background: rgba(192, 132, 252, 0.38);
  top: 2%;
  right: 4%;
  animation-delay: 0s;
}

.hero-dr-orb--b {
  width: min(48vw, 380px);
  height: min(48vw, 380px);
  background: rgba(244, 114, 182, 0.28);
  bottom: -8%;
  left: -10%;
  animation-delay: -6s;
}

.hero-dr-orb--c {
  width: min(28vw, 220px);
  height: min(28vw, 220px);
  background: rgba(99, 102, 241, 0.32);
  top: 42%;
  left: 38%;
  opacity: 0.35;
  animation-delay: -12s;
}

@keyframes heroDrOrb {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(2%, -3%) scale(1.04);
  }
}

.hero-dr-scan {
  position: absolute;
  left: 8%;
  width: 52%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232, 121, 249, 0.55), transparent);
  animation: heroDrScan 5.5s ease-in-out infinite;
  opacity: 0.75;
  box-shadow: 0 0 24px rgba(232, 121, 249, 0.25);
}

@keyframes heroDrScan {
  0%,
  100% {
    top: 18%;
    opacity: 0;
  }
  18% {
    opacity: 0.85;
  }
  82% {
    opacity: 0.85;
  }
  100% {
    top: 82%;
    opacity: 0;
  }
}

.hero-dr-inner {
  position: relative;
  z-index: 2;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  min-height: 0;
  padding: max(5.25rem, calc(env(safe-area-inset-top, 0px) + 4.25rem)) 0
    max(1.35rem, calc(env(safe-area-inset-bottom, 0px) + 1.1rem));
  box-sizing: border-box;
  gap: 0.75rem;
}

.hero-dr-main {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
  width: 100%;
}

.hero-dr-row {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: center;
}

.hero-dr-title {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: #f8fafc;
}

.hero-dr-title span {
  background: linear-gradient(120deg, #e879f9 0%, #f0abfc 35%, #c4b5fd 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-dr-lead {
  margin: 0 0 1.65rem;
  font-size: clamp(0.98rem, 1.5vw, 1.12rem);
  line-height: 1.65;
  color: rgba(196, 181, 253, 0.82);
  max-width: 36rem;
}

.hero-dr-lead strong {
  color: rgba(250, 245, 255, 0.96);
  font-weight: 600;
}

.hero-dr-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

.hero-dr-cta-primary {
  box-shadow: 0 14px 42px rgba(168, 85, 247, 0.32);
}

.hero-dr-cta-secondary {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(192, 132, 252, 0.4);
  color: #ede9fe;
}

.hero-dr-cta-secondary:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(232, 121, 249, 0.5);
  color: #fff;
}

.hero-dr-panel {
  justify-self: end;
  width: 100%;
  max-width: 380px;
}

.hero-dr-note {
  margin-top: 1.35rem;
  color: rgba(167, 139, 250, 0.75);
}

.hero-dr-note .hero-note-badge {
  background: rgba(88, 28, 135, 0.35);
  border-color: rgba(167, 139, 250, 0.35);
  color: #e9d5ff;
}

/* Dark glass card — matches hero-dr (low contrast vs. page background) */
.hero-dr .hero-card.hero-card--dark {
  background: rgba(15, 23, 42, 0.45);
  border: 1px solid rgba(88, 28, 135, 0.35);
  box-shadow:
    0 24px 56px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.hero-dr .hero-card--dark .hero-glow {
  opacity: 1;
  background:
    radial-gradient(circle at 25% 15%, rgba(192, 132, 252, 0.18), transparent 52%),
    radial-gradient(circle at 95% 85%, rgba(244, 114, 182, 0.12), transparent 55%);
}

.hero-dr .hero-card--dark .hero-card-tag {
  background: rgba(59, 7, 100, 0.45);
  border: 1px solid rgba(167, 139, 250, 0.28);
  color: #e9d5ff;
}

.hero-dr .hero-card--dark .hero-card-tag-dot {
  background: #d946ef;
  box-shadow: 0 0 0 4px rgba(217, 70, 239, 0.22);
}

.hero-dr .hero-card--dark .hero-metrics .metric {
  background: rgba(2, 6, 23, 0.5);
  border: 1px solid rgba(51, 65, 85, 0.55);
}

.hero-dr .hero-card--dark .metric-label {
  color: rgba(148, 163, 184, 0.92);
}

.hero-dr .hero-card--dark .metric-value {
  color: #f0abfc;
}

.hero-dr .hero-card--dark .metric-pill {
  background: rgba(88, 28, 135, 0.35);
  color: #e9d5ff;
  border: 1px solid rgba(167, 139, 250, 0.2);
}

.hero-dr .hero-card--dark .call-flow {
  border-top-color: rgba(71, 85, 105, 0.55);
}

.hero-dr .hero-card--dark .call-icon {
  background: rgba(88, 28, 135, 0.45);
  border: 1px solid rgba(167, 139, 250, 0.2);
  color: #f5d0fe;
}

.hero-dr .hero-card--dark .call-text-title {
  color: #f1f5f9;
}

.hero-dr .hero-card--dark .call-text-body {
  color: rgba(148, 163, 184, 0.95);
}

.hero-dr-scroll {
  flex-shrink: 0;
  align-self: center;
  margin-top: auto;
  margin-bottom: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(233, 213, 255, 0.9);
  text-decoration: none;
  border: 1px solid rgba(167, 139, 250, 0.35);
  border-radius: var(--radius-full);
  background: rgba(15, 23, 42, 0.35);
  transition: color var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast);
}

.hero-dr-scroll:hover {
  color: #fff;
  border-color: rgba(232, 121, 249, 0.5);
  background: rgba(88, 28, 135, 0.25);
}

.hero-dr-scroll-icon {
  display: flex;
  color: inherit;
}

@media (max-width: 900px) {
  .hero-soft-row {
    grid-template-columns: 1fr;
  }

  .hero-soft-panel {
    justify-self: stretch;
    max-width: none;
    order: -1;
  }

  /* Digital receptionist hero: avoid vertical center + overflow clipping on small screens */
  .hero-dr {
    height: auto;
    min-height: 100dvh;
    min-height: 100svh;
    overflow-x: hidden;
    overflow-y: visible;
  }

  .hero-dr-inner {
    padding-top: max(6.5rem, calc(env(safe-area-inset-top, 0px) + 5.75rem));
    padding-bottom: max(2rem, calc(env(safe-area-inset-bottom, 0px) + 1.5rem));
    gap: 1rem;
  }

  .hero-dr-main {
    flex: 0 1 auto;
    justify-content: flex-start;
  }

  .hero-dr-row {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .hero-dr-panel {
    justify-self: stretch;
    max-width: none;
    order: -1;
  }

  .hero-dr-row--copy-first .hero-dr-panel {
    order: 1;
  }

  .hero-dr-ctas {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .hero-dr-ctas .btn-primary,
  .hero-dr-ctas .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .hero-dr-note {
    margin-top: 1.85rem;
  }

  .hero-dr-scroll {
    margin-top: 1.25rem;
  }

  .hero-soft-row--copy-first .hero-soft-panel {
    order: 1;
  }

  .hero-soft-window {
    max-width: 420px;
    margin: 0 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-soft-mesh,
  .hero-soft-orb,
  .hero-soft-scan,
  .hero-soft-line,
  .hero-dr-dots,
  .hero-dr-orb,
  .hero-dr-scan {
    animation: none !important;
  }

  .hero-soft-line {
    opacity: 0.85 !important;
  }
}

.sass-hero {
  padding-top: 3rem;
  padding-bottom: 3.5rem;
  text-align: center;
}

.soft-page-hero {
  padding-top: 3.25rem;
}

.sass-hero-headline {
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  font-weight: 700;
  color: var(--text-main);
}

.sass-hero-headline span {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  color: transparent;
}

.sass-hero-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 36rem;
  margin: 0 auto 2rem;
  line-height: 1.65;
}

.sass-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  justify-content: center;
  align-items: center;
}

.section-soft {
  padding: 3.75rem 0;
}

/* Tighter vertical rhythm between services strip and trust (homepage) */
#servicios.section-soft {
  padding-bottom: 2.5rem;
}

#servicios + .section-soft {
  padding-top: 2.5rem;
}

.section-soft-head {
  text-align: center;
  margin-bottom: 2.25rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.section-soft-head .section-label {
  display: block;
  text-align: center;
}

.section-soft-head .section-title {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-soft-head .section-description {
  margin-top: 0.75rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
  text-align: center;
  max-width: 36rem;
}

.split-services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: stretch;
  width: 100%;
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
}

.service-split-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 100%;
}

.service-split-card h3 {
  font-size: 1.22rem;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  font-weight: 700;
  text-align: center;
  max-width: 22rem;
  margin-left: auto;
  margin-right: auto;
}

.service-split-card ul {
  list-style: none;
  margin: 0 auto 1.25rem;
  padding: 0;
  flex: 1;
  width: 100%;
  max-width: 22rem;
  text-align: left;
}

.service-split-card li {
  padding: 0.4rem 0;
  padding-left: 1.35rem;
  position: relative;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.service-split-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72rem;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--gradient-cta);
}

.service-split-card .btn-primary,
.service-split-card .btn-secondary {
  margin-top: auto;
  align-self: center;
}

.trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
  margin-top: 0.5rem;
  width: 100%;
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
}

.trust-pill {
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-full);
  background: rgba(236, 232, 245, 0.95);
  color: var(--primary-dark);
  font-size: 0.88rem;
  font-weight: 600;
  border: 1px solid rgba(74, 105, 189, 0.12);
}

.final-cta-section .section-title {
  text-align: center;
}

.final-cta-section .section-description {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  max-width: 32rem;
}

.final-cta-section .btn-primary {
  margin-top: 0.5rem;
}

.soft-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.soft-info-card .section-description {
  margin-bottom: 0;
  font-size: 0.92rem;
}

.soft-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.soft-step-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.soft-step-mini .step-body {
  font-size: 0.78rem;
}

/* Legacy login layout — superseded by public/css/login.css (split-screen login.html) */
.login-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.login-page-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1rem 1.5rem;
  min-height: 0;
}

.login-contact-below {
  flex-shrink: 0;
  padding-top: 0.5rem;
}

.login-page-wrap h1 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
  text-align: center;
  font-weight: 700;
  color: var(--text-main);
}

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

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

@media (max-width: 768px) {
  .split-services {
    grid-template-columns: minmax(0, 1fr);
  }

  .sass-hero {
    padding-top: 2.25rem;
    padding-bottom: 2.75rem;
  }

  .section-soft {
    padding: 3.2rem 0;
  }
}

@media (max-width: 480px) {
  .soft-step-row {
    grid-template-columns: minmax(0, 1fr);
  }
}
