:root {
  --blue-900: #203e61;
  --blue-800: #345b88;
  --blue-700: #416b96;
  --blue-100: #e9f0f5;
  --ink: #263744;
  --muted: #596c78;
  --orange: #d56d42;
  --orange-dark: #b65331;
  --cream: #fbfaf7;
  --white: #ffffff;
  --border: #dce5eb;
  --shadow: 0 18px 42px rgba(32, 62, 97, 0.09);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font: 16px/1.6 "Segoe UI", Arial, sans-serif;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -50px;
  z-index: 10;
  padding: 10px 16px;
  color: var(--white);
  background: var(--blue-900);
}

.skip-link:focus {
  top: 12px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 18px max(calc((100% - 1180px) / 2), 30px);
  color: var(--white);
  background: var(--blue-800);
}

.practice {
  display: flex;
  align-items: center;
  gap: 14px;
  line-height: 1.35;
  text-decoration: none;
}

.header-mark {
  display: block;
  width: auto;
  height: 60px;
}

.practice-copy {
  display: grid;
}

.practice-name {
  font-size: 1.3rem;
  font-weight: 650;
}

.quick-contact {
  display: flex;
  align-items: center;
  gap: 22px;
}

.phone {
  font-weight: 600;
  text-decoration: none;
}

.portal {
  padding: 12px 22px;
  border-radius: 4px;
  color: var(--white);
  background: var(--orange);
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.035em;
}

.portal:hover,
.portal:focus-visible {
  background: var(--orange-dark);
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 2.4vw, 32px);
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  background: var(--white);
}

.main-nav a {
  color: var(--blue-900);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown summary {
  color: var(--blue-900);
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  list-style: none;
}

.nav-dropdown summary::-webkit-details-marker {
  display: none;
}

.nav-dropdown summary::after {
  content: " +";
  color: var(--orange-dark);
}

.nav-dropdown[open] summary::after {
  content: " -";
}

.nav-panel {
  position: absolute;
  top: 34px;
  left: -18px;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(2, 230px);
  gap: 3px 22px;
  padding: 17px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.nav-panel a {
  padding: 8px 9px;
  font-size: 0.89rem;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--orange-dark);
}

.hero {
  display: grid;
  grid-template-columns: minmax(340px, 44%) minmax(450px, 56%);
  min-height: 460px;
  background: var(--white);
}

.hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  align-self: center;
  justify-self: stretch;
  width: 100%;
  padding: clamp(28px, 3vw, 42px);
  text-align: center;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.hero-logo {
  display: block;
  width: min(100%, 420px);
  height: auto;
  margin: 0 auto 16px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue-700);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--blue-900);
  line-height: 1.18;
}

h1 {
  margin-bottom: 18px;
  font-family: Georgia, serif;
  font-size: clamp(2.3rem, 4vw, 3.4rem);
  font-weight: 500;
}

h2 {
  margin-bottom: 18px;
  font-family: Georgia, serif;
  font-size: clamp(1.75rem, 2.5vw, 2.35rem);
  font-weight: 500;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
}

.intro {
  max-width: 560px;
  margin: 0 auto 22px;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 13px;
}

.button {
  display: inline-block;
  padding: 13px 23px;
  border-radius: 5px;
  font-weight: 700;
  text-decoration: none;
}

.button.primary {
  color: var(--white);
  background: var(--orange);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--orange-dark);
}

.button.secondary {
  border: 1px solid var(--blue-800);
  color: var(--blue-800);
}

.urgent {
  padding: 34px max(calc((100% - 1120px) / 2), 28px);
  color: var(--white);
  background: var(--blue-900);
}

.urgent h2 {
  margin-bottom: 21px;
  color: var(--white);
  font: 600 1.35rem/1.2 "Segoe UI", Arial, sans-serif;
}

.urgent-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.urgent-grid div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.3);
  padding-left: 28px;
}

.label {
  display: block;
  margin-bottom: 7px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.88rem;
}

.urgent-grid a {
  font-size: 1.1rem;
  font-weight: 650;
  text-decoration: none;
}

.tasks,
.information {
  padding: 72px max(calc((100% - 1120px) / 2), 30px);
}

.section-heading {
  max-width: 600px;
  margin-bottom: 36px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.task-card {
  min-height: 250px;
  padding: 26px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
}

.task-card.highlight {
  background: var(--blue-100);
}

.task-card p {
  color: var(--muted);
}

.hours {
  font-size: 0.92rem;
}

.text-link {
  color: var(--blue-800);
  font-weight: 700;
}

.status {
  display: inline-block;
  margin-top: 12px;
  padding: 8px 11px;
  border-radius: 5px;
  color: #6d441f;
  background: #fff2e1;
  font-size: 0.86rem;
  font-weight: 600;
}

.online {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  padding: 72px max(calc((100% - 1120px) / 2), 30px);
  background: var(--cream);
}

.online-copy {
  max-width: 500px;
}

.triage {
  align-self: start;
  padding: 34px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

#mindd_widget_embedded {
  min-height: 420px;
  margin-top: 20px;
}

.practice-section {
  display: grid;
  grid-template-columns: minmax(400px, 720px) 180px;
  justify-content: space-between;
  gap: 52px;
  padding: 72px max(calc((100% - 1120px) / 2), 30px);
  background: var(--blue-100);
}

.accreditation {
  align-self: center;
  max-height: 210px;
  max-width: 140px;
  object-fit: contain;
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.link-grid a {
  padding: 18px 19px;
  border: 1px solid var(--border);
  border-radius: 9px;
  color: var(--blue-800);
  font-weight: 650;
  text-decoration: none;
}

.link-grid a::after {
  content: " >";
  float: right;
}

.site-footer {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 44px;
  padding: 48px max(calc((100% - 1120px) / 2), 30px);
  color: rgba(255, 255, 255, 0.88);
  background: var(--blue-900);
}

.site-footer h2,
.site-footer h3 {
  color: var(--white);
  font-family: "Segoe UI", Arial, sans-serif;
}

.site-footer h2 {
  font-size: 1.4rem;
}

.site-footer h3 {
  font-size: 1rem;
}

.site-footer a {
  color: var(--white);
}

.page-hero {
  padding: 58px max(calc((100% - 1120px) / 2), 30px);
  background: linear-gradient(rgba(32, 62, 97, 0.72), rgba(32, 62, 97, 0.72)), url("assets/praktijkinterieur.jpg") center 49% / cover;
  color: var(--white);
}

.page-hero .eyebrow,
.page-hero h1 {
  color: var(--white);
}

.page-hero h1 {
  margin-bottom: 12px;
}

.page-hero p:last-child {
  max-width: 680px;
  margin: 0;
  font-size: 1.08rem;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) 275px;
  gap: 50px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 56px 30px 74px;
}

.article-body h2 {
  margin-top: 38px;
  font-size: 1.72rem;
}

.article-body h3 {
  margin-top: 30px;
}

.article-body a {
  color: var(--blue-800);
}

.article-body img {
  max-width: 100%;
  height: auto;
  border-radius: 9px;
}

.wp-block-media-text {
  display: grid;
  grid-template-columns: minmax(140px, 32%) 1fr;
  align-items: center;
  gap: 24px;
  margin: 25px 0;
}

.wp-block-media-text figure {
  margin: 0;
}

.service-aside {
  align-self: start;
  padding: 26px;
  border-radius: var(--radius);
  background: var(--blue-100);
}

.service-aside h2 {
  font: 600 1.35rem/1.2 "Segoe UI", Arial, sans-serif;
}

.service-aside .button {
  margin-top: 8px;
}

.form-security {
  padding: 15px 17px;
  border-left: 4px solid var(--orange);
  background: #fff2e1;
}

.submission-status {
  display: none;
  padding: 14px 16px;
  border-radius: 6px;
  font-weight: 600;
}

.submission-status.visible {
  display: block;
}

.submission-status.success {
  color: #185539;
  background: #e8f5eb;
}

.submission-status.error {
  color: #742f29;
  background: #fae8e5;
}

.medical-form {
  display: grid;
  gap: 23px;
  margin-top: 26px;
}

.medical-form fieldset {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 9px;
}

.medical-form legend {
  padding: 0 8px;
  color: var(--blue-900);
  font-size: 1.12rem;
  font-weight: 700;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px 20px;
}

.medical-form label {
  display: grid;
  gap: 6px;
  color: var(--blue-900);
  font-weight: 600;
}

.medical-form input,
.medical-form select,
.medical-form textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #bdccd6;
  border-radius: 5px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

.medical-form textarea {
  resize: vertical;
}

.medical-form .field-error {
  border-color: var(--orange-dark);
  background: #fff7f3;
  box-shadow: 0 0 0 2px rgba(182, 83, 49, 0.12);
}

.consent {
  grid-template-columns: 20px 1fr !important;
  align-items: start;
  gap: 10px !important;
  color: var(--ink) !important;
  font-weight: 400 !important;
}

.consent input {
  margin-top: 5px;
}

.honeypot {
  position: absolute;
  left: -10000px;
}

.submit {
  justify-self: start;
  border: 0;
  cursor: pointer;
  font: inherit;
}

@media (max-width: 920px) {
  .hero,
  .online,
  .practice-section {
    grid-template-columns: 1fr;
  }

  .article-layout {
    grid-template-columns: 1fr;
  }

  .hero-media {
    max-height: 360px;
  }

  .card-grid,
  .link-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .urgent-grid {
    grid-template-columns: 1fr;
  }

  .urgent-grid div + div {
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    border-left: 0;
    padding-top: 18px;
    padding-left: 0;
  }

  .main-nav {
    justify-content: flex-start;
    overflow-x: auto;
    white-space: nowrap;
  }

  .nav-panel {
    position: fixed;
    top: 118px;
    left: 20px;
    right: 20px;
    grid-template-columns: 1fr 1fr;
    white-space: normal;
  }
}

@media (max-width: 640px) {
  .topbar {
    align-items: start;
    flex-direction: column;
    padding: 18px 20px;
  }

  .quick-contact {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }

  .header-mark {
    height: 54px;
  }

  .practice-name {
    font-size: 1.16rem;
  }

  .portal {
    text-align: center;
  }

  .main-nav {
    justify-content: flex-start;
    overflow-x: auto;
    padding: 15px 20px;
    white-space: nowrap;
  }

  .nav-panel {
    top: 164px;
    grid-template-columns: 1fr;
    max-height: calc(100vh - 180px);
    overflow-y: auto;
  }

  .hero {
    display: flex;
    flex-direction: column;
  }

  .hero-media {
    height: 210px;
    order: 0;
  }

  .hero-content {
    padding: 28px 20px 34px;
  }

  .hero-logo {
    width: min(100%, 320px);
    margin: 0 auto 18px;
  }

  .tasks,
  .information,
  .online,
  .practice-section {
    padding: 52px 20px;
  }

  .urgent {
    padding: 30px 20px;
  }

  .card-grid,
  .link-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-footer {
    padding: 42px 20px;
  }

  .page-hero {
    padding: 43px 20px;
  }

  .article-layout {
    padding: 40px 20px 55px;
  }

  .form-grid,
  .wp-block-media-text {
    grid-template-columns: 1fr;
  }
}
