/* Klara – the home page (index.html, the common one) and the industries' pages (warsztaty/, fryzjerzy/,
   salony-kosmetyczne/, gabinety-masazu/, groomerzy/, weterynarze/ and their en/ twins): what they add to style.css. */

/* "Zacznij za darmo" in the header, beside the sign-in: that one is its icon alone where the six menu items need the
   room, and only in the menu on a phone. */
.nav-start { white-space: nowrap; }
@media (min-width: 921px) and (max-width: 1240px) {
  .nav { gap: 16px; }
  .nav-links { gap: 18px; }
  .nav-links a { font-size: 14px; white-space: nowrap; }
  .nav-actions [data-owner-link] { padding-inline: 12px; }
  .nav-actions [data-owner-label] { display: none; }
}
@media (min-width: 921px) and (max-width: 1040px) {
  .nav { gap: 12px; }
  .nav-links { gap: 12px; }
  .nav-links a { font-size: 13.5px; }
  .nav-actions { gap: 4px; }
  .nav-actions .nav-start { padding-inline: 12px; font-size: 14px; }
}
@media (max-width: 700px) {
  .nav { gap: 10px; }
  .nav-actions [data-owner-link] { display: none; }
  .nav-actions .nav-start { padding-inline: 14px; font-size: 14px; }
}
@media (max-width: 360px) {
  .brand img { height: 25px; }
  .nav-actions .nav-start { padding-inline: 10px; font-size: 13px; }
}

/* Starting: what takes the risk away, under the buttons and over the plans. */
.start-note { margin-top: 12px; font-size: 14px; font-weight: 600; line-height: 1.5; color: var(--muted); }
.start-note.center { margin-top: 18px; text-align: center; }
.btn .i-solid, .tile-listen .i-solid { fill: currentColor; stroke: none; }
.listen-time { font-weight: 500; font-variant-numeric: tabular-nums; opacity: .7; }
.industry-start { margin-top: clamp(20px, 3vw, 30px); }
.industry-actions, .plan-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.plan-actions { justify-content: center; margin-top: 34px; }
.roi-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 18px; }
.roi-actions .btn { margin-top: 0; }
.roi-prices { color: #fff; font-weight: 600; text-underline-offset: 4px; }
/* The closing band: "Zacznij za darmo" first and as wide as the row of buttons under it (the column is as wide as that
   row, never wider than the band), larger than they are. */
.cta-side:has(> .cta-start) { display: grid; grid-template-columns: minmax(0, max-content); align-content: center; }
.cta-start { min-height: 60px; font-size: 18px; }
.cta-start + small { margin-top: 28px; }
.cta-start + .cta-buttons { margin-top: 12px; }
@media (max-width: 560px) { .industry-actions .btn, .plan-actions .btn { width: 100%; } }

/* The home page's #calendar: a phone with Google Calendar (assets/img/calendar-phone-<lang>-*, made from a Pexels photo,
   tools/site/PHOTOS.md) and, small, over its left edge beside the phone, the owner's SMS (under the photo below 1240 px, where the
   column leaves no room beside it). */
.cal-photo { position: relative; max-width: 460px; margin-left: auto; }
.cal-photo img { display: block; width: 100%; height: auto; border-radius: 28px; box-shadow: var(--shadow-lg); background: #CFCFCF; }
.cal-sms { position: absolute; left: -30%; top: 44%; display: grid; gap: 8px; width: 250px; }
/* dark, as a phone's notifications: a white card would merge with the calendar's white screen behind it */
.cal-sms .sms-toast { max-width: none; gap: 10px; padding: 10px 12px 10px 10px; border-radius: 14px; background: rgba(24, 24, 27, .94); box-shadow: var(--shadow-lg); color: #F4F4F5; font-size: 13px; line-height: 1.4; }
.cal-sms .sms-toast strong { font-size: 12px; color: #A1A1AA; }
.cal-sms .sms-toast .fi { width: 30px; height: 30px; border-radius: 9px; background: var(--accent); }
.cal-sms .sms-toast .fi .i { width: 16px; height: 16px; }
@media (max-width: 1240px) { .cal-sms { position: static; width: auto; margin-top: 16px; } }
@media (max-width: 920px) { .cal-photo { margin-inline: auto; } }

/* Pricing: minutes as calls and the free month in numbers in the comparison (small, under the number), the packs
   folded away under an orange link (#packs, a <details>; site.js opens it for a link to it), the calculator against
   Recepcja's price. */
.plan-table td.num small { display: block; margin-top: 2px; color: var(--muted); font-size: 12px; font-weight: 500; }
.plan-table td.num span + small { margin-top: 4px; }
.packs-more { margin-top: 18px; text-align: center; }
.packs-toggle { display: inline-flex; align-items: center; gap: 8px; padding: 6px 4px; color: var(--accent); font-size: 15.5px; font-weight: 700; cursor: pointer; }
.packs-toggle:hover { color: var(--accent-dark); }
.packs-toggle:hover > span { text-decoration: underline; text-underline-offset: 4px; }
.packs-more > .packs { margin-top: 26px; text-align: left; }
.packs-more summary, .industry-more summary { list-style: none; }
.packs-more summary::-webkit-details-marker, .industry-more summary::-webkit-details-marker { display: none; }
.packs-toggle .packs-chevron { width: 18px; height: 18px; transform: rotate(90deg); transition: transform .2s ease; }
.packs-more[open] .packs-toggle .packs-chevron, .industry-more[open] .packs-toggle .packs-chevron { transform: rotate(-90deg); }
.packs-more .packs-hide, .packs-more[open] .packs-show { display: none; }
.packs-more[open] .packs-hide { display: inline; }
.roi-compare { color: #D4D4D8; }

/* The closing band: "Masz pytania? …" over the e-mail and the company's phone. */
.cta-side small + .cta-buttons { margin-top: 4px; }
/* The brochure, a small link at the band's end (not one of the contact buttons). */
.cta-band p.cta-brochure { margin-top: 10px; font-size: 14px; }
.cta-band .cta-buttons + p.cta-brochure { margin-top: 22px; }
.cta-brochure a { display: inline-flex; align-items: center; gap: 8px; color: #D4D4D8; font-weight: 600; text-underline-offset: 3px; }
.cta-brochure a:hover { color: var(--accent-bright); }
.cta-brochure .i { width: 16px; height: 16px; }

/* No sticky call bar on these pages, so the footer needs no room for it on a phone (style.css adds it). */
@media (max-width: 700px) { .site-footer { padding-bottom: 36px; } }

/* The home page: what Klara does, as the call's four steps (#features), numbered and joined by a line. */
.call-steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.call-steps::before { content: ""; position: absolute; top: 47px; left: 12%; right: 12%; height: 2px; background: var(--accent); opacity: .35; }
.call-step { position: relative; padding: 26px 22px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.call-step h3 { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; font-size: 22px; }
.call-step-nr { display: grid; flex: 0 0 auto; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--accent); color: #fff; font: 800 19px/1 var(--font-display); }
.call-step ul { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.call-step li { display: flex; align-items: flex-start; gap: 12px; }
.call-step .icon-box { flex: 0 0 auto; width: 38px; height: 38px; border-radius: 11px; }
.call-step .icon-box .i { width: 19px; height: 19px; }
.call-step p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--muted); }
.call-step p strong { color: var(--ink); }
.call-steps-rules { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 22px 0 0; padding: 18px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); font-size: 16.5px; }
.call-steps-rules .icon-box { flex: 0 0 auto; width: 40px; height: 40px; }
@media (max-width: 1000px) {
  .call-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .call-steps::before { display: none; }
}
@media (max-width: 700px) {
  .call-steps { grid-template-columns: 1fr; }
  .call-steps-rules { justify-content: flex-start; }
}

/* The home page: the industries as tiles, each a link to the industry's page and, under it, its sample call's button
   (the browser's own player without JavaScript). */
.industry-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.industry-tile { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: transform .2s ease, box-shadow .2s ease; }
.industry-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.industry-tile img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: #D9D4CB; }
.industry-link { display: flex; flex: 1 1 auto; flex-direction: column; color: inherit; text-decoration: none; }
.industry-body { display: flex; flex: 1 1 auto; flex-direction: column; gap: 6px; padding: 20px 22px 22px; }
.industry-body strong { font: 800 21px/1.2 var(--font-display); letter-spacing: -.02em; }
.industry-body small { font-size: 15px; line-height: 1.5; color: var(--muted); }
.industry-go { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 10px; font-size: 15px; font-weight: 700; color: var(--accent); }
.industry-go .i { width: 18px; height: 18px; }
.tile-listen { border-top: 1px solid var(--line); }
.tile-listen button { display: none; align-items: center; gap: 10px; width: 100%; min-height: 54px; padding: 14px 22px; border: 0; background: transparent; color: var(--ink); font: 700 15px var(--font); text-align: left; cursor: pointer; }
.js .tile-listen button { display: flex; }
.tile-listen button:hover, .tile-listen.playing button { background: var(--bg-alt); }
.tile-listen button:focus-visible { outline-offset: -4px; }
.tile-listen .i { width: 20px; height: 20px; color: var(--accent); }
.tile-listen audio { display: block; width: 100%; }
.js .tile-listen audio { display: none; }
.tile-time { margin-left: auto; color: var(--muted); font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tile-listen .i-tile-pause, .tile-pause-label, .tile-listen.playing .i-solid:not(.i-tile-pause), .tile-listen.playing .tile-play-label { display: none; }
.tile-listen.playing .i-tile-pause { display: block; }
.tile-listen.playing .tile-pause-label { display: inline; }
/* Every kind of business Klara takes on (business-pl/en.properties), by its category, under the tiles; the kinds with a page of their own are links.
   Folded by default (<details>: the list stays in the HTML for search engines) under an orange link, as the packs (.packs-toggle). */
.industry-more { margin-top: 28px; text-align: center; }
.industry-more-hide, .industry-more[open] .industry-more-show { display: none; }
.industry-more[open] .industry-more-hide { display: inline; }
.industry-more-box { margin-top: 26px; padding: 28px 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-alt); text-align: left; }
.industry-more-groups { display: grid; gap: 16px; margin: 0; }
.industry-more-groups > div { display: grid; grid-template-columns: 170px 1fr; gap: 6px 18px; align-items: baseline; }
.industry-more-groups dt { font-size: 15px; font-weight: 700; color: var(--ink); }
.industry-more-groups dd { margin: 0; }
.industry-more-groups ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.industry-more-groups li { padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: 14px; line-height: 1.4; color: var(--ink); }
.industry-more-groups li:has(a) { border-color: var(--accent-soft); background: var(--accent-soft); }
.industry-more-groups li a { display: block; margin: -5px -12px; padding: 5px 12px; border-radius: inherit; color: var(--accent-dark); font-weight: 700; text-decoration: none; }
.industry-more-groups li a:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 560px) { .industry-more-box { padding: 22px 18px; } .industry-more-groups > div { grid-template-columns: 1fr; } }
.industry-other { margin: 24px 0 0; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); }
.industry-other a { color: var(--accent); font-weight: 600; text-underline-offset: 3px; }
@media (max-width: 920px) { .industry-tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .industry-tiles { grid-template-columns: 1fr; } }

/* The industries' pages: the plans in short, each card a link to the home page's pricing. */
.plan-summary { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.plan-mini { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 26px 22px 22px; border: 2px solid var(--line); border-radius: 22px; background: #fff; color: inherit; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.plan-mini:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.plan-mini.featured { border-color: var(--ink); box-shadow: var(--shadow); }
.plan-mini .badge { left: 20px; }
.plan-mini strong { font: 800 22px/1.15 var(--font-display); letter-spacing: -.02em; }
.plan-mini-price { font: 800 26px/1.1 var(--font-display); letter-spacing: -.02em; color: var(--ink); }
.plan-mini-price em { font: 600 13.5px var(--font); font-style: normal; letter-spacing: 0; color: var(--muted); white-space: nowrap; }
.plan-mini small { flex: 1 1 auto; font-size: 15px; line-height: 1.5; color: var(--muted); }
.plan-inc { align-self: flex-start; margin-top: 6px; padding: 4px 10px; border-radius: 8px; background: var(--bg-alt); font-size: 13.5px; font-weight: 700; color: var(--ink); }
@media (max-width: 1080px) { .plan-summary { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .plan-summary { grid-template-columns: 1fr; } }

/* Whose page this is, at the top of an industry's page: the industry's icon, "Klara dla …" in large letters (the
   industry in the accent colour) and the way to the other industries. */
.industry-top { padding: clamp(24px, 4vw, 44px) 0 clamp(28px, 4vw, 48px); }
.industry-top-inner { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 28px); }
.industry-top .icon-box { flex: none; width: clamp(60px, 7vw, 88px); height: clamp(60px, 7vw, 88px); border-radius: 24px; background: var(--accent); color: #fff; box-shadow: 0 14px 30px -14px rgba(194, 65, 12, .8); }
.industry-top .icon-box .i { width: 46%; height: 46%; }
.industry-top-text { flex: 1 1 auto; min-width: 0; }
.industry-top .pill { margin-bottom: 12px; }
.industry-top h1 { font-size: clamp(32px, 4.6vw, 58px); letter-spacing: -.035em; line-height: 1.02; }
.industry-all { display: inline-flex; flex: none; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; color: var(--ink); text-decoration: none; opacity: .72; transition: opacity .15s ease; }
.industry-all:hover { opacity: 1; }
.industry-all .i { width: 18px; height: 18px; }
@media (max-width: 700px) {
  .industry-top-inner { flex-wrap: wrap; }
  .industry-top-text { flex-basis: calc(100% - 100px); }
  .industry-all { width: 100%; }
}

/* "Klara odbiera za Ciebie" over the photo of "Znasz to?": at the top where the bottom of the photo has a person or
   an animal (the script's note_on_top). */
.float-klara.float-top { top: 8%; bottom: auto; }


/* An industry's page, under "Klara dla …": what Klara does for this business, in a sentence. */
.industry-lead { max-width: 780px; margin-bottom: 24px; font-size: clamp(17px, 1.7vw, 21px); line-height: 1.55; color: var(--ink); }

/* An industry's page, under the sample call: what the call leaves (the calendar's entry, the owner's SMS, the visit's link). */
.after-call { margin-top: clamp(44px, 6vw, 80px); }
.after-call > h3 { margin-bottom: 22px; font-size: clamp(22px, 2.4vw, 28px); }
.after-call .card { padding: 26px; }
.after-call .card h4 { margin: 18px 0 8px; font-size: 19px; }
.after-call .card p { font-size: 15.5px; line-height: 1.55; }
.after-call .example { margin-top: 14px; padding: 12px 14px; border-left: 3px solid var(--accent); border-radius: 0 12px 12px 0; background: var(--bg-alt); color: var(--ink); font-size: 14.5px; line-height: 1.45; overflow-wrap: anywhere; }
.after-call .example strong { display: block; margin-bottom: 2px; }

/* An industry's page, "Z czym dzwonią klienci": what the caller says, as a speech bubble, and what Klara does with it. */
.case-q { align-self: flex-start; padding: 12px 16px; border: 1px solid #E2DCD2; border-radius: 18px 18px 18px 6px; background: var(--bg); color: var(--ink); font-size: 16px; font-weight: 600; line-height: 1.4; }
.card.case { display: flex; flex-direction: column; padding: 26px; }
.card.case h3 { display: flex; align-items: center; gap: 10px; margin: 20px 0 8px; font-size: 19px; }
.card.case .case-a { font-size: 15.5px; line-height: 1.55; }
.card.case .case-a a { color: var(--accent); font-weight: 600; text-underline-offset: 3px; white-space: nowrap; }
.card.case .case-a a:hover { color: var(--accent-dark); }

/* An industry's page: the way from its own questions to the home page's, and the three steps of the start. */
.faq-more { margin-top: 34px; text-align: center; }
#start .steps-sm { margin-top: 0; padding: 0; list-style: none; }
#start .fine { margin-top: 22px; }

/* The sample call has no recording on these pages, so its bubbles aren't buttons. */
.js .chat-static[data-chat] .msg, .js .chat-static[data-chat] .sms-toast { cursor: default; }

/* The footer: four columns (the brand, the industries, the pages' links, the contact), the privacy policy and the
   terms in the last line between the company and the photos' credit. */
.footer-grid.footer-4 { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px 32px; }
.footer-grid.footer-4 > :first-child p { max-width: 360px; }
.footer-industries a[aria-current="page"] { color: var(--accent-bright); }
.footer-bottom { align-items: baseline; gap: 10px 28px; }
.footer-legal { display: inline-flex; flex-wrap: wrap; gap: 6px 22px; }
@media (max-width: 920px) {
  .footer-grid.footer-4 { grid-template-columns: repeat(3, 1fr); }
  .footer-grid.footer-4 > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .footer-grid.footer-4 { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; }
}
@media (max-width: 380px) { .footer-grid.footer-4 { grid-template-columns: 1fr; } }
