/* zolar.se/leasing – leasing page in the site's dark look (loaded after site.css, only on leasing.html).
   All classes are prefixed ls- so nothing collides with site.css. */

.pg-leasing {
  --ls-panel: #1F4D3F;           /* the green square + process band */
  --ls-amber: #E8A628;           /* sun in the illustration */
  --ls-accent: var(--color-secondary);
  --ls-line: var(--color-border-dark);
  --ls-pad: clamp(1rem, 6vw, 5rem);
}

.ls-wrap { max-width: 1248px; margin: 0 auto; padding: 0 var(--ls-pad); }
.ls-eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ls-accent);
}
.ls-title { font-size: clamp(1.9rem, 3.6vw, 2.6rem); margin: 0; letter-spacing: -.01em; }
.ls-section { padding: 5.5rem 0; }
.ls-section--alt { background: var(--color-surface); border-top: 1px solid var(--ls-line); border-bottom: 1px solid var(--ls-line); }
.ls-section > .ls-wrap { display: flex; flex-direction: column; gap: 2.75rem; }

/* ---------- hero: words left, green square right ---------- */
.ls-hero { padding: 5rem 0 5.5rem; }
.ls-hero .ls-wrap { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4rem; align-items: center; }
.ls-hero__copy { display: flex; flex-direction: column; gap: 1.6rem; }
.ls-hero h1 { font-size: clamp(2.3rem, 4.4vw, 3.6rem); line-height: 1.07; letter-spacing: -.02em; margin: 0; }
.ls-lead { font-size: 1.15rem; line-height: 1.65; color: hsl(0 0% 80%); margin: 0; }
.ls-actions { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; }
.ls-phone { color: var(--color-text-light-muted); font-weight: 500; }
.ls-phone:hover { color: var(--ls-accent); }
.ls-art {
  height: 440px; background: var(--ls-panel); border-radius: 28px;
  display: flex; align-items: center; justify-content: center; padding: 1.5rem;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .45);
}
.ls-art svg { width: 100%; max-width: 440px; height: auto; }

/* ---------- financing models ---------- */
.ls-models { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.ls-model {
  display: flex; flex-direction: column; gap: 1rem; padding: 2.25rem;
  background: var(--color-background); border: 1px solid var(--ls-line); border-radius: 20px;
  transition: border-color .3s ease, transform .3s ease;
}
.ls-model:hover { transform: translateY(-4px); border-color: hsl(116 34% 60% / .45); }
.ls-model--featured { border: 2px solid var(--ls-accent); background: hsl(116 34% 60% / .07); }
.ls-model__top { display: flex; justify-content: space-between; align-items: center; min-height: 28px; }
.ls-model__num { font-size: .85rem; font-weight: 700; letter-spacing: .1em; color: var(--color-text-light-muted); }
.ls-badge { font-size: .8rem; font-weight: 700; padding: .35rem .75rem; border-radius: 999px; background: var(--ls-accent); color: #0b140b; }
.ls-model h3 { font-size: 1.6rem; margin: 0; }
.ls-model p { font-size: 1.05rem; line-height: 1.6; color: hsl(0 0% 78%); margin: 0; }
.ls-model ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; font-size: 1rem; }
.ls-model li { position: relative; padding-left: 1.6rem; color: var(--color-text-light); }
.ls-model li::before {
  content: ""; position: absolute; left: 0; top: .45em; width: .85rem; height: .45rem;
  border-left: 2px solid var(--ls-accent); border-bottom: 2px solid var(--ls-accent); transform: rotate(-45deg);
}

/* ---------- comparison table ---------- */
.ls-table-wrap { overflow-x: auto; border-radius: 16px; border: 1px solid var(--ls-line); }
.ls-compare { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 1.05rem; background: var(--color-surface); }
.ls-compare thead tr { background: var(--ls-panel); color: #fff; }
.ls-compare th, .ls-compare td { padding: 1.1rem 1.75rem; text-align: left; }
.ls-compare thead th { padding-top: 1.25rem; padding-bottom: 1.25rem; font-weight: 600; }
.ls-compare tbody th { font-weight: 600; color: var(--color-text-light); }
.ls-compare tbody td { color: hsl(0 0% 78%); }
.ls-compare tbody tr:not(:last-child) { border-bottom: 1px solid var(--ls-line); }
.ls-compare tbody td:nth-child(3) { color: var(--color-text-light); background: hsl(116 34% 60% / .05); }

/* ---------- process ---------- */
.ls-process { background: var(--ls-panel); padding: 5rem 0; }
.ls-process .ls-wrap { display: flex; flex-direction: column; gap: 2.75rem; }
.ls-process .ls-title { color: #fff; }
.ls-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.75rem; }
.ls-steps li { display: flex; flex-direction: column; gap: .75rem; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, .18); }
.ls-step-num { font-size: 2.4rem; font-weight: 700; line-height: 1; color: var(--ls-accent); }
.ls-step-title { font-size: 1.15rem; font-weight: 700; color: #fff; }
.ls-step-text { font-size: 1rem; line-height: 1.55; color: #D6E2DC; }

/* ---------- application ---------- */
.ls-section > .ls-wrap.ls-apply { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 4rem; align-items: start; }
.ls-apply__intro { display: flex; flex-direction: column; gap: 1.25rem; position: sticky; top: 96px; }
.ls-apply__intro p { font-size: 1.1rem; line-height: 1.6; color: hsl(0 0% 78%); margin: 0; }
.ls-apply__intro .ls-note { font-size: .95rem; color: var(--color-text-light-muted); }

.ls-form {
  background: var(--color-surface); border: 1px solid var(--ls-line); border-radius: 24px;
  padding: clamp(1.5rem, 4vw, 3rem); display: flex; flex-direction: column; gap: 2.25rem;
}
.ls-form fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 1.1rem; min-width: 0; }
.ls-form legend { font-size: 1.2rem; font-weight: 700; color: var(--ls-accent); padding: 0; margin-bottom: 1.1rem; }
.ls-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
.ls-grid-2 .ls-grid-2 { gap: .75rem; }
.ls-field { display: flex; flex-direction: column; gap: .4rem; font-size: .95rem; font-weight: 500; color: var(--color-text-light); }
.ls-field .form-control { height: 48px; }
.ls-field textarea.form-control { height: 110px; padding-top: .75rem; }
.ls-field .form-control:user-invalid { border-color: var(--color-danger); }
.ls-consent { display: flex; gap: .75rem; align-items: flex-start; font-size: .95rem; line-height: 1.5; color: hsl(0 0% 78%); }
.ls-consent input { width: 22px; height: 22px; margin-top: 1px; flex: none; accent-color: var(--ls-accent); }
.ls-consent a { color: var(--ls-accent); text-decoration: underline; }
.ls-form .btn { align-self: flex-start; }
.ls-form .btn:disabled { opacity: .6; cursor: default; }
.ls-status { font-size: 1rem; font-weight: 500; color: var(--ls-accent); margin: 0; }
.ls-status:empty { display: none; }
.ls-hp { position: absolute; left: -9999px; }

/* ---------- small print above the site footer ---------- */
.ls-fineprint { border-top: 1px solid var(--ls-line); padding: 2.5rem 0; }
.ls-fineprint .ls-wrap { display: flex; flex-direction: column; gap: .75rem; font-size: .9rem; line-height: 1.6; color: var(--color-text-light-muted); }
.ls-fineprint p { margin: 0; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .ls-section > .ls-wrap.ls-apply { grid-template-columns: 1fr; gap: 2.5rem; }
  .ls-apply__intro { position: static; }
  .ls-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .ls-hero .ls-wrap { grid-template-columns: 1fr; gap: 2.5rem; }
  .ls-hero { padding: 3.5rem 0 4rem; }
  .ls-art { height: 300px; }
  .ls-models { grid-template-columns: 1fr; }
  .ls-section, .ls-process { padding: 4rem 0; }
}
@media (max-width: 600px) {
  .ls-grid-2 { grid-template-columns: 1fr; }
  .ls-steps { grid-template-columns: 1fr; }
  .ls-model { padding: 1.75rem; }
}
.ls-hint { font-weight: 400; color: var(--color-text-light-muted); }

/* other business models box under "Ansök om leasing" */
.ls-models-alt {
  padding: 1.25rem 1.4rem; border-radius: 16px;
  border: 1px solid hsl(116 34% 60% / .35); background: hsl(116 34% 60% / .06);
}
.ls-models-alt h3 { font-size: 1.1rem; margin: 0 0 .5rem; color: var(--ls-accent); }
.ls-apply__intro .ls-models-alt p { font-size: .98rem; margin: 0 0 .6rem; }
.ls-apply__intro .ls-models-alt p:last-child { margin-bottom: 0; }
.ls-models-alt ul { list-style: none; padding: 0; margin: 0 0 .75rem; display: grid; gap: .45rem; font-size: .98rem; line-height: 1.5; color: hsl(0 0% 80%); }
.ls-models-alt strong { color: var(--color-text-light); }

/* requirement line on a financing card (CaaS minimum size) */
.ls-model .ls-req {
  font-size: .9rem; font-weight: 600; line-height: 1.45; color: var(--ls-amber);
  padding: .55rem .8rem; border-radius: 10px; background: hsl(40 80% 53% / .1); border: 1px solid hsl(40 80% 53% / .3);
}
