/* ════════════════════════════════════════════
   CC FEATURES SECTION
   ════════════════════════════════════════════ */

.cc-features {
  position: relative;
  background: var(--cc-cream);
  border-top: 1px solid rgba(168,149,122,0.18);
  padding: 108px 0 116px;
  overflow: hidden;
}

/* Warm grain */
.cc-features::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='250' height='250'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='250' height='250' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.032;
  pointer-events: none;
}

/* ── Header ── */
.cc-features__header {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 80px;
  margin-bottom: 72px;
}

.cc-features__eyebrow {
  font-family: var(--cc-font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--cc-taupe);
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.cc-features__eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--cc-taupe);
  opacity: 0.6;
  flex-shrink: 0;
}

.cc-features__heading {
  font-family: var(--cc-font-heading);
  font-size: clamp(36px, 4vw, 58px);
  font-weight: 300;
  font-style: italic;
  line-height: 1.1;
  color: var(--cc-charcoal);
  letter-spacing: -0.01em;
  max-width: 640px;
}

/* ── Grid ── */
.cc-features__grid {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 80px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

/* ── Item ── */
.cc-features__item {
  position: relative;
  padding: 0 64px 0 0;
}

.cc-features__item:not(:first-child) {
  padding: 0 64px 0 64px;
}

/* Gradient vertical divider */
.cc-features__item:not(:first-child)::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(168,149,122,0.35) 20%,
    rgba(168,149,122,0.35) 80%,
    transparent 100%
  );
}

/* Ghost number */
.cc-features__num {
  position: absolute;
  top: -22px;
  right: 20px;
  font-family: var(--cc-font-heading);
  font-size: 120px;
  font-weight: 300;
  line-height: 1;
  color: var(--cc-sand);
  opacity: 0.28;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.04em;
}

/* Icon */
.cc-features__icon {
  width: 44px;
  height: 44px;
  margin-bottom: 32px;
  color: var(--cc-taupe);
  position: relative;
  z-index: 1;
}

.cc-features__icon svg {
  width: 44px;
  height: 44px;
}

/* Title */
.cc-features__title {
  font-family: var(--cc-font-heading);
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 400;
  color: var(--cc-charcoal);
  line-height: 1.2;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.cc-features__title-rule {
  width: 28px;
  height: 1px;
  background: var(--cc-taupe);
  opacity: 0.5;
  margin-bottom: 20px;
}

/* Body */
.cc-features__body {
  font-family: var(--cc-font-body);
  font-size: 14.5px;
  font-weight: 300;
  line-height: 1.85;
  color: rgba(44,40,40,0.68);
  max-width: 320px;
  position: relative;
  z-index: 1;
}

/* CTA Link */
.cc-features__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 24px;
  font-family: var(--cc-font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--cc-bronze);
  text-decoration: none;
  position: relative;
  z-index: 1;
  transition: gap 0.25s ease, color 0.25s ease;
}

.cc-features__link svg {
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.cc-features__link:hover {
  color: var(--cc-charcoal);
  gap: 11px;
}

.cc-features__link:hover svg {
  transform: translateX(3px);
}

/* ════════════════════════
   SCROLL ANIMÁCIÓ
   ════════════════════════ */

.cc-features__header,
.cc-features__item {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.cc-features.is-visible .cc-features__header {
  opacity: 1; transform: translateY(0); transition-delay: 0s;
}
.cc-features.is-visible .cc-features__item:nth-child(1) {
  opacity: 1; transform: translateY(0); transition-delay: 0.12s;
}
.cc-features.is-visible .cc-features__item:nth-child(2) {
  opacity: 1; transform: translateY(0); transition-delay: 0.22s;
}
.cc-features.is-visible .cc-features__item:nth-child(3) {
  opacity: 1; transform: translateY(0); transition-delay: 0.32s;
}

/* ════════════════════════
   RESPONSIVE
   ════════════════════════ */

@media (max-width: 1100px) {
  .cc-features__header,
  .cc-features__grid { padding: 0 48px; }
  .cc-features__item { padding: 0 40px 0 0; }
  .cc-features__item:not(:first-child) { padding: 0 40px 0 40px; }
  .cc-features__num { font-size: 90px; }
}

@media (max-width: 768px) {
  .cc-features { padding: 72px 0 80px; }
  .cc-features__header { padding: 0 28px; margin-bottom: 52px; }
  .cc-features__grid { grid-template-columns: 1fr; padding: 0 28px; gap: 52px; }
  .cc-features__item,
  .cc-features__item:not(:first-child) { padding: 0; }
  .cc-features__item:not(:first-child)::before { display: none; }
  .cc-features__item:not(:first-child)::after {
    content: '';
    position: absolute;
    top: -26px; left: 0; right: 0;
    height: 1px;
    background: rgba(168,149,122,0.25);
  }
  .cc-features__num { font-size: 80px; right: 0; top: -16px; }
  .cc-features__body { max-width: 100%; }
}

@media (max-width: 480px) {
  .cc-features__header,
  .cc-features__grid { padding: 0 20px; }
}
