/*
Theme Name: KardanCar
Theme URI: https://kardancar.com
Author: KardanCar
Description: قالب اختصاصی شرکت بازرگانی کاردان تجارت مازندران — واردات خودرو و قطعات. طراحی قرمز/مشکی با مدیریت خودروها و مقالات.
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: kardancar
*/

:root {
  --black: #0a0a0a;
  --black-2: #131313;
  --black-3: #1c1c1c;
  --red: #DC143C;
  --red-bright: #FF0033;
  --red-dark: #8B0000;
  --red-glow: rgba(220, 20, 60, 0.6);
  --white: #ffffff;
  --gray: #888;
  --gray-light: #bbb;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }
body {
  background: var(--black);
  color: var(--white);
  font-family: 'Vazirmatn', sans-serif;
  overflow-x: hidden;
  margin: 0;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

.font-display { font-family: 'Estedad', sans-serif; font-weight: 900; }
.font-anton { font-family: 'Anton', sans-serif; letter-spacing: 0.02em; }
.font-bebas { font-family: 'Bebas Neue', sans-serif; letter-spacing: 0.05em; }
.font-russo { font-family: 'Russo One', sans-serif; }

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--red-dark); }
::-webkit-scrollbar-thumb:hover { background: var(--red); }
::selection { background: var(--red); color: white; }

.container { max-width: 1500px; margin: 0 auto; padding: 0 30px; }

/* ===== TOP BAR ===== */
.top-bar { background: #050505; border-bottom: 1px solid rgba(220,20,60,0.15); font-size: 12.5px; position: relative; z-index: 101; }
.top-bar-inner { max-width: 1500px; margin: 0 auto; padding: 9px 30px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.top-bar-left, .top-bar-right { display: flex; align-items: center; gap: 16px; }
.top-link { display: inline-flex; align-items: center; gap: 7px; color: var(--gray-light); transition: color 0.3s; }
.top-link:hover { color: var(--red); }
.top-link svg { color: var(--red); }
.top-divider { width: 1px; height: 14px; background: rgba(255,255,255,0.15); }
.top-tagline { color: var(--gray); }
.top-socials { display: flex; gap: 10px; }
.top-socials a { color: var(--gray-light); transition: color 0.3s; }
.top-socials a:hover { color: var(--red); }

/* ===== HEADER ===== */
header.main-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border-bottom: 1px solid rgba(220,20,60,0.2);
  transition: padding 0.3s, background 0.3s;
}
header.main-header.scrolled { background: rgba(10,10,10,0.97); border-bottom-color: rgba(220,20,60,0.4); }
.header-inner {
  max-width: 1500px; margin: 0 auto; padding: 16px 30px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  transition: padding 0.3s;
}
header.main-header.scrolled .header-inner { padding: 10px 30px; }
.logo-block { display: flex; align-items: center; gap: 14px; }
.logo-mark { height: 48px; display: flex; align-items: center; justify-content: center; filter: drop-shadow(0 0 12px rgba(220,20,60,0.45)); transition: transform 0.4s; }
.logo-block:hover .logo-mark { transform: scale(1.06); }
.logo-mark svg, .logo-mark img { height: 48px; width: auto; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text .latin { font-family: 'Russo One', sans-serif; font-size: 22px; color: white; letter-spacing: 0.15em; }
.logo-text .persian { font-size: 10px; color: var(--gray); margin-top: 4px; letter-spacing: 0.1em; }

/* منوی کشویی (همیشه با دکمه ۳ خط باز می‌شود) */
nav.main-nav { position: fixed; top: 0; right: -100%; width: 320px; max-width: 88vw; height: 100vh; background: var(--black-2); display: flex; flex-direction: column; align-items: stretch; padding: 0; gap: 0; transition: right 0.45s cubic-bezier(0.22,1,0.36,1); z-index: 999; border-left: 1px solid rgba(220,20,60,0.25); overflow-y: auto; box-shadow: -20px 0 60px rgba(0,0,0,0.6); }
nav.main-nav.open { right: 0; }
nav.main-nav li { list-style: none; margin: 0; padding: 0; }
nav.main-nav li a { display: block; }
nav.main-nav a { color: var(--gray-light); font-weight: 600; font-size: 15px; transition: all 0.3s; padding: 18px 28px; border-bottom: 1px solid rgba(255,255,255,0.05); display: block; }
nav.main-nav a:hover { background: rgba(220,20,60,0.12); color: #fff; padding-right: 36px; }
nav.main-nav a.current-menu-item, nav.main-nav a.current_page_item { color: var(--red); }
.nav-mobile-head { display: flex; align-items: center; justify-content: space-between; padding: 24px 28px; border-bottom: 1px solid rgba(220,20,60,0.25); background: var(--black); }
.nav-close { display: block; background: none; border: none; color: #fff; font-size: 22px; cursor: pointer; transition: transform .3s; }
.nav-close:hover { transform: rotate(90deg); color: var(--red); }
.nav-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.65); backdrop-filter: blur(3px); z-index: 998; opacity: 0; transition: opacity 0.4s; }
.nav-overlay.show { display: block; opacity: 1; }

.header-actions { display: flex; align-items: center; gap: 14px; }
.cta-btn-red {
  background: var(--red); color: white; border: none; padding: 12px 22px;
  font-family: 'Vazirmatn', sans-serif; font-weight: 700; font-size: 13px; cursor: pointer;
  transition: all 0.3s; display: inline-flex; align-items: center; gap: 8px;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}
.cta-btn-red:hover { background: var(--red-bright); box-shadow: 0 8px 30px rgba(220,20,60,0.5); transform: translateY(-2px); }
.cta-btn-red svg { color: #fff; }

/* دکمه همبرگری — همیشه نمایان */
.menu-toggle { display: flex; background: none; border: 1px solid rgba(220,20,60,0.4); color: white; width: 46px; height: 46px; cursor: pointer; align-items: center; justify-content: center; transition: all .3s; }
.menu-toggle:hover { background: var(--red); border-color: var(--red); }

/* ===== BUTTONS ===== */
.btn-primary {
  background: var(--red); color: white; border: 2px solid var(--red); padding: 18px 40px;
  font-family: 'Vazirmatn', sans-serif; font-weight: 700; font-size: 15px; cursor: pointer;
  transition: all 0.3s; display: inline-flex; align-items: center; gap: 12px;
  clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
}
.btn-primary:hover { box-shadow: 0 12px 40px rgba(220,20,60,0.6); transform: translateY(-3px); }
.btn-outline-red {
  background: transparent; color: white; border: 2px solid rgba(255,255,255,0.2); padding: 16px 36px;
  font-family: 'Vazirmatn', sans-serif; font-weight: 700; font-size: 15px; cursor: pointer;
  transition: all 0.3s; display: inline-flex; align-items: center; gap: 12px;
  clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
}
.btn-outline-red:hover { border-color: var(--red); background: rgba(220,20,60,0.1); }

/* ===== SECTION TITLES ===== */
.section-eyebrow { display: inline-flex; align-items: center; gap: 14px; color: var(--red); font-family: 'Bebas Neue', sans-serif; font-size: 13px; letter-spacing: 0.4em; margin-bottom: 18px; }
.section-eyebrow::before { content: ''; width: 40px; height: 2px; background: var(--red); }
.section-title { font-family: 'Estedad', sans-serif; font-weight: 900; font-size: clamp(2.5rem, 5vw, 4.5rem); line-height: 1.05; margin: 0; }
.section-title .red { color: var(--red); }

/* ===== HERO ===== */
section.hero { position: relative; min-height: 100vh; overflow: hidden; background: var(--black); display: flex; align-items: center; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,10,10,0.95) 0%, rgba(10,10,10,0.75) 40%, rgba(10,10,10,0.35) 70%, rgba(10,10,10,0.6) 100%), linear-gradient(0deg, rgba(10,10,10,0.95) 0%, transparent 40%, transparent 70%, rgba(10,10,10,0.7) 100%); }
/* نسخه SVG: ماشین سمت چپ، بدون پوشش تیره سنگین */
.hero-bg-svg { display: flex; align-items: center; justify-content: flex-start; }
.hero-bg-svg::after { background: linear-gradient(0deg, rgba(10,10,10,0.6) 0%, transparent 50%); }
.hero-car-svg { position: absolute; bottom: 8%; left: -2%; width: 62%; max-width: 820px; height: auto; opacity: 0.92; filter: drop-shadow(0 20px 40px rgba(220,20,60,0.25)); animation: carFloat 4s ease-in-out infinite; }
@keyframes carFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.hero-grid { position: absolute; inset: 0; z-index: 1; background-image: linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px); background-size: 80px 80px; -webkit-mask-image: radial-gradient(ellipse at 60% 50%, black 0%, transparent 75%); mask-image: radial-gradient(ellipse at 60% 50%, black 0%, transparent 75%); }
.hero-glow { position: absolute; top: 50%; left: 75%; width: 700px; height: 700px; z-index: 1; background: radial-gradient(circle, var(--red-glow) 0%, transparent 60%); transform: translate(-50%,-50%); filter: blur(60px); pointer-events: none; animation: glowPulse 4s ease-in-out infinite; }
@keyframes glowPulse { 0%,100% { opacity: 0.4; transform: translate(-50%,-50%) scale(1); } 50% { opacity: 0.7; transform: translate(-50%,-50%) scale(1.1); } }
.hero-content { position: relative; z-index: 5; max-width: 1500px; margin: 0 auto; padding: 100px 30px 60px; width: 100%; }
.hero-title { font-family: 'Estedad', sans-serif; font-weight: 900; font-size: clamp(3rem, 8vw, 7rem); line-height: 1; margin: 0 0 30px 0; max-width: 900px; text-shadow: 0 2px 30px rgba(0,0,0,0.5); }
.hero-title .red-text { color: var(--red); }
.hero-subtitle { font-size: clamp(1rem, 1.5vw, 1.25rem); color: var(--gray-light); max-width: 600px; line-height: 1.8; margin-bottom: 40px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 18px; margin-bottom: 70px; }
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; max-width: 800px; }
.stat-box { padding: 0 20px; border-right: 1px solid rgba(220,20,60,0.3); }
.stat-box:first-child { padding-right: 0; }
.stat-box:last-child { border-right: none; }
.stat-num { font-family: 'Anton', sans-serif; font-size: clamp(2rem, 4vw, 3.5rem); color: var(--red); line-height: 1; }
.stat-label { font-size: 11px; color: var(--gray); letter-spacing: 0.2em; margin-top: 6px; font-family: 'Bebas Neue', sans-serif; }

/* ===== STATEMENT STRIP ===== */
.statement-strip { background: var(--red); padding: 26px 0; overflow: hidden; }
.statement-strip .scroll-text { display: flex; animation: marquee 25s linear infinite; white-space: nowrap; gap: 60px; }
.statement-strip .scroll-text span { font-family: 'Anton', sans-serif; font-size: clamp(2rem, 4vw, 3.5rem); color: white; }
.statement-strip .scroll-text .divider { color: rgba(255,255,255,0.4); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ===== CARS GRID ===== */
section.cars-section { padding: 110px 0; background: var(--black); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 50px; gap: 30px; flex-wrap: wrap; }
.cars-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 24px; }
.car-card { background: var(--black-2); border: 1px solid rgba(255,255,255,0.05); overflow: hidden; transition: all 0.5s cubic-bezier(0.22,1,0.36,1); position: relative; }
.car-card:hover { border-color: var(--red); transform: translateY(-10px); box-shadow: 0 30px 60px -10px rgba(220,20,60,0.3); }
.car-card::before { content: ''; position: absolute; top: 0; left: 0; width: 0; height: 3px; background: var(--red); transition: width 0.6s; z-index: 5; }
.car-card:hover::before { width: 100%; }
.car-img-wrap { position: relative; aspect-ratio: 4/3; overflow: hidden; background: linear-gradient(135deg, #1a1a1a, #0a0a0a); }
.car-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s cubic-bezier(0.22,1,0.36,1); }
.car-card:hover .car-img-wrap img { transform: scale(1.1); }
.car-tags { position: absolute; top: 16px; right: 16px; display: flex; gap: 8px; }
.tag-red, .tag-white { padding: 6px 12px; font-family: 'Bebas Neue', sans-serif; font-size: 11px; letter-spacing: 0.2em; }
.tag-red { background: var(--red); color: white; }
.tag-white { background: white; color: black; }
.car-info { padding: 24px; }
.car-brand { font-family: 'Bebas Neue', sans-serif; color: var(--red); letter-spacing: 0.3em; font-size: 12px; margin-bottom: 8px; }
.car-model { font-family: 'Estedad', sans-serif; font-weight: 800; font-size: 24px; color: white; margin-bottom: 16px; }
.car-specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 14px 0; border-top: 1px solid rgba(255,255,255,0.06); border-bottom: 1px solid rgba(255,255,255,0.06); margin-bottom: 16px; }
.spec { text-align: center; font-size: 12px; }
.spec .label { color: var(--gray); margin-bottom: 4px; }
.spec .value { color: white; font-weight: 600; }
.car-bottom { display: flex; justify-content: space-between; align-items: center; }
.car-price { font-family: 'Anton', sans-serif; color: var(--red); font-size: 22px; line-height: 1; }
.car-price small { font-size: 10px; color: var(--gray); font-family: 'Vazirmatn'; display: block; margin-top: 2px; }
.view-btn { background: transparent; border: 1px solid rgba(255,255,255,0.2); color: white; padding: 8px 16px; font-size: 12px; cursor: pointer; transition: all 0.3s; display: inline-flex; align-items: center; gap: 6px; }
.view-btn:hover { background: var(--red); border-color: var(--red); }
.empty-note { grid-column: 1/-1; text-align: center; padding: 60px; color: var(--gray); border: 1px dashed rgba(255,255,255,0.1); }

/* ===== BRANDS STRIP ===== */
.brands-strip { padding: 50px 0; border-top: 1px solid rgba(255,255,255,0.05); border-bottom: 1px solid rgba(255,255,255,0.05); background: var(--black-2); overflow: hidden; }
.brands-strip .center-label { text-align: center; color: var(--red); font-family: 'Bebas Neue'; font-size: 13px; letter-spacing: 0.4em; margin-bottom: 26px; }
.brands-marquee { display: flex; gap: 70px; animation: marquee 30s linear infinite; white-space: nowrap; }
.brand-item { font-family: 'Anton', sans-serif; font-size: clamp(1.8rem, 3vw, 2.6rem); color: rgba(255,255,255,0.3); transition: color 0.3s; }
.brand-item:hover { color: var(--red); }

/* ===== SERVICES ===== */
section.services { padding: 110px 0; background: var(--black); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin-top: 50px; }
.service-card { background: var(--black-2); padding: 50px 40px; border: 1px solid rgba(255,255,255,0.06); transition: all 0.5s cubic-bezier(0.22,1,0.36,1); position: relative; overflow: hidden; }
.service-card::before { content: attr(data-num); position: absolute; top: 20px; left: 30px; font-family: 'Anton', sans-serif; font-size: 8rem; color: rgba(255,255,255,0.03); line-height: 1; transition: color 0.5s; }
.service-card:hover::before { color: rgba(220,20,60,0.15); }
.service-card:hover { background: var(--black-3); border-color: var(--red); transform: translateY(-8px); }
.service-icon-wrap { width: 70px; height: 70px; background: var(--red); display: flex; align-items: center; justify-content: center; margin-bottom: 30px; clip-path: polygon(20% 0, 100% 0, 80% 100%, 0 100%); position: relative; z-index: 2; }
.service-icon-wrap svg { color: white; width: 30px; height: 30px; }
.service-card h3 { font-family: 'Estedad', sans-serif; font-weight: 800; font-size: 24px; margin: 0 0 16px 0; color: white; position: relative; z-index: 2; }
.service-card p { color: var(--gray-light); font-size: 14px; line-height: 1.8; margin-bottom: 24px; position: relative; z-index: 2; }
.service-link { color: var(--red); font-family: 'Bebas Neue'; font-size: 13px; letter-spacing: 0.3em; display: inline-flex; align-items: center; gap: 10px; transition: gap 0.3s; position: relative; z-index: 2; }
.service-link:hover { gap: 16px; }

/* ===== FINAL CTA ===== */
section.final-cta { position: relative; padding: 130px 0; overflow: hidden; background: linear-gradient(135deg, var(--red-dark) 0%, var(--red) 50%, var(--red-dark) 100%); }
section.final-cta::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px); background-size: 60px 60px; }
.cta-inner { position: relative; z-index: 2; text-align: center; max-width: 800px; margin: 0 auto; padding: 0 30px; }
.cta-mega-text { font-family: 'Anton', sans-serif; font-size: clamp(2.5rem, 7vw, 6rem); line-height: 0.95; color: white; margin-bottom: 30px; }
.cta-mega-text .stroke { -webkit-text-stroke: 2px white; color: transparent; }
.cta-sub-text { color: rgba(255,255,255,0.9); font-size: 18px; margin-bottom: 40px; max-width: 600px; margin-left: auto; margin-right: auto; line-height: 1.8; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-white { background: white; color: var(--red); border: none; padding: 18px 44px; font-family: 'Vazirmatn'; font-weight: 800; font-size: 15px; cursor: pointer; transition: all 0.3s; display: inline-flex; align-items: center; gap: 12px; clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%); }
.btn-white:hover { background: var(--black); color: white; transform: translateY(-3px); }
.btn-black { background: var(--black); color: white; border: none; padding: 18px 44px; font-family: 'Vazirmatn'; font-weight: 800; font-size: 15px; cursor: pointer; transition: all 0.3s; display: inline-flex; align-items: center; gap: 12px; clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%); }
.btn-black:hover { background: white; color: var(--red); }

/* ===== FOOTER ===== */
footer.main-footer { background: var(--black); padding: 70px 0 30px; border-top: 1px solid rgba(220,20,60,0.15); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 50px; margin-bottom: 50px; }
.footer-brand p { color: var(--gray); font-size: 13px; line-height: 1.8; margin: 16px 0 24px; max-width: 400px; }
.footer-socials { display: flex; gap: 10px; }
.footer-socials a { width: 40px; height: 40px; border: 1px solid rgba(255,255,255,0.1); color: var(--gray); display: flex; align-items: center; justify-content: center; transition: all 0.3s; }
.footer-socials a:hover { background: var(--red); border-color: var(--red); color: white; }
.footer-col h5 { font-family: 'Bebas Neue'; color: var(--red); letter-spacing: 0.3em; font-size: 13px; margin: 0 0 20px 0; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { color: var(--gray); font-size: 13px; transition: color 0.3s; }
.footer-col ul a:hover { color: white; }
.footer-bottom { padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.06); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; color: var(--gray); font-size: 12px; }

/* ===== SINGLE CAR ===== */
.single-car-wrap { padding: 130px 0 80px; }
.single-car-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 50px; }
.single-car-img { background: var(--black-2); border: 1px solid rgba(255,255,255,0.06); overflow: hidden; }
.single-car-img img { width: 100%; height: 100%; object-fit: cover; }
.single-car-detail h1 { font-family: 'Estedad'; font-weight: 900; font-size: clamp(2rem, 4vw, 3.2rem); margin: 10px 0 20px; }
.single-brand { font-family: 'Bebas Neue'; color: var(--red); letter-spacing: 0.3em; font-size: 14px; }
.single-price { font-family: 'Anton'; color: var(--red); font-size: 2.6rem; margin: 20px 0; }
.spec-table { width: 100%; border-collapse: collapse; margin: 24px 0; }
.spec-table tr { border-bottom: 1px solid rgba(255,255,255,0.08); }
.spec-table td { padding: 14px 0; font-size: 14px; }
.spec-table td:first-child { color: var(--gray); }
.spec-table td:last-child { color: white; font-weight: 600; text-align: left; }

/* ===== BLOG ===== */
.blog-wrap { padding: 130px 0 80px; }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 24px; }
.post-card { background: var(--black-2); border: 1px solid rgba(255,255,255,0.05); overflow: hidden; transition: all 0.4s; }
.post-card:hover { border-color: var(--red); transform: translateY(-6px); }
.post-card .post-img { aspect-ratio: 16/9; overflow: hidden; background: var(--black-3); }
.post-card .post-img img { width: 100%; height: 100%; object-fit: cover; }
.post-card .post-body { padding: 24px; }
.post-card h3 { font-family: 'Estedad'; font-weight: 800; font-size: 20px; margin: 0 0 12px; }
.post-card .excerpt { color: var(--gray-light); font-size: 14px; line-height: 1.7; }
.post-meta { color: var(--red); font-family: 'Bebas Neue'; font-size: 12px; letter-spacing: 0.2em; margin-bottom: 10px; }
.single-post-wrap { padding: 130px 0 80px; max-width: 800px; margin: 0 auto; }
.single-post-wrap h1 { font-family: 'Estedad'; font-weight: 900; font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 20px; }
.single-post-content { color: var(--gray-light); font-size: 16px; line-height: 2; }
.single-post-content h2 { color: white; font-family: 'Estedad'; margin-top: 40px; }
.single-post-content img { margin: 30px 0; }
.page-hero { padding: 160px 0 60px; text-align: center; }
.page-content { color: var(--gray-light); font-size: 16px; line-height: 2; }

/* ===== AUDIO TOGGLE ===== */
.audio-toggle { position: fixed; bottom: 30px; right: 30px; width: 54px; height: 54px; background: var(--red); color: white; border: none; border-radius: 50%; cursor: pointer; z-index: 80; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 30px rgba(220,20,60,0.4); transition: all 0.3s; }
.audio-toggle:hover { transform: scale(1.1); }
.audio-toggle.muted { background: var(--black-3); }
.ignite-flash { position: fixed; inset: 0; background: white; z-index: 9000; opacity: 0; pointer-events: none; }
.ignite-flash.fire { animation: flashBoom 0.6s ease-out forwards; }
@keyframes flashBoom { 0% { opacity: 0; } 10% { opacity: 1; } 100% { opacity: 0; } }
.sound-prompt { position: fixed; bottom: 32px; right: 100px; background: rgba(220,20,60,0.95); color: white; padding: 11px 18px; font-family: 'Vazirmatn', sans-serif; font-size: 13px; font-weight: 600; z-index: 85; clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%); box-shadow: 0 8px 30px rgba(220,20,60,0.5); animation: promptPulse 1.4s ease-in-out infinite; cursor: pointer; }
@keyframes promptPulse { 0%,100% { transform: translateX(0); opacity: 1; } 50% { transform: translateX(-6px); opacity: 0.8; } }

/* ===== SECTIONS (editorial style) ===== */
.sec { padding: 100px 0; position: relative; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 50px; flex-wrap: wrap; }
.sec-head > div:first-child { position: relative; }
.sec-no { position: absolute; top: -46px; right: -8px; font-family: 'Anton', sans-serif; font-size: 7rem; color: rgba(220,20,60,0.08); line-height: 1; pointer-events: none; }
.sec-lead { color: var(--gray-light); font-size: 15px; line-height: 1.9; max-width: 380px; margin: 0; }

.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.why-card { background: var(--black); border: 1px solid rgba(255,255,255,0.06); padding: 36px 28px; position: relative; overflow: hidden; transition: all .4s; }
.why-card:hover { border-color: var(--red); transform: translateY(-6px); }
.why-card .why-num { font-family: 'Anton'; font-size: 3rem; color: rgba(220,20,60,0.18); line-height: 1; margin-bottom: 14px; transition: color .4s; }
.why-card:hover .why-num { color: var(--red); }
.why-card h3 { font-family: 'Estedad'; font-weight: 800; font-size: 1.2rem; margin: 0 0 10px; }
.why-card p { color: var(--gray-light); line-height: 1.8; font-size: 13.5px; margin: 0; }

.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.step-card { background: var(--black-2); border: 1px solid rgba(255,255,255,0.06); padding: 44px 30px 32px; position: relative; transition: all .4s; }
.step-card:hover { border-color: var(--red); background: var(--black-3); }
.step-card .step-num { position: absolute; top: -22px; right: 26px; width: 50px; height: 50px; background: linear-gradient(135deg, var(--red), var(--red-dark)); color: #fff; font-family: 'Anton'; font-size: 22px; display: flex; align-items: center; justify-content: center; clip-path: polygon(15% 0, 100% 0, 85% 100%, 0 100%); }
.step-card h3 { font-family: 'Estedad'; font-weight: 800; font-size: 1.25rem; margin: 6px 0 10px; }
.step-card p { color: var(--gray-light); line-height: 1.85; font-size: 14px; margin: 0; }

.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 18px; }
.review-card { background: var(--black-2); border: 1px solid rgba(255,255,255,0.06); padding: 30px 26px; transition: all .4s; }
.review-card:hover { border-color: rgba(220,20,60,0.5); }
.review-quote { color: var(--red); font-size: 2.6rem; font-family: Georgia, serif; line-height: 1; margin-bottom: 12px; }
.review-card p { color: var(--gray-light); line-height: 1.9; font-size: 14px; margin: 0 0 20px; }
.review-who { display: flex; align-items: center; gap: 12px; border-top: 1px solid rgba(255,255,255,0.06); padding-top: 16px; }
.review-avatar { width: 42px; height: 42px; background: linear-gradient(135deg, var(--red), var(--red-dark)); display: flex; align-items: center; justify-content: center; font-family: 'Estedad'; font-weight: 800; font-size: 16px; flex-shrink: 0; }
.review-name { font-weight: 700; font-size: 14px; }
.review-role { color: var(--gray); font-size: 12px; }

.cta-contact-row { margin-top: 36px; display: flex; gap: 14px; justify-content: center; align-items: center; flex-wrap: wrap; color: rgba(255,255,255,0.85); font-size: 14px; font-weight: 600; }
.cta-contact-row .dot { color: rgba(255,255,255,0.4); font-size: 8px; }

/* ===== MOBILE ===== */
@media (max-width: 1024px) {
  .top-hide-mobile { display: none !important; }
  .top-bar-inner { justify-content: center; }
  .top-tagline { display: none; }
  .hero-bg img { object-position: 28% center; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 30px 0; }
  .stat-box:nth-child(2) { border-right: none; }
  .single-car-grid { grid-template-columns: 1fr; gap: 30px; }
  .deal-grid { grid-template-columns: 1fr !important; gap: 30px !important; }
  .kpart-grid { grid-template-columns: 1fr !important; gap: 30px !important; }
  .kpart-mockup { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  section.cars-section, section.services, .single-car-wrap, .blog-wrap, .single-post-wrap { padding-top: 70px; padding-bottom: 70px; }
}

@media (max-width: 768px) {
  .sec { padding: 60px 0; }
  section.cars-section, section.services, section.final-cta { padding: 60px 0; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 18px; margin-bottom: 34px; }
  .sec-no { font-size: 4.5rem; top: -30px; }
  .sec-lead { font-size: 14px; }
  .cars-grid, .blog-grid, .services-grid, .why-grid, .steps-grid, .reviews-grid { grid-template-columns: 1fr; gap: 16px; }
  .steps-grid { gap: 34px; }
  .section-title { font-size: 2rem; }
  .statement-strip { padding: 16px 0; }
  .statement-strip .scroll-text span { font-size: 1.5rem; }
  .statement-strip .scroll-text { gap: 30px; }
  .brand-item { font-size: 1.6rem; }
  .brands-marquee { gap: 44px; }
  .cta-mega-text { font-size: 2.2rem; }
  .cta-sub-text { font-size: 14px; }
  .cta-contact-row { font-size: 12px; gap: 10px; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 10px; }
  .spec-table td { font-size: 13px; padding: 12px 0; }
  .hero-ctas { gap: 10px; }
  .hero-ctas .btn-primary, .hero-ctas .btn-outline-red { flex: 1; justify-content: center; padding: 15px 16px; font-size: 13.5px; white-space: nowrap; }
}

@media (max-width: 640px) {
  .container, .header-inner, .hero-content { padding-left: 16px; padding-right: 16px; }
  /* هیرو جمع‌وجور و سینمایی */
  section.hero { min-height: 88vh; }
  .hero-car-svg { width: 110%; max-width: none; left: -5%; bottom: 4%; opacity: 0.5; }
  .hero-content { padding-top: 80px; padding-bottom: 44px; }
  .hero-title { font-size: 2.1rem; line-height: 1.25; margin-bottom: 18px; }
  .hero-subtitle { font-size: 13.5px; margin-bottom: 26px; line-height: 1.85; }
  .section-eyebrow { font-size: 11px; letter-spacing: 0.3em; }
  /* آمار: کوچک و دو ستونه */
  .hero-stats { gap: 18px 8px; max-width: 100%; }
  .stat-box { padding: 0 8px; }
  .stat-num { font-size: 1.7rem; }
  .stat-label { font-size: 9px; letter-spacing: 0.15em; }
  /* هدر فشرده */
  .cta-btn-red span { display: none; }
  .cta-btn-red { padding: 12px 13px; }
  .logo-text .latin { font-size: 16px; }
  .logo-text .persian { font-size: 8px; }
  .logo-mark, .logo-mark svg, .logo-mark img { height: 34px; width: auto; }
  .menu-toggle { width: 42px; height: 42px; }
  .top-bar-inner { padding: 7px 16px; }
  .top-bar { font-size: 11.5px; }
  /* عنوان بخش */
  .section-title { font-size: 1.7rem; }
  /* CTA */
  .cta-mega-text { font-size: 1.9rem; }
  .cta-buttons { flex-direction: column; }
  .cta-buttons .btn-white, .cta-buttons .btn-black { width: 100%; justify-content: center; }
  /* کارت ماشین */
  .car-model { font-size: 19px; }
  .car-specs .value { font-size: 11px; }
  .car-info { padding: 18px; }
  /* صفحات داخلی پدینگ بالا */
  section[style*="padding:160px"] { padding-top: 110px !important; padding-bottom: 44px !important; }
}

/* جلوگیری از سرریز افقی در همه حالت‌ها */
@media (max-width: 1024px) {
  html, body { max-width: 100%; overflow-x: hidden; }
  img, svg, table { max-width: 100%; }
}
