:root {
  --color-ink: #172033;
  --color-muted: #627086;
  --color-navy: #14213d;
  --color-navy-2: #24324f;
  --color-gold: #b68a3a;
  --color-gold-2: #d5b46a;
  --color-burgundy: #76313d;
  --color-bg: #f7faff;
  --color-bg-2: #eef4f9;
  --color-panel: rgba(255, 255, 255, 0.72);
  --color-panel-strong: rgba(255, 255, 255, 0.9);
  --border-soft: rgba(21, 33, 61, 0.1);
  --border-glass: rgba(255, 255, 255, 0.76);
  --shadow-soft: 0 24px 70px rgba(22, 34, 57, 0.12);
  --shadow-tiny: 0 12px 34px rgba(22, 34, 57, 0.08);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: 1180px;
  --header-height: 86px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  direction: rtl;
  text-align: right;
  color: var(--color-ink);
  background:
    linear-gradient(124deg, rgba(255,255,255,0.92) 0%, rgba(247,250,255,0.9) 38%, rgba(236,244,250,0.92) 100%),
    linear-gradient(180deg, #ffffff 0%, var(--color-bg) 48%, var(--color-bg-2) 100%);
  font-family: Vazirmatn, IRANSans, IRANSansX, Tahoma, Arial, sans-serif;
  line-height: 1.9;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
.snl-local-avatar { border-radius: 50%; background: rgba(20,33,61,.08); object-fit: cover; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
::selection { background: rgba(182, 138, 58, 0.24); }

.container {
  width: min(var(--container), calc(100% - 36px));
  margin-inline: auto;
}
.container.narrow { width: min(860px, calc(100% - 36px)); }

.skip-link {
  position: fixed;
  inset-inline-start: 18px;
  top: 12px;
  z-index: 1000;
  transform: translateY(-140%);
  background: var(--color-navy);
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  transition: transform 180ms ease;
}
.skip-link:focus { transform: translateY(0); }

.glass-panel {
  background: var(--color-panel);
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.section-pad { padding: 108px 0; }
.section-lift { padding: 154px 0 88px; }
.section-split-bg {
  position: relative;
  isolation: isolate;
}
.section-split-bg::before {
  content: "";
  position: absolute;
  inset: 8% 0 auto auto;
  width: 72%;
  height: 76%;
  background: linear-gradient(135deg, rgba(255,255,255,0.82), rgba(226,236,246,0.48));
  border: 1px solid rgba(255,255,255,0.72);
  border-radius: 54px 0 0 54px;
  z-index: -1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--color-burgundy);
  font-size: 0.92rem;
  font-weight: 850;
  letter-spacing: -0.01em;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-burgundy));
  border-radius: 999px;
}

h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.35; letter-spacing: -0.04em; }
h1 { font-size: clamp(3rem, 7vw, 6.35rem); margin-bottom: 20px; color: var(--color-navy); }
h2 { font-size: clamp(2rem, 4vw, 3.35rem); margin-bottom: 18px; color: var(--color-navy); }
h3 { font-size: clamp(1.18rem, 2vw, 1.55rem); margin-bottom: 12px; }
p { color: var(--color-muted); margin-bottom: 22px; }

.site-header {
  position: fixed;
  z-index: 100;
  inset: 16px 0 auto;
  transition: transform 220ms ease, opacity 220ms ease;
}
.admin-bar .site-header { top: 48px; }
.header-inner {
  min-height: var(--header-height);
  border-radius: 999px;
  padding: 10px 14px 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 240px; }
.brand-logo-wrap {
  width: 58px;
  height: 58px;
  border-radius: 19px;
  overflow: hidden;
  flex: 0 0 auto;
  background: transparent;
  border: 1px solid rgba(23, 33, 58, 0.10);
  box-shadow: 0 10px 26px rgba(22, 34, 57, 0.08);
}
.brand-logo { width: 100%; height: 100%; object-fit: contain; }
.brand-copy { display: grid; line-height: 1.4; }
.brand-copy strong { color: var(--color-navy); font-size: 0.98rem; }
.brand-copy small { color: var(--color-muted); font-size: 0.78rem; }

.primary-nav { display: flex; align-items: center; }
.snl-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 4px;
}
.snl-menu li { position: relative; }
.snl-menu a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--color-navy-2);
  font-weight: 750;
  font-size: 0.92rem;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}
.snl-menu a:hover,
.snl-menu a:focus { background: rgba(20, 33, 61, 0.06); color: var(--color-burgundy); transform: translateY(-1px); }
.snl-menu .sub-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 210px;
  display: grid;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 10px;
  border-radius: 20px;
  background: rgba(255,255,255,0.95);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-tiny);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}
.snl-menu li:hover > .sub-menu,
.snl-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.snl-menu .sub-menu a { justify-content: flex-start; border-radius: 14px; }

.header-actions { display: inline-flex; align-items: center; gap: 10px; }
.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow-tiny);
  cursor: pointer;
  position: relative;
}
.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--color-navy);
  margin: 5px auto;
  border-radius: 999px;
  transition: transform 180ms ease, opacity 180ms ease;
}
.nav-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .menu-toggle span:nth-child(2) { opacity: 0; }
.nav-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hero-section {
  position: relative;
  overflow: hidden;
  min-height: 760px;
}
.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(105deg, rgba(20,33,61,0.08), transparent 28%),
    linear-gradient(270deg, rgba(118,49,61,0.05), transparent 42%);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: 70px;
  align-items: center;
}
.hero-lead { max-width: 650px; font-size: clamp(1.06rem, 2vw, 1.28rem); color: #47546b; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 28px; }
.hero-tags a {
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(20, 33, 61, 0.1);
  color: var(--color-navy);
  font-weight: 850;
  box-shadow: 0 8px 22px rgba(19, 28, 47, 0.06);
  transition: transform 180ms ease, color 180ms ease, border-color 180ms ease;
}
.hero-tags a:hover { transform: translateY(-2px); color: var(--color-burgundy); border-color: rgba(182,138,58,.3); }
.trust-strip {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px;
  border-radius: 999px;
}
.trust-strip span {
  padding: 7px 14px;
  border-radius: 999px;
  color: var(--color-navy-2);
  font-weight: 850;
  background: rgba(255,255,255,0.5);
}
.hero-visual { position: relative; transform-style: preserve-3d; transition: transform 240ms ease; }
.portrait-shell {
  position: relative;
  overflow: hidden;
  border-radius: 44px;
  background: linear-gradient(135deg, rgba(255,255,255,0.92), rgba(235,243,250,0.86));
  border: 1px solid rgba(255,255,255,0.78);
  box-shadow: 0 36px 90px rgba(19, 28, 47, 0.15);
  padding: 16px;
}
.portrait-shell img { position: relative; border-radius: 32px; width: 100%; min-height: 470px; object-fit: cover; }
.portrait-badge {
  position: absolute;
  right: 28px;
  bottom: 28px;
  display: grid;
  gap: 3px;
  padding: 14px 18px;
  border-radius: 20px;
}
.portrait-badge strong { font-size: 0.82rem; color: var(--color-muted); }
.portrait-badge span { color: var(--color-navy); font-weight: 900; font-size: 1.3rem; }
.hero-note {
  position: absolute;
  left: -26px;
  top: 44px;
  width: 220px;
  border-radius: 26px;
  padding: 18px;
  animation: cardFloat 6.5s ease-in-out infinite;
}
.hero-note p { margin: 0; font-size: 0.92rem; color: #38445c; }
.note-mark { display: block; color: var(--color-gold); font-size: 2.1rem; line-height: 1; }

.section-heading {
  display: grid;
  gap: 10px;
  max-width: 760px;
  margin-bottom: 42px;
}
.section-heading p { max-width: 650px; }

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.service-card {
  border-radius: 30px;
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}
.service-card:hover { transform: translateY(-8px); box-shadow: 0 32px 80px rgba(22,34,57,.15); border-color: rgba(182,138,58,.35); }
.service-card-link { display: grid; height: 100%; padding: 14px 14px 24px; }
.service-media {
  overflow: hidden;
  border-radius: 24px;
  margin-bottom: 18px;
  background: rgba(234,241,247,.72);
}
.service-media img { width: 100%; aspect-ratio: 1.12; object-fit: cover; transition: transform 420ms ease; }
.service-card:hover .service-media img { transform: scale(1.045); }
.service-kicker {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 8px;
  color: var(--color-burgundy);
  font-weight: 850;
  font-size: .86rem;
}
.service-card h3, .service-card p { padding-inline: 6px; }
.service-card h3 { color: var(--color-navy); }
.service-card p { font-size: .95rem; margin-bottom: 20px; }
.service-more {
  margin-inline: 6px;
  color: var(--color-navy);
  font-weight: 900;
  border-top: 1px solid rgba(21,33,61,.08);
  padding-top: 14px;
}

.about-grid,
.feature-grid,
.contact-grid,
.practice-hero-grid,
.article-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: 58px;
  align-items: center;
}
.about-visual,
.feature-single-image,
.practice-hero-image,
.article-hero-media {
  position: relative;
  border-radius: 36px;
  overflow: hidden;
  background: rgba(255,255,255,.66);
  border: 1px solid rgba(255,255,255,.78);
  box-shadow: var(--shadow-soft);
  padding: 14px;
}
.about-visual img,
.feature-single-image img,
.practice-hero-image img,
.article-hero-media img { width: 100%; border-radius: 26px; object-fit: cover; min-height: 390px; }
.about-float-card {
  position: absolute;
  right: 28px;
  bottom: 28px;
  display: grid;
  gap: 4px;
  padding: 16px 18px;
  border-radius: 22px;
}
.about-float-card strong { color: var(--color-navy); }
.about-float-card span { color: var(--color-muted); }
.resume-list { display: grid; gap: 12px; margin: 26px 0; }
.resume-list div { display: flex; align-items: flex-start; gap: 12px; }
.resume-list span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  margin-top: 14px;
  background: var(--color-gold);
  box-shadow: 0 0 0 7px rgba(182,138,58,.14);
  flex: 0 0 auto;
}
.resume-list p { margin: 0; color: #3e4a61; }
.inline-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-burgundy);
  font-weight: 900;
}
.inline-link::after { content: "↢"; transition: transform 180ms ease; }
.inline-link:hover::after { transform: translateX(-4px); }

.metrics-section { padding: 18px 0; }
.metrics-grid {
  border-radius: 30px;
  padding: 26px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.metrics-grid div { display: grid; gap: 4px; padding: 12px 16px; border-right: 1px solid rgba(21,33,61,.08); }
.metrics-grid div:first-child { border-right: 0; }
.metrics-grid strong { color: var(--color-navy); font-size: clamp(1.45rem, 3vw, 2.2rem); line-height: 1.2; }
.metrics-grid span { color: var(--color-muted); font-weight: 750; }

.process-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.process-card {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  padding: 28px;
  min-height: 230px;
  background: linear-gradient(145deg, rgba(255,255,255,.86), rgba(234,242,249,.72));
  border: 1px solid rgba(255,255,255,.78);
  box-shadow: var(--shadow-tiny);
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.process-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); }
.process-card span { display: block; color: var(--color-gold); font-weight: 900; font-size: 1.5rem; margin-bottom: 18px; }
.process-card h3 { color: var(--color-navy); }
.process-card p { margin: 0; font-size: .95rem; }

.feature-points { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; margin-top: 30px; }
.feature-points div { display: grid; gap: 6px; padding: 18px; border-radius: 22px; }
.feature-points strong { color: var(--color-navy); }
.feature-points span { color: var(--color-muted); font-size: .92rem; }
.feature-single-image img { min-height: 520px; }

.article-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.article-card {
  border-radius: 28px;
  padding: 26px;
  min-height: 250px;
  display: grid;
  align-content: start;
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.article-card:hover { transform: translateY(-7px); box-shadow: 0 30px 80px rgba(22,34,57,.14); }
.article-card span, .post-date { color: var(--color-burgundy); font-weight: 850; font-size: .88rem; }
.article-card h3 a { color: var(--color-navy); }
.article-card p { font-size: .96rem; }

.contact-grid { grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); }
.contact-cards { display: grid; gap: 14px; margin-top: 28px; }
.contact-card { border-radius: 24px; padding: 20px; display: grid; gap: 5px; }
.contact-card span { color: var(--color-muted); font-weight: 750; }
.contact-card strong { color: var(--color-navy); font-size: 1.1rem; }
.map-card { overflow: hidden; border-radius: 32px; padding: 12px; }
.google-map-shell { display: grid; gap: 12px; }
.map-card iframe {
  width: 100%;
  height: 390px;
  border: 0;
  display: block;
  border-radius: 24px;
  filter: saturate(.94) contrast(.98);
}
.map-preview {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(238,244,249,.92), rgba(255,255,255,.88));
  border: 1px solid rgba(21,33,61,.08);
}
.map-preview img {
  width: 100%;
  height: 100%;
  min-height: 390px;
  object-fit: cover;
  opacity: .92;
}
.map-preview__overlay {
  position: absolute;
  inset: auto 16px 16px 16px;
  display: grid;
  gap: 4px;
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(255,255,255,.78);
  box-shadow: var(--shadow-tiny);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.map-preview__overlay span { color: var(--color-burgundy); font-weight: 850; }
.map-preview__overlay strong { color: var(--color-navy); }
.map-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  padding: 2px 4px 4px;
}
.map-load-button,
.map-open-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 16px;
  border-radius: 999px;
  font-weight: 900;
}
.map-load-button {
  border: 0;
  color: #fff;
  background: linear-gradient(135deg, var(--color-navy), #263b65);
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(23,33,58,.18);
}
.map-open-link {
  color: var(--color-navy);
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(21,33,61,.1);
}
.map-card > div:not(.google-map-shell) { padding: 18px 8px 8px; display: grid; gap: 4px; }
.map-card strong { color: var(--color-navy); }
.map-card span { color: var(--color-muted); }

.site-footer {
  position: relative;
  padding: 74px 0 28px;
  background: linear-gradient(135deg, #121b30, #24314f);
  color: #fff;
  overflow: hidden;
}
.footer-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 1.15fr) repeat(3, minmax(150px, .72fr));
  gap: 22px;
  align-items: stretch;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 18px;
  border-radius: 28px;
  padding: 22px;
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.12);
}
.footer-brand img { width: 72px; height: 72px; object-fit: contain; border-radius: 20px; background: transparent; }
.footer-brand h2, .footer-col h3 { color: #fff; margin-bottom: 6px; }
.footer-brand p { color: rgba(255,255,255,0.72); margin: 0; }
.footer-col { display: grid; align-content: start; gap: 10px; min-width: 0; }
.footer-col a, .footer-col p { color: rgba(255,255,255,0.76); margin: 0; overflow-wrap: anywhere; }
.footer-col a { width: fit-content; max-width: 100%; transition: color 180ms ease, transform 180ms ease; }
.footer-col a:hover { color: #fff; transform: translateX(-3px); }
.footer-contact p { line-height: 2.05; max-width: 32ch; }
.site-footer .reveal { opacity: 1; transform: none; }
.footer-bottom {
  position: relative;
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.64);
}


.page-hero { padding-top: 162px; padding-bottom: 64px; }
.content-section { padding-top: 20px; }
.content-card {
  background: var(--color-panel-strong);
  border-radius: 32px;
  padding: clamp(24px, 4vw, 48px);
}
.content-card a { color: var(--color-burgundy); font-weight: 800; }
.content-card h2 { font-size: clamp(1.55rem, 2.4vw, 2.25rem); margin-top: 30px; }
.content-card h2:first-child { margin-top: 0; }
.content-card ul, .content-card ol { color: var(--color-muted); }
.lead-paragraph { font-size: 1.12rem; color: #40506a; }
.styled-list { display: grid; gap: 12px; padding: 0; margin: 24px 0; list-style: none; }
.styled-list li {
  position: relative;
  padding: 14px 20px;
  border-radius: 18px;
  background: rgba(238,244,249,.72);
  color: #37445c;
}
.styled-list li::before { content: "✓"; color: var(--color-gold); font-weight: 900; margin-left: 8px; }
.practice-step-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; margin: 26px 0; }
.practice-step-list div {
  display: grid;
  gap: 4px;
  padding: 18px;
  border-radius: 20px;
  background: rgba(238,244,249,.75);
  border: 1px solid rgba(21,33,61,.06);
}
.practice-step-list span { color: var(--color-gold); font-weight: 900; }
.practice-step-list strong { color: var(--color-navy); }

.practice-layout,
.single-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  align-items: start;
}
.practice-article,
.single-content { min-width: 0; }
.practice-sidebar,
.article-sidebar { position: sticky; top: 124px; display: grid; gap: 16px; }
.sidebar-card { border-radius: 28px; padding: 24px; display: grid; gap: 12px; }
.sidebar-card > span { color: var(--color-burgundy); font-weight: 900; }
.sidebar-card strong { color: var(--color-navy); font-size: 1.35rem; }
.sidebar-card p { margin-bottom: 8px; font-size: .95rem; }
.sidebar-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-top: 1px solid rgba(21,33,61,.08);
  color: var(--color-navy);
  font-weight: 850;
}
.sidebar-link::after { content: "↢"; color: var(--color-gold); }

.blog-list-section { padding-top: 28px; }
.post-grid-list { display: grid; gap: 18px; }
.post-card {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 20px;
  border-radius: 30px;
  overflow: hidden;
  padding: 14px;
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.post-card:hover { transform: translateY(-6px); box-shadow: 0 30px 80px rgba(22,34,57,.14); }
.post-card-media { overflow: hidden; border-radius: 22px; background: rgba(238,244,249,.8); }
.post-card-media img { width: 100%; height: 100%; min-height: 210px; object-fit: cover; transition: transform 420ms ease; }
.post-card:hover .post-card-media img { transform: scale(1.04); }
.post-card-body { padding: 12px 8px 12px 0; align-self: center; }
.post-card-body h2 { font-size: clamp(1.35rem, 2.4vw, 2rem); margin: 8px 0 10px; }
.post-card-body h2 a { color: var(--color-navy); }
.post-card-body p { margin-bottom: 12px; }
.article-hero-grid { grid-template-columns: minmax(0, .95fr) minmax(320px, .8fr); }
.article-hero-media img { min-height: 330px; }
.single-content { font-size: 1.03rem; }
.single-content img { border-radius: 24px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--color-burgundy), #9b4551);
  color: #fff !important;
  box-shadow: 0 20px 44px rgba(114, 47, 55, 0.24);
}
.btn-ghost {
  background: rgba(255,255,255,0.72);
  color: var(--color-navy);
  border: 1px solid rgba(23,33,58,0.10);
}

.pagination-wrap { display: flex; justify-content: center; grid-column: 1 / -1; }
.nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.nav-links a, .nav-links span {
  display: inline-flex;
  min-width: 42px;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(21,33,61,.09);
  color: var(--color-navy);
  font-weight: 850;
}
.nav-links .current { background: var(--color-navy); color: #fff; }

.reveal {
  opacity: 1;
  transform: none;
}
.js .reveal {
  opacity: 1;
  transform: translate3d(0, 58px, 0);
  will-change: transform;
}
.js .reveal.is-visible {
  animation: revealRise 950ms cubic-bezier(.16, .84, .28, 1) both;
  animation-delay: var(--delay, 0ms);
}

@keyframes revealRise {
  from { opacity: 1; transform: translate3d(0, 58px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes cardFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes pulse {
  0% { opacity: .7; transform: scale(.98); }
  70%, 100% { opacity: 0; transform: scale(1.18); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .001ms !important; }
  .reveal, .js .reveal, .reveal.is-visible, .js .reveal.is-visible { opacity: 1; transform: none; animation: none !important; }
}

@media (max-width: 1080px) {
  .primary-nav {
    position: fixed;
    inset: 106px 18px auto;
    display: grid;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
    z-index: 99;
  }
  .nav-open .primary-nav { opacity: 1; visibility: visible; transform: translateY(0); }
  .snl-menu {
    display: grid;
    gap: 8px;
    padding: 16px;
    border-radius: 26px;
    background: rgba(255,255,255,.96);
    border: 1px solid rgba(21,33,61,.09);
    box-shadow: var(--shadow-soft);
    min-width: min(460px, calc(100vw - 36px));
  }
  .snl-menu a { justify-content: flex-start; width: 100%; }
  .snl-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: rgba(238,244,249,.7); margin-top: 4px; }
  .menu-toggle { display: block; }
  .brand { min-width: 0; }
  .service-grid, .process-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .about-grid, .feature-grid, .contact-grid, .practice-hero-grid, .article-hero-grid { grid-template-columns: 1fr; }
  .feature-single-image { order: -1; }
  .practice-layout, .single-layout { grid-template-columns: 1fr; }
  .practice-sidebar, .article-sidebar { position: static; }
}


@media (max-width: 980px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .container { width: min(100% - 28px, var(--container)); }
  .site-footer { padding: 56px 0 92px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-brand { grid-column: auto; align-items: flex-start; padding: 18px; border-radius: 24px; }
  .footer-brand img { width: 62px; height: 62px; border-radius: 18px; }
  .footer-col { display: grid; gap: 9px; padding-inline: 4px; }
  .footer-col h3 { margin-bottom: 4px; }
  .footer-contact p { max-width: none; }
  .footer-bottom { margin-top: 26px; padding-top: 18px; font-size: .86rem; line-height: 1.9; }

  .site-header { inset-top: 10px; }
  .admin-bar .site-header { top: 56px; }
  .header-inner { border-radius: 24px; min-height: 72px; padding: 8px 10px; }
  .brand-logo-wrap { width: 50px; height: 50px; border-radius: 16px; }
  .brand-copy strong { font-size: .88rem; }
  .brand-copy small { font-size: .72rem; }
  .section-pad { padding: 76px 0; }
  .section-lift { padding: 122px 0 64px; }
  .hero-section { min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .portrait-shell img { min-height: 330px; }
  .hero-note { position: relative; inset: auto; width: auto; margin-top: 14px; }
  .trust-strip { border-radius: 22px; }
  .service-grid, .process-grid, .article-grid, .metrics-grid, .feature-points, .practice-step-list { grid-template-columns: 1fr; }
  .metrics-grid div { border-right: 0; border-top: 1px solid rgba(21,33,61,.08); }
  .metrics-grid div:first-child { border-top: 0; }
  .about-visual img, .feature-single-image img, .practice-hero-image img, .article-hero-media img { min-height: 300px; }
  .post-card { grid-template-columns: 1fr; }
  .post-card-body { padding: 4px; }
  .map-card iframe, .map-preview, .map-preview img { height: 320px; min-height: 320px; }
}

/* Consultation request form and admin-facing request system styles */
.snl-consult-panel {
  align-items: stretch;
}
.contact-form-card {
  border-radius: 32px;
  padding: clamp(24px, 3vw, 36px);
}
.contact-form-card h3 {
  color: var(--color-navy);
  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
}
.snl-shortcode-form { margin-top: 20px; }
.snl-hidden-field {
  position: absolute !important;
  inline-size: 1px;
  block-size: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}
.snl-consult-form { display: grid; gap: 16px; }
.snl-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.snl-consult-form label {
  display: grid;
  gap: 8px;
  color: var(--color-navy);
  font-weight: 850;
  font-size: .93rem;
}
.snl-consult-form input,
.snl-consult-form select,
.snl-consult-form textarea {
  width: 100%;
  border: 1px solid rgba(21,33,61,.12);
  border-radius: 18px;
  background: rgba(255,255,255,.78);
  color: var(--color-ink);
  padding: 13px 15px;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
 .snl-consult-form input::placeholder,
.snl-consult-form textarea::placeholder {
  color: rgba(98, 112, 134, .42);
  opacity: 1;
}
.snl-consult-form textarea { min-height: 132px; resize: vertical; }
.snl-consult-form input:focus,
.snl-consult-form select:focus,
.snl-consult-form textarea:focus {
  border-color: rgba(182,138,58,.55);
  background: rgba(255,255,255,.96);
  box-shadow: 0 0 0 4px rgba(182,138,58,.12);
}
.snl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 12px 24px;
  border: 0;
  border-radius: 999px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
.snl-btn:hover { transform: translateY(-2px); }
.snl-btn-primary {
  background: linear-gradient(135deg, var(--color-burgundy), #9b4551);
  color: #fff !important;
  box-shadow: 0 20px 44px rgba(114, 47, 55, 0.24);
}
.snl-form-message {
  margin-bottom: 16px;
  padding: 13px 16px;
  border-radius: 18px;
  font-weight: 850;
}
.snl-form-success { color: #166534; background: #dcfce7; }
.snl-form-error { color: #991b1b; background: #fee2e2; }
.map-contact-details { padding: 18px 8px 8px; display: grid; gap: 8px; }
.contact-cards-under-map { margin-top: 16px; }
.map-contact-details .contact-card { background: rgba(255,255,255,.76); box-shadow: var(--shadow-tiny); }

@media (max-width: 760px) {
  .snl-form-row { grid-template-columns: 1fr; }
  .contact-form-card { padding: 22px; border-radius: 26px; }
}

.map-card .map-preview__overlay span { color: var(--color-burgundy); }
.map-card .map-preview__overlay strong { color: var(--color-navy); }

/* v1.3.0 sticky callback bar and footer clearance */
body.snl-theme {
  padding-bottom: 104px;
}

.snl-callback-bottom-bar {
  position: fixed;
  left: 50%;
  right: auto;
  bottom: 14px;
  z-index: 9999;
  width: fit-content;
  max-width: calc(100vw - 48px);
  transform: translateX(-50%);
  padding: 13px 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--color-navy), var(--color-navy-2) 68%, #0b172c);
  border: 1px solid rgba(182, 138, 58, .32);
  border-radius: 24px;
  box-shadow: 0 18px 46px rgba(20, 33, 61, .24), 0 8px 22px rgba(15, 23, 42, .14);
}
.admin-bar .snl-callback-bottom-bar { bottom: 14px; }
.snl-callback-bottom-inner {
  width: auto;
  display: grid;
  grid-template-columns: max-content max-content;
  gap: 16px;
  align-items: center;
}
.snl-callback-bottom-copy {
  display: grid;
  gap: 1px;
  min-width: 260px;
}
.snl-callback-bottom-copy strong {
  color: #fff;
  font-size: 1.08rem;
  line-height: 1.35;
  font-weight: 950;
  letter-spacing: -.015em;
}
.snl-callback-bottom-copy span {
  color: rgba(255,255,255,.80);
  font-size: .88rem;
  font-weight: 720;
  line-height: 1.6;
}
.snl-callback-bottom-form {
  display: grid;
  grid-template-columns: 270px 118px;
  gap: 10px;
  align-items: center;
  width: max-content;
  max-width: 100%;
}
.snl-callback-phone-wrap {
  position: relative;
  display: block;
  width: 270px;
  min-width: 270px;
}
.snl-callback-bottom-form input[type="tel"] {
  width: 100%;
  min-height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(182,138,58,.28);
  background: rgba(255,255,255,.96);
  color: transparent;
  caret-color: #111827;
  padding: 0 16px;
  font: inherit;
  font-size: .96rem;
  font-weight: 850;
  direction: ltr;
  text-align: left;
  letter-spacing: .06em;
  outline: none;
}
.snl-callback-bottom-form input[type="tel"]:focus {
  border-color: rgba(182,138,58,.82);
  box-shadow: 0 0 0 3px rgba(182,138,58,.16);
}
.snl-callback-bottom-form input[type="tel"]:invalid:not(:placeholder-shown) {
  border-color: rgba(182,138,58,.55);
  box-shadow: 0 0 0 3px rgba(182,138,58,.12);
}
.snl-callback-phone-mask {
  position: absolute;
  z-index: 1;
  inset-inline-start: 16px;
  top: 50%;
  transform: translateY(-50%);
  direction: ltr;
  text-align: left;
  color: rgba(17,24,39,.42);
  font: inherit;
  font-size: .96rem;
  font-weight: 850;
  letter-spacing: .06em;
  line-height: 1;
  pointer-events: none;
  white-space: nowrap;
}
.snl-callback-bottom-form button {
  min-height: 46px;
  width: 118px;
  border: 0;
  border-radius: 999px;
  padding: 0 18px;
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-2));
  color: #141824;
  font: inherit;
  font-size: .94rem;
  font-weight: 950;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(167,125,59,.22);
  transition: transform .18s ease, box-shadow .18s ease;
  white-space: nowrap;
}
.snl-callback-bottom-form button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(167,125,59,.30);
}
.snl-callback-bottom-form button:disabled {
  cursor: progress;
  opacity: .84;
}
.snl-callback-bottom-message,
.snl-callback-bottom-message-success {
  margin: 0;
  padding: 9px 12px;
  border-radius: 16px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(182,138,58,.22);
  color: #fff;
  font-size: .86rem;
  font-weight: 850;
  line-height: 1.55;
}
.snl-callback-bottom-message-success {
  min-width: 380px;
  grid-column: 2 / 3;
  justify-self: stretch;
  text-align: center;
  padding: 12px 18px;
  font-size: .94rem;
  font-weight: 950;
}
.snl-callback-bottom-bar .snl-hidden-field {
  position: absolute !important;
  left: -10000px;
  inline-size: 1px;
  block-size: 1px;
  opacity: 0;
  overflow: hidden;
}
.site-footer {
  padding-bottom: 122px;
}

@media (max-width: 760px) {
  body.snl-theme { padding-bottom: 136px; }
  .site-footer { padding-bottom: 136px; }
  .snl-callback-bottom-bar {
    left: 10px;
    right: 10px;
    bottom: 10px;
    width: auto;
    max-width: none;
    transform: none;
    padding: 8px 9px;
    border-radius: 19px;
  }
  .admin-bar .snl-callback-bottom-bar { bottom: 10px; }
  .snl-callback-bottom-inner {
    width: 100%;
    grid-template-columns: auto minmax(116px, 1fr) auto;
    grid-auto-rows: auto;
    gap: 6px;
  }
  .snl-callback-bottom-copy { display: contents; min-width: 0; }
  .snl-callback-bottom-copy strong {
    order: 1;
    align-self: center;
    max-width: 74px;
    font-size: .96rem;
    line-height: 1.18;
  }
  .snl-callback-bottom-copy span {
    order: 4;
    grid-column: 1 / -1;
    display: block;
    margin-top: 2px;
    color: rgba(255,255,255,.88);
    font-size: .72rem;
    line-height: 1.55;
    text-align: center;
  }
  .snl-callback-bottom-form { display: contents; }
  .snl-callback-phone-wrap {
    order: 2;
    width: auto;
    min-width: 0;
  }
  .snl-callback-bottom-form input[type="tel"] {
    min-height: 38px;
    padding: 0 12px;
    font-size: .84rem;
  }
  .snl-callback-phone-mask {
    inset-inline-start: 12px;
    font-size: .84rem;
  }
  .snl-callback-bottom-form button {
    order: 3;
    min-height: 38px;
    width: auto;
    padding: 0 11px;
    font-size: .82rem;
  }
  .snl-callback-bottom-message,
  .snl-callback-bottom-message-success {
    grid-column: 1 / -1;
    min-width: 0;
    padding: 8px 10px;
    font-size: .78rem;
  }
}

/* v1.3.2 enriched SEO practice pages */
.practice-resource-section {
  margin-top: 42px;
  padding: clamp(20px, 3vw, 30px);
  border-radius: 26px;
  background: rgba(20, 33, 61, 0.045);
  border: 1px solid rgba(21, 33, 61, 0.08);
}
.practice-resource-section h2 { margin-top: 0; }
.practice-resource-section .styled-list { margin-bottom: 0; }
.content-card h3 {
  margin-top: 24px;
  color: var(--color-navy);
  font-size: clamp(1.08rem, 1.8vw, 1.32rem);
}
.practice-step-list p {
  margin: 0;
  font-size: .94rem;
  color: var(--color-muted);
}
