/* Leasing Green Auto */
.lg-landing {
  --lg-teal: #1f9c9e;
  --lg-teal-dark: #0e7f81;
  --lg-teal-deep: #0a6b6d;
  --lg-mint: #eef8f8;
  --lg-mint-soft: #f5fbfb;
  --lg-ink: #1e293b;
  --lg-muted: #475569;
  --lg-radius: 20px;
  --lg-radius-sm: 12px;
  --lg-shadow: 0 18px 40px rgba(15, 118, 120, 0.08);
  --lg-max: 1120px;
  font-family: "Inter", sans-serif;
  color: var(--lg-ink);
  overflow-x: clip;
}

.lg-landing *,
.lg-landing *::before,
.lg-landing *::after {
  box-sizing: border-box;
}

html:has(.lg-landing) {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html:has(.lg-landing) {
    scroll-behavior: auto;
  }
}

.lg-container {
  width: min(100% - 32px, var(--lg-max));
  margin-inline: auto;
}

.lg-heading {
  margin: 0 0 1rem;
  color: var(--lg-teal);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.lg-landing section[id] {
  scroll-margin-top: 100px;
}

/* Intro */
.lg-intro {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2rem, 4vw, 3rem);
  text-align: center;
  background:
    radial-gradient(
      ellipse 80% 60% at 50% 0%,
      rgba(31, 156, 158, 0.12),
      transparent 70%
    ),
    linear-gradient(180deg, #f7fcfc 0%, #fff 100%);
}

.lg-intro__title {
  margin: 0 auto 1rem;
  max-width: 40rem;
  color: var(--lg-ink);
  font-size: clamp(1.35rem, 3.2vw, 2rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.lg-intro__lead {
  margin: 0 auto;
  max-width: 36rem;
  color: var(--lg-teal);
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  font-weight: 700;
  line-height: 1.45;
}

/* Conditions */
.lg-conditions {
  padding: clamp(1.5rem, 4vw, 3rem) 0 clamp(2.5rem, 5vw, 4rem);
}

.lg-conditions__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.lg-conditions__media {
  position: relative;
  border-radius: var(--lg-radius);
  overflow: hidden;
  box-shadow: var(--lg-shadow);
  aspect-ratio: 16 / 9;
  background: var(--lg-mint);
}

.lg-conditions__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(31, 156, 158, 0.1), transparent 50%);
  pointer-events: none;
  z-index: 1;
}

.lg-conditions__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
}

.lg-conditions__label {
  margin: 0 0 0.85rem;
  color: var(--lg-muted);
  font-size: 1rem;
  font-weight: 600;
}

.lg-rates {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.lg-rates__item {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.75rem 1.25rem;
  padding: 0.9rem 1.1rem;
  border: 1px solid rgba(31, 156, 158, 0.18);
  border-radius: var(--lg-radius-sm);
  background: #fff;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.lg-rates__item:hover {
  border-color: rgba(31, 156, 158, 0.45);
  box-shadow: 0 8px 22px rgba(31, 156, 158, 0.1);
  transform: translateY(-1px);
}

.lg-rates__item--best {
  border-color: rgba(31, 156, 158, 0.45);
  background: linear-gradient(
    135deg,
    rgba(31, 156, 158, 0.1),
    rgba(31, 156, 158, 0.03)
  );
}

.lg-rates__value {
  color: var(--lg-teal-dark);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  text-align: left;
}

.lg-rates__value small {
  display: block;
  margin-top: 0.15rem;
  color: var(--lg-muted);
  font-size: 0.78rem;
  font-weight: 500;
}

.lg-rates__range {
  color: var(--lg-ink);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.35;
  text-align: right;
}

/* Benefits — mosaic cards */
.lg-benefits {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(1.5rem, 3vw, 2rem);
  background:
    radial-gradient(circle at 8% 12%, rgba(31, 156, 158, 0.1), transparent 34%),
    radial-gradient(
      circle at 92% 80%,
      rgba(14, 127, 129, 0.08),
      transparent 30%
    ),
    var(--lg-mint);
}

.lg-benefits__head {
  max-width: 40rem;
  margin: 0 auto 2rem;
  text-align: center;
}

.lg-benefits__head .lg-heading {
  margin-bottom: 0.85rem;
}

.lg-benefits__lead {
  margin: 0;
  color: var(--lg-muted);
  font-size: clamp(1rem, 1.8vw, 1.12rem);
  font-weight: 500;
  line-height: 1.55;
}

.lg-benefits__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.lg-benefit {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-height: 100%;
  padding: 1.25rem 1.2rem 1.35rem;
  border-radius: var(--lg-radius-sm);
  background: #fff;
  border: 1px solid rgba(31, 156, 158, 0.12);
  box-shadow: 0 10px 28px rgba(15, 118, 120, 0.06);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.lg-benefit:hover {
  transform: translateY(-3px);
  border-color: rgba(31, 156, 158, 0.35);
  box-shadow: 0 16px 34px rgba(15, 118, 120, 0.12);
}

.lg-benefit--accent {
  background: linear-gradient(160deg, rgba(31, 156, 158, 0.12), #fff 55%);
  border-color: rgba(31, 156, 158, 0.28);
}

.lg-benefit__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  flex-shrink: 0;
  border-radius: 12px;
  background: rgba(31, 156, 158, 0.12);
  color: var(--lg-teal-dark);
}

.lg-benefit__icon svg {
  width: 1.35rem;
  height: 1.35rem;
  display: block;
}

.lg-benefit--accent .lg-benefit__icon {
  background: rgba(31, 156, 158, 0.2);
}

.lg-benefit p {
  margin: 0;
  color: var(--lg-ink);
  font-size: 0.98rem;
  line-height: 1.45;
}

.lg-actions--center {
  justify-content: center;
}

/* Eligibility — teal panel + numbered steps */
.lg-eligible {
  padding: clamp(2rem, 5vw, 3.5rem) 0;
  background: #fff;
}

.lg-eligible__panel {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  grid-template-areas:
    "intro steps"
    "actions steps";
  gap: clamp(1rem, 2.5vw, 1.75rem) clamp(1.25rem, 3vw, 2.5rem);
  align-items: start;
  padding: clamp(1.4rem, 3vw, 2rem);
  border-radius: calc(var(--lg-radius) + 4px);
  background:
    radial-gradient(
      circle at 12% 0%,
      rgba(255, 255, 255, 0.16),
      transparent 40%
    ),
    linear-gradient(145deg, var(--lg-teal) 0%, var(--lg-teal-deep) 100%);
  color: #fff;
  box-shadow: 0 22px 48px rgba(14, 127, 129, 0.22);
  overflow: hidden;
}

.lg-eligible__intro {
  grid-area: intro;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: flex-start;
  padding: 0.5rem;
}

.lg-eligible__steps {
  grid-area: steps;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.lg-eligible__actions {
  grid-area: actions;
  padding: 0.25rem 0.5rem 0.5rem;
  align-self: end;
}

.lg-eligible__eyebrow {
  margin: 0;
  width: fit-content;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.lg-eligible__title {
  margin: 0;
  color: #fff;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.lg-eligible__note {
  margin: 0;
  max-width: 28rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.02rem;
  font-weight: 500;
  line-height: 1.55;
}

.lg-eligible__steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: start;
  padding: 0.95rem 1rem;
  border-radius: var(--lg-radius-sm);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(6px);
}

.lg-eligible__num {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
  opacity: 0.9;
}

.lg-eligible__steps p {
  margin: 0;
  color: #fff;
  font-size: 0.98rem;
  line-height: 1.45;
}

.lg-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Buttons */
.lg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none !important;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
  cursor: pointer;
}

.lg-btn--primary {
  background: var(--lg-teal);
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(31, 156, 158, 0.28);
}

.lg-btn--primary:hover {
  background: var(--lg-teal-dark);
  color: #fff !important;
  transform: translateY(-1px);
}

.lg-btn--outline {
  background: #fff;
  color: var(--lg-teal) !important;
  border-color: var(--lg-teal);
}

.lg-btn--outline:hover {
  background: rgba(31, 156, 158, 0.08);
  color: var(--lg-teal-dark) !important;
}

.lg-btn--light {
  background: #fff;
  color: var(--lg-teal-deep) !important;
  margin-top: 0.35rem;
  width: fit-content;
}

.lg-btn--light:hover {
  background: var(--lg-mint);
  color: var(--lg-teal-deep) !important;
  transform: translateY(-1px);
}

.lg-btn--ghost {
  background: transparent;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.7);
}

.lg-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff !important;
  border-color: #fff;
}

.lg-eligible__intro .lg-actions {
  margin-top: 0.25rem;
}

.lg-eligible__intro .lg-btn,
.lg-eligible__actions .lg-btn {
  margin-top: 0;
}

.lg-conditions__content .lg-actions {
  margin-top: 1.25rem;
}

/* Calculation panel — bold teal block for high visibility */
.lg-calc-wrap {
  position: relative;
  padding: 0 0 clamp(2.25rem, 5vw, 3.5rem);
  background:
    radial-gradient(
      circle at 88% 20%,
      rgba(31, 156, 158, 0.1),
      transparent 36%
    ),
    radial-gradient(
      circle at 10% 90%,
      rgba(14, 127, 129, 0.06),
      transparent 30%
    ),
    var(--lg-mint);
}

.lg-calc {
  position: relative;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  grid-template-areas:
    "intro body"
    "total total";
  gap: 1.25rem 1.75rem;
  align-items: stretch;
  padding: clamp(1.35rem, 3vw, 1.85rem);
  border-radius: calc(var(--lg-radius) + 6px);
  background: linear-gradient(180deg, #ffffff 0%, #f7fcfc 100%);
  color: var(--lg-ink);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 22px 50px rgba(15, 118, 120, 0.12);
  border: 1px solid rgba(31, 156, 158, 0.14);
  overflow: hidden;
}

.lg-calc::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -70px;
  top: -80px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(31, 156, 158, 0.16),
    transparent 70%
  );
  pointer-events: none;
}

.lg-calc__intro {
  grid-area: intro;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  justify-content: center;
  padding: 0.5rem 0.35rem;
}

.lg-calc__eyebrow {
  margin: 0;
  width: fit-content;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: rgba(31, 156, 158, 0.12);
  color: var(--lg-teal-dark);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lg-calc__title {
  margin: 0;
  color: var(--lg-teal);
  font-size: clamp(1.45rem, 2.6vw, 1.95rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.lg-calc__lead {
  margin: 0;
  max-width: 22rem;
  color: var(--lg-muted);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.5;
}

.lg-calc__hero {
  position: relative;
  margin-top: 0.55rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 1.25rem 1.2rem 1.15rem;
  border-radius: 18px;
  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(255, 255, 255, 0.22),
      transparent 42%
    ),
    linear-gradient(
      145deg,
      #28a8aa 0%,
      var(--lg-teal) 45%,
      var(--lg-teal-deep) 100%
    );
  color: #fff;
  box-shadow: 0 18px 36px rgba(14, 127, 129, 0.28);
  overflow: hidden;
}

.lg-calc__hero::after {
  content: "";
  position: absolute;
  inset: auto -20% -55% auto;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  pointer-events: none;
}

.lg-calc__hero-label {
  position: relative;
  z-index: 1;
  font-size: 0.86rem;
  font-weight: 500;
  opacity: 0.92;
}

.lg-calc__hero-value {
  position: relative;
  z-index: 1;
  font-size: clamp(2rem, 3.4vw, 2.55rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.lg-calc__hero-value em {
  font-style: normal;
  font-size: 0.52em;
  font-weight: 600;
  opacity: 0.9;
  margin-left: 0.15rem;
}

.lg-calc__hero-hint {
  position: relative;
  z-index: 1;
  margin-top: 0.15rem;
  font-size: 0.8rem;
  font-weight: 500;
  opacity: 0.8;
}

.lg-calc__body {
  grid-area: body;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 7px 0;
}

.lg-calc__metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
}

.lg-calc__metric {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-height: 100%;
  padding: 0.9rem 0.85rem;
  border-radius: 14px;
  background: rgba(31, 156, 158, 0.06);
  border: 1px solid rgba(31, 156, 158, 0.1);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.lg-calc__metric:hover {
  transform: translateY(-2px);
  border-color: rgba(31, 156, 158, 0.28);
  background: rgba(31, 156, 158, 0.1);
}

.lg-calc__metric span {
  color: var(--lg-muted);
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.3;
}

.lg-calc__metric strong {
  color: var(--lg-ink);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.lg-calc__metric small {
  color: var(--lg-teal-dark);
  font-size: 0.78rem;
  font-weight: 600;
}

.lg-calc__total {
  grid-area: total;
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.05rem 1.2rem;
  border-radius: 16px;
  background: linear-gradient(
    135deg,
    rgba(31, 156, 158, 0.14),
    rgba(31, 156, 158, 0.06)
  );
  border: 1px solid rgba(31, 156, 158, 0.18);
}

.lg-calc__total-copy {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.lg-calc__total-copy span {
  color: var(--lg-ink);
  font-size: 0.98rem;
  font-weight: 600;
}

.lg-calc__total-copy small {
  color: var(--lg-muted);
  font-size: 0.8rem;
  font-weight: 500;
}

.lg-calc__total > strong {
  color: var(--lg-teal-deep);
  font-size: clamp(1.25rem, 2.4vw, 1.55rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

/* Final CTA */
.lg-cta {
  padding: clamp(2rem, 5vw, 3.25rem) 0 clamp(1.25rem, 3vw, 2rem);
  text-align: center;
}

.lg-cta__text {
  margin: 0 auto;
  max-width: 42rem;
  color: var(--lg-teal);
  font-size: clamp(1.05rem, 2.4vw, 1.45rem);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* Form / calculator / other offers */
.lg-form {
  padding-bottom: 2rem;
}

.lg-form .branch-text {
  font-family: "Inter", sans-serif;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 600;
  color: var(--lg-ink);
}

.lg-calculator {
  padding: 1rem 0 2.5rem;
}

.lg-other {
  padding: 1rem 0 3rem;
}

.lg-other .ecom-title {
  font-family: "Inter", sans-serif;
  margin-bottom: 1.25rem;
}

.lg-other .other-offers {
  display: flex;
  gap: 1.5rem;
  justify-content: space-between;
}

.lg-other .other-offers__img {
  border-radius: var(--lg-radius-sm);
}

.lg-other .other-offers__txt {
  margin: 0.5rem 0;
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  color: var(--lg-ink);
}

/* Motion */
@media (prefers-reduced-motion: no-preference) {
  .lg-intro__title,
  .lg-intro__lead,
  .lg-conditions__grid,
  .lg-benefits__grid,
  .lg-eligible__panel,
  .lg-calc {
    animation: lg-fade-up 0.7s ease both;
  }

  .lg-intro__lead {
    animation-delay: 0.08s;
  }

  .lg-conditions__grid {
    animation-delay: 0.05s;
  }

  .lg-calc {
    animation-delay: 0.05s;
  }
}

@keyframes lg-fade-up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 960px) {
  .lg-conditions__grid {
    grid-template-columns: 1fr;
  }

  .lg-calc {
    grid-template-columns: 1fr;
    grid-template-areas:
      "intro"
      "body"
      "total";
  }

  .lg-eligible__panel {
    grid-template-columns: 1fr;
    grid-template-areas:
      "intro"
      "steps"
      "actions";
  }

  .lg-eligible__actions {
    padding: 0.25rem 0 0;
    align-self: stretch;
  }

  .lg-benefits__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .lg-calc__metrics {
    grid-template-columns: repeat(2, 1fr);
  }

  .lg-other .other-offers {
    flex-wrap: wrap;
  }

  .lg-other .other-offers__item {
    width: calc(50% - 0.75rem);
  }
}

@media (max-width: 640px) {
  .lg-container {
    width: min(100% - 24px, var(--lg-max));
  }

  .lg-benefits__grid {
    grid-template-columns: 1fr;
  }

  .lg-rates__item {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .lg-rates__range {
    text-align: left;
  }

  .lg-rates__value small {
    display: inline;
    margin-left: 0.35rem;
  }

  .lg-actions {
    flex-direction: column;
  }

  .lg-actions--center .lg-btn,
  .lg-actions .lg-btn {
    width: 100%;
  }

  .lg-calc__metrics {
    grid-template-columns: 1fr 1fr;
  }

  .lg-calc__total {
    flex-direction: column;
    align-items: flex-start;
  }

  .lg-calc {
    padding: 1.1rem;
  }

  .lg-other .other-offers__item {
    width: 100%;
  }
}
