/* SFS Bouw Elementor widget system based on sfsbouw-homepage-design.html */
:root {
  --paper: #f4ede7;
  --paper-dim: #ede5dc;
  --paper-tint: #e5d9cc;
  --ink: #211e1a;
  --ink-soft: #57534a;
  --charcoal: #1b1917;
  --charcoal-2: #242220;
  --amber: #b79563;
  --amber-dark: #9a7d4f;
  --steel: #3c5a6b;
  --steel-light: #7c97a5;
  --line: #d9cfc4;
  --line-dark: #46423b;
  --success: #5c7a52;
  --paper-rgb: 244, 237, 231;
  --max: 1240px;
  --border: #d9cfc4;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: _Inter_f367f3, __Inter_Fallback_f367f, "Inter", sans-serif;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
span,
a,
li,
td,
th,
label,
input,
textarea,
button,
select {
  font-family: _Inter_f367f3, __Inter_Fallback_f367f, "Inter", sans-serif;
}

/* ── Layout utility used by SFSBouw widgets ── */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 40px;
}

@media (max-width: 900px) {
  .wrap {
    padding: 0 24px;
  }
}
@media (max-width: 520px) {
  .wrap {
    padding: 0 18px;
  }
}

/* ── featured__meta (used by sfsbouw_featured_project widget) ── */
.featured__meta {
  display: flex;
  gap: 28px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.featured__meta div {
  font-size: 13px;
  color: var(--ink);
}
.featured__meta span {
  display: block;
  color: var(--ink-soft);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
  font-family: _Inter_f367f3, __Inter_Fallback_f367f, "Inter", monospace;
}

body:not(.wp-admin) {
  padding-left: 26px;
}

body:not(.wp-admin)::before {
  content: "SFS BOUW - TEKENING HOME-01";
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 26px;
  z-index: 999;
  background:
    linear-gradient(var(--charcoal), var(--charcoal)),
    repeating-linear-gradient(
      to bottom,
      var(--line-dark) 0 1px,
      transparent 1px 12px
    );
  color: var(--steel-light);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: _Inter_f367f3, __Inter_Fallback_f367f, "Inter", monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-left: 1px solid var(--line-dark);
}

h1,
h2,
h3,
h4,
.service-card__title,
.step__title,
.review-card__name {
  font-family: _Inter_f367f3, __Inter_Fallback_f367f, "Inter", sans-serif;
  font-weight: 700;
  letter-spacing: 0;
}

.mono,
.service-card__num,
.stat__label,
.eyebrow,
.gallery__cat,
.reviews__score-detail,
.review-card__role {
  font-family: _Inter_f367f3, __Inter_Fallback_f367f, "Inter", monospace;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--amber);
}

.sheet--dark .eyebrow,
.reviews .eyebrow,
.special .eyebrow,
.hero .eyebrow {
  color: var(--amber);
}

.btn,
.sfs-interactive {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 2px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid transparent;
  transition:
    transform 0.15s ease,
    background 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease;
}

.btn:focus-visible,
.sfs-interactive:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

.btn:hover,
.sfs-interactive:hover {
  transform: translateY(-1px);
}

.btn--primary,
.elementor-widget-button .elementor-button {
  background: var(--amber);
  color: #fff;
  border-radius: 2px;
  border: 1px solid var(--amber);
  font-weight: 600;
}

.btn--primary:hover,
.elementor-widget-button .elementor-button:hover {
  background: var(--amber-dark);
  border-color: var(--amber-dark);
  color: var(--charcoal);
}

.btn--ghost-dark {
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}

.btn--ghost-dark:hover {
  border-color: #fff;
}

.btn--ghost-light {
  border-color: var(--ink);
  color: var(--ink);
  background: transparent;
}

.btn--ghost-light:hover {
  background: var(--ink);
  color: var(--paper);
}

.btn--arrow::after {
  content: "→";
  transition: transform 0.15s ease;
}

.btn--arrow:hover::after {
  transform: translateX(3px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(var(--paper-rgb), 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 40px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: _Inter_f367f3, __Inter_Fallback_f367f, "Inter", sans-serif;
  font-weight: 700;
  font-size: 19px;
  color: var(--ink);
  text-decoration: none;
}

.logo__mark {
  width: 30px;
  height: 30px;
  background: var(--charcoal);
  color: var(--amber);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: _Inter_f367f3, __Inter_Fallback_f367f, "Inter", sans-serif;
  font-size: 16px;
}

.logo__sub {
  display: block;
  color: var(--ink-soft);
  font-family: _Inter_f367f3, __Inter_Fallback_f367f, "Inter", monospace;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero {
  background: var(--charcoal);
  color: #fff;
  position: relative;
  overflow: hidden;
  padding: 96px 0 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 78% 20%,
    rgba(232, 163, 61, 0.14),
    transparent 55%
  );
  pointer-events: none;
}

/* Background image variant — inline style provides the real image URL */
.hero--bg-image {
  background-size: cover;
  padding-bottom: 20px;
}
.hero--bg-image::before {
  display: none;
}

/* Solid colour variant — inline style provides the colour */
.hero--bg-color {
  background-image: none;
}
.hero--bg-color::before {
  display: none;
}

/* Semi-transparent overlay rendered via PHP when bg_type === image */
.hero__overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

/* Light-text mode (default for image bg; optional for colour bg) */
.hero--light-text .hero__head h1,
.hero--light-text .hero h1 {
  color: #fff;
}
.hero--light-text .hero__sub {
  color: rgba(255, 255, 255, 0.8);
}

.hero__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 70px 40px 0;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: end;
}

.hero__head h1,
.hero h1 {
  font-family: _Inter_f367f3, __Inter_Fallback_f367f, "Inter", sans-serif;
  font-weight: 400;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: 0;
  color: #fff;
  max-width: 13ch;
}

.hero__head h1 span,
.hero h1 span {
  color: var(--amber);
}

.hero__sub {
  margin-top: 22px;
  font-size: 17px;
  color: #d9d5c9;
  max-width: 44ch;
  line-height: 1.65;
}

.hero__actions {
  display: flex;
  gap: 14px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.hero__card {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.03);
  padding: 26px;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.hero__card::before,
.hero__card::after,
.cta__box::before,
.cta__box::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
}

.hero__card::before,
.cta__box::before {
  top: -1px;
  left: -1px;
  border-top: 1px solid var(--amber);
  border-left: 1px solid var(--amber);
}

.hero__card::after,
.cta__box::after {
  bottom: -1px;
  right: -1px;
  border-bottom: 1px solid var(--amber);
  border-right: 1px solid var(--amber);
}

.hero__card-label {
  font-family: _Inter_f367f3, __Inter_Fallback_f367f, "Inter", monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--steel-light);
  text-transform: uppercase;
}

.hero__card-title {
  font-family: _Inter_f367f3, __Inter_Fallback_f367f, "Inter", sans-serif;
  font-weight: 600;
  font-size: 18px;
  margin-top: 10px;
  color: #fff;
}

.hero__card-body {
  font-size: 14px;
  color: #b8b2a4;
  margin-top: 8px;
  line-height: 1.55;
}

.hero__card-link {
  margin-top: 18px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--amber);
  text-decoration: none;
}

.hero__strip {
  margin-top: 60px;
  border-top: 1px solid var(--line-dark);
  padding: 0 40px;
}

.hero__strip-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat {
  padding: 26px 22px;
  border-right: 1px solid var(--line-dark);
}

.stat:last-child {
  border-right: none;
}

.stat__num {
  font-family: _Inter_f367f3, __Inter_Fallback_f367f, "Inter", sans-serif;
  font-size: 2.5rem;
  color: var(--amber);
  line-height: 1;
}

.stat__label {
  font-size: 14px;
  color: #000000;
  margin-top: 8px;
  letter-spacing: 0.02em;
  font-weight: 600;
}

.featured,
.process,
.quality {
  padding: 100px 10px;
  background: #fffbf7;
  border-radius: 5px;
}

.services,
.gallery,
.cta {
  padding: 110px 0;
  background: #efefef57;
  border-top: 1px solid var(--line);
}

.special,
.reviews {
  padding: 110px 0;
  background: var(--charcoal);
  color: #fff;
  padding-left: 10px;
  padding-right: 10px;
  border-radius: 5px;
}

.services__head,
.process__head {
  max-width: 640px;
  margin-bottom: 56px;
}

.services__head h2,
.process__head h2,
.gallery__top h2,
.reviews__top h2,
.quality h2,
.cta h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1.12;
  color: inherit;
}

.services__head p,
.process__head p {
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 16.5px;
  line-height: 1.7;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.service-card {
  background: #ffffffa3;
  padding: 32px 26px;
  min-height: 198px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: background 0.15s ease;
}

.service-card:hover {
  background: var(--paper);
}

.service-card--feature {
  background: var(--charcoal);
  color: #fff;
}

.service-card--feature:hover {
  background: var(--charcoal-2);
}

.service-card__num {
  font-size: 12px;
  color: var(--steel);
}

.service-card--feature .service-card__num {
  color: var(--amber);
}

.service-card__title {
  font-weight: 600;
  font-size: 18px;
  margin-top: 34px;
}

.service-card__desc {
  font-size: 13.5px;
  color: var(--ink-soft);
  margin-top: 10px;
  line-height: 1.55;
}

.service-card--feature .service-card__desc {
  color: #b8b2a4;
}

.service-card__link {
  margin-top: 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--steel);
  text-decoration: none;
}

.service-card--feature .service-card__link {
  color: var(--amber);
}

.special {
  position: relative;
  overflow: hidden;
}

.special::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 45%;
  background-image: repeating-linear-gradient(
    135deg,
    rgba(232, 163, 61, 0.05) 0 2px,
    transparent 2px 13px
  );
  pointer-events: none;
}

.special__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.special h2 {
  color: #fff;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  max-width: 14ch;
}

.special p {
  color: #c7c1b2;
  font-size: 16.5px;
  line-height: 1.75;
  margin-top: 20px;
  max-width: 50ch;
}

.special__list {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  list-style: none;
  padding: 0;
}

.special__list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14.5px;
  color: #d9d5c9;
}

.special__list li::before {
  content: "";
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  background: var(--amber);
  margin-top: 7px;
}

.special__plate,
.plate {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 4/3;
}

.special__plate {
  aspect-ratio: 1/1.05;
  border-color: rgba(255, 255, 255, 0.14);
  background:
    repeating-linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.045) 0 2px,
      transparent 2px 12px
    ),
    linear-gradient(160deg, #2b2825, #1b1917);
}

.plate--hatch {
  background:
    repeating-linear-gradient(
      135deg,
      rgba(60, 90, 107, 0.14) 0 2px,
      transparent 2px 11px
    ),
    linear-gradient(155deg, #d9d3c2, #c7c0ac);
}

.plate__badge,
.special__plate-tag {
  position: absolute;
  background: var(--charcoal);
  color: #fff;
  font-family: _Inter_f367f3, __Inter_Fallback_f367f, "Inter", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  padding: 7px 12px;
  text-transform: uppercase;
}

.plate__badge {
  bottom: 14px;
  left: 14px;
}

.special__plate-tag {
  top: 14px;
  left: 14px;
  color: var(--amber);
  background: transparent;
  padding: 0;
}

.process__track {
  position: relative;
}

.process__ruler {
  position: absolute;
  top: 19px;
  left: 0;
  right: 0;
  height: 1px;
  background-image: repeating-linear-gradient(
    to right,
    var(--line) 0 1px,
    transparent 1px 40px
  );
  z-index: 0;
}

.process__grid {
  display: grid;
  grid-template-columns: repeat(var(--cols, 6), 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
  list-style: none;
  margin: 0;
  padding: 0;
}

.step__num {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: _Inter_f367f3, __Inter_Fallback_f367f, "Inter", monospace;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 18px;
}

.step--last .step__num {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--charcoal);
}

.step__title {
  font-weight: 600;
  font-size: 15.5px;
  line-height: 1.3;
}

.step__desc {
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 8px;
  line-height: 1.55;
}

.process__grid--more {
  margin-top: 24px;
}

.process__more {
  margin-top: 32px;
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.process__more:hover {
  background: #fff;
  border-color: var(--ink);
}

.process__more:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
}

.gallery__top,
.reviews__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.gallery__top h2 {
  max-width: 14ch;
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery__item {
  aspect-ratio: 4/3;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  display: block;
  transition:
    transform 0.35s cubic-bezier(0.34, 0.88, 0.59, 1),
    box-shadow 0.35s ease;
}

.gallery__item:hover {
  transform: translateY(-6px);
  box-shadow:
    0 12px 28px rgba(27, 25, 23, 0.15),
    0 4px 12px rgba(27, 25, 23, 0.08);
  z-index: 2;
}

.gallery__item:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 4px;
}

.plate-fill {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.45s cubic-bezier(0.34, 0.88, 0.59, 1),
    filter 0.35s ease;
}

.gallery__item:hover .plate-fill {
  transform: scale(1.08);
}

.gallery__item:hover .plate-fill:is(img) {
  filter: brightness(1.05) contrast(1.02);
}

.g1 {
  background:
    repeating-linear-gradient(
      45deg,
      rgba(60, 90, 107, 0.16) 0 2px,
      transparent 2px 10px
    ),
    linear-gradient(160deg, #dad4c3, #c4bca5);
}
.g2 {
  background:
    repeating-linear-gradient(
      45deg,
      rgba(232, 163, 61, 0.18) 0 2px,
      transparent 2px 10px
    ),
    linear-gradient(160deg, #d2ccbb, #b9b29a);
}
.g3 {
  background:
    repeating-linear-gradient(
      45deg,
      rgba(33, 30, 26, 0.14) 0 2px,
      transparent 2px 10px
    ),
    linear-gradient(160deg, #ddd7c7, #c9c2aa);
}

.gallery__cat {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(27, 25, 23, 0.85);
  color: #fff;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 10px;
  transition:
    background 0.25s ease,
    transform 0.35s cubic-bezier(0.34, 0.88, 0.59, 1);
  backdrop-filter: blur(4px);
  z-index: 2;
}

.gallery__item:hover .gallery__cat {
  background: rgba(27, 25, 23, 0.95);
  transform: translateX(4px);
}

.gallery__title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(
    to top,
    rgb(27 25 23 / 4%) 0%,
    rgb(27 25 23 / 37%) 70%,
    transparent 100%
  );
  color: #fff;
  font-family: _Inter_f367f3, __Inter_Fallback_f367f, "Inter", sans-serif;
  font-weight: 600;
  font-size: 15px;
  padding: 28px 16px 16px;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.34, 0.88, 0.59, 1);
  backdrop-filter: blur(6px);
  z-index: 2;
}

.gallery__item:hover .gallery__title {
  transform: translateY(0);
}

.reviews__top h2 {
  color: #fff;
  max-width: 15ch;
}

.reviews__score {
  display: flex;
  align-items: center;
  gap: 16px;
}

.reviews__score-num {
  font-family: _Inter_f367f3, __Inter_Fallback_f367f, "Inter", sans-serif;
  font-size: 3rem;
  color: var(--amber);
  line-height: 1;
}

.reviews__score-detail {
  font-size: 13px;
  color: #b8b2a4;
}

.reviews__stars {
  color: var(--amber);
  letter-spacing: 2px;
  font-size: 14px;
}

.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
}

.review-card {
  background: var(--charcoal);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: space-between;
  min-height: 210px;
}

.review-card__stars {
  color: var(--amber);
  font-size: 13px;
  letter-spacing: 2px;
}

.review-card__quote {
  font-size: 14.5px;
  color: #d9d5c9;
  line-height: 1.65;
}

.review-card__name {
  font-weight: 600;
  font-size: 13.5px;
  color: #fff;
}

.review-card__role {
  font-size: 11.5px;
  color: #8c8678;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.quality__inner {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
}

.quality p {
  color: var(--ink-soft);
  margin-top: 16px;
  font-size: 15.5px;
  line-height: 1.7;
  max-width: 36ch;
}

.quality__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.quality-item {
  background: var(--paper);
  padding: 26px;
}

.quality-item__icon {
  width: 34px;
  height: 34px;
  border: 1px solid var(--success);
  color: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  margin-bottom: 16px;
}

.quality-item__title {
  font-family: _Inter_f367f3, __Inter_Fallback_f367f, "Inter", sans-serif;
  font-weight: 600;
  font-size: 15px;
}

.quality-item__desc {
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 8px;
  line-height: 1.55;
}

.cta__box {
  background: var(--charcoal);
  color: #fff;
  padding: 64px;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: center;
}

.cta__box p {
  color: #c7c1b2;
  margin-top: 18px;
  max-width: 54ch;
}

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.cta__team {
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 24px;
}

.cta__team-text {
  color: #d9d5c9;
  font-size: 14px;
  line-height: 1.65;
}

.cta__phone {
  display: inline-flex;
  margin-top: 18px;
  color: var(--amber);
  font-family: _Inter_f367f3, __Inter_Fallback_f367f, "Inter", monospace;
  font-size: 12px;
  text-decoration: none;
}

.footer,
.sfs-footer {
  background: var(--charcoal);
  color: #d9d5c9;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
  padding: 64px 0 40px;
}

.footer__brand p {
  margin-top: 16px;
  font-size: 13.5px;
  line-height: 1.65;
  max-width: 32ch;
  color: #8c8678;
}

.footer__col-title {
  font-family: _Inter_f367f3, __Inter_Fallback_f367f, "Inter", monospace;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8c8678;
  margin-bottom: 16px;
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer__col a {
  font-size: 13.5px;
  color: #d9d5c9;
  text-decoration: none;
}

.footer__col a:hover {
  color: var(--amber);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12.5px;
  color: #726d60;
}

.footer__bottom-links {
  display: flex;
  gap: 20px;
}

.footer__bottom-links a {
  color: #726d60;
  text-decoration: none;
}

@media (max-width: 980px) {
  .process__grid {
    grid-template-columns: repeat(var(--cols-tablet, 3), 1fr);
    row-gap: 44px;
  }
}

@media (max-width: 920px) {
  body:not(.wp-admin) {
    padding-left: 0;
  }
  body:not(.wp-admin)::before {
    display: none;
  }
  .hero__inner,
  .special__inner,
  .quality__inner,
  .cta__box {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .services__grid,
  .gallery__grid,
  .reviews__grid,
  .hero__strip-inner {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer__top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .hero__inner {
    padding: 54px 24px 0;
  }
  .hero__strip {
    padding: 0 24px;
  }
  .services__grid,
  .gallery__grid,
  .reviews__grid,
  .quality__grid,
  .hero__strip-inner {
    grid-template-columns: 1fr;
  }
  .process__grid {
    grid-template-columns: repeat(var(--cols-mobile, 2), 1fr);
  }
  .cta__box {
    padding: 34px 24px;
  }
  .footer__top {
    grid-template-columns: 1fr;
  }
  .stat {
    border-right: none;
    border-bottom: 1px solid var(--line-dark);
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}

/* ── SFSBouw Hero Box (matches elementor-widgets/hero-section.html) ── */
.hero-box {
  --hero-box-cream-bg: #f6efe6;
  --hero-box-icon-bg: #f2e3d1;
  --hero-box-icon-color: #b79664;
  --hero-box-check-color: #3fa15e;
  --hero-box-text-dark: #1c1c1c;
  --hero-box-text-muted: #6b6b6b;
  --hero-box-btn-bg: #f4ece1;
  --hero-box-btn-text: #1c1c1c;
  --hero-box-overlay-opacity: 0.55;

  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 120px 0 170px;
  background: var(--hero-box-cream-bg);
  color: var(--hero-box-text-dark);

  /* Full-bleed: escape the boxed Astra/Elementor container so the
     background image + overlay span the whole viewport. */
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

/* Prevent the full-bleed hero (100vw) from adding a horizontal scrollbar.
   `clip` (not `hidden`) keeps vertical scrolling and position:sticky intact. */
.site-content {
  overflow-x: clip;
}

/* Background photo — a covering layer. Rendered as a div with an inline
   background-image so it stretches the full hero via `inset: 0` on every
   breakpoint. (An absolutely-positioned <img> with object-fit only stretches
   when the hero has a definite height; on mobile the hero is `min-height:auto`,
   so the image fell back to its intrinsic height and left a bare gap below.) */
.hero-box-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

/* Darkening gradient over the photo.
   --hero-box-overlay-color  : base color (hex, set from the Style tab).
   --hero-box-overlay-opacity: single knob for the middle opacity. */
.hero-box-overlay {
  --hero-box-overlay-color: #000000;
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    100deg,
    color-mix(
        in srgb,
        var(--hero-box-overlay-color)
          calc(var(--hero-box-overlay-opacity, 0.55) * 100% + 15%),
        transparent
      )
      0%,
    color-mix(
        in srgb,
        var(--hero-box-overlay-color)
          calc(var(--hero-box-overlay-opacity, 0.55) * 100%),
        transparent
      )
      55%,
    color-mix(
        in srgb,
        var(--hero-box-overlay-color)
          calc(var(--hero-box-overlay-opacity, 0.55) * 100% - 30%),
        transparent
      )
      100%
  );
}

.hero-box-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px; /* matches the Elementor/Astra content width */
  margin: 0 auto;
  padding: 0 20px;
  color: #fff;
}

.hero-box-inner h1 {
  font-family: "Poppins", "Space Grotesk", "Segoe UI", Arial, sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
  color: #fff;
}

.hero-box-inner p {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  max-width: 480px;
  margin-bottom: 36px;
}

.hero-box-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--hero-box-btn-bg);
  color: var(--hero-box-btn-text);
  font-weight: 600;
  font-size: 1rem;
  padding: 16px 28px;
  border-radius: 10px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.hero-box-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
  background: var(--hero-box-btn-bg);
  color: var(--hero-box-btn-text);
}
.hero-box-cta svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Feature cards overlapping the hero bottom */
.hero-box-features {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 6vw;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  transform: translateY(-90px);
  position: relative;
  z-index: 3;
}

.hero-box-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px 26px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

/* Icon color: applied once here via `color`. FontAwesome `<i>` and
   Elementor SVG icons use color / fill=currentColor; the custom & fallback
   stroked SVGs use stroke="currentColor" — all three inherit the chosen
   color from the container. */
.hero-box-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--hero-box-icon-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--hero-box-icon-color);
}
.hero-box-card-icon svg {
  width: 26px;
  height: 26px;
}
/* Elementor inline SVG icons (FontAwesome "e-font-icon-svg") color their
   paths via fill: currentColor — ensure they pick up the container color. */
.hero-box-card-icon svg.e-font-icon-svg path,
.hero-box-card-icon svg.e-font-icon-svg {
  fill: currentColor;
}
/* FontAwesome / eicons rendered via Elementor's Icons_Manager */
.hero-box-card-icon i,
.hero-box-card-icon .elementor-icon {
  font-size: 26px;
  color: var(--hero-box-icon-color);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-box-card h3 {
  font-family: "Poppins", "Space Grotesk", "Segoe UI", Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 14px;
  line-height: 1.3;
  color: var(--hero-box-text-dark);
}

.hero-box-card-desc {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.hero-box-card-desc svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  stroke: var(--hero-box-check-color);
  fill: none;
}
.hero-box-card-desc p {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--hero-box-text-muted);
  margin: 0;
}

@media (max-width: 1024px) {
  .hero-box-features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .hero-box {
    padding: 90px 0 220px;
    min-height: auto;
  }
  .hero-box-features {
    grid-template-columns: 1fr;
    transform: translateY(-60px);
    gap: 16px;
  }
  .hero-box-inner h1 {
    font-size: 2rem;
  }
}

/* ── SFSBouw Testimonials (CPT) Widget ──
   Mirrors the design in elementor-widgets/testimonials-section.html */
.sfsbouw-testimonial.testimonials {
  max-width: 1300px;
  margin: 0 auto;
  padding: 60px 0.5vw;
  column-count: 3;
  column-gap: 24px;
}

.sfsbouw-testimonial .testimonial-card {
  background: #f4ede3;
  border-radius: 18px;
  padding: 34px 32px;
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-bottom: 24px;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
}

.sfsbouw-testimonial .quote-icon {
  color: #c9a97a;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 18px;
  font-style: normal;
}
.sfsbouw-testimonial .quote-icon svg {
  width: 34px;
  height: 26px;
  fill: #c9a97a;
}

.sfsbouw-testimonial .testimonial-text {
  font-size: 0.98rem;
  line-height: 1.7;
  color: #3a3a3a;
  margin-bottom: 26px;
}

.sfsbouw-testimonial .divider {
  border: none;
  border-top: 1px solid #ddd2c2;
  margin-bottom: 20px;
}

.sfsbouw-testimonial .reviewer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  flex-wrap: wrap;
  gap: 6px;
}

.sfsbouw-testimonial .reviewer-name {
  font-family: "Poppins", "Segoe UI", Arial, sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: #1c1c1c;
}

.sfsbouw-testimonial .reviewer-location {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.88rem;
  color: #6b6b6b;
}
.sfsbouw-testimonial .reviewer-location svg {
  width: 14px;
  height: 14px;
  stroke: #b98a4e;
  fill: none;
  flex-shrink: 0;
}

.sfsbouw-testimonial .stars {
  display: flex;
  gap: 3px;
  margin-bottom: 14px;
}
.sfsbouw-testimonial .stars svg {
  width: 18px;
  height: 18px;
  fill: #c9a97a;
}

.sfsbouw-testimonial .meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #6b6b6b;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}

@media (max-width: 1024px) {
  .sfsbouw-testimonial.testimonials {
    column-count: 2;
  }
}

@media (max-width: 640px) {
  .sfsbouw-testimonial.testimonials {
    column-count: 1;
    padding: 40px 6vw;
  }
}
