/* Thassos: butoanele „Sună acum" și WhatsApp (partials/contact.blade.php). */

.tc-contact {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.5rem;
  padding: 1.25rem;
  border-radius: 1.5rem;
  background: linear-gradient(135deg, rgba(46, 178, 255, 0.10), rgba(37, 211, 102, 0.10));
  border: 1px solid rgba(11, 31, 58, 0.08);
}
.tc-contact--dark {
  background: linear-gradient(135deg, rgba(46, 178, 255, 0.18), rgba(37, 211, 102, 0.14));
  border-color: rgba(255, 255, 255, 0.12);
}
.tc-contact__text { margin: 0; font-weight: 600; color: var(--navy, #0B1C2D); }
.tc-contact--dark .tc-contact__text { color: #fff; }
.tc-contact__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.tc-btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 3.5rem;
  padding: 0.45rem 1.4rem 0.45rem 0.45rem;
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  line-height: 1.1;
  box-shadow: 0 10px 24px -10px var(--tc-glow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.tc-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -10px var(--tc-glow); color: #fff; }
.tc-btn:focus-visible { outline: 3px solid var(--tc-glow); outline-offset: 3px; }
.tc-btn--call { --tc-glow: rgba(46, 178, 255, 0.75); background: linear-gradient(120deg, #1E8CFF, #2EB2FF 55%, #5FD0FF); }
.tc-btn--wa { --tc-glow: rgba(37, 211, 102, 0.7); background: linear-gradient(120deg, #128C4A, #1FB859 55%, #25D366); }

/* Lumina care trece peste buton. */
.tc-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%);
  transform: translateX(-120%);
  animation: tc-shine 3.6s ease-in-out infinite;
}
.tc-btn--wa::after { animation-delay: 1.8s; }
@keyframes tc-shine {
  0%, 60% { transform: translateX(-120%); }
  100% { transform: translateX(120%); }
}

.tc-btn__icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  flex: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}
.tc-btn__icon svg { width: 1.25rem; height: 1.25rem; }
/* Inel care pulsează în jurul iconiței. */
.tc-btn__icon::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.7);
  animation: tc-ring 2.2s ease-out infinite;
}
.tc-btn--wa .tc-btn__icon::before { animation-delay: 1.1s; }
@keyframes tc-ring {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.6); opacity: 0; }
}
.tc-btn--call .tc-btn__icon svg { animation: tc-wiggle 2.2s ease-in-out infinite; }
@keyframes tc-wiggle {
  0%, 70%, 100% { transform: rotate(0); }
  75% { transform: rotate(-14deg); }
  85% { transform: rotate(12deg); }
  95% { transform: rotate(-6deg); }
}

.tc-btn__label { display: grid; gap: 0.1rem; font-size: 1.05rem; }
.tc-btn__label small { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.85; }

@media (max-width: 480px) {
  .tc-contact__actions { display: grid; grid-template-columns: 1fr; }
  .tc-btn { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .tc-btn::after, .tc-btn__icon::before, .tc-btn--call .tc-btn__icon svg { animation: none; }
}
