/* === CONTACT CARDS v4 — corporate, no icons === */
:root {
  --cc-phone: #16a34a;
  --cc-phone-2: #22c55e;
  --cc-mail: #0066cc;
  --cc-mail-2: #3b82f6;
  --cc-meet: #f59e0b;
  --cc-meet-2: #fbbf24;
  --cc-wa: #25D366;
  --cc-wa-2: #128C7E;
  --cc-ink: #0f172a;
  --cc-ink-2: #475569;
  --cc-line: rgba(15,23,42,.08);
}

/* Reset old contact-card v1/v2/v3 styles */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2.25rem;
}

.contact-card {
  position: relative;
  display: flex !important;
  flex-direction: column !important;
  gap: 0;
  padding: 2rem 1.75rem 1.6rem;
  background: #fff;
  border-radius: 20px;
  border: 1px solid var(--cc-line);
  box-shadow: 0 2px 10px rgba(15,23,42,.04);
  overflow: hidden;
  isolation: isolate;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s, border-color .35s;
}
.contact-card::before, .contact-card::after { content: none !important; display: none !important; }

/* Top accent bar (replaces icons as the visual cue) */
.contact-card > .cc-rail {
  position: absolute; top: 0; left: 0; right: 0; height: 5px;
  background: linear-gradient(90deg, var(--cc-mail), var(--cc-mail-2));
}
.contact-card.phone-card > .cc-rail { background: linear-gradient(90deg, var(--cc-phone), var(--cc-phone-2)); }
.contact-card.email-card > .cc-rail { background: linear-gradient(90deg, var(--cc-mail), var(--cc-mail-2)); }
.contact-card.meeting-card > .cc-rail { background: linear-gradient(90deg, var(--cc-meet), var(--cc-meet-2)); }
.contact-card.whatsapp-card > .cc-rail { display: none; }

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(15,23,42,.10);
  border-color: rgba(15,23,42,.14);
}

/* Hide the legacy icon block from old HTML if it's still around */
.contact-card .cc-icon,
.contact-card .contact-icon { display: none !important; }

/* Header — eyebrow + title + subtitle, all stacked, no icon */
.contact-card .cc-head {
  display: flex !important;
  flex-direction: column !important;
  gap: .15rem;
  margin-bottom: 1.1rem;
  width: 100%;
}
.contact-card .cc-title { display: flex; flex-direction: column; min-width: 0; }
.cc-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cc-mail);
  margin-bottom: .55rem;
}
.cc-eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  display: inline-block;
}
.phone-card .cc-eyebrow { color: var(--cc-phone); }
.email-card .cc-eyebrow { color: var(--cc-mail); }
.meeting-card .cc-eyebrow { color: var(--cc-meet); }
.whatsapp-card .cc-eyebrow { color: rgba(255,255,255,.95); }

.cc-title h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--cc-ink);
  margin: 0 0 .25rem 0;
  letter-spacing: -.015em;
  line-height: 1.2;
}
.cc-title .cc-sub {
  font-size: .82rem;
  font-weight: 600;
  color: var(--cc-ink-2);
  margin: 0;
}

/* Body — descriptive text */
.cc-body {
  color: var(--cc-ink-2);
  font-size: .92rem;
  line-height: 1.55;
  margin: 0 0 1.15rem 0;
}

/* Pill rows — must show full content, never truncated */
.cc-list { display: flex; flex-direction: column; gap: .55rem; margin-bottom: 1.1rem; }
.cc-row {
  display: flex; align-items: flex-start; justify-content: flex-start; gap: .35rem;
  padding: .75rem .95rem;
  background: rgba(15,23,42,.03);
  border: 1px solid rgba(15,23,42,.06);
  border-radius: 12px;
  text-decoration: none;
  color: var(--cc-ink);
  transition: background .25s, border-color .25s, transform .2s;
  flex-direction: column; /* tag ALWAYS below value */
}
.cc-row:hover { background: rgba(15,23,42,.06); border-color: rgba(15,23,42,.14); transform: translateX(2px); }
.cc-row .cc-val {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: .96rem;
  font-weight: 700;
  letter-spacing: -.005em;
  color: var(--cc-ink);
  white-space: nowrap;          /* never break mid-number */
  overflow: visible;             /* do NOT clip */
  text-overflow: clip;
  width: 100%;
}
.cc-row .cc-tag {
  align-self: flex-start;
  font-size: .62rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: .18rem .5rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(15,23,42,.1);
  color: var(--cc-ink-2);
}

/* Phone card */
.phone-card .cc-row { background: rgba(22,163,74,.05); border-color: rgba(22,163,74,.13); }
.phone-card .cc-row:hover { background: rgba(22,163,74,.10); border-color: rgba(22,163,74,.28); }
.phone-card .cc-row .cc-val { color: #14532d; font-size: 1rem; }
.phone-card .cc-row .cc-tag { color: var(--cc-phone); border-color: rgba(22,163,74,.28); }

/* Email card — emails use regular font (longer than phones) */
.email-card .cc-row { background: rgba(0,102,204,.05); border-color: rgba(0,102,204,.12); }
.email-card .cc-row:hover { background: rgba(0,102,204,.10); border-color: rgba(0,102,204,.28); }
.email-card .cc-row .cc-val { color: #1e3a8a; font-family: inherit; font-size: .9rem; }
.email-card .cc-row .cc-tag { color: var(--cc-mail); border-color: rgba(0,102,204,.28); }

/* Meeting card — checklist + CTA */
.cc-checks { list-style: none; margin: 0 0 1.2rem 0; padding: 0; display: flex; flex-direction: column; gap: .5rem; }
.cc-checks li {
  display: flex; align-items: center; gap: .6rem;
  font-size: .9rem; font-weight: 500;
  color: var(--cc-ink-2);
}
.cc-checks li svg { flex-shrink: 0; color: var(--cc-meet); }

.cc-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .95rem 1.3rem;
  border-radius: 12px;
  font-weight: 800;
  font-size: .96rem;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s, filter .2s;
  margin-top: auto;
}
.meeting-card .cc-cta {
  background: linear-gradient(135deg, var(--cc-meet), var(--cc-meet-2));
  color: #fff;
  box-shadow: 0 10px 22px rgba(245,158,11,.35);
}
.meeting-card .cc-cta:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(245,158,11,.45); }

/* WhatsApp card — full green brand */
.whatsapp-card {
  background: linear-gradient(135deg, #128C7E 0%, #25D366 100%);
  border: none;
  color: #fff;
}
.whatsapp-card .cc-title h3,
.whatsapp-card .cc-title .cc-sub,
.whatsapp-card .cc-body { color: #fff; }
.whatsapp-card .cc-title .cc-sub,
.whatsapp-card .cc-body { color: rgba(255,255,255,.92); }

.whatsapp-card .cc-cta {
  background: #fff;
  color: #128C7E;
  box-shadow: 0 8px 20px rgba(0,0,0,.18);
}
.whatsapp-card .cc-cta:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(0,0,0,.25); }

/* Availability strip */
.cc-availability {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .78rem; font-weight: 700;
  color: var(--cc-phone);
  margin-top: auto;
  padding-top: .95rem;
  border-top: 1px dashed var(--cc-line);
}
.email-card .cc-availability { color: var(--cc-mail); }
.meeting-card .cc-availability { color: var(--cc-meet); }
.whatsapp-card .cc-availability { color: #fff; border-top-color: rgba(255,255,255,.22); }
.cc-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 4px rgba(34,197,94,.2);
  animation: ccPulse 1.8s infinite;
}
.email-card .cc-dot { box-shadow: 0 0 0 4px rgba(0,102,204,.2); }
.meeting-card .cc-dot { box-shadow: 0 0 0 4px rgba(245,158,11,.2); }
.whatsapp-card .cc-dot { background: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,.3); }
@keyframes ccPulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .7; transform: scale(1.35); } }

/* Mobile */
@media (max-width: 600px) {
  .contact-grid { grid-template-columns: 1fr; gap: 1rem; }
  .contact-card { padding: 1.6rem 1.3rem 1.4rem; border-radius: 18px; }
  .cc-title h3 { font-size: 1.2rem; }
  .cc-row { padding: .7rem .85rem; }
  .cc-row .cc-val { font-size: .92rem; }
  .phone-card .cc-row .cc-val { font-size: .94rem; }
  .email-card .cc-row .cc-val { font-size: .82rem; }
  .cc-cta { padding: .9rem 1.1rem; font-size: .92rem; }
}

/* Very narrow viewports — guarantee phone/email fit by shrinking just enough */
@media (max-width: 380px) {
  .phone-card .cc-row .cc-val { font-size: .9rem; letter-spacing: -.01em; }
  .email-card .cc-row .cc-val { font-size: .76rem; letter-spacing: -.01em; }
  .cc-row { padding: .65rem .75rem; }
  .cc-row .cc-tag { font-size: .6rem; padding: .18rem .45rem; }
}
