@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@400;500;600;700;800;900&display=swap');

:root {
  --black: #070707;
  --black-2: #111111;
  --panel: #171717;
  --gold: #ffb900;
  --gold-2: #d88c00;
  --white: #f7f7f7;
  --muted: #bcbcbc;
  --border: rgba(255,185,0,.45);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Vazirmatn, Tahoma, Arial, sans-serif;
  background: var(--black);
  color: var(--white);
  line-height: 1.8;
}
a { color: inherit; text-decoration: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 8px clamp(16px, 4vw, 55px);
  background: rgba(5,5,5,.94);
  border-bottom: 1px solid rgba(255,185,0,.2);
  backdrop-filter: blur(12px);
}
.brand { width: 145px; flex: 0 0 auto; }
.brand img {
  display: block;
  /*width: 100%;*/
  height: 62px;
  object-fit: cover;
  object-position: center 32%;
  border-radius: 12px;
  mix-blend-mode: screen;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 3vw, 42px);
  flex: 1;
}
.nav a {
  position: relative;
  padding: 10px 0;
  font-weight: 700;
  color: #eee;
}
.nav a::after {
  content: "";
  position: absolute;
  right: 0; left: 0; bottom: 0;
  height: 3px;
  transform: scaleX(0);
  background: var(--gold);
  transition: .25s;
}
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.call-btn {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--gold);
  color: #000;
  font-size: 24px;
  font-weight: 900;
}
.menu-btn { display:none; background:none; color:white; border:0; font-size:28px; }

.hero {
  min-height: 390px;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(0,0,0,.92) 5%, rgba(0,0,0,.55) 48%, rgba(0,0,0,.8)),
    url("../assets/branch1.jpg") center/cover;
}
.hero::before, .hero::after {
  content:"";
  position:absolute;
  width: 34%; height: 100%;
  top:0;
  transform: skewX(-25deg);
  opacity:.95;
}
.hero::before { right:-18%; background:var(--gold); }
.hero::after { left:-22%; background:#111; border-right:14px solid var(--gold); }
.hero-content { position:relative; z-index:2; text-align:center; }
.eyebrow { font-size: clamp(24px, 4vw, 42px); margin:0; font-weight:800; }
.hero h1 {
  font-size: clamp(48px, 8vw, 96px);
  line-height: 1.1;
  margin: 0;
  font-weight: 900;
}
.hero h1 span { color:var(--gold); }
.gold-line {
  height: 3px; width: min(420px, 60vw);
  background: var(--gold);
  margin: 18px auto;
}
.tagline { font-size: clamp(17px, 2vw, 26px); font-weight:600; }

.update-section {
  position:relative;
  min-height:420px;
  display:grid;
  place-items:center;
  overflow:hidden;
  background:#0c0c0c;
}
.update-image {
  position:absolute; inset:0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.25), rgba(0,0,0,.86)),
    url("../assets/branch1.jpg") center/cover;
  filter: brightness(.62);
}
.update-card {
  position:relative;
  z-index:2;
  width:min(580px, 90%);
  padding:40px 45px;
  text-align:center;
  background:rgba(10,10,10,.82);
  border:1px solid var(--gold);
  border-radius:26px;
  box-shadow:0 0 50px rgba(0,0,0,.6);
}
.tool-icon {
  width:68px;height:68px;margin:0 auto 12px;
  display:grid;place-items:center;
  border:2px solid var(--gold);
  border-radius:50%;
  color:var(--gold);
  font-size:30px;
}
.update-card p:first-of-type { color:var(--gold); font-weight:800; margin:0; }
.update-card h2 { font-size:clamp(34px,5vw,56px); line-height:1.4; margin:8px 0; }
.update-card h2 span { color:var(--gold); }
.divider { width:80px;height:2px;background:var(--gold);margin:18px auto; }
.small { color:#ddd; font-size:17px; }

.services {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  background:#151515;
  border-block:1px solid rgba(255,185,0,.18);
}
.service {
  padding:35px 22px;
  text-align:center;
  border-left:1px solid rgba(255,185,0,.18);
}
.service:last-child { border-left:0; }
.service-icon { color:var(--gold); font-size:38px; font-weight:900; }
.service h3 { margin:6px 0 2px; font-size:20px; }
.service p { margin:0; color:var(--muted); font-size:14px; }

.branches { padding:70px clamp(16px,4vw,70px); background:linear-gradient(#111,#080808); }
.section-title {
  display:flex; align-items:center; gap:20px; justify-content:center;
  margin-bottom:45px;
}
.section-title span { width:90px; height:2px; background:var(--gold); }
.section-title h2 { margin:0; font-size:clamp(28px,4vw,45px); }

.branch-grid {
  max-width:1400px; margin:auto;
  display:grid; grid-template-columns:repeat(3,1fr); gap:22px;
}
.branch-card {
  background:linear-gradient(145deg,#171717,#0b0b0b);
  border:1px solid var(--border);
  border-radius:24px;
  overflow:hidden;
  padding-bottom:20px;
  box-shadow:0 15px 45px rgba(0,0,0,.35);
  transition:transform .25s, box-shadow .25s;
}
.branch-card:hover { transform:translateY(-8px); box-shadow:0 25px 60px rgba(0,0,0,.55); }
.branch-title {
  width:max-content; max-width:85%;
  margin:0 auto -2px;
  padding:9px 28px;
  background:var(--gold);
  color:#090909;
  border-radius:0 0 16px 16px;
  font-size:23px;
  font-weight:900;
  position:relative; z-index:2;
}
.branch-card img {
  width:100%; height:220px;
  object-fit:cover;
  display:block;
}
.address { padding:18px 22px 10px; display:flex; gap:12px; align-items:flex-start; }
.pin { color:var(--gold); font-size:26px; line-height:1; }
.address p { margin:0; color:#eee; font-size:16px; }
.address strong { color:var(--gold); }
.map-btn {
  display:block; width:calc(100% - 44px); margin:8px 22px 0;
  text-align:center; padding:10px;
  border:1px solid var(--gold);
  border-radius:12px;
  color:var(--gold);
  font-weight:800;
  transition:.2s;
}
.map-btn:hover { background:var(--gold); color:#000; }

footer {
  padding:35px 20px 45px;
  text-align:center;
  background:#050505;
  border-top:1px solid rgba(255,185,0,.25);
}
.footer-brand { font-size:28px; font-weight:900; }
.footer-brand span { color:var(--gold); }
.phones { display:flex; justify-content:center; flex-wrap:wrap; gap:14px; margin:15px 0; }
.phones a {
  padding:10px 25px;
  border:1px solid var(--gold);
  border-radius:12px;
  font-size:20px;
  font-weight:800;
}
footer p { color:#aaa; margin:5px 0 0; }

.to-top {
  position:fixed; left:20px; bottom:20px;
  width:46px;height:46px;border:1px solid var(--gold);
  border-radius:50%; background:#111;color:var(--gold);
  font-size:24px; cursor:pointer;
  opacity:0; pointer-events:none; transition:.2s;
}
.to-top.show { opacity:1; pointer-events:auto; }

@media (max-width: 900px) {
  .nav { display:none; }
  .menu-btn { display:block; margin-right:auto; }
  .site-header.menu-open .nav {
    display:flex; position:absolute; top:78px; right:0; left:0;
    flex-direction:column; gap:4px; padding:18px;
    background:#090909; border-bottom:1px solid var(--gold);
  }
  .services { grid-template-columns:repeat(2,1fr); }
  .branch-grid { grid-template-columns:1fr; max-width:650px; }
}
@media (max-width: 560px) {
  .brand { width:115px; }
  .call-btn { width:42px;height:42px; }
  .hero { min-height:320px; }
  .update-card { padding:28px 20px; }
  .services { grid-template-columns:1fr 1fr; }
  .service { padding:25px 10px; }
  .service h3 { font-size:16px; }
  .service p { font-size:12px; }
  .section-title span { width:35px; }
}
