
    :root {
      --green-dark:  #245C4A;
      --green-mid:   #3F8068;
      --green-light: #78A995;
      --green-pale:  #E4F0EA;
      --green-soft:  #F1F7F3;
      --cream:       #F8F7F2;
      --gold:        #C6A15B;
      --gold-light:  #D6BC8A;
      --white:       #ffffff;
      --gray:        #68756F;
      --text:        #26332D;
    }
    * { margin:0; padding:0; box-sizing:border-box; }
    img { max-width:100%; height:auto; }
    body {
      font-family: "Vazirmatn", Tahoma, sans-serif;
      font-weight: 400;
      background: var(--cream);
      color: var(--text);
      overflow-x: hidden;
    }

    /* ===== NAV ===== */
    nav {
      position: fixed; top:0; right:0; left:0; z-index:100;
      min-height:82px;
      display:flex; align-items:center; justify-content:space-between;
      gap:24px;
      padding:10px clamp(22px,4vw,58px);
      background:rgba(248,247,242,0.96);
      backdrop-filter:blur(16px);
      -webkit-backdrop-filter:blur(16px);
      border-bottom:1px solid rgba(36,92,74,0.10);
      box-shadow:0 8px 26px rgba(36,92,74,0.06);
      transition:all 0.3s ease;
    }
    .logo-wrap {
      display:flex; align-items:center; gap:13px;
      min-width:max-content;
    }
    .brand-marks {
      display:flex; align-items:center; gap:8px;
      padding-left:12px;
      border-left:1px solid rgba(36,92,74,0.14);
    }
    .brand-mark {
      display:grid; place-items:center;
      flex-shrink:0;
      overflow:hidden;
    }
    .brand-mark img { display:block; width:100%; height:100%; object-fit:contain; }
    .brand-mark-misagh {
      width:52px; height:52px;
      padding:0;
      border-radius:50%;
      background:transparent;
      border:1px solid rgba(36,92,74,0.08);
      box-shadow:0 5px 14px rgba(36,92,74,0.14);
    }
    .brand-mark-misagh img { transform:none; }
    .brand-mark-mehrabani {
      width:52px; height:52px;
      padding:0;
      border-radius:50%;
      background:var(--white);
      border:1px solid rgba(36,92,74,0.10);
      box-shadow:0 5px 14px rgba(36,92,74,0.10);
    }
    .logo-text { line-height:1.25; min-width:0; }
    .logo-main {
      display:flex; align-items:center; gap:7px;
      white-space:nowrap;
      font-size:1rem; font-weight:600; color:var(--green-dark);
    }
    .brand-primary { color:var(--green-dark); }
    .brand-separator { color:rgba(36,92,74,0.34); font-size:.72rem; }
    .brand-secondary { color:var(--gold); font-weight:700; }
    .logo-sub {
      margin-top:4px;
      font-size:.72rem; color:var(--gray); font-weight:400;
      display:block;
      white-space:normal;
      line-height:1.65;
      max-width:520px;
    }
    nav ul {
      list-style:none;
      display:flex; align-items:center; gap:3px;
      padding:5px;
      margin:0;
      border:1px solid rgba(36,92,74,0.08);
      border-radius:18px;
      background:rgba(255,255,255,0.44);
    }
    nav ul a {
      display:block;
      text-decoration:none;
      color:var(--gray);
      font-size:.88rem; font-weight:500;
      padding:9px 11px;
      border-radius:12px;
      transition:background .2s ease,color .2s ease,transform .2s ease;
      position:relative;
      white-space:nowrap;
    }
    nav ul a::after { display:none; }
    nav ul a:hover {
      color:var(--green-dark);
      background:var(--green-soft);
      transform:translateY(-1px);
    }
    .nav-btn {
      background:var(--green-dark) !important;
      color:var(--white) !important;
      padding:10px 18px !important;
      border-radius:12px !important;
      margin-right:4px;
      box-shadow:0 5px 14px rgba(36,92,74,0.14);
    }
    .nav-btn:hover {
      background:var(--green-mid) !important;
      transform:translateY(-1px);
    }
    .nav-btn::after { display:none !important; }

    /* ===== HERO ===== */
    #home {
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding-top: 88px;
      position: relative;
      overflow: hidden;
      /* پس‌زمینه کرم همرنگ با تصویر */
      background:
        radial-gradient(ellipse 90% 50% at 50% 0%, rgba(120,169,149,0.18) 0%, transparent 70%),
        var(--cream);
    }

    /* تصویر هرو — بدون باکس، با fade کناره‌ها */
    .hero-image-wrap {
      width: 100%;
      max-width: 860px;
      position: relative;
      animation: fadeUp 0.8s ease both;
    }
    .hero-image-wrap img {
      width: 100%;
      display: block;
      /* حذف لبه‌های تصویر با mask */
      -webkit-mask-image:
        linear-gradient(to bottom,  transparent 0%, black 6%, black 92%, transparent 100%),
        linear-gradient(to right,   transparent 0%, black 5%, black 95%, transparent 100%);
      -webkit-mask-composite: destination-in;
      mask-image:
        linear-gradient(to bottom,  transparent 0%, black 6%, black 92%, transparent 100%),
        linear-gradient(to right,   transparent 0%, black 5%, black 95%, transparent 100%);
      mask-composite: intersect;
    }

    /* اسلایدر هرو */
    .hero-slider { position: relative; }
    .hero-slide {
      position: absolute;
      inset: 0;
      opacity: 0;
      visibility: hidden;
      transition: opacity 1s ease;
    }
    .hero-slide.active {
      position: relative;
      opacity: 1;
      visibility: visible;
    }
    .hero-dots {
      position: absolute;
      bottom: 14%;
      left: 50%;
      transform: translateX(-50%);
      display: flex;
      gap: 9px;
      z-index: 5;
    }
    .hero-dot {
      width: 9px; height: 9px;
      border-radius: 50%;
      background: rgba(255,255,255,0.55);
      border: 1px solid rgba(36,92,74,0.3);
      cursor: pointer;
      transition: background 0.25s, transform 0.25s;
    }
    .hero-dot.active {
      background: var(--green-dark);
      transform: scale(1.2);
    }

    /* فلش‌های ناوبری اسلایدر هرو */
    .hero-arrow {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      width: 44px; height: 44px;
      border-radius: 50%;
      background: rgba(255,255,255,0.85);
      border: 1px solid rgba(36,92,74,0.15);
      color: var(--green-dark);
      display: flex; align-items: center; justify-content: center;
      font-size: 1.3rem;
      cursor: pointer;
      z-index: 6;
      box-shadow: 0 6px 18px rgba(36,92,74,0.16);
      transition: all 0.25s;
    }
    .hero-arrow:hover { background: var(--green-dark); color: #fff; }
    .hero-arrow-prev { right: 18px; }
    .hero-arrow-next { left: 18px; }
    @media (max-width:640px) {
      .hero-arrow { width: 36px; height: 36px; font-size: 1.05rem; }
    }

    /* ===== نوار معرفی زیر هرو (سبز ملایم) ===== */
    #intro-band {
      background: linear-gradient(160deg, var(--green-pale), var(--green-soft));
      padding: 70px 60px 60px;
      position: relative;
    }
    .intro-heading { text-align: center; margin-bottom: 46px; }
    .intro-heading h2 {
      color: var(--green-dark); font-size: 1.9rem; font-weight: 600; margin-bottom: 10px;
    }
    .intro-heading p {
      color: var(--green-mid); font-size: 1.05rem; font-weight: 400;
    }
    .intro-grid {
      display: grid; grid-template-columns: repeat(3,1fr); gap: 40px;
      max-width: 1180px; margin: 0 auto;
    }
    .intro-item-icon {
      width: 46px; height: 46px; border-radius: 50%;
      background: var(--green-dark);
      display: flex; align-items: center; justify-content: center;
      font-size: 1.2rem; margin-bottom: 16px;
      box-shadow: 0 6px 16px rgba(36,92,74,0.25);
    }
    .intro-item h3 {
      color: var(--green-dark); font-size: 1.1rem; font-weight: 600; margin-bottom: 12px;
    }
    .intro-item p {
      color: var(--text); opacity: 0.85; font-size: 0.92rem; line-height: 2;
    }
    @media (max-width:900px) {
      .intro-grid { grid-template-columns: 1fr; gap: 34px; }
      #intro-band { padding: 55px 26px 45px; }
    }

    /* دکمه‌ها زیر تصویر */
    .hero-actions {
      display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
      padding: 32px 0 0;
      animation: fadeUp 0.9s ease 0.2s both;
    }
    .btn-primary {
      background: var(--green-dark); color: var(--white);
      padding: 14px 38px; border-radius: 50px;
      text-decoration: none; font-weight: 500; font-size: 1rem;
      transition: all 0.25s; box-shadow: 0 6px 24px rgba(36,92,74,0.22);
    }
    .btn-primary:hover { background:var(--green-mid); transform:translateY(-2px); }
    .btn-outline {
      border: 2px solid var(--green-dark); color: var(--green-dark);
      padding: 14px 38px; border-radius: 50px;
      text-decoration: none; font-weight: 500; font-size: 1rem;
      transition: all 0.25s;
    }
    .btn-outline:hover { background:var(--green-soft); transform:translateY(-2px); }

    /* نوار آمار پایین هرو */
    .hero-stats-bar {
      width: 100%;
      border-top: 1px solid var(--green-pale);
      display: flex; justify-content: center;
      margin-top: 48px;
      animation: fadeUp 1s ease 0.35s both;
    }
    .stat-item {
      flex:1; max-width:260px;
      padding:24px 16px; text-align:center;
      border-left: 1px solid var(--green-pale);
    }
    .stat-item:last-child { border-left:none; }
    .stat-num { font-size:1.8rem; font-weight:600; color:var(--green-dark); }
    .stat-num-text { font-size:1.12rem; line-height:1.55; }
    .stat-label { font-size:0.78rem; color:var(--gray); margin-top:3px; }

    /* ===== SECTION COMMON ===== */
    section:not(#home) { padding: 90px 60px; }
    .section-label {
      font-size:0.82rem; font-weight:500; color:var(--green-mid);
      letter-spacing:0.3px; text-transform:uppercase; margin-bottom:10px;
    }
    .section-title {
      font-size:2rem; font-weight:600; color:var(--green-dark);
      margin-bottom:14px; line-height:1.4;
    }
    .section-desc { font-size:0.95rem; color:var(--gray); line-height:2; max-width:520px; }

    /* ===== SERVICES (image cards) ===== */
    #services { background: var(--white); }
    .services-grid {
      display:grid; grid-template-columns:repeat(3,1fr); gap:26px; margin-top:50px;
    }
    .service-card {
      position:relative; overflow:hidden; border-radius:22px;
      min-height:380px; display:flex; flex-direction:column; justify-content:flex-end;
      padding:30px 26px; isolation:isolate;
      box-shadow:0 10px 32px rgba(36,92,74,0.14);
      transition:transform 0.35s ease, box-shadow 0.35s ease;
    }
    .service-card-bg {
      position:absolute; inset:0; z-index:-2;
      background-size:cover; background-position:center;
      transition:transform 0.6s ease;
    }
    .service-card::after {
      content:""; position:absolute; inset:0; z-index:-1;
      background:linear-gradient(to top, rgba(20,30,15,0.92) 0%, rgba(20,30,15,0.55) 42%, rgba(20,30,15,0.05) 75%);
    }
    .service-card:hover { transform:translateY(-8px); box-shadow:0 22px 50px rgba(36,92,74,0.26); }
    .service-card:hover .service-card-bg { transform:scale(1.07); }
    .service-meta {
      display:flex; align-items:center; gap:8px; margin-bottom:14px;
      font-size:0.78rem; color:rgba(255,255,255,0.85); font-weight:400;
    }
    .service-meta .dot { width:5px; height:5px; border-radius:50%; background:rgba(255,255,255,0.6); }
    .service-title {
      font-size:1.25rem; font-weight:600; color:#fff; margin-bottom:10px; line-height:1.5;
    }
    .service-desc {
      color:rgba(255,255,255,0.82); font-size:0.86rem; line-height:1.9;
      margin-bottom:20px;
      display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden;
    }
    .service-more {
      display:inline-flex; align-items:center; justify-content:center;
      width:fit-content; padding:11px 26px; border-radius:50px;
      border:1.5px solid rgba(255,255,255,0.75);
      color:#fff; font-size:0.85rem; font-weight:500; text-decoration:none;
      transition:all 0.25s; backdrop-filter:blur(4px);
    }
    .service-more:hover { background:#fff; color:var(--green-dark); border-color:#fff; }
    .service-card-icons {
      position:absolute; top:20px; left:20px; z-index:2;
      display:flex; gap:10px;
    }
    .service-card-icons .icon-badge {
      width:56px; height:56px; border-radius:50%;
      display:flex; align-items:center; justify-content:center;
      position:relative;
      border:2px solid rgba(255,255,255,.82);
      box-shadow:0 7px 18px rgba(25,48,39,.28), 0 0 0 5px rgba(255,255,255,.2), inset 0 1px 0 rgba(255,255,255,.28);
      transition:transform .25s ease, box-shadow .25s ease;
    }
    .service-card-icons .icon-badge::after {
      content:""; position:absolute; inset:4px; border-radius:50%;
      border:1px solid rgba(255,255,255,.2); pointer-events:none;
    }
    .service-card-icons .icon-badge svg {
      width:29px; height:29px; fill:none;
      stroke:#fff; stroke-width:1.75; stroke-linecap:round; stroke-linejoin:round;
      filter:drop-shadow(0 1px 1px rgba(0,0,0,.12));
    }
    .service-card-icons .icon-couple,
    .service-card-icons .icon-individual,
    .service-card-icons .icon-career {
      background:linear-gradient(145deg,#315d4c,#173f32);
    }
    .service-card-icons .icon-family,
    .service-card-icons .icon-child {
      background:linear-gradient(145deg,#e5a16b,#c66f3f);
    }
    .service-card-icons .icon-online {
      background:linear-gradient(145deg,#b6937c,#876b5b);
    }
    .service-card-icons .icon-couple svg { stroke:#f0d08d; }
    .service-card:hover .service-card-icons .icon-badge {
      transform:translateY(-3px) scale(1.045);
      box-shadow:0 10px 22px rgba(25,48,39,.34), 0 0 0 5px rgba(255,255,255,.23), inset 0 1px 0 rgba(255,255,255,.3);
    }
    @media (max-width:1024px){ .services-grid{ grid-template-columns:repeat(2,1fr); } }
    @media (max-width:640px){ .services-grid{ grid-template-columns:1fr; } .service-card{ min-height:320px; } }

    /* ===== CONSULTANTS ===== */
    #consultants { background:var(--green-soft); }
    .consultants-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:28px; margin-top:50px; }
    .consultant-card {
      border-radius:24px; overflow:hidden;
      box-shadow:0 6px 28px rgba(36,92,74,0.09); transition:all 0.3s; background:white;
    }
    .consultant-card:hover { transform:translateY(-7px); box-shadow:0 18px 46px rgba(36,92,74,0.16); }
    .consultant-avatar {
      width:100%; height:200px; display:flex; align-items:center;
      justify-content:center; font-size:5rem;
    }
    .c-bg-1 { background:linear-gradient(135deg,#9CC4B0,#D9EBE1); }
    .c-bg-2 { background:linear-gradient(135deg,#D6BC8A,#F0E6D2); }
    .c-bg-3 { background:linear-gradient(135deg,#3F8068,#78A995); }
    .consultant-info { padding:22px; }
    .consultant-name { font-size:1.05rem; font-weight:600; color:var(--green-dark); margin-bottom:3px; }
    .consultant-title { font-size:0.82rem; color:var(--gold); font-weight:500; margin-bottom:10px; }
    .consultant-bio { font-size:0.85rem; color:var(--gray); line-height:1.8; margin-bottom:8px; }
    .consultant-days { font-size:0.82rem; color:var(--green-mid); font-weight:500; margin-bottom:12px; }
    .consultant-tags { display:flex; flex-wrap:wrap; gap:6px; }
    .tag {
      background:var(--green-soft); color:var(--green-dark);
      font-size:0.75rem; font-weight:500; padding:4px 10px; border-radius:50px;
      border:1px solid var(--green-pale);
    }


    /* ===== ADULT KINDERGARTEN ===== */
    .adult-kindergarten-section { background:#fffaf3; }
    .adult-kindergarten-wrap {
      display:grid; grid-template-columns:minmax(280px,420px) minmax(0,1fr); gap:46px; align-items:center;
      max-width:1120px; margin:0 auto; padding:10px 0;
    }
    .adult-kindergarten-poster {
      background:#fff; border-radius:28px; padding:14px; box-shadow:0 18px 48px rgba(36,92,74,.14); border:1px solid rgba(72,122,96,.12);
    }
    .adult-kindergarten-poster img { width:100%; height:auto; display:block; object-fit:contain; border-radius:18px; }
    .adult-kindergarten-content .section-title { margin-bottom:14px; }
    .adult-kindergarten-content > p { color:var(--gray); line-height:2; margin:0 0 14px; }
    .adult-kindergarten-lead { color:var(--green-dark) !important; font-size:1.05rem; font-weight:600; }
    .adult-kindergarten-chips { display:flex; flex-wrap:wrap; gap:9px; margin:20px 0; }
    .adult-kindergarten-chips span { background:#fff; border:1px solid var(--green-pale); border-radius:999px; padding:7px 13px; color:var(--green-dark); font-size:.84rem; font-weight:600; }
    .adult-kindergarten-meta { background:#fff; border:1px dashed var(--green-pale); border-radius:14px; padding:12px 14px; color:var(--green-dark); font-weight:600; margin:8px 0 18px; }
    .adult-kindergarten-actions { display:flex; flex-wrap:wrap; gap:12px; align-items:center; }
    .adult-kindergarten-phone { margin-top:14px; color:var(--gray); font-size:.88rem; }
    @media(max-width:860px){
      .adult-kindergarten-wrap { grid-template-columns:1fr; gap:28px; }
      .adult-kindergarten-poster { max-width:430px; width:100%; margin:0 auto; }
    }
    @media(max-width:640px){
      .adult-kindergarten-actions .btn-primary, .adult-kindergarten-actions .btn-outline { width:100%; text-align:center; }
    }

    /* ===== PROGRAMS ===== */
    #programs { background: var(--green-soft); }

    .registration-cards-grid {
      display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:28px; margin-top:42px; align-items:stretch;
    }
    .registration-mini-card {
      background:#fff; border:1px solid rgba(72,122,96,0.18); border-radius:26px; overflow:hidden;
      box-shadow:0 14px 38px rgba(36,92,74,0.12); display:flex; flex-direction:column; min-width:0;
      transition:transform .25s ease, box-shadow .25s ease;
    }
    .registration-mini-card:hover { transform:translateY(-5px); box-shadow:0 20px 48px rgba(36,92,74,0.16); }
    .registration-mini-media {
      height:300px; background:linear-gradient(145deg,#f7f4ec,#eef5f1); display:flex; align-items:center; justify-content:center; overflow:hidden;
    }
    .registration-mini-media img {
      width:100%; height:100%; object-fit:cover; display:block; padding:0;
    }    .registration-poster-relationship { object-position:center top; }
    .registration-poster-teen { object-position:center top; }
    .registration-mini-content { padding:24px 24px 26px; display:flex; flex-direction:column; flex:1; }
    .registration-mini-content .registration-pill { margin-bottom:14px; }
    .registration-mini-content h3 {
      margin:0 0 10px; color:var(--green-dark); font-size:1.22rem; line-height:1.65;
    }
    .registration-mini-content p {
      margin:0 0 16px; color:var(--gray); font-size:.9rem; line-height:1.9;
    }
    .registration-mini-meta {
      margin-top:auto; margin-bottom:18px; padding:10px 12px; border-radius:13px; background:#f7faf8;
      border:1px solid rgba(92,138,111,.16); color:var(--green-dark); font-size:.82rem; font-weight:600; line-height:1.75;
    }
    .registration-mini-btn { display:block; width:100%; text-align:center; }
    .program-detail-wrap { max-width:1120px; }
    .program-detail-wrap > h1 { margin-bottom:8px; }
    .program-detail-card { margin-top:28px; }

    .registration-program-card {
      margin-top:42px; display:grid; grid-template-columns:minmax(0,0.92fr) minmax(0,1.08fr);
      gap:0; background:#fff; border:1px solid rgba(72,122,96,0.18); border-radius:28px;
      overflow:hidden; box-shadow:0 18px 46px rgba(36,92,74,0.14);
    }
    .registration-program-poster {
      min-height:100%; display:flex; align-items:center; justify-content:center;
      padding:22px; background:linear-gradient(145deg,#f7f4ec,#eef5f1);
    }
    .registration-program-poster img {
      width:100%; height:auto; display:block; border-radius:20px;
      box-shadow:0 10px 28px rgba(36,92,74,0.12);
    }

    /* Full posters on program detail pages */
    .detail-full-poster {
      margin:28px auto 30px;
      padding:16px;
      background:#fff;
      border:1px solid rgba(72,122,96,0.16);
      border-radius:24px;
      box-shadow:0 14px 38px rgba(36,92,74,0.12);
      overflow:hidden;
    }
    .detail-full-poster-square { max-width:760px; }
    .detail-full-poster-portrait { max-width:560px; }
    .detail-full-poster img {
      width:100%; height:auto; display:block; object-fit:contain; border-radius:16px;
    }
    .registration-program-card.program-detail-card {
      display:block;
      grid-template-columns:none;
      margin-top:22px;
    }
    .registration-program-card.program-detail-card .registration-program-content {
      padding:34px 36px 32px;
    }
    .registration-program-content { padding:38px 38px 34px; }
    .registration-pill {
      display:inline-flex; align-items:center; gap:7px; margin-bottom:18px;
      padding:7px 14px; border-radius:999px; background:#eef7f0; color:var(--green-dark);
      border:1px solid var(--green-pale); font-size:0.8rem; font-weight:700;
    }
    .registration-program-content h3 {
      margin:0 0 8px; color:var(--green-dark); font-size:1.5rem; line-height:1.65;
    }
    .registration-question {
      margin:0 0 16px; color:var(--green-mid); font-size:1.08rem; font-weight:700;
    }
    .registration-program-content h4 {
      margin:0 0 14px; color:#7d2438; font-size:1.12rem; line-height:1.75;
    }
    .registration-program-content > p:not(.registration-question) {
      color:var(--gray); font-size:0.92rem; line-height:2; margin-bottom:18px;
    }
    .registration-topics-title {
      color:var(--text); font-weight:700; font-size:0.92rem; margin-bottom:10px;
    }
    .registration-topics {
      list-style:none; display:grid; gap:8px; margin:0 0 20px; padding:0;
    }
    .registration-topics li {
      position:relative; padding:10px 34px 10px 12px; border-radius:14px;
      background:var(--cream); border:1px solid rgba(92,138,111,0.18);
      color:var(--text); font-size:0.87rem; line-height:1.75;
    }
    .registration-topics li::before {
      content:"◆"; position:absolute; right:13px; top:10px; color:var(--green-mid); font-size:0.72rem;
    }
    .registration-meta {
      display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; margin-top:4px;
    }
    .registration-meta > div {
      background:#f8faf7; border:1px solid rgba(92,138,111,0.16); border-radius:14px;
      padding:11px 13px; color:var(--text); font-size:0.83rem; line-height:1.8;
    }
    .registration-meta span { margin-left:5px; }
    .registration-meta strong { color:var(--green-dark); }
    .registration-actions { margin-top:22px; }
    .registration-actions .btn-primary { display:inline-block; }
    .programs-past-heading {
      margin-top:72px; padding-top:48px; border-top:1px dashed rgba(72,122,96,0.28);
    }
    .programs-past-heading .section-title { font-size:1.65rem; }

    @media(max-width:900px){
      .registration-cards-grid { grid-template-columns:1fr; }
      .registration-mini-media { height:280px; }
      .registration-program-card { grid-template-columns:1fr; }
      .registration-program-poster { padding:18px; }
    }
    @media(max-width:640px){

      .detail-full-poster { padding:10px; margin:22px auto 24px; border-radius:18px; }
      .detail-full-poster img { border-radius:12px; }
      .registration-program-card.program-detail-card .registration-program-content { padding:24px 20px; }
      .registration-cards-grid { gap:20px; margin-top:30px; }
      .registration-mini-media { height:240px; }
      .registration-mini-content { padding:20px 18px 22px; }
      .registration-mini-content h3 { font-size:1.08rem; }
      .registration-program-content { padding:26px 20px 24px; }
      .registration-program-content h3 { font-size:1.24rem; }
      .registration-question { font-size:1rem; }
      .registration-meta { grid-template-columns:1fr; }
      .registration-actions .btn-primary { width:100%; text-align:center; }
      .programs-past-heading { margin-top:52px; padding-top:36px; }
    }
    .programs-slider {
      max-width:1260px;
      margin:50px auto 0;
      display:grid;
      grid-template-columns:auto minmax(0,1fr) auto;
      align-items:center;
      gap:16px;
    }
    .programs-viewport { overflow:hidden; min-width:0; }
    .programs-grid {
      display:flex;
      gap:24px;
      margin:0;
      align-items:stretch;
      transition:transform .35s ease;
      will-change:transform;
    }
    .programs-grid .program-card { flex:0 0 calc((100% - 48px) / 3); }
    .program-slider-btn {
      width:46px; height:46px; border-radius:50%;
      border:1px solid rgba(36,92,74,.12);
      background:rgba(255,255,255,.96); color:var(--green-dark);
      box-shadow:0 8px 18px rgba(36,92,74,.12);
      display:inline-flex; align-items:center; justify-content:center;
      cursor:pointer; font-size:1rem;
      transition:transform .2s ease, box-shadow .2s ease, opacity .2s ease;
    }
    .program-slider-btn:hover:not(:disabled) { transform:translateY(-2px); box-shadow:0 12px 24px rgba(36,92,74,.16); }
    .program-slider-btn:disabled { opacity:.4; cursor:default; box-shadow:none; }
    @media(max-width:980px){
      .programs-grid .program-card { flex-basis:calc((100% - 24px) / 2); }
    }
    @media(max-width:640px){
      .programs-slider { grid-template-columns:40px minmax(0,1fr) 40px; gap:9px; margin-top:30px; }
      .programs-grid { gap:16px; }
      .programs-grid .program-card { flex-basis:100%; }
      .program-slider-btn { width:40px; height:40px; }
      .programs-past-heading { margin-top:42px; padding-top:28px; }
    }
    .program-card {
      background:#fff; border-radius:24px; overflow:hidden;
      box-shadow:0 10px 32px rgba(36,92,74,0.12);
      transition:transform 0.3s ease, box-shadow 0.3s ease;
    }
    .program-card:hover { transform:translateY(-6px); box-shadow:0 20px 46px rgba(36,92,74,0.18); }
    /* پوسترهای برنامه‌ها با قاب یکسان، بدون کشیدگی یا برش متن پوستر */
    .program-card-poster {
      position:relative;
      width:100%;
      aspect-ratio:1 / 1;
      display:flex;
      align-items:center;
      justify-content:center;
      overflow:hidden;
      background:linear-gradient(145deg,#f7f4ec,#eef5f1);
    }
    .program-card-img {
      width:100%;
      height:100%;
      display:block;
      object-fit:contain;
      object-position:center;
    }
    /* مهر قرمز «برگزار شد» روی پوسترهای برنامه‌های اجراشده */
    .program-stamp {
      position:absolute; top:22px; left:22px; z-index:3;
      width:92px; height:92px; border:3px solid #b3261e;
      border-radius:50%; background:rgba(255,255,255,0.90);
      color:#b3261e; display:flex; align-items:center; justify-content:center;
      text-align:center; font-size:0.88rem; font-weight:800; line-height:1.25;
      transform:rotate(-12deg);
      box-shadow:0 2px 7px rgba(0,0,0,0.16);
      text-shadow:0 0 0.5px #b3261e;
    }
    .program-stamp::before {
      content:""; position:absolute; inset:6px; border:1.5px dashed #b3261e;
      border-radius:50%;
    }
    .program-stamp span { position:relative; z-index:1; }
    @media(max-width:640px){
      .program-stamp { width:76px; height:76px; top:14px; left:14px; font-size:0.72rem; }
    }
    .program-card-body { padding:26px 26px 28px; }
    /* نمایش یکدست پوسترها در بخش برنامه‌های اجراشده */
    #programs .program-card-body { display:none; }
    .program-badge {
      display:inline-block; background:var(--green-soft); color:var(--green-dark);
      font-size:0.78rem; font-weight:500; padding:6px 16px; border-radius:50px;
      border:1px solid var(--green-pale); margin-bottom:14px;
    }
    .program-card-title { font-size:1.2rem; font-weight:600; color:var(--green-dark); margin-bottom:14px; line-height:1.5; }
    .program-card-text { font-size:0.88rem; color:var(--gray); line-height:1.95; margin-bottom:14px; }
    .program-activities { list-style:none; display:flex; flex-wrap:wrap; gap:8px; margin-bottom:16px; }
    .program-activities li {
      background:var(--cream); border:1px solid var(--green-pale); color:var(--text);
      font-size:0.82rem; font-weight:500; padding:6px 13px; border-radius:50px;
    }
    .program-contact {
      font-size:0.85rem; color:var(--green-mid); font-weight:500; line-height:1.9;
      border-top:1px dashed var(--green-pale); padding-top:14px; margin-top:6px;
    }

    /* ===== TEEN CLUB ===== */
    #teen-club { background: var(--white); }
    .club-poster-wrap {
      max-width: 320px; margin: 0 0 28px; border-radius: 22px; overflow: hidden;
      box-shadow: 0 16px 40px rgba(36,92,74,0.18);
    }
    .club-poster-wrap img { width:100%; display:block; }
    .club-callout {
      max-width:640px; margin-top:22px; background:var(--green-soft);
      border:1px solid var(--green-pale); border-radius:18px; padding:22px 24px;
    }
    .club-callout p { font-size:0.92rem; color:var(--text); line-height:1.9; margin-bottom:12px; }
    .club-callout p:last-of-type { margin-bottom:14px; }
    .club-hashtags { font-size:0.82rem; color:var(--green-mid); font-weight:500; }
    .club-wrap {
      display:grid; grid-template-columns:1.25fr 1fr; gap:50px;
      margin-top:50px; align-items:start;
    }
    .club-badges { display:flex; gap:14px; flex-wrap:wrap; margin-bottom:26px; }
    .club-badge {
      background:var(--green-soft); color:var(--green-dark);
      padding:10px 20px; border-radius:50px; font-size:0.85rem; font-weight:700;
      display:flex; align-items:center; gap:8px; border:1px solid var(--green-pale);
    }
    .club-skills {
      display:grid; grid-template-columns:repeat(2,1fr); gap:12px; margin-bottom:28px;
    }
    .club-skill {
      display:flex; align-items:center; gap:11px; background:white;
      border:1px solid var(--green-pale); border-radius:14px; padding:12px 14px;
      font-size:0.85rem; font-weight:500; color:var(--text);
      box-shadow:0 4px 14px rgba(36,92,74,0.05);
      transition:transform 0.25s, box-shadow 0.25s;
    }
    .club-skill:hover { transform:translateY(-3px); box-shadow:0 10px 22px rgba(36,92,74,0.12); }
    .club-skill span {
      width:36px; height:36px; border-radius:50%; background:var(--green-soft);
      display:flex; align-items:center; justify-content:center; font-size:1.05rem; flex-shrink:0;
    }
    .club-features { list-style:none; display:flex; flex-direction:column; gap:11px; margin-bottom:32px; }
    .club-features li { font-size:0.9rem; color:var(--gray); display:flex; gap:10px; align-items:flex-start; line-height:1.7; }
    .club-features li::before { content:"✓"; color:var(--green-mid); font-weight:800; flex-shrink:0; }
    .club-card {
      background:linear-gradient(160deg,var(--green-dark),var(--green-mid));
      border-radius:26px; padding:42px 34px; color:#fff; position:relative;
      overflow:hidden; box-shadow:0 22px 50px rgba(36,92,74,0.24);
    }
    .club-card::before {
      content:"🌱"; position:absolute; font-size:9rem; opacity:0.09; top:-25px; left:-25px;
    }
    .club-card-eyebrow { font-size:0.78rem; font-weight:500; letter-spacing:0.4px; color:rgba(255,255,255,0.75); text-transform:uppercase; margin-bottom:10px; }
    .club-card-title { font-size:1.35rem; font-weight:600; margin-bottom:16px; position:relative; z-index:1; }
    .club-card-text { font-size:0.9rem; line-height:2; color:rgba(255,255,255,0.85); margin-bottom:26px; position:relative; z-index:1; }
    .club-card-price {
      background:rgba(255,255,255,0.12); border:1px solid rgba(255,255,255,0.25);
      border-radius:16px; padding:16px 18px; margin-bottom:22px; position:relative; z-index:1;
    }
    .club-card-price div:first-child { font-size:0.78rem; color:rgba(255,255,255,0.7); margin-bottom:4px; }
    .club-card-price div:last-child { font-size:1.05rem; font-weight:600; }
    .club-card .btn-primary {
      background:#fff; color:var(--green-dark); width:100%; text-align:center;
      display:block; box-shadow:none; position:relative; z-index:1;
    }
    .club-card .btn-primary:hover { background:var(--green-pale); }
    @media (max-width:900px) {
      .club-wrap { grid-template-columns:1fr; }
      .club-skills { grid-template-columns:1fr 1fr; }
    }
    @media (max-width:520px) {
      .club-skills { grid-template-columns:1fr; }
    }

    /* ===== BOOKING ===== */
    #booking { background: var(--green-dark); position:relative; overflow:hidden; }
    #booking::before {
      content:""; position:absolute; width:500px; height:500px; border-radius:50%;
      background:radial-gradient(circle,rgba(120,169,149,0.15),transparent);
      top:-200px; left:-150px;
    }
    .booking-wrap {
      display:grid; grid-template-columns:1fr 1fr; gap:70px;
      align-items:center; position:relative; z-index:1;
    }
    .booking-info .section-label { color:var(--green-pale); }
    .booking-info .section-title { color:white; }
    .booking-info .section-desc { color:rgba(255,255,255,0.7); }
    .booking-features { list-style:none; margin-top:28px; display:flex; flex-direction:column; gap:14px; }
    .booking-features li {
      display:flex; align-items:center; gap:12px;
      color:rgba(255,255,255,0.85); font-size:0.92rem;
    }
    .booking-features li span {
      width:26px; height:26px; background:rgba(120,169,149,0.25);
      border-radius:50%; display:flex; align-items:center; justify-content:center;
      font-size:0.78rem; flex-shrink:0;
    }
    .booking-form { background:white; border-radius:24px; padding:40px; box-shadow:0 30px 70px rgba(0,0,0,0.2); }
    .form-title { font-size:1.2rem; font-weight:600; color:var(--green-dark); margin-bottom:24px; text-align:center; }
    .form-group { margin-bottom:18px; }
    label { display:block; font-size:0.85rem; font-weight:500; color:var(--text); margin-bottom:7px; }
    input, select, textarea {
      width:100%; padding:12px 14px; border:1.5px solid var(--green-pale); border-radius:10px;
      font-family:"Vazirmatn",Tahoma,sans-serif; font-size:0.9rem; color:var(--text);
      background:var(--green-soft); transition:border 0.2s,box-shadow 0.2s; outline:none; direction:rtl;
    }
    input:focus, select:focus, textarea:focus {
      border-color:var(--green-mid); box-shadow:0 0 0 3px rgba(63,128,104,0.12); background:white;
    }
    textarea { resize:vertical; min-height:80px; }
    .form-grid { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
    .submit-btn {
      width:100%; padding:14px; background:var(--green-dark); color:white; border:none;
      border-radius:10px; font-family:"Vazirmatn",Tahoma,sans-serif; font-size:1rem; font-weight:500;
      cursor:pointer; transition:all 0.25s; margin-top:6px;
    }
    .submit-btn:hover { background:var(--green-mid); transform:translateY(-1px); }

    /* ===== CONTACT STRIP ===== */
    .contact-strip { background: var(--green-dark); border-top: 1px solid rgba(255,255,255,0.08); }
    .contact-grid { display:grid; grid-template-columns:repeat(4,1fr); }
    .contact-item {
      padding: 26px 22px; display:flex; align-items:center; gap:14px;
      border-left: 1px solid rgba(255,255,255,0.08); transition: background 0.2s;
    }
    .contact-item:last-child { border-left:none; }
    .contact-item:hover { background:rgba(255,255,255,0.04); }
    .contact-icon {
      width:40px; height:40px; background:rgba(120,169,149,0.2);
      border-radius:10px; display:flex; align-items:center; justify-content:center;
      font-size:1.15rem; flex-shrink:0;
    }
    .contact-label { font-size:0.7rem; color:rgba(255,255,255,0.45); margin-bottom:4px; }
    .contact-val { font-size:0.84rem; color:white; font-weight:500; line-height:1.6; }

    /* ===== FOOTER ===== */
    footer { background:#1B3E32; color:rgba(255,255,255,0.7); padding:36px 60px 26px; }
    .footer-address { font-size:0.8rem; color:rgba(255,255,255,0.38); line-height:1.8; margin-bottom:18px; }
    .footer-inner {
      display:flex; justify-content:space-between; align-items:center;
      flex-wrap:wrap; gap:14px;
      border-top:1px solid rgba(255,255,255,0.08); padding-top:20px;
    }
    .footer-logo { font-size:1rem; font-weight:600; color:white; }
    .footer-logo span { color:var(--gold-light); }
    .footer-copy { font-size:0.78rem; }

    .footer-brand-block { display:flex; align-items:center; gap:18px; flex-wrap:wrap; }
    .footer-logo-pair { display:flex; align-items:center; gap:12px; }
    .footer-brand-image { width:58px; height:58px; object-fit:contain; border-radius:50%; flex-shrink:0; }
    .footer-brand-text { display:flex; flex-direction:column; gap:6px; }

    /* ===== HERO IMAGE LAYOUT — فقط فرم و جای‌گیری تصویر ===== */
    .hero-image-wrap {
      width: 100vw;
      max-width: none;
      height: 680px;
      position: relative;
      animation: fadeUp 0.8s ease both;
      overflow: hidden;
      margin: 0;
    }

    .hero-image-wrap .hero-slide {
      width: 100%;
      height: 100%;
    }

    .hero-image-wrap .hero-slide.active {
      width: 100%;
      height: 100%;
    }

    .hero-image-wrap img {
      width: 100%;
      height: 100%;
      display: block;
      object-fit: cover;
      object-position: center;
      -webkit-mask-image: none;
      mask-image: none;
    }

    .hero-dots {
      bottom: 24px;
    }

    .hero-arrow-prev { right: 32px; }
    .hero-arrow-next { left: 32px; }

    @media (max-width:900px) {
      .hero-image-wrap {
        width: 100vw;
        height: 520px;
      }
    }

    @media (max-width:640px) {
      .hero-image-wrap {
        height: 400px;
      }
      .hero-arrow-prev { right: 14px; }
      .hero-arrow-next { left: 14px; }
      .hero-dots { bottom: 16px; }
    }

    /* ===== ANIMATIONS ===== */
    @keyframes fadeUp {
      from { opacity:0; transform:translateY(24px); }
      to   { opacity:1; transform:translateY(0); }
    }
    .animate { opacity:0; transform:translateY(24px); transition:all 0.7s ease; }
    .animate.in { opacity:1; transform:translateY(0); }

    /* ===== RESPONSIVE ===== */
    .nav-toggle {
      display:none; background:none; border:none; font-size:1.5rem;
      color:var(--green-dark); cursor:pointer; line-height:1; padding:4px 8px;
    }
    @media(max-width:900px){
      nav { min-height:74px; padding:9px 16px; gap:10px; }
      .logo-wrap { gap:9px; min-width:0; }
      .brand-marks { gap:5px; padding-left:8px; }
      .brand-mark-misagh { width:44px; height:44px; border-radius:50%; padding:7px; }
      .brand-mark-mehrabani { width:44px; height:44px; }
      .logo-main { font-size:.9rem; gap:5px; }
      .logo-sub { font-size:.6rem; }
      .nav-toggle { display:block; margin-right:auto; }
      nav ul {
        display:flex; flex-direction:column; align-items:stretch; gap:2px;
        position:absolute; top:100%; right:12px; left:12px;
        background:rgba(248,247,242,0.985);
        border:1px solid rgba(36,92,74,0.10);
        border-radius:0 0 18px 18px;
        box-shadow:0 14px 30px rgba(36,92,74,0.12);
        max-height:0; overflow:hidden; padding:0 12px;
        transition:max-height 0.3s ease, padding 0.3s ease;
      }
      nav ul.nav-open {
        max-height:calc(100dvh - 92px);
        padding:10px 12px 14px;
        overflow-y:auto;
        overscroll-behavior:contain;
        -webkit-overflow-scrolling:touch;
      }
      nav ul li { width:100%; }
      nav ul a { display:block; padding:11px 10px; border-radius:10px; }
      .nav-btn { margin:4px 0 0 !important; text-align:center; }
      section:not(#home) { padding:60px 20px; }
      .hero-image-wrap { max-width:100%; }
      .services-grid,.consultants-grid { grid-template-columns:1fr; }
      .booking-wrap { grid-template-columns:1fr; gap:36px; }
      .contact-grid { grid-template-columns:1fr 1fr; }
      footer { padding:28px 20px; }
      .hero-stats-bar { flex-wrap:wrap; }
      .stat-item { min-width:130px; }
    }
    @media(max-width:620px){
      .logo-sub { display:none; }
      .logo-main {
        font-size:.78rem;
        line-height:1.45;
        display:flex;
        flex-direction:column;
        align-items:flex-start;
        gap:0;
        white-space:nowrap;
      }
      .brand-primary, .brand-secondary { display:block; font-size:1em; font-weight:600; }
      .brand-secondary { font-size:1em; font-weight:600; }
      .brand-separator { display:none; }
    }
    @media(max-width:430px){
      .brand-marks { border-left:none; padding-left:0; gap:6px; }
      .brand-mark-misagh, .brand-mark-mehrabani { width:40px; height:40px; }
      .logo-main { font-size:.72rem; }
      .logo-sub { display:none; }
    }
    @media(max-width:560px){
      .contact-grid { grid-template-columns:1fr; }
      .contact-item { border-left:none; border-bottom:1px solid rgba(255,255,255,0.08); }
      .contact-item:last-child { border-bottom:none; }
    }
    .contact-val { overflow-wrap:anywhere; }
  
/* ===== پوستر میثاق مهربانی در Hero ===== */
.hero-image-wrap .hero-slide.poster-slide img {
  object-fit: contain;
  object-position: center;
  background: #fff;
}

/* ===== اسلایدهای لینک‌دار هرو (برنامه‌ها / مهد بزرگترها) ===== */
.hero-slide-link {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  cursor: pointer;
}
.hero-image-wrap .hero-slide.content-slide img {
  object-fit: contain;
  object-position: center;
  background: #fff;
  transition: transform 0.5s ease;
}
.hero-slide-link:hover img { transform: scale(1.02); }
.hero-slide-caption {
  position: absolute;
  bottom: 54px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green-dark);
  color: #fff;
  padding: 10px 24px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  box-shadow: 0 8px 22px rgba(36,92,74,0.25);
  z-index: 4;
  white-space: nowrap;
  transition: background 0.25s;
}
.hero-slide-link:hover .hero-slide-caption { background: var(--green-mid); }
@media (max-width:640px) {
  .hero-slide-caption { bottom: 46px; font-size: 0.78rem; padding: 8px 16px; }
}

/* ===== SPA VIEWS (خدمات و کارگاه‌ها) ===== */
.app-view { display:none; }
.app-view.active { display:block; animation: fadeUp 0.4s ease both; }
.article-wrap {
  max-width: 760px; margin: 0 auto; padding: 150px 24px 100px;
}
.article-wrap .breadcrumb {
  font-size:0.85rem; color:var(--gray); margin-bottom:18px;
}
.article-wrap .breadcrumb a { color:var(--green-mid); text-decoration:none; }
.article-wrap .breadcrumb a:hover { text-decoration:underline; }
.article-icon {
  width:64px; height:64px; border-radius:18px;
  background:var(--green-soft); display:flex; align-items:center; justify-content:center;
  font-size:2rem; margin-bottom:22px;
}
.article-wrap h1 {
  font-size:2.1rem; font-weight:600; color:var(--green-dark);
  margin-bottom:24px; line-height:1.5;
}
.article-body p {
  font-size:1.02rem; line-height:2.1; color:var(--text);
  margin-bottom:22px;
}
.article-cta {
  margin-top:46px; padding:32px; border-radius:18px;
  background:var(--green-soft); text-align:center;
}
.article-cta p { margin-bottom:18px; font-size:0.98rem; color:var(--green-dark); font-weight:500; }
.back-link {
  display:inline-block; margin-top:40px; color:var(--gray);
  text-decoration:none; font-size:0.9rem; font-weight:500;
}
.back-link:hover { color:var(--green-dark); }

/* ===== لیست کارگاه‌های برگزار شده ===== */
.workshops-wrap .section-desc { color:var(--gray); margin-bottom:36px; }
.workshop-list { display:flex; flex-direction:column; gap:14px; margin-bottom:20px; }
.workshop-list-item {
  display:flex; align-items:center; justify-content:space-between; gap:14px;
  background:var(--white); border:1px solid var(--green-pale); border-radius:16px;
  padding:20px 24px; box-shadow:0 6px 20px rgba(36,92,74,0.06);
}
.workshop-list-title { font-size:1.02rem; font-weight:600; color:var(--green-dark); }
.workshop-list-badge {
  flex-shrink:0; font-size:0.78rem; font-weight:500; color:var(--green-mid);
  background:var(--green-soft); border:1px solid var(--green-pale);
  padding:6px 14px; border-radius:50px; white-space:nowrap;
}
.workshop-list-link {
  flex-shrink:0; font-size:0.85rem; font-weight:500; color:var(--white);
  background:var(--green-dark); padding:9px 18px; border-radius:50px;
  text-decoration:none; white-space:nowrap; transition:background 0.2s;
}
.workshop-list-link:hover { background:var(--green-mid); }

/* ===== جزئیات کارگاه ===== */
.workshop-detail-badge {
  display:inline-block; background:var(--green-soft); color:var(--green-dark);
  font-size:0.8rem; font-weight:500; padding:7px 18px; border-radius:50px;
  border:1px solid var(--green-pale); margin-bottom:20px;
}
.workshop-detail-img { width:100%; border-radius:18px; display:block; margin-bottom:26px; }
.workshop-subhead { font-weight:600; color:var(--green-dark); margin-bottom:14px; }
.workshop-topics { list-style:none; margin-bottom:26px; padding:0; }
.workshop-topics li {
  font-size:0.94rem; padding:9px 4px 9px 0; border-bottom:1px dashed var(--green-pale);
  display:flex; gap:8px; align-items:flex-start;
}
.workshop-topics li::before { content:"◆"; color:var(--green-mid); font-size:0.6rem; margin-top:6px; }
.workshop-meta-grid {
  display:grid; grid-template-columns:repeat(2,1fr); gap:12px; margin:22px 0;
}
.workshop-meta-item {
  background:var(--green-soft); border:1px solid var(--green-pale); border-radius:14px;
  padding:14px 16px; font-size:0.88rem; font-weight:500; color:var(--text);
}
.workshop-meta-item span { display:block; color:var(--gray); font-size:0.75rem; font-weight:500; margin-bottom:4px; }
.workshop-instructor-box {
  background:linear-gradient(135deg,var(--green-dark),var(--green-mid)); color:#fff;
  border-radius:16px; padding:20px 22px; margin:22px 0;
}
.workshop-instructor-role { font-size:0.75rem; color:var(--green-pale); letter-spacing:0.2px; text-transform:uppercase; }
.workshop-instructor-name { font-size:1.08rem; font-weight:600; margin:6px 0 12px; }
.workshop-instructor-box ul { list-style:none; font-size:0.9rem; line-height:2; padding:0; }
.workshop-instructor-box ul li::before { content:"• "; color:var(--green-pale); }
.workshop-certificate {
  font-size:0.88rem; font-weight:500; color:var(--green-dark); background:var(--green-soft);
  border-radius:50px; padding:9px 18px; display:inline-block; margin:8px 0 22px;
}
.workshop-contact-line {
  font-size:0.92rem; font-weight:500; color:var(--green-mid); border-top:1px dashed var(--green-pale);
  padding-top:16px; line-height:1.9;
}

@media (max-width:640px) {
  .article-wrap { padding:140px 18px 80px; }
  .article-wrap h1 { font-size:1.6rem; }
  .workshop-meta-grid { grid-template-columns:1fr; }
  .workshop-list-item { flex-direction:column; align-items:flex-start; }
}


/* ===== بهبودهای نسخه بازطراحی‌شده ===== */
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 90px; }
.sr-only {
  position:absolute !important; width:1px !important; height:1px !important;
  padding:0 !important; margin:-1px !important; overflow:hidden !important;
  clip:rect(0,0,0,0) !important; white-space:nowrap !important; border:0 !important;
}
.hero-dot { padding:0; }
.contact-val a { color:#fff; text-decoration:none; }
.contact-val a:hover { text-decoration:underline; }
.footer-address-link { color:#fff; text-decoration:none; font-weight:600; font-size:1.08em; line-height:2; }
.footer-address-link:hover { text-decoration:underline; }
.booking-preview-card {
  background:#fff; border-radius:24px; padding:38px; box-shadow:0 30px 70px rgba(0,0,0,0.18);
  text-align:center;
}
.booking-preview-icon { font-size:2.4rem; margin-bottom:12px; }
.booking-preview-card h3 { color:var(--green-dark); font-size:1.35rem; margin-bottom:12px; }
.booking-preview-card p { color:var(--gray); line-height:2; margin-bottom:22px; }
.booking-preview-card .btn-primary { display:block; margin-bottom:16px; }
.booking-preview-card small { display:block; color:var(--gray); line-height:1.8; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior:auto; }
  *, *::before, *::after { animation-duration:0.01ms !important; animation-iteration-count:1 !important; transition-duration:0.01ms !important; }
}


/* ===== گالری معرفی مجموعه ===== */
.intro-gallery-section {
  padding: 90px 50px;
  background: linear-gradient(180deg, var(--cream) 0%, var(--green-soft) 100%);
}
.intro-poster-slider {
  max-width: 1260px;
  margin: 34px auto 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
}
.intro-poster-viewport {
  overflow: hidden;
}
.intro-poster-track {
  display: flex;
  gap: 22px;
  align-items: stretch;
  transition: transform .35s ease;
  will-change: transform;
}
.intro-poster-card {
  flex: 0 0 calc((100% - 44px) / 3);
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(36,92,74,.10);
  box-shadow: 0 12px 34px rgba(36,92,74,.10);
  text-decoration: none;
  color: var(--green-dark);
  transition: transform .25s ease, box-shadow .25s ease;
}
.intro-poster-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 42px rgba(36,92,74,.16);
}
.intro-poster-card img {
  width: 100%;
  display: block;
  background: #fff;
  aspect-ratio: 1 / 1.12;
  object-fit: contain;
}
.intro-poster-card span {
  display: block;
  padding: 14px 16px 16px;
  text-align: center;
  font-size: .94rem;
  font-weight: 600;
  border-top: 1px solid var(--green-pale);
}
.intro-slider-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(36,92,74,.12);
  background: rgba(255,255,255,.94);
  color: var(--green-dark);
  box-shadow: 0 8px 18px rgba(36,92,74,.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
  font-size: 1rem;
}
.intro-slider-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(36,92,74,.16);
}
.intro-slider-btn:disabled {
  opacity: .45;
  cursor: default;
  box-shadow: none;
}
@media (max-width: 980px) {
  .intro-poster-card { flex-basis: calc((100% - 22px) / 2); }
}
@media (max-width: 640px) {
  .intro-gallery-section { padding: 70px 18px; }
  .intro-poster-slider {
    grid-template-columns: 40px 1fr 40px;
    gap: 10px;
  }
  .intro-poster-track { gap: 18px; }
  .intro-poster-card {
    flex-basis: 100%;
    border-radius: 18px;
  }
  .intro-slider-btn {
    width: 40px;
    height: 40px;
  }
}


/* ===== Intro visual redesign ===== */
#intro-band.intro-band-visual {
  max-width: none;
  padding: 0;
  margin: 0;
  background: #f7f5ee;
  overflow: hidden;
}
#intro-band.intro-band-visual .intro-band-art {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
}
@media (max-width: 760px) {
  #intro-band.intro-band-visual {
    padding: 0;
  }
  #intro-band.intro-band-visual .intro-band-art {
    width: 100%;
    min-height: 0;
  }
}


/* ===== Read-more stickers: service introduction cards ===== */
#services .service-more {
  direction: rtl;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  padding: 7px 9px 7px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.94);
  background: rgba(255,255,255,.93);
  color: #315f50;
  font-size: .82rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 7px 20px rgba(20,54,43,.14);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}
#services .service-more .service-more-icon {
  width: 27px;
  height: 27px;
  flex: 0 0 27px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #efad9e;
  color: #fff;
  font-size: 1rem;
  line-height: 1;
  box-shadow: 0 3px 9px rgba(129,86,76,.18);
}
#services .service-more:hover {
  background: #fff;
  color: #234f41;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(20,54,43,.19);
}
#services .service-more:hover .service-more-icon {
  transform: translateX(-2px);
}
#services .service-more .service-more-icon { transition: transform .22s ease; }

.social-handle {
  direction:ltr;
  unicode-bidi:isolate;
  display:inline-block;
  letter-spacing:.01em;
}
.contact-val { text-align:right; }


/* ===== LOCATION / GOOGLE MAP ===== */
.location-section {
  background: linear-gradient(180deg, rgba(255,255,255,0), rgba(120,169,149,0.06));
}
.location-wrap {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(280px, .8fr) minmax(420px, 1.4fr);
  gap: 38px;
  align-items: center;
}
.location-info .section-desc {
  max-width: 520px;
  line-height: 2.05;
}
.location-map-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  text-decoration: none;
}
.location-map-card {
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(36,92,74,.12);
  background: #fff;
  box-shadow: 0 18px 46px rgba(36,92,74,.10);
  min-height: 390px;
}
.location-map-card iframe {
  width: 100%;
  height: 390px;
  border: 0;
  display: block;
}
@media (max-width: 900px) {
  .location-wrap { grid-template-columns: 1fr; gap: 24px; }
  .location-map-card, .location-map-card iframe { min-height: 340px; height: 340px; }
}
@media (max-width: 560px) {
  .location-map-card { border-radius: 18px; }
  .location-map-card, .location-map-card iframe { min-height: 300px; height: 300px; }
  .location-map-btn { width: 100%; }
}

/* ===== BILINGUAL / ENGLISH ===== */
.lang-switch {
  font-weight:700 !important;
  color:var(--green-dark) !important;
  border:1px solid rgba(36,92,74,.18);
  background:#fff !important;
  min-width:42px;
  text-align:center;
}
.lang-switch:hover { background:var(--green-soft) !important; }
html[dir="ltr"] body { font-family: Arial, "Helvetica Neue", sans-serif; }
html[dir="ltr"] .brand-marks { padding-left:0; padding-right:12px; border-left:none; border-right:1px solid rgba(36,92,74,0.14); }
html[dir="ltr"] .nav-btn { margin-right:0; margin-left:4px; }
html[dir="ltr"] .service-meta,
html[dir="ltr"] .booking-features li,
html[dir="ltr"] .club-badge,
html[dir="ltr"] .club-skill { direction:ltr; }
html[dir="ltr"] input,
html[dir="ltr"] select,
html[dir="ltr"] textarea { direction:ltr; font-family:Arial,"Helvetica Neue",sans-serif; }
html[dir="ltr"] .submit-btn,
html[dir="ltr"] .secondary-btn,
html[dir="ltr"] .request-result pre { font-family:Arial,"Helvetica Neue",sans-serif; }
html[dir="ltr"] .program-activities,
html[dir="ltr"] .club-features,
html[dir="ltr"] .registration-topics { padding-left:20px; padding-right:0; }
html[dir="ltr"] .workshop-topics li { padding:9px 0 9px 4px; }
html[dir="ltr"] .footer-inner { direction:ltr; }

#about-en { background:linear-gradient(180deg,#fff 0%,var(--green-soft) 100%); }
.about-en-grid { display:grid; grid-template-columns:1.05fr .95fr; gap:34px; align-items:stretch; margin-top:42px; }
.about-en-card { background:#fff; border:1px solid var(--green-pale); border-radius:24px; padding:30px; box-shadow:0 12px 34px rgba(36,92,74,.08); }
.about-en-card h3 { color:var(--green-dark); font-size:1.25rem; margin-bottom:12px; }
.about-en-card p { color:var(--gray); line-height:1.9; font-size:.95rem; }
.about-logo-row { display:grid; grid-template-columns:1fr 1fr; gap:18px; height:100%; }
.about-logo-tile { background:#fff; border:1px solid var(--green-pale); border-radius:24px; padding:24px; display:flex; flex-direction:column; justify-content:center; align-items:center; text-align:center; box-shadow:0 12px 34px rgba(36,92,74,.08); }
.about-logo-tile img { width:150px; height:150px; object-fit:contain; margin-bottom:12px; }
.about-logo-tile strong { color:var(--green-dark); line-height:1.45; }
.hero-en-caption { position:absolute; left:7%; bottom:10%; z-index:6; max-width:520px; padding:22px 26px; border-radius:22px; background:rgba(248,247,242,.90); backdrop-filter:blur(10px); box-shadow:0 16px 36px rgba(27,62,50,.14); }
.hero-en-caption h2 { color:var(--green-dark); font-size:1.7rem; line-height:1.25; margin-bottom:8px; }
.hero-en-caption p { color:var(--gray); line-height:1.6; font-size:.95rem; }
@media(max-width:900px){ .about-en-grid { grid-template-columns:1fr; } .hero-en-caption { left:5%; right:5%; max-width:none; } }
@media(max-width:640px){ .about-logo-row { grid-template-columns:1fr; } .about-en-card { padding:22px; } .hero-en-caption { padding:16px 18px; bottom:7%; } .hero-en-caption h2 { font-size:1.2rem; } }

    .intro-overview-line {
      white-space: nowrap;
      max-width: none;
      width: max-content;
      margin-left: auto;
      margin-right: auto;
    }
    @media (max-width: 900px) {
      .intro-overview-line {
        white-space: normal;
        width: auto;
      }
    }

/* ===== LANGUAGE DROPDOWN ===== */
.language-nav-item { position:relative; }
.language-menu { position:relative; }
.language-menu > summary {
  list-style:none;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  min-height:40px;
  padding:8px 11px;
  border:1px solid rgba(36,92,74,.18);
  border-radius:12px;
  background:#fff;
  color:var(--green-dark);
  font-size:.82rem;
  font-weight:700;
  white-space:nowrap;
  user-select:none;
  transition:background .2s ease, box-shadow .2s ease, transform .2s ease;
}
.language-menu > summary::-webkit-details-marker { display:none; }
.language-menu > summary::marker { content:""; }
.language-menu > summary:hover,
.language-menu[open] > summary {
  background:var(--green-soft);
  box-shadow:0 5px 16px rgba(36,92,74,.10);
}
.language-menu[open] > summary { transform:translateY(-1px); }
.language-globe { font-size:.95rem; line-height:1; }
.language-chevron { font-size:.85rem; transition:transform .2s ease; }
.language-menu[open] .language-chevron { transform:rotate(180deg); }
.language-dropdown {
  position:absolute;
  z-index:1200;
  top:calc(100% + 8px);
  right:0;
  min-width:155px;
  padding:7px;
  border:1px solid rgba(36,92,74,.12);
  border-radius:14px;
  background:rgba(255,255,255,.98);
  box-shadow:0 14px 34px rgba(27,62,50,.16);
  display:grid;
  gap:3px;
}
html[dir="ltr"] .language-dropdown { right:auto; left:0; }
.language-dropdown a {
  display:block;
  padding:9px 11px !important;
  border-radius:9px !important;
  color:var(--gray) !important;
  background:transparent !important;
  text-align:start;
  font-size:.82rem !important;
  font-weight:600 !important;
  text-decoration:none;
  transform:none !important;
}
.language-dropdown a:hover { background:var(--green-soft) !important; color:var(--green-dark) !important; }
.language-dropdown .current-language {
  background:var(--green-soft) !important;
  color:var(--green-dark) !important;
  font-weight:700 !important;
}
.language-dropdown .current-language::after { content:" ✓"; }
.booking-nav-actions { display:flex; gap:8px; align-items:center; }

@media(max-width:900px){
  .language-nav-item { width:100%; }
  .language-menu { width:100%; }
  .language-menu > summary { width:100%; justify-content:space-between; padding:11px 10px; }
  .language-dropdown,
  html[dir="ltr"] .language-dropdown {
    position:static;
    width:100%;
    min-width:0;
    margin-top:6px;
    box-shadow:none;
    border-radius:10px;
    background:rgba(255,255,255,.78);
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:5px;
    padding:7px;
  }
  .language-dropdown a {
    text-align:center;
    padding:9px 7px !important;
    border:1px solid rgba(36,92,74,.07);
    background:#fff !important;
  }
  .language-dropdown .current-language {
    background:var(--green-soft) !important;
  }
}
@media(max-width:640px){
  .booking-nav-actions { gap:6px; flex-wrap:wrap; justify-content:flex-end; }
  .booking-nav-actions .language-menu > summary { width:auto; min-width:86px; }
  .booking-nav-actions .language-dropdown {
    position:absolute;
    width:155px;
    min-width:155px;
    margin-top:8px;
    box-shadow:0 14px 34px rgba(27,62,50,.16);
    background:rgba(255,255,255,.98);
  }
}

/* ===== Client portal teaser ===== */
.nav-account-link{border:1px solid var(--green-pale);background:var(--green-soft);border-radius:12px!important;color:var(--green-dark)!important;font-weight:600!important;display:flex;align-items:center;justify-content:center;gap:4px;min-height:40px;padding:9px 12px!important;font-size:.84rem!important;line-height:1.2;box-shadow:0 3px 10px rgba(36,92,74,.06)}
.client-portal-section{background:#fff;padding:72px 6%}.client-portal-wrap{max-width:1180px;margin:0 auto;background:linear-gradient(135deg,#f4f9f6,#eef5f1);border:1px solid var(--green-pale);border-radius:28px;padding:38px 42px;display:grid;grid-template-columns:1fr .9fr;gap:36px;align-items:center;overflow:hidden}.client-portal-copy .section-desc{margin-bottom:18px}.client-portal-features{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 22px}.client-portal-features span{background:#fff;border:1px solid var(--green-pale);color:var(--green-dark);border-radius:999px;padding:7px 11px;font-size:.78rem;font-weight:600}.client-portal-preview{display:flex;justify-content:center}.client-portal-window{width:min(390px,100%);background:#fff;border:1px solid #dce9e2;border-radius:18px;box-shadow:0 18px 45px rgba(36,92,74,.12);overflow:hidden;transform:rotate(-1deg)}.client-portal-window-head{height:30px;background:#f7f9f8;border-bottom:1px solid #e7efeb;display:flex;align-items:center;gap:5px;padding:0 10px;direction:ltr}.client-portal-window-head i{width:7px;height:7px;border-radius:50%;background:#cbd8d1}.client-portal-window-body{height:220px;display:grid;grid-template-columns:62px 1fr}.portal-mini-side{background:#f3f8f5;border-left:1px solid #e7efeb}.portal-mini-content{padding:17px}.portal-mini-welcome{height:58px;border-radius:13px;background:linear-gradient(135deg,#e4f0ea,#f7f4e9);margin-bottom:12px}.portal-mini-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.portal-mini-cards b{height:42px;background:#f8faf9;border:1px solid #e9efec;border-radius:9px}.portal-mini-lines{display:grid;gap:7px;margin-top:13px}.portal-mini-lines span{height:8px;background:#edf3f0;border-radius:999px}.portal-mini-lines span:nth-child(2){width:78%}.portal-mini-lines span:nth-child(3){width:58%}
@media(max-width:800px){.client-portal-section{padding:48px 18px}.client-portal-wrap{grid-template-columns:1fr;padding:28px 22px}.client-portal-preview{display:none}}

/* ===== Desktop header fit: keep all actions inside the main nav frame ===== */
@media (min-width:901px) and (max-width:1450px){
  nav{
    padding:9px 16px;
    gap:10px;
  }
  .logo-wrap{
    gap:8px;
    min-width:0;
    flex:0 1 auto;
  }
  .brand-marks{
    gap:4px;
    padding-left:8px;
    flex-shrink:0;
  }
  .brand-mark-misagh,
  .brand-mark-mehrabani{
    width:46px;
    height:46px;
  }
  .logo-text{
    min-width:0;
    max-width:390px;
  }
  .logo-main{
    font-size:.9rem;
    gap:5px;
  }
  .logo-sub{
    font-size:.61rem;
    line-height:1.58;
    max-width:390px;
  }
  nav ul{
    flex:0 0 auto;
    gap:0;
    padding:4px;
    border-radius:16px;
  }
  nav ul a{
    font-size:.74rem;
    padding:8px 6px;
  }
  .language-menu > summary{
    min-height:36px;
    padding:7px 8px;
    font-size:.76rem;
    border-radius:10px;
  }
  .nav-account-link{
    border:0;
    background:var(--green-soft);
    font-size:.8rem !important;
    min-height:40px;
    padding:8px 10px !important;
    border-radius:11px !important;
  }
  .nav-btn{
    padding:9px 11px !important;
    margin-right:2px;
  }
  nav ul a{
    font-size:.73rem;
    padding:8px 5px;
  }
}


/* ===== CLIENT DATA INSIGHTS ===== */
.client-insights-section {
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at 88% 12%, rgba(198,161,91,.14), transparent 30%),
    radial-gradient(circle at 10% 90%, rgba(120,169,149,.18), transparent 32%),
    #fff;
  padding:96px 60px !important;
}
.client-insights-section::before {
  content:"";
  position:absolute;
  width:340px; height:340px;
  border:1px solid rgba(36,92,74,.08);
  border-radius:50%;
  top:-210px; left:-80px;
}
.client-insights-shell { max-width:1180px; margin:0 auto; position:relative; z-index:1; }
.client-insights-heading { display:grid; grid-template-columns:minmax(0,1fr) minmax(330px,.8fr); column-gap:70px; align-items:end; }
.client-insights-heading .section-label { grid-column:1/-1; }
.client-insights-heading .section-title { margin-bottom:0; max-width:650px; }
.client-insights-heading .section-desc { max-width:560px; }
.client-insights-kpis { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; margin-top:42px; }
.client-kpi {
  min-height:168px;
  border:1px solid rgba(36,92,74,.10);
  background:rgba(248,247,242,.72);
  border-radius:24px;
  padding:24px 22px;
  display:flex; flex-direction:column; justify-content:flex-end;
  box-shadow:0 12px 35px rgba(36,92,74,.07);
  transition:transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.client-kpi:hover { transform:translateY(-5px); box-shadow:0 18px 42px rgba(36,92,74,.12); border-color:rgba(36,92,74,.18); }
.client-kpi-primary { background:linear-gradient(145deg,var(--green-dark),#2f705a); color:#fff; }
.client-kpi strong { font-size:2.15rem; font-weight:650; line-height:1.25; color:var(--green-dark); letter-spacing:-.02em; }
.client-kpi-primary strong { color:#fff; }
.client-kpi > span:last-child { margin-top:8px; color:var(--gray); font-size:.86rem; line-height:1.85; }
.client-kpi-primary > span:last-child { color:rgba(255,255,255,.82); }

.client-trend-card {
  margin-top:22px;
  border-radius:30px;
  background:linear-gradient(180deg,#fbfcfa 0%,#f4f8f5 100%);
  border:1px solid rgba(36,92,74,.11);
  box-shadow:0 22px 54px rgba(36,92,74,.09);
  padding:32px 34px 26px;
}
.client-trend-copy { display:grid; grid-template-columns:1.05fr .95fr; gap:45px; align-items:end; }
.client-trend-eyebrow { display:block; color:var(--gold); font-size:.78rem; font-weight:700; margin-bottom:8px; }
.client-trend-copy h3 { color:var(--green-dark); font-size:1.28rem; font-weight:650; line-height:1.7; }
.client-trend-copy p { color:var(--gray); font-size:.84rem; line-height:2; }
.client-chart {
  height:330px;
  margin-top:26px;
  display:grid;
  grid-template-columns:repeat(10,minmax(44px,1fr));
  gap:10px;
  align-items:stretch;
  direction:rtl;
  border-bottom:1px solid rgba(36,92,74,.12);
  padding:15px 2px 0;
  overflow-x:auto;
  scrollbar-width:thin;
}
.client-year-column { min-width:52px; display:grid; grid-template-rows:30px 1fr 30px; align-items:end; text-align:center; }
.client-year-value { font-size:.73rem; color:var(--green-mid); font-weight:650; opacity:.92; align-self:start; }
.client-year-bar-wrap { height:240px; display:flex; align-items:flex-end; justify-content:center; padding:0 7px; }
.client-year-bar {
  width:100%; max-width:48px;
  height:var(--bar-height);
  min-height:7px;
  border-radius:11px 11px 4px 4px;
  background:linear-gradient(180deg,var(--green-mid),var(--green-dark));
  box-shadow:0 9px 18px rgba(36,92,74,.16);
  transform-origin:bottom;
  animation:clientBarRise .9s cubic-bezier(.2,.8,.2,1) both;
}
.client-year-column[data-partial="true"] .client-year-bar { background:repeating-linear-gradient(135deg,var(--gold),var(--gold) 7px,var(--gold-light) 7px,var(--gold-light) 14px); }
.client-year-column[data-partial="true"] .client-year-value { color:#9b7839; }
.client-year-label { font-size:.72rem; color:var(--gray); align-self:end; padding-top:8px; white-space:nowrap; }
.client-chart-footnote { display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px 24px; padding-top:16px; color:var(--gray); font-size:.75rem; line-height:1.8; }
.client-chart-footnote span { display:inline-flex; align-items:center; gap:7px; }
.client-chart-dot { width:8px; height:8px; border-radius:50%; background:var(--green-mid); display:inline-block; }
.client-insight-strip {
  margin-top:20px;
  display:grid; grid-template-columns:54px 1fr; align-items:center; gap:15px;
  padding:20px 24px;
  border-radius:20px;
  background:rgba(228,240,234,.55);
  border:1px solid rgba(36,92,74,.08);
}
.client-insight-mark { width:48px; height:48px; display:grid; place-items:center; border-radius:50%; background:#fff; color:var(--green-dark); font-family:Georgia,serif; font-size:2rem; box-shadow:0 7px 20px rgba(36,92,74,.08); }
.client-insight-strip p { color:var(--gray); font-size:.84rem; line-height:2; }
.client-insight-strip strong { color:var(--green-dark); font-weight:650; }
@keyframes clientBarRise { from { transform:scaleY(.05); opacity:.35; } to { transform:scaleY(1); opacity:1; } }


.client-aggregate-card { padding-bottom:32px; }
.client-service-map {
  margin-top:28px;
  min-height:280px;
  display:grid;
  grid-template-columns:300px 1fr;
  gap:34px;
  align-items:center;
  padding:26px;
  border-radius:24px;
  background:
    radial-gradient(circle at 16% 48%, rgba(120,169,149,.16), transparent 34%),
    linear-gradient(135deg,rgba(255,255,255,.94),rgba(235,244,239,.76));
  border:1px solid rgba(36,92,74,.09);
}
.client-service-center {
  aspect-ratio:1/1;
  width:min(240px,100%);
  margin:auto;
  border-radius:50%;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  background:linear-gradient(145deg,var(--green-dark),#34745e);
  color:#fff;
  box-shadow:0 22px 45px rgba(36,92,74,.20), inset 0 0 0 10px rgba(255,255,255,.06);
  position:relative;
}
.client-service-center::after {
  content:"";
  position:absolute;
  inset:-14px;
  border:1px dashed rgba(36,92,74,.20);
  border-radius:50%;
}
.client-service-center strong { font-size:2.4rem; font-weight:700; line-height:1.2; }
.client-service-center span { font-size:.9rem; margin-top:7px; }
.client-service-center small { font-size:.72rem; margin-top:5px; color:rgba(255,255,255,.70); }
.client-service-pills {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:13px;
}
.client-service-pills span {
  min-height:66px;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:13px 16px;
  border-radius:18px;
  background:#fff;
  border:1px solid rgba(36,92,74,.10);
  color:var(--green-dark);
  font-size:.88rem;
  font-weight:600;
  box-shadow:0 8px 22px rgba(36,92,74,.06);
}

@media(max-width:980px){
  .client-insights-heading { grid-template-columns:1fr; gap:12px; }
  .client-insights-heading .section-desc { margin-top:8px; }
  .client-insights-kpis { grid-template-columns:repeat(2,1fr); }
  .client-trend-copy { grid-template-columns:1fr; gap:10px; }
  .client-service-map { grid-template-columns:240px 1fr; gap:22px; }
  .client-chart { grid-template-columns:repeat(10,64px); justify-content:start; }
}
@media(max-width:640px){
  .client-insights-section { padding:68px 18px !important; }
  .client-insights-kpis { grid-template-columns:1fr 1fr; gap:11px; margin-top:30px; }
  .client-kpi { min-height:164px; padding:18px 16px; border-radius:20px; }
  .client-kpi strong { font-size:1.65rem; }
  .client-kpi > span:last-child { font-size:.76rem; line-height:1.75; }
  .client-trend-card { padding:25px 18px 20px; border-radius:24px; }
  .client-service-map { grid-template-columns:1fr; padding:22px 16px; }
  .client-service-center { width:190px; }
  .client-service-center strong { font-size:2rem; }
  .client-service-pills { grid-template-columns:1fr 1fr; gap:9px; }
  .client-service-pills span { min-height:56px; font-size:.78rem; }
  .client-chart { height:300px; gap:5px; margin-top:18px; }
  .client-year-bar-wrap { height:210px; padding:0 6px; }
  .client-chart-footnote { display:grid; gap:4px; }
  .client-insight-strip { grid-template-columns:42px 1fr; padding:17px 16px; gap:11px; }
  .client-insight-mark { width:40px; height:40px; }
}
@media(max-width:430px){
  .client-insights-kpis { grid-template-columns:1fr 1fr; gap:9px; }
  .client-kpi { min-height:138px; padding:15px 13px; }
  .client-kpi strong { font-size:1.45rem; }
  .client-kpi > span:last-child { font-size:.71rem; line-height:1.65; }
  .client-service-pills { grid-template-columns:1fr; }
  .stat-num-text { font-size:.96rem; }
}
@media (prefers-reduced-motion:reduce){ .client-year-bar { animation:none; } }

/* ===== About / Founders ===== */
.about-founders-section {
  background: linear-gradient(180deg, #fff 0%, #f5faf7 100%);
  padding: 88px 24px;
  scroll-margin-top: 96px;
}
.about-founders-shell {
  width: min(1180px, 100%);
  margin: 0 auto;
}
.about-founders-heading {
  max-width: 820px;
  margin: 0 auto 34px;
  text-align: center;
}
.about-founders-heading .section-desc {
  margin-inline: auto;
  max-width: 790px;
}
.founders-intro {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 0 auto 34px;
  max-width: 920px;
  padding: 24px 28px;
  border: 1px solid rgba(36,92,74,.13);
  border-radius: 24px;
  background: rgba(255,255,255,.86);
  box-shadow: 0 12px 34px rgba(36,92,74,.07);
}
.founders-intro-mark {
  width: 72px;
  height: 72px;
  flex: 0 0 72px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  background: linear-gradient(145deg, var(--green-dark), #34765f);
  color: #fff;
  font-size: 2rem;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(36,92,74,.18);
}
.founders-intro-kicker {
  display: inline-block;
  margin-bottom: 4px;
  color: var(--green);
  font-size: .86rem;
  font-weight: 700;
}
.founders-intro h3 {
  margin: 0 0 6px;
  color: var(--green-dark);
  font-size: 1.22rem;
}
.founders-intro p {
  margin: 0;
  color: var(--gray);
  line-height: 1.9;
  font-size: .94rem;
}
.founders-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 24px;
}
.founder-card {
  overflow: hidden;
  border: 1px solid rgba(36,92,74,.12);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(36,92,74,.08);
  transition: transform .25s ease, box-shadow .25s ease;
}
.founder-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 44px rgba(36,92,74,.14);
}
.founder-photo-wrap {
  position: relative;
  height: 300px;
  overflow: hidden;
  background: #e8f1ec;
}
.founder-photo-wrap img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 32%;
  transition: transform .35s ease;
}
.founder-card:hover .founder-photo-wrap img { transform: scale(1.025); }
.founder-badge {
  position: absolute;
  right: 16px;
  bottom: 16px;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(255,255,255,.94);
  color: var(--green-dark);
  font-size: .78rem;
  font-weight: 700;
  box-shadow: 0 5px 16px rgba(0,0,0,.10);
}
.founder-card-body { padding: 22px 22px 24px; }
.founder-card-body h3 {
  margin: 0 0 8px;
  color: var(--green-dark);
  font-size: 1.16rem;
  line-height: 1.55;
}
.founder-role {
  margin: 0 0 10px;
  color: var(--green);
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.75;
}
.founder-description {
  min-height: 57px;
  margin: 0 0 18px;
  color: var(--gray);
  font-size: .9rem;
  line-height: 1.9;
}
.founder-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--green-dark);
  font-size: .88rem;
  font-weight: 700;
  text-decoration: none;
}
.founder-link:hover { text-decoration: underline; }
@media (max-width: 900px) {
  .founders-grid { grid-template-columns: 1fr; max-width: 620px; margin: 0 auto; }
  .founder-photo-wrap { height: 420px; }
}
@media (max-width: 640px) {
  .about-founders-section { padding: 62px 16px; }
  .founders-intro { align-items: flex-start; padding: 20px; border-radius: 20px; }
  .founders-intro-mark { width: 58px; height: 58px; flex-basis: 58px; border-radius: 18px; font-size: 1.6rem; }
  .founder-photo-wrap { height: 340px; }
  .founder-card { border-radius: 22px; }
}


/* ===== MOBILE QA CONSOLIDATION v65 ===== */
@media (max-width: 900px) {
  html, body { max-width:100%; overflow-x:hidden; }
  body.mobile-menu-open { overflow:hidden; touch-action:none; }

  nav {
    min-height:74px;
    padding:8px 14px;
    gap:8px;
  }
  .logo-wrap { flex:1 1 auto; min-width:0; gap:8px; }
  .logo-text { min-width:0; }
  .brand-marks { flex:0 0 auto; }
  .nav-toggle {
    flex:0 0 42px;
    width:42px;
    height:42px;
    display:grid;
    place-items:center;
    padding:0;
    border-radius:11px;
  }
  nav ul {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    align-items:stretch;
    gap:6px;
    top:100%;
    right:10px;
    left:10px;
    padding:0 10px;
  }
  nav ul.nav-open {
    max-height:calc(100dvh - 82px);
    padding:10px;
    overflow-y:auto;
  }
  nav ul li { min-width:0; }
  nav ul a {
    min-height:42px;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    padding:9px 8px;
    font-size:.82rem;
    line-height:1.45;
    white-space:normal;
  }
  nav ul .language-nav-item,
  nav ul .mobile-nav-wide { grid-column:1 / -1; }
  .nav-account-link, .nav-btn { width:100%; margin:0 !important; }

  .language-menu > summary {
    min-height:44px;
    padding:9px 11px;
    font-size:.82rem;
  }
  .language-dropdown,
  html[dir="ltr"] .language-dropdown {
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:5px;
    padding:6px;
    max-height:none;
    overflow:visible;
  }
  .language-dropdown a {
    min-height:38px;
    display:flex !important;
    align-items:center;
    justify-content:center;
    padding:7px 5px !important;
    font-size:.74rem !important;
    white-space:nowrap !important;
  }

  section:not(#home) { padding:56px 18px; }
  .section-title {
    font-size:1.55rem;
    line-height:1.55;
    overflow-wrap:anywhere;
  }
  .section-desc { max-width:none; font-size:.9rem; line-height:1.9; }

  .booking-wrap { gap:28px; }
  .booking-preview-card { padding:26px 20px; border-radius:20px; }

  .footer-inner, .footer-brand-block { align-items:flex-start; }
  .footer-brand-block { flex-direction:column; gap:12px; }
  .footer-copy, .footer-address { overflow-wrap:anywhere; }
}

@media (max-width: 640px) {
  /* Header / brand */
  nav { min-height:72px; padding:7px 12px; }
  .brand-marks { gap:5px; padding-left:6px; }
  .brand-mark-misagh, .brand-mark-mehrabani {
    width:40px !important;
    height:40px !important;
    padding:0 !important;
  }
  .logo-main {
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:0;
    font-size:.78rem !important;
    line-height:1.45;
    white-space:nowrap;
  }
  .logo-main .brand-primary,
  .logo-main .brand-secondary {
    display:block;
    font-size:.78rem !important;
    font-weight:700 !important;
    line-height:1.45 !important;
  }
  .brand-separator, .logo-sub { display:none !important; }

  nav ul { right:8px; left:8px; border-radius:0 0 16px 16px; }
  nav ul.nav-open { max-height:calc(100dvh - 78px); }
  nav ul a { min-height:40px; font-size:.78rem; padding:8px 6px; }
  .language-dropdown,
  html[dir="ltr"] .language-dropdown { grid-template-columns:repeat(3,minmax(0,1fr)); }

  /* Hero: remove oversized empty area and keep all slides usable */
  #home {
    min-height:0 !important;
    padding-top:72px !important;
    justify-content:flex-start !important;
  }
  .hero-image-wrap {
    width:100% !important;
    height:auto !important;
    aspect-ratio:16 / 9;
    min-height:0;
  }
  .hero-image-wrap .hero-slide,
  .hero-image-wrap .hero-slide.active { height:100%; }
  .hero-image-wrap img { height:100%; object-fit:cover; }
  .hero-image-wrap .hero-slide.content-slide img,
  .hero-image-wrap .hero-slide.poster-slide img { object-fit:contain; background:#fff; }
  .hero-arrow {
    width:34px;
    height:34px;
    font-size:1rem;
    background:rgba(255,255,255,.92);
  }
  .hero-arrow-prev { right:10px; }
  .hero-arrow-next { left:10px; }
  .hero-dots { bottom:9px; gap:7px; }
  .hero-dot { width:8px; height:8px; }
  .hero-slide-caption {
    bottom:28px;
    max-width:calc(100% - 84px);
    padding:7px 13px;
    font-size:.72rem;
    overflow:hidden;
    text-overflow:ellipsis;
  }
  .hero-actions {
    width:100%;
    padding:16px 14px 0;
    gap:9px;
  }
  .hero-actions .btn-primary,
  .hero-actions .btn-outline {
    flex:1 1 145px;
    min-height:44px;
    padding:11px 13px;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    font-size:.84rem;
  }
  .hero-stats-bar {
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    margin-top:18px;
  }
  .stat-item {
    min-width:0 !important;
    max-width:none;
    padding:13px 6px;
    border-left:1px solid var(--green-pale);
  }
  .stat-item:last-child { border-left:0; }
  .stat-num { font-size:1.25rem; line-height:1.35; }
  .stat-num-text { font-size:.78rem !important; line-height:1.45; }
  .stat-label { font-size:.62rem; line-height:1.55; }

  /* Generic section density */
  section:not(#home) { padding:48px 16px; }
  .section-label { font-size:.76rem; margin-bottom:7px; }
  .section-title { font-size:1.38rem; margin-bottom:10px; }
  .section-desc { font-size:.84rem; line-height:1.85; }

  /* Data cards */
  .client-insights-section { padding:48px 16px !important; }
  .client-insights-kpis { gap:9px; margin-top:24px; }
  .client-kpi { min-height:118px; padding:14px 12px; border-radius:17px; }
  .client-kpi strong { font-size:1.28rem; }
  .client-kpi > span:last-child { font-size:.69rem; line-height:1.6; }

  /* Intro image strip */
  #intro-band.intro-band-visual { padding:0 !important; }

  /* Intro posters: full width card, arrows overlaid */
  .intro-gallery-section { padding:48px 16px !important; }
  .intro-poster-slider {
    display:block;
    position:relative;
    margin-top:24px;
    padding:0;
  }
  .intro-poster-viewport { width:100%; border-radius:18px; }
  .intro-poster-track { gap:14px; }
  .intro-poster-card { flex:0 0 100%; border-radius:18px; }
  .intro-poster-card span { padding:11px 12px 13px; font-size:.84rem; }
  .intro-slider-btn {
    position:absolute;
    top:50%;
    z-index:8;
    width:38px;
    height:38px;
    transform:translateY(-50%);
    background:rgba(255,255,255,.94);
  }
  .intro-slider-prev { left:7px; }
  .intro-slider-next { right:7px; }
  .intro-slider-btn:hover:not(:disabled) { transform:translateY(-50%) scale(1.04); }

  /* Services: swipeable cards instead of a very long stack */
  #services .services-grid {
    display:flex !important;
    overflow-x:auto;
    gap:14px;
    margin-top:30px;
    margin-inline:-16px;
    padding:4px 16px 14px;
    scroll-snap-type:x mandatory;
    overscroll-behavior-x:contain;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
  }
  #services .services-grid::-webkit-scrollbar { display:none; }
  #services .service-card {
    flex:0 0 86%;
    min-height:292px;
    scroll-snap-align:center;
  }
  #services .service-desc { font-size:.82rem; line-height:1.75; }

  /* Consultants: swipeable to avoid 8 stacked cards */
  .consultants-grid {
    display:flex !important;
    overflow-x:auto;
    gap:14px;
    margin-top:30px;
    margin-inline:-16px;
    padding:4px 16px 14px;
    scroll-snap-type:x mandatory;
    overscroll-behavior-x:contain;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
  }
  .consultants-grid::-webkit-scrollbar { display:none; }
  .consultant-card { flex:0 0 86%; scroll-snap-align:center; border-radius:20px; }
  .consultant-avatar { height:190px; }
  .consultant-info { padding:17px; }

  /* Adult kindergarten */
  .adult-kindergarten-wrap { gap:22px; }
  .adult-kindergarten-poster { padding:9px; border-radius:20px; }
  .adult-kindergarten-chips { gap:6px; margin:14px 0; }
  .adult-kindergarten-chips span { font-size:.75rem; padding:6px 10px; }
  .adult-kindergarten-actions .btn-primary,
  .adult-kindergarten-actions .btn-outline { min-height:44px; padding:11px 16px; }

  /* Active programs */
  .registration-cards-grid { margin-top:24px; gap:16px; }
  .registration-mini-card { border-radius:20px; }
  .registration-mini-media { height:auto !important; aspect-ratio:16 / 9; }
  .registration-mini-content { padding:18px 16px 20px; }
  .registration-mini-content h3 { font-size:1rem; }

  /* Past programs slider: full width with overlay arrows */
  .programs-past-heading { margin-top:38px; padding-top:24px; }
  .programs-slider {
    display:block;
    position:relative;
    margin-top:22px;
    padding:0;
  }
  .programs-viewport { width:100%; border-radius:18px; }
  .programs-grid { gap:14px; }
  .programs-grid .program-card { flex:0 0 100%; border-radius:18px; }
  .program-slider-btn {
    position:absolute;
    top:50%;
    z-index:8;
    width:38px;
    height:38px;
    transform:translateY(-50%);
    background:rgba(255,255,255,.94);
  }
  .program-slider-prev { left:7px; }
  .program-slider-next { right:7px; }
  .program-slider-btn:hover:not(:disabled) { transform:translateY(-50%) scale(1.04); }
  .program-stamp { width:64px; height:64px; top:10px; left:10px; font-size:.64rem; }

  /* Booking section and client portal */
  #booking .booking-wrap { gap:22px; }
  .booking-features { margin-top:20px; gap:10px; }
  .booking-preview-card { padding:23px 17px; }
  .booking-preview-card .btn-primary { min-height:44px; padding:11px 14px; }
  .client-portal-section { padding:44px 16px !important; }
  .client-portal-wrap { padding:24px 18px !important; border-radius:20px; }
  .client-portal-copy .btn-primary { width:100%; display:flex; justify-content:center; text-align:center; padding:12px 14px; }

  /* Location / contacts */
  .location-map-card, .location-map-card iframe { min-height:260px !important; height:260px !important; }
  .contact-grid {
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
  .contact-item { min-width:0; padding:18px 12px; border-bottom:1px solid rgba(255,255,255,.08); }
  .contact-item:nth-child(3), .contact-item:nth-child(4) { grid-column:1 / -1; }
  .contact-val { font-size:.78rem; overflow-wrap:anywhere; }
  footer { padding:26px 16px 22px; }
  .footer-logo-pair { gap:8px; }
  .footer-brand-image { width:48px; height:48px; }
  .footer-logo { font-size:.88rem; line-height:1.7; }
  .footer-copy { font-size:.7rem; line-height:1.8; }
  .footer-address-link { font-size:.88rem; }

  /* Detail pages */
  .article-wrap { padding:104px 16px 62px; }
  .article-wrap h1 { font-size:1.35rem; line-height:1.65; }
  .article-body p { font-size:.9rem; line-height:1.95; }
  .article-cta { margin-top:28px; padding:20px 16px; }
  .workshop-list-item { padding:16px; }
  .workshop-list-link { width:100%; text-align:center; }

  /* About page */
  .about-founders-section { padding:44px 16px !important; }
  .founders-intro { gap:13px; padding:16px; }
  .founders-intro-mark { width:50px; height:50px; flex-basis:50px; font-size:1.35rem; }
  .founder-photo-wrap { height:280px; }
  .founder-card-body { padding:18px; }

  /* Booking page header/form */
  .booking-page nav {
    position:sticky;
    flex-wrap:wrap;
    min-height:auto;
    padding:8px 12px 10px;
  }
  .booking-page .logo-wrap { width:100%; }
  .booking-nav-actions {
    width:100%;
    display:grid !important;
    grid-template-columns:1fr 1fr;
    gap:8px;
  }
  .booking-nav-actions .language-menu,
  .booking-nav-actions .language-menu > summary,
  .booking-nav-actions .btn-outline { width:100% !important; }
  .booking-nav-actions .btn-outline {
    min-height:44px;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:9px 12px;
    font-size:.82rem;
  }
  .booking-nav-actions .language-dropdown {
    position:absolute !important;
    right:0 !important;
    left:auto !important;
    width:min(310px,calc(100vw - 24px)) !important;
    min-width:0 !important;
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  }
  .booking-page-main { padding:34px 14px 58px !important; }
  .booking-page-head { margin-bottom:24px; }
  .booking-page-head h1 { font-size:1.45rem !important; }
  .booking-page .booking-form { padding:24px 16px; border-radius:20px; }
  .booking-page input,
  .booking-page select,
  .booking-page textarea { font-size:16px; }

  /* Prevent iOS zoom on form fields */
  input, select, textarea { font-size:16px; }
}

@media (max-width: 420px) {
  nav { padding-inline:9px; }
  .brand-mark-misagh, .brand-mark-mehrabani { width:37px !important; height:37px !important; }
  .logo-main .brand-primary,
  .logo-main .brand-secondary { font-size:.72rem !important; }
  .nav-toggle { width:38px; height:38px; flex-basis:38px; }
  nav ul { grid-template-columns:1fr 1fr; right:6px; left:6px; }
  nav ul a { font-size:.74rem; }
  .language-dropdown,
  html[dir="ltr"] .language-dropdown { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .hero-actions .btn-primary, .hero-actions .btn-outline { flex-basis:130px; font-size:.8rem; }
  .stat-num { font-size:1.1rem; }
  .stat-num-text { font-size:.7rem !important; }
  .stat-label { font-size:.58rem; }
  .client-kpi { min-height:110px; }
  #services .service-card, .consultant-card { flex-basis:90%; }
  .contact-grid { grid-template-columns:1fr !important; }
  .contact-item:nth-child(3), .contact-item:nth-child(4) { grid-column:auto; }
}
