/* =========================================================================
   BPM course landing page — styles
   Visual language: BPMN notation (events, tasks, gateways, data objects,
   pools & lanes) used as the page's structural vocabulary.
   ========================================================================= */

@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/Vazirmatn-Variable.woff2") format("woff2-variations"),
       url("../fonts/Vazirmatn-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #101D35;
  --navy-2: #15284A;
  --navy-3: #0B1529;
  --blue: #183B64;
  --teal: #16A6A0;
  --teal-ink: #0B7A75;
  --teal-soft: #E3F4F3;
  --bg: #F5F7FA;
  --white: #FFFFFF;
  --gold: #E9A23B;
  --gold-ink: #8A5A0F;
  --gold-soft: #FDF3E2;
  --ink: #101D35;
  --text: #2A3650;
  --muted: #56627A;
  --line: #DCE2EB;
  --line-strong: #C3CCD9;
  --on-dark: #E8EDF5;
  --on-dark-muted: #A9B6CC;
  --line-dark: rgba(255, 255, 255, .14);
  --tg: #1C78AD;
  --tg-hover: #16679A;
  --danger: #B3261E;

  --font: "Vazirmatn", "IRANSansX", Tahoma, "Segoe UI", system-ui, -apple-system, sans-serif;
  --r-task: 8px;     /* BPMN task: rounded rectangle */
  --r-panel: 14px;
  --container: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --section-y: clamp(64px, 9vw, 116px);
  --header-h: 68px;
  --shadow: 0 1px 2px rgba(16, 29, 53, .06), 0 8px 24px -12px rgba(16, 29, 53, .18);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.85;
  color: var(--text);
  background: var(--bg);
  font-feature-settings: "ss01" 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--teal-ink); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.4; margin: 0 0 .5em; font-weight: 800; }
h2 { font-size: clamp(1.6rem, 1.15rem + 1.9vw, 2.35rem); letter-spacing: -.01em; }
h3 { font-size: 1.15rem; font-weight: 700; }
h4 { font-size: 1rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd { margin: 0; }
small { font-size: .82em; }
[lang="en"] { font-feature-settings: normal; }
[hidden] { display: none !important; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
.section-navy :focus-visible, .hero :focus-visible, .final-cta :focus-visible, .site-header :focus-visible, .site-footer :focus-visible { outline-color: var(--gold); }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--gold); color: var(--navy); padding: 8px 16px; border-radius: 6px; font-weight: 700; }
.skip-link:focus { top: 12px; }

.ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.ico .fill, .ico use { }
.ico-lg { width: 28px; height: 28px; }
symbol .fill { fill: currentColor; stroke: none; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container.narrow { max-width: 920px; }
.section { padding-block: var(--section-y); }
.section-white { background: var(--white); }
.section-tint { background: var(--bg); }
.section-navy { background: var(--navy); color: var(--on-dark); }
.section-navy h2, .section-navy h3 { color: var(--white); }
.lead { font-size: 1.15rem; color: var(--ink); font-weight: 500; }

.section-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.section-head-row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section-head-row > div { max-width: 640px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 10px 22px;
  border-radius: var(--r-task); border: 1.5px solid transparent;
  font-weight: 700; font-size: 1rem; line-height: 1.4; text-decoration: none; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 40px; padding: 6px 16px; font-size: .95rem; }
.btn-lg { min-height: 56px; padding: 14px 28px; font-size: 1.06rem; }
.btn-block { display: flex; width: 100%; }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: #F0B357; color: var(--navy); }
.btn-outline { border-color: var(--line-strong); color: var(--ink); background: var(--white); }
.btn-outline:hover { border-color: var(--ink); color: var(--ink); }
.btn-ghost-light { border-color: rgba(255,255,255,.35); color: var(--white); background: transparent; }
.btn-ghost-light:hover { border-color: var(--white); background: rgba(255,255,255,.06); color: var(--white); }
.btn-telegram { background: var(--tg); color: var(--white); }
.btn-telegram:hover { background: var(--tg-hover); color: var(--white); }
.btn-telegram .ico use, .btn .ico { }
.btn-text { background: none; border: 0; color: var(--teal-ink); padding-inline: 4px; min-height: 40px; text-decoration: underline; text-underline-offset: 4px; }
.btn-text:hover { color: var(--ink); }
.btn .ico { width: 20px; height: 20px; }
.btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
.btn[aria-disabled="true"]:active { transform: none; }
.inline-link { color: var(--teal); font-size: .9em; margin-inline-start: 6px; white-space: nowrap; }
.inline-link:hover { color: var(--white); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(16, 29, 53, .97);
  border-bottom: 1px solid var(--line-dark);
  backdrop-filter: saturate(140%) blur(8px);
}
.header-inner { display: flex; align-items: center; gap: 20px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; color: var(--white); text-decoration: none; flex: none; }
.brand:hover { color: var(--white); }
.brand-mark { width: 44px; height: 26px; fill: none; stroke: var(--teal); stroke-width: 1.8; }
.brand-mark .end { stroke-width: 2.6; stroke: var(--white); }
.brand-mark rect { stroke: var(--white); }
.brand-text { display: flex; flex-direction: column; line-height: 1.3; }
.brand-text strong { font-size: 1rem; }
.brand-text span { font-size: .78rem; color: var(--on-dark-muted); }
.main-nav { margin-inline-start: auto; }
.main-nav ul { display: flex; gap: 4px; }
.main-nav a { display: block; padding: 8px 12px; color: var(--on-dark); text-decoration: none; font-size: .95rem; font-weight: 500; border-radius: 6px; }
.main-nav a:hover, .main-nav a.is-active { color: var(--white); background: rgba(255,255,255,.07); }
.main-nav a.is-active { box-shadow: inset 0 -2px 0 var(--teal); border-radius: 6px 6px 0 0; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-dark); color: var(--white); width: 44px; height: 44px; border-radius: 8px; align-items: center; justify-content: center; cursor: pointer; }
.nav-toggle .ico { width: 24px; height: 24px; }

@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }
  .header-cta { margin-inline-start: auto; }
  .main-nav {
    position: absolute; top: var(--header-h); inset-inline: 0; margin: 0;
    background: var(--navy); border-bottom: 1px solid var(--line-dark);
    padding: 8px var(--gutter) 20px; display: none;
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav a { padding: 14px 8px; border-bottom: 1px solid var(--line-dark); border-radius: 0; font-size: 1.02rem; }
  .main-nav a.is-active { box-shadow: none; }
}
.header-cta { white-space: nowrap; }
@media (max-width: 420px) {
  .header-inner { gap: 10px; }
  .brand-text span { display: none; }
  .brand-mark { width: 36px; }
  .header-cta { padding-inline: 12px; font-size: .9rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background-color: var(--navy);
  /* modeling-canvas dot grid */
  background-image: radial-gradient(rgba(255,255,255,.09) 1px, transparent 1.2px);
  background-size: 22px 22px;
  color: var(--on-dark);
  padding-block: clamp(40px, 7vw, 96px) clamp(56px, 8vw, 104px);
}
.hero-grid { display: grid; gap: clamp(36px, 5vw, 64px); align-items: center; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 1.08fr .92fr; } }
.hero-kicker { color: var(--teal); font-weight: 600; font-size: .95rem; margin-bottom: 14px; text-align: right; letter-spacing: .01em; }
.hero h1 {
  color: var(--white);
  font-size: clamp(2.05rem, 1.2rem + 3.6vw, 3.55rem);
  line-height: 1.28; font-weight: 850; letter-spacing: -.015em;
  margin-bottom: 20px; max-width: 17ch;
}
.hero-sub { font-size: clamp(1.06rem, 1rem + .35vw, 1.22rem); color: var(--on-dark); max-width: 58ch; margin-bottom: 12px; }
.hero-support { color: var(--on-dark-muted); max-width: 58ch; margin-bottom: 28px; }
.hero-facts { display: grid; gap: 10px 24px; margin-bottom: 34px; }
@media (min-width: 560px) { .hero-facts { grid-template-columns: 1fr 1fr; } }
.hero-facts li { display: flex; align-items: flex-start; gap: 10px; color: var(--white); font-weight: 500; font-size: .98rem; line-height: 1.6; }
.hero-facts .ico { color: var(--teal); margin-top: 2px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 480px) { .hero-actions .btn { flex: 1 1 100%; } }

.hero-panel {
  background: var(--navy-2);
  border: 1px solid var(--line-dark);
  border-radius: var(--r-panel);
  padding: clamp(16px, 2.4vw, 24px);
}
.hero-diagram { margin: 0 0 18px; }
.hero-diagram svg { width: 100%; height: auto; font-family: var(--font); }
.d-pool { fill: rgba(255,255,255,.02); stroke: rgba(255,255,255,.22); stroke-width: 1.2; }
.d-pool-band { stroke: rgba(255,255,255,.22); stroke-width: 1.2; }
.d-pool-label { fill: var(--on-dark-muted); font-size: 12.5px; font-weight: 600; }
.d-flow { fill: none; stroke: rgba(255,255,255,.55); stroke-width: 1.6; }
.d-flow-alt { stroke-dasharray: 0; stroke: rgba(255,255,255,.28); }
.d-arrowhead { fill: rgba(255,255,255,.7); }
.d-flow-label { fill: var(--on-dark-muted); font-size: 12px; }
.d-start { fill: none; stroke: var(--teal); stroke-width: 2; }
.d-end { fill: none; stroke: var(--white); stroke-width: 4.5; }
.d-task { fill: var(--blue); stroke: rgba(255,255,255,.35); stroke-width: 1.4; }
.d-task-accent { stroke: var(--teal); stroke-width: 2; }
.d-task-t { fill: var(--white); font-size: 14px; font-weight: 700; }
.d-task-s { fill: var(--on-dark-muted); font-size: 11.5px; font-weight: 500; direction: ltr; }
.d-gateway { fill: var(--navy-2); stroke: var(--gold); stroke-width: 1.8; }
.d-gateway-x { stroke: var(--gold); stroke-width: 2.4; stroke-linecap: round; }
.d-label { fill: var(--on-dark); font-size: 13.5px; font-weight: 600; }
.d-data { fill: rgba(255,255,255,.06); stroke: var(--on-dark); stroke-width: 1.4; stroke-linejoin: round; }
.d-data-fold { fill: none; stroke: var(--on-dark); stroke-width: 1.4; stroke-linejoin: round; }
.d-assoc { stroke: var(--on-dark-muted); stroke-width: 1.3; stroke-dasharray: 2 4; stroke-linecap: round; }
.d-token { fill: var(--gold); filter: drop-shadow(0 0 6px rgba(233,162,59,.8)); }
@media (prefers-reduced-motion: reduce) { .d-token { display: none; } }

.hero-meta { display: grid; gap: 2px; border-top: 1px solid var(--line-dark); }
.hero-meta > div { display: grid; grid-template-columns: 128px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line-dark); font-size: .96rem; }
.hero-meta dt { display: flex; align-items: center; gap: 8px; color: var(--on-dark-muted); }
.hero-meta dt .ico { color: var(--teal); width: 18px; height: 18px; }
.hero-meta dd { color: var(--white); font-weight: 600; line-height: 1.6; }
.hero-meta dd small { color: var(--on-dark-muted); font-weight: 400; display: inline-block; }
@media (max-width: 480px) { .hero-meta > div { grid-template-columns: 1fr; gap: 2px; } }
.hero-offer { margin-top: 16px; padding: 16px 18px; border-radius: var(--r-task); background: rgba(233,162,59,.1); border: 1px solid rgba(233,162,59,.45); }
.hero-offer p { margin: 0; }
.hero-offer-label { color: var(--on-dark); font-size: .92rem; }
.hero-offer-date { color: var(--gold); font-size: clamp(1.3rem, 1.1rem + .8vw, 1.6rem); font-weight: 800; line-height: 1.5; }
.hero-offer-price { color: var(--on-dark-muted); font-size: .95rem; margin-top: 4px !important; }
.hero-offer-price strong { color: var(--white); font-size: 1.05rem; }
.hero-offer-price s { margin-inline-start: 8px; text-decoration-color: var(--gold); }

/* ---------- Countdown ---------- */
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.countdown > div {
  display: flex; flex-direction: column; align-items: center;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-task);
  padding: 8px 4px 6px;
}
.countdown span { font-size: clamp(1.35rem, 1rem + 1.2vw, 1.75rem); font-weight: 800; color: var(--ink); line-height: 1.2; }
.countdown small { color: var(--muted); font-size: .78rem; }
.countdown-dark > div { background: rgba(255,255,255,.05); border-color: var(--line-dark); }
.countdown-dark span { color: var(--gold); }
.countdown-dark small { color: var(--on-dark-muted); }

/* ---------- Phase switching (early / regular price) ---------- */
.phase-regular [data-phase="early"], .phase-early [data-phase="regular"] { display: none !important; }

/* ---------- Why ---------- */
.why-grid { display: grid; gap: 40px; }
@media (min-width: 960px) {
  .why-grid { grid-template-columns: 5fr 7fr; gap: 72px; }
  .why-intro { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; }
}
.why-intro p:not(.lead) { color: var(--muted); }
.why-intro .why-geo { color: var(--text); border-inline-start: 3px solid var(--teal); padding-inline-start: 14px; }
.why-intro .btn { margin-top: 8px; }
.why-list { border-top: 1px solid var(--line); }
.why-list li { display: grid; grid-template-columns: 52px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.why-list .ico-lg {
  width: 52px; height: 52px; padding: 12px; color: var(--teal-ink);
  background: var(--teal-soft); border-radius: var(--r-task);
}
.why-list h3 { margin-bottom: 4px; }
.why-list p { margin: 0; color: var(--muted); }

/* ---------- Skills grid ---------- */
.skills-grid { display: grid; gap: 14px; }
@media (min-width: 620px) { .skills-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .skills-grid { grid-template-columns: repeat(3, 1fr); } }
.skills-grid li {
  display: grid; grid-template-columns: auto 1fr; grid-template-rows: 1fr auto; gap: 6px 14px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-task);
  padding: 18px 20px;
}
.skills-grid .ico { grid-row: 1 / 3; width: 26px; height: 26px; color: var(--teal-ink); margin-top: 3px; }
.skills-grid p { margin: 0; color: var(--ink); font-weight: 600; line-height: 1.7; }
.skills-grid .tag { justify-self: start; font-size: .8rem; color: var(--muted); border: 1px solid var(--line); padding: 0 10px; border-radius: 99px; line-height: 1.9; }

/* ---------- Curriculum ---------- */
.sessions { position: relative; counter-reset: s; }
.sessions > li { position: relative; }
/* sequence flow connecting the session events */
.sessions > li:not(:last-child)::before {
  content: ""; position: absolute; inset-inline-start: 21px; top: 50px; bottom: -14px;
  border-inline-start: 1.6px solid var(--line-strong);
}
.session { border-bottom: 1px solid var(--line); }
.session summary {
  display: grid; grid-template-columns: 44px 1fr auto 24px; align-items: center; gap: 16px;
  padding: 18px 0; cursor: pointer; list-style: none;
}
.session summary::-webkit-details-marker, .faq summary::-webkit-details-marker, .tz-all summary::-webkit-details-marker { display: none; }
.s-num {
  position: relative; z-index: 1;
  width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: 50%; border: 1.6px solid var(--line-strong); background: var(--white);
  font-weight: 800; color: var(--ink); font-size: 1.02rem;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.s-title { display: flex; flex-direction: column; line-height: 1.5; }
.s-title strong { color: var(--ink); font-size: 1.08rem; font-weight: 700; }
.s-title [lang="en"] { color: var(--muted); font-size: .86rem; text-align: right; }
.s-date { font-size: .88rem; color: var(--muted); white-space: nowrap; }
.s-chev { color: var(--muted); transition: transform .25s var(--ease); }
.session[open] .s-chev, .faq details[open] .s-chev, .tz-all[open] .s-chev { transform: rotate(180deg); }
.session summary:hover .s-num { border-color: var(--teal); }
.session[open] .s-num { background: var(--teal); border-color: var(--teal); color: var(--navy); }
.s-body { padding: 0 60px 24px 0; }
[dir="ltr"] .s-body { padding: 0 0 24px 60px; }
.s-desc { color: var(--text); margin-bottom: 10px; }
.s-topics { display: grid; gap: 4px 24px; margin-bottom: 14px; }
@media (min-width: 640px) { .s-topics { grid-template-columns: 1fr 1fr; } }
.s-topics li { position: relative; padding-inline-start: 18px; color: var(--text); }
.s-topics li::before { content: ""; position: absolute; inset-inline-start: 2px; top: .8em; width: 7px; height: 7px; border: 1.5px solid var(--teal-ink); border-radius: 2px; }
.s-workshop {
  display: flex; gap: 12px; align-items: flex-start; margin: 0;
  background: var(--teal-soft); border-radius: var(--r-task); padding: 12px 16px; color: var(--ink);
}
.s-workshop .ico { color: var(--teal-ink); margin-top: 4px; }
.s-workshop-final { background: var(--gold-soft); }
.s-workshop-final .ico { color: var(--gold-ink); }
@media (max-width: 640px) {
  .session summary { grid-template-columns: 40px 1fr 20px; gap: 12px; }
  .s-num { width: 40px; height: 40px; }
  .sessions > li:not(:last-child)::before { inset-inline-start: 19px; top: 48px; }
  .s-date { grid-column: 2; grid-row: 2; margin-top: -8px; }
  .s-chev { grid-column: 3; grid-row: 1; }
  .s-body { padding-inline-start: 52px; padding-inline-end: 0; }
}

/* ---------- Project / deliverables pool ---------- */
.project-grid { display: grid; gap: 48px; }
@media (min-width: 1000px) { .project-grid { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; } .project-copy { position: sticky; top: calc(var(--header-h) + 32px); } }
.project-copy h2 { font-size: clamp(1.45rem, 1.1rem + 1.4vw, 2rem); line-height: 1.55; }
.project-copy p { color: var(--on-dark); }
.note { display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--line); background: var(--bg); padding: 14px 16px; border-radius: var(--r-task); font-size: .95rem; margin-top: 20px; }
.note p { margin: 0; color: var(--text); }
.note .ico { color: var(--teal-ink); margin-top: 3px; }
.note-dark { background: rgba(255,255,255,.04); border-color: var(--line-dark); }
.note-dark p { color: var(--on-dark-muted) !important; }
.note-dark .ico { color: var(--gold); }
.note-practical { border-color: rgba(22,166,160,.5); }
.note-practical strong { color: var(--white); }
.note-practical .ico { color: var(--teal); }

.pool { border: 1.2px solid rgba(255,255,255,.28); border-radius: 6px; overflow: hidden; }
.pool-head { display: grid; grid-template-columns: 1fr 1.25fr; background: rgba(255,255,255,.05); border-bottom: 1.2px solid rgba(255,255,255,.28); font-size: .85rem; color: var(--on-dark-muted); font-weight: 600; }
.pool-head span { padding: 8px 16px; }
.pool-head span + span { border-inline-start: 1.2px solid rgba(255,255,255,.28); }
.pool-row { display: grid; grid-template-columns: 1fr 1.25fr; position: relative; }
.pool-row > * { margin: 8px 16px; }
.pool-row + .pool-row { }
.pool-row::after { /* lane separator */
  content: ""; position: absolute; top: 0; bottom: 0; inset-inline-start: calc(100% / 2.25); border-inline-start: 1.2px solid rgba(255,255,255,.28);
}
.pr-task {
  display: flex; align-items: center; gap: 10px; align-self: center; position: relative;
  border: 1.4px solid rgba(255,255,255,.35); background: var(--blue); border-radius: var(--r-task);
  padding: 6px 12px; color: var(--white); font-weight: 600; font-size: .92rem;
}
.pr-task b { color: var(--teal); font-weight: 800; min-width: 1.3em; }
.pr-task::after { /* association to data object (dotted) */
  content: ""; position: absolute; inset-inline-end: -17px; top: 50%; width: 16px; border-top: 1.4px dotted var(--on-dark-muted);
}
.pr-data-group { display: flex; flex-direction: column; gap: 6px; }
.pr-data-group .pr-data { margin: 0; }
.pr-data {
  position: relative; align-self: center; justify-self: start;
  display: inline-block; padding: 6px 22px 6px 14px; font-size: .88rem; font-weight: 600; color: var(--white);
  background: rgba(255,255,255,.07); border: 1.4px solid var(--on-dark); border-radius: 2px; line-height: 1.5;
}
/* BPMN data object: dog-eared top-right corner */
.pr-data::before {
  content: ""; position: absolute; top: -1.4px; right: -1.4px; width: 12px; height: 12px;
  background: linear-gradient(to bottom left, var(--navy) 0 calc(50% - .7px), var(--on-dark) calc(50% - .7px) calc(50% + .7px), transparent calc(50% + .7px));
}
.pr-none { border-style: dashed; border-color: rgba(255,255,255,.3); background: none; color: var(--on-dark-muted); font-weight: 500; padding-inline: 12px; }
.pr-none::before { display: none; }
.pool-end { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-top: 1.2px solid rgba(255,255,255,.28); background: rgba(233,162,59,.08); color: var(--white); font-weight: 700; }
.end-event { width: 26px; height: 26px; border-radius: 50%; border: 4px solid var(--gold); flex: none; }
@media (max-width: 520px) {
  .pool-head, .pool-row { grid-template-columns: 1fr; }
  .pool-head span + span, .pool-row::after { display: none; }
  .pool-head span:first-child::after { content: " و خروجی"; }
  .pool-head span + span { display: none; }
  .pool-row { padding-block: 6px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .pool-row > * { margin: 4px 14px; }
  .pr-task::after { display: none; }
  .pr-task { justify-self: start; }
  .pr-data, .pr-data-group { margin-inline-start: 28px !important; }
}

/* ---------- Instructor ---------- */
.instructor-grid { display: grid; gap: 40px; }
@media (min-width: 960px) { .instructor-grid { grid-template-columns: 380px 1fr; gap: 64px; align-items: start; } .instructor-photo { position: sticky; top: calc(var(--header-h) + 32px); } }
.instructor-photo { margin: 0; max-width: 420px; }
.instructor-photo img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 30%; border-radius: var(--r-panel); background: var(--navy); }
.instructor-photo figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 4px 0; border-bottom: 2px solid var(--ink); padding-bottom: 10px; }
.instructor-photo figcaption strong { font-size: 1.25rem; color: var(--ink); }
.instructor-photo figcaption span { color: var(--muted); font-size: .95rem; }
.instructor-role { color: var(--teal-ink); font-weight: 600; font-size: .95rem; text-align: right; line-height: 1.7; }
.instructor-loc { display: flex; gap: 10px; align-items: flex-start; color: var(--text); }
.instructor-loc .ico { color: var(--teal-ink); margin-top: 4px; }

.career { margin: 28px 0; background: var(--navy); color: var(--on-dark); border-radius: var(--r-panel); padding: 22px clamp(18px, 3vw, 28px); }
.career-title { color: var(--white); font-size: 1.05rem; margin-bottom: 14px; }
.career-lane { position: relative; }
.career-lane::before { content: ""; position: absolute; inset-inline-start: 7px; top: 10px; bottom: 10px; border-inline-start: 1.6px solid rgba(255,255,255,.25); }
.career-item { position: relative; display: grid; grid-template-columns: 1fr; padding: 8px 0 14px; padding-inline-start: 32px; }
.career-item:last-child { padding-bottom: 0; }
.career-dot { position: absolute; inset-inline-start: 0; top: 14px; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--on-dark-muted); background: var(--navy); }
.career-item.is-current .career-dot { border-color: var(--teal); background: var(--teal); box-shadow: 0 0 0 4px rgba(22,166,160,.25); }
.career-when { font-size: .85rem; color: var(--on-dark-muted); }
.career-org { color: var(--white); font-size: 1.2rem; line-height: 1.4; }
.career-what { color: var(--on-dark); font-size: .95rem; }
.career-title { display: flex; align-items: center; gap: 8px; }
.career-title .ico { color: var(--teal); width: 18px; height: 18px; }
.career-role { color: var(--teal); font-weight: 600; font-size: .95rem; text-align: right; }
p.career-what { margin: 6px 0 0; line-height: 1.85; max-width: 62ch; }
.career-ir { background: var(--bg); color: var(--text); border: 1px solid var(--line); margin-top: -12px; }
.career-ir .career-title { color: var(--ink); }
.career-ir .career-title .ico { color: var(--teal-ink); }
.career-points { display: grid; gap: 10px; margin-bottom: 16px; }
.career-points li { position: relative; padding-inline-start: 20px; line-height: 1.8; font-size: .96rem; }
.career-points li::before { content: ""; position: absolute; inset-inline-start: 2px; top: .75em; width: 8px; height: 8px; border: 1.5px solid var(--teal-ink); border-radius: 2px; }
.career-orgs-label { font-size: .88rem; color: var(--muted); margin-bottom: 8px; }
.org-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.org-chips li { background: var(--white); border: 1px solid var(--line-strong); border-radius: 6px; padding: 2px 12px; font-size: .9rem; font-weight: 600; color: var(--ink); }

.instructor-facts { display: grid; gap: 0; border-top: 1px solid var(--line); }
@media (min-width: 680px) { .instructor-facts { grid-template-columns: 1fr 1fr; column-gap: 32px; } }
.instructor-facts > div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.instructor-facts dt { display: flex; gap: 8px; align-items: center; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.instructor-facts dt .ico { color: var(--teal-ink); width: 18px; height: 18px; }
.instructor-facts dd { color: var(--muted); font-size: .96rem; line-height: 1.75; }
.instructor-facts .fact-wide { grid-column: 1 / -1; }
.expertise { display: grid; gap: 8px; margin-top: 4px; }
.expertise li { position: relative; padding-inline-start: 18px; }
.expertise li::before { content: ""; position: absolute; inset-inline-start: 2px; top: .75em; width: 7px; height: 7px; background: var(--teal); border-radius: 50%; }
.expertise strong { color: var(--ink); }
.instructor-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }

/* ---------- Schedule ---------- */
.schedule-grid { display: grid; gap: 32px; }
@media (min-width: 980px) { .schedule-grid { grid-template-columns: 5fr 7fr; gap: 48px; align-items: start; } }
.facts { display: grid; border-top: 1px solid var(--line); }
.facts > div { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts dt { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.facts dt .ico { color: var(--teal-ink); width: 18px; height: 18px; }
.facts dd { color: var(--ink); font-weight: 600; }
@media (max-width: 440px) { .facts > div { grid-template-columns: 1fr; gap: 0; } }
.calendar { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-panel); padding: clamp(18px, 2.5vw, 26px); }
.calendar h3 small { color: var(--muted); font-weight: 500; }
.cal-row { display: grid; grid-template-columns: 70px 1.3fr 1fr auto; gap: 12px; align-items: baseline; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.cal-row:last-child { border-bottom: 0; }
.cal-n { color: var(--muted); font-size: .86rem; }
.cal-d { color: var(--ink); font-weight: 600; }
.cal-g { color: var(--muted); font-size: .86rem; text-align: right; }
.cal-t { color: var(--teal-ink); font-weight: 600; white-space: nowrap; }
@media (max-width: 600px) {
  .cal-row { grid-template-columns: 64px 1fr; row-gap: 0; }
  .cal-g { grid-column: 2; }
  .cal-t { grid-column: 2; }
}

/* ---------- Time converter ---------- */
.tz-box { border: 1px solid var(--line); border-radius: var(--r-panel); padding: clamp(18px, 3vw, 32px); background: var(--white); box-shadow: var(--shadow); }
.tz-cities { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-bottom: 24px; }
@media (min-width: 640px) { .tz-cities { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .tz-cities { grid-template-columns: repeat(6, 1fr); } }
.tz-city-btn {
  display: flex; flex-direction: column; align-items: flex-start; gap: 0;
  padding: 10px 14px; min-height: 60px; text-align: right;
  background: var(--bg); border: 1.5px solid var(--line); border-radius: var(--r-task); cursor: pointer; color: var(--ink);
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.tz-city-btn small { color: var(--muted); font-size: .78rem; line-height: 1.5; }
.tz-city-btn strong { font-size: 1rem; line-height: 1.5; }
.tz-city-btn:hover { border-color: var(--teal); }
.tz-city-btn[aria-checked="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.tz-city-btn[aria-checked="true"] small { color: var(--on-dark-muted); }
.tz-city-btn[aria-checked="true"] strong::after { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); margin-inline-start: 8px; vertical-align: middle; }
.tz-result { border-inline-start: 4px solid var(--teal); padding: 4px 18px; margin-bottom: 18px; }
.tz-city { color: var(--muted); margin-bottom: 2px; font-weight: 600; }
.tz-city [lang="en"] { font-weight: 400; font-size: .88rem; }
.tz-time { font-size: clamp(1.3rem, 1rem + 1.2vw, 1.75rem); font-weight: 800; color: var(--ink); line-height: 1.5; margin-bottom: 6px; }
.tz-first { color: var(--text); margin-bottom: 4px; }
.tz-note { display: flex; gap: 8px; color: var(--gold-ink); background: var(--gold-soft); padding: 8px 12px; border-radius: 6px; font-size: .93rem; margin: 8px 0 0; }
.tz-all summary { display: flex; align-items: center; gap: 8px; cursor: pointer; color: var(--teal-ink); font-weight: 600; list-style: none; padding: 6px 0; }
.tz-table-wrap { overflow-x: auto; margin-top: 8px; }
.tz-table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.tz-table th { text-align: right; color: var(--muted); font-weight: 600; padding: 8px 10px; border-bottom: 1.5px solid var(--line-strong); white-space: nowrap; }
.tz-table td { padding: 8px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; color: var(--ink); }
.tz-table tr.is-shifted td { background: var(--gold-soft); }
@media (max-width: 600px) { .tz-table { font-size: .86rem; } .tz-table td:nth-child(2) { white-space: normal; min-width: 8.5em; } .tz-table th, .tz-table td { padding: 8px 6px; } }
.tz-table .tz-flag { color: var(--gold-ink); font-size: .82rem; margin-inline-start: 6px; }
.tz-local { margin: 16px 0 0; font-size: .93rem; color: var(--muted); }
.tz-local button { background: none; border: 0; color: var(--teal-ink); text-decoration: underline; cursor: pointer; padding: 0; font-weight: 600; }

/* ---------- Pricing: crossed-out original price + special price ---------- */
.offer {
  display: grid; overflow: hidden;
  border-radius: var(--r-panel); border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow);
}
@media (min-width: 900px) { .offer { grid-template-columns: 1fr 1.1fr; } }
.offer-price { background: var(--navy); color: var(--on-dark); padding: clamp(24px, 3.5vw, 40px); display: flex; flex-direction: column; border-top: 4px solid var(--gold); }
.offer-price p { margin: 0; }
.offer-tag { align-self: flex-start; display: inline-block; background: var(--gold); color: var(--navy); font-weight: 800; font-size: .92rem; padding: 4px 14px; border-radius: 6px; margin-bottom: 18px !important; }
.offer-price > div > .offer-tag { display: inline-block; }
.offer-was { font-size: clamp(1.2rem, 1rem + .8vw, 1.5rem); color: var(--on-dark-muted); font-weight: 600; }
.offer-was s { text-decoration-color: var(--gold); text-decoration-thickness: 2px; }
.offer-now { color: var(--on-dark-muted); font-weight: 600; font-size: 1.05rem; line-height: 1.3; margin: 4px 0 8px !important; }
.offer-now span { font-size: clamp(2.5rem, 1.8rem + 3vw, 3.5rem); font-weight: 850; color: var(--gold); letter-spacing: -.01em; margin-inline-end: 6px; }
.phase-regular .offer-now span { color: var(--white); }
.offer-save { color: var(--teal); font-weight: 700; }
.offer-cd-label { color: var(--on-dark-muted); font-size: .88rem; margin: 22px 0 8px !important; }
.offer-price .btn { margin-top: 26px; }
.offer-details { padding: clamp(24px, 3.5vw, 40px); }
.offer-details h3 { font-size: 1.15rem; }
.price-includes { display: grid; gap: 8px; margin: 0 0 24px; }
.price-includes li { display: flex; gap: 10px; align-items: flex-start; font-size: .98rem; line-height: 1.7; }
.price-includes .ico { color: var(--teal-ink); margin-top: 3px; width: 18px; height: 18px; }

.installments { border-top: 1px solid var(--line); padding-top: 22px; }
.installments h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.installments h3 .ico { color: var(--teal-ink); }
.installments > p { color: var(--muted); margin-bottom: 12px; }
.inst-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; counter-reset: inst; }
.inst-steps li { display: flex; flex-direction: column; padding: 12px 14px; border-radius: var(--r-task); background: var(--teal-soft); }
.inst-steps li + li { background: var(--bg); }
.inst-amount { font-weight: 800; color: var(--ink); font-size: 1.08rem; }
.inst-when { color: var(--muted); font-size: .88rem; }
@media (max-width: 400px) { .inst-steps { grid-template-columns: 1fr; } }

/* ---------- Payment ---------- */
.section-head-center { margin-inline: auto; text-align: center; }
.payment-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Method chooser: two large radio-style cards */
.pay-methods { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 860px; margin: 0 auto clamp(28px, 4vw, 44px); }
.pay-method { position: relative; display: flex; align-items: center; gap: 14px; text-align: start; padding: 18px 20px; min-height: 92px; background: var(--white); border: 1.6px solid var(--line-strong); border-radius: var(--r-panel); color: var(--ink); font: inherit; cursor: pointer; transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease); }
.pay-method:hover { border-color: var(--ink); }
.pay-method[aria-selected="true"] { border-color: var(--teal); background: var(--teal-soft); box-shadow: 0 0 0 1px var(--teal), 0 12px 28px -18px rgba(11,122,117,.6); }
.pm-radio { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line-strong); background: var(--white); display: grid; place-items: center; transition: border-color .2s var(--ease); }
.pay-method[aria-selected="true"] .pm-radio { border-color: var(--teal-ink); }
.pay-method[aria-selected="true"] .pm-radio::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--teal-ink); }
.pm-ico { flex: none; width: 34px; height: 34px; color: var(--teal-ink); }
.pm-text { display: grid; gap: 2px; }
.pm-text strong { font-size: 1.08rem; font-weight: 800; line-height: 1.5; }
.pm-text small { color: var(--muted); font-size: .9rem; line-height: 1.6; }
@media (max-width: 640px) {
  .pay-methods { gap: 10px; }
  .pay-method { flex-direction: column; align-items: flex-start; gap: 8px; padding: 14px; min-height: 0; }
  .pm-radio { position: absolute; top: 14px; inset-inline-end: 14px; }
  .pm-ico { width: 28px; height: 28px; }
  .pm-text strong { font-size: 1rem; }
  .pm-text small { font-size: .84rem; }
}

.pay-panel:focus { outline: none; }
.pay-panel[hidden] { display: none; }
.pay-panel + .pay-panel { margin-top: 48px; }               /* both shown only without JS */
.pay-title { font-size: 1.25rem; margin-bottom: 4px; }
.pay-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; }
@media (min-width: 960px) {
  .pay-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 64px; align-items: start; }
  .pay-grid-online { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; }
}
.steps h4 { margin: 8px 0 2px; font-size: 1.06rem; color: var(--ink); }
.pay-note { margin: 4px 0 0; padding: 14px 16px; background: var(--bg); border-radius: var(--r-task); color: var(--text); font-size: .95rem; line-height: 1.8; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; color: var(--teal-ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link-btn:hover { color: var(--ink); }

/* Evand registration widget */
.evand-box { position: relative; background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--teal); border-radius: var(--r-panel); padding: clamp(6px, 2vw, 20px); box-shadow: var(--shadow); min-height: 280px; }
.evand-loading { position: absolute; inset: 60px 20px auto; text-align: center; color: var(--muted); font-size: .95rem; }
.evand-box.is-loaded .evand-loading { display: none; }
.evand-box .evand-widget { position: relative; z-index: 1; min-height: 220px; }
.evand-box .evand-widget iframe { display: block; width: 100% !important; min-width: 0 !important; max-width: 100%; border: 0; } /* Evand sets min-width: 380px inline */
/* Evand resizes its iframe itself; on phones the ticket title wraps, so never go below 290px */
@media (max-width: 520px) { .evand-box .evand-widget iframe { min-height: 290px; } .evand-box .evand-widget { min-height: 290px; } }

/* Ticket selection / checkout step: the widget opens as a large overlay */
.evand-box.is-expanded {
  position: fixed; z-index: 1000; inset: 24px; margin: auto; width: min(760px, calc(100vw - 32px)); height: min(900px, calc(100dvh - 48px));
  display: flex; flex-direction: column; padding: 10px; min-height: 0;
  box-shadow: 0 0 0 100vmax rgba(11, 21, 41, .72), 0 30px 60px -20px rgba(0, 0, 0, .5);
}
.evand-box.is-expanded .evand-widget { flex: 1; min-height: 0; }
.evand-box.is-expanded .evand-widget iframe { height: 100% !important; min-height: 0; }
.evand-box.is-expanded .evand-loading { display: none; }
.evand-box.is-expanded .evand-fallback { margin-top: 8px; padding-top: 8px; }
@media (max-width: 640px) {
  .evand-box.is-expanded { inset: 0; width: 100%; height: 100%; height: 100dvh; border-radius: 0; border: 0; border-top: 4px solid var(--teal); padding: 0; }
  .evand-box.is-expanded .evand-fallback { padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); }
}
html.evand-lock, html.evand-lock body { overflow: hidden; }
html.evand-lock .tg-float, html.evand-lock .mobile-cta { visibility: hidden; }
.evand-fallback { margin: 12px 0 0; padding-top: 12px; border-top: 1px solid var(--line); text-align: center; color: var(--muted); font-size: .9rem; }
.steps { display: grid; gap: 0; margin: 24px 0; }
.steps > li { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding-bottom: 22px; }
.steps > li:not(:last-child)::before { content: ""; position: absolute; inset-inline-start: 21px; top: 44px; bottom: 0; border-inline-start: 1.6px solid var(--line-strong); }
.step-n { width: 44px; height: 44px; border-radius: var(--r-task); border: 1.6px solid var(--ink); display: grid; place-items: center; font-weight: 800; color: var(--ink); background: var(--white); }
.steps h3 { margin: 8px 0 2px; }
.steps p { margin: 0; color: var(--muted); }
.steps-compact > li { padding-bottom: 16px; align-items: start; }
.steps-compact > li > p { padding-top: 5px; }
.steps-compact p { color: var(--text); }
.steps-compact .step-n { width: 40px; height: 40px; }
.steps-compact > li:not(:last-child)::before { inset-inline-start: 19px; top: 40px; }

.bank-card { background: var(--navy); color: var(--on-dark); border-radius: var(--r-panel); padding: clamp(22px, 3vw, 32px); box-shadow: 0 24px 48px -28px rgba(16,29,53,.55); }
.bank-top { display: flex; gap: 14px; align-items: center; padding-bottom: 18px; margin-bottom: 8px; border-bottom: 1px solid var(--line-dark); }
.bank-top .ico-lg { color: var(--gold); }
.bank-top h3 { color: var(--white); margin: 0; }
.bank-top p { margin: 0; color: var(--on-dark-muted); font-size: .93rem; }
.bank-field { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "label copy" "value value"; align-items: center; gap: 6px 12px; padding: 14px 0; border-bottom: 1px solid var(--line-dark); }
.bank-value-row { display: contents; }
.bank-label { grid-area: label; color: var(--on-dark-muted); font-size: .88rem; }
.btn-copy { grid-area: copy; }
.bank-value { grid-area: value; font-family: var(--font); font-size: clamp(1.02rem, .92rem + .45vw, 1.25rem); font-weight: 700; color: var(--white); letter-spacing: .03em; text-align: left; }
.btn-copy { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 6px 14px; background: rgba(255,255,255,.08); border: 1px solid var(--line-dark); color: var(--white); border-radius: var(--r-task); cursor: pointer; font-weight: 600; font-size: .92rem; transition: background-color .2s var(--ease); }
.btn-copy:hover { background: rgba(255,255,255,.16); }
.btn-copy.is-copied { background: var(--teal); border-color: var(--teal); color: var(--navy); }
.btn-copy .ico { width: 18px; height: 18px; }
.copy-status { min-height: 1.6em; margin: 12px 0 0; color: var(--teal); font-weight: 600; font-size: .95rem; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; cursor: pointer; list-style: none; font-weight: 700; color: var(--ink); font-size: 1.06rem; line-height: 1.6; }
.faq summary:hover { color: var(--teal-ink); }
.faq-a { padding: 0 0 20px; color: var(--text); max-width: 70ch; }
.faq-a p { margin: 0; }

/* ---------- Final CTA ---------- */
.final-cta {
  background-color: var(--navy);
  background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1.2px);
  background-size: 22px 22px;
  color: var(--on-dark); padding-block: var(--section-y);
}
.final-inner { text-align: center; max-width: 820px; }
.final-cta h2 { color: var(--white); font-size: clamp(1.7rem, 1.2rem + 2vw, 2.5rem); line-height: 1.45; }
.final-cta p { color: var(--on-dark); max-width: 60ch; margin-inline: auto; }
.final-meta { color: var(--on-dark-muted) !important; font-size: .95rem; }
.final-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
@media (max-width: 480px) { .final-actions .btn { flex: 1 1 100%; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-3); color: var(--on-dark-muted); padding-block: 44px; font-size: .95rem; }
.footer-grid { display: grid; gap: 24px; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1fr auto 1fr; align-items: center; } .footer-legal { text-align: left; } }
.footer-name { color: var(--white); font-weight: 700; margin: 0; }
.footer-name span { color: var(--on-dark-muted); font-weight: 400; margin-inline-start: 8px; }
.footer-role { margin: 0; text-align: right; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-links a { display: inline-flex; gap: 8px; align-items: center; color: var(--on-dark); text-decoration: none; min-height: 40px; }
.footer-links a:hover { color: var(--white); text-decoration: underline; }
.footer-links .ico { width: 18px; height: 18px; color: var(--teal); }
.footer-legal p { margin: 0; }
.footer-legal a { color: var(--on-dark); }

/* ---------- Floating Telegram + mobile CTA ---------- */
.tg-float {
  position: fixed; z-index: 40; inset-inline-end: 20px; bottom: 20px;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--tg); color: var(--white); text-decoration: none; font-weight: 700; font-size: .95rem;
  padding: 0 18px 0 16px; height: 52px; border-radius: 26px;
  box-shadow: 0 10px 24px -8px rgba(16,29,53,.5);
  transition: transform .25s var(--ease), opacity .25s var(--ease), background-color .2s;
}
.tg-float:hover { background: var(--tg-hover); color: var(--white); }
.tg-float .ico { width: 24px; height: 24px; }
.tg-float.is-hidden { opacity: 0; transform: translateY(16px); pointer-events: none; }

.mobile-cta { display: none; }
@media (max-width: 860px) {
  body { padding-bottom: 76px; }
  .mobile-cta {
    position: fixed; z-index: 45; inset-inline: 0; bottom: 0;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
    background: var(--white); border-top: 1px solid var(--line);
    box-shadow: 0 -8px 24px -12px rgba(16,29,53,.25);
    transition: transform .3s var(--ease);
  }
  .mobile-cta.is-hidden { transform: translateY(110%); }
  .mobile-cta-price { display: flex; flex-direction: column; line-height: 1.4; }
  .mobile-cta-price small { color: var(--muted); font-size: .78rem; }
  .mobile-cta-price strong { color: var(--ink); font-size: 1.02rem; }
  .mobile-cta .btn { min-height: 46px; padding-inline: 18px; }
  .tg-float { bottom: calc(86px + env(safe-area-inset-bottom)); width: 52px; padding: 0; justify-content: center; }
  .tg-float-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  body.mobile-cta-off .tg-float { bottom: calc(20px + env(safe-area-inset-bottom)); }
}

/* ---------- Entrance reveal (subtle, one-time) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
  .js .reveal.is-visible { opacity: 1; transform: none; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .tg-float, .mobile-cta, .hero-diagram, .form-card { display: none !important; }
  .section, .hero, .final-cta { padding-block: 24px; }
  body { background: #fff; }
}
