/* ═══════════════════════════════════════
   PS VALUE CARDS — Ghost keyword per card
   Grid variants: 2, 3, 4, 5, 6
   ═══════════════════════════════════════ */

.vc {
  background: #F7F6F3;
  position: relative;
  overflow: hidden;
  width: 100%;
}

/* Section ghost text */
.vc__ghost {
  position: absolute;
  top: 25%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Montserrat', 'Gotham', Arial, sans-serif;
  font-weight: 900;
  font-size: clamp(200px, 24vw, 380px);
  color: rgba(51, 49, 50, 0.025);
  text-transform: uppercase;
  letter-spacing: -0.04em;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  line-height: 1;
  will-change: transform;
}

/* Header */
.vc__header {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  margin: 0 auto !important;
  padding: 100px 48px 56px !important;
}

.vc__heading {
  font-family: 'Montserrat', 'Gotham', Arial, sans-serif;
  font-weight: 900;
  font-size: clamp(32px, 4.5vw, 52px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin: 0 !important;
  padding: 0 !important;
}

.vc__top { color: #333132; display: block; }
.vc__ctx { color: #EAAA00; display: block; }

.vc__sub {
  font-family: 'Montserrat', 'Gotham', Arial, sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: rgba(51, 49, 50, 0.55);
  line-height: 1.65;
  max-width: 480px;
  margin: 10px 0 0 !important;
  padding: 0 !important;
}


/* ═══════════════════════════════════════
   GRID — count-based columns
   ═══════════════════════════════════════ */

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

.vc__grid--2 { grid-template-columns: repeat(2, 1fr); }
.vc__grid--3 { grid-template-columns: repeat(3, 1fr); }
.vc__grid--4 { grid-template-columns: repeat(4, 1fr); }
.vc__grid--6 { grid-template-columns: repeat(3, 1fr); }

@supports (grid-template-columns: repeat(6, 1fr)) {
  .vc__grid--5 { grid-template-columns: repeat(6, 1fr); }
  .vc__grid--5 .vc__card:nth-child(-n+3) { grid-column: span 2; }
  .vc__grid--5 .vc__card:nth-child(4) { grid-column: 2 / span 2; }
  .vc__grid--5 .vc__card:nth-child(5) { grid-column: 4 / span 2; }
}


/* ═══════════════════════════════════════
   CARDS
   ═══════════════════════════════════════ */

.vc__card {
  padding: 52px 40px 56px !important;
  background: #FFFFFF;
  border-right: 1px solid rgba(51, 49, 50, 0.05);
  position: relative;
  overflow: hidden !important;
  transition: background 0.35s ease;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.vc__card:last-child { border-right: none; }

/* Border cleanup per column count */
.vc__grid--2 .vc__card:nth-child(2n) { border-right: none; }
.vc__grid--3 .vc__card:nth-child(3n),
.vc__grid--5 .vc__card:nth-child(3n),
.vc__grid--6 .vc__card:nth-child(3n) { border-right: none; }
.vc__grid--5 .vc__card:nth-child(-n+3),
.vc__grid--6 .vc__card:nth-child(-n+3) {
  border-bottom: 1px solid rgba(51, 49, 50, 0.05);
}

/* Hover — flip dark */
.vc__card:hover { background: #333132; }
.vc__card:hover .vc__card-ghost { color: rgba(234, 170, 0, 0.12); }
.vc__card:hover .vc__card-title { color: #EAAA00; }
.vc__card:hover .vc__card-desc { color: rgba(255, 255, 255, 0.55); }
.vc__card:hover .vc__card-link { color: #EAAA00; }

/* Ghost keyword */
.vc__card-ghost {
  font-family: 'Montserrat', 'Gotham', Arial, sans-serif;
  font-weight: 900;
  font-size: clamp(40px, 3.8vw, 54px);
  color: rgba(51, 49, 50, 0.08);
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  max-width: 100%;
  transition: color 0.35s ease;
  margin: 0 !important;
  padding: 0 !important;
}

/* Title */
.vc__card-title {
  font-family: 'Montserrat', 'Gotham', Arial, sans-serif;
  font-weight: 800;
  font-size: 15px;
  color: #333132;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 24px 0 0 !important;
  padding: 0 !important;
  line-height: 1.3;
  transition: color 0.35s ease;
}

/* Gold rule */
.vc__card-rule {
  width: 28px;
  height: 2px;
  background: #EAAA00;
  margin: 18px 0 0 !important;
  padding: 0 !important;
}

/* Description */
.vc__card-desc {
  font-family: 'Montserrat', 'Gotham', Arial, sans-serif;
  font-weight: 400;
  font-size: 13px;
  color: rgba(51, 49, 50, 0.5);
  line-height: 1.8;
  margin: 16px 0 0 !important;
  padding: 0 !important;
  transition: color 0.35s ease;
}

/* Card link */
.vc__card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Montserrat', 'Gotham', Arial, sans-serif;
  font-weight: 800;
  font-size: 11px;
  color: #EAAA00;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  margin-top: auto !important;
  padding-top: 24px !important;
  transition: color 0.3s ease;
}
.vc__card-link:hover { color: #CC8A00; }
.vc__card-link svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  transition: transform 0.3s ease;
}
.vc__card-link:hover svg { transform: translateX(4px); }


/* ═══════════════════════════════════════
   RESPONSIVE — 5 breakpoints
   ═══════════════════════════════════════ */

/* Tablet */
@media (max-width: 1024px) {
  .vc__grid,
  .vc__grid--4,
  .vc__grid--5,
  .vc__grid--6 { grid-template-columns: repeat(3, 1fr); }
  .vc__grid--5 .vc__card { grid-column: auto !important; }
  .vc__card { padding: 40px 28px 44px !important; }
}

/* Tablet portrait */
@media (max-width: 768px) {
  .vc__grid,
  .vc__grid--2,
  .vc__grid--3,
  .vc__grid--4,
  .vc__grid--5,
  .vc__grid--6 { grid-template-columns: 1fr; }
  .vc__grid--5 .vc__card { grid-column: auto !important; }
  .vc__header { padding: 64px 24px 36px !important; }
  .vc__card {
    padding: 32px 24px 36px !important;
    border-right: none !important;
    border-bottom: 1px solid rgba(51, 49, 50, 0.05);
  }
  .vc__card:last-child { border-bottom: none; }

  /* Mobile: no hover, alternating instead */
  .vc__card:hover { background: #FFFFFF; }
  .vc__card:hover .vc__card-ghost { color: rgba(51, 49, 50, 0.08); }
  .vc__card:hover .vc__card-title { color: #333132; }
  .vc__card:hover .vc__card-desc { color: rgba(51, 49, 50, 0.5); }

  .vc__card:nth-child(even) {
    background: #333132;
    border-bottom-color: rgba(255, 255, 255, 0.05);
  }
  .vc__card:nth-child(even) .vc__card-ghost { color: rgba(234, 170, 0, 0.08); }
  .vc__card:nth-child(even) .vc__card-title { color: #EAAA00; }
  .vc__card:nth-child(even) .vc__card-desc { color: rgba(255, 255, 255, 0.55); }
  .vc__card:nth-child(even) .vc__card-rule { background: #EAAA00; }
  .vc__card:nth-child(even) .vc__card-link { color: #EAAA00; }

  .vc__card:nth-child(even):hover { background: #333132; }
  .vc__card:nth-child(even):hover .vc__card-ghost { color: rgba(234, 170, 0, 0.08); }
  .vc__card:nth-child(even):hover .vc__card-title { color: #EAAA00; }
  .vc__card:nth-child(even):hover .vc__card-desc { color: rgba(255, 255, 255, 0.55); }
}

/* Pro Max / Samsung */
@media (max-width: 430px) {
  .vc__header { padding: 48px 16px 28px !important; }
  .vc__heading { font-size: 28px; }
  .vc__card { padding: 28px 16px 32px !important; }
  .vc__card-ghost { font-size: 42px; }
  .vc__card-title { font-size: 13px; margin-top: 14px !important; }
  .vc__card-desc { font-size: 12px; line-height: 1.7; }
}

/* Mid-range phones */
@media (max-width: 390px) {
  .vc__header { padding: 44px 14px 24px !important; }
  .vc__heading { font-size: 26px; }
  .vc__sub { font-size: 12px; }
  .vc__card { padding: 24px 14px 28px !important; }
  .vc__card-ghost { font-size: 38px; }
}

/* iPhone SE */
@media (max-width: 360px) {
  .vc__header { padding: 40px 12px 20px !important; }
  .vc__heading { font-size: 24px; }
  .vc__card { padding: 22px 12px 26px !important; }
  .vc__card-ghost { font-size: 34px; }
  .vc__card-title { font-size: 12px; }
  .vc__card-desc { font-size: 11px; }
}