/* ═══════════════════════════════════════════
   CONTACT PAGE STYLES
   ═══════════════════════════════════════════ */

.ct-page {
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Base override for nav */
.nav { position: fixed; top: 0; width: 100%; z-index: 100; }

.ct-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 140px 5% 80px;
}

/* ─── BACKGROUND GLOW & GRID ────────────── */
.ct-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(59,130,246,0.06) 0%, rgba(139,92,246,0.04) 40%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.ct-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.8) 0%, transparent 80%);
  z-index: 0;
  pointer-events: none;
}

/* ─── CONTENT CONTAINER ─────────────────── */
.ct-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.ct-header { text-align: center; }

.ct-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 6vw, 6rem);
  line-height: 0.95;
  letter-spacing: 0.01em;
  color: var(--white);
  margin: 1.5rem 0 1.2rem;
}

.ct-title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ct-sub {
  font-family: var(--font-ui);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--gray);
  max-width: 500px;
  margin: 0 auto;
}

/* ─── CONTACT LINKS WRAPPER =============== */
.ct-links-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* ─── PRIMARY CARDS (Email & WhatsApp) ──── */
.ct-primary-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.ct-card {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.8rem;
  background: rgba(24, 24, 24, 0.4);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.ct-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255,255,255,0.05) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
}

.ct-card:hover {
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-4px);
  background: rgba(24, 24, 24, 0.8);
  box-shadow: 0 15px 40px rgba(0,0,0,0.5);
}
.ct-card:hover::before { opacity: 1; }

.ct-card-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(59,130,246,0.1);
  border: 1px solid rgba(59,130,246,0.3);
  color: var(--accent);
  transition: transform 0.4s var(--ease);
}
.ct-card:hover .ct-card-icon { transform: scale(1.1); }
.ct-card-icon svg { width: 24px; height: 24px; }

.ct-card-text { flex-grow: 1; }
.ct-card-text h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.2rem;
}
.ct-card-text p {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  color: var(--gray);
  margin: 0;
}

.ct-card-arrow {
  color: var(--accent);
  font-size: 1.4rem;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.4s var(--ease);
}
.ct-card:hover .ct-card-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ─── SOCIAL GRID ───────────────────────── */
.ct-social-grid {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.ct-social-btn {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 1.4rem;
  background: rgba(24, 24, 24, 0.4);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 100px;
  text-decoration: none;
  transition: all 0.3s var(--ease);
}

.ct-social-btn:hover {
  background: rgba(24, 24, 24, 0.9);
  border-color: rgba(255,255,255,0.15);
  transform: translateY(-2px);
}

.ct-social-name {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--white);
}

.ct-social-handle {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  color: var(--gray);
}

.ct-social-arrow {
  width: 16px; height: 16px;
  opacity: 0.5;
  transition: transform 0.3s var(--ease), opacity 0.3s;
}

.ct-social-btn:hover .ct-social-arrow {
  opacity: 1;
  transform: translate(2px, -2px);
  color: var(--accent);
}

/* ─── ENTRANCE ANIMATIONS ───────────────── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s cubic-bezier(0.16,1,0.3,1) forwards;
  animation-delay: var(--d, 0s);
}

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ─── RESPONSIVE ───────────────────────── */
@media (max-width: 768px) {
  .ct-primary-links { grid-template-columns: 1fr; }
  .ct-title { font-size: 3.5rem; }
  .ct-content { gap: 3rem; }
}

@media (max-width: 480px) {
  .ct-social-btn { width: 100%; justify-content: space-between; }
  .ct-social-handle { margin-left: auto; }
}
