/* ═══════════════════════════════════════════════════
   SERVICE — FRONTEND DEVELOPMENT (frontend-development.html)
   استایل‌های اختصاصی این صفحه. پایه (کرسر، ناوبری،
   فوتر، reveal) از styles.css می‌آد؛ اینجا فقط هیرو،
   کارت‌های تعریف، ارزش‌ها، خروجی‌ها، فرآیند و CTA.
   ساختار کاملاً هم‌خانواده‌ی service-uiux.css — کلاس‌های
   sv-* مشترک هستن تا هر دو صفحه سرویس یک زبان بصری داشته باشن.
═══════════════════════════════════════════════════ */

body.service-page{ background:var(--cream); }

/* ── SV HERO ── */
.sv-hero{
  position:relative;
  padding:calc(68px + 8vh) 5vw 6vh;
  overflow:hidden;
  border-bottom:1px solid rgba(27,42,107,.08);
}
.sv-hero-noise{
  position:absolute;inset:0;pointer-events:none;z-index:0;
  background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
}
.sv-hero-noise::after{
  content:'';position:absolute;right:-15vw;top:-25vh;
  width:55vw;height:55vw;border-radius:50%;
  background:radial-gradient(circle,rgba(0,191,255,.09) 0%,rgba(27,42,107,.04) 45%,transparent 70%);
}
.sv-hero-inner{ position:relative;z-index:1; direction:ltr; }
html[lang="fa"] .sv-hero-inner{ direction:rtl; }

.sv-back{
  display:inline-flex;align-items:center;gap:9px;
  font-size:.75rem;font-weight:600;letter-spacing:.05em;
  color:rgba(27,42,107,.5);text-decoration:none;
  margin-bottom:36px;
  transition:color .2s,gap .2s;
}
.sv-back:hover{ color:var(--navy);gap:13px; }
.sv-back-arrow{
  display:flex;align-items:center;justify-content:center;
  width:26px;height:26px;border-radius:50%;
  border:1px solid rgba(27,42,107,.18);
  flex-shrink:0;transition:border-color .2s;
}
.sv-back:hover .sv-back-arrow{ border-color:var(--neon); }
html[lang="fa"] .sv-back-arrow svg{ transform:scaleX(-1); }

.sv-hero-label{
  display:flex;align-items:center;gap:10px;
  font-size:.72rem;font-weight:500;letter-spacing:.14em;text-transform:uppercase;
  color:rgba(27,42,107,.35);
  margin-bottom:20px;
}
.sv-hero-label::before{
  content:'';display:block;width:20px;height:1px;
  background:var(--neon);box-shadow:0 0 6px var(--neon);
}
html[lang="fa"] .sv-hero-label{ font-family:var(--font-fa-body); letter-spacing:0; }

.sv-hero-title{
  font-family:'Syne',sans-serif;font-weight:800;
  font-size:clamp(2.4rem,8.5vw,6rem);
  line-height:.94;letter-spacing:-.04em;color:var(--navy);
  overflow:hidden;margin-bottom:24px;
  direction:ltr;
}
/* کلمه‌ی انگلیسی طولانی (Development/conversation و...) روی این
   صفحات معمولاً از خط اول بلندتره؛ چون هر دو خط از یک font-size
   مشترک ارث می‌برن، این سطر فقط برای neon-word یک سقف مجزا و
   محافظه‌کارانه‌تر تعریف می‌کنه تا کلمه‌ی بلند هیچ‌وقت از صفحه
   بیرون نزنه، بدون اینکه خط اول (کوتاه‌تر) رو کوچیک کنه. */
.sv-hero-title .neon-word{
  font-size:clamp(1.8rem,7vw,6rem);
}
.sv-hero-title .line{ display:block;overflow:hidden; }
.sv-hero-title .line span{
  display:block;transform:translateY(110%);
  animation:slideUp .9s cubic-bezier(.16,1,.3,1) forwards;
}
.sv-hero-title .line:nth-child(1) span{ animation-delay:.1s; }
.sv-hero-title .line:nth-child(2) span{ animation-delay:.22s; }

.sv-hero-desc{
  font-family:var(--font-fa-body);
  font-size:.95rem;font-weight:300;line-height:2;
  color:rgba(27,42,107,.55);
  max-width:520px;
  opacity:0;animation:fadeIn .8s .5s forwards;
}
html[lang="en"] .sv-hero-desc{ font-family:var(--font-body); line-height:1.8; }

.sv-hero-tags{
  display:flex;flex-wrap:wrap;gap:10px;
  margin-top:28px;
  opacity:0;animation:fadeIn .8s .65s forwards;
}
.sv-tag{
  font-family:var(--font-fa-body);
  font-size:.74rem;font-weight:500;
  color:rgba(27,42,107,.6);
  padding:8px 16px;border-radius:100px;
  background:rgba(27,42,107,.04);
  border:1px solid rgba(27,42,107,.12);
  transition:border-color .2s,color .2s;
}
.sv-tag:hover{ border-color:rgba(0,191,255,.45); color:var(--navy); }
html[lang="en"] .sv-tag{ font-family:var(--font-body); letter-spacing:.02em; }

/* ── SHARED SECTION HEAD ── */
.sv-head{ margin-bottom:32px; }
.sv-section-label{
  display:flex;align-items:center;gap:10px;
  font-size:.72rem;font-weight:500;letter-spacing:.14em;text-transform:uppercase;
  color:rgba(27,42,107,.35);
  margin-bottom:12px;
}
.sv-section-label::before{
  content:'';display:block;width:20px;height:1px;
  background:var(--neon);box-shadow:0 0 6px var(--neon);
}
html[lang="fa"] .sv-section-label{ font-family:var(--font-fa-body); letter-spacing:0; }
.sv-section-title{
  font-family:'Syne',sans-serif;font-weight:800;
  font-size:clamp(1.4rem,3vw,2.1rem);
  line-height:1.25;letter-spacing:-.02em;
  color:var(--navy);
  max-width:620px;
}
html[lang="fa"] .sv-section-title{
  font-family:var(--font-fa-heading);letter-spacing:0;line-height:1.6;
}

/* ── SV WHAT ──
   برخلاف ui-ux-design (دو کارت هم‌عرض)، اینجا ستون‌ها نامتقارن‌ان:
   کارت «کد تمیز» به‌عنوان تمرکز اصلی این سرویس بزرگ‌تره و کمی
   پایین‌تر می‌شینه؛ همین offset ظریف باعث می‌شه چیدمان یکسان با
   صفحه UI/UX به‌نظر نرسه، بدون اینکه از خانواده گرید/کارت خارج بشیم. */
.sv-what{ padding:64px 5vw 20px; }
.sv-what-grid{
  display:grid;grid-template-columns:1.3fr 1fr;gap:20px;
  align-items:end;
}
.sv-what-card{
  position:relative;overflow:hidden;
  padding:34px 32px;
  border-radius:22px;
  background:rgba(27,42,107,.04);
  border:1px solid rgba(27,42,107,.1);
  transition:border-color .25s,background .25s,transform .3s cubic-bezier(.16,1,.3,1);
}
.sv-what-card:hover{
  border-color:rgba(0,191,255,.35);
  background:rgba(0,191,255,.04);
  transform:translateY(-3px);
}
.sv-what-grid .sv-what-card:first-child{ padding:42px 36px; }
.sv-what-grid .sv-what-card:last-child{ margin-top:28px; }
.sv-what-tag{
  display:inline-flex;align-items:center;
  font-family:'Syne',sans-serif;font-weight:800;
  font-size:.7rem;letter-spacing:.1em;
  color:var(--neon);
  padding:5px 12px;border-radius:100px;
  background:rgba(0,191,255,.1);
  border:1px solid rgba(0,191,255,.3);
  direction:ltr;
}
.sv-what-name{
  font-family:'Syne',sans-serif;font-weight:800;
  font-size:1.15rem;letter-spacing:-.01em;
  color:var(--navy);
  margin:18px 0 10px;
}
html[lang="fa"] .sv-what-name{ font-family:var(--font-fa-heading);letter-spacing:0; }
.sv-what-desc{
  font-family:var(--font-fa-body);
  font-size:.88rem;font-weight:300;line-height:2;
  color:rgba(27,42,107,.55);
}
html[lang="en"] .sv-what-desc{ font-family:var(--font-body); line-height:1.8; }

/* ── SV VALUE ──
   به‌جای چیدمان کاملاً هم‌تراز UI/UX، اینجا کارت‌های زوج کمی
   پایین‌تر می‌شینن (staggered) — یک ریتم بصری ملایم که این
   صفحه رو از هم‌خانواده‌ش متمایز می‌کنه بدون تغییر در تعداد یا
   محتوای واقعی گرید. */
.sv-value{ padding:64px 5vw 20px; }
.sv-value-grid{
  display:grid;grid-template-columns:repeat(4,1fr);gap:16px;
}
.sv-value-item{
  display:flex;flex-direction:column;
  padding:28px 24px;
  border-radius:18px;
  border:1px solid rgba(27,42,107,.1);
  transition:border-color .25s,background .25s,transform .3s cubic-bezier(.16,1,.3,1);
}
.sv-value-item:hover{ border-color:rgba(0,191,255,.35);background:rgba(0,191,255,.04); }
.sv-value-grid .sv-value-item:nth-child(2n){ margin-top:22px; }
.sv-value-num{
  font-family:'Syne',sans-serif;font-weight:800;font-size:.78rem;
  color:var(--neon);letter-spacing:.08em;
  direction:ltr;
}
.sv-value-name{
  font-family:'Syne',sans-serif;font-weight:800;
  font-size:1rem;letter-spacing:-.01em;
  color:var(--navy);
  margin:14px 0 8px;
}
html[lang="fa"] .sv-value-name{ font-family:var(--font-fa-heading);letter-spacing:0; }
.sv-value-desc{
  font-family:var(--font-fa-body);
  font-size:.84rem;font-weight:300;line-height:1.95;
  color:rgba(27,42,107,.55);
}
html[lang="en"] .sv-value-desc{ font-family:var(--font-body); line-height:1.75; }

/* ── SV INCLUDES ──
   ستون‌ها اینجا سه‌تایی‌ان (به‌جای دوتایی UI/UX) و به‌جای دایره‌ی
   تیک، یک شماره‌ی بزرگ کم‌رنگ پشت هر آیتم می‌شینه — حس یک
   فهرست خط‌تولیدمانند به‌جای چک‌لیست، که با ماهیت مرحله‌به‌مرحله‌ی
   ساخت (build) هم‌خونی بیشتری داره. */
.sv-includes{ padding:64px 5vw 20px; }
.sv-inc-list{
  list-style:none;
  display:grid;grid-template-columns:repeat(3,1fr);
  gap:2px;
  border-radius:20px;overflow:hidden;
  background:rgba(27,42,107,.1);
  border:1px solid rgba(27,42,107,.1);
  counter-reset:sv-inc;
}
.sv-inc-item{
  display:flex;flex-direction:column;align-items:flex-start;gap:12px;
  position:relative;
  padding:28px 24px 24px;
  background:var(--cream);
  transition:background .25s;
  counter-increment:sv-inc;
}
.sv-inc-item:hover{ background:rgba(0,191,255,.05); }
.sv-inc-item::before{
  content:counter(sv-inc,decimal-leading-zero);
  position:absolute;top:16px;inset-inline-end:18px;
  font-family:'Syne',sans-serif;font-weight:800;
  font-size:1.6rem;letter-spacing:-.03em;
  color:rgba(27,42,107,.08);
  direction:ltr;
  pointer-events:none;
}
.sv-inc-check{
  position:relative;flex-shrink:0;
  width:20px;height:20px;border-radius:50%;
  border:1px solid rgba(0,191,255,.45);
  background:rgba(0,191,255,.08);
}
.sv-inc-check::after{
  content:'';position:absolute;
  top:6px;left:6px;
  width:6px;height:3px;
  border-left:1.6px solid var(--neon);
  border-bottom:1.6px solid var(--neon);
  transform:rotate(-45deg);
}
.sv-inc-text{ display:flex;flex-direction:column;gap:6px; }
.sv-inc-text strong{
  font-family:'Syne',sans-serif;font-weight:800;
  font-size:.95rem;letter-spacing:-.01em;
  color:var(--navy);
}
html[lang="fa"] .sv-inc-text strong{ font-family:var(--font-fa-heading);letter-spacing:0; }
.sv-inc-text span{
  font-family:var(--font-fa-body);
  font-size:.84rem;font-weight:300;line-height:1.95;
  color:rgba(27,42,107,.55);
}
html[lang="en"] .sv-inc-text span{ font-family:var(--font-body); line-height:1.75; }

/* ── SV PROCESS ── */
.sv-process{ padding:64px 5vw 72px; }
.sv-proc-list{
  list-style:none;
  display:grid;grid-template-columns:repeat(4,1fr);
  gap:18px;
}
.sv-proc-step{
  position:relative;
  padding-top:22px;
  border-top:1px solid rgba(27,42,107,.14);
  transition:border-color .25s;
}
.sv-proc-step::before{
  content:'';position:absolute;top:-1px;inset-inline-start:0;
  width:0;height:1px;
  background:var(--neon);box-shadow:0 0 6px var(--neon);
  transition:width .4s cubic-bezier(.16,1,.3,1);
}
.sv-proc-step:hover::before{ width:100%; }
.sv-proc-num{
  font-family:'Syne',sans-serif;font-weight:800;font-size:.78rem;
  color:var(--neon);letter-spacing:.08em;
  direction:ltr;
}
.sv-proc-name{
  font-family:'Syne',sans-serif;font-weight:800;
  font-size:1.05rem;letter-spacing:-.01em;
  color:var(--navy);
  margin:12px 0 8px;
}
html[lang="fa"] .sv-proc-name{ font-family:var(--font-fa-heading);letter-spacing:0; }
.sv-proc-desc{
  font-family:var(--font-fa-body);
  font-size:.84rem;font-weight:300;line-height:1.95;
  color:rgba(27,42,107,.55);
}
html[lang="en"] .sv-proc-desc{ font-family:var(--font-body); line-height:1.75; }

/* ═══════════════════════════════
   SERVICE PAGES — FINAL CTA (shared)
═══════════════════════════════ */
.sv-final-cta{
  position:relative;
  display:grid;
  grid-template-columns:minmax(130px,.35fr) minmax(0,1fr) auto;
  align-items:center;
  gap:clamp(28px,5vw,72px);
  margin:0 5vw 100px;
  padding:clamp(34px,5vw,64px);
  overflow:hidden;
  border:1px solid rgba(27,42,107,.12);
  border-radius:24px;
  background:
    radial-gradient(circle at 92% 8%,rgba(0,191,255,.13),transparent 34%),
    rgba(255,255,255,.24);
}
.sv-final-cta::after{
  content:'';position:absolute;right:-90px;bottom:-140px;
  width:300px;height:300px;
  border:1px solid rgba(0,191,255,.16);border-radius:50%;
  pointer-events:none;
}
.sv-final-cta-index{
  position:relative;z-index:1;display:flex;flex-direction:column;gap:12px;
  font-family:'Syne',sans-serif;font-size:.68rem;font-weight:700;
  letter-spacing:.1em;text-transform:uppercase;color:rgba(27,42,107,.38);
}
.sv-final-cta-index > span:first-child{
  font-size:clamp(2rem,4vw,3.8rem);line-height:1;letter-spacing:-.05em;color:var(--navy);
}
.sv-final-cta-index-line{
  width:64px;height:1px;background:var(--neon);box-shadow:0 0 8px rgba(0,191,255,.55);
}
.sv-final-cta-content{ position:relative;z-index:1;max-width:660px; }
.sv-final-cta-title{
  margin-bottom:14px;font-family:'Syne',sans-serif;
  font-size:clamp(1.8rem,4vw,3.2rem);font-weight:800;line-height:1.08;
  letter-spacing:-.03em;color:var(--navy);
}
.sv-final-cta-copy{
  max-width:540px;font-family:var(--font-body);
  font-size:.92rem;font-weight:300;line-height:1.85;color:rgba(27,42,107,.58);
}
.sv-final-cta-link{
  position:relative;z-index:1;display:inline-flex;align-items:center;gap:18px;
  padding:10px 10px 10px 22px;border:1px solid rgba(27,42,107,.18);
  border-radius:100px;color:var(--navy);font-size:.8rem;font-weight:700;
  text-decoration:none;white-space:nowrap;
  transition:background .25s,border-color .25s,transform .25s;
}
.sv-final-cta-arrow{
  display:flex;align-items:center;justify-content:center;
  width:38px;height:38px;border-radius:50%;
  background:var(--navy);color:var(--cream);
  transition:background .25s,transform .3s;
}
.sv-final-cta-link:hover{ border-color:var(--neon);background:rgba(0,191,255,.06);transform:translateY(-2px); }
.sv-final-cta-link:hover .sv-final-cta-arrow{ background:var(--neon);color:var(--navy);transform:rotate(-45deg); }

html[lang="fa"] .sv-final-cta-index,
html[lang="fa"] .sv-final-cta-copy,
html[lang="fa"] .sv-final-cta-link{ font-family:var(--font-fa-body);letter-spacing:0; }
html[lang="fa"] .sv-final-cta-title{ font-family:var(--font-fa-heading);letter-spacing:0;line-height:1.35; }
html[lang="fa"] .sv-final-cta-link{ padding:10px 22px 10px 10px; }
html[lang="fa"] .sv-final-cta-arrow svg{ transform:scaleX(-1); }
html[lang="fa"] .sv-final-cta-link:hover .sv-final-cta-arrow{ transform:rotate(45deg); }

@media(max-width:1000px){
  .sv-final-cta{ grid-template-columns:110px minmax(0,1fr); }
  .sv-final-cta-link{ grid-column:2;justify-self:start; }
}
@media(max-width:600px){
  .sv-final-cta{
    grid-template-columns:1fr;gap:28px;
    margin:0 6vw 72px;padding:30px 24px;border-radius:18px;
  }
  .sv-final-cta-index{ flex-direction:row;align-items:center; }
  .sv-final-cta-index > span:first-child{ font-size:1.8rem; }
  .sv-final-cta-index-line{ width:36px; }
  .sv-final-cta-title{ font-size:2rem; }
  .sv-final-cta-link{ grid-column:auto;width:100%;justify-content:space-between; }
}
/* ══════════════════════════════
   RESPONSIVE
══════════════════════════════ */
@media(max-width:1000px){
  .sv-value-grid{ grid-template-columns:1fr 1fr; }
  .sv-value-grid .sv-value-item:nth-child(2n){ margin-top:0; }
  .sv-proc-list{ grid-template-columns:1fr 1fr; }
  .sv-inc-list{ grid-template-columns:1fr 1fr; }
}

@media(max-width:900px){
  .sv-cta{ grid-template-columns:1fr;gap:26px; }
  .sv-cta-button{ align-self:flex-start; }
}

@media(max-width:760px){
  .sv-what-grid{ grid-template-columns:1fr; }
  .sv-what-grid .sv-what-card:last-child{ margin-top:0; }
  .sv-inc-list{ grid-template-columns:1fr; }
}

@media(max-width:600px){
  .sv-hero{ padding:calc(60px + 6vh) 6vw 5vh; }
  .sv-hero-desc{ max-width:100%; }
  .sv-what,
  .sv-value,
  .sv-includes{ padding:44px 6vw 8px; }
  .sv-process{ padding:44px 6vw 56px; }
  .sv-what-card{ padding:26px 6vw;border-radius:18px; }
  .sv-value-grid{ grid-template-columns:1fr;gap:12px; }
  .sv-value-item{ padding:22px 6vw; }
  .sv-inc-item{ padding:22px 6vw; }
  .sv-proc-list{ grid-template-columns:1fr;gap:24px; }
  .sv-cta{ padding:38px 6vw; }
  .sv-cta-sub{ display:none; }
  .sv-cta-button{ width:100%;justify-content:center;padding:14px 22px; }
  html[lang="fa"] .sv-cta-button{ padding:14px 22px; }
}

@media(max-width:380px){
  .sv-tag{ font-size:.7rem;padding:7px 13px; }
}