/* ===== services.html — خدمات مجالس ===== */

/* ---------- hero: light, split, ceremony tiles ---------- */
.svc-hero { text-align: start; background: radial-gradient(90% 80% at 15% 20%, rgba(226, 201, 143, 0.45), transparent 60%), radial-gradient(120% 90% at 80% 0%, #fffaf0 0%, var(--blush) 50%, var(--champagne) 100%); }
.svc-hero-grid { position: relative; z-index: 3; width: 100%; max-width: var(--container); margin-inline: auto; display: grid; gap: clamp(34px, 5vw, 70px); align-items: center; }
.svc-hero .breadcrumb { justify-content: flex-start; }
.svc-hero .lead { margin: 22px 0 0; max-width: 600px; }
.svc-hero .btn-row { justify-content: flex-start; }
.svc-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(8px, 1vw, 14px); }
.svc-tile {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  min-height: clamp(96px, 11vw, 138px); padding: 14px 8px; border-radius: 20px; text-align: center;
  background: rgba(255, 255, 255, 0.62); border: 1px solid rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px -18px rgba(33, 26, 16, 0.35);
  font-weight: 700; font-size: clamp(0.8rem, 0.72rem + 0.3vw, 0.95rem); line-height: 1.5; color: var(--wine-800);
  transition: transform 0.5s var(--ease), background 0.3s, box-shadow 0.5s var(--ease);
}
.svc-tile svg { width: clamp(26px, 2.6vw, 34px); height: clamp(26px, 2.6vw, 34px); color: var(--gold); transition: transform 0.5s var(--ease); }
.svc-tile:hover { transform: translateY(-4px); background: #fff; box-shadow: var(--shadow); }
.svc-tile:hover svg { transform: scale(1.1); }
.svc-tile.is-calm { background: rgba(232, 236, 242, 0.75); color: #222b3c; }
.svc-tile.is-calm svg { color: #7d8aa0; }
@media (min-width: 960px) {
  .svc-hero-grid { grid-template-columns: 1.1fr 0.9fr; }
}

/* ---------- overview ---------- */
.svc-overview { padding-bottom: calc(var(--section) * 0.5); }
.ov-lead { max-width: 470px; }
.ov-grid { display: grid; gap: clamp(12px, 1.4vw, 20px); grid-template-columns: 1fr; }
.ov-card h3 { font-size: 1.12rem; }
.ov-card p { font-size: 0.93rem; line-height: 1.9; }
@media (min-width: 640px) { .ov-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .ov-grid { grid-template-columns: repeat(4, 1fr); } }

/* ---------- ceremony explorer ---------- */
.explorer { padding-top: calc(var(--section) * 0.5); }
.cx-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; align-items: start; }
.cx-main { display: grid; gap: clamp(16px, 2vw, 26px); min-width: 0; }

/* navigator: sticky top chip bar on mobile, sticky side list on desktop */
.cx-nav {
  position: sticky; top: calc(var(--frame) + var(--header-h) + 14px); z-index: 20;
  margin-inline: calc(var(--gutter) * -1); padding: 8px var(--gutter);
  background: rgba(251, 248, 243, 0.88); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3);
  border-block: 1px solid var(--line);
  transition: top 0.5s var(--ease);
}
.cx-grid.hdr-hidden .cx-nav { top: 0; }
.cx-nav-title, .cx-nav-help { display: none; }
.cx-nav-list { list-style: none; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; }
.cx-nav-list::-webkit-scrollbar { display: none; }
.cx-link {
  display: flex; align-items: center; gap: 8px; white-space: nowrap;
  min-height: 44px; padding: 6px 14px 6px 8px; border-radius: 999px;
  font-weight: 700; font-size: 0.9rem; color: var(--wine-800);
  border: 1px solid var(--line-strong); background: var(--paper);
  transition: background 0.35s, color 0.35s, border-color 0.35s;
}
.cx-link svg { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--gold-100); color: var(--wine); flex: none; transition: background 0.35s, color 0.35s; }
.cx-link small { display: none; }
.cx-link:hover { border-color: var(--gold); }
.cx-link.is-active { background: var(--wine-800); border-color: var(--wine-800); color: #fff; }
.cx-link.is-active svg { background: var(--gold); color: var(--wine-900); }
.cx-link.is-calm.is-active { background: #2f3b52; border-color: #2f3b52; }
.cx-link.is-calm.is-active svg { background: #c5cdd9; color: #222b3c; }

@media (min-width: 1024px) {
  .cx-grid { grid-template-columns: 290px minmax(0, 1fr); gap: clamp(32px, 3.5vw, 56px); }
  .cx-nav {
    top: calc(var(--frame) + var(--header-h) + 30px); margin: 0; padding: 18px 14px;
    background: var(--paper); border: 0; border-radius: var(--radius-xl); box-shadow: var(--shadow-sm);
    backdrop-filter: none; -webkit-backdrop-filter: none;
  }
  .cx-grid.hdr-hidden .cx-nav { top: 24px; }
  .cx-nav-title { display: block; font-size: 0.78rem; font-weight: 700; color: var(--ink-mute); padding: 0 12px 10px; }
  .cx-nav-list { flex-direction: column; overflow: visible; gap: 2px; position: relative; }
  .cx-link { border: 0; border-radius: 14px; padding: 8px 10px; gap: 12px; background: transparent; white-space: normal; font-size: 0.95rem; line-height: 1.45; position: relative; }
  .cx-link svg { width: 38px; height: 38px; padding: 9px; border-radius: 12px; }
  .cx-link small { display: block; font-size: 0.74rem; font-weight: 500; color: var(--ink-mute); margin-top: 1px; transition: color 0.35s; }
  .cx-link.is-active small { color: rgba(255, 255, 255, 0.65); }
  .cx-link:hover:not(.is-active) { background: var(--cream); }
  .cx-link::after { content: ""; position: absolute; inset-inline-start: -14px; top: 50%; width: 3px; height: 0; border-radius: 3px; background: var(--gold); transform: translateY(-50%); transition: height 0.45s var(--ease); }
  .cx-link.is-active::after { height: 60%; }
  .cx-link.is-calm::after { background: #7d8aa0; }
  .cx-nav-help { display: grid; gap: 10px; margin-top: 16px; padding: 16px 12px 4px; border-top: 1px solid var(--line); }
  .cx-nav-help p { font-size: 0.85rem; color: var(--ink-soft); }
  .cx-nav-help .btn { justify-self: start; }
}
@media (max-height: 760px) and (min-width: 1024px) {
  .cx-link small { display: none; }
  .cx-link svg { width: 32px; height: 32px; padding: 7px; }
}

/* section cards */
.cx-sec { position: relative; background: var(--paper); border-radius: var(--radius-xl); padding: clamp(22px, 3.4vw, 48px); box-shadow: var(--shadow-sm); scroll-margin-top: 170px; }
.cx-head { display: flex; align-items: center; gap: 14px; }
.cx-num { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--gold-300); color: var(--gold); font-weight: 800; font-size: 0.95rem; }
.cx-title { font-size: clamp(1.4rem, 1.05rem + 1.4vw, 2.15rem); line-height: 1.4; }
.cx-intro { display: grid; gap: clamp(18px, 2.4vw, 34px); margin-top: clamp(16px, 2vw, 24px); align-items: center; }
.cx-intro .lead { font-size: clamp(1rem, 0.95rem + 0.25vw, 1.15rem); }
.cx-more { margin-top: 16px; }
@media (min-width: 760px) { .cx-intro { grid-template-columns: 1.15fr 0.85fr; } }

.cx-note { display: flex; gap: 14px; align-items: flex-start; margin-top: 20px; padding: 16px 18px; border-radius: 18px; background: var(--cream); }
.cx-note > svg { width: 30px; height: 30px; flex: none; color: var(--gold); margin-top: 2px; }
.cx-note b { color: var(--wine-800); display: block; margin-bottom: 2px; }
.cx-note p { font-size: 0.92rem; color: var(--ink-soft); line-height: 1.9; }
.cx-duo { display: grid; gap: 10px; margin-top: 20px; }
.cx-duo > div { padding: 16px 18px; border-radius: 18px; background: var(--cream); }
.cx-duo b { display: flex; align-items: center; gap: 8px; color: var(--wine-800); }
.cx-duo b svg { width: 18px; height: 18px; color: var(--gold); }
.cx-duo p { font-size: 0.9rem; color: var(--ink-soft); margin-top: 4px; line-height: 1.85; }
@media (min-width: 560px) { .cx-duo { grid-template-columns: 1fr 1fr; } }

.cx-flow { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; counter-reset: fl; }
.cx-flow li { counter-increment: fl; display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; border-radius: 999px; background: var(--cream); font-size: 0.86rem; font-weight: 600; color: var(--wine-800); }
.cx-flow li::before { content: counter(fl, persian); display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--wine-800); color: var(--gold-300); font-size: 0.78rem; font-weight: 800; }

.cx-label { display: flex; align-items: center; gap: 6px; margin: clamp(22px, 2.6vw, 32px) 0 12px; font-size: 0.82rem; font-weight: 700; color: var(--ink-mute); letter-spacing: 0; }
.cx-label svg { width: 16px; height: 16px; color: var(--gold); }
.cx-items { list-style: none; display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); }
.cx-items li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--ivory); border: 1px solid var(--line); font-weight: 600; font-size: 0.92rem; line-height: 1.6; color: var(--wine-800); transition: border-color 0.3s, transform 0.4s var(--ease); }
.cx-items li:hover { border-color: var(--gold-300); transform: translateY(-2px); }
.cx-items svg { width: 22px; height: 22px; flex: none; color: var(--gold); }
@media (max-width: 559px) {
  .cx-sec { padding: 22px 16px; border-radius: var(--radius-lg); }
  .cx-items { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .cx-items li { flex-direction: column; align-items: flex-start; gap: 6px; padding: 12px; font-size: 0.84rem; line-height: 1.55; }
  .cx-items svg { width: 20px; height: 20px; }
  .cx-box { padding: 14px; }
}

.cx-info { display: grid; gap: 10px; margin-top: clamp(18px, 2vw, 26px); }
.cx-box { padding: 16px 18px; border-radius: 18px; border: 1px solid var(--line); }
.cx-box .cx-label { margin-top: 0; }
.cx-links { display: flex; flex-wrap: wrap; gap: 6px; }
.cx-links a { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 4px 14px; border-radius: 999px; background: var(--gold-100); color: var(--wine-800); font-weight: 700; font-size: 0.85rem; transition: background 0.3s; }
.cx-links a::after { content: "‹"; color: var(--gold); font-weight: 800; }
.cx-links a:hover { background: var(--gold-300); }
.cx-p { font-size: 0.9rem; color: var(--ink-soft); line-height: 1.9; }
.cx-time { background: linear-gradient(150deg, var(--gold-100), var(--paper) 80%); border-color: rgba(175, 138, 50, 0.28); }
.cx-time dl { margin: 0; display: grid; gap: 8px; }
.cx-time dl div { display: grid; gap: 0; }
.cx-time dl div + div { padding-top: 8px; border-top: 1px dashed rgba(175, 138, 50, 0.3); }
.cx-time dt { font-size: 0.8rem; color: var(--ink-soft); line-height: 1.6; }
.cx-time dd { margin: 0; font-weight: 800; color: var(--wine-800); font-size: 0.95rem; line-height: 1.7; }
.cx-foot { margin-top: 14px; }
.cx-cta { margin-top: clamp(20px, 2.4vw, 28px); }
@media (min-width: 760px) { .cx-info { grid-template-columns: repeat(3, 1fr); } }
@media (pointer: coarse) { .cx-links a { min-height: 44px; } }

/* ---------- memorial: calm mode (navy/grey, no gold, no motion) ---------- */
.cx-calm { background: linear-gradient(165deg, #eef1f5, #dfe4ec); box-shadow: none; border: 1px solid rgba(47, 59, 82, 0.1); color: #34405a; }
.cx-calm .cx-title { color: #222b3c; }
.cx-calm .lead, .cx-calm .cx-p, .cx-calm .muted, .cx-calm .cx-foot { color: #4f5b72; }
.cx-calm .cx-num { border-color: #aab4c4; color: #53627c; }
.cx-calm .cx-label { color: #6b778c; }
.cx-calm .cx-items li { background: rgba(255, 255, 255, 0.62); border-color: rgba(47, 59, 82, 0.1); color: #222b3c; }
.cx-calm .cx-items li:hover { transform: none; border-color: rgba(47, 59, 82, 0.25); }
.cx-calm .cx-items svg { color: #7d8aa0; }
.cx-calm .cx-box { border-color: rgba(47, 59, 82, 0.14); background: rgba(255, 255, 255, 0.4); }
.cx-calm .tag { background: rgba(255, 255, 255, 0.75); color: #222b3c; }
.cx-calm .media { background: linear-gradient(150deg, #e9edf3, #c9d1dd); }
.cx-calm .media .media-art { color: rgba(47, 59, 82, 0.18); }
.cx-calm .media[data-slot]:not(.has-media)::after { background-image: none; padding-right: 12px; color: #222b3c; }
.cx-calm .btn-gold { background: #2f3b52; color: #fff; box-shadow: none; }
.cx-calm .btn-gold .chip { background: rgba(255, 255, 255, 0.14); color: #fff; }
.cx-calm .btn-gold:hover { background: #222b3c; box-shadow: none; }
.cx-calm *, .cx-calm *::before, .cx-calm *::after { animation: none !important; }
.cx-occasions { margin-top: 18px; }
.calm-contact { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: clamp(20px, 2.4vw, 28px); padding: 18px 20px; border-radius: 20px; background: rgba(255, 255, 255, 0.72); border: 1px solid rgba(47, 59, 82, 0.1); }
.calm-contact b { color: #222b3c; font-size: 1.05rem; }
.calm-contact p { font-size: 0.9rem; color: #4f5b72; margin-top: 2px; }
.calm-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.calm-call { display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 18px 8px 14px; border-radius: 14px; background: #2f3b52; color: #fff; font-weight: 700; direction: rtl; transition: background 0.3s; }
.calm-call:hover { background: #222b3c; }
.calm-call svg { width: 20px; height: 20px; color: #c5cdd9; flex: none; }
.calm-call span { display: flex; flex-direction: column; line-height: 1.4; }
.calm-call small { font-size: 0.72rem; font-weight: 500; opacity: 0.7; }
@media (max-width: 559px) { .calm-actions, .calm-call { width: 100%; } }

/* ---------- side services bento ---------- */
.sx-bento { align-items: stretch; }
.sx-card { display: flex; flex-direction: column; min-width: 0; }
.sx-body { grid-template-columns: minmax(0, 1fr); }
.sx-head { display: flex; gap: 16px; align-items: flex-start; }
.sx-head .ico-badge { margin: 0; flex: none; }
.sx-head p { margin-top: 6px; color: var(--ink-soft); font-size: 0.94rem; line-height: 1.9; }
.sx-body { display: grid; gap: 22px; margin-top: 24px; }
.sx-tabs { display: flex; gap: 6px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(clamp(22px, 2.6vw, 36px) * -1); padding-inline: clamp(22px, 2.6vw, 36px); padding-block: 2px; }
.sx-tabs::-webkit-scrollbar { display: none; }
.sx-card > .sx-tabs { margin-top: 22px; }
.sx-tabs .tab-btn { flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 6px 16px; font-size: 0.88rem; white-space: nowrap; background: var(--paper); }
.sx-tabs .tab-btn[aria-selected="true"] { background: var(--wine-800); color: #fff; }
.sx-panels { min-width: 0; }
.sx-card > .sx-panels { margin-top: 20px; }
.sx-panel { display: grid; gap: 18px; align-items: center; }
.sx-panel h4 { font-size: 1.2rem; color: var(--wine-800); }
.sx-panel p { color: var(--ink-soft); margin-top: 8px; line-height: 1.95; font-size: 0.95rem; }
.sx-panel .tags { margin-top: 14px; }
.sx-hint { margin-top: 10px !important; }
.sx-card .card-foot { margin-top: auto; padding-top: 20px; }
@media (min-width: 760px) {
  .sx-panel { grid-template-columns: 1.1fr 0.9fr; gap: 28px; }
}
@media (min-width: 1024px) {
  .sx-decor .sx-body { grid-template-columns: 300px minmax(0, 1fr); gap: 36px; align-items: start; }
  .sx-decor .sx-tabs { flex-wrap: wrap; overflow: visible; margin: 0; padding: 0; align-content: flex-start; }
  .sx-card.b-7 .sx-tabs { flex-wrap: wrap; overflow: visible; margin-inline: 0; padding-inline: 0; }
  .sx-panel-s { grid-template-columns: 1fr; gap: 20px; }
  .sx-panel-s .media { --ar: 16/8 !important; order: -1; }
}

/* music (dark) */
.pm-band { margin-top: 24px; padding: 18px; border-radius: 18px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(226, 201, 143, 0.18); }
.pm-name { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-weight: 700; color: var(--gold-100); font-size: 0.9rem; }
.pm-name .latin { font-size: 1.1rem; letter-spacing: 0.22em; color: var(--gold-300); }
.pm-tiers { list-style: none; display: grid; gap: 10px; margin-top: 14px; }
.pm-tiers li { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 12px; }
.pm-tiers b { font-size: 1.9rem; font-weight: 800; color: var(--gold-300); line-height: 1; text-align: center; }
.pm-tiers span { color: #fff; font-weight: 600; font-size: 0.92rem; line-height: 1.5; }
.pm-tiers small { display: block; font-weight: 400; font-size: 0.74rem; color: rgba(255, 255, 255, 0.55); }
.pm-tiers i { height: 20px; width: calc(var(--n) * 9px); background: repeating-linear-gradient(90deg, var(--gold-300) 0 3px, transparent 3px 9px); border-radius: 2px; opacity: 0.85; }
.sx-list { list-style: none; margin-top: 16px; }
.sx-list li { display: flex; gap: 12px; align-items: flex-start; padding: 11px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); font-size: 0.9rem; color: rgba(255, 255, 255, 0.72); line-height: 1.8; }
.sx-list li:last-child { border-bottom: 0; }
.sx-list svg { width: 20px; height: 20px; color: var(--gold-300); flex: none; margin-top: 4px; }
.sx-list b { color: #fff; margin-inline-end: 4px; }
.sx-music .media { margin-top: 16px; }

/* photo */
.sx-photo-grid { display: grid; gap: clamp(22px, 3vw, 44px); align-items: center; }
.ph-trio { display: grid; gap: 10px; margin-top: 24px; }
.ph-item { padding: 16px 18px; border-radius: 18px; background: rgba(255, 255, 255, 0.7); }
.ph-item svg { width: 26px; height: 26px; color: var(--gold); }
.ph-item h4 { font-size: 1rem; color: var(--wine-800); margin-top: 8px; }
.ph-item p { font-size: 0.86rem; color: var(--ink-soft); line-height: 1.8; margin-top: 2px; }
.ph-offer { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-weight: 600; color: var(--wine-800); font-size: 0.92rem; }
.ph-offer b { padding: 4px 12px; border-radius: 10px; background: linear-gradient(135deg, var(--gold-300), var(--gold)); color: var(--wine-900); }
@media (min-width: 640px) { .ph-trio { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) { .sx-photo-grid { grid-template-columns: 1.25fr 0.75fr; } }

/* ---------- contact prefill highlight ---------- */
.field.is-prefilled select, .field.is-prefilled textarea { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(175, 138, 50, 0.18); transition: box-shadow 0.6s, border-color 0.6s; }
