/* ============================================================
   باآرایش | style.css  v1.0.3
   طراحی لوکس RTL مطابق نمونه 3.html
   ============================================================ */

:root {
  --rose: #b76e79;
  --rose-d: #8f4f5c;
  --rose-l: #d69aa5;
  --gold: #c9a227;
  --ink: #241a1d;
  --ink-2: #4b3b40;
  --muted: #7d6b70;
  --bg: #fffafb;
  --soft: #f9eef1;
  --line: #f0dde2;
  --white: #fff;
  --green: #2e9e6b;
  --red: #d9534f;
  --r: 18px;
  --r-sm: 12px;
  --sh: 0 10px 30px rgba(140, 80, 95, 0.09);
  --sh-lg: 0 18px 50px rgba(140, 80, 95, 0.14);
  --tr: 0.25s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Vazirmatn, Tahoma, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.9;
  font-size: 15px;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

.main {
  min-height: 45vh;
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 60px;
  font-weight: 700;
  font-size: 14px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: var(--tr);
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--rose), var(--rose-d));
  color: #fff;
}

.btn-primary:hover {
  opacity: 0.92;
  transform: translateY(-2px);
  box-shadow: var(--sh);
}

.btn-outline {
  border-color: var(--rose);
  color: var(--rose);
  background: transparent;
}

.btn-outline:hover {
  background: var(--rose);
  color: #fff;
}

.btn-dark {
  background: var(--ink);
  color: #fff;
}

.btn-light {
  background: #fff;
  color: var(--rose-d);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 13px;
}

.btn-lg {
  padding: 15px 34px;
  font-size: 15px;
}

.btn-block {
  display: block;
  width: 100%;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ========== TOPBAR ========== */
.topbar {
  background: var(--ink);
  color: #e6d4d9;
  font-size: 13px;
}

.topbar-in {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 40px;
  gap: 16px;
}

.topbar-note i {
  color: var(--gold);
  font-style: normal;
  margin: 0 6px;
}

.topbar-links {
  display: flex;
  gap: 18px;
  align-items: center;
}

.topbar-links a:hover {
  color: #fff;
}

.topbar-tel {
  color: var(--gold);
  font-weight: 700;
}

/* ========== HEADER ========== */
.hdr {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: var(--tr);
}

.hdr.sticky {
  box-shadow: var(--sh);
}

.hdr-in {
  display: flex;
  align-items: center;
  gap: 22px;
  height: 80px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--rose), var(--rose-d));
  color: #fff;
  font-weight: 900;
  font-size: 20px;
}

.brand-txt b {
  display: block;
  font-size: 19px;
  font-weight: 900;
  color: var(--rose-d);
  line-height: 1.3;
}

.brand-txt i {
  display: block;
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--muted);
  font-style: normal;
}

.brand-light .brand-txt b {
  color: #fff;
}

.brand-light .brand-txt i {
  color: #b9a2a8;
}

.search {
  flex: 1;
  position: relative;
  max-width: 520px;
}

.search input {
  width: 100%;
  padding: 12px 46px 12px 18px;
  border: 1.5px solid var(--line);
  border-radius: 60px;
  background: var(--soft);
  outline: none;
  font-size: 14px;
  transition: var(--tr);
}

.search input:focus {
  border-color: var(--rose-l);
  background: #fff;
}

.search button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 6px;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: var(--rose);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.hdr-act {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
}

.ico-btn {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-2);
  transition: var(--tr);
}

.ico-btn:hover {
  background: var(--rose);
  color: #fff;
}

.ico-btn .dot {
  position: absolute;
  top: -3px;
  left: -3px;
  min-width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gold);
  color: #3d2f00;
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

.burger {
  display: none;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 12px;
  background: var(--soft);
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  justify-content: center;
}

.burger span {
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

/* ========== NAV ========== */
.nav {
  border-top: 1px solid var(--line);
  background: #fff;
}

.nav-in {
  display: flex;
  gap: 26px;
  align-items: center;
  height: 52px;
  font-size: 15px;
  font-weight: 600;
}

.nav-in > a, .drop > a {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--ink-2);
  transition: var(--tr);
}

.nav-in > a:hover, .drop:hover > a {
  color: var(--rose);
}

.nav-in a.on {
  color: var(--rose);
}

.drop {
  position: relative;
}

.drop-menu {
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 230px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  box-shadow: var(--sh-lg);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: var(--tr);
  z-index: 95;
}

.drop:hover .drop-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.drop-menu a {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
}

.drop-menu a:hover {
  background: var(--soft);
  color: var(--rose);
}

.drop-all {
  border-top: 1px solid var(--line);
  margin-top: 6px;
  color: var(--rose) !important;
  font-weight: 800 !important;
}

/* ========== DRAWER ========== */
.drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100%;
  background: #fff;
  z-index: 120;
  padding: 20px;
  overflow-y: auto;
  transition: right 0.3s ease;
  box-shadow: var(--sh-lg);
}

.drawer.on {
  right: 0;
}

.drawer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.drawer-top b {
  font-size: 17px;
}

.drawer-top button {
  border: none;
  background: var(--soft);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
}

.drawer-search {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
}

.drawer-search input {
  flex: 1;
  padding: 10px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--soft);
  outline: none;
}

.drawer-search button {
  border: none;
  background: var(--rose);
  color: #fff;
  padding: 0 14px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 13px;
}

.drawer > a {
  display: block;
  padding: 11px 6px;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
  font-size: 15px;
}

.drawer > a.sub {
  padding-right: 18px;
  font-weight: 500;
  font-size: 14px;
  color: var(--muted);
}

.drawer-cta {
  margin-top: 16px;
  background: linear-gradient(135deg, var(--rose), var(--rose-d));
  color: #fff !important;
  text-align: center;
  border-radius: 60px;
  border: none !important;
  font-weight: 800;
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(36, 26, 29, 0.5);
  z-index: 110;
  opacity: 0;
  visibility: hidden;
  transition: var(--tr);
}

.overlay.on {
  opacity: 1;
  visibility: visible;
}

/* ========== BREADCRUMB ========== */
.crumb {
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}

.crumb-in {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  padding: 14px 20px;
  font-size: 13px;
  color: var(--muted);
}

.crumb-in a:hover {
  color: var(--rose);
}

.crumb-in b {
  color: var(--ink);
}

.crumb-in .sep {
  opacity: 0.5;
}

/* ========== SECTIONS ========== */
.section {
  padding: 80px 0;
}

.section-sm {
  padding: 50px 0;
}

.section-alt {
  background: var(--soft);
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--rose);
  font-weight: 700;
  margin-bottom: 10px;
}

.eyebrow.light {
  color: #ffd9e1;
}

.section-head {
  text-align: center;
  margin-bottom: 44px;
}

.section-title {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.5;
}

.section-sub {
  color: var(--muted);
  margin-top: 10px;
  font-size: 15px;
  max-width: 640px;
  margin-inline: auto;
}

.section-cta {
  text-align: center;
  margin-top: 44px;
}

/* ========== ALERTS ========== */
.alert {
  padding: 14px 18px;
  border-radius: var(--r-sm);
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 600;
  border-right: 4px solid;
}

.alert-success {
  background: #d4edda;
  color: #155724;
  border-color: var(--green);
}

.alert-error, .alert-danger {
  background: #f8d7da;
  color: #721c24;
  border-color: var(--red);
}

.alert-warning {
  background: #fff3cd;
  color: #856404;
  border-color: #ffc107;
}

.alert-info {
  background: #d1ecf1;
  color: #0c5460;
  border-color: #17a2b8;
}

/* ========== NEWSLETTER ========== */
.news {
  background: linear-gradient(135deg, var(--rose), var(--rose-d));
  color: #fff;
  padding: 56px 0;
}

.news-in {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.news-txt h2 {
  font-size: 26px;
  margin-bottom: 6px;
}

.news-txt p {
  opacity: 0.85;
  font-size: 14px;
}

.news-form {
  display: flex;
  gap: 10px;
  min-width: 380px;
}

.news-form input {
  flex: 1;
  padding: 13px 20px;
  border-radius: 60px;
  border: none;
  background: #fff;
  outline: none;
  font-size: 14px;
}

/* ========== FOOTER ========== */
.ftr {
  background: #1b1214;
  color: #c8b6bb;
}

.ftr-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 36px;
  padding: 60px 0;
}

.ftr-col h4 {
  font-size: 16px;
  color: #fff;
  margin-bottom: 18px;
  font-weight: 800;
}

.ftr-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ftr-col a {
  font-size: 14px;
  transition: var(--tr);
}

.ftr-col a:hover {
  color: var(--rose-l);
}

.ftr-about p {
  font-size: 14px;
  margin-bottom: 18px;
  line-height: 1.8;
}

.socials {
  display: flex;
  gap: 12px;
}

.socials a {
  display: inline-block;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}

.socials a:hover {
  background: var(--rose-l);
  color: #fff;
}

.ftr-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
}

.ftr-bar {
  background: #0f0a0c;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.ftr-bar-in {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 16px;
}

.ftr-links {
  display: flex;
  gap: 18px;
}

.ftr-links a:hover {
  color: var(--rose-l);
}

/* ========== TO TOP BUTTON ========== */
.totop {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rose), var(--rose-d));
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 18px;
  font-weight: 800;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--tr);
  z-index: 50;
  box-shadow: var(--sh);
}

.totop.on {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.totop:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-lg);
}

/* ========== EMPTY STATE ========== */
.empty {
  text-align: center;
  color: var(--muted);
  padding: 40px;
  background: #fff;
  border: 1px dashed var(--line);
  border-radius: var(--r);
  font-size: 15px;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .ftr-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }
  
  .nav-in {
    gap: 18px;
  }
}

@media (max-width: 768px) {
  .hdr-in {
    height: 70px;
    gap: 12px;
  }
  
  .search {
    max-width: 100%;
    min-width: 200px;
  }
  
  .burger {
    display: flex;
  }
  
  .nav, .nav-in {
    display: none;
  }
  
  .ftr-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  
  .section {
    padding: 50px 0;
  }
  
  .section-title {
    font-size: 24px;
  }
  
  .brand-txt b {
    font-size: 16px;
  }
  
  .news-form {
    min-width: auto;
    width: 100%;
  }
  
  .totop {
    left: 20px;
    bottom: 20px;
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
}

@media (max-width: 560px) {
  .hdr-in {
    height: 60px;
  }
  
  .brand-mark {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }
  
  .brand-txt b {
    font-size: 13px;
  }
  
  .brand-txt i {
    font-size: 8px;
    letter-spacing: 2px;
  }
  
  .search {
    min-width: 0;
  }
  
  .search input {
    padding: 10px 40px 10px 14px;
    font-size: 13px;
  }
  
  .hdr-act {
    gap: 6px;
  }
  
  .ico-btn {
    width: 38px;
    height: 38px;
  }
  
  .ftr-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .topbar-in {
    flex-direction: column;
    height: auto;
    padding: 10px 0;
    gap: 8px;
  }
  
  .topbar-links {
    gap: 10px;
    font-size: 12px;
  }
}
/* ============ BLOG PAGE ============ */
.blog-hero{background:linear-gradient(135deg,#f9eef1,#fff);padding:50px 0;text-align:center;border-bottom:1px solid #eee}
.blog-hero h1{font-size:28px;color:#241a1d;margin-bottom:8px}
.blog-hero p{color:#8a787d;margin-bottom:20px}
.blog-search{display:flex;max-width:460px;margin:0 auto;gap:8px}
.blog-search input{flex:1;padding:12px 16px;border:1px solid #ddd;border-radius:10px;font-family:inherit}
.blog-search button{background:#8f4f5c;color:#fff;border:none;padding:12px 22px;border-radius:10px;font-weight:700;cursor:pointer}

.blog-wrap{display:grid;grid-template-columns:1fr 300px;gap:30px;padding:40px 0}
.blog-cats-scroll{display:flex;gap:10px;overflow-x:auto;margin-bottom:24px;padding-bottom:6px}
.blog-cats-scroll a{background:#f5f5f5;color:#555;padding:9px 16px;border-radius:20px;font-size:13px;white-space:nowrap;text-decoration:none;font-weight:600}
.blog-cats-scroll a.on{background:#8f4f5c;color:#fff}
.blog-cats-scroll a span{opacity:.7;margin-right:4px}
.blog-search-info{color:#8a787d;margin-bottom:16px;font-size:14px}

.blog-grid{display:grid;grid-template-columns:repeat(3, 1fr);gap:22px}
.blog-card{background:#fff;border:1px solid #eee;border-radius:14px;overflow:hidden;transition:.2s}
.blog-card:hover{box-shadow:0 10px 24px rgba(0,0,0,.08);transform:translateY(-3px)}
.blog-card-img{position:relative;display:block;aspect-ratio:16/10;overflow:hidden}
.blog-card-img img{width:100%;height:100%;object-fit:cover}
.blog-card-tag{position:absolute;top:10px;right:10px;background:#8f4f5c;color:#fff;font-size:11px;padding:4px 10px;border-radius:20px}
.blog-card-body{padding:16px}
.blog-card-body h3{font-size:15.5px;line-height:1.5;margin-bottom:8px}
.blog-card-body h3 a{color:#241a1d;text-decoration:none}
.blog-card-body h3 a:hover{color:#8f4f5c}
.blog-card-body p{color:#8a787d;font-size:13px;line-height:1.7;margin-bottom:12px}
.blog-card-meta{display:flex;justify-content:space-between;font-size:12px;color:#a8989c;border-top:1px solid #f4f4f4;padding-top:10px}

.pagination{display:flex;justify-content:center;gap:8px;margin-top:30px}
.pagination a{width:38px;height:38px;display:flex;align-items:center;justify-content:center;border:1px solid #eee;border-radius:8px;text-decoration:none;color:#555;font-size:13px}
.pagination a.on{background:#8f4f5c;color:#fff;border-color:#8f4f5c}

.empty-box{text-align:center;padding:60px 20px;background:#fafafa;border-radius:14px}
.empty-icon{font-size:44px;margin-bottom:10px}
.empty-box h3{margin-bottom:6px;color:#241a1d}
.empty-box p{color:#8a787d;margin-bottom:18px}

.side-box{background:#fff;border:1px solid #eee;border-radius:14px;padding:20px;margin-bottom:20px}
.side-box h4{font-size:15px;margin-bottom:14px;color:#241a1d}
.side-item{display:flex;gap:10px;margin-bottom:14px;text-decoration:none}
.side-item img{width:60px;height:60px;border-radius:10px;object-fit:cover;flex-shrink:0}
.side-item b{display:block;font-size:13px;color:#241a1d;line-height:1.5;margin-bottom:4px}
.side-item span{font-size:11px;color:#a8989c}
.side-empty{color:#8a787d;font-size:13px}
.side-cta{background:linear-gradient(135deg,#8f4f5c,#5e3340);color:#fff}
.side-cta h4{color:#fff}
.side-cta p{font-size:12.5px;opacity:.85;margin-bottom:14px}
.side-cta form{display:flex;flex-direction:column;gap:8px}
.side-cta input{padding:10px 12px;border-radius:8px;border:none;font-family:inherit}
.side-cta button{background:#fff;color:#5e3340;border:none;padding:10px;border-radius:8px;font-weight:700;cursor:pointer}

@media (max-width: 900px){
  .blog-wrap{grid-template-columns:1fr}
  .blog-grid{grid-template-columns:repeat(2, 1fr)}
}
@media (max-width: 600px){
  .blog-grid{grid-template-columns:1fr}
  .blog-hero h1{font-size:22px}
}