:root {
  --brand-steel: #586d75;
  --brand-teal: #42bbbe;
  --brand-green: #a7cc83;
  --brand-coral: #fc995f;
  --brand-lilac: #8590e0;
  --ink: #203038;
  --muted-ink: #4f646d;
  --surface: #ffffff;
  --line: #dbe6ea;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background: #ffffff;
  line-height: 1.55;
  position: relative;
  overflow-x: hidden;
}

.page-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(circle at 8% 12%, rgba(66, 187, 190, 0.13), transparent 24%),
    radial-gradient(circle at 95% 7%, rgba(167, 204, 131, 0.16), transparent 24%),
    radial-gradient(circle at 84% 82%, rgba(133, 144, 224, 0.14), transparent 26%),
    radial-gradient(circle at 12% 88%, rgba(252, 153, 95, 0.12), transparent 26%),
    #ffffff;
}

.container {
  width: min(1100px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(219, 230, 234, 0.75);
  backdrop-filter: blur(8px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.5rem 0;
}

.brand img {
  width: 145px;
  max-width: 48vw;
  display: block;
}

.top-nav-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.45rem;
}

.top-nav-links a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--brand-steel);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.3rem 0.65rem;
  background: rgba(255, 255, 255, 0.9);
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.top-nav-links a:hover {
  transform: translateY(-1px);
  color: #17373f;
  border-color: var(--brand-teal);
}

.hero {
  padding: 2.4rem 0 3.2rem;
  text-align: left;
  animation: reveal 0.75s ease both;
}

.hero-title-band {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  min-height: clamp(210px, 34vw, 330px);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-banner-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: translateY(8px);
  animation: bannerFadeIn 1s ease 0.22s forwards;
}

.hero-title-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 31, 38, 0.62), rgba(15, 31, 38, 0.35));
}

.hero-title-content {
  position: relative;
  z-index: 1;
  padding: clamp(2rem, 6vw, 3.3rem) 0;
}

.hero-main-content {
  padding-top: 1.3rem;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 0.8rem;
  font-family: "Outfit", sans-serif;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #f4fbff;
  font-weight: 700;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2rem, 5.5vw, 3.5rem);
  max-width: 15ch;
}

.hero-title {
  color: #ffffff;
  text-shadow: 0 3px 20px rgba(0, 0, 0, 0.35);
  opacity: 0;
  animation: headlineFadeIn 1s ease 0.05s forwards;
}

.hero-copy {
  font-size: clamp(1rem, 2.3vw, 1.2rem);
  color: var(--muted-ink);
  max-width: 63ch;
  margin: 1.2rem 0 0;
}

.hero-actions {
  margin-top: 1.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  text-decoration: none;
  font-weight: 700;
  border-radius: 0.8rem;
  padding: 0.78rem 1.15rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #102228;
  background: linear-gradient(135deg, var(--brand-green), var(--brand-teal));
  box-shadow: 0 10px 20px rgba(66, 187, 190, 0.25);
}

.btn-outline {
  color: var(--brand-steel);
  border: 2px solid var(--line);
  background: var(--surface);
}

.products {
  padding: 2rem 0 3rem;
}

.products h2,
.contact h2 {
  font-size: clamp(1.5rem, 3.8vw, 2.3rem);
  margin-bottom: 1.2rem;
}

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

.product-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.25rem;
  min-height: 190px;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  box-shadow: 0 12px 30px rgba(32, 48, 56, 0.06);
  animation: reveal 0.7s ease both;
}

.product-card h3 {
  font-size: 1.25rem;
  margin: 0;
}

.product-card p {
  margin: 0;
  color: var(--muted-ink);
}

.product-cta {
  display: inline-block;
  margin-top: auto;
  align-self: flex-start;
}

.card-behaviour {
  border-top: 5px solid var(--brand-teal);
}

.card-send {
  border-top: 5px solid var(--brand-green);
}

.card-consultancy {
  border-top: 5px solid var(--brand-coral);
}

.contact {
  padding: 0.5rem 0 4.2rem;
  animation: reveal 0.9s ease both;
}

.contact p {
  margin: 0.8rem 0 1.4rem;
  color: var(--muted-ink);
  max-width: 62ch;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(247, 251, 252, 0.85);
}

.footer-wrap {
  padding: 1rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-wrap p {
  margin: 0;
  color: var(--muted-ink);
  font-size: 0.93rem;
}

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

.live-chat-toggle {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 35;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  color: #0f2d34;
  background: linear-gradient(135deg, var(--brand-green), var(--brand-teal));
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  padding: 0.7rem 1rem;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(32, 48, 56, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.live-chat-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(32, 48, 56, 0.24);
}

.live-chat-dot {
  width: 0.58rem;
  height: 0.58rem;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.28);
}

.live-chat-panel {
  position: fixed;
  right: 1rem;
  bottom: 4.2rem;
  z-index: 34;
  width: min(360px, calc(100vw - 1.4rem));
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  box-shadow: 0 20px 40px rgba(32, 48, 56, 0.22);
  opacity: 0;
  transform: translateY(12px) scale(0.98);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.live-chat-panel.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.live-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 0.9rem;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(167, 204, 131, 0.24), rgba(66, 187, 190, 0.22));
  border-radius: 0.9rem 0.9rem 0 0;
}

.live-chat-header h3 {
  font-size: 1rem;
}

.live-chat-close {
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--brand-steel);
  border-radius: 0.6rem;
  padding: 0.28rem 0.52rem;
  font-weight: 700;
  cursor: pointer;
}

.live-chat-messages {
  padding: 0.9rem;
  max-height: 260px;
  overflow-y: auto;
  display: grid;
  gap: 0.55rem;
}

.chat-bubble {
  margin: 0;
  max-width: 90%;
  padding: 0.55rem 0.7rem;
  border-radius: 0.7rem;
  font-size: 0.9rem;
}

.chat-bubble-agent {
  background: #eef6f7;
  color: #274149;
}

.chat-bubble-user {
  margin-left: auto;
  background: #d9f4ee;
  color: #12353d;
}

.live-chat-form {
  border-top: 1px solid var(--line);
  padding: 0.7rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.55rem;
}

.live-chat-form input {
  border: 1px solid var(--line);
  border-radius: 0.6rem;
  padding: 0.6rem 0.65rem;
  font: inherit;
}

.live-chat-form button {
  border: 0;
  border-radius: 0.6rem;
  padding: 0.58rem 0.82rem;
  font-weight: 700;
  color: #143039;
  background: linear-gradient(135deg, var(--brand-green), var(--brand-teal));
  cursor: pointer;
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes headlineFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bannerFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 850px) {
  .nav-wrap {
    flex-wrap: wrap;
    justify-content: center;
    padding: 0.45rem 0;
  }

  .top-nav-links {
    width: 100%;
    justify-content: center;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 4.2rem;
  }

  .live-chat-toggle {
    right: 0.7rem;
    bottom: 0.7rem;
    font-size: 0.9rem;
    padding: 0.65rem 0.9rem;
  }

  .live-chat-panel {
    right: 0.7rem;
    bottom: 3.8rem;
    width: calc(100vw - 1.4rem);
  }
}
