:root {
  --bg: #f7f1e6;
  --paper: #fffaf2;
  --ink: #2a1814;
  --muted: #6b5348;
  --line: #e4d4c2;
  --saffron: #c9922a;
  --wine: #7a1d1d;
  --wine-deep: #4e1010;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Vazirmatn, Tahoma, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.9;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap {
  width: min(1100px, calc(100% - 2rem));
  margin: 0 auto;
}

.top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 241, 230, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.15rem;
}

.brand img {
  width: 42px;
  height: 42px;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.15rem;
}

nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.95rem;
}

nav a:hover { color: var(--wine); }

.hero {
  padding: 4.5rem 0 3.5rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}

.kicker {
  color: var(--saffron);
  font-weight: 600;
  letter-spacing: 0.04em;
  margin: 0 0 0.4rem;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  margin: 0 0 0.75rem;
  line-height: 1.25;
}

.lead {
  font-size: 1.12rem;
  color: var(--muted);
  margin: 0 0 1.5rem;
}

.hero-art {
  min-height: 280px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 30% 20%, #f3d27a 0, transparent 42%),
    radial-gradient(circle at 80% 80%, #8b2424 0, transparent 46%),
    linear-gradient(160deg, #5a1414, #2a0c0c);
  box-shadow: 0 18px 50px rgba(80, 20, 16, 0.18);
}

.hero-art span {
  display: grid;
  place-items: center;
  height: 100%;
  min-height: 280px;
  color: #f6e7b8;
  font-size: 1.4rem;
  font-weight: 700;
}

section { padding: 3.2rem 0; }

h2 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.sub {
  margin: 0 0 1.6rem;
  color: var(--muted);
}

.about p { margin: 0 0 1rem; max-width: 70ch; }

.points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.6rem;
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.2rem 1.15rem;
}

.card h3 { margin: 0 0 0.4rem; font-size: 1.05rem; }
.card p { margin: 0; color: var(--muted); }

.branches {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.branch h3 { margin: 0 0 0.2rem; }
.branch p { margin: 0; color: var(--muted); }
.branch a { color: var(--wine); text-decoration: none; font-weight: 600; }

.gallery {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: 180px 180px;
  gap: 0.7rem;
}

.gallery .g {
  border-radius: 16px;
  background-size: cover;
  background-position: center;
  border: 1px solid var(--line);
}

.gallery .g:first-child { grid-row: 1 / span 2; }

.g1 { background-image: url("https://images.unsplash.com/photo-1596797038530-2c107229654b?auto=format&fit=crop&w=1200&q=80"); }
.g2 { background-image: url("https://images.unsplash.com/photo-1512058564366-18510be2db19?auto=format&fit=crop&w=800&q=80"); }
.g3 { background-image: url("https://images.unsplash.com/photo-1604908176997-125f25cc6f3d?auto=format&fit=crop&w=800&q=80"); }
.g4 { background-image: url("https://images.unsplash.com/photo-1543353071-873f17a7a088?auto=format&fit=crop&w=800&q=80"); }
.g5 { background-image: url("https://images.unsplash.com/photo-1604909052743-94e838986d24?auto=format&fit=crop&w=800&q=80"); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.hours { font-weight: 600; color: var(--wine); }

footer {
  border-top: 1px solid var(--line);
  padding: 1.4rem 0 2rem;
}

.foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.socials {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--wine);
  color: #fff;
  text-decoration: none;
}

.circle svg { width: 20px; height: 20px; }

.support {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.92rem;
}

.copy { color: var(--muted); font-size: 0.88rem; }

@media (max-width: 860px) {
  .hero, .points, .branches, .contact-grid { grid-template-columns: 1fr; }
  .gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 160px 160px 160px;
  }
  .gallery .g:first-child { grid-row: auto; grid-column: 1 / span 2; min-height: 200px; }
  nav { display: none; }
}
