:root {
  --color-background: #ffffff;
  --color-text: #111111;
  --color-heading: #000000;
  --color-accent: #dd6a3d;
  --color-muted: #666666;
  --shadow-soft: 0 12px 40px -28px rgba(0, 0, 0, 0.45);
  --shadow-card: 0 12px 32px -24px rgba(17, 17, 17, 0.25);
  --header-height: 72px;
  --max-width: 1080px;
  --font-base: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-base);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-background);
}

a {
  color: var(--color-accent);
  text-decoration: none;
}

a:hover,
a:focus {
  text-decoration: underline;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

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

main {
  display: block;
}

[data-animate] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.no-js [data-animate] {
  opacity: 1;
  transform: none;
}

h1,
h2,
h3 {
  color: var(--color-heading);
  margin-top: 0;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.75rem, 5vw, 3.75rem);
  line-height: 1.1;
}

h2 {
  font-size: clamp(2rem, 3.4vw, 2.6rem);
}

h3 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

p {
  margin: 0 0 1.25rem;
}

.dl-skip-link {
  position: absolute;
  top: -64px;
  left: 1.5rem;
  padding: 0.75rem 1.25rem;
  background: var(--color-accent);
  color: var(--color-background);
  border-radius: 0.5rem;
  transition: top 0.2s ease;
  z-index: 999;
}

.dl-skip-link:focus {
  top: 1rem;
}

.dl-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(17, 17, 17, 0.05);
  transition:
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.dl-header[data-scroll-state="scrolled"] {
  box-shadow: var(--shadow-soft);
  border-color: transparent;
}

.dl-header__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.dl-header__logo {
  display: inline-flex;
  align-items: center;
}

.dl-logo {
  display: block;
  height: auto;
}

.dl-logo--long {
  width: clamp(8rem, 16vw, 11rem);
}

.dl-logo--short {
  display: none;
  width: 1.65rem;
}

@media (max-width: 640px) {
  .dl-logo--long {
    display: none;
  }

  .dl-logo--short {
    display: block;
    width: 1.65rem;
  }
}

.dl-header__nav {
  margin-left: auto;
}

.dl-header__nav ul {
  display: flex;
  gap: clamp(1rem, 2vw, 2.25rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.dl-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--color-text);
  padding: 0.25rem 0;
}

.dl-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 3px;
  background: var(--color-accent);
  opacity: 0;
  transform: scaleX(0.3);
  transform-origin: center;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.dl-nav__link[aria-current="true"],
.dl-nav__link:hover {
  color: var(--color-heading);
}

.dl-nav__link:hover,
.dl-nav__link:focus {
  text-decoration: none;
}

.dl-nav__link[aria-current="true"]::after,
.dl-nav__link:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.dl-main {
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - var(--header-height));
}

.dl-hero {
  position: relative;
  padding: clamp(5rem, 10vw, 9rem) 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #fff;
}

.dl-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to bottom,
      rgba(255, 255, 255, 1) 0%,
      rgba(255, 255, 255, 0) 18%
    ),
    linear-gradient(
      to top,
      rgba(255, 255, 255, 1) 0%,
      rgba(255, 255, 255, 0) 22%
    ),
    radial-gradient(
      120% 100% at 10% 10%,
      rgba(221, 106, 61, 0.18),
      transparent 60%
    ),
    radial-gradient(
      90% 140% at 80% 20%,
      rgba(17, 17, 17, 0.08),
      transparent 65%
    ),
    linear-gradient(120deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.9));
  opacity: 0.85;
  pointer-events: none;
  mix-blend-mode: screen;
}

.dl-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to bottom,
      rgba(255, 255, 255, 1) 0%,
      rgba(255, 255, 255, 0) 34%
    ),
    linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0) 68%,
      rgba(255, 255, 255, 1) 100%
    ),
    linear-gradient(0deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)),
    url("../images/test-backgound-3.jpg") center/cover no-repeat;
  opacity: 1;
  mix-blend-mode: normal;
  pointer-events: none;
}

.dl-hero__content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  text-align: left;
}

.dl-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.75rem;
  margin-bottom: 1.25rem;
  color: var(--color-muted);
}

.dl-hero__lead {
  font-size: 1.2rem;
  color: rgba(17, 17, 17, 0.85);
}

.dl-hero__support {
  color: rgba(17, 17, 17, 0.72);
  max-width: 600px;
}

.dl-hero__actions {
  display: flex;
  gap: 1rem;
}

.dl-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  font-weight: 600;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
  border: none;
  cursor: pointer;
}

.dl-button:focus-visible {
  transform: translateY(-1px);
}

.dl-button--primary {
  background: var(--color-accent);
  color: var(--color-background);
  box-shadow: var(--shadow-card);
}

.dl-button--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -28px rgba(221, 106, 61, 0.9);
}

.dl-section {
  padding: clamp(3.5rem, 6vw, 7.5rem) 1.5rem;
  position: relative;
  scroll-margin-top: calc(var(--header-height) + 1rem);
}

.dl-section__heading {
  max-width: var(--max-width);
  margin: 0 auto 3rem;
}

.dl-divider {
  display: inline-block;
  width: 48px;
  height: 3px;
  background: var(--color-accent);
  border-radius: 999px;
  margin-bottom: 1rem;
}

.dl-section h2 {
  margin-bottom: 0.75rem;
}

.dl-section--services {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 1) 28%,
    rgba(247, 247, 247, 0.45) 65%,
    rgba(255, 255, 255, 0.9) 100%
  );
  position: relative;
  isolation: isolate;
  margin-top: -1px;
}

.dl-section--services::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    to top,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 0) 85%
  );
  pointer-events: none;
}

.dl-section--services > * {
  position: relative;
  z-index: 1;
}

.dl-services__grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  gap: 1.75rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.dl-card {
  background: var(--color-background);
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid rgba(17, 17, 17, 0.06);
  box-shadow: 0 1.5rem 3rem -3rem rgba(17, 17, 17, 0.3);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.dl-card:hover,
.dl-card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -30px rgba(17, 17, 17, 0.25);
}

.dl-card p {
  margin-bottom: 0;
  color: rgba(17, 17, 17, 0.75);
}

.dl-section--partners {
  position: relative;
  isolation: isolate;
  background: linear-gradient(
    180deg,
    rgba(247, 247, 247, 0.55),
    rgba(255, 255, 255, 0.92)
  );
}

.dl-section--partners > * {
  position: relative;
  z-index: 1;
}

.dl-section--partners::before,
.dl-section--partners::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.dl-section--partners::before {
  background: linear-gradient(
    180deg,
    rgba(247, 247, 247, 0.55),
    rgba(255, 255, 255, 0.92)
  );
}

.dl-section--partners::after {
  background:
    linear-gradient(
      to bottom,
      rgba(255, 255, 255, 1) 0%,
      rgba(255, 255, 255, 0) 40%
    ),
    linear-gradient(
      to top,
      rgba(255, 255, 255, 1) 0%,
      rgba(255, 255, 255, 0) 40%
    ),
    linear-gradient(0deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.72)),
    url("../images/test-backgound-4.jpg") center/cover no-repeat;
  mix-blend-mode: normal;
  opacity: 0.92;
}

.dl-section--partners .dl-section__heading::after {
  content: "";
  display: block;
  width: clamp(120px, 20vw, 180px);
  height: 1px;
  margin: 1.75rem 0 0;
  background: linear-gradient(
    90deg,
    rgba(17, 17, 17, 0) 0%,
    rgba(17, 17, 17, 0.18) 35%,
    var(--color-accent) 50%,
    rgba(17, 17, 17, 0.18) 65%,
    rgba(17, 17, 17, 0) 100%
  );
  border-radius: 999px;
}

.dl-partners__logos {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.5rem, 4vw, 3rem);
  flex-wrap: wrap;
  row-gap: clamp(1.75rem, 5vw, 3.5rem);
}

.dl-partners__logo-item {
  flex: 0 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: clamp(120px, 18vw, 180px);
  padding: 0.5rem;
  transition: transform 0.2s ease;
  text-align: center;
}

.dl-partners__logo-item a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.dl-partners__logo-item img {
  max-height: clamp(36px, 5vw, 60px);
  width: auto;
  mix-blend-mode: multiply;
  opacity: 0.9;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.dl-partners__logo-item a:hover img,
.dl-partners__logo-item a:focus-visible img {
  transform: translateY(-4px);
  opacity: 1;
}

.dl-partners__logo-item figcaption {
  margin-top: 0.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, 0.64);
}

@media (max-width: 600px) {
  .dl-partners__logo-item a {
    padding: 0;
  }

  .dl-partners__logo-item img {
    max-height: clamp(32px, 8vw, 48px);
  }

  .dl-partners__logo-item figcaption {
    font-size: 0.85rem;
    letter-spacing: 0.05em;
  }
}

@media (min-width: 900px) {
  .dl-section--partners .dl-section__heading {
    text-align: right;
  }

  .dl-section--partners .dl-divider {
    margin-left: auto;
    margin-right: 0;
  }

  .dl-section--partners .dl-section__heading::after {
    margin: 1.75rem 0 0 auto;
  }

  .dl-section--contact .dl-section__heading {
    text-align: center;
  }

  .dl-section--contact .dl-divider {
    margin-inline: auto;
  }
}

.dl-section--contact {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 1) 0%,
    rgba(247, 247, 247, 0.5) 55%,
    rgba(255, 255, 255, 0.92) 100%
  );
}

.dl-contact__grid {
  max-width: var(--max-width);
  margin: 0 auto 2.5rem;
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.dl-contact__details {
  padding: 1.5rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(17, 17, 17, 0.06);
}

.dl-contact__label {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(17, 17, 17, 0.55);
  margin-bottom: 0.4rem;
}

.dl-footer {
  border-top: 1px solid rgba(17, 17, 17, 0.08);
  padding: 2.5rem 1.5rem 3rem;
  background: rgba(255, 255, 255, 0.98);
}

.dl-footer__inner {
  max-width: clamp(280px, 40vw, 560px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
  font-size: 0.95rem;
  color: rgba(17, 17, 17, 0.72);
}

.dl-footer__divider {
  width: 64px;
  height: 3px;
  background: var(--color-accent);
  border-radius: 999px;
}

.dl-footer__copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
}

.dl-footer__copy p {
  margin: 0;
}

.dl-footer__disclosure {
  font-size: 0.88rem;
  color: rgba(17, 17, 17, 0.6);
}

.dl-consent {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  transform: translate(-50%, 1.5rem);
  width: min(480px, calc(100% - 2.5rem));
  z-index: 1000;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
  opacity: 0;
}

.dl-consent.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.dl-consent__inner {
  background: rgba(255, 255, 255, 0.98);
  border-radius: 18px;
  box-shadow: 0 20px 48px -24px rgba(17, 17, 17, 0.3);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.dl-consent__message {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(17, 17, 17, 0.82);
}

.dl-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.dl-consent__button {
  flex: 1 1 140px;
  border-radius: 999px;
  padding: 0.65rem 1.5rem;
  border: 1px solid rgba(17, 17, 17, 0.12);
  background: rgba(255, 255, 255, 0.9);
  color: rgba(17, 17, 17, 0.82);
  font-weight: 600;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

.dl-consent__button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -18px rgba(17, 17, 17, 0.4);
}

.dl-consent__button:focus-visible {
  outline: 2px solid rgba(221, 106, 61, 0.7);
  outline-offset: 2px;
}

.dl-consent__button--accept {
  background: var(--color-accent);
  color: var(--color-background);
  border-color: transparent;
  box-shadow: var(--shadow-card);
}

@media (max-width: 640px) {
  .dl-consent {
    bottom: 1rem;
    width: calc(100% - 1.5rem);
  }

  .dl-consent__inner {
    padding: 1.5rem;
  }
}

@media (max-width: 880px) {
  .dl-header__inner {
    padding: 0.75rem 1rem;
    gap: 1rem;
  }

  .dl-header__nav ul {
    gap: 1rem;
  }

  .dl-hero {
    padding: clamp(4rem, 8vw, 6.5rem) 1.25rem;
  }

  .dl-hero__content {
    text-align: center;
  }

  .dl-hero__support {
    margin-inline: auto;
  }

  .dl-hero__actions {
    justify-content: center;
  }

  .dl-footer__inner {
    text-align: center;
  }
}

@media (max-width: 640px) {
  :root {
    --header-height: 64px;
  }

  .dl-header__nav ul {
    gap: 0.75rem;
    font-size: 0.95rem;
  }

  .dl-card,
  .dl-contact__details {
    padding: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
