:root {
  --paper: #EEECE7;
  --ink: #2A2C29;
  --ink-2: #454842;
  --ink-3: #363834;
  --muted: #55574F;
  --line: #C9C6BF;
  --blue: #3B32E6;
  --blue-2: #4A42F0;
  --lime: #D2F05A;
  --lime-2: #C4E24A;
  --lime-line: #B9D63E;
  --wa: #25D366;
  --wa-ink: #0B2E17;
  --gutter: 72px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Montserrat, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--blue); }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 6px;
}

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

.page {
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 64px;
  overflow-x: hidden;
}

.wrap { padding: 0 var(--gutter); }
.wrap-inset { margin-left: var(--gutter); margin-right: var(--gutter); }

/* color utilities */
.c-blue { color: var(--blue); }
.c-lime { color: var(--lime-2); }
.c-limefill { color: var(--lime); }
.c-white { color: #fff; }
.c-paper { color: var(--paper); }
.bg-blue { background: var(--blue); }
.bg-ink { background: var(--ink); }
.bg-lime { background: var(--lime); }

.deco { position: absolute; line-height: 1; pointer-events: none; }

/* pills & ctas */
.pill { border-radius: 99px; display: inline-block; }
.pill-outline { border: 1.5px solid var(--lime-line); padding: 6px 14px; }
.pill-lg { padding: 10px 22px; font-weight: 600; font-size: 17px; }

.cta { display: inline-flex; align-items: center; gap: 6px; }
.cta-dot {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--lime); color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 20px;
  transition: transform .2s ease;
}
.cta:hover .cta-dot { transform: rotate(45deg); }
.cta-dot-lg { width: 56px; height: 56px; font-size: 22px; }

.dot {
  flex: none;
  width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
}
.dot-blue { background: var(--blue); color: #fff; }
.dot-ink { background: var(--ink); color: var(--lime); }
.dot-lime { background: var(--lime); color: var(--ink); }
.dot-paper { background: var(--paper); width: 34px; height: 34px; font-size: 14px; color: var(--ink); }

.ring { border: 2px solid var(--lime-line); border-radius: 99px; padding: 0 14px; }

/* nav */
header.wrap { padding-top: 36px; }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 22px;
  border-bottom: 1.5px solid var(--line);
  font-size: 13px; font-weight: 500; letter-spacing: .06em;
}
.nav-left, .nav-right { display: flex; align-items: center; }
.nav-left { gap: 36px; }
.nav-right { gap: 28px; }
.nav-links { display: flex; gap: 36px; }
.brand { font-weight: 800; font-size: 16px; letter-spacing: .02em; }
.brand:hover { color: var(--ink); }
.nav-mobile-only { display: none; }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border: 1.5px solid var(--line); border-radius: 50%;
  background: transparent; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { display: block; width: 16px; height: 2px; background: var(--ink); transition: transform .2s ease; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* hero */
.hero-title { position: relative; padding-top: 64px; text-align: center; }
.deco-hero-l { left: 30px; top: 50px; font-size: 80px; }
.deco-hero-r { right: 50px; top: 40px; font-size: 48px; }
.hero h1 { font-size: 72px; line-height: 1.08; font-weight: 800; letter-spacing: -.01em; position: relative; }
.h1-row { display: inline-flex; align-items: center; gap: 22px; }
.arrow-pill {
  display: inline-flex; align-items: center; justify-content: center;
  width: 150px; height: 62px; border-radius: 99px;
  background: var(--lime); font-size: 44px;
}

.hero-meta {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 24px; margin-top: 28px;
}
.meta-label { font-size: 14px; }
.meta-value { font-size: 20px; font-weight: 700; line-height: 1.35; margin-top: 4px; }

.tiles {
  display: flex; gap: 18px; align-items: center; justify-content: center;
  margin-top: 40px;
}
.tile {
  width: 190px; border-radius: 26px; flex: none;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
}
.tile-s { height: 190px; font-size: 56px; }
.tile-m { height: 290px; font-size: 60px; font-weight: 400; }
.tile-l { height: 390px; font-size: 84px; }

/* section headings */
.sec-head {
  position: relative;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 40px;
}
.sec-head h2 { font-size: 38px; font-weight: 700; }
.sec-head p { max-width: 380px; text-align: right; font-size: 15px; line-height: 1.5; }

.grid-4 {
  position: relative;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px; margin-top: 36px;
}

/* services */
.services {
  margin-top: 72px;
  background: var(--blue); color: #fff;
  border-radius: 36px;
  padding: 52px 44px 44px;
  position: relative; overflow: hidden;
}
.deco-services { right: -20px; top: -40px; font-size: 220px; color: var(--blue-2); }

.svc {
  border-radius: 24px; padding: 22px 18px 18px;
  display: flex; flex-direction: column; gap: 14px;
}
.svc-paper { background: var(--paper); color: var(--ink); }
.svc-lime { background: var(--lime); color: var(--ink); }
.svc-ink { background: var(--ink); color: var(--paper); }
.svc-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.svc h3 { font-size: 20px; line-height: 1.2; font-weight: 700; }
.svc p { font-size: 14px; line-height: 1.45; }
.rule { height: 2px; background: var(--line); }
.svc-lime .rule { background: var(--ink); }
.svc-ink .rule { background: var(--ink-2); }
.svc-art {
  height: 140px; border-radius: 16px; margin-top: auto;
  display: flex; align-items: center; justify-content: center;
  font-size: 44px; font-weight: 800;
}

/* products */
.products { margin-top: 88px; }
.prod {
  background: #fff; border-radius: 24px; padding: 22px;
  display: flex; flex-direction: column; gap: 18px;
  transition: box-shadow .2s ease;
}
.prod:hover { color: inherit; box-shadow: 0 10px 28px rgba(59, 50, 230, .16); }
.prod-top { display: flex; justify-content: space-between; align-items: flex-start; }
.prod h3 { font-size: 20px; font-weight: 700; color: var(--ink); }
.prod p { margin-top: 8px; font-size: 14px; line-height: 1.5; color: var(--muted); }

.logo {
  width: 72px; height: 72px; border-radius: 16px;
  background: var(--paper);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.logo img { width: 100%; height: 100%; object-fit: contain; }
.logo.is-empty img { display: none; }
.logo.is-empty::before {
  content: attr(data-initial);
  font-size: 28px; font-weight: 800; color: var(--blue);
}

.more-link {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 22px; font-weight: 600; font-size: 15px;
  border-bottom: 2px solid var(--blue); padding-bottom: 4px;
}

/* tagline */
.tagline { position: relative; text-align: center; padding: 96px 0 24px; }
.tagline p { font-size: 34px; font-weight: 700; line-height: 1.35; position: relative; }
.deco-tag-l { left: 38px; top: 84px; font-size: 52px; }
.deco-tag-r { right: 58px; bottom: 10px; font-size: 52px; }

/* contact */
.contact {
  margin-top: 64px;
  background: var(--ink); color: var(--paper);
  border-radius: 36px; padding: 56px;
  display: flex; justify-content: space-between; align-items: center; gap: 40px;
  position: relative; overflow: hidden;
}
.deco-contact { left: -10px; bottom: -60px; font-size: 200px; color: var(--ink-3); }
.contact-copy, .contact-actions { position: relative; }
.contact-kicker { font-size: 15px; font-weight: 600; letter-spacing: .08em; color: var(--lime); }
.contact-title { margin-top: 10px; font-size: 52px; font-weight: 800; line-height: 1.05; }
.hl { background: var(--lime); color: var(--ink); border-radius: 99px; padding: 0 20px; }
.contact-sub { margin-top: 16px; font-size: 15px; line-height: 1.5; color: var(--line); }
.contact-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.contact .cta:hover { color: inherit; }
.wa-btn {
  background: var(--wa); color: var(--wa-ink);
  border-radius: 99px; padding: 16px 28px;
  font-weight: 700; font-size: 17px;
  display: flex; align-items: center; gap: 10px;
}
.mail-link { font-size: 15px; font-weight: 600; color: var(--paper); }
.mail-link:hover { color: var(--lime); }

/* footer */
.footer {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: 40px; padding-top: 22px;
  border-top: 1.5px solid var(--line);
  font-size: 13px;
}
.footer-strong { font-weight: 600; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  :root { --gutter: 40px; }
  .hero h1 { font-size: 60px; }
  .arrow-pill { width: 120px; height: 52px; font-size: 36px; }
  .tiles { gap: 14px; }
  .tile { width: calc((100% - 56px) / 5); }
  .tile-s { height: 150px; font-size: 44px; }
  .tile-m { height: 230px; font-size: 48px; }
  .tile-l { height: 310px; font-size: 68px; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  :root { --gutter: 16px; }
  header.wrap { padding-top: 20px; }

  .nav { position: relative; padding-bottom: 16px; }
  .nav-toggle { display: flex; }
  .nav-desktop-only { display: none; }
  .nav-right .pill-outline { display: none; }
  .nav-mobile-only { display: block; }
  .nav-links {
    display: none;
    position: absolute; top: calc(100% + 1.5px); left: 0; right: 0; z-index: 10;
    flex-direction: column; gap: 0;
    background: var(--paper);
    border-bottom: 1.5px solid var(--line);
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 14px 0; border-top: 1px solid var(--line); }

  .hero-title { padding-top: 48px; }
  .hero h1 { font-size: 34px; }
  .h1-row { gap: 10px; }
  .arrow-pill { width: 64px; height: 30px; font-size: 20px; }
  .deco-hero-l { left: 0; top: 14px; font-size: 40px; }
  .deco-hero-r { right: 4px; top: 10px; font-size: 28px; }

  .hero-meta { flex-direction: column; align-items: flex-start; }
  .meta-value { font-size: 18px; }

  .tiles { gap: 8px; margin-top: 32px; }
  .tile { width: calc((100% - 32px) / 5); border-radius: 14px; }
  .tile-s { height: 70px; font-size: 20px; }
  .tile-m { height: 110px; font-size: 22px; }
  .tile-l { height: 150px; font-size: 30px; }

  .sec-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .sec-head h2 { font-size: 30px; }
  .sec-head p { text-align: left; }

  .services { margin-top: 48px; padding: 36px 18px 18px; border-radius: 28px; }
  .deco-services { font-size: 140px; right: -20px; top: -20px; }
  .grid-4 { grid-template-columns: 1fr; gap: 14px; margin-top: 24px; }
  .svc-art { height: 100px; }

  .products { margin-top: 64px; }

  .tagline { padding: 72px 0 8px; }
  .tagline p { font-size: 22px; }
  .tagline br { display: none; }
  .deco-tag-l { left: 0; top: 24px; font-size: 32px; }
  .deco-tag-r { right: 0; bottom: -24px; font-size: 32px; }

  .contact { flex-direction: column; align-items: flex-start; padding: 36px 22px; border-radius: 28px; gap: 28px; }
  .contact-title { font-size: 38px; }
  .contact-actions { align-items: flex-start; }
  .wa-btn { padding: 14px 20px; font-size: 15px; }
  .cta-dot-lg { width: 48px; height: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
