/*
  Bimba — landing page
  Hojas de estilo organizadas por capas:
  tokens → base → layout → componentes → secciones → responsive.

  Las media queries se mantienen al final a propósito: así se conserva
  exactamente la misma cascada que en la versión original de un solo archivo.
*/


/* ===== 1. Tokens de diseño y reset ===== */

:root {
  --paper: #f7f5ef;
  --paper2: #f0ede4;
  --white: #fffefa;
  --ink: #26312e;
  --muted: #67736c;
  --deep: #263d33;
  --deep2: #314c3e;
  --green: #6c907a;
  --pale: #dce8db;
  --gold: #efbd73;
  --border: #dcded5;
  --shadow: 0 18px 48px rgba(30,50,38,.08);
  --radius: 12px;
  --font-ui: 'DM Sans',system-ui,-apple-system, sans-serif;
  --font-display: 'Manrope','DM Sans',system-ui,sans-serif;
}

/* ===== 2. Base y tipografía ===== */

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--paper);
  font-family: var(--font-ui);
  color: var(--ink);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

button, input {
  font: inherit;
}

button {
  cursor: pointer;
}

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

:focus-visible {
  outline: 3px solid #a37123;
  outline-offset: 3px;
}

::selection {
  background: #e0c797;
  color: #26312e;
}

h1, h2, h3, p {
  margin-top: 0;
}

h1, h2, h3 {
  font-family: var(--font-display);
}

h1 {
  font-size: clamp(57px,5.6vw,80px);
  line-height: 1.105;
  letter-spacing: -5px;
  font-weight: 800;
  margin: 28px 0 25px;
  max-width: 700px;
}

/* ===== 3. Layout y secciones ===== */

.container {
  width: min(1170px,calc(100% - 64px));
  margin: auto;
}

section.block {
  padding: 118px 0;
}

.section-intro {
  max-width: 720px;
  margin: 0 auto 52px;
  text-align: center;
}

.section-intro h2 {
  font-size: clamp(37px,4vw,52px);
  line-height: 1.19;
  letter-spacing: -2.6px;
  margin: 20px 0 18px;
  font-weight: 800;
}

.section-intro p {
  margin: 0 auto;
  color: #6d7a70;
  line-height: 1.8;
  font-size: 16px;
  max-width: 580px;
}

.center-eyebrow {
  justify-content: center;
}

/* ===== 4. Componentes compartidos ===== */

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -1.9px;
  line-height: 1;
}

.logo-symbol {
  width: 38px;
  height: 38px;
  flex: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 15px 23px;
  border-radius: 9px;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform .2s ease,background .2s ease,box-shadow .2s ease;
  white-space: nowrap;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--deep);
  color: #fff;
  box-shadow: 0 8px 19px rgba(38,61,51,.12);
}

.button-primary:hover {
  background: #1c3329;
  box-shadow: 0 12px 22px rgba(38,61,51,.18);
}

.button-outline {
  border-color: #c9d1c8;
  background: transparent;
  color: var(--deep);
}

.button-outline:hover {
  background: #f0f3ec;
}

.button-light {
  background: var(--gold);
  color: #2c3028;
}

.button-light:hover {
  background: #f4c889;
}

.button-small {
  font-size: 12px;
  padding: 11px 16px;
  border-radius: 8px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: 800;
  color: #55735e;
}

.eyebrow-dot {
  display: block;
  height: 8px;
  width: 8px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(239,189,115,.23);
}

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

/* ===== 5. Cabecera y navegación ===== */

.site-header {
  height: 82px;
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247,245,239,.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(38,49,46,.08);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.header-links {
  display: flex;
  align-items: center;
  gap: 33px;
  margin-left: auto;
}

.header-links a {
  font-size: 13px;
  font-weight: 700;
  color: #58645e;
  transition: color .2s;
}

.header-links a:hover {
  color: var(--deep);
}

.hamburger {
  display: none;
  border: 0;
  background: transparent;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}

.language-picker {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #4f6d59;
  background: rgba(255,254,250,.65);
  border: 1px solid #d9e1d6;
  border-radius: 8px;
  padding: 7px 9px;
  flex: none;
  transition: border-color .2s;
}

.language-picker:hover, .language-picker:focus-within {
  border-color: #77917a;
}

.language-picker select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  color: var(--deep);
  font-weight: 800;
  font-size: 12px;
  border: 0;
  background: transparent;
  outline: none;
  padding: 0 2px 0 1px;
}

.language-picker:focus-within {
  outline: 2px solid #a37123;
  outline-offset: 2px;
}

/* ===== 6. Hero y demo del workspace ===== */

.hero {
  position: relative;
  overflow: hidden;
  padding: 95px 0 102px;
}

.hero::before {
  content: "";
  width: 630px;
  height: 630px;
  position: absolute;
  right: -300px;
  top: -350px;
  border-radius: 50%;
  border: 90px solid rgba(220,232,219,.27);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 46% 54%;
  align-items: center;
  gap: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 0 30px 16px 0;
}

.hero-description {
  color: #5f6c63;
  font-size: 17px;
  line-height: 1.84;
  max-width: 450px;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-art {
  position: relative;
  padding-left: 35px;
  min-width: 0;
}

.hero-halo {
  position: absolute;
  z-index: 0;
  inset: -35px -30px -30px 20px;
  background: #e5ecdf;
  border-radius: 48% 52% 54% 46%/50% 42% 58% 50%;
  transform: rotate(-5deg);
}

.orbit {
  position: absolute;
  border: 2px dotted rgba(83,124,96,.25);
  border-radius: 50%;
  pointer-events: none;
}

.orbit-one {
  width: 85px;
  height: 85px;
  top: -40px;
  right: 24px;
}

.orbit-two {
  width: 34px;
  height: 34px;
  bottom: 10px;
  left: 18px;
}

.workspace {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border: 1px solid #d8ddd3;
  background: #fdfcf8;
  border-radius: 13px;
  box-shadow: 0 28px 65px rgba(32,58,43,.15);
  transform: rotate(1deg);
  transition: transform .4s ease;
}

.workspace:hover {
  transform: rotate(0deg) translateY(-2px);
}

.window-top {
  height: 43px;
  display: flex;
  align-items: center;
  padding: 0 15px;
  gap: 7px;
  border-bottom: 1px solid #e5e7df;
  background: #fbfaf6;
}

.window-dot {
  width: 8px;
  height: 8px;
  background: #e7e6dd;
  border-radius: 50%;
}

.window-dot:first-child {
  background: #dfad8d;
}

.window-dot:nth-child(2) {
  background: #e7c88a;
}

.window-dot:nth-child(3) {
  background: #a9c6a5;
}

.window-title {
  font-size: 11px;
  color: #8a928a;
  flex: 1;
  text-align: center;
  padding-right: 36px;
  font-weight: 700;
  letter-spacing: .1px;
}

.app-shell {
  display: grid;
  grid-template-columns: 147px minmax(0,1fr);
  min-height: 390px;
}

.app-sidebar {
  background: #f4f5ed;
  border-right: 1px solid #e5e8dc;
  padding: 18px 12px;
}

.app-side-brand {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: -.5px;
  font-weight: 800;
  margin: 0 0 24px 4px;
}

.app-side-brand .logo-symbol {
  width: 21px;
  height: 21px;
}

.side-item {
  font-size: 10px;
  font-weight: 700;
  color: #8a958c;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 11px;
  border-radius: 6px;
  margin: 2px 0;
}

.side-item.active {
  background: #e2e9dd;
  color: #41614f;
}

.side-label {
  padding: 25px 11px 7px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-size: 8px;
  color: #a3aaa1;
  font-weight: 800;
}

.side-file {
  padding: 7px 10px;
  font-size: 9px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #859087;
  white-space: nowrap;
}

.app-content {
  padding: 19px 21px 13px;
  position: relative;
  min-width: 0;
}

.demo-headline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid #edf0e9;
  padding-bottom: 14px;
  margin-bottom: 22px;
}

.demo-headline strong {
  font-size: 11px;
  font-weight: 800;
  color: #526659;
}

.demo-headline span {
  font-size: 9px;
  color: #9fa69e;
}

.demo-prompt {
  background: #f3f5ee;
  border: 1px solid #e8ede2;
  border-radius: 9px 9px 3px 9px;
  max-width: 97%;
  padding: 12px 13px;
  font-size: 11px;
  color: #52625a;
  line-height: 1.55;
  margin-left: auto;
  margin-bottom: 17px;
}

.demo-response {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.demo-avatar {
  height: 25px;
  width: 25px;
  flex: none;
  background: var(--deep);
  border-radius: 7px;
  display: grid;
  place-items: center;
}

.demo-avatar .logo-symbol {
  width: 18px;
  height: 18px;
}

.demo-copy {
  flex: 1;
  min-width: 0;
}

.demo-copy > strong {
  display: block;
  font-size: 11px;
  margin: 4px 0 10px;
}

.demo-task {
  font-size: 10px;
  display: flex;
  gap: 8px;
  align-items: center;
  color: #68766c;
  margin-bottom: 9px;
}

.check {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  flex: none;
  display: grid;
  place-items: center;
  background: #e0ebdc;
  color: #48715a;
  font-size: 10px;
  font-weight: 800;
}

.demo-result {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #dce8d7;
  border-radius: 7px;
  background: #f5f8f2;
  padding: 10px 11px;
  margin-top: 13px;
  max-width: 285px;
}

.result-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 28px;
  height: 32px;
  background: #dceadb;
  border: 1px solid #c8dcc4;
  border-radius: 5px;
  color: #517059;
}

.result-title {
  display: block;
  font-weight: 800;
  font-size: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.result-sub {
  display: block;
  margin-top: 3px;
  font-size: 9px;
  color: #89968a;
}

.result-tick {
  margin-left: auto;
  color: #5a8468;
}

.illustrative {
  font-size: 8px;
  color: #a4a9a1;
  text-align: right;
  margin-top: 19px;
}

.floating-note {
  position: absolute;
  right: -18px;
  bottom: -26px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 11px;
  background: var(--white);
  border: 1px solid #e3e6dc;
  border-radius: 10px;
  padding: 12px 17px;
  box-shadow: 0 12px 27px rgba(38,61,51,.10);
  transform: rotate(-3deg);
}

.floating-note .note-star {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  background: #fff1d9;
  border-radius: 9px;
  color: #be8745;
}

.floating-note strong {
  display: block;
  font-size: 11px;
}

.floating-note small {
  display: block;
  color: #879189;
  font-size: 10px;
  margin-top: 3px;
}

/* ===== 7. Franja de confianza ===== */

.confidence {
  border-top: 1px solid #e2e4db;
  border-bottom: 1px solid #e2e4db;
  background: #f3f2eb;
  padding: 26px 0;
}

.confidence-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.confidence-caption {
  font-size: 12px;
  color: #66746b;
  font-weight: 700;
  white-space: nowrap;
}

.confidence-points {
  display: flex;
  gap: clamp(25px,4vw,75px);
  align-items: center;
  justify-content: space-around;
  flex: 1;
}

.confidence-item {
  display: flex;
  gap: 9px;
  align-items: center;
  font-weight: 800;
  font-size: 12px;
  color: #536a59;
  white-space: nowrap;
}

.confidence-item svg {
  color: #70947b;
}

/* ===== 8. Posibilidades: tarjetas de features ===== */

.features {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 17px;
}

.feature {
  border: 1px solid var(--border);
  background: #fbfaf6;
  border-radius: 12px;
  overflow: hidden;
  min-height: 356px;
  transition: transform .25s ease,box-shadow .25s ease;
}

.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.feature-visual {
  height: 175px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid #e9ece3;
  padding: 24px;
  background: #edf1e8;
}

.feature:nth-child(2) .feature-visual {
  background: #f2ecdf;
}

.feature:nth-child(3) .feature-visual {
  background: #e9eeeb;
}

.feature-body {
  padding: 23px 21px 27px;
}

.feature-kicker {
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 1.6px;
  font-weight: 800;
  color: #729078;
  margin-bottom: 11px;
}

.feature h3 {
  font-size: 20px;
  letter-spacing: -.9px;
  line-height: 1.3;
  margin: 0 0 10px;
  font-weight: 800;
}

.feature p {
  font-size: 13px;
  line-height: 1.8;
  color: #718078;
  margin: 0;
}

.stack-doc {
  background: white;
  position: absolute;
  border: 1px solid #d7e1d3;
  border-radius: 7px;
  box-shadow: 0 8px 18px rgba(47,76,55,.07);
  width: 150px;
  height: 103px;
  padding: 15px;
}

.stack-doc.one {
  transform: rotate(-12deg);
  left: calc(50% - 99px);
  top: 37px;
}

.stack-doc.two {
  transform: rotate(6deg);
  left: calc(50% - 50px);
  top: 28px;
}

.doc-line {
  height: 6px;
  border-radius: 5px;
  margin: 8px 0;
  background: #d9e3d8;
}

.doc-line.short {
  width: 55%;
}

.doc-line.medium {
  width: 76%;
}

.mini-spreadsheet {
  position: absolute;
  width: 235px;
  height: 123px;
  left: calc(50% - 110px);
  top: 33px;
  background: #fffefb;
  border: 1px solid #d8d6c9;
  border-radius: 7px;
  box-shadow: 0 12px 26px rgba(82,70,42,.1);
  padding: 13px;
}

.grid-lines {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  grid-template-rows: repeat(4,18px);
  border-top: 1px solid #e4e4db;
  border-left: 1px solid #e4e4db;
  margin-top: 9px;
}

.grid-lines span {
  border-bottom: 1px solid #e4e4db;
  border-right: 1px solid #e4e4db;
  background: #fff;
}

.grid-lines span:nth-child(-n+4) {
  background: #e5eddf;
}

.grid-lines span:nth-child(8), .grid-lines span:nth-child(12), .grid-lines span:nth-child(16) {
  background: #eaf2e7;
}

.mini-spark {
  position: absolute;
  right: 39px;
  top: 35px;
  width: 43px;
  height: 43px;
  border-radius: 50%;
  background: var(--gold);
  display: grid;
  place-items: center;
  box-shadow: 0 5px 14px rgba(176,126,59,.18);
}

.mini-file-work {
  position: absolute;
  top: 32px;
  left: calc(50% - 112px);
  width: 225px;
  height: 121px;
  background: #fdfcf8;
  border: 1px solid #d6ddd8;
  border-radius: 8px;
  box-shadow: 0 12px 25px rgba(48,72,62,.08);
  padding: 15px;
}

.workline {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 9px 0;
  font-size: 10px;
  color: #627569;
  font-weight: 700;
}

.workline .check {
  width: 18px;
  height: 18px;
}

.workline:last-child {
  color: #9dab9f;
}

.feature:nth-child(4) .feature-visual {
  background: #e7eee4;
}

.mini-app-window {
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%) rotate(-3deg);
  width: 215px;
  height: 144px;
  border: 1px solid #d3ddd2;
  border-radius: 9px;
  overflow: hidden;
  background: #fffefa;
  box-shadow: 0 13px 25px rgba(38,61,51,.13);
}

.mini-app-bar {
  height: 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  border-bottom: 1px solid #e9ede5;
  background: #f6f8f3;
  padding: 0 9px;
}

.mini-app-dots {
  display: flex;
  gap: 3px;
}

.mini-app-dots i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #c4d1c2;
}

.mini-app-dots i:first-child {
  background: #e9be8a;
}

.mini-app-heading {
  font-size: 7px;
  font-weight: 800;
  color: #778879;
  letter-spacing: -.1px;
}

.mini-app-live {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #83ae81;
}

.mini-app-content {
  padding: 10px 15px;
}

.mini-app-title {
  font-size: 9px;
  font-weight: 800;
  color: #415b48;
  margin-bottom: 6px;
}

.mini-app-row {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 25px;
  border-bottom: 1px solid #edf0e9;
}

.mini-app-avatar {
  width: 12px;
  height: 12px;
  border-radius: 4px;
  flex: none;
}

.mini-app-avatar.amber {
  background: #efdab4;
}

.mini-app-avatar.moss {
  background: #c7dcc6;
}

.mini-app-lines {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.mini-app-lines b, .mini-app-lines i {
  display: block;
  border-radius: 5px;
  height: 3px;
  background: #d5e2d3;
}

.mini-app-lines b {
  width: 65%;
}

.mini-app-lines i {
  width: 38%;
  background: #e7eee5;
}

.mini-app-time {
  font-size: 6px;
  color: #90a093;
}

.mini-app-add {
  margin: 6px 0 0 auto;
  width: max-content;
  font-size: 7px;
  font-weight: 800;
  background: #e1ecdc;
  color: #51725b;
  padding: 5px 7px;
  border-radius: 4px;
}

/* ===== 9. Cómo funciona: pasos y chat ===== */

.workflow-section {
  background: #edefe8;
  border-top: 1px solid #e3e5dd;
  border-bottom: 1px solid #e3e5dd;
}

.workflow-grid {
  display: grid;
  grid-template-columns: minmax(0,45fr) minmax(0,55fr);
  gap: 64px;
  align-items: center;
}

.workflow-left h2 {
  font-size: clamp(38px,4vw,55px);
  letter-spacing: -2.8px;
  line-height: 1.16;
  margin: 23px 0 19px;
}

.workflow-left > p {
  font-size: 16px;
  color: #69786d;
  line-height: 1.85;
  max-width: 420px;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin: 35px 0;
}

.step {
  display: flex;
  gap: 17px;
  align-items: flex-start;
}

.step-num {
  width: 37px;
  height: 37px;
  display: grid;
  place-items: center;
  flex: none;
  border: 1px solid #cfdbcc;
  background: #f8f9f3;
  color: #57735f;
  font-size: 13px;
  font-weight: 800;
  border-radius: 8px;
}

.step h3 {
  font-size: 16px;
  letter-spacing: -.5px;
  margin: 2px 0 6px;
}

.step p {
  font-size: 13px;
  line-height: 1.65;
  margin: 0;
  color: #748076;
}

.chat-display {
  padding: 28px;
  border: 1px solid #d7ded3;
  border-radius: 13px;
  background: #fcfbf6;
  box-shadow: 0 28px 50px rgba(50,76,59,.08);
  position: relative;
}

.chat-display:after {
  content: "";
  position: absolute;
  width: 94px;
  height: 94px;
  border-radius: 50%;
  border: 1px dashed #9bad9d;
  right: -28px;
  bottom: -28px;
  z-index: 0;
}

.chat-display > * {
  position: relative;
  z-index: 1;
}

.chat-identity {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #e8ebe4;
  padding-bottom: 20px;
  margin-bottom: 22px;
}

.chat-identity .logo-symbol {
  width: 34px;
  height: 34px;
}

.chat-identity strong {
  display: block;
  font-size: 13px;
}

.chat-identity small {
  color: #95a198;
  font-size: 11px;
}

.chat-user {
  background: #edf2e8;
  border: 1px solid #e0e9dc;
  padding: 15px 17px;
  border-radius: 10px 10px 3px 10px;
  font-size: 13px;
  line-height: 1.7;
  max-width: 84%;
  margin-left: auto;
  margin-bottom: 24px;
}

.chat-agent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.chat-agent .mini-avatar {
  flex: none;
  width: 29px;
  height: 29px;
  border-radius: 8px;
  background: #e7ece2;
  display: grid;
  place-items: center;
  color: #537862;
  font-size: 14px;
}

.chat-agent-message {
  font-size: 13px;
  line-height: 1.75;
  color: #526357;
  flex: 1;
  min-width: 0;
}

.chat-agent-message strong {
  display: block;
  color: #34463a;
  font-size: 12px;
  margin: 0 0 7px;
}

.action-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 15px 0 3px;
}

.action-chip {
  display: flex;
  align-items: center;
  gap: 7px;
  font-weight: 700;
  font-size: 10px;
  color: #52735d;
  background: #eef4eb;
  border: 1px solid #d8e6d4;
  border-radius: 6px;
  padding: 8px 10px;
  min-width: 0;
}

.chat-result {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 15px;
  border-radius: 9px;
  border: 1px solid #d8e4d6;
  background: #f4f8f0;
}

.chat-result-icon {
  border-radius: 8px;
  background: #e0eddd;
  display: grid;
  place-items: center;
  color: #557b60;
  width: 37px;
  height: 37px;
  flex: none;
}

.chat-result strong {
  font-size: 12px;
}

.chat-result small {
  display: block;
  margin-top: 4px;
  font-size: 10px;
  color: #8e9e8e;
}

.chat-result .ready {
  margin-left: auto;
  font-size: 10px;
  color: #60826a;
  font-weight: 800;
}

.demo-switcher {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.demo-switcher button {
  border: 1px solid #d5ddd2;
  background: transparent;
  padding: 8px 10px;
  font-size: 11px;
  color: #78897b;
  border-radius: 7px;
  font-weight: 700;
  transition: .2s;
}

.demo-switcher button[aria-pressed="true"] {
  background: #dfebdc;
  color: #3a6245;
  border-color: #b9d0b7;
}

.demo-switcher button:hover {
  border-color: #a9baa8;
}

.chat-result > div:not(.chat-result-icon) {
  min-width: 0;
  overflow-wrap: anywhere;
}

.action-chip span {
  overflow-wrap: anywhere;
}

/* ===== 10. Conoce a Bimba ===== */

.personality {
  padding: 100px 0;
  overflow: hidden;
}

.personality-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}

.personality-art {
  height: 360px;
  background: #dfe9dc;
  border: 1px solid #d5e2d2;
  position: relative;
  border-radius: 13px;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.big-mark {
  position: relative;
  z-index: 2;
  width: 170px;
  height: 170px;
  transform: rotate(-6deg);
  filter: drop-shadow(0 18px 10px rgba(35,71,50,.15));
}

.personality-art::before {
  content: "";
  position: absolute;
  width: 370px;
  height: 370px;
  border: 1px solid rgba(50,89,61,.12);
  border-radius: 50%;
  left: -110px;
  bottom: -190px;
}

.personality-art::after {
  content: "";
  position: absolute;
  width: 230px;
  height: 230px;
  border: 1px solid rgba(50,89,61,.15);
  border-radius: 50%;
  top: -145px;
  right: -25px;
}

.floating-hello {
  position: absolute;
  right: 39px;
  bottom: 36px;
  background: #fffefa;
  border: 1px solid #d5e0cf;
  border-radius: 9px;
  padding: 10px 14px;
  color: #486b56;
  font-size: 12px;
  font-weight: 700;
  transform: rotate(5deg);
}

.little-stars {
  position: absolute;
  left: 63px;
  top: 48px;
  color: #b99059;
  font-size: 31px;
  letter-spacing: 10px;
}

.personality-copy h2 {
  font-size: clamp(39px,4.2vw,57px);
  letter-spacing: -2.9px;
  line-height: 1.16;
  margin: 22px 0;
}

.personality-copy > p {
  font-size: 16px;
  color: #6c7970;
  line-height: 1.9;
  margin-bottom: 22px;
  max-width: 460px;
}

.not-list {
  display: grid;
  gap: 13px;
  margin-top: 25px;
}

.not-list span {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 13px;
  font-weight: 700;
  color: #55715e;
}

.not-list svg {
  color: #5e8b68;
}

/* ===== 11. Panel de cierre / CTA ===== */

.closing {
  padding: 20px 0 90px;
}

.closing-panel {
  background: var(--deep);
  color: #fafaf2;
  min-height: 340px;
  border-radius: 14px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 45px;
  padding: 65px 80px;
}

.closing-panel::before {
  content: "";
  position: absolute;
  width: 440px;
  height: 440px;
  border: 1px solid rgba(220,235,214,.18);
  border-radius: 50%;
  top: -230px;
  right: 70px;
}

.closing-panel::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(220,235,214,.16);
  border-radius: 50%;
  bottom: -195px;
  right: 20px;
}

.closing-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.closing-content .eyebrow {
  color: #c6dfc5;
}

.closing-content h2 {
  font-size: clamp(37px,4.6vw,56px);
  letter-spacing: -3px;
  line-height: 1.14;
  margin: 16px 0;
}

.closing-content p {
  font-size: 15px;
  color: #c3d2c8;
  line-height: 1.75;
  margin-bottom: 0;
  max-width: 560px;
}

.closing-side {
  position: relative;
  z-index: 1;
  flex: none;
  text-align: center;
}

.closing-side small {
  display: block;
  color: #b8c7ba;
  font-size: 11px;
  margin-top: 12px;
}

/* ===== 12. Footer ===== */

footer {
  border-top: 1px solid #dfe2d7;
  padding: 33px 0 38px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.footer-inner .brand {
  font-size: 22px;
}

.footer-inner .logo-symbol {
  width: 32px;
  height: 32px;
}

.footer-tag {
  font-size: 12px;
  color: #879188;
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 20px;
  color: #778378;
  font-size: 12px;
}

.footer-right a:hover {
  text-decoration: underline;
}

/* ===== 13. Ajustes por idioma ===== */

html[lang="es"] .hero-content h1 {
  font-size: clamp(51px,5vw,70px);
  letter-spacing: -3.7px;
}

html[lang="es"] .hero-description {
  line-height: 1.75;
}

/* ===== 14. Detalles del hero: subrayado del titular y nota ===== */

.accent-under {
  position: relative;
  white-space: nowrap;
}

.accent-under::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 4px;
  right: 0;
  height: 8px;
  z-index: -1;
  background: var(--gold);
  border-radius: 80% 30% 70% 45%;
  transform: rotate(-1deg);
  opacity: .75;
}

.micro-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  font-size: 12px;
  color: #77837a;
}

.micro-note svg {
  flex: none;
}

/* ===== 15. Responsive y preferencias ===== */

@media (max-width:1100px) {
  .hero {
    padding: 80px 0 95px;
  }

  .hero-grid {
    grid-template-columns: 44% 56%;
  }

  .hero-content {
    padding-right: 12px;
  }

  h1 {
    font-size: 62px;
  }

  .hero-art {
    padding-left: 24px;
  }

  .floating-note {
    right: -7px;
  }

  .workflow-grid {
    gap: 35px;
  }

  .personality-grid {
    gap: 55px;
  }

  .closing-panel {
    padding: 58px;
  }

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

  .feature-body {
    padding: 26px 26px 29px;
  }
}

@media (max-width:820px) {
  .container {
    width: min(100% - 42px,660px);
  }

  .site-header {
    height: 72px;
  }

  .header-links {
    gap: 20px;
  }

  .header-links a {
    font-size: 12px;
  }

  .header-links a:nth-child(2) {
    display: none;
  }

  .hero {
    padding: 72px 0 82px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 75px;
  }

  .hero-content {
    padding: 0;
  }

  .hero-content h1 {
    max-width: 640px;
    font-size: clamp(54px,9vw,75px);
  }

  .hero-description {
    max-width: 580px;
  }

  .hero-art {
    padding-left: 0;
    width: min(600px,94%);
    margin: 0 auto;
  }

  .hero-halo {
    inset: -20px;
  }

  .floating-note {
    right: -18px;
  }

  .confidence-inner {
    flex-direction: column;
    gap: 16px;
  }

  .confidence-points {
    width: 100%;
    justify-content: space-between;
  }

  .block {
    padding: 84px 0!important;
  }

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

  .feature:last-child {
    grid-column: auto;
  }

  .feature:last-child .feature-visual {
    height: 175px;
  }

  .workflow-grid, .personality-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .workflow-left {
    max-width: 600px;
  }

  .workflow-left > p {
    max-width: 560px;
  }

  .steps {
    gap: 18px;
  }

  .personality-art {
    height: 290px;
  }

  .personality-grid .personality-art {
    order: 2;
  }

  .personality-copy {
    order: 1;
  }

  .personality {
    padding: 82px 0;
  }

  .closing-panel {
    padding: 54px 42px;
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
    min-height: unset;
  }

  .closing-side {
    text-align: left;
  }

  .closing-side small {
    margin-top: 9px;
  }

  .header-inner {
    gap: 14px;
  }

  .workflow-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width:540px) {
  .container {
    width: calc(100% - 36px);
  }

  .site-header {
    height: 64px;
  }

  .brand {
    font-size: 24px;
  }

  .header-links {
    display: none;
    position: absolute;
    top: 63px;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--border);
    padding: 20px 18px;
    box-shadow: 0 12px 25px rgba(39,62,49,.06);
  }

  .header-links.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 23px;
  }

  .header-links a:nth-child(2) {
    display: block;
  }

  .header-links a {
    font-size: 14px;
  }

  .header-inner > .button {
    margin-left: auto;
    padding: 10px 10px;
    font-size: 10px;
  }

  .hamburger {
    display: flex;
  }

  .hero {
    padding: 62px 0 85px;
  }

  .hero-grid {
    gap: 55px;
  }

  .hero-content h1 {
    font-size: clamp(48px,12vw,65px);
    letter-spacing: -3.2px;
    margin: 21px 0 22px;
  }

  .hero-description {
    font-size: 15px;
    line-height: 1.75;
  }

  .hero-actions {
    gap: 10px;
  }

  .hero-actions .button {
    padding: 13px 15px;
    font-size: 12px;
  }

  .micro-note {
    margin-top: 20px;
  }

  .hero-art {
    width: 100%;
    padding: 0 5px;
  }

  .workspace {
    transform: none;
  }

  .workspace:hover {
    transform: none;
  }

  .app-shell {
    grid-template-columns: 90px minmax(0,1fr);
    min-height: 357px;
  }

  .app-sidebar {
    padding: 12px 5px;
  }

  .app-side-brand {
    font-size: 10px;
    margin: 0 0 17px 4px;
  }

  .side-item {
    font-size: 8px;
    gap: 4px;
    padding: 9px 5px;
  }

  .side-label {
    font-size: 7px;
    padding: 20px 5px 6px;
  }

  .side-file {
    font-size: 7px;
    padding: 7px 4px;
    gap: 3px;
    overflow: hidden;
  }

  .app-content {
    padding: 13px 11px;
  }

  .demo-headline {
    padding-bottom: 10px;
    margin-bottom: 14px;
  }

  .demo-headline strong {
    font-size: 10px;
  }

  .demo-headline span {
    font-size: 8px;
  }

  .demo-prompt {
    font-size: 9px;
    padding: 8px;
    margin-bottom: 13px;
  }

  .demo-task {
    font-size: 9px;
    margin-bottom: 8px;
  }

  .demo-copy > strong {
    font-size: 10px;
  }

  .demo-result {
    padding: 7px;
    gap: 6px;
  }

  .result-title {
    font-size: 8px;
  }

  .result-sub {
    font-size: 8px;
  }

  .floating-note {
    right: -8px;
    bottom: -35px;
    padding: 9px 10px;
  }

  .floating-note .note-star {
    width: 24px;
    height: 24px;
  }

  .floating-note strong {
    font-size: 10px;
  }

  .floating-note small {
    font-size: 8px;
  }

  .confidence {
    padding: 23px 0;
  }

  .confidence-points {
    flex-wrap: wrap;
    justify-content: center;
    column-gap: 23px;
    row-gap: 14px;
  }

  .confidence-item {
    font-size: 11px;
  }

  .section-intro {
    margin-bottom: 30px;
  }

  .section-intro h2 {
    font-size: 36px;
    letter-spacing: -1.7px;
  }

  .section-intro p {
    font-size: 14px;
  }

  .features {
    grid-template-columns: 1fr;
  }

  .feature:last-child {
    grid-column: auto;
  }

  .feature {
    min-height: unset;
  }

  .feature-visual {
    height: 160px;
  }

  .feature-body {
    padding: 23px;
  }

  .block {
    padding: 80px 0!important;
  }

  .workflow-left h2, .personality-copy h2 {
    font-size: 38px;
    letter-spacing: -1.8px;
  }

  .chat-display {
    padding: 19px 14px;
  }

  .chat-user {
    font-size: 11px;
  }

  .chat-agent-message {
    font-size: 11px;
  }

  .personality {
    padding: 75px 0;
  }

  .personality-art {
    height: 260px;
  }

  .closing {
    padding: 0 0 64px;
  }

  .closing-panel {
    padding: 41px 25px;
  }

  .closing-content h2 {
    font-size: 39px;
    letter-spacing: -1.7px;
  }

  .closing-content p {
    font-size: 13px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 11px;
  }

  .footer-right {
    gap: 14px;
  }

  .illustrative {
    font-size: 7px;
  }

  .header-inner {
    gap: 8px;
  }

  .language-picker {
    padding: 6px 7px;
    gap: 4px;
  }

  .language-picker svg {
    width: 14px;
    height: 14px;
  }

  .feature h3 {
    font-size: 21px;
  }

  .feature:last-child .feature-visual {
    height: 160px;
  }

  html[lang="es"] .hero-content h1 {
    font-size: clamp(43px,10vw,60px);
    letter-spacing: -2.8px;
  }

  .chat-display:after {
    right: 0;
    bottom: 0;
  }
}

@media (prefers-reduced-motion:reduce) {
  *, *::before, *::after {
    scroll-behavior: auto!important;
    transition: none!important;
    animation: none!important;
  }
}

/* ===== 16. Página de descargas (descargas.html) ===== */

.downloads-page {
  position: relative;
  overflow: hidden;
  padding: 82px 0 96px;
}

.downloads-page::before {
  content: "";
  width: 560px;
  height: 560px;
  position: absolute;
  right: -280px;
  top: -300px;
  border-radius: 50%;
  border: 80px solid rgba(220,232,219,.27);
  pointer-events: none;
}

.downloads-inner {
  position: relative;
  z-index: 1;
}

.downloads-intro {
  max-width: 660px;
  margin-bottom: 50px;
}

.downloads-intro h1 {
  font-size: clamp(39px,4.4vw,58px);
  line-height: 1.13;
  letter-spacing: -3px;
  margin: 22px 0 18px;
  max-width: 620px;
}

.downloads-intro p {
  color: #5f6c63;
  font-size: 17px;
  line-height: 1.8;
  max-width: 520px;
  margin: 0;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 22px;
}

.platform-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--white);
  border: 1px solid #e0e3d8;
  border-radius: var(--radius);
  padding: 26px 24px 24px;
  box-shadow: 0 12px 30px rgba(38,61,51,.05);
  transition: transform .2s ease,box-shadow .2s ease;
}

.platform-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.platform-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #e7eee2;
  color: #41614f;
}

.platform-card h2 {
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: -.8px;
  margin: 0;
}

.platform-note {
  flex: 1;
  color: #6d7a70;
  font-size: 13px;
  line-height: 1.65;
  margin: 0;
}

.platform-card .button {
  width: 100%;
}

.platform-file {
  color: #9aa39a;
  font-size: 11px;
  text-align: center;
}

.downloads-footnote {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid #e2e4db;
  margin-top: 54px;
  padding-top: 22px;
  color: #7d8880;
  font-size: 12px;
  line-height: 1.7;
}

.downloads-footnote svg {
  flex: none;
  color: #6c907a;
}

.downloads-more {
  margin: 14px 0 0;
  color: #9aa39a;
  font-size: 12px;
  letter-spacing: .1px;
}

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

  .downloads-page {
    padding: 62px 0 72px;
  }
}

@media (max-width:380px) {
  .chat-result {
    gap: 6px;
    padding: 10px;
  }

  .chat-result .ready {
    font-size: 9px;
  }

  .site-header .header-inner > .button {
    display: none;
  }

  .language-picker {
    margin-left: auto;
  }

  html[lang="es"] .hero-content h1 {
    font-size: clamp(31px,10.5vw,38px);
    letter-spacing: -1.8px;
  }
}
