:root {
  --ink: #0b1f3a;
  --ink-2: #213854;
  --muted: #627188;
  --line: #d9e2ec;
  --paper: #ffffff;
  --soft: #f4f8fb;
  --teal: #18b8b1;
  --orange: #ff7a1a;
  --blue: #1764d8;
  --green: #14633f;
  --lime: #c8ee3e;
  --shadow: 0 20px 50px rgba(11, 31, 58, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem clamp(1rem, 4vw, 4rem);
  border-bottom: 1px solid rgba(217, 226, 236, 0.72);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: auto;
  height: 2.8rem;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  color: var(--ink-2);
  font-weight: 650;
}

.main-nav a {
  position: relative;
  padding: 0.35rem 0;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  background: var(--orange);
  transition: transform 180ms ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.menu-toggle span {
  display: block;
  width: 1.2rem;
  height: 2px;
  margin: 0.28rem auto;
  background: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  gap: clamp(2rem, 4vw, 4.5rem);
  align-items: center;
  padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 4vw, 4rem) 3rem;
  background:
    radial-gradient(circle at 14% 20%, rgba(24, 184, 177, 0.16), transparent 28rem),
    linear-gradient(180deg, #f7fbff 0%, #ffffff 70%);
}

.hero-content {
  max-width: 42rem;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--orange);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 1.1rem;
  font-size: clamp(2.45rem, 6vw, 5rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0.7rem;
  font-size: 1.17rem;
  line-height: 1.2;
}

.hero-text,
.section-heading p,
.contact-copy p {
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.launch-offer {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  max-width: 41rem;
  margin-top: 1.35rem;
  padding: 1rem;
  border: 1px solid #b8dd38;
  border-radius: 8px;
  background: #f5fadf;
}

.launch-offer > span {
  padding: 0.35rem 0.55rem;
  border-radius: 6px;
  color: #fff;
  background: var(--green);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.launch-offer strong {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--ink);
  font-size: 1.08rem;
}

.launch-offer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.15rem;
  border-radius: 8px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button.primary {
  color: #fff;
  background: var(--ink);
  box-shadow: 0 16px 30px rgba(11, 31, 58, 0.2);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: #123054;
}

.button.secondary {
  color: var(--ink);
  border: 1px solid var(--line);
  background: #fff;
}

.button.light {
  color: var(--ink);
  background: #fff;
  box-shadow: none;
}

.hero-media {
  overflow: hidden;
  border: 1px solid rgba(217, 226, 236, 0.92);
  border-radius: 8px;
  box-shadow: var(--shadow);
  background: #eef5f9;
}

.hero-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.value-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  color: #fff;
  background: var(--green);
}

.value-strip span {
  display: grid;
  min-height: 4.5rem;
  place-items: center;
  padding: 1rem;
  border-right: 1px solid rgba(255, 255, 255, 0.24);
  font-weight: 800;
  text-align: center;
}

.value-strip span:last-child {
  border-right: 0;
}

.section {
  padding: clamp(4rem, 8vw, 6.5rem) clamp(1rem, 4vw, 4rem);
}

section[id] {
  scroll-margin-top: 5.5rem;
}

.section-heading {
  max-width: 46rem;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.section-heading.compact {
  margin-bottom: 2rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.product-card,
.step,
.contact-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.product-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: 1.4rem;
  box-shadow: 0 14px 35px rgba(11, 31, 58, 0.06);
}

.product-visual {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: 0.8rem;
  align-items: stretch;
  margin-bottom: 1.15rem;
}

.product-image {
  width: 100%;
  height: 3rem;
  border-radius: 6px;
  object-fit: cover;
  object-position: center;
}

.product-card:nth-child(6) .product-image {
  object-position: center 16%;
}

.product-card p,
.step p {
  color: var(--muted);
}

.product-card ul {
  display: grid;
  gap: 0.45rem;
  margin: auto 0 0;
  padding: 1rem 0 0;
  color: var(--ink-2);
  font-weight: 650;
  list-style: none;
}

.product-card li {
  display: flex;
  gap: 0.55rem;
  align-items: center;
}

.product-card li::before {
  width: 0.45rem;
  height: 0.45rem;
  flex: 0 0 auto;
  border-radius: 50%;
  content: "";
  background: var(--teal);
}

.product-demo {
  margin-top: 1.15rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--line);
}

.product-demo-copy {
  display: grid;
  gap: 0.3rem;
  min-width: 0;
}

.product-demo-copy strong {
  color: var(--ink);
  font-size: 0.94rem;
}

.product-demo-copy span {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.product-demo-copy .product-fit-note {
  color: var(--teal);
  font-weight: 800;
}

.product-button {
  width: fit-content;
  margin-top: 0.2rem;
  padding: 0.62rem 0.78rem;
  color: #fff;
  background: var(--ink);
  font-size: 0.82rem;
  box-shadow: none;
}

.product-button:hover,
.product-button:focus-visible {
  background: #123054;
}

.product-icon {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 8px;
}

.product-icon svg {
  width: 1.45rem;
  height: 1.45rem;
  fill: currentColor;
}

.product-icon.orders {
  color: #9b4100;
  background: #fff0e5;
}

.product-icon.reports {
  color: #1552b0;
  background: #eaf2ff;
}

.product-icon.dashboards {
  color: #087b76;
  background: #e8fbf9;
}

.product-icon.automations {
  color: #6b42b8;
  background: #f2ecff;
}

.product-icon.queues {
  color: #a53d2a;
  background: #ffebe6;
}

.product-icon.sales {
  color: #436100;
  background: #eff8d2;
}

.solutions-section {
  background: #fff;
}

.solutions-intro,
.work-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  margin-bottom: 3rem;
}

.solutions-heading,
.work-heading {
  max-width: 42rem;
  margin: 0;
  text-align: left;
}

.solutions-heading .section-highlight,
.work-heading .growth-note {
  margin-top: 1.25rem;
  padding-left: 1rem;
  border-left: 4px solid var(--teal);
  color: var(--ink-2);
  font-weight: 750;
}

.section-photo {
  min-width: 0;
  margin: 0;
}

.section-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 18px 44px rgba(11, 31, 58, 0.14);
}

.use-case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.use-case {
  padding: 2rem clamp(1.25rem, 3vw, 2.5rem);
  border-right: 1px solid var(--line);
}

.use-case:last-child {
  border-right: 0;
}

.use-case-number {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--green);
  font-size: 0.85rem;
  font-weight: 900;
}

.use-case p {
  margin-bottom: 0;
  color: var(--muted);
}

.work-section {
  background: var(--soft);
}

.work-intro {
  grid-template-columns: minmax(360px, 1.05fr) minmax(0, 0.95fr);
}

.work-heading > p:not(.eyebrow):not(.growth-note) {
  color: var(--muted);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.step {
  padding: 1.35rem;
}

.step span {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--teal);
  font-size: 0.85rem;
  font-weight: 900;
}

.cta-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(3rem, 6vw, 4.5rem) clamp(1rem, 4vw, 4rem);
  color: #fff;
  background:
    linear-gradient(135deg, rgba(11, 31, 58, 0.98), rgba(15, 86, 132, 0.95)),
    var(--ink);
}

.cta-section h2 {
  max-width: 48rem;
  margin: 0;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.75fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}

.contact-logo {
  display: block;
  width: min(13rem, 58vw);
  height: auto;
  margin-bottom: 1.5rem;
}

.whatsapp-button {
  display: inline-flex;
  gap: 0.65rem;
  align-items: center;
  width: fit-content;
  margin-top: 1.25rem;
  padding: 0.85rem 1rem;
  border-radius: 6px;
  color: #fff;
  background: #087f5b;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(8, 127, 91, 0.2);
  transition: transform 180ms ease, background 180ms ease;
}

.whatsapp-button:hover,
.whatsapp-button:focus-visible {
  transform: translateY(-2px);
  background: #066c4d;
}

.whatsapp-button svg {
  width: 1.35rem;
  height: 1.35rem;
  flex: 0 0 auto;
  fill: currentColor;
}

.contact-panel {
  display: grid;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(11, 31, 58, 0.08);
}

.contact-panel a,
.contact-item {
  display: grid;
  gap: 0.3rem;
  padding: 1.2rem;
  border-bottom: 1px solid var(--line);
  transition: background 180ms ease;
}

.contact-panel a:last-child,
.contact-item:last-child {
  border-bottom: 0;
}

.contact-panel a:hover,
.contact-panel a:focus-visible {
  background: var(--soft);
}

.contact-panel span,
.contact-item span {
  color: var(--muted);
}

.contact-panel .whatsapp-contact {
  grid-template-columns: 3.4rem minmax(0, 1fr);
  gap: 0.85rem;
  align-items: center;
  background: #edf9f4;
}

.whatsapp-contact img {
  display: block;
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 8px;
  object-fit: cover;
}

.whatsapp-contact span {
  display: grid;
  gap: 0.2rem;
}

.whatsapp-contact strong {
  color: #075e54;
}

.whatsapp-contact small {
  color: var(--muted);
  font-size: 0.82rem;
}

.site-footer {
  padding: 1.5rem clamp(1rem, 4vw, 4rem);
  color: #dce7f2;
  background: var(--ink);
}

.site-footer p {
  margin: 0;
}

.reveal {
  transform: translateY(16px);
  opacity: 0;
  transition: transform 600ms ease, opacity 600ms ease;
}

.reveal.is-visible {
  transform: translateY(0);
  opacity: 1;
}

@media (max-width: 1040px) {
  .hero,
  .contact-section,
  .solutions-intro,
  .work-intro {
    grid-template-columns: 1fr;
  }

  .solutions-intro,
  .work-intro {
    gap: 1.5rem;
  }

  .solutions-heading,
  .work-heading {
    max-width: 48rem;
  }

  .work-intro .section-photo {
    order: 2;
  }

  .product-grid,
  .steps,
  .use-case-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .value-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .value-strip span:nth-child(2) {
    border-right: 0;
  }

  .value-strip span:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  }

  .use-case:nth-child(2) {
    border-right: 0;
  }

  .use-case:last-child {
    grid-column: 1 / -1;
    border-top: 1px solid var(--line);
  }

  .hero-media {
    max-width: 760px;
  }
}

@media (max-width: 740px) {
  .site-header {
    padding: 0.85rem 1rem;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 1rem;
    left: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.45rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 0.85rem 0.9rem;
  }

  .main-nav a::after {
    display: none;
  }

  .hero {
    gap: 1rem;
    padding-top: 1.4rem;
    padding-bottom: 1.25rem;
  }

  .hero h1 {
    font-size: 2.15rem;
  }

  .hero-text {
    font-size: 0.98rem;
    line-height: 1.48;
  }

  .hero-actions {
    flex-wrap: nowrap;
    gap: 0.5rem;
    margin-top: 1rem;
  }

  .hero-actions .button {
    width: auto;
    flex: 1 1 0;
    padding: 0.68rem 0.55rem;
    font-size: 0.86rem;
  }

  .cta-section {
    align-items: stretch;
    flex-direction: column;
  }

  .launch-offer {
    grid-template-columns: 1fr;
    gap: 0.4rem;
    margin-top: 0.8rem;
    padding: 0.75rem;
  }

  .launch-offer > span {
    width: fit-content;
    padding: 0.22rem 0.45rem;
    font-size: 0.68rem;
  }

  .launch-offer strong {
    font-size: 0.96rem;
  }

  .launch-offer p {
    font-size: 0.78rem;
  }

  .button {
    width: 100%;
  }

  .product-grid,
  .steps,
  .use-case-grid {
    grid-template-columns: 1fr;
  }

  .value-strip {
    grid-template-columns: 1fr;
  }

  .value-strip span,
  .value-strip span:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  }

  .value-strip span:last-child {
    border-bottom: 0;
  }

  .use-case,
  .use-case:nth-child(2),
  .use-case:last-child {
    grid-column: auto;
    border-top: 1px solid var(--line);
    border-right: 0;
  }

  .use-case:first-child {
    border-top: 0;
  }

  .hero-media img {
    aspect-ratio: 3 / 1;
  }
}

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

  .reveal {
    transform: none;
    opacity: 1;
  }
}
