/* Background: default uses assets/page-background.jpg. For solid white only, set:
   --page-bg-image: none;
   To use your own file: put it in assets/ and update the url, e.g. url('assets/my-bg.png')
*/
:root {
  --page-bg-color: #000000;
  --page-bg-image: none;
  --header-bg: #000000;
  --header-border: #2a2a2a;
  --text-color: #ffffff;
  --muted: #c7c7c7;
  --accent: #8db8ff;
  --accent-hover: #b7d2ff;
  --submenu-bg: #000000;
  --focus-ring: 2px solid var(--accent);
  --main-surface: #b8babb;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text-color);
  background-color: var(--page-bg-color);
  background-image: var(--page-bg-image);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1.25rem;
  background: var(--header-bg);
  border-bottom: 1px solid var(--header-border);
}

.header-brand {
  min-width: 0;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.logo-link:focus-visible {
  outline: var(--focus-ring);
  outline-offset: 2px;
}

.logo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
  background: var(--accent);
  border-radius: 4px;
  flex-shrink: 0;
}

.logo-image {
  width: 5.6829rem;
  height: 5.6829rem;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
  display: block;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.service-top {
  font-size: 0.8rem;
  color: var(--muted);
}

.company-name {
  font-weight: 700;
  font-size: 1.125rem;
}

.company-tagline {
  font-size: 0.8rem;
  color: var(--muted);
}

.header-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  margin-left: auto;
  gap: 0.2rem;
  font-size: 0.875rem;
}

.header-meta {
  color: var(--muted);
}

.header-contact a.header-meta {
  color: var(--accent);
  text-decoration: none;
}

.header-contact a.header-meta:hover {
  text-decoration: underline;
  color: var(--accent-hover);
}

/* Site guide row */
.site-guide-bar {
  position: relative;
  border-bottom: 1px solid var(--header-border);
  background: #000;
}

.site-guide-toggle {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  padding: 0.6rem 1.25rem;
  border: none;
  background: transparent;
  font: inherit;
  color: var(--text-color);
  cursor: pointer;
  text-align: left;
}

.site-guide-toggle:hover {
  background: #101010;
}

.site-guide-toggle:focus-visible {
  outline: var(--focus-ring);
  outline-offset: -2px;
}

.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 22px;
  flex-shrink: 0;
}

.hamburger span {
  display: block;
  height: 2px;
  background: var(--text-color);
  border-radius: 1px;
}

.site-guide-label {
  font-weight: 600;
  font-size: 0.95rem;
}

.site-guide-submenu {
  border-top: 1px solid var(--header-border);
  background: var(--submenu-bg);
}

.site-guide-submenu[hidden] {
  display: none;
}

.site-guide-links {
  list-style: none;
  margin: 0;
  padding: 0.35rem 0;
}

.site-guide-links a {
  display: block;
  padding: 0.55rem 1.25rem 0.55rem 3rem;
  color: var(--accent);
  text-decoration: none;
  font-size: 0.95rem;
}

.site-guide-links a:hover {
  background: #101010;
  color: var(--accent-hover);
}

.site-guide-links a:focus-visible {
  outline: var(--focus-ring);
  outline-offset: -4px;
}

.site-guide-links a[aria-current="page"] {
  font-weight: 700;
  background: #161616;
  color: var(--accent-hover);
}

main {
  max-width: 42rem;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
  background: var(--main-surface);
  color: #000000;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.page-section {
  padding: 2rem 0;
  scroll-margin-top: 1rem;
}

.page-section:first-child {
  padding-top: 1rem;
}

.page-section h1,
.page-section h2 {
  margin: 0 0 0.75rem;
  font-size: 1.5rem;
  color: var(--accent);
}

.page-section h1 {
  font-size: 1.75rem;
}

.heading-black-bold {
  color: #000000;
  font-weight: 700;
}

.page-section h1.heading-black-bold,
.page-section h2.heading-black-bold {
  color: #000000;
}

.placeholder-list {
  margin: 1rem 0 0;
  padding-left: 1.25rem;
}

.site-footer {
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--header-border);
  background: var(--header-bg);
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 520px) {
  .header-contact {
    align-items: center;
    text-align: center;
    margin-left: 0;
  }
}
