/* =============================================================================
   EscortWP Contact Page Plugin — contact.css
   ============================================================================= */

.ewp-contact-page {
  position: relative;
  overflow: hidden;
  padding: 60px 20px 80px;
  min-height: 50vh;
  background: #5a0000;
  border-radius: 12px;
  margin: 0 -10px;
}

.ewp-contact-page::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 0%,  rgba(195,24,7,0.6)  0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 100%, rgba(139,0,0,0.7)   0%, transparent 60%),
    repeating-linear-gradient(
      45deg, transparent, transparent 40px,
      rgba(255,255,255,0.015) 40px,
      rgba(255,255,255,0.015) 41px
    );
  pointer-events: none;
  z-index: 0;
  border-radius: 12px;
}

.ewp-contact-inner {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin: 0 auto;
}

/* Eyebrow */
.ewp-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #f5a623;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.ewp-eyebrow::before,
.ewp-eyebrow::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(245,166,35,0.3);
  max-width: 80px;
}

/* Title */
.ewp-title {
  font-size: clamp(1.8rem, 4vw, 3rem) !important;
  font-weight: 800 !important;
  line-height: 1.05 !important;
  text-align: center !important;
  margin-bottom: 14px !important;
  letter-spacing: -0.02em !important;
  color: #fff !important;
  border: none !important;
  padding: 0 !important;
}
.ewp-title span { color: #f5a623; }

/* Subtitle */
.ewp-subtitle {
  text-align: center;
  color: rgba(255,255,255,0.65);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 460px;
  margin: 0 auto 48px;
}

/* ── CARDS ── */
.ewp-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 44px;
}

.ewp-card {
  position: relative;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  padding: 36px 24px 32px;
  text-align: center;
  text-decoration: none !important;
  color: #fff !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: ewpFadeUp 0.5s ease both;
}
.ewp-card:nth-child(1) { animation-delay: 0.1s; }
.ewp-card:nth-child(2) { animation-delay: 0.2s; }
.ewp-card:nth-child(3) { animation-delay: 0.3s; }

@keyframes ewpFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.ewp-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  opacity: 0;
  transition: opacity 0.25s;
  pointer-events: none;
}
.ewp-card:hover {
  transform: translateY(-6px);
  text-decoration: none !important;
  color: #fff !important;
}
.ewp-card:hover::before { opacity: 1; }

/* WhatsApp */
.ewp-whatsapp::before { background: radial-gradient(circle at 50% 0%, rgba(37,211,102,0.15), transparent 70%); }
.ewp-whatsapp:hover   { border-color: rgba(37,211,102,0.4); box-shadow: 0 24px 60px rgba(37,211,102,0.15); }

/* Phone */
.ewp-phone::before { background: radial-gradient(circle at 50% 0%, rgba(245,166,35,0.15), transparent 70%); }
.ewp-phone:hover   { border-color: rgba(245,166,35,0.4); box-shadow: 0 24px 60px rgba(245,166,35,0.15); }

/* Telegram */
.ewp-telegram::before { background: radial-gradient(circle at 50% 0%, rgba(0,136,204,0.15), transparent 70%); }
.ewp-telegram:hover   { border-color: rgba(0,136,204,0.4); box-shadow: 0 24px 60px rgba(0,136,204,0.15); }

/* Icon */
.ewp-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}
.ewp-whatsapp .ewp-icon { background: rgba(37,211,102,0.15); border: 1.5px solid rgba(37,211,102,0.3); }
.ewp-phone    .ewp-icon { background: rgba(245,166,35,0.15);  border: 1.5px solid rgba(245,166,35,0.3); }
.ewp-telegram .ewp-icon { background: rgba(0,136,204,0.15);   border: 1.5px solid rgba(0,136,204,0.3); }
.ewp-icon svg { width: 34px; height: 34px; }

.ewp-card-label {
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  position: relative;
  z-index: 1;
}

.ewp-card-value {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  position: relative;
  z-index: 1;
  line-height: 1.5;
}

.ewp-card-action {
  margin-top: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 7px 18px;
  border-radius: 30px;
  position: relative;
  z-index: 1;
  transition: filter 0.2s;
}
.ewp-action-green { background: rgba(37,211,102,0.15); color: #25d366; border: 1px solid rgba(37,211,102,0.3); }
.ewp-action-gold  { background: rgba(245,166,35,0.15);  color: #f5a623; border: 1px solid rgba(245,166,35,0.3); }
.ewp-action-blue  { background: rgba(0,136,204,0.15);   color: #29b6f6; border: 1px solid rgba(0,136,204,0.3); }
.ewp-card:hover .ewp-card-action { filter: brightness(1.25); }

/* Availability */
.ewp-availability {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50px;
  padding: 14px 28px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  max-width: 460px;
  margin: 0 auto;
}
.ewp-dot {
  width: 8px;
  height: 8px;
  background: #25d366;
  border-radius: 50%;
  flex-shrink: 0;
  animation: ewpPulse 2s infinite;
  display: inline-block;
}
@keyframes ewpPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0.6); }
  50%       { box-shadow: 0 0 0 6px rgba(37,211,102,0); }
}

/* ── RESPONSIVE ── */
@media (max-width: 680px) {
  .ewp-cards {
    grid-template-columns: 1fr;
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
  }
  .ewp-contact-page { padding: 36px 16px 52px; }
  .ewp-availability { padding: 12px 16px; font-size: 0.8rem; flex-wrap: wrap; text-align: center; }
}

@media (max-width: 900px) and (min-width: 681px) {
  .ewp-cards { grid-template-columns: 1fr 1fr; }
  .ewp-card:last-child {
    grid-column: 1 / -1;
    max-width: 340px;
    margin: 0 auto;
    width: 100%;
  }
}
