/* ==========================================================================
   Les Revêtements Extérieurs Jean-Yves Breton
   ========================================================================== */

/* --- Palette (do not modify) ---------------------------------------------- */
:root {
  --primary: #e72c31;
  --primary-rgb: 231, 44, 49;
  --primary-ink: #ffffff;
  --primary-ink-rgb: 255, 255, 255;
  --primary-dark: #b8232a;
  --primary-dark-rgb: 184, 35, 42;
  --primary-light: #f56368;
  --primary-light-rgb: 245, 99, 104;
  --secondary: #171717;
  --secondary-rgb: 23, 23, 23;
  --secondary-ink: #ffffff;
  --secondary-ink-rgb: 255, 255, 255;
  --accent: #e72c31;
  --accent-rgb: 231, 44, 49;
  --accent-ink: #ffffff;
  --accent-ink-rgb: 255, 255, 255;
  --accent-on-light: #e72c31;
  --accent-on-light-rgb: 231, 44, 49;
  --text: #1a1a1a;
  --text-rgb: 26, 26, 26;
  --text-light: #dbdbdb;
  --text-light-rgb: 219, 219, 219;
  --text-muted: #dddddd;
  --text-muted-rgb: 221, 221, 221;
  --background: #ffffff;
  --background-rgb: 255, 255, 255;
  --bg-alt: #f4f4f4;
  --bg-alt-rgb: 244, 244, 244;
  --bg-alt-ink: #111827;
  --bg-alt-ink-rgb: 17, 24, 39;
  --surface: #ffffff;
  --surface-rgb: 255, 255, 255;
  --border: #909090;
  --border-rgb: 144, 144, 144;
}

/* --- Utility tokens ------------------------------------------------------- */
:root {
  --ink-mid: #4a4a4a;
  --ink-soft: #6b6b6b;
  --line-soft: #e6e6e6;
  --line-strong: #cfcfcf;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --shadow-focus: 0 0 0 3px rgba(var(--primary-rgb), 0.35);
  --transition: 180ms cubic-bezier(.4,.0,.2,1);
  --container-max: 1240px;
  --container-pad: clamp(16px, 4vw, 32px);
  --header-h: 108px;
}

/* --- Reset & base --------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--text);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 800;
  letter-spacing: -0.01em;
}
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
address { font-style: normal; }
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--secondary); color: var(--secondary-ink);
  padding: 12px 20px; z-index: 999;
}
.skip-link:focus { left: 0; }

/* --- Layout --------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}
.section {
  padding: clamp(56px, 8vw, 96px) 0;
}
.section--tight { padding: clamp(40px, 6vw, 72px) 0; }
.section--alt { background: var(--bg-alt); color: var(--bg-alt-ink); }
.section--dark { background: var(--secondary); color: var(--secondary-ink); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--secondary-ink); }

/* --- Eyebrow / heading utilities ----------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
}
.eyebrow::before {
  content: "";
  width: 28px; height: 2px;
  background: var(--primary);
}
.section-head { max-width: 780px; margin: 0 0 clamp(32px, 5vw, 56px); }
.section-head--tight { margin-bottom: clamp(24px, 4vw, 40px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-title {
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.1;
  margin: 0 0 16px;
  color: var(--text);
}
.section-lead {
  font-size: clamp(16px, 1.4vw, 18px);
  color: var(--ink-mid);
  margin: 0;
  max-width: 68ch;
}

/* --- Buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 2px solid transparent;
  background: transparent;
  color: currentColor;
  cursor: pointer;
  transition: background-color var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
  white-space: nowrap;
  line-height: 1.2;
}
.btn:focus-visible { outline: none; box-shadow: var(--shadow-focus); }
.btn--sm { padding: 10px 18px; font-size: 12.5px; }
.btn--large { padding: 18px 32px; font-size: 15px; }
.btn--block { display: flex; width: 100%; }
.btn__arrow, .btn__icon { width: 18px; height: 18px; flex: 0 0 18px; }
.btn--large .btn__arrow, .btn--large .btn__icon { width: 20px; height: 20px; flex-basis: 20px; }

.btn--primary {
  background: var(--primary);
  color: var(--primary-ink);
  border-color: var(--primary);
}
.btn--primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: var(--primary-ink); }

.btn--secondary {
  background: var(--secondary);
  color: var(--secondary-ink);
  border-color: var(--secondary);
}
.btn--secondary:hover { background: #000; border-color: #000; color: var(--secondary-ink); }

.btn--outline {
  background: transparent;
  color: var(--text);
  border-color: var(--text);
}
.btn--outline:hover { background: var(--text); color: var(--background); }

.btn--ghost {
  background: rgba(255,255,255,0.10);
  color: #ffffff;
  border-color: rgba(255,255,255,0.55);
  backdrop-filter: blur(2px);
}
.btn--ghost:hover { background: #ffffff; color: var(--secondary); border-color: #ffffff; }

.btn--dark {
  background: var(--secondary);
  color: var(--secondary-ink);
  border-color: var(--secondary);
}
.btn--dark:hover { background: #000; border-color: #000; }

.btn--dark-outline {
  background: transparent;
  color: #ffffff;
  border-color: #ffffff;
}
.btn--dark-outline:hover { background: #ffffff; color: var(--secondary); }

/* --- Icons --------------------------------------------------------------- */
.icon { width: 20px; height: 20px; flex: 0 0 20px; }
.icon--sm { width: 16px; height: 16px; flex-basis: 16px; }
.icon--xs { width: 12px; height: 12px; flex-basis: 12px; }

/* --- Header --------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--background);
  border-bottom: 1px solid var(--line-soft);
}

.top-bar {
  background: var(--secondary);
  color: var(--secondary-ink);
  font-size: 13px;
}
.top-bar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 38px;
  gap: 16px;
}
.top-bar__list {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.top-bar__list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #f2f2f2;
}
.top-bar__list a {
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color var(--transition);
}
.top-bar__list a:hover { color: var(--primary-light); }
.top-bar strong { font-weight: 600; color: #ffffff; }

.main-header {
  background: var(--background);
}
.main-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 78px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.site-logo { display: inline-flex; align-items: center; }
.site-logo img {
  height: 60px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}

/* --- Primary nav --------------------------------------------------------- */
.primary-nav { justify-self: center; }
.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.nav-menu > li { position: relative; }
.nav-menu > li > a,
.nav-menu > li > .submenu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 14px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  background: transparent;
  border: 0;
  border-bottom: 3px solid transparent;
  transition: color var(--transition), border-color var(--transition);
  white-space: nowrap;
}
.nav-menu > li > a:hover,
.nav-menu > li > .submenu-toggle:hover {
  color: var(--primary);
}
.nav-menu > li > a.active,
.nav-menu > li > a[aria-current="page"] {
  color: var(--primary);
  border-bottom-color: var(--primary);
}
.submenu-toggle svg { transition: transform var(--transition); }
.has-submenu.open .submenu-toggle svg,
.has-submenu:hover .submenu-toggle svg { transform: rotate(180deg); }

.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 280px;
  background: var(--background);
  border: 1px solid var(--line-soft);
  padding: 8px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--transition), transform var(--transition), visibility 0s linear var(--transition);
  z-index: 70;
  box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}
.has-submenu:hover > .submenu,
.has-submenu.open > .submenu,
.has-submenu:focus-within > .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity var(--transition), transform var(--transition), visibility 0s;
}
.submenu li a {
  display: block;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  text-transform: none;
  letter-spacing: 0;
  border-left: 3px solid transparent;
  transition: background-color var(--transition), color var(--transition), border-color var(--transition);
}
.submenu li a:hover {
  background: var(--bg-alt);
  color: var(--primary);
  border-left-color: var(--primary);
}

/* --- Header CTA ---------------------------------------------------------- */
.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-self: end;
}
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  white-space: nowrap;
}
.header-phone:hover { color: var(--primary); }
.header-phone svg { color: var(--primary); width: 22px; height: 22px; flex: 0 0 22px; }
.header-phone__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  white-space: nowrap;
}
.header-phone__kicker {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.header-phone__num {
  font-size: 17px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.header-phone:hover .header-phone__num { color: var(--primary); }

/* Nav toggle (mobile) */
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  padding: 0;
  border: 1px solid var(--line-strong);
  background: var(--background);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  transition: background-color var(--transition);
}
.nav-toggle:hover { background: var(--bg-alt); }
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- Hero ---------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  isolation: isolate;
  min-height: min(78vh, 720px);
  display: flex;
  align-items: center;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.65) 65%, rgba(0,0,0,0.78) 100%),
    linear-gradient(90deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.15) 60%, rgba(0,0,0,0) 100%);
}
.hero__inner {
  padding: clamp(72px, 12vw, 120px) var(--container-pad);
  max-width: 900px;
  color: #ffffff;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  margin: 0 0 20px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ffffff;
  background: rgba(var(--primary-rgb), 0.85);
  text-shadow: 0 1px 2px rgba(0,0,0,0.35);
}
.hero__eyebrow-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #ffffff;
}
.hero__title {
  font-size: clamp(36px, 6.4vw, 72px);
  line-height: 1.02;
  margin: 0 0 20px;
  color: #ffffff;
  font-weight: 900;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 6px rgba(0,0,0,0.55);
  text-wrap: balance;
}
.hero__title-accent {
  display: block;
  color: var(--primary-light);
  font-weight: 900;
}
.hero__lead {
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.55;
  color: #f4f4f4;
  max-width: 62ch;
  margin: 0 0 32px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.55);
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 0 0 36px;
}
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  padding: 20px 0 0;
  border-top: 1px solid rgba(255,255,255,0.25);
  list-style: none;
  font-size: 13.5px;
  color: #f4f4f4;
}
.hero__trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.55);
}
.hero__trust strong { color: #ffffff; font-weight: 700; }
.hero__trust-num {
  color: var(--primary-light);
  font-weight: 900;
  font-size: 20px;
  margin-right: 4px;
}

/* --- Value strip --------------------------------------------------------- */
.value-strip {
  background: var(--secondary);
  color: var(--secondary-ink);
  padding: clamp(48px, 6vw, 72px) 0;
}
.value-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 40px);
}
.value-item {
  text-align: center;
  color: var(--secondary-ink);
  padding: 8px 8px;
}
.value-item__icon {
  width: 56px; height: 56px;
  margin: 0 auto 16px;
  color: var(--primary-light);
  display: flex; align-items: center; justify-content: center;
}
.value-item__icon svg { width: 100%; height: 100%; }
.value-item__title {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffffff;
  margin: 0 0 10px;
}
.value-item__desc {
  font-size: 14.5px;
  line-height: 1.55;
  color: #d6d6d6;
  margin: 0;
}

/* --- Chip list ----------------------------------------------------------- */
.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 0;
  list-style: none;
}
.chip-list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--background);
  border: 1px solid var(--line-soft);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
}
.chip-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--primary);
}

/* --- Services ------------------------------------------------------------ */
.services-section { background: var(--bg-alt); color: var(--bg-alt-ink); }
.services-section .section-title { color: var(--text); }

.service-grid {
  display: grid;
  gap: 24px;
  margin-top: 40px;
}
.service-grid--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.service-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.service-grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.service-card {
  display: flex;
  flex-direction: column;
  background: var(--background);
  overflow: hidden;
  transition: transform var(--transition);
}
.service-card__media {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-alt);
}
.service-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 400ms cubic-bezier(.4,.0,.2,1);
}
.service-card:hover .service-card__media img { transform: scale(1.04); }
.service-card__body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  min-width: 0;
}
.service-card__title {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text);
  margin: 0;
}
.service-card__desc {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-mid);
  margin: 0 0 6px;
  flex: 1;
}
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  padding: 8px 0;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  border-bottom: 2px solid var(--primary);
  margin-top: auto;
}
.card-link:hover {
  color: var(--primary-dark);
  border-bottom-color: var(--primary-dark);
}
.card-link__arrow {
  width: 16px; height: 16px;
  transition: transform var(--transition);
}
.card-link:hover .card-link__arrow { transform: translateX(4px); }

/* --- About section ------------------------------------------------------- */
.about-section { background: var(--background); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.about-media {
  position: relative;
  margin: 0;
}
.about-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
  display: block;
}
.about-media__badge {
  position: absolute;
  bottom: 0; left: 0;
  background: var(--primary);
  color: var(--primary-ink);
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 200px;
}
.about-media__badge-num {
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
  color: var(--primary-ink);
}
.about-media__badge-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
}
.about-content__lead {
  font-size: 17px;
  color: var(--text);
  font-weight: 500;
  line-height: 1.6;
}
.about-content__note {
  padding: 16px 20px;
  border-left: 3px solid var(--primary);
  background: var(--bg-alt);
  color: var(--text);
  font-style: italic;
  font-size: 15px;
  margin: 20px 0 24px;
}
.about-content__cta { display: flex; flex-wrap: wrap; gap: 12px; }

.feature-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 24px;
}
.feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--text);
}
.feature-list__marker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  color: var(--primary);
  font-weight: 900;
  flex: 0 0 22px;
}

/* --- Process ------------------------------------------------------------- */
.process-section { background: var(--secondary); color: var(--secondary-ink); }
.process-section .eyebrow { color: var(--primary-light); }
.process-section .eyebrow::before { background: var(--primary-light); }
.process-section .section-title { color: #ffffff; }
.process-section .section-lead { color: #d6d6d6; }
.process-steps {
  list-style: none;
  padding-left: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  counter-reset: step;
  margin-top: 8px;
}
.process-step {
  position: relative;
  padding: 28px 24px;
  background: rgba(255,255,255,0.03);
  border-top: 3px solid var(--primary);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.process-step__num {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 900;
  line-height: 1;
  color: var(--primary-light);
  letter-spacing: -0.02em;
}
.process-step__title {
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
}
.process-step p {
  font-size: 14.5px;
  color: #cfcfcf;
  margin: 0;
  line-height: 1.55;
}

/* --- Trust cards --------------------------------------------------------- */
.trust-section { background: var(--background); }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.trust-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  align-items: center;
  padding: 24px;
  background: var(--bg-alt);
  color: var(--bg-alt-ink);
}
.trust-card__badge {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--background);
  padding: 16px;
  height: 100%;
  min-height: 120px;
}
.trust-card__badge img {
  max-width: 100%;
  max-height: 80px;
  width: auto;
  object-fit: contain;
}
.trust-card__title {
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 6px;
}
.trust-card__body p { font-size: 14.5px; color: var(--ink-mid); margin: 0; }

/* --- Suppliers ----------------------------------------------------------- */
.suppliers-section { background: var(--bg-alt); color: var(--bg-alt-ink); }
.supplier-grid {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}
.supplier-grid li {
  background: var(--background);
  padding: 24px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100px;
}
.supplier-grid img {
  max-height: 46px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  filter: grayscale(0.2);
  opacity: 0.9;
  transition: filter var(--transition), opacity var(--transition);
}
.supplier-grid li:hover img { filter: none; opacity: 1; }

/* --- Area / contact card ------------------------------------------------ */
.area-section { background: var(--background); }
.area-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 5vw, 56px);
  align-items: start;
}
.area-list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 16px;
}
.area-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  color: var(--text);
  padding: 8px 0;
  border-bottom: 1px dashed var(--line-soft);
}
.area-list li::before {
  content: "";
  width: 10px; height: 10px;
  background: var(--primary);
  flex: 0 0 10px;
  transform: rotate(45deg);
}

.area-card {
  background: var(--secondary);
  color: var(--secondary-ink);
  padding: 32px 28px;
  border-top: 4px solid var(--primary);
}
.area-card__title {
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.area-card__address {
  font-size: 15px;
  color: #e6e6e6;
  line-height: 1.55;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.14);
}
.area-card__address strong { color: #ffffff; }
.area-card__contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0 0 24px;
}
.area-card__row {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 8px;
  align-items: baseline;
}
.area-card__row dt {
  font-size: 11px;
  font-weight: 700;
  color: var(--primary-light);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.area-card__row dd {
  margin: 0;
  font-size: 15px;
  color: #ffffff;
  white-space: nowrap;
}
.area-card__row dd a {
  color: #ffffff;
  white-space: nowrap;
}
.area-card__row dd a:hover { color: var(--primary-light); }

/* --- CTA banner ---------------------------------------------------------- */
.cta-banner {
  background: var(--primary);
  color: #ffffff;
  padding: clamp(40px, 6vw, 64px) 0;
}
.cta-banner__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}
.cta-banner__kicker {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ffffff;
  margin: 0 0 8px;
  opacity: 0.9;
}
.cta-banner__title {
  font-size: clamp(24px, 3vw, 36px);
  color: #ffffff;
  margin: 0 0 8px;
  font-weight: 900;
  letter-spacing: -0.01em;
}
.cta-banner__lead {
  font-size: 16px;
  color: #ffffff;
  margin: 0;
  opacity: 0.95;
}
.cta-banner__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* --- Footer -------------------------------------------------------------- */
.site-footer {
  background: #0e0e0e;
  color: #d6d6d6;
  padding: clamp(48px, 6vw, 72px) 0 0;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: clamp(24px, 3vw, 48px);
  padding-bottom: 48px;
}
.footer-col__title {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ffffff;
  margin: 0 0 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
}
.footer-logo {
  display: inline-block;
  margin-bottom: 20px;
  background: #ffffff;
  padding: 12px 16px;
}
.footer-logo img {
  height: 50px;
  width: auto;
  object-fit: contain;
}
.footer-about {
  font-size: 14px;
  color: #d0d0d0;
  line-height: 1.6;
  margin: 0 0 20px;
}
.footer-badges {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}
.footer-badges li {
  background: #ffffff;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-badges img {
  max-height: 40px;
  max-width: 120px;
  width: auto;
  object-fit: contain;
}
.footer-links {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  color: #e6e6e6;
  font-size: 14.5px;
  transition: color var(--transition), padding var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.footer-links a::before {
  content: "→";
  color: var(--primary);
  font-weight: 800;
  transition: transform var(--transition);
}
.footer-links a:hover {
  color: #ffffff;
}
.footer-links a:hover::before { transform: translateX(3px); }

.footer-contact { color: #e6e6e6; font-size: 14.5px; line-height: 1.7; }
.footer-contact p { margin: 0 0 8px; }
.footer-contact a { color: #ffffff; }
.footer-contact a:hover { color: var(--primary-light); }
.footer-contact__phone {
  display: flex;
  align-items: baseline;
  gap: 10px;
  white-space: nowrap;
}
.footer-contact__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary-light);
  min-width: 60px;
}
.footer-contact__phone a {
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
}
.footer-contact__email {
  word-break: break-all;
  font-weight: 500;
}
.footer-contact__hours {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: #b8b8b8;
  font-style: italic;
}

.site-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  background: #080808;
  color: #b8b8b8;
  font-size: 13px;
}
.site-footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.site-footer__bottom p { margin: 0; }
.site-footer__legal { color: #b8b8b8; }

/* --- Floating call ------------------------------------------------------- */
.floating-call {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 56px; height: 56px;
  background: var(--primary);
  color: var(--primary-ink);
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.28);
  z-index: 80;
  transition: transform var(--transition), background-color var(--transition);
}
.floating-call:hover { background: var(--primary-dark); color: var(--primary-ink); transform: translateY(-2px); }
.floating-call svg { width: 26px; height: 26px; }

/* Keep every phone-number link on a single line */
a[href^="tel:"] { white-space: nowrap; }

/* =========================================================================
   Inner-page shared styles (used by future pages)
   ========================================================================= */

/* --- Page hero (smaller than home hero) ---------------------------------- */
.page-hero {
  position: relative;
  padding: clamp(60px, 8vw, 110px) 0 clamp(48px, 6vw, 80px);
  background: var(--secondary);
  color: #ffffff;
  overflow: hidden;
  isolation: isolate;
}
.page-hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.page-hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.35;
}
.page-hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(0,0,0,0.55), rgba(0,0,0,0.78));
}
.page-hero__inner { max-width: 820px; }
.page-hero .eyebrow { color: var(--primary-light); }
.page-hero .eyebrow::before { background: var(--primary-light); }
.page-hero__title {
  font-size: clamp(30px, 4.8vw, 56px);
  color: #ffffff;
  margin: 0 0 16px;
  line-height: 1.05;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
  text-wrap: balance;
}
.page-hero__lead {
  font-size: clamp(15px, 1.4vw, 18px);
  color: #f0f0f0;
  margin: 0;
  max-width: 62ch;
  line-height: 1.6;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

/* --- Breadcrumbs --------------------------------------------------------- */
.breadcrumbs {
  padding: 16px 0;
  background: var(--bg-alt);
  color: var(--bg-alt-ink);
  font-size: 13px;
  border-bottom: 1px solid var(--line-soft);
}
.breadcrumbs ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  color: var(--ink-mid);
}
.breadcrumbs li { display: inline-flex; align-items: center; gap: 6px; }
.breadcrumbs li + li::before {
  content: "/";
  color: var(--ink-soft);
  margin-right: 4px;
}
.breadcrumbs a { color: var(--ink-mid); }
.breadcrumbs a:hover { color: var(--primary); }
.breadcrumbs [aria-current="page"] { color: var(--text); font-weight: 600; }

/* --- Content sections (article-like) ------------------------------------ */
.content-section { padding: clamp(48px, 6vw, 88px) 0; }
.content-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.content-grid--reverse { grid-template-columns: 380px 1fr; }
.content-grid--full { grid-template-columns: 1fr; max-width: 820px; margin: 0 auto; }

.content-body { font-size: 16.5px; line-height: 1.75; color: var(--text); }
.content-body h2 {
  font-size: clamp(24px, 2.8vw, 34px);
  margin-top: 1.75em;
  margin-bottom: 0.5em;
}
.content-body h2:first-child { margin-top: 0; }
.content-body h3 {
  font-size: clamp(19px, 2vw, 22px);
  margin-top: 1.5em;
  margin-bottom: 0.4em;
  color: var(--text);
}
.content-body p { color: var(--text); }
.content-body ul, .content-body ol {
  margin: 0 0 1em 0;
  padding-left: 1.4em;
}
.content-body li { margin-bottom: 6px; }
.content-body img {
  width: 100%;
  margin: 1.5em 0;
}
.content-body blockquote {
  margin: 1.5em 0;
  padding: 20px 24px;
  background: var(--bg-alt);
  border-left: 4px solid var(--primary);
  color: var(--text);
  font-style: italic;
}

/* --- Sidebar (for content-grid) ----------------------------------------- */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: calc(var(--header-h) + 24px);
}
.sidebar-card {
  background: var(--bg-alt);
  color: var(--bg-alt-ink);
  padding: 24px;
  border-top: 3px solid var(--primary);
}
.sidebar-card--dark {
  background: var(--secondary);
  color: var(--secondary-ink);
}
.sidebar-card--dark p, .sidebar-card--dark li { color: #e0e0e0; }
.sidebar-card__title {
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 14px;
  letter-spacing: 0.02em;
}
.sidebar-card--dark .sidebar-card__title { color: #ffffff; }
.sidebar-card ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sidebar-card ul a {
  display: block;
  padding: 8px 0;
  color: var(--text);
  font-size: 14.5px;
  border-bottom: 1px solid var(--line-soft);
}
.sidebar-card--dark ul a { color: #ffffff; border-bottom-color: rgba(255,255,255,0.12); }
.sidebar-card ul a:hover { color: var(--primary); }
.sidebar-card--dark ul a:hover { color: var(--primary-light); }

/* --- Gallery / portfolio ------------------------------------------------ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 32px;
}
.gallery-item {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-alt);
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 400ms cubic-bezier(.4,.0,.2,1);
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item__caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 12px 16px;
  background: linear-gradient(0deg, rgba(0,0,0,0.75), rgba(0,0,0,0));
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 600;
}

/* --- Contact form ------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 4vw, 56px);
  align-items: start;
}
.form-card {
  background: var(--background);
  padding: clamp(24px, 3vw, 40px);
  border: 1px solid var(--line-soft);
}
.form-card__title {
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 8px;
  color: var(--text);
}
.form-card__lead {
  color: var(--ink-mid);
  font-size: 15px;
  margin: 0 0 24px;
}
.form-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.form-field label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
}
.form-field .required { color: var(--primary); margin-left: 4px; }
.form-field input,
.form-field select,
.form-field textarea {
  padding: 12px 14px;
  font: inherit;
  color: var(--text);
  background: var(--background);
  border: 1px solid var(--line-strong);
  transition: border-color var(--transition), box-shadow var(--transition);
  font-size: 15px;
}
.form-field textarea { min-height: 140px; resize: vertical; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.15);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-mid);
  margin: 8px 0 20px;
}
.form-consent input { margin-top: 3px; }

/* --- Contact info panel ------------------------------------------------ */
.contact-info {
  background: var(--secondary);
  color: var(--secondary-ink);
  padding: clamp(24px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contact-info__title { color: #ffffff; margin: 0; font-size: 22px; }
.contact-info__item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: start;
}
.contact-info__icon {
  width: 44px; height: 44px;
  background: rgba(var(--primary-rgb), 0.9);
  color: var(--primary-ink);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-info__icon svg { width: 20px; height: 20px; }
.contact-info__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary-light);
  margin: 0 0 4px;
}
.contact-info__value {
  color: #ffffff;
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.5;
  margin: 0;
  white-space: nowrap;
}
.contact-info__value--wrap { white-space: normal; }
.contact-info__value a { color: #ffffff; white-space: nowrap; }
.contact-info__value a:hover { color: var(--primary-light); }

/* --- FAQ (semantic accordion) ------------------------------------------ */
.faq-list { display: flex; flex-direction: column; gap: 12px; margin-top: 32px; }
.faq-item {
  background: var(--background);
  border: 1px solid var(--line-soft);
}
.faq-item summary {
  padding: 18px 22px;
  cursor: pointer;
  font-weight: 700;
  color: var(--text);
  font-size: 16px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 24px;
  color: var(--primary);
  font-weight: 700;
  transition: transform var(--transition);
  flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item__body {
  padding: 0 22px 20px;
  color: var(--ink-mid);
  font-size: 15px;
  line-height: 1.65;
}

/* --- Utility helpers ---------------------------------------------------- */
.hide-on-mobile { display: none; }
.hide-on-tablet { display: none; }

@media (min-width: 640px) {
  .hide-on-mobile { display: inline-flex; }
}
@media (min-width: 1080px) {
  .hide-on-tablet { display: inline-flex; }
}

/* =========================================================================
   Responsive breakpoints
   ========================================================================= */

/* Large tablet / small desktop */
@media (max-width: 1200px) {
  .service-grid--four { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .process-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .supplier-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1080px) {
  .nav-menu > li > a,
  .nav-menu > li > .submenu-toggle {
    padding: 12px 10px;
    font-size: 12.5px;
    letter-spacing: 0.05em;
  }
  .header-phone__kicker { display: none; }
  .header-phone__num { font-size: 15px; }
}

/* Tablet */
@media (max-width: 980px) {
  :root { --header-h: 88px; }

  .top-bar { font-size: 12px; }
  .top-bar__inner { justify-content: center; padding: 6px 16px; }
  .top-bar__list--right { display: none; }
  .top-bar__list--left { gap: 16px; }

  .main-header__inner {
    grid-template-columns: auto 1fr auto;
    min-height: 68px;
  }
  .site-logo img { height: 48px; }
  .nav-toggle { display: inline-flex; }

  .primary-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(340px, 90vw);
    background: var(--background);
    box-shadow: -8px 0 32px rgba(0,0,0,0.2);
    padding: 96px 24px 24px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 260ms cubic-bezier(.4,.0,.2,1);
    justify-self: end;
    z-index: 90;
  }
  .primary-nav.open { transform: translateX(0); }
  .nav-menu {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }
  .nav-menu > li > a,
  .nav-menu > li > .submenu-toggle {
    width: 100%;
    justify-content: space-between;
    padding: 14px 12px;
    border-bottom: 1px solid var(--line-soft);
    border-radius: 0;
    font-size: 14px;
  }
  .submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    border-left: 3px solid var(--primary);
    background: var(--bg-alt);
    padding: 4px 0;
    margin: 0 0 0 12px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 260ms ease;
  }
  .has-submenu.open > .submenu {
    max-height: 600px;
  }
  .submenu li a { padding: 12px 16px; }

  .header-cta { gap: 10px; }
  .header-phone__text { display: none; }
  .header-phone svg { width: 24px; height: 24px; }

  .body-nav-open { overflow: hidden; }
  .nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 85;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition), visibility 0s linear var(--transition);
  }
  .nav-backdrop.open {
    opacity: 1;
    visibility: visible;
    transition: opacity var(--transition), visibility 0s;
  }

  .value-strip__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
  .service-grid--four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-grid--three { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .about-grid { grid-template-columns: 1fr; }
  .about-media img { aspect-ratio: 4 / 3; }

  .trust-grid { grid-template-columns: 1fr; }
  .trust-card { grid-template-columns: 100px 1fr; gap: 16px; padding: 20px; }
  .trust-card__badge { min-height: 90px; padding: 10px; }
  .trust-card__badge img { max-height: 60px; }

  .area-grid { grid-template-columns: 1fr; }
  .area-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .cta-banner__inner { grid-template-columns: 1fr; text-align: center; gap: 24px; }
  .cta-banner__actions { justify-content: center; }

  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__bottom-inner { justify-content: center; text-align: center; }

  .content-grid,
  .content-grid--reverse { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sidebar { position: static; }
}

/* Mobile */
@media (max-width: 640px) {
  .top-bar__list--left li:not(:first-child) { display: none; }
  .hero { min-height: 60vh; }
  .hero__title { font-size: clamp(30px, 8vw, 44px); }
  .hero__lead { font-size: 15px; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; }

  .value-strip__grid { grid-template-columns: 1fr; text-align: center; }
  .value-item { padding: 0; }

  .service-grid--four,
  .service-grid--three,
  .service-grid--two { grid-template-columns: 1fr; }

  .process-steps { grid-template-columns: 1fr; }
  .supplier-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .supplier-grid li { padding: 16px; min-height: 80px; }

  .area-list { grid-template-columns: 1fr; }
  .area-card__row { grid-template-columns: 80px 1fr; }
  .area-card__row dd { font-size: 14px; }

  .cta-banner__actions { flex-direction: column; }
  .cta-banner__actions .btn { width: 100%; }

  .site-footer__grid { grid-template-columns: 1fr; }

  .feature-list { grid-template-columns: 1fr; }

  .form-row { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }

  .floating-call { display: flex; }
}

/* Very small screens */
@media (max-width: 380px) {
  .hero__eyebrow { font-size: 11px; padding: 6px 12px; }
  .hero__title { font-size: 28px; }
  .btn { padding: 12px 20px; font-size: 13px; }
  .btn--large { padding: 14px 22px; font-size: 14px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .service-card:hover .service-card__media img { transform: none; }
  .card-link:hover .card-link__arrow { transform: none; }
}

/* Print */
@media print {
  .site-header, .site-footer, .floating-call, .hero__cta, .cta-banner { display: none !important; }
  .hero { color: var(--text); min-height: auto; padding: 20px 0; }
  .hero__scrim, .hero__media { display: none; }
  * { color: #000 !important; background: #fff !important; }
}


/* W170 mobile overflow repair */
@media (max-width: 480px) {
  div.area-copy { min-width: 0 !important; max-width: 100% !important; }
  h2#area-title.section-title { min-width: 0 !important; max-width: 100% !important; }
  svg.icon.icon--xs { min-width: 0 !important; max-width: 100% !important; }
  ul.area-list { min-width: 0 !important; max-width: 100% !important; }
}
/* /W170 mobile overflow repair */

/* W16b deterministic CTA contrast repair: index .btn--primary */
.page-index .btn--primary,
.page-index .btn--primary:hover,
.page-index .btn--primary:focus,
.page-index .btn--primary:focus-visible {
  background: var(--secondary);
  border-color: var(--secondary);
}

/* W17 deterministic card text contrast repair: index a.card-link */
.page-index a.card-link {
  color: var(--text);
}

/* betterly-css-safety-net:start */
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__media img, .hero__media video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.site-header, .main-header {
  width: 100%;
  max-width: 100%;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: clamp(1.25rem, 2vw, 1.75rem);
  align-items: stretch;
}

.service-card {
  background: var(--background, #fff);
  border: 1px solid var(--border, #e1e6ed);
  border-radius: var(--radius, 12px);
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: auto;
  overflow: hidden;
}

.service-card__body > .card-link {
  margin-top: auto;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-weight: 700;
}

@media (max-width: 760px) {
  .intro-grid,
  .founder-grid,
  .visit-grid,
  .feature-grid,
  .trust-grid,
  .value-grid,
  .value__grid,
  .program-grid,
  .pillar-grid,
  .link-grid,
  .two-col {
    grid-template-columns: 1fr;
  }
  .value__list,
  .values-list,
  .trust-list,
  .checklist,
  .bullets {
    grid-template-columns: 1fr;
  }
  .cta-inner {
    display: grid;
  }
  .cta-banner-inner {
    display: grid;
  }
}
/* betterly-css-safety-net:end */
