:root {
  --page-bg: #ffffff;
  --panel-bg: #ffffff;
  --text: #24384a;
  --muted: #6f7c8a;
  --blue: #1a3f63;
  --footer: #0d5376;
  --line: #e0e0e0;
  --card: #ffffff;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--page-bg);
  color: var(--text);
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
}

p {
  text-align: justify;
}

.page-shell {
  max-width: 1280px;
  margin: 0 auto;
  background: var(--panel-bg);
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.home-page .page-header > img {
  max-width: 200px;
  height: auto;
  margin-bottom: 20px;
}

.home-page .hero {
  width: 100%;
  height: auto;
  aspect-ratio: 1619 / 961;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 10px 14px;
  color: #ffffff;
  background: var(--blue);
  transform: translateY(-140%);
}

.skip-link:focus {
  transform: translateY(0);
}

.topbar {
  background: rgba(255,255,255,0.15);
  border-bottom: 1px solid rgba(15, 34, 57, 0.12);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  color: #4a5d6c;
}

.topbar .inner {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 16px;
  padding: 10px 28px;
  flex-wrap: wrap;
}

.topbar a,
.topbar span {
  color: #4a5d6c;
  text-decoration: none;
}

.topbar a:focus-visible,
.main-nav a:focus-visible,
.content-card a:focus-visible,
.feature-item:focus-visible {
  outline: 3px solid #0c5d85;
  outline-offset: 4px;
  border-radius: 3px;
}

.nav-wrap {
  padding: 18px 24px 12px;
}

.nav-inner {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}

.site-logo {
  display: block;
  margin-right: auto;
  line-height: 0;
}

.site-logo img {
  width: 96px;
  height: auto;
}

.main-nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 25px;
  flex-wrap: wrap;
}

.main-nav a {
  color: var(--text);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  opacity: 0.9;
  position: relative;
}

.main-nav a::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 1px;
  background: transparent;
}

.main-nav a:hover::before,
.main-nav a.active::before {
  background: rgba(20, 46, 68, 0.5);
}

.main-nav a.active {
  color: var(--blue);
  font-weight: 600;
}

.main-nav i {
  font-size: 0.65rem;
  margin-right: 5px;
}

.feature-item {
  display: block;
  text-decoration: none;
  color: var(--blue);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.feature-item:hover {
  text-decoration: none;
  color: var(--blue);
  transform: translateY(-2px);
}

.page-header {
  text-align: center;
  padding-top: 18px;
  padding-bottom: 24px;
}

.page-header h1 {
  margin: 0;
  font-weight: 700;
  font-size: clamp(2.1rem, 2.6vw, 3.1rem);
  letter-spacing: 0.02em;
  color: var(--blue);
}

.subtitle {
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #4d6781;
  margin-top: 8px;
}

.page-content {
  padding: 18px 32px 40px;
}

.content-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 28px 26px;
  box-shadow: none;
}

.content-card h2 {
  font-size: clamp(1.4rem, 2vw, 2rem);
  color: var(--blue);
  margin-bottom: 18px;
}

.content-card p {
  line-height: 1.7;
  color: #33506a;
}

.feature-grid {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  align-items: center;
  gap: 22px 18px;
  padding-bottom: 28px;
}

.feature-item {
  text-align: center;
  color: var(--blue);
}

.feature-icon {
  width: 110px;
  height: 110px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: rgba(17, 55, 79, 0.08);
  border: 1px solid rgba(17, 55, 79, 0.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
}

.feature-icon i {
  font-size: 2.8rem;
  color: var(--blue);
}

.feature-item .label {
  font-size: 1.05rem;
  font-weight: 600;
}

.feature-item .label.small {
  font-size: 0.95rem;
}

.hero {
  position: relative;
  height: 540px;
  background-color: #c9c5bf;
  background-image:
    linear-gradient(
      to right,
      rgba(255,255,255,0.08),
      rgba(255,255,255,0.02)
    ),
    url('./assets/gevelstoep-2022.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
  border-top: 1px solid rgba(20, 31, 39, 0.06);
}

.hero .plate {
  position: absolute;
  width: 154px;
  background: rgba(230, 230, 230, 0.7);
  color: #1c2d3e;
  border: 1px solid rgba(30,40,50,0.3);
  box-shadow: 0 1px 2px rgba(0,0,0,0.08);
  padding: 10px 14px;
  text-align: center;
  font-size: 0.8rem;
  line-height: 1.2;
  letter-spacing: 0.03em;
}

.hero .plate strong {
  display: block;
  font-size: 0.78rem;
  margin-bottom: 4px;
  letter-spacing: 0.08em;
}

.hero .plate.one { left: 32%; top: 18%; }
.hero .plate.two { left: 14%; top: 42%; }
.hero .plate.three { left: 56%; top: 38%; }

.hero .door-wrap {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 410px;
  background: rgba(15, 38, 49, 0.08);
}

.hero .door-frame {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 192px;
  height: 350px;
  background: linear-gradient(to right, #7d8d8a, #a7b1ad);
  border: 1px solid rgba(32,45,55,0.4);
  border-radius: 6px 6px 0 0;
  box-shadow: inset 0 0 0 3px rgba(24, 30, 36, 0.12);
}

.hero .door-frame::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 14px;
  height: 230px;
  background: rgba(35, 45, 52, 0.4);
  border-radius: 5px;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.12);
}

.hero .door-frame::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 104px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  box-shadow: 0 0 0 5px rgba(0,0,0,0.02);
}

.hero .door-knob {
  position: absolute;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  left: 72%;
  top: 55%;
  box-shadow: 0 0 0 2px rgba(0,0,0,0.08);
}

.hero .house-number {
  position: absolute;
  right: 22%;
  top: 44%;
  width: 90px;
  height: 40px;
  background: rgba(28, 38, 52, 0.76);
  color: #e9e9e7;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
}

.footer {
  background: var(--footer);
  color: rgba(255,255,255,0.9);
  text-align: center;
  padding: 14px 16px;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
}

.footer a {
  color: inherit;
}

.payment-image {
  text-align: center;
  margin-top: 30px;
}

.payment-image img {
  width: min(335px, 100%);
  height: auto;
  margin: 0 auto;
  border-radius: 4px;
}

.contact-map {
  width: calc(100% + 64px);
  margin: 40px -32px -40px;
}

.links-intro {
  max-width: 720px;
  margin-bottom: 28px;
}

.links-intro h2,
.route-heading h2 {
  margin: 0 0 8px;
  color: var(--blue);
}

.links-intro p {
  margin: 0;
  color: #33506a;
  line-height: 1.6;
}

.links-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.85fr) minmax(300px, 1.15fr);
  gap: 34px;
  align-items: start;
}

.links-visual img {
  width: 100%;
  aspect-ratio: 1.7;
  object-fit: cover;
  border-radius: 8px;
}

.links-visual p,
.links-feature figcaption {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.resource-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.resource-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 48px;
  padding: 11px 14px;
  border: 1px solid rgba(26, 63, 99, 0.14);
  border-radius: 5px;
  color: var(--blue);
  background: #ffffff;
  text-decoration: none;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.resource-list a:hover {
  border-color: rgba(12, 93, 133, 0.5);
  background: rgba(12, 93, 133, 0.05);
}

.resource-list i {
  flex: 0 0 auto;
  color: #0c5d85;
  font-size: 0.8rem;
}

.links-feature {
  max-width: 620px;
  margin: 54px auto 0;
  text-align: center;
}

.links-feature img {
  width: min(484px, 100%);
  height: auto;
  margin: 0 auto;
  border-radius: 8px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 40px;
  align-items: start;
}

.contact-details h2 {
  margin: 0 0 8px;
  color: var(--blue);
}

.contact-details h2 span {
  font-size: 0.7em;
  font-weight: 400;
}

.company-details {
  margin: 0 0 30px;
  color: var(--muted);
  line-height: 1.6;
}

.address-block,
.therapists-block {
  margin-top: 26px;
}

.contact-details h3 {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 1.1rem;
}

.address-link {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--blue);
  line-height: 1.6;
  text-decoration: none;
}

.address-line {
  text-align: left;
}

.address-line .address-link {
  display: inline-block;
}

.address-link i {
  margin-top: 4px;
  color: #0c5d85;
}

.therapist-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.therapist-contact {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: 12px;
  border-left: 3px solid #0c5d85;
}

.therapist-contact img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  margin-bottom: 6px;
  border-radius: 6px;
}

.therapist-contact strong {
  color: var(--blue);
  text-transform: uppercase;
  font-size: 0.85rem;
}

.therapist-contact a {
  font-size: 0.88rem;
  overflow-wrap: anywhere;
}

.contact-visual {
  display: flex;
  justify-content: center;
  align-self: start;
  padding-top: 76px;
}

.contact-visual img {
  width: min(180px, 100%);
  height: auto;
  border-radius: 8px;
}

.route-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-inline: 32px;
  margin-bottom: 14px;
}

.route-heading a {
  color: var(--blue);
  font-weight: 600;
  text-decoration: none;
}

.route-heading a:hover {
  text-decoration: underline;
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 400px;
  border: 0;
}

.home-intro {
  max-width: 820px;
  margin: 0 auto 28px;
  padding: 0 24px;
  text-align: center;
}

.home-intro h2,
.appointment-guide > h2,
.expertise-overview > h2 {
  color: var(--blue);
}

.home-intro h2 {
  margin: 0 0 8px;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
}

.home-intro p {
  margin: 0 auto 20px;
  color: #33506a;
  line-height: 1.6;
}

.appointment-steps {
  display: grid;
  gap: 16px;
}

.appointment-guide {
  margin-bottom: 34px;
}

.appointment-guide > h2,
.expertise-overview > h2 {
  margin-bottom: 18px;
}

.appointment-steps {
  grid-template-columns: repeat(3, 1fr);
}

.appointment-steps > div {
  padding: 18px;
  border-left: 3px solid #0c5d85;
  background: rgba(12, 93, 133, 0.05);
}

.step-number {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  border-radius: 50%;
  color: #ffffff;
  background: var(--blue);
  font-weight: 700;
}

.appointment-steps h3 {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 1.05rem;
}

.appointment-steps p {
  margin: 0;
  font-size: 0.95rem;
}

.expertise-overview {
  margin-bottom: 34px;
}

.expertise-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.expertise-list span {
  padding: 8px 12px;
  border: 1px solid rgba(26, 63, 99, 0.2);
  border-radius: 4px;
  color: var(--blue);
  background: rgba(26, 63, 99, 0.04);
  font-size: 0.9rem;
}

.mobile-actions {
  display: none;
}

@media (max-width: 992px) {
  .feature-grid {
    grid-template-columns: repeat(3, minmax(120px, 1fr));
  }
}

@media (max-width: 576px) {
  .topbar .inner,
  .nav-inner,
  .main-nav {
    justify-content: center;
  }

  .site-logo {
    width: 100%;
    margin-right: 0;
    text-align: center;
  }

  .topbar .inner {
    gap: 8px 12px;
    padding-inline: 12px;
  }

  .nav-wrap {
    padding-inline: 12px;
  }

  .main-nav {
    gap: 10px 18px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
  }

  body {
    padding-bottom: 62px;
  }

  .appointment-steps {
    grid-template-columns: 1fr;
  }

  .links-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .links-visual {
    max-width: 520px;
  }

  .therapist-list {
    grid-template-columns: 1fr;
  }

  .contact-visual {
    order: -1;
    justify-content: flex-start;
    padding-top: 0;
  }

  .route-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .home-intro {
    padding-inline: 16px;
  }

  .mobile-actions {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 900;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--line);
    background: #ffffff;
    box-shadow: 0 -3px 12px rgba(31, 46, 61, 0.12);
  }

  .mobile-actions a {
    display: flex;
    min-height: 62px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: var(--blue);
    text-decoration: none;
    font-size: 0.75rem;
  }

  .mobile-actions i {
    font-size: 1.1rem;
  }

  .mobile-actions a + a {
    border-left: 1px solid var(--line);
  }

  .hero {
    height: 420px;
  }

  .content-row {
    flex-direction: column;
  }

  .content-row .content-image {
    flex: 0 0 auto;
    width: 100%;
  }

  .content-row .content-image img {
    max-height: 420px;
    object-fit: contain;
  }
}

.content-card ul {
  line-height: 1.8;
}

.content-card a {
  color: var(--blue);
}

.content-card a:hover {
  text-decoration: underline;
}

.content-card h3 {
  font-size: 1.3rem;
  color: var(--blue);
  margin-top: 24px;
  margin-bottom: 12px;
  font-weight: 600;
}

.content-card h4 {
  font-size: 1.1rem;
  color: var(--blue);
  margin-top: 16px;
  margin-bottom: 10px;
  font-weight: 600;
}

.content-row {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 30px;
}

.content-row .content-text {
  flex: 1;
  min-width: 280px;
}

.content-row .content-image {
  flex: 0 0 300px;
  min-width: 250px;
}

.content-row .content-image img {
  border-radius: 10px;
}

.image-placeholder {
  background: #e8e8e8;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 13px;
  text-align: center;
  padding: 20px;
  min-height: 280px;
}
