/* Bright Smile — shared chrome (nav, footer, buttons, page hero, prose).
   Loaded on every page that uses this theme's templates. Scoped under
   .bs-page so nothing here can leak into anything else on the site. */

.bs-page{
  --ink:#12181A; --ink-2:#1B2422; --porcelain:#FBFAF6; --paper:#FFFFFF;
  --emerald:#1F7A5C; --emerald-light:#3FCF9E; --emerald-soft:#E7F3EC;
  --coral:#FF6B4A; --coral-dark:#E14B2E; --slate:#3E4A48; --muted:#7C8886;
  --mist:#E4EAE7; --line-dark:rgba(255,255,255,.12);
}
.bs-page, .bs-page *{ box-sizing:border-box; }
.bs-page{
  background:var(--porcelain); color:var(--slate);
  font-family:'Plus Jakarta Sans', system-ui, sans-serif; line-height:1.6; -webkit-font-smoothing:antialiased;
}
.bs-page h1, .bs-page h2, .bs-page h3, .bs-page h4{ font-family:'Sora', system-ui, sans-serif; color:var(--ink); text-wrap:balance; margin:0; font-weight:700; }
.bs-page p{ margin:0; }
.bs-page a{ color:inherit; text-decoration:none; }
.bs-page img{ max-width:100%; display:block; }
.bs-page .bs-wrap{ max-width:1180px; margin:0 auto; padding:0 28px; }
.bs-page .bs-eyebrow{ font-family:'IBM Plex Mono', monospace; font-size:11.5px; font-weight:600; letter-spacing:.16em; text-transform:uppercase; }
.bs-page .bs-mono{ font-family:'IBM Plex Mono', monospace; }

.bs-page .bs-btn{ display:inline-flex; align-items:center; justify-content:center; gap:8px; font-family:'Plus Jakarta Sans'; font-weight:700; font-size:15px; padding:14px 26px; border-radius:9px; cursor:pointer; border:none; transition:transform .18s ease, box-shadow .18s ease, background .18s ease; }
.bs-page .bs-btn-coral{ background:var(--coral); color:#fff; box-shadow:0 10px 26px rgba(255,107,74,.35); }
.bs-page .bs-btn-coral:hover{ background:var(--coral-dark); transform:translateY(-2px); box-shadow:0 14px 32px rgba(255,107,74,.45); }
.bs-page .bs-btn-outline{ background:transparent; border:1.5px solid var(--mist); color:var(--ink); }
.bs-page .bs-btn-outline:hover{ border-color:var(--emerald); color:var(--emerald); }

/* ============ NAV ============ */
.bs-page .bs-nav{ position:sticky; top:0; z-index:200; padding:16px 0; background:var(--ink); box-shadow:0 1px 0 rgba(255,255,255,.07); transition:padding .25s ease, box-shadow .25s ease; }
.bs-page .bs-nav.is-solid{ padding:11px 0; box-shadow:0 12px 32px rgba(0,0,0,.22), 0 1px 0 var(--emerald-light); }
.bs-page .bs-nav-inner{ display:flex; align-items:center; justify-content:space-between; gap:24px; }
.bs-page .bs-brand{ display:flex; align-items:center; gap:9px; font-family:'Sora'; font-weight:700; font-size:16.5px; color:#fff; white-space:nowrap; }
.bs-page .bs-brand .bs-dot{ width:8px; height:8px; border-radius:50%; background:var(--coral); box-shadow:0 0 0 4px rgba(255,107,74,.25); flex-shrink:0; }
.bs-page .bs-menu{ display:flex; align-items:center; gap:28px; }
.bs-page .bs-menu a{ color:#DCE6E2; font-size:14px; font-weight:600; position:relative; padding:4px 0; white-space:nowrap; }
.bs-page .bs-menu a.bs-current{ color:#fff; }
.bs-page .bs-menu a::after{ content:""; position:absolute; left:0; bottom:-2px; width:0; height:2px; background:var(--emerald-light); transition:width .2s ease; }
.bs-page .bs-menu a:hover{ color:#fff; }
.bs-page .bs-menu a:hover::after, .bs-page .bs-menu a.bs-current::after{ width:100%; }
.bs-page .bs-nav-cta{ display:flex; align-items:center; gap:18px; flex-shrink:0; }
.bs-page .bs-nav-phone{ color:#B9C4C0; font-size:13px; }
.bs-page .bs-nav-phone b{ color:#fff; }
.bs-page .bs-burger{ display:none; width:38px;height:32px; border:none; background:transparent; flex-direction:column; align-items:center; justify-content:center; gap:6px; cursor:pointer; flex-shrink:0; padding:0; }
.bs-page .bs-burger span{ width:22px;height:2px;background:#fff;border-radius:2px;transition:transform .2s ease, opacity .2s ease; }
.bs-page .bs-nav.bs-menu-open .bs-burger span:nth-child(1){ transform:translateY(8px) rotate(45deg); }
.bs-page .bs-nav.bs-menu-open .bs-burger span:nth-child(2){ opacity:0; }
.bs-page .bs-nav.bs-menu-open .bs-burger span:nth-child(3){ transform:translateY(-8px) rotate(-45deg); }
.bs-page .bs-mobile-menu{ display:none; flex-direction:column; background:var(--ink-2); border-top:1px solid rgba(255,255,255,.08); padding:4px 28px 22px; }
.bs-page .bs-mobile-menu a{ color:#DCE6E2; font-size:15px; font-weight:600; padding:13px 0; border-bottom:1px solid rgba(255,255,255,.08); }
.bs-page .bs-mobile-menu .bs-btn{ margin-top:16px; width:100%; border-bottom:none; padding:14px 26px; }
.bs-page .bs-nav.bs-menu-open .bs-mobile-menu{ display:flex; }

@media (max-width:1050px){
  .bs-page .bs-menu, .bs-page .bs-nav-phone{ display:none; }
  .bs-page .bs-nav-cta .bs-btn{ display:none; }
  .bs-page .bs-burger{ display:flex; }
}
@media (min-width:1051px){
  .bs-page .bs-mobile-menu{ display:none !important; }
}
@media (max-width:480px){
  .bs-page .bs-brand-suffix{ display:none; }
  .bs-page .bs-nav-inner{ gap:12px; }
}

/* ============ INNER-PAGE HERO ============ */
.bs-page .bs-page-hero{ position:relative; background:var(--porcelain); overflow:hidden; padding:64px 0 56px; border-bottom:1px solid var(--mist); }
.bs-page .bs-page-hero::before{ content:""; position:absolute; inset:0; background:radial-gradient(700px 340px at 85% 0%, rgba(31,122,92,.08), transparent 62%); }
.bs-page .bs-page-hero-inner{ position:relative; max-width:760px; }
.bs-page .bs-page-hero .bs-eyebrow{ color:var(--emerald); margin-bottom:12px; display:block; }
.bs-page .bs-page-hero h1{ font-size:clamp(2rem,4vw,2.75rem); line-height:1.1; }

/* ============ PROSE (page content, unchanged text, restyled) ============ */
.bs-page .bs-prose-wrap{ padding:64px 0 100px; }
.bs-page .bs-prose{ max-width:760px; margin:0 auto; }
.bs-page .bs-prose > .bs-prose-lede{ font-size:1.08rem; color:var(--slate); margin-bottom:36px; max-width:66ch; }
.bs-page .bs-prose-card{ background:var(--paper); border:1px solid var(--mist); border-radius:16px; padding:30px 32px; margin-bottom:20px; }
.bs-page .bs-prose-card h2{ font-size:1.3rem; margin-bottom:12px; }
.bs-page .bs-prose-card h3{ font-size:1.08rem; margin:18px 0 8px; }
.bs-page .bs-prose-card p{ font-size:14.5px; color:var(--slate); line-height:1.7; margin-bottom:10px; }
.bs-page .bs-prose-card p:last-child{ margin-bottom:0; }
.bs-page .bs-prose-card ul, .bs-page .bs-prose-card ol{ margin:0 0 10px; padding-left:20px; color:var(--slate); font-size:14.5px; line-height:1.7; }
.bs-page .bs-prose-card li{ margin-bottom:4px; }
.bs-page .bs-prose-card img{ border-radius:12px; margin:14px 0; }
.bs-page .bs-prose-card a{ color:var(--emerald); text-decoration:underline; text-underline-offset:2px; }
.bs-page .bs-prose-card blockquote{ border-left:3px solid var(--emerald); padding-left:16px; margin:14px 0; color:var(--ink); font-style:italic; }
.bs-page .bs-prose-card table{ width:100%; border-collapse:collapse; font-size:14px; margin:10px 0; }
.bs-page .bs-prose-card th, .bs-page .bs-prose-card td{ border:1px solid var(--mist); padding:8px 10px; text-align:left; }
.bs-page .bs-prose input[type="text"], .bs-page .bs-prose input[type="email"], .bs-page .bs-prose input[type="tel"], .bs-page .bs-prose textarea{
  font-family:'Plus Jakarta Sans'; border:1px solid var(--mist); border-radius:9px; padding:11px 13px; font-size:14px; width:100%; margin-bottom:12px; background:var(--porcelain); color:var(--ink);
}
.bs-page .bs-prose input[type="submit"], .bs-page .bs-prose button[type="submit"]{
  font-family:'Plus Jakarta Sans'; font-weight:700; background:var(--coral); color:#fff; border:none; border-radius:9px; padding:12px 24px; cursor:pointer;
}

/* ============ SECTION SHELL (shared with homepage) ============ */
.bs-page .bs-section{ padding:96px 0; }
.bs-page .bs-section-head{ max-width:640px; margin-bottom:52px; }
.bs-page .bs-section-head.bs-center{ margin-left:auto; margin-right:auto; text-align:center; }
.bs-page .bs-section-head .bs-eyebrow{ color:var(--emerald); margin-bottom:14px; display:block; }
.bs-page .bs-section-head h2{ font-size:clamp(1.75rem,2.8vw,2.35rem); }
.bs-page .bs-section-head p{ margin-top:16px; font-size:1.02rem; color:var(--slate); max-width:56ch; }
.bs-page .bs-section-head.bs-center p{ margin-left:auto; margin-right:auto; }

/* ============ TELEGRAM AI ASSISTANT ============ */
.bs-page .bs-tg-grid{ display:grid; grid-template-columns:.85fr 1.15fr; gap:28px; align-items:stretch; }
@media (max-width:780px){ .bs-page .bs-tg-grid{ grid-template-columns:1fr; } }
.bs-page .bs-tg-qr-card{ background:var(--paper); border:1px solid var(--mist); border-radius:16px; padding:32px; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; gap:6px; }
.bs-page .bs-tg-qr-card img{ border-radius:10px; margin-bottom:4px; }
.bs-page .bs-tg-caption{ font-size:13.5px; font-weight:700; color:var(--ink); }
.bs-page .bs-tg-handle{ font-family:'IBM Plex Mono'; font-size:12.5px; color:var(--emerald); }
.bs-page .bs-tg-handle:hover{ text-decoration:underline; }
.bs-page .bs-tg-copy{ background:var(--paper); border:1px solid var(--mist); border-radius:16px; padding:32px; display:flex; flex-direction:column; justify-content:center; gap:16px; }
.bs-page .bs-tg-copy h4{ font-family:'Plus Jakarta Sans'; font-size:13px; font-weight:700; color:var(--muted); letter-spacing:.04em; text-transform:uppercase; margin:0; }
.bs-page .bs-tg-chips{ display:flex; flex-wrap:wrap; gap:10px; }
.bs-page .bs-chip-q{ font-size:13px; color:var(--slate); background:var(--porcelain); border:1px solid var(--mist); border-radius:20px; padding:8px 14px; }
.bs-page .bs-tg-copy .bs-btn{ align-self:flex-start; margin-top:4px; }

/* ============ FOOTER ============ */
.bs-page .bs-footer{ background:var(--ink); color:#B9C4C0; padding:80px 0 0; }
.bs-page .bs-foot-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1.2fr; gap:40px; padding-bottom:56px; border-bottom:1px solid var(--line-dark); }
@media (max-width:900px){ .bs-page .bs-foot-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .bs-page .bs-foot-grid{ grid-template-columns:1fr; } }
.bs-page .bs-foot-brand .bs-brand{ margin-bottom:14px; }
.bs-page .bs-foot-brand p{ font-size:13.5px; color:#8FA09B; max-width:32ch; line-height:1.6; margin-bottom:20px; }
.bs-page .bs-social-row{ display:flex; gap:10px; }
.bs-page .bs-social-row a{ width:34px;height:34px; border-radius:50%; border:1px solid var(--line-dark); display:flex; align-items:center; justify-content:center; }
.bs-page .bs-social-row a:hover{ border-color:var(--emerald-light); color:var(--emerald-light); }
.bs-page .bs-foot-col h5{ color:#fff; font-family:'Plus Jakarta Sans'; font-size:13px; font-weight:700; letter-spacing:.04em; text-transform:uppercase; margin-bottom:18px; }
.bs-page .bs-foot-col a{ display:block; font-size:13.5px; color:#9FADA9; margin-bottom:11px; }
.bs-page .bs-foot-col a:hover{ color:#fff; }
.bs-page .bs-foot-contact div{ font-size:13.5px; color:#9FADA9; margin-bottom:11px; line-height:1.5; }
.bs-page .bs-foot-contact b{ color:#fff; display:block; font-size:11px; font-family:'IBM Plex Mono'; letter-spacing:.06em; text-transform:uppercase; margin-bottom:3px; }
.bs-page .bs-foot-bottom{ display:flex; justify-content:space-between; align-items:center; padding:22px 0; font-size:12px; color:#7A8987; flex-wrap:wrap; gap:10px; }
.bs-page .bs-foot-bottom a{ color:#7A8987; }
.bs-page .bs-foot-bottom a:hover{ color:#fff; }
.bs-page .bs-foot-legal{ display:flex; gap:16px; flex-wrap:wrap; }
.bs-page .bs-foot-legal a{ color:#7A8987; }
.bs-page .bs-foot-legal a:hover{ color:#fff; }

