:root {
  --ink: #17191e;
  --ink-soft: #34363d;
  --brand-blue: #3469b2;
  --brand-blue-hover: #3b70b8;
  --brand-blue-light: #8db6ed;
}

/* Corporate palette: crisp graphite and white with a measured blue accent. */
body { color: var(--ink); background: var(--ink); }
.nav {
  background: rgba(22, 24, 29, .82);
  border-color: rgba(255, 255, 255, .24);
  box-shadow: 0 15px 40px rgba(0, 0, 0, .2), inset 0 1px rgba(255, 255, 255, .13);
  transition: background .3s,border-color .3s,box-shadow .3s,color .3s;
}
.nav[data-surface="light"] {
  background: rgba(255,255,255,.87);
  border-color: rgba(60,75,95,.17);
  color: #1c2129;
  box-shadow: 0 13px 32px rgba(30,45,65,.11),inset 0 1px rgba(255,255,255,.8);
}
.nav[data-surface="light"] .brand { color: #1c2129; text-shadow: none; }
.nav[data-surface="light"] .brand-mark { color: var(--brand-blue); }
.nav[data-surface="light"] .nav-links a:not(.nav-action) { color: #303944; text-shadow: none; }
.nav[data-surface="light"] .nav-links a:not(.nav-action):hover { color: #174e95; }
.nav[data-surface="light"] .menu-toggle { color: #222a33; border-color: #b3bdca; background: #ffffffa8; }
.brand-mark, .footer-brand span { color: var(--brand-blue-light); }
.nav-links a:not(.nav-action) { color: rgba(255, 255, 255, .88); }
.nav-links a:not(.nav-action):hover { color: #fff; }
.nav-action {
  background: var(--brand-blue);
  border-color: var(--brand-blue);
  color: #fff;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.nav-action:hover { background: var(--brand-blue-hover); }
.menu-toggle { border-color: rgba(255,255,255,.45); }

.hero {
  background: radial-gradient(circle at 82% 20%, rgba(60, 113, 189, .17), transparent 32%),
              linear-gradient(130deg, #111216 5%, #202229 100%);
  padding: 8.5rem 0 5.5rem;
}
.hero h1 { font-size: clamp(3.6rem, 5.3vw, 5.8rem); }
.hero:after { border-left-color: rgba(255,255,255,.055); }
.hero h1 em { color: var(--brand-blue-light); }
.hero-lead { color: #e3e3e5; }
.hero-caption { color: #bfc0c3; }
.eyebrow.light { color: #9cc5fa; }
.hero .button.primary {
  background: var(--brand-blue);
  color: #fff;
  border-color: var(--brand-blue);
  box-shadow: 0 10px 27px rgba(45,103,184,.18);
}
.hero .button.primary:hover { background: var(--brand-blue-hover); }
.hero .button.outline { border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.025); }
.hero .button.outline:hover { background: rgba(255,255,255,.12); }
.hero-composition:before { border-color: rgba(255,255,255,.14); }
.ui-window { background: #f2f2f1; border-color: #9a9b9f; box-shadow: 0 24px 55px rgba(0,0,0,.4); }
.ui-top { background: #373a40; color: #dedfe1; }
.ui-top span { background: #96999e; }
.ui-web { background: linear-gradient(120deg,#f4f4f2 52%,#e7e7e5 52%); }
.ui-web-nav, .ui-dashboard>i { background: #777b83; }
.ui-web-title { background: #30333a; }
.ui-web-sub, .ui-dashboard>i+i { background: #b8b9ba; }
.ui-web-button, .ui-dashboard span:nth-child(2) { background: var(--brand-blue); }
.ui-dashboard span { background: #bbbcc0; }
.ui-web-cards i { border-color: #d3d3d1; }
.ui-label { background: #2a2c32; border-color: #62646a; color: #f2f2f2; }

.eyebrow { color: #285c9f; }
.section-intro>p:last-child { color: #5e6066; }

.process { background: linear-gradient(125deg,#1b1c21,#2b2d34); }
.process .eyebrow, .steps li span { color: #9cc5fa; }
.process .section-intro p:last-child, .steps p { color: #d4d4d6; }
.steps li { border-top-color: #65666b; }
.footer { background: #111216; }
.footer-grid small, .footer-bottom { color: #bfc0c3; }

/* Cleaner preview chrome. */
dialog { border-color: #d8d8d7; background: #f7f7f5; }
dialog::backdrop { background: rgba(15,16,20,.28); }
.modal-top { background: #24262d; }
.modal-top .eyebrow { color: #9cc5fa; }
.modal-tools { background: #fff; border-bottom-color: #dededc; }
.device-switch { background: #f1f0ee; border-color: #dededc; }
.device-switch button { color: #3a3c42; }
.device-switch button[aria-pressed=true] { background: #292b31; border-color: #292b31; }
.modal-quote { background: var(--brand-blue); color: #fff; }
.modal-quote:hover { background: var(--brand-blue-hover); }
.demo-stage { background: linear-gradient(145deg,#eeeae6,#faf9f7); }
.frame-host { border-color: #d4d1cd; }

/* Circular contact controls in opposite corners. */
.contact-dock {
  position: static;
  display: contents;
}
.dock-button {
  position: fixed;
  bottom: 1.5rem;
  width: 60px;
  height: 60px;
  padding: 0;
  justify-content: center;
  border-radius: 50%;
  z-index: 70;
  box-shadow: 0 12px 30px rgba(0,0,0,.22);
}
.dock-button .dock-icon { width: 28px; height: 28px; border-radius: 0; background: none; }
.dock-button .dock-icon svg { display: block; width: 100%; height: 100%; stroke: currentColor; }
.dock-chat {
  left: 1.5rem;
  right: auto;
  color: #fff;
  background: var(--brand-blue);
  border: 1px solid rgba(255,255,255,.65);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.dock-chat .dock-icon { background: none; }
.dock-chat:hover { background: var(--brand-blue-hover); }
.dock-whatsapp {
  right: 1.5rem;
  left: auto;
  color: #fff;
  background: #21c766;
  border: 1px solid rgba(255,255,255,.8);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.dock-whatsapp .dock-icon { background: none; }
.dock-whatsapp:hover { background: #19b859; }
.contact-popover {
  bottom: 6.2rem;
  border-color: #e3e2df;
  background: #fff;
  box-shadow: 0 22px 65px rgba(0,0,0,.22);
}
.chat-popover { left: 1.5rem; right: auto; }
.whatsapp-popover { right: 1.5rem; left: auto; }
.chat-popover .popover-head { background: #292b31; }
.chat-popover .popover-head p { color: #9cc5fa; }
.chat-topics button[aria-pressed=true], .chat-questions button[aria-pressed=true] {
  background: #292b31;
  border-color: #292b31;
}
.chat-topics button, .chat-questions button { color: #303138; border-color: #d5d6da; }
.chat-answer { background: #f7f7f5; border-color: #e3e2df; color: #3a3c42; }
.chat-answer strong { color: #202127; }
.chat-to-whatsapp { background: #292b31; }
.chat-to-whatsapp:hover { background: #43454c; }

@media (max-width: 850px) {
  .nav-links { background: rgba(29,31,37,.94); border-color: rgba(255,255,255,.28); }
  .nav[data-surface="light"] .nav-links { background: rgba(255,255,255,.97); border-color: #d5dce6; box-shadow: 0 18px 38px rgba(30,45,65,.17); }
}
@media (max-width: 600px) {
  .hero { padding: 8.5rem 0 4rem; }
  .hero h1 { font-size: clamp(3rem, 10.5vw, 4rem); }
  .dock-button { width: 54px; height: 54px; bottom: .95rem; }
  .dock-chat { left: .95rem; }
  .dock-whatsapp { right: .95rem; }
  .contact-popover { bottom: 5.1rem; max-height: calc(100dvh - 6rem); }
  .chat-popover { left: .6rem; right: auto; width: calc(100vw - 1.2rem); }
  .whatsapp-popover { right: .6rem; left: auto; width: calc(100vw - 1.2rem); }
}
