/* The approved Hero and review cards set the palette. Only the six sections
   below them are refined here; their media and native controls stay intact. */
body.hybrid-site.joker-dark.home-reordered :is(.home-benefits,.home-process,.home-costs,.home-about,.home-faq) {
  padding-block:clamp(56px,6vw,96px);
}
body.hybrid-site.joker-dark.home-reordered :is(.home-benefits,.home-process,.home-costs,.home-about,.home-faq,.home-last-call) h2 {
  font-size:clamp(2rem,3.8vw,3.375rem);
  line-height:1.08;
  letter-spacing:-.045em;
  text-wrap:balance;
}
body.hybrid-site.joker-dark.home-reordered :is(.home-benefits,.home-process,.home-costs,.home-faq) .section-heading {
  margin-block-end:36px;
}
body.hybrid-site.joker-dark.home-reordered :is(.home-benefits,.home-process,.home-costs,.home-faq) .section-heading>p,
body.hybrid-site.joker-dark.home-reordered .home-about-copy>p {
  font-size:1rem;
  line-height:1.7;
}
body.hybrid-site.joker-dark.home-reordered :is(#benefit-title,#costs-title,#about-title,#faq-title,#joki) {
  scroll-margin-block-start:128px;
}

/* Benefits retain their editorial rows; framed source icons carry the brand. */
body.hybrid-site.joker-dark.home-reordered .benefit-list {
  gap:0 clamp(28px,4vw,64px);
}
body.hybrid-site.joker-dark.home-reordered .benefit-list article {
  display:grid;
  grid-template-columns:52px minmax(0,1fr);
  align-items:start;
  gap:20px;
  padding-block:28px;
  border-block-start:1px solid var(--jk-border);
}
body.hybrid-site.joker-dark.home-reordered .benefit-list article>svg {
  box-sizing:border-box;
  width:52px;height:52px;
  padding:12px;
  border:1px solid var(--jk-border);
  border-radius:14px;
  color:var(--jk-link);
  background:var(--jk-surface);
}
body.hybrid-site.joker-dark.home-reordered .benefit-list h3 {
  margin-block:2px 10px;
  font-size:clamp(1.1875rem,1.8vw,1.4375rem);
  line-height:1.3;
}
body.hybrid-site.joker-dark.home-reordered .benefit-list p {
  font-size:1rem;line-height:1.65;
}

/* Fine inner frames echo the playing cards without turning every row into one. */
body.hybrid-site.joker-dark.home-reordered :is(.home-process-photo,.home-about-photo) {
  position:relative;
  overflow:hidden;
  border:1px solid rgba(245,248,246,.65);
  border-radius:20px;
}
body.hybrid-site.joker-dark.home-reordered :is(.home-process-photo,.home-about-photo)::after {
  content:"";
  position:absolute;inset:8px;
  border:1px solid rgba(245,248,246,.4);
  border-radius:13px;
  pointer-events:none;
}
body.hybrid-site.joker-dark.home-reordered .home-about-photo>img {
  border:0;border-radius:0;
}
body.hybrid-site.joker-dark.home-reordered .home-process-steps li {
  padding-inline-start:56px;
}
body.hybrid-site.joker-dark.home-reordered .home-process-steps li>span {
  font-size:1.625rem;line-height:1.25;
}
body.hybrid-site.joker-dark.home-reordered .home-process-steps h3 {
  font-size:clamp(1.125rem,1.45vw,1.25rem);line-height:1.35;
}
body.hybrid-site.joker-dark.home-reordered .home-process-steps p {
  font-size:1rem;line-height:1.65;
}

/* Price orientation pairs the explanation and next action with one clear list. */
body.hybrid-site.joker-dark.home-reordered .home-costs-copy {
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:28px;
  align-items:start;
}
body.hybrid-site.joker-dark.home-reordered .home-costs .section-heading {
  margin:0;
}
body.hybrid-site.joker-dark.home-reordered .home-cost-parts {
  display:grid;grid-template-columns:minmax(0,1fr);
  gap:0;margin:0;padding:12px 24px;
  background:var(--jk-surface);
  border:1px solid rgba(245,248,246,.65);
  border-radius:20px;
  outline:1px solid var(--jk-border);outline-offset:-8px;
}
body.hybrid-site.joker-dark.home-reordered .home-cost-parts article {
  border-inline-start:0;
  padding:22px 0;
}
body.hybrid-site.joker-dark.home-reordered .home-cost-parts article+article {
  border-block-start:1px solid var(--jk-border);
}
body.hybrid-site.joker-dark.home-reordered .home-cost-parts h3 {
  font-size:1.1875rem;line-height:1.35;color:var(--jk-text);
}
body.hybrid-site.joker-dark.home-reordered .home-cost-parts p {
  font-size:1rem;line-height:1.65;
}
body.hybrid-site.joker-dark.home-reordered .home-costs .revamp-button {
  justify-self:start;min-height:54px;padding:15px 24px;font-size:1rem;
}

/* Local contact actions use the same white WhatsApp treatment as the Hero. */
body.hybrid-site.joker-dark.home-reordered .home-about {
  align-items:center;
}
body.hybrid-site.joker-dark.home-reordered .home-local-details {
  gap:22px;margin-block-start:26px;padding-block-start:26px;
}
body.hybrid-site.joker-dark.home-reordered .home-local-details p {
  font-size:1rem;line-height:1.65;
}
body.hybrid-site.joker-dark.home-reordered .home-local-details strong {
  margin-block-end:5px;
}
body.hybrid-site.joker-dark.home-reordered .home-local-details a {
  display:inline-flex;align-items:center;min-height:44px;
}
body.hybrid-site.joker-dark.home-reordered .home-contact-actions {
  display:flex;align-items:center;flex-wrap:wrap;gap:12px 20px;
  margin-block-start:8px;
}
body.hybrid-site.joker-dark.home-reordered .home-contact-actions .home-phone {
  font-size:1.125rem;font-weight:650;
}
body.hybrid-site.joker-dark.home-reordered .home-contact-actions .home-whatsapp {
  justify-content:center;gap:9px;
  min-height:48px;padding:11px 16px;
  border:1px solid #fff;border-radius:12px;
  background:#fff;color:var(--jk-bg);
  font-weight:700;text-decoration:none;
}
body.hybrid-site.joker-dark.home-reordered .home-whatsapp>img {
  width:21px;height:21px;flex:0 0 21px;
}
body.hybrid-site.joker-dark.home-reordered .home-whatsapp:hover {
  background:var(--jk-yellow);border-color:var(--jk-yellow);
}
body.hybrid-site.joker-dark.home-reordered .home-about-copy>.text-link,
body.hybrid-site.joker-dark.home-reordered .home-about-copy>p>.text-link {
  display:inline-flex;align-items:center;min-height:44px;
}

/* Native FAQ controls stay native; the whole row is a generous touch target. */
body.hybrid-site.joker-dark.home-reordered .home-faq-list {
  border:1px solid var(--jk-border);border-radius:20px;
  overflow:hidden;background:var(--jk-surface);
}
body.hybrid-site.joker-dark.home-reordered .home-faq-list details,
body.hybrid-site.joker-dark.home-reordered .home-faq-list details:first-child {
  border-block-start:0;border-block-end:0;
}
body.hybrid-site.joker-dark.home-reordered .home-faq-list details+details {
  border-block-start:1px solid var(--jk-border);
}
body.hybrid-site.joker-dark.home-reordered .home-faq-list summary {
  min-height:78px;padding:22px 24px;gap:18px;
  font-size:1.0625rem;line-height:1.45;
}
body.hybrid-site.joker-dark.home-reordered .home-faq-list details[open] {
  background:var(--jk-raised);
}
body.hybrid-site.joker-dark.home-reordered .home-faq-list details[open]>summary {
  color:var(--jk-yellow);
}
body.hybrid-site.joker-dark.home-reordered .home-faq-list details>p {
  padding:0 24px 24px;font-size:1rem;line-height:1.7;
}
body.hybrid-site.joker-dark.home-reordered .home-faq-list summary:focus-visible {
  outline-offset:-5px;border-radius:12px;
}

/* One final invitation, with Joki and the same CTA hierarchy as the first screen. */
body.hybrid-site.joker-dark.home-reordered .home-last-call {
  padding-block:clamp(44px,5vw,72px);
  background:var(--jk-bg);border-block-start:1px solid var(--jk-border);
}
body.hybrid-site.joker-dark.home-reordered .home-last-call>.revamp-container {
  display:grid;grid-template-columns:minmax(0,1fr);
  gap:26px;padding:clamp(24px,3.3vw,48px);
  border:1px solid rgba(245,248,246,.65);border-radius:24px;
  outline:1px solid var(--jk-border);outline-offset:-9px;
  background:var(--jk-surface);
}
body.hybrid-site.joker-dark.home-reordered .home-last-call .joki-mascot {
  width:120px;margin:0;
}
body.hybrid-site.joker-dark.home-reordered .home-last-call h2 {
  margin:0;max-width:18ch;
}
body.hybrid-site.joker-dark.home-reordered .home-last-call p {
  margin:20px 0 0;font-size:1rem;line-height:1.7;max-width:48ch;
}
body.hybrid-site.joker-dark.home-reordered .home-last-call .last-call-actions {
  display:flex;flex-direction:column;align-items:stretch;gap:12px;min-width:0;
}
body.hybrid-site.joker-dark.home-reordered .home-last-call .last-call-actions>a {
  display:flex;align-items:center;justify-content:center;gap:10px;
  min-height:54px;padding:14px 18px;border-radius:12px;
  font-size:.9375rem;font-weight:750;text-align:center;text-decoration:none;
}
body.hybrid-site.joker-dark.home-reordered .home-last-call .last-call-actions>.text-link {
  background:#fff;color:var(--jk-bg);border:1px solid #fff;
}
body.hybrid-site.joker-dark.home-reordered .home-last-call .last-call-actions>.text-link:hover {
  background:var(--jk-yellow);border-color:var(--jk-yellow);
}
body.hybrid-site.joker-dark.home-reordered .home-last-call .last-call-actions .text-link img {
  filter:none;
}
body.hybrid-site.joker-dark.home-reordered :is(.home-whatsapp,.home-phone):focus-visible {
  outline:3px solid var(--jk-yellow);outline-offset:5px;
}

@media(min-width:768px) {
  body.hybrid-site.joker-dark.home-reordered .home-benefits .section-heading {
    display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    column-gap:48px;max-width:none;align-items:end;
  }
  body.hybrid-site.joker-dark.home-reordered .home-benefits .section-heading>.eyebrow {
    grid-column:1/-1;
  }
  body.hybrid-site.joker-dark.home-reordered .home-benefits .section-heading>p {
    max-width:42ch;margin:0;
  }
  body.hybrid-site.joker-dark.home-reordered .home-last-call>.revamp-container {
    grid-template-columns:130px minmax(0,1fr);
    gap:28px;align-items:center;
  }
  body.hybrid-site.joker-dark.home-reordered .home-last-call .last-call-actions {
    grid-column:2;
  }
}
@media(min-width:1000px) {
  body.hybrid-site.joker-dark.home-reordered .home-costs-copy {
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    grid-template-rows:min-content minmax(54px,1fr);
    gap:28px clamp(40px,6vw,96px);
  }
  body.hybrid-site.joker-dark.home-reordered .home-costs .section-heading {
    grid-column:1;grid-row:1;
  }
  body.hybrid-site.joker-dark.home-reordered .home-cost-parts {
    grid-column:2;grid-row:1/span 2;
  }
  body.hybrid-site.joker-dark.home-reordered .home-costs .revamp-button {
    grid-column:1;grid-row:2;align-self:start;
  }
}
@media(min-width:1280px) {
  body.hybrid-site.joker-dark.home-reordered .home-process>.revamp-container {
    width:min(1280px,calc(100% - 96px));
  }
  body.hybrid-site.joker-dark.home-reordered .home-last-call>.revamp-container {
    grid-template-columns:150px minmax(0,1fr) minmax(240px,290px);
    gap:32px;
  }
  body.hybrid-site.joker-dark.home-reordered .home-last-call .joki-mascot {
    width:150px;
  }
  body.hybrid-site.joker-dark.home-reordered .home-last-call .last-call-actions {
    grid-column:3;
  }
}
@media(max-width:639px) {
  body.hybrid-site.joker-dark.home-reordered .benefit-list article {
    grid-template-columns:44px minmax(0,1fr);gap:16px;padding-block:24px;
  }
  body.hybrid-site.joker-dark.home-reordered .benefit-list article>svg {
    width:44px;height:44px;padding:10px;border-radius:12px;
  }
  body.hybrid-site.joker-dark.home-reordered .home-process-steps li {
    padding-inline-start:50px;
  }
  body.hybrid-site.joker-dark.home-reordered .home-faq-list summary {
    padding:20px;min-height:76px;font-size:1rem;
  }
  body.hybrid-site.joker-dark.home-reordered .home-faq-list details>p {
    padding:0 20px 22px;
  }
}

/* One continuous ground removes the full-width bands between sections.
   Card/photo outlines and internal dividers retain their existing styling. */
body.hybrid-site.joker-dark.home-reordered .revamp-home>:is(.home-reviews,.home-benefits,.home-process,.home-costs,.home-about,.home-faq,.home-last-call) {
  background:var(--jk-bg);
  border-block:0;
}
body.hybrid-site.joker-dark.home-reordered .revamp-footer {
  background:var(--jk-bg)!important;
  border-block:0;
}
