.account-fields > .company-application-section, .account-fields > .registration-check { grid-column: 1 / -1; }
.registration-check { display: flex !important; align-items: flex-start; gap: .8rem; line-height: 1.65; margin-block: 1.25rem; }
.registration-check input[type="checkbox"] { flex: 0 0 auto; width: 1.2rem; height: 1.2rem; margin-block-start: .25rem; padding: 0; }
.registration-check span { min-width: 0; }
.company-application-section { margin-block: 1.5rem 2.5rem; padding: 1.5rem; border: 1px solid var(--border); border-radius: 1rem; }
.company-application-section > p { line-height: 1.7; max-width: 75ch; margin-block: 1rem; }
/* Each service owns its palette; shared components use these tokens. */
[hidden] {
  display: none !important;
}

.utility-links {
  display: flex;
  justify-content: flex-end;
  gap: 24px;
  padding-block: 0 20px;
  font-size: 13px;
  color: var(--muted);
}

.utility-links a {
  padding-block: 8px;
}

.login-link {
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 13px;
}

.brand-footer > .social-links {
  justify-content: center;
  width: 100%;
  padding-block: 24px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}

.brand-footer .social-link img {
  width: 25px;
  height: 25px;
}

.website-request {
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 40px;
  margin-bottom: 64px;
  background: var(--surface);
}

.request-heading {
  max-width: 700px;
  margin-bottom: 30px;
}

.request-heading h2 {
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.request-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.request-grid label,
.request-idea {
  display: grid;
  gap: 12px;
  font-size: 15px;
}

.website-request input:not([type='checkbox']),
.website-request select,
.website-request textarea {
  width: 100%;
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--background);
  color: var(--foreground);
  font: inherit;
  font-size: 16px;
  line-height: 1.5;
}

.website-request textarea {
  resize: vertical;
}

.website-request :is(input, select, textarea):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.website-request fieldset {
  border: 0;
  margin: 30px 0;
  padding: 0;
}

.website-request legend {
  padding: 0 0 14px;
}

.feature-options {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.feature-options label {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px;
  font-size: 14px;
  cursor: pointer;
}

.feature-options label:has(:checked) {
  border-color: var(--accent);
  background: var(--strip);
}

.feature-options input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}

#request-hint,
.request-note {
  font-size: 14px;
  margin-block: 12px 24px;
}

.request-actions {
  margin-top: 24px;
}

.request-result {
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid var(--border);
}

.request-result h3,
.request-result p,
.request-result textarea {
  margin-bottom: 20px;
}

@media (max-width: 650px) {
  .header-inner .preferences {
    gap: 8px;
  }
  .header-inner .login-link {
    padding: 10px 8px;
    font-size: 12px;
  }
  .header-inner .wordmark {
    font-size: 24px;
    gap: 4px;
  }
  .header-inner .wordmark .feather {
    width: 28px;
    height: 28px;
  }
  .utility-links {
    justify-content: center;
    padding-bottom: 12px;
  }
  .website-request {
    padding: 24px;
  }
  .request-grid {
    grid-template-columns: 1fr;
  }
}

:root[data-service='brand'] {
  --background: #f5f5f5;
  --foreground: #242424;
  --muted: #616161;
  --surface: #ffffff;
  --border: #d6d6d6;
  --accent: #383838;
  --strip: #eaeaea;
  --button-background: #303030;
  --button-text: #ffffff;
}

:root[data-service='brand'][data-theme='dark'] {
  --background: #191919;
  --foreground: #f5f5f5;
  --muted: #bdbdbd;
  --surface: #242424;
  --border: #484848;
  --accent: #e0e0e0;
  --strip: #303030;
  --button-background: #e5e5e5;
  --button-text: #202020;
}
/* Independent neutral brand and webshop ochre palettes. */
:root[data-service='cleaning'] {
  --background: #edf6fc;
  --foreground: #132f4b;
  --muted: #395c77;
  --surface: #f9fcff;
  --border: #bbd3e6;
  --accent: #1767a2;
  --button-background: #195f98;
  --button-text: #ffffff;
  --strip: #dcecf8;
}

:root[data-service='cleaning'][data-theme='dark'] {
  --background: #101e30;
  --foreground: #edf6ff;
  --muted: #b1c9dd;
  --surface: #192f47;
  --border: #345777;
  --accent: #92ceff;
  --button-background: #a7d8ff;
  --button-text: #112b44;
  --strip: #1c3652;
}

:root[data-service='studio'] {
  --background: #eff5e9;
  --foreground: #183b30;
  --muted: #425e50;
  --surface: #fafdf4;
  --border: #bfd0b8;
  --accent: #2e7045;
  --button-background: #2c6240;
  --button-text: #ffffff;
  --strip: #e0ebd5;
}

:root[data-service='studio'][data-theme='dark'] {
  --background: #12291f;
  --foreground: #f0f7e9;
  --muted: #b9ceb9;
  --surface: #1c382a;
  --border: #426249;
  --accent: #bedc90;
  --button-background: #c9e59f;
  --button-text: #213c22;
  --strip: #294633;
}

.feather {
  display: inline-block;
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  background: var(--accent);
  mask: url('/images/brand/feather-vector.svg') center / contain no-repeat;
  -webkit-mask: url('/images/brand/feather-vector.svg') center / contain no-repeat;
}

.wordmark {
  letter-spacing: -1.5px;
}

.header-inner {
  gap: 28px;
}

nav {
  gap: 24px;
}

nav a {
  white-space: nowrap;
}

nav a[aria-current='page'] {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 8px;
}

.footer-top {
  align-items: flex-start;
  gap: 32px;
}

address {
  font-style: normal;
  font-size: 14px;
  line-height: 1.9;
  color: var(--muted);
}

.business-details {
  display: grid;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
}

.service-card.schoonmaak {
  --accent: #98d0fb;
  --foreground: #eef7ff;
  --muted: #bed5e7;
  --surface: #1a3147;
  --border: #3b5a76;
  --button-background: #afd9f9;
  --button-text: #163047;
  background: var(--surface);
  color: var(--foreground);
}

.service-card.studio {
  --accent: #c6e3a5;
  --foreground: #f1f7e9;
  --muted: #c2d4b8;
  --surface: #263d2d;
  --border: #4d6850;
  --button-background: #c6e3a5;
  --button-text: #263d2d;
  background: var(--surface);
  color: var(--foreground);
}

[data-theme='light'] .service-card.schoonmaak {
  --accent: #1a5b8e;
  --foreground: #183a55;
  --muted: #365e7b;
  --surface: #e4f0f9;
}

[data-theme='light'] .service-card.studio {
  --accent: #326538;
  --foreground: #203d29;
  --muted: #45634a;
  --surface: #e8efdc;
}

.service-label,
.service-link {
  color: var(--accent);
}

.service-heading h3 {
  font-size: clamp(27px, 3vw, 39px);
  letter-spacing: -1.3px;
  overflow-wrap: normal;
}

.service-showcase {
  position: relative;
  min-height: 360px;
  height: 100%;
  isolation: isolate;
  border-radius: 24px;
  background: var(--strip);
  overflow: hidden;
  border: 1px solid var(--border);
}

.showcase-feather {
  position: absolute;
  width: 330px;
  height: 330px;
  top: -40px;
  right: -50px;
  opacity: 0.13;
  z-index: -1;
}

.service-showcase .studio-illustration {
  min-height: 360px;
}

.service-showcase .browser-frame {
  transform: translate(-20px, -12px) rotate(-5deg);
}

.service-showcase .cleaning-illustration {
  height: 360px;
  width: 100%;
}

.service-showcase .cleaning-bucket {
  left: 12%;
  bottom: 34px;
}

.service-showcase .cleaning-broom {
  right: 12%;
  bottom: 20px;
}

.mock-logo {
  width: 26px;
  height: 26px;
  --accent: #304f43;
}

.phone-mock {
  position: absolute;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 17px;
  right: 7%;
  bottom: 24px;
  width: 85px;
  height: 158px;
  padding: 12px 8px;
  border: 3px solid var(--accent);
  border-radius: 16px;
  background: var(--surface);
  transform: rotate(8deg);
  box-shadow: 0 12px 25px #0002;
}

.phone-speaker {
  width: 20px;
  height: 3px;
  border-radius: 3px;
  background: var(--accent);
}

.phone-line {
  width: 40px;
  height: 4px;
  background: var(--border);
}

.game-mock {
  position: absolute;
  width: 140px;
  left: 12%;
  bottom: 12px;
  color: var(--accent);
  transform: rotate(-12deg);
}

.work-grid article {
  padding: 28px;
  border-top: 3px solid var(--accent);
  background: var(--surface);
}

.process-list {
  list-style: none;
}

.process-dot {
  width: 12px;
  height: 12px;
  margin-top: 8px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

.service-detail-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding-top: 28px;
}

.service-card,
.button,
.round-arrow {
  transition: transform 240ms ease, border-color 240ms ease, background 240ms ease;
}

@media (hover: hover) {
  .service-card:hover {
    transform: translateY(-5px);
  }
  .button:hover {
    transform: translateY(-2px);
  }
}

/* Older Cleaning detail routes share the same shell and service tokens. */
.brand-return {
  padding-top: 32px;
}

.legacy-content .section,
.legal-page {
  padding-block: 64px;
}

.legacy-content h1,
.legal-page h1 {
  font-size: clamp(34px, 5vw, 64px);
  margin-bottom: 24px;
  letter-spacing: -1.5px;
}

.legacy-content h2 {
  font-size: 28px;
  margin-bottom: 18px;
}

.legacy-content p {
  margin-bottom: 22px;
  max-width: 780px;
}

.legacy-content .band {
  background: var(--strip);
}

.split-layout,
.contact-layout,
.info-grid,
.contact-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

.info-card,
.contact-card,
.about-card,
.news-article,
.empty-state {
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
}

.tools-panel,
.about-card,
.empty-state {
  display: flex;
  align-items: center;
  gap: 24px;
}

.tools-panel img {
  width: 40%;
}

.about-card img,
.empty-state img {
  max-width: 100px;
}

.page-content {
  min-height: 60vh;
}

.section-label,
.news-article time {
  color: var(--accent);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.contact-cards {
  grid-template-columns: 1fr;
}

.section-action {
  padding-bottom: 56px;
}

.contact-card .button {
  max-width: 100%;
  overflow-wrap: anywhere;
}

.social-link {
  display: flex;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
}

.legal-page {
  max-width: 900px;
}

.legal-section {
  margin-top: 36px;
}

.legal-section h2,
.legal-notice h2 {
  font-size: 24px;
  margin-bottom: 14px;
}

.legal-notice {
  padding: 24px;
  margin-block: 30px;
  background: var(--strip);
  border-left: 3px solid var(--accent);
}

.legal-contact,
.legal-sources {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.legal-sources a {
  text-decoration: underline;
  text-underline-offset: 4px;
  line-height: 1.6;
}

@media (max-width: 1000px) {
  .header-inner {
    flex-wrap: wrap;
    gap: 16px;
    padding-block: 20px;
  }
  .header-inner nav {
    order: 3;
    width: 100%;
    justify-content: center;
  }
  .preferences {
    margin-left: auto;
  }
}

@media (max-width: 650px) {
  .header-inner nav {
    gap: 14px;
    font-size: 12px;
  }
  .wordmark {
    font-size: 28px;
  }
  .wordmark .feather {
    width: 36px;
    height: 36px;
  }
  .footer-top,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-links {
    flex-wrap: wrap;
  }
  .service-showcase {
    min-height: 300px;
  }
  .service-showcase .studio-illustration,
  .service-showcase .cleaning-illustration {
    min-height: 300px;
    height: 300px;
  }
  .split-layout,
  .contact-layout,
  .info-grid,
  .contact-cards {
    grid-template-columns: 1fr;
  }
  .about-card,
  .empty-state {
    flex-direction: column;
    align-items: flex-start;
  }
  .phone-mock {
    right: 5%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

/* Request correspondence shared by customers and administrators. */
.request-messages { margin-block: 24px; border-top: 1px solid var(--border); padding-top: 18px; }
.message-list { display: grid; gap: 12px; margin-block: 18px; max-height: 480px; overflow-y: auto; }
.message-entry { padding: 16px; background: var(--background); border: 1px solid var(--border); border-radius: 10px; }
.message-entry[data-author='admin'] { border-left: 4px solid var(--accent); }
.message-entry p { white-space: pre-wrap; overflow-wrap: anywhere; }
.message-entry time { color: var(--muted); font-size: .85rem; }
.message-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-block: 12px; }
.message-status { overflow-wrap: anywhere; }

.workflow-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-block: 24px;
}
.workflow-metric, .workflow-appointment, .workflow-recent {
  display: block;
  padding: 20px;
  margin-block: 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  overflow-wrap: anywhere;
}
.workflow-metric strong {
  display: block;
  font-size: 2.2rem;
  color: var(--accent);
}
.workflow-metric span, .workflow-recent span {
  display: block;
  margin-top: 8px;
}
.workflow-quote, .workflow-planning {
  border-top: 1px solid var(--border);
  margin-top: 24px;
  padding-top: 20px;
}
.workflow-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.workflow-appointment label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-block: 16px;
}
.workflow-appointment p {
  white-space: pre-wrap;
}
.workflow-dashboard {
  margin-block: 32px;
}
[id^='request-'] {
  scroll-margin-top: 180px;
}
