/* ═══════════════════════════════════════════════════════════════
   JOBSPACE.AZ — Tam Responsive Sistem v2.0
   Səhifələr: index, companies, categories, about, services,
              contact, map, cv
   Cihazlar:  iPhone SE (375) → 4K masaüstü
   Brauzerlər: Chrome, Firefox, Safari, Edge, Samsung Internet
   Breakpoints: 1400 · 1200 · 1100 · 1024 · 900 · 768 · 600 · 480 · 360
   ═══════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════
   0. UNIVERSAL CROSS-BROWSER FIXES
   ═══════════════════════════════════════════════════════════════ */

html {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

*, *::before, *::after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

img, svg, video, canvas, iframe {
  max-width: 100%;
  height: auto;
  display: block;
}

input, select, textarea, button {
  font-family: inherit;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  max-width: 100%;
}

select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

/* Prevent horizontal overflow globally */
section, article, aside, main, header, footer, div {
  max-width: 100%;
}

/* ═══════════════════════════════════════════════════════════════
   1. NAVBAR — Bütün səhifələr
   ═══════════════════════════════════════════════════════════════ */

/* Desktop default */
.nav-links {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
.nav-right {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
.hamburger { display: none; }
.mob-menu  { display: none; }

/* ── 900px → hamburger göstər (7 link olduğu üçün) ── */
@media (max-width: 900px) {
  .nav {
    padding: 0 16px;
    height: 58px;
  }

  .nav-links  { display: none !important; }
  .nav-divider { display: none !important; }

  .nav-right {
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
    gap: 4px;
    margin-left: auto;
  }

  .hamburger {
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
    margin-left: 6px;
  }

  .mob-menu { top: 58px; }
  .subbar-right { display: none; }
  .mob-menu-utils {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
}

/* ── Desktop: nav-links görünür, hamburger gizli ── */
@media (min-width: 901px) {
  .nav-links { display: -webkit-box !important; display: -ms-flexbox !important; display: flex !important; }
  .nav-right  { display: -webkit-box !important; display: -ms-flexbox !important; display: flex !important; }
  .hamburger  { display: none !important; }
  .mob-menu   { display: none !important; }
  .mob-menu-utils { display: none !important; }
}

/* ── 1100–901: nav linkləri kiçilt ── */
@media (max-width: 1100px) and (min-width: 901px) {
  .nav-links a {
    font-size: 12px;
    padding: 5px 9px;
  }
  .nav-links a.nav-cv-btn {
    font-size: 11.5px;
    padding: 5px 10px;
  }
  .logo { margin-right: 20px; }
}

@media (max-width: 1024px) and (min-width: 901px) {
  .nav-links a {
    font-size: 11.5px;
    padding: 5px 8px;
  }
  .nav { padding: 0 16px; }
}

/* ── Kiçik mobillərdə nav hündürlüyü ── */
@media (max-width: 600px) {
  .nav { padding: 0 14px; height: 56px; }
  .mob-menu { top: 56px; }
}

@media (max-width: 480px) {
  .nav { padding: 0 12px; height: 54px; }
  .logo-text { font-size: 16px; }
  .mob-menu { top: 54px; }
}

@media (max-width: 360px) {
  .nav { padding: 0 10px; height: 52px; }
  .logo-text { font-size: 15px; }
  .mob-menu { top: 52px; }
}

/* ── Landscape mobile ── */
@media (max-width: 900px) and (orientation: landscape) {
  .nav { height: 48px; }
  .mob-menu {
    top: 48px;
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* ── Mobile menu utils (lang + theme daxilindəki sıra) ── */
.mob-menu-utils {
  display: none;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  padding: 10px 14px 4px;
  margin-top: 6px;
  border-top: 1px solid var(--border-s, #F3F4F6);
}

/* ── CV Yarat nav düyməsi ── */
.nav-links a.nav-cv-btn {
  background: var(--accent);
  color: #ffffff !important;
  font-weight: 600;
  border-radius: var(--r-pill, 999px);
  padding: 5px 13px;
  font-size: 12.5px;
  letter-spacing: 0.2px;
  margin-left: 4px;
  box-shadow: 0 2px 8px rgba(37,99,235,0.28);
  -webkit-transition: background var(--base, 200ms ease), box-shadow var(--base, 200ms ease), transform var(--fast, 120ms ease);
  transition: background var(--base, 200ms ease), box-shadow var(--base, 200ms ease), transform var(--fast, 120ms ease);
}
.nav-links a.nav-cv-btn:hover {
  background: var(--accent-hover, #1D4ED8);
  box-shadow: 0 4px 14px rgba(37,99,235,0.40);
  transform: translateY(-1px);
}
.nav-links a.nav-cv-btn::after { display: none !important; }

[data-theme="dark"] .nav-links a.nav-cv-btn {
  background: var(--accent);
  color: #ffffff !important;
}

/* Mobile mob-menu: CV Yarat xüsusi stil */
.mob-menu a[href="cv.html"] {
  color: var(--accent) !important;
  font-weight: 700;
  background: var(--accent-soft, #EFF4FF);
  border-radius: var(--r-sm, 8px);
  margin: 0 2px;
}
[data-theme="dark"] .mob-menu a[href="cv.html"] {
  background: rgba(59,130,246,0.12);
  color: #60A5FA !important;
}

/* ═══════════════════════════════════════════════════════════════
   2. SUBBAR
   ═══════════════════════════════════════════════════════════════ */

.subbar {
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.subbar::-webkit-scrollbar { display: none; }

@media (max-width: 900px) {
  .subbar { padding: 0 16px; gap: 14px; height: 36px; }
}
@media (max-width: 600px) {
  .subbar { padding: 0 12px; gap: 10px; height: 34px; }
  .subbar-item { font-size: 11px; }
  .subbar-item strong { font-size: 12px; }
}
@media (max-width: 480px) {
  .subbar { padding: 0 10px; gap: 8px; height: 32px; }
  .subbar-item { font-size: 10.5px; }
}

/* ═══════════════════════════════════════════════════════════════
   3. INDEX PAGE — 3 sütunlu layout
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 1440px) {
  .detail-panel { right: 16px; }
}

@media (max-width: 1400px) {
  .container {
    max-width: 100%;
    padding: 24px 20px;
    grid-template-columns: 236px 1fr 316px;
    gap: 18px;
  }
  .detail-panel { right: 20px; width: 316px; }
}

/* 1200px → 1 sütun */
@media (max-width: 1200px) {
  .container {
    grid-template-columns: 1fr;
    padding: 20px 18px;
    gap: 16px;
  }
  .sidebar {
    position: static;
    top: auto;
    max-height: none;
    display: none;
  }
  .btn-filter-toggle {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
  }
  .detail-panel {
    position: static;
    top: auto;
    right: auto;
    width: 100%;
    max-height: none;
    display: none;
    border-radius: var(--r-lg, 14px);
    margin-top: 4px;
  }
  .detail-panel.show {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
  }
  .detail-info { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}

@media (max-width: 1024px) {
  .container { padding: 18px 16px; gap: 14px; }
  .subbar { padding: 0 20px; gap: 18px; }
  .nav { padding: 0 20px; }
  .job-card { padding: 15px 16px; }
  .detail-info { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .container { padding: 14px 12px; gap: 12px; }

  /* Axtarış sırası vertikal olur */
  .search-area {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 8px;
  }
  .sort-select { width: 100%; min-width: unset; }
  .search-box { min-height: 46px; }
  .btn-search  { min-height: 46px; }

  /* İş kartları vertikal olur */
  .job-card {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 15px;
    gap: 12px;
  }
  .job-right {
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    width: 100%;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
  }
  .job-meta {
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
  }

  .detail-info { grid-template-columns: 1fr 1fr; gap: 10px; }
  .detail-info-item { padding: 14px 13px; }
  .detail-title { font-size: 17px; }
  .detail-btn { font-size: 13.5px; padding: 12px 16px; }

  .modal-content { padding: 22px 18px; width: 94%; max-height: 88vh; }
  .modal h2 { font-size: 17px; }

  .rp-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .ojc-right { display: none; }
}

@media (max-width: 600px) {
  .container { padding: 12px 10px; gap: 10px; }
  .job-card { padding: 12px 13px; gap: 10px; }
  .job-logo { width: 44px; height: 44px; }
  .job-title { font-size: 14px; }
  .job-company { font-size: 11.5px; }

  .detail-info { grid-template-columns: 1fr; gap: 8px; }
  .detail-panel { padding: 16px 14px; border-radius: var(--r-lg, 14px); }
  .detail-title { font-size: 16px; }
  .detail-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .detail-tab { font-size: 12.5px; padding: 9px 12px; white-space: nowrap; }

  .modal-content { padding: 18px 14px; width: 96%; border-radius: var(--r-lg, 14px); }
  .modal-footer {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 8px;
  }
  .modal-footer .btn { width: 100%; }

  .jdm-title { font-size: 16px; }
  .jdm-tab { font-size: 12px; padding: 9px 10px; }
  .jdm-logo { width: 44px; height: 44px; }
  .job-detail-modal-content { padding: 16px 13px 14px; width: 98%; }
  .sf-chip { font-size: 12px; padding: 6px 9px; }
  .salary-labels { font-size: 10.5px; }
}

@media (max-width: 480px) {
  .container { padding: 10px 8px; gap: 8px; }
  .job-card { padding: 11px 12px; gap: 9px; }
  .job-logo { width: 40px; height: 40px; border-radius: var(--r-sm, 8px); }
  .job-title { font-size: 13.5px; }
  .job-tags { gap: 4px; }
  .job-tag { font-size: 10.5px; padding: 2px 7px; }
  .modal-content { padding: 16px 12px; width: 98%; }
  .rp-stats-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .rp-stat-num { font-size: 19px; }
}

@media (max-width: 360px) {
  .container { padding: 8px 6px; }
  .job-card { padding: 10px 11px; }
  .job-title { font-size: 13px; }
  .job-logo { width: 38px; height: 38px; }
  .detail-panel { padding: 13px 11px; }
  .detail-title { font-size: 15px; }
  .modal-content { padding: 14px 10px; border-radius: var(--r-md, 10px); }
  .btn { font-size: 13px; padding: 10px 16px; }
}

/* ═══════════════════════════════════════════════════════════════
   4. TOAST — bütün səhifələr
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
  .toast {
    left: 12px;
    right: 12px;
    width: auto;
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
    text-align: center;
    white-space: normal;
    font-size: 13px;
  }
  .toast.show {
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
  }
}
@media (max-width: 480px) {
  .toast { left: 8px; right: 8px; font-size: 12.5px; padding: 12px 18px; }
}

/* ═══════════════════════════════════════════════════════════════
   5. COMPANIES PAGE
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 1200px) {
  .co-wrap {
    grid-template-columns: 1fr;
    padding: 14px 18px 36px;
    gap: 16px;
  }
  .co-detail {
    position: static;
    top: auto;
    max-height: none;
    display: none;
    border-radius: var(--r-xl, 18px);
  }
  .co-detail.open {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
}

@media (max-width: 1100px) {
  .co-wrap { grid-template-columns: 1fr; }
  .co-detail {
    position: static;
    max-height: none;
    display: none;
  }
  .co-detail.open { display: flex; }
}

@media (max-width: 768px) {
  .co-toolbar { padding: 12px 16px 0; gap: 8px; }
  .co-wrap { padding: 14px 16px 32px; gap: 12px; }
  .co-search { max-width: 100%; min-width: unset; }
  .page-hero { padding: 24px 20px 20px; }
  .page-hero h1 { font-size: 22px; }
  .page-hero p { font-size: 13px; }

  .co-card { padding: 14px 15px; gap: 12px; }
  .co-logo { width: 46px; height: 46px; }
  .co-name { font-size: 13.5px; }

  .job-modal { margin: 0 4px; border-radius: var(--r-lg, 14px); }
  .jm-head { padding: 14px 15px; gap: 12px; }
  .jm-title { font-size: 14px; }
  .jm-body { padding: 14px 15px; }
  .jm-footer { padding: 12px 15px; }

  .apply-modal { margin: 0 4px; border-radius: var(--r-lg, 14px); }
  .am-body { padding: 14px 15px; }
  .am-footer { padding: 12px 15px; gap: 8px; }
  .am-btn { padding: 9px 16px; font-size: 13px; }
}

@media (max-width: 600px) {
  .co-toolbar {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    align-items: stretch;
    padding: 10px 12px 0;
    gap: 8px;
  }
  .co-search { max-width: 100%; }
  .co-filter-sel { width: 100%; }
  .co-count { margin-left: 0; font-size: 12px; }

  .co-wrap { padding: 12px 12px 28px; gap: 10px; }
  .co-card { padding: 12px 13px; gap: 10px; }
  .co-logo { width: 42px; height: 42px; border-radius: 10px; }
  .co-name { font-size: 13px; }
  .co-job-count { font-size: 18px; }
  .co-tag { font-size: 10.5px; padding: 1px 7px; }

  .page-hero { padding: 20px 16px 18px; }
  .page-hero h1 { font-size: 20px; }

  .cd-head { padding: 16px 14px 12px; }
  .cd-comp-name { font-size: 15px; }
  .cd-logo-big { width: 50px; height: 50px; }
  .cd-stat-num { font-size: 15px; }
  .cd-body { padding: 12px; }
  .cd-footer { padding: 10px 12px; }

  .job-modal-overlay { padding: 12px 8px; }
  .apply-modal-overlay { padding: 12px 8px; }
  .job-modal { border-radius: var(--r-lg, 14px); }
  .jm-logo { width: 42px; height: 42px; }

  .pager { gap: 4px; margin-top: 16px; }
  .pager-btn { min-width: 32px; height: 32px; font-size: 12px; }
}

@media (max-width: 480px) {
  .co-toolbar { padding: 8px 10px 0; }
  .co-wrap { padding: 10px 10px 24px; }
  .co-card { padding: 11px 12px; gap: 9px; }
  .co-logo { width: 40px; height: 40px; }
  .co-name { font-size: 12.5px; }
  .co-meta { gap: 4px; }
  .page-hero { padding: 18px 14px 16px; }
  .page-hero h1 { font-size: 18px; }
  .cd-stats { gap: 10px; }
  .cd-stat-num { font-size: 14px; }
  .am-footer {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  .am-btn { width: 100%; text-align: center; }
}

@media (max-width: 360px) {
  .co-wrap { padding: 8px 8px 20px; }
  .co-card { padding: 10px; }
  .co-logo { width: 38px; height: 38px; }
  .page-hero h1 { font-size: 16px; }
  .cd-comp-name { font-size: 14px; }
}

/* ═══════════════════════════════════════════════════════════════
   6. CATEGORIES PAGE
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
  .cat-hero { padding: 48px 24px 40px; }
  .cat-hero-title { font-size: 36px; }
}

@media (max-width: 768px) {
  .cat-hero { padding: 36px 20px 32px; }
  .cat-hero-title { font-size: 28px; }
  .cat-hero-sub { font-size: 14px; }
  .cat-search-wrap { max-width: 100%; }
  .cat-search-input { font-size: 14px; }

  .cat-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px;
    padding: 16px 16px 40px;
  }
  .cat-card { padding: 16px 14px; }
  .cat-icon { width: 40px; height: 40px; font-size: 18px; }
  .cat-name { font-size: 13px; }
  .cat-count { font-size: 11px; }
}

@media (max-width: 600px) {
  .cat-hero { padding: 28px 16px 24px; }
  .cat-hero-title { font-size: 22px; }
  .cat-hero-sub { font-size: 13px; }

  .cat-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px;
    padding: 12px 12px 32px;
  }
  .cat-card { padding: 14px 12px; }
  .cat-icon { width: 36px; height: 36px; font-size: 16px; }
  .cat-name { font-size: 12.5px; }
  .cat-bar { margin-top: 8px; }

  .cat-toolbar { padding: 12px 12px 0; gap: 8px; }
  .cat-filter-row {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    align-items: stretch;
  }
  .cat-sort-sel { width: 100%; }
}

@media (max-width: 480px) {
  .cat-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px;
    padding: 10px 10px 28px;
  }
  .cat-card { padding: 12px 10px; }
  .cat-icon { width: 32px; height: 32px; font-size: 14px; }
  .cat-name { font-size: 12px; }
}

@media (max-width: 360px) {
  .cat-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 6px;
    padding: 8px 8px 24px;
  }
  .cat-card { padding: 10px 8px; }
  .cat-hero-title { font-size: 18px; }
}

@media (max-width: 768px) and (orientation: landscape) {
  .cat-hero { padding: 24px 20px 20px; }
  .cat-hero-title { font-size: 22px; }
  .cat-grid { grid-template-columns: repeat(3, 1fr) !important; }
}

/* ═══════════════════════════════════════════════════════════════
   7. ABOUT PAGE
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
  .about-hero,
  .abt-hero,
  .page-hero { padding: 60px 24px; }
}

@media (max-width: 768px) {
  .page-wrap,
  .about-wrap,
  .abt-wrap,
  .content-wrap { padding: 0 16px; }

  .about-hero,
  .abt-hero { padding: 48px 20px 40px; text-align: center; }
  .about-hero h1,
  .abt-hero-title { font-size: 28px; }
  .about-hero p,
  .abt-hero-sub { font-size: 14px; }

  .about-stats,
  .abt-stats,
  .stats-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 14px; }

  .team-grid,
  .abt-team-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 14px; }

  .values-grid,
  .features-grid,
  .about-features { grid-template-columns: 1fr !important; gap: 14px; }

  .mission-vision,
  .mv-grid {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 14px;
  }

  .section-title,
  .abt-section-title { font-size: 22px; }
  .section-sub,
  .abt-section-sub { font-size: 13.5px; }

  .timeline,
  .abt-timeline {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  .timeline-item,
  .abt-timeline-item { width: 100%; }
}

@media (max-width: 600px) {
  .about-hero,
  .abt-hero { padding: 36px 16px 32px; }
  .about-hero h1,
  .abt-hero-title { font-size: 22px; }
  .about-stats,
  .abt-stats,
  .stats-grid { grid-template-columns: 1fr 1fr !important; gap: 10px; }
  .team-grid,
  .abt-team-grid { grid-template-columns: 1fr 1fr !important; gap: 10px; }
}

@media (max-width: 480px) {
  .about-hero h1,
  .abt-hero-title { font-size: 20px; }
  .about-stats,
  .abt-stats,
  .stats-grid { grid-template-columns: 1fr 1fr !important; }
  .team-grid,
  .abt-team-grid { grid-template-columns: 1fr !important; }
}

@media (max-width: 360px) {
  .about-hero h1,
  .abt-hero-title { font-size: 18px; }
  .about-stats,
  .stats-grid { grid-template-columns: 1fr 1fr !important; gap: 8px; }
}

/* About page-hero orb animasiyası kiçik ekranlarda düzəliş */
@media (max-width: 768px) {
  .page-hero::before {
    width: 300px;
    height: 300px;
    top: -100px;
    left: -60px;
  }
  .page-hero::after {
    width: 250px;
    height: 250px;
    bottom: -100px;
    right: -30px;
  }
}

/* ═══════════════════════════════════════════════════════════════
   8. SERVICES PAGE
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
  .pricing-grid,
  .srv-pricing-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px;
  }
  .services-features,
  .srv-features {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 14px;
  }
}

@media (max-width: 768px) {
  .services-hero,
  .srv-hero { padding: 48px 20px 40px; text-align: center; }
  .services-hero h1,
  .srv-hero-title { font-size: 28px; }

  .pricing-grid,
  .srv-pricing-grid {
    grid-template-columns: 1fr !important;
    max-width: 420px;
    margin: 0 auto;
    gap: 14px;
  }

  .services-features,
  .srv-features { grid-template-columns: 1fr !important; gap: 12px; }

  .services-section,
  .srv-section { padding: 48px 20px; }
  .services-section-title { font-size: 22px; }

  .srv-cta-btns,
  .services-cta-btns {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .srv-cta-btns .btn,
  .services-cta-btns .btn { width: 100%; max-width: 320px; }
}

@media (max-width: 600px) {
  .services-hero,
  .srv-hero { padding: 36px 16px 32px; }
  .services-hero h1,
  .srv-hero-title { font-size: 22px; }
  .services-section,
  .srv-section { padding: 36px 16px; }
  .pricing-grid,
  .srv-pricing-grid { max-width: 100%; }
}

@media (max-width: 480px) {
  .services-hero h1,
  .srv-hero-title { font-size: 20px; }
  .pricing-card { padding: 20px 16px; }
  .pricing-price { font-size: 32px; }
}

/* ═══════════════════════════════════════════════════════════════
   9. CONTACT PAGE
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
  .contact-grid,
  .cnt-grid {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }
  .contact-map,
  .cnt-map { height: 280px; }
}

@media (max-width: 768px) {
  .contact-hero,
  .cnt-hero { padding: 36px 20px 32px; text-align: center; }
  .contact-hero h1,
  .cnt-hero-title { font-size: 24px; }

  .contact-wrap,
  .cnt-wrap { padding: 24px 16px 48px; }

  .contact-form,
  .cnt-form { padding: 20px 16px; }
  .form-row,
  .cnt-form-row {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 12px;
  }
  .form-group,
  .cnt-form-group { width: 100%; }

  .contact-info-grid,
  .cnt-info-grid { grid-template-columns: 1fr !important; gap: 10px; }

  .contact-map,
  .cnt-map { height: 220px; border-radius: var(--r-lg, 14px); }
}

@media (max-width: 600px) {
  .contact-hero,
  .cnt-hero { padding: 28px 16px 24px; }
  .contact-hero h1,
  .cnt-hero-title { font-size: 20px; }
  .contact-wrap,
  .cnt-wrap { padding: 16px 12px 36px; }
  .contact-form,
  .cnt-form { padding: 16px 14px; }
  .contact-info-grid,
  .cnt-info-grid { grid-template-columns: 1fr 1fr !important; }
}

@media (max-width: 480px) {
  .contact-info-grid,
  .cnt-info-grid { grid-template-columns: 1fr !important; }
  .contact-submit-btn,
  .cnt-submit { width: 100%; }
}

/* ═══════════════════════════════════════════════════════════════
   10. CV PAGE
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
  .cv-bottom-bar {
    padding: 14px 16px;
  }
}

@media (max-width: 600px) {
  .cv-bottom-bar {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 10px;
    padding: 12px 16px;
    align-items: stretch;
  }
  .cv-bottom-actions {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 8px;
  }
  .cv-bottom-actions button { -webkit-box-flex: 1; -ms-flex: 1; flex: 1; }
}

@media (max-width: 480px) {
  .cv-wrap {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  .cv-sidebar { display: none; }
  .cv-main { padding: 12px; }
  .form-row.cols-2 { grid-template-columns: 1fr !important; }
  .cv-hero h1 { font-size: 26px; }
}

@media (max-width: 360px) {
  .cv-hero h1 { font-size: 22px; }
  .template-grid { grid-template-columns: repeat(2, 1fr) !important; }
}

/* ═══════════════════════════════════════════════════════════════
   11. PAGE HERO — About, Services, Contact, Companies paylaşır
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
  .page-hero { padding: 28px 20px 24px; }
  .page-hero-inner {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 12px;
  }
  .page-hero h1 { font-size: 22px; margin-bottom: 6px; }
  .page-hero p { font-size: 13px; }
}
@media (max-width: 600px) {
  .page-hero { padding: 22px 16px 20px; }
  .page-hero h1 { font-size: 20px; }
}
@media (max-width: 480px) {
  .page-hero h1 { font-size: 18px; }
  .page-hero p { font-size: 12.5px; }
}

/* ═══════════════════════════════════════════════════════════════
   12. FOOTER
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
  footer { padding: 20px 16px; font-size: 12px; }
}
@media (max-width: 480px) {
  footer { padding: 18px 12px; }
}

/* ═══════════════════════════════════════════════════════════════
   13. FILTER DRAWER — soldан sürüşür
   ═══════════════════════════════════════════════════════════════ */

.filter-drawer {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 300;
}
.filter-drawer.open { display: block; }

.filter-drawer-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(17, 24, 39, 0.5);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  cursor: pointer;
}

.filter-drawer-panel {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 300px;
  max-width: 88vw;
  background: var(--bg-card, #fff);
  border-right: 1px solid var(--border, #E5E7EB);
  box-shadow: var(--sh-lg, 0 8px 28px rgba(0,0,0,.1));
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  overflow: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  -webkit-transform: translateX(-100%);
  -ms-transform: translateX(-100%);
  transform: translateX(-100%);
  -webkit-transition: -webkit-transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.filter-drawer.open .filter-drawer-panel {
  -webkit-transform: translateX(0);
  -ms-transform: translateX(0);
  transform: translateX(0);
}

/* ═══════════════════════════════════════════════════════════════
   14. JOB / APPLY MODAL
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
  .job-modal-overlay { padding: 16px 12px; }
  .apply-modal-overlay { padding: 16px 12px; }
  .job-modal { max-height: 90vh; border-radius: var(--r-lg, 14px); }
  .apply-modal { border-radius: var(--r-lg, 14px); }
  .job-detail-modal-content {
    padding: 20px 16px 18px;
    width: 96%;
    border-radius: var(--r-lg, 14px);
  }
}

@media (max-width: 600px) {
  .job-modal-overlay { padding: 10px 6px; }
  .apply-modal-overlay { padding: 10px 6px; }
  .job-modal { max-height: 92vh; }
}

@media (max-width: 480px) {
  .jm-head { gap: 10px; padding: 12px 14px; }
  .jm-title { font-size: 13.5px; }
  .jm-company { font-size: 11.5px; }
  .jm-body { padding: 12px 14px; }
  .jm-footer { padding: 10px 14px; }
  .jm-apply { font-size: 13px; padding: 10px; }
  .jm-save { width: 38px; height: 38px; }
}

/* ═══════════════════════════════════════════════════════════════
   15. MAP PAGE
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
  .map-wrap,
  .map-container { height: calc(100vh - 58px); }
  .map-sidebar {
    position: fixed;
    bottom: 0;
    left: 0; right: 0;
    height: auto;
    max-height: 50vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 20px 20px 0 0;
    z-index: 100;
    -webkit-transform: translateY(calc(100% - 64px));
    -ms-transform: translateY(calc(100% - 64px));
    transform: translateY(calc(100% - 64px));
    -webkit-transition: transform 0.3s ease;
    transition: transform 0.3s ease;
  }
  .map-sidebar.open {
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
  }
}

@media (max-width: 480px) {
  .map-wrap,
  .map-container { height: calc(100vh - 54px); }
}

/* ═══════════════════════════════════════════════════════════════
   16. TOUCH CİHAZLAR — böyük tap hədəfləri
   ═══════════════════════════════════════════════════════════════ */

@media (hover: none) and (pointer: coarse) {
  .save-btn       { width: 38px; height: 38px; }
  .hamburger      { width: 40px; height: 40px; }
  .theme-toggle   { width: 40px; height: 40px; }
  .lang-grp button { padding: 7px 11px; }
  .sf-chip        { padding: 9px 11px; min-height: 40px; }
  .ptoggle-btn    { min-height: 40px; }
  .pager-btn      { min-height: 40px; }
  .cd-tab         { min-height: 44px; }
  .jm-close,
  .am-close,
  .cd-close       { width: 36px; height: 36px; }

  /* Touch-da hover transformları ləğv et (yapışqan vəziyyətin qarşısını alır) */
  .job-card:hover         { transform: none; }
  .detail-info-item:hover { transform: none; }
  .btn-primary:hover      { transform: none; }
  .co-card:hover          { transform: none; }
  .ojc-card:hover         { transform: none; }
  .rp-link-item:hover     { transform: none; }
  .cat-card:hover         { transform: none; }
}

/* ═══════════════════════════════════════════════════════════════
   17. LANDSCAPE ORIENTATION FİXLƏRİ
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 900px) and (orientation: landscape) {
  .nav { height: 50px; }
  .mob-menu { top: 50px; }
  .modal-content { max-height: 82vh; }
  .job-modal { max-height: 82vh; }
  .apply-modal { max-height: 82vh; }
  .detail-panel { max-height: 65vh; }
  .co-detail { max-height: 65vh; }
  .cat-hero { padding: 24px 20px 20px; }
  .page-hero { padding: 20px 20px 18px; }
}

@media (max-width: 480px) and (orientation: landscape) {
  .nav { height: 46px; }
  .mob-menu { top: 46px; }
  .cat-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px;
  }
}

/* ═══════════════════════════════════════════════════════════════
   18. BRAUZERLƏRƏ XÜSUSI FİXLƏR
   ═══════════════════════════════════════════════════════════════ */

/* Safari: backdrop-filter dəstəkləmir */
@supports not (backdrop-filter: blur(1px)) {
  .nav { background: rgba(255,255,255,0.98) !important; }
  [data-theme="dark"] .nav { background: rgba(8,12,20,0.98) !important; }
  .mob-menu { background: var(--bg-card, #fff) !important; }
  .filter-drawer-overlay { background: rgba(17,24,39,0.7) !important; }
}

/* Safari: sticky positioning */
@supports (-webkit-overflow-scrolling: touch) {
  .sidebar { position: -webkit-sticky; position: sticky; }
  .co-detail { position: -webkit-sticky; position: sticky; }
  .nav { position: -webkit-sticky; position: sticky; }
}

/* Safari: flex gap */
@supports not (gap: 1px) {
  .nav-links a { margin: 0 2px; }
  .job-tags .job-tag { margin: 2px; }
  .co-meta .co-tag { margin: 2px; }
  .pager { gap: 0; }
  .pager-btn { margin: 0 3px; }
}

/* IE / Edge Legacy */
.sort-select { -ms-expand: none; }
.sort-select::-ms-expand { display: none; }
.co-filter-sel::-ms-expand { display: none; }

/* Firefox */
@-moz-document url-prefix() {
  .search-input { padding-top: 12px; padding-bottom: 12px; }
  .co-search input { padding-top: 4px; padding-bottom: 4px; }
}

input[type="range"]::-moz-range-thumb {
  width: 17px; height: 17px;
  background: var(--accent, #2563EB);
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid white;
  box-shadow: 0 1px 4px rgba(37,99,235,.3);
}
input[type="range"]::-moz-range-track {
  height: 3px;
  background: var(--n-200, #E5E7EB);
  border-radius: 4px;
}

/* Samsung Internet / Android yüksək DPI */
@media screen and (-webkit-min-device-pixel-ratio: 1.5) {
  .job-card { border-width: 1px; }
  .co-card  { border-width: 1px; }
  .search-box { border-width: 1.5px; }
}

/* ═══════════════════════════════════════════════════════════════
   19. UTILITY — scroll köməkçiləri
   ═══════════════════════════════════════════════════════════════ */

.scroll-x {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.scroll-x::-webkit-scrollbar { display: none; }

/* Modal / drawer açıq ikən body scroll-u dayandır */
body.modal-open,
body.drawer-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
}

/* iPhone X notch safe area dəstəyi */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  .mob-menu {
    padding-bottom: calc(18px + env(safe-area-inset-bottom));
  }
  footer {
    padding-bottom: calc(24px + env(safe-area-inset-bottom));
  }
  .toast {
    bottom: calc(28px + env(safe-area-inset-bottom));
  }
  .cd-footer,
  .jm-footer,
  .am-footer {
    padding-bottom: calc(14px + env(safe-area-inset-bottom));
  }
}

/* ═══════════════════════════════════════════════════════════════
   20. PRİNT
   ═══════════════════════════════════════════════════════════════ */

@media print {
  .nav, .subbar, .sidebar, .detail-panel,
  .hamburger, .mob-menu, .toast,
  .filter-drawer, .btn-filter-toggle,
  .co-detail, .pager,
  .job-modal-overlay, .apply-modal-overlay { display: none !important; }

  body { font-size: 12px; color: #000; background: #fff; }
  .container, .co-wrap, .cat-grid { display: block !important; }
  .job-card, .co-card, .cat-card {
    break-inside: avoid;
    box-shadow: none;
    border: 1px solid #ccc;
  }
  footer { border-top: 1px solid #ccc; padding: 12px 0; }
}

/* ═══════════════════════════════════════════════════════════════
   21. ERİŞİLƏBİLİRLİK
   ═══════════════════════════════════════════════════════════════ */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    -webkit-animation-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    -webkit-animation-iteration-count: 1 !important;
    animation-iteration-count: 1 !important;
    -webkit-transition-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@media (prefers-contrast: high) {
  .job-card, .co-card, .cat-card { border-width: 2px; }
  .nav { border-bottom-width: 2px; }
  .btn-outline { border-width: 2px; }
}