@font-face { font-family: 'Vazirmatn'; src: url('../fonts/Vazirmatn-Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Vazirmatn'; src: url('../fonts/Vazirmatn-Bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Vazirmatn'; src: url('../fonts/Vazirmatn-ExtraBold.woff2') format('woff2'); font-weight: 800; font-display: swap; }
@font-face { font-family: 'Vazirmatn'; src: url('../fonts/Vazirmatn-Black.woff2') format('woff2'); font-weight: 900; font-display: swap; }

:root {
  --coral: #F2703C; --pink: #EC4899; --yellow: #F7C325; --teal: #2EC4B6;
  --purple: #7C5CFC; --ink: #4A3F6B; --grey: #6B6B6B; --cream: #F7F2E7; --white: #FFFFFF;
  --wrap: 1136px; --head: 72px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: 'Vazirmatn', Tahoma, sans-serif; background: var(--cream); color: var(--ink); line-height: 1.75; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; line-height: 1.35; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
::selection { background: var(--yellow); color: var(--ink); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; font-size: 16px; padding: 13px 26px; border-radius: 999px; transition: transform .15s ease; border: 0; cursor: pointer; font-family: inherit; }
.btn:hover { transform: translateY(-2px); }
.btn-coral { background: var(--coral); color: var(--white); box-shadow: 4px 4px 0 var(--ink); }
.btn-outline { background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn-white { background: var(--white); color: var(--purple); box-shadow: 4px 4px 0 var(--ink); }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* header */
.header { position: sticky; top: 0; z-index: 30; background: var(--white); box-shadow: 0 1px 0 rgba(74,63,107,.08); }
.header .bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--head); }
.logo img { height: 44px; width: auto; }
.nav { display: flex; gap: 24px; }
.nav a { font-weight: 700; font-size: 15px; padding: 4px 0; border-bottom: 3px solid transparent; }
.nav a:hover { color: var(--coral); }
.nav a.on { border-bottom-color: var(--coral); }
.head-end { display: flex; align-items: center; gap: 12px; }
.head-end .btn { padding: 10px 18px; font-size: 14.5px; }
.head-end .btn-login { padding: 9px 16px; background: transparent; }
.head-end .btn-login:hover { background: var(--white); }
.nav a { white-space: nowrap; }
@media (max-width: 1180px) { .head-end .btn-login { padding: 9px; } .head-end .btn-login span { display: none; } }
.langs { display: flex; background: var(--cream); border-radius: 999px; padding: 3px; }
.langs a { font-size: 13px; font-weight: 800; padding: 4px 11px; border-radius: 999px; color: var(--grey); }
.langs a.on { background: var(--purple); color: var(--white); }
.menu-btn { display: none; background: none; border: 0; padding: 6px; cursor: pointer; color: var(--ink); }
.menu-btn svg { width: 28px; height: 28px; }
.mobile-nav { display: none; }

/* home: header floats over the full-screen hero */
.home .header { position: fixed; inset-inline: 0; top: 0; background: rgba(255,255,255,.82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }

/* scallops */
.scallop-down { height: 26px; background-image: radial-gradient(circle at 15px 0px, transparent 15px, var(--white) 16px); background-size: 30px 30px; background-repeat: repeat-x; background-position: top; }
.scallop-down.cream { background-image: radial-gradient(circle at 15px 0px, transparent 15px, var(--cream) 16px); }
.scallop-up { height: 26px; background-image: radial-gradient(circle at 15px 26px, transparent 15px, var(--purple) 16px); background-size: 30px 30px; background-repeat: repeat-x; background-position: bottom; }
.blob { border-radius: 62% 38% 55% 45% / 45% 55% 45% 55%; }

/* full-screen hero */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; background: #FDEFF6; transition: background-color 1s ease; display: flex; flex-direction: column; }
.hero .slides { position: absolute; inset: calc(var(--head) + 8px) 0 190px 0; }
.hero .slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transform: scale(1.04); transition: opacity 1.1s ease, transform 4s ease; }
.hero .slides img.on { opacity: 1; transform: scale(1); }
.hero .doodle { position: absolute; pointer-events: none; z-index: 1; }
.hero-text { position: absolute; inset-inline: 0; bottom: 0; z-index: 2; text-align: center; padding: 0 20px 34px; }
.hero h1 { font-size: 40px; font-weight: 900; margin-bottom: 8px; }
.hero h1 span { color: var(--coral); }
.hero p.lead { margin: 0 auto 18px; font-size: 16.5px; color: var(--grey); max-width: 640px; }
.hero-ctas { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.dots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
.dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 999px; background: rgba(74,63,107,.18); cursor: pointer; transition: all .4s ease; }
.dots button.on { width: 30px; background: var(--purple); }

/* page banner (inner pages) */
.banner { background: var(--purple); color: var(--white); text-align: center; padding: 44px 20px 30px; position: relative; }
.banner h1 { font-size: 34px; font-weight: 900; }
.banner p { margin: 8px auto 0; max-width: 620px; opacity: .9; font-size: 15px; }
.banner-wrap .scallop-down { background-image: radial-gradient(circle at 15px 0px, transparent 15px, var(--cream) 16px); background-color: var(--purple); }
.banner-wrap.to-white .scallop-down { background-image: radial-gradient(circle at 15px 0px, transparent 15px, var(--white) 16px); }

/* sections */
section { padding: 60px 0; }
.bg-white { background: var(--white); }
.bg-cream { background: var(--cream); }
.sec-title { text-align: center; font-size: 30px; font-weight: 800; margin-bottom: 12px; }
.sec-sub { text-align: center; margin: 0 auto 40px; max-width: 620px; font-size: 15px; color: var(--grey); }

/* home teaser cards */
.teasers { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; }
.teaser { background: var(--white); border-radius: 24px; padding: 26px 20px; text-align: center; box-shadow: 4px 4px 0 rgba(74,63,107,.08); transition: transform .2s ease; display: flex; flex-direction: column; align-items: center; }
.teaser:nth-child(odd) { transform: rotate(-1.5deg); }
.teaser:nth-child(even) { transform: rotate(1.5deg); }
.teaser:hover { transform: translateY(-4px) rotate(0); }
.teaser .ic { width: 60px; height: 60px; margin-bottom: 14px; display: flex; align-items: center; justify-content: center; }
.teaser .ic svg { width: 26px; height: 26px; }
.teaser h3 { font-size: 17px; font-weight: 800; margin-bottom: 6px; }
.teaser p { margin: 0 0 12px; font-size: 14px; color: var(--grey); line-height: 1.8; }
.teaser .go { margin-top: auto; font-size: 14px; font-weight: 800; color: var(--coral); }

/* about */
.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.about-grid img { width: 100%; border-radius: 46% 54% 58% 42% / 42% 48% 52% 58%; box-shadow: 6px 6px 0 rgba(124,92,252,.15); }
.about-grid h2 { font-size: 28px; font-weight: 800; margin-bottom: 14px; }
.about-grid h2 span { color: var(--coral); }
.about-grid p { margin: 0 0 14px; font-size: 15.5px; line-height: 2; color: var(--grey); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tags span { font-size: 13px; font-weight: 700; padding: 6px 14px; border-radius: 999px; color: var(--white); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.gallery-grid figure { margin: 0; aspect-ratio: 1; border-radius: 20px; overflow: hidden; box-shadow: 4px 4px 0 rgba(74,63,107,.1); }
.gallery-grid figure:nth-child(1) { transform: rotate(-1.5deg); }
.gallery-grid figure:nth-child(2) { transform: rotate(1deg); }
.gallery-grid figure:nth-child(3) { transform: rotate(-1deg); }
.gallery-grid figure:nth-child(4) { transform: rotate(1.5deg); }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-grid figure:hover img { transform: scale(1.05); }
.features { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 24px; }
.feature { background: var(--cream); border-radius: 24px; padding: 30px 20px 26px; text-align: center; box-shadow: 4px 4px 0 rgba(74,63,107,.08); }
.feature:nth-child(odd) { transform: rotate(-2deg); }
.feature:nth-child(even) { transform: rotate(2deg); }
.feature .ic { width: 62px; height: 62px; margin: 0 auto 16px; display: flex; align-items: center; justify-content: center; }
.feature .ic svg { width: 27px; height: 27px; }
.feature h3 { font-size: 16px; font-weight: 800; margin-bottom: 8px; }
.feature p { margin: 0; font-size: 14px; line-height: 1.85; color: var(--grey); }

/* tariffs & packages */
.tariffs { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 28px; }
.tag-card { background: var(--white); overflow: hidden; clip-path: polygon(0 0, 100% 0, 100% 88%, 92% 100%, 8% 100%, 0 88%); }
.tag-card:nth-child(1) { transform: rotate(-1.5deg); }
.tag-card:nth-child(2) { transform: rotate(1deg); }
.tag-card:nth-child(3) { transform: rotate(-1deg); }
.tag-card .head { padding: 14px; text-align: center; font-size: 16px; font-weight: 800; color: var(--white); }
.tag-card .body { padding: 26px 20px 38px; text-align: center; }
.tag-card .from { font-size: 13px; color: var(--grey); }
.tag-card .price { font-size: 34px; font-weight: 900; }
.tag-card .unit { font-size: 13px; color: var(--grey); margin-bottom: 14px; }
.tag-card .desc { font-size: 14px; line-height: 1.85; color: var(--grey); }
.pkg-panel { background: var(--purple); border-radius: 0 0 32px 32px; padding: 10px 40px 44px; color: var(--white); }
.pkg-panel h2 { text-align: center; font-size: 28px; font-weight: 800; margin-bottom: 8px; }
.pkg-panel .sub { text-align: center; margin: 0 0 32px; font-size: 14px; opacity: .88; }
.pkgs { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.pkg { background: var(--white); color: var(--ink); border-radius: 16px; padding: 22px 16px; text-align: center; }
.pkg:nth-child(odd) { transform: rotate(-1.5deg); }
.pkg:nth-child(even) { transform: rotate(1deg); }
.pkg h3 { font-size: 16px; font-weight: 800; margin-bottom: 10px; }
.pkg .p { font-size: 19px; font-weight: 900; color: var(--coral); margin-bottom: 4px; }
.pkg .p small { font-size: 11px; font-weight: 700; color: var(--grey); }
.pkg .p.txt { font-size: 16px; }
.pkg .d { font-size: 12.5px; color: var(--grey); }
.center-cta { text-align: center; margin-top: 32px; }

/* events */
.events { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; }
.event { background: var(--cream); border-radius: 20px; padding: 24px 16px; text-align: center; }
.event .chip { display: inline-block; color: var(--white); font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 999px; margin-bottom: 12px; }
.event h3 { font-size: 16px; font-weight: 800; margin-bottom: 6px; }
.event p { margin: 0; font-size: 13.5px; color: var(--grey); line-height: 1.8; }
.ws-list { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; }
.ws { background: var(--white); border-radius: 22px; overflow: hidden; box-shadow: 4px 4px 0 rgba(74,63,107,.1); display: flex; flex-direction: column; }
.ws .ph { aspect-ratio: 4/3; background: var(--cream); }
.ws .ph img { width: 100%; height: 100%; object-fit: cover; }
.ws .in { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.ws h3 { font-size: 17px; font-weight: 800; }
.ws .meta { font-size: 13.5px; color: var(--grey); }
.ws .btn { margin-top: auto; align-self: flex-start; padding: 9px 20px; font-size: 14px; }
.ws-empty { text-align: center; background: var(--white); border-radius: 22px; padding: 34px 20px; color: var(--grey); box-shadow: 4px 4px 0 rgba(74,63,107,.08); }
.ws-empty strong { display: block; color: var(--ink); font-size: 18px; margin-bottom: 6px; }
.ws-note { text-align: center; font-size: 13px; color: var(--grey); margin-top: 14px; }

/* contact */
.loc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.loc-card { background: var(--white); border-radius: 24px; min-height: 280px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; text-align: center; padding: 28px; box-shadow: 5px 5px 0 rgba(124,92,252,.15); }
.loc-card svg { width: 64px; height: 64px; }
.loc-card strong { font-size: 19px; font-weight: 800; line-height: 1.8; }
.info { display: flex; flex-direction: column; gap: 18px; }
.info-row { display: flex; align-items: flex-start; gap: 12px; }
.info-row .ic { width: 40px; height: 40px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.info-row .ic svg { width: 18px; height: 18px; }
.info-row .k { font-size: 15px; font-weight: 800; }
.info-row .v { font-size: 14.5px; color: var(--grey); }
.info-row a.v:hover { color: var(--coral); }
.faq { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq details { background: var(--white); border-radius: 18px; padding: 0 24px; box-shadow: inset 0 0 0 2px var(--cream); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; font-size: 16px; font-weight: 800; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .sign { width: 28px; height: 28px; flex-shrink: 0; background: var(--yellow); display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 18px; transition: transform .2s ease; }
.faq details[open] summary .sign { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; font-size: 14.5px; line-height: 1.95; color: var(--grey); }

/* footer */
.footer { background: var(--white); border-top: 1px solid rgba(74,63,107,.1); padding: 32px 0 26px; }
.footer .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer img { height: 36px; width: auto; }
.footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer nav a { font-size: 14px; color: var(--grey); }
.footer nav a:hover { color: var(--coral); }
.footer .copy { font-size: 13px; color: var(--grey); }
.footer .staff { font-size: 12px; color: #9a94ad; }
.fab { display: none; }

/* responsive */
@media (max-width: 1000px) {
  .nav { gap: 16px; }
  .nav a { font-size: 14px; }
  .head-end .btn { display: none; }
  .head-end .btn-login { display: inline-flex; padding: 9px; }
  .head-end .btn-login span { display: none; }
}
@media (max-width: 960px) {
  .features, .pkgs, .events, .teasers { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .ws-list { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .tariffs { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .about-grid, .loc-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-grid img { max-width: min(520px, 88%); margin: 0 auto; }
}
@media (max-width: 820px) {
  :root { --head: 64px; }
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .logo img { height: 38px; }
  .mobile-nav.open { display: flex; flex-direction: column; background: var(--white); padding: 4px 20px 16px; border-top: 1px solid rgba(74,63,107,.08); }
  .mobile-nav a { padding: 12px 0; font-weight: 700; border-bottom: 1px solid rgba(74,63,107,.06); }
  .mobile-nav a.on { color: var(--coral); }
  .mobile-nav a:last-child { border-bottom: 0; }
  .hero .doodle { display: none; }
  .hero { justify-content: center; padding: calc(var(--head) + 10px) 0 76px !important; }
  .hero .slides { position: relative; inset: auto; width: 100%; aspect-ratio: 1200 / 700; transform: scale(1.12); margin-bottom: 18px; }
  .hero-text { position: relative; padding-bottom: 0; }
  .hero h1 { font-size: 27px; }
  .hero p.lead { font-size: 14.5px; margin-bottom: 14px; }
  .hero-ctas .btn { padding: 11px 20px; font-size: 14.5px; }
  section { padding: 44px 0; }
  .sec-title { font-size: 25px; }
  .banner { padding: 32px 20px 24px; }
  .banner h1 { font-size: 27px; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
  .pkg-panel { padding: 8px 16px 32px; }
  .pkg-panel h2, .about-grid h2 { font-size: 23px; }
  .ws-list { grid-template-columns: 1fr; }
  .footer .wrap { flex-direction: column; text-align: center; }
  .footer nav { justify-content: center; }
  .fab { display: flex; position: fixed; bottom: 16px; left: 16px; z-index: 40; width: 54px; height: 54px; border-radius: 50%; background: var(--coral); color: var(--white); align-items: center; justify-content: center; box-shadow: 3px 3px 0 var(--ink); }
  [dir="ltr"] .fab { left: auto; right: 16px; }
  .fab svg { width: 24px; height: 24px; }
}
@media (max-width: 440px) {
  .features, .pkgs, .events, .teasers { grid-template-columns: 1fr; }
  .feature, .pkg, .tag-card, .teaser { transform: none !important; }
  .langs a { padding: 4px 8px; }
}
@media (max-height: 640px) and (min-width: 821px) {
  .hero .slides { bottom: 170px; }
  .hero h1 { font-size: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero, .hero .slides img { transition: none; }
}

/* ---------- v7: language dropdown with flags ---------- */
.lang { position: relative; }
.lang summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 6px; background: var(--cream); border-radius: 999px; padding: 6px 10px 6px 12px; font-size: 13px; font-weight: 800; color: var(--ink); user-select: none; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary svg { width: 14px; height: 14px; transition: transform .2s ease; }
.lang[open] summary svg { transform: rotate(180deg); }
.flag { width: 22px; height: 16px; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px rgba(0,0,0,.08); flex-shrink: 0; }
.lang-menu { position: absolute; top: calc(100% + 8px); inset-inline-end: 0; min-width: 170px; background: var(--white); border-radius: 16px; box-shadow: 0 10px 30px rgba(74,63,107,.18); padding: 6px; z-index: 50; display: flex; flex-direction: column; }
.lang-menu a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; font-size: 14.5px; font-weight: 700; }
.lang-menu a:hover { background: var(--cream); }
.lang-menu a.on { background: rgba(124,92,252,.1); color: var(--purple); }

/* fonts for scripts Vazirmatn does not cover */
.lang-ru { font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; }
.lang-zh { font-family: 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', 'Source Han Sans SC', sans-serif; }
.lang-tr, .lang-de, .lang-fr, .lang-es { font-family: 'Vazirmatn', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; }
.lang-ru .btn, .lang-zh .btn, .lang-tr .btn, .lang-de .btn, .lang-fr .btn, .lang-es .btn { font-family: inherit; }

/* home: five teasers */
.teasers { grid-template-columns: repeat(5, minmax(0,1fr)); }

/* ---------- schools page ---------- */
.wrap.narrow { max-width: 820px; }
.conds { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.cond { background: var(--white); border-radius: 22px; padding: 20px; display: flex; gap: 14px; align-items: flex-start; box-shadow: 4px 4px 0 rgba(74,63,107,.08); }
.cond:last-child:nth-child(odd) { grid-column: 1 / -1; }
.cond .ic { width: 46px; height: 46px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.cond .ic svg { width: 22px; height: 22px; }
.cond h3 { font-size: 16px; font-weight: 800; margin-bottom: 4px; }
.cond p { margin: 0; font-size: 14.5px; color: var(--grey); line-height: 1.85; }
.ptable { width: 100%; border-collapse: separate; border-spacing: 0; border-radius: 20px; overflow: hidden; box-shadow: 0 0 0 2px var(--cream); }
.ptable th { background: var(--purple); color: var(--white); font-weight: 800; padding: 14px 18px; text-align: start; font-size: 15px; }
.ptable td { padding: 16px 18px; border-top: 2px solid var(--cream); font-size: 15px; font-weight: 700; }
.ptable td.pr { color: var(--coral); font-weight: 900; font-size: 18px; white-space: nowrap; }
.ptable td.pr small { font-size: 12px; color: var(--grey); font-weight: 700; }
.ptable th:last-child, .ptable td:last-child { text-align: end; }
.snack { margin-top: 26px; background: #FFF6DA; border-radius: 22px; padding: 20px; display: flex; gap: 14px; align-items: flex-start; }
.snack .ic { width: 46px; height: 46px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.snack .ic svg { width: 22px; height: 22px; }
.snack h3 { font-size: 16px; font-weight: 800; margin-bottom: 4px; }
.snack p { margin: 0; font-size: 14.5px; color: var(--grey); line-height: 1.9; }
.callbox { margin-top: 26px; background: var(--purple); color: var(--white); border-radius: 24px; padding: 28px 22px; text-align: center; }
.callbox h3 { font-size: 19px; font-weight: 800; margin-bottom: 8px; }
.callbox p { margin: 0 auto 18px; max-width: 560px; font-size: 14.5px; opacity: .9; }

@media (max-width: 1100px) {
  .teasers { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (max-width: 960px) {
  .teasers { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 820px) {
  .conds { grid-template-columns: 1fr; }
  .lang summary .code { display: none; }
}
@media (max-width: 440px) {
  .teasers { grid-template-columns: 1fr; }
  .ptable td, .ptable th { padding: 12px; font-size: 14px; }
  .ptable td.pr { font-size: 16px; }
}

/* ---------- v8: "Take a tour" photo section (home) ---------- */
.tour { --night: #2F2368; position: relative; z-index: 2; color: #fff; padding: 72px 0 84px;
  background-color: var(--night);
  background-image:
    radial-gradient(circle, rgba(255,255,255,.9) 1px, transparent 1.6px),
    radial-gradient(circle, rgba(247,195,37,.7) 1.2px, transparent 1.8px),
    radial-gradient(ellipse at 20% 0%, rgba(236,72,153,.28), transparent 55%),
    radial-gradient(ellipse at 85% 100%, rgba(46,196,182,.25), transparent 55%);
  background-size: 150px 150px, 230px 230px, 100% 100%, 100% 100%;
  background-position: 0 0, 70px 90px, 0 0, 0 0; }
.tour-top, .tour-bottom { position: absolute; inset-inline: 0; height: 26px; background-size: 30px 26px; background-repeat: repeat-x; pointer-events: none; }
.tour-top { top: -25px; background-image: radial-gradient(circle at 15px 26px, var(--night) 15px, transparent 15.6px); }
.tour-bottom { bottom: -25px; background-image: radial-gradient(circle at 15px 0, var(--night) 15px, transparent 15.6px); }
.tour-head { text-align: center; max-width: 640px; margin: 0 auto 46px; }
.tour-pill { display: inline-block; background: var(--yellow); color: var(--ink); font-weight: 900; font-size: 13px; padding: 5px 16px; border-radius: 999px; margin-bottom: 12px; box-shadow: 3px 3px 0 rgba(0,0,0,.25); }
.tour-head h2 { font-size: 36px; font-weight: 900; margin-bottom: 10px; text-shadow: 0 3px 0 rgba(0,0,0,.18); }
.tour-head p { margin: 0; opacity: .86; font-size: 16px; }
.tour-hint { text-align: center; font-size: 13px; opacity: .7; margin: 8px 0 0; }

.snaps { columns: 4 220px; column-gap: 28px; }
.snaps { padding-top: 14px; }
.snap { break-inside: avoid; -webkit-column-break-inside: avoid; display: inline-block; width: 100%; vertical-align: top; margin: 14px 0 34px; background: #fff; padding: 10px 10px 0; border-radius: 18px;
  transform: rotate(var(--rot, 0deg)); box-shadow: 0 16px 34px rgba(8,4,30,.45), 0 2px 0 rgba(255,255,255,.4) inset; position: relative;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease, opacity .7s ease, translate .7s cubic-bezier(.2,.8,.2,1); }
.snap::before { content: ''; position: absolute; top: -13px; left: 50%; width: 88px; height: 26px; transform: translateX(-50%) rotate(-5deg); border-radius: 3px; z-index: 2;
  background: var(--tape); opacity: .9;
  background-image: repeating-linear-gradient(45deg, rgba(255,255,255,.28) 0 6px, transparent 6px 12px);
  box-shadow: 0 2px 6px rgba(0,0,0,.2); }
.snap:nth-child(3n)::before { transform: translateX(-50%) rotate(4deg); }
.snap:hover, .snap:focus-within { transform: rotate(0deg) translateY(-8px) scale(1.025); box-shadow: 0 26px 44px rgba(8,4,30,.55); z-index: 3; }
.snap-btn { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 12px; overflow: hidden; }
.snap-btn:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.snap img { width: 100%; height: auto; border-radius: 12px; background: #eee; transition: transform .6s ease; }
.snap:hover img { transform: scale(1.04); }
.snap figcaption { text-align: center; color: var(--ink); font-weight: 800; font-size: 14.5px; padding: 11px 6px 13px; line-height: 1.5; }
.snap.reveal { opacity: 0; translate: 0 36px; }
.snap.reveal.in { opacity: 1; translate: 0 0; }

/* lightbox */
.lb { position: fixed; inset: 0; z-index: 100; background: rgba(18,12,40,.93); display: flex; align-items: center; justify-content: center; padding: 20px; }
.lb[hidden] { display: none; }
.lb-fig { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; max-width: 92vw; }
.lb-fig img { max-height: 80vh; max-width: 92vw; width: auto; height: auto; border: 8px solid #fff; border-radius: 18px; box-shadow: 0 20px 60px rgba(0,0,0,.5); background: #fff; }
.lb-fig figcaption { color: #fff; font-weight: 800; font-size: 17px; text-align: center; }
.lb-close { position: absolute; top: 14px; inset-inline-end: 16px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); font-size: 30px; line-height: 1; cursor: pointer; }
.lb-nav { position: absolute; top: 50%; translate: 0 -50%; width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--coral); color: #fff; font-size: 34px; line-height: 1; cursor: pointer; box-shadow: 3px 3px 0 rgba(0,0,0,.3); }
.lb-prev { inset-inline-start: 16px; }
.lb-next { inset-inline-end: 16px; }
[dir="rtl"] .lb-nav { transform: scaleX(-1); }
.lb-count { position: absolute; bottom: 16px; left: 50%; translate: -50% 0; color: rgba(255,255,255,.75); font-size: 13px; font-weight: 700; }
body.lb-open { overflow: hidden; }

@media (max-width: 820px) {
  .tour { padding: 56px 0 64px; }
  .tour-head h2 { font-size: 27px; }
  .snaps { columns: 2 140px; column-gap: 14px; }
  .snap { padding: 6px 6px 0; border-radius: 14px; margin-bottom: 22px; transform: rotate(calc(var(--rot, 0deg) * .6)); }
  .snap::before { width: 60px; height: 20px; top: -10px; }
  .snap figcaption { font-size: 12.5px; padding: 8px 4px 10px; }
  .lb-nav { width: 44px; height: 44px; font-size: 28px; top: auto; bottom: 18px; translate: 0 0; }
  .lb-fig img { max-height: 72vh; border-width: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .snap, .snap img { transition: none; }
  .snap.reveal { opacity: 1; translate: 0 0; }
}

/* ---------- v10: birthday page + 6 home teasers ---------- */
.teasers { grid-template-columns: repeat(3, minmax(0,1fr)); }
.bd-note { display: inline-block; background: var(--yellow); color: var(--ink); font-weight: 800; padding: 5px 16px; border-radius: 999px; }
.bd-cards { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 26px; align-items: stretch; }
.bd-card { background: var(--white); border-radius: 24px; overflow: hidden; box-shadow: 5px 5px 0 rgba(74,63,107,.1); display: flex; flex-direction: column; transition: transform .2s ease; }
.bd-card:hover { transform: translateY(-4px); }
.bd-card.star { box-shadow: 0 0 0 3px var(--coral), 6px 6px 0 rgba(74,63,107,.15); transform: scale(1.03); }
.bd-card.star:hover { transform: scale(1.03) translateY(-4px); }
.bd-head { color: #fff; text-align: center; padding: 20px 16px 18px; }
.bd-head h3 { font-size: 20px; font-weight: 900; }
.bd-tag { display: inline-block; font-size: 12px; font-weight: 800; background: rgba(255,255,255,.25); padding: 3px 12px; border-radius: 999px; margin-bottom: 8px; }
.bd-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 12px; }
.bd-line { display: flex; flex-direction: column; align-items: center; gap: 2px; background: var(--cream); border-radius: 14px; padding: 12px; text-align: center; }
.bd-line span { font-size: 13px; color: var(--grey); font-weight: 700; }
.bd-line b { font-size: 22px; font-weight: 900; color: var(--ink); }
.bd-line.we b { color: var(--coral); }
.bd-line small { font-size: 12px; color: var(--grey); font-weight: 700; }
.bd-table td.pr { font-size: 16px; }
.bd-strip { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; margin-bottom: 36px; align-items: center; }
.bd-strip .snap { margin: 12px 0 0; padding-bottom: 10px; }
.bd-strip .snap img { aspect-ratio: 3 / 4; object-fit: cover; }
@media (max-width: 960px) {
  .teasers { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .bd-cards { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .bd-card.star, .bd-card.star:hover { transform: none; }
}
@media (max-width: 820px) {
  .bd-table { display: none; }
  .bd-strip { gap: 10px; }
}
@media (max-width: 440px) {
  .teasers { grid-template-columns: 1fr; }
}

/* ---------- v8 (۱۴۰۵/۰۷): videos, gallery, past workshops ---------- */
section.reel { padding: 64px 0; }
.reel-grid { display: grid; grid-template-columns: minmax(240px, 330px) 1fr; gap: 56px; align-items: center; }
.phone { position: relative; border-radius: 34px; padding: 10px; background: var(--ink); box-shadow: 10px 10px 0 var(--yellow), 0 24px 50px rgba(74,63,107,.25); transform: rotate(-2deg); max-width: 330px; margin-inline: auto; width: 100%; }
.phone video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; border-radius: 26px; background: #2F2368; object-fit: cover; }
.snd { position: absolute; bottom: 22px; inset-inline-start: 50%; translate: -50% 0; display: inline-flex; align-items: center; gap: 7px; border: 0; cursor: pointer; font-family: inherit; font-weight: 800; font-size: 14px; padding: 9px 16px; border-radius: 999px; background: rgba(255,255,255,.94); color: var(--ink); box-shadow: 3px 3px 0 rgba(0,0,0,.25); white-space: nowrap; }
[dir="rtl"] .snd { translate: 50% 0; }
.snd svg { width: 18px; height: 18px; }
.snd[aria-pressed="true"] { background: var(--coral); color: #fff; }
.reel-text h2 { font-size: 32px; font-weight: 900; margin: 6px 0 12px; }
.reel-text > p { color: var(--grey); font-size: 16px; margin: 0 0 18px; }
.reel-points { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; }
.reel-points li { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.reel-points .dot { width: 14px; height: 14px; border-radius: 50%; flex-shrink: 0; box-shadow: 2px 2px 0 var(--ink); }
.mini-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mini-thumbs img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 14px; border: 4px solid #fff; box-shadow: 0 8px 20px rgba(74,63,107,.18); }

.vcards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.vcard { margin: 0; background: #fff; border-radius: 22px; padding: 10px; box-shadow: 0 10px 26px rgba(74,63,107,.12); }
.vthumb { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 9 / 16; background: #2F2368; }
.vthumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.vcard:hover .vthumb img { transform: scale(1.05); }
.vcard figcaption { padding: 12px 6px 6px; display: grid; gap: 2px; }
.vcard figcaption b { font-size: 16px; font-weight: 800; }
.vcard figcaption span { font-size: 13.5px; color: var(--grey); line-height: 1.6; }
.vbtn { border: 0; background: none; padding: 0; cursor: pointer; }
.vbtn.cover { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(20,10,50,.35)); }
.vplay { width: 64px; height: 64px; border-radius: 50%; background: var(--coral); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 4px 4px 0 var(--ink); transition: transform .2s ease; }
.vplay svg { width: 30px; height: 30px; margin-inline-start: 4px; }
[dir="rtl"] .vplay svg { margin-inline-start: 0; margin-inline-end: 4px; }
.vbtn:hover .vplay, .vbtn:focus-visible .vplay { transform: scale(1.1); }
.vbtn:focus-visible { outline: 3px solid var(--yellow); outline-offset: -3px; }

.vm { position: fixed; inset: 0; z-index: 110; background: rgba(18,12,40,.94); display: flex; align-items: center; justify-content: center; padding: 20px; }
.vm[hidden] { display: none; }
.vm video { max-height: 88vh; max-width: 94vw; width: auto; aspect-ratio: 9 / 16; border-radius: 18px; background: #000; box-shadow: 0 20px 60px rgba(0,0,0,.5); }

.past-sec { padding-top: 64px; }
.pasts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.past { background: #fff; border-radius: 22px; overflow: hidden; box-shadow: 0 10px 26px rgba(74,63,107,.12); display: flex; flex-direction: column; }
.pimg { position: relative; aspect-ratio: 4 / 5; background: #eee; }
.pimg img { width: 100%; height: 100%; object-fit: cover; }
.pimg .vplay { width: 54px; height: 54px; }
.pdate { position: absolute; top: 12px; inset-inline-start: 12px; background: var(--yellow); color: var(--ink); font-weight: 900; font-size: 13px; padding: 4px 12px; border-radius: 999px; box-shadow: 2px 2px 0 var(--ink); pointer-events: none; }
.past .pin { padding: 16px 18px 20px; }
.past h3 { font-size: 18px; font-weight: 800; margin-bottom: 6px; }
.past p { margin: 0; font-size: 14px; color: var(--grey); line-height: 1.7; }

.gal-sec { margin-top: 26px; margin-bottom: 26px; }
.fchips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: -18px 0 26px; }
.fchip { border: 0; cursor: pointer; font-family: inherit; font-weight: 800; font-size: 14.5px; padding: 8px 18px; border-radius: 999px; background: rgba(255,255,255,.14); color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.4); }
.fchip.on { background: var(--yellow); color: var(--ink); box-shadow: 3px 3px 0 rgba(0,0,0,.25); }
.gsnap[hidden] { display: none; }

@media (max-width: 1000px) { .vcards, .pasts { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 820px) {
  section.reel { padding: 44px 0; }
  .reel-grid { grid-template-columns: 1fr; gap: 34px; }
  .phone { max-width: 290px; }
  .reel-text { text-align: center; }
  .reel-points { justify-items: center; }
  .reel-text h2 { font-size: 26px; }
}
@media (max-width: 440px) {
  .vcards, .pasts { gap: 12px; }
  .vcard { padding: 6px; border-radius: 16px; }
  .vcard figcaption b { font-size: 14px; }
  .vcard figcaption span { display: none; }
  .vplay { width: 50px; height: 50px; }
  .past .pin { padding: 12px 12px 14px; }
  .past h3 { font-size: 15.5px; }
  .past p { font-size: 13px; }
}
/* v8: 8 menu items — keep the header on one line */
.head-end .btn { white-space: nowrap; }
@media (max-width: 1440px) { .nav { gap: 18px; } .nav a { font-size: 14.5px; } .head-end .btn-login { padding: 9px; } .head-end .btn-login span { display: none; } }
@media (max-width: 1280px) { .nav { gap: 14px; } .nav a { font-size: 14px; } .head-end .btn-coral { display: none; } }
@media (max-width: 1100px) and (min-width: 1001px) { .nav { gap: 11px; } .nav a { font-size: 13px; } .header .logo img { width: 96px; height: auto; } }
.pimg { flex: none; overflow: hidden; }
.pimg img { position: absolute; inset: 0; }
.mini-thumbs { max-width: 420px; }
@media (max-width: 820px) { .mini-thumbs { margin-inline: auto; } }
/* v8.1: new tariff table, add-ons, CTA rows */
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-row.center { justify-content: center; margin-top: 30px; }
.pr-new { display: inline-block; background: var(--yellow); color: var(--ink); font-weight: 900; padding: 6px 18px; border-radius: 999px; box-shadow: 3px 3px 0 var(--ink); }
.zcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }
.zcard { background: #fff; border-radius: 22px; overflow: hidden; box-shadow: 0 10px 26px rgba(74,63,107,.12); }
.zhead { padding: 18px 20px 16px; }
.zhead h3 { font-size: 22px; font-weight: 900; }
.zhead p { margin: 4px 0 0; font-size: 13.5px; opacity: .95; line-height: 1.6; }
.ztable { width: 100%; border-collapse: collapse; font-size: 15px; }
.ztable th, .ztable td { padding: 11px 12px; text-align: center; border-bottom: 1px solid #F0EBDF; }
.ztable thead th { font-size: 12.5px; color: var(--grey); font-weight: 700; line-height: 1.4; }
.ztable tbody th { font-weight: 800; white-space: nowrap; }
.ztable td { font-weight: 900; color: var(--ink); white-space: nowrap; }
.ztable td.we, .ztable th.we { background: #FFF6E0; }
.ztable td.we { color: var(--coral); }
.zunit { text-align: center; font-size: 12.5px; color: var(--grey); padding: 8px 0 12px; }
.pr-notes { list-style: none; padding: 0; margin: 22px auto 0; max-width: 760px; display: grid; gap: 6px; text-align: center; color: var(--grey); font-size: 14.5px; }
.addon-box { margin: 26px auto 0; max-width: 820px; background: var(--purple); color: #fff; border-radius: 22px; padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; box-shadow: 5px 5px 0 var(--ink); }
.addon-box h3 { font-size: 19px; font-weight: 900; }
.addon-box p { margin: 2px 0 0; font-size: 13.5px; opacity: .9; }
.addons { display: flex; gap: 12px; flex-wrap: wrap; }
.addon { background: #fff; color: var(--ink); border-radius: 14px; padding: 8px 16px; display: grid; text-align: center; }
.addon span { font-size: 13px; font-weight: 700; }
.addon b { color: var(--coral); font-size: 17px; font-weight: 900; }
.bd-c { margin: 4px 0 0; font-size: 13.5px; opacity: .95; }
@media (max-width: 960px) { .zcards { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }
@media (max-width: 820px) { .reel-text .cta-row { justify-content: center; } .addon-box { justify-content: center; text-align: center; } }
/* v8.3 workshop items */
.ws-items { margin: 40px auto 0; max-width: 980px; background: #fff7e6; border: 3px solid var(--ink); border-radius: 24px; padding: 22px 24px 24px; box-shadow: 6px 6px 0 var(--yellow); text-align: center; }
.ws-items h3 { font-size: 22px; font-weight: 900; margin: 0; }
.ws-items > p { margin: 4px 0 18px; font-size: 14px; opacity: .8; }
.wsi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.wsi { background: #fff; border: 2px solid var(--ink); border-radius: 16px; padding: 12px 10px; display: grid; gap: 4px; }
.wsi span { font-size: 14px; font-weight: 700; }
.wsi b { color: var(--coral); font-size: 18px; font-weight: 900; }
.wsi b small { font-size: 12px; color: var(--ink); font-weight: 700; }
@media (max-width: 820px) { .wsi-grid { grid-template-columns: repeat(2, 1fr); } }
