/* ================================================================
   ACHUZIM — Main Stylesheet
   RTL Hebrew, Navy + Teal (logo colors)
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Heebo:wght@300;400;500;600;700;800;900&display=swap');

:root {
  /* Logo colors: navy text + teal arrow */
  --navy:         #1D3461;
  --navy-mid:     #274E8C;
  --teal:         #2ABF8C;
  --teal-dark:    #1E9A72;
  --teal-soft:    #A8EDD6;
  --teal-pale:    #E3F7F0;

  /* Aliases — used throughout (mapped to brand palette) */
  --green-dark:   #1D3461;   /* navy  — hero / footer / dark sections */
  --green:        #2ABF8C;   /* teal  — buttons / badges / accents    */
  --green-mid:    #274E8C;   /* mid navy                              */
  --green-light:  #35D4A0;   /* light teal                            */
  --green-soft:   #A8EDD6;   /* soft teal                             */
  --green-pale:   #E3F7F0;   /* pale teal backgrounds                 */
  --accent:       #2ABF8C;
  --accent-dark:  #1E9A72;
  --white:        #FFFFFF;
  --bg:           #F4F7FA;
  --text:         #1A2535;
  --text-muted:   #5A6A7A;
  --border:       #C5D8E8;
  --shadow-sm:    0 2px 8px rgba(29,52,97,0.10);
  --shadow:       0 4px 24px rgba(29,52,97,0.14);
  --shadow-lg:    0 12px 48px rgba(29,52,97,0.18);
  --radius-sm:    8px;
  --radius:       16px;
  --radius-lg:    24px;
  --radius-full:  999px;
  --transition:   0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── Reset & Base ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Heebo', Arial, sans-serif;
  direction: rtl;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; }
ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ─── Buttons ───────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-full);
  font-family: 'Heebo', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(42,191,140,0.35);
}
.btn-primary:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(42,191,140,0.45);
}
.btn-outline {
  background: transparent;
  color: var(--green);
  border: 2px solid var(--green);
}
.btn-outline:hover {
  background: var(--green-pale);
  transform: translateY(-1px);
}
.btn-white {
  background: var(--white);
  color: var(--green);
}
.btn-white:hover {
  background: var(--green-pale);
}
.btn-sm { padding: 8px 20px; font-size: 0.9rem; }
.btn-lg { padding: 16px 40px; font-size: 1.15rem; }

/* ─── Navbar ────────────────────────────────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 2px solid var(--navy);
  box-shadow: 0 2px 12px rgba(29,52,97,0.12);
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: -0.5px;
}
.logo-icon { font-size: 2rem; }
.logo span { color: var(--text); }
.logo-img { height: 44px; width: auto; display: block; object-fit: contain; }

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav-links a {
  font-weight: 600;
  color: var(--text-muted);
  transition: color var(--transition);
  font-size: 1rem;
}
.nav-links a:hover { color: var(--navy); }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  font-size: 1.5rem;
  color: var(--text);
}

/* ─── Hero ───────────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 55%, var(--teal) 100%);
  padding: 80px 20px 100px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-content {
  max-width: 750px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.15);
  color: var(--white);
  padding: 6px 18px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.25);
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 16px;
}
.hero h1 .highlight {
  background: rgba(255,255,255,0.2);
  padding: 2px 12px;
  border-radius: var(--radius-sm);
}
.hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.88);
  margin-bottom: 40px;
  line-height: 1.7;
}

/* Hero CTA buttons */
.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-outline-btn {
  border-color: rgba(255,255,255,0.7) !important;
  color: var(--white) !important;
}
.hero-outline-btn:hover {
  background: rgba(255,255,255,0.15) !important;
}

/* Hero Search Box */
.hero-search {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 8px;
  display: flex;
  gap: 8px;
  align-items: center;
  box-shadow: var(--shadow-lg);
  flex-wrap: wrap;
}
.hero-search select,
.hero-search input {
  flex: 1;
  min-width: 140px;
  border: none;
  outline: none;
  font-family: 'Heebo', Arial, sans-serif;
  font-size: 1rem;
  padding: 12px 16px;
  color: var(--text);
  background: transparent;
  direction: rtl;
}
.hero-search select { cursor: pointer; }
.hero-search .pct-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 140px;
  padding: 8px 16px;
  border-right: 1px solid var(--border);
}
.hero-search .pct-wrapper label {
  font-size: 0.85rem;
  color: var(--text-muted);
  white-space: nowrap;
}
.hero-search input[type="range"] {
  width: 100%;
  padding: 0;
  accent-color: var(--green);
}
.pct-value {
  font-weight: 700;
  color: var(--green);
  min-width: 40px;
  text-align: center;
}
.hero-search .btn {
  flex-shrink: 0;
}
.divider-v {
  width: 1px;
  height: 32px;
  background: var(--border);
  flex-shrink: 0;
}

/* ─── Search Section ─────────────────────────────────────────────── */
.search-section {
  background: var(--white);
  border-bottom: 2px solid var(--teal-pale);
  padding: 16px 20px 12px;
  position: sticky;
  top: 64px;
  z-index: 900;
  box-shadow: 0 4px 12px rgba(29,52,97,0.10);
}

/* Main search row: input + button */
.search-main-row {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  overflow: visible;
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.search-main-row:focus-within { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(42,191,140,0.12); }
.search-field-wrap {
  display: flex;
  align-items: center;
  flex: 1;
  position: relative;
  padding: 0 4px;
}
.search-field-icon {
  flex-shrink: 0;
  font-size: 1rem;
  padding: 0 6px 0 12px;
  color: var(--text-muted);
}
.search-main-input {
  flex: 1;
  padding: 14px 8px;
  border: none;
  font-family: 'Heebo', Arial, sans-serif;
  font-size: 1rem;
  color: var(--text);
  background: transparent;
  outline: none;
  direction: rtl;
}
.search-main-input::placeholder { color: var(--text-muted); }
.search-btn {
  border-radius: 0 var(--radius) var(--radius) 0 !important;
  padding: 14px 32px;
  flex-shrink: 0;
  font-size: 1rem;
  border: none;
}

/* Secondary filters row */
.search-filters-row {
  max-width: 900px;
  margin: 10px auto 0;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.filters-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
  white-space: nowrap;
}
.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-full);
  padding: 5px 14px;
  background: var(--bg);
  cursor: text;
  transition: border-color var(--transition);
}
.filter-chip:focus-within { border-color: var(--teal); background: var(--white); }
.filter-chip-icon { font-size: 0.9rem; color: var(--text-muted); }
.filter-chip-input {
  border: none;
  outline: none;
  background: transparent;
  font-family: 'Heebo', Arial, sans-serif;
  font-size: 0.88rem;
  color: var(--text);
  direction: rtl;
  width: 100px;
}
.filter-chip-input::placeholder { color: var(--text-muted); }
.filter-pct-input { width: 70px; }

/* Backward compat: keep old classes non-breaking */
.search-input { border: none; outline: none; background: transparent; font-family: 'Heebo',Arial,sans-serif; font-size:.95rem; color:var(--text); direction:rtl; width:100%; padding:12px 8px; }
.search-pct   { border: none; outline: none; background: transparent; font-family: 'Heebo',Arial,sans-serif; font-size:.95rem; color:var(--text); direction:rtl; width:100%; text-align:right; padding:12px 8px; }
.search-divider { display: none; }

/* Results row */
.search-results-row {
  max-width: 900px;
  margin: 6px auto 0;
  padding: 0 2px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ─── Autocomplete Dropdown ─────────────────────────────────────── */
.ac-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: -2px;
  left: -2px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  z-index: 1100;
  max-height: 320px;
  overflow-y: auto;
  display: none;
  direction: rtl;
}
.ac-dropdown.open { display: block; }
.ac-group-label {
  padding: 8px 14px 4px;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.ac-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  cursor: pointer;
  font-size: 0.92rem;
  transition: background 0.15s;
  border-bottom: 1px solid var(--teal-pale);
}
.ac-item:last-child { border-bottom: none; }
.ac-item:hover, .ac-item.focused { background: var(--teal-pale); }
.ac-item.category-item .ac-icon { font-size: 1.1rem; }
.ac-item.supplier-item .ac-icon { font-size: 1rem; color: var(--text-muted); }
.ac-item-text { flex: 1; }
.ac-item-sub { font-size: 0.78rem; color: var(--text-muted); }
.ac-item-badge { font-size: 0.75rem; background: var(--teal-pale); color: var(--teal-dark); padding: 2px 8px; border-radius: var(--radius-full); font-weight: 600; }

.search-results-row {
  max-width: 1100px;
  margin: 8px auto 0;
  padding: 0 4px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.filter-results {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Keep old search-select for backwards compat (hidden) */
.search-select { display: none; }

/* ─── Stats Bar ──────────────────────────────────────────────────── */
.stats-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 20px;
}
.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.stat-item {
  text-align: center;
}
.stat-value {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
}
.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ─── Section Heading ────────────────────────────────────────────── */
.section-heading {
  text-align: center;
  margin-bottom: 48px;
}
.section-heading h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 12px;
}
.section-heading p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto;
}
.section-tag {
  display: inline-block;
  background: var(--teal-pale);
  color: var(--teal-dark);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* ─── How It Works ───────────────────────────────────────────────── */
.how-it-works {
  padding: 80px 20px;
  background: var(--white);
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.step-card {
  text-align: center;
  padding: 36px 24px;
  border-radius: var(--radius);
  background: var(--bg);
  border: 1px solid var(--border);
  position: relative;
  transition: var(--transition);
}
.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--green-soft);
}
.step-number {
  position: absolute;
  top: -14px;
  right: 50%;
  transform: translateX(50%);
  background: var(--green);
  color: var(--white);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-icon {
  font-size: 3rem;
  margin-bottom: 16px;
  display: block;
}
.step-card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--text);
}
.step-card p {
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ─── Categories ─────────────────────────────────────────────────── */
.categories-section {
  padding: 80px 20px;
  background: var(--bg);
}
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
}
.cat-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 16px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}
.cat-card:hover, .cat-card.active {
  border-color: var(--green);
  background: var(--green-pale);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.cat-icon { font-size: 2.2rem; display: block; margin-bottom: 10px; }
.cat-name { font-weight: 700; font-size: 0.92rem; color: var(--text); }
.cat-count { font-size: 0.78rem; color: var(--text-muted); margin-top: 4px; }

/* ─── Supplier Listings ──────────────────────────────────────────── */
.suppliers-section {
  padding: 80px 20px;
  background: var(--white);
}

/* Filter bar */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
  flex-wrap: wrap;
  background: var(--bg);
  padding: 16px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.filter-bar label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}
.filter-bar select, .filter-bar input {
  padding: 8px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-full);
  font-family: 'Heebo', Arial, sans-serif;
  font-size: 0.9rem;
  color: var(--text);
  background: var(--white);
  outline: none;
  transition: border-color var(--transition);
  direction: rtl;
}
.filter-bar select:focus, .filter-bar input:focus {
  border-color: var(--green);
}
.filter-results {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-right: auto;
  font-weight: 500;
}

/* Expert Cards Grid */
.suppliers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.supplier-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
}
.supplier-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--green-soft);
}
.card-header {
  background: var(--teal-pale);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
}
.supplier-photo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--white);
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
  background: var(--green-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}
.supplier-photo img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}
.supplier-info { flex: 1; }
.supplier-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
}
.supplier-cat {
  font-size: 0.83rem;
  color: var(--text-muted);
  margin-top: 2px;
}
.supplier-city {
  font-size: 0.8rem;
  color: var(--text-muted);
}
/* THE KEY BADGE */
.pct-badge {
  position: absolute;
  left: 20px;
  top: 20px;
  background: var(--green);
  color: var(--white);
  font-size: 1.4rem;
  font-weight: 900;
  padding: 8px 14px;
  border-radius: var(--radius);
  line-height: 1;
  box-shadow: 0 4px 12px rgba(42,191,140,0.35);
}
.pct-badge small {
  font-size: 0.75rem;
  font-weight: 600;
  display: block;
  opacity: 0.85;
}
.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: var(--accent);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  margin-top: 4px;
}
.card-body { padding: 16px 20px; }
.supplier-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.supplier-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}
.stars { color: #FFC107; font-size: 0.9rem; }
.rating-text { font-size: 0.85rem; color: var(--text-muted); }
.exp-text { font-size: 0.83rem; color: var(--text-muted); margin-right: auto; }
.card-footer {
  padding: 14px 20px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 10px;
}
.card-footer .btn { flex: 1; justify-content: center; }

/* Empty state */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
  grid-column: 1/-1;
}
.empty-state .empty-icon { font-size: 3rem; margin-bottom: 16px; }

/* Initial search prompt (before first search) */
.empty-search-prompt {
  grid-column: 1/-1;
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}
.empty-search-prompt h3 { color: var(--text); font-size: 1.2rem; }

/* Recommendation badge */
.recommend-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--teal);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
  letter-spacing: 0.3px;
}

/* Footer social SVG icons */
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  color: #fff;
  transition: background var(--transition);
}
.social-link:hover { background: rgba(255,255,255,0.25); }

/* ─── Testimonials ───────────────────────────────────────────────── */
.testimonials-section {
  padding: 80px 20px;
  background: var(--green-pale);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.testimonial-stars { color: #FFC107; font-size: 1rem; margin-bottom: 12px; }
.testimonial-text {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 16px;
  font-style: italic;
}
.testimonial-author {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--navy);
}
.testimonial-role {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ─── Contact Section ────────────────────────────────────────────── */
.contact-section {
  padding: 80px 20px;
  background: var(--green-dark);
  color: var(--white);
}
.contact-section .section-tag {
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.9);
  border-color: rgba(255,255,255,0.25);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}
.contact-info h2 {
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 16px;
  color: var(--white);
}
.contact-info p {
  color: rgba(255,255,255,0.78);
  margin-bottom: 28px;
  line-height: 1.7;
}
.contact-detail {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.9);
}
.contact-detail-icon {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* Form */
.contact-form {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'Heebo', Arial, sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition);
  direction: rtl;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(42,191,140,0.15);
}
.form-group textarea { resize: vertical; min-height: 100px; }

/* OTP Step */
.otp-step { display: none; }
.otp-step.active { display: block; }
.form-step { transition: var(--transition); }
.otp-input {
  letter-spacing: 12px;
  font-size: 1.4rem;
  text-align: center;
  font-weight: 800;
}
.otp-hint {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 8px;
}
.otp-hint a { color: var(--green); cursor: pointer; font-weight: 600; }

.form-success {
  display: none;
  text-align: center;
  padding: 32px 16px;
}
.form-success.active { display: block; }
.form-success-icon { font-size: 3.5rem; margin-bottom: 16px; }
.form-success h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: 8px; }
.form-success p { color: var(--text-muted); }

.form-error {
  background: #FFEBEE;
  color: #C62828;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  margin-bottom: 14px;
  display: none;
}
.form-error.active { display: block; }

/* ─── Footer ─────────────────────────────────────────────────────── */
.footer {
  background: var(--green-dark);
  color: rgba(255,255,255,0.85);
  padding: 56px 20px 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto 40px;
}
.footer-logo {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 12px;
}
.footer-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  opacity: 0.8;
  margin-bottom: 20px;
}
.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition);
}
.footer-social a:hover { background: rgba(255,255,255,0.25); }
.footer-col h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.6;
}
.footer-col ul li {
  margin-bottom: 10px;
}
.footer-col ul li a {
  font-size: 0.9rem;
  opacity: 0.8;
  transition: opacity var(--transition);
}
.footer-col ul li a:hover { opacity: 1; }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  opacity: 0.6;
  flex-wrap: wrap;
  gap: 12px;
}

/* ─── WhatsApp Float ─────────────────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 9999;
  background: #25D366;
  color: var(--white);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  box-shadow: 0 6px 24px rgba(37,211,102,0.50);
  transition: var(--transition);
  animation: pulseWA 2.5s infinite;
}
.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 10px 32px rgba(37,211,102,0.65);
}
@keyframes pulseWA {
  0%, 100% { box-shadow: 0 6px 24px rgba(37,211,102,0.50); }
  50%       { box-shadow: 0 6px 32px rgba(37,211,102,0.80), 0 0 0 8px rgba(37,211,102,0.12); }
}

/* ─── Modal ──────────────────────────────────────────────────────── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(4px);
}
.modal-overlay.active { display: flex; }

/* Phone Reveal Modal */
.modal-box-pub {
  background: var(--white);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 380px;
  padding: 32px 28px;
  position: relative;
  box-shadow: var(--shadow-lg);
  animation: modalIn .25s cubic-bezier(0.34,1.56,0.64,1);
}
.modal-close-pub {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 30px;
  height: 30px;
  border: none;
  background: var(--bg);
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-close-pub:hover { background: var(--border); }
.modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  animation: modalIn 0.3s cubic-bezier(0.4,0,0.2,1);
}
@keyframes modalIn {
  from { transform: translateY(40px) scale(0.96); opacity: 0; }
  to   { transform: none; opacity: 1; }
}
.modal-header {
  padding: 24px 28px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
}
.modal-header h3 { font-size: 1.2rem; font-weight: 800; }
.modal-close {
  background: none;
  border: none;
  font-size: 1.3rem;
  cursor: pointer;
  color: var(--text-muted);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.modal-close:hover { background: var(--bg); color: var(--text); }
.modal-body { padding: 24px 28px 28px; }
.modal-supplier-info {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.modal-supplier-info .pct-badge { position: static; font-size: 1.1rem; }

/* ─── Anchor scroll offset (accounts for sticky navbar + search bar) ── */
#contact, #suppliers, #categories, #how, #hero {
  scroll-margin-top: 140px;
}

/* ─── Loading Spinner ────────────────────────────────────────────── */
.spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255,255,255,0.35);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ─── Scroll to top ─────────────────────────────────────────────── */
.scroll-top {
  position: fixed;
  bottom: 100px;
  left: 28px;
  background: var(--green);
  color: var(--white);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow);
  cursor: pointer;
  opacity: 0;
  transition: var(--transition);
  border: none;
  z-index: 999;
}
.scroll-top.visible { opacity: 1; }

/* ─── Accessibility Widget ───────────────────────────────────────── */
.acc-widget-btn {
  position: fixed;
  bottom: 160px;
  left: 28px;
  background: var(--green-dark);
  color: var(--white);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: var(--shadow);
  cursor: pointer;
  border: none;
  z-index: 998;
  transition: var(--transition);
}
.acc-widget-btn:hover { background: var(--green); transform: scale(1.08); }

.acc-panel {
  position: fixed;
  bottom: 220px;
  left: 28px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 16px;
  z-index: 997;
  min-width: 190px;
  display: none;
}
.acc-panel.open { display: block; }
.acc-panel h4 {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--green-dark);
  margin-bottom: 10px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 8px;
}
.acc-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 4px;
  border-bottom: 1px solid var(--green-pale);
  font-size: 0.88rem;
  color: var(--text);
}
.acc-option:last-child { border-bottom: none; }
.acc-option button {
  background: var(--green-pale);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 4px 10px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  color: var(--green-dark);
  transition: background 0.2s;
}
.acc-option button:hover { background: var(--green-soft); }

/* High contrast mode */
body.high-contrast {
  filter: contrast(1.5) saturate(0);
}
/* Large text */
body.large-text { font-size: 1.15rem; }
/* Reduced motion */
body.reduce-motion *, body.reduce-motion *::before, body.reduce-motion *::after {
  animation-duration: 0.01ms !important;
  transition-duration: 0.01ms !important;
}
/* Wide spacing */
body.wide-spacing { letter-spacing: 0.08em; word-spacing: 0.12em; line-height: 1.9; }

/* ─── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .steps-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 65px;
    inset-inline: 0;
    background: var(--white);
    padding: 20px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    gap: 16px;
    z-index: 999;
  }
  .hamburger { display: block; }
  .hero { padding: 60px 20px 80px; }
  .hero-search { flex-direction: column; }
  .hero-search select, .hero-search input { width: 100%; }
  .divider-v { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .categories-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
}
@media (max-width: 480px) {
  .suppliers-grid { grid-template-columns: 1fr; }
  .stats-inner { gap: 24px; }
  .contact-form { padding: 24px 20px; }
}
