/* ==========================================================================
   Ecohardwood - new homepage design (Figma "E Desktop / Home" + "Mobile / Home")
   Homepage + site footer (footer_v4.php, all pages). Everything is scoped under .nd
   and prefixed nd- so it cannot affect other pages or the old style.css.
   ========================================================================== */
@font-face { font-family: "ND Museo Sans"; font-weight: 100; font-display: swap;
  src: url("/media/fonts/MuseoSans-100.woff2") format("woff2"), url("/media/fonts/MuseoSans-100.woff") format("woff"); }
@font-face { font-family: "ND Museo Sans"; font-weight: 300; font-display: swap;
  src: url("/media/fonts/MuseoSans-300.woff2") format("woff2"), url("/media/fonts/MuseoSans-300.woff") format("woff"); }
@font-face { font-family: "ND Museo Sans"; font-weight: 500; font-display: swap;
  src: url("/media/fonts/MuseoSans-500.woff2") format("woff2"), url("/media/fonts/MuseoSans-500.woff") format("woff"); }

.nd {
  --primary-text: #202020;
  --secondary-text: #4d4d4d;
  --dark-grey: #4d4d4d;
  --light-grey: #c7c7c5;
  --green: #638a57;
  --beige: #e9e0d9;
  --white: #fff;
  --font: "ND Museo Sans", "Museo Sans 300", system-ui, sans-serif;
  --w-light: 300;
  --w-medium: 500;
  --page-max: 1440px;
  --gutter: 64px;
  color: var(--primary-text);
  font-family: var(--font);
  font-weight: var(--w-light);
  font-size: 16px;
  line-height: 1.5;
  text-align: left;
  -webkit-font-smoothing: antialiased;
}
.nd *, .nd *::before, .nd *::after { box-sizing: border-box; }
.nd-home { max-width: var(--page-max); margin: 0 auto; }
.nd img { display: block; max-width: 100%; height: auto; border: 0; }
.nd a { color: inherit; text-decoration: none; }
.nd h1, .nd h2, .nd h3, .nd p, .nd address, .nd ul { margin: 0; padding: 0; font-style: normal; font-family: var(--font); letter-spacing: normal; text-transform: none; }
.nd button { font-family: var(--font); }
.nd .nd-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Typography */
.nd .nd-h2 { font-size: 48px; line-height: 56px; font-weight: var(--w-light); color: var(--primary-text); }
.nd .nd-h3 { font-size: 20px; line-height: 28px; font-weight: var(--w-medium); color: var(--primary-text); }
.nd .nd-lead { font-size: 20px; line-height: 28px; font-weight: var(--w-light); color: var(--secondary-text); }
.nd .nd-body { font-size: 16px; line-height: 26px; font-weight: var(--w-light); color: var(--secondary-text); }
.nd .nd-caption { font-size: 12px; line-height: 16px; font-weight: var(--w-light); color: var(--secondary-text); }

.nd .nd-text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  line-height: 28px;
  font-weight: var(--w-medium);
  color: var(--primary-text);
}
.nd .nd-text-link img { transition: transform .2s ease; }
.nd .nd-text-link:hover img { transform: translateX(4px); }

/* Buttons */
.nd .nd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 20px;
  font-size: 14px;
  line-height: 26px;
  font-weight: var(--w-medium);
  white-space: nowrap;
  transition: background-color .2s ease;
}
.nd .nd-btn--green { background: var(--green); color: var(--white); }
.nd .nd-btn--green:hover { background: #557a4a; }
.nd .nd-btn--lg { font-size: 20px; line-height: 28px; }
/* Light outline button on photos (hero) */
.nd .nd-btn--outline-light { border: 1px solid var(--light-grey); color: var(--white); background: transparent; transition: background-color .2s ease, color .2s ease; }
.nd .nd-btn--outline-light:hover { background: var(--white); border-color: var(--white); color: var(--primary-text); }
/* Dark outline text-link button ("View all articles") */
.nd .nd-btn-outline {
  display: inline-flex; align-items: center; gap: 12px; padding: 12px 16px;
  border: 1px solid var(--dark-grey); color: var(--dark-grey);
  font-size: 18px; line-height: 28px; font-weight: var(--w-medium); white-space: nowrap;
  transition: background-color .2s ease;
}
.nd .nd-btn-outline:hover { background: #f6f4f2; }
.nd .nd-btn-outline img { width: 24px; height: 24px; transition: transform .2s ease; }
.nd .nd-btn-outline:hover img { transform: translateX(4px); }

/* Hero */
.nd .nd-hero { height: 720px; padding-inline: var(--gutter); }
.nd .nd-hero__media { position: relative; height: 100%; overflow: hidden; }
.nd .nd-hero__slides { position: absolute; inset: 0; }
.nd .nd-hero__slides::after {
  /* Extra legibility for the added demo slides; the original Figma slide stays untouched */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, .6) 0%, rgba(0, 0, 0, .3) 45%, rgba(0, 0, 0, 0) 75%);
  opacity: 0;
  transition: opacity 1s ease;
  pointer-events: none;
}
.nd .nd-hero__slides:has(.nd-hero__image--shade.is-active)::after { opacity: 1; }
.nd .nd-hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 1s ease;
}
.nd .nd-hero__image:first-child { object-position: center 16%; }
.nd .nd-hero__image.is-active { opacity: 1; }
.nd .nd-hero__content {
  position: absolute;
  left: 64px;
  top: 284px;
  width: 479px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 56px;
  color: var(--white);
}
.nd .nd-hero__text { display: flex; flex-direction: column; gap: 32px; }
.nd .nd-hero__title { width: 420px; max-width: 100%; font-size: 64px; line-height: 70px; font-weight: 100; }
.nd .nd-hero__lead { font-size: 22px; line-height: 30px; font-weight: var(--w-light); }
.nd .nd-hero__content { z-index: 1; }
.nd .nd-hero__dots {
  position: absolute;
  left: 50%;
  bottom: 29px;
  z-index: 1;
  display: flex;
  gap: 12px;
  transform: translateX(-50%);
}
.nd .nd-hero__dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 1px solid var(--white);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: background-color .3s ease, transform .2s ease;
}
.nd .nd-hero__dot:hover { transform: scale(1.2); }
.nd .nd-hero__dot.is-active { background: var(--white); }
.nd .nd-hero__dot:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  .nd .nd-hero__image, .nd .nd-hero__slides::after { transition: none; }
}

/* Generic section */
.nd .nd-section { padding-inline: var(--gutter); }
.nd .nd-section-header { display: flex; flex-direction: column; gap: 12px; }

/* Products */
.nd .nd-products {
  display: flex;
  flex-direction: column;
  gap: 56px;
  padding-top: 96px;
  padding-bottom: 80px;
}
.nd .nd-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.nd .nd-card {
  position: relative;
  aspect-ratio: 644 / 720;
  overflow: hidden;
}
.nd .nd-card__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.nd .nd-card__image--floors { object-position: 39% center; }
.nd .nd-card__image--walls { object-position: center 78%; }
.nd .nd-card:hover .nd-card__image { transform: scale(1.03); }
.nd .nd-card__frame {
  position: absolute;
  top: 24px;
  left: 24px;
  width: calc(100% - 48px);
  height: calc(100% - 48px);
  pointer-events: none;
}
.nd .nd-card__label {
  position: absolute;
  left: 48px;
  bottom: 42px;
  font-size: 20px;
  line-height: 28px;
  font-weight: var(--w-medium);
  color: var(--white);
}

/* Floating "Order Samples" box: under the sticky header, top right; x collapses it to an icon tab */
.nd .nd-samples {
  position: fixed;
  top: 133px;
  right: 0;
  z-index: 899;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 239px;
  padding: 10px 20px 10px 16px;
  background: var(--green);
  filter: drop-shadow(2px 2px 2.15px rgba(0, 0, 0, .25));
  font-size: 16px;
  line-height: 24px;
  font-weight: var(--w-light);
  color: var(--white);
  transition: background-color .2s ease;
}
.nd .nd-samples:hover { background: #557a4a; }
.nd .nd-samples__link, .nd .nd-samples__link:hover { color: var(--white); }
.nd .nd-samples__link { display: flex; align-items: center; gap: 21px; white-space: nowrap; }
.nd .nd-samples img { width: 34px; height: 34px; flex-shrink: 0; object-fit: cover; }
.nd .nd-samples__close, .nd .nd-samples__open {
  display: flex;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
}
.nd .nd-samples__close { opacity: .85; transition: opacity .2s ease; }
.nd .nd-samples__close:hover { opacity: 1; }
.nd .nd-samples__close img { width: 24px; height: 24px; }
.nd .nd-samples__open { display: none; }
.nd .nd-samples.is-collapsed { width: 65px; padding: 10px 15px; justify-content: flex-end; }
.nd .nd-samples.is-collapsed .nd-samples__link, .nd .nd-samples.is-collapsed .nd-samples__close { display: none; }
.nd .nd-samples.is-collapsed .nd-samples__open { display: flex; }

/* Key benefits */
.nd .nd-benefits {
  display: flex;
  gap: 50px;
  padding: 64px 80px;
}
.nd .nd-benefit { flex: 1 1 0; display: flex; align-items: flex-start; gap: 20px; }
.nd .nd-benefit img { width: 88px; height: 88px; object-fit: cover; flex-shrink: 0; }
.nd .nd-benefit > div { display: flex; flex-direction: column; gap: 8px; }

/* Showroom */
.nd .nd-showroom { padding: 80px var(--gutter) 36px; }
.nd .nd-showroom__inner {
  display: flex;
  align-items: flex-start;
  gap: 64px;
  padding: 68px 64px 96px;
}
.nd .nd-showroom__content {
  flex: 0 0 519px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
}
.nd .nd-showroom__heading { display: flex; flex-direction: column; gap: 16px; margin-bottom: 16px; }
.nd .nd-showroom__address { font-size: 16px; line-height: 26px; color: var(--secondary-text); }
.nd .nd-showroom__address strong { font-weight: var(--w-medium); color: var(--primary-text); line-height: 24px; }
.nd .nd-showroom__image { flex: 1 1 auto; width: 708px; height: 504px; min-width: 0; object-fit: cover; }

/* Reviews */
.nd .nd-reviews {
  display: flex;
  align-items: stretch;
  gap: 46px;
  height: 520px;
  padding: 64px;
  background: var(--beige);
}
.nd .nd-review-card {
  flex: 0 0 720px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 46px 48px 48px;
  background: var(--white);
  border: 1px solid var(--beige);
}
.nd .nd-review-card__text { display: flex; flex-direction: column; gap: 24px; }
.nd .nd-rating { display: flex; align-items: center; gap: 29px; flex-wrap: wrap; }
.nd .nd-rating__label { font-size: 30px; line-height: 56px; font-weight: var(--w-medium); }
.nd .nd-rating__stars { font-size: 20px; line-height: 56px; color: var(--green); letter-spacing: 2px; }
.nd .nd-review-card__body { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.nd .nd-read-more { font-size: 18px; line-height: 28px; font-weight: var(--w-medium); color: var(--primary-text); }
.nd .nd-review-card__arrows { display: flex; justify-content: flex-end; gap: 24px; }
.nd .nd-arrow-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  background: none;
  border: 1px solid var(--light-grey);
  cursor: pointer;
  transition: border-color .2s ease;
}
.nd .nd-arrow-btn:hover { background: var(--light-grey); }
.nd .nd-reviews__image { flex: 0 1 520px; min-width: 0; overflow: hidden; }
.nd .nd-reviews__image img { width: 100%; height: 100%; object-fit: cover; object-position: center 67%; }

/* Completed projects: photo slider */
.nd .nd-projects {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-top: 60px;
  padding-bottom: 96px;
}
.nd .nd-projects__content { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.nd .nd-projects__content .nd-h2 { max-width: 498px; }
.nd .nd-projects__content .nd-body { max-width: 500px; }
.nd .nd-projects__bar { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; width: 100%; }
.nd .nd-projects__arrows { display: flex; gap: 24px; }
.nd .nd-projects__gallery { position: relative; height: 620px; overflow: hidden; }
.nd .nd-projects__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility 0s linear .8s; }
.nd .nd-projects__slide.is-active { opacity: 1; visibility: visible; transition-delay: 0s; }
.nd .nd-projects__gallery img { width: 100%; height: 100%; object-fit: cover; }
.nd .nd-projects__dots { display: flex; justify-content: center; gap: 12px; margin-top: -2px; }
.nd .nd-projects__dot {
  width: 10px; height: 10px; padding: 0; border: 1px solid var(--dark-grey); border-radius: 50%;
  background: transparent; cursor: pointer; transition: background-color .3s ease, transform .2s ease;
}
.nd .nd-projects__dot:hover { transform: scale(1.2); }
.nd .nd-projects__dot.is-active { background: var(--dark-grey); }
@media (prefers-reduced-motion: reduce) { .nd .nd-projects__slide { transition: none; } }

/* News & Articles (latest blog posts) */
.nd .nd-news { display: flex; flex-direction: column; gap: 30px; padding-top: 96px; padding-bottom: 96px; }
.nd .nd-news__header { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nd .nd-news__all--mobile { display: none; }
.nd .nd-news__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.nd .nd-article { display: flex; flex-direction: column; gap: 24px; }
.nd .nd-article__image {
  display: block; height: 310px; overflow: hidden; background: #f1ebe4;
  /* cut top-right corner, as in the Figma cards */
  clip-path: polygon(0 0, calc(100% - 44px) 0, 100% 48px, 100% 100%, 0 100%);
}
.nd .nd-article__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.nd .nd-article:hover .nd-article__image img { transform: scale(1.03); }
.nd .nd-article__title {
  font-size: 20px; line-height: 28px; font-weight: var(--w-medium); color: var(--primary-text);
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
}
.nd .nd-article:hover .nd-article__title { color: var(--green); }

/* Footer */
.nd .nd-footer {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 48px var(--gutter);
  background: var(--dark-grey);
  border: 1px solid #000;
  color: var(--light-grey);
  font-size: 14px;
}
/* Footer background spans the full viewport; content stays aligned with the page */
.nd .nd-footer > * {
  width: 100%;
  max-width: calc(var(--page-max) - 2 * var(--gutter));
  margin-inline: auto;
}
.nd .nd-footer__main { display: flex; gap: 40px; padding-block: 48px; }
.nd .nd-footer__brand { flex: 0 0 266px; display: flex; flex-direction: column; gap: 17px; line-height: 22px; }
.nd .nd-footer__brand img { width: 109px; height: 55px; object-fit: cover; }
.nd .nd-footer__brand-top p { color: var(--white); }
.nd .nd-footer__white { color: var(--white); }
.nd footer.nd-footer .nd-footer__contact { display: inline-flex; align-items: center; gap: 12px; align-self: flex-start; font-size: 14px; line-height: 26px; font-weight: var(--w-medium); color: var(--white); }
.nd .nd-footer__contact img { width: 24px; height: 24px; transition: transform .2s ease; }
.nd .nd-footer__contact:hover img { transform: translateX(4px); }
.nd .nd-footer__col { flex: 0 0 306px; display: flex; flex-direction: column; align-items: flex-start; gap: 9px; line-height: 20px; }
.nd .nd-footer__col--services { flex: 1 1 0; gap: 12px; }
.nd .nd-footer__col a:hover,
.nd .nd-footer__brand a:hover,
.nd .nd-footer__bottom a:hover { color: var(--white); }
.nd .nd-footer__title { font-weight: var(--w-medium); line-height: 22px; color: var(--white); }

.nd .nd-footer__extra { display: flex; justify-content: space-between; align-items: flex-start; }
.nd .nd-footer__fsc { width: 152px; height: 77px; object-fit: contain; }
.nd .nd-newsletter { width: 300px; display: flex; flex-direction: column; gap: 12px; color: var(--white); }
.nd .nd-newsletter__title { font-size: 16px; line-height: 22px; font-weight: var(--w-medium); }
.nd .nd-newsletter__text { line-height: 22px; }
.nd .nd-newsletter__form {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 10px;
  border-bottom: 1px solid rgba(199, 199, 197, .4);
}
.nd .nd-newsletter__form input {
  flex: 1;
  min-width: 0;
  padding: 0;
  background: none;
  border: 0;
  outline: 0;
  color: var(--white);
  font: var(--w-medium) 12px/22px var(--font);
}
.nd .nd-newsletter__form input::placeholder { color: var(--white); opacity: 1; }
.nd .nd-newsletter__form button { padding: 0; background: none; border: 0; cursor: pointer; }
.nd .nd-socials { display: flex; gap: 12px; padding: 10px; }
.nd .nd-socials img { width: 40px; height: 40px; }

.nd .nd-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  height: 100px;
  padding: 24px 64px;
  border-top: 1px solid rgba(157, 157, 157, .52);
  line-height: 20px;
}
.nd .nd-footer__bottom a { color: var(--white); }

/* Elements that only appear at smaller sizes */



.nd .nd-footer__brand-top { display: flex; flex-direction: column; gap: 17px; }
.nd .nd-mobile-cta { display: none; }

/* ---------- Responsive ---------- */
/* Laptop / tablet: no Figma frame, interpolated between desktop and mobile */
@media (max-width: 1280px) {
  .nd { --gutter: 40px; }
  .nd .nd-showroom__inner { padding-inline: 0; }
  .nd .nd-showroom__content { flex-basis: 440px; }
  .nd .nd-review-card { flex-basis: 58%; }
  .nd .nd-footer__col { flex: 1 1 0; }
  .nd .nd-footer__brand { flex-basis: 240px; }
}

@media (max-width: 1100px) {
  
  
  
  
  
  
  
  

  .nd .nd-benefits { flex-direction: column; gap: 32px; padding: 48px var(--gutter); }

  .nd .nd-showroom__inner { flex-direction: column; gap: 40px; padding-block: 0 48px; }
  .nd .nd-showroom__content { flex-basis: auto; }
  .nd .nd-showroom__image { width: 100%; height: auto; aspect-ratio: 708 / 504; }

  .nd .nd-reviews { flex-direction: column; height: auto; padding: 40px var(--gutter); gap: 24px; }
  .nd .nd-review-card { flex-basis: auto; }
  .nd .nd-reviews__image { flex-basis: auto; height: 360px; }

  .nd .nd-news__grid { gap: 20px; }
  .nd .nd-article__image { height: 240px; }

  .nd .nd-footer__main { flex-wrap: wrap; }
  .nd .nd-footer__brand, .nd .nd-footer__col { flex: 1 1 calc(50% - 20px); }
}

/* Mobile: follows Figma frame "Mobile / Home" (393px) */
@media (max-width: 767px) {
  .nd { --gutter: 24px; }

  .nd .nd-h2 { font-size: 32px; line-height: 40px; }
  .nd .nd-lead, .nd .nd-projects .nd-body, .nd .nd-showroom .nd-lead { font-size: 16px; line-height: 24px; }

  /* Hero */
  .nd .nd-hero { height: 620px; }
  .nd .nd-hero__image:first-child { object-position: 85% center; }
  .nd .nd-hero__content { left: 24px; right: 24px; top: auto; bottom: 75px; width: auto; gap: 20px; }
  .nd .nd-hero__text { width: 100%; gap: 12px; }
  .nd .nd-hero__title { width: auto; font-size: 32px; line-height: 40px; font-weight: var(--w-light); }
  .nd .nd-hero__lead { font-size: 16px; line-height: 24px; }
  .nd .nd-hero .nd-btn--lg { font-size: 14px; line-height: 26px; }
  .nd .nd-hero__dots { bottom: 23px; }

  /* Products */
  .nd .nd-products { padding-top: 48px; padding-bottom: 40px; gap: 20px; }
  .nd .nd-products .nd-section-header .nd-body { max-width: 230px; }
  .nd .nd-cards { grid-template-columns: 1fr 1fr; gap: 12px; }
  .nd .nd-card { aspect-ratio: auto; height: 220px; }
  .nd .nd-card__frame { display: none; }
  .nd .nd-card__label { left: 16px; bottom: 7px; font-size: 16px; }

  /* Showroom */
  .nd .nd-showroom { padding: 0 0 24px; }
  .nd .nd-showroom__inner { gap: 24px; padding: 24px var(--gutter) 11px; }
  .nd .nd-showroom__content { gap: 24px; }
  .nd .nd-showroom__heading { gap: 20px; margin-bottom: 0; }
  .nd .nd-showroom__address { display: none; }
  .nd .nd-showroom__image { aspect-ratio: auto; height: 320px; object-position: left bottom; }

  /* Key benefits */
  .nd .nd-benefits { gap: 63px; padding: 48px var(--gutter) 68px; }
  .nd .nd-benefit img { width: 80px; height: 80px; }

  /* Reviews */
  .nd .nd-reviews { padding: 48px var(--gutter); }
  .nd .nd-review-card { padding: 20px 24px 30px; gap: 0; }
  .nd .nd-review-card__text { gap: 32px; }
  .nd .nd-rating { flex-direction: column; align-items: flex-start; gap: 0; }
  .nd .nd-rating__label, .nd .nd-rating__stars { margin-bottom: -13px; }
  .nd .nd-review-card__body { gap: 12px; }
  .nd .nd-review-card__quote {
    line-height: 24px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
  }
  .nd .nd-review-card__author { line-height: 24px; }
  .nd .nd-read-more { font-size: 16px; line-height: 24px; }
  .nd .nd-reviews__image { display: none; }

  /* Completed projects */
  /* arrows move under the photo, either side of the dots */
  .nd .nd-projects { position: relative; gap: 16px; padding-top: 32px; padding-bottom: 48px; }
  .nd .nd-projects__content { gap: 12px; }
  .nd .nd-projects__content .nd-body { max-width: 300px; }
  .nd .nd-projects__gallery { height: 350px; }
  .nd .nd-projects__arrows { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 48px; justify-content: space-between; pointer-events: none; }
  .nd .nd-projects__arrows .nd-arrow-btn { pointer-events: auto; }
  .nd .nd-projects__dots { height: 48px; align-items: center; margin-top: 0; }

  /* News & Articles: cards stacked, button under the cards */
  .nd .nd-news { gap: 20px; padding: 64px 20px; }
  .nd .nd-news__header .nd-news__all { display: none; }
  .nd .nd-news__all--mobile { display: inline-flex; align-self: flex-start; margin-top: 12px; }
  .nd .nd-news__grid { grid-template-columns: 1fr; gap: 32px; }
  .nd .nd-article { gap: 16px; }

  /* Floating samples box is replaced by the CTA bar */
  .nd .nd-samples { display: none; }
  .nd .nd-mobile-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 20;
    display: flex;
    gap: 1px;
    background: var(--white);
  }
  .nd .nd-mobile-cta .nd-btn { flex: 1 1 0; }

  /* Footer */
  .nd .nd-footer { gap: 17px; padding: 24px var(--gutter) 40px; }
  .nd .nd-footer__main { flex-direction: column; flex-wrap: nowrap; gap: 42px; padding: 9px 0 20px; }
  .nd .nd-footer__brand-top { flex-direction: row; align-items: flex-end; gap: 17px; }
  .nd .nd-footer__brand-top img { width: 99px; height: 50px; }
  .nd .nd-footer__brand p:not(.nd-footer__brand-top p) { color: var(--white); }
  .nd .nd-footer__brand, .nd .nd-footer__col { flex: none; }
  .nd .nd-footer__extra { flex-direction: column; gap: 17px; }
  .nd .nd-footer__extra > a:first-child { order: 2; } /* FSC logo under the socials */
  .nd .nd-newsletter { width: 300px; max-width: 100%; }
  .nd .nd-socials { gap: 10px; }
  .nd .nd-socials img { width: 34px; height: 34px; }
  .nd .nd-footer__bottom { height: auto; padding: 24px 1px; }
}

/* --- CMS integration additions (not in the stand-alone build) --- */
/* Live Google reviews are longer than the Figma sample: one review shown at a time, clamped */
.nd .nd-review { display: flex; flex-direction: column; gap: 24px; }
.nd .nd-review[hidden] { display: none; }
.nd .nd-review-card { overflow: hidden; }
.nd .nd-review-card__quote {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  overflow: hidden;
}
@media (max-width: 767px) {
  .nd .nd-review-card__quote { -webkit-line-clamp: 4; }
  .nd .nd-review { gap: 12px; }
  /* keep the page end clear of the fixed mobile CTA bar */
  .nd .nd-footer { padding-bottom: 80px; }
}

/* Neutralise the old style.css "footer { ... }" / "footer a { ... }" rules inside the new footer */
.nd footer.nd-footer { position: static; z-index: auto; border-top: 0; line-height: normal; text-align: left; font-weight: var(--w-light); }
.nd footer.nd-footer p, .nd footer.nd-footer div, .nd footer.nd-footer nav { text-align: left; }
.nd footer.nd-footer a { display: inline; margin: 0; font-size: inherit; font-family: inherit; color: inherit; }
.nd footer.nd-footer .nd-footer__col a { display: block; }
.nd footer.nd-footer .nd-footer__title { color: var(--white); }
.nd footer.nd-footer a img { margin-right: 0; }
.nd footer.nd-footer a:hover { color: var(--white); }

