/* صفحه تماس با ما — هویت استودیو پرنیان دیتا */

.pd-contact .studio-container { position: relative; }

.pd-contact-crumb {
  padding: 18px 0 0;
  font-size: 13px;
  color: var(--text-mute);
  display: flex;
  align-items: center;
  gap: 8px;
}
.pd-contact-crumb a { color: var(--text-mute); }
.pd-contact-crumb a:hover { color: var(--accent); }
.pd-contact-crumb svg { width: 12px; height: 12px; }

.pd-contact-hero {
  position: relative;
  padding: 28px 0 48px;
  overflow: hidden;
}
.pd-contact-hero::before {
  content: "";
  position: absolute;
  inset: -28% auto auto 6%;
  width: 50vw;
  height: 50vw;
  max-width: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow), transparent 70%);
  pointer-events: none;
}
.pd-contact-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: start;
}
.pd-contact-kicker {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.pd-contact-hero h1 {
  margin: 0;
  font-size: clamp(28px, 3.8vw, 44px);
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: -0.03em;
}
.pd-contact-lead {
  margin: 16px 0 0;
  color: var(--text-mute);
  font-size: 17px;
  line-height: 1.85;
  max-width: 38em;
}
.pd-contact-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.pd-contact-hero-cta a,
.pd-contact-channel a,
.pd-contact-aside a,
.pd-contact-climax a {
  text-decoration: none;
}
.pd-contact-meta {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.pd-contact-meta li {
  display: grid;
  gap: 2px;
}
.pd-contact-meta strong {
  font-size: 12px;
  color: var(--text-mute);
  font-weight: 700;
}
.pd-contact-meta span { font-size: 15px; }

.pd-contact-form-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 26px 22px 22px;
  box-shadow: 0 16px 40px rgba(31, 36, 48, 0.06);
  position: relative;
  z-index: 1;
}
.pd-contact-form-card h2 {
  margin: 0 0 8px;
  font-size: 22px;
}
.pd-contact-form-card > p {
  margin: 0 0 18px;
  color: var(--text-mute);
  font-size: 14px;
  line-height: 1.7;
}
.pd-contact-field { margin-bottom: 12px; }
.pd-contact-field label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 700;
}
.pd-contact-field input,
.pd-contact-field select,
.pd-contact-field textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 12px;
  background: #fff;
  font: inherit;
  color: inherit;
}
.pd-contact-field textarea { min-height: 120px; resize: vertical; }
.pd-contact-field input:focus,
.pd-contact-field select:focus,
.pd-contact-field textarea:focus {
  outline: 3px solid color-mix(in srgb, var(--accent) 28%, transparent);
  border-color: var(--accent);
}
.pd-contact-field input[aria-invalid="true"],
.pd-contact-field select[aria-invalid="true"],
.pd-contact-field textarea[aria-invalid="true"] {
  border-color: #b42318;
}
.pd-contact-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.pd-contact-field-err {
  margin: 6px 0 0;
  color: #b42318;
  font-size: 12px;
}
.pd-contact-submit {
  width: 100%;
  min-height: 48px;
  margin-top: 6px;
  cursor: pointer;
}
.pd-contact-form-note {
  margin: 12px 0 0;
  font-size: 12px;
  color: var(--text-mute);
  line-height: 1.7;
}
.pd-contact-honey {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}
.pd-contact-alert {
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 14px;
  font-size: 14px;
  line-height: 1.7;
}
.pd-contact-alert.is-ok {
  background: #ecfdf3;
  color: #067647;
}
.pd-contact-alert.is-err {
  background: #fef3f2;
  color: #b42318;
}
.pd-contact-alert ul {
  margin: 8px 0 0;
  padding-right: 16px;
}
.pd-contact-alert a { color: inherit; }

.pd-contact-section { padding: 12px 0 48px; }
.pd-contact-head {
  max-width: 640px;
  margin-bottom: 22px;
}
.pd-contact-head h2 {
  margin: 0 0 8px;
  font-size: clamp(22px, 2.4vw, 30px);
}
.pd-contact-head p {
  margin: 0;
  color: var(--text-mute);
  line-height: 1.8;
}

.pd-contact-channels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.pd-contact-channel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 100%;
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.pd-contact-channel:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(31, 36, 48, 0.07);
}
.pd-contact-channel h3 { margin: 0; font-size: 16px; }
.pd-contact-channel-val {
  margin: 0;
  font-weight: 700;
  word-break: break-word;
}
.pd-contact-channel-hint {
  margin: 0 0 auto;
  color: var(--text-mute);
  font-size: 13px;
  line-height: 1.6;
}
.pd-contact-channel .studio-btn { margin-top: 8px; width: 100%; min-height: 44px; }
.pd-contact-ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--accent) 10%, #fff);
  color: var(--accent);
}
.pd-contact-ico svg { width: 22px; height: 22px; }

.pd-contact-about { background: var(--surface-2, #f7f7f8); padding-top: 40px; }
.pd-contact-about-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 28px;
  align-items: start;
}
.pd-contact-prose {
  font-size: 16px;
  line-height: 2;
  color: var(--text, #1f2430);
  max-width: 42em;
}
.pd-contact-prose h3 {
  margin: 22px 0 8px;
  font-size: 18px;
}
.pd-contact-prose p { margin: 0 0 14px; }
.pd-contact-prose ul { margin: 0 0 14px; padding-right: 18px; }
.pd-contact-prose a { color: var(--accent); }
.pd-contact-aside {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px 18px;
  position: sticky;
  top: 88px;
}
.pd-contact-aside h3 { margin: 0 0 12px; font-size: 16px; }
.pd-contact-aside ol {
  margin: 0 0 18px;
  padding-right: 18px;
  color: var(--text-mute);
  line-height: 1.8;
  font-size: 14px;
}
.pd-contact-aside .studio-btn {
  width: 100%;
  margin-bottom: 8px;
  min-height: 44px;
}

.pd-contact-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.pd-contact-steps article {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px 14px;
  text-align: center;
}
.pd-contact-steps b {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
}
.pd-contact-steps h3 { margin: 0 0 6px; font-size: 15px; }
.pd-contact-steps p { margin: 0; color: var(--text-mute); font-size: 13px; line-height: 1.7; }

.pd-contact-faq { max-width: 860px; }
.pd-contact-faq details {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 4px 18px 12px;
  margin-bottom: 10px;
}
.pd-contact-faq summary {
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  min-height: 44px;
  align-items: center;
}
.pd-contact-faq summary::-webkit-details-marker { display: none; }
.pd-contact-faq summary::after {
  content: "+";
  color: var(--accent);
  font-size: 20px;
  line-height: 1;
}
.pd-contact-faq details[open] summary::after { content: "–"; }
.pd-contact-faq p {
  margin: 0 0 12px;
  color: var(--text-mute);
  font-size: 14px;
  line-height: 1.85;
}

.pd-contact-map iframe {
  width: 100%;
  height: 340px;
  border: 0;
  border-radius: 18px;
  display: block;
}
.pd-contact-map-link {
  margin: 10px 0 0;
  font-size: 13px;
}
.pd-contact-map-link a { color: var(--accent); }

.pd-contact-climax {
  background: linear-gradient(135deg, var(--accent-deep), var(--accent));
  color: #fff;
  border-radius: 24px;
  padding: 40px 28px;
  text-align: center;
}
.pd-contact-climax h2 { margin: 0 0 10px; color: #fff; }
.pd-contact-climax p { margin: 0 0 20px; color: rgba(255,255,255,0.88); }
.pd-contact-climax .studio-btn-primary {
  background: #fff;
  color: var(--accent);
  box-shadow: none;
}
.pd-contact-climax .studio-btn-ghost {
  border-color: rgba(255,255,255,0.45);
  color: #fff;
}
.pd-contact-climax-cta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 1024px) {
  .pd-contact-hero-grid,
  .pd-contact-about-grid { grid-template-columns: 1fr; }
  .pd-contact-channels { grid-template-columns: 1fr 1fr; }
  .pd-contact-steps { grid-template-columns: 1fr 1fr; }
  .pd-contact-aside { position: static; }
}
@media (max-width: 720px) {
  .pd-contact-channels,
  .pd-contact-steps,
  .pd-contact-row { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .pd-contact-channel { transition: none; }
  .pd-contact-channel:hover { transform: none; }
}
