/* ═══════════════════════════════════════
   EDITORIAL LUXURY — Lawyer Landing
   ═══════════════════════════════════════ */

@font-face {
  font-family: 'Vazir';
  src: url('./fonts/Vazir.woff2') format('woff2'),
       url('./fonts/Vazir.woff') format('woff');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Vazir';
  src: url('./fonts/Vazir-Bold.woff2') format('woff2'),
       url('./fonts/Vazir-Bold.woff') format('woff');
  font-weight: 700;
  font-display: swap;
}

:root {
  --bg: #0a0a0a;
  --bg-alt: #0e0e0e;
  --text: #f5f0e8;
  --muted: #8a8578;
  --dim: #4a4640;
  --gold: #c9a86a;
  --gold-hi: #e8d5a8;
  --line: rgba(245, 240, 232, 0.08);
  --line-strong: rgba(245, 240, 232, 0.15);
  --pad: clamp(1.25rem, 5vw, 5rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Vazir', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(201, 168, 106, 0.04), transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(201, 168, 106, 0.03), transparent 40%);
  pointer-events: none;
  z-index: -1;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

::selection { background: var(--gold); color: var(--bg); }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* ═══ Cursor ═══ */
.cursor {
  position: fixed;
  top: 0; left: 0;
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s, background 0.3s;
  mix-blend-mode: difference;
}
.cursor.big {
  width: 60px;
  height: 60px;
  background: rgba(201, 168, 106, 0.4);
}
@media (hover: none) { .cursor { display: none; } }

/* ═══ Progress ═══ */
.progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--gold), var(--gold-hi));
  z-index: 9998;
  transition: width 0.15s linear;
}

/* ═══ Nav ═══ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem var(--pad);
  transition: padding 0.4s var(--ease), background 0.4s, border-color 0.4s, backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.on {
  padding: 1rem var(--pad);
  background: rgba(10, 10, 10, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--line);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.logo-mark {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  transition: all 0.4s var(--ease);
}
.nav-logo:hover .logo-mark {
  background: var(--gold);
  color: var(--bg);
  border-color: var(--gold);
  transform: rotate(-10deg);
}
.logo-name {
  font-size: 0.9rem;
  color: var(--text);
}
@media (max-width: 640px) { .logo-name { display: none; } }

.nav-links {
  display: flex;
  gap: 2.5rem;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.nav-links a {
  font-size: 0.85rem;
  color: var(--muted);
  position: relative;
  padding: 6px 0;
  transition: color 0.3s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.4s var(--ease);
}
.nav-links a:hover {
  color: var(--text);
}
.nav-links a:hover::after {
  width: 100%;
}
@media (max-width: 900px) { .nav-links { display: none; } }

.nav-tel {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 0.8rem;
  color: var(--text);
  transition: all 0.4s var(--ease);
  font-variant-numeric: tabular-nums;
}
.nav-tel:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.pulse {
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  position: relative;
}
.pulse::after {
  content: '';
  position: absolute;
  inset: -4px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  animation: pulse 2s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(2); opacity: 0; }
}
@media (max-width: 900px) { .nav-tel { display: none; } }

/* ═══ Hero ═══ */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 9rem var(--pad) 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-meta {
  display: flex;
  gap: 2rem;
  font-size: 0.68rem;
  color: var(--muted);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: auto;
  padding-top: 1rem;
}
@media (max-width: 640px) {
  .hero-meta {
    gap: 1rem;
    font-size: 0.6rem;
    flex-wrap: wrap;
  }
}

.hero-title {
  font-size: clamp(4rem, 15vw, 15rem);
  font-weight: 700;
  line-height: 0.88;
  letter-spacing: -0.045em;
  margin: 2rem 0;
  display: flex;
  flex-direction: column;
}
.hero-title .line {
  display: block;
  overflow: hidden;
  padding-block: 0.02em;
}
.hero-title .line-shift {
  padding-inline-start: clamp(1rem, 12vw, 9rem);
  display: flex;
  align-items: baseline;
  gap: 0.05em;
}
.hero-title .w {
  display: inline-block;
  background: linear-gradient(180deg, var(--text) 0%, var(--gold) 140%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transform: translateY(110%);
  animation: rise 1.3s var(--ease) forwards 0.2s;
}
.hero-title .line:nth-child(2) .w {
  animation-delay: 0.35s;
}
@keyframes rise {
  to { transform: translateY(0); }
}

.hero-title .asterisk {
  display: inline-block;
  color: var(--gold);
  font-size: 0.28em;
  vertical-align: top;
  margin-top: 0.3em;
  opacity: 0;
  animation: fade 0.8s var(--ease) forwards 1.4s;
  transform: translateY(-0.2em);
}
@keyframes fade { to { opacity: 1; } }

.hero-bottom {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: end;
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
  margin-top: auto;
  opacity: 0;
  animation: riseShort 1s var(--ease) forwards 1s;
}
@keyframes riseShort {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 768px) {
  .hero-bottom { grid-template-columns: 1fr; gap: 2rem; }
}

.hero-tag {
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  color: var(--muted);
  line-height: 1.85;
  max-width: 520px;
}
.hero-tag em {
  font-style: normal;
  color: var(--gold);
}

.hero-r {
  display: flex;
  justify-content: flex-end;
}
@media (max-width: 768px) { .hero-r { justify-content: flex-start; } }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.85rem;
  border: 1px solid var(--text);
  border-radius: 100px;
  font-size: 0.85rem;
  color: var(--text);
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: translateY(100%);
  transition: transform 0.5s var(--ease);
  z-index: -1;
}
.btn:hover {
  color: var(--bg);
  border-color: var(--gold);
}
.btn:hover::before {
  transform: translateY(0);
}
.btn svg {
  transition: transform 0.4s var(--ease);
}
.btn:hover svg {
  transform: translateX(-4px);
}

.hero-scroll {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.6rem;
  color: var(--dim);
  letter-spacing: 4px;
}
.scroll-bar {
  width: 1px;
  height: 42px;
  background: var(--line);
  position: relative;
  overflow: hidden;
}
.scroll-bar span {
  position: absolute;
  top: -50%;
  left: 0;
  width: 100%;
  height: 50%;
  background: var(--gold);
  animation: scrollAnim 2.4s ease-in-out infinite;
}
@keyframes scrollAnim {
  0% { top: -50%; }
  100% { top: 100%; }
}
@media (max-width: 768px) { .hero-scroll { display: none; } }

/* ═══ Marquee ═══ */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 2rem 0;
  overflow: hidden;
  background: var(--bg-alt);
}
.marquee-inner {
  display: inline-flex;
  gap: 2.5rem;
  align-items: center;
  animation: scrollX 60s linear infinite;
  white-space: nowrap;
  will-change: transform;
}
.marquee-inner span {
  font-size: clamp(1rem, 2.2vw, 1.4rem);
  color: var(--muted);
}
.marquee-inner i {
  color: var(--gold);
  font-size: 0.5rem;
  font-style: normal;
}
@keyframes scrollX {
  to { transform: translateX(50%); }
}

/* ═══ Sections ═══ */
.container {
  max-width: 1400px;
  margin: 0 auto;
}

.sec-head {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 3rem 0 4rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(3rem, 8vw, 6rem);
}
.sec-num {
  font-size: 0.7rem;
  color: var(--gold);
  letter-spacing: 3px;
  font-variant-numeric: tabular-nums;
}
.sec-name {
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 3px;
  text-transform: uppercase;
}

/* ═══ About ═══ */
.about {
  padding: clamp(4rem, 8vw, 6rem) var(--pad) clamp(6rem, 14vw, 10rem);
  background: var(--bg);
}

.about-title {
  font-size: clamp(2.25rem, 7vw, 6rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: clamp(3rem, 7vw, 5rem);
  max-width: 1200px;
}
.about-title .word {
  display: block;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.about-title .word:nth-child(2) { transition-delay: 0.1s; }
.about-title .word:nth-child(3) { transition-delay: 0.2s; }
.about-title.in .word {
  opacity: 1;
  transform: translateY(0);
}
.about-title em {
  font-style: italic;
  color: var(--gold);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
}

.about-lead p {
  font-size: clamp(1.05rem, 1.9vw, 1.35rem);
  line-height: 1.75;
  color: var(--text);
  max-width: 600px;
}
.about-lead em {
  font-style: normal;
  color: var(--gold);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}
.stat {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}
.stat-num {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 700;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.stat-lbl {
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 1px;
}

/* ═══ Services ═══ */
.services {
  padding: clamp(4rem, 8vw, 6rem) 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.services .container {
  padding: 0 var(--pad);
}

.services-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.service {
  display: grid;
  grid-template-columns: 60px 1.4fr 1.6fr auto;
  align-items: center;
  gap: 2rem;
  padding: 2rem var(--pad);
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: padding 0.5s var(--ease);
  overflow: hidden;
}
.service::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    rgba(201, 168, 106, 0.06), transparent 60%);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}
.service:hover {
  padding-inline: calc(var(--pad) + 1.5rem);
}
.service:hover::before {
  opacity: 1;
}
@media (max-width: 900px) {
  .service {
    grid-template-columns: 50px 1fr auto;
    padding: 1.75rem var(--pad);
    gap: 1rem;
  }
  .service:hover { padding-inline: var(--pad); }
}

.s-num {
  font-size: 0.72rem;
  color: var(--gold);
  letter-spacing: 2px;
  font-variant-numeric: tabular-nums;
  opacity: 0.7;
}

.s-title {
  font-size: clamp(1.35rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--text);
  transition: color 0.3s, transform 0.5s var(--ease);
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.service:hover .s-title {
  color: var(--gold);
  transform: translateX(-6px);
}

.s-desc {
  font-size: 0.85rem;
  color: var(--muted);
  letter-spacing: 0.5px;
  line-height: 1.7;
  transition: color 0.3s;
}
.service:hover .s-desc { color: var(--text); }
@media (max-width: 900px) {
  .s-desc {
    grid-column: 2 / -1;
    font-size: 0.78rem;
    margin-top: 0.5rem;
  }
}

.s-arrow {
  width: 48px;
  height: 48px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  transition: all 0.5s var(--ease);
  flex-shrink: 0;
}
.service:hover .s-arrow {
  background: var(--gold);
  color: var(--bg);
  border-color: var(--gold);
  transform: rotate(-45deg);
}
@media (max-width: 640px) {
  .s-arrow {
    width: 40px;
    height: 40px;
  }
}

/* ═══ License ═══ */
.license {
  padding: clamp(6rem, 14vw, 11rem) var(--pad);
  text-align: center;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}
.license::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(900px, 90vw);
  height: min(900px, 90vw);
  background: radial-gradient(circle, rgba(201, 168, 106, 0.1), transparent 60%);
  border-radius: 50%;
  pointer-events: none;
  animation: pulseGlow 6s ease-in-out infinite;
}
@keyframes pulseGlow {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
  50% { transform: translate(-50%, -50%) scale(1.15); opacity: 1; }
}

.lic-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.lic-lbl {
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 5px;
  text-transform: uppercase;
}
.lic-num {
  font-size: clamp(5rem, 20vw, 15rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  background: linear-gradient(180deg, var(--gold-hi) 0%, var(--gold) 60%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-variant-numeric: tabular-nums;
  filter: drop-shadow(0 0 60px rgba(201, 168, 106, 0.35));
}
.lic-sub {
  font-size: 0.85rem;
  color: var(--muted);
  letter-spacing: 1px;
}

/* ═══ Contact ═══ */
.contact {
  padding: clamp(4rem, 8vw, 6rem) var(--pad) clamp(6rem, 14vw, 10rem);
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
}

.contact-title {
  font-size: clamp(2.5rem, 9vw, 8rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: clamp(3rem, 7vw, 5rem);
  max-width: 900px;
}
.contact-title em {
  font-style: italic;
  color: var(--gold);
}

.contact-main {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 3rem;
  transition: padding 0.5s var(--ease), border-color 0.3s;
}
.contact-main:hover {
  padding-inline: 1.5rem;
  border-color: var(--gold);
}
.cm-lbl {
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 3px;
  text-transform: uppercase;
  flex-shrink: 0;
}
.cm-num {
  font-size: clamp(1.6rem, 4.5vw, 3.25rem);
  font-weight: 700;
  color: var(--text);
  text-align: right;
  font-variant-numeric: tabular-nums;
  transition: color 0.3s;
  letter-spacing: -0.02em;
}
.contact-main:hover .cm-num {
  color: var(--gold);
}
.cm-icon {
  width: 52px;
  height: 52px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
  transition: all 0.5s var(--ease);
}
.contact-main:hover .cm-icon {
  background: var(--gold);
  color: var(--bg);
  border-color: var(--gold);
  transform: rotate(-45deg);
}
@media (max-width: 640px) {
  .contact-main {
    grid-template-columns: 1fr auto;
    gap: 1rem;
  }
  .cm-lbl { grid-column: 1 / -1; }
  .cm-num { font-size: 1.35rem; text-align: left; }
}

.contact-channels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
@media (max-width: 900px) {
  .contact-channels { grid-template-columns: 1fr; }
}

.channel {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  border: 1px solid var(--line);
  background: var(--bg);
  transition: all 0.4s var(--ease);
}
.channel:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
}

.ch-icon {
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
  transition: all 0.4s var(--ease);
}
.channel:hover .ch-icon {
  background: var(--gold);
  color: var(--bg);
  border-color: var(--gold);
}

.ch-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.ch-t {
  font-size: 0.9rem;
  color: var(--text);
  font-weight: 500;
}
.ch-s {
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  direction: ltr;
  text-align: right;
}
[dir="rtl"] .ch-s {
  direction: ltr;
  text-align: right;
}

.ch-arrow {
  font-size: 1.1rem;
  color: var(--dim);
  transition: all 0.4s var(--ease);
}
.channel:hover .ch-arrow {
  color: var(--gold);
  transform: translateX(-4px);
}

/* ═══ Final ═══ */
.final {
  padding: clamp(6rem, 14vw, 12rem) var(--pad);
  text-align: center;
  border-top: 1px solid var(--line);
}
.final-txt {
  font-size: clamp(2.25rem, 7vw, 6rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
  max-width: 900px;
  margin: 0 auto;
}
.final-txt em {
  font-style: italic;
  background: linear-gradient(180deg, var(--gold-hi), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ═══ Footer ═══ */
.footer {
  padding: 2.5rem var(--pad);
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.foot-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.foot-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.foot-brand > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.foot-brand > div > span {
  font-size: 0.9rem;
  color: var(--text);
}
.foot-brand small {
  font-size: 0.7rem;
  color: var(--muted);
}
.foot-info {
  display: flex;
  gap: 1.5rem;
  font-size: 0.75rem;
  color: var(--dim);
}
@media (max-width: 640px) {
  .foot-container {
    flex-direction: column;
    text-align: center;
  }
  .foot-brand { flex-direction: column; }
}

/* ═══ Reveal ═══ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ═══ Reduced Motion ═══ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .hero-title .w { transform: none !important; }
  .hero-title .asterisk { opacity: 1 !important; }
  .hero-bottom { opacity: 1 !important; }
  .about-title .word { opacity: 1 !important; transform: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}