/**
 * Index landing — Impact Hero (vanilla CSS)
 * Prefix: ld-hero-impact
 */

.ld-hero-impact {
  --ld-hero-bg: #f6f2ec;
  --ld-hero-surface: rgba(255, 255, 255, 0.08);
  --ld-hero-border: rgba(255, 153, 102, 0.22);
  --ld-hero-text: #fff3ea;
  --ld-hero-muted: rgba(255, 220, 206, 0.82);
  --ld-hero-accent: #ff8c01;
  --ld-hero-accent-2: #d62825;
  --ld-hero-glow: rgba(255, 140, 1, 0.45);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--ld-hero-bg);
  color: var(--ld-hero-text);
  border-radius: 0;
  margin-inline: 0;
  margin-block: 0;
  min-height: min(78vh, 920px);
  display: flex;
  align-items: stretch;
}

.ld-hero-impact__mesh {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 52% 22%, rgba(244, 186, 66, 0.9) 0%, rgba(244, 186, 66, 0.8) 34%, rgba(244, 186, 66, 0.35) 52%, rgba(244, 186, 66, 0) 72%),
    radial-gradient(circle at 50% 64%, rgba(240, 114, 56, 0.64) 0%, rgba(240, 114, 56, 0.3) 36%, rgba(240, 114, 56, 0) 68%),
    radial-gradient(circle at 54% 82%, rgba(214, 40, 37, 0.34) 0%, rgba(214, 40, 37, 0.16) 42%, rgba(214, 40, 37, 0) 74%),
    linear-gradient(180deg, #f3f0eb 0%, #f7dcb4 30%, #f7bd7c 56%, #f2914f 78%, #d62825 100%);
}

.ld-hero-impact__grid {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.08;
  background-image:
    linear-gradient(rgba(255, 245, 238, 1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 245, 238, 1) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 65% at 50% 40%, black 20%, transparent 75%);
}

.ld-hero-impact__orb {
  pointer-events: none;
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
}

.ld-hero-impact__orb--a {
  width: min(420px, 55vw);
  height: min(420px, 55vw);
  top: auto;
  bottom: -24%;
  right: -10%;
  background: radial-gradient(circle, var(--ld-hero-glow), transparent 68%);
  opacity: 0.76;
}

.ld-hero-impact__orb--b {
  width: min(320px, 42vw);
  height: min(320px, 42vw);
  bottom: -20%;
  left: -10%;
  background: radial-gradient(circle, rgba(214, 40, 37, 0.32), transparent 72%);
  opacity: 0.72;
}

.ld-hero-impact__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  width: 100%;
  max-width: 1320px;
  margin-inline: auto;
  padding: clamp(2rem, 5vw, 4rem) clamp(1.25rem, 4vw, 3rem);
}

.ld-hero-impact__content {
  position: relative;
  max-width: 44rem;
  padding: clamp(1.25rem, 2.4vw, 2rem);
  border-radius: clamp(1rem, 2vw, 1.5rem);
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.78) 0%, rgba(255, 239, 220, 0.58) 52%, rgba(255, 208, 173, 0.44) 100%);
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow:
    0 26px 62px -34px rgba(114, 36, 12, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.24) inset;
  backdrop-filter: blur(6px);
}

@supports not (backdrop-filter: blur(6px)) {
  .ld-hero-impact__content {
    background: linear-gradient(140deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 237, 214, 0.8) 100%);
  }
}

@media (min-width: 1024px) {
  .ld-hero-impact__inner {
    grid-template-columns: 1.05fr 0.95fr;
    min-height: min(72vh, 860px);
  }
}

@media (max-width: 767px) {
  .ld-hero-impact__content {
    padding: 1.1rem 1rem 1.25rem;
    border-radius: 1rem;
  }
}

.ld-hero-impact__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: clamp(0.75rem, 1.5vw, 0.8125rem);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ld-hero-accent);
  margin: 0 0 1rem;
}

.ld-hero-impact__eyebrow::before {
  content: "";
  width: 2rem;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--ld-hero-accent), transparent);
}

.ld-hero-impact__title {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4.2vw, 3.15rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.ld-hero-impact__title--pulse {
  position: relative;
  z-index: 0;
  display: inline-block;
  text-shadow:
    0 6px 16px rgba(255, 140, 1, 0.38),
    0 14px 30px rgba(255, 120, 0, 0.28),
    0 0 18px rgba(255, 140, 1, 0.24);
  animation: ldHeroTitlePulse 1.8s ease-in-out infinite;
}

/* .ld-hero-impact__title--pulse::before {
  content: "";
  position: absolute;
  left: -2%;
  right: -2%;
  bottom: -6%;
  height: 54%;
  border-radius: 999px;
  background: radial-gradient(ellipse at center, rgba(255, 140, 1, 0.34) 0%, rgba(255, 120, 0, 0.14) 52%, rgba(255, 120, 0, 0) 100%);
  filter: blur(8px);
  z-index: -1;
  pointer-events: none;
  animation: ldHeroTitleBackPulse 1.8s ease-in-out infinite;
} */

.ld-hero-impact__title-gradient {
  background: linear-gradient(105deg, #ffb347 8%, #ff8c01 42%, #ff5f2e 68%, #d62825 96%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  /* -webkit-text-stroke: 1px rgba(255, 255, 255, 0.5);
  paint-order: stroke fill; */
}

.ld-hero-impact__lead {
  margin: 0 0 1.75rem;
  max-width: 36rem;
  font-size: clamp(1rem, 2vw, 1.25rem);
  /* font-weight: 700; */
  line-height: 1.65;
  /* color: var(--ld-hero-muted); */
  color: #1f130f;
}

.ld-hero-impact__features {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.ld-hero-impact__feature {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: clamp(0.9375rem, 1.6vw, 1.1rem);
  line-height: 1.5;
  color: rgba(47, 22, 17, 0.92);
}

.ld-hero-impact__feature-icon {
  flex-shrink: 0;
  width: 0.7rem;
  height: 0.7rem;
  margin-top: 0.45rem;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ffd17f 0%, #ff8c01 56%, #d85a00 100%);
  border: 1px solid rgba(255, 255, 255, 0.75);
  position: relative;
  box-shadow:
    0 0 0 3px rgba(255, 140, 1, 0.16),
    0 0 14px rgba(255, 140, 1, 0.55);
  animation: ldHeroBulletBlink 1.7s ease-in-out infinite;
}

.ld-hero-impact__feature-icon::after {
  content: none;
}

.ld-hero-impact__feature:nth-child(2) .ld-hero-impact__feature-icon {
  animation-delay: 0.18s;
}

.ld-hero-impact__feature:nth-child(3) .ld-hero-impact__feature-icon {
  animation-delay: 0.36s;
}

.ld-hero-impact__feature:nth-child(4) .ld-hero-impact__feature-icon {
  animation-delay: 0.54s;
}

.ld-hero-impact__feature:nth-child(5) .ld-hero-impact__feature-icon {
  animation-delay: 0.72s;
}

.ld-hero-impact__feature:nth-child(6) .ld-hero-impact__feature-icon {
  animation-delay: 0.9s;
}

@keyframes ldHeroBulletBlink {
  0%, 100% {
    opacity: 0.48;
    transform: scale(0.88);
    box-shadow:
      0 0 0 3px rgba(255, 140, 1, 0.12),
      0 0 8px rgba(255, 140, 1, 0.3);
  }
  45% {
    opacity: 1;
    transform: scale(1);
    box-shadow:
      0 0 0 4px rgba(255, 140, 1, 0.22),
      0 0 18px rgba(255, 140, 1, 0.66);
  }
}

.ld-hero-impact__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.ld-hero-impact__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 1.75rem;
  font-size: clamp(1rem, 1.8vw, 1.0625rem);
  font-weight: 700;
  text-decoration: none;
  color: #0a0a0a;
  background: linear-gradient(135deg, #ffb24a 0%, var(--ld-hero-accent) 45%, var(--ld-hero-accent-2) 100%);
  border-radius: 999px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12) inset,
    0 12px 40px -8px rgba(255, 120, 0, 0.55);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    filter 0.22s ease;
}

.ld-hero-impact__btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.18) inset,
    0 18px 48px -6px rgba(255, 100, 0, 0.65);
}

.ld-hero-impact__btn.btn--hero-pulse {
  padding: 1rem 1.5rem;
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  letter-spacing: 0.03em;
  color: #ffffff;
  box-shadow:
    0 12px 26px rgba(255, 140, 1, 0.4),
    0 0 0 0 rgba(255, 140, 1, 0.36);
  animation: scrollToPulse 1.8s ease-in-out infinite;
}

.ld-hero-impact__btn.btn--hero-pulse::after {
  content: "";
  display: inline-block;
  width: 2.1rem;
  height: 2.1rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 611.92 699.33'%3E%3Cpath fill='%23ffffff' d='M529.96,416.75v-21.3c0-62.54-38.66-98.8-91.14-99.94-17.02-11.93-38.76-17.92-59.85-16.25,23.19-25.99,37.31-60.24,37.31-97.73,0-81.03-65.92-146.95-146.95-146.95S122.38,100.51,122.38,181.54c0,50.79,25.9,95.63,65.18,122.03v18.56c-7.38-1.45-14.88-2.18-22.4-2.18-47.91,0-83.2,35.07-83.2,92,0,45.31,48.54,57,78.78,75.71,12.41,7.73,23.32,16.99,33.25,25.85l.15.13.15.13c17.48,15.32,23.67,23.22,23.67,30.18v2.68c-4.95,5.75-8,13.54-8,22.12v64c0,17.67,12.89,32,28.8,32h230.4c15.91,0,28.8-14.33,28.8-32v-64c0-8.58-3.05-16.37-8-22.12v-2.68c0-28.69,40-67.14,40-127.2ZM269.33,84.58h0c53.46,0,96.95,43.49,96.95,96.95,0,17.35-4.59,33.64-12.61,47.74-3.46-42.4-39.54-76.53-82.9-76.53s-81.89,36.82-83.14,80.91c-9.64-15.06-15.25-32.95-15.25-52.12,0-53.46,43.49-96.95,96.95-96.95ZM433.96,624.75c-13.26,0-24-10.74-24-24s10.74-24,24-24,24,10.74,24,24-10.74,24-24,24ZM481.96,416.76c0,45.49-35.91,77.21-39.68,120h-176.75c-2.96-25.24-21.22-42.97-39.6-59.08-12.65-11.27-25.3-21.73-39.88-30.8-23.39-14.48-56.1-26.13-56.1-34.93,0-23.38,8.8-44,35.2-44,35.2,0,53.07,26.4,70.4,26.4v-158.4c0-18.43,16.5-35.2,35.2-35.2s35.2,16.23,35.2,35.2h.01v91.03c2.68-2.34,5.81-4.31,9.24-5.84.4-.18.81-.35,1.21-.51.14-.06.27-.11.41-.17.39-.16.79-.3,1.19-.45.14-.05.29-.1.44-.16.41-.14.83-.28,1.25-.42.11-.04.23-.07.34-.1.46-.14.92-.28,1.38-.4,0,0,0,0,0,0,14.59-3.95,32.6-.78,45.58,13,19.65-11.23,45.62-1.69,53.62,12.93,39.13-6.52,61.33,10.08,61.33,50.6v21.3Z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transform-origin: 50% 65%;
  animation: heroClickPulse 0.95s ease-in-out infinite;
}

.ld-hero-impact__btn.btn--hero-pulse:hover {
  box-shadow:
    0 15px 30px rgba(255, 140, 1, 0.46),
    0 0 0 10px rgba(255, 140, 1, 0.06);
}

.ld-hero-impact__btn:focus-visible {
  outline: 2px solid var(--ld-hero-accent);
  outline-offset: 3px;
}

.ld-hero-impact__btn-icon {
  font-size: 1.125rem;
  line-height: 1;
}

.ld-hero-impact__aside {
  position: relative;
  min-height: 280px;
}

@media (min-width: 1024px) {
  .ld-hero-impact__aside {
    min-height: 380px;
  }
}

.ld-hero-impact__glass {
  position: absolute;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 16px;
  padding: 1rem 1.25rem;
  box-shadow:
    0 24px 60px -26px rgba(26, 12, 8, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
  color: #2a1a14;
}

.ld-hero-impact__glass--a {
  top: 6%;
  right: 8%;
  max-width: 200px;
}

.ld-hero-impact__glass--b {
  bottom: 18%;
  left: 4%;
  max-width: 250px;
}

.ld-hero-impact__glass--c {
  top: 72%;
  right: -2%;
  max-width: 230px;
}

.ld-hero-impact__glass-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #b04618;
  margin-bottom: 0.35rem;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.25);
}

.ld-hero-impact__glass-icon {
  font-size: 0.95rem;
  line-height: 1;
}

.ld-hero-impact__glass-stat {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #1f130f;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.3);
}

.ld-hero-impact__glass-note {
  margin-top: 0.35rem;
  font-size: 1rem;
  color: rgba(46, 28, 21, 0.88);
  line-height: 1.45;
}

.ld-hero-impact__pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.65rem;
  text-align: center;
}

.ld-hero-impact__pill {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 126, 70, 0.24);
  background: rgba(255, 255, 255, 0.72);
  color: rgba(86, 39, 28, 0.9);
}

.ld-hero-impact__ring {
  position: absolute;
  left: 50%;
  top: 52%;
  transform: translate(-50%, -50%);
  width: min(560px, 72vw);
  height: min(560px, 72vw);
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow:
    0 0 60px rgba(255, 140, 1, 0.08),
    inset 0 0 60px rgba(255, 140, 1, 0.04);
  pointer-events: none;
}

.ld-hero-impact__ring::before {
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  border: 1px dashed rgb(255, 255, 255);
  animation: ld-hero-spin 48s linear infinite;
}

@keyframes ld-hero-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes scrollToPulse {
  0%, 100% {
    box-shadow:
      0 10px 24px rgba(255, 140, 1, 0.26),
      0 0 0 0 rgba(255, 140, 1, 0.38);
  }

  55% {
    box-shadow:
      0 12px 28px rgba(255, 140, 1, 0.3),
      0 0 0 14px rgba(255, 140, 1, 0.05);
  }
}

@keyframes ldHeroTitlePulse {
  0%, 100% {
    text-shadow:
      0 6px 16px rgba(255, 140, 1, 0.34),
      0 12px 26px rgba(255, 120, 0, 0.24),
      0 0 12px rgba(255, 140, 1, 0.18);
  }

  55% {
    text-shadow:
      0 8px 20px rgba(255, 140, 1, 0.5),
      0 16px 34px rgba(255, 120, 0, 0.38),
      0 0 22px rgba(255, 140, 1, 0.3);
  }
}

@keyframes ldHeroTitleBackPulse {
  0%, 100% {
    opacity: 0.78;
    transform: translateY(0);
    box-shadow:
      0 10px 24px rgba(255, 140, 1, 0.64),
      0 0 0 0 rgba(255, 140, 1, 0.82);
  }

  55% {
    opacity: 1;
    transform: translateY(-1px);
    box-shadow:
      0 12px 28px rgba(255, 140, 1, 0.56),
      0 0 0 14px rgba(255, 140, 1, 0.32);
  }
}

@keyframes heroClickPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.96;
  }

  50% {
    transform: scale(1.22);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ld-hero-impact__ring::before {
    animation: none;
  }

  .ld-hero-impact__btn {
    transition: none;
  }

  .ld-hero-impact__title--pulse,
  .ld-hero-impact__title--pulse::before {
    animation: none;
  }
}

@media (max-width: 1024px) {
  .ld-hero-impact__aside {
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    align-items: stretch;
  }

  .ld-hero-impact__ring {
    display: none;
  }

  .ld-hero-impact__glass {
    position: static;
    width: 100%;
    max-width: none;
    padding: 0.95rem 1rem;
  }

  .ld-hero-impact__glass--a,
  .ld-hero-impact__glass--b,
  .ld-hero-impact__glass--c {
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
  }
}

/**
 * Contact ribbon attached to hero
 */
.ld-hero-contact {
  position: relative;
  margin-top: -1px;
  background:
    linear-gradient(180deg, rgba(214, 40, 37, 0.94) 0%, rgba(170, 32, 31, 0.96) 55%, rgba(121, 22, 22, 0.98) 100%);
  border-top: 1px solid rgba(255, 184, 145, 0.32);
  box-shadow:
    inset 0 1px 0 rgba(255, 218, 195, 0.28),
    0 16px 38px -28px rgba(70, 10, 8, 0.7);
}

.ld-hero-contact__inner {
  max-width: 1320px;
  margin-inline: auto;
  padding: 1.1rem clamp(1.25rem, 4vw, 3rem) 1.45rem;
}

.ld-hero-contact__intro {
  margin: 0 0 0.95rem;
  font-size: clamp(0.88rem, 1.5vw, 0.96rem);
  line-height: 1.5;
  color: rgba(255, 233, 220, 0.92);
}

.ld-hero-contact__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.72rem;
}

.ld-hero-contact__item {
  display: flex;
  align-items: center;
  gap: 0.72rem;
  min-height: 60px;
  padding: 0.8rem 0.9rem;
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(255, 215, 192, 0.23);
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.06));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.ld-hero-contact__item:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 239, 228, 0.45);
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.1));
}

.ld-hero-contact__item:focus-visible {
  outline: 2px solid rgba(255, 236, 214, 0.95);
  outline-offset: 2px;
}

.ld-hero-contact__icon {
  flex-shrink: 0;
  min-width: 72px;
  height: 64px;
  padding: 0 0.6rem;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #4e1b12;
  background: linear-gradient(135deg, #ffe2c7 0%, #ffb874 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.ld-hero-contact__icon svg {
  display: block;
  width: 40px;
  height: 40px;
}

.ld-hero-contact__icon--line {
  background: linear-gradient(135deg, #e9fff2 0%, #b8ffd2 100%);
  color: #06c755;
}

.ld-hero-contact__icon--messenger {
  background: linear-gradient(135deg, #e8f2ff 0%, #bcd8ff 100%);
  color: #0084ff;
}

.ld-hero-contact__icon--phone {
  background: linear-gradient(135deg, #fff0e3 0%, #ffd3ac 100%);
  color: #e56f00;
}

.ld-hero-contact__icon--email {
  background: linear-gradient(135deg, #fff3e8 0%, #ffc99f 100%);
  color: #cf4a22;
}

.ld-hero-contact__meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.ld-hero-contact__label {
  font-size: 1.11rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 226, 208, 0.8);
}

.ld-hero-contact__value {
  margin-top: 0.2rem;
  font-size: clamp(1.26rem, 1.875vw, 1.25rem);
  font-weight: 700;
  color: #fff8f1;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 1024px) {
  .ld-hero-contact__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .ld-hero-contact__inner {
    padding-top: 1rem;
    padding-bottom: 1.1rem;
  }

  .ld-hero-contact__intro {
    font-size: 0.82rem;
    margin-bottom: 0.75rem;
  }

  .ld-hero-contact__grid {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }
}

/**
 * Website development cards (vanilla CSS)
 * Prefix: ld-webcards
 */
.ld-webcards {
  padding-top: clamp(2.5rem, 5vw, 4.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 4.5rem);
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 50% -20%, rgba(32, 94, 255, 0.12), transparent 42%);
}

.ld-webcards::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 8% 30%, rgba(255, 108, 53, 0.16), transparent 30%),
    radial-gradient(circle at 92% 74%, rgba(255, 87, 34, 0.14), transparent 34%);
}

.ld-webcards__heading {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 2rem;
}

.ld-webcards__eyebrow {
  display: inline-block;
  margin-bottom: 0.6rem;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ff5a2f;
}

.ld-webcards__title {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1.25;
  color: #101828;
  font-weight: 800;
}

.ld-webcards__desc {
  margin: 0.8rem auto 0;
  font-size: 1rem;
  line-height: 1.7;
  color: #666;
}

.ld-webcards__all-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.1rem;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(90deg, #ff4f45 0%, #ff6a2d 100%);
  box-shadow: 0 10px 24px -14px rgba(255, 90, 60, 0.9);
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

.ld-webcards__all-link:hover {
  transform: translateY(-2px);
  filter: brightness(1.03);
  box-shadow: 0 14px 30px -14px rgba(255, 90, 60, 0.95);
}

.ld-webcards__all-link:focus-visible {
  outline: 2px solid #ff6a2d;
  outline-offset: 3px;
}

.ld-webcards__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  position: relative;
  z-index: 1;
}

.ld-webcards__card {
  display: flex;
  flex-direction: column;
  min-height: 520px;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  /* background: #0a1020; */
  box-shadow:
    0 24px 55px -28px rgba(6, 8, 16, 0.8),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  transition: transform 0.32s ease, box-shadow 0.32s ease, border-color 0.32s ease;
  position: relative;
  isolation: isolate;
}

.ld-webcards__card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
  background:
    /* radial-gradient(circle at 75% 12%, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0) 44%), */
    linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.5) 45%, rgba(0, 0, 0, 1) 100%);
  filter: blur(10px);
  -webkit-filter: blur(10px);
  transition: background 0.32s ease;
}

.ld-webcards__card:hover {
  transform: translateY(-10px);
  box-shadow:
    0 32px 70px -30px rgba(6, 8, 16, 0.95),
    inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.ld-webcards__card:hover::after {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.9) 45%, rgba(0, 0, 0, 1) 100%);
}

/* .ld-webcards__card:nth-child(1),
.ld-webcards__card:nth-child(2),
.ld-webcards__card:nth-child(3),
.ld-webcards__card:nth-child(4) {
  background: linear-gradient(180deg, #8d2218 0%, #2b0d0a 100%);
} */

.ld-webcards__card::before {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  pointer-events: none;
  z-index: 2;
}

.ld-webcards__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  /* background: rgba(11, 18, 36, 0.5); */
  z-index: 0;
}

.ld-webcards__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  mix-blend-mode: screen;
  filter: saturate(1.18) contrast(1.05);
  transition: transform 0.8s ease, opacity 0.35s ease;
  object-position: top right;
}

.ld-webcards__card:hover .ld-webcards__image {
  transform: scale(1.09);
  opacity: 0.9;
}

.ld-webcards__content {
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: flex-end;
  padding: 1.2rem 1.15rem 1.25rem;
  position: relative;
  z-index: 3;
}

.ld-webcards__card-title {
  margin: 0;
  color: #fff;
  font-size: 2.5rem;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.ld-webcards__card-desc {
  margin: 0.7rem 0 1.05rem;
  color: rgba(236, 241, 255, 0.88);
  font-size: 1.1rem;
  line-height: 1.55;
  /* min-height: 72px; */
}

.ld-webcards__hover-details {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(6px);
  transition: max-height 0.35s ease, opacity 0.25s ease, transform 0.25s ease, margin 0.25s ease;
  margin: 0;
}

.ld-webcards__card:hover .ld-webcards__hover-details {
  max-height: 250px;
  opacity: 1;
  transform: translateY(0);
  margin: 0 0 0.9rem;
}

.ld-webcards__card-price {
  color: #ff8c01 !important;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.ld-webcards__card-features {
  margin: 0;
  padding-left: 0;
  list-style: none;
  color: #fff;
  font-size: 1rem;
  line-height: 1.5;
}

.ld-webcards__card-features li {
  position: relative;
  padding-left: 1.2rem;
}

.ld-webcards__card-features li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0.02rem;
  color: #ff6a2d;
  font-weight: 700;
}

.ld-webcards__card-features li + li {
  margin-top: 0.25rem;
}

.ld-webcards__link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  justify-content: center;
  width: 100%;
  color: #ffffff;
  background: linear-gradient(90deg, #ff4f45 0%, #ff6a2d 100%);
  border-radius: 14px;
  padding: 0.7rem 1rem;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 700;
  box-shadow: 0 10px 22px -14px rgba(255, 90, 60, 0.95);
  transition: transform 0.22s ease, gap 0.22s ease, box-shadow 0.22s ease;
}

.ld-webcards__card:nth-child(2) .ld-webcards__link {
  background: linear-gradient(90deg, #ff4f45 0%, #ff6a2d 100%);
  box-shadow: 0 10px 22px -14px rgba(255, 90, 60, 0.95);
}

.ld-webcards__card:nth-child(3) .ld-webcards__link {
  background: linear-gradient(90deg, #ff4f45 0%, #ff6a2d 100%);
  box-shadow: 0 10px 22px -14px rgba(255, 90, 60, 0.95);
}

.ld-webcards__card:nth-child(4) .ld-webcards__link {
  background: linear-gradient(90deg, #ff4f45 0%, #ff6a2d 100%);
  box-shadow: 0 10px 22px -14px rgba(255, 90, 60, 0.95);
}

.ld-webcards__link:hover {
  gap: 0.6rem;
  transform: translateY(-2px);
}

.ld-webcards__link:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.92);
  outline-offset: 3px;
  border-radius: 8px;
}

.ld-webcards__link-icon {
  width: 0.95rem;
  height: 0.95rem;
}

.ld-webcards--alt {
  background: radial-gradient(circle at 18% -18%, rgba(255, 108, 53, 0.14), transparent 42%);
}

.ld-webcards--alt::before {
  background:
    radial-gradient(circle at 10% 80%, rgba(32, 94, 255, 0.12), transparent 34%),
    radial-gradient(circle at 85% 25%, rgba(255, 87, 34, 0.14), transparent 30%);
}

.ld-webcards__grid--five {
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.ld-webcards__grid--five .ld-webcards__card {
  grid-column: span 4;
}

.ld-webcards__grid--five .ld-webcards__card--wide {
  grid-column: span 8;
}

@media (max-width: 1199.98px) {
  .ld-webcards__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }

  .ld-webcards__grid--five .ld-webcards__card,
  .ld-webcards__grid--five .ld-webcards__card--wide {
    grid-column: auto;
  }

  .ld-webcards__card {
    min-height: 500px;
  }

  .ld-webcards__card-title {
    font-size: 1.8rem;
  }
}

@media (max-width: 640px) {
  .ld-webcards__grid {
    grid-template-columns: 1fr;
  }

  .ld-webcards__card {
    min-height: 460px;
  }

  .ld-webcards__heading {
    margin-bottom: 1.5rem;
  }

  .ld-webcards__card-title {
    font-size: 1.65rem;
  }

  .ld-webcards__card-desc {
    min-height: 0;
  }

  .ld-webcards__hover-details {
    max-height: 0;
    opacity: 0;
    transform: translateY(6px);
    margin: 0;
  }
}
