/* Local visual polish. Loaded after the built stylesheet. */

header .bg-heyl-anthracite .heyl-container {
  flex-wrap: nowrap;
  align-items: center;
  column-gap: 0.45rem;
  min-height: 2.5rem;
  padding-top: 0;
  padding-bottom: 0;
  overflow: hidden;
}

header .bg-heyl-anthracite a[href^="tel:"] {
  min-width: 0;
  font-size: 11.5px;
  line-height: 1;
  white-space: nowrap;
}

header .bg-heyl-anthracite a[href^="tel:"] > span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (min-width: 420px) {
  header .bg-heyl-anthracite a[href^="tel:"] {
    font-size: 12.5px;
  }
}

.heyl-top-reviews {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-left: auto;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.28rem 0.65rem 0.28rem 0.5rem;
  color: #fff;
  font-size: 12px;
  font-weight: 650;
  line-height: 1;
  text-decoration: none;
}

.heyl-top-reviews:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.heyl-stars {
  position: relative;
  display: inline-block;
  width: 4.6em;
  height: 1em;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.28);
  font-size: 11px;
  letter-spacing: 0.08em;
  line-height: 1;
}

.heyl-stars::before,
.heyl-stars > span::before {
  content: "★★★★★";
}

.heyl-stars > span {
  position: absolute;
  inset: 0 auto 0 0;
  overflow: hidden;
  color: #f5c451;
  white-space: nowrap;
}

@media (max-width: 420px) {
  .heyl-top-reviews-google {
    display: none;
  }
}

.heyl-hero-content .mt-7 {
  align-items: center;
  gap: 0.75rem 0.85rem;
}

.heyl-btn.heyl-btn-accent {
  border-radius: 999px;
  min-height: 3.05rem;
  padding-inline: 1.45rem;
  background: linear-gradient(180deg, #ff7a22 0%, #ef5a00 100%);
  box-shadow:
    0 10px 22px rgba(13, 27, 62, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.heyl-btn.heyl-btn-accent:hover {
  background: linear-gradient(180deg, #ff8a38 0%, #e25200 100%);
}

.heyl-hero-shade {
  background: rgba(4, 10, 24, 0.4);
}

.heyl-hero-wash {
  background: linear-gradient(
    102deg,
    rgba(4, 12, 28, 0.94) 0%,
    rgba(4, 12, 28, 0.9) 34%,
    rgba(4, 12, 28, 0.58) 54%,
    rgba(4, 12, 28, 0.2) 76%,
    rgba(4, 12, 28, 0.08) 100%
  );
}

.heyl-hero-fade {
  background: linear-gradient(to top, rgba(4, 12, 28, 0.78), transparent);
}

.heyl-hero-content h1,
.heyl-hero-content p {
  color: #fff;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.6),
    0 14px 32px rgba(0, 0, 0, 0.38);
}

.heyl-hero-content .mt-7 > a:not(.heyl-btn) {
  display: inline-flex;
  align-items: center;
  min-height: 3.05rem;
  padding: 0 1.05rem;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  background: rgba(4, 12, 28, 0.62);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.heyl-hero-content .mt-7 > a:not(.heyl-btn):hover {
  background: rgba(4, 12, 28, 0.82);
  color: #fff;
}

body.heyl-nav-open {
  overflow: hidden;
}

#mobile-nav.is-open {
  pointer-events: auto;
}

#mobile-nav.is-open > .absolute.inset-0 {
  opacity: 1;
}

#mobile-nav.is-open > .absolute.right-0 {
  translate: 0 0;
}

button[aria-controls="mobile-nav"][aria-expanded="true"] > span > span:nth-child(1) {
  top: 6px;
  transform: rotate(45deg);
}

button[aria-controls="mobile-nav"][aria-expanded="true"] > span > span:nth-child(2) {
  opacity: 0;
}

button[aria-controls="mobile-nav"][aria-expanded="true"] > span > span:nth-child(3) {
  top: 6px;
  transform: rotate(-45deg);
}

nav[aria-label="Direct iets regelen"] {
  background: #f4f1eb;
  padding-top: 1.15rem;
  padding-bottom: 1.25rem;
}

nav[aria-label="Direct iets regelen"] > .heyl-container > p {
  margin: 0;
  color: #6d7c90;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

nav[aria-label="Direct iets regelen"] .grid {
  max-width: 54rem;
  gap: 0.65rem;
}

nav[aria-label="Direct iets regelen"] .grid > * {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3.35rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(13, 27, 62, 0.1);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(13, 27, 62, 0.05);
  color: #0d1b3e;
  font-weight: 650;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
}

nav[aria-label="Direct iets regelen"] .grid > *:hover {
  border-color: rgba(244, 98, 15, 0.45);
  box-shadow: 0 8px 18px rgba(13, 27, 62, 0.06);
  color: #0d1b3e;
  text-decoration: none;
}

@media (min-width: 768px) {
  nav[aria-label="Direct iets regelen"] .grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .heyl-hero-shade {
    background: rgba(4, 10, 24, 0.5);
  }

  .heyl-hero-wash {
    background: linear-gradient(
      180deg,
      rgba(4, 10, 24, 0.5) 0%,
      rgba(4, 10, 24, 0.38) 24%,
      rgba(4, 10, 24, 0.84) 48%,
      rgba(4, 10, 24, 0.95) 100%
    );
  }

  .heyl-hero-content {
    min-height: min(58svh, 28rem);
  }

  .heyl-work-slide {
    flex-basis: 74%;
    max-width: 17.25rem;
  }

  .heyl-work-slide figure {
    aspect-ratio: 3 / 2;
  }

  main a.group.relative.block {
    aspect-ratio: 16 / 10;
    max-height: 15rem;
    min-height: 0;
  }

  main figure.relative.aspect-\[4\/3\] {
    aspect-ratio: 4 / 3;
    max-height: 11.5rem;
  }
}

figure:has(> img):not(:has(a)),
img.heyl-zoomable {
  cursor: zoom-in;
}

.heyl-lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  border: 0;
  background: rgba(8, 14, 28, 0.86);
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
}

.heyl-lightbox::backdrop {
  background: transparent;
}

.heyl-lightbox figure {
  display: grid;
  gap: 0.75rem;
  width: min(920px, 100%);
  margin: 0;
}

.heyl-lightbox img {
  width: 100%;
  max-height: min(78vh, 720px);
  object-fit: contain;
  border-radius: 12px;
  background: #111;
}

.heyl-lightbox figcaption {
  color: #fff;
  font-size: 0.95rem;
  text-align: center;
}

.heyl-lightbox-close {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #0d1b3e;
  min-height: 2.5rem;
  padding: 0 0.95rem;
  font-weight: 700;
}

div[aria-labelledby="consent-heading"] {
  display: none;
}

.heyl-ck {
  position: fixed;
  z-index: 75;
  left: 0.85rem;
  bottom: 5.1rem;
}

.heyl-ck-footer {
  border: 0;
  background: transparent;
  padding: 0;
  color: rgb(255 255 255 / 0.7);
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.25rem;
  cursor: pointer;
}

.heyl-ck-footer:hover {
  color: #fff;
}

.heyl-ck {
  right: 0.85rem;
  width: auto;
  max-width: 24.5rem;
}

.heyl-ck-card {
  border: 1px solid rgba(13, 27, 62, 0.08);
  border-radius: 22px;
  background: #fff;
  color: #0d1b3e;
  box-shadow:
    0 18px 50px rgba(13, 27, 62, 0.16),
    0 1px 0 rgba(255, 255, 255, 0.7) inset;
  padding: 1.05rem 1.05rem 0.9rem;
  max-height: min(34rem, calc(100svh - 6.5rem));
  overflow: auto;
}

.heyl-ck-kicker {
  margin: 0;
  color: #ef5a00;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.heyl-ck-card h2 {
  margin: 0.3rem 0 0;
  font-size: 1.2rem;
  font-weight: 680;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.heyl-ck-card p {
  margin: 0.45rem 0 0;
  color: #4d5d74;
  font-size: 13.5px;
  line-height: 1.5;
}

.heyl-ck-actions {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.9rem;
}

.heyl-ck-actions button {
  min-height: 2.75rem;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 680;
  cursor: pointer;
}

.heyl-ck-accept,
.heyl-ck-save {
  border: 0;
  background: linear-gradient(180deg, #ff7a22 0%, #ef5a00 100%);
  color: #fff;
  box-shadow: 0 8px 18px rgba(239, 90, 0, 0.28);
}

.heyl-ck-necessary {
  border: 1px solid rgba(13, 27, 62, 0.16);
  background: #fff;
  color: #0d1b3e;
}

.heyl-ck-settings-btn,
.heyl-ck-back {
  border: 0;
  background: transparent;
  color: #0d1b3e;
  min-height: 2.2rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.heyl-ck-privacy {
  margin: 0.35rem 0 0;
  text-align: center;
}

.heyl-ck-privacy a {
  color: #5d6d84;
  font-size: 12.5px;
  text-underline-offset: 3px;
}

.heyl-ck-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(13, 27, 62, 0.08);
}

.heyl-ck-row strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
}

.heyl-ck-row p {
  margin: 0.15rem 0 0;
  font-size: 12.5px;
}

.heyl-ck-switch {
  position: relative;
  flex: 0 0 auto;
  width: 2.75rem;
  height: 1.6rem;
  border: 0;
  border-radius: 999px;
  background: #d5dbe3;
  cursor: pointer;
}

.heyl-ck-switch::after {
  content: "";
  position: absolute;
  top: 0.16rem;
  left: 0.16rem;
  width: 1.28rem;
  height: 1.28rem;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(13, 27, 62, 0.25);
  transition: transform 160ms ease;
}

.heyl-ck-switch[aria-checked="true"] {
  background: linear-gradient(180deg, #ff7a22, #ef5a00);
}

.heyl-ck-switch[aria-checked="true"]::after {
  transform: translateX(1.12rem);
}

.heyl-ck-switch:disabled {
  cursor: default;
  opacity: 0.85;
}

body.heyl-nav-open .heyl-ck {
  visibility: hidden;
}

@media (min-width: 1024px) {
  .heyl-ck {
    left: 1.4rem;
    bottom: 1.4rem;
  }

  .heyl-ck {
    right: auto;
    width: 26rem;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .heyl-ck-card {
    animation: heyl-ck-in 220ms ease-out;
  }
}

@keyframes heyl-ck-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.heyl-faq-open {
  grid-template-rows: 1fr;
  opacity: 1;
}

[role="menu"].is-open {
  pointer-events: auto;
  translate: 0 0;
  opacity: 1;
}

.heyl-form-status {
  margin: 0.75rem 0 0;
  font-size: 14px;
  line-height: 1.45;
}

.heyl-form-status.is-ok {
  color: #0d1b3e;
}

.heyl-form-status.is-error {
  color: #9a3412;
}

.heyl-form-photo {
  margin: 0.85rem 0 0;
  color: #5b6b82;
  font-size: 13px;
  line-height: 1.45;
}

.heyl-form-photo a {
  color: #0d1b3e;
  font-weight: 650;
  text-underline-offset: 3px;
}

select.heyl-field {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #0d1b3e 50%),
    linear-gradient(135deg, #0d1b3e 50%, transparent 50%);
  background-position:
    calc(100% - 1.15rem) 55%,
    calc(100% - 0.75rem) 55%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}
