/* Gedeelde stijlen voor alle pagina's.
   Astro: src/styles/global.css (importeren in de Layout). Secties komen overeen met de toekomstige componenten. */

/* ==========================================================================
   Basis: variabelen, reset en typografie
   ========================================================================== */
:root {
  --accent: #893b41;
  --accent-dark: #702c32;
  --base: #f1edee;
  --paper: #fbfaf8;
  --ink: #302927;
  --muted: #6d6360;
  --line: #d8cece;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "DM Sans", Arial, sans-serif;
  --hero-bottom-gradient: linear-gradient(
    0deg,
    #f1edee 0%,
    #f1edeef5 4%,
    #f1edeed4 9%,
    #f1edee99 15%,
    #f1edee52 22%,
    #f1edee1a 30%,
    #f1edee00 40%
  );
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  background: var(--base);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
}
body.menu-open {
  overflow: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
a,
button {
  touch-action: manipulation;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid #be7d50;
  outline-offset: 5px;
}
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
button {
  cursor: pointer;
}
img {
  display: block;
  max-width: 100%;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h2 {
  font: 400 clamp(2.4rem, 4.5vw, 4.1rem)/1.12 var(--serif);
  letter-spacing: -0.035em;
}
h3 {
  font-weight: 500;
  line-height: 1.3;
}
p {
  color: var(--muted);
}
input,
select,
textarea {
  display: block;
  width: 100%;
  border: 1px solid #d8ceca;
  background: #fff;
  padding: 11px 12px;
  margin-top: 6px;
  color: var(--ink);
  border-radius: 1px;
  font-size: 0.875rem;
  min-height: 45px;
}
textarea {
  resize: vertical;
}
input::placeholder,
textarea::placeholder {
  color: #817572;
}
.project-grid:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 6px;
}
@media (max-width: 700px) {
  h2 {
    font-size: 2.6rem;
  }
  h2:where(:not(.eyebrow):not(.hero-heading)) {
    font-size: 2.47rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
}

/* ==========================================================================
   Knoppen en links
   ========================================================================== */
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  background: var(--accent);
  color: white;
  min-height: 54px;
  padding: 15px 23px;
  border: 1px solid var(--accent);
  border-radius: 2px;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.4;
  transition:
    background 0.2s,
    transform 0.2s;
}
.button:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
}
.button span {
  font-size: 20px;
  font-weight: 400;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 600;
  border-bottom: 1px solid #b89496;
  padding-bottom: 5px;
}

/* ==========================================================================
   Header
   ========================================================================== */
.announcement {
  min-height: 38px;
  background: var(--accent);
  color: white;
  text-align: center;
  padding: 8px 20px;
  font-size: 0.75rem;
  letter-spacing: 0.015em;
}
.announcement a {
  margin-left: 8px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.header {
  position: sticky;
  top: 0;
  z-index: 30;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  padding: 0 4.5%;
  margin-bottom: -100px;
  color: white;
  background: linear-gradient(#211d1c73, transparent);
  transition:
    transform 0.25s ease,
    background 0.25s,
    height 0.25s;
}
.brand {
  flex-shrink: 0;
}
.brand img {
  width: 150px;
  height: 27px;
}
.dark-logo {
  display: none;
}
.desktop-nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
}
.desktop-nav a,
.desktop-nav .nav-menu-button {
  font-size: 0.875rem;
}
.desktop-nav .nav-menu-button {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font-family: inherit;
  line-height: inherit;
  cursor: pointer;
}
.desktop-nav a:hover,
.desktop-nav .nav-menu-button:hover {
  box-shadow: 0 1px currentColor;
}
.header-cta {
  margin-left: 18px;
  min-height: 48px;
  padding: 12px 18px;
}
.header.scrolled {
  height: 76px;
  background: rgba(251, 250, 248, 0.98);
  color: var(--ink);
  box-shadow: 0 1px 0 #30292715;
}
.scrolled .light-logo {
  display: none;
}
.scrolled .dark-logo {
  display: block;
}
.menu-toggle {
  display: none;
  background: transparent;
  color: inherit;
  border: 0;
  width: 48px;
  height: 48px;
  padding: 12px;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 1px;
  background: currentColor;
  margin: 7px 0;
}
.header.header-hidden {
  transform: translateY(-110%);
  pointer-events: none;
}
.header:focus-within {
  transform: translateY(0);
  pointer-events: auto;
}
@media (max-width: 1150px) {
  .desktop-nav {
    gap: 18px;
  }
  .header {
    gap: 15px;
  }
  .header-cta {
    margin-left: 0;
    font-size: 0.75rem;
    padding: 12px;
  }
  .brand img {
    width: 135px;
    height: auto;
  }
}
@media (max-width: 900px) {
  .desktop-nav,
  .header-cta {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .header {
    height: 80px;
    margin-bottom: -80px;
    padding: 0 5%;
  }
  .header.scrolled {
    height: 68px;
  }
}
@media (max-width: 700px) {
  .announcement {
    font-size: 0.6875rem;
    padding: 8px 20px;
    line-height: 1.65;
    min-height: 50px;
  }
  .announcement a {
    white-space: nowrap;
    margin-left: 0;
  }
  .header {
    height: 75px;
    margin-bottom: -75px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .header {
    transition: none;
  }
}

/* ==========================================================================
   Mobiel menu
   ========================================================================== */
dialog {
  border: 0;
  padding: 28px;
  background: var(--paper);
  color: var(--ink);
  margin: 0 0 0 auto;
  width: min(430px, 100%);
  height: 100dvh;
  max-height: 100dvh;
  max-width: 100%;
  position: fixed;
  inset: 0 0 0 auto;
}
dialog[open] {
  display: flex;
  flex-direction: column;
  animation: slide-in 0.25s ease-out;
}
dialog::backdrop {
  background: #1c17177a;
}
.menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.close-menu {
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  background: transparent;
  font-size: 30px;
}
.menu-top img {
  width: 150px;
  height: 27px;
}
dialog nav {
  display: flex;
  flex-direction: column;
  margin: 45px 0 30px;
}
dialog nav a {
  font: 400 1.8rem var(--serif);
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.menu-bottom {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.menu-bottom .button {
  margin-bottom: 10px;
}
@keyframes slide-in {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero-heading {
  font: 400 clamp(2.7rem, 4.35vw, 4.65rem)/1.1 var(--serif);
  letter-spacing: -0.035em;
  color: white;
}
.hero-heading em {
  font-weight: 400;
}
/* H1 altijd op 2 regels: tweede regel breekt niet, lettergrootte schaalt mee met de schermbreedte */
.hero-heading .hero-line {
  white-space: nowrap;
}
.hero-intro {
  color: #f0eae7;
  max-width: 440px;
  line-height: 1.75;
  font-size: 0.9375rem;
  margin: 25px 0 28px;
}
.hero-actions {
  display: flex;
  gap: 12px;
}
.outline {
  border-color: #ffffff87;
  background: #201b1829;
}
.outline:hover {
  background: #ffffff20;
}
@media (max-width: 1150px) {
  .hero-heading {
    font-size: clamp(2.5rem, 5vw, 3.7rem);
  }
  .hero-actions {
    gap: 9px;
  }
  .hero-actions .button {
    padding: 14px 17px;
    font-size: 0.8125rem;
  }
}
@media (max-width: 900px) {
  .hero-heading {
    font-size: min(5.5vw, 3.2rem);
  }
  .hero-intro {
    max-width: 350px;
  }
  .hero-actions {
    flex-wrap: wrap;
    max-width: 340px;
  }
}
@media (max-width: 700px) {
  .hero-heading {
    line-height: 1.08;
    color: var(--ink);
    font-size: min(7.4vw, 3.2rem);
  }
  .hero-heading br:first-child {
    display: none;
  }
  .hero-intro {
    font-size: 0.875rem;
    max-width: 440px;
    margin: 23px 0;
    color: var(--muted);
  }
  .hero-actions {
    max-width: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .hero-actions .button {
    font-size: 0.75rem;
    padding: 13px 10px;
    gap: 9px;
    min-height: 54px;
  }
}
@media (max-width: 370px) {
  .hero-actions {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Secties en koppen
   ========================================================================== */
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  font-weight: 650;
  line-height: 1.6;
  color: var(--accent);
  margin-bottom: 20px;
}
.section {
  padding: 100px 6.8%;
}
.section-head {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  align-items: flex-end;
  margin-bottom: 45px;
}
.section-head > p {
  max-width: 390px;
  font-size: 0.9375rem;
  line-height: 1.8;
  padding-bottom: 5px;
}
@media (min-width: 1600px) {
  .section {
    padding-left: max(6.8%, calc((100vw - 1400px) / 2));
    padding-right: max(6.8%, calc((100vw - 1400px) / 2));
  }
}
@media (max-width: 1150px) {
  .section {
    padding: 80px 5%;
  }
}
@media (max-width: 900px) {
  .section-head {
    gap: 30px;
  }
  .section-head > p {
    max-width: 300px;
  }
}
@media (max-width: 700px) {
  .section {
    padding: 62px 6%;
  }
  .section-head {
    display: block;
    margin-bottom: 30px;
  }
  .section-head > p {
    margin-top: 22px;
    max-width: 480px;
    font-size: 0.875rem;
  }
  .eyebrow {
    font-size: 0.6875rem;
    margin-bottom: 15px;
  }
}

/* ==========================================================================
   Realisaties (projectgalerij)
   ========================================================================== */
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  row-gap: 38px;
}
.project-image {
  position: relative;
  overflow: hidden;
  background: #e0d8d4;
  aspect-ratio: 0.87;
}
.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s;
}
.project:hover img {
  transform: scale(1.025);
}
.location {
  position: absolute;
  left: 18px;
  top: 18px;
  background: var(--paper);
  padding: 5px 13px;
  border-radius: 2px;
  font-size: 0.75rem;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.project-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0 0;
}
.project-caption p {
  font-size: 0.75rem;
  margin-bottom: 3px;
}
.project-caption h3 {
  font-family: var(--serif);
  font-size: 1.6rem;
}
.project-number {
  color: var(--muted);
  font-size: 0.75rem;
}
.location svg {
  flex-shrink: 0;
  color: var(--accent);
}
.project-link {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 10px 14px;
  background: var(--paper);
  color: var(--ink);
  font-size: 0.75rem;
  line-height: 1.5;
  border-radius: 2px;
  cursor: pointer;
}
.project-link > span[aria-hidden] {
  font-size: 1rem;
  color: var(--accent);
}
.project-invitation .project-image {
  background: var(--accent);
  color: var(--paper);
  display: flex;
  align-items: center;
  padding: 32px 30px 82px;
}
.invitation-copy .eyebrow {
  color: #efced1;
  font-size: 0.625rem;
  margin-bottom: 22px;
}
.invitation-copy > p:last-child {
  color: #f3e8e9;
  font-size: 0.875rem;
  line-height: 1.65;
  margin-top: 24px;
  max-width: 245px;
}
.project-invitation .project-link:hover {
  background: #e9dbdc;
}
.gallery-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin: -15px 0 24px;
}
.gallery-controls > span {
  margin-right: auto;
  font-size: 0.75rem;
  color: var(--muted);
}
.gallery-controls button {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--accent);
  font-size: 21px;
}
.gallery-controls button:hover:enabled {
  background: var(--accent);
  color: white;
}
.gallery-controls button:disabled {
  opacity: 0.35;
  cursor: default;
}
.projects .project-grid {
  display: flex;
  gap: 25px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: #b99497 transparent;
  padding-bottom: 18px;
  cursor: grab;
}
.projects .project-grid .project {
  flex: 0 0 calc((100% - 50px) / 3);
  min-width: 0;
  scroll-snap-align: start;
}
.projects .project-grid.dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  user-select: none;
}
.projects .project-grid img {
  user-select: none;
  -webkit-user-drag: none;
}
@media (max-width: 1150px) and (min-width: 701px) {
  .project-invitation .project-image {
    padding: 20px 20px 65px;
  }
  .invitation-copy > p:last-child {
    display: none;
  }
  .invitation-copy .eyebrow {
    margin-bottom: 12px;
  }
}
@media (max-width: 900px) {
  .project-grid {
    gap: 15px;
  }
}
@media (max-width: 700px) {
  .project-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .project-image {
    aspect-ratio: 1.02;
  }
  .project:nth-child(2) .project-image {
    aspect-ratio: 1.16;
  }
  .project:nth-child(3) .project-image {
    aspect-ratio: 1.16;
  }
  .project-caption {
    padding-top: 14px;
  }
  .project-invitation .project-image {
    padding: 22px 24px 68px;
  }
  .invitation-copy .eyebrow {
    margin-bottom: 16px;
  }
  .invitation-copy > p:last-child {
    font-size: 0.8125rem;
    margin-top: 18px;
  }
  .projects .project-grid {
    scroll-padding-inline: 6vw;
    margin-inline: -6.8182%;
    padding: 0 6vw 18px;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
  }
  .projects .project {
    flex: 0 0 80vw;
    min-width: 0;
    scroll-snap-align: start;
  }
  .projects .project .project-image {
    aspect-ratio: 0.95;
  }
  .projects .project-caption {
    padding-top: 15px;
  }
  .projects .project-link {
    right: 13px;
    bottom: 13px;
  }
  .projects .project-grid .project {
    flex-basis: 80vw;
  }
  .gallery-controls {
    margin: -5px 0 22px;
    gap: 8px;
  }
  .gallery-controls > span {
    font-size: 0.6875rem;
  }
  .project-caption h3 {
    font-size: 1.425rem;
  }
}
@media (max-width: 380px) {
  .invitation-copy > p:last-child {
    display: none;
  }
}

/* ==========================================================================
   Waarom REVEN en prijsvergelijking
   ========================================================================== */
.quote-bar {
  position: fixed;
  z-index: 25;
  bottom: 18px;
  left: 50%;
  width: calc(100% - 48px);
  max-width: 980px;
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 18px 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 6px 35px #30292724;
  border-radius: 4px;
  transform: translate(-50%, calc(100% + 40px));
  visibility: hidden;
  transition:
    transform 0.3s ease,
    visibility 0.3s;
  pointer-events: none;
}
.quote-bar.is-visible {
  transform: translate(-50%, 0);
  visibility: visible;
  pointer-events: auto;
}
.quote-bar > div {
  flex: 1;
}
.quote-bar strong {
  font-size: 1rem;
  font-weight: 500;
}
.quote-bar p {
  font-size: 0.875rem;
}
.quote-bar .button {
  white-space: nowrap;
}
.quote-bar-close {
  flex-shrink: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 25px;
  width: 44px;
  height: 44px;
}
@media (max-width: 700px) {
  .quote-bar {
    bottom: 0;
    left: 0;
    width: 100%;
    max-width: none;
    transform: translateY(110%);
    border-radius: 0;
    padding: 14px 48px calc(14px + env(safe-area-inset-bottom));
    gap: 10px;
    flex-direction: column;
    align-items: stretch;
  }
  .quote-bar.is-visible {
    transform: translateY(0);
  }
  .quote-bar > div {
    text-align: center;
  }
  .quote-bar strong {
    font-size: 0.875rem;
  }
  .quote-bar p {
    font-size: 0.75rem;
    line-height: 1.45;
    margin-top: 3px;
  }
  .quote-bar .button {
    min-height: 44px;
    padding: 10px 16px;
    font-size: 0.8125rem;
  }
  .quote-bar-close {
    position: absolute;
    right: 3px;
    top: 3px;
  }
}

/* ==========================================================================
   Werkwijze
   ========================================================================== */
.process {
  background: #e8e0e1;
}
/* Contrast >= 4.5:1 on #e8e0e1 */
.process .section-head > p,
.process .steps p {
  color: #5f5653;
}
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 34px;
  margin-top: 55px;
}
.steps article {
  border-top: 1px solid #bba4a6;
  padding-top: 22px;
}
.steps article > span {
  font: italic 2.1rem var(--serif);
  color: var(--accent);
}
.steps h3 {
  font-size: 1rem;
  margin: 24px 0 12px;
}
.steps p {
  font-size: 0.875rem;
}
@media (max-width: 900px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 35px;
  }
}
@media (max-width: 700px) {
  .steps {
    gap: 30px 22px;
    margin-top: 35px;
  }
  .steps h3 {
    margin-top: 20px;
    font-size: 0.9375rem;
  }
  .steps p {
    font-size: 0.8125rem;
  }
}

/* ==========================================================================
   Veelgestelde vragen
   ========================================================================== */
summary {
  -webkit-tap-highlight-color: transparent;
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  padding: 24px 0;
  font-size: 0.9375rem;
  font-weight: 500;
}
.faq {
  display: grid;
  grid-template-columns: 0.85fr 1.2fr;
  gap: 12%;
  background: var(--paper);
}
.faq > div > p:not(.eyebrow) {
  font-size: 0.9375rem;
  margin: 25px 0;
}
.faq-list details {
  border-bottom: 1px solid var(--line);
}
.faq-list details:first-child {
  border-top: 1px solid var(--line);
}
summary::-webkit-details-marker {
  display: none;
}
summary:after {
  content: "+";
  color: var(--accent);
  font-size: 23px;
  font-weight: 400;
}
details[open] summary:after {
  content: "−";
}
.faq-list details p {
  padding: 0 30px 24px 0;
  font-size: 0.875rem;
}
@media (max-width: 900px) {
  .faq {
    gap: 45px;
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 700px) {
  .faq {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .faq > div > p:not(.eyebrow) {
    margin: 22px 0;
  }
  .faq-list summary {
    font-size: 0.875rem;
    padding: 22px 0;
  }
}

/* ==========================================================================
   Offerteformulier en contact
   ========================================================================== */
.contact {
  background: #302827;
  padding: 90px 6.8%;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 9%;
  color: var(--paper);
}
.contact-intro {
  padding-top: 22px;
}
.contact .eyebrow {
  color: #dab8bb;
}
.contact h2 {
  font-size: clamp(3rem, 5.3vw, 5rem);
}
.contact-intro > p:not(.eyebrow) {
  color: #d6ccca;
  margin: 27px 0 30px;
  font-size: 0.9375rem;
}
.contact-direct {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 50px;
  gap: 8px;
}
.contact-direct span {
  font-size: 0.75rem;
  color: #c5b6b3;
  margin-bottom: 9px;
}
.contact-direct a {
  font-size: 1.25rem;
}
.contact-form {
  padding: 35px;
  background: var(--paper);
  color: var(--ink);
  border-radius: 3px;
  scroll-margin-top: 100px;
}
.contact-form h3 {
  font: 400 1.7rem var(--serif);
  margin-bottom: 16px;
}
.fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 18px;
}
.contact-form label {
  display: block;
  font-size: 0.75rem;
  margin-bottom: 17px;
  font-weight: 500;
}
.contact-form label > span {
  color: var(--accent);
}
.contact-form .consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 20px;
  font-weight: 400;
  line-height: 1.5;
}
.consent input {
  width: 17px;
  height: 17px;
  min-height: 17px;
  margin: 2px 0 0;
  accent-color: var(--accent);
  flex-shrink: 0;
}
.contact-form .consent > span {
  color: var(--muted);
}
.submit {
  width: 100%;
  font-size: 0.8125rem;
}
.submit:disabled {
  background: #e4dddd;
  border-color: #e4dddd;
  color: #72605f;
  cursor: not-allowed;
  transform: none;
}
@media (min-width: 1600px) {
  .contact {
    padding-left: max(6.8%, calc((100vw - 1400px) / 2));
    padding-right: max(6.8%, calc((100vw - 1400px) / 2));
  }
}
@media (max-width: 1150px) {
  .contact {
    padding: 80px 5%;
  }
}
@media (max-width: 900px) {
  .contact {
    gap: 35px;
    grid-template-columns: 1fr 1.1fr;
  }
  .contact-form {
    padding: 25px;
  }
  .fields {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 700px) {
  .contact {
    padding: 55px 6%;
    grid-template-columns: 1fr;
    gap: 38px;
  }
  .contact-intro {
    padding-top: 0;
  }
  .contact-direct {
    margin-top: 32px;
  }
  .contact-form {
    padding: 25px 20px;
  }
  .fields {
    grid-template-columns: 1fr 1fr;
    gap: 0 12px;
  }
  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    font-size: 16px;
  }
  .contact h2 {
    font-size: 3.61rem;
  }
  .contact-form h3 {
    font-size: 1.52rem;
  }
}
@media (max-width: 370px) {
  .fields {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
  padding: 55px 6.8% 25px;
  background: var(--paper);
}
.footer-main {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr 1fr;
  gap: 35px;
  align-items: start;
  font-size: 0.8125rem;
  padding-bottom: 45px;
}
.footer-main p {
  line-height: 1.8;
}
.footer-main nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 20px;
}
.footer-main > div a {
  display: block;
  margin-bottom: 8px;
}
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 0.6875rem;
  color: var(--muted);
}
@media (min-width: 1600px) {
  footer {
    padding-left: max(6.8%, calc((100vw - 1400px) / 2));
    padding-right: max(6.8%, calc((100vw - 1400px) / 2));
  }
}
@media (max-width: 1150px) {
  .footer-main {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 700px) {
  footer {
    padding: 42px 6% 25px;
  }
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 30px 20px;
  }
  .footer-main nav {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-wrap: wrap;
    font-size: 0.6875rem;
  }
  .footer-bottom > span:nth-child(2) {
    order: 3;
    width: 100%;
  }
}

/* ==========================================================================
   Utilities
   ========================================================================== */
.skip {
  position: fixed;
  left: 20px;
  top: -100px;
  z-index: 100;
  background: white;
  padding: 12px;
}
.skip:focus {
  top: 15px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* The announcement and navbar reveal together. */
.announcement{position:sticky;top:0;z-index:31;transition:transform .25s;}
.announcement.announcement-hidden{transform:translateY(-110%);pointer-events:none;}
body:has(.announcement) .header{top:var(--announcement-height,38px);}
body:has(.announcement) .header.header-hidden{transform:translateY(calc(-110% - var(--announcement-height,38px)));}
html{scroll-padding-top:calc(100px + var(--announcement-height,0px));}
@media(prefers-reduced-motion:reduce){.announcement{transition:none;}}

/* Company details and Google reviews in the shared navigation. */
.header-brand{display:flex;align-items:center;gap:22px;flex-shrink:0;}
.header-rating{display:flex;flex-direction:column;gap:2px;white-space:nowrap;font-size:.6875rem;line-height:1.5;}
.header-rating-stars{color:var(--accent);font-size:.875rem;letter-spacing:2px;}
.header-rating:hover{text-decoration:underline;text-underline-offset:3px;}
.footer-bottom{flex-wrap:wrap;gap:16px 24px;}
.footer-vat{font-size:.75rem;}
@media(max-width:1250px){.header-rating{display:none;}}

/* Shared REVEN footer: clear company information and a direct quote CTA. */
.site-footer{padding:64px max(6.8vw,calc((100vw - 1320px)/2)) 24px;background:var(--ink);color:var(--paper);}
.footer-invite{display:flex;align-items:center;justify-content:space-between;gap:40px;padding-bottom:48px;border-bottom:1px solid #ffffff24;}
.footer-kicker{font-size:.6875rem;text-transform:uppercase;letter-spacing:.15em;color:#dab8bb;margin-bottom:16px;}
.footer-invite h2{font:400 clamp(2.5rem,4vw,3.75rem)/1.1 var(--serif);letter-spacing:-.03em;margin:0;color:var(--paper);}
.footer-invite .button{flex-shrink:0;min-height:54px;}
.footer-columns{display:grid;grid-template-columns:1.6fr 1fr .9fr 1.2fr;gap:48px;padding:48px 0;}
.footer-about img{width:150px;height:auto;margin-bottom:24px;}
.footer-about p{max-width:38ch;font-size:.875rem;line-height:1.8;color:#d8cecb;margin-bottom:24px;}
.footer-review-link{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:.75rem;}
.footer-review-link>span:first-child{color:#e7babd;letter-spacing:2px;}
.footer-social{display:flex;gap:10px;margin-top:18px;}
.footer-social a{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border:1px solid #ffffff38;border-radius:50%;color:#d8cecb;transition:color .2s,border-color .2s,background .2s;}
.footer-social a:hover{color:#fff;border-color:#e7babd;background:#ffffff10;}
.footer-columns h3{font:600 .6875rem/1.5 var(--sans);text-transform:uppercase;letter-spacing:.13em;color:#dab8bb;margin:0 0 24px;}
.footer-link-column{display:flex;flex-direction:column;align-items:flex-start;gap:14px;}
.footer-link-column h3{margin-bottom:10px;}
.footer-link-column a,.footer-contact>a,.footer-contact address{font-size:.8125rem;line-height:1.7;}
.footer-contact>a{display:block;margin-bottom:10px;}
.footer-contact address{font-style:normal;color:#d8cecb;margin:22px 0 16px;}
.footer-contact p{font-size:.75rem;color:#d8cecb;line-height:1.8;}
.site-footer a:not(.button):hover{text-decoration:underline;text-underline-offset:4px;}
.footer-legal{display:flex;align-items:center;gap:24px;flex-wrap:wrap;border-top:1px solid #ffffff24;padding-top:24px;font-size:.6875rem;color:#d8cecb;}
.footer-legal>a{margin-left:auto;}
@media(max-width:1100px){.footer-columns{grid-template-columns:1.3fr 1fr;gap:40px;}.footer-about{grid-row:span 2;}}
@media(max-width:700px){.site-footer{padding:48px 6vw 24px;}.footer-invite{display:block;padding-bottom:32px;}.footer-invite h2{font-size:2.6rem;}.footer-invite .button{margin-top:28px;width:100%;}.footer-columns{grid-template-columns:1fr 1fr;gap:32px 24px;padding:32px 0;}.footer-about{grid-column:1/-1;grid-row:auto;}.footer-about p{max-width:48ch;}.footer-contact{grid-column:1/-1;}.footer-columns h3{margin-bottom:18px;}.footer-link-column h3{margin-bottom:4px;}.footer-legal{gap:12px 20px;}.footer-legal>a{margin-left:0;width:100%;padding-top:8px;}}

.footer-map{display:block;width:100%;height:160px;border:0;margin-top:20px;background:var(--paper);}@media(max-width:700px){.footer-map{height:180px;}}

/* Centered single-line top bar and labelled mobile menu. */
.announcement{display:flex;align-items:center;justify-content:center;min-height:44px;padding:10px 20px;line-height:1.5;}
.announcement a{display:block;margin:0;text-align:center;}
.menu-toggle .menu-label{width:auto;height:auto;background:transparent;margin:0;font-size:.6875rem;font-weight:600;letter-spacing:.1em;line-height:1;}
.menu-toggle .menu-lines{width:24px;height:auto;background:transparent;margin:0;}
.menu-lines i{display:block;height:1px;width:24px;background:currentColor;margin:7px 0;}
@media(max-width:900px){.menu-toggle{display:flex;align-items:center;justify-content:center;gap:10px;width:auto;min-width:92px;height:48px;padding:8px;}}
@media(max-width:700px){.announcement{min-height:44px;padding:10px 20px;line-height:1.5;}.announcement a{margin:0;}}

.footer-legal>a.footer-policy{margin-left:0;}@media(max-width:700px){.footer-legal>a.footer-policy{width:auto;padding-top:0;}}

.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;}

.breadcrumbs{font:500 .8125rem/1.5 var(--sans);color:var(--muted);margin:0 0 16px;}.breadcrumbs ol{list-style:none;display:flex;flex-wrap:wrap;gap:2px 0;margin:0;padding:0;}.breadcrumbs li{display:inline-flex;align-items:center;}.breadcrumbs li+li::before{content:"/";margin:0 8px;opacity:.55;}.breadcrumbs a{color:var(--accent);text-decoration:none;}.breadcrumbs a:hover,.breadcrumbs a:focus-visible{text-decoration:underline;text-underline-offset:3px;}.breadcrumbs [aria-current]{color:var(--muted);}
nav.breadcrumbs li a{display:inline!important;color:var(--accent)!important;text-decoration:none!important;padding:0!important;border:0!important;min-height:0!important;font:inherit!important;}nav.breadcrumbs li a:hover,nav.breadcrumbs li a:focus-visible{text-decoration:underline!important;}nav.breadcrumbs li [aria-current]{color:var(--muted)!important;font:inherit!important;}
nav.breadcrumbs ol{padding:0!important;margin:0!important;list-style:none!important;}nav.breadcrumbs li{margin:0!important;padding:0!important;}nav.breadcrumbs li::marker{content:none;}

/* Arrow icons: inline SVG instead of Unicode arrows (iOS rendered ↗ as an emoji). */
.i-arrow{display:inline-block;width:.9em;height:.9em;vertical-align:-.1em;flex:none;overflow:visible;}
