/* ==========================================================================
   PujaGuru — Support / Contact page (site_v2). Page-specific styles, `.sp-`.
   Builds on site.css (page-hero, section, form-card, form-*, policy-card…).
   ========================================================================== */

/* ---------- Hero ---------- */
.sp-hero .page-hero__subtitle { font-family: var(--site-font-serif); font-style: italic; font-size: clamp(1.2rem, 2vw, 1.5rem); }
.sp-hero-facts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: clamp(28px, 4vw, 40px);
}
.sp-hero-facts li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 8px 18px 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.4);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font-size: 0.92rem;
  font-weight: 500;
  color: inherit;
}
.sp-hero-facts svg.lucide { width: 17px; height: 17px; color: currentColor; }
.sp-hero-facts a { color: inherit; font-weight: 700; }
.sp-hero-facts a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Contact ---------- */
.sp-contact {
  background:
    radial-gradient(560px 420px at 100% 30%, rgba(232, 93, 4, 0.06), transparent 70%),
    var(--site-bg, #FFF9ED);
}
.sp-contact__grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(40px, 6vw, 72px);
  align-items: start;
}
.sp-info .section-title { margin-bottom: 16px; }
.sp-info__intro { color: var(--site-muted, #6B4A2B); font-size: 1.05rem; margin-bottom: 32px; }

.sp-methods { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 20px; }
.sp-method {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 22px;
  border-radius: var(--site-radius-lg);
  background: var(--site-surface, #FFFDF8);
  border: 1px solid var(--site-border, #F3DFC1);
  box-shadow: 0 1px 2px rgba(24, 34, 26, 0.04);
  transition: border-color .25s, box-shadow .25s;
}
.sp-method:hover { border-color: var(--site-border, #F3DFC1); box-shadow: var(--site-shadow); }
.sp-method__title {
  margin-bottom: 4px;
  font-family: var(--site-font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--site-muted, #6B4A2B);
}
.sp-method__value { margin: 0; font-weight: 600; font-size: 1rem; color: var(--site-text, #3B1F0B); word-break: break-word; }
a.sp-method__value { color: var(--site-primary-ink, #B03A00); }
a.sp-method__value:hover { text-decoration: underline; text-underline-offset: 3px; }

.sp-help {
  position: relative;
  overflow: hidden;
  display: flex;
  gap: 18px;
  padding: 28px;
  border-radius: var(--site-radius-lg);
  background:
    radial-gradient(380px 240px at 100% 100%, rgba(255, 209, 102, 0.55), transparent 70%),
    linear-gradient(150deg, var(--site-surface, #FFFDF8) 0%, var(--site-yellow-soft, #FFF3C4) 100%);
  border: 1px solid rgba(255, 183, 3, 0.45);
  color: var(--site-muted, #6B4A2B);
}
.sp-help::before { /* gold rule */
  content: "";
  position: absolute;
  top: 0;
  left: 28px;
  width: 56px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--site-gradient-brand, linear-gradient(135deg, #D94801 0%, #F05A00 30%, #F48C06 65%, #FFB703 100%));
}
.sp-help > :not(.deco-mandala) { position: relative; z-index: 1; }
.sp-help .deco-mandala { width: 300px; height: 300px; right: -110px; bottom: -130px; color: var(--site-golden, #F48C06); opacity: .16; }
.sp-help .icon-tile { width: 48px; height: 48px; border-radius: 13px; background: var(--site-surface, #FFFDF8); color: var(--site-saffron, #D94801); border-color: rgba(244, 140, 6, 0.3); }
.sp-help h3 { font-size: 1.25rem; margin-bottom: 8px; }
.sp-help p { font-size: 0.95rem; margin-bottom: 18px; }
.sp-help .btn svg.lucide { width: 17px; height: 17px; }
.sp-help .btn:hover .arrow { transform: translate(2px, -2px); }

/* ---------- Form card ---------- */
.sp-form-card { overflow: hidden; }
.sp-form-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: clamp(28px, 4vw, 44px);
  width: 64px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--site-gradient-brand, linear-gradient(135deg, #D94801 0%, #F05A00 30%, #F48C06 65%, #FFB703 100%));
}
.sp-form-card { background: var(--site-surface, #FFFDF8); }
.sp-form-card .form-input:focus,
.sp-form-card .form-textarea:focus {
  border-color: var(--site-primary, #E85D04);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(232, 93, 4, 0.16);
}
.sp-form-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--site-border, #F3DFC1);
}
.sp-form-head h3 { font-size: 1.5rem; }
.sp-form-head p { margin: 2px 0 0; color: var(--site-muted, #6B4A2B); font-size: 0.92rem; }
.sp-req { margin-left: 2px; color: var(--site-primary-ink, #B03A00); font-weight: 600; }

.sp-field { position: relative; }
.sp-field svg.lucide {
  position: absolute;
  left: 15px;
  top: 50%;
  width: 18px;
  height: 18px;
  margin-top: -9px;
  color: rgba(107, 74, 43, 0.55);
  pointer-events: none;
  transition: color .2s;
}
.sp-field .form-input { padding-left: 44px; }
.sp-field:focus-within svg.lucide { color: var(--site-primary, #E85D04); }
.sp-form-card .form-input { min-height: 50px; }
.sp-form-card .form-input:focus-visible,
.sp-form-card .form-textarea:focus-visible { outline: none; } /* focus ring is the box-shadow from site.css */
.sp-submit { width: 100%; margin-top: 6px; }
.sp-form-card .form-success .btn svg.lucide { width: 17px; height: 17px; }

/* ---------- FAQ ---------- */
.sp-faq__grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.sp-faq__intro { position: sticky; top: calc(var(--site-header-h) + 32px); }
.sp-faq__intro .section-title { margin-bottom: 18px; }
.sp-faq__intro p:not(.eyebrow) { color: var(--site-muted, #6B4A2B); font-size: 1.05rem; margin-bottom: 22px; }
.sp-faq__list { display: grid; gap: 12px; }
.sp-faq__item {
  border-radius: var(--site-radius-lg);
  background: var(--site-bg, #FFF9ED);
  border: 1px solid var(--site-border, #F3DFC1);
  transition: border-color .25s, box-shadow .25s, background-color .25s;
}
.sp-faq__item[open] { background: var(--site-surface, #FFFDF8); border-color: var(--site-border, #F3DFC1); box-shadow: var(--site-shadow); }
.sp-faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  border-radius: var(--site-radius-lg);
  cursor: pointer;
  list-style: none;
}
.sp-faq__item summary::-webkit-details-marker { display: none; }
.sp-faq__item summary h3 { font-size: 1.12rem; line-height: 1.35; }
.sp-faq__icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--site-primary-soft, #FFEBD9);
  color: var(--site-primary, #E85D04);
  transition: transform .3s var(--site-ease), background-color .2s, color .2s;
}
.sp-faq__icon svg.lucide { width: 17px; height: 17px; stroke-width: 2.25; }
.sp-faq__item[open] .sp-faq__icon { transform: rotate(45deg); background: var(--site-primary, #E85D04); color: #fff; }
.sp-faq__item summary:hover .sp-faq__icon { background: var(--site-primary, #E85D04); color: #fff; }
.sp-faq__answer { padding: 0 22px 22px; }
.sp-faq__answer p { max-width: 640px; color: var(--site-muted, #6B4A2B); }

/* ---------- Policies ---------- */
.sp-policies .grid > li { display: flex; }
.sp-policies .policy-card { flex: 1; box-shadow: 0 1px 2px rgba(24, 34, 26, 0.04); }
.sp-policies .policy-card .icon-tile { width: 48px; height: 48px; border-radius: 13px; transition: background-color .25s, color .25s, border-color .25s; }
.sp-policies .policy-card .icon-tile svg.lucide { width: 22px; height: 22px; }
.sp-policies .policy-card:hover .icon-tile { background: var(--site-yellow-soft, #FFF3C4); color: var(--site-saffron, #D94801); border-color: rgba(255, 183, 3, 0.25); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .sp-contact__grid, .sp-faq__grid { grid-template-columns: 1fr; }
  .sp-faq__intro { position: static; }
}

@media (max-width: 640px) {
  .sp-hero-facts { flex-direction: column; align-items: center; }
  .sp-methods { grid-template-columns: 1fr; }
  .sp-method { flex-direction: row; align-items: center; }
  .sp-help { flex-direction: column; padding: 24px; }
  .sp-help .btn { width: 100%; }
  .sp-form-card { border-radius: var(--site-radius-lg); }
  .sp-form-head { margin-bottom: 24px; padding-bottom: 20px; }
  .sp-form-head h3 { font-size: 1.35rem; }
  .sp-faq__item summary { padding: 18px; }
  .sp-faq__item summary h3 { font-size: 1.04rem; }
  .sp-faq__answer { padding: 0 18px 20px; }
}
