/* QuiroFlow brand layer over the taste-skill kit (public/kit).

   Loaded last by layouts/kit.vue, after every kit stylesheet, so it wins at
   equal specificity. Holds the corporate palette (the same values as
   tailwind.config.ts and the app), the type tokens and the CSS of the drawn
   product views (collage pieces, the app window, the small panels). The kit's
   own files stay untouched: they are regenerated from the skill. */
:root {
  --p-bg: #ffffff; --p-surface: #F7F8FA; --p-ink: #15171E; --p-muted: #4A4F60;
  --p-accent: #4F46E5; --p-accent-ink: #ffffff; --p-action: #4F46E5; --p-action-ink: #ffffff;
  --p-inv-bg: #15171E; --p-inv-surface: #22252F; --p-inv-ink: #ffffff; --p-inv-muted: #A9ADBA;
  --p-inv-accent: #ffffff; --p-inv-accent-ink: #15171E; --p-inv-action: #4F46E5; --p-inv-action-ink: #ffffff;
  --font-display: "IBM Plex Sans", system-ui, sans-serif;
  --font-text: "IBM Plex Sans", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --display-weight: 500;
  --display-tracking: -0.025em;
  --display-tracking-xl: -0.035em;
  --ly-scale: 0.98;
}
html[data-ground="sky"] { --ground-bg: #EEF0FE; --ground-surface: #F7F8FF; --ground-ink: #15171E; --ground-muted: #4A4F60; --ground-accent: #4F46E5; }
.qf-mark { width: .95em; height: .95em; flex: none; margin-right: .32em; fill: #4F46E5; vertical-align: -0.12em; }
.footer .qf-mark { fill: #ffffff; }
.ly-collage .ly-piece, .mini { border: 1px solid #E8E9ED; }
/* flat brand tint behind the product mocks: no corner glow */
/* !important: the kit sets this mesh with a :has() selector no plain class can outrank */
.panel:not([data-fx], .panel--device), .frame--lit { background-image: none !important; background-color: #EEF0FE !important; }

/* page CSS: only inside visuals */
/* hero collage pieces, sized in container units */
.ly-collage { container-type: inline-size; }
.ly-collage .ly-piece { background: #fff; color: #15171E; box-shadow: 0 1px 2px rgb(21 23 30 / .1), 0 22px 48px -22px rgb(21 23 30 / .4); font: 400 max(13px, 2.15cqw)/1.35 var(--font-text); }
.pc-head { display: flex; justify-content: space-between; align-items: center; gap: 2cqw; padding: 2.4cqw 3cqw; border-bottom: 1px solid #E8E9ED; font-weight: 500; }
.pc-head small, .pc-mono { font: 400 max(13px, 1.9cqw)/1.2 var(--font-mono); color: #4A4F60; }
.pc-wa { display: grid; align-content: start; }
.pc-wa .msgs { display: grid; gap: 1.6cqw; padding: 3cqw; background: #F7F8FA; }
.pc-wa .m { max-width: 86%; padding: 1.6cqw 2.2cqw; border-radius: 1.6cqw; background: #fff; }
.pc-wa .m.me { justify-self: end; background: #d9f2cf; }
.pc-wa .ok { margin: 3cqw; padding: 1.8cqw 2.2cqw; border-radius: 1.4cqw; background: #EEF0FE; color: #3B32C9; font-weight: 500; }
.pc-flow { display: grid; align-content: start; }
.pc-flow .r { display: flex; justify-content: space-between; align-items: center; gap: 2cqw; padding: 2cqw 3cqw; border-top: 1px solid #E8E9ED; }
.pc-flow .r:first-of-type { border-top: 0; }
.chip { display: inline-flex; padding: .5cqw 1.6cqw; border-radius: 99px; font-weight: 500; font-size: max(13px, 1.8cqw); white-space: nowrap; }
.chip.s1 { background: #EEF0FE; color: #3B32C9; } .chip.s2 { background: #E9F6EF; color: #157F52; } .chip.s3 { background: #f6ecd9; color: #7a4d08; } .chip.s4 { background: #FDF0F2; color: #B4230F; }
.pc-inv { display: grid; align-content: start; }
.pc-inv .ln { display: flex; justify-content: space-between; padding: 1.8cqw 3cqw; border-top: 1px solid #E8E9ED; }
.pc-inv .ln.t { font-weight: 500; font-size: max(14px, 2.6cqw); }
.pc-inv .qr { display: flex; gap: 2.4cqw; align-items: center; padding: 2.4cqw 3cqw; border-top: 1px solid #E8E9ED; }
.pc-inv .qr i { flex: none; width: 11cqw; height: 11cqw; border-radius: .8cqw; background:
  conic-gradient(#15171E 25%, #fff 0 50%, #15171E 0 75%, #fff 0) 0 0 / 3.66cqw 3.66cqw, #fff; border: .6cqw solid #15171E; }
.pc-post { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.pc-post .fig { grid-row: span 3; background: #E4E6FB; position: relative; min-height: 34cqw; }
.pc-post .fig::before { content: ""; position: absolute; left: 50%; top: 10%; width: 9cqw; height: 9cqw; margin-left: -4.5cqw; border-radius: 50%; background: #A9AEEB; }
.pc-post .fig::after { content: ""; position: absolute; left: 50%; top: 31%; width: 18cqw; height: 60%; margin-left: -9cqw; border-radius: 5cqw 5cqw 1cqw 1cqw; background: #A9AEEB; }
.pc-post .fig b { position: absolute; z-index: 1; left: 12%; right: 12%; top: 36%; height: 0; border-top: 2px solid #4F46E5; transform: rotate(-4.2deg); }
.pc-post .fig b + b { top: 78%; transform: rotate(1.8deg); }
.pc-post .v { padding: 2.2cqw 3cqw; border-bottom: 1px solid #E8E9ED; display: grid; }
.pc-post .v strong { font: 500 max(15px, 3.4cqw)/1.1 var(--font-display); letter-spacing: -0.02em; }
.pc-note { padding: 2.6cqw 3cqw; display: grid; gap: .8cqw; }
.pc-note strong { font-weight: 500; }
.pc-note span { color: #4A4F60; }
@media (max-width: 639px) { .ly-collage .hide-s { display: none; } }

/* app-frame (sections-library.md) */
.app.ui { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); margin-top: var(--s-7); background: var(--u-bg); border: 1px solid var(--u-border); border-radius: var(--u-r); box-shadow: var(--u-shadow); }
.app > .app__pane { position: relative; min-width: 0; min-height: 0; overflow: hidden; }
.app > .app__pane + .app__pane { border-left: 1px solid var(--u-line); }
.app > .app__pane > .ui-panel { width: 100%; border: 0; border-radius: 0; box-shadow: none; }
.app > .app__pane::after { content: ""; position: absolute; inset: auto 0 0 0; height: 64px; background: linear-gradient(transparent, var(--u-bg)); pointer-events: none; }
@media (min-width: 1024px) and (max-width: 1279px) { .app.ui { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); } }
@media (max-width: 1023px) {
  .app.ui { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); }
  .app > .app__pane--list { max-height: 252px; }
  .app > .app__pane--list::after { display: none; }
  .app .ui-win__side { display: none; }
  .app .ui-win__body { grid-template-columns: minmax(0, 1fr); }
  .app > .app__pane + .app__pane { border-left: 0; border-top: 1px solid var(--u-line); }
}
@media (max-width: 639px) {
  .app.ui { grid-template-rows: minmax(0, 1fr); }
  .app > .app__pane--list { display: none; }
  .app > .app__pane + .app__pane { border-top: 0; }
}
/* the open pane: the patient's record */
.ficha { padding: 20px 24px; display: grid; gap: 16px; align-content: start; font: 400 14px/20px var(--font-text); color: #15171E; }
.ficha__top { display: flex; align-items: center; gap: 12px; }
.ficha__top b { font: 500 18px/24px var(--font-text); }
.ficha__top span { color: #4A4F60; }
.ficha__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ficha__box { border: 1px solid #E8E9ED; border-radius: 10px; padding: 14px 16px; display: grid; gap: 8px; align-content: start; }
.ficha__box .ficha__label { margin: 0; font: 500 13px/16px var(--font-text); color: #4A4F60; }
.ficha__box p { margin: 0; } .ficha__box .ficha__label { font: 500 13px/16px var(--font-text); color: #4A4F60; }
.ficha__box strong { font: 500 22px/26px var(--font-display); letter-spacing: -0.02em; }
.weeks { display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px; }
.weeks i { height: 22px; border-radius: 4px; background: #EEF0FE; }
.weeks i.on { background: #4F46E5; } .weeks i.late { background: #B4230F; }
.ficha__rows { display: grid; }
.ficha__rows div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid #E8E9ED; }
.ficha__rows span:last-child { color: #4A4F60; }
.ficha .chip { font-size: 13px; padding: 2px 10px; }
@media (max-width: 639px) { .ficha__grid { grid-template-columns: 1fr; } }

#funcionalidades .panel, #cobros .panel { --p-h: 300px; }
#clinicas .panel { --p-h: 240px; }
.frame--split.frame--tall { aspect-ratio: 1 / 1; }
@media (max-width: 1023px) { .frame--split.frame--tall { aspect-ratio: 5 / 4; } }
.mini { position: absolute; inset: 50% 24px auto 24px; transform: translateY(-50%); background: #fff; border-radius: 10px; border: 1px solid #E8E9ED; font: 400 14px/20px var(--font-text); color: #15171E; box-shadow: 0 12px 28px -18px rgb(21 23 30 / .35); }
.mini > div { display: flex; justify-content: space-between; gap: 12px; padding: 14px 16px; font-size: 16px; line-height: 24px; border-top: 1px solid #E8E9ED; }
.mini > div:first-child { border-top: 0; font-weight: 500; }
.mini .chip { font-size: 13px; padding: 1px 9px; }
.mini s { color: #4A4F60; }
@media (max-width: 639px) { #funcionalidades .panel, #cobros .panel { --p-h: 200px; } #clinicas .panel { --p-h: 150px; } }

/* nav menu card: a smaller mock than the ones in sections */
.mini.mini--sm > div { padding: 10px 14px; font-size: 14px; line-height: 20px; }

/* footer legal row: the legal links, the cookie button and the languages */
.footer__legal { flex-wrap: wrap; gap: var(--s-3) var(--s-6); }
.footer__legal-links, .footer__langs { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); align-items: center; }
.footer__cookies { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.footer__cookies:hover, .footer__legal a:hover { color: var(--ink); }
.footer__langs a[aria-current="true"] { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }


/* homepage pricing on a phone: three lines per plan, the full lists are on
   the pricing page, so the section stays within two screens */
@media (max-width: 639px) {
  .plans--summary .checks li:nth-child(n+4) { display: none; }
}

/* tablet (640 to 1023): stacked cards need two screens there */
@media (min-width: 640px) and (max-width: 1023px) {
  #clinicas, #precios, #cobros { --h: 2; }
}

/* triptych hero: the trial button and, under it, the demo, both the width of
   the column so the demo's label lines up with the trial's before any hover */
.hero--triptych .hero__cta { flex-direction: column; align-items: stretch; gap: var(--s-3); }
.hero--triptych .hero__cta .btn { justify-content: center; }
@media (min-width: 640px) and (max-width: 1279px) { .hero--triptych .hero__cta { max-width: 320px; } }

/* the close's button at the normal size, on the left line */
.close--type .btn { align-self: flex-start; }

/* the "prices by email" form (KitEmailCapture), on the page ground */
.capture { display: grid; gap: var(--s-4); max-width: 480px; }
.capture__title { font: 500 var(--t-card)/1.3 var(--font-text); margin: 0; }
.capture .field { display: grid; gap: var(--s-2); }
.capture .field label { font: 500 14px/20px var(--font-text); }
.capture .field input { height: 48px; padding: 0 var(--s-4); font: 400 16px/24px var(--font-text); color: var(--ink);
  background: var(--bg); border: 1px solid var(--line-strong); border-radius: var(--r-sm); }
.capture .field input:focus-visible { outline: 2px solid var(--action); outline-offset: 1px; }
.capture__consent { display: grid; grid-template-columns: 20px 1fr; gap: var(--s-3); align-items: start; font-size: 14px; line-height: 20px; color: var(--muted); }
.capture__consent input { width: 20px; height: 20px; margin: 0; accent-color: var(--action); }
.capture__consent a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.capture .btn { justify-self: start; }
.capture__error { margin: 0; color: #B4230F; font-size: 14px; }
.capture__ok { margin: 0; padding: var(--s-4); border-radius: var(--r-md); background: #E9F6EF; color: #157F52; font-weight: 500; }
.capture__trap { display: none; }

/* ---------------------------------------------------------------- inner pages */

/* pricing hero: the monthly bill drawn on the lit ground, the trial floating */
.hero__media--drawn { background: #EEF0FE; }
.bill { position: absolute; left: 12%; right: 12%; top: 12%; background: #fff; border: 1px solid #E8E9ED; border-radius: 12px;
  box-shadow: 0 1px 2px rgb(21 23 30 / .08), 0 22px 48px -22px rgb(21 23 30 / .35); font: 400 15px/22px var(--font-text); color: #15171E; }
.bill__head { padding: 16px 20px; font-weight: 500; border-bottom: 1px solid #E8E9ED; }
.bill__row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 20px; border-top: 1px solid #F0F1F4; }
.bill__row span:last-child { color: #4A4F60; white-space: nowrap; }
.bill__row--total { font-weight: 500; font-size: 17px; border-top: 1px solid #E8E9ED; }
.bill__row--total span:last-child { color: #15171E; }
@media (max-width: 639px) { .bill { left: 16px; right: 16px; top: 16px; font-size: 14px; } .bill__row { padding: 9px 14px; } .bill__head { padding: 12px 14px; } }

/* features hero: the inbox window in the centred hero */
.app.ui.app--hero { margin-top: 0; height: 440px; }
.hero__window .ly-piece { width: min(1040px, calc(100% - 2 * var(--s-6))); }
@media (max-width: 1023px) { .app.ui.app--hero { height: 360px; } }

/* comparison hero: an excerpt of the table, cut by its frame */
.hero__art.frame--lit { background: #EEF0FE; }
.cmp-piece { background: #fff; color: #15171E; border: 1px solid #E8E9ED; border-radius: 12px; font: 400 14px/20px var(--font-text);
  box-shadow: 0 22px 48px -22px rgb(21 23 30 / .35); overflow: hidden; }
.cmp-piece .pc-head { padding: 14px 18px; font-size: 15px; }
.cmp-piece__row { display: grid; grid-template-columns: 200px repeat(6, 104px); align-items: center; border-top: 1px solid #F0F1F4; }
.cmp-piece { width: max-content; }
.cmp-piece__row > span { padding: 12px 10px; }
.cmp-piece__row > span:first-child { padding-left: 18px; }
.cmp-piece__row--head { font-size: 13px; color: #4A4F60; font-weight: 500; }
.cmp-piece__row .yes { color: #157F52; font-weight: 500; }
.cmp-piece__row .no { color: #A9ADBA; }
.cmp-piece__row > span:nth-child(2) { background: #F7F8FF; }
.cmp-note { left: var(--s-5); bottom: var(--s-5); width: 280px; background: #fff; border: 1px solid #E8E9ED; border-radius: 12px;
  font: 400 14px/20px var(--font-text); padding: 14px 16px; }

/* comparison table */
.cmp { border-top: 1px solid var(--line); font-size: 15px; line-height: 22px; }
.cmp__row { display: grid; grid-template-columns: minmax(0, 4fr) repeat(6, minmax(0, 1.333fr)); align-items: center; border-bottom: 1px solid var(--line); min-height: 44px; }
.cmp__row > span { padding: 10px 8px; }
.cmp__row > span:first-child { padding-left: 0; }
.cmp__row > span:nth-child(2) { background: #F7F8FF; text-align: center; }
.cmp__row > span:not(:first-child) { text-align: center; }
.cmp__row--head { font: 500 13px/18px var(--font-text); color: var(--muted); }
.cmp__row .yes { color: #157F52; font-weight: 500; }
.cmp__row .no { color: var(--muted); }
.cmp__foot { margin-top: var(--s-5); max-width: 80ch; }
@media (max-width: 1023px) {
  .cmp__row--head { display: none; }
  .cmp__row { grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 12px 0; }
  .cmp__row > span:first-child { grid-column: 1 / -1; font-weight: 500; padding: 0 0 6px; }
  .cmp__row > span:not(:first-child) { text-align: left; padding: 4px 0; font-size: 13px; }
  .cmp__row > span:nth-child(2) { background: none; }
  .cmp__row > span:not(:first-child)::before { content: attr(data-name) " "; color: var(--muted); }
}

/* the alternative pages' cards: the program's name leading to QuiroFlow */
.panel.panel--name { display: flex; align-items: center; justify-content: center; gap: var(--s-4); font: 500 20px/1.2 var(--font-display); color: #15171E; }
.panel--name .panel__arrow { color: #4F46E5; }
.panel--name .panel__to { color: #4F46E5; }
#alternativas .panel { --p-h: 160px; }

/* providers: the real marks on the flat panel */
.panel.panel--logo { display: flex; align-items: center; justify-content: center; gap: 10px; font: 500 20px/1 var(--font-text); color: #15171E; }
.panel--logo img { height: 32px; width: auto; }
#proveedores .panel { --p-h: 160px; }
.providers__note { margin-top: var(--s-5); }

/* switch: what moves, the data rows and the activity log */
.moves { border-top: 1px solid var(--line); }
.moves__row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-3); align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.moves__row--head { font: 500 13px/18px var(--font-text); color: var(--muted); }
.moves .chip { font-size: 13px; padding: 2px 10px; }
.rows--data .rows__name small { display: block; margin-top: 4px; font-weight: 400; font-size: 14px; line-height: 20px; color: var(--muted); }
.mini.mini--log { top: 50%; transform: translateY(-50%); }
#pasos .panel { --p-h: 200px; }

/* pricing page on a phone: five lines per plan, the switch above shows both prices */
@media (max-width: 639px) { .plans--full .checks li:nth-child(n+4) { display: none; } }
/* feature cards on a phone: lower panels so a two-screen section stays two */
@media (max-width: 639px) { #consulta .panel, #cobros .panel, #reservas .panel, #pasos .panel { --p-h: 136px; } #alternativas .panel { --p-h: 120px; } }
#alternativas .panel { --p-h: 300px; }
/* comparison table, phone and tablet: the short names once, then one row of
   six marks under each feature */
.cmp__short { display: none; }
@media (max-width: 1023px) {
  .cmp__row--head { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .cmp__row--head > span:first-child { display: none; }
  .cmp__full { display: none; } .cmp__short { display: inline; }
  .cmp__row { grid-template-columns: repeat(6, minmax(0, 1fr)); padding: 10px 0; }
  .cmp__row > span:not(:first-child) { text-align: center; font-size: 15px; padding: 2px 0; }
  .cmp__row > span:not(:first-child)::before { content: none; }
  .cmp__row--head > span { text-align: center; font-size: 13px; padding: 8px 0; }
}
/* the import table's chips wrap rather than push the page sideways */
.moves .chip { white-space: normal; }
.moves { margin-top: var(--s-4); }

.rows--data li { padding-block: 10px; }
@media (max-width: 639px) {
  .cmp__row { padding: 6px 0; }
  .cmp__row > span:first-child { font-size: 14px; line-height: 20px; padding-bottom: 2px; }
  .cmp__row > span:not(:first-child) { padding: 0; line-height: 20px; }
}

/* ---------------------------------------------------------------- real screenshots (public/screens) */
.ly-collage .ly-piece.pc-shot { background: #fff; border: 1px solid #E8E9ED; border-radius: 12px; }
.ly-collage .ly-piece.pc-shot > img { object-fit: cover; object-position: left top; }
.ly-collage .ly-piece.pc-shot--phone { border: 0; border-radius: 30px; background: #15171E; }
.ly-collage .ly-piece.pc-shot--phone > img { object-position: center top; }
.shot { overflow: hidden; background: #fff; border: 1px solid #E8E9ED; border-radius: 14px;
  box-shadow: 0 1px 2px rgb(21 23 30 / .06), 0 24px 56px -28px rgb(21 23 30 / .35); }
.shot > img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.shot.shot--app { margin-top: var(--s-7); }
.shot.shot--hero { height: 100%; border-radius: 14px 14px 0 0; }
.hero__window .ly-piece { height: calc(100% - var(--s-6)); }
.panel.panel--shot { overflow: hidden; }
.panel--shot > img { position: absolute; left: 24px; top: 24px; width: calc(100% + 24px); height: auto; max-width: none;
  border: 1px solid #E8E9ED; border-radius: 10px; background: #fff; box-shadow: 0 16px 40px -24px rgb(21 23 30 / .35); }
.panel.panel--phone > img { left: 50%; width: auto; height: calc(100% + 40px); transform: translateX(-50%); border: 0; border-radius: 28px; box-shadow: 0 20px 48px -24px rgb(21 23 30 / .45); }
@media (max-width: 639px) { .panel--shot > img { left: 16px; top: 16px; width: calc(100% + 48px); } }
/* screenshots at their own size, cut by their frame, so their text stays
   readable; the phone is the exception, shown whole and scaled to fit */
.ly-collage .ly-piece.pc-shot > img { width: auto; height: auto; max-width: none; object-fit: fill; }
.ly-collage .ly-piece.pc-shot--phone { background: transparent; box-shadow: none; }
.ly-collage .ly-piece.pc-shot--phone > img { width: 100%; height: 100%; object-fit: contain; object-position: center top; }
.panel--shot > img { width: auto; max-width: none; }
.ly-collage .ly-piece.pc-shot--phone > img { border-radius: 34px; }

/* ---------------------------------------------------------------- product shots, v2 (2x screens) */
/* the brand stage: the indigo of the logo, a real screen in a browser window
   standing on it and cut by its foot */
.stage-brand { position: relative; overflow: hidden; border-radius: 20px; padding: 40px 48px 0;
  background: linear-gradient(135deg, #4F46E5 0%, #6A61EC 55%, #9089F2 100%); }
.stage-brand.fill { margin-top: var(--s-7); }
.browser { overflow: hidden; background: #fff; border-radius: 12px 12px 0 0;
  box-shadow: 0 1px 0 rgb(255 255 255 / .5) inset, 0 32px 80px -24px rgb(21 23 30 / .55); }
.browser__bar { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; background: #F7F8FA; border-bottom: 1px solid #E8E9ED; }
.browser__bar i { width: 11px; height: 11px; border-radius: 50%; background: #DADCE3; }
.browser__bar span { margin-left: 16px; padding: 4px 16px; border-radius: 6px; background: #fff; border: 1px solid #E8E9ED;
  font: 400 13px/16px var(--font-text); color: #4A4F60; }
.browser > img { display: block; width: 100%; height: auto; }
@media (max-width: 639px) { .stage-brand { padding: 20px 16px 0; border-radius: 14px; } .browser__bar { height: 30px; } .browser__bar span { display: none; } }

/* the features hero: the brand stage under the centred words */
.hero--centred .hero__window.stage-brand { padding: 0; border-radius: 20px 20px 0 0; background: linear-gradient(135deg, #4F46E5 0%, #6A61EC 55%, #9089F2 100%); }
.hero--centred .hero__window.stage-brand .ly-piece { top: 40px; height: auto; }

/* card panels holding a screen: a soft indigo ground */
.panel.panel--shot { background-image: linear-gradient(160deg, #F1F2FE 0%, #DFE2FC 100%) !important; }
.panel--shot > img { height: auto; }

/* the receptionist's real conversation on the soft ground */
.stage-soft { position: relative; overflow: hidden; background: linear-gradient(160deg, #F1F2FE 0%, #DFE2FC 100%); }
.stage-soft__shot { position: absolute; left: 40px; top: 40px; width: 592px; max-width: none; height: auto; border-radius: 12px;
  border: 1px solid #E8E9ED; box-shadow: 0 32px 72px -28px rgb(21 23 30 / .45); }
@media (max-width: 639px) { .stage-soft__shot { left: 16px; top: 16px; } }
/* the features h1 ("Todo lo que hace QuiroFlow en tu clínica") on two lines */
.hero--centred h1 { max-width: 22ch; }

/* ---------------------------------------------------------------- feature illustrations (KitIll) */
.panel.panel--ill { overflow: hidden; background-image: none !important; background-color: #EEF0FE !important; font: 400 14px/20px var(--font-text); color: #15171E; }
.il-card { position: absolute; background: #fff; border-radius: 14px; padding: 16px 18px; display: grid; gap: 10px;
  box-shadow: 0 1px 2px rgb(21 23 30 / .06), 0 20px 44px -20px rgb(21 23 30 / .30); }
.il-main { left: 24px; right: 24px; top: 24px; }
.il-title { margin: 0; font-weight: 500; font-size: 15px; }
.il-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-width: 0; }
.il-row > span:first-child, .il-row > s { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.il-row s { color: #4A4F60; }
.il-big b { font-size: 16px; font-weight: 500; }
.il-big span { font: 500 16px/1 var(--font-text); font-variant-numeric: tabular-nums; }
.il-badge { flex: none; padding: 2px 10px; border-radius: 99px; font-size: 13px; font-weight: 500; white-space: nowrap; }
.il-badge.ok { background: #E9F6EF; color: #157F52; } .il-badge.late { background: #FDF0F2; color: #B4230F; } .il-badge.info { background: #EEF0FE; color: #3B32C9; }
.il-plan { display: grid; gap: 8px; padding-top: 10px; border-top: 1px solid #F0F1F4; }
.il-periods { display: flex; gap: 8px; }
.il-periods span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 2px solid; font-size: 12px; font-weight: 500; }
.il-periods .ok { border-color: #157F52; color: #157F52; background: #E9F6EF; } .il-periods .late { border-color: #B4230F; color: #B4230F; }
.il-periods .now { border-color: #4F46E5; color: #4F46E5; box-shadow: 0 0 0 4px #EEF0FE; }
.il-bar { height: 8px; border-radius: 99px; background: #E8E9ED; overflow: hidden; } .il-bar i { display: block; height: 100%; border-radius: 99px; background: #4F46E5; }
.il-btns { display: flex; gap: 8px; } .il-btn { padding: 6px 14px; border-radius: 8px; background: #4F46E5; color: #fff; font-weight: 500; font-size: 13px; } .il-btn.ghost { background: #fff; color: #15171E; border: 1px solid #E8E9ED; }
.il-toast { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: #fff; border-radius: 14px; max-width: calc(100% - 32px);
  box-shadow: 0 1px 2px rgb(21 23 30 / .06), 0 24px 48px -18px rgb(21 23 30 / .38); }
.il-toast > span:not(.il-icon):not(.il-badge) { display: grid; min-width: 0; }
.il-toast b { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.il-toast small { font-size: 13px; color: #4A4F60; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.il-at-br { right: 16px; bottom: 20px; }
.il-icon { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; font-weight: 600; font-size: 15px; color: #fff; background: #4F46E5; }
.il-icon.ok { background: #157F52; } .il-icon.late { background: #B4230F; }
.il-icon.wa { background: #25D366 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M12 3a9 9 0 0 0-7.7 13.6L3 21l4.5-1.2A9 9 0 1 0 12 3zm4.6 12.6c-.2.6-1.1 1.1-1.6 1.1-.4.1-.9.1-1.5-.1-.3-.1-.8-.3-1.3-.5-2.3-1-3.8-3.3-3.9-3.5-.1-.1-.9-1.2-.9-2.3s.6-1.6.8-1.9c.2-.2.4-.3.6-.3h.4c.1 0 .3 0 .5.4l.7 1.6c.1.1.1.3 0 .4l-.2.4-.3.4c-.1.1-.2.3-.1.5.2.3.7 1.1 1.4 1.8.9.8 1.7 1 2 1.2.2.1.4.1.5-.1l.7-.8c.2-.2.3-.2.5-.1l1.6.8c.2.1.4.2.4.3.1.1.1.6-.1 1.2z'/%3E%3C/svg%3E") center / 20px no-repeat; }
.il-step { position: absolute; z-index: 2; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 2px solid #4F46E5; color: #4F46E5; font-weight: 600; font-size: 13px; }
.il-slot { left: 8%; top: 14%; width: 54%; }
.il-s1 { left: calc(8% - 12px); top: calc(14% - 12px); }
.il-dots { position: absolute; left: 20%; top: 46%; height: 18%; border-left: 2px dotted #8C8FE8; }
.il-offer { left: 12%; top: 64%; }
.il-s2 { left: calc(12% - 12px); top: calc(64% - 12px); }
.il-list { right: 6%; top: 10%; width: 34%; }
.il-doc { left: 24px; top: 24px; width: 62%; }
.il-lines { display: grid; gap: 6px; } .il-lines i { display: block; height: 8px; border-radius: 4px; background: #F0F1F4; }
.il-qr-row { justify-content: flex-start; } .il-qr-row small { font-size: 13px; color: #4A4F60; white-space: normal; }
.il-qr { flex: none; width: 44px; height: 44px; border: 4px solid #15171E; border-radius: 4px;
  background: conic-gradient(#15171E 25%, #fff 0 50%, #15171E 0 75%, #fff 0) 0 0 / 12px 12px; }
.il-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.il-kpis div { display: grid; gap: 2px; padding: 10px 12px; border: 1px solid #F0F1F4; border-radius: 10px; }
.il-kpis small { font-size: 13px; color: #4A4F60; } .il-kpis b { font: 500 24px/1.1 var(--font-display); letter-spacing: -0.02em; }
.il-chart { display: flex; align-items: flex-end; gap: 8px; height: 64px; }
.il-chart i { flex: 1; border-radius: 4px 4px 0 0; background: #DADDFB; } .il-chart i.on { background: #4F46E5; }
.il-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.il-col { min-height: 120px; border-radius: 10px; background: #F7F8FA; padding: 6px; }
.il-appt { display: grid; gap: 2px; padding: 8px; border-radius: 8px; border-left: 3px solid; font-size: 13px; line-height: 18px; }
.il-appt b { font-weight: 500; } .il-appt small { font-size: 12px; opacity: .85; }
.il-appt.c0 { background: #ECEBFD; border-color: #6A61EC; } .il-appt.c1 { background: #E3F4EE; border-color: #1C8C6A; margin-top: 28px; } .il-appt.c2 { background: #FBE8F0; border-color: #C2457A; margin-top: 56px; }
/* the small card panels on a phone: the main card only */
@media (max-width: 639px) {
  .panel--ill .il-sec { display: none; }
  .il-main, .il-doc { left: 16px; right: 16px; top: 16px; width: auto; }
  .il-card { padding: 12px 14px; gap: 8px; }
}

/* whole screens: the receptionist's conversation stands whole on the soft ground */
.stage-soft__shot { left: 50%; top: 32px; transform: translateX(-50%); width: auto; height: calc(100% - 64px); }
@media (max-width: 639px) { .stage-soft__shot { top: 16px; height: calc(100% - 32px); left: 50%; } }

/* the whole calendar on the brand stage, nothing cut */
.stage-brand--whole { margin-top: var(--s-7); padding-bottom: 40px; }
.stage-brand--whole .browser { border-radius: 12px; }
@media (max-width: 639px) { .stage-brand--whole { padding-bottom: 16px; } }
/* hero collage: a whole screen, the phone, and illustration sets */
.ly-collage .ly-piece.pc-screen { height: auto; background: #fff; border: 1px solid #E8E9ED; border-radius: 12px; }
.ly-collage .ly-piece.pc-screen > img { width: 100%; height: auto; object-fit: fill; display: block; }
.ly-collage .ly-piece.pc-ill { background: transparent; box-shadow: none; overflow: visible; }
.ly-collage .ly-piece.pc-ill > .panel--ill { position: absolute; inset: 0; height: 100%; border-radius: 16px; }
.ly-collage .ly-piece.pc-shot--phone { background: transparent; box-shadow: none; }
.ly-collage .ly-piece.pc-shot--phone > img { width: 100%; height: 100%; object-fit: contain; object-position: center top; }

.stage-soft { display: grid; place-items: center; }
.stage-soft .stage-soft__shot { position: static; transform: none; width: auto; max-width: calc(100% - 48px); height: auto; max-height: calc(100% - 48px); }
/* the receptionist's conversation centred in its frame at every width */
.stage-soft .stage-soft__shot { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: auto; height: auto; max-width: calc(100% - 48px); max-height: calc(100% - 48px); }

/* the patient app, screen by screen: whole phones on the brand stage; a row
   you swipe on narrower screens */
.stage-brand.phones { margin-top: var(--s-7); padding: 32px 24px; }
.phones__row { display: flex; justify-content: center; gap: 28px; }
.phones__phone { flex: none; width: 196px; height: auto; filter: drop-shadow(0 24px 40px rgb(21 23 30 / .35)); }
@media (max-width: 1023px) {
  .phones__row { justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; gap: 24px; padding: 0 24px 8px; margin: 0 -24px; scrollbar-width: none; }
  .phones__row::-webkit-scrollbar { display: none; }
  .phones__phone { scroll-snap-align: center; width: 190px; }
  .phones__row::after { content: ""; flex: 0 0 1px; }
}
/* the team's app: three whole phones, the day in front */
.team .team__phone { position: absolute; height: 78%; width: auto; filter: drop-shadow(0 24px 40px rgb(21 23 30 / .30)); }
.team .team__phone--c { left: 50%; top: 9%; transform: translateX(-50%); height: 82%; z-index: 2; }
.team .team__phone--l { left: 8%; top: 15%; }
.team .team__phone--r { right: 8%; top: 15%; }
@media (min-width: 640px) and (max-width: 1023px) { #agenda, #automatizaciones { --h: 1 !important; } }
@media (min-width: 1024px) and (max-width: 1279px) { .phones__row { justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; } .phones__phone { scroll-snap-align: center; } }
