/* My Nursery Manager — public website. Brand tokens from the platform
   (legacy colours + Century Gothic / Amatic SC). No framework: small, fast. */

@font-face { font-family: 'Century Gothic'; src: url("../fonts/Century.331c11eb381c.woff2") format('woff2'); font-display: swap; }
@font-face { font-family: 'Amatic SC'; src: url("../fonts/Amatic.35dd72f7212e.woff2") format('woff2'); font-weight: 700; font-display: swap; }

:root {
  --blue: #337AB7; --blue-d: #24578a; --blue-dd: #1b4166;
  --coral: #FF7171; --coral-d: #e85a5a;
  --yellow: #FFE926; --green: #61A277; --purple: #B364A9; --celeste: #00B2B2; --orange: #FF5A24;
  --ink: #24303f; --muted: #5d6877; --line: #dfe6ee; --soft: #eef4fb; --bg: #fff;
  --radius: 16px; --shadow: 0 6px 24px rgba(20, 45, 80, .10);
  --wrap: 1140px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 'Century Gothic', 'Avenir Next', Avenir, 'Segoe UI', Arial, sans-serif; }
img, svg { display: block; max-width: 100%; }
a { color: var(--blue); }
a:hover { color: var(--blue-d); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; color: var(--blue-dd); }
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.amatic { font-family: 'Amatic SC', 'Century Gothic', cursive; font-weight: 700; letter-spacing: .01em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.center { text-align: center; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[x-cloak] { display: none !important; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .5em; padding: .8em 1.4em; border-radius: 999px; border: 2px solid transparent; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; transition: background .15s, transform .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--coral); color: #fff; }
.btn-primary:hover { background: var(--coral-d); color: #fff; }
.btn-outline { border-color: currentColor; color: var(--blue); background: transparent; }
.btn-light { background: #fff; color: var(--blue-d); }
.btn-light:hover { color: var(--blue-dd); }
.btn-ghost-light { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-ghost-light:hover { color: #fff; background: rgba(255,255,255,.12); }

/* Header */
.site-header { background: #fff; color: var(--blue-dd); position: sticky; top: 0; z-index: 50; box-shadow: 0 1px 0 var(--line), 0 4px 16px rgba(20, 45, 80, .06); }
.site-header .wrap { display: flex; align-items: center; gap: 20px; min-height: 76px; }
.brand img { height: 59px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a { color: var(--blue-dd); text-decoration: none; padding: 8px 12px; border-radius: 999px; font-size: .95rem; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--soft); color: var(--blue); }
.nav a.btn-primary, .nav a.btn-primary:hover { color: #fff; background: var(--coral); }
.nav a.btn-primary:hover { background: var(--coral-d); }
.nav .btn { margin-left: 6px; padding: .55em 1.1em; }
.menu-toggle { display: none; margin-left: auto; background: none; border: 0; color: var(--blue-dd); padding: 8px; cursor: pointer; }

/* Language switcher */
.lang { position: relative; }
.lang > button { display: flex; align-items: center; gap: 6px; background: var(--soft); color: var(--blue-dd); border: 0; border-radius: 999px; padding: 6px 10px; font: inherit; font-size: .9rem; cursor: pointer; }
.lang img, .lang-menu img { width: 20px; height: 14px; object-fit: cover; border-radius: 2px; }
.lang-menu { position: absolute; right: 0; top: calc(100% + 8px); background: #fff; border-radius: 12px; box-shadow: var(--shadow); padding: 6px; min-width: 170px; list-style: none; margin: 0; }
.lang-menu a { display: flex; gap: 10px; align-items: center; padding: 8px 10px; color: var(--ink); text-decoration: none; border-radius: 8px; }
.lang-menu a:hover, .lang-menu a[aria-current="true"] { background: var(--soft); }

@media (max-width: 960px) {
  .menu-toggle { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--coral); flex-direction: column; align-items: stretch; padding: 12px 20px 20px; gap: 2px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px; font-size: 1.05rem; color: #fff; }
  .nav a:hover, .nav a[aria-current="page"] { background: rgba(255,255,255,.18); color: #fff; }
  .lang > button { background: rgba(255,255,255,.18); color: #fff; }
  .nav .btn, .nav a.btn-primary { margin: 8px 0 0; justify-content: center; background: #fff; color: var(--coral-d); }
  .lang { order: -1; }
  .lang-menu { position: static; box-shadow: none; margin-top: 6px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
  /* The menu's links are white on coral; the language list sits on a white card: dark text there. */
  .nav .lang-menu a { color: var(--ink); padding: 9px 10px; font-size: .95rem; }
  .nav .lang-menu a:hover, .nav .lang-menu a[aria-current="true"] { background: var(--soft); color: var(--ink); }
}

/* Suggested-language bar */
.lang-bar { background: var(--yellow); color: #4d4200; font-size: .95rem; }
.lang-bar .wrap { display: flex; gap: 12px; align-items: center; justify-content: center; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; }
.lang-bar a { color: #4d4200; font-weight: 700; }
.lang-bar button { background: none; border: 0; font-size: 1.2rem; cursor: pointer; color: #4d4200; }

/* Hero */
.hero { background: linear-gradient(155deg, #163048 0%, var(--blue) 45%, #1f4f7a 100%); color: #fff; padding: 64px 0 72px; overflow: hidden; }
.hero h1 { color: #fff; }
.hero .lead { font-size: 1.2rem; color: #dcebf8; max-width: 640px; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 18px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.hero .facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; color: #e6f0fa; font-size: .95rem; }
.hero .facts li { display: flex; gap: 6px; align-items: center; }
.hero .facts svg { color: var(--yellow); width: 18px; height: 18px; }
.hero-card { background: #fff; color: var(--ink); border-radius: 22px; padding: 26px; box-shadow: 0 20px 50px rgba(0,0,0,.25); transform: rotate(1.5deg); }
.hero-card h2 { font-size: 1.1rem; color: var(--blue-d); margin: 0 0 12px; }
.report-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: .95rem; }
.report-row:last-child { border-bottom: 0; }
.pill { display: inline-block; padding: 2px 12px; border-radius: 999px; font-size: .85rem; font-weight: 700; }
.pill-green { background: #e3f3e8; color: #2f6b45; }
.pill-yellow { background: #fff7c2; color: #6b5a00; }
.pill-blue { background: #e1edf8; color: var(--blue-d); }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } .hero-card { transform: none; } }

/* Sections */
section { padding: 64px 0; }
.section-soft { background: var(--soft); }
.section-head { max-width: 760px; margin: 0 auto 36px; text-align: center; }
.kicker { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--coral-d); margin-bottom: 8px; }
.definition { font-size: 1.15rem; max-width: 820px; margin: 0 auto; }

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card { background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.card p:last-child { margin-bottom: 0; }
.card .ic { width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; margin-bottom: 14px; }
.card .ic svg { width: 24px; height: 24px; }
.ic-0 { background: var(--blue); } .ic-1 { background: var(--coral); } .ic-2 { background: var(--green); }
.ic-3 { background: var(--purple); } .ic-4 { background: var(--celeste); } .ic-5 { background: var(--orange); }

.checklist { list-style: none; padding: 0; margin: 0 0 1em; }
.checklist li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.checklist li svg { position: absolute; left: 0; top: 4px; width: 20px; height: 20px; color: var(--green); }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }
.plan { background: #fff; border: 2px solid var(--line); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; }
.plan.featured { border-color: var(--coral); box-shadow: 0 12px 34px rgba(255,113,113,.22); position: relative; }
.plan .badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--coral); color: #fff; font-size: .8rem; font-weight: 700; padding: 4px 14px; border-radius: 999px; white-space: nowrap; }
.plan h3 { font-size: 1.1rem; color: var(--muted); margin-bottom: 8px; }
.price { font-size: 2.8rem; font-weight: 700; color: var(--blue-dd); line-height: 1; }
.price small { font-size: 1rem; font-weight: 400; color: var(--muted); }
.plan .alt { color: var(--muted); font-size: .92rem; margin: 8px 0 18px; min-height: 2.8em; }
.plan .btn { margin-top: auto; justify-content: center; }
.billing-toggle { display: inline-flex; background: var(--soft); border-radius: 999px; padding: 4px; margin-bottom: 26px; }
.billing-toggle button { border: 0; background: none; font: inherit; padding: 8px 18px; border-radius: 999px; cursor: pointer; color: var(--muted); }
.billing-toggle button[aria-pressed="true"] { background: #fff; color: var(--blue-dd); font-weight: 700; box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.calc { background: var(--soft); border-radius: 20px; padding: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: center; }
.calc input[type=number] { width: 140px; }
.calc output { font-size: 2rem; font-weight: 700; color: var(--blue-dd); }
@media (max-width: 700px) { .calc { grid-template-columns: 1fr; } }
table.data { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; }
table.data th, table.data td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data th { background: var(--soft); color: var(--blue-dd); }
.table-scroll { overflow-x: auto; }

/* FAQ */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; margin-bottom: 12px; }
.faq summary { font-weight: 700; cursor: pointer; color: var(--blue-dd); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.4rem; line-height: 1; color: var(--coral); }
.faq details[open] summary::after { content: '–'; }
.faq details p { margin: 12px 0 0; }

/* Steps */
.steps { counter-reset: step; display: grid; gap: 18px; }
.step { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px 22px 22px 86px; position: relative; }
.step::before { counter-increment: step; content: counter(step); position: absolute; left: 22px; top: 20px; width: 46px; height: 46px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 700; font-size: 1.3rem; display: flex; align-items: center; justify-content: center; }

/* CTA band */
.cta-band { background: var(--coral); color: #fff; border-radius: 24px; padding: 40px; display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin: 0; }
.cta-band p { margin: 6px 0 0; color: #fff3f3; }

/* Page header + breadcrumbs */
.page-head { background: var(--soft); padding: 40px 0 34px; }
.page-head .lead { font-size: 1.15rem; color: var(--muted); max-width: 760px; margin: 0; }
.breadcrumbs { font-size: .88rem; margin-bottom: 12px; color: var(--muted); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.breadcrumbs li + li::before { content: '›'; margin-right: 6px; }
.prose { max-width: 800px; }
.prose h2 { font-size: 1.4rem; margin-top: 1.8em; }
.prose h3 { margin-top: 1.4em; }
.updated { font-size: .9rem; color: var(--muted); }

/* Forms */
.form { display: grid; gap: 16px; }
.form .row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 620px) { .form .row-2 { grid-template-columns: 1fr; } }
label { display: block; font-weight: 700; font-size: .95rem; margin-bottom: 6px; }
input[type=text], input[type=email], input[type=tel], input[type=number], textarea {
  width: 100%; font: inherit; padding: 12px 14px; border: 2px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); }
input:focus, textarea:focus { outline: none; border-color: var(--blue); }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.check input { margin-top: 5px; width: 18px; height: 18px; flex: none; }
.errorlist { list-style: none; margin: 6px 0 0; padding: 0; color: #b3261e; font-size: .9rem; }
.alert { border-radius: 12px; padding: 14px 18px; }
.alert-error { background: #fdecea; color: #8a1c14; }
.alert-success { background: #e3f3e8; color: #1f5132; }
.hp { position: absolute; left: -5000px; }
.htmx-request .btn[type=submit] { opacity: .6; pointer-events: none; }

/* Stores + rating */
.stores { display: flex; gap: 12px; flex-wrap: wrap; }
.stores a { display: inline-flex; align-items: center; gap: 8px; background: #111; color: #fff; text-decoration: none; padding: 10px 16px; border-radius: 12px; font-size: .95rem; }
.stores svg { width: 22px; height: 22px; }
.rating { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.rating .stars { color: #f5b400; letter-spacing: 2px; }

/* Footer */
.site-footer { background: var(--blue-dd); color: #c9d8e8; padding: 48px 0 28px; margin-top: 64px; font-size: .95rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer h2 { color: #fff; font-size: 1rem; margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.15); margin-top: 32px; padding-top: 20px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer-langs { display: flex; flex-wrap: wrap; gap: 6px 14px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.stripe { height: 8px; background: linear-gradient(90deg, var(--yellow) 50%, var(--coral) 50%); }
.menu-toggle svg { width: 30px; height: 30px; }
.prose p > svg { display: inline-block; width: 20px; height: 20px; vertical-align: -4px; margin-right: 6px; color: var(--blue); }

/* Screenshot frames */
figure { margin: 0; }
.browser { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 18px 44px rgba(10, 30, 60, .28); }
.browser img { width: 100%; height: auto; display: block; }
.phone { background: #fff; border: 7px solid #1f2530; border-radius: 30px; overflow: hidden; box-shadow: 0 16px 40px rgba(10, 30, 60, .30); }
.phone img { width: 100%; height: auto; }
.hero-shots { position: relative; padding-bottom: 40px; }
.hero-shots .phone { position: absolute; right: -10px; bottom: 0; width: 34%; }
.hero-shots .browser { width: 92%; }
.phones { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 460px; margin: 0 auto; }
.phones-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 900px) { .phones-4 { grid-template-columns: 1fr 1fr; } }
figcaption { font-size: .9rem; color: var(--muted); text-align: center; margin-top: 10px; }
.shot-row { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; margin-bottom: 56px; }
.shot-row:nth-child(even) > figure { order: 2; }
@media (max-width: 860px) { .shot-row { grid-template-columns: 1fr; gap: 20px; } .shot-row:nth-child(even) > figure { order: 0; } }

/* Home blocks */
.feature-split { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 860px) { .feature-split { grid-template-columns: 1fr; } }
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.feature-list li { display: flex; align-items: center; gap: 12px; font-weight: 700; color: var(--blue-dd); }
.feature-list .ic { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; flex: none; }
.feature-list .ic svg { width: 18px; height: 18px; }
.quick-steps { list-style: none; counter-reset: q; padding: 0; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; max-width: 980px; }
.quick-steps li { counter-increment: q; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 64px 22px 22px; position: relative; text-align: center; }
.quick-steps li::before { content: counter(q); position: absolute; top: 16px; left: 50%; transform: translateX(-50%); width: 40px; height: 40px; border-radius: 50%; background: var(--coral); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.quick-steps strong { display: block; color: var(--blue-dd); font-size: 1.1rem; margin-bottom: 6px; }
.quick-steps span { color: var(--muted); }
@media (max-width: 760px) { .quick-steps { grid-template-columns: 1fr; } }
.price-strip { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; margin: 20px 0 10px; }
.price-strip div { background: var(--soft); border-radius: 16px; padding: 18px 24px; min-width: 200px; }
.price-strip strong { display: block; font-size: 2rem; color: var(--blue-dd); }
.price-strip span { color: var(--muted); font-size: .92rem; }
.plan .vat { margin: 6px 0 0; font-size: .92rem; color: var(--muted); }

/* Store ratings */
.ratings { display: flex; gap: 12px; flex-wrap: wrap; }
.rating-card { display: flex; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px 16px; text-decoration: none; color: var(--ink); }
.rating-card:hover { border-color: var(--blue); }
.rating-card > svg { width: 28px; height: 28px; color: #111; }
.rating-card strong { font-size: 1.25rem; }
.rating-card .stars { color: #f5b400; letter-spacing: 1px; }
.rating-card small { color: var(--muted); }
.shot-row .ic { width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; margin-bottom: 14px; }
.shot-row .ic svg { width: 24px; height: 24px; }
.note { background: #fff7c2; color: #5b4c00; border-radius: 14px; padding: 14px 18px; }
.pillars h2 { font-size: 1.1rem; margin-bottom: 6px; }
.security-band { background: var(--blue-dd); color: #dbe7f3; }
.security-band h2 { color: #fff; }
.security-band .kicker { color: var(--yellow); }
.security-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.security-band .checklist li { color: #fff; }
.security-band .checklist svg { color: var(--yellow); }
@media (max-width: 860px) { .security-grid { grid-template-columns: 1fr; } }
.nav a, .nav .btn, .lang > button { white-space: nowrap; }
@media (max-width: 1180px) and (min-width: 961px) { .nav a { padding: 8px 8px; font-size: .9rem; } }
.mobile-login { display: none; }
@media (max-width: 960px) {
  .mobile-login { display: inline-flex; margin-left: auto; padding: 8px 14px; border: 2px solid var(--blue); border-radius: 999px; color: var(--blue-d); font-weight: 700; text-decoration: none; font-size: .95rem; }
  .mobile-login + .menu-toggle { margin-left: 4px; }
}
.help-group h2 { font-size: 1.2rem; }
.help-group ul { list-style: none; padding: 0; margin: 0; }
.help-group li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.help-group li:last-child { border-bottom: 0; }
.help-group a { font-weight: 700; text-decoration: none; }
.help-steps { padding-left: 1.3em; }
.help-steps li { margin-bottom: 12px; padding-left: 6px; }
.help-steps li::marker { color: var(--coral-d); font-weight: 700; }

/* Website assistant (chat) */
.chat-launcher { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: flex; align-items: center; gap: 8px; background: var(--coral); color: #fff; border: 0; border-radius: 999px; padding: 12px 18px; font: inherit; font-weight: 700; box-shadow: 0 8px 24px rgba(0,0,0,.2); cursor: pointer; }
.chat-launcher:hover { background: var(--coral-d); }
.chat-launcher svg { width: 22px; height: 22px; }
.chat-panel { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 380px; max-width: calc(100vw - 24px); height: 580px; max-height: calc(100vh - 40px); background: #fff; border-radius: 20px; box-shadow: 0 16px 48px rgba(10,30,60,.30); display: flex; flex-direction: column; overflow: hidden; }
.chat-head { background: var(--blue); color: #fff; padding: 14px 16px; display: flex; justify-content: space-between; gap: 10px; }
.chat-head h2 { color: #fff; font-size: 1.05rem; margin: 0; }
.chat-head p { margin: 2px 0 0; font-size: .85rem; color: #dcebf8; }
.chat-ai { display: inline-block; background: var(--yellow); color: #4d4200; font-size: .7rem; padding: 1px 6px; border-radius: 6px; vertical-align: middle; }
.chat-close { background: none; border: 0; color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.chat-body { flex: 1; overflow-y: auto; padding: 14px; background: var(--soft); display: flex; flex-direction: column; gap: 8px; }
.chat-notice { font-size: .78rem; color: var(--muted); margin: 0 0 4px; }
.chat-msg { max-width: 85%; padding: 9px 12px; border-radius: 14px; font-size: .95rem; line-height: 1.45; white-space: pre-wrap; word-wrap: break-word; }
.chat-msg.bot { background: #fff; align-self: flex-start; border-bottom-left-radius: 4px; }
.chat-msg.me { background: var(--blue); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.chat-typing { display: flex; gap: 4px; }
.chat-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: chat-dot 1s infinite; }
.chat-typing i:nth-child(2) { animation-delay: .15s; } .chat-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes chat-dot { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
.chat-suggest { display: flex; flex-wrap: wrap; gap: 6px; }
.chat-suggest button { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font: inherit; font-size: .85rem; color: var(--blue-d); cursor: pointer; }
.chat-suggest button:hover { border-color: var(--blue); }
.chat-error { color: #b3261e; font-size: .85rem; margin: 0; }
.chat-input { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--line); }
.chat-input textarea { flex: 1; resize: none; border-radius: 12px; padding: 10px 12px; font-size: .95rem; max-height: 110px; }
.chat-input .btn { padding: 0 14px; }
.chat-human, .chat-support { font-size: .85rem; }
.chat-human { background: none; border: 0; color: var(--blue-d); text-decoration: underline; padding: 0 12px 10px; cursor: pointer; font: inherit; font-size: .85rem; text-align: left; }
.chat-support { padding: 10px 12px 0; }
.chat-support label { font-weight: 400; font-size: .85rem; }
.chat-row { display: flex; gap: 6px; }
.chat-row input { padding: 8px 10px; font-size: .9rem; }
.chat-row .btn { padding: 8px 12px; }
.chat-ok { color: #1f5132; margin: 0 0 8px; }
@media (max-width: 520px) {
  .chat-panel { right: 0; bottom: 0; width: 100vw; max-width: 100vw; height: 88vh; max-height: 88vh; border-radius: 20px 20px 0 0; }
  .chat-launcher { right: 14px; bottom: 14px; }
  .chat-launcher span { display: none; }
}
.chat-panel { padding: 0; }
.brand-band { background: linear-gradient(160deg, #fff8e1 0%, #fff 60%); }
.brand-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; }
.brand-shots { display: flex; gap: 20px; align-items: center; }
.brand-shots .browser { flex: 1 1 68%; min-width: 0; }
.brand-shots .phone { flex: 0 0 28%; min-width: 0; }
@media (max-width: 860px) { .brand-grid { grid-template-columns: 1fr; } }

/* "Ask the virtual assistant" link-style button (FAQ, help index): opens the chat via the open-chat event. */
.ask-assistant { background: none; border: 0; padding: 0; font: inherit; color: var(--blue); text-decoration: underline; cursor: pointer; }
.ask-assistant:hover, .ask-assistant:focus-visible { text-decoration: none; }
