@import url("https://fonts.googleapis.com/css2?family=Dela+Gothic+One&family=Figtree:ital,wght@0,300..900;1,300..900&family=Outfit:wght@100..900&display=swap");
:root {
  --clr-green: #145734;
  --clr-green-dark: #0f4227;
  --clr-green-soft: #f3f7f1;
  --clr-green-soft-2: #f7faf6;
  --clr-icon-bg: #e6f4ec;
  --clr-mint: #f0faf0;
  --clr-mint-line: #d1fae5;
  --clr-yellow: #fdc714;
  --clr-border: #e2e8f0;
  --clr-muted: #6b7280;
  --clr-frame: #141414;
  --ff-primary: "Outfit";
  --ff-secondary: "Dela Gothic One", sans-serif;
  --ff-tertiary: "Figtree", sans-serif;
}

body {
  margin: 0;
  padding: 0 !important;
  font-family: var(--ff-primary), sans-serif;
  font-weight: normal;
  font-style: normal;
  font-size: clamp(14px, 1.4vw, 16px);
  overflow-x: hidden !important;
  text-wrap: balance;
}

a:hover {
  color: #000000;
}

#section-ads {
  display: flex;
  justify-content: center;
  width: 100%;
}

#section-ads a {
  width: unset;
  padding: 20px;
}

* {
  box-sizing: border-box;
}
img {
  max-width: 100%;
}

/* ---- Shared ---- */
.custom-container {
  --max-width: 1240px;
  --padding: 2rem;
  width: min(var(--max-width), 100% - var(--padding) * 2);
  margin: 0 auto;
}

.section-title {
  font-family: var(--ff-secondary);
  color: var(--clr-green);
  font-size: clamp(26px, 2.9vw, 35px);
  margin: 0 0 14px;
  line-height: 1.2;
}

.section-subtitle {
  font-family: var(--ff-tertiary);
  color: var(--clr-muted);
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.3;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* Attention shake */
@keyframes attention-shake {
  0%,
  100% {
    transform: translateX(0);
  }
  15% {
    transform: translateX(-10px);
  }
  30% {
    transform: translateX(9px);
  }
  45% {
    transform: translateX(-7px);
  }
  60% {
    transform: translateX(5px);
  }
  75% {
    transform: translateX(-3px);
  }
  90% {
    transform: translateX(2px);
  }
}
.shake {
  animation: attention-shake 0.6s ease;
}
@media (prefers-reduced-motion: reduce) {
  .shake {
    animation: none;
  }
}


.address-form {
  width: 100%;
  max-width: 588px;
}

.js-address-form label.error {
  display: block;
  margin-top: 8px;
  color: red;
  font-size: clamp(12px, 1.2vw, 13px);
  font-weight: 500;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--clr-green);
  color: #fff;
  border: none;
  border-radius: 14px;
  padding: 17px 30px;
  font-family: inherit;
  font-size: clamp(14px, 1.4vw, 16px);
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease;
}
.btn-primary:hover {
  background: var(--clr-yellow);
}
.btn-primary img {
  width: 16px;
}

/* ---- Hero ---- */
.hero {
  position: relative;
  background:
    linear-gradient(
      0deg,
      rgba(20, 87, 52, 0.15) 0%,
      rgba(20, 87, 52, 0.15) 100%
    ),
    url("/img/hero.png") lightgray center / cover no-repeat;
  /* background: url("/img/hero.png") center / cover no-repeat; */
  min-height: 670px;
  display: flex;
  flex-direction: column;
}

nav {
  padding-block: 40px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.6) 0%,
    rgba(255, 255, 255, 0.48) 49.52%,
    rgba(255, 255, 255, 0) 100%
  );
  backdrop-filter: blur(2px);
}
.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
nav .logo {
  flex-shrink: 0;
  min-width: 0;
}
nav .logo img {
  height: 75px;
  width: auto;
  max-width: 210px;
  object-fit: contain;
  display: block;
}
.hero .links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.hero .links a {
  color: var(--clr-green);
  font-weight: 800;
  font-size: clamp(14px, 1.4vw, 16px);
  text-decoration: none;
  transition: opacity 0.2s ease;
}
.hero .links a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.cta {
  font-family: var(--ff-secondary);
  background: var(--clr-green);
  color: #fff;
  border: none;
  border-radius: 14px;
  padding: 15px 26px;
  font-family: inherit;
  font-size: clamp(14px, 1.3vw, 15px);
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease;
}
.cta:hover {
  background: var(--clr-yellow);
}

.form_wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  padding-block: 20px;
  padding-inline: 0 44px;
}
.form-box {
  width: 100%;
  max-width: 830px;
  border-radius: 0 50px 50px 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(14px);
  padding: 40px;
  color: #fff;
}

.form-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 26px;
  margin-bottom: 30px;
}
.badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: clamp(9px, 1.05vw, 12px);
  font-weight: 500;
  border-radius: 50px;
  padding: 8px 14px;
  background: rgba(20, 87, 52, 0.3);
}
.badge img {
  width: 18px;
  height: 18px;
}

.head-title {
  font-family: var(--ff-secondary);
  font-size: clamp(28px, 3.9vw, 46px);
  line-height: 1.1;
  margin: 0 0 16px;
  color: #fff;
}
.form-box .description {
  font-size: clamp(15px, 1.6vw, 18px);
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0 26px;
}

.input-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border-radius: 12px;
  padding: 7px;
  max-width: 470px;
}
.input-wrapper input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  padding: 12px 16px;
  font-family: inherit;
  font-size: clamp(14px, 1.3vw, 15px);
  color: #1f2937;
  min-width: 0;
}
.verify-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--clr-green);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 13px 20px;
  font-family: inherit;
  font-size: clamp(14px, 1.3vw, 15px);
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease;
}
.verify-btn:hover {
  background: var(--clr-yellow);
}
.verify-btn img {
  width: 16px;
}

/* ---- Features ---- */
.features {
  padding-top: 80px;
  text-align: center;
}
.features-head {
  margin-bottom: 52px;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--clr-green-soft);
  border-radius: 18px;
  padding: 30px 26px;
  text-align: left;
}
.feature-icon {
  width: 56px;
  height: 56px;
  background: var(--clr-icon-bg);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.feature-icon img {
  width: 32px;
  height: 32px;
}
.feature-card h3 {
  color: var(--clr-green);
  font-size: clamp(15px, 1.6vw, 18px);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 12px;
}
.feature-card p {
  color: var(--clr-muted);
  font-size: clamp(13px, 1.2vw, 14px);
  line-height: 1.6;
  margin: 0;
}
.features-cta {
  margin-top: 52px;
}
.features-cta .note {
  color: #9ca3af;
  font-size: clamp(12px, 1.15vw, 13px);
  margin: 14px 0 0;
}

/* ---- Vantaggi ---- */
.vantaggi {
  padding-top: 80px;
}
.vantaggi-wrapper {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.vantaggio {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
  background: var(--clr-green-soft-2);
  border-radius: 26px;
  padding: 50px;
}
.v-media {
  display: flex;
  justify-content: center;
}
.illustration {
  width: 100%;
  max-width: 460px;
  height: auto;
}
.v-icon {
  width: 52px;
  height: 52px;
  background: var(--clr-icon-bg);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.v-icon img {
  width: 40px;
  height: 40px;
}
.v-text h3 {
  color: var(--clr-green);
  font-size: clamp(24px, 2.5vw, 30px);
  font-weight: 800;
  margin: 0 0 16px;
}
.v-text p {
  color: var(--clr-muted);
  font-size: clamp(14px, 1.4vw, 16px);
  line-height: 1.7;
  max-width: 430px;
  margin: 0;
}
.v-text .btn-primary {
  margin-top: 26px;
}

/* ---- Opinioni ---- */
.opinioni {
  padding-top: 80px;
  text-align: center;
}
.opinioni-head {
  margin-bottom: 48px;
}
.opinioni-swiper {
  padding-bottom: 8px;
}
.opinioni-swiper .swiper-slide {
  height: auto;
}
.opinione-card {
  height: 100%;
  background: var(--clr-green-soft);
  border-radius: 20px;
  padding: 34px 30px;
  text-align: left;
}
.opinione-card .stars {
  width: 96px;
  height: auto;
  margin-bottom: 18px;
}
.opinione-card h4 {
  color: var(--clr-green);
  font-size: clamp(15px, 1.6vw, 18px);
  font-weight: 700;
  margin: 0 0 14px;
}
.opinione-card p {
  color: #4b5563;
  font-size: clamp(14px, 1.3vw, 15px);
  line-height: 1.3;
  margin: 0 0 26px;
}
.opinione-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.opinione-author .avatar {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--clr-green);
  color: #fff;
  font-size: clamp(13px, 1.2vw, 14px);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.author-data {
  display: flex;
  flex-direction: column;
}
.opinione-author strong {
  color: #1a202c;
  font-size: clamp(13px, 1.2vw, 14px);
  line-height: 1.2;
}
.opinione-author small {
  color: var(--clr-muted);
  font-size: clamp(11px, 1.05vw, 12px);
}

/* Featured (middle) card */
.opinione-card.featured {
  background: var(--clr-green);
}
.opinione-card.featured h4,
.opinione-card.featured p,
.opinione-card.featured .opinione-author strong {
  color: #fff;
}
.opinione-card.featured .opinione-author small {
  color: rgba(255, 255, 255, 0.75);
}
.opinione-card.featured .opinione-author .avatar {
  background: #fff;
  color: var(--clr-green);
}

.opinioni-swiper .swiper-pagination {
  position: static;
  margin-top: 26px;
}
.opinioni-swiper .swiper-pagination-bullet-active {
  background: var(--clr-green);
}

/* ---- Trust bar ---- */
.trust-bar-section {
  padding-top: 80px;
}
.trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  background: var(--clr-mint);
  border-radius: 25px;
  padding: 32px 60px;
}
.trust-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}
.trust-number {
  font-family: var(--ff-secondary);
  color: var(--clr-green);
  font-size: clamp(28px, 3vw, 36px);
  margin: 0;
}
.trust-label {
  color: var(--clr-muted);
  font-size: clamp(13px, 1.2vw, 14px);
  margin: 0;
}
.trust-divider {
  flex-shrink: 0;
  width: 1px;
  height: 48px;
  background: var(--clr-mint-line);
}

/* ---- FAQ ---- */
.faq {
  padding-top: 80px;
}
.faq-header {
  margin-bottom: 48px;
}
.faq-columns {
  display: flex;
  gap: 40px;
}
.faq-col {
  flex: 1;
  min-width: 0;
}
.faq-item {
  border-top: 1px solid var(--clr-border);
}
.faq-col .faq-item:last-child {
  border-bottom: 1px solid var(--clr-border);
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 24px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  font-size: clamp(14px, 1.4vw, 16px);
  font-weight: 700;
  color: var(--clr-green);
}
.faq-toggle {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  transition: transform 0.2s ease;
}
.faq-item.open .faq-toggle {
  transform: rotate(45deg);
}
.faq-answer {
  display: none;
  padding: 0 0 24px;
}
.faq-item.open .faq-answer {
  display: block;
}
.faq-answer p {
  color: var(--clr-muted);
  font-size: clamp(14px, 1.3vw, 15px);
  line-height: 1.6;
  margin: 0;
}

/* ---- Caso Reale banner ---- */
.caso-reale-section {
  padding-top: 80px;
}
.caso-reale-banner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 50px;
  overflow: hidden;
  background: var(--clr-green);
  border-radius: 25px;
  padding: 45px 100px;
}
.caso-reale-icon {
  flex-shrink: 0;
  width: 90px;
  height: 90px;
}
.caso-reale-text {
  max-width: 618px;
}
.caso-reale-title {
  font-family: var(--ff-secondary);
  color: #fff;
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.1;
  margin: 0 0 10px;
}
.caso-reale-subtitle {
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.3;
  margin: 0 0 20px;
}
.caso-reale-btn {
  display: inline-flex;
  align-items: center;
  font-family: var(--ff-secondary);
  background: var(--clr-yellow);
  color: var(--clr-green);
  font-size: clamp(15px, 1.5vw, 17px);
  text-decoration: none;
  border-radius: 12px;
  padding: 14px 40px;
  transition: filter 0.2s ease;
}
.caso-reale-btn:hover {
  filter: brightness(0.95);
  color: var(--clr-green-dark);
}
.caso-reale-art {
  position: absolute;
  right: 0;
  bottom: 0;
  height: 100%;
  width: auto;
  object-fit: cover;
  object-position: right bottom;
  pointer-events: none;
}

/* ---- Footer form ---- */
.footer-form-section {
  padding-top: 80px;
  padding-bottom: 80px;
}
.footer-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  background: var(--clr-green);
  border-radius: 50px;
  padding: 50px 100px;
  text-align: center;
}
.footer-form-head {
  max-width: 1000px;
}
.footer-form-title {
  font-family: var(--ff-secondary);
  color: #fff;
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.1;
  margin: 0 0 10px;
}
.footer-form-subtitle {
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.1;
  margin: 0;
}
.footer-form-field {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: 588px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
}
.footer-form-field input {
  flex: 1;
  min-width: 0;
  padding: 15px;
  border: none;
  outline: none;
  background: transparent;
  font-family: inherit;
  font-size: clamp(14px, 1.4vw, 16px);
  color: #fff;
}
.footer-form-field input::placeholder {
  color: rgba(255, 255, 255, 0.67);
}
.footer-form-btn {
  flex-shrink: 0;
  font-family: var(--ff-secondary);
  background: var(--clr-yellow);
  color: var(--clr-green);
  font-size: clamp(13px, 1.2vw, 14px);
  border: none;
  border-radius: 10px;
  padding: 14px 32px;
  cursor: pointer;
  transition: filter 0.2s ease;
}
.footer-form-btn:hover {
  filter: brightness(0.95);
}
.footer-form-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-form-trust li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(13px, 1.2vw, 14px);
}
.footer-form-trust img {
  width: 20px;
  height: 20px;
}

/* ---- Responsive ---- */
@media (max-width: 992px) {
  .hero .links {
    display: none;
  }
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .vantaggio,
  .vantaggio.reverse {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 36px;
  }
  .vantaggio.reverse .v-media {
    order: -1;
  }
  .v-text p {
    max-width: none;
  }
  .caso-reale-banner {
    padding: 40px;
  }
  .caso-reale-art {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero nav .logo img {
    height: 38px;
    max-width: 150px;
  }
  .cta {
    padding: 11px 16px;
  }
  .form_wrapper {
    padding: 16px 20px 40px;
  }
  .form-box {
    padding: 24px 18px;
    border-radius: 22px;
  }
  .form-badges {
    gap: 8px;
    margin-bottom: 22px;
    justify-content: center;
  }
  .badge {
    padding: 8px;
    gap: 3px;
  }
  .badge img {
    width: 10px;
    height: 10px;
  }
  .input-wrapper {
    flex-direction: column;
    align-items: stretch;
  }
  .verify-btn {
    justify-content: center;
  }
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .btn-primary {
    width: 100%;
    justify-content: center;
    padding: 16px 20px;
  }
  .trust-bar {
    flex-wrap: wrap;
    gap: 24px 16px;
    padding: 28px 20px;
  }
  .trust-stat {
    flex: 1 1 40%;
  }
  .trust-divider {
    display: none;
  }
  .faq-columns {
    flex-direction: column;
    gap: 0;
  }
  .faq-col .faq-item:not(:last-child) {
    border-bottom: none;
  }
  .faq-col:not(:last-child) .faq-item:last-child {
    border-bottom: none;
  }
  .caso-reale-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding: 32px 28px;
  }
  .caso-reale-btn {
    width: 100%;
    justify-content: center;
  }
  .footer-form {
    padding: 32px 24px;
    border-radius: 28px;
  }
  .footer-form-field {
    flex-direction: column;
    align-items: stretch;
    max-width: 100%;
  }
  .footer-form-btn {
    width: 100%;
  }
  .footer-form-trust {
    gap: 12px 20px;
  }
}


@media (max-width: 480px) {
  .nav-cta {
    font-size: 11px;
  }
}

/* Lead form*/
.leadform {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #fff;
}

/* Header: logo + step counter + progress bar */
.lf-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 130px;
  padding: 0 60px;
}
.lf-logo img {
  height: 75px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  display: block;
}
.lf-progress-count {
  color: #555;
  font-weight: 600;
  font-size: clamp(18px, 2vw, 24px);
}
.lf-progress-track {
  width: 100%;
  height: 15px;
  background: #f5f5f5;
}
.lf-progress-fill {
  height: 100%;
  background: #1b5e20;
  transition: width 0.3s ease;
}

/* Content */
.lf-form {
  flex: 1;
  display: flex;
  flex-direction: column;
}
/* Each step fills the area and is centered; only the active one shows. */
.leadform .step {
  display: none;
}
.leadform .step.active {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 40px 0;
  text-align: center;
}
.lf-icon {
  width: 60px;
  height: 60px;
  background: var(--clr-icon-bg);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lf-icon img {
  width: 40px;
  height: 40px;
}
.lf-text {
  width: 100%;
  max-width: 578px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.lf-title {
  font-family: var(--ff-secondary);
  color: #1b5e20;
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.1;
  margin: 0;
}
.lf-subtitle {
  color: #555;
  font-size: clamp(16px, 1.7vw, 20px);
  line-height: 1.3;
  margin: 0;
}
.lf-address-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #e8f5e9;
  color: #1b5e20;
  font-weight: 600;
  font-size: clamp(14px, 1.4vw, 16px);
  border-radius: 12px;
  padding: 10px 16px;
}
.lf-address-chip img {
  width: 18px;
  height: 18px;
}
.lf-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 170px;
  height: 56px;
  padding: 0 24px;
  background: var(--clr-green);
  color: #fff;
  font-family: var(--ff-secondary);
  font-size: clamp(16px, 1.6vw, 18px);
  text-decoration: none;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: filter 0.2s ease;
}
.lf-cta:hover {
  background: var(--clr-yellow);
}

/* Question heading + subtitle (steps 1+) */
.lf-q-title {
  font-family: var(--ff-secondary);
  color: #1b5e20;
  font-size: clamp(26px, 4.5vw, 40px);
  line-height: 1.1;
  margin: 0;
}
.lf-q-subtitle {
  color: #555;
  font-size: clamp(14px, 1.5vw, 16px);
  line-height: 1.3;
  margin: 8px 0 0;
}

/* Options */
.lf-options {
  width: 100%;
}
.lf-options--grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px 20px;
  max-width: 660px;
  margin: 0 auto;
}
.lf-options--grid .lf-option--wide {
  grid-column: 1 / -1;
  justify-self: center;
  width: 320px;
  max-width: 100%;
}
.lf-options--col {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 320px;
  margin: 0 auto;
}
.lf-option {
  display: flex;
  align-items: center;
  gap: 15px;
  height: 60px;
  padding: 0 18px;
  background: #fff;
  border: 1.5px solid #e0e0e0;
  border-radius: 12px;
  cursor: pointer;
  transition:
    border-color 0.15s ease,
    background 0.15s ease;
}
.lf-option:hover {
  background: #e8f5e9;
  border-color: #1b5e20;
}
.lf-option:has(input:checked) {
  background: #e8f5e9;
  border-color: #1b5e20;
}
.lf-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.lf-option-icon {
  flex-shrink: 0;
  display: flex;
}
.lf-option-icon img {
  width: 24px;
  height: 24px;
}
.lf-option-text {
  font-weight: 600;
  font-size: clamp(14px, 1.4vw, 16px);
  color: #111;
  text-align: left;
}
.lf-option:has(input:checked) .lf-option-text {
  color: #1b5e20;
}

/* Back link */
.lf-back {
  background: none;
  border: none;
  cursor: pointer;
  color: #555;
  font-family: inherit;
  font-size: clamp(13px, 1.3vw, 14px);
}
.lf-back:hover {
  color: #1b5e20;
}

/* Step 5 — data fields */
.lf-fields {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 24px;
  width: 100%;
  max-width: 784px;
  margin: 0 auto;
  text-align: left;
}
.lf-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.lf-field label {
  font-weight: 800;
  font-size: clamp(13px, 1.3vw, 15px);
  color: #555;
}
.lf-field input {
  height: 48px;
  padding: 0 16px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  font-family: inherit;
  font-size: clamp(14px, 1.4vw, 16px);
  color: #111;
  outline: none;
  transition: border-color 0.15s ease;
}
.lf-field input:focus {
  border-color: #1b5e20;
}
.lf-privacy-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 100%;
}
.lf-privacy {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  max-width: 560px;
  text-align: left;
  cursor: pointer;
}
.lf-privacy input {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  accent-color: #1b5e20;
}
.lf-privacy span {
  font-size: clamp(12px, 1.2vw, 13px);
  color: #555;
  line-height: 1.4;
  text-wrap: auto;
}
.lf-policy-link {
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  font-weight: 700;
  color: inherit;
  cursor: pointer;
}
.lf-policy-link:hover {
  text-decoration: underline;
}
.lf-submit-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.lf-cta--wide {
  width: 300px;
  max-width: 100%;
}
.lf-note {
  font-size: clamp(12px, 1.2vw, 13px);
  color: #555;
  opacity: 0.8;
  margin: 0;
}
/* jQuery-validate error labels */
.leadform label.error {
  display: block;
  width: 100%;
  color: #c0392b;
  font-size: clamp(12px, 1.2vw, 13px);
  font-weight: 500;
  margin-top: 4px;
  text-align: left;
}
/* terms error sits centered below the privacy text */
.lf-privacy-wrap label.error {
  width: auto;
  margin-top: 0;
  text-align: center;
}

@media (max-width: 768px) {
  .lf-header-top {
    height: 90px;
    padding: 0 20px;
  }
  .lf-logo img {
    height: 50px;
  }
  .leadform .step.active {
    padding: 32px 0;
    gap: 28px;
  }
  .lf-options--grid {
    grid-template-columns: 1fr;
    max-width: 320px;
  }
  .lf-options--grid .lf-option--wide {
    width: 100%;
  }
  .lf-fields {
    grid-template-columns: 1fr;
    max-width: 340px;
  }
  .lf-privacy {
    width: auto;
    max-width: 100%;
  }
}

/*  Lead form — loading modal (lf-loading-modal) */
.lf-loading {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
}
.lf-loading.active {
  display: block;
}
.lf-loading-scrim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.lf-loading-card {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(800px, 100% - 2rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding-bottom: 50px;
  background: #fff;
  border-radius: 50px;
  box-shadow: 0 24px 24px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  text-align: center;
}
.lf-loading-close {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 2;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  line-height: 0;
}
.lf-loading-close img {
  width: 40px;
  height: 40px;
}

/* graphic — house on an animated day/night sky */
.lf-loading-graphic {
  width: 100%;
  height: 290px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  animation: lf-daynight 8s linear infinite;
}
.lf-loading-graphic img {
  height: 72%;
  width: auto;
  display: block;
}
@keyframes lf-daynight {
  0% {
    background-color: #ffffff;
  }
  12.5% {
    background-color: #0f1937;
  }
  31.25% {
    background-color: #0f1937;
  }
  43.75% {
    background-color: #ffffff;
  }
  50% {
    background-color: #ffffff;
  }
  62.5% {
    background-color: #0f1937;
  }
  81.25% {
    background-color: #0f1937;
  }
  93.75% {
    background-color: #ffffff;
  }
  100% {
    background-color: #ffffff;
  }
}

.lf-loading-texts {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 10px 50px 0;
}
.lf-loading-title {
  font-family: var(--ff-secondary);
  color: #1b5e20;
  font-size: clamp(20px, 3vw, 28px);
  line-height: 1.2;
  margin: 0;
}
.lf-loading-sub {
  color: #555;
  font-size: clamp(13px, 1.4vw, 15px);
  line-height: 1.5;
  margin: 0;
}

/* spinner — static track + rotating arc */
.lf-spinner {
  position: relative;
  width: 64px;
  height: 64px;
}
.lf-spinner img {
  position: absolute;
  inset: 0;
  width: 64px;
  height: 64px;
}
.lf-spinner-arc {
  animation: lf-spin 1s linear infinite;
}
@keyframes lf-spin {
  to {
    transform: rotate(360deg);
  }
}

.lf-loading-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 8px;
}
.lf-loading-footer img {
  width: 24px;
  height: 24px;
}
.lf-loading-footer span {
  color: #145734;
  font-size: clamp(12px, 1.2vw, 13px);
}

@media (max-width: 768px) {
  .lf-loading-card {
    border-radius: 28px;
    padding-bottom: 32px;
    gap: 12px;
  }
  .lf-loading-graphic {
    height: 190px;
  }
  .lf-loading-texts {
    padding: 8px 24px 0;
  }
  .lf-loading-close img {
    width: 32px;
    height: 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lf-loading-graphic,
  .lf-spinner-arc {
    animation: none;
  }
}

