/* ==========================================================================
   Needo v2.0 — Luxury Sister-Brand Design System (Gold Dominant + Tehranto Navy + Silver + Subtle Ruby)
   Exact Architectural Header Sibling to Tehranto.Plus (68px bar, liquid recessed capsule, sliding En/Fa)
   ========================================================================== */

:root {
  --gold: #b88420;
  --gold-bright: #d4a13a;
  --gold-deep: #8d6110;
  --gold-soft: #fdf8ec;
  --gold-surface: #f7f1e1;
  --gold-border: rgba(184, 132, 32, 0.22);
  --ruby: #b93848;
  --ruby-soft: #fdf2f4;
  --ruby-border: rgba(185, 56, 72, 0.24);
  --silver: #f3f5f9;
  --silver-line: rgba(15, 44, 107, 0.095);
  --navy: #0f2c6b;
  --navy-deep: #091d49;
  --cyan: #b88420;
  --cyan-bright: #d4a13a;
}

/* ================= SISTER-BRAND 68px ARCHITECTURAL HEADER ================= */
.site-header {
  height: 68px;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(184, 132, 32, 0.16);
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.99);
  border-bottom-color: rgba(184, 132, 32, 0.24);
  box-shadow: 0 6px 20px rgba(15, 44, 107, 0.055);
}
.site-header .nav-inner {
  max-width: 1380px;
  height: 68px;
  gap: 14px;
}
.site-header.scrolled .nav-inner {
  height: 68px;
}

/* Golden Moon Emblem + Sculpted NEEDO.CA Wordmark (Sister Family to Tehranto.Plus) */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  direction: ltr;
  unicode-bidi: isolate;
  text-decoration: none;
}
.needo-moon-mark {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  background: radial-gradient(circle at 30% 25%, #efd07e 0%, #c8922b 52%, #8e6111 100%);
  box-shadow: 0 2px 8px rgba(184, 132, 32, 0.28), inset 0 1px 1px rgba(255, 255, 255, 0.55);
}
.needo-moon-mark svg {
  width: 18px;
  height: 18px;
}
.needo-wordmark {
  display: inline-flex;
  align-items: baseline;
  font-family: "Google Sans", "Roboto", sans-serif;
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: 0.11em;
  color: var(--navy);
  line-height: 1;
}
.needo-wordmark .nw-tld {
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.07em;
}
html[lang="fa"] .needo-wordmark-fa {
  font-family: "Shabnam", Tahoma, sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--gold-deep);
  margin-inline-start: 6px;
  letter-spacing: 0;
}

/* Center Recessed Warm-Champagne Capsule + Liquid Spring-Sliding Pill */
.nav-center {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  border-radius: 999px;
  background: var(--gold-surface);
  border: 1px solid rgba(184, 132, 32, 0.16);
  box-shadow: inset 0 1px 2px rgba(141, 97, 16, 0.06);
  flex-shrink: 0;
}
.needo-nav-slider {
  position: absolute;
  top: 4px;
  left: 0;
  height: 36px;
  width: 0;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 2px 9px rgba(15, 44, 107, 0.09), 0 0 0 1px rgba(184, 132, 32, 0.14);
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1), width 0.34s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.18s ease;
}
.needo-nav-slider.is-visible { opacity: 1; }
.nav-center.no-anim .needo-nav-slider { transition: none; }

.nav-center .nav-tab {
  position: relative;
  z-index: 2;
  height: 36px;
  padding: 0 13px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: #5a5448;
  background: transparent !important;
  transition: color 0.18s ease;
}
.nav-center .nav-tab svg.nd-ico {
  width: 14.5px;
  height: 14.5px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.8;
  flex-shrink: 0;
}
.nav-center .nav-tab:hover { color: var(--navy); }
.nav-center .nav-tab.is-active {
  color: var(--navy);
  font-weight: 600;
}
.nav-center .nav-tab.is-active svg.nd-ico {
  stroke: var(--gold-deep);
  opacity: 1;
}

/* Subtle Ruby Pulse Accent Dot on Top 10 Menu Tab */
@keyframes ndRubyPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(185, 56, 72, 0.4); }
  50% { box-shadow: 0 0 0 4px rgba(185, 56, 72, 0); }
}
.nd-ruby-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ruby);
  animation: ndRubyPulse 3.2s ease-in-out infinite;
  display: inline-block;
  flex-shrink: 0;
}

/* Right Controls: Sister Tehranto.Plus Pill + Symmetric Divider + Sliding En/Fa + Gold-Navy CTA */
.nav-right {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.nd-sister-pill {
  height: 36px;
  padding: 0 12px 0 10px;
  border-radius: 999px;
  background: #f5f8fd;
  border: 1px solid rgba(15, 44, 107, 0.16);
  display: inline-flex;
  align-items: center;
  gap: 6.5px;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 0.16s ease, background 0.16s ease, transform 0.16s ease;
}
html[lang="fa"] .nd-sister-pill { padding: 0 10px 0 12px; }
.nd-sister-pill:hover {
  border-color: rgba(15, 44, 107, 0.34);
  background: #edf3fc;
  transform: translateY(-0.5px);
}
.nd-sister-dot {
  width: 6.5px;
  height: 6.5px;
  border-radius: 50%;
  background: var(--navy);
  box-shadow: 0 0 0 2.5px rgba(15, 44, 107, 0.14);
  flex-shrink: 0;
}
.nd-sister-name { font-size: 12.6px; font-weight: 700; color: var(--navy); }
.nd-sister-pipe { width: 1px; height: 12px; background: rgba(15, 44, 107, 0.18); flex-shrink: 0; }
.nd-sister-sub { font-size: 12px; font-weight: 500; color: #52627f; }
.nd-sister-arrow { font-size: 11px; color: var(--navy); opacity: 0.6; }

.nd-sym-div {
  width: 1px;
  height: 22px;
  background: rgba(184, 132, 32, 0.24);
  margin: 0 3px;
  flex-shrink: 0;
}

/* Exact Kashaneh-Style Sliding En / Fa Toggle */
.nd-lang-toggle {
  position: relative;
  width: 64px;
  height: 36px;
  padding: 3px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(184, 132, 32, 0.28);
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  direction: ltr;
  text-decoration: none;
  flex-shrink: 0;
}
.nd-lang-toggle::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: linear-gradient(135deg, #c69128 0%, #9b6c13 100%);
  box-shadow: 0 2px 6px rgba(155, 108, 19, 0.28);
  transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}
html[lang="fa"] .nd-lang-toggle::before {
  transform: translateX(28px);
}
.nd-lang-toggle span {
  position: relative;
  z-index: 1;
  width: 28px;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  color: #5a5448;
  line-height: 1;
}
html:not([lang="fa"]) .nd-lang-toggle .seg-en,
html[lang="fa"] .nd-lang-toggle .seg-fa {
  color: #ffffff;
}
.nd-lang-toggle .seg-fa { font-family: "Shabnam", Tahoma, sans-serif; font-size: 11.5px; }

.nd-join-cta {
  height: 36px;
  min-height: 36px;
  padding: 0 15px;
  border-radius: 999px;
  background: var(--navy);
  border: 1px solid rgba(212, 161, 58, 0.45);
  color: #ffffff;
  font-size: 12.6px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(15, 44, 107, 0.16);
  transition: background 0.16s ease, transform 0.16s ease, border-color 0.16s ease;
}
.nd-join-cta:hover {
  background: #173c8c;
  border-color: var(--gold-bright);
  transform: translateY(-1px);
}

/* ================= GOLD-DOMINANT + NAVY + SILVER + SUBTLE RUBY SURFACES ================= */
.hero-minimal {
  background: linear-gradient(180deg, #fdf8ec 0%, #fefcf6 52%, #ffffff 100%);
  border-bottom: 1px solid rgba(184, 132, 32, 0.11);
  padding: clamp(2.4rem, 4.4vw, 3.4rem) 0 1.8rem;
}
.hero-kicker {
  background: #ffffff;
  border: 1px solid var(--gold-border);
  color: #5c4b27;
  box-shadow: 0 2px 10px rgba(184, 132, 32, 0.07);
}
.hero-kicker-dot {
  background: var(--gold-bright);
  box-shadow: 0 0 0 3px rgba(212, 161, 58, 0.2);
}
.hero-h1 em,
.sec-h2 em {
  color: var(--gold-deep);
}
.eyebrow {
  color: var(--gold-deep);
}
.eyebrow::before {
  background: var(--gold-bright);
}
.search-pill-input {
  border-color: rgba(184, 132, 32, 0.34);
  box-shadow: 0 10px 28px -8px rgba(184, 132, 32, 0.16);
}
.search-pill-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3.5px rgba(212, 161, 58, 0.2);
}

/* Clean Category Quick-Links Below Search (SEO Internal Links + Fast Filtering) */
.nd-hero-cats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
  max-width: 820px;
  margin: 18px auto 0;
}
.nd-hero-cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 33px;
  padding: 0 13px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(184, 132, 32, 0.2);
  color: var(--navy);
  font-size: 12.5px;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}
.nd-hero-cat-pill:hover,
.nd-hero-cat-pill.is-active {
  background: var(--gold-surface);
  border-color: var(--gold);
  color: var(--gold-deep);
  transform: translateY(-1px);
}
.nd-hero-cat-pill.is-top10 {
  background: var(--ruby-soft);
  border-color: var(--ruby-border);
  color: var(--ruby);
  font-weight: 600;
}
.nd-hero-cat-pill.is-top10:hover {
  background: #fce7ea;
  border-color: var(--ruby);
}

/* Directory & Cards Polish (Gold Ranks + Silver Borders + Ruby Critiques) */
.needo-bento-card {
  border-color: rgba(15, 44, 107, 0.09);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.needo-bento-card:hover {
  border-color: rgba(184, 132, 32, 0.34);
  box-shadow: 0 16px 36px -14px rgba(15, 44, 107, 0.1);
}
.rank-badge {
  background: linear-gradient(135deg, #d8a641 0%, #a97616 100%) !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.6) !important;
}
.full-review-pill {
  border-color: var(--gold-border);
  background: var(--gold-soft);
  color: var(--navy);
}
.full-review-pill:hover {
  border-color: var(--gold);
  background: var(--gold-surface);
}
.cat-pill.is-active {
  background: linear-gradient(135deg, #c28d25 0%, #996b14 100%);
  border-color: #996b14;
  color: #ffffff;
}

/* Alternating Silver Ecosystem Band */
.concept-strip {
  background: var(--silver);
  border-top: 1px solid var(--silver-line);
  border-bottom: 1px solid var(--silver-line);
}
.concept-card {
  background: #ffffff;
  border-color: rgba(15, 44, 107, 0.09);
}
.concept-card .link-arrow {
  color: var(--gold-deep);
}

/* Strategic Cross-Domain Band: Grow Your Toronto Brand With Tehranto.Plus (Deep Navy + Gold + Ruby) */
.nd-growth-band {
  padding: clamp(3rem, 5.5vw, 4.4rem) 0;
  background: #ffffff;
}
.nd-growth-card {
  background: linear-gradient(135deg, #0d255b 0%, #0f2c6b 58%, #15377d 100%);
  border: 1px solid rgba(212, 161, 58, 0.36);
  border-radius: 28px;
  padding: clamp(26px, 4vw, 44px);
  color: #ffffff;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 28px;
  align-items: center;
  box-shadow: 0 22px 54px -18px rgba(9, 29, 73, 0.34);
}
.nd-growth-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(212, 161, 58, 0.42);
  color: #f3d286;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 14px;
}
.nd-growth-badge-dot {
  width: 6.5px;
  height: 6.5px;
  border-radius: 50%;
  background: #e05263;
}
.nd-growth-card h2 {
  margin: 0 0 12px;
  font-size: clamp(1.5rem, 2.8vw, 2.15rem);
  font-weight: 700;
  line-height: 1.24;
  color: #ffffff;
}
html[lang="fa"] .nd-growth-card h2 { line-height: 1.44; }
.nd-growth-card h2 em {
  font-style: normal;
  color: #f1cb73;
}
.nd-growth-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.66;
  color: rgba(255, 255, 255, 0.82);
}
.nd-growth-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.nd-growth-tile {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
  text-decoration: none;
  transition: background 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}
.nd-growth-tile:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(241, 203, 115, 0.58);
  transform: translateY(-2px);
}
.nd-growth-tile strong { font-size: 14px; font-weight: 600; color: #ffffff; }
.nd-growth-tile span { font-size: 12px; color: #d9c79b; }
.nd-growth-tile.is-gold {
  background: linear-gradient(135deg, #d6a43e 0%, #b5801c 100%);
  border-color: #f2cf81;
  color: #091d49;
}
.nd-growth-tile.is-gold strong { color: #091d49; }
.nd-growth-tile.is-gold span { color: rgba(9, 29, 73, 0.82); }

/* Footer Harmony */
.site-footer {
  background: var(--gold-soft);
  border-top: 1px solid rgba(184, 132, 32, 0.18);
}

/* Profile Breadcrumbs, Editorial Overview, Services & Related Brands */
.nd-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 14px;
}
.nd-breadcrumbs a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 500;
}
.nd-breadcrumbs a:hover {
  text-decoration: underline;
}
.nd-breadcrumbs .crumb-sep {
  opacity: 0.45;
}
.nd-profile-overview {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px 22px;
  margin-bottom: 18px;
}
.nd-profile-overview h2 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}
.nd-profile-overview p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--ink-body);
}
.nd-services-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.nd-service-pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--navy);
  background: var(--gold-soft);
  border: 1px solid rgba(184, 132, 32, 0.24);
}
.proof-tag.is-service {
  background: #f8fafc;
  border-color: rgba(15, 44, 107, 0.14);
  color: var(--navy);
}
.nd-review-attribution {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid var(--border);
  font-size: 12.5px;
  color: var(--muted);
}
blockquote.review-text {
  margin: 0;
}
.nd-related-wrap {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.nd-related-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 14px;
}
.nd-related-head h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
}
.nd-related-head a {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
}
.nd-related-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.nd-related-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid var(--border);
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.16s ease, transform 0.16s ease;
}
.nd-related-card:hover {
  border-color: var(--gold-border);
  transform: translateY(-2px);
}
.nd-related-card strong {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
}
.nd-related-card span {
  font-size: 12.5px;
  color: var(--muted);
}
.nd-related-score {
  margin-top: auto;
  padding-top: 4px;
  font-size: 12px;
  font-weight: 600;
  color: #127858;
}

@media (max-width: 1120px) {
  .nd-sister-pill,
  .nd-sym-div,
  .nav-center,
  .nd-join-cta { display: none !important; }
  .menu-btn { display: inline-flex !important; border-color: var(--gold-border); color: var(--navy); }
}
@media (max-width: 860px) {
  .nd-growth-card { grid-template-columns: 1fr; }
  .nd-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .nd-growth-links { grid-template-columns: 1fr; }
  .nd-related-grid { grid-template-columns: 1fr; }
}
