/* ======================================================
   ENOVA CASE STUDIES – ITALIAN LUXURY EDITION
   Tone: Calm, Editorial, High-end, Confident
====================================================== */


/* -----------------------------
   ROOT TUNING
----------------------------- */
:root {
  --ink: #0c0c0c;
  --soft-ink: rgba(0,0,0,0.62);
  --muted: rgba(0,0,0,0.45);
  --ivory: #faf9f7;
  --gold: #c9a85c;
}


/* -----------------------------
   HERO
----------------------------- */
.cs-hero {
  background: linear-gradient(180deg, #0a0a0a 0%, #000 100%);
  padding: 160px 20px 130px;
  text-align: center;
  color: #fff;
}

.cs-hero .lp-badge {
  display: inline-block;
  margin-bottom: 18px;
  font-size: 0.65rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

.cs-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3.1rem;
  font-weight: 500;
  margin-bottom: 18px;
}

.cs-hero p {
  max-width: 560px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.75);
}


/* -----------------------------
   SECTIONS
----------------------------- */
.cs-section {
  padding: 120px 20px;
}

.cs-section.light {
  background: var(--ivory);
}

.cs-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 500;
  margin-bottom: 20px;
  color: var(--ink);
}

.cs-section p {
  max-width: 640px;
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--soft-ink);
}


/* -----------------------------
   GRID
----------------------------- */
.cs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 52px;
}


/* -----------------------------
   CARD – BASE
----------------------------- */
.cs-index-card {
  background: #fff;
  border-radius: 20px;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.08);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  position: relative;
}

.cs-index-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 44px 110px rgba(0,0,0,0.16);
}


/* -----------------------------
   IMAGE
----------------------------- */
.cs-index-image {
  height: 210px;
  overflow: hidden;
}

.cs-index-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(5%);
  transition: transform 0.6s ease;
}

.cs-index-card:hover img {
  transform: scale(1.04);
}


/* -----------------------------
   CONTENT
----------------------------- */
.cs-index-content {
  padding: 36px 34px 42px;
}

.cs-tag {
  display: inline-block;
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}

.cs-index-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.45rem;
  font-weight: 500;
  margin-bottom: 16px;
  color: var(--ink);
}

.cs-index-content p {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--soft-ink);
  margin-bottom: 28px;
}


/* -----------------------------
   METRICS (SUBTLE LUXURY)
----------------------------- */
.cs-index-metrics {
  display: flex;
  gap: 24px;
}

.cs-index-metrics span {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  position: relative;
}

.cs-index-metrics span::before {
  content: "•";
  margin-right: 8px;
  color: var(--gold);
}


/* -----------------------------
   GOLD UNDERLINE ACCENT
----------------------------- */
.cs-index-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 20%;
  width: 60%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.cs-index-card:hover::after {
  opacity: 0.65;
}


/* -----------------------------
   PLACEHOLDER CARDS
----------------------------- */
.cs-index-card.placeholder {
  background: transparent;
  border: 1px dashed rgba(0,0,0,0.12);
  box-shadow: none;
}

.cs-index-card.placeholder:hover {
  transform: none;
  box-shadow: none;
}

.cs-index-card.placeholder h3 {
  color: rgba(0,0,0,0.45);
}

.cs-index-card.placeholder p {
  color: rgba(0,0,0,0.4);
}


/* -----------------------------
   CTA
----------------------------- */
.lp-cta {
  padding: 150px 20px;
  background: linear-gradient(180deg, #0c0c0c, #000);
  text-align: center;
  color: #fff;
}

.lp-cta h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 500;
  margin-bottom: 20px;
}

.lp-cta p {
  max-width: 520px;
  margin: 0 auto 36px;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.75);
}

.lp-cta .lp-btn {
  padding: 14px 40px;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}


/* -----------------------------
   RESPONSIVE
----------------------------- */
@media (max-width: 768px) {

  .cs-hero {
    padding: 120px 20px 100px;
  }

  .cs-hero h1 {
    font-size: 2.4rem;
  }

  .cs-section {
    padding: 90px 20px;
  }

  .lp-cta {
    padding: 120px 20px;
  }

  .lp-cta h2 {
    font-size: 2rem;
  }
}
