/* ContractBot.eu shared chrome — compact header, crawlable full-page HTML bodies remain on each page */
:root {
  --eu-chrome-bg: rgba(6, 8, 16, 0.92);
  --eu-chrome-line: rgba(255, 255, 255, 0.12);
  --eu-chrome-text: #f4f7ff;
  --eu-chrome-muted: #aeb8cc;
  --eu-chrome-accent: #f0c46b;
  --eu-chrome-cta: #f8fbff;
}

.eu-chrome {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
  padding: 0.55rem 1rem;
  background: var(--eu-chrome-bg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--eu-chrome-line);
  color: var(--eu-chrome-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.eu-chrome__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.eu-chrome__logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.eu-chrome__brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
}

.eu-chrome__brand-text strong {
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.eu-chrome__brand-text span {
  font-size: 0.68rem;
  color: var(--eu-chrome-muted);
}

.eu-chrome__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.85rem;
  flex: 1 1 auto;
  font-size: 0.82rem;
}

.eu-chrome__nav > a,
.eu-chrome__services summary {
  color: var(--eu-chrome-muted);
  text-decoration: none;
  cursor: pointer;
  list-style: none;
}

.eu-chrome__nav > a:hover,
.eu-chrome__services summary:hover,
.eu-chrome__nav > a[aria-current="page"] {
  color: var(--eu-chrome-text);
}

.eu-chrome__services {
  position: relative;
}

.eu-chrome__services summary::-webkit-details-marker { display: none; }

.eu-chrome__services-panel {
  position: absolute;
  top: calc(100% + 0.45rem);
  left: 0;
  min-width: 12rem;
  padding: 0.55rem;
  border-radius: 12px;
  border: 1px solid var(--eu-chrome-line);
  background: #0b1020;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  display: grid;
  gap: 0.35rem;
  z-index: 20;
}

.eu-chrome__services-panel a {
  color: var(--eu-chrome-text);
  text-decoration: none;
  padding: 0.35rem 0.45rem;
  border-radius: 8px;
  font-size: 0.8rem;
}

.eu-chrome__services-panel a:hover {
  background: rgba(255, 255, 255, 0.06);
}

.eu-chrome__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-left: auto;
}

.eu-chrome__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: var(--eu-chrome-cta);
  color: #0b1220;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 700;
}

.eu-chrome__btn--ghost {
  background: transparent;
  color: var(--eu-chrome-text);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.eu-path {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
  font-size: 0.78rem;
  color: var(--eu-chrome-muted);
  margin: 0.75rem 0 0;
}

.eu-path a { color: #c9d7ff; }

.eu-hero-fold {
  display: grid;
  gap: 1.25rem;
  align-items: center;
}

@media (min-width: 900px) {
  .eu-hero-fold {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  }
}

/* Hero photo only — nested marks/logos keep intrinsic sizing (see .eu-chrome__logo) */
.eu-hero-fold__visual > img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(400px, 48vh);
  object-fit: cover;
  object-position: center top;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

/* Homepage EU hero — primary payment-risk headline */
.eu-hero-fold-wrap .ltc-hero__title {
  margin: 0;
  max-width: 16ch;
  font-size: clamp(2rem, 4.8vw, 4rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.035em;
  color: #f8fafc;
  text-wrap: balance;
}

.eu-hero-fold__byline {
  margin: 0.65rem 0 0;
  font-size: 0.86rem;
  color: var(--eu-chrome-muted);
}

.eu-hero-fold__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}

@media (max-width: 720px) {
  .eu-chrome__nav { width: 100%; order: 3; }
  .eu-chrome__cta { margin-left: 0; }
}

/* Mobile menu */
.eu-chrome__menu-btn {
  display: none;
  margin-left: auto;
  min-height: 2rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.22);
  background: transparent;
  color: var(--eu-chrome-text);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}
.eu-chrome__cta--mobile { display: none; }
.eu-chrome__nav a[aria-current="page"],
.eu-chrome__services-panel a[aria-current="page"] {
  color: var(--eu-chrome-text);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.eu-chrome__services[data-active="1"] > summary {
  color: var(--eu-chrome-text);
  font-weight: 700;
}
@media (max-width: 860px) {
  .eu-chrome__menu-btn { display: inline-flex; align-items: center; }
  .eu-chrome__cta--desktop { display: none; }
  .eu-chrome__nav {
    display: none;
    width: 100%;
    order: 5;
    flex-direction: column;
    align-items: stretch;
    gap: 0.55rem;
    padding: 0.65rem 0 0.35rem;
    border-top: 1px solid var(--eu-chrome-line);
  }
  .eu-chrome.is-open .eu-chrome__nav { display: flex; }
  .eu-chrome__cta--mobile {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.35rem;
  }
  .eu-chrome__services-panel {
    position: static;
    box-shadow: none;
    margin-top: 0.35rem;
  }
}
