/* BEES Automate home page (index.html, en.html): the company page. Shared pieces (order dialog, phone bar, fonts) live in site.css. */

/* window, chat bubbles: copied from the kit's assets/layout/demo.css (that file is not loaded) */
.d-win { background: #fff; color: #16181a; border-radius: 12px; overflow: hidden; font: 400 14px/1.4 var(--font-text);
         box-shadow: 0 0 0 1px rgb(0 0 0 / .07), 0 24px 60px -28px rgb(0 0 0 / .45); text-align: left; }
.d-win--dark { background: #17191c; color: #eceef0; box-shadow: 0 0 0 1px rgb(255 255 255 / .08), 0 30px 70px -30px rgb(0 0 0 / .8); }
.d-win__bar { display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 14px; border-bottom: 1px solid rgb(0 0 0 / .07); font-size: 13px; color: #5d6268; }
.d-win--dark .d-win__bar { border-color: rgb(255 255 255 / .07); color: #9aa0a6; }
.d-win__dots { display: flex; gap: 6px; } .d-win__dots i { width: 10px; height: 10px; border-radius: 50%; background: #dcdfe2; }
.d-win--dark .d-win__dots i { background: #3a3e43; }
.d-win__body { display: grid; grid-template-columns: 160px 1fr; min-height: 420px; }
.d-chat { display: grid; gap: 10px; align-content: start; padding: 18px; font-size: 14px; }
.d-msg { max-width: 78%; padding: 10px 14px; border-radius: 16px; background: rgb(255 255 255 / .07); line-height: 1.45; }
.d-msg--me { justify-self: end; background: #f2f2f0; color: #121314; border-bottom-right-radius: 6px; }
.d-msg--bot { border-bottom-left-radius: 6px; }
.d-msg small { display: block; margin-top: 4px; font-size: 13px; opacity: .6; }
.d-thumb { flex: none; }

/* ---------- hero: the collage window (the bot's day in one salon) and the small Telegram card */
.hero__proof { font-size: var(--t-small); color: var(--muted); }
.hero__art > .ly-piece--note { left: var(--s-6); bottom: var(--s-6); width: 300px; z-index: 2; }
@media (max-width: 1023px) { .hero__art > .ly-piece--note { left: var(--s-4); bottom: var(--s-4); width: 270px; } }
.hm-win .d-win__body { display: grid; grid-template-columns: 150px 1fr; min-height: 440px; }
.d-side { padding: 14px 10px; border-right: 1px solid rgb(255 255 255 / .07); display: grid; align-content: start; gap: 2px; font-size: 13px; color: #aeb3b8; }
.d-side > span { display: flex; align-items: center; gap: 8px; height: 30px; padding: 0 8px; border-radius: 7px; }
.d-side > span.is-on { background: rgb(255 255 255 / .07); color: #fff; font-weight: 500; }
.d-side > span i { width: 14px; height: 14px; border-radius: 4px; background: currentColor; opacity: .3; flex: none; }
.d-side > span img { flex: none; }
.d-side .d-side__label { font-size: 13px; color: #8a8f94; height: 26px; margin-top: 8px; }
.d-main { padding: 16px 18px; padding-right: var(--ly-cut-room, 48px); display: grid; align-content: start; gap: 12px; min-width: 0; }
.d-main__head h4 { font: 600 16px/1.2 var(--font-text); letter-spacing: -0.01em; margin: 0; color: #fff; }
.d-tabs { display: flex; gap: 4px; font-size: 13px; }
.d-tabs span { padding: 4px 10px; border-radius: 99px; color: #9aa0a6; }
.d-tabs span.is-on { background: rgb(255 255 255 / .08); color: #fff; font-weight: 500; }
.d-rows { display: grid; border-top: 1px solid rgb(255 255 255 / .07); }
.d-row { display: grid; grid-template-columns: 36px minmax(0, 1fr) 104px; align-items: center; gap: 12px; padding: 9px 2px; border-bottom: 1px solid rgb(255 255 255 / .07); font-size: 13px; }
.d-row b { display: block; font-weight: 500; color: #eceef0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.d-row small { color: #8f959b; font-size: 13px; }
.hm-ic { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 9px; background: rgb(255 255 255 / .06); }
.hm-ic img { width: 18px; height: 18px; }
.d-chip { justify-self: end; display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 8px; border-radius: 99px; font-size: 13px; font-weight: 500;
  background: #1f3a2b; color: #8fe0b0; white-space: nowrap; }
.d-chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.d-chip--low { background: #3a3018; color: #f5bf42; }
.d-chip--out { background: #3b2220; color: #ff9d90; }
.d-card { background: #fff; color: #16181a; border-radius: 12px; padding: 14px 16px; font: 400 14px/1.4 var(--font-text); text-align: left;
  box-shadow: 0 0 0 1px rgb(0 0 0 / .07), 0 18px 44px -20px rgb(0 0 0 / .45); }
.d-card h5 { display: flex; align-items: center; gap: 8px; margin: 0 0 4px; font: 600 14px/1.3 var(--font-text); }
.d-card__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.d-card .d-chip { background: #e7f4ec; color: #17673f; }
.d-note__line { display: flex; align-items: center; gap: 10px; padding: 7px 0; font-size: 13px; color: #3d4247; border-top: 1px solid rgb(0 0 0 / .06); }
.d-note__line:first-of-type { border-top: 0; }
.d-note__line i { width: 18px; height: 18px; border-radius: 50%; flex: none; display: grid; place-items: center; background: #fdf0dc; color: #8a5300; font-style: normal; font-size: 12px; font-weight: 700; }
.d-note__line b { font-weight: 500; color: #16181a; }
@media (max-width: 639px) { .hero--collage .hero__proof { display: none; } }
@media (max-width: 639px) { .hm-win .d-win__body { grid-template-columns: 1fr; } .d-side { display: none; } }

/* ---------- nav: the language link beside the main button */
.hm-lang { font-size: var(--t-small); }
@media (max-width: 1023px) { .nav__actions .hm-lang { display: none; } }

/* ---------- solutions: four cards, a tag for ready product vs made to order */
.hm-tag { display: inline-flex; align-self: start; width: fit-content; margin: 0; padding: 4px 10px; border-radius: 99px; font-size: var(--t-small); font-weight: 500;
  background: color-mix(in oklab, var(--ink) 8%, transparent); color: var(--muted); }
.hm-tag--ready { background: color-mix(in oklab, var(--p-accent) 18%, transparent); color: var(--p-accent); }
.hm-sol .panel { --p-h: 240px; }
.hm-handoff { background: #3a3018 !important; color: #f5bf42 !important; }
@media (max-width: 639px) { .hm-sol .panel { --p-h: 190px; } }

/* ---------- flagship: the lanes diagram beside the words */
.hm-flow { --p-h: 600px; align-self: center; }
.hm-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 0; }
@media (max-width: 1023px) { .hm-flow { grid-column: 1 / -1; --p-h: 340px; } }
@media (max-width: 639px) { .hm-flow { --p-h: 260px; } }

/* ---------- how we work: the timeline band and four steps */
.hm-steps-vis { --p-h: 260px; margin-bottom: var(--s-8); --ink: #16181a; --muted: #4a5057; }
.hm-steps { list-style: none; margin: 0; padding: 0; }
.hm-steps li { display: grid; gap: var(--s-2); align-content: start; }
.hm-steps h3, .hm-why h3 { margin: 0; font-size: var(--t-lead); }
.hm-steps p, .hm-why p { margin: 0; color: var(--muted); }
@media (max-width: 1023px) { .hm-steps li { grid-column: auto / span 6; } }
@media (max-width: 639px) { .hm-steps-vis { display: none; } .hm-steps li { grid-column: 1 / -1; } }

/* ---------- industries: one photograph and the list */
.hm-photo { margin: 0; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 3 / 2; }
.hm-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hm-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.hm-list li { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-4); padding: var(--s-4) 0; border-bottom: 1px solid var(--line); }
.hm-list b { font-weight: 500; }
.hm-list span { color: var(--muted); }
@media (max-width: 1023px) { .hm-list { grid-column: 1 / -1; } }
@media (max-width: 639px) { .hm-list li { grid-template-columns: 1fr; gap: 2px; padding: var(--s-3) 0; } .hm-photo { display: none; } }

/* ---------- about: the statement (liquid-type) and six reasons */
.hm-statement { max-width: none; margin-bottom: var(--s-10, 96px); }
.hm-statement .mo-lt__type { font-size: clamp(48px, 10.5vw, 160px); line-height: 1; letter-spacing: var(--display-tracking-xl); }
.hm-statement .t-lead { max-width: 56ch; color: var(--muted); }
.hm-why { list-style: none; margin: 0; padding: 0; row-gap: var(--s-8); }
.hm-why li { display: grid; gap: var(--s-2); align-content: start; padding-top: var(--s-4); border-top: 1px solid var(--line); }
@media (max-width: 1023px) { .hm-why li { grid-column: auto / span 6; } }
@media (max-width: 639px) { .hm-why li { grid-column: 1 / -1; padding-top: var(--s-3); } }

/* ---------- prices and the consult form */
#cene .card--plan .t-stat { font-size: clamp(32px, 3.4vw, 48px); }
.bk-order__intro { margin: 0; }
.bk-order textarea { width: 100%; resize: vertical; min-height: 96px; font: inherit; }
@media (max-width: 639px) { .bk-order textarea { font-size: 16px; } }

/* ---------- footer: the name set large */
.footer__name { font: var(--display-weight) 48px/1 var(--font-display); letter-spacing: var(--display-tracking); }
@media (max-width: 639px) { .footer__name { font-size: 30px; } }

/* ---------- fixes after the layout check */
#bot .hm-flow:has(> .dg) { --p-h: 560px; }
@media (max-width: 1023px) { #bot .hm-flow:has(> .dg) { --p-h: 380px; } }
@media (max-width: 639px) { #bot .hm-flow:has(> .dg) { --p-h: 300px; } }
@media (min-width: 640px) and (max-width: 1023px) {
  .hm-sol .panel { --p-h: 320px; }
  #cene .card--plan { grid-column: auto / span 6; }
  #cene .card--plan:last-child { grid-column: 1 / -1; }
}
/* site.css sizes the bot page's #cene and #pitanja; the home page's own sections differ */
@media (min-width: 640px) and (max-width: 819px) { main #cene { --h: 1; } }
@media (max-width: 639px) { main #pitanja { --hm: 2; } main #pitanja .faq > .faq__item { padding-block: var(--s-4); } }
@media (max-width: 639px) { .hm-why { row-gap: var(--s-4); } }

/* ---------- scrolling: every section is as tall as its content (no screen-high blocks with empty ground
   under short content, which read as dead scroll); the hero keeps its one screen */
main > section.section:not(.hero) { height: auto !important; min-height: 0 !important; padding: 112px 0 112px; }
main > section.section:not(.hero) > .wrap { height: auto; }
@media (max-width: 1023px) { main > section.section:not(.hero) { padding: 88px 0; } }
@media (max-width: 639px) { main > section.section:not(.hero) { padding: 64px 0; } }

.hm-third { margin: var(--s-6) 0 0; max-width: 70ch; font-size: var(--t-small); }
@media (min-width: 1024px) { main #cene .card--plan { grid-column: auto / span 4; } }

/* flagship: the two plans side by side, each its own box */
.hm-plans { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); margin-top: var(--s-2); }
.hm-plan { display: grid; gap: 2px; padding: var(--s-4); border: 1px solid var(--line); border-radius: var(--r-lg, 14px); color: inherit; text-decoration: none;
  transition: transform .2s ease, border-color .2s ease; }
.hm-plan:hover { transform: translateY(-2px); border-color: var(--p-accent, currentColor); }
.hm-plan__name { font-weight: 600; font-size: var(--t-small); }
.hm-plan .t-stat { font-size: clamp(30px, 3vw, 40px); line-height: 1.1; }
.hm-plan .muted { font-size: var(--t-small); }
@media (max-width: 379px) { .hm-plans { grid-template-columns: 1fr; } }
