/* ===== Shared page components (home, wedding, packages, …) ===== */
.home-hero { min-height: max(680px, calc(100svh - var(--frame) * 2)); }
/* headline trio «تشریفات … ثمین» at 35% of the original size (−65%), with a readable floor on phones */
.home-hero .display { font-size: clamp(1.5rem, 0.42rem + 2.24vw, 2.45rem); line-height: 1.5; }
.home-hero .display .row { display: block; }
.home-hero .display .rotator > span { font-size: 1.12em; }
.home-hero .h1-sub { display: block; font-size: clamp(1rem, 0.8rem + 0.9vw, 1.5rem); font-weight: 600; color: rgba(255, 255, 255, 0.82); margin-top: 10px; }
.home-hero .eyebrow { margin-bottom: 26px; }
.home-hero .hero-meta { bottom: calc(clamp(60px, 8vw, 120px) + 18px); }
@media (max-width: 767px) { .home-hero .hero-meta { display: none; } }

/* trusted marquee */
.trusted { padding-block: clamp(40px, 5vw, 70px) 10px; }
.trusted-label { text-align: center; font-size: 0.85rem; font-weight: 700; color: var(--ink-mute); margin-bottom: 18px; letter-spacing: 0; }

/* manifesto */
.manifesto .statement { font-size: clamp(1.6rem, 0.9rem + 3vw, 3.4rem); }
.manifesto-sign { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-top: 40px; }
.manifesto-sign .sig { font-family: var(--font-accent); color: var(--gold); font-size: 1.25rem; font-weight: 800; }
.listen-btn { display: inline-flex; align-items: center; gap: 12px; padding: 8px 8px 8px 20px; border-radius: 999px; background: var(--paper); box-shadow: var(--shadow-sm); border: 1px solid var(--line); font-weight: 700; color: var(--wine-800); flex-direction: row-reverse; }
.listen-btn .pb { width: 40px; height: 40px; border-radius: 50%; background: var(--wine-800); color: var(--gold-300); display: grid; place-items: center; }
.listen-btn .pb svg { width: 16px; height: 16px; }
.listen-btn .bars { display: inline-flex; gap: 2px; align-items: center; height: 18px; }
.listen-btn .bars i { width: 3px; height: 6px; border-radius: 2px; background: var(--gold); transition: height 0.2s; }
.listen-btn.is-playing .bars i { animation: scWave 0.9s ease-in-out infinite; }
.listen-btn.is-playing .bars i:nth-child(2) { animation-delay: 0.15s; }
.listen-btn.is-playing .bars i:nth-child(3) { animation-delay: 0.3s; }
.listen-btn.is-playing .bars i:nth-child(4) { animation-delay: 0.45s; }

/* services bento */
.svc-card h3 { margin-top: 4px; }
.svc-card .media { margin-top: 24px; }
.svc-card.card-dark .media { --ar: 16/9; }
.svc-card .card-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.mini-flowers { display: flex; gap: 8px; margin-top: 18px; flex-wrap: wrap; }
.mini-flowers span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px 6px 14px; border-radius: 999px; background: var(--paper); font-weight: 700; font-size: 0.85rem; color: var(--wine-800); }
.mini-flowers svg { width: 18px; height: 18px; color: var(--gold); }

/* ceremonies tabs */
.ceremony-panel { display: grid; gap: clamp(20px, 3vw, 48px); align-items: center; }
.ceremony-panel .media { --ar: 5/4; }
.ceremony-panel .h3 { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.3rem); }
.ceremony-panel .checks { margin-top: 22px; }
.ceremony-panel .btn-row { margin-top: 28px; }
.ceremonies { transition: background-color 0.8s var(--ease); }
.ceremonies.calm { background: #eef1f5; }
.ceremonies.calm .hl { color: #53627c; }
.ceremonies.calm .tab-btn[aria-selected="true"] { background: #2f3b52; border-color: #2f3b52; }
@media (min-width: 900px) { .ceremony-panel { grid-template-columns: 1fr 1fr; } }

/* package cards */
.pkg-grid { display: grid; gap: clamp(12px, 1.4vw, 20px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.pkg {
  --tint: #fbf3e2;
  position: relative; border-radius: var(--radius-lg); padding: 26px 24px 24px; background: var(--paper);
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 14px; overflow: hidden; isolation: isolate;
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
}
.pkg::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 120px; background: linear-gradient(180deg, var(--tint), transparent); z-index: -1; }
.pkg::after { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(175, 138, 50, 0.22); border-radius: calc(var(--radius-lg) - 8px); pointer-events: none; }
.pkg:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.pkg .pkg-ico { width: 58px; height: 58px; border-radius: 50%; background: #fff; box-shadow: 0 6px 20px -8px rgba(74, 61, 28, 0.35); display: grid; place-items: center; color: var(--wine); }
.pkg .pkg-ico svg { width: 30px; height: 30px; }
.pkg h3 { font-size: 1.45rem; }
.pkg .tagline { color: var(--ink-soft); font-size: 0.92rem; line-height: 1.8; margin-top: -6px; }
.pkg .meter { display: grid; gap: 9px; margin-top: 4px; }
.pkg .meter div { display: grid; grid-template-columns: 92px 1fr auto; align-items: center; gap: 10px; font-size: 0.8rem; color: var(--ink-soft); }
.pkg .meter b { color: var(--wine-800); font-size: 0.85rem; }
.pkg .bar { height: 6px; border-radius: 6px; background: var(--cream); overflow: hidden; }
.pkg .bar i { display: block; height: 100%; width: var(--v, 50%); border-radius: inherit; background: linear-gradient(90deg, var(--gold-300), var(--gold)); transform-origin: right; transform: scaleX(0); transition: transform 1.4s var(--ease); }
.pkg.is-in .bar i { transform: scaleX(1); }
.pkg .gift { font-size: 0.85rem; line-height: 1.8; padding: 10px 12px; border-radius: 12px; background: var(--gold-100); color: var(--bronze); }
.pkg .gift b { color: var(--wine); }
.pkg .btn { margin-top: auto; }
.pkg.is-featured { background: var(--wine-800); color: rgba(255, 255, 255, 0.8); }
.pkg.is-featured::before { background: linear-gradient(180deg, rgba(201, 164, 92, 0.25), transparent); }
.pkg.is-featured h3 { color: #fff; }
.pkg.is-featured .tagline, .pkg.is-featured .meter div { color: rgba(255, 255, 255, 0.7); }
.pkg.is-featured .meter b { color: var(--gold-300); }
.pkg.is-featured .bar { background: rgba(255, 255, 255, 0.1); }
.pkg.is-featured .gift { background: rgba(226, 201, 143, 0.12); color: var(--gold-100); }
.pkg.is-featured .gift b { color: var(--gold-300); }
.pkg .badge { position: absolute; top: 20px; left: 20px; }

/* 16 hours timeline with day→night clock */
.day-section { overflow: clip; }
.day-grid { display: grid; gap: 40px; }
.day-clock-wrap { position: sticky; top: calc(var(--header-h) + 40px); align-self: start; }
.sky-card {
  --p: 0;
  position: relative; width: min(470px, 100%); margin-inline: auto; aspect-ratio: 1 / 1.02;
  border-radius: 34px; overflow: hidden; isolation: isolate;
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.75), inset 0 0 0 1px rgba(255, 255, 255, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.sky-layer { position: absolute; inset: 0; z-index: -3; transition: opacity 1.2s var(--ease); }
.sky-layer::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 60% at 50% 100%, rgba(255, 255, 255, 0.12), transparent 60%), linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 30%); }
.sky-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(90% 60% at 50% 115%, rgba(0, 0, 0, 0.45), transparent 70%); pointer-events: none; }
.sky-card::after { content: ""; position: absolute; inset: 0; z-index: 5; pointer-events: none; border-radius: inherit; background: linear-gradient(135deg, rgba(255, 255, 255, 0.16), transparent 32%); mix-blend-mode: soft-light; }
.sky-stars { position: absolute; inset: 0 0 40% 0; z-index: -2; opacity: 0; transition: opacity 1.4s var(--ease); }
.sky-stars i { position: absolute; width: 2px; height: 2px; border-radius: 50%; background: #fff; animation: twinkle 3s ease-in-out infinite; }
.sky-card.is-night .sky-stars { opacity: 1; }
@keyframes twinkle { 50% { opacity: 0.25; transform: scale(0.6); } }
.sky-arc { position: absolute; inset: 7% 6% auto; width: 88%; overflow: visible; }
.sky-arc #arcProg { transition: stroke-dashoffset 1.2s var(--ease); }
.sky-arc #arcBody { transition: transform 1.2s var(--ease); }
.sky-arc .sun, .sky-arc .moon { transition: opacity 0.9s var(--ease); }
.sky-arc .moon { opacity: 0; }
.sky-card.is-night .sky-arc .sun { opacity: 0; }
.sky-card.is-night .sky-arc .moon { opacity: 1; }
.sky-arc .win { transition: fill 1.2s var(--ease); }
.sky-card.is-night .sky-arc .win { fill: rgba(255, 214, 140, 0.9); }
.sky-card.is-night .mansion { stroke: rgba(255, 226, 170, 0.55); }
.sky-readout { position: absolute; inset: auto 0 15% 0; display: flex; flex-direction: column; align-items: center; text-align: center; color: #fff; padding-inline: 28px; }
.sky-label { font-size: 0.8rem; font-weight: 700; padding: 3px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.2); backdrop-filter: blur(6px); }
.sky-time { font-size: clamp(2.6rem, 2rem + 2vw, 3.6rem); font-weight: 300; letter-spacing: 0.02em; line-height: 1.25; direction: ltr; margin-top: 6px; text-shadow: 0 6px 30px rgba(0, 0, 0, 0.25); font-variant-numeric: tabular-nums; }
.sky-caption { font-size: 0.9rem; line-height: 1.8; color: rgba(255, 255, 255, 0.82); min-height: 3.6em; max-width: 330px; margin-top: 2px; transition: opacity 0.4s; }
.sky-progress { position: absolute; inset: auto 28px 7% 28px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, 0.16); overflow: hidden; }
.sky-progress i { position: absolute; inset: 0 0 0 auto; width: calc(var(--p) * 100%); border-radius: inherit; background: linear-gradient(270deg, #ffe7b0, #f3b46f, #d9a050, #7a78c0); transition: width 1.2s var(--ease); }
.sky-fireworks { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity 0.6s; }
.sky-card.is-fireworks .sky-fireworks { opacity: 1; }
.sky-fireworks i { position: absolute; width: 90px; height: 90px; border-radius: 50%; background: radial-gradient(circle, transparent 38%, rgba(255, 220, 150, 0.95) 40%, transparent 42%), repeating-conic-gradient(from 0deg, rgba(255, 210, 140, 0.9) 0 3deg, transparent 3deg 20deg); -webkit-mask: radial-gradient(circle, transparent 20%, #000 22%, #000 48%, transparent 50%); mask: radial-gradient(circle, transparent 20%, #000 22%, #000 48%, transparent 50%); transform: scale(0); animation: burst 2.4s ease-out infinite; }
.sky-fireworks i:nth-child(1) { top: 16%; left: 18%; }
.sky-fireworks i:nth-child(2) { top: 8%; left: 58%; animation-delay: 0.8s; filter: hue-rotate(-40deg); }
.sky-fireworks i:nth-child(3) { top: 26%; left: 70%; animation-delay: 1.5s; width: 70px; height: 70px; filter: hue-rotate(40deg); }
@keyframes burst { 0% { transform: scale(0); opacity: 1; } 70% { opacity: 0.9; } 100% { transform: scale(1.3); opacity: 0; } }
.day-steps { list-style: none; display: grid; gap: 14px; counter-reset: s; }
.day-step { display: grid; grid-template-columns: 76px 1fr; gap: 18px; align-items: start; padding: 20px 22px; border-radius: var(--radius); background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.06); transition: background 0.5s, border-color 0.5s, opacity 0.5s, transform 0.5s var(--ease); opacity: 0.45; }
.day-step.is-active { background: rgba(255, 255, 255, 0.09); border-color: rgba(226, 201, 143, 0.35); opacity: 1; transform: translateX(-6px); }
.day-step time { font-weight: 800; font-size: 1.25rem; color: var(--gold-300); direction: ltr; text-align: right; }
.day-step p { color: rgba(255, 255, 255, 0.85); line-height: 1.9; }
.day-closing { margin-top: 40px; font-size: clamp(1.2rem, 1rem + 1vw, 1.8rem); color: #fff; font-weight: 700; line-height: 1.7; }
@media (min-width: 960px) { .day-grid { grid-template-columns: 0.9fr 1.1fr; gap: 70px; } }

/* why samin */
.why-card .ico-badge { margin-bottom: 16px; }
.why-card h3 { font-size: 1.2rem; }

/* golden offers banner */
.offers { display: grid; gap: 30px; align-items: center; }
.offers .offer-list { list-style: none; display: grid; gap: 12px; margin-top: 26px; }
.offers .offer-list li { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 16px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(226, 201, 143, 0.16); color: #fff; font-weight: 600; }
.offers .offer-list .pct { flex: none; min-width: 64px; padding: 4px 10px; border-radius: 10px; background: linear-gradient(135deg, #e2c98f, #af8a32); color: var(--wine-900); font-weight: 800; text-align: center; font-size: 0.9rem; }
.offers .media { --ar: 4/5; }
@media (min-width: 960px) { .offers { grid-template-columns: 1.1fr 0.9fr; gap: 60px; } }

/* style episodes slider */
.style-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; background: var(--paper); box-shadow: var(--shadow-sm); height: 100%; transition: transform 0.6s var(--ease); }
.style-card:hover { transform: translateY(-6px); }
.style-card .media { border-radius: 0; --ar: 4/5; }
.style-card .sc-num { position: absolute; top: 16px; right: 16px; z-index: 2; font-family: var(--font-latin); font-size: 1.1rem; color: #fff; background: rgba(20, 16, 9, 0.45); backdrop-filter: blur(6px); padding: 2px 12px; border-radius: 999px; }
.style-card .body { padding: 20px 22px 22px; display: grid; gap: 8px; }
.style-card h3 { font-size: 1.25rem; }
.style-card p { color: var(--ink-soft); font-size: 0.92rem; line-height: 1.8; }
.palette { display: flex; gap: 6px; margin-top: 4px; }
.palette i { width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.08); }

/* moments (video cards) */
.moment { position: relative; border-radius: var(--radius-lg); overflow: hidden; display: block; }
.moment .media { border-radius: 0; --ar: 3/4; }
.moment .overlay { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; background: linear-gradient(to top, rgba(20, 16, 9, 0.85), transparent 55%); color: #fff; z-index: 2; }
.moment .overlay b { font-size: 1.15rem; }
.moment .overlay span { font-size: 0.85rem; opacity: 0.75; }
.moment .play { position: absolute; top: 18px; left: 18px; z-index: 2; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.2); backdrop-filter: blur(10px); color: #fff; transition: transform 0.4s var(--ease), background 0.3s; }
.moment:hover .play { transform: scale(1.1); background: var(--gold); color: var(--wine-900); }
.moment .play svg { width: 20px; height: 20px; }

/* process */
.steps { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); counter-reset: st; }
.step { position: relative; padding: 28px 24px; border-radius: var(--radius-lg); background: var(--paper); box-shadow: var(--shadow-sm); counter-increment: st; }
.step::before { content: counter(st, persian); display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--wine-800); color: var(--gold-300); font-weight: 800; font-size: 1.2rem; margin-bottom: 18px; }
.step h3 { font-size: 1.15rem; }
.step p { margin-top: 8px; color: var(--ink-soft); font-size: 0.93rem; line-height: 1.9; }

.faq-wrap { display: grid; gap: 40px; }
@media (min-width: 960px) { .faq-wrap { grid-template-columns: 0.8fr 1.2fr; gap: 70px; } .faq-aside { position: sticky; top: 120px; align-self: start; } }

/* ===== Home: founder (luxury) ===== */
.home-founder { overflow: clip; }
.home-founder .hf-lines { position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background:
    radial-gradient(60% 70% at 15% 30%, rgba(201, 164, 92, 0.22), transparent 60%),
    radial-gradient(50% 60% at 95% 90%, rgba(201, 164, 92, 0.14), transparent 60%),
    repeating-linear-gradient(115deg, transparent 0 46px, rgba(226, 201, 143, 0.045) 46px 47px); }
.hf-grid { position: relative; display: grid; gap: clamp(40px, 6vw, 90px); align-items: center; }
.home-founder .hf-name {
  font-size: clamp(2.8rem, 1.6rem + 4.6vw, 5.6rem); font-weight: 900; line-height: 1.15; margin-top: 4px;
  background: linear-gradient(100deg, #b98d36 0%, #f6e3b0 22%, #c9a45c 40%, #fff3cf 52%, #af8a32 70%, #e2c98f 100%);
  background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: hfSheen 7s ease-in-out infinite;
  filter: drop-shadow(0 10px 30px rgba(175, 138, 50, 0.25));
}
@keyframes hfSheen { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0% 0; } }
.hf-role { font-size: clamp(1.1rem, 0.95rem + 0.6vw, 1.45rem); font-weight: 600; color: rgba(255, 255, 255, 0.86); margin-top: 6px; }
.hf-rule { display: flex; align-items: center; gap: 14px; color: var(--gold-400); margin: 22px 0 20px; }
.hf-rule::after { content: ""; height: 1px; flex: 0 1 220px; background: linear-gradient(90deg, transparent, rgba(226, 201, 143, 0.6)); }
.hf-rule svg { width: 38px; height: 20px; }
.home-founder .lead b { color: var(--gold-300); font-weight: 700; }
.hf-facts { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
.hf-facts li { padding: 14px 16px; border-radius: 16px; background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015)); border: 1px solid rgba(226, 201, 143, 0.16); }
.hf-facts b { display: block; color: var(--gold-300); font-size: 1.05rem; font-weight: 800; line-height: 1.6; }
.hf-facts li > span { display: block; color: rgba(255, 255, 255, 0.66); font-size: 0.86rem; line-height: 1.8; }
.hf-quote { margin: 26px 0 0; padding: 4px 18px 4px 0; border-right: 2px solid var(--gold); position: relative; }
.hf-quote svg { width: 26px; height: 26px; color: var(--gold); opacity: 0.6; }
.hf-quote p { color: #fff; font-size: clamp(1.15rem, 1rem + 0.5vw, 1.4rem); font-weight: 700; line-height: 1.8; margin-top: 4px; }
.home-founder .btn-row { margin-top: 30px; }

.hf-media { position: relative; margin: 0; padding: 18px; }
.hf-frame { position: relative; border-radius: 30px; padding: 7px; overflow: hidden;
  background: linear-gradient(135deg, #f6e3b0, #af8a32 30%, #5e4a1f 55%, #c9a45c 75%, #f6e3b0);
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(226, 201, 143, 0.25); }
.hf-frame img { display: block; width: 100%; aspect-ratio: 4 / 4.2; object-fit: cover; object-position: 62% 30%; border-radius: 24px; transition: transform 1.6s var(--ease); }
.hf-media:hover .hf-frame img { transform: scale(1.03); }
.hf-shine { position: absolute; inset: 7px; border-radius: 24px; pointer-events: none; overflow: hidden; }
.hf-shine::before { content: ""; position: absolute; top: -20%; bottom: -20%; width: 30%; left: -40%; transform: skewX(-18deg); background: linear-gradient(90deg, transparent, rgba(255, 245, 220, 0.28), transparent); animation: hfShine 6.5s ease-in-out infinite; }
@keyframes hfShine { 0%, 55% { left: -40%; } 100% { left: 130%; } }
.hf-corner { position: absolute; width: 46px; height: 46px; border: 2px solid var(--gold-400); opacity: 0.8; }
.hf-corner.c1 { top: 0; right: 0; border-left: 0; border-bottom: 0; border-top-right-radius: 18px; }
.hf-corner.c2 { top: 0; left: 0; border-right: 0; border-bottom: 0; border-top-left-radius: 18px; }
.hf-corner.c3 { bottom: 0; right: 0; border-left: 0; border-top: 0; border-bottom-right-radius: 18px; }
.hf-corner.c4 { bottom: 0; left: 0; border-right: 0; border-top: 0; border-bottom-left-radius: 18px; }
.hf-seal { position: absolute; top: -18px; left: -18px; width: 124px; height: 124px; animation: hfSpin 26s linear infinite; filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.5)); }
.hf-seal .seal-crown { animation: hfSpin 26s linear infinite reverse; transform-origin: 60px 60px; transform-box: view-box; }
@keyframes hfSpin { to { transform: rotate(360deg); } }
.hf-badge { position: absolute; bottom: -10px; right: -6px; padding: 14px 20px; border-radius: 18px; background: rgba(20, 16, 9, 0.82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(226, 201, 143, 0.35); box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.8); }
.hf-badge b { display: block; color: var(--gold-300); font-size: 1.7rem; font-weight: 900; line-height: 1.3; }
.hf-badge span { color: rgba(255, 255, 255, 0.75); font-size: 0.82rem; }
@media (min-width: 960px) { .hf-grid { grid-template-columns: 1fr 0.95fr; } }
@media (max-width: 959px) { .hf-media { order: -1; max-width: 560px; margin-inline: auto; } }
@media (max-width: 520px) { .hf-facts { grid-template-columns: 1fr; } .hf-seal { width: 92px; height: 92px; top: -8px; left: -8px; } }
