/* ═══════════════════════════════════════════════════════════════
   DINGO AI SOLUTIONS — CSS Design System
   Version: 1.0 | Brand: Orange #F56A1D · Navy #1A1A2E · Cream #F5F0EB
═══════════════════════════════════════════════════════════════ */

/* ── TOKENS ── */
:root {
  --orange: #F56A1D;
  --orange-dark: #D4560F;
  --orange-light: #FDE8DE;
  --navy: #1A1A2E;
  --navy-mid: #1D3557;
  --navy-card: #1E2D3D;
  --cream: #F5F0EB;
  --cream-light: #F9F9F9;
  --white: #FFFFFF;
  --text-dark: #1A1A1A;
  --text-mid: #4A4A5A;
  --text-light: #B0B8C8;
  --text-off-white: #E8EFF8;
  --border-light: #E8E8E8;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 999px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.18);
  --shadow-orange: 0 8px 32px rgba(245, 106, 29, 0.4);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── RESET & BASE ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--cream-light);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
}

input,
select,
textarea,
button {
  font-family: inherit;
  font-size: inherit;
}

/* ── LAYOUT ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
  position: relative;
}

/* ── TYPOGRAPHY ── */
.section-label {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
}

.section-label.light {
  background: rgba(245, 106, 29, 0.15);
  color: var(--orange);
  border: 1px solid rgba(245, 106, 29, 0.3);
}

.section-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.section-title.light {
  color: var(--white);
}

.section-subtitle {
  font-size: 17px;
  color: var(--text-mid);
  max-width: 680px;
  margin-bottom: 60px;
  line-height: 1.7;
}

.section-subtitle.light {
  color: var(--text-light);
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: var(--white);
  font-weight: 700;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-orange);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text-dark);
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 2px solid var(--border-light);
  cursor: pointer;
  transition: var(--transition);
}

.btn-ghost:hover {
  border-color: var(--orange);
  color: var(--orange);
  transform: translateY(-2px);
}

.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  color: var(--orange);
  font-weight: 800;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25D366;
  color: var(--white);
  font-weight: 700;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn-whatsapp:hover {
  background: #1DA851;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
}

.btn-large {
  padding: 16px 32px;
  font-size: 16px;
}

.btn-xlarge {
  padding: 20px 48px;
  font-size: 18px;
}

/* ═══════════════════════════════════════════════
   NAVBAR
═══════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  background: rgba(250, 248, 245, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}

.navbar.scrolled {
  border-bottom-color: var(--border-light);
  padding: 12px 0;
  box-shadow: var(--shadow-sm);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

/* Navbar logo — black image blends with cream background */
.logo-nav {
  height: 52px;
  width: auto;
  mix-blend-mode: multiply;
  opacity: 0.9;
  transition: var(--transition);
}

.logo-nav:hover {
  opacity: 1;
}


.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-mid);
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--orange);
}

.nav-cta {
  padding: 10px 22px;
  font-size: 14px;
}

/* ── Language Toggle ── */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.lang-btn {
  background: none;
  border: none;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-mid);
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 4px;
  letter-spacing: 0.05em;
  transition: color 0.2s, background 0.2s;
}

.lang-btn:hover {
  color: var(--orange);
}

.lang-btn.active {
  color: var(--orange);
}

.lang-sep {
  color: var(--border-light);
  font-size: 12px;
  user-select: none;
}


.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* ═══════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--cream) 0%, #EDE8E2 50%, var(--cream-light) 100%);
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245, 106, 29, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 106, 29, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245, 106, 29, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-mid);
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22C55E;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.7;
    transform: scale(1.2);
  }
}

.hero-title {
  font-size: clamp(48px, 7vw, 84px);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.04em;
  color: var(--text-dark);
  margin-bottom: 24px;
}

.hero-title-accent {
  color: var(--orange);
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 8px;
}

.hero-subtitle-bold {
  font-size: 18px;
  font-weight: 400;
  color: var(--text-mid);
  margin-bottom: 40px;
}

/* Intro phrase stays on one line */
.hero-subtitle-intro {
  white-space: nowrap;
  display: inline;
}

/* Bold keywords slightly larger to stand out */
.hero-kw {
  font-size: 21px;
  font-weight: 800;
  color: var(--text-dark);
}

/* Keep automatizaciones y autogestión always on the same line */
.hero-kw-wrap {
  white-space: nowrap;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px 0;
  border-top: 1px solid var(--border-light);
}

.hero-stat {
  text-align: center;
}

.hero-stat-number {
  display: block;
  font-size: 24px;
  font-weight: 800;
  color: var(--orange);
}

.hero-stat-label {
  display: block;
  font-size: 12px;
  color: var(--text-mid);
  font-weight: 500;
}

.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border-light);
}

/* Hero image (facial recognition photo) */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ─ Hero image (facial recognition photo) ─ */
.hero-image-wrap {
  position: relative;
  width: 100%;
  max-width: 560px;
  border-radius: var(--radius-lg);
  overflow: visible;
}

.hero-facial-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  /* multiply removes white bg and blends with cream background */
  mix-blend-mode: multiply;
  opacity: 0.93;
  filter: contrast(1.05) saturate(0.9);
}

/* Fade toward left (text side) */
.hero-image-fade-right {
  position: absolute;
  top: 0;
  left: 0;
  width: 30%;
  height: 100%;
  background: linear-gradient(to right, var(--cream) 0%, transparent 100%);
  pointer-events: none;
  z-index: 2;
}

/* Fade toward bottom */
.hero-image-fade-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 35%;
  background: linear-gradient(to top, var(--cream) 0%, transparent 100%);
  pointer-events: none;
  z-index: 2;
}

/* Floating biometric status badge */
.hero-img-badge {
  position: absolute;
  bottom: 32px;
  right: -12px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(245, 106, 29, 0.25);
  border-radius: var(--radius-full);
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  box-shadow: var(--shadow-md);
  z-index: 3;
  white-space: nowrap;
}

.hero-img-badge-pct {
  color: var(--orange);
  font-weight: 800;
  font-size: 15px;
}




.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--text-mid);
  font-weight: 600;
  letter-spacing: 1px;
  opacity: 0.6;
}

.scroll-arrow {
  animation: bounce 2s infinite;
  font-size: 16px;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(4px);
  }
}

/* ═══════════════════════════════════════════════
   PROBLEMA
═══════════════════════════════════════════════ */
.problema {
  background: var(--cream-light);
  text-align: center;
}

.problema .section-title,
.problema .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

.problema-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 48px;
  text-align: left;
}

.problema-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.problema-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--orange);
}

.problem-icon-wrap {
  width: 48px;
  height: 48px;
  background: var(--orange-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.problem-icon {
  font-size: 22px;
}

.problema-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
}

.problema-card p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.6;
}

.problem-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: rgba(245, 106, 29, 0.1);
  color: var(--orange);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin-top: auto;
}

.problema-conclusion {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.problema-conclusion strong {
  color: var(--orange);
}

/* ═══════════════════════════════════════════════
   SOLUCIÓN
═══════════════════════════════════════════════ */
.solucion {
  background: var(--navy);
}

.solucion .section-title,
.solucion .section-subtitle {
  max-width: 720px;
}

.solucion-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 72px;
}

.solucion-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 40px;
  padding: 40px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
}

.solucion-step:last-child {
  border-bottom: none;
}

.step-number {
  font-size: 64px;
  font-weight: 900;
  color: rgba(245, 106, 29, 0.2);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
  align-self: center;
}

.step-content h3 {
  font-size: 26px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}

.step-content>p {
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 20px;
}

.step-icon-wrap {
  width: 52px;
  height: 52px;
  background: rgba(245, 106, 29, 0.15);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.step-icon {
  font-size: 24px;
}

.step-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.step-features li {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  gap: 8px;
}

.step-features li::marker {
  display: none;
}

/* Hardware */
.solucion-hardware {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 48px;
}

.hardware-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 32px;
}

.hardware-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.hardware-item {
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
  transition: var(--transition);
}

.hardware-item:hover {
  border-color: rgba(245, 106, 29, 0.3);
  background: rgba(245, 106, 29, 0.05);
}

.hardware-item-highlight {
  border-color: rgba(245, 106, 29, 0.4);
  background: rgba(245, 106, 29, 0.08);
}

.hardware-icon {
  height: 96px;
  display: flex;
  align-items: center;
  font-size: 32px;
  margin-bottom: 12px;
}

.hardware-icon-img {
  font-size: unset;
}

.hardware-totem-icon {
  height: 88px;
  width: auto;
  display: block;
}

.hardware-item h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.hardware-item p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
}

.hardware-integrations-list {
  list-style: none;
  padding: 0;
  margin: 12px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hardware-integrations-list li {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.5;
}

/* Hardware section intro */
.hardware-section-intro {
  margin-bottom: 40px;
}

.hardware-banner-wrap {
  margin-left: -48px;
  margin-right: -48px;
  margin-bottom: 80px;
  overflow: hidden;
}

.hardware-banner-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.hardware-section-intro .section-title {
  margin-top: 16px;
  margin-bottom: 16px;
}

/* Integrations subsection */
.hardware-integrations {
  margin-top: 72px;
  padding-top: 56px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hardware-integrations-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--white);
  margin-top: 16px;
  margin-bottom: 12px;
  line-height: 1.3;
}

.hardware-integrations-subtitle {
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.7;
  max-width: 720px;
  margin-bottom: 40px;
}

.integrations-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.integration-item {
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
  transition: var(--transition);
}

.integration-item:hover {
  border-color: rgba(245, 106, 29, 0.3);
  background: rgba(245, 106, 29, 0.05);
}

.integration-icon {
  font-size: 28px;
  margin-bottom: 12px;
}

.integration-item h5 {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.integration-item p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════
   DIFERENCIADORES
═══════════════════════════════════════════════ */
.diferenciadores {
  background: var(--cream-light);
}

.diferenciadores-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.dif-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dif-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--orange);
}

.dif-icon-wrap {
  width: 56px;
  height: 56px;
  background: var(--orange-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.dif-icon {
  font-size: 26px;
}

.dif-card h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-dark);
}

.dif-card p {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.7;
}

.dif-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  background: var(--orange-light);
  color: var(--orange);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  margin-top: auto;
  align-self: flex-start;
}

/* ═══════════════════════════════════════════════
   ASISTENTE IA
═══════════════════════════════════════════════ */
.asistente {
  background: var(--navy-mid);
}

.asistente-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.asistente-text {
  font-size: 16px;
  color: var(--text-off-white);
  line-height: 1.7;
  margin-bottom: 16px;
}

.asistente-wa-note {
  font-size: 14px;
  color: var(--text-light);
  font-style: italic;
  margin-top: 8px;
}

.link-orange {
  color: var(--orange);
  font-weight: 600;
}

.link-orange:hover {
  text-decoration: underline;
}

.asistente-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 32px;
}

/* Chat mockup (section) */
.chat-mockup {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.chat-header {
  background: var(--navy);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-avatar {
  width: 40px;
  height: 40px;
  background: var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.chat-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
}

.chat-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-light);
}

.online-dot {
  width: 7px;
  height: 7px;
  background: #22C55E;
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

.chat-messages {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 280px;
  overflow-y: auto;
}

.chat-bubble {
  max-width: 80%;
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.5;
}

.chat-bubble.user {
  background: var(--orange);
  color: var(--white);
  border-radius: 16px 16px 4px 16px;
  align-self: flex-end;
}

.chat-bubble.bot {
  background: var(--cream-light);
  color: var(--text-dark);
  border-radius: 16px 16px 16px 4px;
  align-self: flex-start;
}

.chat-input-wrap {
  display: flex;
  gap: 8px;
  padding: 16px 20px;
  border-top: 1px solid var(--border-light);
}

.chat-input-mockup {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  font-size: 14px;
  outline: none;
  transition: var(--transition);
}

.chat-input-mockup:focus {
  border-color: var(--orange);
}

.chat-send-btn {
  width: 36px;
  height: 36px;
  background: var(--orange);
  border: none;
  border-radius: 50%;
  color: var(--white);
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.chat-send-btn:hover {
  background: var(--orange-dark);
}

/* ═══════════════════════════════════════════════
   INDUSTRIAS
═══════════════════════════════════════════════ */
.industrias {
  background: var(--navy);
  text-align: center;
}

.industrias .section-title {
  color: var(--white);
  margin: 0 auto 20px;
}

.industrias .section-subtitle {
  color: var(--text-light);
  margin: 0 auto 60px;
}

.industrias .section-label {
  background: rgba(245, 106, 29, 0.15);
  color: var(--orange);
}

.industrias-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: left;
  margin-bottom: 48px;
}

.industria-card {
  background: var(--navy-card);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: var(--transition);
  cursor: default;
}

.industria-card:hover {
  border-color: var(--orange);
  background: rgba(245, 106, 29, 0.07);
  transform: translateY(-4px);
}

.industria-icon {
  font-size: 36px;
  margin-bottom: 16px;
  display: block;
}

.industria-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.industria-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
}

.industrias-anchor {
  font-size: 14px;
  color: var(--text-light);
  font-style: italic;
  text-align: center;
}

/* ═══════════════════════════════════════════════
   CLIENTES
═══════════════════════════════════════════════ */
.clientes {
  background: var(--cream-light);
  text-align: center;
}

.clientes .section-title,
.clientes .section-subtitle {
  margin: 0 auto 20px;
}

.clientes .section-subtitle {
  margin-bottom: 60px;
}

.clientes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: center;
  margin-bottom: 32px;
}

.cliente-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 32px 20px 24px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.cliente-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.cliente-logo-placeholder {
  width: 80px;
  height: 60px;
  background: var(--cream-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  border: 1px dashed var(--border-light);
  overflow: hidden;
  padding: 6px;
}

.logo-placeholder-icon {
  font-size: 28px;
  filter: grayscale(0.5);
}

.cliente-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(0.2);
}

.cliente-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.cliente-tag {
  font-size: 12px;
  font-weight: 600;
  color: var(--orange);
}

.clientes-disclaimer {
  font-size: 12px;
  color: var(--text-mid);
  font-style: italic;
  text-align: center;
}


/* ═══════════════════════════════════════════════
   SERVICIOS ADICIONALES
═══════════════════════════════════════════════ */
.servicios-adicionales {
  background: var(--bg-light, #f8f9fa);
}

.servicios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.servicio-card {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: var(--transition);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.servicio-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.10);
  border-color: var(--orange);
}

.servicio-icon {
  font-size: 36px;
  margin-bottom: 16px;
}

.servicio-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}

.servicio-card p {
  font-size: 14px;
  color: var(--text-secondary, #555);
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════
   FAQ
═══════════════════════════════════════════════ */
.faq {
  background: var(--white);
}

.faq-list {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.faq-item {
  border: 1px solid rgba(0, 0, 0, 0.10);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: var(--dark);
  text-align: left;
  gap: 16px;
  transition: background 0.2s;
}

.faq-question:hover {
  background: rgba(245, 106, 29, 0.04);
}

.faq-question.open {
  color: var(--orange);
  background: rgba(245, 106, 29, 0.04);
}

.faq-chevron {
  font-size: 18px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
  display: inline-block;
  color: var(--orange);
}

.faq-question.open .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 28px 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.faq-answer.open {
  display: block;
}

.faq-answer p {
  font-size: 15px;
  color: var(--text-secondary, #555);
  line-height: 1.75;
  margin-top: 16px;
}

.faq-cta {
  max-width: 860px;
  margin: 56px auto 0;
  text-align: center;
  padding: 40px 32px;
  background: rgba(245, 106, 29, 0.05);
  border: 1px solid rgba(245, 106, 29, 0.2);
  border-radius: var(--radius-lg);
}

.faq-cta p {
  font-size: 18px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 20px;
}

.faq-cta .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  font-size: 16px;
}


/* ═══════════════════════════════════════════════
   CTA FINAL
═══════════════════════════════════════════════ */
.cta-final {
  background: var(--orange);
  text-align: center;
  padding: 100px 0;
}

.cta-container {
  max-width: 900px;
}

.cta-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 56px;
}

.cta-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}

.cta-step {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  min-width: 200px;
  flex: 1;
  max-width: 240px;
  text-align: left;
}

.cta-step-num {
  width: 40px;
  height: 40px;
  background: var(--white);
  color: var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  flex-shrink: 0;
}

.cta-step-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cta-step-content strong {
  font-size: 14px;
  color: var(--white);
  font-weight: 700;
}

.cta-step-content span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.4;
}

.cta-step-arrow {
  font-size: 24px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 700;
  flex-shrink: 0;
}

.cta-microcopy {
  margin-top: 20px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  font-style: italic;
}

/* ═══════════════════════════════════════════════
   FORMULARIO
═══════════════════════════════════════════════ */
.contacto {
  background: var(--cream-light);
}

.contacto .section-title,
.contacto .section-subtitle {
  max-width: 600px;
}

.contact-form {
  max-width: 640px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}



.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group-full {
  margin-bottom: 20px;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 15px;
  color: var(--text-dark);
  background: var(--white);
  outline: none;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(245, 106, 29, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.char-count {
  font-size: 11px;
  color: var(--text-mid);
  text-align: right;
}

.btn-submit {
  width: 100%;
  justify-content: center;
}

.form-privacy {
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-mid);
  text-align: center;
}

.form-success {
  max-width: 640px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
  box-shadow: var(--shadow-md);
  border: 2px solid #22C55E;
}

.success-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.form-success h3 {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.form-success p {
  color: var(--text-mid);
  line-height: 1.6;
}

.success-sub {
  margin-top: 12px;
  font-size: 14px;
}

/* ═══════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════ */
.footer {
  background: var(--navy);
  color: var(--white);
  padding: 64px 0 32px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 48px;
  align-items: start;
  margin-bottom: 48px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 12px;
}

.footer-logo-icon {
  font-size: 24px;
}

.footer-logo-text span {
  color: var(--orange);
}

.footer-tagline {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 6px;
}

.footer-email a {
  font-size: 14px;
  color: var(--orange);
  font-weight: 600;
}

.footer-email a:hover {
  text-decoration: underline;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 14px;
  color: var(--text-light);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--orange);
}

.footer-social {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  transition: var(--transition);
}

.social-wa {
  background: rgba(37, 211, 102, 0.15);
  color: #25D366;
  border: 1px solid rgba(37, 211, 102, 0.3);
}

.social-wa:hover {
  background: #25D366;
  color: white;
}

.social-li {
  background: rgba(10, 102, 194, 0.15);
  color: #0A66C2;
  border: 1px solid rgba(10, 102, 194, 0.3);
}

.social-li:hover {
  background: #0A66C2;
  color: white;
}

.social-fb {
  background: rgba(24, 119, 242, 0.15);
  color: #1877F2;
  border: 1px solid rgba(24, 119, 242, 0.3);
}

.social-fb:hover {
  background: #1877F2;
  color: white;
}

.social-ig {
  background: rgba(225, 48, 108, 0.15);
  color: #E1306C;
  border: 1px solid rgba(225, 48, 108, 0.3);
}

.social-ig:hover {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: white;
  border-color: transparent;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-light);
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a {
  color: var(--text-light);
}

.footer-legal a:hover {
  color: var(--orange);
}

/* ═══════════════════════════════════════════════
   CHATBOT FLOTANTE
═══════════════════════════════════════════════ */
.chatbot-widget {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
}

.chatbot-toggle {
  width: 60px;
  height: 60px;
  background: var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-orange);
  transition: var(--transition);
  position: relative;
  font-size: 26px;
  user-select: none;
}

.chatbot-toggle:hover {
  transform: scale(1.1);
  background: var(--orange-dark);
}

.chatbot-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--orange);
  animation: chatbot-pulse 2.5s ease-in-out infinite;
  opacity: 0;
}

@keyframes chatbot-pulse {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }

  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

.chatbot-toggle-icon {
  z-index: 1;
}

.chatbot-notification {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 20px;
  height: 20px;
  background: #EF4444;
  border-radius: 50%;
  color: white;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid white;
  transition: var(--transition);
}

/* Chat panel */
.chatbot-panel {
  position: absolute;
  bottom: 76px;
  right: 0;
  width: 360px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  overflow: hidden;
  transform: scale(0.8) translateY(20px);
  transform-origin: bottom right;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.chatbot-panel.open {
  transform: scale(1) translateY(0);
  opacity: 1;
  pointer-events: all;
}

.chatbot-panel-header {
  background: var(--navy);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.chatbot-avatar {
  width: 40px;
  height: 40px;
  background: var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  overflow: hidden;
}

/* Dingo icon image inside avatar and toggle */
.chatbot-avatar-img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.chatbot-toggle-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  display: block;
}

.chatbot-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
}

.chatbot-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-light);
}

.chatbot-close {
  margin-left: auto;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--white);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.chatbot-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.chatbot-messages {
  padding: 16px;
  max-height: 280px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.chatbot-welcome .chat-bubble.bot {
  font-size: 14px;
}

.chatbot-quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 0 4px;
}

.quick-reply {
  background: var(--orange-light);
  color: var(--orange);
  border: 1px solid rgba(245, 106, 29, 0.3);
  border-radius: var(--radius-full);
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.quick-reply:hover {
  background: var(--orange);
  color: white;
}

.chatbot-input-area {
  display: flex;
  gap: 8px;
  padding: 12px 16px;
  border-top: 1px solid var(--border-light);
}

.chatbot-input {
  flex: 1;
  padding: 10px 14px;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-full);
  font-size: 14px;
  outline: none;
  transition: var(--transition);
}

.chatbot-input:focus {
  border-color: var(--orange);
}

.chatbot-send {
  width: 38px;
  height: 38px;
  background: var(--orange);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 16px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.chatbot-send:hover {
  background: var(--orange-dark);
}

.chatbot-footer-note {
  padding: 8px 16px 12px;
  font-size: 11px;
  color: var(--text-mid);
  text-align: center;
}

.chatbot-footer-note a {
  color: var(--orange);
  font-weight: 600;
}

/* ═══════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .problema-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-container {
    gap: 40px;
  }

  .asistente-grid {
    gap: 48px;
  }

  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 72px 0;
  }

  .nav-links {
    display: none;
  }

  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-md);
  }

  .nav-cta {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-visual {
    display: none;
  }

  .hero-title {
    font-size: 48px;
  }

  .hero-ctas {
    flex-direction: column;
  }

  .hero-stats {
    flex-wrap: wrap;
    justify-content: center;
  }

  .problema-grid {
    grid-template-columns: 1fr;
  }

  .solucion-step {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .step-number {
    font-size: 40px;
  }

  .hardware-grid {
    grid-template-columns: 1fr;
  }

  .diferenciadores-grid {
    grid-template-columns: 1fr;
  }

  .asistente-grid {
    grid-template-columns: 1fr;
  }

  .industrias-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .clientes-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-steps {
    flex-direction: column;
    align-items: center;
  }

  .cta-step {
    max-width: 100%;
    width: 100%;
  }

  .cta-step-arrow {
    transform: rotate(90deg);
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .chatbot-panel {
    width: calc(100vw - 56px);
    right: -8px;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 26px;
  }

  .industrias-grid {
    grid-template-columns: 1fr;
  }

  .clientes-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    flex-direction: column;
    align-items: center;
  }

  .hero-stat-divider {
    width: 60px;
    height: 1px;
  }
}

/* ─ Logo footer (inverted to white on dark background) ─ */
.logo-footer {
  height: 40px;
  width: auto;
  filter: invert(1) brightness(2);
  opacity: 0.92;
  display: block;
  margin-bottom: 12px;
}

/* ── SCROLL ANIMATIONS ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}