/* ============================================================
   پلتفرم دانشگاه سمنان — استایل (متوسط)
   Palette: #FFFDF0 #FFDC5F #F5C400 #102A71 #001840
   ============================================================ */

@font-face {
  font-family: "Vazirmatn";
  src: url("https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/fonts/webfonts/Vazirmatn-Regular.woff2") format("woff2");
  font-weight: 400; font-display: swap;
}
@font-face {
  font-family: "Vazirmatn";
  src: url("https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/fonts/webfonts/Vazirmatn-Bold.woff2") format("woff2");
  font-weight: 700; font-display: swap;
}

:root {
  --cream: #FFFDF0;
  --gold: #F5C400;
  --gold-soft: #FFDC5F;
  --navy: #102A71;
  --navy-dark: #001840;
  --ink: #1a2332;
  --muted: #5c6575;
  --line: rgba(16, 42, 113, 0.14);
  --card: #ffffff;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 10px 30px -18px rgba(0, 24, 64, 0.22);
  --font: "Vazirmatn", "Segoe UI", Tahoma, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img { max-width: 100%; display: block; }

.container { width: min(1120px, 92%); margin-inline: auto; }
::selection { background: var(--gold); color: var(--navy-dark); }

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 999px;
  font-size: .96rem;
  font-weight: 700;
  white-space: nowrap;
  transition: background .22s, color .22s, border-color .22s, transform .22s;
}
.btn svg { width: 17px; height: 17px; }
.btn-gold { background: var(--gold); color: var(--navy-dark); }
.btn-gold:hover { background: var(--gold-soft); }
.btn-navy { background: var(--navy-dark); color: #fff; }
.btn-navy:hover { background: var(--navy); }
.btn-light { background: #fff; color: var(--navy-dark); }
.btn-light:hover { background: var(--gold-soft); color: var(--navy-dark); }
.btn-white { background: #fff; color: var(--navy-dark); }
.btn-white:hover { background: var(--gold-soft); color: var(--navy-dark); }
.btn-tele { background: #229ed9; color: #fff; box-shadow: 0 8px 22px -10px rgba(34, 158, 217, .9); }
.btn-tele:hover { background: #1c92c9; transform: translateY(-2px); box-shadow: 0 12px 26px -10px rgba(34, 158, 217, .95); }
.btn-ghost { border: 1.5px solid rgba(16, 42, 113, .35); color: var(--navy); }
.btn-ghost:hover { border-color: var(--navy); background: rgba(16, 42, 113, .06); }
.btn-outline-light { border: 1.5px solid rgba(255, 255, 255, .55); color: #fff; }
.btn-outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, .12); }
.btn-sm { padding: 8px 18px; font-size: .86rem; }

/* ============ Scrolling ticker (below hero) ============ */
.ticker {
  overflow: hidden;
  background: linear-gradient(180deg, var(--gold), var(--gold-soft));
  border-block: 2px solid var(--navy-dark);
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: mq-scroll 32s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 12px 30px;
  font-size: .94rem; font-weight: 700; color: var(--navy-dark);
  white-space: nowrap;
}
.ticker-item .tt-ico { color: var(--navy); font-size: .95rem; flex: none; }
.ticker-item b { color: var(--navy); font-weight: 800; }
@keyframes mq-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
}

/* ============ Header ============ */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255, 253, 240, .9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s;
}
.site-header.scrolled { box-shadow: 0 10px 26px -20px rgba(0, 24, 64, .4); }

.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 13px 0; }

.brand { display: flex; align-items: center; gap: 11px; }
.brand-logo {
  width: 44px; height: 44px;
  object-fit: contain;
  flex: none;
}
.brand-name { display: flex; flex-direction: column; line-height: 1.5; }
.brand-name strong { font-size: 1rem; color: var(--navy-dark); font-weight: 800; }
.brand-name span { font-size: .72rem; color: var(--muted); }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 8px 14px;
  border-radius: 10px;
  font-weight: 700;
  font-size: .95rem;
  color: var(--ink);
  transition: background .2s, color .2s;
}
.nav-links a:hover { background: rgba(245, 196, 0, .2); color: var(--navy); }
.nav-cta { flex: none; }

.burger {
  display: none;
  width: 42px; height: 42px; border-radius: 10px;
  background: var(--navy-dark); color: var(--gold);
  place-items: center;
}
.burger svg { width: 20px; height: 20px; }

/* Mobile drawer */
.mobile-menu { position: fixed; inset: 0; z-index: 2000; pointer-events: none; }
.mobile-menu.open { pointer-events: auto; }
.mm-backdrop { position: absolute; inset: 0; background: rgba(0, 24, 64, .45); opacity: 0; transition: opacity .25s; }
.mobile-menu.open .mm-backdrop { opacity: 1; }
.mm-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(300px, 85%);
  background: var(--cream); box-shadow: -16px 0 40px rgba(0, 24, 64, .25);
  transform: translateX(105%); transition: transform .3s;
  display: flex; flex-direction: column; padding: 18px;
}
.mobile-menu.open .mm-panel { transform: translateX(0); }
.mm-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.mm-close { width: 38px; height: 38px; border-radius: 10px; background: rgba(16, 42, 113, .08); color: var(--navy); display: grid; place-items: center; font-size: 1rem; }
.mm-links a {
  display: flex; align-items: center;
  padding: 13px 10px; border-bottom: 1px solid rgba(16, 42, 113, .08);
  font-weight: 700; color: var(--ink); font-size: 1rem;
}
.mm-links a:hover { color: var(--navy); background: rgba(245, 196, 0, .12); }

/* ============ Hero (reference: navy + visual card) ============ */
.hero {
  position: relative;
  padding: 84px 0 90px;
  text-align: right;
  color: #fff;
  overflow: hidden;
  background:
    radial-gradient(1100px 480px at 88% -12%, rgba(245, 196, 0, .22), transparent 60%),
    radial-gradient(900px 440px at 8% 115%, rgba(245, 196, 0, .13), transparent 55%),
    linear-gradient(160deg, var(--navy-dark) 0%, var(--navy) 55%, var(--navy-dark) 100%);
}
.hero-blob { position: absolute; border-radius: 50%; filter: blur(3px); pointer-events: none; }
.hero-blob.b1 { width: 380px; height: 380px; top: -160px; right: -110px; background: radial-gradient(circle, rgba(245, 196, 0, .24), transparent 70%); }
.hero-blob.b2 { width: 420px; height: 420px; bottom: -210px; left: -120px; background: radial-gradient(circle, rgba(255, 220, 95, .14), transparent 70%); }
.hero-blob.b3 { width: 220px; height: 220px; top: 40%; left: 16%; background: radial-gradient(circle, rgba(255, 255, 255, .05), transparent 70%); }

.hero .container { position: relative; z-index: 1; }

/* Two-column: text on right, visual card on left (RTL) */
.hero-layout { display: grid; grid-template-columns: 1.15fr .9fr; gap: 48px; align-items: center; }
.hero-main { min-width: 0; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 7px;
  border: 1px solid rgba(255, 220, 95, .5);
  background: rgba(245, 196, 0, .14);
  color: var(--gold-soft);
  padding: 6px 18px; border-radius: 999px;
  font-size: .84rem; font-weight: 700; margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(2rem, 4.6vw, 3rem);
  font-weight: 800;
  line-height: 1.5;
  color: #fff;
  margin-bottom: 18px;
}
.hero h1 .hl {
  position: relative;
  display: inline-block;
  color: var(--gold);
  background: linear-gradient(90deg, var(--gold), var(--gold-soft), var(--gold));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  font-weight: 900;
  animation: neonGlow 3.5s ease-in-out infinite;
}
.hero h1 .hl::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 6px;
  height: 4px; border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
  box-shadow: 0 0 14px rgba(245, 196, 0, .9);
  animation: hlUnderline 2.4s ease-in-out infinite;
}
@keyframes hlUnderline {
  0%, 100% { transform: scaleX(1); opacity: .7; }
  50% { transform: scaleX(.75); opacity: 1; }
}
@keyframes neonGlow {
  0%, 100% { filter: drop-shadow(0 0 6px rgba(245, 196, 0, .5)) drop-shadow(0 0 18px rgba(245, 196, 0, .28)); }
  50% { filter: drop-shadow(0 0 12px rgba(245, 196, 0, .85)) drop-shadow(0 0 32px rgba(245, 196, 0, .45)); }
}
.hero-sep {
  border: none;
  border-top: 1px solid rgba(255, 220, 95, .35);
  margin: 16px 0 10px;
  max-width: 200px;
}
.hero-eyebrow {
  display: inline-block;
  background: rgba(245, 196, 0, .14);
  border: 1px solid rgba(255, 220, 95, .45);
  color: var(--gold-soft);
  padding: 4px 14px; border-radius: 999px;
  font-size: .78rem; font-weight: 700; margin-bottom: 18px;
}
.hero p.lead {
  color: rgba(255, 255, 255, .85);
  font-size: 1.08rem;
  max-width: 620px;
  margin: 0 0 30px;
}
.hero-cta { display: flex; gap: 14px; justify-content: flex-start; flex-wrap: wrap; }

.hero-stats {
  display: flex; flex-wrap: wrap; gap: 12px 34px;
  margin-top: 44px;
}
.hs b {
  display: block;
  font-size: 1.75rem; font-weight: 800; line-height: 1.3;
  color: var(--gold);
  text-shadow:
    0 0 8px rgba(245, 196, 0, .85),
    0 0 22px rgba(245, 196, 0, .5),
    0 0 42px rgba(245, 196, 0, .3);
}
.hs span { color: rgba(255, 255, 255, .78); font-size: .88rem; font-weight: 600; }

/* Visual card */
.hero-visual { position: relative; }
.hero-card {
  position: relative;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 220, 95, .4);
  border-radius: 22px;
  padding: 24px 22px;
  backdrop-filter: blur(10px);
  box-shadow:
    inset 0 0 34px rgba(245, 196, 0, .07),
    0 22px 44px -22px rgba(0, 0, 0, .55);
}
.hc-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 18px; }
.hc-title { font-weight: 800; font-size: 1.05rem; color: #fff; }
.hc-pill {
  font-size: .7rem; font-weight: 800;
  background: rgba(245, 196, 0, .14);
  color: var(--gold-soft);
  border: 1px solid rgba(255, 220, 95, .55);
  border-radius: 999px; padding: 4px 12px;
  white-space: nowrap;
}
.hc-item {
  display: flex; align-items: center; gap: 13px;
  padding: 12px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, .14);
}
.hc-item:last-of-type { border-bottom: none; }
.hc-ico {
  width: 42px; height: 42px; border-radius: 13px; flex: none;
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  color: var(--navy-dark);
  display: grid; place-items: center; font-size: 1.15rem;
  box-shadow: 0 6px 16px -8px rgba(245, 196, 0, .8);
}
.hc-ico.navy { background: linear-gradient(135deg, var(--navy), var(--navy-dark)); color: var(--gold); box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .7); }
.hc-txt b { display: block; color: #fff; font-size: .95rem; }
.hc-txt span { font-size: .78rem; color: rgba(255, 255, 255, .65); }
.hc-bar.lbl { display: flex; justify-content: space-between; font-size: .78rem; font-weight: 700; color: rgba(255, 255, 255, .8); margin-top: 18px; }
.hc-bar { height: 8px; border-radius: 999px; background: rgba(255, 255, 255, .12); overflow: hidden; margin-top: 8px; }
.hc-bar i {
  display: block; height: 100%; border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
  box-shadow: 0 0 14px rgba(245, 196, 0, .8);
}
.hc-link {
  text-decoration: none; color: inherit;
  cursor: pointer;
  transition: background .2s, transform .2s, border-color .2s;
}
.hc-link:hover {
  background: rgba(245, 196, 0, .12);
  border-color: rgba(255, 220, 95, .55);
  transform: translateX(-3px);
}
.hc-link:active { transform: scale(.98); }

.hero-float {
  position: absolute;
  display: flex; align-items: center; gap: 9px;
  background: var(--cream); color: var(--navy-dark);
  font-weight: 800; font-size: .88rem;
  border-radius: 14px; padding: 10px 16px;
  box-shadow: 0 14px 30px -16px rgba(0, 0, 0, .5);
  animation: floatY 5s ease-in-out infinite;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
  border: 1px solid rgba(245, 196, 0, .5);
}
.hero-float:hover {
  box-shadow: 0 0 0 3px rgba(245, 196, 0, .2), 0 16px 30px -14px rgba(0, 0, 0, .55);
}
.hero-float:hover span { transform: scale(1.15); }
.hero-float span { font-size: 1.2rem; transition: transform .2s; line-height: 1; }
.hero-float.f1 { top: -18px; inset-inline-start: -14px; }
.hero-float.f2 { bottom: -18px; inset-inline-end: -12px; animation-delay: 1.2s; }
@keyframes floatY {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-10px) rotate(2deg); }
}

/* ============ Sections ============ */
.section { padding: 84px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.eyebrow {
  display: inline-block;
  background: rgba(245, 196, 0, .16);
  color: var(--navy);
  border: 1px solid rgba(245, 196, 0, .45);
  padding: 5px 16px; border-radius: 999px;
  font-size: .82rem; font-weight: 700;
}
.section-head .eyebrow { margin-bottom: 16px; }
.section-head .eyebrow {
  display: inline-block;
  background: rgba(245, 196, 0, .16);
  color: var(--navy);
  border: 1px solid rgba(245, 196, 0, .45);
  padding: 5px 16px; border-radius: 999px;
  font-size: .82rem; font-weight: 700; margin-bottom: 16px;
}
.section-head h2 { font-size: clamp(1.6rem, 3.6vw, 2.3rem); font-weight: 800; color: var(--navy-dark); line-height: 1.5; }
.section-head p { color: var(--muted); margin-top: 12px; font-size: 1rem; }

/* Explore cards */
.explore-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ex-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 28px;
  display: flex; flex-direction: column;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.ex-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-sm); border-color: rgba(245, 196, 0, .7); }
.ex-ico {
  width: 56px; height: 56px; border-radius: 16px;
  background: linear-gradient(135deg, var(--navy), var(--navy-dark));
  color: var(--gold);
  display: grid; place-items: center; font-size: 1.5rem; margin-bottom: 20px;
}
.ex-card h3 { color: var(--navy-dark); font-size: 1.25rem; margin-bottom: 4px; }
.ex-count { font-size: .8rem; font-weight: 700; color: var(--muted); margin-bottom: 12px; }
.ex-card p { color: var(--muted); font-size: .94rem; margin-bottom: 22px; flex: 1; }
.ex-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; color: var(--navy); font-size: .92rem; }
.ex-card:hover .ex-link { color: var(--gold); }

/* News / notices */
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.n-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .22s, box-shadow .22s, border-color .22s;
}
.n-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-sm); border-color: rgba(245, 196, 0, .7); }
.n-banner {
  position: relative;
  height: 130px;
  background: var(--ban, var(--navy));
  display: grid; place-items: center;
  overflow: hidden;
}
.n-banner svg { width: 100%; height: 100%; }
.n-chip-svg {
  position: absolute; top: 10px; inset-inline-start: 10px;
  background: rgba(255, 253, 240, .92);
  border-radius: 999px; padding: 3px;
}
.n-chip {
  display: inline-block;
  font-size: .72rem; font-weight: 800;
  background: rgba(245, 196, 0, .25); color: var(--navy);
  border-radius: 999px; padding: 3px 12px;
}
.n-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.n-body h3 { color: var(--navy-dark); font-size: 1.05rem; margin-bottom: 6px; }
.n-body p { color: var(--muted); font-size: .9rem; margin-bottom: 16px; flex: 1; }
.n-more { align-self: flex-start; }

/* Ads (two billboard banners, below ticker) */
.ads {
  padding: 84px 0;
  background: var(--cream);
}
.ad-slots {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.ad-slot {
  display: block;
  aspect-ratio: 388 / 100;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, .55);
  border: 1px solid var(--line);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.ad-slot:hover { transform: translateY(-3px); box-shadow: 0 14px 28px -18px rgba(0, 24, 64, .45); }
.ad-slot-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ad-reserve {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

/* Join band */
.join { padding-top: 84px; }
.join-band {
  position: relative;
  background:
    radial-gradient(700px 300px at 85% -40%, rgba(245, 196, 0, .2), transparent 60%),
    var(--navy-dark);
  color: #fff;
  border-radius: 24px;
  padding: 56px 34px;
  text-align: center;
  overflow: hidden;
}
.join-band h2 { font-size: clamp(1.5rem, 3.4vw, 2.2rem); margin-bottom: 12px; font-weight: 800; }
.join-band p { color: rgba(255, 255, 255, .78); max-width: 560px; margin: 0 auto 26px; font-size: 1rem; }

/* Discounts (empty state) */
.discounts {
  background:
    radial-gradient(700px 320px at 10% 110%, rgba(245, 196, 0, .14), transparent 60%),
    linear-gradient(180deg, var(--cream) 0%, #FBF3DA 100%);
}
.discount-card {
  position: relative;
  display: grid;
  grid-template-columns: 220px 1fr;
  align-items: center;
  gap: 30px;
  background: rgba(255, 255, 255, .7);
  border: 1px dashed rgba(16, 42, 113, .25);
  border-radius: 22px;
  padding: 34px 38px;
  overflow: hidden;
  transition: transform .22s, box-shadow .22s;
}
.discount-card:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -26px rgba(0, 24, 64, .35); }
.discount-art svg { width: 200px; height: 200px; }
.discount-txt .eyebrow { margin-bottom: 12px; }
.discount-txt h2 { color: var(--navy-dark); font-size: clamp(1.4rem, 3.2vw, 2rem); font-weight: 800; margin-bottom: 10px; }
.discount-txt p { color: var(--muted); font-size: .97rem; max-width: 540px; margin-bottom: 22px; }

/* ============ Inner page hero (navy) ============ */
.page-hero {
  padding: 66px 0 72px;
  text-align: center;
  color: #fff;
  background:
    radial-gradient(800px 320px at 90% -30%, rgba(245, 196, 0, .2), transparent 60%),
    linear-gradient(160deg, var(--navy-dark), var(--navy));
}
.page-hero h1 { font-size: clamp(1.8rem, 4.2vw, 2.6rem); color: #fff; font-weight: 800; margin-bottom: 10px; }
.page-hero p { color: rgba(255, 255, 255, .82); max-width: 600px; margin-inline: auto; font-size: 1.02rem; }
.crumbs { display: inline-flex; gap: 8px; align-items: center; justify-content: center; color: rgba(255, 255, 255, .65); font-size: .84rem; margin-bottom: 18px; }
.crumbs a { color: var(--gold-soft); font-weight: 700; }
.crumbs .sep { color: rgba(255, 255, 255, .35); }

/* ============ List pages ============ */
.list-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.list-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  display: flex; align-items: center; gap: 16px;
  transition: transform .22s, box-shadow .22s, border-color .22s;
}
.list-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: rgba(245, 196, 0, .7); }
.list-card .lc-ico { width: 48px; height: 48px; border-radius: 14px; background: linear-gradient(135deg, var(--navy), var(--navy-dark)); color: var(--gold); display: grid; place-items: center; font-size: 1.3rem; flex: none; }
.list-card .lc-body { flex: 1; min-width: 0; }
.list-card h3 { color: var(--navy-dark); font-size: 1.05rem; }
.list-card .lc-cat { font-size: .74rem; color: var(--muted); font-weight: 600; }
.list-card .lc-arrow { color: var(--gold); font-weight: 800; font-size: 1.1rem; flex: none; }

/* ============ Profile pages ============ */
.profile-head {
  padding: 56px 0 46px;
  color: #fff;
  background:
    radial-gradient(800px 320px at 8% -40%, rgba(245, 196, 0, .16), transparent 60%),
    linear-gradient(160deg, var(--navy-dark), var(--navy));
}
.profile-head .container { display: flex; align-items: center; justify-content: center; gap: 22px; text-align: right; }
.ph-ico {
  width: 96px; height: 96px; border-radius: 24px;
  background: rgba(245, 196, 0, .18); border: 1px solid rgba(255, 220, 95, .4);
  color: var(--gold); display: grid; place-items: center; font-size: 2.6rem; flex: none;
}
.ph-info h1 { font-size: clamp(1.6rem, 3.6vw, 2.3rem); color: #fff; font-weight: 800; margin-bottom: 6px; }
.ph-info .ph-tag { font-size: .8rem; font-weight: 700; color: rgba(255, 255, 255, .7); }
.ph-tele {
  display: inline-flex; align-items: center; gap: 9px; margin-top: 16px;
  background: var(--gold); color: var(--navy-dark); font-weight: 800; font-size: .94rem;
  border-radius: 999px; padding: 11px 22px;
  transition: background .2s;
}
.ph-tele:hover { background: var(--gold-soft); }
.ph-tele svg { width: 17px; height: 17px; color: var(--navy-dark); }

.profile-body { padding: 20px 0 80px; }
.profile-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 26px; align-items: start; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; margin-bottom: 22px; }
.card-title { display: flex; align-items: center; gap: 12px; color: var(--navy-dark); font-size: 1.15rem; font-weight: 800; margin-bottom: 16px; }
.card-title .ct-ico { font-size: 1.2rem; }
.card p { color: var(--muted); }
.card ul.plist li { padding: 9px 0; border-bottom: 1px dashed var(--line); color: var(--muted); font-size: .95rem; }
.card ul.plist li:last-child { border-bottom: none; }
.card ul.plist li::before { content: "·"; color: var(--gold); font-weight: 800; margin-inline-end: 8px; }

.side-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin-bottom: 22px; }
.side-card h3 { color: var(--navy-dark); font-size: 1.05rem; margin-bottom: 8px; }
.side-card p { color: var(--muted); font-size: .9rem; margin-bottom: 14px; }
.side-card .btn { width: 100%; }
.back-link { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; color: var(--navy); font-size: .94rem; }
.back-link:hover { color: var(--gold); }

/* ============ Courses ============ */
.course-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.course-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; }
.course-card:hover { border-color: rgba(245, 196, 0, .7); transform: translateY(-4px); box-shadow: var(--shadow-sm); transition: all .25s; }
.cc-cat { align-self: flex-start; font-size: .74rem; background: rgba(245, 196, 0, .2); color: var(--navy); font-weight: 800; border-radius: 999px; padding: 3px 13px; margin-bottom: 14px; }
.course-card h3 { color: var(--navy-dark); font-size: 1.1rem; margin-bottom: 8px; }
.course-card p { color: var(--muted); font-size: .92rem; margin-bottom: 14px; flex: 1; }
.course-card .btn { align-self: flex-start; }

/* ============ Footer ============ */
.site-footer { background: var(--navy-dark); color: rgba(255, 255, 255, .72); }
.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 34px 40px;
  padding: 44px 0 36px;
}
.foot-brand-col p { margin: 18px 0 20px; font-size: .9rem; max-width: 340px; color: rgba(255, 255, 255, .6); }
.foot-brand { display: flex; align-items: center; gap: 12px; }
.foot-brand .foot-logo {
  background: transparent;
  padding: 0;
  filter: brightness(0) invert(1);
  opacity: .6;
  transition: opacity .2s;
}
.foot-brand .foot-logo:hover { opacity: 1; }
.foot-brand strong { color: #fff; display: block; }
.foot-brand span { font-size: .75rem; color: rgba(255, 255, 255, .55); }
.foot-tele {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  padding: 9px 18px;
  color: var(--gold-soft); font-weight: 800; font-size: .88rem;
  transition: background .2s, border-color .2s;
}
.foot-tele:hover { background: rgba(245, 196, 0, .16); border-color: rgba(245, 196, 0, .5); }
.foot-tele svg { width: 16px; height: 16px; color: var(--gold); }
.foot-col h4 { color: var(--gold-soft); font-size: .95rem; font-weight: 800; margin-bottom: 14px; }
.foot-col ul li { padding: 5px 0; }
.foot-col ul a { font-size: .9rem; color: rgba(255, 255, 255, .72); transition: color .2s; }
.foot-col ul a:hover { color: var(--gold); }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 18px 0; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: .82rem; }
.foot-bottom b { color: var(--gold-soft); font-weight: 700; }

/* ============ Reveal ============ */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; }
.reveal-d2 { transition-delay: .16s; }
.reveal-d3 { transition-delay: .24s; }

/* ============ Responsive ============ */
@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .burger { display: grid; }
  .explore-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .profile-grid { grid-template-columns: 1fr; }
  .hero-layout { grid-template-columns: 1fr; gap: 34px; }
  .hero { padding: 68px 0 72px; }
  .foot-grid { grid-template-columns: 1fr; gap: 26px; text-align: center; }
  .foot-brand { justify-content: center; }
  .foot-brand-col p { margin-inline: auto; }
}

@media (max-width: 600px) {
  .section { padding: 64px 0; }
  .list-grid { grid-template-columns: 1fr; }
  .profile-head .container { flex-direction: column; text-align: center; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { justify-content: center; }
  .hero-stats { gap: 14px 20px; }
  .hs b { font-size: 1.5rem; }
  .hc-item { padding: 10px 0; }
  .hc-ico { width: 38px; height: 38px; font-size: 1.05rem; }
  .hero-card { padding: 20px 16px; }
  .hero-float { font-size: .8rem; padding: 8px 13px; }
  .hero-float.f1 { top: -12px; }
  .hero-float.f2 { bottom: -12px; }
  .hero { padding: 60px 0 62px; }
  .ad-banner, .discount-card { grid-template-columns: 1fr; text-align: center; justify-items: center; gap: 18px; padding: 26px 22px; }
  .ad-banner-art svg { width: 120px; height: 120px; }
  .discount-art svg { width: 150px; height: 150px; }
  .ad-slots { grid-template-columns: 1fr; }
}