/* Three capture modes, a compact product surface and native page scrolling. */
.habla-azul {
  --habla-ink: #223e6c;
  --habla-pad: var(--section-space, 96px);
  position: relative;
  padding: var(--habla-pad) var(--page-gutter, 48px);
  color: var(--habla-ink);
  background: #fff;
  isolation: isolate;
  scroll-margin-top: 88px;
}
.habla-azul::before {
  content: ""; position: absolute; inset: 10% 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse at 66% 48%, #dceeff62, transparent 59%), radial-gradient(ellipse at 94% 65%, #ece7fa45, transparent 38%);
}
.habla-azul[data-habla-pinned] { min-height: calc(var(--habla-stage-height) + var(--habla-travel) + 2 * var(--habla-pad)); }
.habla-stage { width: min(100%,1240px); margin-inline: auto; display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: clamp(32px,5vw,72px); align-items: center; }
[data-habla-pinned] .habla-stage { position: sticky; top: var(--habla-top); }
.habla-copy { min-width: 0; max-width: 480px; }
.habla-copy h2 { color: var(--habla-ink); font-size: clamp(40px,3.5vw,44px); font-weight: 500; line-height: 1.12; letter-spacing: -.035em; margin: 0 0 18px; text-wrap: balance; }
.habla-copy > p { color: #59677c; font-size: 20px; font-weight: 400; line-height: 1.5; letter-spacing: -.012em; margin: 0; max-width: 440px; }
.habla-tabs { --habla-tab: 0; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border-radius: 100px; padding: 4px; margin-top: 30px; width: 100%; max-width: 370px; border: 1px solid #dfe6ef; background: #f7f9fc; position: relative; isolation: isolate; }
.habla-tab-pill { position: absolute; z-index: -1; inset: 4px auto 4px 4px; width: calc((100% - 8px)/3); border-radius: 100px; background: #223e6c; box-shadow: inset 0 1px 1px #ffffff1f; transform: translateX(calc(var(--habla-tab)*100%)); transition: transform .3s cubic-bezier(.22,.7,.2,1); }
.habla-tabs button { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 8px; min-height: 42px; border: 0; border-radius: 100px; background: transparent; color: #43516b; font-size: 16px; font-weight: 500; line-height: 1.15; transition: color .2s; white-space: nowrap; }
.habla-tabs button[aria-selected="true"] { color: #fff; }
.habla-tabs button:focus-visible { outline: 2px solid #3869d9; outline-offset: 3px; }
.habla-tabs svg { width: 20px; height: 20px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.habla-card { width: 100%; max-width: 600px; justify-self: end; min-width: 0; padding: 28px; border: 1px solid #e1e8f0; border-radius: 28px; background: #ffffffeb; box-shadow: 0 16px 38px -27px #223e6c2b; }
.habla-card-brand { display: flex; align-items: center; gap: 12px; font-size: 26px; font-weight: 500; letter-spacing: -.025em; }
.habla-card-brand img { width: 48px; height: 48px; object-fit: contain; flex-shrink: 0; }
.habla-panels { margin-top: 15px; min-width: 0; }
.habla-panel { display: grid; gap: 19px; min-width: 0; }
.habla-panel[hidden] { display: none !important; }
.habla-input { min-height: 132px; display: flex; align-items: center; justify-content: flex-end; min-width: 0; }
.habla-message { padding: 17px 20px; border-radius: 20px 20px 7px 20px; background: #e8f1fe; max-width: 88%; font-size: 18px; color: #223e6c; line-height: 1.45; letter-spacing: -.012em; }
.habla-voice-input { flex-direction: column; align-items: flex-end; justify-content: center; gap: 12px; }
.habla-voice-bubble { display: flex; align-items: center; justify-content: center; gap: 13px; width: 88%; padding: 14px 18px; border-radius: 24px; background: #e8f1fe; }
.habla-replay { width: 40px; height: 40px; display: grid; place-items: center; background: #ffffffb8; border: 0; border-radius: 50%; color: #275fa2; flex-shrink: 0; }
.habla-replay svg { width: 20px; height: 20px; }
.habla-replay:hover { background: #fff; }
.habla-wave { min-width: 0; flex: 1; height: 40px; overflow: visible; fill: #3f75b9; }
.habla-wave rect { transform-box: fill-box; transform-origin: center; }
.habla-panel[data-voice-playing] .habla-wave rect { animation: habla-wave .55s ease-in-out infinite alternate; animation-delay: var(--wave-delay); }
.habla-duration { font-size: 17px; font-variant-numeric: tabular-nums; color: #223e6c; }
.habla-transcript { font-size: 17px; line-height: 1.45; letter-spacing: -.012em; color: #59677c; margin: 0; text-align: right; }
.habla-answer { display: flex; align-items: center; gap: 9px; min-width: 0; }
.habla-answer img { width: 36px; height: 36px; object-fit: contain; flex-shrink: 0; }
.habla-answer p { font-size: 17px; font-weight: 400; line-height: 1.4; letter-spacing: -.012em; color: #223e6c; padding: 13px 16px; border: 1px solid #e3e8ef; border-radius: 19px; margin: 0; background: #fff; }
.habla-movement { display: flex; align-items: center; gap: 17px; padding: 18px 20px; min-height: 94px; border: 1px solid #e3e8ef; border-radius: 22px; background: #fff; color: #223e6c; font-size: 17px; letter-spacing: -.012em; }
.habla-movement-icon { width: 49px; text-align: center; font-size: 38px; flex-shrink: 0; letter-spacing: 0; }
.habla-movement p { color: #223e6c; margin: 4px 0 0; font-size: 30px; letter-spacing: -.035em; line-height: 1.14; }
.habla-movement p strong { font-weight: 500; }
.habla-movement p > span { font-size: 16px; letter-spacing: -.01em; font-weight: 400; color: #637089; }
.habla-activity { display: inline-flex; align-items: center; gap: 7px; color: #275fa2; font-size: 16px; font-weight: 500; letter-spacing: -.01em; margin: 22px 0 0; padding-bottom: 3px; border-bottom: 1px solid #b5c8df; }
.habla-activity:hover { color: #223e6c; border-bottom-color: currentColor; }
.habla-document { display: flex; align-items: center; gap: 12px; border-radius: 20px; background: #e8f1fe; padding: 19px; max-width: 100%; color: #223e6c; }
.habla-document > svg { width: 29px; height: 35px; fill: #ffffffa8; stroke: #3f75b9; stroke-width: 1.45; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.habla-document strong { font-size: 16px; font-weight: 500; overflow-wrap: anywhere; }
.habla-document span { font-size: 14px; display: block; margin-top: 6px; color: #59677c; }
.habla-panel[data-entering] .habla-input { animation: habla-enter .5s both cubic-bezier(.22,.7,.2,1); }
.habla-panel[data-entering] .habla-answer { animation: habla-enter .48s .16s both cubic-bezier(.22,.7,.2,1); }
.habla-panel[data-entering] .habla-movement { animation: habla-enter .48s .27s both cubic-bezier(.22,.7,.2,1); }
@keyframes habla-enter { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: translateY(0); } }
@keyframes habla-wave { from { transform: scaleY(.45); } to { transform: scaleY(1); } }
@media (max-width: 1100px) and (min-width: 901px) {
  .habla-stage { gap: 30px; grid-template-columns: minmax(0,.92fr) minmax(0,1.08fr); }
  .habla-card { padding: 24px; }
  .habla-copy h2 { font-size: 39px; }
  .habla-tabs button { gap: 6px; font-size: 15px; padding-inline: 5px; }
  .habla-voice-bubble { width: 100%; padding: 13px; }
  .habla-message { font-size: 17px; }
}
@media (max-width: 900px) {
  .habla-stage { grid-template-columns: minmax(0,1fr); gap: 30px; max-width: 560px; }
  .habla-copy { max-width: none; }
  .habla-copy h2 { font-size: 36px; margin-bottom: 14px; }
  .habla-copy > p { font-size: 19px; }
  .habla-tabs { margin-top: 24px; }
  .habla-card { justify-self: stretch; }
}
@media (max-width: 600px) {
  .habla-azul { --habla-pad: var(--section-space,64px); padding-inline: var(--page-gutter,24px); scroll-margin-top: 76px; }
  .habla-stage { gap: 26px; }
  .habla-copy h2 { font-size: 30px; line-height: 1.15; letter-spacing: -.03em; margin-bottom: 12px; }
  .habla-copy > p { font-size: 17px; line-height: 1.5; }
  .habla-tabs { max-width: none; margin-top: 22px; padding: 3px; }
  .habla-tab-pill { inset: 3px auto 3px 3px; width: calc((100% - 6px)/3); }
  .habla-tabs button { font-size: 15px; min-height: 42px; padding: 10px 5px; gap: 6px; }
  .habla-tabs svg { width: 18px; height: 18px; }
  .habla-card { padding: 20px; border-radius: 24px; }
  .habla-card-brand { font-size: 24px; gap: 10px; }
  .habla-card-brand img { width: 43px; height: 43px; }
  .habla-panels { margin-top: 9px; }
  .habla-panel { gap: 16px; }
  .habla-input { min-height: 124px; }
  .habla-message { font-size: 16px; max-width: 96%; padding: 15px 17px; }
  .habla-voice-bubble { width: 100%; padding: 12px; gap: 9px; border-radius: 21px; }
  .habla-replay { height: 35px; width: 35px; }
  .habla-replay svg { width: 18px; height: 18px; }
  .habla-wave { height: 34px; }
  .habla-duration { font-size: 16px; }
  .habla-transcript { font-size: 16px; line-height: 1.4; }
  .habla-answer { gap: 6px; }
  .habla-answer img { width: 31px; height: 31px; }
  .habla-answer p { padding: 11px 12px; font-size: 16px; border-radius: 17px; }
  .habla-movement { gap: 13px; padding: 16px; min-height: 86px; border-radius: 19px; font-size: 16px; }
  .habla-movement-icon { font-size: 34px; width: 41px; }
  .habla-movement p { font-size: 29px; }
  .habla-movement p > span { font-size: 15px; }
  .habla-activity { font-size: 15px; margin-top: 20px; }
  .habla-document { padding: 16px; gap: 10px; }
  .habla-document strong { font-size: 15px; }
  .habla-document span { font-size: 14px; }
}
@media (max-width: 360px) { .habla-card { padding: 16px; } .habla-tabs button { gap: 5px; font-size: 14px; } }
@media (prefers-reduced-motion: reduce) {
  .habla-azul[data-habla-pinned] { min-height: 0; }
  .habla-stage { position: static !important; }
  .habla-azul *, .habla-azul *::before { animation: none !important; transition: none !important; }
}
.habla-movement-icon>img { width: 100%; height: 100%; object-fit: contain; }
