/* ==============================
   BASIS
============================== */

:root {
  --bg: #f3f6fb;
  --text: #0f172a;
  --muted: #64748b;
  --accent: #2563eb;
  --accent-soft: #dbe8ff;
  --border: #e2e8f0;
  --card-bg: #ffffff;
}

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

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* WRAP */

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 20px 50px;
}

/* ==============================
   HEADER
============================== */

.site-header {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  height: 32px;
}

.site-nav {
  display: flex;
  gap: 18px;
  margin-left: 30px;
}

.site-nav a {
  font-size: 14px;
  color: #475569;
  white-space: nowrap;
}
.site-nav a:hover {
  color: var(--accent);
}

.site-search {
  margin-left: auto;
  display: flex;
  gap: 8px;
  align-items: center;
}

.site-search input {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 14px;
  min-width: 220px;
}
.site-search input::placeholder {
  color: #94a3b8;
}
.site-search button {
  border-radius: 999px;
  border: none;
  background: var(--accent);
  color: #fff;
  padding: 8px 14px;
  cursor: pointer;
  font-size: 14px;
}
.site-search button:hover {
  filter: brightness(1.05);
}

.burger {
  display: none;
  margin-left: auto;
  border: none;
  background: transparent;
  font-size: 22px;
}

/* MOBIEL NAV */

@media (max-width: 900px) {
  .site-nav {
    display: none;
  }
  .site-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    background: #fff;
    padding: 14px 20px;
    border-bottom: 1px solid var(--border);
    z-index: 20;
  }

  .site-search {
    display: none;
  }

  .burger {
    display: block;
  }
}

/* ==============================
   BREADCRUMB & GENERIC
============================== */

.breadcrumb,
.city-breadcrumbs {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 16px;
}
.breadcrumb a,
.city-breadcrumbs a {
  color: var(--accent);
}

/* INFO BANNER */

.info-banner {
  background: #e0edff;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 14px;
  margin-bottom: 24px;
}
.info-banner a {
  font-weight: 600;
}

/* ==============================
   HOME HERO
============================== */

.hero-home {
  padding: 30px 20px 10px;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 10px 32px rgba(15, 23, 42, 0.10);
  padding: 32px 40px;
  display: flex;
  align-items: stretch;
  gap: 30px;
}

.hero-left {
  flex: 1.4;
}

.hero-left h1 {
  font-size: 30px;
  margin: 0 0 10px;
}

.hero-sub {
  color: var(--muted);
  margin: 0 0 22px;
  max-width: 520px;
}

.hero-search {
  display: flex;
  gap: 10px;
  max-width: 520px;
}
.hero-search input {
  flex: 1;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 14px;
}
.hero-search button {
  border-radius: 999px;
  border: none;
  background: var(--accent);
  color: #fff;
  padding: 10px 18px;
  font-size: 14px;
  cursor: pointer;
}
.hero-search button:hover {
  filter: brightness(1.05);
}

.hero-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-stats-box {
  background: linear-gradient(135deg, #dbeafe, #e0f2fe);
  border-radius: 20px;
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 220px;
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.30);
}

.hero-stats-box > div {
  text-align: center;
}

.hero-stats-box .number {
  font-size: 26px;
  font-weight: 700;
}
.hero-stats-box .label {
  font-size: 14px;
  color: #1e293b;
}

/* MOBILE HERO */

@media (max-width: 900px) {
  .hero-inner {
    flex-direction: column;
    padding: 24px 20px;
  }
  .hero-right {
    justify-content: flex-start;
  }
  .hero-stats-box {
    min-width: 0;
    width: 100%;
  }
}

/* ==============================
   HOME SECTIONS
============================== */

.home-section {
  max-width: 1200px;
  margin: 40px auto 0;
  padding: 0 20px;
}

.home-section h2 {
  margin: 0 0 16px;
}

.home-section h3 {
  margin: 24px 0 8px;
  font-size: 16px;
}

/* Card grid (veelgezochte huidproblemen) */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
}

.card-grid .card {
  background: #ffffff;
  border-radius: 14px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
  font-size: 14px;
  color: #0f172a;
}
.card-grid .card:hover {
  border-color: #c7d2fe;
  text-decoration: none;
}

/* Link-lijst symptomen */

.link-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}
.link-list li + li {
  margin-top: 3px;
}
.link-list a {
  font-size: 14px;
}

/* Steden pill grid op home */

.pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill-grid .pill {
  display: inline-block;
  padding: 7px 12px;
  border-radius: 999px;
  background: #eef2ff;
  border: 1px solid #e0e7ff;
  font-size: 13px;
  color: #1d4ed8;
}
.pill-grid .pill:hover {
  background: #e0e7ff;
  text-decoration: none;
}

/* ==============================
   CITY PAGE
============================== */

.city-page h1,
.city-page h2 {
  margin-top: 0;
}

.city-hero {
  margin-bottom: 8px;
}

.city-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 4px;
}

.city-count-inline {
  font-size: 17px;
  font-weight: 400;
  color: var(--muted);
  margin-left: 8px;
}

.city-subtitle {
  color: var(--muted);
  margin-bottom: 24px;
}

/* Dokterslijst */

.city-doctors-section {
  margin-bottom: 32px;
}

.city-doctor-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 18px;
}

.city-doctor-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid var(--border);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: 0.18s ease;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}
.city-doctor-card:hover {
  border-color: #cbd5ff;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.14);
  transform: translateY(-2px);
  text-decoration: none;
}

.city-card-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.city-avatar-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #e0ebff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: #1d4ed8;
  font-size: 16px;
}

.city-doctor-name {
  font-size: 16px;
  font-weight: 600;
  color: #0f172a;
}

.city-doctor-address {
  font-size: 13px;
  color: var(--muted);
  margin-top: 2px;
}

.city-card-arrow {
  font-size: 22px;
  color: #1d4ed8;
  opacity: 0.8;
  transition: 0.18s;
}
.city-doctor-card:hover .city-card-arrow {
  opacity: 1;
  transform: translateX(3px);
}

/* City infoblokken */

.city-block {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid var(--border);
  padding: 20px 22px 18px;
  margin-bottom: 24px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.city-block h2 {
  font-size: 20px;
  margin: 0 0 8px;
}

.city-block p {
  margin: 0 0 10px;
}

.city-block ul {
  margin: 0;
  padding-left: 20px;
}

/* CTA city */

.city-cta {
  margin-top: 8px;
  padding: 16px 18px;
  background: #e5efff;
  border-radius: 14px;
  font-size: 14px;
}
.city-cta a {
  font-weight: 600;
}

/* ==============================
   DOCTOR PAGE
============================== */

.doctor-page h1,
.doctor-page h2 {
  margin-top: 0;
}

/* Hero */

.doctor-hero {
  background: #ffffff;
  border-radius: 24px;
  padding: 26px 30px;
  display: flex;
  align-items: center;
  gap: 24px;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.14);
  margin-bottom: 28px;
}

.doctor-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #e0ebff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  font-weight: 700;
  color: #1d4ed8;
}

.doctor-name {
  font-size: 26px;
  font-weight: 700;
}

.doctor-badge {
  display: inline-block;
  margin-top: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #e3f0ff;
  color: #1d4ed8;
  font-size: 13px;
}

.doctor-subtitle {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.doctor-links {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
}

.doctor-linkedin {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: #0a66c2;
  color: #fff;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

/* Info grid */

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-bottom: 26px;
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
}

.card h2 {
  font-size: 18px;
  margin: 0 0 10px;
}

.card p {
  margin: 0 0 8px;
}

.card .list {
  margin: 0;
  padding-left: 18px;
}

/* Wide cards */

.card-wide {
  margin-top: 20px;
}

/* Map placeholder */

.map-placeholder {
  padding: 14px;
  border-radius: 14px;
  background: #f1f5f9;
}

/* CTA doctor */

.cta-box {
  margin-top: 28px;
  margin-bottom: 10px;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid var(--border);
  padding: 18px 20px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}
.cta-box h2 {
  margin-bottom: 6px;
}

/* ==============================
   FOOTER / FLOAT CTA
============================== */

.footer {
  padding: 18px 20px;
  font-size: 13px;
  color: var(--muted);
  border-top: 1px solid var(--border);
  background: #ffffff;
  text-align: center;
}

.floating-cta {
  position: fixed;
  right: 18px;
  bottom: 18px;
  padding: 10px 14px;
  border-radius: 999px;
  background: #1d4ed8;
  color: #ffffff;
  font-size: 13px;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.35);
}

/* ==============================
   RESPONSIVE ALGEMEEN
============================== */

@media (max-width: 768px) {
  .wrap {
    padding: 22px 16px 40px;
  }

  .doctor-hero {
    flex-direction: column;
    align-items: flex-start;
  }

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


/* =========================
   HEADER
   ========================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: #ffffff;
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.04);
}

.header-container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo links */
.header-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    color: #0f172a;
}

.header-logo span {
    letter-spacing: 0.01em;
}

.logo-dot {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, #2563eb, #38bdf8);
    box-shadow: 0 0 0 6px rgba(37, 99, 235, 0.18);
}

/* Navigatie rechts */
.header-nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-nav a {
    position: relative;
    font-size: 0.93rem;
    text-decoration: none;
    color: #4b5563;
    padding: 4px 0;
    transition: color 0.15s ease, transform 0.15s ease;
}

.header-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -4px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, #2563eb, #38bdf8);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.16s ease-out;
}

.header-nav a:hover {
    color: #0f172a;
    transform: translateY(-1px);
}

.header-nav a:hover::after {
    transform: scaleX(1);
}

/* Mobiel */
@media (max-width: 768px) {
    .header-container {
        padding: 10px 16px;
    }

    .header-nav {
        gap: 12px;
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .header-nav a {
        font-size: 0.85rem;
    }
}

/* =========================
   Symptomen blok (home / overzicht)
   ========================= */

.section-symptoms {
    padding: 40px 0 70px;
}

.section-symptoms .wrap > h1 {
    font-size: 1.6rem;
    margin-bottom: 20px;
}

/* Grid met kaarten */
.symptom-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr)); /* <– was 3, nu 4 */
    gap: 24px;
}

/* Kaart-styling in dezelfde "lux" stijl als de hero/kaart op home */
.symptom-card {
    background: #ffffff;
    border-radius: 22px;
    padding: 18px 20px 16px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.05);
    border: 1px solid rgba(148, 163, 184, 0.16);
}

.symptom-card h2 {
    font-size: 1rem;
    font-weight: 600;
    color: #020617;
    margin: 0 0 10px;
}

.symptom-card ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.symptom-card li + li {
    margin-top: 4px;
}

.symptom-card a {
    font-size: 0.93rem;
    text-decoration: none;
    color: #2563eb;
}

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

/* Responsive: 2 kolommen op tablet, 1 op mobiel */
@media (max-width: 1024px) {
    .symptom-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .symptom-grid {
        grid-template-columns: 1fr;
    }

    .section-symptoms {
        padding-top: 28px;
    }
}
/* =========================
   Zoekpagina
   ========================= */

.search-page {
    padding: 28px 0 60px;
    background: #f4f7fb;
}

.breadcrumb {
    font-size: 0.8rem;
    color: #6b7280;
    margin-bottom: 14px;
}

.breadcrumb a {
    color: #4b5563;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* Hero / zoekblok */

.search-hero--inner {
    background: #ffffff;
    border-radius: 24px;
    padding: 20px 22px 18px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
    border: 1px solid rgba(148, 163, 184, 0.16);
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.search-head-text .eyebrow {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #64748b;
    margin-bottom: 4px;
}

.search-head-text h1 {
    font-size: 1.5rem;
    margin: 0 0 4px;
    color: #0f172a;
}

.search-head-text .lead {
    margin: 0;
    font-size: 0.95rem;
    color: #4b5563;
}

.search-hero-form {
    margin-top: 4px;
}

.search-input-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f9fafb;
    border-radius: 999px;
    padding: 4px 4px 4px 16px;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.05);
    max-width: 560px;
}

.search-input-wrap input[type="search"] {
    border: none;
    outline: none;
    flex: 1;
    font-size: 0.95rem;
    padding: 8px 0;
    background: transparent;
}

.search-input-wrap input::placeholder {
    color: #9ca3af;
}

.search-input-wrap button {
    border: none;
    border-radius: 999px;
    padding: 8px 20px;
    font-size: 0.93rem;
    font-weight: 600;
    cursor: pointer;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #ffffff;
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.35);
    white-space: nowrap;
}

.search-input-wrap button:hover {
    transform: translateY(-1px);
}

.search-hint {
    margin-top: 8px;
    font-size: 0.82rem;
    color: #6b7280;
}

.search-intro {
    font-size: 0.95rem;
    color: #4b5563;
}

/* Resultaten */

.search-results {
    margin-top: 8px;
}

.section-title {
    font-size: 1.05rem;
    margin: 20px 0 10px;
    color: #0f172a;
}

/* Steden kaarten */

.city-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 16px;
}

.city-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid rgba(148, 163, 184, 0.22);
    text-decoration: none;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.04);
}

.city-name {
    font-size: 0.95rem;
    color: #0f172a;
}

.city-arrow {
    font-size: 1.1rem;
    color: #2563eb;
}

/* Dermatologen kaarten */

.doctor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
}

.doctor-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 14px 16px 12px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.05);
}

.doctor-name {
    margin: 0 0 4px;
    font-size: 1rem;
}

.doctor-name a {
    text-decoration: none;
    color: #0f172a;
}

.doctor-name a:hover {
    text-decoration: underline;
}

.doctor-meta {
    margin: 0 0 6px;
    font-size: 0.9rem;
    color: #4b5563;
}

.doctor-label {
    margin: 0;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.13em;
    color: #0369a1;
}

/* Lijsten (symptomen / behandelingen) */

.link-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.link-list li + li {
    margin-top: 4px;
}

.link-list a {
    color: #2563eb;
    text-decoration: none;
    font-size: 0.95rem;
}

.link-list a:hover {
    text-decoration: underline;
}

.no-results {
    margin-top: 10px;
    font-size: 0.95rem;
    color: #4b5563;
}

/* Mobiel */

@media (max-width: 640px) {
    .search-page {
        padding-top: 22px;
    }

    .search-hero--inner {
        padding: 16px 14px;
    }

    .search-input-wrap {
        max-width: 100%;
    }
}
