/* ============================================================
   CLIENTES EN CALIENTE — LANDING PAGE STYLES
   Paleta: Naranja #ff4a12 | Negro #090909 | Blanco #ffffff
   Tipografía: Bebas Neue (headings) | Inter (body)
   ============================================================ */

/* ── Variables ────────────────────────────────────────────── */
:root {
  --orange:       #ff4a12;
  --orange-dark:  #d93c0d;
  --orange-light: #ff6a35;
  --black:        #090909;
  --dark:         #111111;
  --dark-2:       #1a1a1a;
  --dark-3:       #202020;
  --dark-border:  #2a2a2a;
  --white:        #ffffff;
  --gray-light:   #f5f5f5;
  --gray-text:    #777777;
  --gray-muted:   #aaaaaa;
  --gray-card:    #141414;

  --font-heading: 'Bebas Neue', 'Oswald', Impact, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --navbar-h:     80px;
  --radius-sm:    8px;
  --radius-md:    14px;
  --radius-lg:    20px;
  --radius-xl:    28px;

  --shadow-card:  0 4px 24px rgba(0,0,0,0.10);
  --shadow-lg:    0 8px 40px rgba(0,0,0,0.15);
  --glow-orange:  0 0 22px rgba(255,74,18,0.30);
  --glow-orange-sm: 0 0 12px rgba(255,74,18,0.22);

  --transition:   all 0.28s cubic-bezier(0.4,0,0.2,1);
  --max-w:        1240px;
}

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--black);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

img, svg { display: block; max-width: 100%; }

a { text-decoration: none; color: inherit; }

ul, ol { list-style: none; }

button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Utility ──────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.text-orange  { color: var(--orange); }
.text-black   { color: var(--black); }
.text-white   { color: var(--white); }
.text-gray    { color: var(--gray-muted); }

.btn-arrow    { margin-left: 6px; display: inline-block; }
.btn-icon     { width: 18px; height: 18px; flex-shrink: 0; }
.replace-note {
  display: block;
  font-size: 11px;
  color: var(--orange);
  text-align: center;
  margin-top: 8px;
  opacity: 0.7;
  font-style: italic;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.03em;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn--sm  { font-size: 13px; padding: 10px 20px; }
.btn--md  { font-size: 15px; padding: 14px 28px; }
.btn--lg  { font-size: 15px; padding: 16px 32px; }
.btn--xl  { font-size: 16px; padding: 18px 36px; }
.btn--full { width: 100%; }

/* Orange */
.btn--orange {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}
.btn--orange:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,74,18,0.4);
}

/* Outline */
.btn--outline {
  background: transparent;
  color: var(--orange);
  border-color: var(--orange);
}
.btn--outline:hover {
  background: var(--orange);
  color: var(--white);
  transform: translateY(-2px);
}

/* Dark */
.btn--dark {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
}
.btn--dark:hover {
  background: var(--dark-2);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

/* ── Scroll Animations ────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-delay { transition-delay: 0.18s; }

/* ── Section Head shared ──────────────────────────────────── */
.section-head { margin-bottom: 5px; }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: var(--white);
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  transition: box-shadow 0.3s;
}
.navbar.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.13); }

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--navbar-h);
  gap: 20px;
}

/* Logo */
.navbar__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-img {
  height: 135px;
  width: auto;
  display: block;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.logo-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo-clientes {
  font-family: var(--font-heading);
  font-size: 22px;
  letter-spacing: 0.04em;
  color: var(--black);
}
.logo-encaliente {
  font-family: var(--font-heading);
  font-size: 22px;
  letter-spacing: 0.04em;
  color: var(--black);
}
.logo-en {
  color: var(--orange);
  font-style: normal;
}

/* Nav Links */
.navbar__nav {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-link {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--dark-3);
  transition: color 0.2s;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: width 0.25s;
}
.nav-link:hover { color: var(--orange); }
.nav-link:hover::after { width: 100%; }

/* CTA + Hamburger */
.navbar__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.navbar-cta { font-size: 13px; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  border-radius: 6px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2.5px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Menu */
.mobile-menu {
  background: var(--white);
  padding: 16px 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px solid #f0f0f0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.mobile-menu[hidden] { display: none; }
.mobile-link {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.07em;
  color: var(--dark-3);
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
}
.mobile-link:hover { color: var(--orange); }
.mobile-cta { text-align: center; width: 100%; }

/* ============================================================
   HERO BANNER
   ============================================================ */
.hero {
  padding-top: calc(var(--navbar-h) + 4px);
  padding-bottom: 0;
  background: var(--white);
  position: relative;
  overflow: hidden;
}

/* Background decorative */
.hero__bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero__bg-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, #e8e8e8 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.5;
}
.hero__bg-curve-1 {
  position: absolute;
  top: -120px;
  right: -180px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  border: 1.5px dashed rgba(255,74,18,0.15);
}
.hero__bg-curve-2 {
  position: absolute;
  bottom: -80px;
  left: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  border: 1.5px dashed rgba(255,74,18,0.10);
}

/* Hero inner grid */
.hero__inner {
  display: grid;
  grid-template-columns: 40% 60%;
  gap: 12px;
  align-items: center;
  position: relative;
  z-index: 2;
  padding-bottom: 0;
}

/* Left: Copy */
.hero__copy { max-width: 580px; position: relative; z-index: 2; }

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(62px, 7vw, 96px);
  line-height: 0.95;
  letter-spacing: 0.01em;
  margin-bottom: 24px;
}
.hero__title-black { display: block; color: var(--black); }
.hero__title-orange { display: block; color: var(--orange); }

.hero__subtitle {
  font-size: 17px;
  color: #444;
  line-height: 1.65;
  max-width: 480px;
  margin-bottom: 36px;
}

.hero__btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Right: Visual */
.hero__visual {
  position: relative;
  display: flex;
  align-items: flex-end;   /* ancla la imagen al fondo del hero */
  align-self: stretch;     /* estira la celda a la altura de la columna de texto */
  overflow: hidden;        /* oculta el espacio vacío izquierdo del PNG */
}
.hero__visual-inner {
  width: 100%;
}

/* Hero composite image (portrait / square) */
.hero-person-photo {
  width: 110%;
  height: auto;
  display: block;
  margin-left: 2%;    /* desplaza ligeramente a la derecha para no cortar elementos izquierdos */
  filter: drop-shadow(0 8px 28px rgba(0,0,0,0.08));
}

/* ── Floating Cards ─────────────────────────────────────── */
.float-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 14px 16px;
  z-index: 10;
  border: 1px solid #f0f0f0;
  animation: floatIn 0.7s ease both;
}

@keyframes floatIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Card 1: Metrics */
.float-card--metrics {
  top: 10px;
  left: -30px;
  width: 170px;
  animation-delay: 0.3s;
}
.fc-row { display: flex; align-items: center; }
.fc-row--space { justify-content: space-between; margin-bottom: 4px; }
.fc-label { font-size: 11px; color: var(--gray-text); font-weight: 500; }
.fc-badge {
  font-size: 11px;
  font-weight: 700;
  background: rgba(255,74,18,0.1);
  color: var(--orange);
  padding: 2px 7px;
  border-radius: 20px;
}
.fc-number {
  font-family: var(--font-heading);
  font-size: 30px;
  color: var(--black);
  line-height: 1.1;
  margin-bottom: 8px;
}
.fc-chart svg { width: 100%; height: 32px; }

/* Card 2: Funnel */
.float-card--funnel {
  top: 20px;
  right: -20px;
  width: 182px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  animation-delay: 0.45s;
}
.funnel-item { display: flex; flex-direction: column; gap: 3px; }
.funnel-bar { height: 5px; border-radius: 4px; }
.funnel-row { display: flex; justify-content: space-between; }
.funnel-label { font-size: 9px; color: var(--gray-text); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.funnel-num { font-size: 10px; font-weight: 700; color: var(--dark); }

/* Card 3: WhatsApp */
.float-card--whatsapp {
  bottom: 120px;
  left: -20px;
  width: 200px;
  animation-delay: 0.6s;
}
.wa-head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.wa-avatar { width: 28px; height: 28px; flex-shrink: 0; }
.wa-avatar svg { width: 28px; height: 28px; }
.wa-info { display: flex; flex-direction: column; }
.wa-name { font-size: 11px; font-weight: 700; color: var(--dark); }
.wa-online { font-size: 9px; color: #25D366; font-weight: 600; }
.wa-bubble {
  background: #f0f0f0;
  border-radius: 0 10px 10px 10px;
  padding: 8px 10px;
  margin-bottom: 6px;
}
.wa-bubble p { font-size: 11px; color: #333; line-height: 1.4; margin-bottom: 3px; }
.wa-time { font-size: 9px; color: var(--gray-text); display: block; text-align: right; }
.wa-input { font-size: 10px; color: var(--gray-text); border-top: 1px solid #f0f0f0; padding-top: 6px; }

/* Card 4: Form */
.float-card--form {
  bottom: 30px;
  right: -10px;
  width: 172px;
  padding: 12px 14px;
  animation-delay: 0.75s;
}
.fc-form-title { font-size: 11px; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.fc-form-field {
  font-size: 9px;
  color: var(--gray-text);
  border: 1px solid #e5e5e5;
  border-radius: 5px;
  padding: 5px 7px;
  margin-bottom: 5px;
  background: var(--white);
}
.fc-form-field--tall { height: 30px; }
.fc-form-btn {
  width: 100%;
  background: var(--orange);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  text-align: center;
  padding: 6px;
  border-radius: 5px;
  margin-top: 4px;
}

/* Benefits Bar */
.hero__benefits-bar {
  background: var(--white);
  padding: 0;
  position: relative;
  z-index: 3;
}
.benefits-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: 0 -4px 30px rgba(0,0,0,0.10), var(--shadow-card);
  padding: 22px 40px;
  margin: 0 0 20px 0;
  border: 1px solid #f0f0f0;
}
.benefit-item {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  justify-content: center;
}
.benefit-icon {
  width: 36px;
  height: 36px;
  background: rgba(255,74,18,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--orange);
}
.benefit-icon svg { width: 18px; height: 18px; }
.benefit-text { font-size: 14px; font-weight: 700; color: var(--dark); letter-spacing: 0.01em; }
.benefit-sep {
  width: 1px;
  height: 40px;
  background: #e8e8e8;
  margin: 0 30px;
}

/* ============================================================
   PAIN POINTS — DOLORES DEL CLIENTE
   ============================================================ */
.pain {
  background: var(--dark);
  padding: 100px 0 0;
  position: relative;
  overflow: hidden;
}

.pain__bg { position: absolute; inset: 0; pointer-events: none; }
.pain__bg-glow {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(255,74,18,0.07) 0%, transparent 70%);
  border-radius: 50%;
}
.pain__bg-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,74,18,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,74,18,0.04) 1px, transparent 1px);
  background-size: 50px 50px;
}

/* Pain title */
.pain__title {
  font-family: var(--font-heading);
  font-size: clamp(36px, 4.5vw, 58px);
  color: var(--white);
  text-align: center;
  letter-spacing: 0.02em;
  line-height: 1.1;
  margin-bottom: 18px;
}
.pain__subtitle {
  text-align: center;
  font-size: 17px;
  color: var(--gray-muted);
  max-width: 600px;
  margin: 0 auto 60px;
  line-height: 1.65;
}

/* Pain Cards Grid */
.pain-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 50px;
}

.pain-card {
  background: var(--gray-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-md);
  padding: 32px 22px 28px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.pain-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  transition: border-color 0.3s;
}
.pain-card:hover { transform: translateY(-6px); box-shadow: var(--glow-orange); }
.pain-card:hover::before { border-color: rgba(255,74,18,0.3); }

.pain-card__icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  color: var(--orange);
  background: rgba(255,74,18,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}
.pain-card:hover .pain-card__icon { background: rgba(255,74,18,0.16); }
.pain-card__icon svg { width: 28px; height: 28px; }

.pain-card__title {
  font-family: var(--font-heading);
  font-size: 20px;
  color: var(--white);
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}
.pain-card__text { font-size: 14px; color: var(--gray-muted); line-height: 1.55; }

/* Consequences */
.consequences {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: rgba(255,74,18,0.05);
  border: 1px solid rgba(255,74,18,0.15);
  border-radius: var(--radius-md);
  padding: 22px 40px;
  margin-bottom: 20px;
}
.consequence-item {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  justify-content: center;
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.consequence-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,74,18,0.12);
  border: 1px solid rgba(255,74,18,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  flex-shrink: 0;
}
.consequence-icon svg { width: 18px; height: 18px; }
.consequence-sep {
  color: var(--orange);
  font-size: 20px;
  font-weight: 700;
  margin: 0 30px;
  flex-shrink: 0;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services {
  background: var(--white);
  padding: 0;
}

.services__title {
  font-family: var(--font-heading);
  font-size: clamp(48px, 5.5vw, 72px);
  color: var(--orange);
  letter-spacing: 0.03em;
  text-align: center;
  margin-bottom: 5px;
}

.services__subtitle-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 0;
}
.orange-rule {
  flex: 1;
  max-width: 200px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--orange));
}
.services__subtitle-row .orange-rule:last-child {
  background: linear-gradient(90deg, var(--orange), transparent);
}
.services__subtitle {
  font-size: 16px;
  color: var(--gray-text);
  font-weight: 500;
  white-space: nowrap;
}

/* Steps Flow */
.steps-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: start;
  margin-bottom: 80px;
  padding-top: 60px;
}

.step-card {
  background: var(--white);
  border: 1.5px solid #e8e8e8;
  border-radius: var(--radius-md);
  padding: 32px 24px 28px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  box-shadow: 0 2px 14px rgba(0,0,0,0.05);
}
.step-card:first-of-type {
  border-color: var(--orange);
  box-shadow: 0 4px 22px rgba(255,74,18,0.13);
}
.step-card:hover {
  border-color: var(--orange);
  transform: translateY(-5px);
  box-shadow: 0 8px 28px rgba(255,74,18,0.14);
}
.step-num {
  font-family: var(--font-heading);
  font-size: 44px;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: 0.03em;
}
.step-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 18px;
  color: #555;
  background: #f0f0f0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.step-card:first-of-type .step-icon { background: rgba(255,74,18,0.08); color: var(--orange); }
.step-card:hover .step-icon { background: rgba(255,74,18,0.10); color: var(--orange); }
.step-icon svg { width: 28px; height: 28px; }
.step-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
  line-height: 1.35;
}
.step-desc { font-size: 13px; color: var(--gray-text); line-height: 1.6; }

.step-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
  margin-top: 100px;
}
.step-arrow svg { width: 44px; height: 22px; }

/* AI Block (inside services) */
.ai-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 0 60px;
  align-items: center;
  background: var(--gray-light);
  border-radius: var(--radius-xl);
  padding: 60px 60px 36px;
  margin-top: 20px;
  border: 1px solid #ebebeb;
}

.ai-block__title {
  font-family: var(--font-heading);
  font-size: clamp(36px, 4vw, 52px);
  color: var(--dark);
  line-height: 1.1;
  letter-spacing: 0.01em;
  margin-bottom: 18px;
}
.ai-block__highlight {
  color: var(--orange);
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-underline-offset: 6px;
}
.ai-block__sub {
  font-size: 16px;
  color: var(--gray-text);
  margin-bottom: 36px;
  line-height: 1.6;
}

.ai-block__benefits {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0;
  border-top: 1px solid #e0e0e0;
  padding-top: 24px;
  margin-top: 8px;
  justify-content: space-around;
}

.ai-benefit-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 auto;
  min-width: 0;
}
.ai-benefit-icon {
  width: 36px;
  height: 36px;
  background: rgba(255,74,18,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  flex-shrink: 0;
  border: 1px solid rgba(255,74,18,0.15);
}
.ai-benefit-icon svg { width: 17px; height: 17px; }
.ai-benefit-text { display: flex; flex-direction: column; gap: 1px; }
.ai-benefit-text strong { font-size: 13px; color: var(--dark); font-weight: 700; line-height: 1.3; }
.ai-benefit-text span { font-size: 12px; color: var(--gray-text); }

/* Robot visual */
.ai-block__right { display: flex; align-items: center; justify-content: center; }
.robot-wrapper { position: relative; width: 280px; }
.robot-svg { width: 200px; margin: 0 auto; display: block; }

.robot-bubble {
  position: absolute;
  background: var(--white);
  border-radius: 12px;
  border: 1.5px solid #eeeeee;
  padding: 10px 14px;
  font-size: 12px;
  color: var(--dark);
  font-weight: 500;
  box-shadow: var(--shadow-card);
  max-width: 160px;
  line-height: 1.35;
}
.robot-bubble::after {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--white);
  border: 1.5px solid #eee;
  transform: rotate(45deg);
}
.bubble--tl {
  top: 20px;
  left: -20px;
}
.bubble--tl::after { bottom: -6px; right: 20px; border-top: none; border-left: none; }

.bubble--tr {
  top: 90px;
  right: -14px;
}
.bubble--tr::after { bottom: -6px; left: 20px; border-top: none; border-left: none; }

.bubble--br {
  bottom: 40px;
  right: -10px;
  color: var(--orange);
  border-color: rgba(255,74,18,0.25);
}
.bubble--br::after { top: -6px; left: 20px; border-bottom: none; border-right: none; background: var(--white); border-color: rgba(255,74,18,0.25); }

/* ============================================================
   PRICING BANNER
   ============================================================ */
.pricing {
  padding: 60px 0 0;
  background: var(--white);
}
.pricing__strip {
  background: var(--orange);
  border-radius: 0;
  padding: 36px 10%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

/* Meta badge */
.pricing__meta-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  border: 1px solid rgba(255,255,255,0.2);
  min-width: 120px;
}
.meta-icon-wrap svg { width: 48px; height: 28px; }
.meta-badge-text { font-size: 13px; font-weight: 700; color: var(--white); text-align: center; line-height: 1.3; }

/* Price block */
.pricing__price-block { text-align: center; flex: 1; }
.pricing__from-text { font-size: 14px; color: rgba(255,255,255,0.85); margin-bottom: 6px; }
.pricing__amount-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  line-height: 1;
  margin-bottom: 2px;
}
.pricing__dollar { font-family: var(--font-heading); font-size: 40px; color: var(--white); }
.pricing__price-num { font-family: var(--font-heading); font-size: 72px; color: var(--white); letter-spacing: -1px; }
.pricing__mxn { font-family: var(--font-heading); font-size: 32px; color: rgba(255,255,255,0.85); }
.pricing__iva-text { font-size: 13px; color: rgba(255,255,255,0.75); margin-bottom: 14px; }
.pricing__amount-row--strike { opacity: 0.55; margin-bottom: 2px; }
.pricing__amount-row--strike .pricing__price-num { font-size: 48px; }
.pricing__amount-row--strike .pricing__dollar { font-size: 26px; }
.pricing__amount-row--strike .pricing__mxn { font-size: 22px; }
.pricing__limited-text { font-size: 12px; font-weight: 700; color: rgba(255,255,255,0.9); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 2px; }

.pricing__bullets { display: flex; flex-direction: column; gap: 6px; align-items: center; }
.pricing__bullet {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: rgba(255,255,255,0.9);
  font-weight: 600;
}
.bullet-check { width: 16px; height: 16px; color: var(--white); flex-shrink: 0; }

/* CTA */
.pricing__cta-wrap { flex-shrink: 0; }
.pricing-cta-btn {
  padding: 18px 28px;
  font-size: 15px;
  text-align: center;
  gap: 10px;
}

/* ============================================================
   AI SECTION — ASISTENTE 24/7
   ============================================================ */
.ai-section {
  background: var(--dark);
  padding: 10px 0 0;
  position: relative;
  overflow: hidden;
}

.ai-section__bg { position: absolute; inset: 0; pointer-events: none; }
.ai-bg-glow {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,74,18,0.08), transparent 70%);
}
.ai-bg-glow--1 { width: 500px; height: 500px; top: -150px; left: -100px; }
.ai-bg-glow--2 { width: 400px; height: 400px; bottom: -100px; right: -80px; }
.ai-bg-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,74,18,0.12) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.35;
}

.ai-section__title {
  font-family: var(--font-heading);
  font-size: clamp(52px, 6.5vw, 84px);
  letter-spacing: 0.03em;
  margin-bottom: 16px;
}
.ai-section__subtitle {
  font-size: 17px;
  color: var(--gray-muted);
  max-width: 800px;
  margin: 0 auto 60px;
  line-height: 1.65;
  text-align: center;
}

/* Chat Box */
.chatbox {
  max-width: 620px;
  margin: 0 auto 60px;
  background: var(--dark-2);
  border: 1px solid rgba(255,74,18,0.25);
  border-radius: var(--radius-lg);
  box-shadow: var(--glow-orange), 0 8px 40px rgba(0,0,0,0.4);
  overflow: hidden;
  position: relative;
  z-index: 2;
}

/* Chat Header */
.chatbox__header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: var(--dark-3);
  border-bottom: 1px solid var(--dark-border);
}
.chatbox__avatar { width: 42px; height: 42px; flex-shrink: 0; }
.chatbox__avatar svg { width: 42px; height: 42px; }

.chatbox__info { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.chatbox__name { font-size: 14px; font-weight: 700; color: var(--white); }
.chatbox__status { font-size: 12px; color: var(--gray-muted); display: flex; align-items: center; gap: 5px; }
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34,197,94,0.6);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%,100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.chatbox__dots { display: flex; gap: 4px; }
.chatbox__dots span {
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gray-text);
}

/* Messages */
.chatbox__messages {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-height: 280px;
  overflow-y: auto;
  scroll-behavior: smooth;
}
.chatbox__messages::-webkit-scrollbar { width: 4px; }
.chatbox__messages::-webkit-scrollbar-thumb { background: var(--dark-border); border-radius: 4px; }

.chat-msg { display: flex; align-items: flex-end; gap: 10px; }
.chat-msg--user { flex-direction: row-reverse; }

.chat-msg__ava { width: 30px; height: 30px; flex-shrink: 0; }
.chat-msg__ava svg { width: 30px; height: 30px; border-radius: 50%; }

.chat-msg__bubble {
  padding: 11px 16px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.5;
  max-width: 80%;
}
.chat-msg--bot .chat-msg__bubble {
  background: var(--dark-3);
  color: var(--white);
  border-radius: 4px 16px 16px 16px;
  border: 1px solid var(--dark-border);
}
.chat-msg--user .chat-msg__bubble {
  background: var(--orange);
  color: var(--white);
  border-radius: 16px 4px 16px 16px;
}

/* Typing indicator */
.typing-indicator { display: inline-flex; gap: 4px; align-items: center; padding: 4px 0; }
.typing-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  animation: typing 1.2s infinite;
}
.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-6px); opacity: 1; }
}

/* Input Area */
.chatbox__input-area {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-top: 1px solid var(--dark-border);
  background: var(--dark-2);
}
.chatbox__input {
  flex: 1;
  background: var(--dark-3);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 14px;
  color: var(--white);
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.2s;
}
.chatbox__input::placeholder { color: var(--gray-text); }
.chatbox__input:focus { border-color: var(--orange); }

.chatbox__send {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
  color: var(--white);
}
.chatbox__send svg { width: 18px; height: 18px; }
.chatbox__send:hover { background: var(--orange-dark); transform: scale(1.05); }

/* AI Feature Cards */
.ai-feat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  position: relative;
  z-index: 2;
  margin-bottom: 20px;
}

.ai-feat-card {
  background: var(--gray-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
  transition: var(--transition);
}
.ai-feat-card:hover {
  border-color: rgba(255,74,18,0.35);
  transform: translateY(-4px);
  box-shadow: var(--glow-orange-sm);
}
.ai-feat-card__icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  background: rgba(255,74,18,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  border: 1px solid rgba(255,74,18,0.15);
}
.ai-feat-card__icon svg { width: 24px; height: 24px; }
.ai-feat-card h4 { font-size: 15px; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.ai-feat-card p { font-size: 13px; color: var(--gray-muted); line-height: 1.5; }

/* ============================================================
   LOGO CAROUSEL
   ============================================================ */
.logos-section {
  background: var(--white);
  padding: 30px 0 0;
}

.logos-head { margin-bottom: 48px; }
.logos-title-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.logos-line {
  flex: 1;
  max-width: 100px;
  height: 2px;
  background: var(--orange);
}
.logos-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.5vw, 46px);
  letter-spacing: 0.03em;
  text-align: center;
}

/* Carousel */
.carousel {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}
.carousel__track-wrap {
  flex: 1;
  overflow: hidden;
  border-radius: var(--radius-md);
}
.carousel__track {
  display: flex;
  gap: 20px;
  transition: transform 0.45s cubic-bezier(0.4,0,0.2,1);
}
.logo-slide {
  flex: 0 0 calc(100% / 4 - 15px);
  min-width: calc(100% / 4 - 15px);
}

.brand-logo-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 22px 20px;
  border: 2px solid #eeeeee;
  border-radius: var(--radius-md);
  background: var(--white);
  transition: var(--transition);
  justify-content: center;
}
.brand-logo-card:hover {
  border-color: var(--orange);
  box-shadow: var(--shadow-card);
  transform: translateY(-3px);
}
.brand-letter {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: #111;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.brand-name {
  display: flex;
  flex-direction: column;
}
.brand-name strong { font-size: 14px; font-weight: 800; color: var(--dark); letter-spacing: 0.05em; }
.brand-name small { font-size: 10px; color: var(--gray-text); letter-spacing: 0.07em; font-weight: 600; }

/* Carousel buttons */
.carousel__btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--orange);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
  background: var(--white);
}
.carousel__btn svg { width: 18px; height: 18px; }
.carousel__btn:hover { background: var(--orange); color: var(--white); }

/* Dots */
.carousel__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
}
.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ddd;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}
.carousel-dot.active {
  background: var(--orange);
  transform: scale(1.3);
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.final-cta {
  background: var(--white);
  padding: 90px 0 0;
}
.final-cta__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* Visual side */
.final-cta__visual {
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: flex-end;
  overflow: visible;
}
.final-cta__img-placeholder {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: visible;
  padding: 0;
}
.cta-img-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,74,18,0.06), transparent 70%);
  border: 2px dashed rgba(255,74,18,0.12);
  pointer-events: none;
}
.cta-person-photo {
  width: 115%;
  max-width: none;
  height: auto;
  display: block;
  margin-left: -5%;
  object-fit: contain;
  object-position: center bottom;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 8px 28px rgba(0,0,0,0.10));
}

/* Content side */
.final-cta__content { padding-left: 20px; }

.final-cta__mini-logo {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}
.final-cta__logo-img {
  height: 80px;
  width: auto;
  display: block;
  object-fit: contain;
}

.final-cta__title {
  font-family: var(--font-heading);
  font-size: clamp(50px, 5.5vw, 72px);
  line-height: 0.95;
  letter-spacing: 0.02em;
  margin-bottom: 18px;
}

.final-cta__subtitle {
  font-size: 16px;
  color: #444;
  line-height: 1.65;
  margin-bottom: 32px;
  max-width: 440px;
}

.final-cta__benefits { display: flex; flex-direction: row; gap: 12px; margin-bottom: 28px; }
.cta-benefit-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  flex: 1;
}
.cta-benefit-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,74,18,0.08);
  border: 1.5px solid rgba(255,74,18,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  flex-shrink: 0;
}
.cta-benefit-icon svg { width: 16px; height: 16px; }
.cta-benefit-row > div { display: flex; flex-direction: column; gap: 2px; padding-top: 2px; }
.cta-benefit-row strong { font-size: 12px; font-weight: 800; color: var(--dark); letter-spacing: 0.04em; }
.cta-benefit-row span { font-size: 11px; color: var(--gray-text); line-height: 1.4; }

/* Platform badges */
.platform-badges {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-bottom: 28px;
}
.platform-badge {
  display: flex;
  align-items: center;
  gap: 10px;
}
.platform-badge__name { font-size: 18px; font-weight: 700; color: var(--dark); letter-spacing: -0.01em; }
.platform-sep {
  width: 1px;
  height: 36px;
  background: #ddd;
  flex-shrink: 0;
}

/* CTA Button */
.final-zoom-btn {
  width: 100%;
  justify-content: center;
  margin-bottom: 12px;
  font-size: 16px;
  letter-spacing: 0.04em;
}

/* Disclaimer */
.final-cta__disclaimer {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 0;
  font-size: 12px;
  color: var(--gray-text);
}
.disclaimer-icon { width: 16px; height: 16px; flex-shrink: 0; color: var(--orange); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--orange);
  padding: 0;
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
  gap: 16px;
  flex-wrap: wrap;
}
.footer__legal-btn {
  font-size: 13px;
  color: rgba(255,255,255,0.88);
  font-weight: 600;
  font-family: var(--font-body);
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}
.footer__legal-btn:hover { color: var(--white); border-color: var(--white); }
.footer__copy { font-size: 13px; color: rgba(255,255,255,0.88); font-weight: 500; text-align: center; }

/* ============================================================
   MODALS
   ============================================================ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal[hidden] { display: none; }
.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(3px);
}
.modal__box {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 520px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  animation: modalIn 0.3s ease;
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(0.93) translateY(16px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--gray-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  color: var(--dark);
}
.modal__close svg { width: 16px; height: 16px; }
.modal__close:hover { background: #e8e8e8; }
.modal__title {
  font-family: var(--font-heading);
  font-size: 28px;
  color: var(--dark);
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}
.modal__body p {
  font-size: 14px;
  color: #444;
  line-height: 1.7;
  margin-bottom: 14px;
}
.modal__body p:last-child { margin-bottom: 0; }

/* ============================================================
   RESPONSIVE — TABLET (≤ 1024px)
   ============================================================ */
@media (max-width: 1024px) {

  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
  }
  .hero__copy { max-width: 100%; }
  .hero__subtitle { max-width: 100%; margin-left: auto; margin-right: auto; }
  .hero__btns { justify-content: center; }
  .hero-person-photo { width: 100%; margin-left: 0; margin-top: 0; }

  .pain-cards { grid-template-columns: repeat(2, 1fr); }

  .steps-flow {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    gap: 20px;
  }
  .step-arrow {
    display: none;
  }

  .ai-block {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px 36px;
  }
  .ai-block__right { justify-content: center; }

  .final-cta__inner { grid-template-columns: 1fr; gap: 40px; }
  .final-cta__content { padding-left: 0; }

  .ai-feat-grid { grid-template-columns: repeat(2, 1fr); }

  .logo-slide { flex: 0 0 calc(100% / 3 - 15px); min-width: calc(100% / 3 - 15px); }

  .pricing__strip { flex-direction: column; text-align: center; }
  .pricing__cta-wrap { width: 100%; }
  .pricing-cta-btn { width: 100%; justify-content: center; }
}

/* ============================================================
   RESPONSIVE — MOBILE (≤ 768px)
   ============================================================ */
@media (max-width: 768px) {

  /* Navbar */
  .navbar__nav { display: none; }
  .hamburger { display: flex; }
  .navbar-cta { display: none; }

  /* Hero */
  .hero { padding-top: calc(var(--navbar-h) + 40px); }
  .hero__title { font-size: 58px; }
  .hero__btns { flex-direction: column; align-items: center; }
  .hero__btns .btn { width: 100%; max-width: 340px; justify-content: center; }

  /* Hero visual: simplified floating cards */
  .hero-person-photo { width: 100%; margin-left: 0; }

  /* Benefits bar */
  .benefits-bar {
    flex-direction: column;
    gap: 16px;
    padding: 20px 24px;
  }
  .benefit-sep { display: none; }
  .benefit-item { justify-content: flex-start; width: 100%; }

  /* Pain */
  .pain { padding: 70px 0 0; }
  .pain-cards { grid-template-columns: 1fr; }
  .consequences { flex-direction: column; gap: 16px; padding: 24px 20px; }
  .consequence-sep { transform: rotate(90deg); }

  /* Services */
  .services { padding: 0 0 60px; }
  .steps-flow {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .step-arrow { display: flex; transform: rotate(90deg); justify-content: center; height: 36px; }

  /* AI Block */
  .ai-block { padding: 32px 24px; }
  .ai-block__title { font-size: 34px; }
  .robot-wrapper { width: 200px; }
  .robot-bubble { font-size: 10px; padding: 7px 10px; max-width: 120px; }

  /* Pricing */
  .pricing__strip { padding: 28px 24px; gap: 20px; }
  .pricing__price-num { font-size: 54px; }

  /* AI Section */
  .ai-section { padding: 70px 0 60px; }
  .chatbox { margin-bottom: 40px; }
  .ai-feat-grid { grid-template-columns: 1fr 1fr; gap: 12px; }

  /* Logos */
  .logos-section { padding: 60px 0; }
  .logo-slide { flex: 0 0 calc(100% / 2 - 10px); min-width: calc(100% / 2 - 10px); }
  .logos-title-wrap { flex-direction: column; gap: 10px; }
  .logos-line { display: none; }

  /* Final CTA */
  .final-cta { padding: 60px 0 80px; }
  .final-cta__title { font-size: 52px; }
  .final-zoom-btn { font-size: 15px; padding: 18px 24px; }

  /* Footer */
  .footer__inner { flex-direction: column; text-align: center; gap: 10px; }
}

/* ============================================================
   RESPONSIVE — SMALL MOBILE (≤ 480px)
   ============================================================ */
@media (max-width: 480px) {

  .hero__title { font-size: 48px; }
  .pain__title { font-size: 30px; }
  .services__title { font-size: 42px; }
  .ai-section__title { font-size: 46px; }
  .final-cta__title { font-size: 44px; }

  .ai-feat-grid { grid-template-columns: 1fr; }
  .logo-slide { flex: 0 0 calc(100% - 0px); min-width: 100%; }

  .modal__box { padding: 28px 20px; }
  .modal__title { font-size: 22px; }

  .pricing__strip { padding: 24px 16px; }
  .pricing__amount-row { gap: 4px; }
  .pricing__price-num { font-size: 48px; }
  .pricing__dollar { font-size: 30px; }
  .pricing__mxn { font-size: 24px; }

  .chatbox__messages { max-height: 220px; }
}
