/* Digital IT Web — shared header, page CTA, footer (identical on every page) */
:root {
  --diw-ink: #12203A;
  --diw-muted: #54607a;
  --diw-primary: #2F5BFF;
  --diw-primary-dark: #1a3fd4;
  --diw-surface: #F4F7FF;
  --diw-border: #E2E6F0;
  --diw-white: #ffffff;
  --diw-footer: #0f1a2e;
}

.diw-chrome-header,
.diw-page-cta,
.diw-chrome-footer {
  font-family: "Nunito", system-ui, sans-serif;
  box-sizing: border-box;
}

.diw-chrome-header *,
.diw-page-cta *,
.diw-chrome-footer * {
  box-sizing: border-box;
}

#booking,
#get-started,
#website-consultation,
#contactForm,
#quoteForm {
  scroll-margin-top: 160px;
}

/* ========== SHARED HEADER ========== */
.diw-chrome-header {
  position: sticky;
  top: 0;
  z-index: 1040;
  background: var(--diw-white);
  border-bottom: 1px solid var(--diw-border);
  box-shadow: 0 4px 18px rgba(18, 32, 58, 0.06);
}

.diw-chrome-header nav.diw-chrome-nav {
  position: static;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 2px;
  padding: 0;
  margin: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.diw-chrome-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.diw-chrome-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.diw-chrome-logo img {
  display: block;
  width: 150px;
  height: 40px;
  object-fit: contain;
}

.diw-chrome-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--diw-border);
  border-radius: 10px;
  background: var(--diw-white);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
}

.diw-chrome-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--diw-ink);
  border-radius: 2px;
}

.diw-chrome-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 2px;
}

.diw-chrome-nav a {
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--diw-muted);
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 8px;
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease;
}

.diw-chrome-nav a:hover,
.diw-chrome-nav a:focus-visible {
  color: var(--diw-primary);
  background: #eef2ff;
  outline: none;
}

.diw-chrome-nav a.is-active {
  color: var(--diw-primary);
  background: #eef2ff;
  font-weight: 700;
}

/* ========== PAGE CTA STRIP ========== */
.diw-page-cta {
  background: linear-gradient(180deg, #f7f9ff 0%, var(--diw-surface) 100%);
  border-bottom: 1px solid var(--diw-border);
}

.diw-page-cta__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 64px;
}

.diw-page-cta__hint {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--diw-muted);
}

.diw-page-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--diw-primary);
  color: #fff !important;
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none !important;
  border: 0;
  box-shadow: 0 10px 24px rgba(47, 91, 255, 0.28);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.diw-page-cta__btn:hover,
.diw-page-cta__btn:focus-visible {
  background: var(--diw-primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(47, 91, 255, 0.34);
  outline: none;
}

.diw-page-cta__btn::after {
  content: "→";
  font-weight: 800;
}

/* ========== SHARED FOOTER ========== */
.diw-chrome-footer {
  background: var(--diw-footer);
  color: #c9d2e8;
  padding: 56px 0 0;
  margin-top: 0;
}

.diw-chrome-footer a {
  color: #fff;
  text-decoration: none;
}

.diw-chrome-footer a:hover,
.diw-chrome-footer a:focus-visible {
  color: #9eb6ff;
  outline: none;
}

.diw-chrome-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 36px;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 28px;
}

.diw-chrome-footer h4 {
  margin: 0 0 14px;
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}

.diw-chrome-footer p {
  margin: 0 0 10px;
  font-size: 0.92rem;
  line-height: 1.55;
  color: #c9d2e8;
}

.diw-chrome-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.diw-chrome-footer li {
  margin: 0 0 10px;
  font-size: 0.92rem;
}

.diw-chrome-footer__brand-logo {
  width: 140px;
  height: auto;
  margin-bottom: 14px;
  display: block;
}

.diw-chrome-footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.diw-chrome-footer__social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.diw-chrome-footer__social a:hover,
.diw-chrome-footer__social a:focus-visible {
  background: #fff;
  color: var(--diw-primary);
  transform: translateY(-2px);
  outline: none;
}

.diw-chrome-footer__copy {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px 20px;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(201, 210, 232, 0.8);
  max-width: 1200px;
  margin: 0 auto;
}

/* Hide legacy chrome leftovers when present */
body.diw-chrome-ready .diw-site-header,
body.diw-chrome-ready .container-fluid.bg-primary.diw-topbar-animate,
body.diw-chrome-ready .diw-mobile-opb-strip {
  display: none !important;
}

@media (max-width: 991px) {
  .diw-chrome-toggle {
    display: flex;
  }

  .diw-chrome-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--diw-white);
    border-bottom: 1px solid var(--diw-border);
    flex-direction: column;
    align-items: stretch;
    padding: 10px 12px 14px;
    gap: 2px;
    box-shadow: 0 12px 28px rgba(18, 32, 58, 0.1);
  }

  .diw-chrome-nav.is-open {
    display: flex;
  }

  .diw-chrome-nav a {
    padding: 12px 14px;
    white-space: normal;
  }

  .diw-chrome-header__inner {
    position: relative;
    min-height: 64px;
  }

  .diw-page-cta__inner {
    flex-direction: column;
    text-align: center;
    gap: 10px;
    padding: 12px 16px;
  }

  .diw-page-cta__btn {
    width: 100%;
    max-width: 420px;
  }

  .diw-chrome-footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}

@media (max-width: 575px) {
  .diw-chrome-footer__inner {
    grid-template-columns: 1fr;
  }

  .diw-page-cta__hint {
    font-size: 0.88rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .diw-page-cta__btn,
  .diw-chrome-nav a {
    transition: none !important;
  }
}
