/* ============================================================
   Ezvisa — long-form exact-keyword SEO guides (redesigned)
   ============================================================ */

/* .ca-page sets overflow-x: hidden, which turns <main> into a scroll
   container and silently kills position: sticky for the guide sidebar.
   clip achieves the same horizontal clipping without breaking sticky. */
main.lf-exact-page {
  overflow-x: hidden;
  overflow-x: clip;
  overflow-y: visible;
}

.lf-guide {
  --lf-teal: #14839d;
  --lf-teal-dark: #0f6b80;
  --lf-navy: #082f3a;
  --lf-gold: #e5a52f;
  --lf-muted: #5c6b72;
  --lf-border: #dcebef;
  --lf-bg: #f3fafc;
  padding: clamp(48px, 7vw, 92px) 0;
  background: linear-gradient(180deg, #f3fafc 0%, #fff 42%, #f7fafb 100%);
  overflow-x: clip;
  overflow-y: visible;
  isolation: isolate;
}

.lf-guide,
.lf-guide * {
  box-sizing: border-box;
}

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

.lf-guide__progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--lf-teal), var(--lf-gold));
  z-index: 1200;
  transform-origin: left center;
}

/* ---------- Guide head (hero card) ---------- */
.lf-guide__head {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 40px;
}

.lf-guide__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--lf-teal-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
  padding: 8px 16px;
  border: 1px solid rgba(20, 131, 157, 0.25);
  border-radius: 999px;
  background: rgba(20, 131, 157, 0.08);
}

.lf-guide__title {
  font-family: "Work Sans", Roboto, sans-serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: var(--lf-navy);
  line-height: 1.15;
  margin: 0 0 14px;
}

.lf-guide__lead {
  font-size: 17px;
  line-height: 1.75;
  color: var(--lf-muted);
  margin: 0;
}

.lf-guide__head--hero {
  max-width: 1020px;
  position: relative;
  padding: clamp(26px, 4vw, 44px) clamp(18px, 3.4vw, 40px) clamp(24px, 3.4vw, 38px);
  border: 1px solid var(--lf-border);
  border-radius: 26px;
  background:
    radial-gradient(circle at 100% 0%, rgba(20, 131, 157, 0.12), transparent 42%),
    radial-gradient(circle at 0% 100%, rgba(229, 165, 47, 0.1), transparent 40%),
    #fff;
  box-shadow: 0 22px 54px rgba(8, 47, 58, 0.08);
  overflow: hidden;
}

.lf-guide__head--hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: linear-gradient(90deg, var(--lf-teal), var(--lf-gold));
}

.lf-guide__head--hero .lf-guide__lead {
  max-width: 820px;
  margin-inline: auto;
}

.lf-head-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 2px 0 16px;
}

.lf-head-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 13px;
  border: 1px solid var(--lf-border);
  border-radius: 999px;
  background: #f7fcfd;
  color: var(--lf-navy);
  font-size: 12.5px;
  font-weight: 750;
  line-height: 1;
}

.lf-head-chip i {
  color: var(--lf-teal);
}

.lf-head-chip em {
  font-style: normal;
  color: var(--lf-muted);
  font-weight: 650;
}

.lf-head-chip--rating {
  border-color: rgba(229, 165, 47, 0.45);
  background: linear-gradient(135deg, #fff8ea, #fff);
}

.lf-head-chip--rating > span {
  color: #e5a52f;
  font-size: 14px;
}

.lf-head-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
  text-align: left;
}

.lf-head-card {
  position: relative;
  min-width: 0;
  padding: 18px 16px 16px;
  border: 1px solid var(--lf-border);
  border-radius: 18px;
  background: linear-gradient(180deg, #fbfeff, #f4fafc);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.lf-head-card:hover {
  transform: translateY(-3px);
  border-color: rgba(20, 131, 157, 0.4);
  box-shadow: 0 14px 30px rgba(8, 47, 58, 0.09);
}

.lf-head-card__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 12px;
  border-radius: 13px;
  background: linear-gradient(145deg, var(--lf-teal), var(--lf-teal-dark));
  color: #fff;
  font-size: 18px;
  box-shadow: 0 8px 18px rgba(20, 131, 157, 0.28);
}

.lf-head-card h4 {
  margin: 0 0 7px;
  color: var(--lf-navy);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.3;
}

.lf-head-card p {
  margin: 0;
  color: var(--lf-muted);
  font-size: 13.5px;
  line-height: 1.62;
}

.lf-hero-rating {
  margin: 14px 0;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  width: fit-content;
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
  color: #fff;
  font-size: 14px;
  line-height: 1;
  backdrop-filter: blur(8px);
}

.lf-hero-rating > span:first-child {
  color: #ffd267;
  letter-spacing: 1px;
}

/* ---------- Layout & sidebar ---------- */
.lf-guide__layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.lf-guide__side {
  position: sticky;
  top: 108px;
  min-width: 0;
  display: grid;
  gap: 16px;
}

.lf-guide__nav {
  background: #fff;
  border: 1px solid var(--lf-border);
  border-radius: 20px;
  padding: 18px 14px;
  box-shadow: 0 14px 36px rgba(8, 47, 58, 0.06);
}

.lf-guide__nav-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lf-teal);
  margin: 0 4px 12px;
}

.lf-guide__nav ol {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

/* stepper spine */
.lf-guide__nav ol::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 14px;
  bottom: 14px;
  width: 2px;
  background: linear-gradient(180deg, rgba(20, 131, 157, 0.25), rgba(229, 165, 47, 0.25));
}

.lf-guide__nav a {
  position: relative;
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 10px;
  align-items: center;
  padding: 8px 8px 8px 0;
  border-radius: 12px;
  color: var(--lf-navy);
  text-decoration: none;
  font-size: 13.5px;
  line-height: 1.35;
  font-weight: 650;
  transition: background 0.25s ease, color 0.25s ease;
  overflow-wrap: anywhere;
}

.lf-nav-num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-left: 3px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid rgba(20, 131, 157, 0.3);
  color: var(--lf-teal);
  font-size: 11px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.lf-guide__nav a:hover {
  background: rgba(20, 131, 157, 0.07);
  color: var(--lf-teal-dark);
}

.lf-guide__nav a.is-active {
  background: rgba(20, 131, 157, 0.09);
  color: var(--lf-teal-dark);
}

.lf-guide__nav a.is-active .lf-nav-num {
  background: linear-gradient(145deg, var(--lf-teal), var(--lf-teal-dark));
  border-color: transparent;
  color: #fff;
}

.lf-side-cta {
  position: relative;
  padding: 20px 18px;
  border-radius: 20px;
  background:
    radial-gradient(circle at 90% 0%, rgba(63, 195, 222, 0.25), transparent 45%),
    linear-gradient(150deg, #0a3844, #0e5163);
  color: #eaf6f9;
  box-shadow: 0 16px 36px rgba(8, 47, 58, 0.18);
  overflow: hidden;
}

.lf-side-cta__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffd98a;
  font-size: 19px;
  margin-bottom: 10px;
}

.lf-side-cta h4 {
  margin: 0 0 6px;
  color: #fff;
  font-size: 17px;
  font-weight: 800;
}

.lf-side-cta p {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(234, 246, 249, 0.85);
}

.lf-side-cta__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 14px;
  border-radius: 999px;
  background: var(--lf-gold);
  color: #1b1405;
  font-weight: 800;
  font-size: 13.5px;
  text-decoration: none;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.lf-side-cta__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(229, 165, 47, 0.35);
  color: #1b1405;
}

.lf-side-cta__tel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  transition: background 0.22s ease;
}

.lf-side-cta__tel:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* ---------- Chapters ---------- */
.lf-chapter {
  position: relative;
  background: #fff;
  border: 1px solid var(--lf-border);
  border-radius: 22px;
  padding: clamp(22px, 3vw, 34px);
  margin-bottom: 22px;
  box-shadow: 0 16px 40px rgba(8, 47, 58, 0.05);
  opacity: 1;
  transform: none;
  transition: opacity 0.55s ease, transform 0.55s ease, box-shadow 0.35s ease;
  scroll-margin-top: 128px;
  overflow: hidden;
}

.lf-chapter::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--lf-teal), rgba(229, 165, 47, 0.75));
  opacity: 0;
  transition: opacity 0.35s ease;
}

.lf-chapter:hover::before {
  opacity: 1;
}

.lf-guide--anim .lf-chapter:not(.is-visible),
.lf-guide--anim .lf-reveal:not(.is-visible) {
  opacity: 0;
  transform: translateY(22px);
}

.lf-guide--anim .lf-chapter.is-visible,
.lf-guide--anim .lf-reveal.is-visible {
  opacity: 1;
  transform: none;
}

.lf-chapter__head {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-bottom: 16px;
}

.lf-chapter__badge {
  flex: 0 0 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--lf-teal), var(--lf-teal-dark));
  color: #fff;
  font-size: 21px;
  box-shadow: 0 10px 22px rgba(20, 131, 157, 0.28);
}

.lf-chapter__meta {
  min-width: 0;
}

.lf-chapter__kicker {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lf-gold);
  margin-bottom: 3px;
}

.lf-chapter h3 {
  margin: 0;
  font-size: clamp(20px, 2.4vw, 27px);
  color: var(--lf-navy);
  font-weight: 800;
  line-height: 1.25;
}

.lf-chapter__intro {
  padding: 14px 16px;
  border-left: 4px solid var(--lf-gold);
  border-radius: 0 14px 14px 0;
  background: linear-gradient(90deg, rgba(229, 165, 47, 0.08), rgba(229, 165, 47, 0.02));
  color: var(--lf-navy) !important;
  font-weight: 600;
}

.lf-chapter p {
  color: var(--lf-muted);
  font-size: 16px;
  line-height: 1.75;
  margin: 0 0 12px;
}

.lf-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.lf-point {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid var(--lf-border);
  border-radius: 14px;
  background: #f8fcfd;
  color: var(--lf-navy);
  font-size: 14px;
  line-height: 1.55;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.lf-point:hover {
  border-color: rgba(20, 131, 157, 0.4);
  background: #f2fafc;
  transform: translateY(-2px);
}

.lf-point i {
  flex: 0 0 auto;
  color: var(--lf-teal);
  font-size: 16px;
  margin-top: 2px;
}

/* legacy figure (older builds) */
.lf-figure {
  margin: 18px 0 8px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--lf-border);
  background: linear-gradient(135deg, #e8f4f8, #f4fafc);
}

.lf-figure img {
  width: 100%;
  height: clamp(220px, 34vw, 390px);
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ---------- Process timeline + checklist ---------- */
.lf-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 8px 0 22px;
  scroll-margin-top: 128px;
}

.lf-panel__card {
  background: #fff;
  border: 1px solid var(--lf-border);
  border-radius: 20px;
  padding: 24px 22px;
  box-shadow: 0 14px 34px rgba(8, 47, 58, 0.05);
  min-width: 0;
}

.lf-panel__card h4 {
  margin: 0 0 18px;
  color: var(--lf-navy);
  font-size: 18px;
  font-weight: 800;
  display: flex;
  gap: 10px;
  align-items: center;
}

.lf-panel__icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--lf-teal), var(--lf-teal-dark));
  color: #fff;
  font-size: 16px;
  flex: 0 0 auto;
}

.lf-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.lf-timeline::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: linear-gradient(180deg, var(--lf-teal), var(--lf-gold));
  opacity: 0.35;
}

.lf-timeline__step {
  position: relative;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 0 0 16px;
}

.lf-timeline__step:last-child {
  padding-bottom: 0;
}

.lf-timeline__dot {
  position: relative;
  z-index: 1;
  flex: 0 0 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  border: 2px solid var(--lf-teal);
  color: var(--lf-teal-dark);
  font-size: 13px;
  font-weight: 800;
}

.lf-timeline__step p {
  margin: 4px 0 0;
  color: var(--lf-muted);
  font-size: 14.5px;
  line-height: 1.62;
}

.lf-timeline__step p strong {
  color: var(--lf-navy);
}

.lf-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
}

.lf-checklist__item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 11px 13px;
  border: 1px solid var(--lf-border);
  border-radius: 12px;
  background: #f8fcfd;
  color: var(--lf-navy);
  font-size: 14px;
  line-height: 1.55;
}

.lf-checklist__item i {
  flex: 0 0 auto;
  color: #1d9e6e;
  font-size: 16px;
  margin-top: 1px;
}

/* ---------- Shared block heads ---------- */
.lf-block-head {
  margin-bottom: 18px;
}

.lf-block-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid rgba(20, 131, 157, 0.25);
  background: rgba(20, 131, 157, 0.07);
  color: var(--lf-teal-dark);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.lf-block-head h3 {
  margin: 0 0 8px;
  color: var(--lf-navy);
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 800;
}

.lf-block-head p {
  margin: 0;
  color: var(--lf-muted);
  line-height: 1.7;
  font-size: 15px;
}

/* ---------- Sources / related / faq / cta shells ---------- */
.lf-sources,
.lf-related,
.lf-faq,
.lf-cta {
  background: #fff;
  border: 1px solid var(--lf-border);
  border-radius: 22px;
  padding: clamp(20px, 3vw, 30px);
  margin-bottom: 22px;
  min-width: 0;
  scroll-margin-top: 128px;
}

.lf-sources__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 10px;
}

.lf-source-card {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  padding: 13px 14px;
  border: 1px solid var(--lf-border);
  border-radius: 14px;
  background: #f8fcfd;
  color: var(--lf-navy);
  text-decoration: none;
  font-weight: 700;
  font-size: 13.5px;
  line-height: 1.4;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.lf-source-card:hover {
  transform: translateY(-2px);
  border-color: rgba(20, 131, 157, 0.45);
  box-shadow: 0 10px 24px rgba(8, 47, 58, 0.08);
  color: var(--lf-teal-dark);
}

.lf-source-card__icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: rgba(20, 131, 157, 0.1);
  color: var(--lf-teal-dark);
  font-size: 16px;
}

.lf-source-card__label {
  min-width: 0;
  overflow-wrap: anywhere;
}

.lf-source-card__ext {
  margin-left: auto;
  flex: 0 0 auto;
  font-size: 12px;
  color: var(--lf-teal);
}

.lf-related__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 10px;
}

.lf-related__link {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid var(--lf-border);
  border-radius: 14px;
  background: #f8fcfd;
  color: var(--lf-navy);
  text-decoration: none;
  font-weight: 700;
  font-size: 13.5px;
  line-height: 1.4;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.lf-related__link > i:first-child {
  color: var(--lf-teal);
  flex: 0 0 auto;
}

.lf-related__link span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.lf-related__arrow {
  margin-left: auto;
  flex: 0 0 auto;
  font-size: 12px;
  color: var(--lf-teal);
  opacity: 0;
  transform: translate(-4px, 4px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.lf-related__link:hover {
  transform: translateY(-2px);
  border-color: rgba(20, 131, 157, 0.45);
  background: #f2fafc;
  color: var(--lf-teal-dark);
}

.lf-related__link:hover .lf-related__arrow {
  opacity: 1;
  transform: translate(0, 0);
}

/* ---------- FAQ ---------- */
.lf-faq__search {
  position: relative;
  margin: 0 0 16px;
}

.lf-faq__search > i {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--lf-teal);
  font-size: 15px;
  pointer-events: none;
}

.lf-faq__search input {
  width: 100%;
  border: 1px solid var(--lf-border);
  border-radius: 999px;
  padding: 13px 16px 13px 42px;
  font-size: 15px;
  min-width: 0;
  color: var(--lf-navy);
  background: #f8fcfd;
  outline: none;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.lf-faq__search input:focus {
  border-color: var(--lf-teal);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(20, 131, 157, 0.12);
}

.lf-faq__item {
  border: 1px solid var(--lf-border);
  border-radius: 15px;
  margin-bottom: 10px;
  overflow: hidden;
  background: #fbfdfe;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.lf-faq__item[open] {
  border-color: rgba(20, 131, 157, 0.4);
  background: #fff;
  box-shadow: 0 10px 26px rgba(8, 47, 58, 0.06);
}

.lf-faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 16px;
  font-weight: 700;
  color: var(--lf-navy);
  display: flex;
  gap: 12px;
  align-items: center;
  line-height: 1.45;
}

.lf-faq__item summary::-webkit-details-marker {
  display: none;
}

.lf-faq__qmark {
  flex: 0 0 28px;
  height: 28px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: rgba(20, 131, 157, 0.1);
  color: var(--lf-teal-dark);
  font-size: 13px;
  font-weight: 800;
}

.lf-faq__item[open] .lf-faq__qmark {
  background: linear-gradient(145deg, var(--lf-teal), var(--lf-teal-dark));
  color: #fff;
}

.lf-faq__question {
  flex: 1;
  min-width: 0;
}

.lf-faq__item summary > i {
  flex: 0 0 auto;
  color: var(--lf-teal);
  transition: transform 0.3s ease;
}

.lf-faq__item[open] summary > i {
  transform: rotate(45deg);
}

.lf-faq__answer {
  padding: 0 16px 16px 56px;
}

.lf-faq__answer p {
  margin: 0;
  color: var(--lf-muted);
  line-height: 1.7;
}

.lf-faq__item[hidden] {
  display: none !important;
}

/* ---------- CTA ---------- */
.lf-cta {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: space-between;
  align-items: center;
  background:
    radial-gradient(circle at 92% 10%, rgba(63, 195, 222, 0.25), transparent 45%),
    linear-gradient(135deg, var(--lf-navy), var(--lf-teal-dark));
  color: #fff;
  border: 0;
  overflow: hidden;
}

.lf-cta__deco {
  position: absolute;
  right: -70px;
  bottom: -90px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  border: 34px solid rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

.lf-cta__content {
  position: relative;
  min-width: 0;
  max-width: 560px;
}

.lf-cta__badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  color: #ffd98a;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.lf-cta h3 {
  margin: 0 0 6px;
  font-size: clamp(20px, 2.6vw, 25px);
  color: #fff;
}

.lf-cta p {
  margin: 0;
  opacity: 0.9;
  color: #fff;
  line-height: 1.6;
}

.lf-cta__actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.lf-cta a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.lf-cta a:hover {
  transform: translateY(-2px);
}

.lf-cta--primary {
  background: var(--lf-gold);
  color: #1b1405;
}

.lf-cta--primary:hover {
  color: #1b1405;
  box-shadow: 0 10px 24px rgba(229, 165, 47, 0.35);
}

.lf-cta--whatsapp {
  background: #22b04c;
  color: #fff;
}

.lf-cta--whatsapp:hover {
  color: #fff;
  box-shadow: 0 10px 24px rgba(34, 176, 76, 0.35);
}

.lf-cta--ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.lf-cta--ghost:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.lf-reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.55s ease, transform 0.55s ease;
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .lf-guide__layout {
    grid-template-columns: 1fr;
  }
  .lf-guide__side {
    position: relative;
    top: 0;
  }
  .lf-guide__nav {
    max-height: none;
    overflow: visible;
  }
  .lf-guide__nav ol::before {
    display: none;
  }
  .lf-guide__nav ol {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
  }
  .lf-side-cta {
    display: none;
  }
  .lf-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 991px) and (min-width: 641px) {
  .lf-head-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .lf-head-cards .lf-head-card:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .lf-guide {
    padding: 42px 0 56px;
  }
  .lf-guide__head--hero {
    border-radius: 18px;
    padding: 22px 15px 20px;
  }
  .lf-head-meta {
    gap: 6px;
  }
  .lf-head-chip {
    font-size: 11.5px;
    padding: 7px 10px;
  }
  .lf-head-cards {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 16px;
  }
  .lf-guide .container {
    width: min(100% - 22px, 1180px);
  }
  .lf-guide__head {
    margin-bottom: 26px;
  }
  .lf-guide__lead {
    font-size: 15.5px;
    line-height: 1.65;
  }
  .lf-guide__nav {
    padding: 14px;
  }
  .lf-guide__nav ol {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 2px 0 8px;
    scroll-snap-type: x proximity;
  }
  .lf-guide__nav li {
    flex: 0 0 min(78vw, 280px);
    scroll-snap-align: start;
  }
  .lf-guide__nav a {
    height: 100%;
    border: 1px solid var(--lf-border);
    background: #f8fcfd;
    padding: 10px;
  }
  .lf-chapter {
    border-radius: 17px;
    padding: 20px 16px;
  }
  .lf-chapter__head {
    align-items: flex-start;
  }
  .lf-chapter__badge {
    flex-basis: 44px;
    height: 44px;
    border-radius: 13px;
    font-size: 18px;
  }
  .lf-chapter p {
    font-size: 15px;
    line-height: 1.68;
  }
  .lf-points {
    grid-template-columns: 1fr;
  }
  .lf-figure img {
    height: 220px;
  }
  .lf-panel__card,
  .lf-sources,
  .lf-related,
  .lf-faq,
  .lf-cta {
    border-radius: 17px;
    padding: 18px 15px;
  }
  .lf-sources__grid,
  .lf-related__grid {
    grid-template-columns: 1fr;
  }
  .lf-faq__answer {
    padding-left: 16px;
  }
  .lf-cta,
  .lf-cta__actions,
  .lf-cta a {
    width: 100%;
  }
  .lf-cta a {
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lf-chapter,
  .lf-reveal,
  .lf-guide__nav a,
  .lf-figure img,
  .lf-head-card,
  .lf-point,
  .lf-source-card,
  .lf-related__link,
  .lf-related__arrow,
  .lf-cta a {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
  .lf-guide__progress {
    display: none;
  }
}
