﻿*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
      --orange: #F58220;
      --orange-dark: #e67410;
      --orange-light: #FFF3E8;
      --blue: #1F5AA6;
      --blue-light: #EEF6FF;
      --bg: #FAF7F2;
      --text: #2A2A2A;
      --text-muted: rgba(42, 42, 42, 0.65);
      --white: #ffffff;
      --radius: 16px;
      --radius-lg: 24px;
      --shadow: 0 4px 24px rgba(42, 42, 42, 0.06);
      --shadow-hover: 0 8px 32px rgba(42, 42, 42, 0.1);
    }

    html { scroll-behavior: smooth; }

    body {
      font-family: 'Vazirmatn', Tahoma, sans-serif;
      background: var(--bg);
      color: var(--text);
      line-height: 1.7;
      overflow-x: hidden;
    }

    a { text-decoration: none; color: inherit; }
    img { max-width: 100%; height: auto; display: block; }
    ul { list-style: none; }

    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 24px;
    }

    /* Header */
    .header {
      position: sticky;
      top: 0;
      z-index: 100;
      background: rgba(250, 247, 242, 0.92);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid rgba(42, 42, 42, 0.06);
    }

    .header-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      padding: 14px 0;
    }

    .logo {
      display: flex;
      align-items: center;
      gap: 12px;
      flex-shrink: 0;
    }

    .logo img {
      width: 48px;
      height: 48px;
      border-radius: 12px;
      object-fit: cover;
    }

    .logo-text { font-size: 13px; font-weight: 700; line-height: 1.5; }
    .logo-text span { display: block; color: var(--orange); font-size: 15px; }

    .nav { display: flex; align-items: center; gap: 4px; }

    .nav a {
      padding: 8px 14px;
      border-radius: 10px;
      font-size: 14px;
      color: var(--text-muted);
      transition: color 0.2s, background 0.2s;
    }

    .nav a:hover { color: var(--blue); background: var(--white); }
    .nav a.active { color: var(--orange); font-weight: 600; }

    .header-actions {
      display: flex;
      align-items: center;
      gap: 10px;
      flex-shrink: 0;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      padding: 10px 22px;
      border-radius: 12px;
      font-family: inherit;
      font-size: 14px;
      font-weight: 600;
      cursor: pointer;
      border: 2px solid transparent;
      transition: all 0.2s;
    }

    .btn-outline {
      background: var(--white);
      border-color: var(--blue);
      color: var(--blue);
    }

    .btn-outline:hover { background: var(--blue-light); }

    .btn-primary {
      background: var(--orange);
      color: var(--white);
      box-shadow: 0 2px 12px rgba(245, 130, 32, 0.3);
    }

    .btn-primary:hover { background: var(--orange-dark); }

    .mobile-nav {
      display: none;
      overflow-x: auto;
      gap: 4px;
      padding: 8px 0 10px;
      border-top: 1px solid rgba(42, 42, 42, 0.06);
    }

    .mobile-nav a {
      flex-shrink: 0;
      padding: 6px 12px;
      font-size: 12px;
      color: var(--text-muted);
      border-radius: 8px;
    }

    .mobile-nav a.active { color: var(--orange); font-weight: 600; }

    /* Breadcrumb */
    .breadcrumb {
      padding: 16px 0 0;
      font-size: 13px;
      color: var(--text-muted);
    }

    .breadcrumb a { color: var(--blue); }
    .breadcrumb a:hover { text-decoration: underline; }
    .breadcrumb span { margin: 0 8px; opacity: 0.5; }

    /* Hero */
    .workshop-hero {
      background: var(--white);
      padding: 0 0 32px;
      margin-bottom: 8px;
    }

    .workshop-hero .breadcrumb {
      padding: 16px 0 8px;
    }

    .workshop-hero-inner {
      display: grid;
      grid-template-columns: minmax(120px, 1fr) auto minmax(120px, 1fr);
      align-items: center;
      gap: 12px 24px;
      min-height: 240px;
    }

    .workshop-hero-character {
      justify-self: start;
      display: flex;
      align-items: flex-end;
      justify-content: center;
    }

    .workshop-hero-character img {
      width: 100%;
      max-width: 260px;
      object-fit: contain;
    }

    .workshop-hero-center {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      max-width: 480px;
      width: 100%;
      justify-self: center;
    }

    .workshop-hero-center h1 {
      font-size: clamp(28px, 3.8vw, 40px);
      font-weight: 800;
      color: var(--blue);
      line-height: 1.35;
      margin-bottom: 14px;
    }

    .workshop-hero-title-line {
      width: 56px;
      height: 4px;
      background: var(--orange);
      border-radius: 4px;
      margin-bottom: 16px;
    }

    .workshop-hero-center p {
      font-size: 15px;
      color: var(--text-muted);
      line-height: 1.9;
      max-width: 420px;
    }

    .workshop-hero-deco {
      justify-self: end;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .workshop-hero-deco img {
      width: 100%;
      max-width: 240px;
      object-fit: contain;
    }

    /* Filters */
    .workshop-filters {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 10px;
      padding: 8px 0 36px;
    }

    .filter-pill {
      padding: 10px 20px;
      border-radius: 50px;
      font-family: inherit;
      font-size: 13px;
      font-weight: 600;
      color: var(--text-muted);
      background: var(--white);
      border: 1.5px solid rgba(42, 42, 42, 0.08);
      cursor: pointer;
      transition: all 0.2s;
      white-space: nowrap;
    }

    .filter-pill:hover {
      border-color: rgba(245, 130, 32, 0.35);
      color: var(--orange);
    }

    .filter-pill.active {
      background: var(--orange-light);
      border-color: rgba(245, 130, 32, 0.25);
      color: var(--orange);
    }

    /* Carousel */
    .workshops-section {
      padding-bottom: 48px;
    }

    .carousel-wrap {
      position: relative;
    }

    .carousel-btn {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      width: 44px;
      height: 44px;
      border-radius: 50%;
      border: 2px solid var(--blue);
      background: var(--white);
      color: var(--blue);
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 2;
      transition: background 0.2s, color 0.2s;
      box-shadow: var(--shadow);
    }

    .carousel-btn:hover { background: var(--blue); color: var(--white); }
    .carousel-btn.prev { left: -22px; }
    .carousel-btn.next { right: -22px; }

    .carousel-track {
      display: flex;
      gap: 20px;
      overflow-x: auto;
      scroll-behavior: smooth;
      -webkit-overflow-scrolling: touch;
      scroll-snap-type: x proximity;
      scrollbar-width: none;
      -ms-overflow-style: none;
      touch-action: pan-x;
      padding: 4px 0 8px;
    }

    .carousel-track::-webkit-scrollbar { display: none; }

    .workshop-card {
      flex: 0 0 calc(25% - 15px);
      scroll-snap-align: start;
      background: var(--white);
      border-radius: var(--radius-lg);
      overflow: hidden;
      box-shadow: var(--shadow);
      transition: transform 0.25s, box-shadow 0.25s;
    }

    .workshop-card:hover {
      transform: translateY(-3px);
      box-shadow: var(--shadow-hover);
    }

    .workshop-img {
      position: relative;
      height: 168px;
      overflow: hidden;
    }

    .workshop-img img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .workshop-body { padding: 18px; }

    .workshop-date {
      display: flex;
      align-items: center;
      gap: 6px;
      font-size: 12px;
      color: var(--text-muted);
      margin-bottom: 8px;
    }

    .workshop-body h3 {
      font-size: 14px;
      font-weight: 700;
      margin-bottom: 6px;
      line-height: 1.5;
    }

    .workshop-age {
      font-size: 12px;
      color: var(--text-muted);
      margin-bottom: 12px;
    }

    .workshop-link {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      font-size: 13px;
      font-weight: 600;
      color: var(--blue);
    }

    .workshop-link svg { flex-shrink: 0; }

    /* Features bar */
    .features-bar {
      background: rgba(255, 255, 255, 0.85);
      border-radius: var(--radius-lg);
      padding: 28px 32px;
      margin-bottom: 56px;
      box-shadow: var(--shadow);
    }

    .features-grid {
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      gap: 24px;
    }

    .feature-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      gap: 14px;
    }

    .feature-item img {
      width: 72px;
      height: 72px;
      object-fit: contain;
    }

    .feature-item p {
      font-size: 12px;
      font-weight: 600;
      line-height: 1.7;
      color: var(--text);
    }

    .feature-item p span {
      display: block;
      font-weight: 500;
      color: var(--text-muted);
    }

    /* Footer */
    .footer {
      background: var(--white);
      border-top: 1px solid rgba(42, 42, 42, 0.06);
      padding: 48px 0 24px;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 1.4fr 1fr 1fr 1fr;
      gap: 32px;
      margin-bottom: 36px;
    }

    .footer-col h4 {
      font-size: 14px;
      font-weight: 700;
      margin-bottom: 16px;
      color: var(--blue);
    }

    .footer-col a {
      display: block;
      font-size: 13px;
      color: var(--text-muted);
      margin-bottom: 10px;
      transition: color 0.2s;
    }

    .footer-col a:hover { color: var(--orange); }

    .footer-contact li {
      display: flex;
      align-items: flex-start;
      gap: 10px;
      font-size: 13px;
      color: var(--text-muted);
      margin-bottom: 12px;
    }

    .footer-contact svg {
      width: 18px;
      height: 18px;
      flex-shrink: 0;
      margin-top: 2px;
      color: var(--orange);
    }

    .footer-bottom {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      padding-top: 24px;
      border-top: 1px solid rgba(42, 42, 42, 0.06);
    }

    .footer-brand {
      display: flex;
      align-items: center;
      gap: 16px;
    }

    .footer-brand img {
      width: 44px;
      height: 44px;
      border-radius: 10px;
      object-fit: cover;
    }

    .social-links { display: flex; gap: 10px; }

    .social-links a {
      width: 36px;
      height: 36px;
      border-radius: 10px;
      background: var(--bg);
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--text-muted);
      transition: background 0.2s, color 0.2s;
    }

    .social-links a:hover { background: var(--orange-light); color: var(--orange); }
    .social-links svg { width: 18px; height: 18px; }

    .copyright {
      font-size: 12px;
      color: var(--text-muted);
      text-align: left;
    }

    /* Responsive */
    @media (max-width: 1024px) {
      .nav { display: none; }
      .mobile-nav { display: flex; }
      .workshop-card { flex: 0 0 calc(33.333% - 14px); }
      .features-grid { grid-template-columns: repeat(3, 1fr); }
      .footer-grid { grid-template-columns: 1fr 1fr; }
    }

    @media (max-width: 768px) {
      .workshop-hero-inner {
        grid-template-columns: 1fr;
        gap: 20px;
        min-height: auto;
      }

      .workshop-hero-character,
      .workshop-hero-deco {
        display: none;
      }

      .workshop-hero-center {
        max-width: 100%;
      }

      .workshop-card { flex: 0 0 calc(50% - 10px); }
      .carousel-btn { display: none; }
      .carousel-track { scroll-snap-type: x mandatory; }
      .workshop-card { scroll-snap-align: center; }
      .features-grid { grid-template-columns: repeat(2, 1fr); }
    }

    @media (max-width: 480px) {
      .workshop-card { flex: 0 0 100%; }
      .features-grid { grid-template-columns: 1fr; }
      .footer-grid { grid-template-columns: 1fr; }
      .header-actions .btn-outline { display: none; }
      .footer-bottom { flex-direction: column; text-align: center; }
      .copyright { text-align: center; }
    }
