/* ==============================================================================
   IVY CENTRAL - SECTION LỢI THẾ DỰ ÁN (KEY SELLING POINTS)
   Redesigned to luxury editorial style:
   - Left Column (~43%): "IVY CENTRAL" eyebrow, "Lợi thế dự án" title, 5 items list
   - Right Column (~57%): Large tower perspective card with 16px radius & gold border
   - Background: Blurred Artboard_3 backdrop with deep navy radial glow overlay
   - Typography: Playfair Display (Titles, Numbers), Be Vietnam Pro (Descriptions)
   ============================================================================== */

/* Section Root Container */
#selling-points.ksp-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: clamp(56px, 5.5vw, 64px) 0;
  box-sizing: border-box;
  background-color: #04102E;
}

/* Blurred Tower Backdrop Layer */
.ksp-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.ksp-backdrop-img {
  position: absolute;
  inset: -40px;
  width: calc(100% + 80px);
  height: calc(100% + 80px);
  object-fit: cover;
  object-position: center 30%;
  filter: blur(32px) brightness(0.22) saturate(1.2);
  transform: scale(1.08);
  pointer-events: none;
}

.ksp-backdrop-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 70% 90% at 20% 40%,
    rgba(10, 44, 108, 0.72) 0%,
    rgba(6, 22, 60, 0.88) 45%,
    rgba(4, 16, 46, 0.96) 80%
  );
  pointer-events: none;
}

/* Main Container: Aligns with other site sections */
.ksp-container {
  position: relative;
  z-index: 1;
  max-width: 1360px;
  width: 100%;
  margin: 0 auto;
  padding: 0 clamp(20px, 3.5vw, 40px);
  box-sizing: border-box;
}

/* Layout: Desktop (Grid: 43% / 57%) vs Mobile (Single Column Stack) */
@media (min-width: 1024px) {
  .ksp-layout {
    display: grid;
    grid-template-columns: 43% 57%;
    grid-template-areas:
      "header image"
      "list   image";
    column-gap: clamp(40px, 3.6vw, 48px);
    row-gap: 20px;
    align-items: center;
  }

  .ksp-header {
    grid-area: header;
    align-self: end;
  }

  .ksp-list {
    grid-area: list;
    align-self: start;
  }

  .ksp-image-col {
    grid-area: image;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 1023px) {
  .ksp-layout {
    display: flex;
    flex-direction: column;
    gap: 28px;
  }

  .ksp-header {
    order: 1;
  }

  .ksp-image-col {
    order: 2;
    width: 100%;
  }

  .ksp-list {
    order: 3;
    width: 100%;
  }
}

/* Header: Eyebrow + Main Title */
.ksp-eyebrow {
  font-family: 'Montserrat', system-ui, -apple-system, sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #E5B85C;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin: 0 0 10px 0;
  line-height: 1.2;
}

.ksp-main-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(34px, 3.2vw, 46px);
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0;
  text-shadow: 0 2px 14px rgba(4, 16, 46, 0.8);
}

/* 5 Key Selling Points List */
.ksp-list {
  display: flex;
  flex-direction: column;
  width: 100%;
  border-top: 1px solid rgba(229, 184, 92, 0.22);
}

.ksp-item {
  display: flex;
  align-items: flex-start;
  gap: clamp(16px, 1.8vw, 24px);
  padding: clamp(14px, 1.4vw, 18px) 0;
  border-bottom: 1px solid rgba(229, 184, 92, 0.22);
  box-sizing: border-box;
}

.ksp-item-num {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(20px, 1.6vw, 24px);
  font-weight: 700;
  color: #E5B85C;
  line-height: 1.25;
  width: 32px;
  flex-shrink: 0;
  letter-spacing: 0.02em;
}

.ksp-item-body {
  flex: 1;
  min-width: 0;
}

.ksp-item-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(18px, 1.45vw, 22px);
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.25;
  margin: 0 0 5px 0;
  letter-spacing: 0.01em;
}

.ksp-item-desc {
  font-family: 'Be Vietnam Pro', system-ui, -apple-system, sans-serif;
  font-size: clamp(13.5px, 1vw, 15px);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.5;
  margin: 0;
}

/* Right Column: Featured Tower Card */
.ksp-image-card {
  position: relative;
  width: 100%;
  max-width: 430px;
  aspect-ratio: 4 / 5;
  margin: 0 auto;
  border-radius: 16px;
  border: 1px solid rgba(229, 184, 92, 0.65);
  box-shadow:
    0 16px 44px rgba(0, 0, 0, 0.55),
    0 0 28px rgba(229, 184, 92, 0.14);
  overflow: hidden;
  background-color: #04102E;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

@media (max-width: 1023px) {
  .ksp-image-card {
    max-width: 330px;
    width: 100%;
    aspect-ratio: 4 / 5;
    height: auto;
    margin: 0 auto;
  }
}

.ksp-tower-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 29% 40%;
  display: block;
}
