/* ══════════════════════════════════════════════════════════════════
   .CONECTA v17.2 Fase 13 — Cápsula del Tiempo
   ══════════════════════════════════════════════════════════════════
   Estilos prefijados con .tc- para no chocar con app.css.
   ══════════════════════════════════════════════════════════════════ */

.tc-section {
  padding: 3.5rem 1.5rem 2rem;
  position: relative;
  z-index: 5;
}

.tc-container {
  max-width: 560px;
  margin: 0 auto;
}

.tc-card {
  background: linear-gradient(180deg,
    rgba(20, 10, 16, 0.92) 0%,
    rgba(40, 22, 32, 0.85) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-radius: 18px;
  padding: 2.2rem 1.6rem 1.8rem;
  text-align: center;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4),
              inset 0 1px 0 rgba(201, 168, 76, 0.08);
  position: relative;
  overflow: hidden;
}

/* Efecto decorativo de "sello" sutil arriba */
.tc-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 200%;
  height: 100%;
  background: radial-gradient(ellipse at center,
    rgba(201, 168, 76, 0.08) 0%,
    transparent 60%);
  pointer-events: none;
}

.tc-icon {
  font-size: 2.5rem;
  line-height: 1;
  margin-bottom: .5rem;
  display: inline-block;
  filter: drop-shadow(0 4px 10px rgba(201, 168, 76, 0.3));
}

.tc-title {
  font-family: 'Cinzel', serif;
  font-size: 1.4rem;
  font-weight: 500;
  color: #C9A84C;
  letter-spacing: .08em;
  margin: 0 0 .4rem;
  line-height: 1.2;
}

.tc-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-style: italic;
  color: #C0B79A;
  margin: 0 0 1.2rem;
  line-height: 1.4;
}

.tc-fecha {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  padding: .6rem 1.2rem;
  background: rgba(201, 168, 76, 0.08);
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: 12px;
  margin: 0 0 1.5rem;
  gap: .15rem;
}
.tc-fecha-label {
  font-family: 'Cinzel', serif;
  font-size: .65rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: rgba(201, 168, 76, 0.7);
}
.tc-fecha-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  color: #F5EDD8;
  font-weight: 500;
}

/* ───── Form ───── */
.tc-form {
  margin-top: 1.2rem;
  text-align: left;
}

.tc-input,
.tc-textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 10px;
  padding: .85rem 1rem;
  font-family: inherit;
  font-size: .95rem;
  color: #F5EDD8;
  margin-bottom: .7rem;
  outline: none;
  transition: border-color .2s ease;
  resize: vertical;
}

.tc-textarea {
  min-height: 100px;
  line-height: 1.5;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  font-style: italic;
}

.tc-input::placeholder,
.tc-textarea::placeholder {
  color: rgba(245, 237, 216, 0.35);
}

.tc-input:focus,
.tc-textarea:focus {
  border-color: #C9A84C;
}

.tc-counter {
  text-align: right;
  font-size: .75rem;
  color: rgba(245, 237, 216, 0.4);
  margin: -.5rem 0 .8rem;
}

.tc-aviso {
  font-size: .8rem;
  color: rgba(245, 237, 216, 0.55);
  margin: .5rem 0 1.2rem;
  text-align: center;
  font-style: italic;
  line-height: 1.4;
}

.tc-btn {
  display: block;
  width: 100%;
  background: #C9A84C;
  color: #0A0608;
  border: 1px solid #C9A84C;
  border-radius: 999px;
  padding: .95rem 1.5rem;
  font-family: 'Cinzel', serif;
  font-size: .85rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all .25s ease;
  font-weight: 500;
}
.tc-btn:hover:not(:disabled) {
  background: #B89640;
  border-color: #B89640;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(201, 168, 76, 0.3);
}
.tc-btn:disabled {
  opacity: .5;
  cursor: not-allowed;
}

.tc-error {
  color: #ff8080;
  font-size: .8rem;
  min-height: 1.2em;
  margin: .6rem 0 0;
  text-align: center;
}

/* ───── Thanks state ───── */
.tc-thanks {
  padding: 1.5rem 0;
}
.tc-thanks-title {
  font-family: 'Cinzel', serif;
  font-size: 1.2rem;
  color: #C9A84C;
  margin: .5rem 0 .6rem;
  letter-spacing: .05em;
}
.tc-thanks-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  color: #C0B79A;
  font-style: italic;
  margin: 0;
  line-height: 1.5;
}

/* ───── Closed state ───── */
.tc-closed {
  opacity: .85;
}

/* ───── Responsive ───── */
@media (max-width: 480px) {
  .tc-section {
    padding: 2.5rem 1rem 1.5rem;
  }
  .tc-card {
    padding: 1.8rem 1.2rem 1.5rem;
  }
  .tc-title {
    font-size: 1.2rem;
  }
  .tc-icon {
    font-size: 2rem;
  }
}

/* v17.3 — Efectos de botón (mismos 4 de Mundo 1) */
.tc-btn-efecto-fill { transition: all .3s ease; }
.tc-btn-efecto-fill:hover { background: var(--tc-accent, #C9A84C) !important; color: #0A0608 !important; }
.tc-btn-efecto-glow { transition: all .3s ease; }
.tc-btn-efecto-glow:hover { box-shadow: 0 0 18px rgba(201,168,76,0.6); }
.tc-btn-efecto-outline { transition: all .3s ease; }
.tc-btn-efecto-outline:hover { transform: translateY(-1px); }
.tc-btn-efecto-none { transition: none; }
.tc-btn-efecto-none:hover { opacity: .85; }
