.expandable-cards-section,
.expandable-cards-section * {
  box-sizing: border-box;
}

.expandable-cards-section {
  width: 100%;
  background: #ffffff;
  padding: 80px 24px;
}

.expandable-cards-grid {
  width: min(100%, 1400px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.expandable-card {
  cursor: pointer;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  border: 0;
  text-align: left;
  padding: 0;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.expandable-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.14);
}

.expandable-card-image {
  width: 100%;
  height: 240px;
  display: block;
  object-fit: cover;
}

.expandable-card-preview-content {
  padding: 24px;
}

.expandable-card-preview-content h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 800;
  color: #111111;
}

.expandable-card-preview-content p {
  margin: 12px 0 0;
  font-size: 16px;
  line-height: 1.55;
  color: #666666;
}

.expandable-card-overlay {
  position: fixed;
  inset: 0;
  z-index: 2147483646 !important;
  background: rgba(0, 0, 0, 0.92);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.expandable-card-overlay.is-active {
  opacity: 1;
  pointer-events: auto;
}

.expandable-card-modal {
  position: fixed;
  inset: 0;
  z-index: 2147483647 !important;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.98);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.expandable-card-modal.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.expandable-card-modal-card {
  width: min(100%, 620px);
  max-height: calc(100vh - 48px);
  border-radius: 32px;
  background: #ffffff;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.35);
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  position: relative;
  z-index: 2147483647 !important;
}

.expandable-card-modal-card::-webkit-scrollbar {
  display: none;
}

.expandable-card-modal-image {
  width: 100%;
  height: 310px;
  display: block;
  object-fit: cover;
}

.expandable-card-modal-content {
  padding: 34px;
}

.expandable-card-modal-content h3 {
  margin: 0;
}

.expandable-card-modal-heading {
  display: flex;
  align-items: center;
  gap: 22px;
}

.expandable-card-main-icon {
  width: 72px;
  height: 72px;
  min-width: 72px;
  border-radius: 999px;
  border: 2px solid #fc4c10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.expandable-card-main-icon .expandable-card-svg {
  width: 34px;
  height: 34px;
}

.expandable-card-modal-heading span {
  display: flex;
  flex-direction: column;
}

.expandable-card-modal-heading em,
.expandable-card-modal-heading strong {
  font-style: normal;
  font-size: 34px;
  line-height: 0.95;
  font-weight: 900;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.expandable-card-modal-heading em {
  color: #111111;
}

.expandable-card-modal-heading strong {
  color: #fc4c10;
}

#expandableCardModalDescription {
  margin: 26px 0 0;
  font-size: 18px;
  line-height: 1.55;
  color: #5f5f5f;
}

.expandable-card-modal-body {
  margin-top: 28px;
}

.expandable-card-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.expandable-card-feature {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px;
  border-radius: 20px;
  background: #f7f7f7;
  border: 1px solid rgba(0, 0, 0, 0.045);
}

.expandable-card-feature-icon {
  width: 54px;
  height: 54px;
  min-width: 54px;
  border-radius: 14px;
  background: rgba(252, 76, 16, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.expandable-card-svg {
  width: 26px;
  height: 26px;
  display: block;
  filter: invert(42%) sepia(91%) saturate(3160%) hue-rotate(356deg)
    brightness(99%) contrast(101%);
}

.expandable-card-feature-text h4 {
  margin: 0;
  font-size: 17px;
  line-height: 1.25;
  font-weight: 800;
  color: #171717;
}

.expandable-card-feature-text p {
  margin: 5px 0 0;
  font-size: 15px;
  line-height: 1.45;
  color: #666666;
}

.expandable-card-button {
  min-height: 56px;
  margin-top: 24px;
  padding: 0 22px;
  border-radius: 16px;
  background: #fc4c10;
  color: #ffffff;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-size: 15px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 14px 32px rgba(252, 76, 16, 0.3);
  transition: transform 0.25s ease, box-shadow 0.25s ease,
    background 0.25s ease;
}

.expandable-card-button:hover {
  transform: translateY(-2px);
  background: #e7440e;
  box-shadow: 0 18px 42px rgba(252, 76, 16, 0.38);
}

.expandable-card-button .expandable-card-svg {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
}

.expandable-card-button-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

body.expandable-card-lock {
  overflow: hidden;
}

@media (max-width: 991px) {
  .expandable-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .expandable-card-modal-card {
    width: min(100%, 600px);
  }
}

@media (max-width: 767px) {
  .expandable-cards-section {
    padding: 48px 16px;
  }

  .expandable-cards-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .expandable-card-image {
    height: 250px;
  }

  .expandable-card-preview-content {
    padding: 24px;
  }

  .expandable-card-preview-content h3 {
    font-size: 22px;
  }

  .expandable-card-preview-content p {
    font-size: 16px;
  }

  .expandable-card-modal {
    padding: 16px;
    align-items: center;
  }

  .expandable-card-modal-card {
    width: 100%;
    max-height: calc(100vh - 32px);
    border-radius: 28px;
  }

  .expandable-card-modal-image {
    height: 300px;
  }

  .expandable-card-modal-content {
    padding: 28px 22px 26px;
  }

  .expandable-card-modal-heading {
    gap: 16px;
  }

  .expandable-card-main-icon {
    width: 62px;
    height: 62px;
    min-width: 62px;
  }

  .expandable-card-main-icon .expandable-card-svg {
    width: 30px;
    height: 30px;
  }

  .expandable-card-modal-heading em,
  .expandable-card-modal-heading strong {
    font-size: 29px;
  }

  #expandableCardModalDescription {
    margin-top: 22px;
    font-size: 17px;
  }

  .expandable-card-feature {
    align-items: flex-start;
    padding: 16px;
  }

  .expandable-card-feature-text h4 {
    font-size: 16px;
  }

  .expandable-card-feature-text p {
    font-size: 14px;
  }

  .expandable-card-button {
    min-height: 68px;
    padding: 0 22px;
    font-size: 15px;
  }
}