/* ============================================================
   Home page styles — کلینیک شاداب
   ============================================================ */

/* ---------- HERO ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(40px, 6vw, 80px) clamp(50px, 7vw, 96px); }
.hero-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(60% 55% at 88% 8%, rgba(69,176,136,.20), transparent 60%),
    radial-gradient(50% 50% at 6% 30%, rgba(167,216,193,.32), transparent 60%),
    linear-gradient(180deg, #eef6f1 0%, var(--bg) 70%);
}
.hero-bg::after {
  content: ""; position: absolute; inset-inline-end: -120px; top: -120px;
  width: 460px; height: 460px; border-radius: 50%;
  background: radial-gradient(circle, rgba(31,122,92,.10), transparent 70%);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 70px); align-items: center; }
.hero-copy h1 { margin-top: 6px; }
.hero-copy .lead { font-size: 1.24rem; margin-bottom: 30px; max-width: 36ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.hero-chips { gap: 9px; }

.hero-visual { position: relative; }
.hero-photo {
  position: relative; border-radius: 32px 32px 110px 32px; overflow: hidden;
  box-shadow: var(--sh-lg); border: 6px solid #fff; aspect-ratio: 4 / 4.4;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge {
  position: absolute; background: rgba(255,255,255,.96); backdrop-filter: blur(6px);
  border: 1px solid var(--line); border-radius: 18px; padding: 13px 17px;
  box-shadow: var(--sh-md); display: flex; align-items: center; gap: 12px;
}
.hero-badge b { display: block; font-size: 1.02rem; color: var(--ink); font-weight: 800; line-height: 1.3; }
.hero-badge span { font-size: .8rem; color: var(--muted); }
.badge-rating { top: 26px; inset-inline-start: -26px; }
.badge-rating .stars { font-size: 1.5rem; color: var(--amber); line-height: 1; letter-spacing: 1px; }
.badge-doc { bottom: 28px; inset-inline-end: -22px; }
.doc-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--mint-100); color: var(--green-700); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: .95rem; flex-shrink: 0; }

/* ---------- TRUST STRIP ---------- */
.trust-strip { background: #fff; border-block: 1px solid var(--line); }
.trust-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; padding-block: 30px; }
.trust-item { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; }
.trust-item svg { width: 38px; height: 38px; grid-row: 1 / 3; color: var(--green-600); }
.trust-item b { color: var(--ink); font-size: 1.02rem; }
.trust-item span { font-size: .85rem; color: var(--muted); line-height: 1.5; }

/* ---------- PRIVACY BAND ---------- */
.privacy-band { background: linear-gradient(135deg, var(--green-800), var(--green-600)); color: #eaf6f0; text-align: center; }
.privacy-inner { max-width: 760px; margin-inline: auto; }
.privacy-band h2 { color: #fff; }
.privacy-band .lead { color: #d3ece1; margin-inline: auto; font-size: 1.2rem; }
.privacy-band strong { color: #fff; }
.privacy-band .btn-ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.3); margin-top: 8px; }
.privacy-band .btn-ghost:hover { background: rgba(255,255,255,.2); color: #fff; }
.privacy-icon { width: 74px; height: 74px; margin: 0 auto 22px; border-radius: 22px; background: rgba(255,255,255,.14); display: flex; align-items: center; justify-content: center; color: #fff; }
.privacy-icon svg { width: 38px; height: 38px; }

/* ---------- SECTION HEAD ---------- */
.section-head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: end; margin-bottom: 44px; }
.section-head .lead { padding-bottom: 6px; }

/* ---------- SERVICES ---------- */
.service-card h3 { font-size: 1.28rem; }
.service-card p { margin-bottom: 0; color: var(--muted); }

/* ---------- PROCESS ---------- */
.process-section { background: var(--bg-warm); }
.process-grid { margin-top: 48px; position: relative; }
.process-step { position: relative; padding-top: 8px; }
.process-step .step-num {
  display: flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 50%;
  background: #fff; color: var(--green-600); border: 2px solid var(--green-200);
  font-size: 1.4rem; font-weight: 800; margin-bottom: 20px; box-shadow: var(--sh-sm);
}
.process-step h3 { font-size: 1.22rem; }
.process-step p { color: var(--muted); margin-bottom: 0; }

/* ---------- ABOUT PREVIEW ---------- */
.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
.about-visual { position: relative; }
.about-visual img { width: 100%; border-radius: 28px; box-shadow: var(--sh-lg); border: 6px solid #fff; aspect-ratio: 4 / 4.3; object-fit: cover; object-position: center 30%; }
.about-float { position: absolute; bottom: -18px; inset-inline-start: -18px; background: var(--green-700); color: #fff; padding: 16px 20px; border-radius: 18px; max-width: 250px; box-shadow: var(--sh-lg); }
.about-float b { display: block; font-size: 1.02rem; margin-bottom: 3px; }
.about-float span { font-size: .85rem; color: #cfe7dc; line-height: 1.6; }
.check-list { margin: 22px 0 30px; display: grid; gap: 13px; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; font-weight: 600; color: var(--text); }
.check-list svg { width: 22px; height: 22px; color: #fff; background: var(--green-500); border-radius: 50%; padding: 4px; flex-shrink: 0; margin-top: 2px; }

/* ---------- TESTIMONIALS ---------- */
.testi-section { background: var(--bg-warm); }
.testi-card { padding: 28px; }
.testi-card .stars { color: var(--amber); font-size: 1.2rem; letter-spacing: 1px; margin-bottom: 12px; }
.testi-card blockquote { margin: 0 0 16px; font-size: 1.05rem; color: var(--text); line-height: 1.9; }
.testi-card figcaption { font-size: .85rem; color: var(--muted); font-weight: 600; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(30px, 5vw, 60px); align-items: start; }
.faq-intro { position: sticky; top: 100px; }
.faq-list { display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.faq-item[open] { border-color: var(--green-200); box-shadow: var(--sh-sm); }
.faq-item summary { cursor: pointer; list-style: none; padding: 20px 24px; font-weight: 700; color: var(--ink); display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 1.08rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-i { position: relative; width: 18px; height: 18px; flex-shrink: 0; }
.faq-i::before, .faq-i::after { content: ""; position: absolute; background: var(--green-600); border-radius: 2px; transition: transform .25s; }
.faq-i::before { top: 8px; inset-inline: 0; height: 2.4px; }
.faq-i::after { inset-inline-start: 8px; inset-block: 0; width: 2.4px; }
.faq-item[open] .faq-i::after { transform: scaleY(0); }
.faq-a { padding: 0 24px 22px; color: var(--muted); line-height: 1.9; }

/* ---------- CONTACT CTA ---------- */
.contact-cta { background: linear-gradient(160deg, #0f4836 0%, #0b3527 100%); color: #d6ebe1; padding-block: clamp(56px, 8vw, 100px); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 60px); align-items: center; }
.contact-copy h2 { color: #fff; }
.contact-copy .lead { color: #b9d6c9; }
.contact-rows { display: grid; gap: 13px; margin-top: 28px; }
.contact-row { display: flex; align-items: center; gap: 16px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 16px; padding: 15px 18px; transition: background .2s, transform .15s; }
.contact-row:hover { background: rgba(255,255,255,.12); transform: translateX(-4px); }
.cr-ic { width: 46px; height: 46px; border-radius: 13px; background: rgba(69,176,136,.22); color: #8fe0c0; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cr-ic svg { width: 22px; height: 22px; }
.contact-row small { display: block; font-size: .8rem; color: #9fc0b3; margin-bottom: 2px; }
.contact-row b { color: #fff; font-size: 1.05rem; }
.contact-map { border-radius: 24px; overflow: hidden; box-shadow: var(--sh-lg); border: 6px solid rgba(255,255,255,.1); height: 100%; min-height: 320px; }
.contact-map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; filter: saturate(1.05); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 460px; margin-inline: auto; width: 100%; }
  .section-head { grid-template-columns: 1fr; align-items: start; gap: 12px; }
  .about-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; }
  .faq-intro { position: static; }
  .about-visual { max-width: 440px; }
}
@media (max-width: 760px) {
  .trust-row { grid-template-columns: 1fr 1fr; gap: 22px; }
  .badge-rating { inset-inline-start: 10px; }
  .badge-doc { inset-inline-end: 10px; }
  .hero-copy .lead { max-width: none; }
}
@media (max-width: 460px) {
  .trust-row { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1; }
}
