/* DataOstrov homepage – scoped styles for the inPage content block. */
#datost-home {
  --dh-ink: var(--do-ink, #17252e);
  --dh-muted: var(--do-muted, #61717b);
  --dh-line: var(--do-line, #dbe6eb);
  --dh-soft: var(--do-page, #f4f8fa);
  --dh-blue: var(--do-blue, #1d94cc);
  --dh-blue-dark: var(--do-blue-dark, #08749d);
  --dh-red: var(--do-red, #e41f2b);
  --dh-night: #171a1c;
  position: relative;
  left: 50%;
  overflow: hidden;
  width: 100vw;
  max-width: none;
  margin: 0 0 0 -50vw;
  color: var(--dh-ink);
  background: #fff;
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
}

#datost-home,
#datost-home * { box-sizing: border-box; }

#datost-home a { color: inherit; }

#datost-home .dh-eyebrow {
  margin: 0 0 0.75rem;
  color: var(--dh-blue-dark);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

#datost-home .dh-hero {
  display: grid;
  width: min(1380px, 100%);
  min-height: 680px;
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 7rem) clamp(1.2rem, 5vw, 5.5rem);
  grid-template-columns: minmax(0, 0.92fr) minmax(380px, 1.08fr);
  gap: clamp(2.5rem, 6vw, 7rem);
  align-items: center;
}

#datost-home .dh-hero__content {
  position: relative;
  z-index: 2;
}

#datost-home .dh-hero h1 {
  max-width: 760px;
  margin: 0;
  color: var(--dh-ink);
  font-family: inherit;
  font-size: clamp(2.8rem, 5.8vw, 5.7rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.06em;
}

#datost-home .dh-hero h1::after {
  content: "";
  display: block;
  width: 94px;
  height: 5px;
  margin-top: 1.5rem;
  background: var(--dh-red);
  transform: skewX(-35deg);
}

#datost-home .dh-lead {
  max-width: 650px;
  margin: 1.6rem 0 0;
  color: var(--dh-muted);
  font-size: clamp(1.03rem, 1.6vw, 1.22rem);
  line-height: 1.68;
}

#datost-home .dh-actions {
  display: flex;
  margin-top: 2rem;
  gap: 0.8rem;
  flex-wrap: wrap;
}

#datost-home .dh-button {
  display: inline-flex;
  min-height: 49px;
  padding: 0.78rem 1.25rem;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 9px;
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

#datost-home .dh-button:hover {
  color: inherit;
  text-decoration: none;
  transform: translateY(-2px);
}

#datost-home .dh-button--primary {
  color: #fff;
  background: var(--dh-blue);
  box-shadow: 0 10px 24px rgba(20, 153, 199, 0.24);
}

#datost-home .dh-button--primary:hover {
  color: #fff;
  background: var(--dh-blue-dark);
}

#datost-home .dh-button--secondary {
  border-color: var(--dh-line);
  background: #fff;
}

#datost-home .dh-button--secondary:hover { border-color: #9ecfdf; }

#datost-home .dh-trust {
  display: flex;
  margin: 2rem 0 0;
  padding: 0;
  gap: 1rem 1.6rem;
  flex-wrap: wrap;
  list-style: none;
}

#datost-home .dh-trust li {
  position: relative;
  padding-left: 1.1rem;
  color: #4f626b;
  font-size: 0.77rem;
  font-weight: 700;
}

#datost-home .dh-trust li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--dh-blue);
}

#datost-home .dh-hero__visual {
  position: relative;
  min-height: 500px;
}

#datost-home .dh-hero__visual::before {
  content: "";
  position: absolute;
  inset: -2rem -20vw -2rem 18%;
  z-index: -1;
  background: var(--dh-soft);
}

#datost-home .dh-hero__visual img {
  display: block;
  width: 100%;
  height: 500px;
  margin: 0;
  object-fit: cover;
  object-position: 43% center;
  border: 0;
  border-radius: 3px 3px 42px 3px;
  box-shadow: 0 22px 55px rgba(24, 58, 70, 0.12);
}

#datost-home .dh-hero__visual > p {
  position: absolute;
  right: -1rem;
  bottom: 1.3rem;
  width: min(330px, 85%);
  margin: 0;
  padding: 1.15rem 1.25rem;
  color: #fff;
  background: rgba(23, 26, 28, 0.93);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

#datost-home .dh-hero__visual strong,
#datost-home .dh-hero__visual span { display: block; }
#datost-home .dh-hero__visual strong { font-size: 0.9rem; }
#datost-home .dh-hero__visual span { margin-top: 0.3rem; color: #c9d4d8; font-size: 0.75rem; line-height: 1.45; }

#datost-home .dh-services {
  padding: clamp(4rem, 8vw, 7rem) clamp(1.2rem, 5vw, 5.5rem);
  background: var(--dh-soft);
}

#datost-home .dh-section-heading {
  display: grid;
  width: min(1220px, 100%);
  margin: 0 auto 2.5rem;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 3rem;
  align-items: end;
}

#datost-home .dh-section-heading h2,
#datost-home .dh-why h2,
#datost-home .dh-contact h2 {
  margin: 0;
  color: inherit;
  font-family: inherit;
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

#datost-home .dh-section-heading > p { margin: 0; color: var(--dh-muted); line-height: 1.65; }

#datost-home .dh-service-grid {
  display: grid;
  width: min(1220px, 100%);
  margin: 0 auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

#datost-home .dh-card {
  display: flex;
  min-height: 480px;
  padding: clamp(1.5rem, 3vw, 2.2rem);
  flex-direction: column;
  border: 1px solid var(--dh-line);
  background: #fff;
  box-shadow: 0 12px 38px rgba(24, 58, 70, 0.05);
}

#datost-home .dh-card--featured { border-top: 4px solid var(--dh-blue); }
#datost-home .dh-card__number { align-self: flex-end; color: #a4b6bd; font-size: 0.74rem; font-weight: 800; letter-spacing: 0.14em; }
#datost-home .dh-card__label { margin: 2rem 0 0.55rem; color: var(--dh-blue-dark); font-size: 0.68rem; font-weight: 850; letter-spacing: 0.12em; text-transform: uppercase; }

#datost-home .dh-card h3 {
  margin: 0;
  color: var(--dh-ink);
  font-family: inherit;
  font-size: clamp(1.45rem, 2.3vw, 2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

#datost-home .dh-card > p:not(.dh-card__label) { color: var(--dh-muted); line-height: 1.58; }

#datost-home .dh-card ul {
  display: grid;
  margin: 0.6rem 0 1.6rem;
  padding: 0;
  gap: 0.7rem;
  list-style: none;
}

#datost-home .dh-card li { position: relative; padding-left: 1.15rem; color: #445860; font-size: 0.84rem; }
#datost-home .dh-card li::before { content: ""; position: absolute; left: 0; top: 0.61rem; width: 6px; height: 2px; background: var(--dh-red); }
#datost-home .dh-card > a { margin-top: auto; color: var(--dh-blue-dark); font-size: 0.84rem; font-weight: 850; text-decoration: none; }
#datost-home .dh-card > a:hover { text-decoration: underline; }
#datost-home .dh-card > a span { margin-left: 0.3rem; }

#datost-home .dh-supporting {
  display: grid;
  width: min(1220px, 100%);
  margin: 1rem auto 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

#datost-home .dh-supporting article { padding: 1.5rem 1.7rem; border-left: 4px solid var(--dh-red); background: #e5f1f5; }
#datost-home .dh-supporting span { color: var(--dh-blue-dark); font-size: 0.68rem; font-weight: 850; letter-spacing: 0.1em; text-transform: uppercase; }
#datost-home .dh-supporting h3 { margin: 0.5rem 0 0.3rem; color: var(--dh-ink); font-family: inherit; font-size: 1.15rem; font-weight: 800; }
#datost-home .dh-supporting p { margin: 0; color: var(--dh-muted); font-size: 0.86rem; line-height: 1.5; }

#datost-home .dh-why {
  display: grid;
  padding: clamp(4rem, 8vw, 7rem) max(1.2rem, calc((100vw - 1220px) / 2));
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(3rem, 7vw, 7rem);
  background: #fff;
}

#datost-home .dh-why__grid { display: grid; gap: 0; border-top: 1px solid var(--dh-line); }
#datost-home .dh-why__grid article { display: grid; padding: 1.5rem 0; grid-template-columns: 48px minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 1rem; align-items: start; border-bottom: 1px solid var(--dh-line); }
#datost-home .dh-why__grid strong { color: var(--dh-blue); font-size: 0.72rem; letter-spacing: 0.08em; }
#datost-home .dh-why__grid h3,
#datost-home .dh-why__grid p { margin: 0; }
#datost-home .dh-why__grid h3 { color: var(--dh-ink); font-family: inherit; font-size: 1.02rem; font-weight: 800; }
#datost-home .dh-why__grid p { color: var(--dh-muted); font-size: 0.88rem; line-height: 1.55; }

#datost-home .dh-contact {
  display: flex;
  padding: clamp(3rem, 6vw, 5.5rem) max(1.2rem, calc((100vw - 1220px) / 2));
  align-items: end;
  justify-content: space-between;
  gap: 3rem;
  color: #fff;
  background: var(--dh-blue-dark);
}

#datost-home .dh-contact .dh-eyebrow { color: #8cd7ef; }
#datost-home .dh-contact > div:first-child { max-width: 680px; }
#datost-home .dh-contact > div:first-child > p:last-child { max-width: 560px; color: #c5dae2; line-height: 1.6; }
#datost-home .dh-contact__actions { display: grid; justify-items: start; gap: 0.8rem; }
#datost-home .dh-button--light { color: var(--dh-blue-dark); background: #fff; }
#datost-home .dh-button--light:hover { color: var(--dh-blue-dark); }
#datost-home .dh-contact__actions span { color: #c5dae2; font-size: 0.78rem; }
#datost-home .dh-contact__actions span a { color: #fff; font-weight: 800; }

#datost-home .dh-button:focus-visible,
#datost-home a:focus-visible { outline: 3px solid rgba(20, 153, 199, 0.3); outline-offset: 3px; }

@media (max-width: 940px) {
  #datost-home .dh-hero { min-height: 0; grid-template-columns: 1fr; }
  #datost-home .dh-hero__visual { min-height: 390px; }
  #datost-home .dh-hero__visual img { height: 390px; }
  #datost-home .dh-service-grid { grid-template-columns: 1fr; }
  #datost-home .dh-card { min-height: 0; }
  #datost-home .dh-why { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  #datost-home .dh-hero { padding-top: 3.5rem; grid-template-columns: minmax(0, 1fr); }
  #datost-home .dh-hero h1 { font-size: clamp(2.55rem, 14vw, 4.1rem); }
  #datost-home .dh-hero__visual { min-height: 320px; }
  #datost-home .dh-hero__visual img { height: 320px; }
  #datost-home .dh-hero__visual > p { right: 0; bottom: -1rem; }
  #datost-home .dh-section-heading,
  #datost-home .dh-supporting { grid-template-columns: 1fr; gap: 1.2rem; }
  #datost-home .dh-why__grid article { grid-template-columns: 35px 1fr; }
  #datost-home .dh-why__grid p { grid-column: 2; }
  #datost-home .dh-contact { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  #datost-home,
  #datost-home *,
  #datost-home *::before,
  #datost-home *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
}
