:root {
  --navy: #282a4e;
  --blue: #758fff;
  --blue-dark: #617aee;
  --hero: #353784;
  --ink: #1a1b1e;
  --muted: #6d7388;
  --card: #f2f6fe;
  --services: #eaedf9;
  --line: #e4e7f2;
  --footer: #f3f4f7;
  --white: #ffffff;
  --shadow: 0 14px 40px rgba(40, 42, 78, 0.08);
  --header: 86px;
  --container: 1200px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

[id] { scroll-margin-top: 100px; }

body {
  margin: 0;
  color: var(--ink);
  font-family: "Poppins", "Segoe UI", sans-serif;
  background: var(--white);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

button,
input,
select,
textarea { font-family: inherit; }

ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, p { margin: 0; }

.container {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip {
  position: absolute;
  left: 16px;
  top: -40px;
  background: var(--navy);
  color: var(--white);
  padding: 8px 12px;
  z-index: 100;
}

.skip:focus { top: 12px; }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

/* Top bar */
.topbar {
  background: var(--navy);
  color: var(--white);
  height: 40px;
  font-size: 13px;
}

.topbar-inner,
.header-inner,
.toll-inner,
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.topbar-inner { height: 40px; }

.socials,
.top-links,
.footer-socials { display: flex; align-items: center; }

.socials { gap: 16px; }

.socials a,
.footer-socials a {
  display: inline-flex;
  color: var(--white);
}

.socials svg { width: 14px; height: 14px; }

.socials a:hover { color: var(--blue); }

.top-links a { color: rgba(255, 255, 255, 0.88); }

.top-links a + a {
  margin-left: 16px;
  padding-left: 16px;
  border-left: 1px solid rgba(255, 255, 255, 0.28);
}

.top-links a:hover { color: var(--white); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--white);
  height: var(--header);
}

.site-header.is-stuck { box-shadow: 0 8px 24px rgba(40, 42, 78, 0.06); }

.header-inner {
  height: var(--header);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-self: start;
}

.logo-mark { width: 42px; height: 42px; flex: 0 0 42px; }

.logo-text strong {
  display: block;
  font-size: 18px;
  letter-spacing: 0.08em;
  line-height: 1;
  font-weight: 700;
}

.logo-text small {
  display: block;
  margin-top: 5px;
  color: var(--blue);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
}

.menu {
  display: flex;
  align-items: center;
  gap: 26px;
}

.menu > li > a,
.menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 0;
  padding: 10px 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

.menu > li > a:hover,
.menu > li > a.active,
.menu-btn:hover,
.has-sub:hover > .menu-btn,
.has-sub:hover > a { color: var(--blue); }

.chev {
  width: 0;
  height: 0;
  border-left: 3.5px solid transparent;
  border-right: 3.5px solid transparent;
  border-top: 4px solid currentColor;
}

.has-sub { position: relative; }

.submenu {
  position: absolute;
  top: calc(100% - 2px);
  left: 50%;
  min-width: 230px;
  padding: 10px 0;
  background: var(--white);
  box-shadow: 0 16px 40px rgba(40, 42, 78, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: 0.2s ease;
  z-index: 50;
}

.submenu a {
  display: block;
  padding: 9px 20px;
  font-size: 14px;
  color: var(--ink);
}

.submenu a:hover { color: var(--blue); background: var(--card); }

@media (min-width: 993px) {
  .has-sub:hover > .submenu,
  .has-sub:focus-within > .submenu {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
  }
}

.header-tools {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
}

.phone-icon {
  width: 42px;
  height: 42px;
  border: 1px solid #d9def5;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
}

.phone-icon svg { width: 18px; height: 18px; }

.header-phone small {
  display: block;
  color: #8d93a8;
  font-size: 12px;
  line-height: 1.2;
}

.header-phone strong {
  display: block;
  font-size: 16px;
  line-height: 1.3;
  letter-spacing: 0.01em;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 10px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
}

/* Hero */
.hero {
  position: relative;
  height: 720px;
  background: var(--hero);
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}

.hero-bg,
.hero-overlay { position: absolute; inset: 0; }

.hero-bg {
  background-position: right center;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero-overlay {
  background: linear-gradient(90deg, rgba(53, 55, 132, 0.96) 0%, rgba(53, 55, 132, 0.9) 32%, rgba(53, 55, 132, 0.68) 58%, rgba(45, 52, 130, 0.42) 100%);
}

.hero-wrap {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
}

.hero-content {
  max-width: 540px;
  padding-bottom: 48px;
  color: var(--white);
}

.hero h1 {
  font-size: 54px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.hero-content p {
  margin-top: 18px;
  max-width: 440px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 16px;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.mobile-phone { display: none; }

.hero-dots-wrap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 108px;
  z-index: 3;
}

.hero-dots {
  display: flex;
  gap: 8px;
}

.hero-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
}

.hero-dots button.is-active {
  background: var(--white);
  width: 22px;
  border-radius: 8px;
}

.hero-arrows {
  position: absolute;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-arrows button,
.icon-btn {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--white);
  color: var(--navy);
  box-shadow: 0 8px 20px rgba(40, 42, 78, 0.16);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hero-arrows button:hover,
.icon-btn:hover { background: var(--blue); color: var(--white); }

.hero-arrows svg { width: 16px; height: 16px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 22px;
  border-radius: 4px;
  border: 1px solid transparent;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: 0.2s ease;
}

.btn-fill {
  background: var(--blue);
  color: var(--white);
}

.btn-fill:hover { background: var(--blue-dark); }

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.7);
}

.btn-ghost:hover { background: var(--white); color: var(--hero); }

.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-radius: 4px;
  min-height: 42px;
  padding: 0 26px;
}

.btn-navy:hover { background: #1c1e3b; }

.btn-wide { width: 100%; }

/* Features */
.features {
  background: var(--blue);
  padding: 0 0 72px;
}

.feature-grid {
  position: relative;
  z-index: 2;
  margin-top: -72px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card,
.service-card {
  background: var(--card);
}

.feature-card {
  padding: 32px 28px 30px;
  box-shadow: var(--shadow);
  min-height: 228px;
}

.feature-card svg {
  width: 34px;
  height: 34px;
  color: var(--navy);
}

.feature-card h3,
.service-card h3 {
  margin: 16px 0 10px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.feature-card p,
.service-card p,
.about-copy p,
.why-copy p { color: var(--muted); }

/* Why */
.why {
  background: var(--navy);
  color: var(--white);
  padding: 92px 0;
}

.why-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.why h2,
.about-copy h2,
.section-head h2,
.call-info h2 {
  font-size: 36px;
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.why-copy p + p { margin-top: 16px; }

.why-copy p { color: rgba(255, 255, 255, 0.78); font-size: 15px; }

/* About */
.about { background: var(--card); }

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 620px;
  align-items: stretch;
}

.about-photo { min-height: 620px; }

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
}

.about-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px 7vw 72px 64px;
}

.about-copy h2 { margin-bottom: 18px; }

.about-copy p + p { margin-top: 14px; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  color: var(--blue);
  font-weight: 600;
  font-size: 14px;
}

.text-link svg { width: 16px; height: 16px; }

.text-link:hover { color: var(--navy); }

/* Toll */
.toll {
  background: var(--blue);
  color: var(--white);
  padding: 28px 0;
}

.toll h2 {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

/* Services */
.services {
  background: var(--services);
  padding: 88px 0 96px;
}

.section-head { text-align: center; margin-bottom: 42px; }

.section-head h2 { font-size: 40px; }

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  padding: 34px 28px 28px;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.service-card p { flex: 1; }

.service-card .text-link { margin-top: 18px; }

/* Call split */
.callout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 360px;
}

.call-info,
.call-number {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.call-info {
  background: var(--blue);
  color: var(--white);
  padding: 72px 48px 72px max(32px, calc((100vw - 1200px) / 2));
}

.call-info h2 {
  font-size: 34px;
  max-width: 460px;
  margin-bottom: 22px;
}

.printer-types {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 28px;
  max-width: 560px;
}

.printer-types li {
  position: relative;
  padding-left: 22px;
  font-size: 16px;
}

.printer-types li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--white);
}

.call-number {
  background: var(--navy);
  color: var(--white);
  align-items: center;
  text-align: center;
  padding: 64px 32px;
}

.call-kicker,
.call-note {
  letter-spacing: 0.18em;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
}

.call-number a {
  margin: 10px 0 8px;
  font-size: 64px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}

.call-number a:hover { color: var(--blue); }

/* Brands */
.brands {
  background: var(--white);
  padding: 36px 0 28px;
}

.brands .eyebrow { text-align: center; margin-bottom: 8px; }

.marquee { overflow: hidden; padding: 18px 0 10px; }

.marquee-track {
  display: flex;
  width: max-content;
  animation: brands 38s linear infinite;
}

.marquee:hover .marquee-track { animation-play-state: paused; }

.marquee-group {
  display: flex;
  align-items: center;
  gap: 72px;
  padding-right: 72px;
}

.brand {
  color: #9aa1b5;
  font-weight: 700;
  font-size: 28px;
  letter-spacing: 0.04em;
  white-space: nowrap;
  line-height: 1;
}

.brand:hover { color: var(--navy); }

.brand-hp { font-size: 34px; letter-spacing: -0.04em; font-weight: 800; }
.brand-brother { font-weight: 500; letter-spacing: 0.12em; text-transform: lowercase; font-size: 30px; }
.brand-sharp, .brand-ricoh, .brand-oki, .brand-toshiba, .brand-epson { letter-spacing: 0.18em; font-size: 24px; }
.brand-xerox { font-weight: 500; letter-spacing: 0.08em; text-transform: lowercase; }
.brand-km { font-size: 16px; letter-spacing: 0.14em; }

@keyframes brands {
  to { transform: translateX(-50%); }
}

/* Footer */
.site-footer {
  background: var(--footer);
  padding-top: 72px;
  color: var(--ink);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1.15fr;
  gap: 36px;
  padding-bottom: 48px;
}

.site-footer h3 {
  font-size: 18px;
  margin-bottom: 18px;
  font-weight: 600;
}

.site-footer li + li { margin-top: 8px; }

.site-footer a:hover { color: var(--blue); }

.footer-links a,
.contact-list { color: var(--muted); font-size: 14.5px; }

.contact-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.contact-list svg {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  flex: 0 0 16px;
  color: var(--blue);
}

.footer-bottom {
  border-top: 1px solid #e3e5ee;
  min-height: 74px;
  gap: 16px;
  color: #8b90a0;
  font-size: 14px;
}

.footer-socials { gap: 8px; }

.footer-socials a {
  width: 32px;
  height: 32px;
  border-radius: 4px;
  background: var(--navy);
  align-items: center;
  justify-content: center;
}

.footer-socials svg { width: 14px; height: 14px; }

.footer-socials a:hover { background: var(--blue); color: var(--white); }

/* Inner pages */
.page-hero {
  position: relative;
  background: var(--hero) center / cover no-repeat;
  color: var(--white);
  padding: 78px 0;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(53, 55, 132, 0.92), rgba(53, 55, 132, 0.72));
}

.page-hero .container { position: relative; z-index: 1; }

.page-hero h1 {
  font-size: 46px;
  letter-spacing: -0.03em;
  font-weight: 650;
}

.crumbs {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
}

.crumbs a:hover { color: var(--white); }

.page-section { padding: 72px 0 88px; background: var(--services); }

.prose {
  max-width: 820px;
  background: var(--white);
  padding: 40px 40px 28px;
  box-shadow: var(--shadow);
}

.prose h2 {
  font-size: 24px;
  margin: 28px 0 8px;
}

.prose p,
.prose li { color: var(--muted); }

.prose ul { list-style: disc; padding-left: 18px; }
.prose li + li { margin-top: 6px; }

/* Responsive */
@media (max-width: 1100px) {
  .hero h1 { font-size: 44px; }
  .call-number a { font-size: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
}

@media (max-width: 992px) {
  .nav-toggle { display: flex; }
  .header-phone,
  .header-tools { display: none; }
  .header-inner { display: flex; justify-content: space-between; }

  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--white);
    box-shadow: 0 16px 30px rgba(40, 42, 78, 0.1);
    padding: 8px 0 16px;
  }

  .nav-open .nav { display: block; }

  .menu { flex-direction: column; align-items: stretch; gap: 0; }
  .menu > li > a,
  .menu-btn { width: 100%; justify-content: space-between; padding: 12px 22px; }

  .submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    min-width: 0;
    box-shadow: none;
    background: var(--services);
    padding: 4px 0;
  }

  .has-sub.open > .submenu { display: block; }

  .mobile-phone {
    display: block;
    margin: 8px 22px 0;
    padding-top: 12px;
    border-top: 1px solid var(--line);
    color: var(--navy);
    font-weight: 600;
  }

  .hero { height: 620px; }
  .hero-arrows { display: none; }
  .feature-grid,
  .service-grid { grid-template-columns: 1fr 1fr; }
  .feature-grid { margin-top: -48px; }
  .why-grid,
  .about-grid,
  .callout { grid-template-columns: 1fr; }
  .about-photo { min-height: 360px; }
  .about-copy { padding: 40px 24px 56px; }
  .why { padding: 64px 0; }
}

@media (max-width: 700px) {
  .container { width: min(var(--container), calc(100% - 32px)); }
  .topbar { height: auto; }
  .topbar-inner { height: auto; min-height: 36px; gap: 8px; }
  .socials { gap: 10px; }
  .top-links { font-size: 11px; }
  .top-links a + a { margin-left: 8px; padding-left: 8px; }
  .hero { height: auto; min-height: 560px; }
  .hero h1 { font-size: 34px; }
  .feature-grid,
  .service-grid,
  .printer-types,
  .footer-grid { grid-template-columns: 1fr; }
  .features { padding-bottom: 48px; }
  .toll-inner { flex-direction: column; align-items: flex-start; gap: 14px; }
  .call-info, .call-number { padding: 48px 24px; }
  .call-info h2,
  .section-head h2,
  .why h2,
  .about-copy h2 { font-size: 30px; }
  .call-number a { font-size: 40px; }
  .footer-bottom { flex-direction: column; justify-content: center; padding: 16px 0; text-align: center; }
  .prose { padding: 24px 18px; }
  .page-hero h1 { font-size: 34px; }
  .logo-text strong { font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-slide,
  .service-card { transition: none; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; }
  .marquee-group[aria-hidden="true"] { display: none; }
  .marquee-group { flex-wrap: wrap; justify-content: center; width: 100%; padding: 0 24px; }
}
