/* ============================================================
   Betty — landing (index.html)
   Estructura y ritmo de secciones. Colores y tipografías
   vienen de los tokens de css/style.css
   ============================================================ */

/* ---------- Cabecera de sección ---------- */
section { padding: 100px 0; position: relative; }
.bg-a { background: var(--bg-alt); }

.s-label {
  font-size: .75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 2px;
  color: var(--accent-dark); margin-bottom: 12px;
}
.s-title {
  font-family: 'Comfortaa', sans-serif;
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
  font-weight: 700; letter-spacing: -.5px; line-height: 1.2;
  color: var(--text-heading);
  margin-bottom: 14px;
}
.s-desc {
  font-size: 1.02rem; color: var(--text-body);
  max-width: 540px; line-height: 1.65;
}
.s-hdr { text-align: center; margin-bottom: 56px; }
.s-hdr .s-desc { margin-left: auto; margin-right: auto; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding: 128px 0 0;
  text-align: center;
  background: var(--bg-page);
  overflow: hidden;
}
.hero .container { position: relative; z-index: 1; }

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--border); border-radius: 100px;
  padding: 5px 16px 5px 7px;
  font-size: .8rem; font-weight: 600;
  color: var(--text-body); background: var(--bg-card);
  margin-bottom: 26px;
}
.badge-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  animation: blink 2s ease-in-out infinite;
}
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: .3; } }
@media (prefers-reduced-motion: reduce) { .badge-dot { animation: none; } }

.hero h1 {
  font-family: 'Comfortaa', sans-serif;
  font-size: clamp(2rem, 4.6vw, 3.1rem);
  font-weight: 700; line-height: 1.18; letter-spacing: -.6px;
  color: var(--text-heading);
  max-width: 820px; margin: 0 auto 20px;
}
.hero h1 em { font-style: normal; color: var(--accent-dark); }
.hero-sub {
  font-size: 1rem; color: var(--text-body);
  max-width: 560px; margin: 0 auto 30px;
}
.hero-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-note {
  font-size: .8rem; font-weight: 600; color: var(--text-muted);
  margin-top: 14px;
}

/* ---------- Panel del hero (reemplaza el screenshot) ---------- */
.hero-device { margin-top: 48px; position: relative; z-index: 1; }
.hero-panel {
  max-width: 940px; margin: 0 auto;
  background: linear-gradient(165deg, var(--bg-alt) 0%, var(--bg-soft) 100%);
  border: 1px solid var(--border);
  border-radius: 24px 24px 0 0;
  border-bottom: none;
  padding: 40px 32px 0;
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: end; gap: 24px;
  box-shadow: var(--sh-l);
}
.hero-panel-side { display: flex; flex-direction: column; gap: 12px; padding-bottom: 48px; }
.hero-panel-side.right { align-items: flex-end; }

.float-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 13px 15px;
  box-shadow: var(--sh-m);
  text-align: left;
  max-width: 240px;
}
.float-card .fc-top {
  display: flex; align-items: center; gap: 7px;
  font-size: .68rem; font-weight: 700; letter-spacing: .5px;
  text-transform: uppercase; color: var(--text-muted);
  margin-bottom: 6px;
}
.float-card .fc-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex-shrink: 0;
}
.float-card .fc-body { font-size: .85rem; font-weight: 600; color: var(--text-base); line-height: 1.45; }
.float-card .fc-meta { font-size: .75rem; color: var(--text-muted); margin-top: 5px; }

/* ---------- Mockup de teléfono ---------- */
.phone {
  width: 274px; max-width: 78vw;
  background: var(--phone-frame);
  border-radius: 34px 34px 0 0;
  padding: 10px 10px 0;
  box-shadow: 0 34px 70px -24px rgba(17,29,32,.42);
  flex-shrink: 0;
}
/* Réplica de la pantalla de WhatsApp: siempre clara en ambos temas
   (así se ve la app real). El marco y la sombra le dan el contraste
   contra el fondo. */
.phone-screen { background: #EAF3EF; border-radius: 26px 26px 0 0; overflow: hidden; }
.phone-bar {
  background: #126E6E; padding: 12px 14px;
  display: flex; align-items: center; gap: 10px;
}
.phone-bar img {
  width: 34px; height: 34px; border-radius: 50%;
  object-fit: cover; background: #fff; flex-shrink: 0;
}
.phone-bar .pb-name { color: #fff; font-weight: 700; font-size: 14px; line-height: 1.25; }
.phone-bar .pb-status { color: #CFEEEE; font-size: 11.5px; line-height: 1.25; }
.phone-chat {
  display: flex; flex-direction: column; gap: 8px;
  padding: 15px 12px 24px; min-height: 268px;
}
.bub {
  max-width: 86%; padding: 9px 12px; border-radius: 13px;
  font-size: 13px; line-height: 1.45;
  box-shadow: 0 1px 1px rgba(0,0,0,.05);
}
.bub-in { align-self: flex-end; background: #DCF8C6; color: #1c2b2e; border-top-right-radius: 3px; }
.bub-out { align-self: flex-start; background: #fff; color: #23373B; border-top-left-radius: 3px; }

/* ============================================================
   FRANJA DE HECHOS (estilo métricas)
   ============================================================ */
.roi-wrap {
  background: var(--bg-page);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.roi-stats { display: flex; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.roi-stat { flex: 1; padding: 28px 30px; border-right: 1px solid var(--border); }
.roi-stat:last-child { border-right: none; }
.roi-stat .stat-cat {
  font-size: .72rem; font-weight: 700; letter-spacing: .4px;
  text-transform: uppercase; color: var(--text-muted); margin-bottom: 10px;
}
.roi-stat .stat-val {
  font-family: 'Comfortaa', sans-serif;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 700; letter-spacing: -.5px; line-height: 1.1;
  color: var(--text-heading);
}
.roi-stat .stat-lbl {
  font-size: .82rem; color: var(--text-muted);
  line-height: 1.4; margin-top: 6px;
}

/* ============================================================
   CARRUSEL DE CONVERSACIONES
   ============================================================ */
.testi-wrap { overflow: hidden; padding: 40px 0 24px; }
.testi-track {
  display: flex; gap: 16px;
  padding-left: max(24px, calc((100vw - 1180px) / 2));
  transition: transform .6s cubic-bezier(.25,.1,.25,1);
  will-change: transform;
  cursor: grab; user-select: none;
}
.testi-track.dragging { cursor: grabbing; transition: none; }

.chat-card {
  flex: 0 0 300px;
  border-radius: 18px;
  min-height: 420px;
  display: flex; flex-direction: column; justify-content: space-between;
  position: relative; overflow: hidden;
  padding: 26px 22px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--sh-m);
  color: var(--text-body);
}
.chat-card::after {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(120% 90% at 100% 0%, rgba(72,192,192,.16) 0%, rgba(72,192,192,0) 55%);
  pointer-events: none;
}
.chat-card > * { position: relative; z-index: 1; }
.cc-tag {
  display: inline-flex; align-self: flex-start; align-items: center; gap: 6px;
  border: 1px solid var(--border);
  border-radius: 100px; padding: 4px 11px;
  font-size: .68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .6px;
  color: var(--accent-dark);
  margin-bottom: 18px;
}
.cc-thread { display: flex; flex-direction: column; gap: 10px; flex: 1; }
.cc-msg { font-size: .86rem; line-height: 1.55; padding: 10px 13px; border-radius: 13px; max-width: 92%; }
.cc-msg-u {
  align-self: flex-end;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  color: var(--text-body); border-top-right-radius: 3px;
}
.cc-msg-b {
  align-self: flex-start;
  background: var(--bg-soft);
  border: 1px solid var(--accent-soft);
  color: var(--text-heading); border-top-left-radius: 3px;
}
.cc-meta { margin-top: 22px; }
.cc-role { font-size: .76rem; color: var(--text-body); }
.cc-name { font-size: .88rem; font-weight: 600; margin-top: 3px; color: var(--text-heading); }

.testi-controls {
  display: flex; align-items: center; justify-content: center;
  gap: 12px; padding: 20px 0 0;
}
.testi-progress {
  width: 120px; height: 3px; border-radius: 3px;
  background: var(--border); overflow: hidden;
}
.testi-progress-bar {
  height: 100%; width: 0; border-radius: 3px;
  background: var(--accent); transition: width .3s ease;
}
.testi-pause {
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--border); background: var(--bg-card);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background-color .2s, border-color .2s;
}
.testi-pause:hover { background: var(--bg-alt); border-color: var(--accent); }
.testi-pause svg { width: 12px; height: 12px; fill: var(--text-heading); }

/* ============================================================
   CASOS DE USO — dos grupos: productos / servicios
   El grupo (categoría) es lo prominente; la descripción es
   secundaria y las viñetas son el detalle de apoyo.
   ============================================================ */
.casos-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }

.casos-group {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 30px 30px 8px;
  transition: border-color .3s, box-shadow .3s;
}
.casos-group:hover { border-color: var(--accent); box-shadow: var(--sh-m); }

.casos-group-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.casos-group-icon {
  width: 46px; height: 46px; border-radius: 13px;
  background: var(--bg-soft);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; flex-shrink: 0;
}
.casos-group-title {
  font-family: 'Comfortaa', sans-serif;
  font-size: 1.35rem; font-weight: 700; letter-spacing: -.3px;
  color: var(--text-heading);
}

.casos-group-tags {
  display: flex; flex-wrap: wrap; gap: 8px 16px;
  padding-bottom: 22px; margin-bottom: 6px;
  border-bottom: 1px dashed var(--border-dashed);
}
.casos-group-tags a {
  font-size: .85rem; font-weight: 700; color: var(--accent-dark);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.casos-group-tags a:hover { border-bottom-color: var(--accent-dark); }

.casos-cards { display: flex; flex-direction: column; }
.uc-card { scroll-margin-top: 90px; padding: 22px 0; }
.uc-card + .uc-card { border-top: 1px solid var(--border); }

.uc-face {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Comfortaa', sans-serif;
  font-size: 1.08rem; font-weight: 700; letter-spacing: -.2px;
  color: var(--text-heading);
}
.uc-face-icon {
  width: 30px; height: 30px; border-radius: 9px;
  background: var(--bg-soft);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; flex-shrink: 0;
}
.uc-tagline {
  font-size: .87rem; color: var(--text-muted);
  margin: 6px 0 14px; line-height: 1.5;
}
.uc-feats li {
  font-size: .87rem; color: var(--text-body);
  display: flex; align-items: flex-start; gap: 9px; padding: 4px 0;
}
.uc-feats li::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent); flex-shrink: 0; margin-top: 9px;
}

/* ============================================================
   INTEGRACIONES
   ============================================================ */
.tools-row {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 14px 26px; align-items: center;
  margin-bottom: 48px;
}
.tool-logo {
  display: flex; align-items: center; gap: 8px;
  font-size: .88rem; font-weight: 600;
  color: var(--text-muted); white-space: nowrap;
}
.tool-logo img { width: 20px; height: 20px; display: block; }
.tool-logo img.logo-wordmark { width: auto; height: 15px; }

.int-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}
.int-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px; padding: 22px 20px;
  transition: border-color .3s, box-shadow .3s;
}
.int-card:hover { border-color: var(--border-strong); box-shadow: var(--sh-s); }
.int-card .int-emoji { font-size: 21px; margin-bottom: 8px; }
.int-card h3 {
  font-family: 'Comfortaa', sans-serif;
  font-size: .95rem; font-weight: 700;
  color: var(--text-heading); margin-bottom: 13px;
}
.int-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.int-note {
  text-align: center; font-size: .82rem; color: var(--text-muted);
  max-width: 620px; margin: 22px auto 0;
}

/* ============================================================
   PROCESO
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { text-align: center; }
.step-n {
  width: 56px; height: 56px; border-radius: 50%;
  border: 2px solid var(--accent-soft);
  background: var(--bg-soft);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  font-family: 'Comfortaa', sans-serif;
  font-size: 1.1rem; font-weight: 700; color: var(--accent-dark);
  transition: background-color .3s, border-color .3s, color .3s;
}
.step:hover .step-n { background: var(--accent); border-color: var(--accent); color: #fff; }
.step-tag {
  display: block;
  font-size: .7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
  color: var(--accent-dark); margin-bottom: 8px;
}
.step h3 {
  font-family: 'Comfortaa', sans-serif;
  font-size: 1.05rem; font-weight: 700;
  color: var(--text-heading); margin-bottom: 8px; letter-spacing: -.2px;
}
.step p { font-size: .88rem; color: var(--text-body); line-height: 1.6; }
.steps-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 52px; }

/* ============================================================
   ACOMPAÑAMIENTO (imagen + servicios)
   ============================================================ */
.part-lay { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }

.part-vis {
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--bg-card);
  padding: 26px 24px;
  min-height: 520px;
  display: flex; flex-direction: column;
}
.rep-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--border);
}
.rep-title {
  font-family: 'Comfortaa', sans-serif;
  font-size: 1rem; font-weight: 700; color: var(--text-heading);
}
.rep-pill {
  font-size: .7rem; font-weight: 700; letter-spacing: .4px;
  text-transform: uppercase;
  background: var(--bg-soft); color: var(--accent-dark);
  border: 1px solid var(--accent); border-radius: 100px; padding: 4px 11px;
}
.rep-rows { display: flex; flex-direction: column; gap: 2px; margin-top: 6px; flex: 1; }
.rep-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--border);
}
.rep-row:last-child { border-bottom: none; }
.rep-k { font-size: .87rem; color: var(--text-body); }
.rep-v {
  font-family: 'Comfortaa', sans-serif;
  font-size: .95rem; font-weight: 700; color: var(--text-heading);
  white-space: nowrap;
}
.rep-bar { height: 5px; border-radius: 3px; background: var(--bg-alt); overflow: hidden; margin-top: 18px; }
.rep-bar span { display: block; height: 100%; width: 72%; background: var(--accent); border-radius: 3px; }
.rep-foot { font-size: .78rem; color: var(--text-muted); margin-top: 12px; }

.part-services {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  padding-left: 24px; align-content: stretch;
}
.part-svc {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px; padding: 16px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 9px;
  transition: border-color .2s, box-shadow .2s;
}
.part-svc:hover { border-color: var(--accent); box-shadow: var(--sh-s); }
.part-svc-icon {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.part-svc-icon svg { width: 9px; height: 9px; color: #fff; }
.part-svc span { font-size: .88rem; font-weight: 600; color: var(--text-base); }
.part-svc-cta {
  background: var(--accent); border: 1px solid var(--accent);
  border-radius: 14px; padding: 18px 16px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background-color .2s, border-color .2s;
}
.part-svc-cta:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.part-svc-cta span { color: #fff; font-weight: 700; font-size: .9rem; }
/* Tinta oscura sobre relleno teal en modo oscuro (contraste del texto). */
:root[data-theme="dark"] .part-svc-cta span,
:root[data-theme="dark"] .step:hover .step-n { color: var(--bg-ink); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .part-svc-cta span,
  :root:not([data-theme="light"]) .step:hover .step-n { color: var(--bg-ink); }
}

/* ============================================================
   SEGURIDAD / PERMISOS
   ============================================================ */
.sec-lay { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }

.perm-vis {
  border: 1px solid var(--border); border-radius: 20px;
  background: var(--bg-card); padding: 30px 26px;
}
.perm-core {
  display: flex; align-items: center; gap: 12px;
  background: var(--bg-soft); border: 1px solid var(--accent);
  border-radius: 16px; padding: 14px 18px;
}
.perm-core img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.perm-core .pc-name {
  font-family: 'Comfortaa', sans-serif;
  font-size: 1.05rem; font-weight: 700; color: var(--text-heading);
}
.perm-core .pc-sub { font-size: .8rem; color: var(--accent-dark); font-weight: 600; }
.perm-split {
  display: flex; align-items: stretch; justify-content: center;
  gap: 40px; height: 26px;
}
.perm-split i { display: block; width: 1px; background: var(--border); }
.perm-layers { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.perm-layer {
  border: 1px solid var(--border); border-radius: 14px;
  padding: 16px 15px; background: var(--bg-alt);
}
.perm-layer h4 {
  font-family: 'Comfortaa', sans-serif;
  font-size: .88rem; font-weight: 700;
  color: var(--text-heading); margin-bottom: 10px;
}
.perm-layer li {
  font-size: .8rem; color: var(--text-body);
  display: flex; align-items: flex-start; gap: 7px; padding: 3px 0;
}
.perm-layer li::before {
  content: ''; width: 4px; height: 4px; border-radius: 50%;
  background: var(--accent); flex-shrink: 0; margin-top: 8px;
}
.perm-layer li.off { color: var(--text-muted); }
.perm-layer li.off::before { background: var(--border-strong); }
.perm-foot {
  font-size: .78rem; color: var(--text-muted);
  text-align: center; margin-top: 16px;
}

.sec-cards { display: flex; flex-direction: column; gap: 16px; }
.sec-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px; padding: 24px;
  display: flex; align-items: flex-start; gap: 16px;
  transition: border-color .3s, box-shadow .3s, transform .3s;
}
.sec-card:hover { border-color: var(--accent); box-shadow: var(--sh-m); transform: translateY(-2px); }
.sec-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }
.sec-card h3 {
  font-family: 'Comfortaa', sans-serif;
  font-size: 1rem; font-weight: 700;
  color: var(--text-heading); margin-bottom: 5px;
}
.sec-card p { font-size: .86rem; color: var(--text-body); line-height: 1.6; }

/* ============================================================
   PARA QUIÉN ES
   ============================================================ */
.clients-grid { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.client-badge {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px; padding: 10px 20px;
  font-size: .86rem; font-weight: 600; color: var(--text-body);
  transition: border-color .2s, background-color .2s, color .2s;
}
.client-badge:hover { border-color: var(--accent); color: var(--accent-dark); }
.client-badge.is-key {
  background: var(--bg-soft); border-color: var(--accent); color: var(--accent-dark); font-weight: 700;
}

/* ============================================================
   PRECIOS
   ============================================================ */
.pr-card-single {
  max-width: 660px; margin: 0 auto;
  background: var(--bg-card);
  border: 2px solid var(--accent);
  border-radius: 22px; padding: 44px;
  text-align: center;
}
.pr-card-single h3 {
  font-family: 'Comfortaa', sans-serif;
  font-size: 1.5rem; font-weight: 700;
  color: var(--text-heading); margin-bottom: 8px;
}
.pr-sub { font-size: 1rem; color: var(--text-body); margin-bottom: 28px; }
.pr-prices {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
  margin-bottom: 28px; text-align: left;
}
.pr-price-item { background: var(--bg-alt); border-radius: 14px; padding: 20px; }
.pr-from {
  font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted);
}
.pr-amount {
  font-family: 'Comfortaa', sans-serif;
  font-size: 1.7rem; font-weight: 700; letter-spacing: -.6px;
  color: var(--text-heading); margin: 6px 0 3px;
}
.pr-amount small { font-size: .95rem; font-weight: 600; color: var(--text-muted); }
.pr-type { font-size: .82rem; color: var(--text-body); }
.pr-includes {
  display: grid; grid-template-columns: 1fr 1fr; gap: 11px;
  margin-bottom: 28px; text-align: left;
}
.pr-includes li {
  font-size: .88rem; color: var(--text-body);
  display: flex; align-items: flex-start; gap: 9px;
}
.pr-includes li svg {
  width: 16px; height: 16px; flex-shrink: 0;
  margin-top: 4px; color: var(--accent);
}
.pr-foot { font-size: .8rem; color: var(--text-muted); margin-top: 18px; }

/* ============================================================
   CÓMO TRABAJAMOS
   ============================================================ */
.team-lay { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.team-creds { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.team-cred {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px; padding: 18px;
  transition: border-color .3s, box-shadow .3s;
}
.team-cred:hover { border-color: var(--accent); box-shadow: var(--sh-s); }
.team-cred h4 {
  font-family: 'Comfortaa', sans-serif;
  font-size: .9rem; font-weight: 700;
  color: var(--text-heading); margin-bottom: 4px;
}
.team-cred p { font-size: .82rem; color: var(--text-muted); line-height: 1.5; }
.team-locs { display: flex; gap: 9px; margin-top: 20px; flex-wrap: wrap; }
.team-loc {
  font-size: .8rem; font-weight: 600; color: var(--text-body);
  background: var(--bg-alt); border: 1px solid var(--border);
  border-radius: 100px; padding: 5px 13px;
}
.team-vis { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.team-stat {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px; padding: 24px;
  text-align: center;
  transition: border-color .3s, box-shadow .3s, transform .3s;
}
.team-stat:hover { border-color: var(--accent); box-shadow: var(--sh-s); transform: translateY(-2px); }
.team-stat:first-child { grid-column: span 2; }
.team-stat-v {
  font-family: 'Comfortaa', sans-serif;
  font-size: 1.4rem; font-weight: 700; letter-spacing: -.4px;
  color: var(--text-heading); margin-bottom: 5px;
}
.team-stat-l { font-size: .82rem; color: var(--text-muted); line-height: 1.5; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { max-width: 700px; margin: 0 auto; }
.faq-i { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; background: none; border: none; text-align: left;
  font-family: 'Comfortaa', sans-serif;
  font-size: 1rem; font-weight: 600; color: var(--text-heading);
  padding: 20px 0; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  transition: color .2s;
}
.faq-q:hover { color: var(--accent-dark); }
.faq-icon {
  width: 20px; height: 20px; flex-shrink: 0;
  color: var(--accent); transition: transform .3s;
}
.faq-i.open .faq-icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a-inner {
  padding-bottom: 20px;
  font-size: .93rem; color: var(--text-body); line-height: 1.7;
  max-width: 620px;
}
.faq-top {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 14px; max-width: 700px; margin: 0 auto 24px;
}
.faq-expand {
  font-size: .85rem; font-weight: 700; color: var(--accent-dark);
  white-space: nowrap; background: none; border: none;
  cursor: pointer; font-family: inherit;
}

/* ============================================================
   CTA FINAL
   ============================================================ */
.f-cta { text-align: center; background: var(--bg-soft); }
.f-cta .s-desc { margin: 0 auto 32px; }
.f-cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.f-cta-note { font-size: .82rem; font-weight: 600; color: var(--text-muted); margin-top: 18px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-panel { grid-template-columns: 1fr; justify-items: center; padding: 32px 24px 0; }
  .hero-panel-side { display: none; }
  .casos-groups { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 30px; }
  .sec-lay { grid-template-columns: 1fr; }
  .part-lay { grid-template-columns: 1fr; gap: 24px; }
  .part-services { padding-left: 0; }
  .part-vis { min-height: 0; }
  .team-lay { grid-template-columns: 1fr; gap: 40px; }
  .roi-stats { overflow-x: auto; scrollbar-width: none; }
  .roi-stats::-webkit-scrollbar { display: none; }
  .roi-stat { min-width: 180px; }
  .pr-prices { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  section { padding: 72px 0; }
  .hero { padding: 104px 0 0; }
  .hero-device { margin-top: 36px; }
  .casos-group { padding: 24px 22px 6px; }
  .steps { grid-template-columns: 1fr; }
  .team-creds, .team-vis { grid-template-columns: 1fr; }
  .team-stat:first-child { grid-column: span 1; }
  .hero-ctas, .f-cta-btns, .steps-cta { flex-direction: column; align-items: stretch; }
  .chat-card { flex: 0 0 272px; min-height: 380px; padding: 22px 18px; }
  .testi-track { gap: 12px; }
  .roi-stat { min-width: 200px; flex-shrink: 0; }
  .part-services { grid-template-columns: 1fr; }
  .pr-includes { grid-template-columns: 1fr; }
  .pr-card-single { padding: 32px 22px; }
  .faq-top { flex-direction: column; align-items: flex-start; }
}
