: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;
}

.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;
}

.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;
}

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

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

@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));
  }

  .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;
}
