/* =========================================================
   Thuisverpleging Monalys — stylesheet
   ========================================================= */

@font-face {
  font-family: 'Manthoels';
  src: url('../font/Manthoels.ttf') format('truetype');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Brittany Signature';
  src: url('../font/BrittanySignature.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Colour palette, sampled directly from the client's printed flyer */
  --navy: #0b3d91;         /* primary brand blue (text, icons, accents) */
  --navy-soft: #2f5fc4;    /* lighter blue, hover states */
  --navy-deep: #082a66;    /* darker blue, for strong contrast on hover */
  --cream: #ffffff;        /* page background — the flyer uses plain white */
  --panel: #f7f5f2;        /* soft warm panel background (alternating sections) */
  --badge: #eae4de;        /* filled icon-badge circles, as on the flyer */
  --line: #d8d2ca;         /* hairline borders/dividers */
  --line-soft: #e7e2db;
  --text-soft: #5b5f6e;    /* muted colour for supporting text */
  --white: #ffffff;

  /* Type */
  --font-script: 'Manthoels', 'Brittany Signature', 'Segoe Script', 'Brush Script MT', cursive;
  --font-sans: 'Montserrat', sans-serif;

  --container: 1100px;
  --radius: 4px;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--navy);
  background: var(--panel);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }

.icon { width: 1em; height: 1em; fill: none; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* Skip link for keyboard users */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: var(--white);
  padding: .75rem 1.25rem;
  z-index: 1000;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

:focus-visible {
  outline: 2px solid var(--navy-soft);
  outline-offset: 3px;
}


.page-frame {
  max-width: 1400px;
  margin: 0 auto;
  background: var(--cream);
}

@media (min-width: 992px) {
  .page-frame {
    margin: 28px auto;
    border: 3px solid var(--navy);
    padding: 0 0 0 0;
  }
}

.container-narrow {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}


.section-kicker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: .75rem;
}
.section-kicker .icon { width: 20px; height: 20px; color: var(--navy); }

.section-heading {
  text-align: center;
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
}

.rule {
  height: 2px;
/*   width: 64px; */
  width: 33%;
  background: var(--navy);
  border: 0;
}
.rule-center { margin: 0 auto; }

/* ---------- Header / navigation ---------- */
.site-header {
  background: var(--cream);
/*   border-bottom: 1px solid var(--line); */
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 0;
  position: relative;
}

.nav-list {
  display: flex;
  gap: 2.5rem;
}

.nav-list a {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--navy);
  padding-bottom: .35rem;
  border-bottom: 1px solid transparent;
  transition: border-color .15s ease, color .15s ease;
}

.nav-list a:hover,
.nav-list a[aria-current="page"] {
  border-bottom-color: var(--navy);
}

.nav-toggle .icon, .nav-close .icon {
	width: 50px;
	height: 50px;
}
.nav-toggle {
  display: none;
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: 0;
  color: var(--navy);
  width: 50px;
  height: 50px;
  cursor: pointer;
}

/* 
@media (max-width: 767px) {
  .nav-row { justify-content: flex-start; padding: 1.1rem 1.5rem; }
  .nav-toggle { display: block; }
  .nav-list {
    position: fixed;
    inset: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    transform: translateX(100%);
    transition: transform .25s ease;
    z-index: 999;
  }
  .nav-list.is-open { transform: translateX(0); }
  .nav-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: 0;
    width: 28px; height: 28px;
    color: var(--navy);
    cursor: pointer;
  }
}
 */

.nav-close {
  display: none;
}

@media (max-width: 767px) {
  .nav-row {
    justify-content: flex-start;
    padding: 1.75rem 1.5rem;
  }

  .nav-toggle {
    display: block;
  }

  .nav-list {
    position: fixed;
    inset: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    transform: translateX(100%);
    transition: transform .25s ease;
    z-index: 999;
  }

  .nav-list.is-open {
    transform: translateX(0);
  }

  .nav-close {
    display: block;
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: 0;
    width: 28px;
    height: 28px;
    color: var(--navy);
    cursor: pointer;
  }
}

/* ---------- Hero ---------- */
.hero {
  text-align: center;
  padding: 1.5rem 1.5rem 3.5rem;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  color: var(--navy);
  margin-bottom: .5rem;
}

.hero-script {
  font-family: var(--font-script);
  font-size: clamp(6rem, 15vw, 13rem);
  font-weight: 500;
/*   color: var(--navy-soft); */
  line-height: 1;
  margin: 0;
}

.hero-wordmark {
  font-size: clamp(1.75rem, 3vw, 3.75rem);
  font-weight: 500;
  letter-spacing: .5em;
  padding-left: .5em; /* optically re-center after tracking */
/*   margin-top: .6rem; */
}

.hero-divider {
  display: flex;
  align-items: center;
  justify-content: center;
/*   gap: 1.5rem; */
  margin: auto;
  padding: 0 17rem;
}
.hero-divider .icon { width: 100px; height: 100px; /* color: var(--navy-soft); */ }

.hero-tagline {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-weight: 600;
  color: var(--navy);
  max-width: 32rem;
  margin: 0 auto;
}

.hero-regions {
  margin-top: 2.25rem;
  font-size: .95rem;
  font-weight: 600;
  color: var(--navy);
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1rem;
  justify-content: center;
}
.hero-regions .dot { opacity: .5; }


.hero-inner {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
}

.hero-badge-circle {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: var(--badge);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.25rem;
  margin: 0 auto 2rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--navy);
  line-height: 1.4;
}

.hero-tagline-script {
  font-family: var(--font-script);
  font-size: 1.9rem;
  color: var(--navy);
  line-height: 1.1;
  transform: rotate(-4deg);
  margin: 1.5rem auto 0;
  text-align: center;
}

@media (min-width: 900px) {
  .hero-badge-circle {
    position: absolute;
    left: -50px;
    top: 5rem;
    width: 11rem;
    height: 11rem;
    font-size: 1rem;
    margin: 0;
    text-transform: uppercase;
  }
  .hero-tagline-script {
    position: absolute;
    right: -70px;
    top: 50px;
    margin: 0;
  }
}

@media (max-width: 767px) {
/*   	.hero-badge-circle { display: none; } */
  	.hero-badge-circle {
		height: 65px;
		width: 65px;
		font-size: 0.45rem;
		position: absolute;
		top: 88px;
		left: -23px;
  	}
	.hero-wordmark { padding: 0; }
	.hero-divider { padding: 0 30px; }
	.hero-divider .icon { width: 80px; height: 80px;  }

}

@media (max-width: 374px) {
/*   	.hero-badge-circle { display: none; } */
  	.hero-badge-circle {
		height: 65px;
		width: 65px;
		font-size: 0.45rem;
		position: absolute;
		top: 88px;
		left: -23px;
  	}

	.hero-script {
		font-size: 6rem;
	}
	.hero-wordmark {
		font-size: 1.5rem;
	}

}

@media (max-width: 339px) {
  	.hero-badge-circle {
		top: 75px;
		left: -23px;
  	}
	.hero-script {
		font-size: 5.25rem;
	}
	.hero-wordmark {
		font-size: 1.3rem;
	}

}

@media (max-width: 290px) {
  	.hero-badge-circle {
		height: 75px;
		width: 75px;
		font-size: 0.5rem;
		position: relative;
		top: 0; left: 0;
  	}
	.hero-script {
		font-size: 5rem;
	}
	.hero-wordmark {
		font-size: 1.3rem;
	}

}



.page-hero {
  text-align: center;
  padding: 3.5rem 1.5rem 3rem;
}
.page-hero .eyebrow {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: .75rem;
}
.page-hero h1 {
  font-family: var(--font-script);
  font-size: clamp(2.75rem, 6vw, 3.6rem);
/*   color: var(--navy-soft); */
  font-weight: 400;
}
.page-hero p {
  max-width: 34rem;
  margin: 1rem auto 0;
  color: var(--text-soft);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: .85rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .85rem 1.75rem;
  border: 1px solid var(--navy);
  border-radius: var(--radius);
  transition: background .15s ease, color .15s ease;
}
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--navy-soft); border-color: var(--navy-soft); }
.btn-outline { background: transparent; color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }

.hero-cta {
  margin-top: 2.5rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Sections ---------- */
.section { padding: 4rem 1.5rem; }
.section-panel { background: var(--panel); }
.section-cream { background: var(--cream); }


.zorgen-panel {
  max-width: 1050px;
  margin: 0 auto;
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.service-card {
  flex: 1 1 150px;
  max-width: 190px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 0 1rem;
  border-left: 1px solid var(--line);
}
.service-card:first-child { border-left: 0; }

.service-card .icon-badge {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: var(--badge);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.service-card .service-icon {
  width: 36px;
  height: 36px;
  color: var(--navy);
}

.service-card span {
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
  line-height: 1.4;
}

@media (max-width: 767px) {
  .services-grid {
    flex-direction: column;
    align-items: center;
  }
  .service-card {
    flex-direction: row;
    justify-content: flex-start;
    text-align: left;
    max-width: 360px;
    width: 100%;
    padding: 1rem 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .service-card:first-child { border-top: 0; }
  .service-card .icon-badge { width: 60px; height: 60px; }
  .service-card .service-icon { width: 26px; height: 26px; }
}

/* ---------- Team ---------- */
.team-photo {
  max-width: 1000px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: var(--radius);
}
.team-photo img { width: 100%; height: auto; display: block; }

.team-names {
  max-width: 1000px;
  margin: 2rem auto 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 1rem;
  text-align: center;
}
@media (min-width: 700px) {
  .team-names { grid-template-columns: repeat(4, 1fr); }
}
.team-member {
  font-size: .95rem;
/*   font-weight: 700; */
  color: var(--navy);
  line-height: 1.35;
}
.team-member span {
  display: inline-block;
  margin-top: .4rem;
  padding-bottom: .4rem;
  border-bottom: 2px solid var(--navy-soft);
}

/* Detailed service rows on the Zorgen page */
.service-detail {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 1.5rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--line-soft);
}
.service-detail:last-child { border-bottom: 0; }
.service-detail .icon-frame {
  width: 56px; height: 56px;
  border: 1px solid var(--navy);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--navy);
}
.service-detail .icon-frame .icon { width: 26px; height: 26px; }
.service-detail h3 {
  font-size: 1.05rem;
  letter-spacing: .04em;
  margin-bottom: .5rem;
}
.service-detail p { color: var(--text-soft); }

.zorg-list {
  list-style: disc;
  padding-left: 1.5rem;
  margin-top: 1rem;
}

.zorg-list li {
  padding-left: .25rem;
  margin-bottom: .5rem;
  line-height: 1.6;
  color: var(--text-soft);
}

.zorg-list li::marker {
  color: var(--navy);
}

/* ---------- Info panel (derdebetalersregeling) ---------- */
.info-panel {
  max-width: 640px;
  margin: 3.5rem auto 0;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 2.25rem 2rem;
  text-align: center;
}
.info-panel .icon-frame {
  width: 46px; height: 46px;
  border: 1px solid var(--navy);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--navy);
  margin: 0 auto 1rem;
}
.info-panel .icon-frame .icon { width: 20px; height: 20px; }
.info-panel h3 {
  font-size: .95rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: .75rem;
}
.info-panel p { color: var(--text-soft); }

/* ---------- Generic content blocks ---------- */
.prose { max-width: 680px; margin: 0 auto; }
.prose p + p { margin-top: 1.1rem; }
.prose h2 {
  font-size: 1.3rem;
  letter-spacing: .02em;
  margin: 2.5rem 0 1rem;
}
.prose h2:first-child { margin-top: 0; }

.two-col {
  display: grid;
  gap: 2.5rem;
  max-width: var(--container);
  margin: 0 auto;
}
@media (min-width: 860px) {
  .two-col { grid-template-columns: 1fr 1fr; align-items: start; }
}

.value-list { display: grid; gap: 1.5rem; margin-top: 1rem; }
.value-item { display: flex; gap: 1rem; align-items: flex-start; }
.value-item .icon-frame {
  width: 44px; height: 44px; flex: none;
  border: 1px solid var(--navy);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--navy);
}
.value-item .icon-frame .icon { width: 20px; height: 20px; }
.value-item h3 { font-size: 1rem; margin-bottom: .3rem; }
.value-item p { color: var(--text-soft); font-size: .95rem; }

/* ---------- Region list ---------- */
.region-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
  max-width: var(--container);
  margin: 0 auto;
}
@media (min-width: 700px) {
  .region-grid { grid-template-columns: repeat(2, 1fr); }
}
.region-card {
  border: 1px solid var(--line);
  background: var(--cream);
  padding: 1.5rem 1.75rem;
}
.region-card h3 {
  font-size: 1.05rem;
  letter-spacing: .04em;
  margin-bottom: .4rem;
}
.region-card p { color: var(--text-soft); font-size: .92rem; }

.map-embed {
  border: 1px solid var(--line);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  max-width: var(--container);
  margin: 3rem auto 0;
}
.map-embed iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  gap: 3rem;
  max-width: var(--container);
  margin: 0 auto;
}
@media (min-width: 860px) {
  .contact-grid { grid-template-columns: .85fr 1.15fr; }
}

.contact-card {
  border: 1px solid var(--line);
  background: var(--cream);
  padding: 2rem;
}
.contact-line {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: .9rem 0;
  border-bottom: 1px solid var(--line-soft);
}
.contact-line:last-child { border-bottom: 0; }
.contact-line .icon-frame {
  width: 42px; height: 42px; flex: none;
  border: 1px solid var(--navy);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--navy);
}
.contact-line .icon-frame .icon { width: 19px; height: 19px; }
.contact-line .label { display: block; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-soft); }
.contact-line .value { font-weight: 600; }

.form-field { margin-bottom: 1.3rem; }
.form-field label {
  display: block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: .5rem;
  color: var(--text-soft);
}
.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--cream);
  padding: .8rem 1rem;
  font-family: var(--font-sans);
  font-size: .95rem;
  color: var(--navy);
  border-radius: var(--radius);
}
.form-field input:focus,
.form-field textarea:focus {
  outline: 2px solid var(--navy-soft);
  outline-offset: 1px;
}
.form-note {
  font-size: .82rem;
  color: var(--text-soft);
  margin-top: 1rem;
}

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

.form-status {
  padding: 1rem;
  border: 1px solid;
  border-radius: .5rem;
}

.form-status-success {
  color: #185c37;
  background: #eef8f1;
  border-color: #185c37;
}

.form-status-error {
  color: #922020;
  background: #fff2f2;
  border-color: #922020;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.25rem 1.5rem;
  background: var(--cream);
}
.footer-row {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  align-items: center;
/*   justify-content: space-between; */
  justify-content: center;
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
    justify-content: center;
}
.footer-item {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.footer-item .icon-frame {
  width: 40px; height: 40px; flex: none;
  border: 1px solid var(--navy);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--navy);
}
.footer-item .icon-frame .icon { width: 18px; height: 18px; }
.footer-item .label { display: block; font-size: 1rem; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); }
.footer-item .value { font-weight: 700; font-size: 1.02rem; }
.footer-meta {
  font-size: .78rem;
  color: var(--text-soft);
  text-align: center;
  margin-top: 1.5rem;
}

@media (max-width: 767px) {
  .footer-contact {
    gap: 1.5rem;
  }

  .footer-item {
    flex-direction: column;
    text-align: center;
    gap: .6rem;
  }

  .footer-item .icon-frame {
    margin: 0 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .nav-list { transition: none; }
}
