/* ==========================================================================
   Grupo bedrijvencentrum — shared styles
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Jost:wght@400;500;600;700;800;900&display=swap');

:root {
  --background: oklch(95.5% .002 106);
  --foreground: oklch(24.3% 0 0);
  --primary: oklch(43.7% .152 27.5);
  --primary-foreground: oklch(100% 0 0);
  --muted: oklch(93% .002 106);
  --border: oklch(24.3% 0 0 / .12);
  --border-strong: oklch(24.3% 0 0 / .25);
  --card: oklch(100% 0 0);
  --success: oklch(52% .14 150);
  --radius: 0px;
  --max-w: 1800px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: 'Inter', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

h1, h2, h3, h4, .heading {
  font-family: 'Jost', 'Century Gothic', sans-serif;
  margin: 0;
  font-weight: 700;
}

p { margin: 0; }

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

button, input, textarea {
  font-family: inherit;
  color: inherit;
}

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

.label {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.text-accent { color: var(--primary); }

.size {
  font-family: 'Jost', 'Century Gothic', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -.01em;
}

/* ---------------------------------------------------------------- header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  border-bottom: 1px solid var(--border);
  background: color-mix(in oklch, var(--background) 90%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.1rem;
  padding-bottom: 1.1rem;
}

.logo {
  font-family: 'Jost', 'Century Gothic', sans-serif;
  font-weight: 900;
  font-size: 1.4rem;
  letter-spacing: -.02em;
  text-decoration: none;
  color: #000;
  text-transform: uppercase;
}

.logo.white { color: #fff; }

nav.main-nav {
  display: none;
  gap: 2rem;
}

@media (min-width: 860px) {
  nav.main-nav { display: flex; }
}

nav.main-nav a {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--foreground);
  transition: color .2s ease;
  padding-bottom: 2px;
}

nav.main-nav a:hover,
nav.main-nav a[aria-current="page"] {
  color: var(--primary);
}

.nav-toggle {
  display: inline-flex;
  background: none;
  border: none;
  cursor: pointer;
  padding: .25rem;
}

@media (min-width: 860px) {
  .nav-toggle { display: none; }
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--foreground);
  margin: 4px 0;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  border-bottom: 1px solid var(--border);
  background: var(--background);
}

.mobile-nav.open { display: flex; }

.mobile-nav a {
  padding: 1rem 1.5rem;
  text-decoration: none;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--foreground);
  border-top: 1px solid var(--border);
}

@media (min-width: 860px) {
  .mobile-nav { display: none !important; }
}

/* ------------------------------------------------------------------ hero */

.hero {
  position: relative;
  height: 92vh;
  min-height: 560px;
  overflow: hidden;
}

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

.hero-content {
  position: absolute;
  inset-inline: 1.5rem;
  bottom: 3rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
}

@media (min-width: 860px) {
  .hero-content { flex-direction: row; align-items: flex-end; }
}

.hero h1 {
  font-size: clamp(2.75rem, 9vw, 8rem);
  line-height: .85;
  letter-spacing: -.04em;
  text-transform: uppercase;
  color: var(--background);
  max-width: 20ch;
}

.locatie-box {
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 1.5rem 2rem;
  min-width: 260px;
  flex-shrink: 0;
}

.locatie-box .label { color: var(--primary-foreground); opacity: .85; }

.locatie-box p {
  margin-top: .6rem;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.35;
}

/* ------------------------------------------------------------- page hero */

.page-hero {
  padding: 7rem 0 3rem;
  border-bottom: 1px solid var(--border);
  background: var(--card);
}

.page-hero .label { color: var(--primary); }

.page-hero h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: .95;
  letter-spacing: -.03em;
  text-transform: uppercase;
  margin-top: .75rem;
}

.page-hero .lede {
  margin-top: 1.5rem;
  max-width: 42ch;
  font-size: 1.05rem;
  color: color-mix(in oklch, var(--foreground) 65%, transparent);
  line-height: 1.5;
}

/* ------------------------------------------------------------- sections */

section { position: relative; }

.section-muted { background: var(--muted); }

.section-pad { padding: 5rem 0; }

@media (min-width: 860px) { .section-pad { padding: 7rem 0; } }

.section-heading-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-strong);
  margin-bottom: 0;
}

.section-heading-row .label:last-child { color: color-mix(in oklch, var(--foreground) 55%, transparent); }

/* -------------------------------------------------------- ruimte lijst */

.ruimte-item {
  display: grid;
  grid-template-columns: 1fr;
  row-gap: .75rem;
  align-items: center;
  padding: 2.25rem 0;
  border-bottom: 1px solid var(--border);
}

@media (min-width: 760px) {
  .ruimte-item {
    grid-template-columns: 1.1fr 1.4fr 1.6fr .8fr;
    column-gap: 1.5rem;
  }
}

.ruimte-item .name {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.ruimte-item .name::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}

.ruimte-item .size {
  font-size: clamp(2rem, 5vw, 2.9rem);
  line-height: 1;
  letter-spacing: -.02em;
}

.ruimte-item .desc {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: color-mix(in oklch, var(--foreground) 55%, transparent);
}

.ruimte-item .price {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 4px;
  justify-self: start;
}

@media (min-width: 760px) { .ruimte-item .price { justify-self: end; } }

/* ------------------------------------------------------------ plattegrond block */

.plattegrond-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

@media (min-width: 860px) {
  .plattegrond-grid { grid-template-columns: 1fr 1fr; }
}

.plattegrond-section { background: var(--card); }

@media (min-width: 860px) {
  .plattegrond-section { background: linear-gradient(to right, var(--card) 50%, var(--muted) 50%); }
}

.plattegrond-text { padding: 5rem 1.5rem; background: var(--card); }
.plattegrond-image { padding: 0 1.5rem 3rem; background: var(--muted); }

.plattegrond-card {
  background: var(--card);
  padding: 2rem;
}

.plattegrond-map-col,
.plattegrond-list-col {
  padding: 1rem 0;
}

@media (min-width: 860px) {
  .plattegrond-card { padding: 3.5rem; gap: 3.5rem; }
  .plattegrond-map-col { padding: 0; }
  .plattegrond-list-col { padding: 0 0 0 3.5rem; border-left: 1px solid var(--border); }
}

@media (min-width: 860px) {
  .plattegrond-text { padding: 7rem 3rem 7rem 0; }
  .plattegrond-image { padding: 7rem 0 7rem 3rem; }
}

.map-wrap { position: relative; max-width: 720px; margin: 0 auto; }
.map-wrap img { width: 100%; height: auto; }

.map-hover {
  display: block;
  position: absolute;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background-color .15s ease, outline-color .15s ease;
}

.map-hover:hover,
.map-hover.is-active {
  background: color-mix(in oklch, var(--primary) 45%, transparent);
  outline: 1px solid var(--primary);
  outline-offset: -1px;
}

.map-hover.is-available:hover,
.map-hover.is-available.is-active {
  background: color-mix(in oklch, var(--success) 60%, transparent);
  outline: 1px solid var(--success);
}

.tenant-list { margin-top: 2rem; }

.tenant-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: .85rem 0;
  border-bottom: 1px solid var(--border);
  font-size: .95rem;
  cursor: default;
}

.tenant-list li:has(.status-badge.beschikbaar) {
  border-bottom: 2px solid var(--foreground);
}

.tenant-list li:not(:has(.num)):has(.status-badge.verhuurd) {
  color: color-mix(in oklch, var(--foreground) 35%, transparent);
}

.tenant-list li .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: color-mix(in oklch, var(--foreground) 55%, transparent);
  font-size: .8rem;
  font-weight: 600;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  margin-right: 1rem;
  flex-shrink: 0;
}

.tenant-list li > span:first-child {
  font-family: 'Jost', 'Century Gothic', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -.01em;
}

.tenant-list li:has(.num) {
  color: var(--foreground);
}

.tenant-list li:has(.num) > span:first-child {
  display: flex;
  align-items: center;
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 500;
  text-transform: none;
  letter-spacing: normal;
  font-size: 1.05rem;
}

.tenant-list li:has(.num) .status-badge.verhuurd {
  display: none;
}

.tenant-list li:has(.link-arrow) > span:first-child {
  color: var(--success);
}

.tenant-list li .link-arrow {
  color: var(--success);
}

.tenant-list li .status-badge {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .3rem .6rem;
}

.status-badge.beschikbaar { background: var(--success); color: var(--primary-foreground); }
.status-badge.verhuurd { color: color-mix(in oklch, var(--foreground) 40%, transparent); font-weight: 600; }

.tenant-list li.is-highlight { color: var(--primary); }
.tenant-list li.is-highlight:has(.status-badge.beschikbaar) { color: var(--success); }

.link-arrow {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}

/* ------------------------------------------------------------ strategische ligging */

.ligging-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 860px) {
  .ligging-grid { grid-template-columns: 2fr 1fr; }
}

.ligging-grid video {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: var(--muted);
}

.ligging-list { margin-top: 2rem; }

@media (min-width: 860px) {
  .ligging-col { border-left: 1px solid var(--border); padding-left: 2.5rem; display: flex; flex-direction: column; justify-content: center; }
}

.ligging-list li {
  padding: 1.2rem 0;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.3;
}

/* -------------------------------------------------------------- contact cta (dark) */

.dark-band {
  background: var(--foreground);
  color: var(--background);
}

.dark-band .label { color: color-mix(in oklch, var(--background) 55%, transparent); }

.dark-band h2 {
  font-size: clamp(2.5rem, 7vw, 5rem);
  text-transform: uppercase;
  line-height: .95;
  letter-spacing: -.03em;
  margin-top: .75rem;
}

.dark-band .lede {
  margin-top: 1.25rem;
  max-width: 40ch;
  color: color-mix(in oklch, var(--background) 75%, transparent);
  font-size: 1.05rem;
}

.contact-row {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid color-mix(in oklch, var(--background) 20%, transparent);
  display: flex;
  flex-wrap: wrap;
  gap: 2rem 3rem;
  align-items: center;
}

.contact-row a.big {
  font-family: 'Jost', sans-serif;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 700;
  text-decoration: none;
}

.contact-row .link-arrow { color: color-mix(in oklch, var(--background) 70%, transparent); text-decoration: none; }

/* -------------------------------------------------------------------- footer */

.site-footer {
  background: var(--foreground);
  color: var(--background);
  padding: 3.5rem 0;
}

.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2.5rem;
}

.site-footer .col { min-width: 200px; }

.site-footer .logo.white { margin-bottom: 1rem; display: inline-block; }

.site-footer address { font-style: normal; opacity: .85; line-height: 1.5; }

.site-footer .col a { text-decoration: none; opacity: .85; }
.site-footer .col a:hover { opacity: 1; }

.site-footer .links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .75rem;
}

@media (min-width: 760px) {
  .site-footer .links { align-items: flex-end; }
}

.site-footer .links a {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  opacity: .7;
}

.site-footer .links a:hover { opacity: 1; }

.site-footer .copyright {
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  opacity: .45;
  margin-top: .5rem;
}

/* -------------------------------------------------------------- numbered feature list (sub pages) */

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 860px) {
  .feature-grid { grid-template-columns: .8fr 1.2fr; }
}

.feature-intro .label { color: var(--primary); }

.feature-intro .size {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1;
  margin-top: .5rem;
}

.feature-intro .lede {
  margin-top: 1.25rem;
  max-width: 32ch;
  font-size: 1.05rem;
  color: color-mix(in oklch, var(--foreground) 60%, transparent);
}

.feature-list-title {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border-strong);
  padding-bottom: 1rem;
  margin-bottom: 0;
}

.feature-list li {
  display: flex;
  gap: 1.5rem;
  align-items: baseline;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 1.05rem;
  font-weight: 500;
}

.feature-list li:last-child {
  border-bottom: none;
}

.feature-list li .idx {
  color: var(--primary);
  font-size: .75rem;
  font-weight: 700;
  flex-shrink: 0;
  width: 1.5rem;
}

.feature-footnote {
  margin-top: 2rem;
  font-size: .95rem;
  color: color-mix(in oklch, var(--foreground) 60%, transparent);
}

.feature-footnote a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.feature-cta {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.feature-cta h3 {
  font-size: clamp(1.6rem, 4vw, 2.25rem);
  text-transform: uppercase;
  line-height: 1;
}

/* -------------------------------------------------------------------- carousel */

.carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--muted);
}

.carousel .slides {
  display: flex;
  height: 100%;
  transition: transform .4s ease;
}

.carousel .slide {
  min-width: 100%;
  height: 100%;
  position: relative;
}

.carousel .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel .slide-caption {
  position: absolute;
  left: 0;
  bottom: 0;
  background: var(--foreground);
  color: var(--background);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .6rem 1rem;
}

.carousel .arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: color-mix(in oklch, var(--background) 55%, transparent);
  border: none;
  width: 40px;
  height: 40px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.carousel .arrow.prev { left: 1rem; }
.carousel .arrow.next { right: 1rem; }

.carousel .dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: .4rem;
}

.carousel .dots button {
  width: 26px;
  height: 3px;
  border: none;
  background: color-mix(in oklch, var(--background) 60%, transparent);
  cursor: pointer;
  padding: 0;
}

.carousel .dots button.active { background: var(--primary); }

/* -------------------------------------------------------------------- contact page */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
}

@media (min-width: 860px) {
  .contact-grid { grid-template-columns: 1fr 1.2fr; }
}

.contact-block-title {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border-strong);
  padding-bottom: 1rem;
}

.contact-detail { margin-top: 1.75rem; }
.contact-detail .label { color: color-mix(in oklch, var(--foreground) 55%, transparent); }
.contact-detail p, .contact-detail a {
  margin-top: .35rem;
  font-size: 1.4rem;
  font-weight: 700;
  text-decoration: none;
}

.map-embed {
  margin-top: 2rem;
  width: 100%;
  aspect-ratio: 4/3;
  filter: grayscale(1) contrast(1.05);
  border: 1px solid var(--border);
}

.contact-form { display: flex; flex-direction: column; }

.form-field { border-bottom: 1px solid var(--border-strong); padding: 1.5rem 0; }

.form-field label {
  display: block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: color-mix(in oklch, var(--foreground) 55%, transparent);
  margin-bottom: .6rem;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: none;
  background: transparent;
  font-size: 1.1rem;
  outline: none;
  resize: vertical;
  font-family: inherit;
}

.form-field textarea { min-height: 6rem; }

.btn-primary {
  margin-top: 2rem;
  align-self: flex-start;
  background: var(--primary);
  color: var(--primary-foreground);
  border: none;
  padding: 1rem 2.25rem;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
}

.btn-primary:hover { opacity: .9; }

/* -------------------------------------------------------------------- fotos page */

.fotos-carousel { border-bottom: 1px solid var(--border); }
.fotos-carousel .carousel { aspect-ratio: 16/8; }

@media (max-width: 640px) {
  .fotos-carousel .carousel { aspect-ratio: 4/5; }
}
