*,
    *::before,
    *::after {
      box-sizing: border-box;
    }

    :root {
      --blue-dark: #1a2d4a;
      --blue-mid: #2c4a6e;
      --blue-light: #e8f2f8;
      --blue-accent: #3b6ea8;
      --gold: #c4a35a;
      --bg-light: #f5f7f9;
      --bg-white: #ffffff;
      --text-dark: #1a2d4a;
      --text-muted: #5a6a7e;
      --text-light: #ffffff;
      --border: #e2e6ec;
      --container: 1100px;
    }

    body {
      margin: 0;
      font-family: "Vazirmatn", "Segoe UI", Tahoma, sans-serif;
      color: var(--text-dark);
      line-height: 1.8;
      background: var(--bg-white);
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    .container {
      max-width: var(--container);
      margin: 0 auto;
      padding: 0 1.5rem;
    }

    /* ── Header ── */
    .site-header {
      background: var(--bg-white);
      border-bottom: 1px solid var(--border);
      position: sticky;
      top: 0;
      z-index: 100;
    }

    .header-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 1rem 0;
      gap: 1rem;
    }

    .header-right {
      display: flex;
      align-items: center;
      gap: 1.5rem;
      flex-wrap: wrap;
    }

    .logo {
      display: flex;
      align-items: center;
      gap: 0.75rem;
    }

    .logo-mark {
      font-family: Georgia, "Times New Roman", serif;
      font-size: 1.75rem;
      font-weight: 700;
      color: var(--blue-dark);
      line-height: 1;
    }

    .logo-text strong {
      display: block;
      font-size: 0.88rem;
      font-weight: 700;
      color: var(--blue-dark);
    }

    .logo-text span {
      display: block;
      font-size: 0.68rem;
      color: var(--text-muted);
      margin-top: 0.15rem;
    }

    .nav {
      display: flex;
      align-items: center;
      gap: 0.15rem;
      flex-wrap: wrap;
    }

    .nav a {
      padding: 0.45rem 0.7rem;
      font-size: 0.8rem;
      font-weight: 500;
      color: var(--text-dark);
      position: relative;
      transition: color 0.2s;
    }

    .nav a:hover {
      color: var(--blue-accent);
    }

    .nav a.active {
      color: var(--blue-dark);
      font-weight: 600;
    }

    .nav a.active::after {
      content: "";
      position: absolute;
      bottom: 0;
      left: 0.7rem;
      right: 0.7rem;
      height: 2px;
      background: var(--blue-dark);
    }

    .search-btn {
      background: none;
      border: none;
      color: var(--text-dark);
      cursor: pointer;
      padding: 0.4rem;
      display: flex;
      align-items: center;
    }

    .search-btn svg {
      width: 20px;
      height: 20px;
    }

    .menu-toggle {
      display: none;
      background: none;
      border: none;
      color: var(--text-dark);
      cursor: pointer;
      padding: 0.4rem;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }

    .menu-toggle svg {
      width: 24px;
      height: 24px;
    }

    .menu-toggle:hover {
      color: var(--blue-accent);
    }

    /* ── Hero split (داخل container — نه تمام‌عرض) ── */
    .hero-section {
      padding: 2rem 0 0;
      background: var(--bg-white);
    }

    .hero-split {
      display: grid;
      grid-template-columns: 1fr 1fr;
      min-height: 360px;
      overflow: hidden;
      background: var(--bg-light);
    }

    .hero-image {
      overflow: hidden;
    }

    .hero-image img {
      width: 100%;
      height: 100%;
      min-height: 360px;
      object-fit: cover;
      object-position: center center;
      background: var(--bg-light);
    }

    .hero-text {
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 3rem 2rem;
      background: var(--bg-light);
    }

    .hero-text-inner {
      max-width: 400px;
      width: 100%;
      text-align: center;
    }

    .hero-text h1 {
      font-size: 2.25rem;
      font-weight: 700;
      color: var(--blue-dark);
      margin: 0 0 0.75rem;
      text-align: center;
    }

    .hero-line {
      width: 48px;
      height: 3px;
      background: var(--blue-accent);
      margin: 0 auto 1.25rem;
    }

    .hero-text p {
      font-size: 0.95rem;
      color: var(--text-muted);
      margin: 0;
      line-height: 1.9;
      text-align: center;
    }

    /* ── Contact cards ── */
    .contact-cards {
      padding: 2.5rem 0;
      background: var(--bg-white);
    }

    .cards-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1.25rem;
    }

    .contact-card {
      border: 1px solid var(--border);
      border-radius: 8px;
      padding: 2rem 1.5rem;
      text-align: center;
      background: var(--bg-white);
      transition: box-shadow 0.2s;
    }

    .contact-card:hover {
      box-shadow: 0 4px 20px rgba(26, 45, 74, 0.08);
    }

    .contact-card-icon {
      width: 36px;
      height: 36px;
      color: var(--blue-accent);
      margin: 0 auto 1rem;
    }

    .contact-card h3 {
      font-size: 0.95rem;
      font-weight: 700;
      color: var(--blue-dark);
      margin: 0 0 0.5rem;
    }

    .contact-card-line {
      width: 32px;
      height: 2px;
      background: var(--blue-accent);
      opacity: 0.4;
      margin: 0 auto 0.75rem;
    }

    .contact-card p,
    .contact-card a {
      font-size: 0.85rem;
      color: var(--text-muted);
      margin: 0;
    }

    .contact-card a:hover {
      color: var(--blue-accent);
    }

    /* ── Form section ── */
    .form-section {
      padding: 3rem 0;
      background: var(--bg-light);
    }

    .form-box {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 0;
      background: var(--bg-light);
      border: 1px solid var(--border);
      border-radius: 8px;
      overflow: hidden;
    }

    .form-side {
      padding: 2.5rem 2rem;
      background: var(--bg-white);
    }

    .form-side h2 {
      font-size: 1.15rem;
      font-weight: 700;
      color: var(--blue-dark);
      margin: 0 0 0.5rem;
    }

    .form-side .form-line {
      width: 40px;
      height: 3px;
      background: var(--blue-accent);
      margin-bottom: 1.5rem;
    }

    .form-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1rem;
      margin-bottom: 1rem;
    }

    .form-group label {
      display: block;
      font-size: 0.8rem;
      font-weight: 600;
      color: var(--text-muted);
      margin-bottom: 0.4rem;
    }

    .form-group input,
    .form-group textarea {
      width: 100%;
      padding: 0.7rem 1rem;
      border: 1px solid var(--border);
      border-radius: 4px;
      font-family: inherit;
      font-size: 0.88rem;
      background: var(--bg-white);
      transition: border-color 0.2s;
    }

    .form-group input:focus,
    .form-group textarea:focus {
      outline: none;
      border-color: var(--blue-accent);
    }

    .form-group textarea {
      min-height: 140px;
      resize: vertical;
    }

    .btn-submit {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      padding: 0.7rem 1.75rem;
      background: var(--blue-dark);
      color: var(--text-light);
      font-family: inherit;
      font-size: 0.88rem;
      font-weight: 600;
      border: none;
      border-radius: 4px;
      cursor: pointer;
      margin-top: 0.5rem;
      transition: background 0.2s;
    }

    .btn-submit:hover {
      background: var(--blue-mid);
    }

    .btn-submit:disabled {
      opacity: 0.65;
      cursor: not-allowed;
    }

    .form-honey {
      position: absolute;
      left: -9999px;
      width: 1px;
      height: 1px;
      overflow: hidden;
    }

    .form-alert {
      padding: 0.85rem 1rem;
      border-radius: 4px;
      font-size: 0.88rem;
      margin-bottom: 1rem;
      line-height: 1.7;
    }

    .form-alert.success {
      background: #e8f5e9;
      color: #1b5e20;
      border: 1px solid #a5d6a7;
    }

    .form-alert.error {
      background: #fdecea;
      color: #b71c1c;
      border: 1px solid #f5c6cb;
    }

    .form-alert[hidden] {
      display: none;
    }

    .topics-side {
      padding: 2.5rem 2rem;
      border-right: 1px solid var(--border);
      background: var(--bg-light);
    }

    .topics-icon {
      width: 48px;
      height: 48px;
      color: var(--blue-accent);
      margin-bottom: 1rem;
      opacity: 0.7;
    }

    .topics-side h3 {
      font-size: 1rem;
      font-weight: 700;
      color: var(--blue-dark);
      margin: 0 0 1.25rem;
    }

    .topics-list {
      list-style: none;
      margin: 0;
      padding: 0;
    }

    .topics-list li {
      font-size: 0.88rem;
      color: var(--text-muted);
      padding: 0.5rem 0;
      border-bottom: 1px solid var(--border);
      position: relative;
      padding-right: 1rem;
    }

    .topics-list li::before {
      content: "•";
      color: var(--blue-accent);
      position: absolute;
      right: 0;
    }

    .topics-list li:last-child {
      border-bottom: none;
    }

    /* ── Quote ── */
    .quote-band {
      background: var(--bg-light);
      padding: 2.5rem 0;
      border-top: 1px solid var(--border);
    }

    .quote-inner {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 1.5rem;
      max-width: 720px;
      margin: 0 auto;
      text-align: center;
    }

    .quote-inner p {
      font-size: 1rem;
      color: var(--text-dark);
      margin: 0 0 0.75rem;
      font-weight: 500;
      line-height: 1.9;
    }

    .quote-line {
      width: 40px;
      height: 2px;
      background: var(--blue-accent);
      opacity: 0.4;
      margin: 0 auto;
    }

    .quote-mark {
      font-size: 3.5rem;
      line-height: 1;
      color: var(--blue-accent);
      opacity: 0.25;
      font-family: Georgia, serif;
      flex-shrink: 0;
    }

    /* ── Footer ── */
    .footer-main {
      background: linear-gradient(135deg, var(--blue-light) 0%, #f0f4f8 100%);
      padding: 2.5rem 0;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: auto 1fr auto;
      gap: 2rem;
      align-items: center;
      text-align: center;
    }

    .footer-drop {
      width: 56px;
      height: 56px;
      color: var(--blue-accent);
      opacity: 0.5;
    }

    .footer-text {
      font-size: 0.88rem;
      color: var(--text-muted);
      margin: 0;
      line-height: 1.9;
    }

    .footer-connect h4 {
      font-size: 0.9rem;
      font-weight: 700;
      color: var(--blue-dark);
      margin: 0 0 0.75rem;
    }

    .footer-social {
      display: flex;
      gap: 0.75rem;
      justify-content: center;
    }

    .footer-social a {
      width: 36px;
      height: 36px;
      border: 1px solid var(--border);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--blue-dark);
      background: var(--bg-white);
      transition: background 0.2s, color 0.2s;
    }

    .footer-social a:hover {
      background: var(--blue-dark);
      color: var(--text-light);
    }

    .footer-social svg {
      width: 16px;
      height: 16px;
    }

    .footer-bar {
      background: var(--blue-dark);
      padding: 1rem 0;
      text-align: center;
      font-size: 0.75rem;
      color: rgba(255, 255, 255, 0.6);
    }

    @media (max-width: 960px) {
      .header-inner {
        padding: 0.75rem 0;
        flex-wrap: wrap;
        gap: 0.5rem;
      }

      .header-right {
        flex: 1;
        gap: 0.75rem;
        flex-wrap: wrap;
        min-width: 0;
      }

      .header-right .nav {
        display: none;
        order: 3;
        width: 100%;
        flex-direction: column;
        background: var(--bg-white);
        border-top: 1px solid var(--border);
        padding: 0.5rem 0 0.75rem;
        gap: 0;
        margin-top: 0.25rem;
        box-shadow: 0 8px 20px rgba(26, 45, 74, 0.08);
      }

      .header-right .nav.is-open {
        display: flex;
      }

      .header-right .nav a {
        padding: 0.65rem 0.5rem;
        border-bottom: 1px solid var(--border);
      }

      .header-right .nav a:last-child {
        border-bottom: none;
      }

      .header-right .nav a.active::after {
        display: none;
      }

      .menu-toggle {
        display: flex;
      }

      .site-header .search-btn,
      .site-header .menu-toggle {
        flex-shrink: 0;
      }

      .hero-section {
        padding: 1.25rem 0 0;
      }

      .hero-split {
        grid-template-columns: 1fr;
      }

      .hero-image img {
        min-height: 220px;
      }

      .hero-text {
        padding: 2rem 1.5rem;
      }

      .cards-grid {
        grid-template-columns: 1fr;
      }

      .form-box {
        grid-template-columns: 1fr;
      }

      .topics-side {
        border-right: none;
        border-bottom: 1px solid var(--border);
      }

      .footer-grid {
        grid-template-columns: 1fr;
      }
    }

    @media (max-width: 560px) {
      .container {
        padding: 0 1rem;
      }

      .header-right .logo-text span {
        display: none;
      }

      .form-row {
        grid-template-columns: 1fr;
      }

      .hero-text {
        padding: 2rem 1.5rem;
      }
    }
