:root {
  --graphite: #32373f;
  --graphite-2: #262a30;
  --graphite-3: #555c66;
  --coral: #e9623e;
  --coral-soft: #f17c5d;
  --cream: #faf4ef;
  --cream-2: #fffaf6;
  --paper: #fffdfb;
  --white: #ffffff;
  --line: rgba(50, 55, 63, 0.14);
  --line-strong: rgba(50, 55, 63, 0.24);
  --muted: #71767e;
  --radius: 26px;
  --container: 1180px;
  --shadow: 0 24px 70px rgba(57, 44, 36, 0.09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--graphite);
  background: var(--cream);
  font-family: "Yekan Bakh", "Vazirmatn", Tahoma, Arial, sans-serif;
  line-height: 1.85;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  background:
    radial-gradient(circle at 10% 8%, rgba(233, 98, 62, 0.09), transparent 26rem),
    radial-gradient(circle at 88% 24%, rgba(50, 55, 63, 0.055), transparent 28rem),
    var(--cream);
}

::selection { background: var(--coral); color: var(--white); }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
:focus-visible { outline: 3px solid rgba(233, 98, 62, 0.42); outline-offset: 4px; }

.skip-link {
  position: fixed;
  top: 12px;
  right: 12px;
  z-index: 999;
  transform: translateY(-160%);
  padding: 10px 16px;
  background: var(--graphite);
  color: var(--white);
  border-radius: 10px;
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section-shell { padding: 110px 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 16px 0;
  background: rgba(250, 244, 239, .82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 10px 30px rgba(55, 45, 39, .04); }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 28px; }
.brand { justify-self: start; }
.brand img { width: 166px; height: auto; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a { font-size: 13px; color: var(--muted); transition: color .2s ease; }
.main-nav a:hover { color: var(--graphite); }
.header-cta { justify-self: end; }
.menu-toggle { display: none; border: 0; background: none; padding: 10px; cursor: pointer; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--graphite); margin: 5px 0; border-radius: 10px; transition: .2s; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 15px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-small { min-height: 43px; padding: 0 17px; font-size: 12px; border-radius: 12px; }
.btn-dark { color: var(--white); background: var(--graphite); box-shadow: 0 8px 24px rgba(50,55,63,.13); }
.btn-primary { background: var(--coral); color: var(--white); box-shadow: 0 14px 34px rgba(233, 98, 62, .18); }
.btn-light { background: var(--white); color: var(--graphite); box-shadow: 0 14px 36px rgba(0,0,0,.12); }
.arrow { font-size: 19px; line-height: 1; }

.eyebrow { display: inline-flex; align-items: center; gap: 11px; margin-bottom: 16px; font-size: 12px; font-weight: 600; letter-spacing: .02em; color: var(--coral); }
.eyebrow span { width: 29px; height: 2px; background: currentColor; border-radius: 5px; }
.eyebrow-light { color: #ffb39e; }

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-weight: 600; letter-spacing: -.035em; }
h1 { margin-bottom: 26px; max-width: 780px; font-size: clamp(46px, 6vw, 82px); line-height: 1.28; }
h1 em { color: var(--coral); font-style: normal; }
h2 { margin-bottom: 18px; font-size: clamp(32px, 4.2vw, 54px); line-height: 1.4; }
h3 { margin-bottom: 8px; font-size: 21px; }
p { color: var(--muted); }

.hero { min-height: calc(100svh - 74px); display: grid; align-items: center; padding-top: 72px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 72px; }
.hero-lead { max-width: 720px; font-size: 18px; line-height: 2; }
.hero-actions { display: flex; align-items: center; gap: 24px; margin-top: 34px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; border-bottom: 1px solid var(--line-strong); padding-bottom: 3px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 20px 28px; margin-top: 38px; padding-top: 26px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.hero-points div { display: flex; align-items: center; gap: 8px; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 5px rgba(233,98,62,.09); }

.hero-visual { position: relative; min-height: 540px; display: grid; place-items: center; }
.visual-frame {
  position: relative;
  width: min(100%, 490px);
  aspect-ratio: 1 / 1.05;
  border: 1px solid var(--line);
  border-radius: 32px;
  background:
    linear-gradient(rgba(50,55,63,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(50,55,63,.045) 1px, transparent 1px),
    rgba(255,255,255,.38);
  background-size: 34px 34px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.visual-frame::before { content:""; position:absolute; inset: 12%; border: 1px solid rgba(233,98,62,.16); border-radius: 50%; transform: rotate(-8deg); }
.visual-topline { height: 58px; display: flex; align-items: center; gap: 10px; padding: 0 20px; border-bottom: 1px solid var(--line); direction: ltr; font-size: 9px; letter-spacing: .19em; color: var(--muted); }
.visual-index { margin-left: auto; color: var(--graphite); }
.pulse-dot { width: 7px; height: 7px; background: var(--coral); border-radius: 50%; box-shadow: 0 0 0 7px rgba(233,98,62,.1); }
.visual-core { position: absolute; inset: 74px 0 44px; display: grid; place-items: center; }
.core-mark { position: relative; z-index: 3; width: 118px; height: 118px; display: grid; place-items: center; border-radius: 28px; background: var(--paper); box-shadow: 0 22px 50px rgba(50,55,63,.14); border: 1px solid rgba(50,55,63,.09); }
.core-mark img { width: 82px; height: 82px; }
.orbit { position: absolute; border: 1px solid rgba(50,55,63,.18); border-radius: 50%; }
.orbit-a { width: 235px; height: 235px; }
.orbit-b { width: 320px; height: 210px; transform: rotate(34deg); }
.orbit-c { width: 330px; height: 200px; transform: rotate(-31deg); }
.node { position: absolute; width: 12px; height: 12px; border-radius: 50%; background: var(--coral); border: 4px solid var(--paper); box-shadow: 0 4px 15px rgba(233,98,62,.25); }
.node-a { transform: translate(110px, -82px); }
.node-b { transform: translate(-144px, 30px); }
.node-c { transform: translate(98px, 112px); background: var(--graphite); box-shadow: none; }
.visual-caption { position: absolute; left: 20px; right: 20px; bottom: 18px; display: flex; direction: ltr; align-items: center; gap: 8px; color: var(--muted); font-size: 8px; letter-spacing: .12em; }
.visual-caption i { height: 1px; flex: 1; background: var(--line); }
.floating-note { position: absolute; padding: 9px 14px; border: 1px solid var(--line); border-radius: 99px; background: rgba(255,253,251,.82); backdrop-filter: blur(12px); box-shadow: 0 8px 24px rgba(50,55,63,.06); color: var(--graphite-3); direction: ltr; font-size: 10px; letter-spacing: .08em; }
.note-a { top: 19%; left: 1%; }
.note-b { bottom: 19%; right: 0; }

.principles { padding-top: 28px; padding-bottom: 80px; }
.principles-grid { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.principle { padding: 38px 32px; border-left: 1px solid var(--line); }
.principle:last-child { border-left: 0; }
.principle-no { display: block; margin-bottom: 26px; color: var(--coral); font: 600 10px/1 Arial, sans-serif; letter-spacing: .12em; direction:ltr; text-align:right; }
.principle h2 { margin-bottom: 12px; font-size: 22px; }
.principle p { margin-bottom: 0; font-size: 14px; }

.section-head { display: grid; grid-template-columns: 1.2fr .8fr; gap: 68px; align-items: end; margin-bottom: 54px; }
.section-head h2 { max-width: 720px; margin-bottom: 0; }
.section-head > p { margin-bottom: 4px; font-size: 15px; }

.services { background: var(--paper); border-top: 1px solid rgba(50,55,63,.06); border-bottom: 1px solid rgba(50,55,63,.06); }
.service-list { border-top: 1px solid var(--line-strong); }
.service-row { display: grid; grid-template-columns: 62px 1fr 1.15fr 42px; align-items: center; gap: 28px; min-height: 144px; border-bottom: 1px solid var(--line); transition: background .25s ease, padding .25s ease; }
.service-row:hover { background: rgba(250,244,239,.5); padding-inline: 14px; }
.service-num { color: var(--coral); direction:ltr; font: 600 10px/1 Arial, sans-serif; }
.service-title-wrap h3 { margin-bottom: 1px; font-size: 24px; }
.service-title-wrap span { color: #9a9da2; direction:ltr; display:block; font: 500 9px/1.6 Arial,sans-serif; letter-spacing:.14em; text-align:right; }
.service-row p { margin:0; font-size:14px; }
.service-icon { width: 36px; height: 36px; display:grid; place-items:center; border:1px solid var(--line); border-radius:50%; color:var(--coral); }

.approach { background: var(--graphite); color: var(--white); }
.approach .section-head p, .approach p { color: #b8bcc3; }
.approach h2 { color: var(--white); }
.timeline { display: grid; grid-template-columns: repeat(4,1fr); position: relative; padding-top: 34px; }
.timeline::before { content:""; position:absolute; top: 40px; right: 0; left: 0; height:1px; background: rgba(255,255,255,.16); }
.timeline-item { position:relative; padding: 34px 0 0 32px; }
.timeline-item + .timeline-item { border-right: 1px solid rgba(255,255,255,.08); padding-right: 28px; }
.timeline-dot { position:absolute; top:1px; right:0; width:15px; height:15px; border-radius:50%; background:var(--coral); border:5px solid var(--graphite); box-shadow:0 0 0 1px rgba(255,255,255,.25); }
.timeline-item span { color:#ffb39e; font-size:10px; }
.timeline-item h3 { color:var(--white); margin-top:11px; }
.timeline-item p { font-size:13px; margin-bottom:0; }

.about-grid { display:grid; grid-template-columns:.9fr 1.1fr; gap:90px; align-items:center; }
.about-card { position:relative; width:min(100%,440px); aspect-ratio:1/.95; margin:auto; padding:28px; border-radius:30px; border:1px solid var(--line); background:var(--paper); box-shadow:var(--shadow); overflow:hidden; }
.about-card::before { content:""; position:absolute; width:320px; height:320px; border-radius:50%; background:rgba(233,98,62,.08); left:-140px; bottom:-140px; }
.about-label { direction:ltr; display:block; font:600 9px/1 Arial,sans-serif; letter-spacing:.18em; color:var(--muted); }
.about-symbol { width:150px; height:150px; display:grid; place-items:center; margin:58px auto 26px; border-radius:36px; background:var(--cream); }
.about-symbol img { width:106px; }
.about-lines { display:flex; gap:7px; width:70%; margin:auto; direction:ltr; }
.about-lines i { flex:1; height:2px; background:var(--line); }
.about-lines i:first-child { background:var(--coral); flex:.35; }
.about-card p { direction:ltr; text-align:center; margin-top:26px; font:600 9px/1 Arial,sans-serif; letter-spacing:.2em; color:var(--graphite); }
.about-copy > p { font-size:16px; margin-bottom:14px; }
.about-tags { display:flex; flex-wrap:wrap; gap:10px; margin-top:30px; direction:ltr; justify-content:flex-end; }
.about-tags span { padding:8px 12px; border:1px solid var(--line); border-radius:99px; color:var(--muted); font:500 9px/1.4 Arial,sans-serif; letter-spacing:.04em; background:rgba(255,255,255,.45); }

.faq { background: var(--cream-2); border-top:1px solid var(--line); }
.faq-grid { display:grid; grid-template-columns:.75fr 1.25fr; gap:90px; align-items:start; }
.faq-heading { position:sticky; top:130px; }
.faq-heading p { max-width:390px; }
.faq-list { border-top:1px solid var(--line-strong); }
.faq-item { border-bottom:1px solid var(--line); }
.faq-item summary { list-style:none; cursor:pointer; display:flex; justify-content:space-between; gap:30px; align-items:center; padding:24px 0; font-size:16px; font-weight:600; }
.faq-item summary::-webkit-details-marker { display:none; }
.faq-item summary span { width:30px; height:30px; display:grid; place-items:center; border:1px solid var(--line); border-radius:50%; font-size:18px; font-weight:300; transition:transform .2s ease; }
.faq-item[open] summary span { transform:rotate(45deg); color:var(--coral); }
.faq-answer { padding:0 0 25px 50px; color:var(--muted); font-size:14px; }

.contact { padding-top:80px; }
.contact-panel { position:relative; overflow:hidden; border-radius:34px; padding:62px; background:var(--graphite); color:var(--white); display:grid; grid-template-columns:1fr auto; gap:36px 60px; align-items:center; }
.contact-panel::after { content:""; position:absolute; width:330px; height:330px; left:-100px; bottom:-170px; border-radius:50%; border:1px solid rgba(255,255,255,.08); box-shadow:0 0 0 70px rgba(255,255,255,.025),0 0 0 140px rgba(255,255,255,.015); }
.contact-copy { position:relative; z-index:1; }
.contact-copy h2 { color:var(--white); max-width:720px; }
.contact-copy p { color:#b9bdc4; max-width:700px; margin-bottom:0; }
.contact-panel .btn { position:relative; z-index:1; }
.contact-note { position:relative; z-index:1; grid-column:1/-1; padding-top:20px; border-top:1px solid rgba(255,255,255,.1); color:#8f949c; font-size:10px; }

.site-footer { padding:42px 0 28px; }
.footer-main { display:grid; grid-template-columns:1fr auto auto; gap:52px; align-items:start; padding-bottom:34px; }
.footer-brand img { width:176px; margin-bottom:15px; }
.footer-brand p { max-width:470px; margin-bottom:0; font-size:13px; }
.footer-links { display:grid; gap:9px; font-size:12px; color:var(--muted); }
.footer-links a:hover { color:var(--coral); }
.footer-top { font-size:11px; border-bottom:1px solid var(--line-strong); padding-bottom:4px; }
.footer-bottom { display:flex; justify-content:space-between; gap:20px; padding-top:20px; border-top:1px solid var(--line); color:#93979c; font-size:9px; direction:ltr; letter-spacing:.08em; }
.footer-bottom span:first-child { direction:rtl; letter-spacing:0; }

.reveal { opacity:0; transform:translateY(18px); transition:opacity .6s ease, transform .6s cubic-bezier(.22,1,.36,1); }
.reveal.is-visible { opacity:1; transform:none; }

@media (max-width: 980px) {
  .header-inner { grid-template-columns:1fr auto; }
  .menu-toggle { display:block; justify-self:end; }
  .header-cta { display:none; }
  .main-nav { position:absolute; top:75px; left:20px; right:20px; display:none; flex-direction:column; align-items:stretch; gap:0; padding:10px; background:rgba(255,253,251,.98); border:1px solid var(--line); border-radius:18px; box-shadow:var(--shadow); }
  .main-nav.open { display:flex; }
  .main-nav a { padding:13px 12px; border-radius:10px; }
  .main-nav a:hover { background:var(--cream); }
  .hero-grid, .about-grid, .faq-grid { grid-template-columns:1fr; }
  .hero { padding-top:42px; }
  .hero-visual { min-height:490px; }
  .section-head { grid-template-columns:1fr; gap:20px; }
  .principles-grid { grid-template-columns:1fr; }
  .principle { border-left:0; border-bottom:1px solid var(--line); }
  .principle:last-child { border-bottom:0; }
  .service-row { grid-template-columns:46px 1fr 36px; gap:18px; padding:24px 0; }
  .service-row > p { grid-column:2/4; }
  .timeline { grid-template-columns:1fr 1fr; gap:40px 0; }
  .faq-heading { position:static; }
  .contact-panel { grid-template-columns:1fr; padding:44px; }
  .contact-panel .btn { justify-self:start; }
  .footer-main { grid-template-columns:1fr 1fr; }
  .footer-brand { grid-column:1/-1; }
}

@media (max-width: 640px) {
  .container { width:min(calc(100% - 28px), var(--container)); }
  .section-shell { padding:78px 0; }
  .site-header { padding:10px 0; }
  .brand img { width:140px; }
  h1 { font-size:clamp(40px,12vw,58px); }
  h2 { font-size:clamp(29px,9vw,40px); }
  .hero { min-height:auto; padding-top:54px; }
  .hero-lead { font-size:15px; }
  .hero-actions { align-items:flex-start; flex-direction:column; }
  .hero-points { gap:12px 20px; }
  .hero-visual { min-height:390px; }
  .visual-frame { width:100%; border-radius:24px; }
  .core-mark { width:92px; height:92px; border-radius:23px; }
  .core-mark img { width:65px; }
  .orbit-a { width:190px; height:190px; }
  .orbit-b,.orbit-c { width:255px; height:160px; }
  .floating-note { display:none; }
  .principle { padding:28px 8px; }
  .service-row { grid-template-columns:38px 1fr 34px; }
  .service-title-wrap h3 { font-size:20px; }
  .timeline { grid-template-columns:1fr; padding-top:10px; }
  .timeline::before { top:10px; bottom:0; right:6px; left:auto; width:1px; height:auto; }
  .timeline-item, .timeline-item + .timeline-item { border-right:0; padding:22px 30px 8px 0; }
  .timeline-dot { top:26px; right:0; }
  .about-grid { gap:55px; }
  .about-card { border-radius:24px; }
  .about-symbol { margin-top:40px; width:120px; height:120px; }
  .about-symbol img { width:85px; }
  .faq-grid { gap:38px; }
  .faq-answer { padding-left:10px; }
  .contact { padding-top:55px; }
  .contact-panel { padding:34px 24px; border-radius:24px; }
  .footer-main { grid-template-columns:1fr; gap:30px; }
  .footer-brand { grid-column:auto; }
  .footer-bottom { flex-direction:column; align-items:flex-start; }
}

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