/* Main-page hero recreation. Kept separate so the concept demo pages stay untouched. */
.ld-page.ld-home-page {
  --home-ink: #0b1424;
  --home-blue: #0753c9;
  --home-muted: #5f6b7b;
  margin: 0;
  overflow-x: clip;
  overflow-y: visible;
  color: var(--home-ink);
  background: #fff;
  background-image: none;
  font-family: "Manrope", Inter, Arial, sans-serif;
  text-align: left;
}

body.ld-home-body {
  padding-top: 0;
  color: var(--home-ink, #0b1424);
  background: #fff;
  background-image: none;
  font-family: "Manrope", Inter, Arial, sans-serif;
  text-align: left;
}

.ld-home-page .ld-shell {
  width: min(1540px, calc(100% - 96px));
  margin-inline: auto;
}

.ld-home-nav-wrap {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  height: 96px;
  background: #fff;
  border-bottom: 1px solid #f0f2f5;
}

.ld-home-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.ld-home-brand {
  display: flex;
  flex: 0 0 184px;
  align-items: center;
  width: 184px;
  height: 62px;
}

.ld-home-brand img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ld-home-nav-links {
  display: flex;
  align-items: center;
  gap: 60px;
}

.ld-home-menu-panel { display: contents; }

.ld-home-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid #dce2eb;
  border-radius: 12px;
  background: #fff;
  color: var(--home-ink);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.ld-home-nav-toggle:focus-visible {
  outline: 3px solid rgb(7 83 201 / 38%);
  outline-offset: 3px;
}

.ld-home-nav-toggle-icon {
  display: grid;
  width: 18px;
  gap: 4px;
}

.ld-home-nav-toggle-icon i {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .18s ease, opacity .18s ease;
}

.ld-home-nav-link {
  color: var(--home-ink);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -.025em;
  text-decoration: none;
  white-space: nowrap;
  transition: color .18s ease;
}

.ld-home-nav-link:hover { color: var(--home-blue); }

.ld-home-nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 294px;
  min-height: 58px;
  padding: 0 28px;
  border: 1px solid var(--home-blue);
  border-radius: 14px;
  background: var(--home-blue);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 6px 14px rgb(7 83 201 / 12%);
  transition: background-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.ld-home-nav-cta:hover,
.ld-home-primary:hover {
  background: #0648b2;
  box-shadow: 0 9px 20px rgb(7 83 201 / 19%);
  transform: translateY(-1px);
}

.ld-home-page a:focus-visible {
  outline: 3px solid rgb(7 83 201 / 38%);
  outline-offset: 4px;
}

.ld-home-hero {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  align-items: center;
  min-height: calc(100svh - 96px);
  padding-top: 20px;
  padding-bottom: 28px;
  position: relative;
}

.ld-home-copy {
  position: relative;
  z-index: 4;
  max-width: 645px;
  padding: 0 0 4px 8px;
  transform: translateY(20px);
}

.ld-home-kicker {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0 0 26px;
  color: #314361;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .22em;
  line-height: 1.25;
}

.ld-home-kicker-rule {
  display: block;
  width: 43px;
  height: 2px;
  flex: 0 0 43px;
  background: var(--home-blue);
}

.ld-home-title {
  max-width: 680px;
  margin: 42.25px 0 0;
  color: #080d17;
  font-family: "Manrope", Inter, Arial, sans-serif;
  font-size: clamp(50px, 4.8vw, 80px);
  font-weight: 800;
  letter-spacing: -.069em;
  line-height: 1.015;
  transform: scaleX(1.07);
  transform-origin: left center;
}

.ld-home-copy-text {
  max-width: 535px;
  margin: 38px 0 0;
  color: var(--home-muted);
  font-size: clamp(18px, 1.3vw, 22px);
  font-weight: 500;
  letter-spacing: -.025em;
  line-height: 1.48;
}

.ld-home-price {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 37px;
  color: #101827;
  line-height: 1;
}

.ld-home-price span {
  margin-bottom: 4px;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -.025em;
}

.ld-home-price strong {
  color: var(--home-blue);
  font-size: clamp(66px, 5.25vw, 88px);
  font-weight: 800;
  letter-spacing: -.075em;
  line-height: .98;
  white-space: nowrap;
}

.ld-home-actions {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-top: 17px;
}

.ld-home-primary,
.ld-home-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  border-radius: 13px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.025em;
  text-decoration: none;
  transition: color .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.ld-home-primary {
  min-width: 326px;
  gap: 12px;
  padding: 0 25px;
  border: 1px solid var(--home-blue);
  background: var(--home-blue);
  color: #fff;
  box-shadow: 0 7px 16px rgb(7 83 201 / 15%);
}

.ld-home-primary img { width: 19px; height: 19px; }

.ld-home-secondary {
  min-width: 214px;
  padding: 0 25px;
  border: 1px solid #b9c6d9;
  background: #fff;
  color: #10213e;
}

.ld-home-secondary:hover {
  border-color: var(--home-blue);
  background: #f7faff;
  color: var(--home-blue);
}

.ld-home-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}

.ld-home-benefits li {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 0 16px;
  border-right: 1px solid #c7cfda;
  color: #25334b;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
}

.ld-home-benefits li:first-child { padding-left: 0; }
.ld-home-benefits li:last-child { padding-right: 0; border-right: 0; }

.ld-home-benefits img {
  display: block;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
}

.ld-home-collage {
  position: relative;
  width: calc(100% + 32px);
  height: min(80vh, 760px);
  min-height: 620px;
  margin-left: 16px;
  justify-self: stretch;
  isolation: isolate;
  transform: translateY(14px);
}

.ld-home-window {
  position: absolute;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  margin: 0;
  border: 1px solid #dfe4eb;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 24px 46px rgb(28 39 56 / 20%), 0 4px 12px rgb(28 39 56 / 8%);
}

.ld-home-window--marea {
  z-index: 1;
  top: 1.6%;
  left: 10.5%;
  width: 50%;
  height: 318px;
  transform: rotate(1deg);
}

.ld-home-window--norte {
  z-index: 2;
  top: 10.2%;
  right: 0;
  width: 45.5%;
  height: 500px;
  transform: rotate(-2.2deg);
}

.ld-home-window--clinica {
  z-index: 3;
  bottom: 15px;
  left: 0;
  width: 62%;
  height: 460px;
  transform: rotate(-1deg);
}

.ld-home-window-chrome {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 27px;
  padding: 0 12px;
  border-bottom: 1px solid #edf0f4;
  background: #fbfcfe;
}

.ld-home-window-chrome i {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.ld-home-window-chrome i:nth-child(1) { background: #ff625b; }
.ld-home-window-chrome i:nth-child(2) { background: #ffc342; }
.ld-home-window-chrome i:nth-child(3) { background: #30c76a; }

.ld-home-window-label {
  position: absolute;
  left: 50%;
  color: #99a2af;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: .04em;
  transform: translateX(-50%);
}

.ld-home-window > img {
  display: block;
  width: 100%;
  height: calc(100% - 27px);
  object-fit: cover;
  background: #f2f4f6;
}

.ld-home-window--marea > img { object-position: 50% 37%; }
.ld-home-window--norte > img { object-position: 54% 35%; }
.ld-home-window--clinica > img { object-position: 20% 40%; }

@media (max-width: 1360px) and (min-width: 901px) {
  .ld-home-page .ld-shell { width: min(1120px, calc(100% - 72px)); }
  .ld-home-nav-link { font-size: 16px; }
  .ld-home-nav-cta { min-width: 240px; min-height: 54px; font-size: 16px; }
  .ld-home-hero { grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr); }
  .ld-home-title { margin-top: 35.75px; font-size: clamp(48px, 5vw, 62px); }
  .ld-home-title { transform: none; }
  .ld-home-copy { transform: none; }
  .ld-home-kicker { margin-bottom: 22px; }
  .ld-home-price { margin-top: 20px; }
  .ld-home-actions { margin-top: 20px; }
  .ld-home-benefits { margin-top: 28px; }
  .ld-home-kicker { gap: 14px; font-size: 11px; }
  .ld-home-kicker { margin-bottom: 22px; }
  .ld-home-kicker-rule { width: 34px; flex-basis: 34px; }
  .ld-home-copy-text { font-size: 18px; }
  .ld-home-copy-text { margin-top: 24px; }
  .ld-home-price strong { font-size: 68px; }
  .ld-home-primary { min-width: 260px; font-size: 15px; }
  .ld-home-secondary { min-width: 160px; font-size: 15px; }
  .ld-home-actions { gap: 14px; }
  .ld-home-benefits { margin-top: 28px; }
  .ld-home-benefits li { gap: 8px; padding-inline: 9px; font-size: 12px; }
  .ld-home-benefits img { width: 25px; height: 25px; flex-basis: 25px; }
  .ld-home-collage { width: 100%; margin-left: 0; height: min(72vh, 660px); min-height: 540px; }
  .ld-home-window--marea { height: 270px; }
  .ld-home-window--norte { height: 390px; }
  .ld-home-window--clinica { height: 390px; }
}

@media (max-width: 900px) {
  .ld-home-page .ld-shell { width: calc(100% - 48px); }
  .ld-home-nav-wrap { height: auto; min-height: 96px; padding: 14px 0; }
  .ld-home-nav {
    display: grid;
    grid-template-columns: minmax(180px, 1fr) minmax(0, 320px);
    grid-template-areas: "brand cta" "links links";
    align-items: center;
    gap: 12px 24px;
  }
  .ld-home-brand { grid-area: brand; width: 172px; height: 58px; }
  .ld-home-nav-links { grid-area: links; justify-content: flex-end; gap: 24px; }
  .ld-home-nav-link { font-size: clamp(11px, 1.8vw, 15px); }
  .ld-home-nav-cta { grid-area: cta; width: 100%; min-width: 0; min-height: 48px; justify-self: end; font-size: 15px; }
  .ld-home-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
    min-height: 0;
    padding-top: 42px;
    padding-bottom: 40px;
  }
  .ld-home-copy { max-width: 720px; padding-left: 0; transform: none; }
  .ld-home-kicker { margin-bottom: 22px; font-size: 11px; }
  .ld-home-copy-text { margin-top: 20px; }
  .ld-home-title { max-width: 640px; margin-top: 35.75px; font-size: clamp(50px, 8vw, 72px); transform: none; }
  .ld-home-copy-text { max-width: 590px; font-size: clamp(18px, 2.3vw, 21px); }
  .ld-home-price { margin-top: 20px; }
  .ld-home-price span { font-size: 18px; }
  .ld-home-price strong { font-size: clamp(64px, 9vw, 78px); }
  .ld-home-actions { gap: 14px; margin-top: 20px; }
  .ld-home-primary, .ld-home-secondary { min-height: 58px; font-size: 16px; }
  .ld-home-primary { min-width: 286px; }
  .ld-home-secondary { min-width: 190px; }
  .ld-home-benefits { max-width: 640px; margin-top: 28px; }
  .ld-home-benefits li { gap: 9px; padding-inline: 12px; font-size: 13px; }
  .ld-home-benefits li:first-child { padding-left: 0; }
  .ld-home-benefits img { width: 27px; height: 27px; flex-basis: 27px; }
  .ld-home-collage { width: 100%; margin-left: 0; height: min(76vw, 600px); min-height: 470px; justify-self: stretch; }
  .ld-home-window--marea { width: 57%; height: 44%; }
  .ld-home-window--norte { width: 45%; height: 69%; }
  .ld-home-window--clinica { width: 65%; height: 66%; }
}

/* Keep the full navigation readable before the phone menu takes over. */
@media (max-width: 1100px) and (min-width: 561px) {
  .ld-home-nav-wrap { height: auto; min-height: 96px; padding: 10px 0; }
  .ld-home-nav {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "brand cta" "links links";
    gap: 6px 20px;
  }
  .ld-home-brand { grid-area: brand; flex-basis: 148px; width: 148px; height: 50px; }
  .ld-home-nav-links { grid-area: links; justify-content: center; gap: clamp(18px, 3vw, 32px); }
  .ld-home-nav-link { font-size: 15px; }
  .ld-home-nav-cta { grid-area: cta; width: auto; min-width: 0; min-height: 48px; padding-inline: 20px; font-size: 15px; }
}

@media (max-width: 560px) {
  .ld-home-page .ld-shell { width: calc(100% - 36px); }
  .ld-home-nav-wrap { min-height: 68px; padding: 10px 0; }
  .ld-home-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0;
    position: relative;
  }
  .ld-home-brand { flex-basis: 138px; width: 138px; height: 46px; }
  .ld-home-nav-toggle { display: inline-flex; }
  .ld-home-nav-toggle-icon i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .ld-home-nav-toggle-icon i:nth-child(2) { opacity: 0; }
  .ld-home-nav-toggle-icon i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .ld-home-nav:not([data-menu-open="true"]) .ld-home-nav-toggle-icon i { transform: none; opacity: 1; }
  .ld-home-menu-panel {
    position: absolute;
    z-index: 30;
    top: calc(100% + 10px);
    right: 0;
    display: none;
    width: min(100%, 360px);
    padding: 10px;
    border: 1px solid #e1e6ee;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 16px 36px rgb(11 20 36 / 15%), 0 3px 8px rgb(11 20 36 / 6%);
  }
  .ld-home-nav[data-menu-open="true"] .ld-home-menu-panel { display: grid; gap: 8px; }
  .ld-home-nav-links { display: grid; grid-area: auto; gap: 2px; }
  .ld-home-nav-link { padding: 12px; border-radius: 9px; font-size: 15px; letter-spacing: -.02em; }
  .ld-home-nav-link:hover { background: #f4f7fc; }
  .ld-home-nav-cta { grid-area: auto; width: 100%; min-height: 48px; justify-self: stretch; border-radius: 11px; font-size: 14px; }
  .ld-home-hero { gap: 0; padding-top: 16px; padding-bottom: 26px; }
  /* On phones, keep the project previews directly below the headline. */
  .ld-home-copy { display: contents; }

  .ld-home-title { grid-row: 1; align-self: start; margin-top: 0; }
  .ld-home-copy-text { display: none; }
  .ld-home-collage {
    grid-row: 2;
    align-self: start;
    margin-top: 22px;
    transform: none;
  }
  .ld-home-price { grid-row: 3; align-self: start; margin-top: 23px; }
  .ld-home-actions { grid-row: 4; align-self: start; }
  .ld-home-benefits { grid-row: 5; align-self: start; }
  .ld-home-kicker { gap: 11px; margin-bottom: 19px; font-size: 9px; letter-spacing: .19em; }
  .ld-home-kicker-rule { width: 28px; height: 2px; flex-basis: 28px; }
  .ld-home-title { max-width: 420px; font-size: clamp(42px, 11.7vw, 54px); letter-spacing: -.07em; line-height: 1.04; }
  .ld-home-copy-text { margin-top: 16px; font-size: 16px; line-height: 1.5; }
  .ld-home-price { margin-top: 19px; }
  .ld-home-price span { margin-bottom: 5px; font-size: 16px; }
  .ld-home-price strong { font-size: clamp(58px, 16.8vw, 70px); }
  .ld-home-actions { align-items: stretch; flex-direction: column; gap: 9px; margin-top: 17px; }
  .ld-home-primary, .ld-home-secondary { width: 100%; min-width: 0; min-height: 52px; border-radius: 11px; font-size: 15px; }
  .ld-home-benefits { gap: 4px; margin-top: 21px; }
  .ld-home-benefits li { flex-direction: column; justify-content: flex-start; gap: 6px; padding-inline: 7px; font-size: 10px; text-align: center; white-space: normal; }
  .ld-home-benefits li:first-child { padding-left: 0; }
  .ld-home-benefits li:last-child { padding-right: 0; }
  .ld-home-benefits img { width: 24px; height: 24px; flex-basis: 24px; }
  .ld-home-collage { width: 100%; height: clamp(220px, 64vw, 250px); min-height: 0; }
  .ld-home-window { border-radius: 10px; }
  .ld-home-window-chrome { min-height: 20px; gap: 4px; padding-inline: 8px; }
  .ld-home-window-chrome i { width: 6px; height: 6px; }
  .ld-home-window-label { font-size: 6px; }
  .ld-home-window > img { height: calc(100% - 20px); }
  .ld-home-window--marea { top: 0; left: 4%; width: 61%; height: 51%; transform: rotate(1deg); }
  .ld-home-window--norte { top: 11%; right: 0; width: 49%; height: 73%; transform: rotate(-1.5deg); }
  .ld-home-window--clinica { bottom: 0; left: 0; width: 67%; height: 66%; transform: rotate(-.8deg); }
}

@media (prefers-reduced-motion: reduce) {
  .ld-home-page *, .ld-home-page *::before, .ld-home-page *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

/* Process section ("Tu nueva página web, sin complicaciones."), as in the approved reference: the site on a
   laptop and a phone with floating notes, and three numbered steps on a vertical timeline. The showcase is a
   container, so its parts scale with its own width (cqw) on every screen. */
.ld-home-page .ld-proc-section {
  --proc-ink: #0c0f1b;
  --proc-purple: #520496;
  --proc-muted: #5e6170;
  --proc-rule: #e8e8ed;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(64px, 9vh, 104px) clamp(20px, 5vw, 140px);
  color: var(--proc-ink);
  text-align: left;
}

.ld-home-page .ld-proc-intro {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.ld-home-page .ld-proc-kicker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 0 0 clamp(16px, 2.4vh, 26px);
  color: #77609f;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .24em;
  line-height: 1.3;
}

.ld-home-page .ld-proc-kicker span {
  width: 44px;
  height: 2px;
  background: var(--proc-purple);
}

.ld-home-page .ld-proc-heading {
  margin: 0;
  color: var(--proc-ink);
  font-family: "DM Serif Display", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  font-size: clamp(42px, 5vw, 76px);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: .98;
}

.ld-home-page .ld-proc-heading em {
  color: var(--proc-purple);
  font-style: normal;
}

.ld-home-page .ld-proc-lead {
  max-width: 620px;
  margin: clamp(14px, 2vh, 20px) auto 0;
  color: var(--proc-muted);
  font-size: clamp(16px, 1.3vw, 20px);
  line-height: 1.5;
}

.ld-home-page .ld-proc-body {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(40px, 4vw, 80px);
  margin-top: clamp(40px, 6vh, 72px);
}

/* Showcase: the laptop, the phone and the floating notes sit on a soft background with concrete steps */
.ld-home-page .ld-proc-showcase {
  position: relative;
  container-type: inline-size;
  aspect-ratio: 1.08 / 1;
}

.ld-home-page .ld-proc-showcase::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -6%;
  bottom: -4%;
  width: 74%;
  height: 40%;
  background: linear-gradient(180deg, #f3f3f5, #d6d7dc);
  clip-path: polygon(0 34%, 26% 34%, 26% 0, 100% 0, 100% 100%, 0 100%);
}

.ld-home-page .ld-proc-showcase::after {
  content: "";
  position: absolute;
  z-index: -2;
  top: -8%;
  right: -10%;
  width: 70%;
  height: 70%;
  border-radius: 50%;
  background: radial-gradient(closest-side, #efe9fb, rgb(239 233 251 / 0%));
}

.ld-home-page .ld-proc-laptop {
  position: absolute;
  z-index: 1;
  left: 15%;
  top: 14%;
  width: 70%;
  box-sizing: border-box;
  padding: 1.5cqw 1.5cqw 0;
  border-radius: 2.2cqw 2.2cqw 0 0;
  background: linear-gradient(#3a3d45, #16181d);
  box-shadow: 0 30px 50px rgb(20 20 40 / 22%);
}

.ld-home-page .ld-proc-laptop::after {
  content: "";
  position: absolute;
  left: -4%;
  right: -4%;
  bottom: -2.2cqw;
  height: 2.2cqw;
  border-radius: 0 0 2.6cqw 2.6cqw;
  background: linear-gradient(#e9e9ee, #c4c6cd);
}

.ld-home-page .ld-proc-laptop img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: left top;
  border-radius: .8cqw .8cqw 0 0;
}

.ld-home-page .ld-proc-phone {
  position: absolute;
  z-index: 2;
  right: 4%;
  bottom: 5%;
  width: 25%;
  box-sizing: border-box;
  padding: 1cqw;
  border-radius: 3.8cqw;
  background: #16181d;
  box-shadow: 0 26px 44px rgb(20 20 40 / 26%);
}

.ld-home-page .ld-proc-phone img {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
  object-position: top;
  border-radius: 2.9cqw;
}

.ld-home-page .ld-proc-chip {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 2.2cqw;
  margin: 0;
  padding: 2cqw 2.6cqw;
  border-radius: 2.2cqw;
  background: #fff;
  box-shadow: 0 16px 34px rgb(20 20 40 / 12%);
  color: var(--proc-ink);
  font-size: clamp(12px, 2.3cqw, 17px);
  font-weight: 600;
  line-height: 1.25;
}

.ld-home-page .ld-proc-chip--stat {
  top: 10%;
  left: 69%;
  width: 36%;
}

.ld-home-page .ld-proc-chip--speed {
  bottom: 8%;
  left: 3%;
  width: 36%;
}

.ld-home-page .ld-proc-chip-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: clamp(30px, 6cqw, 46px);
  height: clamp(30px, 6cqw, 46px);
  border-radius: 50%;
  background: #f3effb;
  color: var(--proc-purple);
}

.ld-home-page .ld-proc-chip-icon svg {
  width: 50%;
  height: 50%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ld-home-page .ld-proc-chip-arrow {
  margin-left: auto;
  color: #6b6d78;
}

.ld-home-page .ld-proc-chip-dot {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  margin-left: auto;
  border-radius: 50%;
  background: #22c55e;
}

.ld-home-page .ld-proc-note {
  position: absolute;
  z-index: 3;
  left: 1%;
  top: 26%;
  width: 16%;
  margin: 0;
  color: #5b5d66;
  font-family: "Caveat", "Segoe Print", cursive;
  font-size: clamp(16px, 3.1cqw, 26px);
  line-height: 1.02;
}

.ld-home-page .ld-proc-note svg {
  display: block;
  width: 88%;
  margin-top: 2cqw;
  fill: none;
  stroke: #5b5d66;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Timeline: three numbered steps joined by a vertical line with dots */
.ld-home-page .ld-proc-steps {
  position: relative;
  margin: 0;
  padding: 0 0 0 56px;
  list-style: none;
}

.ld-home-page .ld-proc-steps::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 6px;
  width: 1px;
  background: #d9dae0;
}

.ld-home-page .ld-proc-step {
  position: relative;
  display: grid;
  grid-template-columns: max-content 60px minmax(0, 1fr);
  align-items: start;
  gap: clamp(20px, 2.2vw, 36px);
  padding: 52px 0;
  border-bottom: 1px solid var(--proc-rule);
}

.ld-home-page .ld-proc-step:last-child {
  border-bottom: 0;
}

.ld-home-page .ld-proc-step::before {
  content: "";
  position: absolute;
  z-index: 1;
  left: -56px;
  top: 76px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #8d8f99;
  box-shadow: 0 0 0 4px #fff;
}

.ld-home-page .ld-proc-step:first-child::before {
  background: var(--proc-purple);
  box-shadow: 0 0 0 4px rgb(82 4 150 / 14%);
}

.ld-home-page .ld-proc-number {
  color: #c7c9d2;
  font-size: clamp(40px, 3.8vw, 60px);
  font-weight: 300;
  letter-spacing: -.02em;
  line-height: 1;
}

.ld-home-page .ld-proc-icon {
  display: grid;
  place-items: center;
  box-sizing: border-box;
  width: 60px;
  height: 60px;
  border: 1px solid #e6e7ec;
  border-radius: 16px;
  background: #f6f6f8;
  color: var(--proc-ink);
}

.ld-home-page .ld-proc-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ld-home-page .ld-proc-text h3 {
  margin: 0 0 6px;
  color: var(--proc-ink);
  font-size: clamp(19px, 1.7vw, 24px);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.15;
}

.ld-home-page .ld-proc-text p {
  max-width: 42ch;
  margin: 0;
  color: var(--proc-muted);
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.5;
}

@media (max-width: 840px) {
  .ld-home-page .ld-proc-body {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .ld-home-page .ld-proc-showcase {
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
    aspect-ratio: 1.02 / 1;
  }

  .ld-home-page .ld-proc-laptop {
    left: 24%;
    top: 30%;
    width: 55%;
  }

  .ld-home-page .ld-proc-phone {
    right: 3%;
    bottom: 3%;
    width: 27%;
  }

  .ld-home-page .ld-proc-chip--stat {
    top: 0;
    left: 46%;
    width: 52%;
  }

  .ld-home-page .ld-proc-chip--speed {
    bottom: 2%;
    left: 2%;
    width: 50%;
  }

  .ld-home-page .ld-proc-note {
    top: 40%;
    left: 0;
    width: 21%;
    font-size: clamp(11px, 3.2cqw, 26px);
  }

  .ld-home-page .ld-proc-steps {
    padding-left: 34px;
  }

  .ld-home-page .ld-proc-steps::before {
    left: 6px;
  }

  .ld-home-page .ld-proc-step {
    grid-template-columns: max-content 48px minmax(0, 1fr);
    gap: 14px;
    padding: 30px 0;
  }

  .ld-home-page .ld-proc-step::before {
    left: -34px;
    top: 48px;
  }

  .ld-home-page .ld-proc-number {
    font-size: 36px;
  }

  .ld-home-page .ld-proc-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
  }

  .ld-home-page .ld-proc-icon svg {
    width: 24px;
    height: 24px;
  }
}

@media (max-width: 560px) {
  .ld-home-page .ld-proc-kicker {
    gap: 12px;
    font-size: 11px;
    letter-spacing: .2em;
  }

  .ld-home-page .ld-proc-kicker span {
    width: 28px;
  }

  .ld-home-page .ld-proc-heading {
    font-size: clamp(34px, 9.6vw, 44px);
  }
}

/* The muted price heading text keeps the same hierarchy with readable contrast. */
.ld-home-page .ld-muted { color: #5f6b7b; }

.ld-home-page .ld-portfolio-heading-copy { min-width: 0; }
.ld-home-page .ld-portfolio-heading .ld-portfolio-note {
  max-width: 58ch;
  margin: 8px 0 0;
  color: var(--home-muted);
  font-size: 14px;
  line-height: 1.45;
}
@media (max-width: 767px) {
  .ld-home-page .ld-portfolio-heading .ld-portfolio-note { max-width: 34ch; font-size: 12px; }
}

@media (max-width: 1100px) and (min-width: 901px) {
  .ld-home-hero { grid-template-columns: minmax(450px, .96fr) minmax(0, 1.04fr); }
  .ld-home-window-label { font-size: 7px; white-space: nowrap; }
}

@media (max-width: 560px) {
  .ld-home-page .ld-home-collage { height: clamp(190px, 54vw, 210px); }
  .ld-home-page .ld-home-benefits { margin-top: 12px; }
}
/* Benefits section: desktop + responsive site preview paired with three concise reasons. */
.ld-home-page .ld-benefits-section {
  padding-top: 82px;
  padding-bottom: 82px;
}
.ld-home-page .ld-benefits-intro {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.ld-home-page .ld-benefits-kicker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin: 0 0 23px;
  color: #1b3153;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .26em;
  line-height: 1.2;
  text-transform: uppercase;
}
.ld-home-page .ld-benefits-kicker span {
  display: block;
  width: 46px;
  height: 2px;
  flex: 0 0 46px;
  background: var(--home-blue);
}
.ld-home-page .ld-benefits-heading {
  margin: 0;
  color: #0a1221;
  font-size: clamp(44px, 4.4vw, 72px);
  font-weight: 800;
  letter-spacing: -.065em;
  line-height: .99;
}
.ld-home-page .ld-benefits-lead {
  max-width: 850px;
  margin: 16px auto 0;
  color: var(--home-muted);
  font-size: clamp(18px, 1.55vw, 25px);
  line-height: 1.42;
}
.ld-home-page .ld-benefits-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(0, .92fr);
  align-items: center;
  gap: clamp(36px, 4.1vw, 72px);
  margin-top: 40px;
}
.ld-home-page .ld-benefits-showcase {
  position: relative;
  min-width: 0;
  aspect-ratio: 1.62;
  isolation: isolate;
}
.ld-home-page .ld-benefits-showcase::before {
  position: absolute;
  z-index: -1;
  top: 10%;
  left: -5%;
  width: 46%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #e9f2ff;
  content: "";
}
.ld-home-page .ld-benefits-showcase::after {
  position: absolute;
  z-index: -1;
  right: 1%;
  bottom: 1%;
  width: 48%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #f8f4ec;
  content: "";
}
.ld-home-page .ld-benefits-desktop-frame {
  position: absolute;
  inset: 4% 12% 7% 2%;
  overflow: hidden;
  border: 1px solid #e3e8ef;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 70px rgb(21 39 67 / 16%);
  transform: perspective(1300px) rotateY(-2deg) rotateX(1deg);
}
.ld-home-page .ld-benefits-window-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 30px;
  padding-inline: 15px;
  border-bottom: 1px solid #edf0f4;
  background: linear-gradient(#fff, #f8fafc);
}
.ld-home-page .ld-benefits-window-bar i {
  display: block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ff6058;
}
.ld-home-page .ld-benefits-window-bar i:nth-child(2) { background: #ffc044; }
.ld-home-page .ld-benefits-window-bar i:nth-child(3) { background: #31c978; }
.ld-home-page .ld-benefits-desktop-frame img {
  display: block;
  width: 100%;
  height: calc(100% - 30px);
  object-fit: cover;
  object-position: top center;
}
.ld-home-page .ld-benefits-phone {
  position: absolute;
  z-index: 2;
  right: 2%;
  bottom: 0;
  width: 25%;
  height: 89%;
  padding: 6px;
  overflow: hidden;
  border: 2px solid #171c24;
  border-radius: 30px;
  background: #111820;
  box-shadow: 0 20px 42px rgb(12 23 39 / 25%);
}
.ld-home-page .ld-benefits-phone::before {
  position: absolute;
  z-index: 2;
  inset: 5px;
  border: 1px solid rgb(255 255 255 / 24%);
  border-radius: 24px;
  content: "";
  pointer-events: none;
}
.ld-home-page .ld-benefits-phone-camera {
  position: absolute;
  z-index: 3;
  top: 8px;
  left: 50%;
  width: 28%;
  height: 9px;
  border-radius: 0 0 8px 8px;
  background: #111820;
  transform: translateX(-50%);
  pointer-events: none;
}
.ld-home-page .ld-benefits-orb {
  position: absolute;
  z-index: 1;
  width: 12px;
  height: 12px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #1670ef;
  box-shadow: 0 0 0 2px rgb(7 83 201 / 15%);
}
.ld-home-page .ld-benefits-orb-one { top: 41%; right: 28%; }
.ld-home-page .ld-benefits-orb-two { bottom: 18%; left: 4%; width: 8px; height: 8px; }
.ld-home-page .ld-benefits-rows {
  display: flex;
  min-width: 0;
  flex-direction: column;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ld-home-page .ld-benefit-row {
  display: grid;
  grid-template-columns: clamp(92px, 8vw, 128px) minmax(0, 1fr);
  align-items: start;
  gap: clamp(16px, 1.7vw, 28px);
  padding: 23px 0;
  border-bottom: 1px solid #dce9fa;
}
.ld-home-page .ld-benefit-row:first-child { padding-top: 0; }
.ld-home-page .ld-benefit-row:last-child { padding-bottom: 0; border-bottom: 0; }
.ld-home-page .ld-benefit-number {
  color: #d8e9ff;
  font-size: clamp(78px, 7.2vw, 124px);
  font-weight: 800;
  letter-spacing: -.09em;
  line-height: .82;
}
.ld-home-page .ld-benefit-copy h3 {
  margin: -3px 0 7px;
  color: #0b1424;
  font-size: clamp(23px, 2vw, 31px);
  font-weight: 800;
  letter-spacing: -.055em;
  line-height: 1.12;
}
.ld-home-page .ld-benefit-copy p {
  max-width: 450px;
  margin: 0;
  color: var(--home-muted);
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.42;
}
@media (max-width: 1050px) {
  .ld-home-page .ld-benefits-section { padding-top: 68px; padding-bottom: 68px; }
  .ld-home-page .ld-benefits-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    max-width: 900px;
    margin: 34px auto 0;
  }
  .ld-home-page .ld-benefits-showcase { width: 100%; }
  .ld-home-page .ld-benefit-row { grid-template-columns: 108px minmax(0, 1fr); gap: 22px; }
  .ld-home-page .ld-benefit-number { font-size: 96px; }
}
@media (max-width: 640px) {
  .ld-home-page .ld-benefits-section { padding-top: 48px; padding-bottom: 54px; }
  .ld-home-page .ld-benefits-kicker {
    gap: 12px;
    margin-bottom: 17px;
    font-size: 10px;
    letter-spacing: .22em;
  }
  .ld-home-page .ld-benefits-kicker span { width: 30px; flex-basis: 30px; }
  .ld-home-page .ld-benefits-heading {
    font-size: clamp(36px, 9.6vw, 48px);
    letter-spacing: -.07em;
    line-height: 1.02;
  }
  .ld-home-page .ld-benefits-lead { margin-top: 12px; font-size: 16px; line-height: 1.48; }
  .ld-home-page .ld-benefits-layout { gap: 20px; margin-top: 25px; }
  .ld-home-page .ld-benefits-showcase { aspect-ratio: 1.5; }
  .ld-home-page .ld-benefits-phone { display: none; }
  .ld-home-page .ld-benefits-desktop-frame {
    inset: 4% 0 6% 0;
    border-radius: 12px;
    transform: perspective(900px) rotateY(-1deg);
  }
  .ld-home-page .ld-benefits-window-bar { gap: 4px; height: 21px; padding-inline: 9px; }
  .ld-home-page .ld-benefits-window-bar i { width: 6px; height: 6px; }
  .ld-home-page .ld-benefits-desktop-frame img { height: calc(100% - 21px); }
  .ld-home-page .ld-benefits-phone {
    right: 1%;
    width: 28%;
    height: 78%;
    padding: 4px;
    border-width: 1px;
    border-radius: 21px;
  }
  .ld-home-page .ld-benefits-phone::before { inset: 3px; border-radius: 17px; }
  .ld-home-page .ld-benefits-phone-camera { top: 5px; height: 6px; }
    .ld-home-page .ld-benefit-row {
    grid-template-columns: 60px minmax(0, 1fr);
    gap: 15px;
    padding: 19px 0;
  }
  .ld-home-page .ld-benefit-number { font-size: 58px; }
  .ld-home-page .ld-benefit-copy h3 { margin-top: -2px; margin-bottom: 5px; font-size: 19px; line-height: 1.18; }
  .ld-home-page .ld-benefit-copy p { font-size: 15px; line-height: 1.45; }
}
@media (max-width: 360px) {
  .ld-home-page .ld-benefits-heading { font-size: 33px; }
  .ld-home-page .ld-benefit-row { grid-template-columns: 54px minmax(0, 1fr); gap: 12px; }
  .ld-home-page .ld-benefit-number { font-size: 52px; }
  .ld-home-page .ld-benefit-copy h3 { font-size: 18px; }
}
.ld-home-page .ld-benefits-phone-screen {
  position: relative;
  display: flex;
  height: 100%;
  flex-direction: column;
  overflow: hidden;
  border-radius: 22px;
  padding: 18px 12px 12px;
  background: #fbfaf7;
  color: #101b2b;
}
.ld-home-page .ld-benefits-phone-brand {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 24px;
  color: #101b2b;
}
.ld-home-page .ld-benefits-phone-brand > span {
  display: grid;
  width: 19px;
  height: 21px;
  place-items: center;
  border: 1px solid currentColor;
  font-family: Georgia, serif;
  font-size: 15px;
}
.ld-home-page .ld-benefits-phone-brand div { display: grid; gap: 1px; }
.ld-home-page .ld-benefits-phone-brand b { font-size: 10px; font-weight: 800; letter-spacing: .16em; line-height: 1; text-transform: uppercase; }
.ld-home-page .ld-benefits-phone-brand small { font-size: 5px; letter-spacing: .26em; line-height: 1.3; }
.ld-home-page .ld-benefits-phone-brand i {
  width: 13px;
  height: 9px;
  margin-left: auto;
  border-top: 1px solid #101b2b;
  border-bottom: 1px solid #101b2b;
}
.ld-home-page .ld-benefits-phone-kicker {
  margin: 17px 0 6px;
  color: #67788a;
  font-size: 6px;
  font-weight: 700;
  letter-spacing: .19em;
}
.ld-home-page .ld-benefits-phone-screen h3 {
  max-width: 180px;
  margin: 0;
  color: #111b2a;
  font-family: Georgia, serif;
  font-size: clamp(18px, 1.5vw, 25px);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: .98;
}
.ld-home-page .ld-benefits-phone-copy {
  margin: 8px 0;
  color: #687486;
  font-size: 7px;
  line-height: 1.45;
}
.ld-home-page .ld-benefits-phone-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 24px;
  margin-bottom: 8px;
  padding: 0 8px;
  border-radius: 5px;
  background: #111b2a;
  color: #fff;
  font-size: 7px;
  font-weight: 700;
}
.ld-home-page .ld-benefits-phone-screen > img {
  display: block;
  flex: 1 1 0;
  min-width: 0;
  min-height: 0;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0;
  object-fit: cover;
  object-position: center;
}
.ld-home-page .ld-benefits-phone-tabs {
  display: flex;
  justify-content: space-around;
  padding-top: 8px;
  color: #15253b;
  font-size: 10px;
}
@media (max-width: 640px) {
  .ld-home-page .ld-benefits-phone-screen { border-radius: 15px; padding: 14px 8px 8px; }
}

/* Compact, high-contrast project actions with a refined capsule treatment. */
.ld-project-action {
  display: inline-flex;
  flex: 0 0 auto;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-left: auto;
  padding: 0 16px;
  border: 1px solid rgb(11 20 36 / 24%);
  border-radius: 999px;
  background: rgb(255 255 255 / 94%);
  color: var(--home-ink);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -.01em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 1px 2px rgb(11 20 36 / 5%);
  transition: color .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.ld-project-arrow {
  display: inline-block;
  font-size: 15px;
  line-height: 1;
  transition: transform .18s ease;
}

.ld-project-card:hover .ld-project-action { text-decoration: none; }

.ld-project-card:focus-visible .ld-project-action {
  transform: none;
  border-color: var(--home-ink);
  background: var(--home-ink);
  color: #fff;
  box-shadow: 0 6px 16px rgb(11 20 36 / 14%);
}

.ld-project-card:active .ld-project-action { transform: scale(.96); }

@media (hover: hover) and (pointer: fine) {
  .ld-project-card:hover .ld-project-action {
    transform: translateY(-1px);
    border-color: var(--home-ink);
    background: var(--home-ink);
    color: #fff;
    box-shadow: 0 6px 16px rgb(11 20 36 / 14%);
  }

  .ld-project-card:hover .ld-project-arrow { transform: translate(2px, -2px); }
}

@media (max-width: 560px) {
  .ld-project-caption { flex-wrap: wrap; }
  .ld-project-action { min-height: 38px; gap: 8px; padding-inline: 12px; font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  .ld-project-action,
  .ld-project-arrow { transition: none; }
}

/* MARKOVA home hero: visual-only treatment; keep all CTA markup and tracking hooks intact. */
.ld-page.ld-home-page {
  --home-accent: #520496;
  position: relative;
}

.ld-home-page .ld-home-nav-wrap {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  height: 86px;
  min-height: 86px;
  padding: 0;
  border: 0;
  background: linear-gradient(180deg, rgb(10 8 12 / 34%), transparent);
}

.ld-home-page .ld-home-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1240px, calc(100% - 48px));
  min-height: 86px;
  margin-inline: auto;
}

.ld-home-page .ld-home-brand {
  flex: 0 0 160px;
  width: 160px;
  height: 54px;
  filter: brightness(0) invert(1);
}

.ld-home-page .ld-home-menu-panel {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.8vw, 42px);
  margin-left: auto;
}

.ld-home-page .ld-home-nav-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.25vw, 34px);
}

.ld-home-page .ld-home-nav-link {
  padding: 8px 0;
  color: rgb(255 255 255 / 88%);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -.015em;
  text-decoration: none;
  transition: color .18s ease;
}

.ld-home-page .ld-home-nav-link:hover {
  color: #fff;
}

.ld-home-page .ld-home-nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 182px;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid var(--home-accent);
  border-radius: 11px;
  background: var(--home-accent);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -.01em;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 8px 24px rgb(82 4 150 / 24%);
  transition: background-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.ld-home-page .ld-home-nav-cta:hover,
.ld-home-page .ld-home-primary:hover {
  border-color: #6817aa;
  background: #6817aa;
  color: #fff;
  box-shadow: 0 10px 28px rgb(82 4 150 / 34%);
  transform: translateY(-1px);
}

.ld-home-page .ld-home-nav-toggle {
  border-color: rgb(255 255 255 / 35%);
  border-radius: 11px;
  background: rgb(16 14 18 / 32%);
  color: #fff;
  backdrop-filter: blur(12px);
}

.ld-home-page .ld-home-nav-toggle:focus-visible,
.ld-home-page a:focus-visible {
  outline: 3px solid rgb(193 143 239 / 82%);
  outline-offset: 4px;
}

.ld-home-page .ld-home-nav-toggle-icon i {
  background: currentColor;
}

.ld-home-page .ld-home-hero.ld-shell {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: none;
  min-height: 100svh;
  margin: 0;
  padding: clamp(116px, 16vh, 156px)
    clamp(24px, calc((100vw - 1240px) / 2), 340px)
    clamp(44px, 7vh, 78px);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: #111214;
  background-image:
    linear-gradient(90deg, rgb(10 8 12 / 42%) 0%, rgb(10 8 12 / 32%) 34%, rgb(10 8 12 / 12%) 61%, rgb(10 8 12 / 5%) 100%),
    linear-gradient(0deg, rgb(10 8 12 / 30%) 0%, transparent 34%),
    url("../images/markova-hero-background.jpg");
  background-repeat: no-repeat;
  background-position: center, center, center;
  background-size: cover, cover, cover;
}

.ld-home-page .ld-home-copy {
  width: min(100%, 560px);
  max-width: 560px;
  padding: 0;
  margin: 0;
  position: relative;
  z-index: 2;
  transform: translateY(calc(-1 * clamp(16px, 5.6vh, 62px)));
}

.ld-home-page .ld-home-title {
  max-width: 560px;
  margin: 0;
  color: #fff;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: clamp(3rem, 3.35vw, 3.5rem);
  font-weight: 400;
  letter-spacing: -.05em;
  line-height: .99;
  text-wrap: balance;
  transform: none;
}

.ld-home-page .ld-home-copy-text {
  max-width: 460px;
  margin: 17px 0 0;
  color: rgb(255 255 255 / 82%);
  font-size: clamp(15.5px, .94vw, 16px);
  font-weight: 400;
  letter-spacing: -.012em;
  line-height: 1.55;
}

.ld-home-page .ld-home-price {
  margin-top: 17px;
  color: #fff;
}

.ld-home-page .ld-home-price span {
  margin-bottom: 6px;
  color: rgb(255 255 255 / 78%);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .02em;
}

.ld-home-page .ld-home-price strong {
  color: #fff;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: clamp(3.125rem, 3vw, 3.5rem);
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: 1;
}

.ld-home-page .ld-home-actions {
  align-items: center;
  gap: 13px;
  margin-top: 18px;
}

.ld-home-page .ld-home-primary,
.ld-home-page .ld-home-secondary {
  min-height: 52px;
  border-radius: 11px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -.01em;
}

.ld-home-page .ld-home-primary {
  min-width: 226px;
  gap: 10px;
  padding: 0 20px;
  border: 1px solid var(--home-accent);
  background: var(--home-accent);
  color: #fff;
  box-shadow: 0 8px 24px rgb(82 4 150 / 24%);
}

.ld-home-page .ld-home-primary img {
  width: 17px;
  height: 17px;
}

.ld-home-page .ld-home-secondary {
  min-width: 148px;
  padding-inline: 18px;
  border: 1px solid rgb(255 255 255 / 58%);
  background: rgb(17 18 20 / 18%);
  color: #fff;
  backdrop-filter: blur(8px);
}

.ld-home-page .ld-home-secondary:hover {
  border-color: #fff;
  background: rgb(255 255 255 / 12%);
  color: #fff;
}

.ld-home-page .ld-home-benefits {
  max-width: 550px;
  margin-top: 20px;
}

.ld-home-page .ld-home-benefits li {
  gap: 8px;
  padding-inline: 12px;
  border-color: rgb(255 255 255 / 26%);
  color: rgb(255 255 255 / 86%);
  font-size: 11px;
  font-weight: 500;
}

.ld-home-page .ld-home-benefits img {
  width: 20px;
  height: 20px;
  flex-basis: 20px;
  opacity: .9;
  filter: brightness(0) invert(1);
}

.ld-home-page .ld-home-collage {
  display: none;
}

@media (max-width: 1100px) and (min-width: 761px) {
  .ld-home-page .ld-home-nav {
    width: calc(100% - 56px);
    gap: 18px;
  }

  .ld-home-page .ld-home-brand {
    flex-basis: 142px;
    width: 142px;
    height: 48px;
  }

  .ld-home-page .ld-home-menu-panel {
    gap: 20px;
  }

  .ld-home-page .ld-home-nav-links {
    gap: 18px;
  }

  .ld-home-page .ld-home-nav-link {
    font-size: 12px;
  }

  .ld-home-page .ld-home-nav-cta {
    min-width: 154px;
    min-height: 44px;
    padding-inline: 14px;
    font-size: 12px;
  }

  .ld-home-page .ld-home-hero.ld-shell {
    padding-inline: clamp(32px, 6vw, 100px);
  }
}

@media (max-width: 900px) {
  .ld-home-page .ld-home-nav-wrap {
    height: 72px;
    min-height: 72px;
    padding: 0;
    background: linear-gradient(180deg, rgb(10 8 12 / 42%), transparent);
  }

  .ld-home-page .ld-home-nav {
    width: calc(100% - 36px);
    min-height: 72px;
    gap: 12px;
    position: relative;
  }

  .ld-home-page .ld-home-brand {
    flex: 0 0 138px;
    width: 138px;
    height: 46px;
  }

  .ld-home-page .ld-home-nav-toggle {
    display: inline-flex;
    min-height: 42px;
    padding-inline: 13px;
  }

  .ld-home-page .ld-home-menu-panel {
    position: absolute;
    z-index: 30;
    top: calc(100% + 8px);
    right: 0;
    display: none;
    width: min(320px, calc(100vw - 36px));
    padding: 10px;
    border: 1px solid rgb(255 255 255 / 14%);
    border-radius: 15px;
    background: rgb(20 17 22 / 96%);
    box-shadow: 0 18px 42px rgb(0 0 0 / 28%);
    backdrop-filter: blur(16px);
  }

  .ld-home-page .ld-home-nav[data-menu-open="true"] .ld-home-menu-panel {
    display: grid;
    gap: 8px;
  }

  .ld-home-page .ld-home-nav-links {
    display: grid;
    gap: 2px;
  }

  .ld-home-page .ld-home-nav-link {
    padding: 12px;
    border-radius: 9px;
    color: rgb(255 255 255 / 90%);
    font-size: 14px;
  }

  .ld-home-page .ld-home-nav-link:hover {
    background: rgb(255 255 255 / 8%);
    color: #fff;
  }

  .ld-home-page .ld-home-nav-cta {
    width: 100%;
    min-width: 0;
    min-height: 46px;
    border-radius: 10px;
    font-size: 13px;
  }

  .ld-home-page .ld-home-nav[data-menu-open="true"] .ld-home-nav-toggle-icon i:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .ld-home-page .ld-home-nav[data-menu-open="true"] .ld-home-nav-toggle-icon i:nth-child(2) {
    opacity: 0;
  }

  .ld-home-page .ld-home-nav[data-menu-open="true"] .ld-home-nav-toggle-icon i:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .ld-home-page .ld-home-nav:not([data-menu-open="true"]) .ld-home-nav-toggle-icon i {
    transform: none;
    opacity: 1;
  }

  .ld-home-page .ld-home-hero.ld-shell {
    align-items: flex-end;
    min-height: max(760px, 100svh);
    padding: clamp(268px, 34svh, 320px) 18px 74px;
    background-image:
      linear-gradient(180deg, rgb(12 10 14 / 4%) 0%, rgb(12 10 14 / 10%) 24%, rgb(17 18 20 / 74%) 49%, #111214 73%),
      url("../images/markova-hero-background.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
  }

  .ld-home-page .ld-home-copy {
    display: block;
    width: 100%;
    max-width: 560px;
    padding: 0;
    transform: none;
  }

  .ld-home-page .ld-home-title {
    max-width: 500px;
    margin: 0;
    font-size: clamp(40px, 10.6vw, 48px);
    line-height: 1;
    letter-spacing: -.05em;
  }

  .ld-home-page .ld-home-copy-text {
    display: block;
    max-width: 38ch;
    margin-top: 14px;
    font-size: 15px;
    line-height: 1.48;
  }

  .ld-home-page .ld-home-price {
    margin-top: 17px;
  }

  .ld-home-page .ld-home-price span {
    margin-bottom: 4px;
    font-size: 12px;
  }

  .ld-home-page .ld-home-price strong {
    font-size: clamp(52px, 14.8vw, 62px);
  }

  .ld-home-page .ld-home-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
    margin-top: 17px;
  }

  .ld-home-page .ld-home-primary {
    width: 100%;
    min-width: 0;
    min-height: 52px;
    font-size: 14px;
  }

  .ld-home-page .ld-home-secondary {
    align-self: flex-start;
    min-width: 0;
    min-height: 36px;
    padding: 0 2px;
    border: 0;
    border-bottom: 1px solid rgb(255 255 255 / 54%);
    border-radius: 0;
    background: transparent;
    font-size: 13px;
    backdrop-filter: none;
  }

  .ld-home-page .ld-home-secondary:hover {
    border-color: #fff;
    background: transparent;
  }

  .ld-home-page .ld-home-benefits {
    margin-top: 18px;
  }

  .ld-home-page .ld-home-benefits li {
    flex-direction: column;
    justify-content: flex-start;
    gap: 5px;
    padding-inline: 5px;
    font-size: 9px;
    line-height: 1.25;
    text-align: center;
    white-space: normal;
  }

  .ld-home-page .ld-home-benefits li:first-child { padding-left: 0; }
  .ld-home-page .ld-home-benefits li:last-child { padding-right: 0; }

  .ld-home-page .ld-home-benefits img {
    width: 18px;
    height: 18px;
    flex-basis: 18px;
  }
}

@media (max-width: 560px) {
  .ld-home-page .ld-home-hero.ld-shell {
    background-position: center, 50% top;
    background-size: 100% 100%, auto 58%;
  }
}

@media (max-width: 380px) {
  .ld-home-page .ld-home-nav {
    width: calc(100% - 32px);
  }

  .ld-home-page .ld-home-hero.ld-shell {
    padding-inline: 16px;
  }

  .ld-home-page .ld-home-title {
    font-size: clamp(38px, 10.8vw, 41px);
  }

  .ld-home-page .ld-home-copy-text {
    font-size: 14px;
  }

  .ld-home-page .ld-home-benefits li {
    font-size: 8.5px;
  }
}

@media (max-width: 900px) and (max-height: 650px) {
  .ld-home-page .ld-home-hero.ld-shell {
    min-height: 720px;
    padding-top: 244px;
  }
}

@media (max-width: 560px) and (max-height: 650px) {
  .ld-home-page .ld-home-hero.ld-shell {
    background-size: 100% 100%, auto 54%;
  }

  .ld-home-page .ld-home-primary {
    align-self: flex-start;
    width: calc(100% - 60px);
  }
}

/* Give the composition room to breathe on wide desktop screens. */
@media (min-width: 1101px) {
  .ld-home-page .ld-home-nav {
    width: min(1640px, calc(100% - 128px));
  }

  .ld-home-page .ld-home-hero.ld-shell {
    padding-inline: clamp(64px, calc((100% - 1640px) / 2), 180px);
  }
}

/* Mobile navigation: use the available screen without covering the hero underneath. */
@media (max-width: 900px) {
  .ld-home-page .ld-home-nav[data-menu-open="true"] .ld-home-menu-panel {
    position: fixed;
    inset: 72px 0 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 22px;
    width: auto;
    max-width: none;
    max-height: calc(100svh - 72px);
    overflow-y: auto;
    padding: 24px 24px max(96px, calc(env(safe-area-inset-bottom) + 90px));
    border: 0;
    border-top: 1px solid rgb(255 255 255 / 12%);
    border-radius: 0;
    background: rgb(17 18 20 / 98%);
    box-shadow: 0 20px 40px rgb(0 0 0 / 22%);
    backdrop-filter: blur(20px);
  }

  .ld-home-page .ld-home-nav[data-menu-open="true"] .ld-home-nav-links {
    display: grid;
    align-items: stretch;
    justify-content: stretch;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    gap: 4px;
  }

  .ld-home-page .ld-home-nav[data-menu-open="true"] .ld-home-nav-link {
    display: flex;
    align-items: center;
    justify-self: stretch;
    width: 100%;
    min-height: 52px;
    margin: 0;
    padding: 12px 0;
    border-bottom: 1px solid rgb(255 255 255 / 10%);
    border-radius: 0;
    color: rgb(255 255 255 / 90%);
    font-size: 16px;
    text-align: left;
  }

  .ld-home-page .ld-home-nav[data-menu-open="true"] .ld-home-nav-link:hover {
    background: transparent;
    color: #fff;
  }

  .ld-home-page .ld-home-nav[data-menu-open="true"] .ld-home-nav-cta {
    flex: 0 0 auto;
    width: 100%;
    min-height: 52px;
    margin-top: auto;
    border-radius: 11px;
  }
}

/* Mobile hero: lead with the person, laptop and website before the offer. */
@media (max-width: 560px) {
  .ld-home-page .ld-home-nav-wrap {
    position: absolute;
    inset: 0 0 auto;
    z-index: 20;
    height: 72px;
    border-bottom: 0;
    background: linear-gradient(180deg, rgb(10 8 12 / 42%), transparent);
  }

  .ld-home-page .ld-home-hero.ld-shell {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    min-height: 0;
    padding: 0;
    overflow: hidden;
    background-color: #111214;
    background-image: none;
  }

  .ld-home-page .ld-home-hero.ld-shell::before {
    content: "";
    display: block;
    flex: 0 0 auto;
    width: 100%;
    aspect-ratio: 1.04;
    background-image:
      linear-gradient(180deg, transparent 67%, rgb(17 18 20 / 48%) 86%, #111214 100%),
      url("../images/markova-hero-mobile.jpg?v=85");
    background-repeat: no-repeat;
    background-position: center, center 42%;
    background-size: cover, cover;
  }

  .ld-home-page .ld-home-copy {
    box-sizing: border-box;
    width: 100%;
    max-width: 560px;
    margin-inline: auto;
    padding: 24px 20px max(48px, env(safe-area-inset-bottom));
  }

  .ld-home-page .ld-home-title {
    max-width: 500px;
    font-size: clamp(40px, 11.5vw, 50px);
    line-height: .96;
    letter-spacing: -.055em;
  }

  .ld-home-page .ld-home-copy-text {
    max-width: 38ch;
    margin-top: 15px;
    font-size: 15px;
    line-height: 1.52;
  }

  .ld-home-page .ld-home-price {
    margin-top: 17px;
  }

  .ld-home-page .ld-home-price strong {
    font-size: clamp(54px, 15vw, 66px);
  }

  .ld-home-page .ld-home-actions {
    align-items: center;
    gap: 4px;
    margin-top: 18px;
  }

  .ld-home-page .ld-home-primary {
    justify-content: center;
    min-height: 58px;
    padding-inline: 16px;
    border-radius: 15px;
    font-size: 15px;
  }

  .ld-home-page .ld-home-primary::before {
    content: "";
    display: block;
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    background: url("../images/whatsapp-icon.svg") center / contain no-repeat;
    filter: brightness(0) invert(1);
  }

  .ld-home-page .ld-home-primary img {
    width: 18px;
    height: 18px;
  }

  .ld-home-page .ld-home-secondary {
    align-self: center;
    justify-content: center;
    min-height: 44px;
    padding-inline: 4px;
    border: 0;
    background: transparent;
    font-size: 15px;
  }

  .ld-home-page .ld-home-secondary::after {
    content: "→";
    margin-left: 12px;
    font-size: 21px;
    font-weight: 400;
  }

  .ld-home-page .ld-home-secondary:hover {
    background: transparent;
  }
}

@media (max-width: 380px) {
  .ld-home-page .ld-home-copy {
    padding-inline: 16px;
  }

  .ld-home-page .ld-home-title {
    font-size: clamp(38px, 11.5vw, 43px);
  }

  .ld-home-page .ld-home-primary {
    font-size: 14px;
  }
}

@media (max-width: 380px) and (max-height: 650px) {
  .ld-home-page .ld-home-hero.ld-shell::before {
    aspect-ratio: 1.15;
  }

  .ld-home-page .ld-home-copy {
    padding-top: 16px;
  }
}

/* Mobile home hero: match the supplied light Markova reference. */
.ld-home-kicker-mobile,
.ld-home-title-mobile,
.ld-home-copy-mobile,
.ld-home-benefit-icon-mobile,
.ld-home-benefit-label-mobile,
.ld-home-mobile-visual {
  display: none;
}

.ld-home-benefits small,
.ld-home-secondary img {
  display: none;
}

@media (max-width: 560px) {
  .ld-page.ld-home-page,
  body.ld-home-body {
    color: #111214;
    background: #fff;
  }

  .ld-home-page .ld-home-nav-wrap {
    position: relative;
    inset: auto;
    z-index: 20;
    height: auto;
    min-height: 0;
    padding: 8px 0 0;
    background: #fff;
  }

  .ld-home-page .ld-home-nav {
    width: calc(100% - 48px);
    min-height: 48px;
  }

  .ld-home-page .ld-home-brand {
    flex: 0 0 108px;
    width: 108px;
    height: 36px;
    filter: none;
  }

  .ld-home-page .ld-home-nav-toggle {
    min-height: 44px;
    padding-inline: 12px;
    border: 1px solid #e9e5ed;
    border-radius: 14px;
    background: #fff;
    color: #111214;
    box-shadow: 0 2px 8px rgb(17 18 20 / 5%);
    backdrop-filter: none;
    font-size: 14px;
  }

  .ld-home-page .ld-home-nav-toggle-icon i {
    background: currentColor;
  }

  .ld-home-page .ld-home-nav[data-menu-open="true"] .ld-home-menu-panel {
    inset: 82px 0 0;
    background: rgb(255 255 255 / 98%);
    border-top: 1px solid #efedf1;
    box-shadow: 0 16px 32px rgb(17 18 20 / 8%);
    backdrop-filter: blur(16px);
  }

  .ld-home-page .ld-home-nav[data-menu-open="true"] .ld-home-nav-link {
    color: #111214;
    border-color: #eeebf0;
  }

  .ld-home-page .ld-home-nav[data-menu-open="true"] .ld-home-nav-link:hover {
    color: #520496;
  }

  .ld-home-page .ld-home-hero.ld-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 0;
    width: 100%;
    min-height: 0;
    padding: 14px 0 28px;
    overflow: visible;
    background-color: #fff;
    background-image: linear-gradient(112deg, #fff 0%, #fff 70%, #f8f4fb 100%);
  }

  .ld-home-page .ld-home-hero.ld-shell::before {
    display: none;
    content: none;
  }

  .ld-home-page .ld-home-copy {
    display: contents;
  }

  .ld-home-page .ld-home-kicker-mobile {
    display: block;
    grid-row: 1;
    margin: 0 24px 6px;
    color: #77609f;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .13em;
    line-height: 1.3;
  }

  .ld-home-page .ld-home-title {
    grid-row: 2;
    max-width: none;
    margin: 0 24px;
    color: #111214;
    font-family: "DM Serif Display", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
    font-size: clamp(40px, 12vw, 56px);
    font-weight: 400;
    letter-spacing: -.055em;
    line-height: .92;
    text-wrap: initial;
  }

  .ld-home-page .ld-home-title-desktop {
    display: none;
  }

  .ld-home-page .ld-home-title-mobile {
    display: block;
  }

  .ld-home-page .ld-home-title-mobile em {
    color: #520496;
    font-style: italic;
  }

  .ld-home-page .ld-home-copy-text {
    display: block;
    grid-row: 3;
    max-width: none;
    margin: 12px 24px 0;
    color: #6b6c74;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: -.015em;
    line-height: 1.47;
    text-wrap: balance;
  }

  .ld-home-page .ld-home-copy-desktop {
    display: none;
  }

  .ld-home-page .ld-home-copy-mobile {
    display: inline;
  }

  .ld-home-page .ld-home-price {
    grid-row: 4;
    margin: 20px 24px 0;
    color: #111214;
  }

  .ld-home-page .ld-home-price span {
    margin-bottom: 2px;
    color: #6b6c74;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: -.02em;
  }

  .ld-home-page .ld-home-price strong {
    color: #111214;
    font-family: "DM Serif Display", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
    font-size: clamp(46px, 12.8vw, 56px);
    font-weight: 400;
    letter-spacing: -.055em;
    line-height: .98;
  }

  .ld-home-page .ld-home-actions {
    grid-row: 5;
    align-items: stretch;
    gap: 5px;
    margin: 14px 24px 0;
  }

  .ld-home-page .ld-home-primary {
    width: 100%;
    min-height: 52px;
    padding-inline: 16px;
    border: 1px solid #520496;
    border-radius: 16px;
    background: #520496;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    box-shadow: 0 10px 24px rgb(82 4 150 / 20%);
  }

  .ld-home-page .ld-home-primary::before {
    flex-basis: 25px;
    width: 25px;
    height: 25px;
  }

  .ld-home-page .ld-home-primary img {
    width: 20px;
    height: 20px;
  }

  .ld-home-page .ld-home-secondary {
    display: none;
  }

  .ld-home-page .ld-home-secondary::after {
    content: none;
  }

  .ld-home-page .ld-home-secondary img {
    display: block;
    width: 19px;
    height: 19px;
    margin-left: 10px;
    filter: brightness(0) saturate(100%);
  }

  .ld-home-page .ld-home-mobile-visual {
    display: block;
    grid-row: 6;
    width: calc(100% + 48px);
    margin: 2px -24px 0;
    overflow: hidden;
  }

  .ld-home-page .ld-home-mobile-visual img {
    display: block;
    width: 100%;
    height: auto;
    /* Feather all four edges of the photo into the white section, the same as on desktop. */
    mask-image: linear-gradient(90deg, transparent 0, #000 10%, #000 90%, transparent 100%), linear-gradient(180deg, transparent 0, #000 12%, #000 88%, transparent 100%);
    mask-composite: intersect;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 10%, #000 90%, transparent 100%), linear-gradient(180deg, transparent 0, #000 12%, #000 88%, transparent 100%);
    -webkit-mask-composite: source-in;
  }

  .ld-home-page .ld-home-collage {
    display: none;
  }

  .ld-home-page .ld-home-benefits {
    grid-row: 7;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    width: calc(100% - 32px);
    max-width: none;
    margin: 22px 16px 0;
  }

  .ld-home-page .ld-home-benefits li {
    align-items: center;
    gap: 8px;
    padding: 0 3px;
    border: 0;
    color: #111214;
    font-size: 13px;
    line-height: 1.2;
    text-align: center;
    white-space: normal;
  }

  .ld-home-page .ld-home-benefit-icon-desktop,
  .ld-home-page .ld-home-benefit-label-desktop {
    display: none;
  }

  .ld-home-page .ld-home-benefits li {
    position: relative;
  }

  /* The lavender disc sits behind the icon; the filter then darkens only the glyph. */
  .ld-home-page .ld-home-benefits li::before {
    position: absolute;
    top: 0;
    left: 50%;
    width: 46px;
    height: 46px;
    margin-left: -23px;
    border-radius: 50%;
    background: #f0e8f7;
    content: "";
  }

  /* Scoped to .ld-home-benefits so this beats the desktop icon rule (white filter). */
  .ld-home-page .ld-home-benefits .ld-home-benefit-icon-mobile {
    position: relative;
    z-index: 1;
    display: block;
    box-sizing: border-box;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    padding: 11px;
    opacity: 1;
    filter: brightness(0) saturate(100%);
  }

  .ld-home-page .ld-home-benefit-label-mobile {
    display: block;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.14;
  }

  .ld-home-page .ld-home-benefits small {
    display: block;
    color: #6b6c74;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.28;
  }
}

@media (max-width: 380px) {
  .ld-home-page .ld-home-title {
    font-size: clamp(38px, 12vw, 46px);
  }

  .ld-home-page .ld-home-copy-text {
    font-size: 15px;
  }

  .ld-home-page .ld-home-benefit-label-mobile {
    font-size: 13px;
  }

  .ld-home-page .ld-home-benefits small {
    font-size: 11px;
  }
}

/* Desktop home hero, 901px and up. The hero box is exactly one screen tall (below the menu), and the
   type, spacing and photo are sized from that box in container units, so the whole composition scales
   together and always fits the first view, whatever the window's width and height. */
@media (min-width: 901px) {
  .ld-page.ld-home-page,
  body.ld-home-body {
    color: #111214;
    background: #fff;
  }

  .ld-home-page {
    --home-gutter: clamp(40px, 5vw, 140px);
  }

  .ld-home-page .ld-home-nav-wrap {
    position: relative;
    inset: auto;
    z-index: 20;
    height: auto;
    min-height: 0;
    padding: 0;
    border: 0;
    background: #fff;
  }

  .ld-home-page .ld-home-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    box-sizing: border-box;
    width: 100%;
    min-height: 92px;
    margin: 0;
    padding-inline: var(--home-gutter);
  }

  .ld-home-page .ld-home-brand {
    flex: 0 0 132px;
    width: 132px;
    height: 44px;
    filter: none;
  }

  .ld-home-page .ld-home-menu-panel {
    display: flex;
    align-items: center;
    gap: 36px;
    margin-left: auto;
  }

  .ld-home-page .ld-home-nav-links {
    display: flex;
    align-items: center;
    gap: clamp(20px, 2.2vw, 32px);
  }

  .ld-home-page .ld-home-nav-link {
    color: #111214;
    font-size: clamp(14px, 0.95vw, 16px);
    font-weight: 600;
    letter-spacing: -.01em;
  }

  .ld-home-page .ld-home-nav-link:hover {
    color: #520496;
  }

  .ld-home-page .ld-home-nav-cta {
    min-width: clamp(184px, 12.5vw, 236px);
    min-height: clamp(46px, 3.4vw, 54px);
    padding: 0 22px;
    border-radius: 14px;
    font-size: clamp(14px, 0.95vw, 16px);
    box-shadow: 0 8px 22px rgb(82 4 150 / 20%);
  }

  .ld-home-page .ld-home-nav-toggle {
    display: none;
  }

  /* The hero is the container: 1cqw and 1cqh are 1% of its width and height. */
  .ld-home-page .ld-home-hero.ld-shell {
    container-type: size;
    display: grid;
    grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
    column-gap: clamp(40px, 4cqw, 80px);
    align-items: center;
    box-sizing: border-box;
    width: 100%;
    height: calc(100svh - 92px);
    min-height: 360px;
    margin: 0;
    padding: 0 var(--home-gutter);
    overflow: visible;
    isolation: auto;
    background-color: #fff;
    background-image: none;
  }

  /* Copy column: kicker, headline, offer, CTA, then the three benefits. */
  .ld-home-page .ld-home-copy {
    display: block;
    justify-self: start;
    width: 100%;
    max-width: 900px;
    margin: 0;
    padding: 0;
    transform: none;
    z-index: 2;
  }

  .ld-home-page .ld-home-kicker-mobile {
    display: block;
    margin: 0 0 2.6cqh;
    color: #77609f;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .13em;
    line-height: 1.3;
  }

  .ld-home-page .ld-home-title-mobile {
    display: none;
  }

  .ld-home-page .ld-home-title {
    max-width: none;
    margin: 0;
    color: #111214;
    font-family: "DM Serif Display", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
    font-size: clamp(44px, min(5.6cqw, 10cqh), 160px);
    font-weight: 400;
    letter-spacing: -.05em;
    line-height: .93;
    transform: none;
  }

  .ld-home-page .ld-home-title-mobile em {
    color: #520496;
    font-style: italic;
  }

  .ld-home-page .ld-home-copy-desktop {
    display: inline;
  }

  .ld-home-page .ld-home-copy-mobile {
    display: none;
  }

  .ld-home-page .ld-home-copy-text {
    display: block;
    max-width: 36ch;
    margin: 2.4cqh 0 0;
    color: #6b6c74;
    font-size: clamp(15px, min(1.2cqw, 2.1cqh), 22px);
    font-weight: 400;
    letter-spacing: -.012em;
    line-height: 1.5;
    text-wrap: balance;
  }

  .ld-home-page .ld-home-price {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 2.8cqh 0 0;
    color: #111214;
    line-height: 1;
  }

  .ld-home-page .ld-home-price span {
    margin-bottom: 4px;
    color: #6b6c74;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: -.02em;
  }

  .ld-home-page .ld-home-price strong {
    color: #111214;
    font-family: "DM Serif Display", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
    font-size: clamp(50px, min(4.9cqw, 8.8cqh), 140px);
    font-weight: 400;
    letter-spacing: -.055em;
    line-height: 1;
  }

  .ld-home-page .ld-home-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 2.6cqh 0 0;
  }

  .ld-home-page .ld-home-primary {
    justify-content: center;
    gap: 12px;
    width: auto;
    min-width: clamp(240px, 17cqw, 340px);
    min-height: clamp(48px, 6cqh, 62px);
    padding: 0 28px;
    border: 1px solid #520496;
    border-radius: 16px;
    background: #520496;
    color: #fff;
    font-size: clamp(15px, min(1cqw, 1.9cqh), 18px);
    font-weight: 700;
    box-shadow: 0 10px 26px rgb(82 4 150 / 22%);
  }

  .ld-home-page .ld-home-primary::before {
    content: "";
    display: block;
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    background: url("../images/whatsapp-icon.svg") center / contain no-repeat;
    filter: brightness(0) invert(1);
  }

  .ld-home-page .ld-home-primary img {
    display: block;
    width: 20px;
    height: 20px;
  }

  .ld-home-page .ld-home-secondary {
    display: none;
  }

  .ld-home-page .ld-home-benefits {
    --home-disc: clamp(40px, min(3.2cqw, 5.8cqh), 72px);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(12px, 1.4cqw, 16px);
    width: 100%;
    max-width: 760px;
    margin: 3.2cqh 0 0;
    padding: 0;
    list-style: none;
  }

  .ld-home-page .ld-home-benefits li {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 0;
    padding: 0 4px;
    border: 0;
    color: #111214;
    font-size: clamp(13px, min(.95cqw, 1.8cqh), 18px);
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    white-space: normal;
  }

  /* The lavender disc sits behind the icon; the filter then darkens only the glyph. */
  .ld-home-page .ld-home-benefits li::before {
    position: absolute;
    top: 0;
    left: 50%;
    width: var(--home-disc);
    height: var(--home-disc);
    margin-left: calc(var(--home-disc) / -2);
    border-radius: 50%;
    background: #f0e8f7;
    content: "";
  }

  .ld-home-page .ld-home-benefits .ld-home-benefit-icon-mobile {
    position: relative;
    z-index: 1;
    display: block;
    box-sizing: border-box;
    width: var(--home-disc);
    height: var(--home-disc);
    flex: 0 0 var(--home-disc);
    padding: calc(var(--home-disc) * .28);
    opacity: 1;
    filter: brightness(0) saturate(100%);
  }

  .ld-home-page .ld-home-benefit-icon-desktop,
  .ld-home-page .ld-home-benefit-label-desktop {
    display: none;
  }

  .ld-home-page .ld-home-benefit-label-mobile {
    display: block;
  }

  .ld-home-page .ld-home-benefits small {
    display: block;
    color: #6b6c74;
    font-size: clamp(12px, min(.85cqw, 1.5cqh), 14px);
    font-weight: 400;
    line-height: 1.3;
  }

  /* Photo column: the photo keeps its shape, fits the column and stays inside the menu's right edge. */
  .ld-home-page .ld-home-mobile-visual {
    display: block;
    position: relative;
    isolation: isolate;
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    width: min(100%, calc(100cqh * 1.3333));
    max-width: none;
    margin: 0;
    overflow: visible;
  }

  /* A soft lavender glow sits behind the devices; the photo's edges fade into it. */
  .ld-home-page .ld-home-mobile-visual::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    background: radial-gradient(60% 58% at 55% 46%, #efe6fb 0%, rgb(239 230 251 / 0%) 72%);
    content: "";
  }

  .ld-home-page .ld-home-mobile-visual img {
    display: block;
    width: 100%;
    height: auto;
    /* Feather all four edges of the photo into the white hero background, so no hard edge shows. */
    mask-image: linear-gradient(90deg, transparent 0, #000 10%, #000 90%, transparent 100%), linear-gradient(180deg, transparent 0, #000 12%, #000 88%, transparent 100%);
    mask-composite: intersect;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 10%, #000 90%, transparent 100%), linear-gradient(180deg, transparent 0, #000 12%, #000 88%, transparent 100%);
    -webkit-mask-composite: source-in;
  }
}

/* Phone and tablet home hero: 900px and below, plus landscape phones. One column that scales with the
   screen. Horizontal sizes use the hero's width (cqw) and vertical sizes use the screen height (svh), so
   the hero looks right on narrow, wide, short and tall phones and on tablets in portrait. This block
   overrides the older dark hero rules, which must not show on any phone or tablet. */
@media (max-width: 900px), (orientation: landscape) and (max-height: 500px) and (pointer: coarse) {
  .ld-page.ld-home-page,
  body.ld-home-body {
    color: #111214;
    background: #fff;
  }

  .ld-home-page {
    --m-gutter: clamp(20px, 6cqw, 48px);
  }

  /* Menu bar */
  .ld-home-page .ld-home-nav-wrap {
    position: relative;
    inset: auto;
    z-index: 20;
    height: auto;
    min-height: 0;
    padding: 0;
    border: 0;
    background: #fff;
  }

  .ld-home-page .ld-home-nav {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    box-sizing: border-box;
    width: 100%;
    min-height: clamp(64px, 9svh, 80px);
    margin: 0;
    padding: 0 var(--m-gutter);
  }

  .ld-home-page .ld-home-brand {
    flex: 0 0 auto;
    width: clamp(104px, 30vw, 136px);
    height: auto;
    aspect-ratio: 3 / 1;
    filter: none;
  }

  .ld-home-page .ld-home-nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: clamp(42px, 11vw, 50px);
    padding: 0 clamp(12px, 3.4vw, 16px);
    border: 1px solid #e9e5ed;
    border-radius: 14px;
    background: #fff;
    color: #111214;
    box-shadow: 0 2px 8px rgb(17 18 20 / 5%);
    backdrop-filter: none;
    font-size: clamp(14px, 3.9vw, 16px);
  }

  .ld-home-page .ld-home-menu-panel {
    display: none;
  }

  .ld-home-page .ld-home-nav[data-menu-open="true"] .ld-home-menu-panel {
    position: absolute;
    z-index: 30;
    top: 100%;
    right: 0;
    bottom: auto;
    left: 0;
    display: grid;
    gap: 6px;
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    max-height: calc(100svh - 80px);
    overflow-y: auto;
    padding: 8px var(--m-gutter) 22px;
    border: 0;
    border-top: 1px solid #efedf1;
    border-radius: 0;
    background: #fff;
    box-shadow: 0 18px 36px rgb(17 18 20 / 10%);
    backdrop-filter: none;
  }

  .ld-home-page .ld-home-nav[data-menu-open="true"] .ld-home-nav-links {
    display: grid;
    gap: 0;
    width: 100%;
  }

  .ld-home-page .ld-home-nav[data-menu-open="true"] .ld-home-nav-link {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 50px;
    margin: 0;
    padding: 12px 0;
    border-bottom: 1px solid #eeebf0;
    border-radius: 0;
    color: #111214;
    font-size: clamp(16px, 4.4vw, 18px);
    font-weight: 600;
    text-align: left;
  }

  .ld-home-page .ld-home-nav[data-menu-open="true"] .ld-home-nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 100%;
    min-width: 0;
    min-height: 52px;
    margin-top: 10px;
    border: 1px solid #520496;
    border-radius: 14px;
    background: #520496;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    box-shadow: 0 8px 22px rgb(82 4 150 / 20%);
  }

  /* Hero: one column; each block is placed in a grid row so the photo sits between the offer and the benefits */
  .ld-home-page .ld-home-hero.ld-shell {
    container-type: inline-size;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    row-gap: 0;
    column-gap: 0;
    box-sizing: border-box;
    width: 100%;
    height: auto;
    min-height: 0;
    max-width: none;
    margin: 0;
    padding: 0 0 clamp(24px, 4svh, 44px);
    overflow: visible;
    isolation: auto;
    background-color: #fff;
    background-image: none;
  }

  .ld-home-page .ld-home-hero.ld-shell::before {
    content: none;
    display: none;
  }

  .ld-home-page .ld-home-copy {
    display: contents;
  }

  .ld-home-page .ld-home-kicker-mobile {
    display: block;
    grid-row: 1;
    grid-column: 1;
    margin: clamp(12px, 2.4svh, 28px) var(--m-gutter) 0;
    color: #77609f;
    font-size: clamp(10px, 2.9cqw, 13px);
    font-weight: 700;
    letter-spacing: .13em;
    line-height: 1.3;
  }

  .ld-home-page .ld-home-title-desktop {
    display: none;
  }

  .ld-home-page .ld-home-title-mobile {
    display: block;
  }

  .ld-home-page .ld-home-title {
    grid-row: 2;
    grid-column: 1;
    max-width: none;
    margin: clamp(8px, 1.6svh, 16px) var(--m-gutter) 0;
    color: #111214;
    font-family: "DM Serif Display", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
    font-size: clamp(38px, min(12.2cqw, 9.5svh), 64px);
    font-weight: 400;
    letter-spacing: -.055em;
    line-height: .94;
    text-wrap: initial;
    transform: none;
  }

  .ld-home-page .ld-home-copy-desktop {
    display: none;
  }

  .ld-home-page .ld-home-copy-mobile {
    display: inline;
  }

  .ld-home-page .ld-home-copy-text {
    display: block;
    grid-row: 3;
    grid-column: 1;
    max-width: 40ch;
    margin: clamp(10px, 1.8svh, 18px) var(--m-gutter) 0;
    color: #6b6c74;
    font-size: clamp(15px, 4cqw, 19px);
    font-weight: 400;
    letter-spacing: -.012em;
    line-height: 1.5;
    text-wrap: balance;
  }

  .ld-home-page .ld-home-price {
    grid-row: 4;
    grid-column: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: clamp(12px, 2.2svh, 26px) var(--m-gutter) 0;
    color: #111214;
    line-height: 1;
  }

  .ld-home-page .ld-home-price span {
    margin-bottom: 4px;
    color: #6b6c74;
    font-size: clamp(13px, 3.6cqw, 17px);
    font-weight: 500;
    letter-spacing: -.02em;
  }

  .ld-home-page .ld-home-price strong {
    color: #111214;
    font-family: "DM Serif Display", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
    font-size: clamp(50px, min(15cqw, 12svh), 84px);
    font-weight: 400;
    letter-spacing: -.055em;
    line-height: 1;
    white-space: nowrap;
  }

  .ld-home-page .ld-home-actions {
    grid-row: 5;
    grid-column: 1;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    margin: clamp(10px, 1.8svh, 20px) var(--m-gutter) 0;
  }

  .ld-home-page .ld-home-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-width: 0;
    min-height: clamp(50px, min(15cqw, 7.4svh), 64px);
    padding: 0 16px;
    border: 1px solid #520496;
    border-radius: 16px;
    background: #520496;
    color: #fff;
    font-size: clamp(15px, 4.2cqw, 18px);
    font-weight: 700;
    box-shadow: 0 10px 24px rgb(82 4 150 / 20%);
  }

  .ld-home-page .ld-home-primary::before {
    content: "";
    display: block;
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    background: url("../images/whatsapp-icon.svg") center / contain no-repeat;
    filter: brightness(0) invert(1);
  }

  .ld-home-page .ld-home-primary img {
    display: block;
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
  }

  .ld-home-page .ld-home-secondary {
    display: none;
  }

  /* Photo: full width, keeps its shape, never taller than most of the screen (landscape phones) */
  .ld-home-page .ld-home-mobile-visual {
    display: block;
    position: relative;
    isolation: isolate;
    grid-row: 6;
    grid-column: 1;
    justify-self: stretch;
    width: 100%;
    max-width: none;
    margin: clamp(6px, 1.4svh, 16px) 0 0;
    overflow: visible;
  }

  .ld-home-page .ld-home-mobile-visual img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 62svh;
    object-fit: contain;
    /* Feather all four edges of the photo into the white section, the same as on desktop. */
    mask-image: linear-gradient(90deg, transparent 0, #000 10%, #000 90%, transparent 100%), linear-gradient(180deg, transparent 0, #000 12%, #000 88%, transparent 100%);
    mask-composite: intersect;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 10%, #000 90%, transparent 100%), linear-gradient(180deg, transparent 0, #000 12%, #000 88%, transparent 100%);
    -webkit-mask-composite: source-in;
  }

  .ld-home-page .ld-home-collage {
    display: none;
  }

  /* Benefits: three columns, sized from the hero's width */
  .ld-home-page .ld-home-benefits {
    --home-disc: clamp(38px, min(12cqw, 6.4svh), 56px);
    grid-row: 7;
    grid-column: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(8px, 3cqw, 16px);
    width: auto;
    max-width: none;
    margin: clamp(14px, 2.6svh, 30px) var(--m-gutter) 0;
    padding: 0;
    list-style: none;
  }

  .ld-home-page .ld-home-benefits li {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 0;
    padding: 0 2px;
    border: 0;
    color: #111214;
    font-size: clamp(12px, 3.5cqw, 15px);
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    white-space: normal;
  }

  /* The lavender disc sits behind the icon; the filter then darkens only the glyph. */
  .ld-home-page .ld-home-benefits li::before {
    position: absolute;
    top: 0;
    left: 50%;
    width: var(--home-disc);
    height: var(--home-disc);
    margin-left: calc(var(--home-disc) / -2);
    border-radius: 50%;
    background: #f0e8f7;
    content: "";
  }

  .ld-home-page .ld-home-benefits .ld-home-benefit-icon-mobile {
    position: relative;
    z-index: 1;
    display: block;
    box-sizing: border-box;
    width: var(--home-disc);
    height: var(--home-disc);
    flex: 0 0 var(--home-disc);
    padding: calc(var(--home-disc) * .28);
    opacity: 1;
    filter: brightness(0) saturate(100%);
  }

  .ld-home-page .ld-home-benefit-icon-desktop,
  .ld-home-page .ld-home-benefit-label-desktop {
    display: none;
  }

  .ld-home-page .ld-home-benefit-label-mobile {
    display: block;
  }

  .ld-home-page .ld-home-benefits small {
    display: block;
    color: #6b6c74;
    font-size: clamp(11px, 3.1cqw, 13px);
    font-weight: 400;
    line-height: 1.3;
  }
}

/* Plans section ("Páginas web adaptadas a lo que tu negocio necesita."), as in the approved reference:
   a white card with the plan on the left and the included features in two columns on the right.
   These rules override the shared Webflow offer styles; the CTA classes and links are unchanged. */
.ld-home-page #pricing {
  --plan-ink: #0c0f1b;
  --plan-purple: #520496;
  --plan-muted: #5e6170;
  box-sizing: border-box;
  width: min(1380px, calc(100% - 2 * clamp(20px, 5vw, 140px)));
  max-width: none;
  margin: 0 auto;
  padding: clamp(64px, 9vh, 104px) 0 clamp(56px, 8vh, 88px);
  color: var(--plan-ink);
  text-align: left;
}

.ld-home-page #pricing .ld-offer-kicker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 0 0 clamp(16px, 2.4vh, 26px);
  color: #77609f;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .24em;
  line-height: 1.3;
  text-transform: uppercase;
}

.ld-home-page #pricing .ld-offer-kicker span {
  width: 44px;
  height: 2px;
  background: var(--plan-purple);
}

.ld-home-page #pricing .ld-offer-title {
  margin: 0;
  color: var(--plan-ink);
  font-family: "DM Serif Display", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  font-size: clamp(42px, 5vw, 76px);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: .98;
  text-align: center;
}

.ld-home-page #pricing .ld-offer-title em {
  color: var(--plan-purple);
  font-style: italic;
}

.ld-home-page #pricing .ld-offer-card {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  align-items: start;
  gap: 0;
  margin-top: clamp(40px, 6vh, 64px);
  padding: clamp(36px, 4vw, 60px) clamp(28px, 4.2vw, 64px);
  border: 1px solid #ebeaf2;
  border-radius: 28px;
  background: rgb(255 255 255 / 86%);
  box-shadow: 0 30px 60px rgb(40 30 80 / 8%);
}

/* Left: the plan and the price */
.ld-home-page #pricing .ld-offer-summary {
  padding-right: clamp(28px, 4vw, 56px);
  border-right: 1px solid #e4e3ec;
}

.ld-home-page #pricing .ld-offer-plan {
  margin: 0 0 14px;
  color: #6a3fc0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .2em;
  line-height: 1.3;
}

.ld-home-page #pricing .ld-offer-name {
  margin: 0;
  color: var(--plan-ink);
  font-family: "DM Serif Display", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  font-size: clamp(30px, 2.8vw, 42px);
  font-weight: 400;
  letter-spacing: -.02em;
  line-height: 1.1;
}

.ld-home-page #pricing .ld-offer-description {
  max-width: 40ch;
  margin: 16px 0 0;
  color: var(--plan-muted);
  font-size: clamp(16px, 1.25vw, 18px);
  line-height: 1.5;
}

.ld-home-page #pricing .ld-offer-price {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 22px;
  color: var(--plan-ink);
  line-height: 1;
}

.ld-home-page #pricing .ld-offer-from {
  margin-bottom: 6px;
  color: var(--plan-muted);
  font-size: 17px;
  font-weight: 400;
}

.ld-home-page #pricing .ld-offer-price strong {
  color: var(--plan-ink);
  font-family: "DM Serif Display", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  font-size: clamp(56px, 5.4vw, 84px);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: 1;
}

.ld-home-page #pricing .ld-offer-price-note {
  max-width: 48ch;
  margin: 18px 0 0;
  color: var(--plan-muted);
  font-size: 15px;
  line-height: 1.55;
}

.ld-home-page #pricing .ld-offer-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-width: min(100%, 400px);
  min-height: 60px;
  margin-top: 30px;
  padding: 0 32px;
  border: 1px solid var(--plan-purple);
  border-radius: 14px;
  background: var(--plan-purple);
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -.01em;
  text-decoration: none;
  box-shadow: 0 12px 26px rgb(82 4 150 / 22%);
}

.ld-home-page #pricing .ld-offer-cta::after {
  content: "→";
  font-size: 20px;
  line-height: 1;
}

/* Right: what is included, in two columns with an icon for each item */
.ld-home-page #pricing .ld-offer-details {
  padding-left: clamp(28px, 4vw, 56px);
}

.ld-home-page #pricing .ld-offer-includes-title {
  margin: 0 0 22px;
  color: var(--plan-ink);
  font-family: "DM Serif Display", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  font-size: clamp(26px, 2.2vw, 34px);
  font-weight: 400;
  letter-spacing: -.02em;
  line-height: 1.1;
}

.ld-home-page #pricing .ld-offer-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(24px, 3vw, 48px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.ld-home-page #pricing .ld-offer-list li {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid #e6e6ec;
  color: #3d4150;
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.4;
}

.ld-home-page #pricing .ld-offer-list li:nth-last-child(-n+2) {
  border-bottom: 0;
}

.ld-home-page #pricing .ld-offer-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  box-sizing: border-box;
  border: 1px solid #eaeaf0;
  border-radius: 12px;
  background: #f5f5f8;
  color: #1b1d26;
}

.ld-home-page #pricing .ld-offer-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ld-home-page #pricing .ld-offer-extra {
  margin: clamp(24px, 3.4vh, 36px) 0 0;
  color: var(--plan-muted);
  font-size: 15px;
  line-height: 1.5;
  text-align: center;
}

@media (max-width: 840px) {
  .ld-home-page #pricing .ld-offer-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .ld-home-page #pricing .ld-offer-summary {
    padding-right: 0;
    border-right: 0;
    padding-bottom: 32px;
    border-bottom: 1px solid #e4e3ec;
  }

  .ld-home-page #pricing .ld-offer-details {
    padding: 32px 0 0;
  }

  .ld-home-page #pricing .ld-offer-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .ld-home-page #pricing .ld-offer-list li {
    padding: 16px 0;
  }

  .ld-home-page #pricing .ld-offer-list li:nth-last-child(-n+2) {
    border-bottom: 1px solid #e6e6ec;
  }

  .ld-home-page #pricing .ld-offer-list li:last-child {
    border-bottom: 0;
  }

  .ld-home-page #pricing .ld-offer-cta {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .ld-home-page #pricing .ld-offer-title {
    font-size: clamp(36px, 9.6vw, 46px);
  }

  .ld-home-page #pricing .ld-offer-card {
    padding: 28px 22px;
    border-radius: 22px;
  }

  .ld-home-page #pricing .ld-offer-kicker {
    gap: 12px;
    font-size: 11px;
    letter-spacing: .2em;
  }

  .ld-home-page #pricing .ld-offer-kicker span {
    width: 28px;
  }
}

/* Plans section on phones: a compact layout so the whole section needs less scrolling. The price sits
   beside "Desde", the note is smaller, and the features become tight rows with small icons. */
@media (max-width: 840px) {
  .ld-home-page #pricing {
    padding-top: clamp(48px, 7vh, 72px);
    padding-bottom: clamp(40px, 6vh, 56px);
  }

  .ld-home-page #pricing .ld-offer-kicker {
    margin-bottom: 14px;
  }

  .ld-home-page #pricing .ld-offer-title {
    font-size: clamp(30px, 8.6vw, 40px);
    line-height: 1;
  }

  .ld-home-page #pricing .ld-offer-card {
    margin-top: 24px;
    padding: 22px 20px 20px;
    border-radius: 22px;
  }

  .ld-home-page #pricing .ld-offer-summary {
    padding: 0 0 20px;
    border-right: 0;
    border-bottom: 1px solid #e4e3ec;
  }

  .ld-home-page #pricing .ld-offer-plan {
    margin-bottom: 8px;
  }

  .ld-home-page #pricing .ld-offer-name {
    font-size: 28px;
  }

  .ld-home-page #pricing .ld-offer-description {
    margin-top: 10px;
    font-size: 15px;
    line-height: 1.45;
  }

  .ld-home-page #pricing .ld-offer-price {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 10px;
    margin-top: 16px;
  }

  .ld-home-page #pricing .ld-offer-from {
    margin-bottom: 0;
    font-size: 15px;
  }

  .ld-home-page #pricing .ld-offer-price strong {
    font-size: 52px;
  }

  .ld-home-page #pricing .ld-offer-price-note {
    margin-top: 10px;
    font-size: 12.5px;
    line-height: 1.45;
  }

  .ld-home-page #pricing .ld-offer-cta {
    min-height: 52px;
    margin-top: 16px;
    font-size: 16px;
  }

  .ld-home-page #pricing .ld-offer-details {
    padding: 18px 0 0;
  }

  .ld-home-page #pricing .ld-offer-includes-title {
    margin-bottom: 4px;
    font-size: 22px;
  }

  .ld-home-page #pricing .ld-offer-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 16px;
    row-gap: 0;
  }

  .ld-home-page #pricing .ld-offer-list li {
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 9px 0;
    border: 0;
    border-bottom: 1px solid #e6e6ec;
    border-radius: 0;
    background: none;
    font-size: 13px;
    line-height: 1.3;
  }

  .ld-home-page #pricing .ld-offer-list li:nth-last-child(-n+2) {
    border-bottom: 0;
  }

  .ld-home-page #pricing .ld-offer-icon {
    width: 26px;
    height: 26px;
    border: 0;
    border-radius: 8px;
    background: #f4f4f8;
  }

  .ld-home-page #pricing .ld-offer-icon svg {
    width: 15px;
    height: 15px;
  }

  .ld-home-page #pricing .ld-offer-extra {
    margin-top: 14px;
    font-size: 12.5px;
  }
}

/* FAQ section ("Preguntas frecuentes"). On desktop the title stays beside the list while the list scrolls;
   each question opens in place and its plus sign turns into a cross. On phones the list takes the full width.
   These rules override the shared Webflow FAQ styles. */
.ld-home-page .ld-faq-only {
  --faq-ink: #0c0f1b;
  --faq-purple: #520496;
  --faq-muted: #5e6170;
  --faq-rule: #e3e2ea;
  box-sizing: border-box;
  width: min(1380px, calc(100% - 2 * clamp(20px, 5vw, 140px)));
  max-width: none;
  margin: 0 auto;
  padding: clamp(56px, 8vh, 96px) 0;
  color: var(--faq-ink);
  text-align: left;
}

.ld-home-page #faq {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: clamp(40px, 6vw, 110px);
}

.ld-home-page #faq .ld-faq-head {
  position: sticky;
  top: 110px;
}

.ld-home-page #faq .ld-faq-title {
  margin: 0;
  color: var(--faq-ink);
  font-family: "DM Serif Display", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  font-size: clamp(42px, 4.6vw, 68px);
  font-weight: 400;
  letter-spacing: -.04em;
  line-height: .98;
}

.ld-home-page #faq .ld-faq-list {
  border-top: 1px solid var(--faq-rule);
}

.ld-home-page #faq .ld-faq-item {
  border-bottom: 1px solid var(--faq-rule);
  background: none;
  border-radius: 0;
  box-shadow: none;
}

.ld-home-page #faq .ld-faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  color: var(--faq-ink);
  font-size: clamp(17px, 1.5vw, 21px);
  font-weight: 600;
  letter-spacing: -.015em;
  line-height: 1.35;
  list-style: none;
  cursor: pointer;
}

.ld-home-page #faq .ld-faq-question::-webkit-details-marker {
  display: none;
}

.ld-home-page #faq .ld-faq-question:focus-visible {
  outline: 3px solid rgb(82 4 150 / 35%);
  outline-offset: 4px;
  border-radius: 8px;
}

.ld-home-page #faq .ld-faq-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #efe8fb;
  color: var(--faq-purple);
  transition: transform .2s ease, background-color .2s ease, color .2s ease;
}

.ld-home-page #faq .ld-faq-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ld-home-page #faq .ld-faq-item[open] .ld-faq-icon {
  transform: rotate(45deg);
  background: var(--faq-purple);
  color: #fff;
}

.ld-home-page #faq .ld-faq-item[open] .ld-faq-question {
  color: var(--faq-purple);
}

.ld-home-page #faq .ld-faq-answer p {
  max-width: 60ch;
  margin: 0;
  padding: 0 64px 26px 0;
  color: var(--faq-muted);
  font-size: clamp(15px, 1.25vw, 17px);
  line-height: 1.65;
}

@media (max-width: 840px) {
  .ld-home-page #faq {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .ld-home-page #faq .ld-faq-head {
    position: static;
  }

  .ld-home-page #faq .ld-faq-title {
    font-size: clamp(38px, 10vw, 48px);
  }

  .ld-home-page #faq .ld-faq-question {
    padding: 20px 0;
    font-size: 17px;
  }

  .ld-home-page #faq .ld-faq-icon {
    width: 34px;
    height: 34px;
  }

  .ld-home-page #faq .ld-faq-icon svg {
    width: 16px;
    height: 16px;
  }

  .ld-home-page #faq .ld-faq-answer p {
    padding-right: 0;
    padding-bottom: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ld-home-page #faq .ld-faq-icon {
    transition: none;
  }
}

/* The shared Webflow FAQ styles box each item on all four sides; keep only the hairline under each question. */
.ld-home-page #faq .ld-faq-item {
  border: 0;
  border-bottom: 1px solid var(--faq-rule);
  padding: 0;
}

.ld-home-page #faq .ld-faq-answer {
  padding: 0;
  margin: 0;
}

/* Final call to action ("Tu negocio merece una mejor página web."): a deep purple panel that closes the page.
   The headline sits on the left; the offer, the button and the note sit on the right. The button keeps its
   classes and link. These rules override the shared Webflow styles. */
.ld-home-page .ld-final {
  --final-purple: #520496;
  --final-deep: #2e0656;
  box-sizing: border-box;
  width: min(1380px, calc(100% - 2 * clamp(20px, 5vw, 140px)));
  max-width: none;
  margin: clamp(40px, 8vh, 88px) auto 0;
  padding: 0;
  color: #fff;
  text-align: left;
}

.ld-home-page .ld-final-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr);
  align-items: end;
  gap: clamp(32px, 4.5vw, 84px);
  overflow: hidden;
  padding: clamp(48px, 6.5vw, 104px) clamp(32px, 6vw, 96px);
  border-radius: 32px;
  background: linear-gradient(135deg, var(--final-purple) 0%, var(--final-deep) 100%);
  box-shadow: 0 40px 80px rgb(46 6 86 / 26%);
}

/* A large outlined circle in the corner: a quiet nod to the arcs used elsewhere on the page */
.ld-home-page .ld-final-panel::before {
  content: "";
  position: absolute;
  top: -28%;
  right: -12%;
  width: 62%;
  aspect-ratio: 1;
  border: 1px solid rgb(255 255 255 / 14%);
  border-radius: 50%;
  pointer-events: none;
}

.ld-home-page .ld-final-main,
.ld-home-page .ld-final-side {
  position: relative;
  z-index: 1;
}

.ld-home-page .ld-final-title {
  margin: 0;
  color: #fff;
  font-family: "DM Serif Display", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  font-size: clamp(40px, 4.6vw, 72px);
  font-weight: 400;
  letter-spacing: -.04em;
  line-height: .98;
  text-align: left;
}

.ld-home-page .ld-final-copy {
  max-width: 44ch;
  margin: 0;
  color: rgb(255 255 255 / 84%);
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.6;
}

.ld-home-page .ld-final-price {
  margin: clamp(22px, 3.2vh, 32px) 0 0;
  color: #fff;
  font-family: "DM Serif Display", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  font-size: clamp(34px, 3.2vw, 48px);
  font-weight: 400;
  letter-spacing: -.02em;
  line-height: 1;
}

.ld-home-page .ld-final-side .ld-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-width: min(100%, 360px);
  min-height: 62px;
  margin-top: clamp(20px, 2.8vh, 28px);
  padding: 0 34px;
  border: 1px solid #fff;
  border-radius: 16px;
  background: #fff;
  color: var(--final-purple);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.01em;
  text-decoration: none;
  box-shadow: 0 16px 34px rgb(0 0 0 / 18%);
}

.ld-home-page .ld-final-side .ld-button::after {
  content: "→";
  font-size: 20px;
  line-height: 1;
}

.ld-home-page .ld-final-side .ld-button:hover {
  background: #f4eefc;
}

.ld-home-page .ld-final-side .ld-button:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}

.ld-home-page .ld-final-note {
  margin: 14px 0 0;
  color: rgb(255 255 255 / 70%);
  font-size: 14px;
  line-height: 1.5;
}

@media (max-width: 840px) {
  .ld-home-page .ld-final-panel {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 28px;
    padding: 40px 26px 34px;
    border-radius: 26px;
  }

  .ld-home-page .ld-final-title {
    font-size: clamp(38px, 10.4vw, 48px);
    text-wrap: balance;
  }

  .ld-home-page .ld-final-side .ld-button {
    width: 100%;
    min-width: 0;
  }
}

/* Portfolio ("Portafolio"), as in the approved reference: a serif title with round arrows, three framed
   projects in a row, and a caption under each with the name, a tag and a "Ver proyecto" button. The track
   still scrolls sideways on smaller screens, and the carousel buttons keep working.
   These rules override the shared Webflow styles. */
.ld-home-page #portfolio {
  --pf-ink: #0c0f1b;
  --pf-purple: #520496;
  --pf-muted: #5e6170;
  --pf-gap: clamp(20px, 2.4vw, 36px);
  box-sizing: border-box;
  width: min(1380px, calc(100% - 2 * clamp(20px, 5vw, 140px)));
  max-width: none;
  margin: 0 auto;
  padding: clamp(64px, 10vh, 112px) 0 clamp(40px, 6vh, 64px);
  color: var(--pf-ink);
  text-align: left;
}

.ld-home-page #portfolio .ld-portfolio-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin: 0 0 clamp(32px, 5vh, 52px);
}

.ld-home-page #portfolio .ld-port-title {
  margin: 0;
  transform: none;
  color: var(--pf-ink);
  font-family: "DM Serif Display", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  font-size: clamp(44px, 5vw, 72px);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: 1;
}

.ld-home-page #portfolio .ld-portfolio-heading-copy .ld-portfolio-note {
  max-width: 58ch;
  margin: 14px 0 0;
  color: var(--pf-muted);
  font-size: 15px;
  line-height: 1.5;
}

.ld-home-page #portfolio .ld-carousel-controls {
  display: flex;
  flex: 0 0 auto;
  gap: 12px;
}

.ld-home-page #portfolio .ld-carousel-button {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid #d9d9e2;
  border-radius: 50%;
  background: #fff;
  color: var(--pf-ink);
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, opacity .2s ease;
}

.ld-home-page #portfolio .ld-carousel-button[data-portfolio-next] {
  border-color: #ddd1f3;
  background: #efeaf9;
  color: var(--pf-purple);
}

.ld-home-page #portfolio .ld-carousel-button svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ld-home-page #portfolio .ld-carousel-button:disabled {
  opacity: .4;
  cursor: default;
}

.ld-home-page #portfolio .ld-carousel-button:not(:disabled):hover {
  border-color: var(--pf-ink);
}

.ld-home-page #portfolio .ld-carousel-button:focus-visible {
  outline: 3px solid rgb(82 4 150 / 35%);
  outline-offset: 3px;
}

.ld-home-page #portfolio .ld-portfolio-track {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin: 0;
  display: flex;
  gap: var(--pf-gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 2px 16px;
  scrollbar-width: none;
}

.ld-home-page #portfolio .ld-portfolio-track::-webkit-scrollbar {
  display: none;
}

.ld-home-page #portfolio .ld-project-card {
  position: relative;
  display: flex;
  flex: 0 0 calc((100% - 2 * var(--pf-gap)) / 3);
  flex-direction: column;
  min-width: 0;
  scroll-snap-align: start;
  color: var(--pf-ink);
  text-decoration: none;
}

/* A small browser bar of three dots sits over the top-left corner of each frame */
.ld-home-page #portfolio .ld-project-card::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 14px;
  left: 16px;
  width: 30px;
  height: 8px;
  background:
    radial-gradient(circle at 4px 4px, #f4a7a7 3px, transparent 3.5px),
    radial-gradient(circle at 15px 4px, #f5d98c 3px, transparent 3.5px),
    radial-gradient(circle at 26px 4px, #a8e0b7 3px, transparent 3.5px);
  pointer-events: none;
}

.ld-home-page #portfolio .ld-project-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top left;
  border: 1px solid #e6e6ee;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 22px 44px rgb(40 30 80 / 10%);
}

.ld-home-page #portfolio .ld-project-caption {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "name action" "pill action";
  align-items: center;
  column-gap: 14px;
  row-gap: 8px;
  margin-top: 18px;
  position: static;
  color: var(--pf-ink);
}

.ld-home-page #portfolio .ld-project-name {
  grid-area: name;
  color: var(--pf-ink);
  font-size: clamp(20px, 1.8vw, 24px);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.15;
}

.ld-home-page #portfolio .ld-pill {
  grid-area: pill;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border: 0;
  border-radius: 999px;
  background: #eeeaf8;
  color: #6f63a6;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
}

.ld-home-page #portfolio .ld-project-action {
  grid-area: action;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin: 0;
  padding: 0 20px;
  border: 1px solid #d6d6df;
  border-radius: 999px;
  background: #fff;
  color: var(--pf-ink);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  box-shadow: none;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

.ld-home-page #portfolio .ld-project-arrow {
  font-size: 16px;
  line-height: 1;
  transition: transform .2s ease;
}

.ld-home-page #portfolio .ld-project-card:hover .ld-project-action {
  border-color: var(--pf-ink);
  background: var(--pf-ink);
  color: #fff;
  transform: none;
}

.ld-home-page #portfolio .ld-project-card:hover .ld-project-arrow {
  transform: translateX(3px);
}

.ld-home-page #portfolio .ld-project-card:focus-visible {
  outline: 3px solid rgb(82 4 150 / 35%);
  outline-offset: 6px;
  border-radius: 16px;
}

@media (max-width: 840px) {
  .ld-home-page #portfolio .ld-project-card {
    flex-basis: 84%;
  }

  .ld-home-page #portfolio .ld-port-title {
    font-size: clamp(38px, 10vw, 48px);
  }

  .ld-home-page #portfolio .ld-carousel-button {
    width: 46px;
    height: 46px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ld-home-page #portfolio .ld-carousel-button,
  .ld-home-page #portfolio .ld-project-action,
  .ld-home-page #portfolio .ld-project-arrow {
    transition: none;
  }
}

/* Portfolio on phones: the arrows sit under the title, not over the cards, and each caption stacks
   so the tag stays on one line. */
@media (max-width: 840px) {
  .ld-home-page #portfolio .ld-portfolio-heading {
    flex-wrap: wrap;
    align-items: flex-end;
  }

  .ld-home-page #portfolio .ld-carousel-controls {
    position: static;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    transform: none;
  }
}

@media (max-width: 560px) {
  .ld-home-page #portfolio .ld-project-caption {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "name" "pill" "action";
  }

  .ld-home-page #portfolio .ld-project-action {
    justify-self: start;
  }
}

/* Portfolio on phones: the round arrows sit at the left and right edges of the track, centred on the project
   frames, as they did before. The heading becomes part of the section's grid so the arrows can share the
   track's row. The arrows' vertical position is a share of the section width that matches the 16:10 frame, so
   they stay centred on the frames at any width. */
@media (max-width: 840px) {
  .ld-home-page #portfolio {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .ld-home-page #portfolio .ld-portfolio-heading {
    display: contents;
  }

  .ld-home-page #portfolio .ld-portfolio-heading-copy {
    grid-row: 1;
    grid-column: 1;
    margin-bottom: clamp(28px, 5vh, 40px);
  }

  .ld-home-page #portfolio .ld-portfolio-track {
    grid-row: 2;
    grid-column: 1;
  }

  .ld-home-page #portfolio .ld-carousel-controls {
    grid-row: 2;
    grid-column: 1;
    align-self: start;
    justify-self: stretch;
    display: flex;
    justify-content: space-between;
    margin: calc(0.2625 * (100% - 4px) - 19px) 0 0;
    pointer-events: none;
    z-index: 3;
  }

  .ld-home-page #portfolio .ld-carousel-button {
    width: 46px;
    height: 46px;
    min-width: 46px;
    min-height: 46px;
    pointer-events: auto;
    box-shadow: 0 12px 26px rgb(20 10 40 / 14%);
  }
}

/* Phones: keep the FAQ icons and the footer clear of the floating WhatsApp button */
@media (max-width: 560px) {
  .ld-home-page #faq .ld-faq-question {
    padding-right: 64px;
  }

  .ld-home-page .ld-footer {
    margin-bottom: 72px;
  }
}
