/*
Theme Name: solecovia
Theme URI: https://solecovia.com/
Author: Cursor
Description: Gutenberg-compatible block theme inspired by dossier_technique.html.
Requires at least: 6.7
Tested up to: 6.9
Requires PHP: 7.4
Version: 1.1.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: solecovia
Tags: full-site-editing, block-patterns, custom-colors, custom-logo, custom-menu, editor-style, wide-blocks
*/

:root {
  --soleco-green: #30824a;
  --soleco-green-dark: #1f5c34;
  --soleco-green-mid: #4da066;
  --soleco-green-light: #e8f4ec;
  --soleco-green-pale: #f2faf5;
  --soleco-white: #ffffff;
  --soleco-gray-100: #f7f8f6;
  --soleco-gray-200: #eef0ec;
  --soleco-gray-400: #7e7e7e;
  --soleco-gray-700: #4a524a;
  --soleco-dark: #1a2018;
  --soleco-radius: 3px;
  --soleco-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  --soleco-shadow-lg: 0 6px 28px rgba(0, 0, 0, 0.12);
}

html {
  scroll-behavior: smooth;
  /* clip instead of hidden: prevents horizontal scroll without creating a
     new scroll container, which would break position:sticky on the header */
  overflow-x: clip;
}

body {
  background: var(--soleco-white);
  color: var(--soleco-dark);
  overflow-x: clip;
}

a {
  text-decoration-thickness: 1px;
  text-underline-offset: 0.14em;
}

:where(.wp-site-blocks) > * {
  margin-block-start: 0;
}

:root :where(.is-layout-constrained) > * {
  margin-block-start: 0;
}

:where(.wp-site-blocks *:focus) {
  outline: none;
}

:where(.wp-site-blocks *:focus-visible) {
  outline: 2px solid var(--soleco-green);
  outline-offset: 3px;
  border-radius: 3px;
  box-shadow: 0 0 0 4px rgba(48, 130, 74, 0.18);
}

/* ── Site header ─────────────────────────────────────────────── */

/* The actual sticky wrapper is the template-part <header> */
header.wp-block-template-part {
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header {
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--soleco-gray-200);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
  transition: padding 0.3s ease, box-shadow 0.3s ease,
              background 0.35s ease, border-color 0.35s ease;
}

/* ── Compact state (JS adds/removes this class on scroll) ────── */
.site-header.site-header--compact {
  padding-top: 0.35rem !important;
  padding-bottom: 0.35rem !important;
  background: rgba(255, 255, 255, 0.82) !important;
  backdrop-filter: blur(14px) saturate(1.3);
  border-bottom-color: rgba(0, 0, 0, 0.05) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
}

.site-header--compact .site-brand-logo img {
  width: 130px !important;
}

.site-header--compact .wp-block-navigation .wp-block-navigation-item__content {
  font-size: 0.84rem;
}

/* ── Logo ───────────────────────────────────────────────────── */
.site-brand {
  gap: 0.9rem;
  flex-shrink: 0;
}

.site-brand-logo {
  margin: 0;
  display: flex;
  align-items: center;
}

.site-brand-logo img {
  display: block;
  height: auto;
  max-width: 160px;
  transition: width 0.3s ease;
}

.site-header-row {
  gap: 0.85rem;
}

.site-main-nav {
  flex: 1 1 auto;
  min-width: 0;
}

.site-main-nav .wp-block-navigation__container {
  gap: 0.35rem;
}

/* When the mobile nav modal is open, backdrop-filter on the header
   creates a containing block that traps position:fixed children.
   Removing it lets the overlay escape and cover the full viewport.
   Two selectors: JS-added class (WordPress nav view.js) + CSS-only :has() fallback. */
html.has-modal-open .site-header,
.site-header:has(.wp-block-navigation__responsive-container.is-menu-open) {
  backdrop-filter: none;
}

/* ── Desktop navigation ─────────────────────────────────────── */
.site-header .wp-block-navigation .wp-block-navigation-item__content {
  color: var(--soleco-dark);
  font-size: 0.84rem;
  font-weight: 600;
  transition: color 0.2s ease;
  position: relative;
  padding-left: 0.45rem;
  padding-right: 0.45rem;
  white-space: nowrap;
}

.site-header .wp-block-navigation .wp-block-navigation-item__content::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 1.4rem;
  height: 2px;
  background: var(--soleco-green);
  border-radius: 1px;
  transition: transform 0.22s ease;
}

.site-header .wp-block-navigation .current-menu-item > .wp-block-navigation-item__content,
.site-header .wp-block-navigation .wp-block-navigation-item__content:hover {
  color: var(--soleco-green);
}

.site-main-nav .wp-block-navigation__container > .wp-block-navigation-item:first-child {
  display: none;
}

.site-header .wp-block-navigation .current-menu-item > .wp-block-navigation-item__content::after,
.site-header .wp-block-navigation .wp-block-navigation-item__content:hover::after {
  transform: translateX(-50%) scaleX(1);
}

.site-header .wp-block-navigation-item a[href*="/contact-us"] {
  display: none;
}

/* "Environment" nav item — leaf icon + brand-green accent */
.site-header .wp-block-navigation .wp-block-navigation-item__content[href*="why-solecovia"] {
  color: var(--soleco-green);
  background: var(--soleco-green-pale);
  border-radius: 999px;
  padding-top: 0.18rem;
  padding-bottom: 0.18rem;
  padding-left: 0.7rem;
  padding-right: 0.8rem;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.site-header .wp-block-navigation .wp-block-navigation-item__content[href*="why-solecovia"]::before {
  content: "";
  display: inline-block;
  width: 0.95em;
  height: 0.95em;
  margin-right: 0.32rem;
  vertical-align: -0.14em;
  background-color: currentColor;
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><path d='M11 20A7 7 0 0 1 9.8 6.1C15.5 5 17 4.48 19 2c1 2 2 4.18 2 8 0 5.5-4.78 10-10 10Z'/><path d='M2 21c0-3 1.85-5.36 5.08-6'/></svg>");
          mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><path d='M11 20A7 7 0 0 1 9.8 6.1C15.5 5 17 4.48 19 2c1 2 2 4.18 2 8 0 5.5-4.78 10-10 10Z'/><path d='M2 21c0-3 1.85-5.36 5.08-6'/></svg>");
  -webkit-mask-size: contain;
          mask-size: contain;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-position: center;
          mask-position: center;
}

.site-header .wp-block-navigation .current-menu-item > .wp-block-navigation-item__content[href*="why-solecovia"],
.site-header .wp-block-navigation .wp-block-navigation-item__content[href*="why-solecovia"]:hover,
.site-header .wp-block-navigation .wp-block-navigation-item__content[href*="why-solecovia"]:focus-visible {
  color: #fff;
  background: var(--soleco-green);
}

/* Hide the underline pill for this item — the filled pill is the active/hover signal */
.site-header .wp-block-navigation .wp-block-navigation-item__content[href*="why-solecovia"]::after {
  display: none;
}

/* Mobile overlay: drop the pill background (would stretch full width); keep icon + green color */
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content[href*="why-solecovia"],
.wp-block-navigation__responsive-container.is-menu-open .current-menu-item > .wp-block-navigation-item__content[href*="why-solecovia"],
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content[href*="why-solecovia"]:hover,
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content[href*="why-solecovia"]:focus-visible {
  background: transparent;
  padding-left: 0;
  padding-right: 0;
  color: var(--soleco-green);
}

.site-header .wp-block-navigation__submenu-container {
  border: 1px solid var(--soleco-gray-200);
  box-shadow: var(--soleco-shadow);
  background: #fff;
}

.site-header-tools {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
}

.site-contact-float {
  position: fixed;
  top: 0.55rem;
  right: 0.85rem;
  z-index: 240;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.18rem;
  text-decoration: none;
}

.site-contact-float__icon {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--soleco-green);
  color: #fff;
  font-size: 0.95rem;
  box-shadow: var(--soleco-shadow);
  transition: transform 0.2s ease, background 0.2s ease;
}

.site-contact-float__label {
  display: none;
}

.site-contact-float:hover .site-contact-float__icon,
.site-contact-float:focus-visible .site-contact-float__icon {
  background: var(--soleco-green-dark);
  transform: translateY(-1px);
}

@media (max-width: 1368px) {
  .site-header-tools {
    gap: 0.4rem;
  }

  .site-contact-float {
    position: static;
    top: auto;
    right: auto;
    z-index: auto;
  }

  .site-contact-float__icon {
    width: 1.82rem;
    height: 1.82rem;
    font-size: 0.82rem;
  }

  .site-contact-float__label {
    display: none;
  }
}

@media (max-width: 1080px) {
  .site-contact-float__icon {
    width: 1.7rem;
    height: 1.7rem;
    font-size: 0.76rem;
  }
}

.solecovia-hero {
  background: linear-gradient(135deg, var(--soleco-green-dark) 0%, var(--soleco-green) 60%, var(--soleco-green-mid) 100%);
  color: var(--soleco-white);
  overflow: hidden;
  position: relative;
}

.solecovia-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.solecovia-hero > * {
  position: relative;
}

.solecovia-kicker {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
  opacity: 0.82;
}

.solecovia-divider {
  width: 84px;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  margin: 1.3rem auto;
}

.solecovia-badges {
  margin-top: -2rem;
  position: relative;
  z-index: 5;
}

.solecovia-badges .wp-block-column {
  background: var(--soleco-white);
  border-radius: var(--soleco-radius);
  box-shadow: var(--soleco-shadow);
  border-top: 3px solid var(--soleco-green);
  padding: 1rem 1.15rem;
}

.solecovia-badges strong {
  display: block;
  color: var(--soleco-dark);
  margin-bottom: 0.15rem;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6,
.wp-block-post-content h1,
.wp-block-post-content h2,
.wp-block-post-content h3,
.wp-block-post-content h4,
.wp-block-post-content h5,
.wp-block-post-content h6 {
  color: var(--soleco-green-dark);
  letter-spacing: -0.02em;
}

.entry-content h2,
.wp-block-post-content h2 {
  color: var(--soleco-dark);
  font-size: 1.15rem;
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-left: 1.25rem;
  border-left: 3px solid var(--soleco-green);
}

.entry-content h3,
.wp-block-post-content h3 {
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.entry-content h3::before,
.wp-block-post-content h3::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 1em;
  background: var(--soleco-green);
  border-radius: 2px;
  flex-shrink: 0;
}

.entry-content p,
.entry-content li,
.entry-content td,
.wp-block-post-content p,
.wp-block-post-content li,
.wp-block-post-content td,
.wp-block-post-content figcaption {
  color: var(--soleco-gray-700);
}

.entry-content ul,
.wp-block-post-content ul {
  list-style: none;
  padding-left: 0;
}

.entry-content ul li,
.wp-block-post-content ul li {
  position: relative;
  padding-left: 1.3rem;
  margin-bottom: 0.45rem;
}

.entry-content ul li::before,
.wp-block-post-content ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--soleco-green);
}

.entry-content table,
.wp-block-post-content table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--soleco-radius);
  overflow: hidden;
  box-shadow: var(--soleco-shadow);
}

.entry-content thead tr,
.wp-block-post-content thead tr {
  background: var(--soleco-green);
  color: var(--soleco-white);
}

.entry-content th,
.entry-content td,
.wp-block-post-content th,
.wp-block-post-content td {
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid var(--soleco-gray-200);
  text-align: left;
  vertical-align: top;
}

.entry-content tbody tr:nth-child(odd),
.wp-block-post-content tbody tr:nth-child(odd) {
  background: var(--soleco-green-pale);
}

.is-style-solecovia-card,
.is-style-solecovia-panel,
.is-style-solecovia-conclusion,
.solecovia-card,
.solecovia-panel,
.solecovia-conclusion,
.solecovia-contact-card {
  border-radius: var(--soleco-radius);
}

.is-style-solecovia-card,
.solecovia-card {
  background: var(--soleco-white);
  box-shadow: var(--soleco-shadow);
  border-left: 4px solid var(--soleco-green);
  padding: 1.25rem 1.4rem;
}

.is-style-solecovia-panel,
.solecovia-panel {
  overflow: hidden;
  box-shadow: var(--soleco-shadow);
  background: var(--soleco-green-light);
  padding: 1.1rem 1.3rem;
  border-top: 4px solid var(--soleco-green);
}

.is-style-solecovia-conclusion,
.solecovia-conclusion {
  background: var(--soleco-green-pale);
  border: 2px solid var(--soleco-green);
  padding: 1.2rem 1.5rem;
}

.is-style-solecovia-conclusion > :first-child,
.solecovia-conclusion > :first-child {
  font-weight: 700;
  color: var(--soleco-green-dark);
}

.solecovia-contact-card {
  box-shadow: var(--soleco-shadow-lg);
  overflow: hidden;
}

.solecovia-contact-card .wp-block-group:first-child {
  background: linear-gradient(135deg, var(--soleco-green-dark), var(--soleco-green));
  color: var(--soleco-white);
}

.site-footer {
  border-top: 1px solid var(--soleco-gray-200);
  background: var(--soleco-white);
  overflow: hidden;
}

.site-footer-panel {
  background: linear-gradient(135deg, var(--soleco-green-dark), var(--soleco-green));
  box-shadow: var(--soleco-shadow-lg);
}

.site-footer-logo {
  margin: 0;
}

.site-footer-logo img {
  display: block;
  height: auto;
  max-width: 180px;
}

.site-footer-label {
  margin-bottom: 0.35rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  opacity: 0.8;
}

.site-footer-panel p,
.site-footer-panel .site-footer-label {
  color: var(--soleco-white);
}

.site-footer-panel .wp-element-button,
.site-footer-panel .wp-block-button__link {
  box-shadow: none;
}

.site-footer-panel p a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.4);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s ease;
}

.site-footer-panel p a:hover,
.site-footer-panel p a:focus-visible {
  text-decoration-color: var(--soleco-white);
}

.site-footer-panel .wp-block-buttons {
  margin-top: 0;
  margin-bottom: 0;
}

.site-footer-panel .wp-block-buttons > .wp-block-button {
  margin: 0;
}

.site-footer p,
.site-footer li,
.site-footer .wp-block-site-title a,
.site-footer .wp-block-navigation-item__content {
  color: var(--soleco-gray-700);
}

.site-footer .wp-block-site-title a {
  text-decoration: none;
  color: var(--soleco-green-dark);
}

/* ── Language switcher – header (TranslatePress v2) ────────── */

/* Prevent flex parents from clipping the absolutely-positioned dropdown */
.site-header .wp-block-group,
.site-header .wp-block-shortcode {
  overflow: visible;
}

/* Native block wrapper — flex-align it in the header row */
.site-header .trp-block-container {
  display: flex;
  align-items: center;
}

/* TranslatePress sets overflow:hidden on .trp-shortcode-switcher — override */
.site-header .trp-shortcode-switcher,
.site-header .trp-shortcode-overlay {
  overflow: visible !important;
}

.site-header .trp-shortcode-switcher__wrapper {
  display: flex;
  align-items: center;
  position: relative;
  font-size: 0.82rem;
  font-weight: 600;
}

/* ── Language switcher (native cookie-based, no plugin required) ──── */
.sc-lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.sc-lang-switcher__item {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.2rem 0.4rem;
  border-radius: 3px;
  text-decoration: none;
  color: var(--soleco-dark);
  font-size: 0.82rem;
  font-weight: 600;
  transition: background 0.15s, color 0.15s;
}

.sc-lang-switcher__item:hover {
  background: var(--soleco-gray-100);
  color: var(--soleco-green);
}

.sc-lang-switcher__item--active {
  color: var(--soleco-green);
}

/* Suppress TranslatePress floating bubble if plugin still installed */
#trp-floater-ls { display: none !important; }

/* Mobile-only: clone of the language switcher gets injected by JS into the
   nav overlay so users can switch language on small screens. Hide on desktop. */
.sc-lang-switcher-mobile-wrap { display: none; }

.wp-element-button,
.wp-block-button__link {
  border-radius: 3px;
  font-weight: 700;
  padding: 0.9rem 1.35rem;
  box-shadow: var(--soleco-shadow);
}

/* ── Home page (sc-* components) ── */

/* shared utilities */
.sc-kicker {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--soleco-green);
  margin: 0 0 0.6rem;
}
.sc-kicker--light { color: #fff; }
.sc-kicker--center { text-align: center; }

/* Performance disclaimer (industry-standard fine print) */
.sc-disclaimer {
  font-size: 0.78rem;
  font-style: italic;
  color: var(--soleco-gray-400);
  margin-top: 1rem;
  margin-bottom: 0;
  line-height: 1.45;
  opacity: 0.85;
}
.sc-mission .sc-disclaimer,
.sc-banner .sc-disclaimer {
  color: rgba(255, 255, 255, 0.72);
}

.sc-divider {
  width: 72px;
  height: 3px;
  border-radius: 999px;
  background: rgba(255,255,255,0.4);
  margin: 1.2rem auto;
}

.sc-btn {
  display: inline-block;
  box-sizing: border-box;
  border-radius: 3px;
  font-weight: 700;
  padding: 0.9rem 2rem;
  text-decoration: none;
  margin-top: 2rem;
  transition: opacity 0.2s;
}
.sc-btn:hover { opacity: 0.88; }
.sc-btn--green { background: var(--soleco-green); color: #fff; }
.sc-btn--white { background: #fff; color: var(--soleco-green-dark); }

/* simplified home controls */
.sc-home-simple__hero-cta,
.sc-home-simple__final-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
}
.sc-home-simple__hero-cta .sc-btn,
.sc-home-simple__final-cta-actions .sc-btn {
  margin-top: 1.15rem;
}
.sc-home-simple__hero-cta .sc-btn {
  border-radius: 6px;
  padding: 0.95rem 2.15rem;
  letter-spacing: 0.01em;
  box-shadow: 0 6px 18px rgba(0,0,0,0.22), 0 1px 2px rgba(0,0,0,0.14);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease, background-color 0.2s ease;
}
.sc-home-simple__hero-cta .sc-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.28), 0 2px 4px rgba(0,0,0,0.16);
  opacity: 1;
}
.sc-home-simple__hero-cta .sc-btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}
.sc-home-simple__hero-cta .sc-btn--white {
  background: rgba(255,255,255,0.97);
}
.sc-home-simple__hero-cta .sc-btn--white:hover {
  background: #fff;
}
.sc-home-simple__proof {
  margin-top: 0;
  padding-top: 1.2rem;
}
.sc-home-simple__final-cta .sc-cta__inner {
  max-width: 780px;
}

/* hero — full-viewport "green all the way" pitch
   Layered: photo (filtered) → green tint overlay → content. */
.sc-hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  /* Constrain the implicit grid track so a long word in the title cannot
     stretch the column past the viewport and drag the sub paragraph
     off-screen on narrow viewports. */
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  background-color: #0e2a18;
}
/* Defeat the global `.wp-block-post-content p/li { color: gray-700 }` rule
   that otherwise grays out the hero subhead and stat labels. */
.sc-hero p,
.sc-hero li {
  color: inherit;
}
.sc-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) brightness(0.72) contrast(1.05);
  z-index: -2;
}
.sc-hero__tint {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(135deg, rgba(15,40,22,0.50) 0%, rgba(31,92,52,0.22) 55%, rgba(48,130,74,0.10) 100%),
    radial-gradient(800px 650px at 18% 55%, rgba(0,15,5,0.45), transparent 70%);
  pointer-events: none;
}
.sc-hero__inner {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(4rem, 9vh, 7rem) clamp(1.5rem, 5vw, 3rem);
}
.sc-hero__copy { max-width: 760px; width: 100%; min-width: 0; }
.sc-hero .sc-hero__title {
  font-size: clamp(2.6rem, 7vw, 5.2rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.025em;
  color: #fff;
  margin: 0 0 1.25rem;
  text-shadow: 0 2px 24px rgba(0,0,0,0.25);
}
.sc-hero .sc-hero__title br { display: inline; }
.sc-hero .sc-hero__sub {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  color: rgba(255,255,255,0.94);
  line-height: 1.55;
  margin: 0;
  /* Cap at 36em on desktop, but never exceed the viewport content area on
     narrow screens — `100%` alone can let `min()` resolve too generously
     when the parent's intrinsic min-content is wider than expected. */
  max-width: min(36em, calc(100vw - 2.5rem));
  min-width: 0;
  overflow-wrap: break-word;
  text-shadow: 0 1px 12px rgba(0,0,0,0.25);
}
.sc-hero__cta {
  display: flex; flex-wrap: wrap;
  gap: 0.5rem 1.75rem;
  margin-top: 2rem;
  align-items: center;
}
.sc-hero__cta .sc-btn { margin-top: 0; }
/* Secondary "How it works" — quiet text link with arrow.
   Sits alongside the solid white CTA without competing. */
.sc-hero__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  padding: 0.6rem 0.1rem;
  border-bottom: 1px solid rgba(255,255,255,0.45);
  transition: border-color 0.2s ease, color 0.2s ease;
}
.sc-hero__link:hover,
.sc-hero__link:focus-visible {
  color: #fff;
  border-bottom-color: #fff;
  text-decoration: none;
  outline: none;
}
.sc-hero__link-arrow {
  display: inline-block;
  font-size: 1.05em;
  transition: transform 0.25s cubic-bezier(.2,.8,.2,1);
}
.sc-hero__link:hover .sc-hero__link-arrow,
.sc-hero__link:focus-visible .sc-hero__link-arrow {
  transform: translateX(4px);
}
@media (prefers-reduced-motion: reduce) {
  .sc-hero__link-arrow { transition: none; }
}
/* Stats: divider-row, no pill backgrounds — reads cleaner on a photo. */
.sc-hero__stats {
  list-style: none;
  padding: 1.5rem 0 0;
  margin: 2.5rem 0 0;
  border-top: 1px solid rgba(255,255,255,0.22);
  display: flex; flex-wrap: wrap;
  gap: 0;
}
.sc-hero__stats .sc-hero__stat {
  display: flex; flex-direction: column; gap: 0.2rem;
  padding: 0 1.75rem;
  flex: 1 1 0;
  min-width: 0;
  /* Defeat the global `.wp-block-post-content ul li` bullet + spacing so
     the hero stats render cleanly regardless of post-content scope. The
     two-class selector beats the global's `.class type type` specificity. */
  margin-bottom: 0;
}
.sc-hero__stats .sc-hero__stat::before { content: none !important; }
.sc-hero__stats .sc-hero__stat:first-child { padding-left: 0; }
.sc-hero__stats .sc-hero__stat + .sc-hero__stat {
  border-left: 1px solid rgba(255,255,255,0.22);
}
.sc-hero__stat-num {
  font-weight: 800;
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.sc-hero__stat-label {
  font-size: 0.82rem;
  opacity: 0.85;
  line-height: 1.3;
}
@media (max-width: 720px) {
  .sc-hero__inner {
    padding: clamp(4rem, 8vh, 5.5rem) 1.25rem clamp(2.5rem, 5vh, 3.5rem);
  }
  .sc-hero .sc-hero__title { margin-top: 1.1rem; }
  .sc-hero__cta {
    gap: 0.75rem 1.25rem;
  }
  .sc-hero__cta .sc-btn--white {
    padding: 0.85rem 1.6rem;
    font-size: 0.95rem;
  }
  .sc-hero__link {
    flex: 0 0 auto;
    margin-top: 0;
  }
  .sc-hero__stats {
    margin-top: 2rem;
    padding-top: 1.25rem;
    gap: 0.75rem 0;
  }
  .sc-hero__stats .sc-hero__stat {
    flex: 1 1 50%;
    padding: 0.5rem 0;
  }
  .sc-hero__stats .sc-hero__stat + .sc-hero__stat { border-left: 0; }
  .sc-hero__stat-num { font-size: 1.1rem; }
  .sc-hero__stat-label { font-size: 0.72rem; }
}

/* stat badges — full-width band */
.sc-badges-band {
  background:
    radial-gradient(1100px 460px at 80% -10%, rgba(216, 242, 226, 0.14), transparent 60%),
    radial-gradient(900px 380px at -10% 110%, rgba(77, 160, 102, 0.22), transparent 55%),
    linear-gradient(180deg, #2f7a4a 0%, #245e39 100%);
  padding: 3.25rem 1.5rem;
}
.sc-badges {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  max-width: 1100px;
  margin: 0 auto;
}
.sc-badge {
  background: #fff;
  border-radius: 6px;
  padding: 1.4rem 1.25rem;
  text-align: center;
}
.sc-badge strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--sc-ink);
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin-bottom: 0.35rem;
}
.sc-badge span {
  display: block;
  font-size: 0.78rem;
  color: var(--sc-muted);
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .sc-badges-band { padding: 2.25rem 1rem; }
  .sc-badges { grid-template-columns: repeat(2, 1fr); }
}

/* banner */
.sc-banner {
  position: relative;
  width: 100%;
  overflow: hidden;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.sc-banner__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.sc-banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(10,22,10,0.82) 40%, rgba(10,22,10,0.3) 100%);
}
.sc-banner__body {
  position: relative;
  z-index: 2;
  max-width: 580px;
  padding: 4rem 4rem 4rem max(4rem, calc((100% - 1100px) / 2 + 2rem));
}
.sc-banner__kicker {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
  color: #d8f2e2;
  margin: 0 0 0.75rem;
}
.sc-banner__text {
  font-size: clamp(1.8rem, 3.8vw, 3rem);
  font-weight: 900;
  letter-spacing: 0.1em;
  color: #ffffff;
  text-transform: uppercase;
  margin: 0 0 1.1rem;
  line-height: 1.1;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}
.sc-banner__sub {
  font-size: 0.97rem;
  color: rgba(255, 255, 255, 0.94);
  line-height: 1.7;
  margin: 0 0 1.8rem;
}
.sc-banner__cta {
  margin: 0.4rem 0 0;
}
.sc-banner__cta .sc-btn {
  margin-top: 0;
  border-radius: 6px;
  padding: 0.95rem 2.15rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22), 0 1px 2px rgba(0, 0, 0, 0.14);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease, background-color 0.2s ease;
}
.sc-banner__cta .sc-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28), 0 2px 4px rgba(0, 0, 0, 0.16);
  opacity: 1;
}
.sc-banner__cta .sc-btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

/* Ensure banner copy stays light when theme / block styles target raw h2 & p */
.sc-banner__body h2 {
  color: #ffffff !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}
.sc-banner__body p:not(.sc-banner__kicker) {
  color: rgba(255, 255, 255, 0.94) !important;
}
.sc-banner__body .sc-banner__kicker {
  color: #d8f2e2 !important;
}

/* sections */
.sc-section {
  padding: 4rem 1.5rem;
}
.sc-section--pale {
  background: var(--soleco-green-pale);
}

/* Dark variant — deep green band with light type. White feature cards
   inside keep their own light styling and pop against the dark backdrop. */
.sc-section--dark {
  background: var(--sc-accent);
  color: #fff;
}
.sc-section--dark .sc-section__title,
.sc-section--dark h2 {
  color: #fff;
}
.sc-section--dark .sc-kicker {
  color: #d8f2e2;
}
.sc-section--dark p {
  color: rgba(255, 255, 255, 0.92);
}
.sc-section--dark .sc-pillars__more,
.sc-section--dark .sc-pillars__more a {
  color: #d8f2e2;
}

/* ──────────────────────────────────────────────────────────────────
   Home: LL-TECH advantages (#sc-green-advantages)
   Full redesign — stat-forward glass cards on dark backdrop,
   intentionally distinct from the photo-card "Installation" section.
   ────────────────────────────────────────────────────────────────── */
#sc-green-advantages.sc-section {
  position: relative;
  overflow: hidden;
  padding-top: 5rem;
  padding-bottom: 5rem;
  background:
    radial-gradient(1100px 460px at 80% -10%, #FFF, transparent 60%),
    radial-gradient(900px 380px at -10% 110%, rgba(77, 160, 102, 0.22), transparent 55%),
    linear-gradient(180deg, #2f7a4a 0%, #245e39 100%);
}
#sc-green-advantages.sc-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at center, #000 35%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 35%, transparent 85%);
  pointer-events: none;
  opacity: 0.55;
}
#sc-green-advantages > .sc-section__inner {
  position: relative;
  z-index: 1;
}

#sc-green-advantages .sc-adv__head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 2.6rem;
}
#sc-green-advantages .sc-adv__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.95rem;
  border: 1px solid rgba(216, 242, 226, 0.45);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin: 0 0 1rem;
}
#sc-green-advantages .sc-adv__eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--soleco-green-mid, #4da066);
  box-shadow: 0 0 0 4px rgba(77, 160, 102, 0.25);
}
#sc-green-advantages .sc-adv__title {
  font-size: clamp(1.85rem, 3.6vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 0.7rem;
  color: #ffffff;
}
#sc-green-advantages .sc-adv__title em {
  font-style: italic;
  font-weight: 500;
  background: linear-gradient(90deg, #c7f2d4, #ffffff 70%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.12em;
}
#sc-green-advantages .sc-adv__lede {
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
  margin: 0 auto;
}

#sc-green-advantages .sc-adv__grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
  align-items: stretch;
  counter-reset: adv;
}
#sc-green-advantages .sc-adv__card {
  counter-increment: adv;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.6rem 1.55rem 1.45rem;
  border-radius: 14px;
  background: var(--soleco-green-pale);
  border: 1px solid rgba(48, 130, 74, 0.14);
  box-shadow: 0 18px 40px -22px rgba(0, 0, 0, 0.45);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
#sc-green-advantages .sc-adv__card:hover {
  transform: translateY(-3px);
  border-color: rgba(48, 130, 74, 0.35);
  box-shadow: 0 26px 50px -22px rgba(0, 0, 0, 0.55);
}
#sc-green-advantages .sc-adv__card::before {
  content: counter(adv, decimal-leading-zero);
  position: absolute;
  top: 1rem;
  right: 1.1rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--soleco-gray-400);
  font-feature-settings: "tnum";
}
#sc-green-advantages .sc-adv__card::after {
  content: "";
  position: absolute;
  left: 1.55rem;
  right: 1.55rem;
  top: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--soleco-green-mid, #4da066) 35%, #c7f2d4 65%, transparent);
  opacity: 0.85;
}
#sc-green-advantages .sc-adv__metric {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin: 0.2rem 0 0.9rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.12);
}
#sc-green-advantages .sc-adv__value {
  font-size: clamp(2.4rem, 4.4vw, 3.2rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  background: linear-gradient(180deg, var(--soleco-green-dark) 0%, var(--soleco-green) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
}
#sc-green-advantages .sc-adv__unit {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--soleco-gray-400);
  text-transform: uppercase;
}
#sc-green-advantages .sc-adv__heading {
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: #1a1a1a;
  margin: 0 0 0.7rem;
}
#sc-green-advantages .sc-adv__body {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin: 0;
}
#sc-green-advantages .sc-adv__body p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--soleco-gray-700);
}
#sc-green-advantages .sc-adv__body p strong {
  color: #1a1a1a;
  font-weight: 700;
  background: linear-gradient(180deg, transparent 60%, rgba(48, 130, 74, 0.18) 60%);
  padding: 0 0.1em;
}

@media (max-width: 960px) {
  #sc-green-advantages .sc-adv__grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  #sc-green-advantages.sc-section {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }
}

/* Home: three-pillar block — white band; intro below picks up pale (was on this section) */
#sc-how-different.sc-section--pale,
#sc-how-different {
  background: var(--soleco-white);
}
#sc-intro {
  background: var(--soleco-green-pale);
}

.sc-section__inner {
  max-width: 1100px;
  margin: 0 auto;
}
.sc-section__title {
  text-align: center;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--soleco-green-dark);
  margin: 0.4rem 0 2.5rem;
}
.sc-section h2 {
  font-size: clamp(1.4rem, 2.8vw, 1.9rem);
  font-weight: 700;
  color: var(--soleco-dark);
  background: none;
  padding: 0;
  margin: 0 0 1.2rem;
  border-left: none;
  letter-spacing: -0.025em;
  line-height: 1.2;
}
.sc-section p {
  color: var(--soleco-gray-700);
  line-height: 1.7;
  margin-bottom: 1rem;
}

/* two-column layout */
.sc-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: stretch;
}
.sc-two-col--reversed { direction: rtl; }
.sc-two-col--reversed > * { direction: ltr; }
.sc-two-col__img {
  position: relative;
  min-height: 0;
}
.sc-two-col__img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 0;
  object-fit: cover;
  box-shadow: var(--soleco-shadow-lg);
  display: block;
}
.sc-two-col__apps {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* mission banner */
.sc-mission {
  background: linear-gradient(135deg, var(--soleco-green-dark), var(--soleco-green));
  padding: 4.5rem 2rem;
  text-align: center;
}
.sc-mission__inner {
  max-width: 720px;
  margin: 0 auto;
}
.sc-mission h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: #fff;
  margin: 0.4rem 0 0;
}
.sc-mission p {
  color: rgba(255,255,255,0.88);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-top: 1rem;
}
.sc-mission strong { color: #fff; }

/* feature cards */
.sc-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
}
.sc-feature {
  background: #fff;
  border-left: 4px solid var(--soleco-green);
  border-radius: var(--soleco-radius);
  box-shadow: var(--soleco-shadow);
  padding: 1.35rem 1.45rem;
  display: block;
  overflow: hidden;
  height: auto;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.sc-feature::before {
  content: none;
}
.sc-feature:has(.sc-feature__media):has(.sc-feature__body) {
  border-left: none;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(260px, 38%) 1fr;
  height: 320px;
  align-items: stretch;
}
.sc-feature:has(.sc-feature__media):has(.sc-feature__body):nth-child(even) {
  grid-template-columns: 1fr minmax(260px, 38%);
}
.sc-feature:has(.sc-feature__media):has(.sc-feature__body)::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: linear-gradient(180deg, var(--soleco-green), var(--soleco-green-dark));
  z-index: 2;
}
.sc-feature:has(.sc-feature__media):has(.sc-feature__body):nth-child(2)::before {
  background: linear-gradient(180deg, #2f8b57, #1f5c34);
}
.sc-feature:has(.sc-feature__media):has(.sc-feature__body):nth-child(3)::before {
  background: linear-gradient(180deg, #4da066, #2f8b57);
}
.sc-feature:hover {
  transform: translateY(-2px);
  box-shadow: var(--soleco-shadow-lg);
}
.sc-feature__media {
  min-height: 230px;
  position: relative;
}
.sc-feature__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
}
.sc-feature__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(15, 30, 15, 0.42), rgba(15, 30, 15, 0.1));
}
.sc-feature__body {
  padding: 1.35rem 1.45rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #f9fcfa 100%);
}
.sc-feature:has(.sc-feature__media):has(.sc-feature__body):nth-child(even) .sc-feature__media {
  order: 2;
}
.sc-feature:has(.sc-feature__media):has(.sc-feature__body):nth-child(even) .sc-feature__body {
  order: 1;
}
.sc-feature__icon {
  display: inline-flex;
  width: 2.2rem;
  height: 2.2rem;
  align-items: center;
  justify-content: center;
  margin: 0 0 0.8rem;
  border-radius: 999px;
  background: #edf7f0;
  color: var(--soleco-green);
}
.sc-feature__icon svg {
  width: 1.2rem;
  height: 1.2rem;
}
.sc-feature:has(.sc-feature__media):has(.sc-feature__body):nth-child(2) .sc-feature__body {
  background: linear-gradient(180deg, #ffffff 0%, #f4faf6 100%);
}
.sc-feature:has(.sc-feature__media):has(.sc-feature__body):nth-child(3) .sc-feature__body {
  background: linear-gradient(180deg, #ffffff 0%, #f1f8f4 100%);
}
.sc-feature__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.05rem;
  height: 2.05rem;
  margin-right: 0.7rem;
  border-radius: 999px;
  background: var(--soleco-green);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  vertical-align: middle;
}
.sc-feature h4 {
  font-size: clamp(1.25rem, 2.1vw, 1.55rem);
  font-weight: 800;
  color: var(--soleco-green-dark);
  margin: 0 0 0.55rem;
  display: flex;
  align-items: center;
  letter-spacing: -0.01em;
}
.sc-feature p {
  font-size: 0.9rem;
  color: var(--soleco-gray-700);
  margin: 0;
  line-height: 1.6;
}
.sc-feature__body p {
  margin: 0 0 0.62rem;
  line-height: 1.62;
  color: var(--soleco-gray-700);
  font-size: 0.93rem;
}
.sc-feature__body p:last-child {
  margin-bottom: 0;
}
.sc-feature__body p strong {
  color: var(--soleco-green-dark);
  font-weight: 800;
  background: linear-gradient(180deg, transparent 58%, rgba(77, 160, 102, 0.22) 58%);
  padding: 0 0.08em;
}

/* three-pillar home (home-page-v2) */
.sc-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}
.sc-pillar {
  background: #fff;
  border: 1px solid var(--soleco-gray-200);
  border-radius: var(--soleco-radius);
  box-shadow: var(--soleco-shadow);
  padding: 1.35rem 1.4rem;
}
.sc-pillar__title {
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--soleco-green-dark);
  margin: 0 0 0.75rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.sc-pillar .sc-pillar__list {
  margin: 0;
}
.sc-pillar .sc-pillar__list li {
  font-size: 0.88rem;
  line-height: 1.58;
}
.sc-pillars__more {
  text-align: center;
  margin: 2rem 0 0;
  font-size: 0.95rem;
  color: var(--soleco-gray-700);
}
.sc-pillars__more a {
  font-weight: 700;
  color: var(--soleco-green-dark);
}

/* callout box */
.sc-callout {
  background: var(--soleco-green-pale);
  border: 2px solid var(--soleco-green);
  border-radius: var(--soleco-radius);
  padding: 1.1rem 1.4rem;
  margin-top: 1.2rem;
}
.sc-callout p {
  font-weight: 700;
  color: var(--soleco-green-dark) !important;
  font-size: 0.97rem;
  margin: 0;
}

/* contact form (#contact) */
.sc-contact-form {
  position: relative;
  margin-top: 0.5rem;
}
.sc-contact-form__notice {
  padding: 0.85rem 1.1rem;
  border-radius: var(--soleco-radius);
  font-weight: 600;
  font-size: 0.95rem;
  margin: 0 0 1.25rem;
  line-height: 1.5;
}
.sc-contact-form__notice--success {
  background: var(--soleco-green-light);
  border: 1px solid var(--soleco-green);
  color: var(--soleco-green-dark);
}
.sc-contact-form__notice--error {
  background: #fff5f5;
  border: 1px solid #c53030;
  color: #742a2a;
}
.sc-contact-form__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.sc-contact-form__field {
  margin: 0 0 1.1rem;
}
.sc-contact-form__label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--soleco-green-dark);
  margin-bottom: 0.35rem;
}
.sc-contact-form__input,
.sc-contact-form__textarea {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--soleco-gray-200);
  border-radius: var(--soleco-radius);
  font: inherit;
  color: var(--soleco-dark);
  background: var(--soleco-white);
}
.sc-contact-form__textarea {
  resize: vertical;
  min-height: 8rem;
  line-height: 1.55;
}
.sc-contact-form fieldset.sc-contact-form__field--captcha {
  border: none;
  margin: 0 0 1.1rem;
  padding: 0;
  min-width: 0;
}
.sc-contact-form fieldset.sc-contact-form__field--captcha legend {
  padding: 0;
  float: left; /* removes legend bottom gap in some browsers */
  width: 100%;
}
.sc-contact-form__field--captcha .g-recaptcha {
  margin-top: 0.25rem;
  clear: both;
}
.site-footer-legal {
  margin: 0;
}
.site-footer-legal a {
  color: inherit;
  text-decoration: underline;
}
.site-footer-legal a:hover {
  color: var(--soleco-green, #1f5c34);
}

.sc-contact-form__field--consent {
  margin-top: 0.5rem;
}
.sc-contact-form__consent {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--soleco-gray-700, #4b5563);
}
.sc-contact-form__consent .sc-contact-form__checkbox {
  margin-top: 0.25rem;
  flex-shrink: 0;
}
.sc-contact-form__consent a {
  text-decoration: underline;
}
.sc-contact-form__actions {
  margin: 0;
}
.sc-contact-form__submit {
  margin-top: 0.25rem;
  border: none;
  cursor: pointer;
  font: inherit;
}

/* app cards */
.sc-app {
  background: var(--soleco-green-light);
  border-top: 4px solid var(--soleco-green);
  border-radius: var(--soleco-radius);
  padding: 1.1rem 1.3rem;
  box-shadow: var(--soleco-shadow);
}
.sc-app h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--soleco-green-dark);
  margin: 0 0 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.sc-app__icon {
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
  color: var(--soleco-green);
}
.sc-app p {
  font-size: 0.9rem;
  color: var(--soleco-gray-700);
  margin: 0;
  line-height: 1.6;
}

/* CTA section */
.sc-cta {
  position: relative;
  min-height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.sc-cta__bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.sc-cta__overlay {
  position: absolute;
  inset: 0;
  background: rgba(8,18,8,0.65);
  z-index: 1;
}
.sc-cta__inner {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 4rem 2rem;
  margin: 0 auto;
}
.sc-cta__inner h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: #fff;
  margin: 0;
}
.sc-cta__inner p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.88);
  margin: 1rem 0 0;
  line-height: 1.7;
}

/* ── Inner page hero ── */
.sc-page-hero {
  background: linear-gradient(135deg, var(--soleco-green-dark) 0%, var(--soleco-green) 100%);
  padding: 5rem 2rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.sc-page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M0 0h40v40H0V0zm40 40h40v40H40V40z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.sc-page-hero__inner {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
}
.sc-page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: #fff;
  margin: 0.5rem 0 0;
  letter-spacing: -0.025em;
  line-height: 1.15;
}
.sc-page-hero__sub,
.sc-page-hero p.sc-page-hero__sub,
.wp-block-post-content .sc-page-hero__sub {
  font-size: 1.1rem;
  color: #fff;
  margin: 1rem 0 0;
  line-height: 1.7;
}
.sc-page-hero .sc-kicker {
  color: #fff;
  opacity: 0.85;
}
.sc-page-hero .sc-divider {
  margin: 1.2rem auto 0;
}

/* step cards (installation process) */
.sc-steps {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.4rem;
  margin-top: 2.5rem;
}
.sc-step {
  background: #fff;
  border-radius: var(--soleco-radius);
  box-shadow: var(--soleco-shadow);
  border-top: 4px solid var(--soleco-green);
  padding: 1.5rem 1.6rem;
}
.sc-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  background: var(--soleco-green);
  color: #fff;
  border-radius: 0;
  font-weight: 800;
  font-size: 0.88rem;
  margin-bottom: 0.85rem;
}
.sc-step h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--soleco-green-dark);
  margin: 0 0 0.4rem;
}
.sc-step p {
  font-size: 0.9rem;
  color: var(--soleco-gray-700);
  margin: 0;
  line-height: 1.6;
}

/* case study cards */
.sc-cases {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.2rem;
  margin-top: 2rem;
}
.sc-case {
  background: var(--soleco-green-light);
  border-left: 4px solid var(--soleco-green);
  border-radius: var(--soleco-radius);
  padding: 1.1rem 1.3rem;
}
.sc-case strong {
  display: block;
  font-weight: 700;
  color: var(--soleco-green-dark);
  margin-bottom: 0.3rem;
}
.sc-case p {
  font-size: 0.9rem;
  color: var(--soleco-gray-700);
  margin: 0;
  line-height: 1.55;
}

/* case study cards */
.sc-cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.2rem;
  margin-top: 2rem;
}
.sc-case-card {
  background: #fff;
  border: 1px solid var(--soleco-gray-200);
  border-radius: var(--soleco-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.sc-case-card__head {
  background: var(--soleco-green-dark);
  padding: 0.75rem 1rem 0.7rem;
}
.sc-case-card__tag {
  display: block;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--soleco-green-light);
  margin-bottom: 0.2rem;
}
.sc-case-card__title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
  line-height: 1.3;
}
.sc-case-card__body {
  padding: 0.75rem 1rem 0.5rem;
  flex: 1;
}
.sc-case-meta {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 0.15rem 0.5rem;
  font-size: 0.82rem;
  line-height: 1.45;
}
.sc-case-meta dt {
  font-weight: 700;
  color: var(--soleco-green-dark);
}
.sc-case-meta dd {
  color: var(--soleco-gray-700);
  margin: 0;
}
.sc-case-card__gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 0.5rem 1rem 0.8rem;
}
.sc-thumb {
  width: 72px;
  height: 54px;
  border: none;
  padding: 0;
  border-radius: 3px;
  overflow: hidden;
  cursor: pointer;
  flex-shrink: 0;
  background: var(--soleco-gray-200);
}
.sc-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.18s;
}
.sc-thumb:hover img { opacity: 0.8; }

/* lightbox */
.sc-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.93);
  align-items: center;
  justify-content: center;
}
.sc-lightbox.is-open { display: flex; }
.sc-lightbox__img {
  max-width: 90vw;
  max-height: 86vh;
  object-fit: contain;
  border-radius: 3px;
  display: block;
}
.sc-lightbox__close {
  position: absolute;
  top: 0.8rem; right: 1rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.8;
}
.sc-lightbox__close:hover { opacity: 1; }
.sc-lightbox__prev,
.sc-lightbox__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.12);
  border: none;
  color: #fff;
  font-size: 2rem;
  padding: 0.4rem 0.75rem;
  cursor: pointer;
  border-radius: 4px;
  line-height: 1;
}
.sc-lightbox__prev:hover,
.sc-lightbox__next:hover { background: rgba(255,255,255,0.22); }
.sc-lightbox__prev { left: 1rem; }
.sc-lightbox__next { right: 1rem; }
.sc-lightbox__counter {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.6);
  font-size: 0.82rem;
}

/* stat row */
.sc-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0;
}
.sc-stat {
  flex: 1 1 180px;
  background: #fff;
  border-radius: var(--soleco-radius);
  box-shadow: var(--soleco-shadow);
  border-top: 3px solid var(--soleco-green);
  padding: 1.1rem 1.4rem;
  text-align: center;
}
.sc-stat strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--soleco-green-dark);
  margin-bottom: 0.2rem;
}
.sc-stat span {
  font-size: 0.82rem;
  color: var(--soleco-gray-400);
}

/* docs — category jump nav */
.sc-doc-nav {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 0 0 2.5rem;
  padding: .85rem 1rem;
  background: #fff;
  border: 1px solid var(--sc-line);
  border-radius: 6px;
}
.sc-doc-nav__item {
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--sc-ink-2);
  text-decoration: none;
  padding: .4rem .85rem;
  border-radius: 999px;
  background: var(--sc-soft);
  transition: background .2s, color .2s;
}
.sc-doc-nav__item:hover {
  background: var(--sc-accent);
  color: #fff;
}

/* docs — category section */
.sc-doc-cat { margin-top: 3rem; scroll-margin-top: 6rem; }
.sc-doc-cat:first-of-type { margin-top: 0; }
.sc-doc-cat__title {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--sc-ink);
  margin: 0 0 1rem;
  padding-bottom: .65rem;
  border-bottom: 1px solid var(--sc-line);
}

/* docs grid */
.sc-doc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}
.sc-doc-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--soleco-radius);
  box-shadow: var(--soleco-shadow);
  border-top: 4px solid var(--soleco-green);
  padding: 1.5rem;
}
.sc-doc-card__icon {
  display: block;
  color: var(--soleco-green);
  margin-bottom: 0.75rem;
}
.sc-doc-card__icon svg {
  width: 2rem;
  height: 2rem;
  display: block;
}
.sc-doc-card__langs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.6rem;
}
.sc-doc-card__lang {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.15em 0.5em;
  border-radius: 3px;
  background: var(--soleco-gray-200);
  color: var(--soleco-gray-700);
}
.sc-doc-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--soleco-green-dark);
  margin: 0 0 0.5rem;
  line-height: 1.4;
}
.sc-doc-card p {
  font-size: 0.9rem;
  color: var(--soleco-gray-700);
  margin: 0;
  line-height: 1.6;
  flex: 1;
}
.sc-doc-card__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.2rem;
}
a.sc-doc-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.4em 0.85em;
  border-radius: 4px;
  transition: background 0.15s ease, color 0.15s ease;
}
a.sc-doc-card__link svg {
  width: 0.95em;
  height: 0.95em;
  flex-shrink: 0;
}
a.sc-doc-card__link--html {
  background: var(--soleco-green-pale);
  color: var(--soleco-green-dark);
}
a.sc-doc-card__link--html:hover,
a.sc-doc-card__link--html:focus-visible {
  background: var(--soleco-green);
  color: #fff;
}
a.sc-doc-card__link--pdf {
  background: #fde8e8;
  color: #b91c1c;
}
a.sc-doc-card__link--pdf:hover,
a.sc-doc-card__link--pdf:focus-visible {
  background: #b91c1c;
  color: #fff;
}

/* news cards */
.sc-news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.sc-news-card {
  background: #fff;
  border-radius: var(--soleco-radius);
  box-shadow: var(--soleco-shadow);
  overflow: hidden;
  border-top: 4px solid var(--soleco-green);
  padding: 1.5rem;
}
.sc-news-card__body {
  padding: 1.5rem;
}
.sc-news-card__media {
  position: relative;
  width: 100%;
  height: clamp(5rem, 14vw, 6.75rem);
  background: var(--soleco-gray-200);
  overflow: hidden;
}
.sc-news-card__media .sc-news-card__img,
.sc-news-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.sc-news-card__source {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--soleco-green);
  margin: 0 0 0.5rem;
}
.sc-news-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--soleco-green-dark);
  margin: 0 0 0.6rem;
  line-height: 1.4;
}
.sc-news-card p {
  font-size: 0.9rem;
  color: var(--soleco-gray-700);
  margin: 0;
  line-height: 1.6;
}
a.sc-news-card--link {
  display: block;
  padding: 0;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
a.sc-news-card--link:hover,
a.sc-news-card--link:focus-visible {
  box-shadow: var(--soleco-shadow-lg);
  transform: translateY(-2px);
  outline: none;
}
.sc-news-card__cta {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--soleco-green);
}
a.sc-news-card--link:hover .sc-news-card__cta,
a.sc-news-card--link:focus-visible .sc-news-card__cta {
  color: var(--soleco-green-dark);
}
.sc-news-grid--empty {
  margin-top: 2.5rem;
}
.sc-news-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--soleco-gray-700);
  font-size: 1rem;
  margin: 0;
  padding: 2rem 1rem;
  background: var(--soleco-gray-100);
  border-radius: var(--soleco-radius);
}

/* single blog post (single-post.html) */
.sc-page-hero__sub--meta {
  opacity: 0.92;
  font-size: 1rem !important;
}
.sc-single-back {
  margin: 1.25rem 0 0;
}
.sc-single-back__arr {
  margin-right: 0.35em;
  text-decoration: none;
}
.sc-single-back__link {
  display: inline-block;
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff !important;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.sc-single-back__link:hover,
.sc-single-back__link:focus-visible {
  color: rgba(255,255,255,0.92) !important;
}
.sc-single-article .wp-block-post-featured-image.sc-single-featured {
  margin-bottom: 2rem;
}
.sc-single-article .wp-block-post-featured-image.sc-single-featured img {
  width: 100%;
  border-radius: var(--soleco-radius);
  box-shadow: var(--soleco-shadow-lg);
  display: block;
}
.sc-single-article .wp-block-post-content > *:first-child {
  margin-top: 0;
}

/* bullet list in sc-section */
.sc-list {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0;
}
.sc-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--soleco-gray-700);
  line-height: 1.6;
}
.sc-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--soleco-green);
}

@media (max-width: 782px) {
  /* Mobile header: [logo] ... [contact] [hamburger] */
  .site-header .site-header-row {
    justify-content: flex-start;
    gap: 0.55rem;
    flex-wrap: nowrap;
  }
  .site-header .site-brand          { order: 1; margin-right: auto; flex: 0 0 auto; }
  .site-header .site-header-tools   { order: 2; flex: 0 0 auto; }
  .site-header .site-main-nav,
  .site-header .wp-block-navigation { order: 3; flex: 0 0 auto; min-width: 0; }

  /* Force the hamburger toggle to show across full mobile breakpoint
     (WP nav block's own CSS hides it above ~600px by default). */
  .site-header .wp-block-navigation__responsive-container-open:not(.always-shown) {
    display: flex !important;
  }
  /* And keep the desktop horizontal items hidden up to our breakpoint. */
  .site-header .wp-block-navigation__responsive-container:not(.is-menu-open):not(.has-modal-open) {
    display: none !important;
  }
  .site-header .wp-block-navigation:not(.is-menu-open) > .wp-block-navigation__container {
    display: none;
  }

  /* Hide language switcher on mobile (contact + hamburger only on the right) */
  .site-header-tools .sc-lang-switcher,
  .site-header .trp-block-container { display: none; }

  .site-brand-logo img {
    max-width: 132px;
  }

  .site-contact-float {
    position: static;
    top: auto;
    right: auto;
  }

  .site-contact-float__icon {
    width: 1.72rem;
    height: 1.72rem;
    font-size: 0.78rem;
  }

  .site-contact-float__label {
    display: none;
  }

  /* Mobile overlay menu — centered items, no borders */
  .wp-block-navigation__responsive-container.is-menu-open {
    align-items: center;
  }
  .wp-block-navigation__responsive-container.is-menu-open
    .wp-block-navigation__responsive-container-content {
    align-items: center !important;
    flex: 1 1 auto;
    display: flex !important;
    flex-direction: column !important;
    width: 100%;
  }
  .wp-block-navigation__responsive-container.is-menu-open
    .wp-block-navigation__container,
  .wp-block-navigation__responsive-container.is-menu-open
    .wp-block-navigation-item {
    align-items: center !important;
    width: 100%;
  }

  /* Top-level items — large, bold */
  .wp-block-navigation__responsive-container.is-menu-open
    .wp-block-navigation__container
    > .wp-block-navigation-item
    > .wp-block-navigation-item__content {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--soleco-dark);
    text-align: center;
    justify-content: center;
    padding: 0.55rem 0;
    border: none !important;
    box-shadow: none !important;
    background: none !important;
    transition: color 0.2s ease;
    position: relative;
  }
  .wp-block-navigation__responsive-container.is-menu-open
    .wp-block-navigation__container
    > .wp-block-navigation-item
    > .wp-block-navigation-item__content::after {
    content: "";
    position: absolute;
    bottom: 0.3rem;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 2rem;
    height: 2px;
    background: var(--soleco-green);
    border-radius: 1px;
    transition: transform 0.22s ease;
  }
  .wp-block-navigation__responsive-container.is-menu-open
    .wp-block-navigation__container
    > .wp-block-navigation-item
    > .wp-block-navigation-item__content:hover,
  .wp-block-navigation__responsive-container.is-menu-open
    .wp-block-navigation__container
    > .current-menu-item
    > .wp-block-navigation-item__content {
    color: var(--soleco-green);
  }
  .wp-block-navigation__responsive-container.is-menu-open
    .wp-block-navigation__container
    > .wp-block-navigation-item
    > .wp-block-navigation-item__content:hover::after,
  .wp-block-navigation__responsive-container.is-menu-open
    .wp-block-navigation__container
    > .current-menu-item
    > .wp-block-navigation-item__content::after {
    transform: translateX(-50%) scaleX(1);
  }

  /* Sub-menu items — smaller, muted, indented */
  .wp-block-navigation__responsive-container.is-menu-open
    .wp-block-navigation__submenu-container {
    border: none !important;
    box-shadow: none !important;
    background: none !important;
    align-items: center !important;
    padding-top: 0.1rem !important;
    padding-bottom: 0.6rem !important;
  }
  .wp-block-navigation__responsive-container.is-menu-open
    .wp-block-navigation__submenu-container
    .wp-block-navigation-item__content {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--soleco-gray-400);
    text-align: center;
    justify-content: center;
    padding: 0.3rem 0;
    border: none !important;
    box-shadow: none !important;
    background: none !important;
    transition: color 0.18s ease;
  }
  .wp-block-navigation__responsive-container.is-menu-open
    .wp-block-navigation__submenu-container
    .wp-block-navigation-item__content:hover,
  .wp-block-navigation__responsive-container.is-menu-open
    .wp-block-navigation__submenu-container
    .current-menu-item
    .wp-block-navigation-item__content {
    color: var(--soleco-green);
  }

  /* Mobile language switcher — injected into the nav overlay by JS.
     Sits at the bottom of the open hamburger menu as a clean pill toggle. */
  .sc-lang-switcher-mobile-wrap {
    margin-top: auto;
    padding: 1.75rem 1rem 0.5rem;
    display: flex;
    justify-content: center;
  }

  .sc-lang-switcher--mobile {
    position: relative;
    display: inline-flex;
    align-items: stretch;
    gap: 0;
    padding: 0.25rem;
    border-radius: 999px;
    background: var(--soleco-gray-100);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.04);
    isolation: isolate;
    min-width: 9rem;
  }

  /* Sliding white knob — sits behind the active item and translates on swap. */
  .sc-lang-switcher--mobile::before {
    content: "";
    position: absolute;
    top: 0.25rem;
    bottom: 0.25rem;
    left: 0.25rem;
    width: calc(50% - 0.25rem);
    background: #fff;
    border-radius: 999px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    transform: translateX(0);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
  }

  .sc-lang-switcher--mobile[data-active="1"]::before {
    transform: translateX(100%);
  }

  .sc-lang-switcher--mobile .sc-lang-switcher__item {
    position: relative;
    z-index: 1;
    flex: 1 1 0;
    justify-content: center;
    padding: 0.45rem 1.1rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--soleco-gray-700);
    background: transparent;
    transition: color 0.25s ease;
  }

  .sc-lang-switcher--mobile .sc-lang-switcher__item:hover {
    background: transparent;
    color: var(--soleco-green);
  }

  .sc-lang-switcher--mobile .sc-lang-switcher__item--active {
    color: var(--soleco-green);
    background: transparent;
    box-shadow: none;
  }

  .sc-lang-switcher--mobile .sc-lang-switcher__label {
    display: inline;
  }

  .solecovia-badges {
    margin-top: 1rem;
  }

  .sc-two-col {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .sc-two-col--reversed { direction: ltr; }

  .sc-two-col__img {
    position: static;
  }
  .sc-two-col__img img {
    position: static;
    height: auto;
  }

  .sc-features {
    grid-template-columns: 1fr;
  }
  .sc-feature:has(.sc-feature__media):has(.sc-feature__body),
  .sc-feature:has(.sc-feature__media):has(.sc-feature__body):nth-child(even) {
    grid-template-columns: 1fr;
    height: auto;
  }
  .sc-feature:has(.sc-feature__media):has(.sc-feature__body):nth-child(even) .sc-feature__media,
  .sc-feature:has(.sc-feature__media):has(.sc-feature__body):nth-child(even) .sc-feature__body {
    order: initial;
  }
  .sc-feature__media {
    min-height: 190px;
  }
  .sc-feature {
    height: auto;
  }

  .sc-pillars {
    grid-template-columns: 1fr;
  }

  .sc-home-simple__hero-cta,
  .sc-home-simple__final-cta-actions {
    flex-direction: column;
    align-items: center;
  }
  .sc-home-simple__hero-cta .sc-btn,
  .sc-home-simple__final-cta-actions .sc-btn {
    width: min(100%, 320px);
    text-align: center;
  }
  .sc-home-simple__hero-cta {
    gap: 0.55rem;
    margin-top: 0.4rem;
  }
  .sc-home-simple__hero-cta .sc-btn {
    margin-top: 0;
    padding: 0.85rem 1.6rem;
  }

  .sc-page-hero {
    padding: 3.5rem 1.5rem 3rem;
  }

  .sc-page-hero h1 {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
  }

  .sc-steps {
    grid-template-columns: 1fr;
  }

  .sc-cases {
    grid-template-columns: 1fr;
  }

  .sc-stats {
    flex-direction: column;
  }
  .sc-stat {
    flex: 0 0 auto;
  }

  .sc-news-grid {
    grid-template-columns: 1fr;
  }

  .sc-banner__body {
    padding: 3rem 1.5rem;
    max-width: 100%;
  }

  .sc-banner__text {
    font-size: clamp(1.4rem, 6vw, 2rem);
  }
}

/* ── Per-language style overrides (:lang selectors) ───────────── */

/* French nav items are longer — allow wrapping to prevent overflow */
:lang(fr) .site-header .wp-block-navigation .wp-block-navigation-item__content {
  white-space: normal;
}


/* =============================================================
   SOLECOVIA · DESIGN BASE + NEW SECTIONS
   Source of truth: tmp/patch/solecovia-additions.css

   Strategy: this file extends the original style.css. Manrope and the
   new design tokens are applied site-wide; legacy --soleco-* tokens are
   re-aliased onto the new --sc-* palette so existing styles inherit the
   refreshed look without per-selector edits.
   ============================================================= */

/* ── Manrope (variable, single file, latin) ─────────────────── */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url('assets/fonts/Manrope-VariableFont_wght.woff2') format('woff2-variations'),
       url('assets/fonts/Manrope-VariableFont_wght.woff2') format('woff2');
}

/* ── Design tokens ──────────────────────────────────────────── */
:root {
  /* New palette (patch) — used by the four new sections directly */
  --sc-ink:        #0e0e0e;
  --sc-ink-2:      #2b2b2b;
  --sc-muted:      #6b6b6b;
  --sc-line:       #e6e6e6;
  --sc-soft:       #f6f5f2;
  --sc-soft-2:     #efeee9;
  --sc-accent:     #1f3d2b;
  --sc-accent-2:   #3d6b4d;
  --sc-highlight:  #d6eadc;

  /* Alias legacy tokens onto the new palette. Every existing rule
     in style.css that reads --soleco-* now picks up the new look. */
  --soleco-green:        var(--sc-accent-2);
  --soleco-green-dark:   var(--sc-accent);
  --soleco-green-mid:    var(--sc-accent-2);
  --soleco-green-light:  var(--sc-highlight);
  --soleco-green-pale:   var(--sc-soft);
  --soleco-dark:         var(--sc-ink);
  --soleco-gray-100:     var(--sc-soft);
  --soleco-gray-200:     var(--sc-line);
  --soleco-gray-400:     var(--sc-muted);
  --soleco-gray-700:     var(--sc-ink-2);
}

/* ── Site-wide typography ───────────────────────────────────── */
html,
body,
button,
input,
select,
textarea,
.editor-styles-wrapper {
  font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-feature-settings: "kern", "liga", "ss01", "cv11";
}

/* =============================================================
   NEW SECTION COMPONENTS (.sc-compare / .sc-process / .sc-cases / .sc-faq)
   Adapted from tmp/patch/solecovia-additions.css. Tokens reference
   --sc-* directly so these blocks always render as designed,
   regardless of legacy aliasing above.
   ============================================================= */

/* ── Shared text utilities ── */
.sc-eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sc-accent-2);
  margin: 0 0 0.6rem;
  text-align: center;
}

.sc-title {
  text-align: center;
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--sc-ink);
  max-width: 28ch;
  margin: 0.4rem auto 1.25rem;
}

.sc-lede {
  max-width: 60ch;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--sc-ink-2);
  margin: 0 auto 2.5rem;
  text-align: center;
}

.sc-container {
  max-width: 1100px;
  margin: 0 auto;
}

.sc-compare,
.sc-process,
.sc-cases,
.sc-faq {
  padding: 4.5rem 1.5rem;
  color: var(--sc-ink);
}

.sc-btn--ghost {
  background: transparent;
  color: var(--sc-ink);
  border: 1.5px solid var(--sc-ink);
  margin-top: 0;
}
.sc-btn--ghost:hover {
  background: var(--sc-ink);
  color: #fff;
  opacity: 1;
}

/* ── A. COMPARISON TABLE ── */
.sc-compare { background: var(--sc-soft); }

.sc-compare__table {
  margin-top: 2rem;
  background: #fff;
  border: 1px solid var(--sc-line);
  border-radius: 6px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.sc-compare__row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  min-width: 640px;
  border-bottom: 1px solid var(--sc-line);
}
.sc-compare__row:last-child { border-bottom: none; }

.sc-compare__cell {
  padding: 1.1rem 1.25rem;
  font-size: 0.9rem;
  line-height: 1.45;
  border-right: 1px solid var(--sc-line);
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--sc-ink-2);
}
.sc-compare__cell:last-child { border-right: none; }

.sc-compare__row--head {
  background: var(--sc-ink);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}
.sc-compare__row--head .sc-compare__cell {
  border-right: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.92);
}
.sc-compare__row--head .sc-compare__cell:last-child { border-right: none; }
.sc-compare__row--head .sc-compare__cell--us {
  background: var(--sc-accent);
  color: #fff;
}

.sc-compare__cell--crit {
  font-weight: 600;
  color: var(--sc-ink);
}
.sc-compare__cell--us { background: var(--sc-highlight); }

.sc-compare__cell .sc-big {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--sc-ink);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.sc-compare__cell--us .sc-big { color: var(--sc-accent); }
.sc-compare__cell .sc-sub { font-size: 0.75rem; color: var(--sc-muted); }

.sc-compare__foot {
  margin-top: 1.1rem;
  font-size: 0.75rem;
  color: var(--sc-muted);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Mobile column-switcher (hidden on desktop) */
.sc-compare__switch { display: none; }
.sc-compare__switch-btn { display: none; }

/* ── B. PROCESS TIMELINE ── */
.sc-process__track { margin-top: 3rem; position: relative; }
.sc-process__line {
  position: absolute;
  left: 0; right: 0;
  top: 14px;
  height: 2px;
  background: var(--sc-line);
  border-radius: 2px;
}
.sc-process__progress {
  position: absolute;
  left: 0; top: 14px;
  height: 2px;
  background: var(--sc-accent);
  border-radius: 2px;
  width: 0;
  transition: width .35s ease;
}
.sc-process__steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  position: relative;
  z-index: 1;
}
.sc-process__step {
  cursor: pointer;
  background: none;
  border: none;
  text-align: left;
  padding: 0;
  font: inherit;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: .85rem;
}
.sc-process__pin {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--sc-line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .72rem;
  font-weight: 700;
  color: var(--sc-muted);
  transition: all .25s;
}
.sc-process__step.is-active .sc-process__pin {
  background: var(--sc-accent);
  border-color: var(--sc-accent);
  color: #fff;
}
.sc-process__step.is-done .sc-process__pin {
  background: var(--sc-accent-2);
  border-color: var(--sc-accent-2);
  color: #fff;
}
.sc-process__steptitle {
  font-size: 1rem;
  font-weight: 600;
  color: var(--sc-ink);
  letter-spacing: -0.01em;
}
.sc-process__steptime { font-size: .75rem; color: var(--sc-muted); }
.sc-process__step:hover .sc-process__steptitle { color: var(--sc-accent); }

.sc-process__detail {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 2rem;
  background: var(--sc-soft);
  border-radius: 6px;
}
.sc-process__img {
  aspect-ratio: 4/3;
  border-radius: 4px;
  overflow: hidden;
  background: var(--sc-soft-2);
}
.sc-process__img img { width: 100%; height: 100%; object-fit: cover; display: block; }

.sc-process__text h3 {
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  font-weight: 700;
  color: var(--sc-ink);
  line-height: 1.15;
  margin: 0 0 .85rem;
  letter-spacing: -0.015em;
}
.sc-process__text h3::before { display: none; }
.sc-process__time {
  display: none;
  font-size: .8rem;
  color: var(--sc-muted);
  letter-spacing: 0.02em;
  margin: -0.5rem 0 1rem;
}
.sc-process__text p {
  font-size: .95rem;
  color: var(--sc-ink-2);
  margin: 0 0 1.2rem;
  line-height: 1.6;
}
.sc-process__meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  border-top: 1px solid var(--sc-line);
  padding-top: 1rem;
  margin: 0;
}
.sc-process__meta dt {
  font-size: .68rem;
  color: var(--sc-muted);
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.sc-process__meta dd {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--sc-ink);
  margin: 0;
}

/* ── D. CASE STUDIES ── */
section.sc-cases {
  display: block;
  margin-top: 0;
  background: var(--sc-soft);
}

.sc-cases__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

section.sc-cases .sc-case {
  background: #fff;
  border: 1px solid var(--sc-line);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 0;
  transition: transform .25s, box-shadow .25s;
}
section.sc-cases .sc-case:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(15,30,20,.08);
}

.sc-case__img {
  aspect-ratio: 4/3;
  background: var(--sc-soft-2);
  position: relative;
  overflow: hidden;
}
.sc-case__img img { width: 100%; height: 100%; object-fit: cover; display: block; }

.sc-case__tag {
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: #fff;
  color: var(--sc-accent);
  padding: 6px 10px;
  border-radius: 999px;
}

.sc-case__body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.sc-case__meta {
  font-size: .72rem;
  color: var(--sc-muted);
  font-weight: 500;
  margin-bottom: .65rem;
  display: flex;
  gap: .85rem;
  flex-wrap: wrap;
  letter-spacing: .04em;
}
.sc-case__meta span + span::before {
  content: "·";
  margin-right: .85rem;
  color: var(--sc-line);
}
.sc-case__t {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--sc-ink);
  line-height: 1.2;
  margin: 0 0 .65rem;
  letter-spacing: -0.01em;
}
.sc-case__d {
  font-size: .9rem;
  line-height: 1.55;
  color: var(--sc-ink-2);
  margin: 0 0 1.1rem;
  flex: 1;
}
.sc-case__result {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--sc-line);
}
.sc-case__result--vs {
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: .5rem;
}
.sc-case__vs {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--sc-muted);
  text-align: center;
  padding: 0 .25rem;
}
.sc-case__result--vs > div:not(.sc-case__vs) {
  text-align: center;
}
.sc-case__result .sc-v {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--sc-accent);
  letter-spacing: -0.01em;
  line-height: 1;
}
.sc-case__result .sc-k {
  font-size: .65rem;
  color: var(--sc-muted);
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-top: 4px;
}

.sc-cases__foot {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--sc-line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.sc-cases__foot p { color: var(--sc-muted); font-size: .88rem; max-width: 50ch; margin: 0; }

/* ── E. FAQ ── */
.sc-faq { background: #fff; }

.sc-faq__grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 4rem;
  align-items: start;
  margin-top: 2rem;
}
.sc-faq__side h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--sc-ink);
  margin: 0 0 .85rem;
  letter-spacing: -0.01em;
}
.sc-faq__side p {
  font-size: .95rem;
  color: var(--sc-ink-2);
  margin: 0 0 1.5rem;
  line-height: 1.6;
}
.sc-faq__downloads {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.sc-faq__download {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: var(--sc-ink);
  color: #fff;
  padding: 1.1rem 1.35rem;
  border-radius: 6px;
  text-decoration: none;
  transition: background .2s;
}
.sc-faq__download:hover { background: var(--sc-accent); color: #fff; }
.sc-faq__filemeta {
  display: block;
  font-size: .68rem;
  font-weight: 500;
  color: rgba(255,255,255,.7);
  margin-top: 4px;
  letter-spacing: .04em;
}

.sc-faq__list { border-top: 1px solid var(--sc-line); }
.sc-faq__item { border-bottom: 1px solid var(--sc-line); }

.sc-faq__q {
  width: 100%;
  background: none;
  border: none;
  padding: 1.4rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  cursor: pointer;
  font: inherit;
  text-align: left;
  color: var(--sc-ink);
  transition: color .2s;
}
.sc-faq__q:hover { color: var(--sc-accent); }

.sc-faq__qnum {
  font-size: .72rem;
  color: var(--sc-muted);
  font-weight: 600;
  width: 28px;
  flex-shrink: 0;
  letter-spacing: .04em;
}
.sc-faq__qtxt {
  font-size: 1.05rem;
  font-weight: 600;
  color: inherit;
  letter-spacing: -0.01em;
  flex: 1;
  line-height: 1.3;
}
.sc-faq__qtoggle {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--sc-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  color: var(--sc-ink);
  transition: all .2s;
}
.sc-faq__item.is-open .sc-faq__qtoggle {
  background: var(--sc-accent);
  color: #fff;
  transform: rotate(45deg);
}
.sc-faq__a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.sc-faq__ainner {
  padding: 0 0 1.5rem 52px;
  font-size: .95rem;
  color: var(--sc-ink-2);
  line-height: 1.65;
  max-width: 62ch;
}
.sc-faq__item.is-open .sc-faq__a { max-height: 600px; }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .sc-compare,
  .sc-process,
  .sc-cases,
  .sc-faq { padding: 3.25rem 1.25rem; }
  /* Comparison table: keep all 4 columns intact, allow horizontal scroll */
  .sc-compare__cell { padding: .85rem 1rem; font-size: .85rem; }
  /* Process steps: compact horizontal tab strip on mobile */
  .sc-process__steps {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 0.4rem;
    padding: 0;
  }
  .sc-process__step {
    flex: 1 1 0;
    min-width: 0;
    align-items: center;
    text-align: center;
    gap: 0;
  }
  /* Hide title and time on the tab itself — they show in the detail panel */
  .sc-process__steptitle,
  .sc-process__steptime { display: none; }
  /* Tab pin: bigger touch target, full underline on active */
  .sc-process__step .sc-process__pin {
    width: 38px;
    height: 38px;
    font-size: .82rem;
  }
  .sc-process__step.is-active .sc-process__pin {
    box-shadow: 0 0 0 3px rgba(31, 92, 52, 0.15);
  }
  .sc-process__line,
  .sc-process__progress { display: none; }
  /* Reveal the time line in the detail panel on mobile */
  .sc-process__time { display: block; }
  .sc-process__detail { grid-template-columns: 1fr; gap: 1.25rem; padding: 1.5rem; }
  .sc-process__detail .sc-process__img { order: 1; }
  .sc-process__detail .sc-process__text { order: 2; }
  .sc-cases__grid { grid-template-columns: 1fr; }
  .sc-faq__grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* Very narrow phones: drop process gap */
@media (max-width: 480px) {
  .sc-process__steps { gap: 1rem; }
}

/* Phones: comparison table becomes a 3-column picker layout
   (Criterion | LL-TECH | one selected method) with a tab switcher above. */
@media (max-width: 720px) {
  .sc-compare__switch {
    display: flex;
    gap: 0.5rem;
    margin-top: 1.5rem;
    padding: 4px;
    background: #fff;
    border: 1px solid var(--sc-line);
    border-radius: 999px;
  }
  .sc-compare__switch-btn {
    display: block;
    flex: 1 1 0;
    min-width: 0;
    padding: 0.55rem 0.75rem;
    background: transparent;
    border: 0;
    border-radius: 999px;
    font: inherit;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--sc-ink-2);
    cursor: pointer;
    line-height: 1.2;
    transition: background 0.15s, color 0.15s;
  }
  .sc-compare__switch-btn.is-active {
    background: var(--sc-ink);
    color: #fff;
  }

  .sc-compare__table {
    margin-top: 0.6rem;
    overflow: visible;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1.1fr);
  }
  .sc-compare__row {
    display: grid;
    grid-template-columns: subgrid;
    grid-column: 1 / -1;
    min-width: 0;
  }
  /* In trad mode: hide the cement column (4th cell of each row) */
  .sc-compare__table.is-mode-trad .sc-compare__cell:nth-child(4) {
    display: none;
  }
  /* In cement mode: hide the traditional column (3rd cell of each row) */
  .sc-compare__table.is-mode-cement .sc-compare__cell:nth-child(3) {
    display: none;
  }

  .sc-compare__cell {
    padding: .75rem .85rem;
    font-size: .82rem;
    min-width: 0;
  }
  .sc-compare__cell .sc-big { font-size: 1rem; }
}

/* =============================================================
   FIRST NATIONS / INUIT QUEBEC LANDING (.sc-fn-*)
   Standalone landing reachable at /first-nations/.
   Uses the existing .sc-* design system; only adds a few
   landing-specific compositions (hero overlay, steps list, gallery,
   stats strip) without overriding shared tokens.
   ============================================================= */

.sc-fn-hero {
  position: relative;
  isolation: isolate;
  min-height: 78vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
}
.sc-fn-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.sc-fn-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(10, 26, 18, .55) 0%, rgba(10, 26, 18, .78) 100%);
}
.sc-fn-hero .sc-fn-hero__inner {
  color: #fff;
  text-align: left;
  max-width: 980px;
}
.sc-fn-hero h1 {
  color: #fff;
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  line-height: 1.12;
  margin: .35rem 0 1rem;
}
.sc-fn-hero .sc-page-hero__sub {
  color: rgba(255, 255, 255, .92);
  max-width: 60ch;
  font-size: clamp(1rem, 1.25vw, 1.18rem);
}
.sc-fn-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.6rem;
}
.sc-fn-hero__cta .sc-btn {
  /* Reset .sc-btn's baked-in margin-top: 2rem so the flex `gap` is the only
     spacing between the two buttons. Otherwise wrapped buttons on mobile drift
     ~2rem apart. */
  margin-top: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .9rem 1.4rem;
  border-radius: 999px;
  font-size: .98rem;
  letter-spacing: 0.01em;
  line-height: 1.25;
  /* Allow long French labels to wrap rather than clip on narrow phones. */
  white-space: normal;
  text-align: center;
  overflow-wrap: anywhere;
  max-width: 100%;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, opacity .2s ease;
}
.sc-fn-hero__cta .sc-btn--green {
  box-shadow: 0 8px 20px rgba(0, 0, 0, .22);
}
.sc-fn-hero__cta .sc-btn--green:hover {
  transform: translateY(-1px);
  opacity: 1;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .28);
}
.sc-fn-hero__cta .sc-btn--white {
  background: rgba(255, 255, 255, .96);
  color: var(--sc-accent, #1f3d2b);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25);
}
.sc-fn-hero__cta .sc-btn--white:hover {
  background: #fff;
  transform: translateY(-1px);
  opacity: 1;
}

@media (max-width: 540px) {
  .sc-fn-hero__cta {
    /* On phones, stack buttons full-width with a small gap so they read as
       a clean primary/secondary action stack rather than a wrapped row. */
    flex-direction: column;
    align-items: stretch;
    gap: .5rem;
    margin-top: 1.25rem;
  }
  .sc-fn-hero__cta .sc-btn {
    width: 100%;
    padding: .9rem 1.2rem;
  }
}

.sc-fn-steps {
  list-style: none;
  margin: 1.25rem 0 1.25rem;
  padding: 0;
  counter-reset: fn-step;
  display: flex;
  flex-direction: column;
  gap: .8rem;
}
.sc-fn-steps li {
  position: relative;
  padding: .9rem 1rem .9rem 3.25rem;
  background: var(--sc-pale, #f6f4ee);
  border-left: 3px solid var(--soleco-green, #3a6f3f);
  border-radius: 6px;
  counter-increment: fn-step;
  line-height: 1.55;
}
.sc-fn-steps li::before {
  content: counter(fn-step);
  position: absolute;
  left: .85rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.85rem;
  height: 1.85rem;
  display: grid;
  place-items: center;
  background: var(--soleco-green, #3a6f3f);
  color: #fff;
  border-radius: 50%;
  font-weight: 700;
  font-size: .9rem;
}

.sc-fn-gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}
.sc-fn-gallery figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 22px rgba(0, 0, 0, .06);
}
.sc-fn-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
.sc-fn-gallery figcaption {
  padding: .9rem 1rem 1.05rem;
  font-size: .9rem;
  color: var(--sc-muted, #4d4d4d);
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: .55rem;
}
.sc-fn-step-num {
  flex: 0 0 1.55rem;
  width: 1.55rem;
  height: 1.55rem;
  display: grid;
  place-items: center;
  background: var(--soleco-green, #3a6f3f);
  color: #fff;
  border-radius: 50%;
  font-weight: 700;
  font-size: .82rem;
  margin-top: .05rem;
}

.sc-fn-numbers {
  background: var(--soleco-green-dark, #1e3a23);
  color: #fff;
}
.sc-fn-numbers .sc-kicker { color: rgba(255, 255, 255, .78); }
.sc-fn-numbers h2,
.sc-fn-numbers .sc-section__title { color: #fff; }
.sc-fn-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin: 2rem 0 1.5rem;
}
.sc-fn-stat {
  text-align: center;
  padding: 1.5rem 1rem;
  background: rgba(255, 255, 255, .06);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .12);
}
.sc-fn-stat__num {
  display: block;
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: .55rem;
  color: #fff;
  letter-spacing: -0.01em;
}
.sc-fn-stat__num small { font-size: .55em; font-weight: 600; opacity: .82; margin-left: .15em; }
.sc-fn-stat__num sup { font-size: .55em; font-weight: 600; }
.sc-fn-stat__label {
  display: block;
  font-size: .88rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, .82);
}
.sc-fn-numbers .sc-fn-numbers__note {
  text-align: center;
  max-width: 78ch;
  margin: 1.5rem auto 0;
  font-size: .92rem;
  color: rgba(255, 255, 255, .82);
  font-style: italic;
}

.sc-fn-stewardship .sc-two-col__img img { border-radius: 10px; }

.sc-fn-cta { text-align: center; }
.sc-fn-cta__actions {
  display: flex;
  justify-content: center;
  gap: .85rem;
  margin-top: 1.4rem;
  flex-wrap: wrap;
}

@media (max-width: 1200px) {
  .sc-fn-gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 960px) {
  .sc-fn-hero { min-height: 68vh; }
  .sc-fn-gallery { grid-template-columns: repeat(2, 1fr); }
  .sc-fn-stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .sc-fn-gallery { grid-template-columns: 1fr; }
  .sc-fn-stats { grid-template-columns: 1fr; }
}

/* ── Kill the WP block-flow seam between page sections (global) ──
   WordPress's is-layout-flow rule sets margin-block-start: 1.2rem on every
   direct child of .entry-content. That exposes the body's white background
   as a thin seam between sections of contrasting colors. Reset on every
   page so sections flow flush. Specificity 0,1,1 beats WP's :where()-wrapped
   0,0,0 rule. */
.entry-content > * {
  margin-block-start: 0;
}

/* ── Three Promises billboard (cheaper / faster / no special kit) ── */
.sc-fn-promises {
  position: relative;
  background: var(--sc-soft, #f6f5f2);
  color: var(--sc-ink, #0e0e0e);
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}
/* Soft transition strip at the top: the cream section visually rises out of
   the dark hero. Sits inside the section, doesn't add any layout height. */
.sc-fn-promises::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(180deg,
    rgba(10, 26, 18, .18) 0%,
    rgba(10, 26, 18, .05) 45%,
    transparent 100%);
  pointer-events: none;
  z-index: 0;
}
.sc-fn-promises > .sc-section__inner {
  position: relative;
  z-index: 1;
}
.sc-fn-promises .sc-kicker { color: var(--sc-accent-2, #3d6b4d); }
.sc-fn-promises .sc-section__title,
.sc-fn-promises h2 { color: var(--sc-ink, #0e0e0e); }
.sc-fn-promises__lede {
  color: var(--sc-ink-2, #2b2b2b);
  text-align: center;
  max-width: 64ch;
  margin: 0 auto 2rem;
  font-size: 1.05rem;
  line-height: 1.6;
}
.sc-fn-promises__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
.sc-fn-promises__card {
  background: #fff;
  border: 1px solid var(--sc-line, #e6e6e6);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .06), 0 2px 4px rgba(0, 0, 0, .03);
  transition: transform .25s ease, box-shadow .25s ease;
}
.sc-fn-promises__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 38px rgba(0, 0, 0, .09), 0 3px 6px rgba(0, 0, 0, .04);
}
.sc-fn-promises__photo {
  position: relative;
  display: block;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--sc-soft-2, #efeee9);
}
.sc-fn-promises__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.sc-fn-promises__photo::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 35%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .35) 100%);
  pointer-events: none;
}
.sc-fn-promises__icon {
  position: absolute;
  left: 1.1rem;
  bottom: 1.1rem;
  z-index: 1;
  display: inline-grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  background: var(--sc-accent, #1f3d2b);
  color: #fff;
  border-radius: 50%;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  box-shadow: 0 4px 14px rgba(31, 61, 43, .35);
}
.sc-fn-promises__body {
  padding: 1.5rem 1.4rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: .65rem;
}
.sc-fn-promises__sub {
  color: var(--sc-accent-2, #3d6b4d);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin: 0;
}
.sc-fn-promises__card h3 {
  color: var(--sc-accent, #1f3d2b);
  font-size: clamp(1.5rem, 2.4vw, 1.95rem);
  font-weight: 800;
  line-height: 1.1;
  margin: 0;
  letter-spacing: -0.015em;
}
.sc-fn-promises__card p {
  color: var(--sc-ink-2, #2b2b2b);
  font-size: 1rem;
  line-height: 1.6;
  margin: .15rem 0 0;
}
.sc-fn-promises__card strong {
  color: var(--sc-ink, #0e0e0e);
  font-weight: 800;
  box-shadow: inset 0 -.32em 0 0 var(--sc-highlight, #d6eadc);
  padding: 0 .1em;
}

/* ── Inline pillar-emphasis class (peppered through the page) ── */
.sc-fn-pop {
  font-weight: 800;
  color: var(--sc-accent, #1f3d2b);
  text-decoration: underline;
  text-decoration-color: var(--sc-accent-2, #3d6b4d);
  text-decoration-thickness: 3px;
  text-underline-offset: 3px;
}
/* On dark sections (hero, numbers strip) keep it light */
.sc-fn-hero .sc-fn-pop,
.sc-fn-numbers .sc-fn-pop {
  color: #fff;
  text-decoration-color: var(--sc-highlight, #d6eadc);
}

/* Compact recap strip just above the pilot CTA */
.sc-fn-recap {
  background: var(--sc-soft, #f6f5f2);
  padding: 1.6rem 1rem;
  border-top: 1px solid var(--sc-line, #e6e6e6);
  border-bottom: 1px solid var(--sc-line, #e6e6e6);
}
.sc-fn-recap__row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.1rem 2rem;
  text-align: center;
}
.sc-fn-recap__chip {
  display: inline-flex;
  align-items: baseline;
  gap: .55rem;
  font-size: 1.05rem;
  color: var(--sc-ink, #0e0e0e);
  line-height: 1.3;
}
.sc-fn-recap__chip span {
  font-weight: 800;
  font-size: 1.18rem;
  color: var(--sc-accent, #1f3d2b);
  letter-spacing: -0.01em;
}
.sc-fn-recap__sep {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--sc-accent-2, #3d6b4d);
  border-radius: 50%;
}

@media (max-width: 860px) {
  .sc-fn-promises__grid { grid-template-columns: 1fr; }
  .sc-fn-recap__sep { display: none; }
}

/* ── Narrow-phone safety (≤480px, baseline 320px) ────────────────
   Stack the recap chips so each pillar gets its own line; keep text
   from clipping inside any FN-page card or button. */
@media (max-width: 480px) {
  .sc-fn-recap__row {
    flex-direction: column;
    gap: .55rem;
  }
  .sc-fn-recap__chip {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    font-size: 1rem;
  }
  .sc-fn-recap__chip span { font-size: 1.1rem; }
  /* Tighten section side padding so 320px viewports keep ~272–280px of
     readable content width instead of getting eaten by 1.5rem*2 padding. */
  .sc-section { padding-left: 1.1rem; padding-right: 1.1rem; }
  .sc-fn-promises__body { padding-left: 1.15rem; padding-right: 1.15rem; }
  .sc-fn-paths__col { padding-left: 1.1rem; padding-right: 1.1rem; }
  /* Allow any long French phrases / acronyms to break inside cards. */
  .sc-fn-promises__card p,
  .sc-fn-promises__card h3,
  .sc-fn-paths__list li,
  .sc-feature p,
  .sc-feature h4 {
    overflow-wrap: anywhere;
  }
}

/* ── 320px baseline — the smallest officially-supported width ──── */
@media (max-width: 360px) {
  .sc-page-hero { padding-left: 1.1rem; padding-right: 1.1rem; }
  .sc-fn-hero h1 { font-size: clamp(1.7rem, 8vw, 2.1rem); }
  .sc-fn-hero .sc-page-hero__sub { font-size: .95rem; }
  .sc-fn-hero__cta .sc-btn { padding: .85rem 1.1rem; font-size: .94rem; }
  .sc-fn-stats { gap: .9rem; }
  .sc-fn-stat__num { font-size: 1.55rem; }
}

/* ── Quebec Regulatory Fit (Section A) ────────────────────────── */
.sc-fn-compliance .sc-features {
  margin-top: 2.25rem;
}
.sc-fn-compliance__note {
  margin: 2.25rem auto 0;
  max-width: 70ch;
  text-align: center;
  font-size: .95rem;
  line-height: 1.6;
  color: var(--sc-muted, #6b6b6b);
  font-style: italic;
}

/* ── Two Regulatory Worlds (Section B) ────────────────────────── */
.sc-fn-paths__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2.25rem;
  position: relative;
}
.sc-fn-paths__grid::before {
  content: '';
  position: absolute;
  top: 1.25rem;
  bottom: 1.25rem;
  left: 50%;
  width: 1px;
  background: var(--sc-line, #e6e6e6);
  transform: translateX(-50%);
  pointer-events: none;
}
.sc-fn-paths__col {
  padding: 1.6rem 1.4rem 1.4rem;
  border-top: 3px solid var(--sc-accent-2, #3d6b4d);
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .03);
}
.sc-fn-paths__tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sc-accent-2, #3d6b4d);
  margin-bottom: .55rem;
}
.sc-fn-paths__col h3 {
  margin: 0 0 1rem;
  font-size: clamp(1.2rem, 1.7vw, 1.45rem);
  line-height: 1.25;
  color: var(--sc-ink, #0e0e0e);
}
.sc-fn-paths__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.sc-fn-paths__list li {
  position: relative;
  padding-left: 1.25rem;
  line-height: 1.55;
  font-size: .96rem;
  color: var(--sc-ink-2, #2b2b2b);
}
.sc-fn-paths__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .65em;
  width: .5rem;
  height: .5rem;
  border-radius: 50%;
  background: var(--sc-accent-2, #3d6b4d);
}
.sc-fn-paths__list li strong { color: var(--sc-ink, #0e0e0e); }
.sc-fn-paths__list li em { font-style: italic; }

@media (max-width: 860px) {
  .sc-fn-paths__grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .sc-fn-paths__grid::before { display: none; }
}
