/*
 * contact-style.css
 * کافه دنتیست — صفحه تماس با ما
 * مسیر: wp-content/themes/woodmart-child/contact-style.css
 */

/* ── Reset ── */
.cc-wrap * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.cc-wrap {
  font-family: inherit;
  direction: rtl;
  text-align: right;
  color: #1a2b35;
  background: #f5fbfc;
  line-height: 1.9;
}

/* ── Hero ── */
.cc-hero {
  background: linear-gradient(135deg, #1a7f84 0%, #29adb2 50%, #4fc3e8 100%);
  padding: 64px 40px 72px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cc-hero::before {
  content: '';
  position: absolute;
  top: -60px; left: -60px;
  width: 280px; height: 280px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}
.cc-hero::after {
  content: '';
  position: absolute;
  bottom: -80px; right: -40px;
  width: 360px; height: 360px;
  background: rgba(123,104,170,0.1);
  border-radius: 50%;
}
.cc-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}
.cc-hero-title {
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.4;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}
.cc-hero-sub {
  font-size: 15px;
  color: rgba(255,255,255,0.8);
  max-width: 500px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* ── Body ── */
.cc-body {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px 60px;
}

/* ── Intro ── */
.cc-intro {
  padding: 36px 0 8px;
  font-size: 16px;
  color: #3d5563;
  line-height: 1.9;
  border-bottom: 1px solid #dce8ec;
  margin-bottom: 40px;
}

/* ── Contact Cards ── */
.cc-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 48px;
}

.cc-card {
  background: #ffffff;
  border: 1px solid #dce8ec;
  border-radius: 14px;
  padding: 28px 20px;
  text-align: center;
  text-decoration: none !important;
  color: #1a2b35 !important;
  display: block;
  transition: box-shadow 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
  cursor: pointer;
}
.cc-card:hover {
  box-shadow: 0 8px 32px rgba(41,173,178,0.14);
  border-color: #4fc3e8;
  transform: translateY(-3px);
}
.cc-card-icon {
  font-size: 32px;
  margin-bottom: 12px;
  display: block;
}
.cc-card-label {
  font-size: 12px;
  font-weight: 700;
  color: #5a7280;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.cc-card-value {
  font-size: 17px;
  font-weight: 800;
  color: #1a7f84;
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}
.cc-card-note {
  font-size: 12px;
  color: #5a7280;
}

/* رنگ accent هر کارت */
.cc-card--phone:hover   { border-color: #4fc3e8; }
.cc-card--mobile:hover  { border-color: #7b68aa; }
.cc-card--whatsapp:hover { border-color: #7aaa5a; }
.cc-card--hours:hover   { border-color: #f4a83a; }

.cc-card--mobile .cc-card-value  { color: #7b68aa; }
.cc-card--whatsapp .cc-card-value { color: #7aaa5a; }
.cc-card--hours .cc-card-value   { color: #f4a83a; }

/* ── Address ── */
.cc-address {
  background: #ffffff;
  border: 1px solid #dce8ec;
  border-radius: 14px;
  padding: 32px;
  margin-bottom: 32px;
}
.cc-address-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #dce8ec;
}
.cc-address-icon {
  font-size: 28px;
  flex-shrink: 0;
}
.cc-address-title {
  font-size: 17px;
  font-weight: 700;
  color: #1a2b35;
  margin-bottom: 4px;
}
.cc-address-sub {
  font-size: 13px;
  color: #5a7280;
}
.cc-address-text {
  font-size: 15px;
  color: #3d5563;
  line-height: 2.2;
  margin-bottom: 24px;
}
.cc-map-placeholder {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #dce8ec;
}

/* ── Rules ── */
.cc-rules {
  text-align: center;
  font-size: 14px;
  color: #5a7280;
  padding: 24px 0 0;
}
.cc-rules a {
  color: #29adb2 !important;
  font-weight: 600;
  text-decoration: none !important;
  border-bottom: 1px solid #29adb2;
  padding-bottom: 1px;
  margin: 0 4px;
}
.cc-rules a:hover {
  color: #1a7f84 !important;
}

/* ── Responsive ── */
@media (max-width: 600px) {
  .cc-hero { padding: 48px 20px 56px; }
  .cc-body { padding: 0 16px 48px; }
  .cc-cards { grid-template-columns: 1fr 1fr; }
  .cc-address { padding: 24px 20px; }
}
@media (max-width: 400px) {
  .cc-cards { grid-template-columns: 1fr; }
}
