/* کانادا - آمریکا - اتریش - ایران — استایل (فلاسک) */

:root {
  --bg-base: #fefce8;
  --bg-card: #fff;
  --text: #1e293b;
  --text-muted: #64748b;
  --text-inverse: #fefce8;
  --accent: #d97706;
  --accent-light: #f59e0b;
  --accent-soft: #fef3c7;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --border: rgba(30,41,59,.12);
  --shadow: 0 4px 12px rgba(15,23,42,.08);
  --shadow-lg: 0 12px 40px rgba(15,23,42,.12);
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --font: 'Vazirmatn', -apple-system, sans-serif;
  --transition: .25s cubic-bezier(.4,0,.2,1);
  --country-active: #a78bfa;
  --country-active-end: #6366f1;
  --country-glow: rgba(167,139,250,.45);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: linear-gradient(180deg, #fffbeb 0%, #fefce8 100%);
  -webkit-font-smoothing: antialiased;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: .03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.data-loading { font-family: var(--font); }
.data-loading[hidden] { display: none !important; }

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,251,235,.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 2px rgba(15,23,42,.06);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: .75rem 1.5rem;
}
.logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  transition: color var(--transition);
}
.logo:hover { color: var(--accent); }
.logo-text { font-size: 1.1rem; }
.logo-tag { font-size: .7rem; font-weight: 500; color: var(--text-muted); }
.nav {
  display: flex;
  gap: 1rem;
  margin-inline-start: auto;
}
.nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: .9rem;
  transition: color var(--transition);
}
.nav a:hover { color: var(--accent); }
.header-search { position: relative; width: 180px; }
.header-search .search-input {
  width: 100%;
  padding: .5rem .75rem;
  font-family: var(--font);
  font-size: .9rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-card);
  color: var(--text);
  transition: border-color var(--transition);
  outline: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  box-shadow: none !important;
  text-indent: 0;
}
.header-search .search-input::before,
.header-search .search-input::after {
  display: none !important;
  content: none !important;
}
.header-search .search-input::-webkit-search-decoration,
.header-search .search-input::-webkit-search-cancel-button,
.header-search .search-input::-webkit-search-results-button,
.header-search .search-input::-webkit-search-results-decoration { 
  display: none !important; 
  -webkit-appearance: none !important;
}
.header-search .search-input::-ms-clear,
.header-search .search-input::-ms-reveal { display: none !important; }
.header-search .search-input::placeholder { color: var(--text-muted); }
.header-search .search-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: .5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text);
}
.menu-toggle span { display: block; width: 22px; height: 2px; background: currentColor; border-radius: 1px; }
.header-mobile { padding: 0 1.5rem 1rem; border-top: 1px solid var(--border); }
.header-mobile[hidden] { display: none; }
.nav-mobile { display: flex; flex-direction: column; gap: .5rem; margin-bottom: 1rem; }
.nav-mobile a { color: var(--text-muted); text-decoration: none; font-weight: 500; }
.nav-mobile a:hover { color: var(--accent); }
.header-search.mobile { width: 100%; }
@media (max-width: 768px) {
  .nav, .header-search:not(.mobile) { display: none; }
  .menu-toggle { display: flex; }
}

/* Hero */
.hero {
  position: relative;
  min-height: 38vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 1.5rem 1.5rem;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--slate-900) 0%, #1e293b 50%, #334155 100%);
  pointer-events: none;
}
.hero-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .2;
}
.hero-shape-1 {
  width: 360px; height: 360px;
  background: var(--accent-light);
  top: -10%; left: -5%;
  animation: float 12s ease-in-out infinite;
}
.hero-shape-2 {
  width: 280px; height: 280px;
  background: #0d9488;
  bottom: -5%; right: -5%;
  animation: float 10s ease-in-out infinite reverse;
  animation-delay: -3s;
}
@keyframes float {
  0%, 100% { transform: translate(0,0); }
  50% { transform: translate(20px,-20px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-shape-1,
  .hero-shape-2 { animation: none; }
}
.hero-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black, transparent);
}
.hero-inner { position: relative; z-index: 1; max-width: 640px; text-align: center; }
.hero-label {
  font-size: .8rem;
  font-weight: 600;
  color: var(--accent-light);
  letter-spacing: .1em;
  margin: 0 0 .75rem;
  opacity: .95;
}
.hero-title { margin: 0 0 .5rem; line-height: 1.15; }
.hero-title-main {
  display: block;
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 800;
  color: var(--text-inverse);
  letter-spacing: -0.02em;
}
.hero-title-sub {
  display: block;
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  font-weight: 500;
  color: rgba(254,252,232,.85);
  margin-top: .25rem;
}
.hero-desc {
  font-size: 1rem;
  color: rgba(254,252,232,.8);
  margin: 0 0 1.5rem;
  line-height: 1.7;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  padding: .9rem 1.75rem;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  color: var(--slate-900);
  background: var(--accent-light);
  border: none;
  border-radius: var(--radius);
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 14px rgba(245,158,11,.35);
}
.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245,158,11,.4);
}

/* Hero Slider */
.hero-slider {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  padding: 0 2rem;
}
.hero-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid rgba(254,252,232,.4);
  background: rgba(15,23,42,.5);
  color: var(--text-inverse);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
  z-index: 10;
}
.hero-slider-arrow:hover {
  background: rgba(245,158,11,.9);
  border-color: var(--accent-light);
  color: var(--slate-900);
  transform: translateY(-50%) scale(1.05);
}
.hero-slider-prev { right: 0; }
.hero-slider-next { left: 0; }
.hero-slides {
  position: relative;
  overflow: hidden;
  min-height: clamp(220px, 48vh, 260px);
  height: clamp(220px, 48vh, 260px);
  contain: layout;
}
.hero-slide {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate3d(20px, 0, 0);
  transition: opacity 0.5s ease, visibility 0.5s ease, transform 0.5s ease;
  height: 100%;
  overflow: hidden;
}
.hero-slider .hero-inner {
  padding: 0.4rem 0.5rem;
  min-height: 0;
  max-height: 100%;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.hero-slide.hero-slide-active {
  position: absolute;
  z-index: 2;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate3d(0, 0, 0);
}
.hero-slider .hero-label {
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.9;
}
.hero-slider .hero-desc {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(254,252,232,.9);
  font-weight: 400;
}

/* Hero Slide 2 — Promo Card */
.hero-slide-promo-card {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.hero-promo-card {
  position: relative;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 1.75rem 2rem;
  text-align: center;
  box-shadow: none;
  overflow: hidden;
}
.hero-promo-card::before {
  display: none;
}
.hero-promo-headline {
  position: relative;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-inverse);
  margin: 0 0 0.6rem;
  line-height: 1.4;
  text-shadow: 0 2px 20px rgba(0,0,0,.2);
  letter-spacing: -0.01em;
}
.hero-promo-text {
  position: relative;
  font-size: 1rem;
  font-weight: 500;
  color: rgba(254,252,232,.9);
  margin: 0 0 1.25rem;
  line-height: 1.6;
  opacity: .95;
}
.hero-promo-btn {
  position: relative;
  display: inline-block;
  padding: 0.85rem 2rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 50%, #b45309 100%);
  border: none;
  border-radius: 12px;
  text-decoration: none;
  transition: all var(--transition);
  box-shadow:
    0 4px 14px rgba(180,83,9,.4),
    0 2px 4px rgba(0,0,0,.1),
    inset 0 1px 0 rgba(255,255,255,.3);
  text-shadow: 0 1px 2px rgba(0,0,0,.2);
}
.hero-promo-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow:
    0 8px 24px rgba(180,83,9,.5),
    0 4px 12px rgba(0,0,0,.15),
    inset 0 1px 0 rgba(255,255,255,.3);
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
}
.hero-slide-nostalgic .hero-slide-label {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--accent-light);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin: 0;
  font-family: var(--font);
}
.hero-slide-nostalgic .hero-slide-title {
  font-size: clamp(1.1rem, 2.8vw, 1.5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
  letter-spacing: -0.01em;
  margin: 0;
  text-shadow: 0 1px 12px rgba(0,0,0,.3);
}
.hero-slide-nostalgic .hero-slide-subtitle {
  font-size: clamp(0.85rem, 1.8vw, 1rem);
  font-weight: 500;
  color: rgba(254,252,232,.95);
  line-height: 1.5;
  margin: 0;
  font-style: italic;
}
.hero-slide-nostalgic .hero-slide-desc {
  font-size: 0.85rem;
  font-weight: 400;
  color: rgba(254,252,232,.9);
  line-height: 1.65;
  margin: 0;
}

/* Hero Slide — Creative Layout */
.hero-slide-creative {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  text-align: center;
}
.hero-slide-creative .hero-tagline {
  font-size: clamp(1.6rem, 4.5vw, 2.75rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
  letter-spacing: -0.02em;
  margin: 0;
  text-shadow: 0 2px 24px rgba(0,0,0,.4), 0 1px 4px rgba(0,0,0,.3);
}
.hero-slide-creative .hero-subhead {
  font-size: clamp(1.05rem, 2.4vw, 1.3rem);
  font-weight: 600;
  margin: 0;
  line-height: 1.7;
  letter-spacing: 0.03em;
  color: #fef3c7;
  text-shadow:
    0 0 20px rgba(251,191,36,.35),
    0 0 40px rgba(251,191,36,.15),
    0 2px 12px rgba(0,0,0,.4),
    0 1px 4px rgba(0,0,0,.3);
}
.hero-slide-creative .hero-message {
  font-size: clamp(0.75rem, 1.5vw, 0.9rem);
  font-weight: 500;
  color: rgba(254,252,232,.95);
  line-height: 1.5;
  margin: 0.4rem 0 0;
  max-width: min(880px, 96vw);
  text-align: center;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 12px rgba(0,0,0,.15);
}
.hero-slide-creative .hero-message-line {
  display: block;
  white-space: normal;
}
.hero-inner.hero-slide-creative {
  max-width: min(880px, 96vw);
}
.hero-slide-creative .hero-message strong {
  color: #fbbf24;
  font-weight: 700;
  text-shadow: 0 1px 12px rgba(0,0,0,.5);
}
.hero-countries-flags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.75rem 1rem;
  margin: 0.4rem 0;
}
.hero-country {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.75rem;
  flex-shrink: 0;
  background: rgba(255,255,255,.08);
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  color: #fefce8;
  border: 2px solid rgba(254,252,232,.25);
  transition: all var(--transition);
  box-shadow: 0 4px 15px rgba(0,0,0,.15);
  cursor: pointer;
  font-family: inherit;
}
.hero-country:hover {
  background: rgba(167,139,250,.18);
  border-color: rgba(167,139,250,.45);
  color: var(--text-inverse);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(167,139,250,.2);
}
.hero-country.hero-country-active {
  background: linear-gradient(135deg, rgba(167,139,250,.55) 0%, rgba(99,102,241,.5) 100%);
  border: 2px solid rgba(255,255,255,.9);
  color: #fff;
  transform: scale(1.06);
  backdrop-filter: blur(8px);
  box-shadow:
    0 0 0 1px rgba(255,255,255,.2) inset,
    0 0 32px var(--country-glow),
    0 6px 28px rgba(0,0,0,.35);
}
.hero-country.hero-country-active::before {
  content: '✓';
  margin-inline-end: 0.3rem;
  font-size: 0.85em;
  font-weight: 700;
  color: rgba(255,255,255,.95);
}
.hero-flag {
  font-size: 1.5em;
  line-height: 1;
  flex-shrink: 0;
}
.hero-flag-img {
  width: 24px;
  height: 18px;
  object-fit: cover;
  border-radius: 2px;
  vertical-align: middle;
  flex-shrink: 0;
}
/* انیمیشن ورود اسلاید خلاق فقط بار اول (با کلاس hero-slide-creative-animated غیرفعال می‌شود) */
.hero-slide.hero-slide-creative.hero-slide-active:not(.hero-slide-creative-animated) .hero-tagline { animation: heroFadeUp 0.6s ease forwards; opacity: 0; animation-fill-mode: forwards; }
.hero-slide.hero-slide-creative.hero-slide-active:not(.hero-slide-creative-animated) .hero-subhead { animation: heroFadeUp 0.6s 0.15s ease forwards; opacity: 0; animation-fill-mode: forwards; }
.hero-slide.hero-slide-creative.hero-slide-active:not(.hero-slide-creative-animated) .hero-message { animation: heroFadeUp 0.6s 0.18s ease forwards; opacity: 0; animation-fill-mode: forwards; }
.hero-slide.hero-slide-creative.hero-slide-active:not(.hero-slide-creative-animated) .hero-countries-flags { animation: heroFadeUp 0.6s 0.3s ease forwards; opacity: 0; animation-fill-mode: forwards; }
.hero-slide.hero-slide-creative.hero-slide-creative-animated .hero-tagline,
.hero-slide.hero-slide-creative.hero-slide-creative-animated .hero-subhead,
.hero-slide.hero-slide-creative.hero-slide-creative-animated .hero-message,
.hero-slide.hero-slide-creative.hero-slide-creative-animated .hero-countries-flags { opacity: 1; transform: translateY(0); }
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-slider-nav {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1rem;
  margin-bottom: 0.25rem;
  padding-bottom: 0.25rem;
}
.hero-actions .hero-cta {
  padding: 0.65rem 1.25rem;
  font-size: 0.95rem;
}
.hero-no-featured .hero-actions {
  margin-top: 2.5rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
}
.hero-no-featured .hero-actions .hero-cta {
  padding: 0.9rem 1.75rem;
  font-size: 1rem;
}
.hero-slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(254,252,232,.5);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: all var(--transition);
}
.hero-slider-dot:hover {
  background: rgba(254,252,232,.3);
  border-color: rgba(254,252,232,.9);
  transform: scale(1.2);
}
.hero-slider-dot.hero-slider-dot-active {
  background: var(--accent-light);
  border-color: var(--accent-light);
  box-shadow: 0 0 12px rgba(245,158,11,.5);
}
@media (max-width: 640px) {
  .hero { min-height: 34vh; padding: 0.2rem 1rem 1.25rem; }
  .hero-slides {
    min-height: clamp(200px, 40vh, 250px);
    height: clamp(200px, 40vh, 250px);
  }
  .hero-slider { padding: 0 1rem; }
  .hero-slider .hero-inner { padding: 0.35rem 0.5rem; }
  .hero-slider-arrow { width: 40px; height: 40px; font-size: 1.2rem; }
  .hero-slide-creative { gap: 0.4rem; }
  .hero-slide-creative .hero-tagline { font-size: clamp(1.35rem, 4vw, 2.2rem); }
  .hero-slide-creative .hero-subhead { font-size: clamp(0.95rem, 2.2vw, 1.2rem); }
  .hero-slide-creative .hero-message { font-size: clamp(0.8rem, 2vw, 0.95rem); margin-top: 0.25rem; }
  .hero-promo-card { padding: 1.25rem 1rem; }
  .hero-promo-headline { font-size: 1rem; margin-bottom: 0.5rem; white-space: nowrap; }
  .hero-promo-text { font-size: 0.95rem; margin-bottom: 1rem; }
  .hero-promo-btn { padding: 0.7rem 1.5rem; font-size: 0.95rem; }
  .hero-countries-flags {
    flex-wrap: nowrap;
    gap: 0.25rem;
    justify-content: center;
  }
  .hero-country {
    padding: 0.2rem 0.35rem;
    font-size: 0.7rem;
    gap: 0.2rem;
    flex: 1 1 0;
    min-width: 0;
    justify-content: center;
  }
  .hero-country .hero-flag-img { width: 16px; height: 12px; }
}

@media (max-width: 400px) {
  .hero { min-height: 32vh; padding: 0.15rem 0.75rem 1rem; }
  .hero-slides {
    min-height: clamp(180px, 38vh, 230px);
    height: clamp(180px, 38vh, 230px);
  }
  .hero-slider { padding: 0 0.75rem; }
  .hero-slider .hero-inner { padding: 0.3rem 0.4rem; }
  .hero-slide-creative .hero-tagline { font-size: clamp(1.2rem, 5vw, 1.6rem); }
  .hero-slide-creative .hero-subhead { font-size: clamp(0.85rem, 2.5vw, 1rem); }
  .hero-slide-creative .hero-message { font-size: 0.8rem; }
  .hero-promo-card { padding: 1rem 0.75rem; }
  .hero-promo-headline { font-size: 0.9rem; white-space: nowrap; }
  .hero-promo-text { font-size: 0.875rem; }
  .hero-promo-btn { padding: 0.6rem 1.25rem; font-size: 0.9rem; }
}

/* Featured Businesses Slider — کارت ویزیت کسب‌وکارها */
.featured-slider {
  position: relative;
  padding: 0.25rem 0 1.75rem;
  background: linear-gradient(180deg, #fffbeb 0%, #fefce8 50%, #fef9c3 100%);
  overflow: hidden;
}
.featured-slider::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(245,158,11,.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(217,119,6,.06) 0%, transparent 50%);
  pointer-events: none;
}
.featured-slider-inner {
  position: relative;
  width: 100%;
  padding: 0;
}
.featured-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--slate-800);
  text-align: center;
  margin: 0 0 1.5rem;
  letter-spacing: -0.02em;
}
.featured-track-wrap {
  position: relative;
  display: flex;
  align-items: stretch;
  overflow-x: hidden;
}
.featured-track {
  flex: 1;
  display: flex;
  gap: 0.25rem;
  padding: 0.75rem 0.5rem;
  width: max-content;
  animation: featuredMarquee 30s linear infinite;
}
.featured-track-wrap:hover .featured-track,
.featured-track:hover {
  animation-play-state: paused;
}
@keyframes featuredMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
[dir="rtl"] .featured-track {
  animation-name: featuredMarqueeRtl;
}
@keyframes featuredMarqueeRtl {
  0% { transform: translateX(0); }
  100% { transform: translateX(50%); }
}
.featured-card {
  flex: 0 0 280px;
  scroll-snap-align: center;
  background: linear-gradient(145deg, #fff 0%, #fefdf9 100%);
  border-radius: var(--radius-lg);
  padding: 0.4rem;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid rgba(245,158,11,.2);
  box-shadow:
    0 4px 16px rgba(15,23,42,.08),
    0 0 0 1px rgba(255,255,255,.8) inset;
  position: relative;
  overflow: hidden;
}
.featured-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, rgba(245,158,11,.12) 0%, transparent 70%);
  border-radius: 0 0 0 100%;
  pointer-events: none;
}
.featured-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow:
    0 12px 32px rgba(15,23,42,.15),
    0 0 0 2px var(--accent);
  border-color: var(--accent);
}
.featured-card-img-wrap {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  overflow: hidden;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
}
.featured-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.featured-card-img-placeholder {
  font-size: 2.5rem;
  opacity: 0.6;
}
.featured-card-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--slate-800);
  margin: 0 0 0.35rem;
  line-height: 1.35;
}
.featured-card-cat {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
  font-weight: 500;
}
.featured-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.85rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  transition: color var(--transition);
}
.featured-card:hover .featured-card-cta {
  color: var(--slate-900);
}
.featured-scroll-hint {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 1rem;
  opacity: 0.85;
}
@media (max-width: 640px) {
  .featured-card { flex: 0 0 260px; }
}

/* Search */
.search-section { margin-top: -2rem; padding: 0 1.5rem 2rem; position: relative; z-index: 10; }
.search-feedback {
  max-width: 540px;
  margin: 0.75rem auto 0;
  padding: 0.5rem 1rem;
  font-size: 0.95rem;
  font-weight: 500;
  text-align: center;
  border-radius: var(--radius);
  transition: all var(--transition);
}
.search-feedback[hidden] {
  display: none;
}
.search-feedback-results {
  color: var(--accent);
  background: var(--accent-soft);
}
.search-feedback-empty {
  color: #b91c1c;
  background: #fef2f2;
}
.search-wrap {
  position: relative;
  max-width: 540px;
  margin: 0 auto;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 4px;
}
.search-wrap:focus-within { box-shadow: 0 0 0 2px var(--accent); }
.search-input-large {
  width: 100%;
  padding: 1rem 1.2rem;
  font-family: var(--font);
  font-size: 1rem;
  border: none !important;
  border-radius: calc(var(--radius-xl) - 4px);
  background: transparent;
  color: var(--text);
  outline: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  box-shadow: none !important;
  text-indent: 0;
}
.search-input-large::before,
.search-input-large::after {
  display: none !important;
  content: none !important;
}
.search-wrap.has-clear .search-input-large { padding-inline-end: 3rem; }
.search-input-large::placeholder { 
  color: var(--text-muted);
  opacity: 1;
}
.search-input-large::-webkit-input-placeholder { 
  color: var(--text-muted);
  opacity: 1;
}
.search-input-large::-moz-placeholder { 
  color: var(--text-muted);
  opacity: 1;
}
.search-input-large:-ms-input-placeholder { 
  color: var(--text-muted);
  opacity: 1;
}
.search-input-large:focus { 
  outline: none !important; 
  box-shadow: none !important;
  border: none !important;
}
.search-input-large::-webkit-search-decoration,
.search-input-large::-webkit-search-cancel-button,
.search-input-large::-webkit-search-results-button,
.search-input-large::-webkit-search-results-decoration { 
  display: none !important; 
  -webkit-appearance: none !important;
}
.search-input-large::-ms-clear,
.search-input-large::-ms-reveal { display: none !important; }
input[type="text"].search-input-large {
  -webkit-appearance: none !important;
  -moz-appearance: textfield !important;
  appearance: none !important;
}
input[type="text"].search-input-large::-webkit-outer-spin-button,
input[type="text"].search-input-large::-webkit-inner-spin-button {
  -webkit-appearance: none !important;
  margin: 0 !important;
}
/* Remove any circle or special characters */
.search-input-large,
.header-search .search-input {
  text-rendering: auto;
  letter-spacing: normal;
  word-spacing: normal;
  text-transform: none;
  text-indent: 0px;
  text-shadow: none;
  display: inline-block;
  text-align: start;
  font-variant: normal;
  font-feature-settings: normal;
}
/* Force remove any pseudo-elements that might show circles */
.search-input-large *,
.search-input-large::selection,
.search-input-large::-moz-selection {
  background: transparent;
  color: var(--text);
}
/* Remove any autofill or browser decorations */
.search-input-large:-webkit-autofill,
.search-input-large:-webkit-autofill:hover,
.search-input-large:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0px 1000px transparent inset !important;
  -webkit-text-fill-color: var(--text) !important;
  transition: background-color 5000s ease-in-out 0s;
}
.search-wrap .search-icon {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 1.2rem;
}
.clear-search {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--text-muted);
  background: rgba(30,41,59,.06);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: color var(--transition), background var(--transition);
}
.clear-search:hover { color: var(--text); background: var(--accent-soft); }

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem;
  margin-top: 1rem;
  padding: 0 .5rem;
}
.filter-chip {
  padding: .4rem .9rem;
  font-family: var(--font);
  font-size: .85rem;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  cursor: pointer;
  transition: color var(--transition), background var(--transition), border-color var(--transition);
}
.filter-chip:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-soft);
}
.filter-chip.active {
  color: var(--slate-900);
  background: var(--accent-light);
  border-color: var(--accent);
}
@media (max-width: 640px) {
  .filter-chips {
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .filter-chips::-webkit-scrollbar { display: none; }
  .filter-chip { flex-shrink: 0; }
}

.container { max-width: 1080px; margin: 0 auto; padding: 0 1.5rem; }

/* Categories */
.categories { padding: 3rem 0 4rem; }
.section-title { font-size: 1.4rem; font-weight: 700; color: var(--text); margin: 0 0 1.25rem; }
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1rem;
}
.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: 1.25rem 1rem;
  margin: 0;
  width: 100%;
  font-family: var(--font);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  color: var(--text);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  -webkit-appearance: none;
  appearance: none;
}
.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}
.category-card .icon { font-size: 1.75rem; line-height: 1; }
.category-card .name { font-size: .9rem; font-weight: 600; text-align: center; line-height: 1.35; }

/* Listings */
.listings { padding: 0 0 4rem; }
.listings-header { display: flex; flex-wrap: wrap; align-items: baseline; gap: .75rem; margin-bottom: 1.25rem; }
.listings-count { font-size: .95rem; color: var(--text-muted); margin: 0; }
.listings-results { display: flex; flex-direction: column; gap: 0; }
.category-group { margin-bottom: 2rem; }
.category-group-heading {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--slate-800);
  margin: 0 0 1rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--accent-soft);
  display: flex;
  align-items: center;
  gap: .5rem;
}
.category-group-heading .icon { font-size: 1.2rem; }
.business-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: .75rem;
}
.business-item { margin: 0; padding: 0; }
.business-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  width: 100%;
  padding: .85rem 1rem;
  font-family: var(--font);
  font-size: .95rem;
  font-weight: 500;
  text-align: right;
  color: var(--text);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
  -webkit-appearance: none;
  appearance: none;
}
.business-btn:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  transform: translateX(-3px);
}
.business-btn-name { flex: 1; text-align: right; }
.business-btn-cat {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-inline-start: 0.5rem;
  flex-shrink: 0;
}
.business-btn::after {
  content: '→';
  font-size: .9em;
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
}
[dir='rtl'] .business-btn::after { content: '←'; }
[dir='rtl'] .business-btn:hover { transform: translateX(3px); }

.listings-empty { text-align: center; padding: 3rem 1.5rem; color: var(--text-muted); }
.listings-empty p { margin: 0; }

/* Add listing */
.add-listing { padding: 0 0 3rem; }
.add-listing-card {
  background: linear-gradient(135deg, var(--slate-800) 0%, var(--slate-900) 100%);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  color: var(--text-inverse);
  box-shadow: var(--shadow-lg);
}
.add-listing-text { font-size: 1.1rem; margin: 0 0 .5rem; opacity: .9; }
.add-listing-cta {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent-light);
  text-decoration: none;
  transition: color var(--transition);
}
.add-listing-cta:hover { color: #fbbf24; }

/* Contact */
.contact { padding: 0 0 4rem; }
.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  box-shadow: var(--shadow);
}
.contact-card p { margin: 0 0 .5rem; }
.contact-card a { color: var(--accent); text-decoration: none; font-weight: 600; }
.contact-card a:hover { text-decoration: underline; }
.contact-credit { font-size: .95rem; color: var(--text-muted); margin-top: .75rem !important; }
.modal-page-link {
  margin-top: 1.25rem;
  font-size: 0;
}
.modal-page-link a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent);
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.14) 0%, rgba(251, 191, 36, 0.1) 100%);
  border: 1px solid rgba(245, 158, 11, 0.4);
  border-radius: var(--radius);
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.15s;
  box-shadow: 0 1px 3px rgba(245, 158, 11, 0.15);
}
.modal-page-link a:hover {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.22) 0%, rgba(251, 191, 36, 0.16) 100%);
  border-color: var(--accent);
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.25);
  transform: translateY(-1px);
  text-decoration: none;
}
.modal-page-link a::before {
  content: '←';
  font-size: 1.1em;
  opacity: 0.9;
}

/* Business page — صفحه اختصاصی کسب‌وکار */
.business-page { padding: 2rem 0 4rem; }
.business-back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 1.5rem;
  padding: 0.6rem 1rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--accent);
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: var(--radius);
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.business-back:hover {
  background: rgba(245, 158, 11, 0.2);
  border-color: var(--accent);
  color: #b45309;
  text-decoration: none;
}
.business-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
}
.business-info-cards {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 1.25rem 0;
}
.business-info-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(248,250,252,.6);
  text-decoration: none;
  color: var(--text);
  transition: all var(--transition);
}
.business-info-card:hover {
  background: rgba(254,243,199,.4);
  border-color: rgba(245,158,11,.3);
  box-shadow: 0 2px 12px rgba(245,158,11,.12);
}
.business-info-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.business-info-card:hover .business-info-icon {
  background: #fff;
  box-shadow: 0 2px 8px rgba(245,158,11,.2);
}
.business-info-content {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}
.business-info-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.business-info-value {
  font-size: 1rem;
  font-weight: 500;
  color: var(--slate-800);
  line-height: 1.5;
}
.business-info-card.business-info-phone .business-info-value,
.business-info-card.business-info-maps .business-info-value {
  color: var(--accent);
  font-weight: 600;
}
.business-other-services {
  margin-top: 0.5rem;
}
.business-source {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: .9rem;
  color: var(--text-muted);
}
.business-source a { color: var(--accent); font-weight: 600; text-decoration: none; }
.business-source a:hover { text-decoration: underline; }

/* SEO Locations — لیست مکان‌ها برای ایندکس */
.seo-locations {
  padding: 2rem 0;
  background: rgba(248,250,252,.8);
  border-top: 1px solid var(--border);
}
.seo-locations .container { max-width: 1080px; margin: 0 auto; padding: 0 1.5rem; }
.seo-locations-intro {
  font-size: .9rem;
  color: var(--text-muted);
  margin: 0 0 .5rem;
}
.seo-locations-list {
  font-size: .8rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin: 0;
  opacity: .9;
}

/* Footer */
.footer {
  padding: 2rem 0;
  background: var(--slate-900);
  color: var(--text-inverse);
}
.footer-inner { max-width: 1080px; margin: 0 auto; padding: 0 1.5rem; }
.footer-copy { font-size: .9rem; opacity: .85; margin: 0; }

/* Modal — پاپ‌آپ شیک و فرم‌دار */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  overflow-y: auto;
  animation: modalOverlayIn 0.25s ease-out;
}
@keyframes modalOverlayIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.modal-overlay[hidden] { display: none; }
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
}
.modal {
  position: relative;
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  background: linear-gradient(180deg, #fff 0%, #fefefe 100%);
  border-radius: 20px;
  box-shadow:
    0 0 0 1px rgba(255, 215, 0, 0.12),
    0 32px 64px rgba(15, 23, 42, 0.2),
    0 12px 24px rgba(15, 23, 42, 0.12);
  padding: 2.25rem 2rem;
  animation: modalIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes modalIn {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(12px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
.modal-close {
  position: absolute;
  top: 1rem;
  left: 1rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--text-muted);
  background: rgba(30, 41, 59, 0.06);
  border: 1px solid rgba(30, 41, 59, 0.08);
  border-radius: 50%;
  cursor: pointer;
  transition: color 0.2s, background 0.2s, border-color 0.2s, transform 0.2s;
}
.modal-close:hover {
  color: var(--text);
  background: rgba(255, 215, 0, 0.12);
  border-color: rgba(255, 215, 0, 0.25);
  transform: scale(1.05);
}
.modal-body { padding-top: 0.75rem; }
.modal-name-wrap {
  margin: 0 0 1.25rem 0;
  padding: 1rem 1.25rem;
  background: linear-gradient(135deg, #fff8e1 0%, #ffecb3 40%, #ffe082 100%);
  border-radius: 14px;
  border: 1px solid rgba(245, 158, 11, 0.25);
  box-shadow: 0 2px 12px rgba(245, 158, 11, 0.15), inset 0 1px 0 rgba(255,255,255,.5);
}
.modal-name-wrap .modal-title {
  color: #b45309;
  font-weight: 800;
  margin: 0 0 0.25rem 0;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}
.modal-name-wrap .modal-category {
  margin: 0;
  font-size: 0.9rem;
  color: #92400e;
  font-weight: 600;
}
.modal-image-wrap {
  width: 100%;
  margin: 0 0 1.5rem;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(30, 41, 59, 0.04);
  border: 1px solid rgba(255, 215, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 140px;
}
.modal-image {
  display: block;
  max-width: 100%;
  max-height: min(70vh, 480px);
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
}
.modal-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--slate-800);
  margin: 0 0 0.35rem;
  line-height: 1.35;
  letter-spacing: -0.01em;
}
.modal-category {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0 0 1.25rem;
  font-weight: 500;
}
.modal-detail {
  margin: 0 0 0.85rem;
  font-size: 0.95rem;
  line-height: 1.6;
}
.modal-detail strong {
  display: inline-block;
  min-width: 5em;
  color: var(--slate-700);
  font-weight: 600;
}
.modal-detail a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}
.modal-detail a:hover {
  color: #b8860b;
  border-bottom-color: rgba(184, 134, 11, 0.4);
}
.modal-services {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
}
.modal-services li {
  position: relative;
  padding-inline-start: 1.25rem;
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--slate-700);
  text-align: justify;
}
.modal-services li:last-child { margin-bottom: 0; }
.modal-services li::before {
  content: '';
  position: absolute;
  right: 0;
  top: 0.5em;
  width: 4px;
  height: calc(100% - 0.5em);
  min-height: 20px;
  background: linear-gradient(180deg, rgba(255, 215, 0, 0.5) 0%, rgba(255, 215, 0, 0.2) 100%);
  border-radius: 2px;
}
.modal-services li.modal-service-item::before { display: none; }
.modal-maps-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.1rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--slate-800);
  background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
  border: 1px solid rgba(76, 175, 80, 0.4);
  border-radius: 10px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  box-shadow: 0 2px 8px rgba(76, 175, 80, 0.15);
}
.modal-maps-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(76, 175, 80, 0.25);
  background: linear-gradient(135deg, #c8e6c9 0%, #a5d6a7 100%);
  color: var(--slate-900);
}
.modal-address-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.1rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #78350f;
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border: 1px solid rgba(180, 83, 9, 0.3);
  border-radius: 10px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  box-shadow: 0 2px 8px rgba(180, 83, 9, 0.15);
}
.modal-address-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(180, 83, 9, 0.25);
  background: linear-gradient(135deg, #fde68a 0%, #fcd34d 100%);
  color: #78350f;
}
.modal-address-btn .modal-icon-img { filter: invert(28%) sepia(60%) saturate(800%) hue-rotate(15deg); }
.modal-icon-img {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  vertical-align: middle;
  margin-inline-end: 0.4rem;
}
.modal-maps-btn .modal-icon-img { filter: invert(24%) sepia(65%) saturate(800%) hue-rotate(100deg); }
.modal-phone-btn .modal-icon-img { filter: invert(35%) sepia(90%) saturate(1200%) hue-rotate(195deg); }
.modal-phone-btn span[dir="ltr"] { unicode-bidi: isolate; }
.modal-phone-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--slate-800);
  background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
  border: 1px solid rgba(33, 150, 243, 0.4);
  border-radius: 12px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  box-shadow: 0 2px 8px rgba(33, 150, 243, 0.15);
  letter-spacing: 0.02em;
}
.modal-phone-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(33, 150, 243, 0.25);
  background: linear-gradient(135deg, #bbdefb 0%, #90caf9 100%);
  color: var(--slate-900);
}
.modal-social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0 0 1rem;
}
.modal-social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.1rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid transparent;
}
.modal-instagram-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.1rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  border: 1px solid rgba(220, 39, 67, 0.3);
  border-radius: 10px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(220, 39, 67, 0.3);
}
.modal-instagram-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(220, 39, 67, 0.4);
}
.modal-instagram-btn .modal-icon-img { filter: brightness(0) invert(1); }
.modal-telegram-btn {
  color: #fff;
  background: linear-gradient(135deg, #0088cc 0%, #229ED9 100%);
  box-shadow: 0 2px 8px rgba(34, 158, 217, 0.3);
}
.modal-telegram-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(34, 158, 217, 0.4);
}
.modal-telegram-btn .modal-icon-img { filter: brightness(0) invert(1); }
.modal-whatsapp-btn {
  color: #fff;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
}
.modal-whatsapp-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
}
.modal-whatsapp-btn .modal-icon-img { filter: brightness(0) invert(1); }
.modal-facebook-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.1rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #1877F2 0%, #0d65d9 100%);
  border: 1px solid rgba(24, 119, 242, 0.4);
  border-radius: 10px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(24, 119, 242, 0.3);
}
.modal-facebook-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(24, 119, 242, 0.4);
  background: linear-gradient(135deg, #0d65d9 0%, #0a54b8 100%);
  color: #fff;
}
.modal-facebook-btn .modal-icon-img { filter: brightness(0) invert(1); }
.modal-web-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.1rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--slate-800);
  background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
  border: 1px solid rgba(30, 41, 59, 0.15);
  border-radius: 10px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.modal-web-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,.1);
}
.modal-web-btn .modal-icon-img { filter: invert(25%) sepia(30%) saturate(500%); }
.modal-note {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 1.25rem 0 0;
  padding: 1.1rem 1.25rem;
  background: rgba(255, 215, 0, 0.08);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 12px;
  line-height: 1.6;
}
.modal-note a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}
.modal-note a:hover { text-decoration: underline; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
