/* COMPONENTS.CSS — componentes reutilizáveis (cards, badges, frames, stat chips)
*/

.cine-section {
  position: relative;
  padding: clamp(2rem, 5vh, 4rem) 0 clamp(5rem, 12vh, 8rem);
}

.cine-container {
  width: min(1180px, calc(100% - 2.5rem));
  margin: 0 auto;
}

.cine-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.4rem 1rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cine-green-soft);
  background: rgba(151, 243, 181, 0.08);
  border: 1px solid rgba(151, 243, 181, 0.3);
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}

.cine-badge.blue {
  color: var(--cine-blue);
  background: rgba(163, 201, 255, 0.08);
  border-color: rgba(163, 201, 255, 0.3);
}

.cine-h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.7rem, 3.6vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: #fff;
  margin: 1rem 0 0.8rem;
}

.cine-h2 .glow { color: var(--cine-green-soft); text-shadow: 0 0 34px rgba(51, 204, 74, 0.6); }
.cine-h2 .glow-blue { color: var(--cine-blue); text-shadow: 0 0 34px rgba(163, 201, 255, 0.5); }

.cine-lead {
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.62);
}

.cine-card {
  position: relative;
  background: var(--cine-glass);
  border: 1px solid var(--cine-glass-brd);
  border-radius: 18px;
  backdrop-filter: blur(10px);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.cine-card:hover {
  transform: translateY(-4px);
  border-color: rgba(151, 243, 181, 0.4);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45), 0 0 44px rgba(51, 204, 74, 0.12);
}

.cine-card.corner::before,
.cine-card.corner::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--cine-green-soft);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.cine-card.corner::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.cine-card.corner::after  { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }

.cine-card.corner:hover::before,
.cine-card.corner:hover::after { width: 32px; height: 32px; opacity: 1; }

.cine-icon-box {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(151, 243, 181, 0.1);
  border: 1px solid rgba(151, 243, 181, 0.28);
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  color: var(--cine-green-soft);
}

.cine-icon-box.blue {
  background: rgba(163, 201, 255, 0.1);
  border-color: rgba(163, 201, 255, 0.28);
  color: var(--cine-blue);
}

.cine-frame {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--cine-glass-brd);
}

.cine-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.cine-frame:hover img { transform: scale(1.05); }

.cine-frame .frame-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(3, 7, 17, 0.9) 100%);
}

.cine-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem 1.6rem;
  background: var(--cine-glass);
  border: 1px solid var(--cine-glass-brd);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.cine-stat strong {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.9rem;
  line-height: 1;
}

.cine-stat span {
  margin-top: 6px;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}
