/* Bluconta public landing: the contador band (sky blue, with "Sobre nosotros" at its foot), the three steps
   of "Así funciona" and the security facts. */

/* Contador: copy and the WhatsApp button on the left, his conversation with the client on the right. */
.ctd { position: relative; overflow: hidden; padding-top: 128px; background: var(--sky); }
.ctd-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: 72px; align-items: center; }
.ctd-copy { display: grid; gap: 24px; justify-items: start; }
.ctd .lede { margin: 0; }
.ctd-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.ctd-cta .btn svg { width: 22px; height: 22px; }
.ctd-note { margin: 0; font-size: 14.5px; color: var(--ink-3); }
.ctd-chat { justify-self: end; width: min(100%, 440px); }
.ctd-phone { overflow: hidden; border-radius: 28px; background: #EFEAE2; box-shadow: 0 0 0 1px rgba(16, 24, 40, 0.06), 0 50px 80px -46px rgba(20, 60, 120, 0.5); }
.ctd-chat-head { display: flex; align-items: center; gap: 11px; padding: 14px 18px; background: #008069; color: var(--white); }
.ctd-chat-head .wa-av { width: 40px; height: 40px; font-size: 13px; }
.ctd-chat-head .wa-who b { font-size: 15px; }
.ctd-chat-head .wa-who small { font-size: 12px; }
/* The hero's WhatsApp bubbles (04-scenes.css), at reading size. */
.ctd-thread { display: flex; flex-direction: column; gap: 8px; padding: 20px 16px 24px; }
.ctd-thread .wa-msg { max-width: 84%; padding: 9px 12px 21px; border-radius: 12px; border-top-left-radius: 3px; font-size: 14.5px; line-height: 1.4; }
.ctd-thread .wa-msg--me { border-radius: 12px; border-top-right-radius: 3px; }
.ctd-thread .wa-msg time { right: 10px; bottom: 5px; font-size: 11px; }
.ctd-thread .wa-doc { min-width: 252px; padding: 10px 12px 23px; }
.ctd-thread .wa-pdf { width: 36px; height: 44px; font-size: 10px; }
.ctd-thread .wa-file b { font-size: 13.5px; }
.ctd-thread .wa-file small { font-size: 11.5px; }
.ctd-est { display: grid; gap: 5px; margin: 9px 0 2px; padding: 10px 12px; border-radius: 9px; background: #F3F5F7; font-size: 13.5px; font-variant-numeric: tabular-nums; }
.ctd-est > div { display: flex; justify-content: space-between; gap: 18px; }
.ctd-est .t { padding-top: 6px; border-top: 1px dashed #C6CDD6; font-weight: 700; }

/* Sobre nosotros, at the foot of the band. */
.about { display: grid; grid-template-columns: minmax(0, 0.34fr) minmax(0, 1fr); gap: 48px; margin-top: 120px; padding-block: 56px 104px; border-top: 1px solid var(--line); }
.about-h { font-size: 16px; font-weight: 500; line-height: 1.5; letter-spacing: -0.01em; color: var(--blue-deep); }
.about-copy { display: grid; gap: 20px; max-width: 800px; }
.about-copy p { margin: 0; font-size: 17px; color: var(--ink-2); text-wrap: pretty; }
.about-copy .about-lead { font-size: clamp(24px, 2.7vw, 38px); font-weight: 600; line-height: 1.14; letter-spacing: -0.035em; color: var(--ink); text-wrap: balance; }

/* Así funciona: the steps on one line that ends where the crane lands (down the page on phones). */
.how-track { position: relative; }
.how-steps { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); margin: 0; padding: 0; list-style: none; border-top: 1.5px solid var(--ink); }
.how-step { position: relative; display: grid; gap: 10px; align-content: start; justify-items: start; padding: 46px 40px 0 0; }
.how-num { position: absolute; top: -19px; left: 0; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: var(--white); box-shadow: 0 0 0 7px var(--ground); font-family: var(--mono); font-size: 15px; font-weight: 500; }
.how-step h3 { font-size: 21px; line-height: 1.18; letter-spacing: -0.03em; }
.how-step p { margin: 0; max-width: 21em; font-size: 16px; line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }
.how-step .link-line { margin-top: 4px; font-size: 15.5px; }
.how-bird { position: absolute; right: 0; bottom: 100%; width: 70px; height: auto; margin-bottom: -4px; color: var(--ink); }
/* First time on screen: the line draws itself from the first step to the last, then the crane lands. */
@media (min-width: 1001px) {
  /* The mask ends past the list's box on every side, so it never crops a focus ring once it is open. */
  .how-track.is-armed .how-steps { clip-path: inset(-30px 100% -12px -12px); }
  .how-track.is-armed.s-go .how-steps { clip-path: inset(-30px -12px -12px -12px); transition: clip-path 1300ms cubic-bezier(0.65, 0, 0.35, 1); }
  .how-track.is-armed .how-bird { opacity: 0; transform: translate(-52px, -38px) rotate(-12deg); }
  .how-track.is-armed.s-land .how-bird { opacity: 1; transform: none; transition: transform 700ms var(--ease), opacity 220ms ease; }
}

/* Seguridad: the headline on the left, three facts on the right. */
.sec-sec { padding-top: 0; }
.sec-layout { display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 2fr); gap: 56px; padding-top: 80px; border-top: 1px solid var(--line); }
.sec-intro { display: grid; gap: 20px; justify-items: start; align-content: start; }
.sec-mark { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--sky-soft); color: var(--blue-deep); }
.sec-mark svg { width: 28px; height: 28px; }
.sec-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; margin: 0; }
.sec-facts dt { margin-bottom: 8px; font-size: 18px; font-weight: 600; line-height: 1.25; letter-spacing: -0.02em; }
.sec-facts dd { margin: 0; font-size: 15.5px; line-height: 1.5; color: var(--ink-2); }

@media (max-width: 1000px) {
  .ctd { padding-top: 96px; }
  .ctd-grid { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .ctd-chat { justify-self: start; }
  .about { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 88px; padding-block: 44px 88px; }
  .how-step { padding-right: 24px; }
  .sec-layout { grid-template-columns: minmax(0, 1fr); gap: 40px; padding-top: 64px; }
}
@media (max-width: 640px) {
  .ctd { padding-top: 72px; }
  .ctd-grid { gap: 44px; }
  .ctd-cta { width: 100%; }
  .ctd-cta .btn { flex: 1 1 100%; }
  .ctd-phone { border-radius: 22px; }
  .ctd-thread { padding: 16px 12px 18px; }
  .ctd-thread .wa-msg { max-width: 90%; font-size: 14px; }
  .about { margin-top: 64px; padding-block: 36px 72px; }
  /* The steps run down a line, each number sitting on it; the line ends at the last one. */
  .how-bird { display: none; }
  .how-steps { grid-auto-flow: row; margin-left: 17px; border-top: 0; }
  .how-step { padding: 3px 0 34px 36px; border-left: 1.5px solid var(--ink); }
  .how-step:last-child { padding-bottom: 0; border-left-color: transparent; }
  .how-num { top: -2px; left: -19px; box-shadow: 0 0 0 6px var(--ground); }
  .how-step h3 { font-size: 20px; }
  .how-step p { font-size: 15.5px; }
  .sec-layout { padding-top: 56px; }
  .sec-facts { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}
