/* Homepage block compatibility layer for migrated rendered HTML blocks. */
/* Source adapted from previous williams_theme styles and scoped to wl_theme IDs/classes. */
/* Right panel area */
.wl-home-hero__right {
  min-width: 0;
  display: flex;
  justify-content: flex-end; /* keeps form panel to the right */
}

/* Let the block content control width, but cap it to match screenshot */
.wl-home-hero__right > * {
  width: 100%;
  max-width: 560px;
}

/* =========================
   Drupal wrapper safety
   (contextual-region wrappers can mess flow)
   ========================= */
.wl-home-hero .contextual-region {
  position: relative;
}

.wl-home-hero .contextual {
  /* Keep contextual UI from affecting layout */
  position: absolute;
  top: 0;
  right: 0;
}

/* =========================
   LEFT block styles
   ========================= */
.wl-home-hero .hero-left {
  max-width: 720px;
}

.wl-home-hero .hero-left h1 {
  margin: 0 0 14px;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
}

.wl-home-hero .hero-left .sub {
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 22.4px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.82);
}

.wl-home-hero .checks {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: grid;
  gap: 10px;
}

.wl-home-hero .checks li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  line-height: 20px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}

.wl-home-hero .checks .check {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin-top: 1px;
  color: rgba(255, 255, 255, 0.92);
  opacity: 0.95;
}

/* Rating row */
.wl-home-hero .rating-row {
  margin: 16px 0 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  line-height: 18px;
}

.wl-home-hero .rating-row .stars {
  display: inline-flex;
  gap: 4px;
  align-items: center;
}

.wl-home-hero .rating-row .star {
  width: 16px;
  height: 16px;
  color: rgba(255, 255, 255, 0.92);
  opacity: 0.95;
}

/* CTA row */
.wl-home-hero .cta-row {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.wl-home-hero .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.2px;
}

.wl-home-hero .btn.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.06);
}

.wl-home-hero .btn.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* Social icons */
.wl-home-hero .social {
  display: inline-flex;
  gap: 10px;
  align-items: center;
}

.wl-home-hero .social a {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  text-decoration: none;
}

.wl-home-hero .social a:hover {
  background: rgba(255, 255, 255, 0.14);
}

.wl-home-hero .social svg {
  width: 18px;
  height: 18px;
}

/* =========================
   RIGHT panel styles (match latest screenshot)
   No blur, just transparency
   ========================= */
.wl-home-hero .panel {
  /* Big translucent rectangle */
  background: rgba(60, 60, 60, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 2px;
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}

.wl-home-hero .panel-inner {
  padding: 26px 32px 22px;
}

/* Title */
.wl-home-hero .panel h2 {
  margin: 0 0 18px;
  text-align: center;
  text-transform: uppercase;
  font-size: 22px;
  line-height: 28px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.96);
}

.wl-home-hero .panel h2 .free {
  color: var(--green);
}

/* Fields */
.wl-home-hero .panel .field {
  margin: 14px 0;
}

/* Inputs like screenshot: see-through, square, thin border */
.wl-home-hero .panel .input,
.wl-home-hero .panel .select,
.wl-home-hero .panel .textarea {
  width: 100%;
  border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  background: rgba(0, 0, 0, 0.1);
  padding: 12px 14px;
  font-size: 14px;
  line-height: 18px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  outline: none;
}

/* Placeholder + option text */
.wl-home-hero .panel .input::-moz-placeholder, .wl-home-hero .panel .textarea::-moz-placeholder {
  color: rgba(255, 255, 255, 0.68);
  font-weight: 600;
}
.wl-home-hero .panel .input::placeholder,
.wl-home-hero .panel .textarea::placeholder {
  color: rgba(255, 255, 255, 0.68);
  font-weight: 600;
}

.wl-home-hero .panel .select {
  color: rgba(255, 255, 255, 0.95);
}

/* Textareas */
.wl-home-hero .panel .textarea {
  min-height: 110px;
  resize: vertical;
}

/* Focus: green border only (no glow/blur) */
.wl-home-hero .panel .input:focus,
.wl-home-hero .panel .select:focus,
.wl-home-hero .panel .textarea:focus {
  border-color: var(--green);
}

/* Select caret */
.wl-home-hero .panel .select-wrap {
  position: relative;
}

.wl-home-hero .panel .select {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  padding-right: 46px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.wl-home-hero .panel .select-caret {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  pointer-events: none;
  color: var(--green);
  opacity: 0.95;
}

/* Submit: outlined pill */
.wl-home-hero .panel .submit {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  padding: 12px 16px;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  background: transparent;
  color: rgba(255, 255, 255, 0.95);
}

.wl-home-hero .panel .submit:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* Note */
.wl-home-hero .panel-note {
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  text-align: center;
}

/* =========================
   Mobile
   ========================= */
@media (max-width: 900px) {
  .wl-home-hero__inner {
    grid-template-columns: 1fr;
    gap: 26px;
    min-height: auto;
    align-items: start;
  }
  .wl-home-hero__right {
    justify-content: stretch;
  }
  .wl-home-hero__right > * {
    max-width: 100%;
  }
  .wl-home-hero {
    padding: 44px 0;
  }
  .wl-home-hero .panel-inner {
    padding: 22px 18px 18px;
  }
}
/* Trustbar block (under hero / main content)
   Goal (per mock): full-width green bar, centered inner container with dashed white outline,
   badges centered inside.
*/
.trustbar {
  width: 100%;
  background: var(--green);
  padding: 14px 0;
}

.trustbar .trustbar-inner {
  /* This assumes your global .container sets max-width; we still want it centered */
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Dashed outline box from the mock */
.trustbar .trustbox {
  width: 100%;
  max-width: 1100px;
  min-height: 64px;
  border: 2px dashed rgba(255, 255, 255, 0.85);
  border-radius: 0; /* mock looks square */
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

/* Each badge */
.trustbar .trustlogo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.95);
  text-decoration: none;
}

/* Icons */
.trustbar .trustlogo svg {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: block;
}

/* Text stack */
.trustbar .trustlogo .ttext {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  letter-spacing: 0.2px;
}

.trustbar .trustlogo .ttext strong {
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.trustbar .trustlogo .ttext span {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  opacity: 0.95;
}

/* Tighter like the mock (less “pill”, more badge) */
.trustbar .trustlogo[aria-label="BBB Accredited Business"] {
  background: rgba(255, 255, 255, 0.12);
}

/* Mobile */
@media (max-width: 900px) {
  .trustbar {
    padding: 12px 0;
  }
  .trustbar .trustbox {
    max-width: 100%;
    padding: 10px 12px;
    gap: 12px;
    flex-wrap: wrap;
  }
  .trustbar .trustlogo {
    width: 100%;
    justify-content: center;
  }
}
/* =========================
   Services block (UPDATED for your new HTML wrapper)

   New structure:
   #block-wl-theme-services
     > div
       > section.services
         > .container
            .services-head
            .cards
              article.service-card (has --bg)
            .section-cta .btn-ghost

   We still anchor everything off the block ID so styles always hit.
   ========================= */
#block-wl-theme-services {
  position: relative;
  padding: clamp(52px, 6vw, 92px) 0;
  overflow: hidden;
  /* Big section background */
  background: radial-gradient(1100px 520px at 50% 12%, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0) 60%), linear-gradient(180deg, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.94)), url("/themes/custom/wl_theme/images/services/service-bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: rgba(255, 255, 255, 0.92);
}

/* Ensure section content sits above the border */
#block-wl-theme-services .services {
  position: relative;
  z-index: 2;
}

/* Use your existing global .container, but ensure consistent width/padding for this section */
#block-wl-theme-services .services > .container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}

/* =========================
   Header (title area)
   ========================= */
#block-wl-theme-services .services-head {
  position: relative;
  text-align: center;
  max-width: 980px;
  margin: 0 auto 34px;
  padding: 0 10px;
}

#block-wl-theme-services .services-head h2 {
  margin: 0 0 10px;
  font-size: clamp(28px, 3.2vw, 48px);
  line-height: 1.05;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.96);
}

#block-wl-theme-services .services-head p {
  margin: 0 auto;
  max-width: 760px;
  font-size: 13px;
  line-height: 19px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.72);
}

/* little green underline */
#block-wl-theme-services .services-underline {
  width: 46px;
  height: 3px;
  margin: 14px auto 0;
  background: var(--green);
  border-radius: 999px;
  opacity: 0.95;
}

/* Diamond badge (20+ years) */
#block-wl-theme-services .years-badge {
  position: absolute;
  right: 6%;
  top: -6px;
  width: 120px;
  height: 120px;
  background: var(--green);
  border-radius: 14px;
  transform: rotate(45deg);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.38);
  display: grid;
  place-items: center;
}

#block-wl-theme-services .years-badge .inner {
  transform: rotate(-45deg);
  text-align: center;
  color: #0c1a0f;
}

#block-wl-theme-services .years-badge .big {
  font-size: 18px;
  font-weight: 900;
  line-height: 1.05;
}

#block-wl-theme-services .years-badge .small {
  margin-top: 2px;
  font-size: 11px;
  font-weight: 800;
  opacity: 0.9;
}

/* =========================
   Cards grid
   ========================= */
#block-wl-theme-services .cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

/* ONE card tile */
#block-wl-theme-services .service-card {
  position: relative;
  min-height: 330px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  background: #000; /* fallback */
  transition: transform 0.18s ease, border-color 0.18s ease;
}

/* Background image layer */
#block-wl-theme-services .service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.01);
}

/* Dark overlay like mock */
#block-wl-theme-services .service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(900px 260px at 50% 10%, rgba(255, 255, 255, 0.06), rgba(0, 0, 0, 0) 60%), linear-gradient(180deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.82));
}

/* Content sits above bg layers */
#block-wl-theme-services .service-card .content {
  position: relative;
  z-index: 2;
  height: 100%;
  min-height: inherit;
  display: flex;
  flex-direction: column;
  padding: 18px 18px 16px;
  background: rgba(0, 0, 0, 0.18); /* subtle tint */
}

/* Inner wrapper fills height so CTA can sit at bottom */
#block-wl-theme-services .service-card .content > div {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Description */
#block-wl-theme-services .service-card .desc {
  margin-bottom: 14px;
}

#block-wl-theme-services .service-card .desc .card {
  display: block;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  line-height: 17px;
  font-weight: 600;
}

/* Lists */
#block-wl-theme-services .service-card .lists {
  margin: 0 0 16px;
}

#block-wl-theme-services .service-card .lists ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 14px;
}

#block-wl-theme-services .service-card .lists li {
  display: flex;
  align-items: center;
  gap: 8px;
}

#block-wl-theme-services .service-card .lists li::before {
  content: "▶";
  font-size: 10px;
  opacity: 0.65;
  transform: translateY(-1px);
  color: rgba(255, 255, 255, 0.75);
}

#block-wl-theme-services .service-card .lists a.card {
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.9);
}

/* CTA bottom bar */
#block-wl-theme-services .service-card .cta {
  margin-top: auto;
  padding-top: 10px;
}

#block-wl-theme-services .service-card .cta .card {
  display: block;
  width: 100%;
  text-align: center;
  padding: 12px 12px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 900;
  font-size: 13px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.95);
  background: rgba(0, 0, 0, 0.35);
}

/* Hover */
#block-wl-theme-services .service-card:hover {
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

#block-wl-theme-services .service-card:hover .cta .card {
  border-color: rgba(255, 255, 255, 0.42);
}

/* =========================
   Responsive
   ========================= */
@media (max-width: 1100px) {
  #block-wl-theme-services .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  #block-wl-theme-services .years-badge {
    right: 3%;
  }
}
@media (max-width: 900px) {
  #block-wl-theme-services::after {
    inset: 12px;
  }
  #block-wl-theme-services .services-head {
    margin-bottom: 26px;
  }
  #block-wl-theme-services .years-badge {
    display: none;
  }
  #block-wl-theme-services .service-card {
    min-height: 310px;
  }
}
@media (max-width: 700px) {
  #block-wl-theme-services .cards {
    grid-template-columns: 1fr;
  }
}
/* =========================
   Recent Projects block (UPDATED for current rendered HTML)

   Rendered HTML:
   #block-wl-theme-recentprojects
     > div
       > section.projects
         > .container
           .projects-head (h2 + .projects-underline)
           .project-grid
             a.project x 8
           .projects-cta a.btn-ghost
   ========================= */
#block-wl-theme-recentprojects {
  position: relative;
  padding: clamp(52px, 6vw, 92px) 0;
  overflow: hidden;
  background-color: #F0F0F0;
  color: rgba(255, 255, 255, 0.92);
}

#block-wl-theme-recentprojects .projects {
  position: relative;
  z-index: 2;
}

#block-wl-theme-recentprojects .projects > .container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* =========================
   Header
   ========================= */
#block-wl-theme-recentprojects .projects-head {
  text-align: center;
  max-width: 980px;
  margin: 0 auto 28px;
  padding: 0 10px;
}

#block-wl-theme-recentprojects .projects-head h2 {
  margin: 0 0 10px;
  font-size: clamp(28px, 3.2vw, 48px);
  line-height: 1.05;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  font-weight: 900;
  color: rgb(0, 0, 0);
}

#block-wl-theme-recentprojects .projects-underline {
  width: 46px;
  height: 3px;
  margin: 0 auto;
  background: var(--green);
  border-radius: 999px;
  opacity: 0.95;
}

/* =========================
   Project Grid
   ========================= */
#block-wl-theme-recentprojects .project-grid {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

/* Each project tile
   NOTE: since your <a.project> has no inner img/div, we treat the anchor as the tile.
   Set background-image on each one (inline style, or via nth-child below). */
#block-wl-theme-recentprojects .project-grid .project {
  position: relative;
  display: block;
  text-decoration: none;
  /* tile sizing */
  aspect-ratio: 20/21;
  min-height: 180px;
  border-radius: 15px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  /* background image defaults */
  background-color: rgba(255, 255, 255, 0.06);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transition: transform 0.18s ease, border-color 0.18s ease, filter 0.18s ease;
}

/* Hover */
#block-wl-theme-recentprojects .project-grid .project:hover,
#block-wl-theme-recentprojects .project-grid .project:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.18);
  outline: none;
}

/* Optional: show a simple label bar on hover (uses aria-label text visually hidden)
   If you ever want visible titles, we can add a span inside the anchor. */
#block-wl-theme-recentprojects .project-grid .project:focus-visible::after {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1), 0 0 0 4px rgba(103, 217, 111, 0.18);
}

/* =========================
   Placeholder backgrounds (until you wire real images)
   You can delete these once you set real backgrounds (inline style or via field).
   ========================= */
#block-wl-theme-recentprojects .project-grid .project:nth-child(1) {
  background-image: url("/themes/custom/wl_theme/images/projects/project-1.png");
}

#block-wl-theme-recentprojects .project-grid .project:nth-child(2) {
  background-image: url("/themes/custom/wl_theme/images/projects/project-2.png");
}

#block-wl-theme-recentprojects .project-grid .project:nth-child(3) {
  background-image: url("/themes/custom/wl_theme/images/projects/project-3.png");
}

#block-wl-theme-recentprojects .project-grid .project:nth-child(4) {
  background-image: url("/themes/custom/wl_theme/images/projects/project-4.png");
}

#block-wl-theme-recentprojects .project-grid .project:nth-child(5) {
  background-image: url("/themes/custom/wl_theme/images/projects/project-5.png");
}

#block-wl-theme-recentprojects .project-grid .project:nth-child(6) {
  background-image: url("/themes/custom/wl_theme/images/projects/project-6.png");
}

#block-wl-theme-recentprojects .project-grid .project:nth-child(7) {
  background-image: url("/themes/custom/wl_theme/images/projects/project-7.png");
}

#block-wl-theme-recentprojects .project-grid .project:nth-child(8) {
  background-image: url("/themes/custom/wl_theme/images/projects/project-8.png");
}

/* If those files don't exist yet, you'll just get the fallback bg color. */
/* =========================
   Bottom CTA
   ========================= */
#block-wl-theme-recentprojects .projects-cta {
  margin-top: 26px;
  display: flex;
  justify-content: center;
}

/* =========================
   Responsive
   ========================= */
@media (max-width: 1100px) {
  #block-wl-theme-recentprojects .project-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 900px) {
  #block-wl-theme-recentprojects .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
  #block-wl-theme-recentprojects .project-grid .project {
    min-height: 160px;
  }
}
@media (max-width: 600px) {
  #block-wl-theme-recentprojects .project-grid {
    grid-template-columns: 1fr;
  }
  #block-wl-theme-recentprojects .project-grid .project {
    aspect-ratio: 16/10;
    min-height: 180px;
  }
}
/* =========================
   CTA Strip (Makeover CTA)

   Rendered HTML:
   #block-wl-theme-ctastrip
     > div
       > section.cta-strip
         > .container.cta-strip-inner
           > div (h2 + .subline)
           > p > a.btn-ghost
   ========================= */
#block-wl-theme-ctastrip {
  position: relative;
  overflow: hidden;
  /* bar background like mock */
  background: rgb(78, 78, 78);
  color: rgba(255, 255, 255, 0.95);
}

#block-wl-theme-ctastrip .cta-strip {
  position: relative;
  padding: 28px 0;
}

#block-wl-theme-ctastrip .cta-strip .cta-strip-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

/* Left group */
#block-wl-theme-ctastrip .cta-strip-inner > div {
  min-width: 0;
}

#block-wl-theme-ctastrip h2 {
  margin: 0 0 6px;
  font-size: clamp(26px, 3.2vw, 46px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: 0.2px;
  color: rgba(255, 255, 255, 0.96);
}

#block-wl-theme-ctastrip h2 .green {
  color: var(--green);
}

/* Subline + dot */
#block-wl-theme-ctastrip .subline {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
}

#block-wl-theme-ctastrip .subline::after {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(103, 217, 111, 0.18);
}

/* Button wrapper (your markup uses <p>) */
#block-wl-theme-ctastrip .cta-strip-inner > p {
  margin: 0;
  flex: 0 0 auto;
}

/* =========================
   Responsive
   ========================= */
@media (max-width: 900px) {
  #block-wl-theme-ctastrip .cta-strip .cta-strip-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  #block-wl-theme-ctastrip .cta-strip-inner > p {
    width: 100%;
  }
  #block-wl-theme-ctastrip .btn-ghost {
    width: 100%;
    min-width: 0;
  }
}
/* =========================
   Features block

   Rendered HTML:
   #block-wl-theme-features
     > div
       > section.features
         > .container
           > .features-head (h2 + .title-underline)
           > .features-grid
             > .feat (svg, h3, p) x 6
           > .section-cta > a.btn-ghost
   ========================= */
#block-wl-theme-features {
  position: relative;
  padding: clamp(64px, 6vw, 96px) 0;
  background: #fff;
  color: #111;
}

#block-wl-theme-features .features {
  position: relative;
}

#block-wl-theme-features .features .container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* =========================
   Header
   ========================= */
#block-wl-theme-features .features-head {
  text-align: center;
  margin: 0 auto 44px;
  max-width: 980px;
}

#block-wl-theme-features .features-head h2 {
  margin: 0 0 14px;
  font-size: clamp(30px, 3.2vw, 52px);
  line-height: 1.05;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 900;
  color: #111;
}

#block-wl-theme-features .features-head .title-underline {
  width: 70px;
  height: 4px;
  margin: 0 auto;
  border-radius: 999px;
  background: var(--green);
}

/* =========================
   Grid
   ========================= */
#block-wl-theme-features .features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 56px 58px;
  align-items: start;
  /* breathe like the mock */
  padding-top: 10px;
}

#block-wl-theme-features .feat {
  text-align: center;
  max-width: 360px;
  margin: 0 auto;
}

#block-wl-theme-features .feat svg {
  width: 54px;
  height: 54px;
  display: block;
  margin: 0 auto 18px;
  color: var(--green);
}

#block-wl-theme-features .feat h3 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 900;
  color: #111;
}

#block-wl-theme-features .feat p {
  margin: 0 auto;
  max-width: 320px;
  font-size: 14px;
  line-height: 22px;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.78);
}

/* =========================
   Bottom CTA (uses your existing btn-ghost styles)
   ========================= */
#block-wl-theme-features .section-cta {
  display: flex;
  justify-content: center;
}

/* If some page builder added inline margin-top, keep it but ensure layout is consistent */
#block-wl-theme-features .section-cta .btn-ghost {
  min-width: 240px;
}

/* =========================
   Responsive
   ========================= */
@media (max-width: 1100px) {
  #block-wl-theme-features .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 44px 40px;
  }
}
@media (max-width: 700px) {
  #block-wl-theme-features {
    padding: 56px 0 78px;
  }
  #block-wl-theme-features .features-head {
    margin-bottom: 34px;
  }
  #block-wl-theme-features .features-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  #block-wl-theme-features .feat {
    max-width: 420px;
  }
  #block-wl-theme-features .feat svg {
    width: 50px;
    height: 50px;
    margin-bottom: 14px;
  }
}
/* =========================
   Process block

   Rendered HTML:
   #block-wl-theme-process
     > div
       > section.process
         > .container
           > .process-head (.kicker, h2)
           > .steps
             > .step
             > .arrow
             > .step
             > .arrow
             > .step
   ========================= */
#block-wl-theme-process {
  background: #2f5b3d; /* deep green section bg */
  color: rgba(255, 255, 255, 0.92);
  padding: clamp(56px, 6vw, 92px) 0;
}

#block-wl-theme-process .process .container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* =========================
   Head
   ========================= */
#block-wl-theme-process .process-head {
  text-align: center;
  margin: 0 auto 36px;
}

#block-wl-theme-process .process-head .kicker {
  text-transform: uppercase;
  letter-spacing: 1.4px;
  font-weight: 900;
  font-size: 12px;
  color: #ff7a00; /* orange kicker like mock */
  margin-bottom: 10px;
}

#block-wl-theme-process .process-head h2 {
  margin: 0;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: 2px;
  line-height: 1.05;
  font-size: clamp(34px, 4.2vw, 56px);
  color: rgba(255, 255, 255, 0.96);
}

/* =========================
   Steps row
   ========================= */
#block-wl-theme-process .steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 28px;
  align-items: center;
  justify-items: center;
  margin-top: 10px;
}

/* Step card */
#block-wl-theme-process .step {
  text-align: center;
  max-width: 320px;
}

#block-wl-theme-process .step .icon {
  width: 74px;
  height: 74px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-weight: 900;
  letter-spacing: 0.6px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
}

/* Titles */
#block-wl-theme-process .step h3 {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.95);
}

/* Descriptions */
#block-wl-theme-process .step p {
  margin: 0;
  font-size: 13px;
  line-height: 20px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

/* =========================
   Connector arrows
   ========================= */
#block-wl-theme-process .arrow {
  width: 120px;
  height: 22px;
  position: relative;
  opacity: 0.95;
}

/* line */
#block-wl-theme-process .arrow::before {
  content: "";
  position: absolute;
  left: 0;
  right: 34px;
  top: 50%;
  transform: translateY(-50%);
  height: 2px;
  background: rgba(255, 208, 0, 0.75);
  border-radius: 999px;
}

/* dot (yellow) */
#block-wl-theme-process .arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: #ffd000;
  box-shadow: 0 0 0 5px rgba(255, 208, 0, 0.22);
}

/* =========================
   Responsive
   ========================= */
@media (max-width: 1000px) {
  #block-wl-theme-process .steps {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  #block-wl-theme-process .arrow {
    width: 22px;
    height: 56px;
  }
  /* vertical connector on mobile */
  #block-wl-theme-process .arrow::before {
    left: 50%;
    right: auto;
    top: 0;
    bottom: 26px;
    width: 2px;
    height: auto;
    transform: translateX(-50%);
  }
  #block-wl-theme-process .arrow::after {
    right: auto;
    left: 50%;
    top: auto;
    bottom: 0;
    transform: translateX(-50%);
  }
  #block-wl-theme-process .step {
    max-width: 520px;
  }
}
/* =========================
   FAQ block

   Rendered HTML:
   #block-wl-theme-faq
     > div
       > section.faq
         > .container
           > .faq-head (h2, p)
           > .faq-list
             > details.faq-item
               > summary.faq-q
               > .faq-a
           > .section-cta .btn-ghost
   ========================= */
#block-wl-theme-faq {
  position: relative;
  padding: clamp(60px, 6vw, 96px) 0;
  overflow: hidden;
  background: radial-gradient(1100px 520px at 50% 10%, rgba(255, 255, 255, 0.06), rgba(0, 0, 0, 0) 60%), linear-gradient(180deg, rgba(20, 20, 20, 0.95), rgba(15, 15, 15, 0.97));
  color: rgba(255, 255, 255, 0.92);
}

#block-wl-theme-faq .faq .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* =========================
   Head
   ========================= */
#block-wl-theme-faq .faq-head {
  text-align: center;
  max-width: 880px;
  margin: 0 auto 26px;
}

#block-wl-theme-faq .faq-head h2 {
  margin: 0 0 10px;
  font-size: clamp(30px, 3.6vw, 52px);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: 0.4px;
  color: rgba(255, 255, 255, 0.96);
}

#block-wl-theme-faq .faq-head h2 .green {
  color: var(--green);
}

#block-wl-theme-faq .faq-head p {
  margin: 0 auto;
  max-width: 820px;
  font-size: 13px;
  line-height: 19px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.72);
}

/* =========================
   List container
   ========================= */
#block-wl-theme-faq .faq-list {
  max-width: 980px;
  margin: 22px auto 0;
  display: grid;
  gap: 14px;
}

/* Each accordion item */
#block-wl-theme-faq details.faq-item {
  border-radius: 10px;
  background: rgba(90, 90, 90, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

/* closed items slightly darker */
#block-wl-theme-faq details.faq-item:not([open]) {
  background: rgba(80, 80, 80, 0.5);
}

/* Summary row */
#block-wl-theme-faq summary.faq-q {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.2px;
  color: rgba(255, 255, 255, 0.95);
}

/* remove default marker */
#block-wl-theme-faq summary.faq-q::-webkit-details-marker {
  display: none;
}

/* Custom + / - button on the right */
#block-wl-theme-faq summary.faq-q::after {
  content: "+";
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 900;
  line-height: 1;
}

/* Open state: green question + minus */
#block-wl-theme-faq details.faq-item[open] {
  border-color: rgba(98, 212, 111, 0.55);
}

#block-wl-theme-faq details.faq-item[open] summary.faq-q {
  color: var(--green);
}

#block-wl-theme-faq details.faq-item[open] summary.faq-q::after {
  content: "–";
  background: rgba(98, 212, 111, 0.2);
  border-color: rgba(98, 212, 111, 0.45);
}

/* Answer panel */
#block-wl-theme-faq .faq-a {
  padding: 0 18px 16px;
  margin-top: -6px;
  font-size: 13px;
  line-height: 19px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
}

/* little divider between Q and A when open */
#block-wl-theme-faq details.faq-item[open] .faq-a {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 14px;
}

#block-wl-theme-faq .faq-a__copy p {
  margin: 0;
}

#block-wl-theme-faq .faq-a__copy p + p {
  margin-top: 0.8rem;
}

#block-wl-theme-faq .faq-a__copy a {
  color: #d9efaa;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

#block-wl-theme-faq .faq-a__copy a:hover,
#block-wl-theme-faq .faq-a__copy a:focus-visible {
  color: #f3ffd5;
}

/* Hover / focus */
#block-wl-theme-faq summary.faq-q:hover,
#block-wl-theme-faq summary.faq-q:focus {
  background: rgba(255, 255, 255, 0.04);
  outline: none;
}

/* =========================
   Bottom CTA alignment
   ========================= */
#block-wl-theme-faq .section-cta {
  margin-top: 42px;
  display: flex;
  justify-content: center;
}

/* =========================
   Responsive
   ========================= */
@media (max-width: 700px) {
  #block-wl-theme-faq summary.faq-q {
    font-size: 16px;
    padding: 14px 14px;
  }
  #block-wl-theme-faq .faq-a {
    padding: 0 14px 14px;
  }
}
/* =========================
   Final CTA block

   Rendered HTML:
   #block-wl-theme-finalcta
     > div
       > section.final-cta-wrap
         > .final-cta
           > h2
           > p > a.btn-solid-green
   ========================= */
#block-wl-theme-finalcta {
  position: relative;
  padding: clamp(70px, 7vw, 120px) 0;
  background: #e9e9e9; /* light grey field like mock */
  overflow: hidden;
}

#block-wl-theme-finalcta .final-cta-wrap {
  position: relative;
}

/* Center the card */
#block-wl-theme-finalcta .final-cta {
  width: min(1040px, 100% - 40px);
  margin: 0 auto;
  background: #123a2c; /* deep green panel */
  border-radius: 18px;
  padding: clamp(44px, 5vw, 72px) clamp(22px, 4vw, 56px);
  text-align: center;
  /* soft drop shadow like screenshot */
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}

/* Headline */
#block-wl-theme-finalcta .final-cta h2 {
  margin: 0 0 18px;
  font-size: clamp(34px, 4.6vw, 60px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.96);
}

/* Remove default <p> spacing */
#block-wl-theme-finalcta .final-cta p {
  margin: 0;
}

/* Button (if this class already exists globally, this will just “finish” it) */
#block-wl-theme-finalcta .final-cta .btn-solid-green {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.68rem 1.16rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--wl-accent-gradient);
  color: var(--wl-accent-text);
  border: 1px solid var(--wl-accent-border);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    var(--wl-accent-shadow);
}

#block-wl-theme-finalcta .final-cta .btn-solid-green:hover {
  background: var(--wl-accent-gradient-hover);
}

/* Mobile */
@media (max-width: 700px) {
  #block-wl-theme-finalcta .final-cta {
    width: min(1040px, 100% - 28px);
    border-radius: 16px;
  }
  #block-wl-theme-finalcta .final-cta .btn-solid-green {
    height: 42px;
    padding: 0 26px;
  }
}

/* Translation-safe touchups for longer FR labels/content. */
.wl-site--front .btn-ghost,
.wl-site--front .btn-solid-green,
.wl-site--front .btn.btn-outline {
  min-width: 0;
  max-width: 100%;
  white-space: normal;
  text-align: center;
  line-height: 1.2;
}
.wl-site--front .service-card .lists a.card {
  white-space: normal;
}
.wl-site--front .faq-q {
  line-height: 1.35;
}
.wl-site--front .process .step h3 {
  overflow-wrap: anywhere;
}
.wl-site--front .projects .project-grid .project {
  min-height: 180px;
}
.wl-site--front #block-wl-theme-mainpagecontent {
  display: none;
}

/* Keep service card backgrounds working even if old inline theme paths are removed later. */
#block-wl-theme-services .service-card:nth-child(1) { --bg: url("/themes/custom/wl_theme/images/services/service-1.png"); }
#block-wl-theme-services .service-card:nth-child(2) { --bg: url("/themes/custom/wl_theme/images/services/service-2.png"); }
#block-wl-theme-services .service-card:nth-child(3) { --bg: url("/themes/custom/wl_theme/images/services/service-3.png"); }
#block-wl-theme-services .service-card:nth-child(4) { --bg: url("/themes/custom/wl_theme/images/services/service-4.png"); }
#block-wl-theme-services .service-card:nth-child(5) { --bg: url("/themes/custom/wl_theme/images/services/service-5.png"); }
#block-wl-theme-services .service-card:nth-child(6) { --bg: url("/themes/custom/wl_theme/images/services/service-6.png"); }
