:root {
  --ds-bg: #f4faf7;
  --ds-surface: #ffffff;
  --ds-text: #15202b;
  --ds-text-soft: #4c5c69;
  --ds-primary: #46aa82;
  --ds-primary-strong: #3e9874;
  --ds-primary-soft: #dcf4ea;
  --ds-line: #d9e7df;
  --ds-shadow: 0 16px 40px rgba(28, 45, 41, 0.09);
  --ds-radius-sm: 8px;
  --ds-radius-md: 14px;
  --ds-radius-lg: 24px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--ds-bg);
  color: var(--ds-text);
  font-family: "Manrope", sans-serif;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: "Sora", sans-serif;
  letter-spacing: -0.02em;
}

p {
  margin: 0;
  color: var(--ds-text-soft);
}

a {
  color: inherit;
}

.ds-shell {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.ds-topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  margin-top: 1rem;
  padding: 0.8rem 1rem;
  border: 1px solid var(--ds-line);
  border-radius: var(--ds-radius-lg);
  background: rgba(255, 255, 255, 0.87);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.ds-brand {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
}

.ds-brand img {
  width: 30px;
  height: 30px;
}

.ds-nav {
  display: inline-flex;
  gap: 1rem;
}

.ds-nav a {
  text-decoration: none;
  color: #34424c;
  font-weight: 600;
}

.ds-nav a:hover,
.ds-nav a:focus-visible {
  color: var(--ds-primary-strong);
}

.ds-section {
  margin-top: 2.5rem;
}

.ds-section-media {
  position: relative;
  border: 1px solid var(--ds-line);
  border-radius: var(--ds-radius-lg);
  padding: 1rem;
  overflow: hidden;
}

.ds-section-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.14;
  transform: scale(1.05);
}

.ds-section-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(244, 250, 247, 0.83) 5%, rgba(244, 250, 247, 0.96) 55%, rgba(244, 250, 247, 1) 100%);
}

.ds-section-media > * {
  position: relative;
  z-index: 1;
}

.ds-media-one::before {
  background-image: url("/static/img/1.png");
}

.ds-media-two::before {
  background-image: url("/static/img/2.png");
}

.ds-hero-header {
  margin-top: 1.2rem;
  border-radius: var(--ds-radius-lg);
  border: 1px solid var(--ds-line);
  background: linear-gradient(145deg, #eef8f3 0%, #f9fcfb 65%, #d8eee4 100%);
  padding: 2.2rem;
  display: grid;
  gap: 1rem;
}

.ds-hero-header h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  max-width: 16ch;
}

.ds-kicker {
  color: var(--ds-primary-strong);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.ds-hero-logos {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.ds-hero-logos img:nth-child(1) {
  height: 48px;
}

.ds-hero-logos img:nth-child(2) {
  height: 36px;
}

.ds-hero-logos img:nth-child(3) {
  height: 30px;
}

.ds-grid {
  display: grid;
  gap: 1rem;
}

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

.ds-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ds-card {
  background: var(--ds-surface);
  border: 1px solid var(--ds-line);
  border-radius: var(--ds-radius-md);
  padding: 1rem;
  box-shadow: var(--ds-shadow);
  display: grid;
  gap: 0.7rem;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.ds-card:hover {
  transform: translateY(-4px);
  border-color: #8bc8ae;
  box-shadow: 0 20px 44px rgba(24, 44, 37, 0.13);
}

.ds-color-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.ds-color-list li {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
}

.ds-color-list span {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 1px solid #c9d4cc;
}

.ds-font-display {
  font-family: "Sora", sans-serif;
  font-weight: 700;
}

.ds-inline {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.ds-btn {
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  padding: 0.65rem 1rem;
  cursor: pointer;
  font-family: inherit;
}

.ds-btn:focus-visible,
.ds-toggle-btn:focus-visible,
.ds-nav a:focus-visible,
.ds-link:focus-visible,
.ds-hero-bottom-menu button:focus-visible {
  outline: 3px solid #1f5140;
  outline-offset: 2px;
}

.ds-btn-primary {
  background: var(--ds-primary);
  color: #fff;
}

.ds-btn-primary:hover {
  background: var(--ds-primary-strong);
}

.ds-btn-secondary {
  background: var(--ds-primary-soft);
  color: #164131;
}

.ds-btn-secondary:hover {
  background: #c7ecdb;
}

.ds-btn-ghost {
  background: transparent;
  color: #24493b;
  border: 1px solid #9bcdb9;
}

.ds-btn-ghost:hover {
  background: #ebf8f2;
}

.ds-chip {
  font-size: 0.85rem;
  background: #ebf8f2;
  color: #1c4b39;
  border: 1px solid #bfe5d4;
  border-radius: 999px;
  padding: 0.28rem 0.62rem;
  font-weight: 700;
  animation: chipFloat 5s ease-in-out infinite;
}

.ds-chip:nth-of-type(2) {
  animation-delay: 0.6s;
}

.ds-chip:nth-of-type(3) {
  animation-delay: 1.2s;
}

.ds-mini-grid {
  display: grid;
  gap: 0.7rem;
}

.ds-service-card {
  border: 1px dashed #9dd4bf;
  border-radius: var(--ds-radius-sm);
  padding: 0.85rem;
  background: #f8fdfb;
}

.ds-service-card h4 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.ds-form {
  display: grid;
  gap: 0.75rem;
}

.ds-form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
  color: #364851;
}

.ds-form input,
.ds-form textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid #b9d5c8;
  padding: 0.65rem 0.7rem;
  font: inherit;
  background: #fff;
}

.ds-form input:focus,
.ds-form textarea:focus {
  border-color: var(--ds-primary);
  outline: 2px solid #8ed3b7;
}

.ds-case {
  background: linear-gradient(155deg, #f8fffc 0%, #ecfaf4 100%);
}

.ds-link {
  color: #207455;
  font-weight: 700;
  text-decoration: underline;
}

.ds-testimonial blockquote {
  margin: 0;
  color: #1f2f37;
  font-size: 1.15rem;
  line-height: 1.45;
}

.ds-author {
  color: #546772;
  font-weight: 700;
}

.ds-hero-tests-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.ds-toggle {
  border-radius: 999px;
  padding: 0.25rem;
  border: 1px solid #a7d7c3;
  background: #f3fdf8;
  display: inline-flex;
  gap: 0.3rem;
}

.ds-hero-variant {
  display: none;
}

.ds-hero-variant.is-active {
  display: block;
}

.ds-hero-video-wrap {
  position: relative;
  border-radius: var(--ds-radius-lg);
  overflow: hidden;
  min-height: 520px;
  box-shadow: 0 24px 50px rgba(18, 35, 31, 0.3);
}

.ds-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ds-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(10, 22, 28, 0.72) 20%, rgba(10, 22, 28, 0.35) 60%, rgba(10, 22, 28, 0.15) 100%);
}

.ds-hero-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
  padding: 2rem;
  display: grid;
  gap: 1rem;
}

.ds-reveal {
  animation: revealIn 760ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.ds-hero-content h3 {
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  color: #fff;
}

.ds-hero-content p {
  color: #ecf5f2;
}

.ds-hero-bottom-menu {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 3;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
  border-radius: 999px;
  padding: 0.3rem;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.35rem;
  animation: menuRise 850ms ease both 220ms;
}

.ds-hero-bottom-menu button {
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font-weight: 700;
  padding: 0.65rem 0.6rem;
  cursor: pointer;
}

.ds-hero-bottom-menu button.is-current {
  background: #fff;
  color: #1a3f31;
}

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

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

@keyframes chipFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}

@media (max-width: 980px) {
  .ds-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ds-nav {
    display: none;
  }
}

@media (max-width: 720px) {
  .ds-grid-2 {
    grid-template-columns: 1fr;
  }

  .ds-hero-bottom-menu {
    grid-template-columns: 1fr;
    border-radius: var(--ds-radius-md);
  }

  .ds-topbar {
    position: static;
  }
}

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