:root {
  --brand: #2D79EB;        /* your original blue */
  --brand-deep: #1A56BF;   /* nav, hero, buttons on white */
  --brand-night: #123F8C;  /* AI section and footer */
  --aqua: #6CE5E8;         /* your original accent */
  --ink: #0F2744;
  --slate: #4F5F73;
  --mist: #F3F7FE;
  --line: #DCE5F2;
  --font-display: 'Sora', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: var(--font-body); color: var(--ink); font-size: 1.05rem; line-height: 1.65; }
h1, h2, h3, h4 { font-family: var(--font-display); letter-spacing: -0.02em; line-height: 1.15; }
a { color: var(--brand-deep); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.site-nav :focus-visible, .hero :focus-visible, .ai :focus-visible, .site-footer :focus-visible { outline-color: var(--aqua); }

/* Buttons (.btn-amber is the main accent button; it is aqua now) */
.btn { border-radius: 6px; font-weight: 700; }
.btn-amber { background: var(--aqua); color: var(--ink); border: 0; }
.btn-amber:hover { background: #8CEEF0; color: var(--ink); }
.btn-teal { background: var(--brand-deep); color: #fff; border: 0; }
.btn-teal:hover { background: var(--brand-night); color: #fff; }
.btn-outline-dark { color: var(--brand-deep); border-color: var(--brand-deep); }
.btn-outline-dark:hover { background: var(--brand-deep); border-color: var(--brand-deep); color: #fff; }

/* Navigation */
.site-nav { position: sticky; top: 0; z-index: 100; background: var(--brand-deep); }
.navbar-brand { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; }
.site-nav .nav-link { color: #D6E4FB; font-weight: 500; }
.site-nav .nav-link:hover { color: #fff; }

/* Hero */
.hero { background: var(--brand-deep); color: #fff; padding: 6rem 0 7rem; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); max-width: 15ch; margin-bottom: 1.25rem; }
.hero .lead { color: #E4EEFF; max-width: 36rem; font-size: 1.15rem; }
.hero-phones { color: #BFD4F7; margin-top: 1.5rem; font-size: 0.95rem; }

/* Chat example in the hero (one orchestrated moment on page load) */
.chat-mock { background: #fff; color: var(--ink); border-radius: 14px; padding: 1.25rem; box-shadow: 0 24px 60px rgba(8, 28, 70, 0.4); }
.chat-mock-head { font-size: 0.85rem; color: var(--slate); padding-bottom: 0.9rem; margin-bottom: 1rem; border-bottom: 1px solid var(--line); }
.bubble { max-width: 88%; padding: 0.7rem 1rem; border-radius: 14px; margin-bottom: 0.75rem; font-size: 0.95rem; line-height: 1.5;
  opacity: 0; transform: translateY(6px); animation: bubble-in 0.4s ease forwards; animation-delay: var(--d, 0s); }
.bubble-user { background: var(--mist); margin-left: auto; border-bottom-right-radius: 4px; }
.bubble-bot { background: var(--brand); color: #fff; border-bottom-left-radius: 4px; }
@keyframes bubble-in { to { opacity: 1; transform: none; } }

/* Stats */
.stats { background: var(--mist); padding: 3rem 0 2rem; border-bottom: 1px solid var(--line); }
.stat { font-family: var(--font-display); font-weight: 700; font-size: 2.6rem; color: var(--brand-deep); line-height: 1; }
.stats p { margin: 0.4rem 0 0; color: var(--slate); }

/* Sections */
.section { padding: 5rem 0; }
.section-alt { background: var(--mist); }
.section-head { max-width: 40rem; margin-bottom: 3rem; }
.section-head h2, .section h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); margin-bottom: 0.75rem; color: var(--brand-night); }
.section-head p { color: var(--slate); }

/* Services lists */
.svc-col h3 { font-size: 1.15rem; padding-top: 0.9rem; border-top: 3px solid var(--brand-deep); margin-bottom: 0.5rem; }
.svc-col-accent h3 { border-top-color: var(--aqua); }
.svc-col li { display: grid; grid-template-columns: 1.6rem 1fr; column-gap: 0.75rem; padding: 0.9rem 0; border-bottom: 1px solid var(--line); }
.svc-col li i { grid-row: span 2; color: var(--brand); font-size: 1.15rem; padding-top: 0.15rem; }
.svc-col li span { color: var(--slate); font-size: 0.95rem; }

/* AI */
.ai { background: var(--brand-night); color: #fff; padding: 6.5rem 0; }
.ai h2 { color: #fff; font-size: clamp(2.2rem, 4.5vw, 3.4rem); }
.ai .lead { color: #D6E4FB; font-size: 1.2rem; }
.ai-item { border-left: 3px solid var(--aqua); padding-left: 1rem; }
.ai-item h3 { font-size: 1.2rem; margin-bottom: 0.4rem; }
.ai-item p { color: #D6E4FB; margin: 0; font-size: 0.98rem; }

/* Software / websites */
.feature-title { font-size: 1.5rem; color: var(--brand-deep); margin-bottom: 0.75rem; }
.product-row h3 { font-size: 1.6rem; margin-bottom: 0.75rem; color: var(--brand-deep); }
.ticks { list-style: none; padding: 0; margin: 1rem 0 0; }
.ticks li { position: relative; padding-left: 1.7rem; margin-bottom: 0.45rem; }
.ticks li::before { content: "\F26E"; font-family: "bootstrap-icons"; position: absolute; left: 0; color: var(--brand); }

/* How we work */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; }
.steps li { counter-increment: step; border-top: 3px solid var(--brand-deep); padding-top: 1rem; }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; color: var(--brand); margin-bottom: 0.25rem; }
.steps h3 { font-size: 1.15rem; color: var(--brand-night); }
.steps p { color: var(--slate); margin: 0; }

/* Pricing */
.plan { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 1.75rem; height: 100%; display: flex; flex-direction: column; }
.plan .ticks { flex: 1; font-size: 0.97rem; }
.plan-featured { border: 2px solid var(--brand); box-shadow: 0 12px 32px rgba(45, 121, 235, 0.15); }
.plan h3 { font-size: 1.2rem; }
.price { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; margin: 0.5rem 0 1rem; color: var(--brand-deep); }
.plan-note { color: var(--slate); font-size: 0.9rem; }

/* FAQ */
.faq-list .accordion-button { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--brand-night); }
.faq-list .accordion-button:not(.collapsed) { background: #fff; color: var(--brand-deep); box-shadow: none; }
.faq-list .accordion-body { color: var(--slate); }

/* About */
.about-item { border-top: 1px solid var(--line); padding: 1rem 0; }
.about-item h3 { font-size: 1.15rem; color: var(--brand-deep); }
.about-item p { margin: 0; color: var(--slate); }

/* Contact */
.contact-item { display: flex; gap: 1rem; margin-bottom: 1.5rem; }
.contact-item i { font-size: 1.3rem; color: var(--brand); }
.form-control { border-radius: 6px; padding: 0.7rem 0.9rem; border-color: #B9C9E0; }
.form-control:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(45, 121, 235, 0.2); }

/* Latest shop products and blog posts (from the subdomains) */
.feed-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }
.feed-head .section-head { margin-bottom: 0; }
.feed-card { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; text-decoration: none; color: inherit; transition: box-shadow .2s, transform .2s; }
.feed-card:hover { box-shadow: 0 14px 34px rgba(18, 63, 140, 0.14); transform: translateY(-2px); color: inherit; }
.feed-img { position: relative; aspect-ratio: 1 / 1; background: var(--mist); overflow: hidden; }
.feed-img.wide { aspect-ratio: 16 / 9; }
.feed-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.feed-ph { width: 100%; height: 100%; display: grid; place-items: center; font: 700 3rem var(--font-display); color: rgba(255, 255, 255, 0.85); background: linear-gradient(135deg, var(--brand-deep), var(--brand)); }
.feed-badge { position: absolute; top: 0.7rem; left: 0.7rem; background: #D92D20; color: #fff; font-weight: 700; font-size: 0.8rem; padding: 0.15rem 0.6rem; border-radius: 999px; }
.feed-badge.out { background: #55606D; }
.feed-body { padding: 1rem 1.15rem 1.25rem; display: flex; flex-direction: column; gap: 0.3rem; flex: 1; }
.feed-body h3 { font-size: 1.05rem; margin: 0; color: var(--brand-night); }
.feed-body p { color: var(--slate); font-size: 0.95rem; margin: 0 0 0.4rem; }
.feed-meta { font-size: 0.82rem; color: var(--slate); }
.feed-price { font: 700 1.1rem var(--font-display); color: var(--brand-deep); }
.feed-price s { color: var(--slate); font: 400 0.9rem var(--font-body); }
.feed-more { margin-top: auto; padding-top: 0.5rem; font-weight: 700; color: var(--brand-deep); }
.feed-more::after { content: " \2192"; }

/* Text pages and errors */
.prose { max-width: 46rem; }
.prose h1 { color: var(--brand-night); margin-bottom: 0.5rem; }
.prose h2 { font-size: 1.35rem; margin-top: 2rem; }
.prose p, .prose li { color: var(--slate); }
.notfound { text-align: center; padding: 4rem 0; }
.notfound h1 { color: var(--brand-night); margin-bottom: 1rem; }
.notfound p { color: var(--slate); margin-bottom: 2rem; }

/* Footer */
.site-footer { background: var(--brand-night); color: #BFD4F7; padding: 3rem 0 1.5rem; font-size: 0.95rem; }
.site-footer strong { display: block; color: #fff; font-family: var(--font-display); margin-bottom: 0.5rem; }
.site-footer a { color: #E4EEFF; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.35rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem; margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, 0.18); font-size: 0.9rem; }

/* Chat widget: a softer blue so it stands apart from the hero and stays gentle on every section */
.chat { --chat: #8DBBFA; --chat-hover: #A6CBFB; --chat-soft: #D6E6FC; --chat-line: #6FA4EE; --chat-ink: #0F2744;
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 1000; font-family: var(--font-body); }
.chat [hidden] { display: none !important; }
.chat-toggle { position: relative; display: inline-flex; align-items: center; gap: 0.6rem; background: var(--chat); color: var(--chat-ink); border: 2px solid #fff; border-radius: 999px; padding: 0.8rem 1.25rem; font-weight: 700; box-shadow: 0 10px 28px rgba(8, 28, 70, 0.3); cursor: pointer; }
.chat-toggle:hover { background: var(--chat-hover); }
.chat-toggle i { font-size: 1.2rem; }
.chat.is-open .chat-toggle { display: none; }
.chat-badge { position: absolute; top: -8px; right: -6px; min-width: 1.5rem; height: 1.5rem; padding: 0 0.4rem; border-radius: 999px; background: #D92D20; color: #fff; font-size: 0.8rem; display: grid; place-items: center; border: 2px solid #fff; }

.chat-panel { display: flex; flex-direction: column; width: 370px; max-width: calc(100vw - 2.5rem); height: 540px; max-height: 80vh; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 24px 60px rgba(8, 28, 70, 0.3); }
.chat-panel[hidden] { display: none; }

.chat-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; background: var(--chat); color: var(--chat-ink); padding: 0.9rem 1.1rem; }
.chat-head strong { display: block; font-family: var(--font-display); }
.chat-head small { color: #25456E; font-size: 0.8rem; }
.chat-head button { background: none; border: 0; color: var(--chat-ink); font-size: 1.1rem; cursor: pointer; padding: 0.25rem; }

.chat-log { flex: 1; overflow-y: auto; padding: 1rem; background: #F6F9FE; display: flex; flex-direction: column; gap: 0.6rem; }
.msg { max-width: 85%; padding: 0.6rem 0.9rem; border-radius: 14px; font-size: 0.95rem; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.msg-name { display: block; font-size: 0.75rem; font-weight: 700; color: #1F4E8C; margin-bottom: 0.15rem; }
.msg-user { align-self: flex-end; background: var(--chat-soft); color: var(--chat-ink); border-bottom-right-radius: 4px; }
.msg-bot { align-self: flex-start; background: #fff; color: var(--chat-ink); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.msg-agent { align-self: flex-start; background: #fff; color: var(--chat-ink); border: 1px solid var(--line); border-left: 4px solid var(--chat-line); border-bottom-left-radius: 4px; }
.msg.pending { opacity: 0.6; }

.chat-quick { display: flex; flex-wrap: wrap; gap: 0.4rem; padding: 0.6rem 1rem 0; background: #fff; }
.chat-quick button { background: #fff; border: 1px solid var(--chat-line); color: #1F4E8C; border-radius: 999px; padding: 0.3rem 0.85rem; font-size: 0.85rem; font-weight: 700; cursor: pointer; }
.chat-quick button:hover { background: var(--chat); color: var(--chat-ink); }

.chat-form { display: flex; gap: 0.5rem; padding: 0.7rem 1rem; background: #fff; }
.chat-form input { flex: 1; min-width: 0; border: 1px solid #B9C9E0; border-radius: 999px; padding: 0.55rem 1rem; font-size: 0.95rem; }
.chat-form input:focus { outline: 0; border-color: var(--chat-line); box-shadow: 0 0 0 3px rgba(111, 164, 238, 0.35); }
.chat-form button { background: var(--chat); color: var(--chat-ink); border: 0; border-radius: 50%; width: 2.5rem; height: 2.5rem; cursor: pointer; }
.chat-form button:hover { background: var(--chat-hover); }
.chat-note { margin: 0; padding: 0 1rem 0.7rem; background: #fff; font-size: 0.72rem; color: var(--slate); }
.chat-note a { color: #1F4E8C; }

@media (max-width: 575px) {
  .chat { right: 0.75rem; bottom: 0.75rem; }
  .chat-panel { width: calc(100vw - 1.5rem); height: 75vh; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bubble { opacity: 1; transform: none; animation: none; }
}